:root{--ink:#17191c;--muted:#6f747c;--line:#e4e6e8;--surface:#f6f7f8;--green:#19744a;--amber:#a15c05;--red:#b32b31;--blue:#386ca8}*{box-sizing:border-box}html{scroll-behavior:smooth}body{color:var(--ink);background:#fff;margin:0;font:14px/1.45 Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.shell{min-height:100vh}.sidebar{border-right:1px solid var(--line);background:#f8f8f7;flex-direction:column;width:260px;padding:25px 16px 16px;display:flex;position:fixed;inset:0 auto 0 0;overflow:auto}.brand{align-items:center;gap:11px;padding:0 8px 24px;display:flex}.mark{color:#fff;background:#17191c;border-radius:10px;place-items:center;width:34px;height:34px;font-weight:700;display:grid}.brand div,.profile div{flex-direction:column;display:flex}.brand strong{font-size:16px}.brand small,.profile small{color:var(--muted);font-size:11px}nav{flex:1}nav section{margin:5px 0 17px}nav h2{letter-spacing:.12em;text-transform:uppercase;color:#90949a;margin:0 10px 6px;font-size:9px}nav a{color:#50545a;border-radius:8px;align-items:center;gap:10px;margin:1px 0;padding:8px 10px;font-size:12px;text-decoration:none;display:flex}nav a:hover,nav a:focus-visible{color:#111;background:#eceeed;outline:none}.navicon{text-align:center;width:18px;font-size:16px}.active{font-weight:650;color:#111!important;background:#e7e8e6!important}.profile{border-top:1px solid var(--line);align-items:center;gap:9px;padding:16px 6px 0;display:flex}.profile div{flex:1}.profile button{background:0 0;border:0}.avatar{background:#dcdedb;border-radius:50%;place-items:center;width:32px;height:32px;font-size:11px;font-weight:700;display:grid}main{max-width:1500px;margin-left:260px;padding:38px 45px}header{justify-content:space-between;align-items:flex-start;margin-bottom:30px;display:flex}h1{letter-spacing:-.03em;margin:2px 0 4px;font-size:27px}header p{color:var(--muted);margin:0}.eyebrow{text-transform:uppercase;letter-spacing:.07em;font-size:11px}.header-actions{align-items:center;gap:8px;display:flex}button{font:inherit;cursor:pointer}.iconbutton{border:1px solid var(--line);background:#fff;border-radius:9px;width:38px;height:38px;font-size:18px;position:relative}.iconbutton b{background:var(--red);color:#fff;border-radius:10px;padding:0 5px;font-size:9px;position:absolute;top:-4px;right:-3px}.primary{color:#fff;background:#191b1d;border:0;border-radius:9px;padding:10px 15px;font-weight:650}.metrics{grid-template-columns:repeat(6,1fr);gap:12px;margin-bottom:16px;display:grid}.metric{border:1px solid var(--line);border-radius:12px;min-height:128px;padding:16px}.metric div{color:var(--muted);justify-content:space-between;font-size:11px;display:flex}.metric i{font-style:normal}.metric>strong{letter-spacing:-.04em;margin:16px 0 1px;font-size:28px;display:block}.metric small{color:var(--muted);font-size:10px}.metric.success{border-top:3px solid var(--green)}.metric.warning{border-top:3px solid #d49837}.metric.danger{border-top:3px solid var(--red)}.metric.info{border-top:3px solid var(--blue)}.grid{grid-template-columns:1.65fr 1fr;gap:16px;margin-bottom:16px;display:grid}.panel{border:1px solid var(--line);background:#fff;border-radius:13px;padding:20px}.panel-title{justify-content:space-between;align-items:flex-start;gap:25px;margin-bottom:15px;display:flex}.panel-title h2{margin:0 0 3px;font-size:15px}.panel-title p{color:var(--muted);margin:0;font-size:11px}.panel-title>button:not(.primary),.full{color:#555;background:0 0;border:0;font-size:11px}.site{border-top:1px solid #eceeef;align-items:center;gap:12px;padding:13px 0;display:flex}.siteicon{background:#f0f2f2;border-radius:9px;place-items:center;width:34px;height:34px;display:grid}.siteicon.success{color:var(--green);background:#edf7f1}.siteicon.warning{color:var(--amber);background:#fff7e9}.siteicon.danger{color:var(--red);background:#fff0f0}.site-name{flex-direction:column;min-width:210px;display:flex}.site-name strong{font-size:12px}.site-name small{color:var(--muted);font-size:10px}.progress{width:180px;margin-left:auto}.progress span{background:#eceeed;border-radius:8px;height:5px;display:block;overflow:hidden}.progress i{background:#303337;border-radius:8px;height:100%;display:block}.progress small{color:var(--muted);font-size:9px}.site>button{color:#888;background:0 0;border:0;font-size:20px}.alert{border-top:1px solid #eceeef;gap:10px;padding:11px 0;display:flex}.alert>b{background:#f1f1f1;border-radius:7px;place-items:center;width:25px;height:25px;display:grid}.alert strong{font-size:11px}.alert p,.alert small{color:var(--muted);margin:1px 0;font-size:10px}.alert.danger>b{color:var(--red);background:#fff0f0}.alert.warning>b{color:var(--amber);background:#fff7e9}.alert.info>b{color:var(--blue);background:#edf5fc}.full{border-top:1px solid #eceeef;width:100%;margin-top:4px;padding:13px 0 0}.wizard{background:var(--surface);padding:22px 24px}.wizard .panel-title{align-items:center}.tag{text-transform:uppercase;letter-spacing:.1em;color:var(--blue);font-size:9px}.wizard ol{margin:20px 0 0;padding:0;list-style:none;display:flex}.wizard li{color:#555;flex:1;align-items:center;gap:7px;font-size:10px;display:flex;position:relative}.wizard li:not(:last-child):after{content:"";background:#d9dcde;flex:1;height:1px;margin:0 10px}.wizard li b{background:#fff;border:1px solid #cdd0d2;border-radius:50%;place-items:center;width:24px;height:24px;font-size:9px;display:grid}footer{text-align:center;color:#8a8e93;padding:22px;font-size:9px}button:focus-visible,a:focus-visible{outline-offset:2px;outline:3px solid #7aa9dc}@media (max-width:1100px){.metrics{grid-template-columns:repeat(3,1fr)}.grid{grid-template-columns:1fr}.sidebar{width:220px}main{margin-left:220px;padding:30px 24px}}@media (max-width:760px){.sidebar{width:auto;height:auto;position:static}.sidebar nav{display:none}main{margin:0;padding:24px 16px}.metrics{grid-template-columns:repeat(2,1fr)}header{gap:20px}.header-actions .iconbutton{display:none}.wizard ol{gap:8px;display:grid}.wizard li:after{display:none}.progress{width:100px}.site-name{min-width:0}}.brand,.button-link{color:inherit;text-decoration:none}.primary.button-link{color:#fff;align-items:center;display:inline-flex}.secondary{border:1px solid var(--line);color:var(--ink);background:#fff;border-radius:9px;padding:9px 14px}.panel-title a{color:#555;font-size:11px;text-decoration:none}.section-hero{text-align:center;background:var(--surface);flex-direction:column;justify-content:center;align-items:center;min-height:430px;display:flex}.section-hero>p{max-width:510px;color:var(--muted)}.empty-icon{border:1px solid var(--line);background:#fff;border-radius:14px;place-items:center;width:52px;height:52px;font-size:24px;display:grid}.empty-actions{gap:8px;margin-top:16px;display:flex}.visually-hidden{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.workspace-header{margin-bottom:20px}.workspace-context{background:var(--surface);border:1px solid var(--line);border-radius:11px;justify-content:space-between;align-items:center;margin-bottom:14px;padding:10px 14px;display:flex}.workspace-context>div{align-items:center;gap:10px;display:flex}.workspace-context small,.workspace-context strong{display:block}.workspace-context small{color:var(--muted);text-transform:uppercase;letter-spacing:.08em;font-size:9px}.workspace-context strong{font-size:12px}.context-icon{border:1px solid var(--line);background:#fff;border-radius:8px;place-items:center;width:31px;height:31px;display:grid}.workspace-context button{color:var(--muted);background:0 0;border:0;font-size:11px}.pos-workspace{grid-template-columns:minmax(280px,.85fr) minmax(300px,.9fr) minmax(390px,1.25fr);align-items:stretch;gap:14px;display:grid}.pos-workspace>.panel,.chat-panel{min-height:650px}.count-pill,.revision-badge{border:1px solid var(--line);border-radius:20px;padding:3px 9px;font-size:10px}.revision-badge{color:var(--blue);background:#eef5fc;border-color:#d9e7f5}.dropzone{background:var(--surface);width:100%;color:var(--ink);border:1px dashed #bec3c7;border-radius:10px;justify-content:center;align-items:center;gap:9px;padding:13px;display:flex}.dropzone>b{font-size:18px;font-weight:400}.dropzone span{text-align:left;flex-direction:column;display:flex}.dropzone strong{font-size:11px}.dropzone small{color:var(--muted);font-size:9px}.document-list{margin-top:14px}.document-row{border-top:1px solid #eceeef;align-items:center;gap:9px;padding:11px 0;display:flex}.document-row>div{flex:1;min-width:0}.document-row strong,.document-row small{white-space:nowrap;text-overflow:ellipsis;display:block;overflow:hidden}.document-row strong{font-size:10px}.document-row small{color:var(--muted);font-size:9px}.file-icon{border:1px solid var(--line);width:34px;height:38px;color:var(--blue);background:#fafafa;border-radius:6px;place-items:center;font-size:7px;font-weight:750;display:grid}.file-icon.dark{color:#333}.document-row button{color:var(--muted);background:0 0;border:0}.status-dot{background:#aaa;border-radius:50%;width:7px;height:7px}.status-dot.success{background:var(--green)}.status-dot.warning{background:#d48a21}.status-dot.info{background:var(--blue)}.source-summary{border-top:1px solid var(--line);justify-content:space-between;margin-top:8px;padding-top:14px;display:flex}.source-summary span{color:var(--muted);text-align:center;font-size:8px}.source-summary b{color:var(--ink);font-size:12px;display:block}.pos-summary{background:var(--surface);border-radius:10px;align-items:center;gap:13px;padding:13px;display:flex}.pos-cover{color:#fff;background:#25272a;border-radius:5px;flex-direction:column;justify-content:center;align-items:center;width:50px;height:62px;display:flex;box-shadow:0 5px 12px #0002}.pos-cover span{font-size:14px;font-weight:750}.pos-cover small{color:#bbb;font-size:8px}.pos-summary strong{font-size:11px}.pos-summary p{color:var(--muted);margin:2px 0 6px;font-size:9px}.review-state{color:var(--amber);font-size:8px}.completion{padding:16px 0}.completion>div{justify-content:space-between;font-size:10px;display:flex}.completion>span{background:#eceeef;border-radius:5px;height:5px;margin:8px 0 3px;display:block}.completion>span i{background:var(--green);border-radius:5px;height:100%;display:block}.completion small{color:var(--muted);font-size:8px}.outputs{margin-top:0}.download{border-radius:8px;width:32px;height:32px;border:1px solid var(--line)!important;font-size:19px!important}.output-actions{gap:7px;margin-top:16px;display:flex}.output-actions button{flex:1;font-size:10px}.chat-panel{border:1px solid var(--line);background:#fff;border-radius:13px;flex-direction:column;display:flex;overflow:hidden}.chat-head{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;padding:15px 17px;display:flex}.chat-head>div{align-items:center;gap:10px;display:flex}.chat-head div div{flex-direction:column;display:flex}.chat-head strong{font-size:12px}.chat-head small{color:var(--muted);font-size:8px}.chat-head small i{background:var(--green);border-radius:50%;width:6px;height:6px;display:inline-block}.chat-head button{background:0 0;border:0}.assistant-mark,.message>span{color:#fff;background:#202225;border-radius:8px;place-items:center;width:29px;height:29px;font-size:10px;font-weight:700;display:grid}.messages{background:#fbfbfa;flex:1;max-height:440px;padding:17px;overflow:auto}.chat-notice{text-align:center;color:var(--muted);background:#f1f2f2;border-radius:20px;width:max-content;max-width:100%;margin:0 auto 17px;padding:5px 10px;font-size:8px}.message{align-items:flex-start;gap:8px;margin-bottom:18px;display:flex}.message>div{max-width:82%}.message small{color:var(--muted);font-size:8px}.message p{border:1px solid var(--line);background:#fff;border-radius:4px 11px 11px;margin:3px 0;padding:10px 11px;font-size:10px}.message.user{flex-direction:row-reverse}.message.user>span{color:#333;background:#dfe2e2;border-radius:50%}.message.user>div{text-align:right}.message.user p{color:#fff;text-align:left;background:#202225;border-radius:11px 4px 11px 11px}.typing{color:var(--muted);font-style:italic}.suggestions{border-top:1px solid var(--line);gap:5px;padding:8px 13px;display:flex;overflow:auto}.suggestions button{white-space:nowrap;border:1px solid var(--line);background:#fff;border-radius:18px;padding:5px 8px;font-size:8px}.chat-input{border:1px solid #bfc3c6;border-radius:11px;margin:0 13px 13px;padding:8px}.chat-input textarea{resize:none;width:100%;font:inherit;border:0;outline:0;font-size:10px}.chat-input>div{justify-content:space-between;align-items:center;display:flex}.chat-input button{color:var(--muted);background:0 0;border:0;font-size:8px}.chat-input .send{color:#fff;background:#1f2123;border-radius:7px;width:28px;height:28px;font-size:14px}.chat-input .send:disabled{opacity:.35;cursor:not-allowed}@media (max-width:1250px){.pos-workspace{grid-template-columns:1fr 1fr}.chat-panel{grid-column:1/-1;min-height:600px}}@media (max-width:850px){.pos-workspace{grid-template-columns:1fr}.chat-panel{grid-column:auto}.pos-workspace>.panel,.chat-panel{min-height:auto}.workspace-header{flex-direction:column;gap:15px}}.login-page{background:var(--surface);place-items:center;min-height:100vh;padding:24px;display:grid}.login-card{border:1px solid var(--line);background:#fff;border-radius:16px;gap:18px;width:min(390px,100%);padding:30px;display:grid;box-shadow:0 18px 50px #18202b12}.login-card>div p{color:var(--muted);margin:3px 0}.login-card label{gap:6px;font-size:11px;font-weight:650;display:grid}.login-card input{font:inherit;border:1px solid #cfd2d4;border-radius:9px;padding:11px}.form-error,.workspace-error{color:var(--red);background:#fff1f1;border:1px solid #f3cece;border-radius:8px;padding:9px;font-size:10px}.editor-loading{place-items:center;min-height:420px;display:grid}.editor-workspace{grid-template-columns:300px minmax(620px,1fr) 285px;align-items:start;gap:12px;display:grid}.editor-chat{flex-direction:column;height:calc(100vh - 155px);padding:0;display:flex;position:sticky;top:20px;overflow:hidden}.editor-chat .messages{max-height:none}.activity-timeline{background:#eef5fc;border:1px solid #dce9f5;border-radius:9px;gap:5px;padding:10px;font-size:9px;display:grid}.activity-timeline strong{font-size:9px}.activity-timeline span{color:#4d657b}.selection-context{color:var(--blue);margin-bottom:6px;font-size:8px;display:block}.chat-input .stop{color:var(--red);border:1px solid #efc8ca;border-radius:7px;padding:5px 8px}.message.system>span{background:var(--amber)}.message.system p{background:#fff8ed}.offline-dot{background:var(--red)!important}.document-editor{border:1px solid var(--line);background:#eceeed;border-radius:13px;min-height:720px;overflow:hidden}.editor-toolbar{border-bottom:1px solid var(--line);z-index:3;background:#fff;justify-content:space-between;align-items:center;height:48px;padding:0 12px;display:flex;position:sticky;top:0}.editor-toolbar>div{align-items:center;gap:4px;display:flex}.editor-toolbar button{background:#fff;border:1px solid #0000;border-radius:6px;min-width:29px;height:29px;font-size:10px}.editor-toolbar button:hover{border-color:var(--line);background:var(--surface)}.editor-toolbar button:disabled{opacity:.3}.editor-toolbar>div>span:not(.save-indicator){background:var(--line);width:1px;height:20px;margin:0 4px}.save-indicator{color:var(--green);padding-right:8px;font-size:8px}.save-indicator.saving{color:var(--blue)}.save-indicator.offline,.save-indicator.conflict{color:var(--red)}.document-layout{grid-template-columns:155px 1fr;align-items:start;display:grid}.document-index{max-height:calc(100vh - 205px);padding:15px 9px;position:sticky;top:48px;overflow:auto}.document-index strong{text-transform:uppercase;letter-spacing:.08em;color:var(--muted);padding:5px 7px;font-size:9px;display:block}.document-index button{text-align:left;color:#666;background:0 0;border:0;border-radius:6px;width:100%;padding:6px 7px;font-size:8px;display:block}.document-index button.selected{color:#111;background:#fff;font-weight:650}.word-page{background:#fff;width:min(700px,100% - 30px);min-height:990px;margin:20px auto;padding:72px 68px;box-shadow:0 3px 18px #15191f18}.word-page section{border-left:2px solid #0000;margin-bottom:32px;padding-left:12px;scroll-margin-top:70px}.word-page section.selected-section{border-color:#8cb4dd}.word-page h2{margin:0 0 12px;font-family:Georgia,serif;font-size:17px}.editable-block{white-space:pre-wrap;border-radius:4px;outline:none;min-height:28px;padding:4px;font-family:Georgia,serif;font-size:11px;line-height:1.65}.editable-block:hover{background:#fafafa}.editable-block:focus{background:#fff;box-shadow:0 0 0 2px #8db7e055}.editable-block.ai-block{background:#fff8de;border-left:3px solid #d69a2d}.review-panel{max-height:calc(100vh - 155px);position:sticky;top:20px;overflow:auto}.workspace-error{justify-content:space-between;gap:6px;margin-bottom:10px;display:flex}.workspace-error button{background:0 0;border:0}.patch-card{background:#fffcf3;border:1px solid #ead7a8;border-radius:10px;margin-bottom:10px;padding:12px}.patch-card>strong{margin:5px 0;font-size:10px;display:block}.patch-card>p,.patch-card small{color:var(--muted);font-size:8px}.patch-card summary{cursor:pointer;font-size:8px}.patch-card pre{background:#fff;border-radius:6px;max-height:130px;padding:7px;font-size:7px;overflow:auto}.patch-card>div{gap:5px;margin-top:10px;display:flex}.patch-card>div button{flex:1;padding:7px;font-size:9px}.empty-review{text-align:center;color:var(--muted);padding:30px 0;font-size:9px}.empty-review span{width:34px;height:34px;color:var(--green);background:#edf7f1;border-radius:50%;place-items:center;margin:auto;display:grid}.source-panel-mini{border-top:1px solid var(--line);margin-top:15px;padding-top:12px}.source-panel-mini h3{font-size:10px}.source-panel-mini p{color:var(--muted);font-size:9px}@media (max-width:1350px){.editor-workspace{grid-template-columns:270px minmax(520px,1fr)}.review-panel{grid-column:1/-1;max-height:none;position:static}.word-page{padding:55px 45px}}@media (max-width:980px){.editor-workspace{grid-template-columns:1fr}.editor-chat,.review-panel{height:auto;max-height:none;position:static}.editor-chat{min-height:520px}.document-layout{grid-template-columns:120px 1fr}}@media (max-width:700px){.document-layout{display:block}.document-index{display:flex;position:static;overflow:auto}.document-index button{min-width:130px}.word-page{width:calc(100% - 16px);padding:35px 24px}.editor-toolbar{overflow:auto}}
