:root{--bg:#fff;--surface:#fff;--soft:#f6f6f6;--ink:#242424;--muted:#888;--line:#eaeaea;--accent:#202020;--accent-soft:#ededed;--radius:16px;--shadow:0 12px 45px #00000008;--rail:62px;font-family:Inter,-apple-system,BlinkMacSystemFont,"SF Pro Display","PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);line-height:1.65;font-size:14px}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit;border:0;background:none;border-radius:9px;transition:background .18s,transform .18s}button:hover{background:var(--soft)}button:disabled{opacity:.45;cursor:wait}button:focus-visible,a:focus-visible{outline:2px solid var(--accent);outline-offset:3px}input,textarea,select{color:var(--ink);background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:10px 12px;min-width:0;max-width:100%;outline:none}input:focus,textarea:focus,select:focus{border-color:#999;box-shadow:0 0 0 3px #88888810}textarea{resize:vertical;line-height:1.8}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0}h1{font-size:30px;letter-spacing:-1px;font-weight:550}h2{font-size:19px;font-weight:600}h3{font-size:15px;font-weight:550}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex:none}button svg{vertical-align:middle}button.primary,.primary{background:var(--accent);color:#fff;padding:10px 18px;font-weight:500}.primary:hover{filter:brightness(1.12)}.wide{width:100%}.muted{color:var(--muted)}.fine{font-size:11px;color:var(--muted);line-height:1.7}.error{color:#c24442;font-size:12px;min-height:18px}.text-button{font-size:12px;padding:6px 8px;color:var(--muted)}.danger{color:#bd4a45!important}.icon-button{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;flex:none}.pill{font-size:12px;padding:6px 11px;border:1px solid var(--line);background:var(--surface);white-space:nowrap;display:inline-flex;gap:6px;align-items:center}.pill svg{width:14px;height:14px}.segmented{display:inline-flex;background:var(--soft);padding:3px;border-radius:10px;gap:2px}.segmented button{padding:5px 12px;font-size:12px;color:var(--muted)}.segmented button.active{background:var(--surface);color:var(--ink);box-shadow:0 1px 3px #0000000d}.field{display:flex;flex-direction:column;gap:7px;font-size:12px;margin-bottom:18px;color:var(--muted)}.field>input,.field>textarea,.field>select{font-size:14px;color:var(--ink);width:100%}.row{display:flex;align-items:center;gap:10px}.between{justify-content:space-between}.wrap{flex-wrap:wrap}.grow{flex:1;min-width:0}.spacer{flex:1}.stack{display:grid;gap:16px}.empty{padding:40px 20px;text-align:center;color:var(--muted)}.empty p{margin-bottom:12px}small{font-size:11px}.auth-screen{min-height:100dvh;display:grid;place-items:center;background:var(--bg);padding:30px}.auth-card{width:330px;text-align:center}.brand-mark{width:44px;height:44px;background:var(--ink);color:var(--bg);border-radius:14px;display:grid;place-items:center;font-size:22px;margin:0 auto 16px}.auth-card h1{font-size:28px;margin-bottom:4px}.auth-tabs{margin:32px 0 24px;display:flex}.auth-tabs button{flex:1;padding:7px}.auth-card form{text-align:left}.auth-card .error{margin:-7px 0 10px}.demo-login{margin:18px 0 30px}.rail{position:fixed;inset:0 auto 0 0;width:var(--rail);display:flex;align-items:center;flex-direction:column;padding:23px 0 17px;border-right:1px solid var(--line);background:var(--surface);z-index:5}.logo{font-size:23px;font-weight:650;line-height:34px;margin-bottom:42px}.rail-main{display:flex;flex-direction:column;align-items:center;gap:10px}.rail button{width:39px;height:39px;color:#858585;position:relative}.rail button.active{background:var(--accent-soft);color:var(--accent)}.rail button[data-view]::after,.rail button[data-action="projects"]::after{content:attr(title);position:absolute;left:48px;top:7px;white-space:nowrap;background:var(--ink);color:var(--bg);font-size:11px;padding:3px 8px;border-radius:5px;opacity:0;pointer-events:none}.rail button:hover::after,.rail button:focus-visible::after{opacity:1}.rail-divider{width:18px;border-top:1px solid var(--line);margin:10px}.rail .avatar{margin-top:auto;width:30px;height:30px;background:var(--soft);color:var(--ink);border-radius:50%;font-size:12px}.shell{margin-left:var(--rail)}.topbar{height:80px;display:flex;align-items:center;justify-content:space-between;padding:0 42px}.breadcrumb{display:flex;align-items:center;gap:18px}.breadcrumb strong{font-size:14px;font-weight:550}.breadcrumb span{font-size:11px;color:var(--muted);border-left:1px solid var(--line);padding-left:18px}.mode-badge{font-size:11px;color:var(--muted);padding:5px 9px}.mode-badge::before{content:'';display:inline-block;width:5px;height:5px;border-radius:50%;background:#c1c1c1;margin-right:7px;vertical-align:2px}.mode-badge.connected::before{background:#58a187}main{padding:22px 42px 40px;max-width:1800px;margin:auto}.page-heading{margin-bottom:26px;display:flex;align-items:center;gap:14px;justify-content:space-between}.page-heading h1{font-size:27px}.toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.toolbar select{border:0;padding:5px 25px 5px 8px;background:transparent;font-size:12px;max-width:210px}.record-layout{max-width:850px;margin:auto;position:relative;min-height:calc(100dvh - 165px);display:flex;flex-direction:column}.record-aside{display:none}.record-welcome{margin:clamp(30px,11vh,130px) 0 31px;text-align:center}.record-welcome h1{font-size:34px;letter-spacing:-1.4px;font-weight:500}.record-welcome p{margin-top:12px;color:var(--muted);font-size:13px}.record-welcome .subdate{margin-bottom:18px;font-size:11px;letter-spacing:1px;color:#aaa}.composer{border:1px solid var(--line);border-radius:22px;background:var(--surface);box-shadow:0 3px 16px #00000004;padding:15px 18px;margin-top:20px}.composer textarea{display:block;width:100%;border:0;box-shadow:none;background:transparent;padding:8px 0 13px;min-height:102px;max-height:220px;resize:vertical;font-size:15px}.composer-bottom{display:flex;align-items:center;gap:10px}.composer select,.composer input[type=date]{font-size:11px;border:0;background:var(--soft);padding:6px 9px;border-radius:7px;max-width:230px}.send-button{width:34px;height:34px;background:var(--accent);color:white;border-radius:50%;display:grid;place-items:center;flex:none}.send-button:hover{background:var(--accent);filter:brightness(1.25)}.composer-hint{font-size:10px;color:#aaa;text-align:center;margin-top:13px}.suggestions{display:flex;justify-content:center;gap:9px;margin-top:23px;flex-wrap:wrap}.suggestions button{font-size:11px;color:var(--muted);border:1px solid var(--line);border-radius:18px;padding:5px 12px}.chat-feed{display:flex;flex-direction:column;gap:23px;max-height:54vh;overflow:auto;padding:4px 4px 12px}.chat-bubble{max-width:88%;line-height:1.9;white-space:pre-wrap;font-size:14px;overflow-wrap:anywhere}.chat-bubble.user{background:var(--soft);border-radius:17px 17px 3px 17px;padding:11px 16px;align-self:flex-end}.chat-bubble.assistant{padding:2px 0;align-self:flex-start}.chat-meta{font-size:10px;color:var(--muted);margin-bottom:6px}.recent-link{margin:22px auto 0;display:flex;align-items:center;gap:8px;color:var(--muted);font-size:12px;padding:4px 8px}.recent-link svg{width:15px}.record-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:16px 17px;position:relative;min-width:0;overflow-wrap:anywhere}.record-card .card-meta{font-size:10px;color:var(--muted);display:flex;align-items:center;gap:7px;min-height:22px;margin-bottom:6px}.dot{width:6px;height:6px;border-radius:50%;background:var(--muted);display:inline-block;flex:none}.record-card .record-title{font-size:13px;font-weight:450;line-height:1.75;display:block;text-align:left;width:100%;padding:0;background:none}.record-card .outcome{font-size:11px;color:var(--muted);margin-top:8px;line-height:1.7}.record-card .next{font-size:11px;color:var(--muted);margin-top:6px}.status{font-size:10px;white-space:nowrap;color:#738675}.status.progress{color:#a39065}.status.delayed{color:#b07866}.card-more{margin-left:auto;width:23px;height:23px;opacity:0}.record-card:hover .card-more,.record-card:focus-within .card-more{opacity:1}.card-more svg{width:16px}.cards{display:grid;gap:10px}.board-grid{display:grid;grid-template-columns:repeat(3,minmax(230px,1fr));gap:22px;align-items:start;margin-top:30px}.board-group{min-width:0}.group-head{display:flex;align-items:center;gap:9px;margin:0 2px 15px}.group-head h2{font-size:13px;font-weight:550;overflow-wrap:anywhere}.group-head small{color:var(--muted);margin-left:auto}.group-more{width:100%;font-size:11px;color:var(--muted);padding:12px 0}.board-grid.by-date{grid-template-columns:repeat(auto-fit,minmax(225px,1fr))}.board-empty{height:130px;border:1px dashed var(--line);border-radius:var(--radius);display:grid;place-items:center;color:var(--muted);font-size:11px}.report-layout{max-width:1040px;margin:auto}.report-toolbar{margin-bottom:22px;gap:10px}.report-shell{display:grid;grid-template-columns:minmax(0,1fr) 210px;gap:26px}.report-paper{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:32px;min-height:480px}.report-paper textarea{width:100%;padding:0;border:0;box-shadow:none;resize:none;font-size:14px;line-height:2;min-height:430px;background:transparent}.report-empty{height:430px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.report-empty svg{width:32px;height:32px;color:#bbb;margin-bottom:22px}.report-empty h2{font-size:18px;font-weight:450;margin-bottom:10px}.report-side{padding-top:9px}.report-side h3{font-size:11px;color:var(--muted);font-weight:400;margin-bottom:16px}.source-stat{font-size:31px;font-weight:450;letter-spacing:-1px}.source-stat span{font-size:12px;letter-spacing:0;color:var(--muted);margin-left:7px}.source-project{display:flex;align-items:center;gap:7px;font-size:11px;margin:13px 0;color:var(--muted)}.report-info{margin-top:26px;padding-top:18px;border-top:1px solid var(--line);font-size:11px;color:var(--muted);line-height:2}.report-chat{display:flex;align-items:center;gap:10px;margin-top:20px;border:1px solid var(--line);border-radius:13px;padding:10px 12px;background:var(--surface)}.report-chat input{flex:1;min-width:0;border:0;box-shadow:none;background:transparent;padding:3px 2px;font-size:12px}.report-notice{font-size:11px;padding:9px 12px;color:#9b8151;background:#faf6ec;border-radius:8px;margin-bottom:13px}.report-dialogue{margin-top:14px;font-size:11px;color:var(--muted);max-height:90px;overflow:auto;white-space:pre-wrap}.menu{position:fixed;z-index:30;background:var(--surface);border:1px solid var(--line);box-shadow:0 9px 40px #00000015;border-radius:13px;padding:6px;min-width:180px;max-width:calc(100vw - 20px)}.menu button{display:flex;align-items:center;text-align:left;width:100%;gap:12px;padding:9px 11px;font-size:12px}.menu button svg{width:15px;height:15px;color:var(--muted)}.menu hr{border:0;border-top:1px solid var(--line);margin:5px}.menu-label{font-size:10px;padding:5px 11px;color:var(--muted)}dialog{border:1px solid var(--line);border-radius:22px;background:var(--surface);color:var(--ink);padding:0;width:min(620px,calc(100vw - 32px));max-height:88dvh;box-shadow:0 35px 140px #00000025;overflow:auto}dialog::backdrop{background:#15151535;backdrop-filter:blur(5px)}.modal-head{display:flex;align-items:center;justify-content:space-between;padding:23px 25px 13px;position:sticky;top:0;background:var(--surface);z-index:2}.modal-head h2{font-size:18px;font-weight:550}#modalBody{padding:7px 25px 25px}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px;padding-top:15px;border-top:1px solid var(--line)}.modal-actions button{padding:8px 15px;font-size:12px}.list-row{display:flex;align-items:center;gap:11px;padding:13px 0;border-bottom:1px solid var(--line)}.list-row:last-child{border-bottom:0}.list-row strong{font-size:13px;font-weight:500;overflow-wrap:anywhere}.list-row p{font-size:11px;color:var(--muted);margin-top:2px}.list-row .icon-button{width:27px;height:28px;color:var(--muted)}.list-row .icon-button svg{width:16px}.theme-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.theme-card{padding:10px;border:1px solid var(--line);text-align:left;border-radius:12px}.theme-card.selected{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}.theme-preview{height:105px;background:#fff;border-radius:6px;display:flex;border:1px solid #eee;overflow:hidden;margin-bottom:10px}.theme-preview i{width:13px;border-right:1px solid #eee}.theme-preview b{height:27px;width:65%;align-self:center;margin:auto;border:1px solid #ddd;border-radius:9px;background:white}.theme-preview.apple{background:#f4f5f7}.theme-preview.apple i{background:#eaedf1}.theme-preview.apple b{height:65px;border:0;box-shadow:0 4px 10px #ccc;width:75%;border-radius:8px}.theme-preview.office{background:#f4f6f6}.theme-preview.office b{width:35%;height:65px;border-radius:2px;box-shadow:48px 0 #fff;margin-left:12px}.theme-preview.paper{background:#f6f2e8}.theme-preview.paper b{border:0;border-top:2px solid #9b6749;border-bottom:1px solid #9b6749;border-radius:0;height:60px;background:none}.theme-card strong{font-size:13px;font-weight:500}.theme-card p{font-size:10px;color:var(--muted);margin:2px 0}.upload-label{cursor:pointer;font-size:11px;color:var(--muted);padding:6px 9px;border:1px solid var(--line);border-radius:7px;display:inline-flex}.upload-label input{display:none}.details{font-size:12px;color:var(--muted);margin:14px 0}.details summary{cursor:pointer;margin-bottom:12px}.details textarea{width:100%}.check{display:flex;align-items:center;gap:7px;font-size:12px}.check input{accent-color:var(--accent)}.toast{position:fixed;bottom:26px;left:calc(50% + 20px);transform:translateX(-50%);background:var(--ink);color:var(--bg);padding:11px 16px;border-radius:12px;font-size:12px;box-shadow:0 7px 30px #00000016;z-index:50;max-width:90vw;white-space:nowrap}.toast button{color:var(--bg);text-decoration:underline;margin-left:18px;font-size:12px}.toast button:hover{background:#ffffff22}.inline-note{font-size:11px;color:var(--muted);line-height:1.8;margin:10px 0 16px}.confirm-copy{font-size:14px;line-height:1.9;margin:4px 0 20px}.busy-dot{animation:pulse 1s infinite}@keyframes pulse{50%{opacity:.25}}[hidden]{display:none!important}
body[data-theme=apple]{--bg:#f5f5f7;--surface:#fff;--soft:#f5f5f7;--ink:#1d1d1f;--muted:#86868b;--line:#e7e7eb;--accent:#0071e3;--accent-soft:#eaf3fe;--radius:22px;--shadow:0 14px 40px #00000007}.apple .x{color:inherit}body[data-theme=apple] .rail{background:#fafafcaa;backdrop-filter:blur(22px)}body[data-theme=apple] .record-layout{max-width:1200px;display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:32px;align-items:start}body[data-theme=apple] .record-main{background:#fff;border-radius:28px;padding:22px 36px 34px;box-shadow:var(--shadow)}body[data-theme=apple] .record-welcome{margin:38px 0 30px}body[data-theme=apple] .record-welcome h1{font-size:38px;font-weight:600}body[data-theme=apple] .record-aside{display:block;padding-top:9px}body[data-theme=apple] .record-aside h3{font-size:13px;margin-bottom:18px}body[data-theme=apple] .record-card{border:0;box-shadow:0 5px 16px #00000003}body[data-theme=apple] .record-main .recent-link{display:none}body[data-theme=apple] .board-group{background:#eeeff2;padding:16px;border-radius:24px}body[data-theme=apple] .report-paper{border:0;box-shadow:var(--shadow);padding:40px}
body[data-theme=office]{--bg:#f6f8f9;--surface:#fff;--soft:#edf1f3;--ink:#24323b;--muted:#81909a;--line:#dde5e9;--accent:#275c65;--accent-soft:#e3eeef;--radius:5px;--rail:56px;font-size:13px}body[data-theme=office] .topbar{height:60px;border-bottom:1px solid var(--line);background:#fff;padding:0 26px}body[data-theme=office] main{padding:24px 26px}body[data-theme=office] .record-layout{max-width:none;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(270px,.9fr);gap:28px}body[data-theme=office] .record-welcome{margin:16px 0 24px;text-align:left}body[data-theme=office] .record-welcome h1{font-size:24px;font-weight:550}body[data-theme=office] .record-welcome p{display:none}body[data-theme=office] .record-welcome .subdate{margin-bottom:8px}body[data-theme=office] .record-aside{display:block;background:var(--surface);padding:18px 20px;border:1px solid var(--line);border-radius:5px}body[data-theme=office] .record-aside h3{margin-bottom:16px;font-size:12px}body[data-theme=office] .record-main .recent-link{display:none}body[data-theme=office] .composer{border-radius:8px;box-shadow:none;margin-top:0}body[data-theme=office] .record-card{padding:12px 13px}body[data-theme=office] .cards{gap:7px}body[data-theme=office] .board-grid{gap:16px;margin-top:22px}body[data-theme=office] .board-group{border-top:2px solid #809ba2;padding-top:12px}body[data-theme=office] .card-more{opacity:1}body[data-theme=office] .report-shell{grid-template-columns:minmax(0,1fr) 180px}body[data-theme=office] .report-paper{padding:25px}body[data-theme=office] .rail{padding-top:15px}
body[data-theme=paper]{--bg:#f7f4ed;--surface:#fbf9f3;--soft:#eee9df;--ink:#3e382f;--muted:#9b9182;--line:#e4dfd3;--accent:#8b5d42;--accent-soft:#ece2d5;--radius:2px}body[data-theme=paper] h1,body[data-theme=paper] h2,body[data-theme=paper] .logo{font-family:"Songti SC","Noto Serif CJK SC",serif}body[data-theme=paper] .rail{background:var(--bg)}body[data-theme=paper] .record-layout{max-width:760px}body[data-theme=paper] .record-welcome{margin:45px 0 30px;text-align:left;border-bottom:1px solid var(--ink);padding-bottom:28px}body[data-theme=paper] .record-welcome h1{font-size:38px}body[data-theme=paper] .composer{border-radius:3px;background:var(--surface);box-shadow:none}body[data-theme=paper] .suggestions{justify-content:flex-start}body[data-theme=paper] .board-grid{display:block;max-width:1040px;margin:30px auto}body[data-theme=paper] .board-group{display:grid;grid-template-columns:180px minmax(0,1fr);gap:28px;border-top:1px solid var(--ink);padding:23px 0 30px}body[data-theme=paper] .group-head{align-items:flex-start;margin-top:8px}body[data-theme=paper] .group-head h2{font-size:19px}body[data-theme=paper] .board-group .cards{grid-template-columns:1fr 1fr;gap:0 25px}body[data-theme=paper] .record-card{border:0;border-bottom:1px solid var(--line);background:transparent;padding:12px 0 18px}body[data-theme=paper] .board-group .group-more{grid-column:2}body[data-theme=paper] .report-paper{border:0;border-top:2px solid var(--ink);border-bottom:1px solid var(--ink);background:transparent;border-radius:0;padding:30px 8px}body[data-theme=paper] .report-paper textarea{font-family:"Songti SC",serif;font-size:16px;line-height:2.15}
@media(min-width:1500px){.board-grid{gap:28px}.record-layout{max-width:900px}}@media(max-width:1050px){.topbar{padding:0 26px}main{padding:18px 26px}.board-grid{grid-template-columns:repeat(2,minmax(230px,1fr))}body[data-theme=apple] .record-layout{display:block;max-width:780px}body[data-theme=apple] .record-aside{display:none}body[data-theme=apple] .record-main .recent-link{display:flex}body[data-theme=office] .record-layout{grid-template-columns:minmax(0,1fr) 270px;gap:16px}}@media(max-width:760px){:root{--rail:50px}body[data-theme=office]{--rail:50px}.topbar,body[data-theme=office] .topbar{height:63px;padding:0 18px}.breadcrumb{gap:10px}.breadcrumb span{padding-left:10px}main,body[data-theme=office] main{padding:13px 18px 30px}.rail{padding-top:16px}.logo{margin-bottom:28px;font-size:21px}.rail button{width:34px;height:36px}.rail button svg{width:18px}.record-layout{min-height:calc(100dvh - 110px)}.record-welcome{margin:14vh 0 30px}.record-welcome h1{font-size:28px}.record-welcome p{font-size:12px}.composer{padding:12px 13px;border-radius:18px}.composer textarea{min-height:120px;font-size:14px}.composer-bottom{flex-wrap:wrap;gap:6px}.composer select{max-width:calc(100% - 6px);width:100%}.composer input[type=date]{max-width:150px}.composer-bottom .send-button{margin-left:auto}.composer-bottom .spacer{display:none}.board-grid,.board-grid.by-date{grid-template-columns:minmax(0,1fr);gap:26px}.page-heading{align-items:flex-start;gap:14px;margin-bottom:19px;flex-direction:column}.page-heading h1{font-size:24px}.toolbar{gap:7px}.toolbar select{max-width:175px}.report-shell{display:block!important}.report-side{display:none}.report-paper,body[data-theme=apple] .report-paper,body[data-theme=office] .report-paper{padding:20px}.report-paper textarea{font-size:12px;line-height:1.95;min-height:400px}.report-empty{height:370px}.report-empty h2{font-size:16px}.report-toolbar .primary{margin-left:auto;padding:8px 13px}.report-chat input{font-size:12px}.card-more{opacity:1}.chat-bubble{max-width:94%;font-size:13px}.chat-feed{max-height:49vh}.composer-hint{font-size:9px}.suggestions{gap:7px}.suggestions button{font-size:10px;padding:5px 9px}body[data-theme=apple] .record-main{padding:5px 0 20px;background:transparent;box-shadow:none}body[data-theme=apple] .record-welcome{margin:11vh 0 24px}body[data-theme=apple] .record-welcome h1{font-size:31px}body[data-theme=office] .record-layout{display:block}body[data-theme=office] .record-aside{display:none}body[data-theme=office] .record-main .recent-link{display:flex}body[data-theme=office] .record-welcome{margin:8vh 0 25px}body[data-theme=paper] .record-welcome{margin:9vh 0 23px}body[data-theme=paper] .record-welcome h1{font-size:31px}body[data-theme=paper] .board-group{display:block}body[data-theme=paper] .board-group .cards{display:grid;grid-template-columns:1fr}body[data-theme=paper] .group-head{margin-bottom:12px}body[data-theme=paper] .report-paper{padding:20px 0}.theme-grid{gap:10px}.theme-preview{height:85px}.modal-head{padding:20px 19px 10px}#modalBody{padding:8px 19px 22px}.modal-head h2{font-size:17px}.modal-actions{margin-top:17px}.toast{bottom:18px;left:50%;white-space:normal;width:max-content}.list-row{gap:8px}.list-row .row{gap:2px}.row.mobile-stack{align-items:stretch;flex-direction:column}.auth-card{width:min(330px,100%)}.rail button::after{display:none}.mode-badge{font-size:10px;padding:5px 0}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}@media print{.rail,.topbar,.report-toolbar,.report-side,.report-chat,.report-dialogue,.report-notice{display:none!important}.shell{margin:0}main{padding:0}.report-shell{display:block}.report-paper{border:0}.report-paper textarea{height:auto;overflow:visible}}

/* v2.1 — focused conversation and unified dialogs */
body{--rail:54px}body[data-theme=office]{--rail:54px}
body[data-view=record] .topbar{height:64px;padding:0 30px;border-bottom:0;background:transparent}
body[data-view=record] main{padding:0 28px 20px;height:calc(100dvh - 64px);min-height:360px}
body[data-view=record] .record-layout{display:block;width:100%;max-width:740px;height:100%;min-height:0;margin:0 auto}
body[data-view=record] .record-main{display:flex;flex-direction:column;height:100%;min-height:0;padding:0;background:transparent;border-radius:0;box-shadow:none}
.conversation-tools{display:flex;align-items:center;gap:10px;padding:8px 2px 16px;flex-shrink:0}
.day-chip{display:flex;align-items:center;gap:8px;font-size:12px;padding:7px 10px;color:var(--ink);border-radius:12px}.day-chip span{color:var(--muted)}.day-chip svg{width:15px;height:15px}.day-chip svg:last-child{width:12px;color:var(--muted)}
body[data-view=record] .chat-feed{flex:1;min-height:0;max-height:none;overflow:auto;gap:24px;padding:20px 10px 26px;scrollbar-width:thin;scrollbar-color:var(--line) transparent;overscroll-behavior:contain}
body[data-view=record] .record-welcome{margin:auto 0;text-align:center;padding:40px 0;border:0}
body[data-view=record] .record-welcome h1{font-size:30px;font-weight:550;letter-spacing:-.7px}body[data-view=record] .record-welcome p{display:block;color:var(--muted);font-size:13px;margin-top:12px}
.welcome-symbol{width:44px;height:44px;margin:0 auto 24px;color:var(--accent)}.welcome-symbol svg{width:100%;height:100%;stroke-width:1}
body[data-view=record] .composer{flex-shrink:0;margin:6px 0 0;padding:14px 16px 12px;border:1px solid var(--line);border-radius:22px;background:var(--surface);box-shadow:0 5px 24px #00000005}
body[data-view=record] .composer textarea{min-height:58px;max-height:160px;resize:none;padding:5px 2px 12px;font-size:14px;line-height:1.8}
body[data-view=record] .composer-bottom{flex-wrap:nowrap;gap:6px;min-width:0}.composer-chip{display:flex;align-items:center;gap:7px;font-size:11px;min-height:34px;padding:6px 10px;border-radius:9px;background:var(--soft);white-space:nowrap}.composer-chip svg{width:14px;height:14px;flex-shrink:0}.composer-chip span{overflow:hidden;text-overflow:ellipsis}.project-chip{max-width:55%;min-width:0}
.composer-footnote{text-align:center;font-size:10px;color:var(--muted);padding:11px 0 0;flex-shrink:0}.composer-bottom .icon-button{width:32px;height:34px}.composer-bottom .send-button{width:36px;height:36px;border-radius:50%;flex-shrink:0}
.saved-records{display:grid;gap:10px;max-width:95%;width:100%}.saved-caption{display:flex;align-items:center;gap:6px;font-size:11px;color:var(--muted);padding-left:3px}.saved-caption svg{width:13px;height:13px}
body[data-view=record] .saved-records .record-card{border:1px solid var(--line);border-radius:16px;padding:16px 18px;background:var(--surface);box-shadow:none}.saved-records .record-title{font-size:14px;line-height:1.85}.saved-records .card-more{opacity:.55}.saved-records .record-card:hover .card-more{opacity:1}
.pending-preview{border:1px solid var(--line);border-radius:16px;padding:18px;background:var(--surface)}.pending-preview strong{font-size:13px}.pending-preview p{font-size:13px;line-height:1.8;margin:14px 0 4px}.pending-preview>.primary{margin-top:18px;display:flex;align-items:center;gap:8px;font-size:12px}.pending-preview>.primary svg{width:15px;height:15px}
body[data-view=record][data-theme=apple] .composer{box-shadow:0 12px 36px #00000007;border-color:#e3e3e8;border-radius:26px}body[data-view=record][data-theme=apple] .record-welcome h1{font-size:34px;letter-spacing:-1px}
body[data-view=record][data-theme=office] .composer,body[data-view=record][data-theme=office] .record-card{border-radius:12px}body[data-view=record][data-theme=office] .record-layout{max-width:800px}body[data-view=record][data-theme=office] .chat-feed{gap:18px}
body[data-view=record][data-theme=paper] .composer,body[data-view=record][data-theme=paper] .record-card{border-radius:10px}body[data-view=record][data-theme=paper] .record-welcome h1{font-size:34px}
#modal{width:min(560px,calc(100vw - 40px));max-height:90dvh;border-radius:24px;border:1px solid color-mix(in srgb,var(--line),transparent 15%);box-shadow:0 24px 100px #11182726;overflow:auto}
#modal::backdrop{background:#18212b36;backdrop-filter:blur(6px)}
#modal .modal-head{gap:12px;padding:24px 26px 18px;border-bottom:0;background:var(--surface)}#modal .modal-head h2{flex:1;font-size:17px;font-weight:550;letter-spacing:-.2px}.modal-icon{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:12px;background:var(--soft);color:var(--accent);flex-shrink:0}.modal-icon svg{width:18px;height:18px}
#modalBody{padding:6px 26px 26px}#modal .field{gap:8px;font-size:11px;color:var(--muted);margin-bottom:20px}#modal .field>input,#modal .field>textarea,#modal .field>select{background:var(--soft);border:1px solid transparent;border-radius:11px;min-height:42px;padding:10px 12px;font-size:13px}#modal .field>textarea{line-height:1.8;resize:vertical}#modal .field>:focus{border-color:var(--accent);outline:2px solid var(--accent-soft);outline-offset:1px}#modal input[type=color]{min-height:40px}
.draft-context{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,170px);gap:14px}.draft-divider{border:0;border-top:1px solid var(--line);margin:25px 0}.status-field{border:0;padding:0;margin:0 0 18px;min-width:0}.status-field legend{font-size:11px;color:var(--muted);margin-bottom:10px}.status-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.status-options label{position:relative;cursor:pointer}.status-options input{position:absolute;opacity:0;inset:0;width:100%;height:100%;margin:0;cursor:pointer}.status-options span{display:block;text-align:center;padding:9px 5px;border:1px solid var(--line);border-radius:9px;font-size:12px}.status-options input:checked+span{border-color:var(--accent);background:var(--accent-soft);color:var(--accent)}.status-options input:focus-visible+span{outline:2px solid var(--accent);outline-offset:2px}
.work-details{border-top:1px solid var(--line);margin-top:8px;padding-top:2px}.work-details summary{font-size:12px;cursor:pointer;padding:16px 0;list-style:none}.work-details summary::before{content:'+';margin-right:10px;color:var(--muted)}.work-details[open] summary::before{content:'−'}.work-details summary span{float:right;font-size:11px;color:var(--muted)}.work-details .field:last-child{margin-bottom:8px}
#modal .modal-actions{position:sticky;bottom:-26px;background:var(--surface);margin:20px -26px -26px;padding:17px 26px;border-top:1px solid var(--line);z-index:1;align-items:center}#modal .modal-actions button{border-radius:11px;min-height:39px;padding:9px 18px;font-size:12px}#modal .modal-actions .icon-button{margin-right:auto;padding:8px;width:38px;color:var(--muted)}#modal .modal-actions .icon-button:hover{color:#b5473c;background:#b5473c0d}
#modal[data-size=compact]{width:min(380px,calc(100vw - 40px))}#modal[data-tone=danger] .modal-icon{background:#b5473c0c;color:#b5473c}#modal[data-tone=danger] .primary{background:#b5473c;color:white}#modal .confirm-copy{font-size:13px;line-height:1.9;color:var(--muted);white-space:pre-line;overflow-wrap:anywhere}
#modal[data-kind=drawer]{width:min(440px,calc(100vw - 24px));height:calc(100dvh - 24px);max-height:calc(100dvh - 24px);margin:12px 12px 12px auto;border-radius:24px}#modal[data-kind=drawer] .cards{gap:12px}.drawer-summary{font-size:11px;color:var(--muted);margin:0 0 20px}.history-feed{display:grid;gap:22px}.history-message p{white-space:pre-wrap;font-size:13px;line-height:1.85;margin-top:6px;overflow-wrap:anywhere}
.project-picker{display:grid;gap:6px}.project-option{display:flex;align-items:center;gap:12px;min-height:52px;width:100%;padding:10px 12px;border-radius:12px;text-align:left;font-size:13px}.project-option>span:nth-child(2){flex:1;min-width:0;overflow-wrap:anywhere}.project-option>svg{width:16px;height:16px;color:var(--accent);flex-shrink:0}.project-symbol{width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:10px;background:var(--soft);flex-shrink:0}.project-symbol svg{width:16px;height:16px}.new-project-option{border-top:1px solid var(--line);border-radius:0;margin-top:8px;color:var(--muted)}
.calendar-head{display:flex;justify-content:space-between;align-items:center;margin:0 0 18px;font-size:13px}.calendar-head [data-action=previous-month] svg{transform:rotate(180deg)}.calendar-week,.calendar-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;text-align:center}.calendar-week{font-size:11px;color:var(--muted);padding-bottom:12px}.calendar-days button{aspect-ratio:1;font-size:12px;border-radius:50%;padding:0}.calendar-days .today{font-weight:650;box-shadow:inset 0 0 0 1px var(--line)}.calendar-days .selected{background:var(--accent);color:var(--surface)}.date-shortcuts{display:flex;gap:10px;border-top:1px solid var(--line);margin-top:20px;padding-top:16px}.date-shortcuts button{background:var(--soft);border-radius:10px;padding:8px 16px;font-size:12px}
@media(max-width:760px){body,body[data-theme=office]{--rail:48px}body[data-view=record] .topbar{height:56px;padding:0 15px}body[data-view=record] main{padding:0 12px max(12px,env(safe-area-inset-bottom));height:calc(100dvh - 56px);min-height:300px}.conversation-tools{padding:5px 0 8px}body[data-view=record] .chat-feed{padding:12px 2px 20px;gap:18px}body[data-view=record] .record-welcome h1,body[data-view=record][data-theme] .record-welcome h1{font-size:26px}body[data-view=record] .record-welcome p{font-size:12px}body[data-view=record] .composer{padding:12px 10px 10px;border-radius:18px}body[data-view=record] .composer textarea{font-size:16px}.composer-chip{font-size:10px;padding:7px;gap:5px}.composer-chip svg{width:13px;height:13px}.project-chip{max-width:45%}body[data-view=record] .composer-bottom{gap:4px}body[data-view=record] .composer-bottom .spacer{display:block;min-width:0}.composer-bottom .icon-button{display:none}.composer-bottom .send-button{width:32px;height:32px}.saved-records{max-width:100%}.composer-footnote{font-size:9px;padding-top:9px}#modal{width:calc(100vw - 24px);max-height:92dvh;border-radius:22px}#modal .modal-head{padding:19px 20px 16px}#modalBody{padding:4px 20px 22px}#modal .modal-actions{bottom:-22px;margin:18px -20px -22px;padding:15px 20px}.draft-context{grid-template-columns:minmax(0,1fr) minmax(0,145px);gap:10px}#modal .field>input,#modal .field>textarea,#modal .field>select{font-size:16px;padding:9px}#modal .modal-head h2{font-size:16px}}
@media(max-width:380px){.draft-context{grid-template-columns:1fr}body[data-view=record] .composer-chip{padding:6px}.project-chip{max-width:42%}.composer-chip svg{display:none}.conversation-tools .day-chip{font-size:11px}body[data-view=record] .topbar{padding:0 12px}.breadcrumb #accountLabel{display:none}}
@media(hover:none){.card-more{opacity:1}}
body[data-view=record][data-theme=apple] .chat-bubble.user{background:#eaeaf0}
@media(max-width:760px){body[data-view=record] .composer-bottom .icon-button{display:inline-flex;width:28px;flex-shrink:0}}
/* v2.2: focused controls, review and voice */
.header-actions{display:flex;align-items:center;gap:8px}.auth-remember{font-size:13px;margin:2px 0 14px}.preview-accounts{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin-top:20px}.preview-accounts[hidden]{display:none}.composer-template{padding:0 22px 10px}.composer-tools .row{gap:5px}.source-original{margin-top:14px;border-top:1px solid var(--line);padding-top:12px}.source-original summary{font-size:12px;color:var(--muted);cursor:pointer}.source-original pre{white-space:pre-wrap;font:inherit;font-size:13px;line-height:1.8;color:var(--muted)}.review-summary{background:var(--surface-2,var(--bg));padding:22px;border-radius:18px;margin-bottom:18px}.review-summary strong{font-size:24px;letter-spacing:-.5px}.review-summary p{margin:7px 0}.review-note{border-left:3px solid var(--accent);padding:8px 14px;margin:15px 0}.preflight-list{max-height:310px;overflow:auto;margin:10px 0 18px}.preflight-list .list-row{gap:12px}.preflight-list strong{font-size:12px;font-weight:500;color:var(--muted)}.preflight-list p{color:var(--ink);line-height:1.65}.search-fields .row{gap:12px}.search-result{width:100%;display:flex;flex-direction:column;text-align:left;gap:7px;padding:16px 6px;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent;line-height:1.7}.search-result:hover{background:var(--soft)}.search-result strong{font-weight:500;color:var(--ink)}.search-result span{font-size:12px;color:var(--muted)}.recovery-list{max-height:54vh;overflow:auto}.recovery-row{display:flex;align-items:flex-start;gap:13px;padding:18px 4px;border-bottom:1px solid var(--line)}.recovery-row>input{margin-top:5px;flex:none}.recovery-row>div{min-width:0;flex:1}.recovery-row strong,.recovery-row .fine{display:block}.recovery-row strong{font-size:14px;line-height:1.6}.recovery-row details{margin-top:9px;font-size:12px}.recovery-row summary{cursor:pointer;color:var(--muted)}.diff-columns{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.diff-columns>div{min-width:0;background:var(--soft);padding:12px;border-radius:12px}.diff-columns pre{white-space:pre-wrap;word-break:break-word;font:inherit;line-height:1.6;max-height:200px;overflow:auto}.voice-panel{text-align:center;padding:8px 0 18px}.voice-panel>.row{justify-content:center;gap:8px;flex-wrap:wrap;margin:24px 0 12px}.voice-orb{width:76px;height:76px;border-radius:50%;display:grid;place-items:center;margin:4px auto 24px;background:var(--soft);color:var(--ink)}.voice-orb svg{width:30px;height:30px}.voice-panel #voiceStatus{white-space:pre-wrap;line-height:1.8;max-height:180px;overflow:auto}.voice-panel .primary{padding:10px 17px}.voice-panel>.row button{font-size:13px}.seg{display:flex;background:var(--soft);padding:3px;border-radius:12px;gap:3px}.seg button{border:0;background:none;padding:7px 11px;font-size:12px}.seg button.active{background:var(--surface);box-shadow:0 1px 3px #0001}.center{justify-content:center}
@media(max-width:650px){.composer-template{padding:0 15px 6px}.diff-columns{grid-template-columns:1fr}.header-actions{gap:2px}.header-actions .sync-status{max-width:85px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.review-summary strong{font-size:21px}.preflight-list .status{font-size:10px}.preview-accounts button{font-size:12px}}

body:has(#modal[open]){overflow:hidden}#modal .modal-actions{bottom:0;margin-bottom:0}.review-summary{padding:14px 18px;margin-bottom:12px}.preflight-list{max-height:29dvh}.review-summary strong{font-size:22px}

#modal[data-size=wide]{width:min(700px,calc(100vw - 32px))}.source-original p{white-space:pre-wrap;line-height:1.8;margin:10px 0 14px;padding:12px;background:var(--soft);border-radius:10px;font-size:13px}
@media(max-width:650px){.breadcrumb #accountLabel{display:none}.breadcrumb strong{white-space:nowrap}.topbar>.row{gap:3px;min-width:0}#modelBadge{display:block;max-width:108px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#syncStatus:not(.danger){display:none}#syncStatus.danger,#recoveryStatus{max-width:67px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.topbar .icon-button{width:29px}.topbar{padding-left:15px;padding-right:12px}.review-summary{padding:12px}.preflight-list{max-height:32dvh}#modal .modal-actions{bottom:0;margin-bottom:0}}
