
    :root { color-scheme: light; --ink:#262d30; --muted:#626e72; --line:#dbe0df; --bg:#f4f5f3; --paper:#fff; --green:#394f56; --soft:#e9eff0; --amber:#806017; --amberbg:#faf1db; --red:#8c3b34; --redbg:#faeae7; }
    * { box-sizing:border-box } body { margin:0; background:var(--bg); color:var(--ink); font:16px/1.48 system-ui,-apple-system,Segoe UI,sans-serif }
    button { font:inherit; cursor:pointer } button:focus-visible { outline:3px solid #2f9b79; outline-offset:3px }
    .shell { max-width:1240px; margin:auto; padding:28px 28px 60px }
    .top { display:flex; justify-content:space-between; align-items:center; gap:24px; padding:0 23px 0 0; border-radius:18px; background:#747474; color:white; overflow:hidden }
    .brand { display:flex; gap:4px; align-items:center; font-size:24px; font-weight:500; letter-spacing:-.03em }
    .brand img { display:block; width:235px; height:auto; flex:none }
    .brand .brain-word { border-left:1px solid rgba(255,255,255,.55); padding-left:17px; margin-left:2px }
    .eyebrow { font-size:12px; font-weight:750; letter-spacing:.12em; text-transform:uppercase; color:var(--green) }
    .demo { border:1px solid rgba(255,255,255,.5); border-radius:999px; background:rgba(255,255,255,.12); color:white; padding:7px 12px; font-size:13px; font-weight:700 }
    h1 { font-size:clamp(30px,4vw,46px); line-height:1.12; letter-spacing:-.045em; margin:0 0 10px }
    .lead { margin:0 0 29px; color:var(--muted); max-width:700px }
    .metrics { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; margin-bottom:26px }
    .metric,.panel { background:var(--paper); border:1px solid var(--line); border-radius:18px; box-shadow:0 7px 26px rgba(18,53,41,.035) }
    .metric { padding:22px } .metric strong { display:block; font-size:34px; line-height:1.1; letter-spacing:-.04em; margin:6px 0 3px } .metric small { color:var(--muted) }
    .metric-button { width:100%; text-align:left; color:inherit; font:inherit; cursor:pointer } .metric-button:hover { border-color:#98aeb4 } .metric-button .hint { color:var(--green); display:block; font-size:13px; font-weight:700; margin-top:11px }
    .progress-panel { margin:-8px 0 26px } .progress-task { border-top:1px solid var(--line); padding:16px 0 } .progress-task:last-child { padding-bottom:0 }
    .progress-task summary { cursor:pointer; list-style:none; display:flex; justify-content:space-between; gap:12px; align-items:center; font-weight:700 } .progress-task summary::-webkit-details-marker { display:none } .progress-task summary::after { content:'+'; font-size:23px; font-weight:400; color:var(--green) } .progress-task[open] summary::after { content:'−' }
    .progress-task.linked-target { background:#e9f4f2; border-radius:10px; margin:0 -10px; padding-left:10px; padding-right:10px; box-shadow:inset 0 0 0 2px #7eaca9 } .progress-task summary:focus-visible { outline:2px solid var(--green); outline-offset:3px } .jump-link { border:0; background:none; color:var(--green); text-decoration:underline; text-underline-offset:3px; font:inherit; font-weight:700; padding:0; cursor:pointer }
    .stage-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin:15px 0 } .stage { background:#f5f8f4; border-radius:11px; padding:12px; font-size:14px } .stage b { display:block; margin-bottom:4px }
    .grid { display:grid; grid-template-columns:minmax(0,1.5fr) minmax(310px,1fr); gap:20px }
    .panel { padding:26px } .panel h2 { font-size:22px; margin:0 0 5px; letter-spacing:-.03em } .sub { color:var(--muted); font-size:14px; margin:0 0 20px }
    .item { border-top:1px solid var(--line); padding:20px 0; display:flex; gap:15px; align-items:flex-start; justify-content:space-between }
    .item:last-child { padding-bottom:0 } .item h3 { margin:3px 0 5px; font-size:17px } .item p { margin:0; font-size:14px; color:var(--muted) }
    .pill { display:inline-flex; align-items:center; border-radius:999px; padding:4px 9px; font-size:12px; font-weight:750; white-space:nowrap; background:var(--soft); color:var(--green) }
    .pill.wait { background:var(--amberbg); color:var(--amber) } .pill.stop { background:var(--redbg); color:var(--red) }
    .link { display:inline-block; border:0; padding:7px 0; margin-top:6px; background:transparent; color:var(--green); font-weight:700; text-decoration:underline; text-underline-offset:3px }
    .detail { background:#edf4ee; padding:18px; border-radius:13px; margin-top:15px; font-size:14px }
    .detail p { margin:0 0 10px } .detail p:last-child { margin:0 } .detail b { color:var(--ink) }
    .empty { background:var(--soft); color:var(--green); border-radius:12px; padding:16px; font-size:14px }
    .foot { margin-top:28px; color:var(--muted); font-size:13px }
    .assistant { margin-top:22px; padding:19px 24px 22px } .assistant-head { display:flex; align-items:baseline; justify-content:space-between; gap:12px; margin-bottom:15px } .assistant-head h2 { margin:0; font-size:20px } .assistant-head small { color:var(--muted); font-size:13px }
    .chat { position:relative; max-height:70vh; overflow:auto; display:flex; flex-direction:column; gap:16px; margin:17px 0 0; padding:22px; border-radius:14px; background:#f5f8f4; border:1px solid var(--line) }
    .chat.has-response { min-height:320px }
    .bubble { max-width:86%; padding:12px 15px; border-radius:14px; background:white; border:1px solid var(--line); white-space:pre-wrap; font-size:14px }
    .has-response .bubble:not(.user) { width:100%; max-width:100%; padding:20px 23px; font-size:16px; line-height:1.65 }
    .bubble.user { align-self:flex-end; background:var(--green); color:white; border-color:var(--green) }
    .compose { display:flex; gap:9px } .compose input { min-width:0; flex:1; border:1px solid #b8c4c7; border-radius:11px; padding:12px; font:inherit; background:white } .compose button { background:var(--green); color:white; border:0; border-radius:11px; padding:0 18px; font-weight:700 }
    .calendar { margin-top:22px } .calendar-head { display:flex; justify-content:space-between; gap:15px; align-items:baseline; flex-wrap:wrap } .calendar-head h2 { margin:0 0 3px } .calendar-head small { color:var(--muted) }
    .month-nav { display:flex; align-items:center; gap:12px; margin-top:16px } .month-nav strong { font-size:19px; min-width:160px; text-align:center } .month-nav button { width:33px; height:33px; border:1px solid var(--line); background:white; color:var(--green); border-radius:9px; font-size:22px; line-height:1 }
    .calendar-scroll { overflow-x:auto } .calendar-days { margin:14px 0 17px; min-width:600px } .weekdays,.week-row { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:8px } .week-row { margin-top:8px } .weekday { font-size:12px; font-weight:750; letter-spacing:.08em; color:var(--muted); padding:0 9px 3px; text-transform:uppercase } .day { grid-row:1; position:relative; border:1px solid var(--line); border-radius:12px; background:#f8f9f8; color:var(--ink); padding:0; text-align:left; overflow:hidden } .day.outside { opacity:.55 } .day[aria-pressed="true"] { border-color:var(--green); background:var(--soft); box-shadow:inset 0 0 0 1px var(--green) } .day b { position:absolute; top:8px; left:9px; font-size:17px; line-height:1; font-weight:800; font-variant-numeric:tabular-nums }
    .range-bar { grid-row:1; align-self:start; position:relative; z-index:2; height:28px; margin:var(--bar-top) 7px 0; border:1px solid color-mix(in srgb,var(--bar-color) 45%,white); border-radius:7px; padding:3px 8px; background:color-mix(in srgb,var(--bar-color) 38%,transparent); color:#172c2c; text-align:left; font-size:12px; font-weight:750; white-space:nowrap; overflow:hidden; box-shadow:0 1px 3px rgba(0,0,0,.04); cursor:pointer } .range-bar:hover { background:color-mix(in srgb,var(--bar-color) 50%,transparent) } .range-bar:focus-visible { outline:2px solid #111; outline-offset:2px } .bar-label { position:relative; z-index:2; display:block; overflow:hidden; text-overflow:ellipsis; text-shadow:0 1px 0 rgba(255,255,255,.65) }
    .reminder-bar { background:color-mix(in srgb,#8268b5 35%,transparent); border-color:#bbacda; color:#45366b } .reminder-bar:hover { background:color-mix(in srgb,#8268b5 48%,transparent) } .reminder-bar .bar-label { text-shadow:none }
    .spirit { position:absolute; inset:0; z-index:1; pointer-events:none; overflow:hidden; opacity:.5 } .spirit svg { position:absolute; left:0; top:0; width:200%; height:28px; overflow:visible } .range-bar.active .spirit { animation:spiritBreath 5.8s ease-in-out infinite } .range-bar.active .spirit svg { animation:spiritDrift 14s linear infinite } .spirit path { fill:none; stroke-linecap:round } .spirit .aura-main { stroke:#64eaff; stroke-width:11; opacity:.37; filter:blur(5px) } .spirit .aura-soft { stroke:#9b83ff; stroke-width:7; opacity:.23; filter:blur(5px) } .spirit .aura-deep { stroke:#4a91ff; stroke-width:8; opacity:.15; filter:blur(6px) } .spirit .thread-main { stroke:#e2fcff; stroke-width:1.35; opacity:.84; filter:drop-shadow(0 0 3px #60eaff) } .spirit .thread-blue { stroke:#72ddff; stroke-width:1.1; opacity:.55; filter:drop-shadow(0 0 3px #4aaeff) } .spirit .thread-violet { stroke:#ccbaff; stroke-width:.85; opacity:.33; filter:drop-shadow(0 0 3px #b3a0ff) } .spirit .thread-teal { stroke:#8fffe5; stroke-width:.75; opacity:.4; filter:drop-shadow(0 0 3px #5bd4e9) } .spirit .thread-mist { stroke:#fff; stroke-width:.6; opacity:.24; filter:blur(1px) }
    @keyframes spiritDrift { to { transform:translateX(-50%) } } @keyframes spiritBreath { 0%,100% { opacity:.28 } 50% { opacity:.88 } }
    @media(prefers-reduced-motion:reduce) { .range-bar.active .spirit,.range-bar.active .spirit svg { animation:none } .spirit { opacity:.5 } }
    .palette { display:flex; align-items:center; gap:7px; margin-top:9px } .palette-label { color:var(--muted); font-size:12px; margin-right:3px } .swatch { width:23px; height:23px; border:2px solid white; border-radius:50%; background:var(--swatch); box-shadow:0 0 0 1px #c6cecb } .swatch[aria-pressed="true"] { box-shadow:0 0 0 2px var(--ink) }
    .calendar-list { border-top:1px solid var(--line); padding-top:15px } .calendar-list h3 { margin:0 0 10px; font-size:17px } .calendar-entry { display:flex; gap:12px; align-items:flex-start; padding:11px 0; border-top:1px solid #e9edeb } .calendar-entry:first-of-type { border-top:0 } .calendar-entry time { min-width:74px; font-weight:700; color:var(--ink); font-size:14px } .calendar-entry b { display:block; font-size:15px } .calendar-entry small { color:var(--muted) } .kind { display:inline-block; border-radius:999px; padding:2px 7px; background:var(--soft); color:var(--green); font-size:11px; font-weight:700; margin-left:5px } .kind.event { background:#fbf0df; color:#8c621e } .kind.reminder { background:#f0eefa; color:#635d8e }
    [hidden] { display:none !important }
    @media(max-width:790px) { .shell {padding:20px 16px 40px} .top {align-items:flex-start;flex-direction:column;gap:0;padding:0 0 16px} .brand img {width:205px} .demo {margin-left:18px} .metrics {grid-template-columns:1fr 1fr} .grid {grid-template-columns:1fr} }
    @media(max-width:470px) { .metrics,.stage-grid {grid-template-columns:1fr} .panel {padding:19px} .assistant {padding:17px} .assistant-head {display:block} .assistant-head small {display:block;margin-top:3px} .chat {padding:15px} .item {flex-direction:column;gap:9px} .compose button {padding:0 13px} }
  
.account-nav { display:flex; gap:12px; align-items:center; flex-wrap:wrap; font-size:13px; padding:12px } .account-nav a,.account-nav button { color:white } .account-nav form { margin:0 } .account-nav button { background:transparent; border:1px solid #aaa; border-radius:6px; padding:6px }
a { color:var(--green) } .panel { margin-top:22px } .narrow { max-width:740px; margin:24px auto } .narrow h1 { font-size:32px }
form p { margin:14px 0 } form label { display:block; font-weight:600; margin-bottom:6px } input:not([type=checkbox]),textarea,select { width:100%; border:1px solid #aebabe; border-radius:8px; padding:10px; font:inherit; background:white } input[type=checkbox] { width:19px; height:19px } textarea { resize:vertical } .helptext { display:block; font-size:13px; color:var(--muted) }
.primary,.secondary { display:inline-block; border-radius:9px; padding:10px 14px; text-decoration:none; font:inherit; cursor:pointer } .primary { background:var(--green); color:white; border:1px solid var(--green) } .secondary { background:white; color:var(--green); border:1px solid var(--line) } .actions { display:flex; flex-wrap:wrap; gap:10px } .errorlist { color:#a0241a } .notice { padding:14px; background:#e9f4ef; border-radius:10px } table { border-collapse:collapse; width:100% } td,th { padding:12px 8px; border-bottom:1px solid var(--line); text-align:left } .preserve-lines { white-space:pre-wrap } .stage { overflow-wrap:anywhere }
