:root{--ink: #191919;--ink-muted: #767676;--grey: #808080;--surface: #ffffff;--surface-soft: #f0f0f0;--surface-hover: #f7f7f7;--line: #d9d9d9;--accent: #0002b5;--on-accent: #ffffff;--accent-soft: #dadbff;--lime: #c5d300;--lime-ink: #5a6100;--orange: #fe6100;--orange-ink: #a33a00;--red: #f01009;--red-ink: #b8100a;--violet: #7326b0;--violet-ink: #7326b0;--heat-0: #ebebeb;--heat-1: #dcf2a6;--heat-2: #b8e04f;--heat-3: #8fc21f;--heat-4: #5f8a0e;--shadow-pop: 0 12px 32px rgba(25, 25, 25, .14);--font-sans: "Diatype Rounded", Figtree, system-ui, sans-serif;--font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;--font-figure: Doto, ui-monospace, monospace;--font-mail: Aptos, Calibri, Arial, sans-serif;--text-caption: 12px;--text-sm: 13px;--text-body: 14px;--text-lg: 16px;--text-h3: 20px;--text-h2: 24px;--text-h1: 36px;--text-figure: 48px;--text-figure-lg: 96px;--tracking-title: -.04em;--space-1: 4px;--space-2: 8px;--space-3: 12px;--space-4: 16px;--space-6: 24px;--space-8: 32px;--space-12: 48px;--radius-xs: 6px;--radius-sm: 10px;--radius-md: 14px;--radius-btn-sm: 18px;--radius-btn: 22px;--radius-lg: 24px;--radius-xl: 40px;--stroke-hair: 1px;--stroke-mark: 1.5px;--stroke-focus: 2px;--dur-state: .12s;--dur-card: .2s;--dur-screen: .32s;--ease-out: cubic-bezier(.2, .7, .2, 1);font-family:var(--font-sans);font-weight:500;font-size:var(--text-body);color:var(--ink);background:var(--surface);-webkit-font-smoothing:antialiased}@media (prefers-color-scheme: dark){:root{--ink: #f0f0f0;--ink-muted: #a6a6a6;--surface: #191919;--surface-soft: #232323;--surface-hover: #2a2a2a;--line: #3a3a3a;--accent: #8c8eff;--on-accent: #191919;--accent-soft: #26285c;--lime: #d4e033;--lime-ink: #d4e033;--orange: #ff8a45;--orange-ink: #ff8a45;--red: #ff4a44;--red-ink: #ff6b66;--violet: #c69bf0;--violet-ink: #c69bf0;--heat-0: #2a2a2a;--heat-1: #3d4a12;--heat-2: #5f7a14;--heat-3: #8fb51c;--heat-4: #d4e033;--shadow-pop: 0 12px 32px rgba(0, 0, 0, .5)}}@media (prefers-reduced-motion: reduce){:root{--dur-state: 0ms;--dur-card: 0ms;--dur-screen: 0ms}}*{box-sizing:border-box}body{margin:0;background:var(--surface)}h1,h2,h3,p{margin:0;font-weight:500}a{color:var(--ink)}a:hover{color:var(--accent)}::selection{background:var(--accent-soft);color:var(--ink)}.mono{font-family:var(--font-mono);font-weight:400}.fig{font-family:var(--font-figure);font-weight:900}.muted{color:var(--ink-muted)}.small{font-size:var(--text-sm)}.caption{font-size:var(--text-caption);color:var(--ink-muted)}.ellipsis{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.break{overflow-wrap:anywhere}.pre{white-space:pre-wrap;margin:0}.row{display:flex;justify-content:space-between;align-items:center;gap:var(--space-2)}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.dash{border-top:var(--stroke-hair) dashed var(--line)}.error,.ko-text{color:var(--red-ink)}.ok-text{color:var(--lime-ink)}.overdue{color:var(--red-ink)}.h1{font-size:var(--text-h1);line-height:40px;letter-spacing:var(--tracking-title)}.h2{font-size:var(--text-h2);line-height:28px;letter-spacing:-.03em}.h3{font-size:var(--text-h3);line-height:24px;letter-spacing:-.03em}.btn{display:inline-flex;align-items:center;justify-content:center;gap:var(--space-2);height:49px;padding:0 var(--space-6);border-radius:var(--radius-btn);border:0;font:inherit;font-size:var(--text-lg);letter-spacing:var(--tracking-title);text-decoration:none;cursor:pointer;white-space:nowrap;transition:background-color var(--dur-state),color var(--dur-state)}.btn:disabled{cursor:not-allowed}.btn-primary{background:var(--ink);color:var(--surface)}.btn-primary:hover:not(:disabled){background:var(--accent);color:var(--on-accent)}.btn-primary:disabled{background:var(--surface-soft);color:var(--ink-muted)}.btn-secondary{background:var(--surface-soft);color:var(--ink)}.btn-secondary:hover:not(:disabled){background:var(--surface-hover);color:var(--ink)}.btn-ghost{background:transparent;color:var(--ink);height:33px;padding:0 var(--space-3);border-radius:var(--radius-btn-sm);font-size:var(--text-body);letter-spacing:0}.btn-ghost:hover:not(:disabled){background:var(--surface-hover);color:var(--ink)}.btn-sm{height:33px;padding:0 var(--space-4);border-radius:var(--radius-btn-sm);font-size:var(--text-body)}.btn-danger{color:var(--red-ink)}.btn:focus-visible,.tab:focus-visible,.tile:focus-visible,.nav-btn:focus-visible,textarea:focus-visible,input:focus-visible,select:focus-visible,a:focus-visible,.queue-item:focus-visible,summary:focus-visible{outline:var(--stroke-focus) solid var(--accent);outline-offset:2px}.tab{display:inline-flex;align-items:center;height:33px;padding:0 var(--space-4);border-radius:var(--radius-sm);border:var(--stroke-mark) solid var(--ink);color:var(--ink);background:transparent;font:inherit;font-size:var(--text-body);text-decoration:none;cursor:pointer;transition:color var(--dur-state),border-color var(--dur-state),background-color var(--dur-state)}.tab:hover{color:var(--accent);border-color:var(--accent)}.tab-on,.tab-on:hover{background:var(--ink);color:var(--surface);border-color:var(--ink)}.tab-quiet{border-color:var(--line)}.chip{display:inline-flex;align-items:center;height:24px;padding:0 var(--space-3);border-radius:var(--radius-sm);border:var(--stroke-hair) solid var(--ink);font-size:var(--text-caption);white-space:nowrap;color:var(--ink)}.chip-quiet{border-color:var(--grey)}.sig{display:inline-flex;align-items:center;gap:var(--space-2);font-size:var(--text-sm);white-space:nowrap}.sig>i{display:inline-block;width:16px;height:16px;border-radius:var(--radius-xs);background-size:5px 5px;flex-shrink:0}.d-lime{background-image:radial-gradient(var(--lime) 1.3px,transparent 1.6px)}.d-orange{background-image:radial-gradient(var(--orange) 1.3px,transparent 1.6px)}.d-red{background-image:radial-gradient(var(--red) 1.3px,transparent 1.6px)}.d-violet{background-image:radial-gradient(var(--violet) 1.3px,transparent 1.6px)}.d-grey{background-image:radial-gradient(var(--grey) 1.3px,transparent 1.6px)}.sig-lime{color:var(--lime-ink)}.sig-orange{color:var(--orange-ink)}.sig-red{color:var(--red-ink)}.sig-violet{color:var(--violet-ink)}.kbd{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 5px;border-radius:var(--radius-xs);border:var(--stroke-hair) solid var(--line);font-family:var(--font-mono);font-size:11px;color:var(--ink-muted)}.vf{position:relative}.vf>i{position:absolute;width:14px;height:14px;border:0 solid var(--ink);pointer-events:none}.vf>.a{top:0;left:0;border-top-width:2px;border-left-width:2px;border-top-left-radius:8px}.vf>.b{top:0;right:0;border-top-width:2px;border-right-width:2px;border-top-right-radius:8px}.vf>.c{bottom:0;left:0;border-bottom-width:2px;border-left-width:2px;border-bottom-left-radius:8px}.vf>.d{bottom:0;right:0;border-bottom-width:2px;border-right-width:2px;border-bottom-right-radius:8px}.vf-sm>i{width:8px;height:8px}.vf-sm>.a{border-top-left-radius:4px}.vf-sm>.b{border-top-right-radius:4px}.vf-sm>.c{border-bottom-left-radius:4px}.vf-sm>.d{border-bottom-right-radius:4px}.panel{background:var(--surface-soft);border-radius:var(--radius-lg);padding:var(--space-6)}.panel-xl{background:var(--surface-soft);border-radius:var(--radius-xl);padding:clamp(24px,4vw,48px)}.box{border:var(--stroke-hair) solid var(--line);border-radius:var(--radius-lg);padding:var(--space-6)}.avatar{width:40px;height:40px;border-radius:999px;background:var(--surface-soft);display:inline-flex;align-items:center;justify-content:center;font-size:var(--text-sm);flex-shrink:0}.avatar-sm{width:32px;height:32px}.toast{position:fixed;left:50%;bottom:var(--space-8);transform:translate(-50%);width:min(480px,calc(100vw - 32px));display:flex;align-items:center;gap:var(--space-3);padding:var(--space-2) var(--space-2) var(--space-2) var(--space-4);min-height:49px;border-radius:var(--radius-btn-sm);background:var(--ink);color:var(--surface);font-size:var(--text-body);box-shadow:var(--shadow-pop);z-index:50;animation:toast-in var(--dur-card) var(--ease-out)}.toast .btn-ghost{color:var(--surface);text-decoration:underline;text-underline-offset:3px}.toast .btn-ghost:hover:not(:disabled){background:#80808047;color:var(--surface)}@keyframes toast-in{0%{opacity:0;transform:translate(-50%,8px)}to{opacity:1;transform:translate(-50%)}}.banner{display:flex;justify-content:space-between;align-items:center;gap:var(--space-3);margin:0 0 var(--space-4);padding:var(--space-2) var(--space-2) var(--space-2) var(--space-4);border-radius:var(--radius-md);background:var(--surface-soft);font-size:var(--text-body)}.shell{min-height:100vh;display:flex;flex-direction:column}.hdr{position:sticky;top:0;z-index:30;display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;grid-template-areas:"logo nav right";gap:var(--space-3) var(--space-6);padding:14px clamp(16px,3vw,32px);border-bottom:var(--stroke-hair) dashed var(--line);background:var(--surface)}.logo{grid-area:logo;display:flex;align-items:baseline;gap:10px;text-decoration:none;justify-self:start;white-space:nowrap;min-width:0}.logo .vf{font-size:20px;letter-spacing:var(--tracking-title);padding:4px 12px;display:inline-block}.logo-sep{font-size:16px;color:var(--line)}.hdr-nav{grid-area:nav;display:inline-flex;gap:2px;padding:3px;border-radius:var(--radius-md);background:var(--surface-soft)}.hdr-link{display:inline-flex;align-items:center;gap:var(--space-2);height:34px;padding:0 var(--space-4);border-radius:calc(var(--radius-md) - 3px);color:var(--ink-muted);text-decoration:none;font-size:var(--text-body);transition:color var(--dur-state),background-color var(--dur-state)}.hdr-link:hover{color:var(--ink)}.hdr-link.is-on{background:var(--surface);color:var(--ink)}.hdr-badge{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 6px;border-radius:7px;background:var(--ink);color:var(--surface);font-family:var(--font-mono, "Geist Mono", ui-monospace, monospace);font-size:11px;font-weight:400}.hdr-badge-violet{background:var(--violet)}.hdr-link:not(.is-on) .hdr-badge:not(.hdr-badge-violet){background:var(--line);color:var(--ink)}.hdr-right{grid-area:right;justify-self:end;flex-shrink:0;white-space:nowrap;display:flex;align-items:center;gap:var(--space-3);font-size:var(--text-sm);color:var(--ink-muted)}.hdr-status{display:inline-flex;align-items:center;gap:var(--space-2);color:var(--ink-muted);text-decoration:none;white-space:nowrap}.hdr-status:hover{color:var(--ink)}.hdr-status i{display:inline-block;width:16px;height:16px;border-radius:var(--radius-xs);background-size:5px 5px;flex-shrink:0}.hdr-cta{gap:var(--space-2)}.hdr-cta .mono{opacity:.7}.account{position:relative}.account-btn{display:inline-flex;align-items:center;gap:4px;padding:2px 6px 2px 2px;border:0;border-radius:999px;background:transparent;color:var(--ink-muted);cursor:pointer;font:inherit}.account-btn:hover{background:var(--surface-soft);color:var(--ink)}.account-btn:focus-visible{outline:var(--stroke-focus) solid var(--accent);outline-offset:2px}.account-pop{position:absolute;right:0;top:calc(100% + 8px);min-width:280px;padding:var(--space-1);background:var(--surface);border-radius:var(--radius-md);box-shadow:var(--shadow-pop);display:flex;flex-direction:column;z-index:40;animation:pop-in var(--dur-state) var(--ease-out)}.account-who{display:flex;flex-direction:column;gap:2px;padding:var(--space-2) var(--space-3);color:var(--ink)}.account-pop .dash{margin:var(--space-1) 0}.account-item{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3);height:38px;padding:0 var(--space-3);border:0;border-radius:var(--radius-sm);background:transparent;font:inherit;font-size:var(--text-sm);color:var(--ink);cursor:pointer;text-align:left}.account-item:hover:not(:disabled){background:var(--surface-hover)}.account-item:disabled{opacity:.5;cursor:default}.icon-btn{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border:0;border-radius:999px;background:transparent;color:var(--ink-muted);cursor:pointer;transition:color var(--dur-state),background-color var(--dur-state)}.icon-btn:hover,.icon-btn[aria-expanded=true]{background:var(--surface-soft);color:var(--ink)}.icon-btn.is-on{color:var(--ink);background:var(--surface-soft)}.icon-btn:focus-visible{outline:var(--stroke-focus) solid var(--accent);outline-offset:2px}.account-link{display:flex;flex-direction:column;gap:2px;padding:var(--space-2) var(--space-3);border-radius:var(--radius-sm);color:var(--ink);text-decoration:none;font-size:var(--text-sm)}.account-link:hover{background:var(--surface-hover);color:var(--ink)}.account-link.is-on{background:var(--surface-soft)}.account-item:focus-visible{outline:var(--stroke-focus) solid var(--accent);outline-offset:-2px}.page{width:100%;max-width:1280px;margin:0 auto;padding:40px clamp(16px,3vw,32px) var(--space-12);display:flex;flex-direction:column;gap:var(--space-6)}.center{text-align:center;padding-top:18vh;display:flex;flex-direction:column;align-items:center;gap:var(--space-6)}.hero{display:flex;flex-wrap:wrap;gap:var(--space-8) var(--space-12);align-items:flex-end}.hero-main{flex:999 1 420px;min-width:0;display:flex;flex-direction:column;gap:20px}.hero-count{display:flex;align-items:flex-end;gap:20px;flex-wrap:wrap}.hero-count .fig{font-size:var(--text-figure-lg);line-height:.82}.hero-steps{display:flex;flex-wrap:wrap;gap:var(--space-2) var(--space-6)}.hero-cta{flex:1 1 260px;display:flex;flex-direction:column;gap:var(--space-3)}.cols{display:flex;flex-wrap:wrap;gap:var(--space-6)}.cols>*{flex:1 1 420px;min-width:0}.list-row{display:flex;align-items:center;gap:var(--space-4);padding:14px var(--space-2);margin:0 calc(-1 * var(--space-2));border-radius:var(--radius-md);text-decoration:none;color:var(--ink)}a.list-row:hover{background:var(--surface-hover);color:var(--ink)}.heat{display:grid;grid-template-rows:repeat(7,12px);grid-auto-flow:column;grid-auto-columns:12px;gap:4px;width:max-content}.heat>span{width:12px;height:12px;border-radius:3px;background:var(--heat-0)}.heat .h1c{background:var(--heat-1)}.heat .h2c{background:var(--heat-2)}.heat .h3c{background:var(--heat-3)}.heat .h4c{background:var(--heat-4)}.heat-legend{display:flex;align-items:center;gap:var(--space-1)}.heat-legend>span.sw{width:12px;height:12px;border-radius:3px}.story{position:fixed;top:0;right:0;bottom:0;left:0;background:var(--surface-soft);display:flex;flex-direction:column;z-index:20}.story-top{display:flex;align-items:center;gap:var(--space-4);padding:18px 28px;max-width:760px;width:100%;margin:0 auto}.progress{flex:1;display:flex;gap:var(--space-1)}.progress>span{flex:1;height:4px;border-radius:2px;background:var(--line);transition:background-color var(--dur-card)}.progress>.p-sent{background:var(--ink)}.progress>.p-skip{background:var(--grey)}.progress>.p-cur{background:var(--accent)}.story-stage{flex:1;min-height:0;display:flex;align-items:center;justify-content:center;gap:var(--space-6);padding:0 28px}.nav-btn{width:44px;height:44px;border-radius:999px;border:0;background:var(--surface);color:var(--ink);cursor:pointer;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.nav-btn:hover:not(:disabled){color:var(--accent)}.nav-btn:disabled{opacity:.35;cursor:default}.story-card{width:640px;max-width:100%;max-height:100%;overflow-y:auto;background:var(--surface);border-radius:var(--radius-xl);padding:var(--space-8) 36px;display:flex;flex-direction:column;gap:22px;animation:card-in var(--dur-card) var(--ease-out)}@keyframes card-in{0%{opacity:0;transform:translate(16px)}to{opacity:1;transform:none}}.story-card::-webkit-scrollbar{width:0}.story-who h1{font-size:var(--text-h2);line-height:28px;letter-spacing:-.03em}.story-meta{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-2) var(--space-3);font-size:var(--text-sm);color:var(--ink-muted)}.todo{display:flex;gap:var(--space-3);align-items:flex-start;background:var(--surface-soft);border-radius:var(--radius-md);padding:var(--space-3) 14px;font-size:var(--text-sm);line-height:18px}.prev{background:var(--surface-soft);border-radius:var(--radius-md);padding:14px var(--space-4);display:flex;flex-direction:column;gap:var(--space-2)}.mail{font-family:var(--font-mail);font-weight:400;font-size:15px;line-height:22px;letter-spacing:0}.mail-subject{font-family:var(--font-mail);font-weight:600;font-size:16px}.mail-frame{padding:22px 22px 20px}.mail-body{display:flex;flex-direction:column;gap:var(--space-3);cursor:text}.mail-body p{white-space:pre-line}.mark{background:var(--surface-soft);border-radius:4px;padding:0 3px;box-shadow:inset 0 -2px 0 var(--orange)}.mail-edit{width:100%;border:0;border-radius:var(--radius-md);background:var(--surface-soft);color:var(--ink);padding:var(--space-3) 14px;resize:vertical}.mail-subject-edit{width:100%;border:0;border-radius:var(--radius-sm);background:var(--surface-soft);color:var(--ink);padding:var(--space-2) var(--space-3)}.details{display:flex;flex-direction:column;gap:var(--space-3);border-top:var(--stroke-hair) dashed var(--line);padding-top:var(--space-4);font-size:var(--text-sm);line-height:18px}.story-foot{display:flex;flex-direction:column;align-items:center;gap:var(--space-3);padding:var(--space-4) 28px 22px;width:640px;max-width:100%;margin:0 auto}.story-actions{display:flex;gap:var(--space-2);width:100%}.story-actions .btn{flex:1}.story-actions .btn-primary{flex:2}.story-tools{display:flex;gap:var(--space-1);flex-wrap:wrap;justify-content:center}.story-tools-phone{display:none}.tile{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--space-1);min-height:56px;padding:6px 2px;border:0;border-radius:var(--radius-md);background:transparent;color:var(--ink);font:inherit;font-size:var(--text-caption);cursor:pointer;transition:background-color var(--dur-state),color var(--dur-state)}.tile:hover{background:var(--surface-hover)}.tile-on,.tile-on:hover{background:var(--surface-soft);color:var(--accent)}.tile-danger{color:var(--red-ink)}.hints{display:flex;justify-content:center;flex-wrap:wrap;gap:6px 18px;font-size:var(--text-caption);color:var(--ink-muted)}.done-card{width:640px;max-width:calc(100% - 32px);margin:var(--space-6) auto;background:var(--surface);border-radius:var(--radius-xl);padding:40px;display:flex;flex-direction:column;gap:var(--space-6)}.stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--space-3)}.stat{background:var(--surface-soft);border-radius:var(--radius-lg);padding:20px;display:flex;flex-direction:column;gap:10px;min-width:0}.stat .fig{font-size:var(--text-figure);line-height:48px}.help{position:fixed;top:0;right:0;bottom:0;left:0;background:#19191966;display:flex;align-items:center;justify-content:center;z-index:60}.help-card{background:var(--surface);border-radius:var(--radius-lg);padding:var(--space-6);width:min(420px,calc(100vw - 32px));display:flex;flex-direction:column;gap:var(--space-3);box-shadow:var(--shadow-pop)}.help-card dl{display:grid;grid-template-columns:auto 1fr;gap:var(--space-2) var(--space-4);margin:0;align-items:center}.help-card dd{margin:0}.kpis{display:flex;gap:var(--space-3);flex-wrap:wrap}.kpi{background:var(--surface-soft);border-radius:var(--radius-lg);padding:var(--space-4) 20px;min-width:120px}.kpi .fig{font-size:40px;line-height:40px}.qrow{display:flex;align-items:center;gap:var(--space-4);padding:10px 0;border-top:var(--stroke-hair) dashed var(--line)}.table-wrap{overflow-x:auto}table.data{width:100%;border-collapse:collapse;font-size:var(--text-body)}table.data th{font-size:var(--text-caption);color:var(--ink-muted);text-align:left;font-weight:500;padding:0 var(--space-3) 10px}table.data td{padding:14px var(--space-3);border-top:var(--stroke-hair) dashed var(--line);vertical-align:middle}table.data tbody tr:hover td{background:var(--surface-hover)}table.data tr.is-reply td{background:var(--surface-soft)}.drafts{display:flex;flex-direction:column;flex:1}.workspace{flex:1;display:grid;grid-template-columns:340px 1fr;min-height:0}.queue{border-right:var(--stroke-hair) dashed var(--line);display:flex;flex-direction:column;min-height:0;max-height:calc(100vh - var(--hdr-h));position:sticky;top:var(--hdr-h)}.drafts .main{min-width:0;padding:var(--space-6) var(--space-8) var(--space-12)}.back{display:none}.empty{padding:var(--space-12) 0;text-align:center}.count{color:var(--ink-muted);margin-left:2px;font-family:var(--font-mono);font-weight:400}.queue-list{list-style:none;margin:0;padding:0;overflow-y:auto}.queue-item{width:100%;text-align:left;border:0;border-bottom:var(--stroke-hair) dashed var(--line);border-radius:0;padding:var(--space-3);display:grid;gap:var(--space-1);background:none;color:var(--ink);font:inherit;cursor:pointer}.queue-item:hover{background:var(--surface-hover)}.queue-item.active{background:var(--surface-soft)}.due{font-size:var(--text-caption);color:var(--ink-muted);white-space:nowrap;font-family:var(--font-mono)}.due.overdue{color:var(--red-ink)}.flags{display:flex;flex-wrap:wrap;gap:var(--space-1)}.flags:empty{display:none}.flag{font-size:11px;padding:1px 6px;border-radius:var(--radius-xs);border:var(--stroke-hair) solid var(--line);color:var(--ink)}.flag.ok{border-color:var(--lime);color:var(--lime-ink)}.flag.warn{border-color:var(--orange);color:var(--orange-ink)}.flag.bad{border-color:var(--red);color:var(--red-ink)}.step{font-size:11px;padding:1px 8px;border-radius:var(--radius-sm);border:var(--stroke-hair) solid var(--ink);white-space:nowrap}.status{font-size:11px;padding:1px 8px;border-radius:var(--radius-sm);background:var(--surface-soft)}.status-validated,.status-queued{background:var(--accent-soft)}.editor{display:grid;gap:14px}.editor-head h2{font-size:var(--text-h2);letter-spacing:-.03em}.meta{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:6px;font-size:var(--text-sm)}.editor-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:20px;align-items:start}.compose{display:grid;gap:var(--space-3)}.field{display:grid;gap:5px}.field>span{font-size:var(--text-caption);color:var(--ink-muted)}.field input,.field textarea{font:inherit;color:var(--ink);background:var(--surface-soft);border:0;border-radius:var(--radius-md);padding:var(--space-3) 14px;width:100%}.field textarea{min-height:260px;resize:vertical;line-height:1.55;font-family:var(--font-mail);font-weight:400;font-size:15px}.actions{display:flex;flex-wrap:wrap;gap:var(--space-2);align-items:center}.drafts .actions>button:not(.btn),.drafts .card button:not(.btn),.drafts .compose>.actions button:not(.btn){height:33px;padding:0 var(--space-4);border-radius:var(--radius-btn-sm);border:0;background:var(--surface-soft);color:var(--ink);font:inherit;font-size:var(--text-body);cursor:pointer}.drafts button.primary{background:var(--ink);color:var(--surface)}.drafts button.primary:hover:not(:disabled){background:var(--accent);color:var(--on-accent)}.drafts button.danger{color:var(--red-ink)}.drafts button.link{background:none;color:var(--ink);text-decoration:underline;text-underline-offset:3px;padding:0 var(--space-1)}.drafts button:disabled{opacity:.45;cursor:not-allowed}.notice{position:relative;margin:0;padding:10px var(--space-3) 10px 40px;border-radius:var(--radius-md);font-size:var(--text-sm);line-height:18px;background:var(--surface-soft);color:var(--ink)}.notice:before{content:"";position:absolute;left:var(--space-3);top:11px;width:16px;height:16px;border-radius:var(--radius-xs);background-size:5px 5px;background-image:radial-gradient(var(--grey) 1.3px,transparent 1.6px)}.notice.warn:before{background-image:radial-gradient(var(--orange) 1.3px,transparent 1.6px)}.notice.error:before{background-image:radial-gradient(var(--red) 1.3px,transparent 1.6px)}.notice.warn strong{color:var(--orange-ink);font-weight:500}.notice.error,.notice.error strong{color:var(--red-ink)}.context{display:grid;gap:var(--space-3)}.card{background:var(--surface);border:var(--stroke-hair) solid var(--line);border-radius:var(--radius-lg);padding:var(--space-3) var(--space-4);font-size:var(--text-sm)}.card h3{font-size:var(--text-sm);margin-bottom:var(--space-2)}.card p{margin:6px 0 0}.card summary{cursor:pointer;font-size:var(--text-sm)}dl{display:grid;grid-template-columns:auto 1fr;gap:var(--space-1) 10px;margin:0}dt{color:var(--ink-muted)}dd{margin:0;min-width:0}.sent-list{display:grid;gap:10px}.timeline{list-style:none;margin:var(--space-2) 0 0;padding:0;display:grid;gap:6px}.timeline li{padding-left:14px;position:relative}.timeline li:before{content:"";position:absolute;left:0;top:7px;width:6px;height:6px;border-radius:50%;background:var(--line)}.timeline li.ev-sent:before{background:var(--ink)}.timeline li.ev-reply:before{background:var(--lime)}.timeline li.ev-bounce:before{background:var(--red)}.quote{margin:var(--space-1) 0 0;padding:6px var(--space-2);background:var(--surface-soft);border-radius:var(--radius-xs)}@media (max-width: 1100px){.editor-grid{grid-template-columns:1fr}}@media (max-width: 760px){.proposal-actions .btn{flex-shrink:0}.workspace{grid-template-columns:1fr}.queue{max-height:none;position:static;border-right:none}.drafts.has-selection .queue{display:none}.drafts:not(.has-selection) .main{display:none}.back{display:inline-flex;margin-bottom:var(--space-2)}.drafts .main{padding:var(--space-3) var(--space-4) 40px}.story{background:var(--surface)}.story-top{padding:10px var(--space-3) 6px;gap:var(--space-2)}.story-stage{padding:0;align-items:stretch}.story-stage>.nav-btn{display:none}.story-card{width:100%;border-radius:0;padding:6px 20px var(--space-4);gap:20px;animation-name:card-in-phone}.story-foot{width:100%;padding:var(--space-2) var(--space-4) 22px;border-top:var(--stroke-hair) dashed var(--line);background:var(--surface);align-items:stretch;gap:var(--space-2)}.story-tools{display:none}.story-tools-phone{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--space-1)}.hints{display:none}.phone-nav{display:flex!important}.done-card{width:auto;border-radius:0;margin:0;padding:var(--space-6) 20px;background:var(--surface)}.stat-grid{grid-template-columns:minmax(0,1fr);gap:var(--space-2)}.stat{flex-direction:row-reverse;justify-content:space-between;align-items:center;padding:var(--space-3) 18px;border-radius:var(--radius-btn-sm)}.stat .fig{font-size:36px;line-height:36px}.toast{bottom:150px}}@keyframes card-in-phone{0%{opacity:0}to{opacity:1}}.phone-nav{display:none;justify-content:space-between;margin:-4px -6px 0}.phone-nav .nav-btn{width:36px;height:36px;background:transparent}.page-flush{max-width:none;padding:0;gap:0}.page-flush>.banner{margin:var(--space-3) var(--space-4) 0}.sig-grey{color:var(--ink)}.story .toast{top:64px;bottom:auto;animation-name:toast-in-top}@keyframes toast-in-top{0%{opacity:0;transform:translate(-50%,-8px)}to{opacity:1;transform:translate(-50%)}}.panel-xl .btn-secondary,.story .btn-secondary{background:var(--surface)}.panel-xl .btn-secondary:hover:not(:disabled),.story .btn-secondary:hover:not(:disabled){background:var(--surface-hover)}@media (max-width: 760px){.story .toast{top:56px;bottom:auto}.story .story-foot .btn-secondary{background:var(--surface-soft)}}.progress-dense{gap:1px}.progress-dense>span{border-radius:0;min-width:1px}.progress-dense>span:first-child{border-radius:2px 0 0 2px}.progress-dense>span:last-child{border-radius:0 2px 2px 0}@media (max-width: 760px){.progress{gap:2px}.progress-dense{gap:0}.mail-head{flex-direction:column;align-items:flex-start!important;gap:2px}}.qt{display:flex;flex-direction:column;gap:var(--space-3)}.qt-scroll{overflow-x:auto;overflow-y:hidden;padding:0 0 var(--space-2);scroll-behavior:smooth;border-radius:var(--radius-md);background:var(--surface)}.qt-scroll:focus-visible{outline:var(--stroke-focus) solid var(--accent);outline-offset:2px}.qt-track{position:relative;height:84px;min-width:100%}.qt-rail,.qt-fill{position:absolute;left:0;top:46px;height:6px;border-radius:3px}.qt-rail{right:0;background:var(--line)}.qt-fill{background:var(--ink);transition:width var(--dur-screen) var(--ease-out)}.qt-tick{position:absolute;top:8px;bottom:0;border-left:var(--stroke-hair) dashed var(--line)}.qt-tick>span{position:absolute;top:0;left:4px;font-size:11px;color:var(--ink-muted);white-space:nowrap}.qt-now{position:absolute;top:26px;bottom:6px;border-left:var(--stroke-focus) solid var(--accent)}.qt-now>span{position:absolute;top:-2px;left:6px;font-size:11px;color:var(--accent);white-space:nowrap}.qt-dot{position:absolute;top:49px;width:14px;height:14px;margin:-7px 0 0 -7px;border-radius:999px;border:var(--stroke-focus) solid var(--ink);background:var(--surface);transition:background-color var(--dur-card),border-color var(--dur-card),transform var(--dur-card)}.qt-sent{background:var(--ink)}.qt-failed{border-color:var(--red);background:var(--red)}.qt-pending{border-color:var(--grey)}.qt-next{border-color:var(--accent);transform:scale(1.25)}.qt-toggle{align-self:flex-start;display:inline-flex;align-items:center;gap:var(--space-2);background:none;border:0;padding:var(--space-1) 0;color:var(--ink);font:inherit;font-size:var(--text-sm);cursor:pointer}.qt-toggle:hover{color:var(--accent)}.qt-toggle:focus-visible{outline:var(--stroke-focus) solid var(--accent);outline-offset:2px;border-radius:var(--radius-xs)}.qt-chevron{display:inline-flex;transition:transform var(--dur-card) var(--ease-out)}.qt-chevron-up{transform:rotate(180deg)}.qt-list{display:flex;flex-direction:column}@media (max-width: 760px){.qt-list .chip{display:none}}.select{position:relative;min-width:0}.select-btn{width:100%;display:flex;align-items:center;gap:var(--space-2);height:36px;padding:0 var(--space-2) 0 var(--space-3);border:0;border-radius:var(--radius-sm);background:var(--surface-soft);color:var(--ink);font:inherit;font-size:var(--text-sm);cursor:pointer;text-align:left;transition:background-color var(--dur-state)}.select-btn:hover{background:var(--surface-hover)}.select-btn:focus-visible{outline:var(--stroke-focus) solid var(--accent);outline-offset:2px}.select-btn .ellipsis{flex:1}.select-count{font-family:var(--font-mono);font-weight:400;font-size:var(--text-caption);color:var(--ink-muted)}.select-chevron{display:inline-flex;color:var(--ink-muted);transition:transform var(--dur-card) var(--ease-out)}.select-chevron.is-open{transform:rotate(180deg)}.select-pop{position:absolute;z-index:45;top:calc(100% + 6px);left:0;min-width:100%;max-height:320px;overflow-y:auto;margin:0;padding:var(--space-1);list-style:none;background:var(--surface);border-radius:var(--radius-md);box-shadow:var(--shadow-pop);animation:pop-in var(--dur-state) var(--ease-out)}.select-pop:focus{outline:none}.select-opt{display:flex;align-items:center;gap:var(--space-2);height:36px;padding:0 var(--space-2) 0 var(--space-3);border-radius:var(--radius-sm);font-size:var(--text-sm);cursor:pointer;white-space:nowrap}.select-opt .ellipsis{flex:1}.select-opt.is-active{background:var(--surface-soft)}.select-opt.is-selected{color:var(--accent)}.select-check{width:16px;text-align:center;color:var(--accent)}@keyframes pop-in{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}.queue-filters{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:var(--space-2);padding:var(--space-3);border-bottom:var(--stroke-hair) dashed var(--line)}.seg{display:inline-flex;flex-wrap:wrap;gap:2px;padding:3px;border-radius:var(--radius-md);background:var(--surface-soft);align-self:flex-start;max-width:100%}.seg-opt{display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 var(--space-3);border:0;border-radius:11px;background:transparent;color:var(--ink-muted);font:inherit;font-size:var(--text-sm);cursor:pointer;transition:background-color var(--dur-state),color var(--dur-state)}.seg-opt:hover{color:var(--ink)}.seg-opt.is-on{background:var(--surface);color:var(--ink)}.seg-opt:focus-visible{outline:var(--stroke-focus) solid var(--accent);outline-offset:2px}.seg-count{font-family:var(--font-mono);font-weight:400;font-size:var(--text-caption);color:var(--ink-muted)}.proposals{display:flex;flex-direction:column;gap:12px}.proposal{display:flex;align-items:center;gap:16px;padding:8px 0;flex-wrap:wrap}.proposal-text{flex:1;min-width:220px;display:flex;flex-direction:column;gap:4px}.proposal-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;line-height:18px}.proposal-meta .sig{font-size:inherit;line-height:18px}.nowrap{white-space:nowrap}.proposal-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.proposal-actions .select-btn{min-width:200px}.proposal-done{display:flex;flex-direction:column;align-items:flex-end;gap:2px}@media (max-width: 640px){.proposal-actions{width:100%}.proposal-actions .select{flex:1;min-width:0}.proposal-actions .select-btn{min-width:0;width:100%}.proposals>.row{flex-wrap:wrap;gap:4px}.proposal-done{align-items:flex-start}}.settings{display:flex;flex-direction:column;gap:var(--space-2);max-width:880px}.settings>.dash{margin-top:var(--space-2)}.settings-row{display:flex;align-items:center;justify-content:space-between;gap:var(--space-2) var(--space-6);padding:12px 0;flex-wrap:wrap}.settings-label{display:flex;flex-direction:column;gap:2px;min-width:200px}.settings-value{text-align:right}@media (max-width: 640px){.settings-value{text-align:left}}.wf-steps{display:flex;flex-direction:column}.wf-step{background:var(--surface-soft);border-radius:var(--radius-lg);padding:18px 22px;display:flex;flex-direction:column;gap:10px}.wf-head{display:flex;align-items:center;gap:14px;flex-wrap:wrap;width:100%;padding:0;border:0;background:none;font:inherit;color:inherit;text-align:left;cursor:pointer}.wf-head:focus-visible{outline:var(--stroke-focus) solid var(--accent);outline-offset:4px;border-radius:8px}.wf-n{font-size:28px;line-height:28px;width:28px}.wf-name{flex:1;min-width:160px;font-size:17px;letter-spacing:-.02em}.wf-body{margin-left:42px}.wf-svcs{display:flex;gap:6px;flex-wrap:wrap}.wf-svc{display:inline-flex;align-items:center;height:22px;padding:0 9px;border-radius:8px;background:var(--surface);font-size:12px}.wf-link{width:2px;height:18px;margin-left:44px;background-image:linear-gradient(var(--line) 50%,transparent 50%);background-size:2px 6px}@media (max-width: 640px){.wf-body{margin-left:0}}.wf-top{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:var(--space-4)}.wf-note{max-width:720px;line-height:20px;margin:0}.wf-layout{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:28px;align-items:start;padding-bottom:72px}@media (max-width: 1080px){.wf-layout{grid-template-columns:minmax(0,1fr)}}.wf-step.is-off{opacity:.6}.wf-detail{display:flex;flex-direction:column;gap:var(--space-4);padding-top:var(--space-3);border-top:var(--stroke-hair) dashed var(--line)}.wf-kv{display:grid;grid-template-columns:90px minmax(0,1fr);gap:6px 16px;margin:0;font-size:var(--text-sm)}.wf-kv dt{color:var(--ink-muted)}.wf-kv dd{margin:0}.wf-switch{display:inline-flex;align-items:center;gap:var(--space-2)}.switch{position:relative;width:38px;height:22px;border:0;border-radius:999px;background:var(--line);cursor:pointer;padding:0;transition:background-color var(--dur-state)}.switch i{position:absolute;top:3px;left:3px;width:16px;height:16px;border-radius:50%;background:var(--surface);transition:transform var(--dur-state)}.switch.is-on{background:var(--ink)}.switch.is-on i{transform:translate(16px)}.switch:disabled{opacity:.5;cursor:default}.switch:focus-visible{outline:var(--stroke-focus) solid var(--accent);outline-offset:2px}.wf-agent{display:flex;flex-direction:column;gap:var(--space-2);background:var(--surface);border-radius:var(--radius-md);padding:var(--space-3)}.wf-agent-head{display:flex;align-items:center;justify-content:space-between;gap:var(--space-2);flex-wrap:wrap}.wf-agent-ctrl{display:flex;align-items:center;gap:var(--space-2);flex-wrap:wrap}.wf-agent-ctrl .select-btn{min-width:130px}.wf-prompt{width:100%;box-sizing:border-box;resize:vertical;border:0;border-radius:var(--radius-sm);background:var(--surface-soft);padding:10px 12px;font:inherit;font-size:var(--text-sm);line-height:20px;color:var(--ink)}.wf-agent .wf-prompt{background:var(--surface-soft)}.wf-settings,.wf-group{display:flex;flex-direction:column;gap:var(--space-4)}.wf-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:var(--space-4)}.wf-field{display:flex;flex-direction:column;gap:4px;font-size:var(--text-sm)}.wf-field-wide{grid-column:1 / -1}.wf-num{height:36px;width:120px;box-sizing:border-box;border:0;border-radius:var(--radius-sm);background:var(--surface-soft);padding:0 12px;font:inherit;font-family:Geist Mono,ui-monospace,monospace}.wf-version{display:flex;align-items:center;gap:var(--space-4);padding:12px 0;flex-wrap:wrap}.wf-savebar{position:fixed;left:50%;bottom:20px;transform:translate(-50%);z-index:35;display:flex;align-items:center;gap:var(--space-4);padding:8px 8px 8px 18px;border-radius:var(--radius-md);background:var(--ink);color:var(--surface);box-shadow:var(--shadow-pop);font-size:var(--text-sm);max-width:calc(100vw - 32px);flex-wrap:wrap}.wf-savebar .btn-ghost{color:var(--surface)}.wf-savebar .btn-ghost:hover:not(:disabled){background:#8080804d;color:var(--surface)}.wf-savebar .btn-primary{background:var(--surface);color:var(--ink)}.wf-chat{position:sticky;top:calc(var(--hdr-h) + 16px);border:var(--stroke-hair) solid var(--line);border-radius:var(--radius-lg);display:flex;flex-direction:column;height:min(680px,calc(100vh - var(--hdr-h) - 32px));overflow:hidden}.wf-chat-head{display:flex;justify-content:space-between;align-items:baseline;gap:8px;padding:16px 18px;border-bottom:var(--stroke-hair) dashed var(--line)}.wf-msgs{flex:1;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:14px}.wf-hint{line-height:18px}.wf-me{align-self:flex-end;background:var(--ink);color:var(--surface);border-radius:16px 16px 4px;padding:10px 14px;font-size:var(--text-sm);max-width:85%;white-space:pre-wrap}.wf-ai{font-size:var(--text-sm);line-height:20px;display:flex;flex-direction:column;gap:8px}.wf-diff{background:var(--surface-soft);border-radius:var(--radius-md);padding:12px 14px;display:flex;flex-direction:column;gap:10px;font-size:13px}.wf-del{color:var(--red-ink);text-decoration:line-through}.wf-add{color:var(--lime-ink);cursor:pointer}.wf-pre{white-space:pre-wrap;font:inherit;font-size:12px;line-height:18px;margin:6px 0 0;color:var(--ink)}.wf-diff-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.wf-problems{display:flex;flex-direction:column;gap:4px}.wf-composer{border-top:var(--stroke-hair) dashed var(--line);padding:12px;display:flex;gap:8px;align-items:flex-end}.wf-composer textarea{flex:1;resize:none;border:0;background:var(--surface-soft);border-radius:var(--radius-sm);padding:9px 12px;font:inherit;font-size:var(--text-sm)}@media (max-width: 1080px){.wf-chat{position:static;height:560px}}.wf-runs{display:flex;flex-direction:column;gap:var(--space-4)}.wf-runlist{display:flex;gap:8px;overflow-x:auto;padding-bottom:4px}.wf-run{display:flex;flex-direction:column;align-items:flex-start;gap:4px;padding:10px 14px;border:0;border-radius:var(--radius-md);background:var(--surface-soft);font:inherit;color:var(--ink);cursor:pointer;white-space:nowrap}.wf-run:hover{background:var(--surface-hover)}.wf-run.is-on{background:var(--ink);color:var(--surface)}.wf-run.is-on .caption,.wf-run.is-on .sig{color:var(--surface)}.wf-run:focus-visible{outline:var(--stroke-focus) solid var(--accent);outline-offset:2px}.wf-summary{margin:0;white-space:pre-wrap;line-height:20px;font-size:var(--text-sm)}.wf-run-steps{display:flex;flex-direction:column}.wf-run-step{display:grid;grid-template-columns:200px 150px minmax(0,1fr);gap:12px;align-items:center;padding:8px 0;border-top:var(--stroke-hair) dashed var(--line)}.wf-run-step:first-child{border-top:0}.wf-run-name{font-size:var(--text-sm)}@media (max-width: 640px){.wf-run-step{grid-template-columns:1fr auto}.wf-run-step .caption{grid-column:1 / -1}}.wf-log{display:flex;flex-direction:column;max-height:480px;overflow-y:auto}.wf-log-row{display:grid;grid-template-columns:70px 150px minmax(0,1fr);gap:12px;padding:6px 0;border-top:var(--stroke-hair) dashed var(--line);align-items:baseline}.wf-log-row.is-write .small{color:var(--ink)}.wf-log-row.is-warn .small{color:var(--orange-ink)}.wf-log-row.is-error .small{color:var(--red-ink)}.wf-log-row.is-info .small{color:var(--ink-muted)}.wf-log-step{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}@media (max-width: 640px){.wf-log-row{grid-template-columns:60px minmax(0,1fr)}.wf-log-step{display:none}}.wf-sources{display:flex;flex-direction:column;gap:6px;max-width:520px}.wf-source{display:flex;align-items:center;gap:10px;padding:6px 8px;border-radius:var(--radius-sm);background:var(--surface-soft)}.wf-source.is-off{opacity:.6}.wf-source .icon-btn{width:30px;height:30px}.wf-source .icon-btn:disabled{opacity:.3;cursor:default}:root{--hdr-h: 69px}@media (max-width: 1179px){:root{--hdr-h: 109px}}@media (max-width: 599px){:root{--hdr-h: 107px}}@media (max-width: 1279px){.hdr .logo-sep,.hdr .logo .caption{display:none}.hdr{column-gap:var(--space-4)}}@media (max-width: 1179px){.hdr{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"logo right" "nav nav";row-gap:10px;padding-top:12px;padding-bottom:10px}.hdr-nav{justify-self:start}.hdr-link{white-space:nowrap}}@media (max-width: 599px){.hdr-nav{justify-self:stretch;width:100%;box-sizing:border-box;display:flex}.hdr-link{flex:1;justify-content:center;padding:0 var(--space-2)}.hdr-status span{display:none}.hdr-right{gap:var(--space-2)}.hdr-link{font-size:var(--text-sm);height:32px}}@media (max-width: 379px){.hdr .logo .vf{font-size:17px;padding:4px 8px}.hdr-status{display:none}.hdr-cta{padding:0 10px}.account-btn .select-chevron{display:none}.hdr .icon-btn{width:32px;height:32px}.hdr-badge{min-width:18px;height:18px;font-size:10px;padding:0 5px}}
