:root{--mist:#e8eef1;--surface:#f7fafb;--ink:#1d2b3a;--muted:#586977;--line:#d3dde3;--sage:#3f7d69;--sage-soft:#dcebe5;--alert:#a8261c;--alert-soft:#f7e3e0;--counselor:#6b55a8;--counselor-soft:#ebe6f6;--e-neutral:#93a3ad;--e-happy:#d9a92e;--e-sad:#4f74b0;--e-angry:#c0563b;--e-fearful:#8270b6;--e-disgusted:#6c8a49;--e-surprised:#2f9c97;--display:"Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;--body:"Atkinson Hyperlegible", "Segoe UI", system-ui, sans-serif;--step--1:.875rem;--step-0:1.0625rem;--step-1:1.3rem;--step-2:1.7rem;--step-3:2.4rem;--step-4:clamp(2.6rem, 6vw, 4.4rem);--radius-lg:22px;--radius-sm:10px;--scroll-thumb:#b4c2ca;--scroll-thumb-hover:#93a3ad;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial;--scroll-thumb:#3b4b58;--scroll-thumb-hover:#52667a;--mist:#131c24;--surface:#1b2630;--ink:#e4ecf0;--muted:#9fb0bc;--line:#2d3b47;--sage:#6fbca1;--sage-soft:#1f3a32;--alert:#f08a7e;--alert-soft:#3d2220;--counselor:#b3a2e6;--counselor-soft:#2c2640}}*{box-sizing:border-box}html,body{margin:0;padding:0}*{scrollbar-width:thin;scrollbar-color:var(--scroll-thumb) transparent}@supports not (scrollbar-color:auto){::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{background:var(--scroll-thumb);background-clip:padding-box;border:2px solid #0000;border-radius:99px}::-webkit-scrollbar-thumb:hover{background-color:var(--scroll-thumb-hover)}}body{background:var(--mist);color:var(--ink);font-family:var(--body);font-size:var(--step-0);-webkit-font-smoothing:antialiased;line-height:1.55}h1,h2,h3{font-family:var(--display);letter-spacing:-.015em;margin:0;line-height:1.1}p{margin:0}a{color:inherit}:focus-visible{outline:3px solid var(--sage);outline-offset:2px;border-radius:6px}button,.btn{font:inherit;cursor:pointer;background:var(--sage);color:#fff;border:none;border-radius:999px;padding:.7rem 1.3rem;font-weight:700;text-decoration:none;display:inline-block}@media (prefers-color-scheme:dark){button{color:#0e1a16}}button:disabled{opacity:.45;cursor:not-allowed}button.quiet{color:var(--ink);border:1.5px solid var(--line);background:0 0}button.danger{background:var(--alert)}input,textarea{font:inherit;color:var(--ink);background:var(--surface);border:1.5px solid var(--line);border-radius:var(--radius-sm);width:100%;padding:.75rem .9rem}textarea{resize:none}.wrap{max-width:1160px;margin:0 auto;padding:0 20px}.muted{color:var(--muted)}.small{font-size:var(--step--1)}.sr-only{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.topbar{justify-content:space-between;align-items:center;padding:18px 0;display:flex}.brand{font-family:var(--display);font-weight:700;font-size:var(--step-1);align-items:center;gap:10px;text-decoration:none;display:flex}.brand-dot{background:radial-gradient(circle at 35% 35%, #fff8, transparent 60%), var(--sage);border-radius:50%;width:18px;height:18px}.orb{--c:var(--e-neutral);--speed:7s;background:radial-gradient(circle at 34% 30%, #ffffffbf, transparent 42%), radial-gradient(circle at 60% 70%, color-mix(in srgb, var(--c) 85%, #000 15%), var(--c) 55%, color-mix(in srgb, var(--c) 40%, transparent) 100%);box-shadow:0 0 0 0 color-mix(in srgb, var(--c) 35%, transparent);animation:breathe var(--speed) ease-in-out infinite;border-radius:50%;transition:background 1.2s;position:relative}@keyframes breathe{0%,to{box-shadow:0 0 0 0 color-mix(in srgb, var(--c) 30%, transparent);transform:scale(.94)}45%{box-shadow:0 0 0 26px color-mix(in srgb, var(--c) 0%, transparent);transform:scale(1.03)}}@media (prefers-reduced-motion:reduce){.orb{animation:none}*{scroll-behavior:auto!important;transition:none!important}}.hero{grid-template-columns:1.15fr .85fr;align-items:center;gap:48px;padding:56px 0 72px;display:grid}.hero h1{font-size:var(--step-4);max-width:14ch;font-weight:700}.hero p.lead{font-size:var(--step-1);color:var(--muted);max-width:34ch;margin-top:22px;line-height:1.45}.hero .actions{flex-wrap:wrap;gap:12px;margin-top:32px;display:flex}.hero .actions a{text-decoration:none}.hero-orb{aspect-ratio:1;justify-self:center;width:min(360px,70vw)}.hero-caption{text-align:center;margin-top:18px}.how{border-top:1.5px solid var(--line);grid-template-columns:repeat(3,1fr);gap:36px;padding:40px 0 80px;display:grid}.how h2{font-size:var(--step-1);margin-bottom:10px}.how p{color:var(--muted);max-width:36ch}.footnote{color:var(--muted);font-size:var(--step--1);max-width:70ch;padding:24px 0 48px}.consent{background:var(--surface);border-radius:var(--radius-lg);max-width:620px;margin:40px auto;padding:36px}.consent h1{font-size:var(--step-3);margin-bottom:14px}.consent ul{color:var(--muted);padding-left:1.1rem}.consent li{margin:6px 0}.check{cursor:pointer;align-items:flex-start;gap:12px;margin:16px 0;display:flex}.check input{width:20px;height:20px;accent-color:var(--sage);flex:none;margin-top:3px}.chat-shell{grid-template-columns:minmax(0,1fr) 340px;gap:24px;height:calc(100dvh - 76px);padding-bottom:20px;display:grid}.chat-main{background:var(--surface);border-radius:var(--radius-lg);flex-direction:column;min-height:0;display:flex}.chat-log{flex-direction:column;flex:1;gap:14px;padding:28px 28px 8px;display:flex;overflow-y:auto}.bubble{white-space:pre-wrap;border-radius:18px;max-width:68ch;padding:.8rem 1.05rem}.bubble.assistant{background:var(--mist);border-bottom-left-radius:6px;align-self:flex-start}.bubble.user{background:var(--sage);color:#fff;border-bottom-right-radius:6px;align-self:flex-end}@media (prefers-color-scheme:dark){.bubble.user{color:#0e1a16}}.bubble.counselor{background:var(--counselor-soft);border-left:4px solid var(--counselor);align-self:flex-start}.bubble.safety{background:var(--alert-soft);border-left:4px solid var(--alert)}.who{font-size:var(--step--1);color:var(--counselor);margin-bottom:4px;font-weight:700;display:block}.typing{color:var(--muted);font-size:var(--step--1);align-self:flex-start;padding:4px 6px}.banner{border-radius:var(--radius-sm);font-size:var(--step--1);margin:0 28px 10px;padding:12px 16px}.banner.human{background:var(--counselor-soft)}.banner.error{background:var(--alert-soft);color:var(--alert)}.composer{border-top:1.5px solid var(--line);align-items:flex-end;gap:10px;padding:14px 18px 18px;display:flex}.composer textarea{min-height:52px;max-height:160px}.panel{flex-direction:column;gap:18px;min-height:0;display:flex;overflow-y:auto}.panel section{background:var(--surface);border-radius:var(--radius-lg);padding:20px}.panel h2{font-size:var(--step-0);margin-bottom:12px}.feel{align-items:center;gap:16px;display:flex}.feel .orb{flex:none;width:76px;height:76px}.feel-word{font-family:var(--display);font-size:var(--step-2);font-weight:600}.bars{gap:7px;margin-top:16px;display:grid}.bar{font-size:var(--step--1);grid-template-columns:82px 1fr 38px;align-items:center;gap:8px;display:grid}.bar-track{background:var(--mist);border-radius:99px;height:8px;position:relative;overflow:hidden}.bar-fill{border-radius:99px;height:100%;transition:width .6s}.bar-face{background:var(--ink);opacity:.55;border-radius:2px;width:3px;height:100%;transition:left .4s;position:absolute;top:0}.legend{font-size:var(--step--1);color:var(--muted);gap:14px;margin-top:10px;display:flex}.legend i{vertical-align:-1px;border-radius:3px;width:10px;height:10px;margin-right:5px;display:inline-block}.cam{border-radius:var(--radius-sm);background:var(--mist);aspect-ratio:4/3;margin-top:12px;position:relative;overflow:hidden}.cam video{object-fit:cover;width:100%;height:100%;transform:scaleX(-1)}.cam-status{font-size:var(--step--1);background:var(--surface);border-radius:99px;padding:2px 10px;position:absolute;bottom:8px;left:10px}.toggle{justify-content:space-between;align-items:center;gap:12px;display:flex}.steps{counter-reset:step;gap:2px;margin:0;padding:0;list-style:none;display:grid}.steps li{counter-increment:step;font-size:var(--step--1);color:var(--muted);align-items:center;gap:10px;padding:4px 0;display:flex}.steps li:before{content:counter(step);border:1.5px solid var(--line);border-radius:50%;flex:none;place-items:center;width:22px;height:22px;font-size:.75rem;display:grid}.steps li.done{color:var(--ink)}.steps li.done:before{background:var(--sage-soft);border-color:var(--sage);content:"✓";color:var(--sage)}.steps li.now{color:var(--ink);font-weight:700}.steps li.now:before{background:var(--sage);border-color:var(--sage);color:#fff}.side-note{font-size:var(--step--1);color:var(--counselor);margin-top:10px}.help-list{font-size:var(--step--1);gap:8px;margin:0;padding:0;list-style:none;display:grid}.help-list strong{display:block}.c-grid{grid-template-columns:320px minmax(0,1fr);gap:24px;height:calc(100dvh - 76px);padding-bottom:20px;display:grid}.queue{background:var(--surface);border-radius:var(--radius-lg);padding:14px;overflow-y:auto}.queue-tabs{gap:6px;margin-bottom:12px;display:flex}.queue-tabs button{font-size:var(--step--1);padding:.4rem .9rem}.queue-item{text-align:left;width:100%;color:var(--ink);border-radius:var(--radius-sm);background:0 0;border:1.5px solid #0000;padding:12px;font-weight:400;display:block}.queue-item[aria-current=true]{border-color:var(--sage);background:var(--mist)}.prio{border-radius:99px;margin-right:8px;padding:1px 9px;font-size:.75rem;font-weight:700;display:inline-block}.prio.critical{background:var(--alert);color:#fff}.prio.urgent{background:var(--alert-soft);color:var(--alert)}.prio.review{background:var(--counselor-soft);color:var(--counselor)}.case{background:var(--surface);border-radius:var(--radius-lg);grid-template-rows:auto minmax(0,1fr) auto;min-height:0;display:grid}.case-head{border-bottom:1.5px solid var(--line);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;padding:20px 24px;display:flex}.case-head h1{font-size:var(--step-1)}.empty{text-align:center;color:var(--muted);place-items:center;padding:40px;display:grid}@media (max-width:900px){.hero{grid-template-columns:1fr;padding-top:24px}.hero-orb{order:-1;width:200px}.how{grid-template-columns:1fr;gap:24px}.chat-shell,.c-grid{grid-template-columns:1fr;height:auto}.chat-main{height:calc(100dvh - 90px)}.chat-log{padding:18px 16px 8px}.banner{margin:0 16px 10px}}.case-orb{flex:none;width:56px;height:56px}
