:root {
  font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:#24382f;
  background:#fbfcf9;
  font-synthesis:none;
  --ink:#24382f;
  --muted:#66745f;
  --line:#e1e7de;
  --green:#345b43;
  --cream:#f3f5ec;
  --radius:16px;
}

* {
  box-sizing:border-box;
}

body {
  margin:0;
}

button,input,textarea {
  font:inherit;
}

button,a,input,textarea {
  -webkit-tap-highlight-color:transparent;
}

button {
  cursor:pointer;
}

button:disabled {
  cursor:wait;
  opacity:.55;
}

a {
  color:inherit;
}

button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible {
  outline:3px solid #9bb19a;
  outline-offset:3px;
}

button {
  transition:background .15s,border-color .15s,transform .15s;
}

.eyebrow {
  text-transform:uppercase;
  font-size:.69rem;
  font-weight:700;
  letter-spacing:.13em;
  color:var(--muted);
  margin:0 0 7px;
}

.brand-mark {
  display:inline-block;
  position:relative;
  width:51px;
  height:49px;
}

.brand-mark span {
  position:absolute;
  width:15px;
  height:15px;
  border:2px solid var(--green);
  border-radius:50%;
  background:#fbfcf9;
}

.brand-mark span:nth-child(1) {
  left:18px;
  top:1px;
}

.brand-mark span:nth-child(2) {
  left:2px;
  top:29px;
}

.brand-mark span:nth-child(3) {
  left:34px;
  top:29px;
}

.brand-mark:before,.brand-mark:after {
  content:"";
  position:absolute;
  top:10px;
  width:2px;
  height:35px;
  background:var(--green);
  transform-origin:top center;
}

.brand-mark:before {
  left:22px;
  transform:rotate(30deg);
}

.brand-mark:after {
  left:28px;
  transform:rotate(-30deg);
}

.brand-mark.small {
  width:31px;
  height:31px;
  transform:scale(.61);
  transform-origin:0 0;
  margin-right:1px;
  flex:none;
}

.brand {
  display:flex;
  align-items:center;
  text-decoration:none;
  font-size:1.03rem;
  font-weight:650;
  letter-spacing:-.035em;
  height:34px;
  gap:9px;
}

.brand .brand-mark {
  margin-right:-5px;
}

.login-page {
  min-height:100dvh;
  background:radial-gradient(ellipse at 25% 15%,#e9efdf 0,transparent 48%),#f7f9f2;
  display:grid;
  place-items:center;
}

.login-shell {
  width:min(100% - 40px,420px);
  padding:56px 0;
  text-align:center;
}

.login-shell>.eyebrow {
  margin-top:25px;
}

.login-shell>h1 {
  font-size:2.5rem;
  font-weight:550;
  letter-spacing:-.06em;
  margin:0;
}

.login-intro {
  font-size:.94rem;
  line-height:1.6;
  color:#65755f;
  margin:13px 0 34px;
}

.login-card {
  text-align:left;
  background:#fff;
  border:1px solid #dde4d4;
  border-radius:22px;
  padding:30px;
  box-shadow:0 15px 50px #30402207;
}

.login-card h2 {
  margin:0;
  font-size:1.2rem;
  letter-spacing:-.025em;
  font-weight:600;
}

.login-card>p {
  color:var(--muted);
  font-size:.87rem;
  margin:8px 0 26px;
}

.login-card label {
  display:block;
  font-size:.79rem;
  font-weight:600;
  margin-bottom:9px;
}

.login-card input[type=password] {
  width:100%;
  height:47px;
  border:1px solid #cdd8c8;
  border-radius:9px;
  padding:0 13px;
  background:#fcfdfb;
  color:var(--ink);
}

.login-error {
  font-size:.8rem;
  color:#9b3c35;
  line-height:1.5;
  min-height:1px;
  margin:10px 0;
}

.login-error:empty {
  margin:16px 0 0;
}

.primary-button {
  border:1px solid var(--green);
  background:var(--green);
  color:#fff;
  border-radius:9px;
  font-weight:550;
  font-size:.88rem;
}

.primary-button:hover {
  background:#284b35;
}

.login-button {
  display:flex;
  align-items:center;
  justify-content:space-between;
  width:100%;
  padding:13px 16px;
  margin-top:17px;
}

.login-button span {
  font-size:1.25rem;
  line-height:1;
}

.login-note {
  font-size:.75rem;
  line-height:1.6;
  color:#68775f;
  max-width:290px;
  margin:24px auto 0;
}

.workspace {
  display:grid;
  grid-template-columns:290px minmax(0,1fr);
  height:100dvh;
  min-height:500px;
}

.sidebar {
  background:#f2f5ed;
  border-right:1px solid var(--line);
  display:flex;
  flex-direction:column;
  padding:27px 20px 18px;
  overflow:hidden;
}

.sidebar>.brand {
  margin:0 8px 48px;
}

.sidebar-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 9px;
}

.sidebar-heading h2 {
  font-weight:600;
  font-size:.78rem;
  letter-spacing:.02em;
  margin:0;
}

.icon-button {
  width:28px;
  height:28px;
  display:grid;
  place-items:center;
  background:transparent;
  color:#71826f;
  border:1px solid transparent;
  border-radius:7px;
  font-size:1.3rem;
}

.icon-button:hover {
  border-color:#ccd7c6;
  background:#e8eede;
}

.sidebar-caption {
  font-size:.72rem;
  line-height:1.5;
  margin:5px 9px 20px;
  color:var(--muted);
}

.claims-list {
  overflow:auto;
  flex:1;
  scrollbar-width:thin;
  padding:0 1px;
}

.claim-card {
  padding:14px 12px;
  background:#fafbf6;
  border:1px solid #e2e8da;
  border-radius:11px;
  margin-bottom:10px;
}

.claim-heading {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:8px;
}

.claim-id {
  font-size:.81rem;
  font-weight:650;
  overflow-wrap:anywhere;
}

.claim-status {
  font-size:.62rem;
  background:#f0ede2;
  color:#807046;
  padding:4px 6px;
  border-radius:4px;
  text-transform:capitalize;
  flex:none;
}

.claim-status.verified {
  background:#e6efe3;
  color:#496c43;
}

.claim-status.disproven {
  background:#f5e8e3;
  color:#955341;
}

.claim-description {
  font-size:.73rem;
  line-height:1.55;
  color:#75806f;
  margin:9px 0 10px;
  overflow-wrap:anywhere;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

.claim-support {
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-size:.67rem;
  color:#74806e;
  margin:10px 0;
}

.claim-support strong {
  font-size:.75rem;
  font-weight:600;
  color:#4c664b;
}

.claim-actions {
  display:flex;
  gap:5px;
}

.claim-actions button {
  border:1px solid #dce4d3;
  background:#fff;
  color:#5a6e53;
  border-radius:6px;
  padding:5px 8px;
  font-size:.65rem;
}

.claim-actions button:hover {
  background:#eaf0e2;
  border-color:#bdcdb4;
}

.sidebar-footer {
  padding:22px 7px 0;
  border-top:1px solid var(--line);
  margin-top:17px;
  display:flex;
  justify-content:space-between;
  gap:5px;
  align-items:center;
}

.private-indicator {
  display:flex;
  gap:6px;
  align-items:center;
  font-size:.64rem;
  color:#68775f;
  white-space:nowrap;
}

.private-indicator>span {
  width:5px;
  height:5px;
  border-radius:50%;
  background:#829d74;
}

.text-button {
  background:transparent;
  border:0;
  padding:3px;
  font-size:.67rem;
  color:#71806b;
}

.text-button:hover {
  text-decoration:underline;
}

.conversation-panel {
  display:flex;
  flex-direction:column;
  min-width:0;
  min-height:0;
  background:#fcfdf9;
}

.conversation-header {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:24px 40px 21px;
  border-bottom:1px solid #edf0e8;
  flex-shrink:0;
}

.conversation-header .eyebrow {
  font-size:.6rem;
  margin-bottom:5px;
}

.conversation-header h1 {
  font-size:1.05rem;
  font-weight:550;
  letter-spacing:-.025em;
  margin:0;
}

.header-label {
  font-size:.67rem;
  color:#6c795f;
  display:flex;
  align-items:center;
  gap:8px;
}

.header-label:before {
  content:"";
  width:5px;
  height:5px;
  background:#a5b294;
  border-radius:50%;
}

.conversation-scroll {
  flex:1;
  overflow:auto;
  min-height:0;
  padding:20px 42px;
  scrollbar-width:thin;
}

.welcome {
  max-width:650px;
  margin:clamp(25px,7vh,85px) auto 25px;
  text-align:center;
}

.welcome-symbol {
  display:grid;
  place-items:center;
  width:56px;
  height:56px;
  border-radius:18px;
  background:#edf2e5;
  border:1px solid #e1e8d7;
  color:#668156;
  font-size:2rem;
  margin:0 auto 23px;
}

.welcome h2 {
  font-size:clamp(1.65rem,2.7vw,2.2rem);
  font-weight:500;
  letter-spacing:-.045em;
  margin:0 0 13px;
}

.welcome>p:not(.scope-note) {
  font-size:.9rem;
  color:#69765f;
  line-height:1.75;
  max-width:430px;
  margin:0 auto;
}

.suggestions {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px;
  margin:33px 0 24px;
}

.suggestions button {
  display:flex;
  align-items:flex-start;
  gap:10px;
  text-align:left;
  padding:16px 12px;
  background:#fff;
  border:1px solid #e2e8da;
  border-radius:12px;
  color:#435b3c;
  box-shadow:0 2px 3px #273f2002;
}

.suggestions button:hover {
  background:#f3f6ed;
  border-color:#becdb1;
  transform:translateY(-2px);
}

.suggestions button>span:nth-child(2) {
  font-size:.73rem;
  font-weight:550;
  flex:1;
  line-height:1.4;
}

.suggestions small {
  display:block;
  font-size:.62rem;
  color:#69765f;
  font-weight:400;
  margin-top:6px;
  line-height:1.5;
}

.suggestion-icon {
  font-size:1rem;
  line-height:1.2;
  color:#819970;
}

.suggestions button>span:last-child {
  font-size:.8rem;
  color:#a5b198;
}

.scope-note {
  font-size:.71rem;
  color:#69765f;
  line-height:1.65;
  max-width:430px;
  margin:0 auto;
}

.messages {
  max-width:760px;
  margin:0 auto;
}

.message {
  display:flex;
  gap:13px;
  margin:22px 0;
  align-items:flex-start;
}

.message-avatar {
  width:29px;
  height:29px;
  border-radius:9px;
  flex:none;
  display:grid;
  place-items:center;
  font-size:.8rem;
  background:#e9efdf;
  color:#5c7750;
  border:1px solid #dce6d0;
}

.message.user .message-avatar {
  background:#fff;
  color:#69765f;
  border-color:#e1e6da;
  font-size:.63rem;
}

.message-content {
  min-width:0;
  flex:1;
  padding-top:4px;
}

.message-name {
  font-size:.66rem;
  font-weight:650;
  color:#66745b;
  margin-bottom:8px;
}

.message-text {
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  font-size:.82rem;
  line-height:1.85;
  color:#42533b;
}

.message.user .message-text {
  color:#6c7863;
}

.message.error .message-text {
  color:#98564b;
}

.message.user {
  background:#f4f6ef;
  border:1px solid #e6ebde;
  padding:13px;
  border-radius:12px;
}

.composer-area {
  padding:0 40px 20px;
  flex-shrink:0;
}

.request-status {
  font-size:.72rem;
  color:#7b8c70;
  min-height:17px;
  max-width:760px;
  margin:0 auto 7px;
}

.composer {
  display:flex;
  align-items:flex-end;
  gap:12px;
  max-width:760px;
  margin:0 auto;
  background:#fff;
  border:1px solid #d5dfcb;
  border-radius:16px;
  padding:13px 13px 13px 17px;
  box-shadow:0 4px 18px #30402204;
}

.composer:focus-within {
  border-color:#9db08f;
  box-shadow:0 0 0 3px #eaf0e2;
}

.composer textarea {
  flex:1;
  min-width:0;
  resize:none;
  max-height:170px;
  overflow:auto;
  line-height:1.65;
  font-size:.81rem;
  background:transparent;
  border:0;
  outline:none!important;
  color:#3b5234;
  padding:3px 0;
  min-height:28px;
}

.composer textarea::placeholder {
  color:#707d65;
}

.send-button {
  width:32px;
  height:32px;
  display:grid;
  place-items:center;
  flex:none;
  border:1px solid #385c40;
  border-radius:10px;
  background:#385c40;
  color:#fff;
  font-size:1.35rem;
  font-weight:400;
}

.send-button:hover {
  background:#274a30;
}

.composer-note {
  text-align:center;
  margin:11px auto 0;
  color:#69765f;
  font-size:.62rem;
  line-height:1.6;
  max-width:760px;
}

.muted {
  color:var(--muted);
  font-size:.76rem;
  line-height:1.6;
  padding:8px;
}

.visually-hidden {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}

.skip-link {
  position:absolute;
  top:-100px;
  left:16px;
  z-index:10;
  padding:12px;
  background:#fff;
  border:1px solid var(--green);
  border-radius:6px;
}

.skip-link:focus {
  top:12px;
}

[hidden] {
  display:none!important;
}

@media(min-width:1400px) {
  .conversation-header {
    padding-left:58px;
    padding-right:58px;
  }
  .workspace {
    grid-template-columns:310px minmax(0,1fr);
  }
}

@media(max-width:1050px) {
  .workspace {
    grid-template-columns:250px minmax(0,1fr);
  }
  .sidebar {
    padding-left:14px;
    padding-right:14px;
  }
  .conversation-header {
    padding:23px 25px;
  }
  .conversation-scroll {
    padding:16px 25px;
  }
  .composer-area {
    padding:0 25px 18px;
  }
  .header-label {
    display:none;
  }
  .suggestions {
    grid-template-columns:1fr;
    gap:8px;
    margin:25px auto 20px;
    max-width:360px;
  }
  .suggestions button {
    padding:12px 15px;
  }
  .suggestions small {
    margin-top:2px;
  }
  .welcome {
    margin-top:25px;
  }
  .welcome-symbol {
    margin-bottom:18px;
  }
}

@media(max-width:680px) {
  .workspace {
    grid-template-columns:1fr;
    height:auto;
    min-height:100dvh;
  }
  .sidebar {
    border-right:0;
    border-bottom:1px solid var(--line);
    padding:16px 18px;
    max-height:310px;
  }
  .sidebar>.brand {
    margin:0 0 16px;
  }
  .sidebar-heading {
    padding:0;
  }
  .sidebar-caption {
    display:none;
  }
  .claims-list {
    display:flex;
    gap:10px;
    padding:6px 0;
    overflow-x:auto;
    flex:none;
  }
  .claim-card {
    min-width:215px;
    max-width:215px;
    margin:0;
    padding:11px;
  }
  .claim-description {
    display:none;
  }
  .claim-support {
    margin:9px 0;
  }
  .sidebar-footer {
    position:absolute;
    right:18px;
    top:21px;
    border:0;
    margin:0;
    padding:0;
  }
  .private-indicator {
    display:none;
  }
  .sidebar-heading h2 {
    font-size:.7rem;
  }
  .conversation-panel {
    min-height:calc(100dvh - 260px);
    height:auto;
  }
  .conversation-header {
    padding:20px;
  }
  .conversation-scroll {
    padding:16px 20px;
    min-height:290px;
    max-height:70dvh;
  }
  .welcome {
    margin-top:12px;
  }
  .welcome-symbol {
    width:45px;
    height:45px;
    font-size:1.7rem;
    border-radius:14px;
  }
  .welcome>p:not(.scope-note) {
    font-size:.81rem;
  }
  .welcome h2 {
    font-size:1.75rem;
  }
  .suggestions {
    margin-top:22px;
  }
  .suggestions button:nth-child(3) {
    display:none;
  }
  .scope-note {
    font-size:.67rem;
  }
  .composer-area {
    padding:0 16px 18px;
    position:sticky;
    bottom:0;
    background:#fcfdf9;
  }
  .composer-note {
    font-size:.6rem;
  }
  .messages {
    padding-bottom:10px;
  }
  .message-text {
    font-size:.77rem;
  }
  .message {
    gap:9px;
  }
  .login-shell {
    padding:40px 0;
  }
  .login-card {
    padding:26px;
  }
}

@media(prefers-reduced-motion:reduce) {
  * {
    scroll-behavior:auto!important;
    transition:none!important;
  }
}
