.workspace{padding-top:34px;max-width:980px}.intro h1{font-size:30px;line-height:1.5;letter-spacing:0}.intro p{margin:10px 0 22px;font-size:13px}.shortcuts{margin-bottom:20px;gap:8px}
/* Empty homepage: fit common laptop viewports without a page scrollbar */
body:has(.workspace-home:not(.has-results)){min-height:100vh;display:flex;flex-direction:column}
body:has(.workspace-home:not(.has-results)) main{flex:1 1 auto;min-height:0}
body:has(.workspace-home:not(.has-results)) .site-footer{padding:14px 15px;line-height:1.5}
body:has(.workspace-home:not(.has-results)) .site-footer-note{margin-top:2px}
.workspace-home:not(.has-results){padding-top:18px;padding-bottom:8px;align-content:start}
.workspace-home:not(.has-results) .intro h1{font-size:26px;line-height:1.35}
.workspace-home:not(.has-results) .intro p{margin:6px 0 14px;font-size:13px}
.workspace-home:not(.has-results) .shortcuts{margin-bottom:12px;gap:6px}
.workspace-home:not(.has-results) .shortcuts a,.workspace-home:not(.has-results) .shortcuts button{padding:6px 8px}
.workspace-home:not(.has-results) .composer{padding:12px 16px}
.workspace-home:not(.has-results) .composer textarea{min-height:72px;padding-top:10px;padding-bottom:6px}
.workspace-home:not(.has-results) .composer-bottom{padding-top:10px}
.workspace-home:not(.has-results) .prompt-hints{margin-top:6px;margin-bottom:0}
.workspace-home:not(.has-results) .workspace-side{gap:8px}
.workspace-home:not(.has-results) .side-guide{padding:12px 12px 8px}
.workspace-home:not(.has-results) .side-guide ol{gap:0}
.workspace-home:not(.has-results) .side-guide span{font-size:12px;line-height:1.5}
.workspace-home:not(.has-results) .document-selection{margin-top:8px}
.document-selection{background:transparent;border:0;padding:0;margin-top:14px}.document-fields{gap:10px}.document-guidance{display:inline-block;font-size:11px;color:#80917f;margin-top:10px}.document-guidance summary{cursor:pointer}.document-guidance[open]{display:block}.document-guide{margin-top:8px;padding:10px;background:#f6f8f3;border-radius:6px}.style-choice{display:inline-flex;border:0;padding:0;margin:10px 0 0 14px;font-size:11px}.writing-preferences{margin-top:12px;padding-top:12px}.composer textarea{min-height:110px;padding-top:15px}.composer{box-shadow:0 8px 24px #203b2909}.setup-note{padding:9px 12px;font-size:12px}.prompt-hints{margin-top:10px}.history{margin-top:22px}.site-footer{padding:28px 15px}.document-workbench>.editor-tabs{gap:5px}.personal-template-row{font-size:11px}@media(max-width:700px){.workspace{padding-top:26px}.intro h1{font-size:25px}.intro p{margin-bottom:18px}.shortcuts{gap:2px}.style-choice{display:inline-flex;margin-left:12px}.composer{padding:14px}.document-fields{gap:8px}.composer textarea{min-height:100px}}
.attachment-privacy{font-size:11px;color:#7d8e77;margin:8px 0 12px}.attachment-privacy summary{cursor:pointer}.attachment-privacy p{line-height:1.8;margin:10px 0}.attachment-privacy label{display:block;margin-bottom:5px}.composer .attachment-privacy textarea{border:1px solid var(--line);border-radius:6px;padding:9px;min-height:65px;font-size:12px;line-height:1.7}
#attachmentPrivacyResult{margin-top:12px}#attachmentPrivacyResult pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:260px;overflow:auto;background:#f4f7ef;padding:12px;border-radius:6px;font-size:12px}
.fwt-progress{margin:0 0 10px}.fwt-progress-track{height:8px;background:#e4ebe6;border-radius:99px;overflow:hidden}.fwt-progress-bar{height:100%;width:0;background:#236253;border-radius:99px}.fwt-progress.is-busy .fwt-progress-bar{width:35%;animation:fwt-progress-slide 1.1s ease-in-out infinite}@keyframes fwt-progress-slide{from{transform:translateX(-120%)}to{transform:translateX(320%)}}
.fwt-privacy-dialog{width:min(720px,100%)}.fwt-privacy-preview{max-height:280px;overflow:auto;margin:0 0 12px;display:grid;gap:8px}.fwt-privacy-preview pre{white-space:pre-wrap;overflow-wrap:anywhere;margin:0;background:#f4f7ef;padding:12px;border-radius:6px;font-size:12px}.privacy-hit{background:#ffe08a;color:#3d2e00;border-radius:3px;padding:0 2px;font-weight:600}.fwt-privacy-preview strong{font-size:13px}.fwt-privacy-extra{margin:0 0 14px}.fwt-privacy-extra label{display:block;font-size:14px;font-weight:600;margin-bottom:4px}.fwt-privacy-dialog .fwt-privacy-extra p{margin:0 0 8px;font-size:12px;line-height:1.6;color:#5c6b62}.fwt-privacy-extra textarea{width:100%;min-height:88px;border:1px solid var(--line);border-radius:8px;padding:8px 10px;font-size:13px;line-height:1.6;resize:vertical}
.workspace{max-width:1180px;display:grid;grid-template-columns:280px minmax(0,1fr);column-gap:28px;align-items:start}
.workspace.has-results>.intro,.workspace.has-results>.shortcuts,.workspace.has-results>.workspace-main>.composer,.workspace.has-results>.workspace-main>.prompt-hints{display:none}.result-toolbar{display:flex;align-items:center;justify-content:space-between;margin:0 0 12px;padding:10px 12px;border:1px solid #d8e3d9;border-radius:10px;background:#fff;color:#496555;font-size:12px}.result-toolbar .text-button{color:var(--accent);cursor:pointer}.supplement-rewrite-panel{margin-top:18px;padding:16px;border:1px solid #d8e3d9;border-radius:10px;background:#f7f9f3}.supplement-rewrite-panel strong{display:block;color:#2e5e47;font-size:14px}.supplement-rewrite-panel .muted{margin:6px 0 10px}.supplement-rewrite-panel textarea{display:block;width:100%;min-height:78px;resize:vertical;border:1px solid var(--line);border-radius:7px;padding:10px;font-size:13px;line-height:1.7;background:#fff;color:var(--ink)}.supplement-rewrite-controls{display:flex;align-items:center;gap:12px;margin-top:10px;flex-wrap:wrap}.supplement-rewrite-controls .primary-button{font-size:13px;padding:9px 14px}.supplement-rewrite-status{font-size:12px;color:#5d7667}.supplement-rewrite-status.error{color:#b54737}.draft-result-preview{background:#fff;border:1px solid #e3e7e1;white-space:normal;overflow-wrap:anywhere;max-width:100%;box-shadow:0 5px 20px #23371f0a;padding:2.5cm}.draft-result-preview h1{font-family:inherit;font-weight:400;font-size:var(--draft-title-size);text-align:center;line-height:1.5;margin:0 0 24px;text-indent:0}.draft-result-preview.draft-court h1{line-height:1;margin:0 0 1em;text-indent:0}.draft-result-preview.draft-court h1,.draft-result-preview.draft-court h2{font-weight:700}.draft-result-preview .court-zhi{text-indent:var(--draft-indent,2em)}.draft-result-preview .court-name{text-indent:0}.draft-result-preview .court-sign{text-indent:0;text-align:right}.draft-result-preview h2{font-family:inherit;font-weight:400;font-size:var(--draft-section-size,1em);line-height:1.6;margin:18px 0 10px;text-indent:0}.draft-result-preview h3,.draft-result-preview h4{font-family:inherit;font-weight:400;font-size:var(--draft-section-size,1em);line-height:1.6;margin:14px 0 8px;text-indent:0}.draft-result-preview p{margin:0 0 10px;text-indent:var(--draft-indent,0)}.draft-result-preview p.court-party{text-indent:0;margin:0}.draft-result-preview table{width:100%;border-collapse:collapse;font-size:.85em;line-height:1.6;table-layout:fixed}.draft-result-preview th,.draft-result-preview td{border:1px solid #b7c4b7;padding:8px;overflow-wrap:anywhere}.draft-result-preview th{background:#eff3ed}
.workspace>.intro,.workspace>.shortcuts{grid-column:1 / -1}
.workspace-side{position:sticky;top:16px;display:flex;flex-direction:column;gap:12px}
.workspace-side .workspace-status:empty{display:none}
.workspace-main{min-width:0}
.workspace-side .workspace-status{min-height:0;padding:0}
.workspace-side .workspace-status:not(:empty){background:#fff;border:1px solid var(--line);border-radius:12px;padding:12px 14px;line-height:1.7}
.workspace-side .panel{margin:0;padding:12px;font-size:12px}
.workspace-side .history{margin:0;background:#fff;border:1px solid var(--line);border-radius:12px;padding:10px 12px 4px;overflow:visible}
.workspace-side .history summary{font-weight:600;color:#3d5348;padding-bottom:8px}
.workspace-side .history-toolbar{display:flex;justify-content:flex-end;margin:0 0 6px}
.workspace-side .history-toolbar .text-button{font-size:12px;color:var(--accent)}
.workspace-side .history-item{display:flex;align-items:flex-start;padding:5px 0;gap:8px}
.workspace-side .history-item button:first-child,.workspace-side .history-open{flex:1;min-width:0;line-height:1.45;white-space:normal;overflow:visible;text-align:left;overflow-wrap:anywhere}
.workspace-side .history-item-actions{display:flex;flex-direction:row;align-items:center;gap:6px;flex-shrink:0;padding-top:1px}
.workspace-side .history-item-actions .text-button,.workspace-side .history-item-actions .side-highlight{margin:0;font-size:12px;line-height:1.2;padding:3px 8px;border:1px solid transparent;border-radius:6px;background:transparent;cursor:pointer;white-space:nowrap}
.workspace-side .history-item-actions .text-button{color:var(--accent,#236253);border-color:#d5e4db}
.workspace-side .history-item-actions .text-button:hover{background:#eef5f0}
.workspace-side .history-item-actions .side-highlight{color:#9a3412;border-color:#edd5cb}
.workspace-side .history-item-actions .side-highlight:hover{background:#faf1ed}
.workspace-side .history-item .side-highlight{margin-top:0}
.workspace-side .history-saved{background:#e8f0eb;color:#1f6b4a}
.workspace-side .history-skill{display:inline;background:var(--accent-light,#e8f0eb);color:var(--accent,#236253);font-weight:700;border-radius:4px;padding:1px 6px;margin-right:4px}
.workspace-side .side-highlight{background:var(--accent);color:#fff;border:0;border-radius:6px;font-weight:600;padding:4px 8px;font-size:12px;flex:none}
.workspace-side #clearUsedAttachments.side-highlight{display:block;width:100%;margin-top:8px;padding:8px 12px;font-size:13px}
.workspace-side .side-highlight:hover{background:#194b3f}
.workspace-side .history-older{margin:2px 0 6px}
.workspace-side .history-older summary{font-weight:500;font-size:12px;color:#6d7f74;padding:4px 0 2px;cursor:pointer}
.writing-related-docs{display:flex;flex-wrap:wrap;gap:7px;margin-top:14px;padding-top:12px;border-top:1px solid #edf1eb;align-items:center}.writing-related-docs-title{margin:0;width:100%;font-size:12px;color:#567e4d;font-weight:600}.writing-related-docs button{border:1px solid #8caf90;background:#e9f2e4;color:#346745;border-radius:7px;font-size:12px;padding:8px 12px;cursor:pointer}.writing-related-docs button:hover{background:#dcead8}
.side-guide{background:linear-gradient(180deg,#f5faf7 0,#fff 48px);border:1px solid #e3ebe4;border-radius:14px;padding:14px 14px 8px;box-shadow:0 1px 2px rgba(24,44,57,.04)}
.side-guide h2{margin:0 0 8px;font-size:13px;font-weight:600;letter-spacing:.04em;color:#1d3a2e}
.side-guide ol{list-style:none;margin:0;padding:0;display:grid;gap:0;counter-reset:guide}
.side-guide li{display:grid;grid-template-columns:22px minmax(0,1fr);column-gap:8px;row-gap:2px;padding:8px 2px;border-top:1px solid #eef3ef;counter-increment:guide}
.side-guide li:first-child{border-top:0;padding-top:2px}
.side-guide li::before{content:counter(guide);grid-row:1 / span 2;width:22px;height:22px;border-radius:50%;background:#e7f4ec;color:#1b6b42;font-size:12px;font-weight:700;display:grid;place-items:center}
.side-guide strong{grid-column:2;font-size:13px;font-weight:600;color:#1b2e26;line-height:22px}
.side-guide span{grid-column:2;font-size:12px;line-height:1.55;color:#5d7066}
@media(max-width:900px){.workspace{grid-template-columns:1fr}.workspace-side{position:static}}
.continue-generate-panel{margin-top:14px;padding:14px 16px;border:1px solid #d8e3d9;border-radius:10px;background:#f7f9f3}.continue-generate-panel .muted{margin:0 0 10px}.continue-generate-controls{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.continue-generate-status{font-size:12px;color:#496555}.continue-generate-status.error{color:#b42318}
