.proposal-payload{margin:10px 0 0;padding:12px;border-radius:10px;background:#00000038;border:1px solid rgba(255,255,255,.08);direction:ltr;text-align:left;white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.5}.proposal-actions{display:flex;gap:10px;align-items:center;margin-top:14px}.status-stale{border-color:#ffb44673}.source-warning{margin:10px 0;padding:10px 12px;border:1px solid rgba(255,180,70,.42);border-radius:10px;background:#ffb44614;font-weight:700}.source-warning-inline{display:inline-block;margin-top:5px;font-size:11px;font-weight:700;opacity:.9}.shai-chat-launcher{position:fixed;right:24px;bottom:24px;z-index:40;border:0;border-radius:999px;padding:14px 20px;font-weight:800;background:#111827;color:#fff;box-shadow:0 12px 34px #11182747;cursor:pointer}.shai-chat-panel{position:fixed;right:24px;bottom:84px;z-index:50;width:min(460px,calc(100vw - 32px));height:min(720px,calc(100vh - 120px));display:flex;flex-direction:column;background:#fff;border:1px solid #d9dde5;border-radius:20px;box-shadow:0 24px 70px #1118273d;overflow:hidden}.shai-chat-header{display:flex;align-items:center;justify-content:space-between;padding:16px 18px;border-bottom:1px solid #eceff3}.shai-chat-header>div{display:grid;gap:2px}.shai-chat-header strong{font-size:20px}.shai-chat-header small{color:#667085}.shai-chat-header>button{border:0;background:transparent;font-size:28px;line-height:1;cursor:pointer}.shai-chat-messages{flex:1;overflow:auto;padding:16px;display:flex;flex-direction:column;gap:12px;background:#f8fafc}.shai-chat-message{max-width:88%;border-radius:16px;padding:10px 12px}.shai-chat-message span{display:block;font-size:11px;font-weight:800;letter-spacing:.04em;opacity:.6;margin-bottom:4px}.shai-chat-message p{margin:0;white-space:pre-wrap;line-height:1.45}.shai-chat-message.assistant{align-self:flex-start;background:#fff;border:1px solid #e5e7eb}.shai-chat-message.user{align-self:flex-end;background:#111827;color:#fff}.shai-chat-thinking{font-size:13px;color:#667085}.shai-voice-bar{margin:10px 16px 0;padding:12px;border:1px solid #d9dde5;border-radius:14px;background:#fff;display:grid;gap:10px}.shai-voice-bar.active{background:#f7fbff;border-color:#bfd5f6}.shai-voice-bar.listening{background:#fff8f7;border-color:#f5b7b1;box-shadow:inset 0 0 0 1px #d92d200a}.shai-voice-primary{border:0;border-radius:12px;background:#111827;color:#fff;padding:11px 14px;font-weight:800;cursor:pointer}.shai-voice-primary:disabled{opacity:.5;cursor:not-allowed}.shai-voice-bar small{color:#667085;font-size:11px}.shai-voice-status{display:flex;align-items:center;gap:8px;min-height:24px}.shai-voice-status strong{font-size:14px}.shai-recording-time{margin-inline-start:auto;font-variant-numeric:tabular-nums;font-size:15px;color:#b42318;background:#fee4e2;padding:3px 8px;border-radius:999px}.voice-dot{width:10px;height:10px;border-radius:50%;background:#98a2b3;flex:0 0 auto}.voice-dot.listening{background:#d92d20;box-shadow:0 0 0 5px #d92d201f;animation:voicePulse 1.15s infinite}.voice-dot.transcribing{background:#f79009}.voice-dot.speaking{background:#1570ef;box-shadow:0 0 0 5px #1570ef1a}.voice-dot.idle{background:#12b76a}.shai-level-wrap{display:grid;gap:7px;padding:10px;border-radius:12px;background:#fff;border:1px solid #f2d0cc}.shai-level-meter{height:38px;display:flex;align-items:center;gap:4px}.shai-level-meter i{display:block;width:100%;height:8px;border-radius:999px;background:#eaecf0;transition:height .08s ease,background .08s ease}.shai-level-meter i:nth-child(2n){height:12px}.shai-level-meter i:nth-child(3n){height:18px}.shai-level-meter i.active{background:#d92d20;height:30px}.shai-level-meter i.active:nth-child(2n){height:22px}.shai-level-meter i.active:nth-child(3n){height:36px}.shai-transcribing-box{display:flex;align-items:center;gap:8px;padding:10px 12px;border-radius:10px;background:#fffaeb;color:#7a2e0e;font-size:12px}.shai-spinner{width:14px;height:14px;border:2px solid #fedf89;border-top-color:#f79009;border-radius:50%;animation:voiceSpin .7s linear infinite}.shai-heard{display:grid;gap:3px;padding:10px 12px;border-radius:10px;background:#ecfdf3;border:1px solid #abefc6}.shai-heard span{font-size:10px;font-weight:800;color:#067647;text-transform:uppercase;letter-spacing:.04em}.shai-heard strong{font-size:13px;line-height:1.35}.shai-voice-actions{display:flex;gap:8px;flex-wrap:wrap}.shai-voice-actions button{border:1px solid #cfd4dc;background:#fff;border-radius:10px;padding:8px 10px;font-weight:700;cursor:pointer}.shai-voice-actions button:disabled{opacity:.5;cursor:not-allowed}.shai-voice-actions .shai-stop-recording{background:#d92d20;border-color:#d92d20;color:#fff;padding-inline:14px}.shai-auto-listen{display:flex;align-items:center;gap:7px;font-size:12px;color:#475467}.shai-voice-unavailable{margin:10px 16px 0;padding:10px 12px;border-radius:12px;background:#fff4ed;color:#9c2a10;font-size:12px}.shai-action-card{margin:12px 16px 0;padding:14px;border:1px solid #c7d7fe;background:#eef4ff;border-radius:14px;display:grid;gap:7px}.shai-action-card>span{font-size:11px;font-weight:800;letter-spacing:.05em;color:#3157a4}.shai-action-card>p{margin:0;color:#475467;font-size:13px}.shai-action-card>div{display:flex;gap:8px;margin-top:4px}.shai-action-details{margin:2px 0;padding:10px 24px 10px 10px;background:#fff;border:1px solid #d7e2fa;border-radius:10px;display:grid;gap:4px;font-size:13px;line-height:1.35}.shai-chat-form{padding:14px 16px;display:grid;grid-template-columns:1fr auto;gap:8px;border-top:1px solid #eceff3}.shai-chat-form textarea{resize:none;border:1px solid #cfd4dc;border-radius:12px;padding:10px 12px;font:inherit;min-width:0}.shai-chat-panel>footer{padding:0 16px 12px;color:#667085;font-size:11px}@keyframes voicePulse{0%,to{transform:scale(1)}50%{transform:scale(1.18)}}@keyframes voiceSpin{to{transform:rotate(360deg)}}@media(max-width:640px){.shai-chat-launcher{right:16px;bottom:16px}.shai-chat-panel{right:8px;bottom:72px;width:calc(100vw - 16px);height:calc(100vh - 88px);border-radius:16px}}:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#e8ecf4;background:#0e1420;--bg:#0e1420;--bg-alt:#0a0f19;--panel:#161d2c;--panel-hi:#1c2438;--border:#26314a;--border-hi:#394764;--text:#e8ecf4;--dim:#98a2b5;--faint:#69748a;--amber:#d9a441;--cyan:#6fb8c7;--green:#63b982;--red:#d27474}*{box-sizing:border-box}html,body,#root{min-height:100%;margin:0}body{min-width:320px;min-height:100vh;background:var(--bg)}button,input,select,textarea{font:inherit}button,select{cursor:pointer}code{color:var(--cyan)}.shell{min-height:100vh;padding-bottom:82px}.center-screen{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at top,#172033,var(--bg) 52%)}.loading{color:var(--dim);font-size:14px}.auth-card{width:min(520px,100%);padding:28px;border:1px solid var(--border);border-radius:16px;background:var(--panel);box-shadow:0 20px 60px #00000047}.auth-card h1{margin:20px 0 8px}.auth-card p{color:var(--dim);line-height:1.7}.topbar{display:grid;grid-template-columns:minmax(220px,1fr) auto auto;align-items:center;gap:22px;padding:20px 28px 18px;border-bottom:1px solid var(--border);background:linear-gradient(180deg,var(--bg-alt),var(--bg))}.brand-row{display:flex;align-items:baseline;gap:14px;direction:ltr}.brand{font-family:IBM Plex Mono,SFMono-Regular,Consolas,monospace;color:var(--amber);font-weight:800;letter-spacing:.12em;font-size:22px}.kernel{color:var(--faint);font:600 11px/1.2 IBM Plex Mono,SFMono-Regular,Consolas,monospace;letter-spacing:.08em}.subtitle{margin:7px 0 0;color:var(--dim);font-size:12px}.top-actions{display:flex;gap:8px;align-items:center}.top-actions select{max-width:180px}.status-grid{display:flex;gap:9px}.status-card{min-width:104px;padding:9px 11px;border:1px solid var(--border);background:#161d2cb3;border-radius:10px;text-align:center}.status-card strong{display:block;font:700 16px/1.2 IBM Plex Mono,SFMono-Regular,Consolas,monospace}.status-card span{display:block;margin-top:4px;color:var(--faint);font-size:9px}.tabs{display:flex;overflow-x:auto;padding:0 22px;background:var(--bg-alt);border-bottom:1px solid var(--border)}.tab{border:0;border-bottom:2px solid transparent;color:var(--dim);background:transparent;padding:13px 17px;white-space:nowrap}.tab:hover{color:var(--text)}.tab.active{color:var(--amber);border-bottom-color:var(--amber)}.content{max-width:1120px;margin:0 auto;padding:30px 28px}.hero-card{padding:28px;border:1px solid var(--border);border-radius:14px;background:linear-gradient(135deg,var(--panel),#111827)}.eyebrow{color:var(--amber);font:700 11px/1.2 IBM Plex Mono,SFMono-Regular,Consolas,monospace;letter-spacing:.12em;direction:ltr;text-align:right}h1{margin:10px 0 8px;font-size:clamp(30px,5vw,50px);line-height:1.06;letter-spacing:-.035em}h2,h3{margin:0}.hero-card p{max-width:760px;margin:0;color:var(--dim);line-height:1.7}.dashboard-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:14px}.section-card{margin-bottom:16px;padding:20px;border:1px solid var(--border);border-radius:13px;background:var(--panel)}.dashboard-grid .section-card{margin-bottom:0;min-height:220px}.section-heading{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding-bottom:16px;border-bottom:1px solid var(--border)}.section-heading h2{font-size:18px}.section-heading p{margin:6px 0 0;color:var(--dim);font-size:12px;line-height:1.6;max-width:720px}.count-badge,.state-pill{flex:0 0 auto;padding:5px 9px;border:1px solid var(--border-hi);border-radius:999px;color:var(--dim);background:var(--bg-alt);font:700 10px/1 IBM Plex Mono,SFMono-Regular,Consolas,monospace}.compact-list{padding-top:8px}.compact-item{display:flex;justify-content:space-between;gap:12px;padding:11px 0;border-bottom:1px solid var(--border)}.compact-item:last-child{border-bottom:0}.compact-item strong{font-size:13px}.compact-item span{color:var(--faint);font-size:11px;text-align:left}.create-panel{margin:16px 0;padding:0;border:1px solid var(--border);border-radius:10px;background:var(--bg-alt)}.create-panel>summary,.inline-action>summary{padding:12px 14px;color:var(--amber);font-weight:700;font-size:12px;cursor:pointer}.create-panel[open]>summary{border-bottom:1px solid var(--border)}.stack-form{display:grid;gap:12px;padding:14px}.stack-form label{display:grid;gap:6px;color:var(--dim);font-size:11px;font-weight:700}.form-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}input,select,textarea{width:100%;border:1px solid var(--border-hi);border-radius:8px;color:var(--text);background:#0d1421;padding:9px 10px;outline:none}textarea{min-height:78px;resize:vertical}input:focus,select:focus,textarea:focus{border-color:var(--amber)}.compact-form{padding:10px 0 0}.primary-button,.secondary-button{border-radius:8px;padding:9px 13px;font-weight:800}.primary-button{border:1px solid #e0ae50;background:var(--amber);color:#111620}.secondary-button{border:1px solid var(--border-hi);background:var(--panel-hi);color:var(--text)}.text-button,.danger-text-button{border:0;background:transparent;padding:8px 0}.text-button{color:var(--cyan)}.danger-text-button{color:var(--red)}.card-list{display:grid;gap:10px}.entity-card{padding:16px;border:1px solid var(--border);border-right:3px solid var(--border-hi);border-radius:10px;background:#121a29}.entity-card.status-active,.entity-card.status-open,.entity-card.status-incubating{border-right-color:var(--amber)}.entity-card.status-waiting,.entity-card.status-paused{border-right-color:var(--cyan)}.entity-card.status-done,.entity-card.status-closed,.entity-card.status-reviewed,.entity-card.status-promoted{border-right-color:var(--green)}.entity-card.status-killed{opacity:.68;border-right-color:var(--red)}.entity-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.entity-head h3{margin-top:5px;font-size:16px}.entity-head select{width:auto;min-width:110px;padding:6px 8px}.entity-type{color:var(--faint);font:700 9px/1 IBM Plex Mono,SFMono-Regular,Consolas,monospace;letter-spacing:.08em;direction:ltr}.facts{margin-top:12px;color:var(--dim);font-size:12px;line-height:1.55}.facts p{margin:6px 0}.facts b{color:#c9d0df}.inline-action{margin-top:12px;border-top:1px solid var(--border)}.inline-action>summary{padding-inline:0}.inline-form{display:flex;gap:8px;padding-top:4px}.inline-form input{flex:1}.activity-list{padding-top:8px}.activity-row{display:flex;justify-content:space-between;gap:16px;padding:12px 0;border-bottom:1px solid var(--border)}.activity-row strong{display:block;font-size:12px}.activity-row span{display:block;margin-top:4px;color:var(--faint);font-size:10px}.activity-row time{color:var(--dim);font-size:10px;white-space:nowrap}.empty-state{margin-top:14px;padding:14px;border:1px dashed var(--border);border-radius:9px;color:var(--faint);font-size:12px}.error-banner,.success-banner,.global-error,.mutation-indicator{border-radius:8px;padding:10px 12px;font-size:12px}.error-banner,.global-error{color:#ffd5d5;background:#a6363633;border:1px solid rgba(210,116,116,.45)}.success-banner{color:#ccebd8;background:#36824e2e;border:1px solid rgba(99,185,130,.4)}.global-error{max-width:1120px;margin:12px auto 0}.mutation-indicator{position:fixed;top:12px;left:12px;z-index:40;color:#171c24;background:var(--amber);font-weight:800}.ledger-strip{position:fixed;inset-inline:0;bottom:0;z-index:20;display:flex;align-items:center;gap:14px;min-height:64px;padding:12px 28px;background:var(--bg-alt);border-top:1px solid #8a6b33}.pulse{width:9px;height:9px;flex:0 0 auto;border-radius:50%;background:var(--amber);box-shadow:0 0 0 6px #d9a44114}.ledger-label{display:block;margin-bottom:3px;color:var(--faint);font:600 9px/1 IBM Plex Mono,SFMono-Regular,Consolas,monospace;letter-spacing:.12em;direction:ltr;text-align:right}.ledger-strip strong{font-size:13px}@media(max-width:900px){.topbar{grid-template-columns:1fr;align-items:start}.top-actions{width:100%}.top-actions select{max-width:none}.status-grid{width:100%;overflow-x:auto}.status-card{flex:1 0 96px}}@media(max-width:760px){.content{padding:22px 14px}.dashboard-grid,.form-row{grid-template-columns:1fr}.entity-head{flex-direction:column}.entity-head select{width:100%}.inline-form{flex-direction:column}.activity-row{flex-direction:column;gap:5px}.ledger-strip{padding-inline:14px}}
