@charset "UTF-8";
:root{color-scheme:dark;--bg:#10151e;--panel:#171e29;--panel2:#1b2430;--line:#2b3441;--text:#e6e9ed;--muted:#929dab;--accent:#a8d6c6;--amber:#d4b987;--sans:"Yu Gothic UI","Hiragino Kaku Gothic ProN",Meiryo,sans-serif;--mono:Consolas,monospace}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:var(--sans);font-size:14px;line-height:1.75}button,input{font:inherit}button{color:inherit;cursor:pointer}button:disabled{opacity:.38;cursor:not-allowed}button{transition:background .15s,border-color .15s,transform .15s}button:hover:not(:disabled){filter:brightness(1.1)}button:focus-visible,input:focus-visible,[tabindex]:focus-visible{outline:2px solid var(--accent);outline-offset:4px}svg{width:20px;height:20px;flex-shrink:0;vertical-align:middle}h1,h2,h3,p{margin:0}h1,h2,h3{line-height:1.6}small{font-size:11px}strong{font-weight:600}.muted{color:var(--muted)}.tiny{font-size:11px}.eyebrow{font:10px var(--mono);letter-spacing:2px;color:var(--accent);margin-bottom:13px}.boot{padding:50px}.topbar{height:83px;padding:0 34px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:#121923}.brand{display:flex;align-items:center;gap:13px;text-align:left;background:none;border:0;padding:0;font-weight:700;letter-spacing:.07em;font-size:16px}.brand-mark{width:37px;height:40px;border:1px solid #425751;display:grid;place-items:center;color:var(--accent);border-radius:7px}.brand small{display:block;font:8px var(--mono);letter-spacing:2.4px;color:var(--muted);margin-top:3px}.top-right{display:flex;gap:25px;align-items:center}.prototype{font:10px var(--mono);letter-spacing:1px;color:var(--muted)}.prototype i,.chat-heading i{display:inline-block;width:5px;height:5px;background:var(--accent);border-radius:50%;margin-right:7px}.icon-button{background:none;border:1px solid var(--line);border-radius:6px;padding:8px}.primary,.secondary{display:inline-flex;justify-content:center;align-items:center;gap:16px;border-radius:5px;padding:11px 19px;font-weight:600;font-size:13px;min-height:43px}.primary{border:1px solid var(--accent);background:var(--accent);color:#142c28}.secondary{border:1px solid #3b4655;background:#1c2633;color:var(--text)}.text-button{background:none;border:0;color:var(--muted);font-size:11px;padding:8px}.danger{color:#e8aaa5}.warning{font-size:12px;color:#e2b28c;border-left:2px solid #d1a064;padding:8px 12px;margin:12px 0;background:#d1a0640c}.title-page{min-height:calc(100svh - 142px);max-width:1150px;padding:72px 45px 90px;margin:auto;display:grid;grid-template-columns:1.05fr 1fr;align-items:center;gap:80px}.title-copy>.eyebrow{margin-bottom:27px}.title-pre{color:#b4bec8;font-size:13px;letter-spacing:.05em;margin-bottom:15px}.title-copy h1{font-size:clamp(42px,4.7vw,68px);line-height:1.55;letter-spacing:.06em;font-weight:650}.title-copy h1 span{color:var(--accent)}.title-desc{font-size:13px;color:#a6b1be;line-height:2.25;margin:25px 0 33px}.title-actions{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:17px}.title-actions .primary{min-width:175px}.title-case{position:relative;padding:25px 8px 90px;transform:rotate(2deg)}.case-paper{background:#d4d2c9;color:#303b3e;padding:32px 35px 26px;border:1px solid #e1ded4;box-shadow:14px 18px 0 #0a0f16,0 30px 80px #0004;position:relative}.case-paper:before{content:"";width:95px;height:25px;position:absolute;background:#9dc0ac80;top:-13px;left:calc(50% - 47px);transform:rotate(-6deg)}.paper-label{font:10px var(--mono);letter-spacing:1px}.paper-symbol{color:#83978e;margin:32px 0 15px}.paper-symbol svg{width:48px;height:48px;stroke-width:1}.case-paper h2{font-size:31px;line-height:1.6;letter-spacing:.06em}.case-paper>p{font-size:13px;line-height:2.1;margin:23px 0}.paper-line{border-top:1px solid #aeb5ad;margin:28px 0 16px}.paper-bottom{display:flex;justify-content:space-between;font-size:10px;gap:10px}.paper-bottom strong{display:block;color:#735e40}.sticky-note{position:absolute;bottom:42px;right:-25px;background:#d4bd8b;color:#4f493c;padding:18px 25px;font-size:12px;transform:rotate(-9deg);box-shadow:4px 6px 16px #0005;line-height:1.9}.desk-caption{position:absolute;left:9px;bottom:7px;font:8px var(--mono);letter-spacing:1.4px;color:#687686;transform:rotate(-2deg)}.title-footer{border-top:1px solid var(--line);height:59px;display:flex;align-items:center;justify-content:space-between;padding:0 35px;font:10px var(--mono);color:#a5b0bc;letter-spacing:1px}.casebar{min-height:70px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:15px 32px;gap:15px;background:#141c26}.casebar>div{display:flex;align-items:center;gap:14px}.case-index{font:10px var(--mono);color:var(--accent);letter-spacing:1.5px;border-right:1px solid #39424c;padding-right:15px}.loop-label{font-size:10px;border:1px solid var(--line);border-radius:20px;padding:1px 9px;color:var(--muted)}.time-status>svg{width:17px;color:var(--muted)}.time-status>strong{font:24px var(--mono);letter-spacing:1px}.time-status>span{font-size:10px;color:#a6b2c1}.time-track{width:75px;height:3px;background:#34404a}.time-track i{display:block;height:100%;background:var(--amber)}.desktop{display:grid;grid-template-columns:245px minmax(0,1fr) 290px;min-height:calc(100svh - 185px);max-width:1800px;margin:0 auto}.left-rail{padding:25px 20px 18px;border-right:1px solid var(--line);display:flex;flex-direction:column;gap:18px;background:#131a24}.panel{border:1px solid var(--line);border-radius:6px;background:var(--panel);padding:18px}.memo .eyebrow{color:var(--amber);font-size:9px;margin-bottom:14px}.memo h2{font-size:14px;margin-bottom:13px}.memo>p:not(.eyebrow){font-size:12px;color:#b1bdc9;line-height:2}.memo-note{font-size:10px;color:#8594a1;border-top:1px dashed #3a424b;margin-top:20px;padding-top:13px;line-height:1.9}.memo-note svg{width:12px;height:12px;margin-right:4px}.section-label{font-size:12px;margin-bottom:19px;display:flex;align-items:center;justify-content:space-between}.section-label>span{font:8px var(--mono);color:#758391;letter-spacing:1px}.stat{margin-bottom:16px}.stat>div:first-child{display:flex;justify-content:space-between;font-size:11px;color:#b5c1ce}.stat small{font:10px var(--mono);color:var(--muted)}.pips{display:flex;gap:4px;margin-top:8px}.pips i{height:4px;background:#323e4a;flex:1;border-radius:1px}.pips .filled{background:var(--accent)}.stat:nth-child(4) .filled{background:#a99dcd}.knowledge>.tiny{font-size:9px;line-height:1.9}.memories{background:#bba4db09;border-color:#4a405d}.memories .eyebrow{color:#b3a4c8}.memories h3{font-size:11px;margin-bottom:10px}.memories p{font-size:10px;color:#bcb4c9;margin:7px 0}.memories small{display:block;font-size:9px;color:#8e829e;margin-top:12px}.left-bottom{margin-top:auto;display:grid;padding-top:12px}.left-bottom button{text-align:left;font-size:10px;padding:7px 0;color:#7f8c9b}.work-area{min-width:0;display:flex;flex-direction:column}.work-tabs{height:59px;display:flex;gap:20px;border-bottom:1px solid var(--line);padding:0 27px;flex-shrink:0}.work-tabs button{border:0;border-bottom:2px solid transparent;background:none;color:#8292a1;font-size:11px;padding:0 3px;display:flex;align-items:center;gap:7px}.work-tabs button.active{border-color:var(--accent);color:var(--accent)}.work-tabs svg{width:15px;height:15px}.count{background:#2a3740;color:#b6c6cc;border-radius:4px;padding:0 5px;font:10px var(--mono)}.work-content{padding:26px 28px 20px;flex:1;min-width:0}.workspace-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:30px}.workspace-heading .eyebrow{font-size:9px;margin-bottom:10px}.workspace-heading h1{font-size:23px;letter-spacing:.05em}.workspace-heading p:not(.eyebrow){font-size:11px;color:var(--muted);margin-top:6px}.round-icon{color:#6a8c86;border:1px solid #354a46;border-radius:50%;width:40px;height:40px;display:grid;place-items:center;flex-shrink:0}.list-toolbar{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:15px}.list-toolbar h2{font-size:12px;font-weight:500}.list-toolbar h2 span{font:10px var(--mono);margin-left:7px;color:#8999a9}.segmented{display:flex;border:1px solid var(--line);border-radius:4px;padding:2px}.segmented button{background:none;border:0;color:#8593a2;font-size:9px;padding:4px 9px;border-radius:3px}.segmented button.active{background:#2b3942;color:#cfddd9}.action-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.action-card{display:flex;flex-direction:column;text-align:left;min-width:0;min-height:184px;background:linear-gradient(115deg,#1b2532,#18212c);border:1px solid #303c4a;border-radius:6px;padding:17px 17px 0;position:relative;overflow:hidden}.action-card:hover{border-color:#6f958d;transform:translateY(-2px)}.action-card.done{background:#161e28;border-color:#2a3541}.action-card.hint{border-color:#8b7d5e}.action-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:13px}.card-icon{background:#2a3944;color:#9fbdc2;border-radius:5px;padding:5px;display:grid;place-items:center}.card-icon svg{width:17px;height:17px}.action-time{display:flex;align-items:center;gap:4px;font:10px var(--mono);color:#a7b5c3}.action-time svg{width:12px;height:12px}.action-time.too-late{color:#b2907f}.action-card h3{font-size:13px;font-weight:600;margin-bottom:7px}.action-card>p{font-size:10px;color:#97a7b8;line-height:1.9;margin-bottom:15px}.action-bottom{margin-top:auto;display:flex;justify-content:space-between;align-items:center;padding:10px 0;border-top:1px solid #ffffff0a;font-size:9px;color:#8aaba5;gap:5px}.action-bottom>svg{width:14px;height:14px}.done .action-bottom{color:#7e9298}.desk-tip{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:24px 0 12px;border:1px dashed #3d3c3a;background:#b79b6405;padding:14px;border-radius:5px}.desk-tip>span{font-size:10px;color:#a39c8e}.coffee-button{background:none;border:0;display:flex;align-items:center;gap:7px;color:#ceb58b;font-size:11px;flex-wrap:wrap;justify-content:flex-end}.coffee-button>svg{width:17px;height:17px}.coffee-button small{font-size:9px;color:#8a8376}.report-dock{position:sticky;bottom:0;display:flex;justify-content:space-between;align-items:center;gap:10px;background:#16212af5;backdrop-filter:blur(12px);border-top:1px solid #3b4d53;padding:15px 27px;z-index:2}.report-dock>div{font-size:10px;color:#a4b7bc;display:flex;align-items:center;gap:8px}.dock-dot{width:5px;height:5px;background:var(--accent);border-radius:50%}.report-dock .primary{padding:7px 18px;min-height:37px;font-size:11px}.chat-panel{display:flex;flex-direction:column;border-left:1px solid var(--line);background:#141c27;min-width:0;height:calc(100svh - 185px);position:sticky;top:0}.chat-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:21px 18px;border-bottom:1px solid var(--line);height:59px;flex-shrink:0}.chat-heading>span{display:flex;gap:8px;align-items:center;font-size:11px}.chat-heading svg{width:16px;height:16px;color:#9bb8b4}.chat-heading small{font:7px var(--mono);color:#8eaa9f;letter-spacing:1px}.chat-heading i{width:4px;height:4px;margin-right:4px}.channel{padding:13px 17px;background:#19232e;font-size:11px;color:#b5c4d2;border-bottom:1px solid var(--line)}.channel span{float:right;font:8px var(--mono);color:#718293;line-height:2.5}.chat-scroll{overflow-y:auto;flex:1;padding:17px 16px;scrollbar-width:thin;scrollbar-color:#3b4956 transparent}.chat-date{font-size:9px;color:#7d8b99;display:flex;gap:12px;align-items:center;margin:0 0 23px}.chat-date:before,.chat-date:after{content:"";flex:1;height:1px;background:var(--line)}.message{display:flex;gap:10px;margin-bottom:24px}.avatar{display:inline-grid;place-items:center;flex-shrink:0;width:30px;height:30px;border:1px solid #536f78;border-radius:7px;background:#314651;color:#b6d1d7;font-size:12px;font-weight:600}.avatar.client{background:#493f38;color:#d6b998;border-color:#665446}.avatar.lead{background:#383e52;color:#b4bfd8;border-color:#505d7b}.avatar.client{background:#3c4b3c;color:#bdcdb1;border-color:#5b6c4b}.avatar.ai{background:#2e4c47;color:#abd7cc;border-color:#47776c;font:10px var(--mono)}.avatar.large{width:54px;height:54px;border-radius:11px;font-size:23px}.message-content{min-width:0}.message-content>div{display:flex;align-items:center;gap:8px}.message-content strong{font-size:10px}.message-content time{font:8px var(--mono);color:#708294}.message-content p{font-size:11px;color:#adb9c7;line-height:1.95;white-space:pre-wrap;overflow-wrap:anywhere;margin-top:4px}.chat-foot{padding:14px;border-top:1px solid var(--line);font-size:9px;color:#6b7d8e;text-align:center}.unread{background:#a8d6c6;color:#163b32;border:0;font-size:10px;margin:0 20px 8px;padding:5px;border-radius:4px}.statusbar{display:flex;justify-content:space-between;gap:10px;font-size:9px;color:#758c92;min-height:32px;border-top:1px solid var(--line);padding:6px 24px}.statusbar span:last-child{color:#687889}.mobile-tabs{display:none}.evidence-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.evidence-card{background:#1b2530;border:1px solid #354450;border-radius:6px;padding:17px;display:flex;flex-direction:column;text-align:left;min-width:0}.evidence-card.selected{border-color:var(--accent);background:#a8d6c613;box-shadow:inset 0 0 0 1px var(--accent)}button.evidence-card:hover{border-color:#7b9d95}.evidence-top{display:flex;justify-content:space-between;align-items:center;gap:5px;margin-bottom:12px}.tag{font-size:8px;border:1px solid #476257;color:#a0c4b2;padding:1px 5px;border-radius:3px}.proposal .tag{color:#d4b784;border-color:#7a6543}.reference .tag{color:#a6b5cb;border-color:#4d5d73}.evidence-top>span:last-child{font-size:9px;color:#8c9da9}.evidence-card h3{font-size:12px;margin-bottom:10px}.evidence-card>p{font-size:11px;line-height:2;color:#aab8c6;margin-bottom:15px}.evidence-card>small{font-size:9px;color:#7e919f;margin-top:auto;border-top:1px solid var(--line);padding-top:11px}.empty{grid-column:1/-1;text-align:center;padding:55px 15px;color:#879ca9;border:1px dashed var(--line);border-radius:6px;font-size:12px}.empty svg{width:35px;height:35px;margin-bottom:20px}.empty h3{font-size:15px;margin-bottom:12px}.report-question{display:flex;gap:14px;padding:20px;background:#1c2933;border:1px solid #3f535b;border-radius:6px;margin:0 0 19px}.report-question small{font-size:10px;color:#94aaa9}.report-question h2{font-size:14px;margin-top:6px}.report-slots{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.report-slot{border:1px dashed #3d4c59;border-radius:5px;min-height:87px;padding:12px;position:relative}.report-slot small{display:block;font:9px var(--mono);color:#68838b;margin-bottom:8px}.report-slot>span{font-size:10px;color:#758b96}.report-slot.occupied{background:#a8d6c60c;border-style:solid;border-color:#6a9186;padding-right:24px}.report-slot.occupied>span{color:#c0d9cf}.remove{position:absolute;right:5px;top:4px;border:0;background:none;color:#9fb6ae;font-size:18px}.report-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:17px 0 32px}.report-toolbar>span{font-size:10px;color:var(--muted)}.report-toolbar .primary{font-size:11px}.history-list{display:grid;gap:8px}.history-item{display:flex;align-items:center;text-align:left;gap:15px;width:100%;padding:15px;border:1px solid var(--line);border-radius:5px;background:var(--panel);font-size:11px}.history-item>span{font:12px var(--mono);color:var(--accent)}.history-item div{flex:1}.history-item h3{font-size:11px;font-weight:500}.history-item small{font-size:9px;color:var(--muted)}.history-item>svg{width:15px;color:#7f939c}.ending{max-width:720px;margin:0 auto;min-height:calc(100svh - 83px);padding:70px 35px;text-align:center}.ending>.eyebrow{margin-bottom:25px}.ending-icon{width:68px;height:68px;display:grid;place-items:center;margin:0 auto 25px;border:1px solid #486b60;background:#a8d6c60b;border-radius:50%;color:var(--accent)}.ending-icon svg{width:32px;height:32px}.ending h1{font-size:30px;letter-spacing:.06em}.ending>p:not(.eyebrow){color:#a2b3bd;font-size:12px;margin-top:18px}.ending-memory{margin:35px auto;max-width:420px;border:1px solid var(--line);background:var(--panel);padding:24px;text-align:left;border-radius:6px}.ending-memory h2{font-size:12px;margin-bottom:20px;color:#c5bada}.ending-memory p{font-size:11px;margin:12px 0;color:#b3c2c9}.ending-memory p svg{width:14px;height:14px;margin-right:8px}.ending-memory small{font-size:10px;color:var(--muted);display:block;margin-top:20px}.ending .title-actions{justify-content:center}.ending .title-actions .primary{min-width:0}dialog{width:520px;max-width:calc(100vw - 28px);max-height:calc(100svh - 36px);overflow-y:auto;padding:30px;border:1px solid #4d5f6a;border-radius:9px;background:#1b2531;color:var(--text);box-shadow:0 30px 100px #0008;font-size:13px}dialog::backdrop{background:#080d16b8;backdrop-filter:blur(4px)}dialog h2{font-size:21px;letter-spacing:.03em}.confirm-description{color:#aebfcb;margin:20px 0;font-size:12px;line-height:2}.modal-buttons{display:flex;justify-content:flex-end;gap:12px;margin-top:28px}.time-preview{display:flex;gap:10px;align-items:center;background:#111c26;padding:16px;border:1px solid #344754;border-radius:5px;margin:20px 0;color:var(--accent)}.time-preview strong{font:19px var(--mono)}.time-preview span{font:12px var(--mono);margin-left:auto;color:#97b3b8}.time-preview svg{width:18px;height:18px}fieldset{border:1px solid var(--line);border-radius:4px;padding:15px;margin:20px 0}legend{font-size:10px;color:var(--muted)}.question-option{display:flex;align-items:baseline;gap:10px;font-size:11px;margin:10px 0;cursor:pointer}.question-option input{accent-color:var(--accent)}.setting-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:20px 0;border-bottom:1px solid var(--line);font-size:12px}.setting-row input{width:18px;height:18px;accent-color:var(--accent)}.setting-row+.tiny{margin-top:20px}.conversation{width:670px;padding:0;overflow:hidden}.conversation-head{display:flex;justify-content:space-between;gap:10px;padding:14px 25px;border-bottom:1px solid #3a4957;background:#15212c;font-size:10px;color:#9cb6b7}.conversation-head small{font:10px var(--mono);color:#728d9c}.conversation-person{display:flex;align-items:center;gap:15px;padding:28px 30px 0}.conversation-person .eyebrow{font-size:8px;margin-bottom:5px}.conversation-person h2{font-size:15px}.dialogue-text{white-space:pre-wrap;overflow-wrap:anywhere;min-height:150px;padding:25px 32px 35px;font-size:17px;line-height:2.1;max-height:45svh;overflow-y:auto;letter-spacing:.025em}.dialogue-text.thought{color:#c0b7cf}.conversation-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid #364753;padding:17px 25px;background:#17222c}.conversation-actions>div{display:flex;gap:10px}.conversation-actions .primary{padding:8px 17px;min-height:38px;font-size:11px}.conversation-actions .text-button{font-size:10px}.conversation-actions .tiny{font-size:9px}.log-modal{width:650px}.log-dialogue{margin-top:25px}.log-dialogue article{padding:13px 0;border-bottom:1px solid var(--line)}.log-dialogue strong{font-size:10px;color:var(--accent)}.log-dialogue p{font-size:12px;line-height:2;margin-top:7px}.submitted-cards{font-size:11px;color:#b4a5cf;padding-top:20px}#notice{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);max-width:90vw;background:#35554d;color:#e0f1ea;font-size:12px;border-radius:6px;z-index:100;box-shadow:0 4px 20px #0005}#notice:not(:empty){padding:12px 20px}.reduce-motion *, .reduce-motion *:before,.reduce-motion *:after{transition:none!important;animation:none!important;scroll-behavior:auto!important}
@media(min-width:1100px){.desktop{height:calc(100svh - 185px);min-height:550px}.left-rail{overflow-y:auto}.work-content{overflow-y:auto;scrollbar-width:thin;scrollbar-color:#3b4956 transparent}.chat-panel{height:100%}}
@media(min-width:1500px){.desktop{grid-template-columns:275px minmax(0,1fr) 320px}.work-content{padding:34px 40px}.action-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.action-card{min-height:198px}.action-card h3{font-size:14px}.action-card>p{font-size:11px}.workspace-heading{margin-bottom:35px}.left-rail{padding:28px 24px}.action-bottom{font-size:10px}.chat-scroll{padding:22px}}
@media(max-width:1099px){.desktop{grid-template-columns:210px minmax(0,1fr)}.left-rail{padding:20px 14px;grid-row:1/3}.chat-panel{grid-column:2;position:static;height:330px;border-left:0;border-top:1px solid var(--line)}.work-content{padding:25px 20px}.report-dock{padding:14px 20px}.topbar{padding:0 24px}.casebar{padding:15px 24px}.time-track{display:none}.title-page{gap:40px;padding:60px 40px}.sticky-note{right:-10px}.title-copy h1{font-size:45px}.case-paper{padding:28px}.case-paper h2{font-size:25px}.paper-bottom{flex-direction:column;gap:10px}.paper-bottom strong{display:inline;margin-left:8px}.panel{padding:15px}.action-grid{gap:10px}.action-card{padding:15px 13px 0}.action-card h3{font-size:12px}.memo>p:not(.eyebrow){font-size:11px}.statusbar{flex-wrap:wrap}.work-tabs{padding:0 20px}.chat-scroll{padding:15px 20px}.message{margin-bottom:15px}}
@media(max-width:699px){body{font-size:13px}.topbar{height:70px;padding:0 16px}.brand{font-size:13px;gap:10px}.brand-mark{height:33px;width:31px}.brand small{font-size:6px;letter-spacing:1.7px}.top-right{gap:10px}.prototype{display:none}.icon-button{padding:6px}.icon-button svg{width:17px;height:17px}.title-page{display:flex;flex-direction:column;align-items:stretch;padding:40px 27px 20px;gap:35px}.title-copy h1{font-size:44px;line-height:1.5}.title-pre{font-size:11px}.title-copy>.eyebrow{font-size:8px}.title-desc{font-size:12px;margin:23px 0}.title-case{max-width:340px;align-self:center;width:100%;padding-bottom:80px}.case-paper h2{font-size:27px}.sticky-note{right:-8px;font-size:11px}.title-actions .primary{min-width:155px}.title-footer{font-size:8px;padding:15px;height:auto;gap:10px;flex-wrap:wrap}.title-footer .muted{display:none}.casebar{padding:13px 16px;align-items:flex-start;gap:13px;flex-direction:column}.casebar>div{gap:10px}.casebar strong{font-size:12px}.case-index{font-size:8px;padding-right:10px}.time-status{width:100%}.time-status>strong{font-size:23px}.time-status>span{margin-left:auto}.time-track{display:block;width:65px}.mobile-tabs{display:flex;border-bottom:1px solid var(--line);gap:5px;padding:8px 16px;background:#19232e;position:sticky;top:0;z-index:4}.mobile-tabs button{flex:1;background:none;border:0;padding:7px;color:#9fb9bb;font-size:10px;border-radius:4px}.mobile-tabs button:hover{background:#2e3b47}.desktop{display:flex;flex-direction:column;min-height:0}.left-rail{padding:15px 16px;border:0;display:block}.memo{padding:15px}.memo .eyebrow{font-size:8px;margin-bottom:8px}.memo h2{font-size:12px;margin-bottom:7px}.memo>p:not(.eyebrow){font-size:11px;line-height:1.9}.memo-note{display:none}.knowledge{margin-top:10px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;padding:13px}.knowledge .section-label,.knowledge>.tiny{display:none}.stat{margin:0}.stat>div:first-child{font-size:9px;gap:4px;flex-wrap:wrap}.stat small{font-size:8px}.pips{gap:3px}.memories{margin-top:10px}.memories h3{font-size:12px}.memories p{display:inline-block;margin:3px 7px 3px 0;font-size:10px}.memories .eyebrow{display:none}.left-bottom{display:flex;justify-content:space-between;padding-top:8px}.left-bottom button{font-size:9px}.work-tabs{height:49px;padding:0 18px;gap:23px}.work-tabs button{font-size:10px}.work-content{padding:22px 16px}.workspace-heading{margin-bottom:22px}.workspace-heading h1{font-size:21px}.workspace-heading .eyebrow{font-size:8px}.workspace-heading p:not(.eyebrow){font-size:10px}.round-icon{width:33px;height:33px}.round-icon svg{width:16px}.action-grid{gap:10px}.action-card{min-height:184px;padding:13px 12px 0}.action-card h3{font-size:11px}.action-card>p{font-size:10px}.action-time{font-size:9px}.action-bottom{font-size:8px}.list-toolbar{gap:6px}.segmented button{padding:4px 7px;font-size:8px}.desk-tip{padding:12px 10px;align-items:flex-start;gap:10px}.desk-tip>span{font-size:9px}.coffee-button{font-size:10px;gap:5px}.coffee-button small{font-size:8px}.work-content>.tiny{font-size:9px}.report-dock{padding:12px 16px}.report-dock>div{font-size:9px}.report-dock .primary{font-size:10px;padding:8px 15px}.chat-panel{display:none;height:calc(100svh - 235px);min-height:300px}.show-chat .chat-panel{display:flex}.show-chat .left-rail,.show-chat .work-area{display:none}.statusbar{font-size:8px;padding:8px 16px}.statusbar span:last-child{display:none}.evidence-grid{grid-template-columns:1fr}.evidence-card h3{font-size:13px}.evidence-card>p{font-size:12px}.report-question{padding:14px;gap:10px}.report-question h2{font-size:13px}.report-slots{gap:6px}.report-slot{padding:9px 7px;min-height:100px}.report-slot>span{font-size:9px}.report-slot.occupied{padding-right:17px}.report-slot small{font-size:8px}.report-toolbar .primary{padding:10px;font-size:10px;gap:8px}.report-toolbar>span{font-size:9px}.workspace-heading>.secondary{font-size:10px;padding:8px;min-height:34px}.list-toolbar>.muted{font-size:9px}.conversation-person{padding:22px 22px 0}.conversation-head{padding:12px 20px;font-size:9px}.dialogue-text{font-size:15px;padding:22px 24px;min-height:170px}.conversation-actions{padding:15px;gap:5px}.conversation-actions>.tiny{display:none}.conversation-actions>div{justify-content:space-between;width:100%}.conversation-actions .text-button{font-size:10px}dialog{padding:23px}.conversation{padding:0}.ending{padding:45px 22px}.ending h1{font-size:24px}.ending>p:not(.eyebrow){font-size:11px}.ending .title-actions{gap:9px}.ending .title-actions button{font-size:11px;padding:9px 13px}.time-preview{padding:13px}.time-preview span{font-size:11px}.modal-buttons{gap:8px}.modal-buttons button{font-size:11px;padding:10px 13px}.log-dialogue p{font-size:12px}}
@media(min-width:1100px){.work-area,.work-content,.left-rail{min-height:0}.desktop{overflow:hidden}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}

/* Investigation board */
.board-toolbar{margin-bottom:14px}
.board-toolbar h1{font-size:15px;letter-spacing:.04em}
.board-toolbar h1 span{margin-left:8px;font:11px var(--mono);color:var(--muted)}
.board-toolbar>small{font-size:10px}
.kanban{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;align-items:start}
.kanban-column{min-width:0;min-height:300px;background:#1b2633;border:1px solid #344354;border-radius:7px;padding:10px}
.kanban-column>h2{display:flex;align-items:center;gap:7px;font-size:12px;padding:3px 1px 12px;color:#c9d4df}
.kanban-column>h2 i{width:7px;height:7px;border-radius:50%;background:#aebed1}
.kanban-column.working>h2 i{background:#efd099}
.kanban-column.done>h2 i{background:#a8d6c6}
.column-count{margin-left:auto;background:#ffffff10;border-radius:4px;padding:0 6px;font:11px/1.8 var(--mono)}
.kanban-cards{display:grid;gap:9px}
.column-empty{font-size:10px;color:#8d9eae;text-align:center;padding:35px 0;border:1px dashed #445263;border-radius:5px}
.kanban .action-card{width:100%;min-height:0;padding:11px 11px 0;background:#e4eaf0;border-color:#f1f5f9;color:#202f40;box-shadow:0 3px 8px #0002}
.kanban .action-card:hover{background:#f1f6fa;border-color:#a8d6c6;filter:none}
.kanban .action-card.done{background:#d3e6de;border-color:#b7d5c6}
.kanban .action-card.hint{border:2px solid #e7bf70}
.kanban .action-top{margin-bottom:7px;gap:5px}
.kanban .card-icon{padding:4px;background:#cedae4;color:#405d72}
.kanban .card-icon svg{width:14px;height:14px}
.kanban .action-time{font-size:15px;font-weight:700;color:#243e53;gap:4px}
.kanban .action-time svg{width:13px;height:13px}
.kanban .action-time.too-late{color:#8c412a}
.kanban .action-card h3{font-size:12px;line-height:1.6;margin-bottom:5px;overflow-wrap:anywhere}
.kanban .action-card>p{font-size:10px;line-height:1.7;color:#4c6070;margin-bottom:9px;overflow-wrap:anywhere}
.kanban .action-bottom{padding:7px 0;border-color:#20354720;font-size:9px;color:#365f57;line-height:1.5}
.time-status>strong{font-size:38px;font-weight:700;line-height:1;letter-spacing:1px;color:#e3f3ec}
.time-status>svg{width:22px;height:22px;color:var(--accent)}
.casebar{min-height:82px}
.time-preview strong{font-size:28px;font-weight:700}
@media(min-width:1100px){.desktop{height:calc(100svh - 197px);min-height:0}.work-content{padding:18px}.chat-panel{height:100%}}
@media(min-width:1500px){.work-content{padding:22px 26px}.kanban{gap:14px}.kanban-column{padding:12px}.kanban .action-card{padding:12px 12px 0}}
@media(min-width:700px) and (max-width:1099px){.desktop{grid-template-columns:180px minmax(0,1fr)}.work-content{padding:16px 12px}.kanban{gap:6px}.kanban-column{padding:7px}.kanban .action-card{padding:9px 8px 0}}
@media(max-width:699px){.time-status>strong{font-size:36px}.work-content{padding:16px}.kanban{grid-template-columns:repeat(3,minmax(165px,1fr));overflow-x:auto;align-items:stretch;padding-bottom:10px;scroll-snap-type:x proximity}.kanban-column{scroll-snap-align:start;min-height:240px;padding:9px}.kanban .action-time{font-size:16px}.kanban .action-card h3{font-size:12px}.board-toolbar>small{font-size:9px}}

/* Cast stands above the message window, following Design Block Drill. */
.conversation{inset:auto 0 20px;margin:0 auto;width:min(1400px,calc(100vw - 24px));max-height:calc(100dvh - 32px);padding:10px 8px;border:0;background:transparent;box-shadow:none;overflow:auto}
.conversation.with-portraits{width:min(1400px,calc(100vw - 24px));overflow-x:hidden;overflow-y:auto}
.conversation::backdrop{background:#080d1680;backdrop-filter:blur(2px)}
.conversation-window{position:relative;z-index:2;max-width:964px;margin:0 auto;background:#1b2531;border:1px solid #63776d;border-radius:12px;box-shadow:0 12px 40px #0005;overflow:hidden}
.portrait-stage{position:relative;z-index:1;isolation:isolate;display:flex;justify-content:center;align-items:end;gap:0;padding:8px min(66px,6vw) 0;margin:0 auto;background:none;border:0}
.portrait{position:relative;flex:0 1 min(330px,39vh);min-width:0;margin:0;filter:brightness(.7) saturate(.65);transform:translateY(4px);z-index:1;transition:filter .2s,transform .2s}
.portrait.speaking{filter:brightness(1) drop-shadow(0 0 9px #a8d6c650);transform:translateY(-4px);z-index:10}
.portrait img{position:relative;display:block;width:140%;height:auto;max-width:none;left:-20%}
.portrait figcaption{display:none}
.with-portraits .conversation-window{margin-top:clamp(-210px,-15vw,-90px)}
.conversation-person{padding:14px 28px 0;gap:12px}
.conversation-person .avatar,.conversation-person .eyebrow{display:none}
.conversation-person h2{font-size:20px}
.dialogue-text{min-height:110px;padding:14px 28px 24px;font-size:24px;line-height:1.9;max-height:34svh}
.conversation-actions .primary{font-size:16px;padding:9px 20px}
.conversation-head{padding:10px 28px;background:none}
@media(max-width:699px){.conversation,.conversation.with-portraits{bottom:10px;width:calc(100vw - 12px);padding:8px 2px;max-height:calc(100dvh - 20px)}.portrait{flex-basis:min(48vw,30vh)}.with-portraits .conversation-window{margin-top:-45px}.conversation-person{padding:12px 16px 0}.conversation-person h2{font-size:17px}.dialogue-text{font-size:20px;min-height:105px;padding:12px 16px 20px}.conversation-actions .primary{font-size:14px}.conversation-head{padding:10px 16px}}
@media(max-height:650px) and (min-width:700px){.portrait{flex-basis:220px}.with-portraits .conversation-window{margin-top:-130px}.dialogue-text{font-size:20px;min-height:80px;padding-bottom:15px}.conversation-actions{padding:10px 25px}}

/* Cards can move freely; only starting an investigation advances time. */
.kanban .action-card{background:#b2c2ce;border-color:#c0d0da;cursor:grab}
.kanban .action-card:hover{background:#c0ced8}
.kanban .action-top{justify-content:flex-start;align-items:center;gap:7px;margin-bottom:6px}
.kanban .action-top h3{margin:0;flex:1}
.kanban .action-card>p{margin-bottom:8px}
.kanban .action-time{font-size:16px;margin-left:auto;white-space:nowrap}
.kanban .action-bottom{min-height:32px;gap:6px}
.kanban .action-card.dragging{opacity:.4;cursor:grabbing}
.kanban-column.drop-target{border-color:var(--accent);background:#2c443f;box-shadow:inset 0 0 0 1px var(--accent)}
.card-move-controls{display:flex;align-items:center;gap:7px;border-top:1px solid var(--line);margin-top:20px;padding-top:16px;flex-wrap:wrap}
.card-move-controls>span{font-size:11px;color:var(--muted);margin-right:auto}
.card-move-controls button{font-size:11px;min-height:34px;padding:6px 10px}

/* Keep the board and column headings still; scroll only each card list. */
.work-content.board-view{display:flex;flex-direction:column;min-height:0;overflow:hidden}
.board-view .kanban{flex:1;min-height:0;align-items:stretch;overflow-y:hidden}
.board-view .kanban-column{display:flex;flex-direction:column;min-height:0;overflow:hidden}
.board-view .kanban-column>h2{flex-shrink:0}
.board-view .kanban-cards{display:flex;flex-direction:column;gap:9px;min-height:0;flex:1;overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:contain;scrollbar-width:thin;scrollbar-color:#617483 transparent;padding:2px 2px 5px}
.kanban-cards .action-card{flex-shrink:0;min-height:88px;padding-bottom:18px}
.kanban .action-card>p,.kanban .action-top,.kanban .action-bottom{position:relative;z-index:1}
.kanban .action-bottom{padding:0;border:0;min-height:0}
.kanban .action-time{position:absolute;right:7px;bottom:-5px;margin:0;display:block;font:1000 58px/1 var(--mono);letter-spacing:-4px;color:#314e662b;-webkit-text-stroke:1px currentColor;pointer-events:none;z-index:0}
.kanban .action-time.too-late{color:#8c412a40}
.kanban .action-card.overdue{background:#ead1c9;border-color:#c78e7f;border-left:4px solid #bb6958;padding-bottom:calc(18px + var(--lunch-delay-space,0px))}
.kanban .action-card.overdue:hover{background:#f0dbd4}
.kanban .action-card.overdue-long{background:#e5b9b2;border-color:#bb746a;border-left-color:#a54438}
.kanban .action-card.overdue-long:hover{background:#edc8c1}
.task-delay{position:relative;z-index:1;display:flex;align-items:center;flex-wrap:wrap;gap:4px 6px;margin:4px 0 2px;padding:5px 7px;border:1px solid #a5443840;border-radius:4px;background:#fff4edaa;color:#803a2e;font-size:10px;line-height:1.6}
.task-delay svg{width:13px;height:13px}
.task-delay b{margin-left:auto;white-space:nowrap;font-family:var(--mono)}
.kanban .overdue .action-time{color:#963f3030}
.board-view .desk-tip{flex-shrink:0;margin:12px 0 8px;padding:10px 12px}
.board-view>.tiny{flex-shrink:0}
@media(max-width:1099px){.work-content.board-view{flex:none;height:clamp(400px,65svh,650px)}.board-view .kanban-column{min-height:0}}

/* Clues and logs use the same readable paper surface as investigation cards. */
.evidence-card,.history-item{background:#c2ced8;color:#203446;border-color:#d2dee6;box-shadow:0 3px 8px #0002}
.evidence-card>p,.history-item small{color:#425a6b}
.evidence-card>small,.evidence-top>span:last-child{color:#4a6271}
.evidence-card>small{border-color:#20344625}
.evidence-card .tag{background:#e0ebe5;color:#305744;border-color:#819f90}
.evidence-card.proposal .tag{background:#eee2c9;color:#765c2b;border-color:#b8a275}
.evidence-card.reference .tag{background:#dbe4ef;color:#3e5873;border-color:#8a9fb8}
.evidence-card.selected{background:#d5e9df;border-color:#88baa2;color:#193c2c}
.history-item>span,.history-item>svg{color:#35655b}
.status-report-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:22px}
.status-report-card{display:flex;flex-direction:column;gap:6px;text-align:left;padding:16px;background:#c2d4db;color:#223e4a;border:1px solid #dce9ef;border-radius:6px}
.status-report-card small{color:#455e69;line-height:1.7}
.status-report-card.cannot{background:#decab4;color:#4b3829;border-color:#ebdac6}
.status-report-card.cannot small{color:#705440}
.report-dock .secondary{font-size:11px;padding:7px 12px;min-height:37px}



.status-changed{animation:status-flash 1.4s ease-out}
@keyframes status-flash{0%,35%{box-shadow:0 0 0 3px #c4efad,0 0 24px #b4e69990}100%{box-shadow:0 0 0 0 transparent}}

@media(max-width:699px){.status-report-options{grid-template-columns:1fr}.report-dock>div{display:none}}

/* Keep the report footer outside the scrolling area so it cannot cover cards. */
.report-dock{flex:0 0 auto;position:relative;bottom:auto}
.work-content:not(.board-view){min-height:0;overflow-y:auto;overscroll-behavior-y:contain;scroll-padding-block:12px}
.work-content.report-view{padding-bottom:24px}
.evidence-grid{gap:9px;align-items:start}
.evidence-card{padding:10px;min-height:0}
.evidence-top{margin-bottom:5px}
.evidence-card h3{font-size:12px;margin-bottom:5px;line-height:1.6}
.evidence-card>p{font-size:10px;line-height:1.65;margin-bottom:6px}
.evidence-card>small{font-size:8px;line-height:1.6;padding-top:5px}
.evidence-top>span:last-child{font-size:8px}
.status-report-options{gap:9px;margin-bottom:14px}
.status-report-card{padding:10px;gap:4px;font-size:12px}
.status-report-card small{font-size:10px;line-height:1.6}
.report-view .workspace-heading{margin-bottom:16px}
.report-view .report-question{padding:12px;margin-bottom:12px}
.report-view .report-toolbar{margin:12px 0 18px}
@media(min-width:1100px){.desktop{grid-template-rows:minmax(0,1fr)}.work-area{height:100%;overflow:hidden}.work-content:not(.board-view){flex:1 1 0}}
@media(min-width:1350px){.evidence-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
.history-item>time{flex-shrink:0;font:10px/1.6 var(--mono);color:#35655b;text-align:center}
.history-deltas{display:flex;flex:0 1 45%;flex-wrap:wrap;justify-content:flex-end;gap:5px;margin-left:auto}
.history-deltas>span{font:10px/1.6 var(--sans);padding:2px 6px;border:1px solid #73988a70;border-radius:4px;background:#e1eee8;color:#2b5849;white-space:nowrap}
@media(max-width:699px){.history-item{flex-wrap:wrap;gap:8px}.history-deltas{flex-basis:100%;justify-content:flex-start;padding-left:46px}.history-item>svg{display:none}.history-deltas>span{font-size:9px}}

/* History shows gains as icons and spent time as a watermark. */
.stat-label{display:flex;align-items:center;gap:6px}
.stat-label svg{width:15px;height:15px;color:var(--accent)}
.stat[data-stat="intuition"] .stat-label svg{color:#b5a6d7}
.history-item{position:relative;overflow:hidden;min-height:80px;list-style:none;padding:12px 14px 24px;cursor:pointer}
.history-item::-webkit-details-marker{display:none}
.history-copy{min-width:0}
.history-copy,.history-item>time,.history-deltas{position:relative;z-index:1}
.history-item .history-duration{position:absolute;right:7px;bottom:-5px;font:1000 56px/1 var(--mono);letter-spacing:-4px;color:#314e662b;-webkit-text-stroke:1px currentColor;pointer-events:none;z-index:0}
.history-deltas{flex:0 1 auto;max-width:46%;gap:5px;padding:0;align-self:flex-start}
.history-deltas>span{display:inline-flex;align-items:center;gap:4px;padding:3px 6px;line-height:1.2}
.history-deltas svg{width:15px;height:15px}
.history-deltas b{font:700 11px var(--mono)}
.history-entry[open] .history-item{border-radius:6px 6px 0 0}
.history-inline{padding:12px 16px;background:#dce5ea;border-radius:0 0 6px 6px;color:#324c5c;font-size:11px}
.history-inline p+p{margin-top:9px}
.history-inline strong{color:#204638}

/* A compact report header leaves room for a horizontal hand of portrait cards. */
.report-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}
.report-heading .eyebrow{margin:0;font-size:10px}
.report-heading .secondary{padding:4px 10px;min-height:30px;font-size:10px}
.report-view .report-question{padding:10px 12px;gap:9px;margin-bottom:9px}
.report-question h2{font-size:13px;margin-top:3px;line-height:1.65}
.report-question small{font-size:9px}
.report-slots{gap:7px}
.report-view .report-slot{min-height:54px;padding:7px 10px}
.report-slot small{margin-bottom:4px}
.report-view .report-toolbar{margin:8px 0 12px}
.report-toolbar .primary{min-height:33px;padding:5px 12px;font-size:11px}
.report-clue-heading{margin-bottom:5px}
.report-clue-heading>small{font-size:9px}
.clue-carousel{display:flex;align-items:stretch;gap:10px;overflow-x:auto;min-width:0;max-width:100%;padding:6px 3px 12px;scroll-snap-type:x proximity;scroll-padding-inline:3px;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#718b91 #24303b}
.clue-carousel .evidence-card{flex:0 0 190px;min-height:270px;scroll-snap-align:start;padding:12px}
.clue-carousel .evidence-card h3{font-size:13px;line-height:1.65;margin-bottom:10px}
.clue-carousel .evidence-card>p{font-size:11px;line-height:1.8;margin-bottom:12px}
.clue-carousel .evidence-card>small{font-size:9px;line-height:1.6}
.clue-carousel .evidence-top{margin-bottom:10px}
.clue-carousel .empty{flex:1;padding:24px 15px}
.report-view .status-report-options{display:flex;gap:8px;margin:8px 0 0;flex-wrap:wrap}
.report-view .status-report-card{flex:1;min-width:140px;flex-direction:row;align-items:center;justify-content:space-between;padding:7px 10px;font-size:10px;gap:10px}
.status-report-card>span{font:700 12px var(--mono)}
@media(max-width:699px){.stat-label{gap:3px}.stat-label svg{width:12px;height:12px}.history-deltas{max-width:none;flex-basis:auto;margin-left:auto;justify-content:flex-end}.history-copy{flex-basis:50%}.history-item{gap:8px}.history-item .history-duration{font-size:48px}.report-question h2{font-size:12px}.report-view .report-slot{min-height:63px;padding:6px}.report-view .report-slot>span{font-size:9px}.clue-carousel .evidence-card{flex-basis:175px;min-height:265px}.report-view .status-report-card{font-size:10px}}

/* Reading a specification sends a cost reduction to the affected task. */
.cost-effect-layer{position:fixed;inset:0;z-index:60;pointer-events:none;overflow:hidden}
.cost-flight-trail{position:absolute;inset:0;width:100vw;height:100vh;overflow:visible}
.cost-flight-trail path{fill:none;stroke:#b5ffd3;stroke-width:2;filter:drop-shadow(0 0 5px #7bffc9)}
.cost-projectile{position:absolute;left:0;top:0;width:12px;height:12px;border-radius:50%;background:#effff6;box-shadow:0 0 7px 3px #d2ffe5,0 0 20px 9px #78ffbd99,0 0 40px 14px #78ffbd44}
.cost-impact-ring{position:absolute;width:26px;height:26px;border:3px solid #acffd0;border-radius:50%;box-shadow:0 0 15px #9affc8}
.cost-saving-float{position:absolute;font:900 30px/1 var(--mono);color:#e3ffed;text-shadow:0 2px 3px #123a28,0 0 12px #63efab;white-space:nowrap}
.kanban .time-saving-badge{position:absolute;left:9px;bottom:7px;z-index:3;padding:2px 6px;border:1px solid #7aaf86;border-radius:4px;background:#e2ffde;color:#285b32;font:800 13px/1.4 var(--mono);box-shadow:0 0 12px #c9ffc778;pointer-events:none}
.kanban .action-card.time-discount-hit{animation:time-discount-impact 1.3s ease-out}
.kanban .action-time.cost-counting{color:#225d3e;filter:drop-shadow(0 0 6px #e4ffd7)}
@keyframes time-discount-impact{0%,35%{background:#e7ffdf;border-color:#c9ffab;box-shadow:0 0 0 2px #c3ffab,0 0 25px #b5ffadbb}100%{box-shadow:0 3px 8px #0002}}
@media(prefers-reduced-motion:reduce){.time-discount-hit{animation:none!important}}

/* Investigation records join the scheduled messages in the chat timeline. */
.chat-panel .feed-entry{min-width:0}
.chat-panel .history-entry{margin:0 0 14px}
.chat-panel .history-item{display:grid;grid-template-columns:37px minmax(0,1fr);gap:5px 7px;min-height:78px;padding:10px 9px 26px;border-radius:6px}
.chat-panel .history-item>time{font-size:8px;text-align:left;line-height:1.7}
.chat-panel .history-copy{grid-column:2;min-width:0}
.chat-panel .history-copy h3{font-size:11px;line-height:1.6;overflow-wrap:anywhere}
.chat-panel .history-copy small{font-size:8px}
.chat-panel .history-deltas{grid-column:2;justify-content:flex-start;max-width:none;margin:0;gap:4px;padding:0;flex-basis:auto}
.chat-panel .history-deltas>span{padding:2px 4px;gap:3px}
.chat-panel .history-deltas svg{width:12px;height:12px}
.chat-panel .history-deltas b{font-size:9px}
.chat-panel .history-item .history-duration{font-size:43px;right:5px;bottom:-4px}
.chat-panel .history-inline{font-size:10px;line-height:1.85;padding:10px 12px}
.chat-panel .history-entry[open] .history-item{border-radius:6px 6px 0 0}
.chat-panel .chat-date:not(:first-child){margin-top:20px}
.chat-panel .history-item:focus-visible{outline-offset:-3px}
.feed-arriving{animation:feed-slide-in .38s cubic-bezier(.16,1,.3,1) var(--feed-delay,0ms) both}
@keyframes feed-slide-in{from{opacity:0;transform:translateY(32px)}to{opacity:1;transform:translateY(0)}}
.history-deltas>.history-saving{display:flex;flex-direction:column;align-items:flex-start;gap:3px;width:100%;padding:5px 6px;white-space:normal;background:#e5f6de;border-color:#8aae7a}
.history-saving>span{font-size:9px;line-height:1.5}
.history-saving>b{display:flex;align-items:center;flex-wrap:wrap;gap:4px;font-size:10px}
.history-saving em{font-style:normal;font-weight:800;color:#267143}
.game-toolbar{display:flex;align-items:center;gap:8px;padding:10px 18px;border-bottom:1px solid var(--line);flex-shrink:0}
.game-toolbar button{font-size:11px;padding:6px 12px;min-height:34px}
.game-toolbar .primary{margin-left:auto}
.work-area{position:relative}
.clue-drawer{flex:0 0 92px;height:92px;overflow:hidden;background:#192633;border-top:1px solid #536d72;transition:height .25s,flex-basis .25s}
.clue-drawer.open{height:360px;flex-basis:360px}
.deck-handle{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;height:36px;background:#253b46;border:0;color:#cbe6df;font-size:12px}
#shared-clue-deck{height:324px;overflow:hidden;padding:0 12px}
:is(.clue-drawer,.report-selection) .evidence-grid{display:flex;gap:10px;overflow-x:auto;height:100%;align-items:stretch;padding:8px 3px 14px;scrollbar-width:thin}
:is(.clue-drawer,.report-selection) .evidence-card{flex:0 0 190px;min-height:280px;background:repeating-linear-gradient(#f4f0e6 0 23px,#e5e1d7 24px,#f4f0e6 25px);border:1px solid #d7cdb9;border-top:4px solid #617f86;border-radius:3px;padding:12px;box-shadow:2px 4px 0 #0002}
:is(.clue-drawer,.report-selection) .evidence-top{order:1;margin:10px 0 0}
:is(.clue-drawer,.report-selection) .evidence-card h3{order:0;border-bottom:1px solid #b5aa94;padding-bottom:8px;font-size:13px}
:is(.clue-drawer,.report-selection) .evidence-card>p{order:2;margin-top:12px;font-size:11px;line-height:1.9}
:is(.clue-drawer,.report-selection) .evidence-card>small{order:3;margin-top:auto}
:is(.clue-drawer,.report-selection) .evidence-card.selected{background:#e2f1e5;border-color:#518c6b;box-shadow:inset 0 0 0 2px #518c6b}
:is(.clue-drawer,.report-selection) .evidence-card:not(.selected){background-color:#f4f0e6}
.clue-drawer .empty{flex:1;min-width:180px;padding:25px}
@media(max-width:699px){.game-toolbar{padding:8px;gap:5px}.game-toolbar button{font-size:10px;padding:5px 8px}.clue-drawer{position:sticky;bottom:0;z-index:5}.clue-drawer.open{height:360px}:is(.clue-drawer,.report-selection) .evidence-card{flex-basis:175px}.work-content.board-view{height:55svh}}

/* Compact history cards: gains below on the left, duration above on the right. */
.history-item{min-height:66px;padding:8px 10px 10px}
.history-item .history-duration{top:3px;bottom:auto;right:7px;font-size:38px;line-height:1;letter-spacing:-3px}
.history-copy{padding-right:54px}
.history-deltas{flex-direction:column;align-items:flex-start;justify-content:flex-end;max-width:none;margin:4px auto 0 0;gap:3px}
.chat-panel .history-item{min-height:66px;padding:8px;gap:3px 6px}
.chat-panel .history-copy{padding-right:44px}
.chat-panel .history-copy small{display:none}
.chat-panel .history-deltas{grid-column:1/-1;flex-direction:column;align-items:flex-start;justify-content:flex-end;margin:3px 0 0;gap:3px}
.chat-panel .history-item .history-duration{top:3px;bottom:auto;right:6px;font-size:36px}
.chat-panel .history-deltas>span{padding:1px 4px}
.chat-panel .history-deltas>.history-saving{width:auto;max-width:100%;padding:3px 5px}
.chat-panel .history-entry{margin-bottom:10px}
.case-actions{display:flex;align-items:center;gap:18px}
.report-actions{display:flex;flex-direction:column;gap:5px}
.report-actions button{min-height:28px;padding:3px 13px;font-size:10px}
.case-actions .time-status{display:flex;align-items:center;gap:12px}
.chat-panel .history-item{grid-template-columns:34px minmax(0,1fr);align-items:start}
.chat-panel .history-copy{grid-column:2;grid-row:1}
.chat-panel .history-deltas{grid-column:1;grid-row:1;margin:0;align-self:start}
.history-savings{grid-column:1/-1;display:flex;flex-direction:column;gap:4px;width:100%;position:relative;z-index:1}
.history-savings:empty{display:none}
.kanban-column.done .action-card{background:#8e9fae;border-color:#a2b3c0;min-height:64px;padding:7px 9px 8px;box-shadow:0 2px 5px #0002}
.kanban-column.done .action-card:hover{background:#9babb8}
.kanban-column.done .action-top{margin-bottom:3px;gap:5px}
.kanban-column.done .card-icon{padding:3px}
.kanban-column.done .card-icon svg{width:14px;height:14px}
.kanban-column.done .action-card>p{margin-bottom:0;line-height:1.5}
.kanban-column.done .action-time{font-size:44px}
.clue-acquisition-layer{position:fixed;inset:0;z-index:80;pointer-events:none}
.clue-acquisition-stage.clue-drawer{position:absolute;inset:0;height:100%;border:0;background:transparent;overflow:visible}
.clue-acquisition-stage .clue-acquisition-card{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:flex;flex-direction:column;box-shadow:0 0 45px #a4dac255,0 20px 65px #0008;overflow:visible}
.clue-acquisition-caption{position:absolute;left:50%;transform:translateX(-50%);min-height:44px;white-space:nowrap;color:#e0ffea;font-size:28px;line-height:1.5;font-weight:800;letter-spacing:.1em;text-shadow:0 2px 8px #000,0 0 24px #8bd6a9;pointer-events:none}
@media(max-width:699px){.clue-acquisition-caption{font-size:24px}}

.chat-panel .history-item{grid-template-columns:minmax(0,1fr)}
.chat-panel .history-copy{grid-column:1;padding-right:44px}
.chat-panel .history-deltas{position:static;grid-column:1;grid-row:3;justify-self:end;align-self:end;flex-direction:row;flex-wrap:wrap;justify-content:flex-end;gap:3px;max-width:100%;margin:4px 0 0;padding:0}
.chat-panel .history-deltas:empty{display:none}
.chat-panel .history-savings{grid-column:1/-1;grid-row:2}
.history-savings .history-saving{display:flex;flex-direction:column;gap:3px;width:100%;padding:5px 6px;border:1px solid #8aae7a;border-radius:4px;background:#e5f6de;color:#2b5849}
.clue-drawer{height:118px;flex-basis:118px}
:is(.clue-drawer,.report-selection) .evidence-card h3{height:50px;min-height:50px;flex-shrink:0;line-height:20px;margin:0;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
@media(max-width:699px){.casebar .case-actions{width:100%;gap:10px}.case-actions .time-status{width:auto;flex:1;flex-wrap:wrap;gap:6px}.report-actions{flex-shrink:0}.case-actions .time-track{display:none}}
:is(.clue-drawer,.report-selection) .evidence-card.confirmed{--paper-color:#e0eee2;--paper-line:#c9dacd;border-top-color:#5a8d70}
:is(.clue-drawer,.report-selection) .evidence-card.reference{--paper-color:#e2eaf5;--paper-line:#cad6e7;border-top-color:#647fa7}
:is(.clue-drawer,.report-selection) .evidence-card.proposal{--paper-color:#f3e8cf;--paper-line:#dfd1ad;border-top-color:#a58949}
:is(.clue-drawer,.report-selection) .evidence-card:is(.confirmed,.reference,.proposal){background-color:var(--paper-color);background-image:repeating-linear-gradient(var(--paper-color) 0 23px,var(--paper-line) 24px,var(--paper-color) 25px)}
:is(.clue-drawer,.report-selection) .evidence-card.selected{outline:2px solid #518c6b;outline-offset:-3px}
:is(.clue-drawer,.report-selection) .evidence-card>.evidence-source{height:42px;min-height:42px;flex-shrink:0;padding-top:7px;line-height:16px;font-size:9px;overflow:hidden}
.evidence-source>span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.source-badge{display:inline-block;border:1px solid #637b8770;border-radius:3px;background:#ffffff70;padding:0 3px;font-size:8px;line-height:12px;vertical-align:1px}
/* Channel posts and report dialogue share the existing conversation styling. */
.bot-message .message-content{min-width:0;flex:1}
.bot-avatar{background:#344b54;color:#b9e0d1}
.bot-avatar svg{width:22px;height:22px}
.bot-byline{display:flex;align-items:center;gap:6px;margin-bottom:7px}
.bot-byline>span{font:8px var(--mono);padding:0 4px;border-radius:3px;background:#37434f;color:#b6c7cf}
.chat-panel .bot-message .history-entry{margin:0}
.chat-panel .bot-message{gap:8px;margin-bottom:16px}
.chat-panel .channel{font-size:10px}
.report-stage{display:flex;flex-direction:column;gap:12px;min-height:100%}
.report-board{position:relative;z-index:2}
.report-conversation{position:relative;margin-top:130px}
.report-portrait{position:absolute;right:10px;bottom:calc(100% - 6px);height:210px;width:170px;object-fit:cover;object-position:top;pointer-events:none}
.report-conversation .conversation-window{position:relative;background:#172431;border:1px solid #506676;border-top:3px solid #90bdb0;border-radius:5px;box-shadow:0 8px 25px #0004}
.report-conversation .conversation-person{padding:12px 18px 0}
.report-request{padding:10px 18px;font-size:14px;line-height:1.9}
.report-hint{padding:0 18px 14px;color:#91a7b5;font-size:10px}
.report-view .report-stage .report-heading{margin-bottom:10px}
@media(max-width:699px){.report-conversation{margin-top:100px}.report-portrait{height:170px;width:135px}.report-request{font-size:12px}.report-view .report-slots{grid-template-columns:repeat(3,minmax(0,1fr))}}
.report-stage{min-height:0}
.report-board{padding-right:150px}
.report-conversation{margin-top:0}
.report-portrait{height:180px;width:145px;right:0}
.report-conversation .conversation-person{padding:9px 16px 0}
.report-conversation .conversation-person .eyebrow{display:none}
.report-conversation .conversation-person h2{font-size:14px}
.report-request{padding:8px 16px;font-size:12px;line-height:1.8}
.report-hint{padding:0 16px 10px;font-size:9px}
@media(max-width:699px){.report-board{padding-right:0}.report-conversation{margin-top:110px}.report-portrait{height:150px;width:120px}}
/* Readable clues and a distinct report stage. */
:is(.clue-drawer,.report-selection) .evidence-card{flex-basis:210px;min-height:220px}
:is(.clue-drawer,.report-selection) .evidence-card h3{font-size:15px;line-height:23px;height:57px;min-height:57px}
:is(.clue-drawer,.report-selection) .evidence-card>p{font-size:14px;line-height:1.8;margin-top:12px;margin-bottom:0}
:is(.clue-drawer,.report-selection) .evidence-top .tag{font-size:10px}
:is(.clue-drawer,.report-selection) .evidence-top>span:last-child{font-size:10px}
.kanban .action-card h3{font-size:13px}
.kanban .action-card>p{font-size:12px}
.message-content>p,.chat-panel .history-copy h3{font-size:12px}
.reporting{background:radial-gradient(ellipse at 25% 65%,#456374 0,#2b4354 48%,#213342 100%)}
.reporting .work-content.report-view{padding:18px 20px 0;position:relative}
.reporting .report-stage{min-height:365px;height:100%;gap:14px}
.reporting .report-board{padding-right:0;margin-left:240px}
.reporting .report-heading .eyebrow{font-size:11px}
.reporting .report-heading>.secondary{display:none}
.reporting .report-slots{gap:8px}
.reporting .report-slot{min-height:72px;padding:8px}
.reporting .report-slot>span{font-size:13px;line-height:1.6}
.reporting .report-toolbar{flex-wrap:wrap;margin:10px 0}
.reporting .report-toolbar>span{font-size:12px}
.reporting .report-toolbar .primary{font-size:14px;padding:9px 14px}
.reporting .status-report-card{font-size:12px;min-width:0}
.reporting .report-conversation{margin-top:auto;position:static}
.reporting .report-portrait{left:0;right:auto;bottom:-8px;width:270px;height:390px;object-fit:cover;object-position:top;z-index:1}
.reporting .report-conversation .conversation-window{position:relative;z-index:2;margin-left:205px;background:#112331c9;backdrop-filter:blur(3px);border-color:#91bbbe99;border-top-color:#b6e0d4;border-radius:5px 5px 0 0}
.reporting .report-conversation .conversation-person{padding:10px 18px 0}
.reporting .report-conversation .conversation-person h2{font-size:18px}
.reporting .report-request{font-size:16px;line-height:1.8;padding:8px 18px 14px}
.reporting .report-hint{display:none}
.reporting>.clue-drawer{height:320px;flex-basis:320px;z-index:3;background:#203d4b;transition:none}
.reporting #shared-clue-deck{height:284px}
.reporting .deck-handle{font-size:14px;background:#315765}
@media(max-width:1099px) and (min-width:700px){.reporting .report-board{margin-left:190px}.reporting .report-conversation .conversation-window{margin-left:155px}.reporting .report-portrait{width:220px;height:340px}}
@media(max-width:699px){:is(.clue-drawer,.report-selection) .evidence-card{flex-basis:200px}.reporting .work-content.report-view{padding:16px 12px 0;overflow:visible}.reporting .report-stage{min-height:530px;position:relative}.reporting .report-board{margin-left:0;z-index:3}.reporting .report-conversation .conversation-window{margin-left:65px}.reporting .report-portrait{left:-28px;width:210px;height:320px}.reporting .report-request{font-size:15px;padding:8px 12px 14px}.reporting .report-conversation .conversation-person{padding-left:12px}.reporting>.clue-drawer{position:sticky;height:320px;flex-basis:320px}.reporting .report-slot>span{font-size:12px}.reporting .report-toolbar .primary{font-size:13px}}
@media(min-width:700px) and (max-height:800px){
 .reporting>.clue-drawer{height:270px;flex-basis:270px}.reporting #shared-clue-deck{height:234px}
 .reporting .report-stage{min-height:0;gap:6px}.reporting .work-content.report-view{padding:10px 14px 0}
 .reporting .report-board{margin-left:180px}.reporting .report-heading{display:none}
 .reporting .report-slot{min-height:56px;padding:5px}.reporting .report-slot>span{font-size:12px}
 .reporting .report-toolbar{margin:5px 0}.reporting .report-toolbar .primary{padding:5px 9px;min-height:32px;font-size:12px}
 .reporting .status-report-options{margin:4px 0 0}.reporting .status-report-card{padding:4px 7px;font-size:11px}
 .reporting .report-portrait{height:270px;width:200px;bottom:-7px}
 .reporting .report-conversation .conversation-window{margin-left:150px}.reporting .report-request{font-size:14px;line-height:1.6;padding:5px 12px 9px}.reporting .report-conversation .conversation-person{padding:6px 12px 0}.reporting .report-conversation .conversation-person h2{font-size:15px}
 .reporting .evidence-card{flex-basis:230px;min-height:190px}.reporting .evidence-card h3{height:50px;min-height:50px;font-size:14px;line-height:20px}.reporting .evidence-card>p{font-size:13px;line-height:1.6;margin-top:8px}
}
@media(max-width:699px){
 .report-mode .left-rail{display:none}.report-mode .desktop{height:calc(100svh - 239px)}
 .reporting{height:100%;overflow:hidden}.reporting .work-content.report-view{flex:1;min-height:0;overflow-y:auto;padding-top:10px}
 .reporting .report-stage{min-height:310px;height:100%;gap:6px}.reporting .report-heading{display:none}
 .reporting .report-toolbar{margin:6px 0}.reporting .report-slot{min-height:60px;padding:6px}
 .reporting .status-report-options{margin:4px 0 0}.reporting .status-report-card{font-size:11px;padding:5px 7px}
 .reporting .report-conversation .conversation-window{margin-left:55px}.reporting .report-request{font-size:14px;line-height:1.65;padding:5px 10px 9px}
 .reporting .report-portrait{width:150px;height:235px;left:-24px;bottom:-5px}.reporting .report-conversation .conversation-person{padding:6px 10px 0}.reporting .report-conversation .conversation-person h2{font-size:16px}
 .reporting>.clue-drawer{height:270px;flex-basis:270px;position:relative}.reporting #shared-clue-deck{height:234px}
 .reporting .evidence-card{flex-basis:210px;min-height:190px}.reporting .evidence-card h3{height:50px;min-height:50px;font-size:14px;line-height:20px}.reporting .evidence-card>p{font-size:13px;line-height:1.6;margin-top:8px}
}
.reporting{--clue-width:210px;--clue-height:262px}
.reporting .report-board{display:grid;grid-template-columns:minmax(0,1fr) 155px;gap:16px;margin-left:0;padding:0;align-items:start}
.report-selection{min-width:0}
.report-selection>.eyebrow{font-size:11px;margin-bottom:9px}
.reporting .report-slots{display:flex;gap:10px;overflow-x:auto;padding:3px 3px 9px;scrollbar-width:thin}
.reporting .report-slot{flex:0 0 var(--clue-width);width:var(--clue-width);height:var(--clue-height);min-height:var(--clue-height);padding:0;border:1px dashed #96b4bd80;border-radius:4px;background:#122c3a50;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;overflow:visible}
.reporting .report-slot.occupied{border:0;background:none}
.reporting .report-slot>.slot-number{font:24px var(--mono);color:#9bb7bd}
.reporting .report-slot>span{font-size:14px}
.reporting .report-slot>.evidence-card{width:100%;height:100%;min-height:0;flex:none;margin:0;display:flex;flex-direction:column;text-align:left;cursor:grab}
.reporting #shared-clue-deck .evidence-card{flex-basis:var(--clue-width);height:var(--clue-height);min-height:var(--clue-height);cursor:grab}
.reporting #shared-clue-deck .evidence-card.selected{opacity:.5}
.reporting .report-buttons{display:flex;flex-direction:column;gap:10px;padding-top:25px}
.reporting .report-buttons>span{font-size:13px;color:#b7d0d7}
.reporting .report-buttons button{width:100%;font-size:13px;min-height:48px;padding:10px;display:flex;flex-wrap:wrap;gap:5px;justify-content:center}
.reporting .report-buttons .cannot{background:#decab4;border-color:#ebdac6;color:#4b3829}
.report-slot.drop-target,#shared-clue-deck.drop-target{outline:2px solid #b6e8c8;outline-offset:-2px;background:#547c6955}
.evidence-card.dragging{opacity:.35}
@media(min-width:700px) and (max-height:800px){.reporting{--clue-width:230px;--clue-height:212px}.reporting .report-board{margin-left:0;grid-template-columns:minmax(0,1fr) 145px;gap:10px}.reporting .report-buttons button{font-size:12px;min-height:42px}.report-selection>.eyebrow{font-size:10px;margin-bottom:5px}}
@media(max-width:699px){.reporting{--clue-width:210px;--clue-height:212px}.reporting .report-board{margin-left:0;grid-template-columns:minmax(0,1fr) 120px;gap:8px}.reporting .report-buttons{padding-top:22px;gap:8px}.reporting .report-buttons button{font-size:12px;padding:7px;min-height:45px}.report-selection>.eyebrow{font-size:10px;letter-spacing:0}.reporting .report-slot>span{font-size:13px}}
.reporting .report-board{margin-left:220px}
@media(min-width:700px) and (max-height:800px){.reporting .report-board{margin-left:170px}}
@media(max-width:699px){.reporting .report-board{margin-left:0}.reporting .report-slot:not(.occupied){background:#294453}}
.report-received{border-color:#a3e0b8!important;box-shadow:0 0 0 2px #9cdbb030,0 0 50px #91dba845!important}
.report-accepted{display:flex;align-items:center;gap:10px;padding:14px 24px;background:linear-gradient(100deg,#376b53,#264c46);border-bottom:1px solid #a5ddba70;color:#e1ffdf;font-size:19px;font-weight:700;animation:report-arrives .5s cubic-bezier(.16,1,.3,1) both}
.report-accepted svg{width:27px;height:27px;stroke-width:3}
.report-accepted span{font:9px var(--mono);letter-spacing:1px;margin-left:auto;color:#b4d8c1}
.case-solved{background:radial-gradient(ellipse at 50% 20%,#355c494d,transparent 65%)}
.case-solved .ending-icon{background:#37694b;border-color:#a9d8b0;color:#d7ffd6;box-shadow:0 0 45px #83d39350;animation:report-arrives .65s cubic-bezier(.16,1,.3,1) both}
.case-solved h1{color:#d7f7dc}
.case-solved>.eyebrow{color:#b4e4bc;letter-spacing:3px}
@keyframes report-arrives{from{opacity:0;transform:translateY(15px) scale(.96)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(max-width:699px){.report-accepted{font-size:16px;padding:10px 15px}.report-accepted span{font-size:7px}}
.case-solved h1{font-size:36px}
.case-solved>p:not(.eyebrow){font-size:16px;line-height:1.9;margin:18px 0 28px}
@media(max-width:699px){.case-solved h1{font-size:28px}.case-solved>p:not(.eyebrow){font-size:14px}}
.evidence-card.clue-awaiting{visibility:hidden;pointer-events:none}
#shared-clue-deck .evidence-card.clue-awaiting{display:none}
#shared-clue-deck .evidence-card.clue-awaiting.clue-slot-opening{display:flex}
.sidebar-coffee{padding:0 4px}
.sidebar-coffee .coffee-button{width:100%;display:flex;flex-wrap:wrap;justify-content:flex-start;gap:7px;padding:11px 8px;font-size:12px}
.sidebar-coffee .coffee-button small{font-size:10px}
.knowledge .section-label{font-size:13px;letter-spacing:1.5px}
@media(max-width:699px){.sidebar-coffee{padding:4px 0}.sidebar-coffee .coffee-button{width:auto}}
/* Video meeting: participant camera on the left, shared report on the right. */
.reporting .report-stage{position:relative}
.meeting-camera{position:absolute;left:0;top:0;width:220px;height:280px;overflow:hidden;border:1px solid #9bafb0;border-radius:9px;background:#9eaaa2 var(--meeting-room,url('./assets/04_room.png')) center/cover;box-shadow:0 8px 22px #0004}
.meeting-camera>img{position:absolute;width:200%;max-width:none;height:auto;left:-50%;top:-7%;filter:drop-shadow(0 4px 8px #0002)}
.camera-live{position:absolute;top:10px;left:10px;z-index:2;padding:2px 7px;border-radius:4px;background:#142b2cc9;color:#d8f5e4;font:9px var(--mono);letter-spacing:1px}
.camera-live i{display:inline-block;width:5px;height:5px;background:#91e6af;border-radius:50%;margin-right:5px}
.camera-name{position:absolute;bottom:0;left:0;right:0;z-index:2;padding:8px 11px;background:linear-gradient(transparent,#10252be8);color:#fff;font-size:14px;font-weight:600}
.camera-name>span{float:right;color:#bce1cc;font-size:9px;font-weight:400;margin-top:4px}
.reporting .report-board{margin-left:236px;border:1px solid #72a995;border-top:3px solid #a8dfb8;border-radius:7px;background:#142c38a8;padding:10px 12px;gap:8px 12px;box-shadow:0 8px 20px #0002}
.share-header{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #708f9470;padding:0 0 8px;font-size:10px;color:#b3c7cd}
.share-indicator{display:inline-flex;align-items:center;gap:6px;color:#c5f1d2;font-size:11px;font-weight:600}
.share-indicator svg{width:15px;height:15px}
.reporting .report-buttons{padding-top:23px}
.reporting .report-conversation .conversation-window{margin-left:0}
.reporting .report-request{white-space:pre-line;min-height:5.6em;font-size:17px}
@media(min-width:700px) and (max-height:800px){.meeting-camera{width:166px;height:220px}.reporting .report-board{margin-left:178px;padding:7px 9px;gap:5px 8px}.share-header{padding-bottom:5px}.reporting .report-request{min-height:4.7em;font-size:15px}.camera-name{font-size:12px}.camera-name>span{display:none}}
@media(max-width:699px){.meeting-camera{width:96px;height:135px;border-radius:6px}.meeting-camera>img{width:215%;left:-58%;top:-8%}.camera-live{font-size:7px;left:5px;top:5px;padding:2px 4px}.camera-name{font-size:12px;padding:6px}.camera-name>span{display:none}.reporting .report-board{margin-left:106px;padding:6px;gap:7px;grid-template-columns:minmax(0,1fr)}.reporting .report-buttons{padding-top:0;gap:5px}.reporting .report-buttons>span{display:none}.reporting .report-buttons button{min-height:33px;padding:5px;font-size:11px}.share-header{font-size:8px;gap:4px}.share-header>span:last-child{display:none}.share-indicator{font-size:10px}.reporting .report-stage{min-height:420px}.reporting .report-request{font-size:15px;min-height:5.5em}}
.reporting>.report-conversation{position:relative;flex:0 0 auto;margin:0;padding:0 20px;z-index:4}
.reporting .report-selection>.eyebrow{display:none}
.reporting .report-buttons{padding-top:0}
.reporting .report-conversation .conversation-person{padding:7px 14px 0}
.reporting .report-conversation .conversation-person h2{font-size:16px}
.reporting .report-request{min-height:0;font-size:16px;line-height:1.6;padding:6px 14px 10px}
@media(max-width:699px){.reporting>.report-conversation{padding:0 12px}.reporting .report-request{font-size:14px}.reporting .report-board{margin-left:106px}.reporting .report-stage{min-height:350px}}
.reporting .report-request{min-height:68px}
@media(max-width:699px){.reporting .report-request{min-height:88px}}
/* Browser tabs and a staged video-call entrance. */
.report-actions.browser-tabs{display:flex;flex-direction:row;align-self:stretch;gap:4px;border-bottom:1px solid #60737c;padding:8px 5px 0}
.browser-tabs button{display:flex;align-items:center;gap:8px;min-width:105px;justify-content:center;background:#1b2935;border:1px solid #425560;border-bottom:0;border-radius:10px 10px 0 0;color:#9baeb9;padding:9px 18px;font-size:13px;min-height:39px;position:relative}
.browser-tabs button.active{background:#344f5d;color:#e5f5ed;box-shadow:0 -2px 0 #aad9c5}
.browser-tabs button.active::after{content:'';position:absolute;height:2px;bottom:-1px;left:0;right:0;background:#344f5d}
.browser-tabs svg{width:16px;height:16px}
.reporting>.work-content{order:0}.reporting>.report-conversation{order:1}.reporting>.clue-drawer{order:3}
.meeting-controls{order:2;flex:0 0 48px;display:flex;align-items:center;justify-content:flex-end;gap:8px;padding:5px 20px;background:#10212cd9;z-index:5}
.meeting-control{position:relative;width:37px;height:37px;display:grid;place-items:center;border:1px solid #527078;border-radius:9px;background:#253d49;color:#d0e5e9}
.meeting-control.on{background:#3c6259;border-color:#80b19b;color:#d9f5e4}
.meeting-control.off[data-action=meeting-camera]::after,.meeting-control.off[data-action=meeting-mic]::after{content:'';width:25px;height:2px;background:#deaaa8;transform:rotate(-45deg);position:absolute}
.meeting-connecting{position:absolute;inset:0;z-index:10;display:flex;align-items:center;justify-content:center;gap:16px;background:#101c28;color:#c9e1e5;font:18px var(--mono);letter-spacing:3px}
.connecting-spinner{width:24px;height:24px;border:2px solid #42606d;border-top-color:#b5e8d1;border-radius:50%;animation:connecting-spin .8s linear infinite}
@keyframes connecting-spin{to{transform:rotate(360deg)}}
.reporting[data-meeting-phase=connecting]>.work-content,.reporting[data-meeting-phase=connecting]>.report-conversation,.reporting[data-meeting-phase=connecting]>.meeting-controls,.reporting[data-meeting-phase=connecting]>.clue-drawer{visibility:hidden}
.reporting.meeting-unshared>.clue-drawer{display:none}
.meeting-unshared .report-board{display:none!important}
.reporting[data-meeting-phase=video]>.report-conversation{display:none}
.reporting.meeting-unshared .report-stage{height:100%;min-height:260px}
.meeting-unshared .meeting-camera{position:absolute;inset:0;width:100%;height:100%;border-radius:8px;background-position:center;background-size:cover}
.meeting-unshared .meeting-camera>img{height:185%;width:auto;left:50%;top:-8%;transform:translateX(-50%)}
.self-camera{position:absolute;width:130px;height:105px;left:10px;bottom:12px;z-index:3;overflow:hidden;background:#a2aaa0 var(--meeting-room,url('./assets/01_room.png')) center/cover;border:2px solid #a8ccbd;border-radius:8px;box-shadow:0 5px 15px #0005}
.self-camera img{position:absolute;width:210%;max-width:none;height:auto;left:-55%;top:-20%}
.self-camera span{position:absolute;bottom:0;left:0;right:0;padding:3px 7px;background:#152b35bb;font-size:10px;color:white}
.meeting-response{position:absolute;top:12px;right:12px;z-index:4;background:#14242bd9;border-radius:9px;padding:6px 10px;color:#f5edb7;font-size:22px;animation:report-arrives .3s ease-out}
@media(max-width:699px){.browser-tabs button{min-width:75px;padding:8px 10px;font-size:12px}.browser-tabs{padding-top:0}.meeting-controls{padding:5px 12px;gap:6px;flex-basis:45px}.meeting-control{width:34px;height:34px}.reporting.meeting-unshared .report-stage{min-height:240px}.self-camera{width:95px;height:78px}.meeting-response{font-size:16px;right:5px;top:25px}.meeting-connecting{font-size:15px}}
.meeting-camera .self-camera{left:auto;right:8px;bottom:35px;width:92px;height:74px}
@media(max-width:699px){.meeting-camera .self-camera{right:4px;bottom:28px;width:65px;height:53px}}
/* Independent meeting windows above a persistent clue deck. */
.reporting>.work-content.report-view{padding:12px 16px;overflow:auto}
.reporting .report-stage,.reporting.meeting-unshared .report-stage{display:grid;grid-template-columns:170px minmax(0,1fr) 120px;gap:12px;align-items:stretch;height:100%;min-height:230px;position:relative}
.reporting .report-stage>.meeting-camera,.reporting.meeting-unshared .report-stage>.meeting-camera{position:relative;inset:auto;width:100%;height:100%;min-height:210px;grid-column:1;grid-row:1}
.reporting .report-board{grid-column:2;grid-row:1;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);margin:0;padding:9px;min-width:0;align-self:stretch;border-radius:9px;overflow:hidden}
.reporting .report-selection{min-height:0}.reporting .report-slots{height:100%;align-items:center;margin:0}
.reporting .self-camera{position:relative;inset:auto;left:auto;right:auto;bottom:auto;grid-column:3;grid-row:1;width:100%;height:160px;align-self:start;border:1px solid #648b93;border-radius:9px;box-shadow:0 8px 22px #0003}
.reporting .self-camera.camera-off{display:grid;place-items:center;background:#243945}
.self-camera.camera-off>svg{width:43px;height:43px;color:#aac2cc}
.self-camera.camera-off.voice-typing::before,.self-camera.camera-off.voice-typing::after{content:'';position:absolute;left:50%;top:50%;width:min(72px,70%);aspect-ratio:1;border:6px solid #a9e6c4;border-radius:50%;pointer-events:none;transform:translate(-50%,-50%) scale(.75);opacity:0;animation:camera-voice-wave 1.5s ease-out infinite}
.self-camera.camera-off.voice-typing::after{animation-delay:-.75s}
.self-camera.camera-off.voice-typing>svg{color:#d9ffe9;filter:drop-shadow(0 0 6px #a9e6c480)}
@keyframes camera-voice-wave{0%{transform:translate(-50%,-50%) scale(.75);opacity:.3}100%{transform:translate(-50%,-50%) scale(1.45);opacity:0}}
@media(prefers-reduced-motion:reduce){.self-camera.camera-off.voice-typing::before,.self-camera.camera-off.voice-typing::after{animation:none;transform:translate(-50%,-50%);opacity:.6}.self-camera.camera-off.voice-typing::after{display:none}}
.reduce-motion .self-camera.camera-off.voice-typing::before{animation:none;transform:translate(-50%,-50%);opacity:.6}
.reduce-motion .self-camera.camera-off.voice-typing::after{display:none}
.reporting .self-camera img{top:-10%;left:-50%;width:200%;height:auto;transform:none}
.reporting.meeting-unshared .report-stage{grid-template-columns:minmax(0,1fr) 140px}
.reporting.meeting-unshared .report-stage>.meeting-camera{grid-column:1}
.reporting.meeting-unshared .self-camera{grid-column:2}
.reporting.meeting-unshared>.clue-drawer{display:block}
.meeting-bottom{order:1;flex:0 0 auto;display:grid;grid-template-columns:minmax(0,1fr) minmax(310px,.95fr);gap:12px;padding:0 16px 12px;align-items:stretch}
.reporting .meeting-bottom>.report-conversation{padding:0;margin:0;position:relative;min-width:0}
.reporting .meeting-bottom .conversation-window{height:100%;margin:0;border:1px solid #8eb7bd88;border-radius:9px;background:#152c3cbd;box-shadow:0 7px 20px #0003}
.reporting .meeting-bottom .report-request{min-height:92px;font-size:15px}
.meeting-command-panel{display:flex;flex-direction:column;justify-content:space-between;gap:8px;min-width:0}
.reporting .meeting-command-panel .report-buttons{display:flex;flex-direction:row;gap:7px;padding:0;margin:0}
.reporting .meeting-command-panel .report-buttons>span{display:none}
.reporting .meeting-command-panel .report-buttons button{flex:1;min-width:0;min-height:46px;width:auto;padding:7px 5px;font-size:12px;gap:4px}
.reporting .meeting-command-panel .meeting-controls{flex:0 0 auto;justify-content:flex-end;padding:7px 9px;border:1px solid #54717a;border-radius:9px;background:#172c39;box-shadow:0 5px 15px #0002}
.reporting[data-meeting-phase=connecting]>.meeting-bottom{visibility:hidden}
.reporting[data-meeting-phase=video] .meeting-bottom .report-conversation{visibility:hidden;display:block}
.reporting .meeting-bottom .report-buttons .warning{font-size:10px}
.reporting>.clue-drawer{order:3}
[data-meeting-window]{transform-origin:top left}
@media(min-width:700px) and (max-height:800px){.reporting .report-stage{grid-template-columns:125px minmax(0,1fr) 95px;min-height:210px;gap:9px}.reporting .self-camera{height:120px}.reporting .meeting-bottom .report-request{font-size:14px;min-height:72px}.meeting-bottom{padding:0 12px 8px;gap:9px;grid-template-columns:minmax(0,1fr) minmax(300px,1fr)}.reporting .meeting-command-panel .report-buttons button{font-size:11px;min-height:38px}.reporting .meeting-command-panel .meeting-controls{padding:4px 7px}}
@media(max-width:699px){.reporting>.work-content.report-view{padding:8px}.reporting .report-stage{grid-template-columns:82px minmax(0,1fr) 65px;gap:6px;min-height:215px}.reporting .report-stage>.meeting-camera{min-height:185px}.reporting .self-camera{height:88px}.self-camera.camera-off>svg{width:29px;height:29px}.self-camera span{font-size:8px;padding:3px}.reporting.meeting-unshared .report-stage{grid-template-columns:minmax(0,1fr) 80px;min-height:215px}.meeting-bottom{padding:0 8px 8px;gap:7px;grid-template-columns:minmax(0,1fr) 182px}.reporting .meeting-bottom .report-request{font-size:12px;min-height:112px;line-height:1.6;padding:5px 8px}.reporting .meeting-bottom .conversation-person{padding:6px 8px 0}.reporting .meeting-bottom .conversation-person h2{font-size:14px}.reporting .meeting-command-panel .report-buttons{gap:4px}.reporting .meeting-command-panel .report-buttons button{font-size:10px;min-height:46px;padding:5px 2px}.reporting .meeting-command-panel .meeting-controls{gap:4px;padding:5px;justify-content:space-between}.meeting-control{width:28px;height:30px}.meeting-control svg{width:17px;height:17px}.reporting .share-header{padding-bottom:5px}.reporting .share-indicator{font-size:9px}}
/* The clue deck belongs to a separate app, including while the call connects. */
.reporting{--meeting-deck-height:320px}
.reporting>.meeting-connecting{bottom:var(--meeting-deck-height)}
.reporting[data-meeting-phase=connecting]>.clue-drawer{visibility:visible}
.reporting>.clue-drawer{border-top:1px solid #617487;border-radius:9px 9px 0 0;background:#162332;box-shadow:0 -7px 0 #101722}
.reporting .fixed-deck-label{justify-content:flex-start;padding:0 16px;background:#253745;color:#d1dde8}
.reporting .fixed-deck-label>span{font:11px var(--mono);padding:1px 7px;background:#3c5063;border-radius:4px;color:#d4e1eb}
@media(min-width:700px) and (max-height:800px){.reporting{--meeting-deck-height:270px}}
@media(max-width:699px){.reporting{--meeting-deck-height:270px}}
.reporting .meeting-command-panel .report-buttons button{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;text-align:left;gap:6px;padding:8px}
.report-buttons button>span{min-width:0;overflow-wrap:anywhere}
.report-buttons button>small{font:700 12px var(--mono);justify-self:end;white-space:nowrap;opacity:.85}
.meeting-response{display:flex;align-items:center;gap:7px}
.meeting-response .raised-hand-label{font-size:11px;font-weight:500;line-height:1.5;white-space:nowrap}
.clue-drawer:not(.clue-acquisition-stage){background:#eef3ee;border-top-color:#729782}
.clue-drawer:not(.clue-acquisition-stage) #shared-clue-deck{background-color:#f3f6f1;background-image:linear-gradient(#ccd9d0 1px,transparent 1px),linear-gradient(90deg,#ccd9d0 1px,transparent 1px);background-size:24px 24px}
.clue-drawer .deck-handle,.reporting .fixed-deck-label{background:#216547;color:#f1fff6;justify-content:flex-start;padding:0 16px}
.reporting .fixed-deck-label>span{background:#ffffff25;color:#f1fff6}
@media(max-width:699px){.reporting .meeting-command-panel .report-buttons button{padding:5px 3px;gap:3px}.report-buttons button>small{font-size:9px}.meeting-response .raised-hand-label{font-size:10px}}
/* Participant actions belong below the wider self-camera tile. */
.reporting .report-stage{grid-template-columns:155px minmax(0,1fr) 190px}
.self-panel{grid-column:3;grid-row:1;position:relative;z-index:2;display:flex;flex-direction:column;gap:10px;min-width:0;align-self:start}
.reporting .self-panel .self-camera{width:100%;height:155px;flex:none}
.reporting .self-panel .report-buttons{display:flex;flex-direction:column;gap:8px;padding:0;margin:0;width:100%}
.reporting .self-panel .report-buttons>span{display:none}
.reporting .self-panel .report-buttons button{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:7px;padding:10px;min-height:42px;width:100%;text-align:left;font-size:13px;flex:none}
.reporting .self-panel .report-buttons .warning{margin:0;font-size:11px}
.meeting-bottom{grid-template-columns:minmax(0,1fr) 250px;align-items:end}
.reporting .meeting-command-panel .meeting-controls{background:transparent;border:0;box-shadow:none;padding:5px 0;gap:10px}
.meeting-control,.meeting-control.on{background:transparent;border:0;box-shadow:none;color:#d8e8ed}
.meeting-control.on{color:#b9edce}.meeting-control:hover{background:#ffffff14}
.reporting.meeting-unshared>.work-content.report-view{position:static;z-index:auto}
.reporting.meeting-unshared .report-stage{position:static;grid-template-columns:minmax(0,1fr) 190px;min-height:230px}
.reporting.meeting-unshared .report-stage>.meeting-camera{position:absolute;inset:0 0 var(--meeting-deck-height) 0;width:100%;height:auto;min-height:0;z-index:0;border:0;border-radius:0;box-shadow:none}
.reporting.meeting-unshared .self-panel{grid-column:2;z-index:2}
.reporting.meeting-unshared>.meeting-bottom{position:relative;z-index:2}
.reporting.meeting-unshared>.clue-drawer{position:relative;z-index:3}
.knowledge.panel{background:#263746;border-color:#465c70;box-shadow:0 3px 12px #0002}
.knowledge .section-label,.knowledge .stat>div:first-child{color:#d0e1eb}
@media(min-width:700px) and (max-height:800px){.reporting .report-stage{grid-template-columns:110px minmax(0,1fr) 165px}.reporting .self-panel .self-camera{height:125px}.reporting .self-panel .report-buttons{gap:6px}.reporting .self-panel .report-buttons button{min-height:35px;padding:7px;font-size:12px}.reporting.meeting-unshared .report-stage{grid-template-columns:minmax(0,1fr) 165px}.meeting-bottom{grid-template-columns:minmax(0,1fr) 235px}}
@media(max-width:699px){.reporting .report-stage{grid-template-columns:70px minmax(0,1fr) 110px;min-height:235px}.reporting .self-panel .self-camera{height:90px}.self-panel{gap:7px}.reporting .self-panel .report-buttons{gap:5px}.reporting .self-panel .report-buttons button{min-height:37px;padding:6px;font-size:10px;gap:4px}.reporting.meeting-unshared .report-stage{grid-template-columns:minmax(0,1fr) 110px}.meeting-bottom{grid-template-columns:minmax(0,1fr) 175px}.reporting .meeting-command-panel .meeting-controls{gap:5px}.reporting .self-panel .report-buttons button>small{font-size:9px}}
/* Individual controls keep their own backgrounds; the control area stays clear. */
.meeting-control{background:#253d49;border:1px solid #527078;color:#d0e5e9;box-shadow:0 2px 5px #0002}
.meeting-control.on{background:#3c6259;border:1px solid #80b19b;color:#d9f5e4}
.meeting-control:hover{background:#3c5663}
.self-camera .meeting-response{top:7px;right:7px;padding:4px 7px;font-size:11px;z-index:4}
.meeting-reaction-float{position:absolute;left:22px;bottom:calc(var(--meeting-deck-height) + 14px);z-index:7;pointer-events:none;font-size:42px;line-height:1;filter:drop-shadow(0 3px 8px #0006);animation:meeting-reaction-rise 1.8s ease-out both}
@keyframes meeting-reaction-rise{0%{opacity:0;transform:translate(0,12px) scale(.8)}12%{opacity:1;transform:translate(3px,-10px) scale(1)}70%{opacity:1}100%{opacity:0;transform:translate(28px,-220px) scale(1.15)}}
@media(max-width:699px){.self-camera .meeting-response{top:4px;right:4px;padding:3px 4px}.self-camera .raised-hand-label{font-size:9px}.meeting-reaction-float{left:14px;font-size:34px}}
.self-camera .raised-hand-label{position:static;display:inline;padding:0;background:none;color:inherit}
/* Shared notes, participant gallery, and conversation inside the meeting. */
.reporting .report-board{background:#f7f2e9;border:1px solid #b7a5ca;border-top:4px solid #855ba7;color:#3d354b;box-shadow:0 7px 20px #0003}
.reporting .report-board .share-header{background:#765396;margin:-9px -9px 0;padding:8px 10px;color:#efe3fa;border-bottom:1px solid #b6a1cc}
.reporting .report-board .share-indicator{color:#fff3ff}
.reporting .report-selection{background-color:#fcf9f2;background-image:linear-gradient(#d6cfe180 1px,transparent 1px);background-size:100% 25px;border-left:3px solid #d6a9bd;padding-left:8px}
.reporting .report-slot{background:#f3ecfa55;border-color:#bbaec8}
.reporting .report-slot>.slot-number{color:#8b749c}
.reporting .report-slot>span{color:#7c6a88}
.share-submit{display:flex;justify-content:flex-end;padding-top:8px;border-top:1px solid #c8b9d6}
.reporting .share-submit>button{display:grid;grid-template-columns:1fr auto;gap:14px;min-width:170px;min-height:37px;padding:7px 12px;background:#79529b;border-color:#8e6aae;color:white;text-align:left;font-size:12px}
.reporting .report-board{grid-template-rows:auto minmax(0,1fr) auto}
.reporting .meeting-command-panel .report-buttons{display:flex;flex-direction:column;gap:6px;padding:0;margin:0}
.reporting .meeting-command-panel .report-buttons>span{display:none}
.reporting .meeting-command-panel .report-buttons button{flex:none;min-height:36px;font-size:12px}
.reporting .self-panel{max-height:100%;overflow-y:auto;scrollbar-width:thin;gap:8px}
.reporting .self-panel .self-camera{height:110px;flex-shrink:0}
.participant-camera{position:relative;height:110px;min-height:110px;overflow:hidden;flex-shrink:0;background:#a2aaa0 var(--meeting-room,url('./assets/04_room.png')) center/cover;border:1px solid #688b96;border-radius:9px}
.participant-camera>img{position:absolute;width:185%;max-width:none;height:auto;left:-42%;top:-10%}
.participant-camera>span{position:absolute;bottom:0;left:0;right:0;padding:4px 7px;background:#132b36c9;color:white;font-size:11px}
.participant-camera.speaking,.self-camera.speaking{border:2px solid #b0e0b6;box-shadow:0 0 0 1px #b0e0b655}
.meeting-speaker{display:flex;justify-content:space-between;align-items:center;padding:8px 12px 0;gap:10px}.meeting-speaker strong{font-size:14px}.meeting-speaker small{color:#9db3c0;font:9px var(--mono)}
.meeting-dialogue{font-size:14px;line-height:1.85;padding:7px 12px;min-height:70px;max-height:135px;overflow-y:auto;white-space:pre-wrap}
.meeting-dialogue.thought{color:#c9c0dc}
.meeting-dialogue-actions{display:flex;justify-content:flex-end;gap:7px;padding:4px 10px 8px}.meeting-dialogue-actions .primary{min-height:29px;padding:4px 14px;font-size:11px}.meeting-dialogue-actions .text-button{font-size:10px}
.report-conversation .report-accepted{font-size:14px;padding:8px 12px;border-radius:8px 8px 0 0}.report-accepted.receipt-static{animation:none}
@media(min-width:700px) and (max-height:800px){.reporting .self-panel .self-camera,.participant-camera{height:85px;min-height:85px}.meeting-dialogue{font-size:13px;min-height:55px;max-height:95px}.reporting .share-submit>button{min-width:140px;min-height:31px;padding:5px 9px;font-size:11px}}
@media(max-width:699px){.reporting .self-panel .self-camera,.participant-camera{height:75px;min-height:75px}.participant-camera>span{font-size:9px}.meeting-dialogue{font-size:12px;min-height:90px;max-height:150px;padding:5px 8px}.meeting-speaker{padding:6px 8px 0}.meeting-speaker strong{font-size:12px}.meeting-dialogue-actions{padding:4px 6px 6px;gap:3px}.meeting-dialogue-actions .primary{padding:4px 8px}.meeting-dialogue-actions .text-button{font-size:9px;padding:3px}.reporting .share-submit>button{min-width:0;width:100%;font-size:10px;padding:5px;gap:5px}.report-conversation .report-accepted{font-size:12px;padding:6px 8px}.reporting .meeting-command-panel .report-buttons button{font-size:11px}}
.reporting .report-board .report-slot:not(.occupied){background:#eee5f566}
.reporting .self-panel{height:100%;max-height:100%;display:grid;grid-auto-rows:minmax(0,1fr);align-self:stretch;overflow:hidden}
.reporting .self-panel>.self-camera,.reporting .self-panel>.participant-camera{height:100%;min-height:0;align-self:stretch}
.reporting .self-panel .participant-camera>img{height:350%;width:auto;left:50%;top:-12%;transform:translateX(-50%)}
.reporting .self-panel .self-camera>img{height:320%;width:auto;left:50%;top:-12%;transform:translateX(-50%)}
.reporting .report-selection{overflow:auto}
.share-submit{position:relative;z-index:2;background:#f7f2e9}
.reporting .self-panel{grid-template-columns:minmax(0,1fr)}
.reporting .self-panel>.self-camera,.reporting .self-panel>.participant-camera{grid-column:1;grid-row:auto}

.clock-colon{display:inline-block}
.game-clock{white-space:nowrap;flex-shrink:0}
.timer-running .clock-colon{animation:clock-tick 1s steps(1,end) infinite}
@keyframes clock-tick{50%{opacity:0}}
.deck-toolbar{display:flex;align-items:center;background:#216547;color:#f1fff6;height:36px;flex-shrink:0}
.deck-toolbar .deck-handle{flex:1;min-width:0;width:auto;white-space:nowrap}
.deck-sizes{display:flex;align-items:center;gap:3px;padding:0 7px;margin-left:auto}
.deck-sizes button{display:flex;align-items:center;justify-content:center;gap:3px;min-width:38px;height:27px;padding:3px 6px;border:1px solid #ffffff40;border-radius:3px;background:transparent;color:#e3f3ea;font-size:10px}
.deck-sizes button svg{width:15px;height:15px}
.deck-sizes button.active{background:#e0eee2;color:#21573e;border-color:#e0eee2}
.deck-sizes button:hover{outline:1px solid #e0eee2}
.work-area{--deck-medium-height:320px}
.work-area>.clue-drawer.deck-medium{height:var(--deck-medium-height);flex-basis:var(--deck-medium-height)}
.clue-drawer.deck-medium #shared-clue-deck{height:calc(var(--deck-medium-height) - 36px)}
.clue-drawer.deck-medium .evidence-grid>.evidence-card{height:calc(var(--deck-medium-height) - 58px);min-height:0}
.reporting .deck-sizes{display:none}
@media(max-width:699px),(min-width:700px) and (max-height:800px){.work-area{--deck-medium-height:270px}}
.reporting[data-deck-size=small]{--meeting-deck-height:118px}
.work-area>.clue-drawer.deck-small{height:118px;flex-basis:118px}
.reporting>.clue-drawer{visibility:visible!important}
.work-area>.clue-drawer.deck-large{position:fixed;inset:0;z-index:50;width:100%;height:100dvh;max-height:none;display:flex;flex-direction:column;overflow:hidden;border:0;border-radius:0;box-shadow:none;visibility:visible}
.clue-drawer.deck-large>.deck-toolbar{height:44px;flex-basis:44px}
.clue-drawer.deck-large #shared-clue-deck{height:auto;flex:1;min-height:0;overflow:hidden;padding:12px}
.clue-drawer.deck-large #shared-clue-deck .evidence-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(210px,100%),1fr));grid-auto-rows:var(--clue-height,280px);align-content:start;gap:14px;padding:3px 3px 16px;overflow-x:hidden;overflow-y:auto;height:100%;width:100%}
.clue-drawer.deck-large .evidence-grid>.evidence-card{width:100%;min-width:0;height:100%;min-height:0;cursor:grab;touch-action:pan-y}
.clue-drawer.deck-large .evidence-card.dragging{opacity:.4}
.clue-drawer.deck-large .evidence-card.drop-target{outline:3px solid #216547;outline-offset:-3px}
.clue-drawer.deck-large .evidence-grid>.empty{grid-column:1/-1}
.reporting[data-meeting-phase=lobby]>.work-content,
.reporting[data-meeting-phase=lobby]>.meeting-bottom{visibility:hidden}
.meeting-lobby{position:absolute;inset:0 0 var(--meeting-deck-height);z-index:12;display:grid;place-items:center;background:#edf0f3}
.meeting-lobby .primary{background:#6264a7;border-color:#6264a7;color:#fff;padding:14px 28px;font-size:16px;border-radius:5px}
.reporting>.meeting-connecting{background:#eee;color:#505050;display:flex;align-items:flex-start;justify-content:center;padding:0 24px;text-align:center;box-sizing:border-box}
.reporting>.meeting-connecting p{position:absolute;top:20%;left:24px;right:24px}
.meeting-connecting p{font-size:16px;line-height:1.8;margin:0}
.reporting .report-board{grid-template-columns:minmax(0,1fr) 88px;grid-template-rows:auto minmax(0,1fr);gap:10px}
.reporting .report-board>.share-header{grid-column:1/-1}
.reporting .report-board>.report-selection{grid-column:1;grid-row:2}
.reporting .share-submit{grid-column:2;grid-row:2;align-self:center;padding:0;border:0;background:transparent}
.reporting .share-submit>button{width:88px;height:88px;min-width:0;min-height:0;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:8px;padding:8px;border-radius:4px;font-size:14px;text-align:center}
.reporting .share-submit>button small{font:700 13px var(--mono)}
.workspace-mode #app{height:100svh;display:flex;flex-direction:column;overflow:hidden}
.workspace-mode .topbar{height:52px;flex:0 0 52px;padding:0 24px}
.workspace-mode .brand{font-size:14px;gap:9px}
.workspace-mode .brand-mark{width:29px;height:30px}
.workspace-mode .brand small{font-size:7px;margin-top:0}
.workspace-mode .icon-button{padding:5px}
.workspace-mode .casebar{min-height:60px;flex:0 0 60px;padding:5px 24px;gap:10px}
.workspace-mode .time-status>strong{font-size:30px}
.workspace-mode .desktop{height:auto;min-height:0;flex:1;width:100%;margin:0 auto}
/* Keep the message frame steady while text types, wraps, or changes speaker. */
.conversation>.conversation-window{width:100%;max-width:1280px;height:clamp(260px,36svh,340px);display:flex;flex-direction:column}
.conversation>.conversation-window>.dialogue-text{flex:1;min-height:0;max-height:none;overflow-y:auto}
.conversation>.conversation-window>:not(.dialogue-text){flex-shrink:0}
.reporting .meeting-bottom>.report-conversation{height:180px}
.reporting .meeting-bottom .conversation-window{height:100%;display:flex;flex-direction:column}
.reporting .meeting-bottom .conversation-window>:not(.report-request):not(.meeting-dialogue){flex-shrink:0}
.reporting .meeting-bottom .report-request,.reporting .meeting-bottom .meeting-dialogue{flex:1;min-height:0;max-height:none;overflow-y:auto;overflow-wrap:anywhere}
@media(min-width:700px) and (max-height:800px){.reporting .meeting-bottom>.report-conversation{height:160px}}
@media(max-width:699px){
  .reporting .meeting-bottom>.report-conversation{height:190px}
  .workspace-mode .topbar{height:44px;flex-basis:44px;padding:0 16px}
  .workspace-mode .brand{font-size:12px}
  .workspace-mode .brand-mark{width:25px;height:27px}
  .workspace-mode .brand small{font-size:6px}
  .workspace-mode .casebar{flex-basis:auto;min-height:0;padding:7px 16px 0;gap:5px}
  .workspace-mode .mobile-tabs{flex-shrink:0;padding:4px 16px}
  .workspace-mode.report-mode .desktop{height:auto}
  .casebar .case-actions{flex-direction:column-reverse;align-items:stretch;gap:6px}
  .case-actions .time-status{flex:none;width:100%;flex-wrap:nowrap}
  .case-actions .time-status>strong{font-size:26px}
  .case-actions .time-status>span{white-space:nowrap}
  .case-actions .browser-tabs{width:100%;padding:3px 0 0;align-self:auto}
  .case-actions .browser-tabs button{flex:1;min-width:0;padding:8px 5px;gap:5px;font-size:11px;white-space:nowrap}
  .case-actions .browser-tabs svg{width:13px;height:13px;flex-shrink:0}
  .reporting .report-board{grid-template-columns:minmax(0,1fr) 57px;gap:5px}
  .reporting .share-submit>button{width:57px;height:57px;padding:3px;font-size:10px;gap:5px}
  .reporting .share-submit>button small{font-size:10px}
}

/* Three-line clues leave more room for investigation and the call. */
.work-area{--clue-height:176px;--deck-medium-height:234px;--meeting-deck-height:var(--deck-medium-height)}
:is(.clue-drawer,.report-selection) .evidence-card{height:var(--clue-height,176px);min-height:0;padding:10px}
:is(.clue-drawer,.report-selection) .evidence-card h3{height:40px;min-height:40px;font-size:13px;line-height:20px;padding-bottom:0}
:is(.clue-drawer,.report-selection) .evidence-top{margin-top:6px;flex-shrink:0;line-height:18px}
:is(.clue-drawer,.report-selection) .evidence-card>p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;overflow-wrap:anywhere;font-size:14px;line-height:21px;height:63px;min-height:63px;margin-top:8px;margin-bottom:0;flex-shrink:0}
.reporting .meeting-bottom .report-request,.reporting .meeting-bottom .meeting-dialogue{font-size:20px;line-height:1.65}
.reporting .meeting-speaker strong,.reporting .meeting-bottom .conversation-person h2{font-size:18px}
@media(min-width:700px) and (max-height:800px){
  .work-area{--clue-height:160px;--deck-medium-height:218px}
  :is(.clue-drawer,.report-selection) .evidence-card{padding:8px}
  :is(.clue-drawer,.report-selection) .evidence-top{margin-top:4px}
  :is(.clue-drawer,.report-selection) .evidence-card>p{font-size:13px;line-height:20px;height:60px;min-height:60px;margin-top:6px}
  .reporting .meeting-bottom .report-request,.reporting .meeting-bottom .meeting-dialogue{font-size:18px}
}
@media(max-width:699px){
  .work-area{--clue-height:160px;--deck-medium-height:218px}
  :is(.clue-drawer,.report-selection) .evidence-card{padding:8px}
  :is(.clue-drawer,.report-selection) .evidence-top{margin-top:4px}
  :is(.clue-drawer,.report-selection) .evidence-card>p{font-size:13px;line-height:20px;height:60px;min-height:60px;margin-top:6px}
  .reporting .meeting-bottom .report-request,.reporting .meeting-bottom .meeting-dialogue{font-size:16px}
  .reporting .meeting-speaker strong,.reporting .meeting-bottom .conversation-person h2{font-size:15px}
}

/* The message spans the call; controls sit at the bottom of the shared view. */
.reporting>.meeting-bottom{position:relative;display:block;padding-top:0}
.reporting .meeting-bottom>.report-conversation{width:100%}
.reporting .meeting-bottom>.report-conversation{height:213px}
.reporting .meeting-bottom .conversation-window{width:100%;max-width:none}
.reporting .report-stage>.meeting-command-panel{position:relative;grid-column:2;grid-row:1;align-self:end;justify-self:center;z-index:6;width:max-content;max-width:calc(100% - 16px);margin-bottom:12px}
.reporting.meeting-unshared .report-stage>.meeting-command-panel{grid-column:1}
.reporting .report-board{padding-bottom:52px}
.reporting .report-selection{align-self:stretch;display:flex;flex-direction:column;padding-top:18px;padding-bottom:18px;overflow:hidden}
.reporting .report-selection .report-slots{flex:1;min-height:0;height:auto;align-items:safe center;padding-top:0;padding-bottom:8px;overflow-x:auto;overflow-y:hidden}
.reporting .self-panel{padding:8px 8px 8px 12px;border:0;background:transparent;gap:8px}
.reporting .meeting-command-panel .meeting-controls{padding:0;gap:10px}
.chapter-picker{display:flex;flex-direction:column;gap:6px;margin:0 0 20px}
.chapter-picker a{padding:7px 12px;border:1px solid #42565e;border-radius:5px;color:#b8ccd0;text-decoration:none;font-size:12px}
.chapter-picker a[aria-current=page]{border-color:#a8ccbd;background:#254039;color:#e4f6ec}
:is(.dialogue-text,.meeting-dialogue,.report-request,.history-inline) strong{font-size:1.35em;font-weight:900;line-height:1.4;color:#ffdda2;text-shadow:0 0 10px #ffcf8526}
.history-inline strong:first-child{font-size:inherit;color:inherit;text-shadow:none}
.memo>h3{font-size:13px;line-height:1.7;margin-bottom:12px}
.memo>p:not(.eyebrow)+p{margin-top:12px}
.reporting.meeting-unshared .meeting-bottom>.report-conversation{height:auto}
.reporting.meeting-unshared .meeting-bottom .conversation-window{height:auto;padding-bottom:46px}
.reporting.meeting-unshared .meeting-bottom .report-request,.reporting.meeting-unshared .meeting-bottom .meeting-dialogue{flex:none;box-sizing:content-box;height:2lh;min-height:2lh;max-height:2lh;padding-top:7px;padding-bottom:7px}
.reporting.meeting-unshared .meeting-bottom>.meeting-command-panel{position:absolute;right:26px;bottom:20px;z-index:6;width:max-content;max-width:calc(100% - 32px)}
.reporting.meeting-unshared .meeting-dialogue-actions{position:absolute;bottom:8px;left:10px;justify-content:flex-start;padding:0}
.reporting .report-stage>.meeting-camera>img{height:240%;width:auto;max-width:none;left:50%;top:50%;transform:translate(-49%,-19%)}
@media(min-width:700px) and (max-height:800px){.reporting .meeting-bottom>.report-conversation{height:190px}}
@media(max-width:699px){
  .reporting .meeting-bottom>.report-conversation{height:217px}
  .reporting.meeting-unshared .meeting-bottom>.report-conversation{height:auto}
  .reporting.meeting-unshared .meeting-bottom .conversation-window{padding-bottom:78px}
  .reporting.meeting-unshared .meeting-bottom>.meeting-command-panel{right:16px;bottom:16px}
  .reporting.meeting-unshared .meeting-dialogue-actions{bottom:44px}
  .reporting .self-panel{padding:5px 4px 5px 7px;gap:6px}
  .reporting .report-stage>.meeting-command-panel{max-width:100%;margin-bottom:8px}
  .reporting .report-board{padding-bottom:44px}
  .reporting .meeting-command-panel .meeting-controls{gap:6px}
}
.ticket-briefing{height:calc(100svh - 52px);display:flex;flex-direction:column;padding:32px clamp(20px,5vw,90px) 0;background:var(--bg);overflow:hidden}
.ticket-briefing-heading{flex:none;padding-bottom:24px}.ticket-briefing-heading h1{font-size:26px;margin:8px 0}
.ticket-overview{flex:1;min-height:0;overflow:auto;border:1px solid #354c49;border-radius:5px;background:#16221f}
.ticket-overview table{width:100%;border-collapse:separate;border-spacing:0;text-align:left;font-size:13px;line-height:1.7}
.ticket-overview th,.ticket-overview td{padding:14px 18px;border-bottom:1px solid #344440;border-right:1px solid #344440;vertical-align:middle}
.ticket-overview tr>*:last-child{border-right:0;white-space:nowrap}.ticket-overview tbody tr:last-child>*{border-bottom:0}
.ticket-overview thead th{position:sticky;top:0;z-index:1;background:#24513f;color:#e1f0e8;font-size:12px;font-weight:600}
.ticket-overview tbody th{font-weight:600;min-width:190px;color:#dae7e0}.ticket-overview tbody td{color:#b5c8bf}.ticket-overview tbody tr:nth-child(even){background:#ffffff04}
.ticket-overview tbody td:first-child{font-family:var(--mono);font-size:11px;color:#7f9c8f}.ticket-overview tbody td:last-child{font-family:var(--mono);color:#c4ded0}
.ticket-briefing>footer{flex:none;display:flex;justify-content:center;padding:20px 0 24px;margin-top:24px;border-top:1px solid var(--line)}.ticket-briefing>footer .primary{min-width:240px}
@media(max-width:760px){.ticket-briefing{height:calc(100svh - 44px);padding:18px 16px 0}.ticket-briefing-heading{padding-bottom:14px}.ticket-overview table{min-width:620px;font-size:12px}.ticket-overview th,.ticket-overview td{padding:11px 12px}.ticket-briefing>footer{padding:14px 0;margin-top:16px}}
.title-page .title-actions{flex-wrap:nowrap}.title-page .title-actions>button{min-width:155px}

@media(max-width:699px){.title-page .title-actions>button{min-width:0;flex:1;padding:11px 12px}}
.title-case .case-paper{transform-origin:50% 8%;animation:case-paper-attach 750ms cubic-bezier(.2,.7,.25,1) both}
.title-case .sticky-note{transform-origin:45% 15%;animation:sticky-note-attach 700ms cubic-bezier(.2,.7,.25,1) 480ms both}
@keyframes case-paper-attach{
  0%{opacity:0;transform:translate(18px,-48px) rotate(-5deg) scale(1.09);box-shadow:22px 32px 0 #0a0f1640,0 45px 90px #0006}
  30%{opacity:1}
  72%{transform:translate(-1px,2px) rotate(.5deg) scale(.995);box-shadow:10px 13px 0 #0a0f16,0 20px 55px #0003}
  88%{transform:translate(0,-1px) rotate(-.3deg) scale(1.002)}
  100%{opacity:1;transform:translate(0,0) rotate(0) scale(1);box-shadow:14px 18px 0 #0a0f16,0 30px 80px #0004}
}
@keyframes sticky-note-attach{
  0%{opacity:0;transform:translate(35px,-45px) rotate(-17deg) scale(1.15);box-shadow:14px 22px 25px #0005}
  30%{opacity:1}
  72%{transform:translate(-2px,2px) rotate(-8deg) scale(.99);box-shadow:2px 3px 5px #0003}
  88%{transform:translate(1px,-1px) rotate(-10deg) scale(1.005)}
  100%{opacity:1;transform:translate(0,0) rotate(-9deg) scale(1);box-shadow:4px 6px 16px #0005}
}
@media(prefers-reduced-motion:reduce){.title-case .case-paper,.title-case .sticky-note{animation:none}}
.title-page{max-width:none;background-image:linear-gradient(#a8d6c61a 1px,transparent 1px),linear-gradient(90deg,#a8d6c61a 1px,transparent 1px);background-size:72px 72px;background-position:center top}
@media(min-width:1100px){.title-page{padding-left:max(45px,calc((100% - 1060px)/2));padding-right:max(45px,calc((100% - 1060px)/2))}}
.chat-unread-badge{display:inline-grid;place-items:center;min-width:18px;height:18px;padding:0 5px;margin-left:6px;border-radius:10px;background:#d4b987;color:#17212b;font:700 10px var(--mono)}
.chat-unread-divider{display:flex;align-items:center;gap:10px;color:#d4b987;font-size:10px;padding:14px 0;scroll-margin-top:10px}.chat-unread-divider:before,.chat-unread-divider:after{content:"";height:1px;flex:1;background:#d4b98780}
.mobile-tabs button.chat-notify{animation:chat-entry-notify 650ms ease-out}
@keyframes chat-entry-notify{0%,100%{box-shadow:inset 0 0 0 1px transparent}45%{background:#d4b98725;box-shadow:inset 0 0 0 1px #d4b987}}
@media(prefers-reduced-motion:reduce){.mobile-tabs button.chat-notify{animation:none}}
.title-page{position:relative;isolation:isolate}
.title-page:before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background-image:linear-gradient(#b8edda66 1px,transparent 1px),linear-gradient(90deg,#b8edda66 1px,transparent 1px);background-size:72px 72px;background-position:center top;mask-image:linear-gradient(135deg,transparent 40%,#000 49%,#000 51%,transparent 60%);mask-size:300% 300%;mask-repeat:no-repeat;animation:title-grid-sweep 12s linear infinite}
@keyframes title-grid-sweep{from{mask-position:100% 100%}to{mask-position:0% 0%}}
.chapter-picker a{transition:background-color .18s,border-color .18s,color .18s,transform .18s,box-shadow .18s}
.chapter-picker a:not([aria-current=page]):hover,.chapter-picker a:not([aria-current=page]):focus-visible{background:#34564c;border-color:#b8ddce;color:#f2fff9;transform:translateX(5px);box-shadow:inset 3px 0 #a8d6c6,0 4px 14px #0003}
.chapter-picker a:focus-visible{outline:2px solid #a8d6c6;outline-offset:3px}
.chapter-picker a:not([aria-current=page]):active{transform:translateX(3px) scale(.995)}
.chapter-picker a[aria-current=page]{cursor:default}
@media(prefers-reduced-motion:reduce){.title-page:before{animation:none;display:none}.chapter-picker a{transition:none}.chapter-picker a:hover,.chapter-picker a:focus-visible,.chapter-picker a:active{transform:none}}
.reduce-motion .title-page:before{display:none}.reduce-motion .chapter-picker a:hover,.reduce-motion .chapter-picker a:focus-visible,.reduce-motion .chapter-picker a:active{transform:none}
.action-choices{display:grid;gap:12px;margin:20px 0}.action-choices button{text-align:left;justify-content:space-between;white-space:normal}
