/* Focused document workspace. Legal pages retain their own reading layout. */
.workspace{background:#f7f9fa;color:#192f40}
.workspace header{height:auto;min-height:80px;padding:18px max(24px,calc((100vw - 1200px)/2));gap:24px;background:#fff}
.workspace header .local,.workspace aside,.workspace .mini-demo{display:none}
.workspace header nav{margin-left:auto;gap:24px}
.workspace header nav a{color:#344b5b;font-size:.9rem}
.workspace header nav a[href="#account"]{border:1px solid #cdd8df;border-radius:8px;padding:10px 14px}
.workspace .language-picker{margin-left:0}
.workspace .language-picker>span{display:none}
.workspace .layout{display:block}
.workspace main{max-width:1200px;padding:44px 24px 24px}
.workspace .welcome{display:block;margin:0 auto 28px;text-align:center;max-width:840px}
.workspace .welcome .overline{color:#42665f;font-size:.72rem;letter-spacing:1.6px;margin-bottom:14px}
.workspace .welcome h1{font-size:clamp(2rem,3.3vw,2.8rem);line-height:1.18;letter-spacing:-1.2px}
.workspace .welcome h1 br{display:none}
.workspace .welcome h1 span:before{content:' '}
.workspace .welcome .intro{max-width:670px;margin:16px auto;color:#526473;line-height:1.65}
.workspace .welcome-actions{justify-content:center;margin-top:18px}
.workspace .welcome-actions .primary{background:transparent;border:0;color:#087361;padding:8px;min-height:40px}
.workspace .welcome-actions .secondary{background:transparent;border:0;text-decoration:underline;text-underline-offset:4px;min-height:40px;padding:8px}
.workspace .reassurance{color:#526473;margin:12px 0;font-size:.875rem}
.workspace .how-it-works{max-width:890px;margin:0 auto 40px;gap:24px}
.workspace .how-it-works li{background:transparent;padding:0;align-items:center}
.workspace .how-it-works b{background:#e4efeb;color:#126552;width:28px;height:28px;font-size:.8rem}
.workspace .how-it-works span{font-size:.85rem;color:#526473}
.workspace .how-it-works strong{font-size:.9rem;color:#304c5b}
.workspace #documents{border-top:1px solid #dbe3e8;padding-top:28px;gap:20px;margin-bottom:22px;flex-direction:row;align-items:center}
.workspace #documents .overline{display:none}
.workspace #documents h2{font-size:1.35rem;letter-spacing:-.3px}
.workspace #documents .hint{display:none}
.workspace #documents .intro{font-size:.9rem;max-width:730px;line-height:1.6;margin-top:8px}
.workspace .inputs{gap:24px;align-items:start}
.workspace .doc{padding:24px;border:1px solid #d2dde3;border-radius:14px;box-shadow:0 3px 10px #17334a04}
.workspace .doc-title{margin-bottom:20px}
.workspace .doc-title h2{font-size:1.05rem}
.workspace .doc-title p{color:#526473}
.workspace .doc-icon,.workspace .doc-icon.amber{background:#e9f1ee;color:#096c59;border-radius:9px;font-size:.85rem;width:42px;height:44px}
.workspace .drop{min-height:150px;border-color:#afc4cb;background:#fafcfc;padding:20px}
.workspace .drop:hover{border-color:#087e6b;background:#eff8f4}
.workspace .drop>span:not(.upload-icon){color:#526473}
.workspace .upload-icon{color:#087361}
.workspace .file-status{margin:14px 0 10px;color:#526473}
.workspace .file-status.ready{color:#09694f}
.workspace .file-status.error{color:#a1392e}
.workspace details{color:#465e6e}
.workspace summary{padding:4px 0}
.workspace .compare-bar{flex-direction:column-reverse;gap:12px;margin:24px 0 0;text-align:center}
.workspace .compare-bar .primary{min-width:360px;min-height:52px;font-size:1rem;border-radius:10px;box-shadow:0 3px 8px #075b4615}
.workspace .compare-bar p{max-width:820px;margin:0;font-size:.875rem;line-height:1.65;color:#526473}
.workspace .compare-help{text-align:center;margin:0;padding:8px 0;line-height:1.6}
.workspace .language-note{text-align:center;font-size:.875rem;color:#526473;margin:8px 0}
.workspace .message{text-align:center;padding:10px;border-radius:8px;background:#fff6e4}
.workspace .reading-options{margin:24px 0 12px;padding:18px 20px;background:#eef3f4;border-radius:10px;display:flex;align-items:center;gap:20px}
.workspace .supplier-label{margin:0;flex:1;line-height:1.6}
.workspace .supplier-label span{display:block;color:#526473}
.workspace #supplier{width:42%;margin:0;background:#fff}
.workspace .scope{font-size:.875rem;padding:12px 0;border-top:0}
.workspace #results{margin-top:28px;padding-top:28px;scroll-margin-top:24px}
.workspace .section-title h2{font-size:1.6rem}
.workspace .overline{color:#536d7c;letter-spacing:1.2px}
.workspace .arc-viewer{padding:22px;background:#fff;border:1px solid #d2dde3;border-radius:14px;margin-bottom:20px}
.workspace .arc-workspace{grid-template-columns:minmax(0,1.65fr) minmax(290px,1fr);gap:20px}
.workspace .arc-sheet{background:#e9eef0;padding:12px;border-radius:8px}
.workspace .arc-note{border-color:#d6e0e5;padding:18px;border-radius:10px}
.workspace .arc-note.selected{border:2px solid #087e6b;background:#f9fcfb}
.workspace .arc-note dt{font-size:.875rem;color:#526473}
.workspace .arc-note dd{font-weight:650;line-height:1.55}
.workspace .stats{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}
.workspace .stat{padding:10px 16px;gap:10px;display:flex;font-size:.875rem;border-radius:8px;color:#3b5363}
.workspace .stat b{font-size:1.25rem;margin:0}
.workspace .stat.diff{background:#fff4f1;border-color:#efd4cb}
.workspace .stat.review{background:#fff9ea;border-color:#ebdfbf}
.workspace .stat.same{background:#edf7f2;border-color:#cde5d8}
.workspace .coverage{color:#526473}
.workspace .followup{background:#edf3f4}
.workspace .account-box{margin:48px 0 0;padding:28px;border-radius:14px;border-color:#d2dde3;scroll-margin-top:24px}
.workspace .account-heading h2{font-size:1.3rem}
.workspace .trial-meter{margin:16px 0;background:#eef6f2}
.workspace .feature-panel{padding:26px 28px;border-radius:14px;margin-top:24px;box-shadow:none}
.workspace .feature-panel>p{max-width:850px;color:#526473}
.workspace footer{border-top:1px solid #dbe3e8;padding:24px 0;color:#526473;margin-top:40px;line-height:1.9}
.workspace footer a{display:inline-block;margin:0 3px}
.workspace button,.workspace a,.workspace summary{touch-action:manipulation}
.workspace button:disabled{opacity:1;background:#e1e8eb;color:#617580;border-color:#d5dfe4;box-shadow:none}
.workspace .primary:focus-visible,.workspace .secondary:focus-visible{outline-offset:4px}
.workspace.signed-in .welcome-actions,.workspace.signed-in .reassurance,.workspace.signed-in .how-it-works{display:none}
.workspace.signed-in .welcome{margin-bottom:26px}
.workspace.signed-in .welcome h1{font-size:clamp(1.8rem,3vw,2.35rem)}
@media(max-width:900px){.workspace header{padding:18px 24px;gap:18px}.workspace header nav{gap:16px}.workspace .arc-workspace{grid-template-columns:1fr}.workspace .arc-notes{max-height:500px}.workspace .how-it-works{gap:14px}.workspace .how-it-works li{align-items:flex-start}.workspace .language-picker select{max-width:120px}}
@media(max-width:650px){.workspace header{padding:16px;gap:14px;justify-content:space-between}.workspace .brand{font-size:1.1rem}.workspace header nav{order:3;width:100%;margin:0;justify-content:space-between;gap:12px}.workspace header nav a{font-size:.875rem}.workspace header nav a[href="#account"]{padding:8px 12px}.workspace main{padding:28px 16px 16px}.workspace .welcome{margin-bottom:24px}.workspace .welcome h1{font-size:2rem}.workspace .welcome .overline{font-size:.68rem}.workspace .welcome-actions{gap:4px}.workspace .welcome-actions>*{width:auto}.workspace .how-it-works{grid-template-columns:1fr;gap:12px;margin-bottom:26px}.workspace .how-it-works li{align-items:center}.workspace .how-it-works strong{display:block}.workspace #documents{flex-direction:column;align-items:flex-start;padding-top:22px;gap:14px}.workspace .inputs{grid-template-columns:1fr;gap:16px}.workspace .doc{padding:20px}.workspace .compare-bar .primary{min-width:0;width:100%;white-space:normal}.workspace .reading-options{flex-direction:column;align-items:stretch;padding:16px;gap:12px}.workspace #supplier{width:100%}.workspace .account-box,.workspace .feature-panel{padding:20px}.workspace .account-heading{align-items:flex-start;flex-wrap:wrap}.workspace .account-actions>*{width:100%}.workspace .arc-viewer{padding:14px}.workspace .arc-sheet{padding:6px}.workspace .arc-toolbar{gap:8px}.workspace .stats{gap:8px}.workspace .stat{flex:1 1 140px;padding:10px 12px}.workspace .section-title{gap:14px}.workspace .form-grid{grid-template-columns:1fr}.workspace .values,.workspace .evidence{grid-template-columns:1fr}}

.dossier-tools{display:grid;gap:12px;margin:18px 0}.dossier-tools:empty{display:none}.dossier-tools details{border:1px solid #dce3e9;border-radius:12px;padding:16px;background:#f8fafc}.dossier-tools summary{font-weight:600;cursor:pointer}.matching-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;margin:14px 0}.matching-grid label,.dossier-tools form>label{display:grid;gap:8px}.dossier-tools input:not([type=checkbox]),.matching-grid select{width:100%;min-width:0}.dossier-tools .check{display:flex;align-items:flex-start;margin:12px 0}.dossier-row{padding:18px 0;border-bottom:1px solid #dce3e9;overflow-wrap:anywhere}.dossier-row button{margin:4px 8px 4px 0}.document-language{display:flex;gap:10px;align-items:center;margin:12px 0;flex-wrap:wrap}.document-language select{max-width:100%}

.dossier-tools fieldset{border:1px solid #dce4e9;border-radius:12px;margin:16px 0;padding:16px;min-width:0}.dossier-tools legend{font-weight:650;padding:0 8px}.dossier-tools textarea{display:block;width:100%;box-sizing:border-box;margin:12px 0}.dossier-tools textarea[hidden]{display:none}.dossier-tools select{max-width:100%;margin:8px 0}.dossier-tools fieldset label{display:flex;gap:8px;align-items:center}.dossier-tools fieldset input[type=checkbox]{width:auto}
