:root{--navy:#102d40;--navy2:#1d4258;--teal:#087f7a;--teal-dark:#06655f;--teal-pale:#e8f4f0;--paper:#f4f6f4;--white:#fff;--text:#17354a;--muted:#657781;--line:#dce4e3;--red:#a7443c;--shadow:0 14px 42px #17354a09;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--text);background:var(--paper);font-size:16px}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select,summary{-webkit-tap-highlight-color:transparent}button,label.button,summary{cursor:pointer}button:disabled{opacity:.55;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #49b9aa;outline-offset:3px}button{color:inherit}a{color:var(--teal)}[hidden]{display:none!important}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;top:-100px;left:16px;z-index:100;background:white;padding:14px}.skip-link:focus{top:10px}.topbar{background:var(--navy);color:white;min-height:88px;display:flex;align-items:center;justify-content:space-between;padding:18px max(24px,calc((100vw - 1280px)/2));gap:20px}.brand{display:flex;align-items:center;gap:12px}.brand-symbol{font-size:31px;background:#ffffff12;border:1px solid #ffffff25;display:grid;place-items:center;width:46px;height:46px;border-radius:14px;color:#8dd5c0}.brand strong{font-size:17px;letter-spacing:.1px;display:block}.brand div>span{font-size:12px;display:block;color:#b4c6ce;margin-top:5px}.local-pill{border:1px solid #ffffff30;border-radius:30px;padding:9px 13px;font-size:12px;white-space:nowrap;color:#dcece8}.local-pill span{color:#80d2b8;margin-right:5px}.start-view{max-width:1040px;margin:auto;padding:68px 32px 64px}.eyebrow{font-weight:750;font-size:11px;letter-spacing:1.9px;color:var(--teal);margin-bottom:18px}h1{font-size:clamp(35px,5vw,58px);line-height:1.08;letter-spacing:-1.9px;margin:0 0 24px;font-weight:740}h1 em{font-style:normal;color:var(--teal)}.lead{font-size:18px;line-height:1.7;max-width:670px;margin:0 0 30px;color:var(--muted)}.upload-card{display:flex;align-items:center;gap:20px;padding:28px;background:white;border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow)}.upload-card h2{font-size:19px;margin:0 0 7px}.upload-card p{font-size:14px;color:var(--muted);line-height:1.5;margin:0}.upload-card>.button{margin-left:auto;white-space:nowrap}.upload-icon{color:var(--teal);font-size:14px;font-weight:800;border:2px solid #b7d7cc;border-radius:9px;padding:23px 12px;position:relative;background:#f3faf6}.upload-icon span{position:absolute;right:-9px;bottom:-5px;background:var(--teal);color:white;border-radius:50%;font-size:18px;padding:0px 4px;border:3px solid white}.button{min-height:48px;padding:13px 18px;border-radius:11px;display:inline-flex;align-items:center;justify-content:center;gap:10px;text-decoration:none;font-size:14px;font-weight:650;border:1px solid transparent;line-height:1.25;text-align:center;transition:background .15s,transform .15s}.button.primary{color:white;background:var(--teal)}.button.primary:hover{background:var(--teal-dark)}.button.secondary{background:white;border-color:var(--line);color:var(--text)}.button.secondary:hover{background:#f4faf7;border-color:#a6c8bf}.button.text-button{background:transparent;padding-left:8px;padding-right:8px}.danger{color:var(--red)!important}.button.compact{min-height:43px;padding:10px 13px}.button-row{display:flex;gap:10px;flex-wrap:wrap}.steps{display:grid;grid-template-columns:repeat(3,1fr);list-style:none;padding:0;gap:25px;margin:42px 0}.steps li{display:flex;gap:12px}.steps li>span{font-size:12px;font-weight:750;color:var(--teal);border-top:2px solid #92bfae;padding-top:6px}.steps strong{font-size:15px;display:block;margin-top:6px}.steps p{font-size:13px;color:var(--muted);line-height:1.6;margin:9px 0}.privacy-note{border-left:3px solid #93c3b6;padding-left:18px;font-size:13px;max-width:720px;color:var(--muted);line-height:1.6}.privacy-note strong{color:var(--text)}.privacy-note p{margin:6px 0}.restore-banner{margin-top:16px;padding:20px;border-radius:14px;border:1px solid #9fc7b5;background:#edf7f1;display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:14px}.restore-banner p{margin:6px 0 0;font-size:12px;color:var(--muted)}.workspace{max-width:1280px;margin:auto;padding:36px 28px 135px}.workspace-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.workspace-heading h1{font-size:30px;letter-spacing:-.8px;line-height:1.2;margin:0 0 9px;max-width:800px}.workspace-heading .eyebrow{margin-bottom:12px}.workspace-heading p{font-size:13px;color:var(--muted);margin:0}.summary-bar{display:flex;align-items:center;gap:38px;border:1px solid var(--line);background:white;border-radius:14px;padding:19px 23px;margin:26px 0}.summary-bar>div{display:flex;align-items:center;gap:9px}.summary-bar strong{font-size:24px;font-weight:720}.summary-bar span{font-size:12px;color:var(--muted)}.summary-bar .save-state{margin-left:auto}.save-state #save-dot{width:7px;height:7px;min-width:7px;border-radius:50%;background:#5bac8f}.inline-note{padding:14px 18px;border:1px solid #c6dacc;background:#edf6ef;font-size:13px;line-height:1.6;border-radius:10px;margin-bottom:22px}.work-grid{display:grid;grid-template-columns:282px minmax(0,1fr);gap:26px;align-items:start}.sidebar{position:sticky;top:20px}.sidebar details{border:1px solid var(--line);border-radius:14px;background:white;overflow:hidden}.sidebar summary{display:flex;align-items:center;justify-content:space-between;padding:18px;font-size:14px;font-weight:700;list-style:none}.sidebar summary::-webkit-details-marker{display:none}.count-badge{border-radius:20px;background:var(--teal-pale);color:var(--teal);font-size:11px;padding:4px 8px}.search-wrap{padding:0 12px 12px}.search-wrap input{width:100%;padding:12px;font-size:12px;background:var(--paper);border:1px solid var(--line);border-radius:9px;min-height:44px}#case-list{max-height:calc(100vh - 250px);overflow-y:auto;padding:0 8px 8px}.case-nav-button{display:block;width:100%;padding:13px 12px;border:0;border-left:3px solid transparent;border-radius:8px;background:transparent;text-align:left;margin:2px 0}.case-nav-button:hover{background:#f3f6f4}.case-nav-button.active{background:var(--teal-pale);border-left-color:var(--teal)}.case-nav-button strong{font-size:13px;display:block;line-height:1.4}.case-nav-button .case-nav-subtitle{font-size:10px;line-height:1.5;color:var(--muted);display:block;margin-top:4px;overflow-wrap:anywhere}.case-nav-meta{display:flex;align-items:center;gap:8px;margin-top:7px;font-size:10px;color:var(--teal)}.case-nav-meta .dot{width:4px;height:4px;border-radius:50%;background:#abc8bf}.empty-search{font-size:13px;color:var(--muted);padding:20px}.sidebar-note{font-size:11px;color:var(--muted);line-height:1.6;padding:16px 10px}.case-header{padding:28px;background:var(--navy);color:white;border-radius:16px 16px 0 0}.case-header h2{font-size:25px;line-height:1.25;letter-spacing:-.5px;margin:0 0 9px}.case-header p{font-size:13px;line-height:1.7;color:#c9d9df;margin:0;overflow-wrap:anywhere}.case-state{display:inline-flex;font-size:10px;font-weight:650;letter-spacing:.25px;margin-top:15px;border:1px solid #ffffff2e;padding:6px 10px;border-radius:6px;color:#aee1d0}.case-section{padding:25px 28px;background:white;border:1px solid var(--line);border-top:0}.case-section h3{font-size:17px;margin:0 0 17px;line-height:1.5}.section-number{display:inline-grid;place-items:center;width:25px;height:25px;border-radius:7px;background:var(--teal-pale);color:var(--teal);font-size:11px;margin-right:9px;vertical-align:2px}.section-intro{font-size:13px;color:var(--muted);line-height:1.7;margin:-7px 0 22px;white-space:pre-line}.fields-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:19px 17px}.field{min-width:0}.field.wide,.field.checkbox-field,.field.radio-field{grid-column:1/-1}.field>label,.field>legend{font-size:12px;font-weight:650;line-height:1.55;display:block;margin-bottom:7px}.field input[type=text],.field select,.field textarea{width:100%;border:1px solid #ccd8d8;border-radius:8px;background:#fcfdfc;color:var(--text);min-height:47px;padding:12px;line-height:1.4;font-size:14px}.field textarea{resize:vertical;min-height:92px}.field select{padding-right:29px}.field input:hover,.field textarea:hover,.field select:hover{border-color:#9ab8b2}.field.checkbox-field label,.radio-option{display:flex;gap:11px;align-items:flex-start;font-size:13px;font-weight:500;margin:0;padding:12px;border:1px solid var(--line);border-radius:9px;min-height:47px;background:#fcfdfc;line-height:1.5;cursor:pointer}.field.checkbox-field input,.radio-option input{accent-color:var(--teal);width:19px;height:19px;flex:0 0 19px;margin:0}.field.checkbox-field label:has(input:checked),.radio-option:has(input:checked){background:var(--teal-pale);border-color:#9bc5b5}.field.radio-field{padding:0;border:0;margin:0}.radio-options{display:flex;flex-wrap:wrap;gap:9px}.radio-option{align-items:center}.radio-clear{font-size:11px;padding:8px 0;min-height:32px}.field-hint{font-size:11px;line-height:1.5;color:var(--muted);margin:6px 0 0}.photos-section{border-radius:0 0 16px 16px}.photo-toolbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.photo-toolbar select{border:1px solid var(--line);border-radius:9px;padding:11px;min-height:46px;font-size:13px;background:white;flex:1}.photo-toolbar label{white-space:nowrap}.photo-note{font-size:11px;line-height:1.7;color:var(--muted);margin:12px 0 17px}.photo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.photo-card{border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#fbfcfb}.photo-preview{height:180px;position:relative;background:#edf2ef;display:flex;align-items:center;justify-content:center}.photo-preview img{width:100%;height:100%;object-fit:contain}.photo-preview .photo-index{position:absolute;left:9px;top:9px;background:var(--navy);color:white;border-radius:6px;padding:5px 8px;font-size:10px}.photo-card-body{padding:12px}.photo-file-name{font-size:10px;line-height:1.5;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:0 0 10px}.photo-card label{font-size:10px;display:block;font-weight:650;margin:9px 0 5px}.photo-card select,.photo-card textarea{width:100%;padding:9px;border:1px solid var(--line);border-radius:7px;font-size:12px;background:white;line-height:1.5}.photo-card textarea{resize:vertical;min-height:64px}.photo-remove{font-size:11px;min-height:38px;padding-bottom:0}.photo-empty{border:1px dashed #bdd1c9;border-radius:12px;padding:28px 18px;text-align:center;color:var(--muted);font-size:12px;line-height:1.6;background:#f7faf7}.case-bottom-navigation{display:flex;justify-content:space-between;margin-top:20px;gap:12px}.work-footer{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:36px;border-top:1px solid var(--line);padding-top:18px}.work-footer p{font-size:11px;color:var(--muted)}.work-footer button{font-size:12px}.export-bar{position:fixed;bottom:0;left:0;right:0;z-index:5;background:#fffef8f5;backdrop-filter:blur(14px);border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:20px;padding:17px max(28px,calc((100vw - 1224px)/2));padding-bottom:max(17px,env(safe-area-inset-bottom));box-shadow:0 -8px 28px #17354a05}.export-bar strong{display:block;font-size:13px}.export-bar span{display:block;font-size:11px;color:var(--muted);margin-top:6px}.export-bar .button span{font-size:20px;margin:0;color:white}.global-message{position:fixed;top:18px;left:50%;transform:translateX(-50%);z-index:20;width:calc(100% - 40px);max-width:680px;border:1px solid #a9cbbf;background:#eaf7f0;box-shadow:0 12px 45px #123a4322;border-radius:12px;padding:18px 45px 18px 18px;font-size:13px;line-height:1.6;white-space:pre-line}.global-message.error{background:#fff4ee;border-color:#e0b7a1;color:#7e372c}.global-message .close-message{position:absolute;right:8px;top:9px;border:0;background:none;font-size:22px;width:32px;height:32px;cursor:pointer}.busy-overlay{position:fixed;inset:0;z-index:40;background:#102d4066;backdrop-filter:blur(3px);display:grid;place-items:center;padding:24px}.busy-card{max-width:400px;border-radius:18px;background:white;padding:34px;text-align:center;box-shadow:var(--shadow)}.busy-card strong{display:block;margin:18px 0 10px;font-size:17px}.busy-card p{font-size:13px;line-height:1.7;color:var(--muted);margin:0}.spinner{display:inline-block;width:33px;height:33px;border:3px solid #d3e7df;border-top-color:var(--teal);border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}dialog{max-width:480px;width:calc(100% - 40px);border:0;border-radius:22px;padding:32px;color:var(--text);box-shadow:0 20px 80px #102d4040}dialog::backdrop{background:#102d4070;backdrop-filter:blur(3px)}.dialog-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:var(--teal-pale);color:var(--teal);font-size:24px}dialog h2{font-size:26px;margin:20px 0 10px}dialog p{font-size:14px;line-height:1.7;color:var(--muted)}.dialog-actions{display:grid;gap:10px;margin:22px 0}.small-note{font-size:11px!important;line-height:1.7!important}body.is-busy{overflow:hidden}
@media(max-width:900px){.workspace{padding:28px 20px 140px}.work-grid{grid-template-columns:230px minmax(0,1fr);gap:18px}.case-section{padding:23px 21px}.case-header{padding:24px 21px}.photo-grid{grid-template-columns:1fr}.summary-bar{gap:23px}.fields-grid{grid-template-columns:1fr}.field{grid-column:1/-1}.steps{gap:18px}.upload-card{flex-wrap:wrap}.upload-card>.button{margin-left:0}.export-bar{padding-left:20px;padding-right:20px}}
@media(max-width:650px){.topbar{min-height:76px;padding:15px 18px}.brand-symbol{width:38px;height:38px;border-radius:11px;font-size:26px}.brand strong{font-size:14px}.brand div>span{font-size:10px}.local-pill{font-size:0;border:0;padding:0}.local-pill span{font-size:12px;margin:0}.start-view{padding:38px 20px 36px}h1{font-size:39px;letter-spacing:-1.5px}.lead{font-size:15px;line-height:1.7;margin-bottom:25px}.eyebrow{font-size:9px;letter-spacing:1.4px}.upload-card{padding:21px;gap:16px;border-radius:16px}.upload-card>div:nth-child(2){flex:1}.upload-card h2{font-size:16px}.upload-card p{font-size:12px}.upload-card>.button{width:100%;font-size:15px;min-height:52px}.upload-icon{font-size:12px;padding:19px 9px}.steps{display:block;margin:31px 0}.steps li{margin:17px 0}.steps p{margin:5px 0}.steps strong{font-size:14px}.privacy-note{font-size:12px}.restore-banner{display:block;padding:17px}.restore-banner .button-row{margin-top:12px}.workspace{padding:24px 14px 162px}.workspace-heading{gap:10px}.workspace-heading h1{font-size:23px;letter-spacing:-.5px}.workspace-heading .eyebrow{font-size:8px;margin-bottom:8px}.workspace-heading p{font-size:11px;line-height:1.6}.workspace-heading .compact{font-size:11px;padding:9px;min-height:38px;white-space:nowrap}.summary-bar{padding:14px;gap:18px;margin:20px 0;flex-wrap:wrap}.summary-bar strong{font-size:21px}.summary-bar span{font-size:10px}.summary-bar .save-state{width:100%;margin-left:0}.work-grid{display:block}.sidebar{position:static;margin-bottom:20px}.sidebar summary{padding:16px}.sidebar summary:after{content:'⌄';font-size:20px;margin-left:10px}.sidebar summary>.count-badge{margin-left:auto}.sidebar details[open] summary:after{transform:rotate(180deg)}#case-list{max-height:320px}.case-nav-button{padding:13px}.case-nav-button strong{font-size:14px}.case-nav-button .case-nav-subtitle{font-size:11px}.case-nav-meta{font-size:11px}.search-wrap input{font-size:16px}.sidebar-note{display:none}.case-header{padding:22px 20px}.case-header h2{font-size:23px}.case-header p{font-size:12px}.case-section{padding:23px 19px}.case-section h3{font-size:16px}.section-intro{font-size:12px}.fields-grid{gap:18px}.field>label,.field>legend{font-size:12px}.field input[type=text],.field select,.field textarea{font-size:16px;min-height:49px}.field.checkbox-field label,.radio-option{font-size:13px;padding:14px 12px}.photo-toolbar{gap:10px}.photo-toolbar select{width:100%;font-size:16px;flex:auto}.photo-toolbar label.button{width:100%;font-size:14px}.photo-grid{grid-template-columns:1fr}.photo-preview{height:230px}.photo-card select,.photo-card textarea{font-size:16px}.photo-card label{font-size:11px}.photo-file-name{font-size:11px}.work-footer{display:block;margin-top:25px}.work-footer p{margin-left:8px}.export-bar{display:block;padding:14px 18px;padding-bottom:max(14px,env(safe-area-inset-bottom))}.export-bar>div{margin-bottom:11px}.export-bar strong{font-size:12px}.export-bar span{font-size:10px;margin-top:4px}.export-bar>.button{width:100%;min-height:49px}.case-bottom-navigation .button{font-size:12px}.global-message{top:10px;width:calc(100% - 24px);padding:16px 42px 16px 16px;font-size:12px}dialog{padding:27px}.radio-options{display:grid;grid-template-columns:1fr}.radio-option{min-height:48px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.context-note{border:1px solid var(--line);border-radius:9px;margin:0 0 22px;background:#f7faf8}.context-note summary{font-size:12px;font-weight:650;padding:13px;color:var(--teal);line-height:1.5}.context-note .section-intro{padding:0 13px 13px;margin:0;font-size:11px;line-height:1.7}
.brand-link{color:white;text-decoration:none}.brand .ppa-accent{color:#8dd5c0;display:inline}.account-bar{display:flex;align-items:center;gap:15px;font-size:12px}.header-button{border-color:#ffffff40;color:white;background:transparent;min-height:38px;padding:8px 12px;font-size:12px}.login-view{max-width:1050px}.login-card{max-width:440px;background:white;padding:28px;border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow)}.login-card h2{font-size:21px;margin:0 0 24px}.login-card label,.editor-note label{display:block;font-size:13px;font-weight:650;margin:16px 0 8px}.login-card input,.editor-note textarea{width:100%;min-height:49px;border:1px solid #ccd8d8;padding:12px;border-radius:9px;font-size:16px;background:#fcfdfc}.login-card .button{width:100%;margin-top:22px}.login-card p,.login-note{font-size:12px;line-height:1.7;color:var(--muted)}#login-message{color:var(--red)}.login-note{max-width:460px;margin-top:18px}.empty-state{background:white;border:1px solid var(--line);border-radius:14px;padding:45px 25px;text-align:center;color:var(--muted);font-size:14px}.save-state #save-button{font-size:11px;padding:6px;min-height:30px}.conflict-panel{background:#fff4e8;border:1px solid #dec09e;padding:23px;border-radius:14px;margin-bottom:25px}.conflict-panel h2{font-size:18px;margin:0 0 12px}.conflict-panel p{font-size:13px;line-height:1.7}.conflict-row{padding:13px 0;border-top:1px solid #e1cdb6;font-size:12px;line-height:1.6;overflow-wrap:anywhere}.conflict-row strong{display:block}.conflict-row p{font-size:12px;margin:4px 0}.conflict-panel .button-row{margin-top:18px}.export-option{display:flex!important;gap:8px;font-size:11px!important;color:var(--muted);align-items:center;margin-top:9px;cursor:pointer}.export-option input{accent-color:var(--teal);width:16px;height:16px}.documents-intro{font-size:12px;line-height:1.7;color:var(--muted)}.document-toolbar{display:flex;gap:10px;margin:18px 0;flex-wrap:wrap}.documents-list{display:grid;gap:12px}.document-card{display:grid;grid-template-columns:80px minmax(0,1fr);gap:14px;border:1px solid var(--line);border-radius:12px;padding:14px;background:#fcfdfc}.document-icon{width:80px;height:80px;background:var(--teal-pale);border-radius:9px;display:grid;place-items:center;font-size:13px;font-weight:750;color:var(--teal);overflow:hidden}.document-icon img{width:100%;height:100%;object-fit:cover}.document-card h4{font-size:13px;line-height:1.5;margin:0 0 5px;overflow-wrap:anywhere}.document-meta,.document-description{font-size:11px;line-height:1.6;color:var(--muted);margin:5px 0;white-space:pre-line;overflow-wrap:anywhere}.document-description{color:var(--text)}.document-actions{display:flex;flex-wrap:wrap;gap:5px;margin-top:8px}.document-actions .button{font-size:10px;min-height:34px;padding:7px 8px}.document-history{margin:13px 0 0}.document-history summary{font-size:12px;color:var(--muted);padding:12px 0}.document-history .documents-list{opacity:.85}.wide-dialog{max-width:850px;max-height:90dvh;overflow:auto}.wide-dialog h2{margin:0 0 10px;font-size:23px}.upload-item{padding:18px 0;border-bottom:1px solid var(--line)}.upload-item h3{font-size:13px;line-height:1.5;overflow-wrap:anywhere}.upload-item label{font-size:11px;display:block;margin:13px 0 5px;font-weight:650}.upload-item input,.upload-item select,.upload-item textarea{width:100%;border:1px solid var(--line);border-radius:8px;padding:11px;font-size:16px;background:white}.upload-item textarea{min-height:70px;resize:vertical}.upload-item .file-state{font-size:12px;color:var(--teal);line-height:1.6}.upload-item .file-state.error{color:var(--red)}.editor-heading{display:flex;justify-content:space-between;gap:15px;align-items:flex-start}.editor-heading h2{font-size:20px;overflow-wrap:anywhere}.editor-heading .eyebrow{font-size:9px;margin-bottom:10px}.editor-dialog .fields-grid{margin-top:24px}.editor-dialog .field{grid-column:1/-1}.editor-note{border-top:1px solid var(--line);margin-top:25px;padding-top:6px}.editor-note textarea{resize:vertical;line-height:1.6}.image-dialog{max-width:1100px;padding:18px;max-height:95dvh;text-align:center}.image-dialog img{display:block;max-width:100%;max-height:75dvh;object-fit:contain;margin:15px auto}.image-dialog p{font-size:12px}.save-state{flex-wrap:wrap}.button.saved-button{background:var(--teal-pale);color:var(--teal)}@media(max-width:650px){.account-bar{gap:8px;font-size:10px}.account-bar #account-name{max-width:95px;line-height:1.4}.header-button{font-size:10px;min-height:35px;padding:7px 8px}.login-card{padding:22px}.document-card{grid-template-columns:58px minmax(0,1fr);gap:11px;padding:12px}.document-icon{width:58px;height:66px}.document-card h4{font-size:12px}.document-actions .button{font-size:11px;min-height:39px}.wide-dialog{width:calc(100% - 18px);padding:21px 17px;max-height:94dvh}.document-toolbar .button{flex:1;font-size:12px}.editor-heading .compact{font-size:10px;white-space:nowrap}.editor-heading h2{font-size:17px}.conflict-panel{padding:18px}.conflict-panel h2{font-size:16px}.summary-bar .save-state{gap:8px}.export-option{font-size:10px!important}}
.brand-logo{width:110px;height:62px;object-fit:contain;background:white;border-radius:8px;padding:5px}.company-footer{max-width:1050px;margin:0 auto;padding:25px 28px 120px;font-size:11px;line-height:1.7;color:var(--muted);border-top:1px solid var(--line)}.company-footer strong{color:var(--text)}.company-footer p{margin:9px 0}.company-footer p:nth-of-type(3){max-width:780px}.password-card{border:0;box-shadow:none;padding:0}.password-card .button{margin-top:22px}.case-nav-meta.cancelled{color:#986e42}.case-state.cancelled{background:#ffffff10;color:#f1c9a1}@media(max-width:650px){.brand-logo{width:80px;height:49px}.brand div>strong{font-size:11px}.brand div>span{font-size:9px;max-width:130px}.brand{gap:8px}.account-bar{flex-wrap:wrap;justify-content:flex-end;gap:5px;max-width:125px}.account-bar #account-name{width:100%;max-width:125px;text-align:right}.account-bar .header-button{min-height:30px;padding:5px;font-size:9px}.company-footer{padding:25px 20px 165px}.login-view h1{font-size:34px}}
.progress-card{background:#edf6f2;border:1px solid #bdd7cb;border-top:0;padding:24px 28px}.progress-top{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.progress-top h3{font-size:18px;line-height:1.4;margin:0 0 10px}.progress-kicker{font-size:10px;letter-spacing:1.3px;color:var(--teal);font-weight:750;margin:0 0 9px}.progress-badge{display:inline-flex;border-radius:7px;padding:7px 10px;font-size:12px;font-weight:700;background:white;color:var(--teal);border:1px solid #bad5c8}.progress-summary{font-size:14px;line-height:1.7;margin:18px 0 10px;white-space:pre-line}.progress-meta{font-size:11px;color:var(--muted);line-height:1.7;margin:10px 0}.next-actor{background:#fff9;border-radius:9px;padding:12px 14px;font-size:12px;line-height:1.6;margin:15px 0}.next-actor strong{display:block;font-size:11px;color:var(--muted);margin-bottom:3px}.task-list{display:grid;gap:11px;margin:17px 0}.task-card{background:white;border:1px solid var(--line);border-left:3px solid #7ea895;border-radius:10px;padding:16px}.task-card.completed{opacity:.75;border-left-color:#abbab2}.task-card h4{font-size:13px;line-height:1.5;margin:0 0 8px}.task-card .task-meta{font-size:11px;line-height:1.6;color:var(--muted);margin:0 0 8px}.task-card .task-response{font-size:12px;line-height:1.7;white-space:pre-line}.task-card .button-row{gap:7px;margin-top:10px}.task-card .button{font-size:11px;min-height:38px;padding:9px 11px}.task-files{display:grid;gap:6px;font-size:11px;margin-top:10px}.progress-timeline{border-top:1px solid #c5dace;margin-top:23px;padding-top:10px}.progress-timeline summary{font-size:12px;font-weight:650;padding:10px 0}.timeline-list{padding:0;margin:0;list-style:none}.timeline-list li{padding:12px 0;border-bottom:1px solid #cfded5;font-size:12px;line-height:1.6;white-space:pre-line}.timeline-list small{display:block;color:var(--muted);font-size:10px;margin-bottom:4px}.progress-task-editor-row{border:1px solid var(--line);padding:16px;border-radius:11px;margin-bottom:14px}.progress-task-editor-row .fields-grid{gap:12px}.progress-task-editor-row .field input,.progress-task-editor-row .field select{font-size:14px}.progress-task-editor-row input[type=date]{width:100%;border:1px solid var(--line);border-radius:8px;padding:12px;font-size:14px;background:white}.progress-tasks-heading{font-size:16px;margin-top:25px}.response-file{display:flex;gap:10px;align-items:flex-start;padding:12px;border:1px solid var(--line);border-radius:8px;margin:8px 0;font-size:12px;line-height:1.6;overflow-wrap:anywhere}.response-file input{width:18px;height:18px;accent-color:var(--teal);flex:0 0 18px}.source-state-label{font-size:9px!important;color:#a8c0ca!important;margin-top:13px!important}.source-state-label+.case-state{margin-top:5px}@media(max-width:650px){.progress-card{padding:22px 19px}.progress-top h3{font-size:16px}.progress-top .button{font-size:10px;min-height:37px;padding:8px}.progress-summary{font-size:13px}.progress-task-editor-row{padding:13px}.progress-task-editor-row .field input,.progress-task-editor-row .field select{font-size:16px}.progress-top{gap:8px}.next-actor{font-size:11px}.task-card{padding:13px}}
.access-account{border:1px solid var(--line);border-radius:12px;padding:18px;margin:17px 0}.access-account h3{font-size:15px;margin:0 0 9px}.access-account .access-state{font-size:12px;line-height:1.6;color:var(--muted)}.access-account textarea{width:100%;font-size:13px;line-height:1.7;padding:14px;min-height:260px;border:1px solid var(--line);border-radius:9px;background:#f8faf8;resize:vertical;margin:10px 0 13px}.access-account label{font-size:11px;font-weight:650;display:block;margin-top:15px}.access-account .button-row{gap:8px}.access-account .button{font-size:12px}@media(max-width:650px){.access-account{padding:14px}.access-account textarea{font-size:16px;min-height:300px}}

.viewer-dialog{max-width:1100px;width:calc(100% - 24px);max-height:94dvh;padding:22px;background:#f3f6f5}.viewer-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;position:sticky;top:-22px;background:#f3f6f5;z-index:1;padding:14px 0}.viewer-heading h2{font-size:18px;margin:0;overflow-wrap:anywhere}.viewer-heading .button{flex-shrink:0}.viewer-dialog>p{font-size:12px;line-height:1.6}.viewer-page{margin:22px 0;padding:12px;background:white;border:1px solid var(--line);border-radius:10px}.viewer-page figcaption{font-size:12px;color:var(--muted);margin:0 0 10px}.viewer-page img{display:block;width:100%;height:auto;min-height:100px;object-fit:contain}.viewer-error{font-size:13px;color:var(--red)}.document-permission{font-size:11px;font-weight:650;color:var(--teal)}.task-files .button{text-align:left;justify-content:flex-start;white-space:normal;overflow-wrap:anywhere}@media(max-width:650px){.viewer-dialog{padding:14px;width:calc(100% - 12px)}.viewer-heading{top:-14px;padding:10px 0}.viewer-heading h2{font-size:14px}.viewer-heading .button{font-size:11px;min-height:36px;padding:8px}.viewer-page{padding:6px;margin:15px 0}}

.language-control{display:flex;align-items:center;gap:7px;font-size:11px;white-space:nowrap}.language-control select{min-height:36px;max-width:108px;border:1px solid #ffffff50;border-radius:7px;padding:7px 8px;background:#ffffff14;color:white;font:inherit;font-size:12px}.language-control option{background:white;color:var(--text)}.password-language-control{margin:12px 0;color:var(--text)}.password-language-control select{color:var(--text);border-color:var(--line);background:white}.task-files .button span[data-no-translate]{overflow-wrap:anywhere}@media(max-width:650px){.language-control{gap:5px;font-size:9px}.language-control select{min-height:32px;padding:5px;font-size:11px}.account-bar .language-control{width:100%;justify-content:flex-end}.password-language-control{font-size:12px}.password-language-control select{font-size:16px;min-height:42px}}

.manual-save-controls{display:flex;align-items:center;flex-wrap:wrap;gap:13px;margin-top:24px;padding-top:19px;border-top:1px solid var(--line)}.manual-save-controls .manual-save-button{min-width:148px;min-height:48px}.manual-save-feedback{font-size:13px;line-height:1.5;margin:0;color:var(--muted)}.manual-save-feedback.success{color:var(--teal);font-weight:650}.manual-save-feedback.error{color:var(--red)}.manual-save-bottom{display:flex;flex-direction:column;align-items:stretch;text-align:center;gap:12px;border:1px solid #bad7cb;border-radius:15px;padding:23px;background:var(--teal-pale);margin-top:24px}.manual-save-bottom .manual-save-button{min-height:64px;width:100%;font-size:18px}.manual-save-bottom .manual-save-feedback{font-size:14px}@media(max-width:650px){.manual-save-controls{margin-top:20px;gap:11px}.manual-save-controls .manual-save-button{width:100%;min-height:50px}.manual-save-feedback{width:100%;text-align:center}.manual-save-bottom{padding:18px}.manual-save-bottom .manual-save-button{min-height:64px}}

.case-filters{padding:0 12px 15px;display:grid;gap:7px}.case-filters label{font-size:11px;font-weight:650;margin-top:3px}.case-filters select{width:100%;max-width:100%;min-width:0;min-height:44px;padding:10px 9px;border:1px solid var(--line);border-radius:8px;font-size:12px;background:white;color:var(--text)}.case-filters .small-note{margin:4px 0;color:var(--red)}.case-operator{display:block;font-size:10px;line-height:1.5;color:var(--muted);margin-top:5px;overflow-wrap:anywhere}
.sidebar details.work-queue-panel{margin:0 8px 12px;border:1px solid #bdd7cb;border-radius:10px;background:#f3f8f5}.work-queue-panel>summary{flex-wrap:wrap;gap:7px;padding:13px!important;min-height:48px}.queue-unsaved{color:#9c3028;font-size:11px;width:100%}.work-queue-panel #work-queue-content{padding:0 10px 12px}.queue-note,.queue-feedback,.queue-dirty-reminder{font-size:12px;line-height:1.6;overflow-wrap:anywhere}.queue-dirty-reminder,.queue-feedback.error{color:#942d25;font-weight:650}.queue-feedback.success{color:var(--teal);font-weight:650}.work-queue-list{margin:0;padding:0;list-style:none;max-height:300px;overflow-y:auto}.work-queue-row{display:grid;grid-template-columns:26px minmax(0,1fr);gap:8px;padding:10px 0;border-bottom:1px solid var(--line);align-items:start}.queue-title{font-size:12px;line-height:1.5;overflow-wrap:anywhere}.queue-rank{display:inline-block;font-size:12px;font-weight:750;color:var(--teal);margin-top:6px;margin-right:5px}.queue-badge{font-size:10px;color:var(--teal);font-weight:650}.queue-move-buttons{grid-column:1/-1;display:flex;gap:6px;justify-content:flex-end}.queue-move.button{width:44px;min-height:44px;padding:6px;font-size:20px}.queue-actions{display:grid;gap:8px;margin-top:12px}.queue-actions .button,.queue-conflict .button{width:100%;min-height:44px;font-size:12px;padding:10px}.queue-conflict{border:1px solid #c77365;background:#fff2ef;padding:10px;border-radius:8px;font-size:12px;line-height:1.6;overflow-wrap:anywhere}.queue-conflict .button{margin-top:8px}.queue-conflict ol{padding-left:23px}.case-queue-control{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:17px;padding-top:13px;border-top:1px solid #ffffff30}.case-queue-control label{display:flex;align-items:center;gap:10px;min-height:44px;font-size:13px;cursor:pointer}.case-queue-control input{width:20px;height:20px;accent-color:#aee1d0}.case-queue-position{font-size:12px;color:#aee1d0}.case-header .queue-dirty-reminder{width:100%;color:#ffd1c9;margin:0;font-size:12px}.case-queue-control label:has(input:disabled){opacity:.65}

/* Phone layouts: readable inputs, touch targets, and room above the export bar. */
.case-content,.work-grid>*,.workspace-heading>*,.progress-top>*,.editor-heading>*,.viewer-heading>*,.document-card>*,.account-bar,.brand{min-width:0}.case-header h2,.case-section h3,.task-card h4,.progress-summary,.next-actor,.timeline-list,.company-footer,.manual-save-feedback{overflow-wrap:anywhere}.button{max-width:100%;white-space:normal;overflow-wrap:anywhere}input,select,textarea{max-width:100%}.case-filters optgroup{font-weight:650}
@media(max-width:650px){
  .topbar{flex-wrap:wrap;align-items:center;gap:12px;padding-left:max(14px,env(safe-area-inset-left));padding-right:max(14px,env(safe-area-inset-right))}.brand{flex:1 1 220px}.brand div>span{max-width:none}.account-bar{max-width:none;flex:1 1 220px;justify-content:flex-start;gap:8px}.account-bar #account-name{width:auto;max-width:none;text-align:left;flex:1 1 100%;font-size:12px;overflow-wrap:anywhere}.account-bar .language-control{width:auto;justify-content:flex-start}.account-bar .header-button,.language-control select{min-height:44px;min-width:44px;font-size:13px;padding:10px 12px}.language-control{font-size:11px;gap:7px}.language-control select{font-size:16px;max-width:140px}
  .workspace{padding-left:max(12px,env(safe-area-inset-left));padding-right:max(12px,env(safe-area-inset-right));padding-bottom:calc(190px + env(safe-area-inset-bottom))}.workspace-heading{display:block}.workspace-heading>.button-row{margin-top:16px}.workspace-heading .compact{min-height:44px;font-size:12px;padding:10px 12px;white-space:normal}.workspace-heading .button-row .button{flex:1}.summary-bar{gap:12px 19px}.summary-bar>div{min-width:0}.summary-bar .save-state:has(#save-dot[hidden]):has(#save-status[hidden]):has(#save-button[hidden]){display:none}.save-state #save-button{min-height:44px;font-size:12px;padding:10px}
  .case-filters{gap:8px}.case-filters label{font-size:12px;margin-top:6px}.case-filters select{font-size:16px;min-height:48px}.sidebar summary,.context-note summary,.document-history summary,.progress-timeline summary{min-height:44px}.case-operator{font-size:11px}.case-nav-button{min-height:48px}.case-header,.case-section,.progress-card{padding-left:16px;padding-right:16px}.fields-grid{grid-template-columns:minmax(0,1fr)}.field input:not([type=checkbox]):not([type=radio]),.field select,.field textarea,.photo-toolbar select,.progress-task-editor-row .field input,.progress-task-editor-row .field select{font-size:16px;min-height:48px}.field>label,.field>legend{font-size:13px}.radio-clear{min-height:44px;font-size:12px}.context-note .section-intro{font-size:12px}
  .progress-top{display:block}.progress-top>.button-row{margin:8px 0 15px}.progress-top .button,.task-card .button,.document-actions .button,.access-account .button,.viewer-heading .button,.editor-heading .compact{min-height:44px;font-size:12px;padding:10px 12px;white-space:normal}.document-toolbar .button{min-height:48px}.document-card{grid-template-columns:minmax(0,1fr)}.document-icon{width:66px;height:66px}.document-actions{gap:8px}.document-actions .button{flex:1 1 120px}.task-card .button-row .button{flex:1 1 120px}.response-file{min-height:48px}.progress-task-editor-row input[type=date]{min-width:0;max-width:100%}
  dialog{width:calc(100% - 20px);max-width:calc(100% - 20px);padding:23px 17px;max-height:calc(100dvh - 24px);overflow:auto}.wide-dialog,.viewer-dialog{max-width:calc(100% - 16px);width:calc(100% - 16px);max-height:calc(100dvh - 20px)}.editor-heading,.viewer-heading{flex-wrap:wrap;gap:12px}.editor-heading>div{flex:1 1 160px}.viewer-heading h2{flex:1 1 150px}.viewer-heading .button,.editor-heading>.button{flex:0 0 auto}.login-card{padding:22px 18px}.password-card{padding:0}.access-account textarea{min-height:230px}.close-message{min-width:44px;min-height:44px}.global-message{padding-right:54px}.busy-card{max-width:100%;padding:26px}.manual-save-bottom{padding:18px}.manual-save-bottom .manual-save-button{min-height:64px}
  .export-bar{padding-left:max(14px,env(safe-area-inset-left));padding-right:max(14px,env(safe-area-inset-right));padding-bottom:max(14px,env(safe-area-inset-bottom))}.export-option{min-height:44px;font-size:12px!important}.export-bar>.button{min-height:50px}.company-footer{padding-bottom:calc(190px + env(safe-area-inset-bottom))}
}

.field-input-modes{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.3fr);gap:3px;padding:3px;border:1px solid var(--line);border-radius:9px;margin-bottom:9px;background:#f2f6f4}.field-input-modes button{min-width:0;min-height:44px;border:0;border-radius:6px;padding:8px 7px;font-size:11px;line-height:1.3;background:transparent;color:var(--muted);overflow-wrap:anywhere}.field-input-modes button[aria-pressed=true]{background:white;box-shadow:0 1px 4px #102d4012;color:var(--teal);font-weight:650}.field-evidence{margin-top:8px;border-left:2px solid #91bba9;padding-left:10px}.field-evidence-status{font-size:11px;line-height:1.6;margin:0 0 5px;color:var(--teal)}.field-evidence-link{display:flex;justify-content:space-between;text-align:left;width:100%;min-height:44px;font-size:12px;padding:8px!important;gap:10px}.field-evidence-link>span:first-child{overflow-wrap:anywhere;min-width:0}.field-evidence-link>span:last-child{flex-shrink:0;color:var(--teal)}.field-photo-help{font-size:11px;line-height:1.6;color:var(--muted);margin:10px 0 0}.field-attachment-label{font-weight:650;color:var(--text)!important;overflow-wrap:anywhere}.field-attachment-dialog h2{font-size:23px;margin-top:0}.field-attachment-dialog #field-attachment-case{font-size:12px;margin-bottom:9px}.field-quality-help{font-size:12px!important;line-height:1.6!important;border-left:3px solid #91bba9;padding-left:13px}.field-attachment-dialog .dialog-actions .button{min-height:48px}@media(max-width:650px){.field-input-modes button{min-height:46px;font-size:12px}.field-evidence-status,.field-photo-help{font-size:12px}.field-attachment-dialog .dialog-actions .button{min-height:50px}}
.date-prior-note{font-size:11px;line-height:1.6;color:var(--muted);overflow-wrap:anywhere;margin-top:8px}.date-prior-note p{margin:4px 0}.field input[type=date],.field input[type=datetime-local]{width:100%;min-width:0;min-height:47px;padding:12px;border:1px solid #ccd8d8;border-radius:8px;background:#fcfdfc;color:var(--text);font:inherit;font-size:14px}@media(max-width:650px){.field input[type=date],.field input[type=datetime-local]{font-size:16px;min-height:48px}.date-prior-note{font-size:12px}}

.completion-summary{padding:18px 28px;border:1px solid #e0ceb0;border-top:0;background:#fffaf1}.completion-summary.has-missing{border-color:#e7b5b0;background:#fff7f5}.completion-summary h3{font-size:14px;line-height:1.4;margin:0 0 10px}.completion-count{font-size:13px;line-height:1.5;margin:5px 0}.completion-count strong{font-size:18px;margin-right:4px}.completion-count.missing{color:#9f342d}.completion-count.pending{color:#8b5b14}.field.completion-missing{border-left:3px solid #b5473d;padding-left:12px}.field.completion-pending{border-left:3px solid #bb862d;padding-left:12px}.field.completion-missing>label,.field.completion-missing>legend{color:#9f342d}.field.completion-missing input:not([type=checkbox]):not([type=radio]),.field.completion-missing select,.field.completion-missing textarea{border-color:#b5473d;background:#fffafa}.field.completion-missing .checkbox-field label,.field.completion-missing .radio-option{border-color:#c97e76}.completion-field-status{font-size:12px;line-height:1.5;margin:10px 0 0;font-weight:650;color:#9f342d}.completion-pending .completion-field-status{color:#8b5b14}.completion-field-help,.completion-source-hint{font-size:12px;line-height:1.65;margin:6px 0 0;white-space:pre-line;overflow-wrap:anywhere;color:var(--muted)}.completion-source-hint{font-size:11px}.field-evidence{border-left-color:#bb862d}.field-evidence-status{color:#8b5b14}@media(max-width:650px){.completion-summary{padding:18px 16px}.field.completion-missing,.field.completion-pending{padding-left:10px}.completion-field-help,.completion-field-status{font-size:12px}.completion-summary h3{font-size:14px}}
.known-facts{padding:22px 28px;border:1px solid var(--line);border-top:0;background:#f8fbfa}.known-facts h3{font-size:16px;line-height:1.4;margin:0 0 16px}.known-facts dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 22px;margin:0}.known-fact{min-width:0}.known-fact dt{font-size:11px;line-height:1.5;color:var(--muted);margin:0 0 5px}.known-fact dd{margin:0;overflow-wrap:anywhere;white-space:pre-line}.known-fact-value{font-size:14px;line-height:1.6;color:var(--text)}.known-fact .known-fact-source{font-size:11px;color:var(--muted);line-height:1.6;margin-top:5px}@media(max-width:650px){.known-facts{padding:20px 16px}.known-facts dl{grid-template-columns:minmax(0,1fr);gap:15px}.known-fact dt{font-size:12px}.known-fact-value{font-size:15px}}

.priority-fields,.pending-fields{padding:25px 28px;border:1px solid var(--line);border-top:0;background:white}.priority-fields.has-missing{border:2px solid #b74539;border-top:0;background:#fff4f2}.priority-fields h3,.pending-fields h3{font-size:22px;line-height:1.35;margin:0 0 22px}.priority-fields.has-missing>h3{color:#942d25}.pending-fields{border-color:#d9bd8c;background:#fffaf1}.pending-fields>h3{font-size:18px;color:#815312}.priority-fields .manual-save-bottom{margin-top:26px;border-color:#d3ada7;background:white}.priority-fields .manual-save-button{min-height:68px;font-size:19px}.manual-save-reminder{font-size:13px;line-height:1.6;color:#942d25;margin:0;font-weight:650;overflow-wrap:anywhere}.priority-fields .field.completion-missing{padding-left:0;border-left:0}@media(max-width:650px){.priority-fields,.pending-fields{padding:22px 16px}.priority-fields h3{font-size:22px}.pending-fields h3{font-size:18px}.priority-fields .manual-save-bottom{padding:18px 12px}.manual-save-reminder{font-size:13px}.priority-fields .manual-save-button{min-height:68px}}
.case-header .queue-header-feedback{width:100%;font-size:12px;margin:0;color:#b7e8d8}.case-header .queue-header-feedback.error{color:#ffd1c9}
.member-contact{display:flex;align-items:center;flex-wrap:wrap;gap:6px 12px;background:#fff;border:1px solid var(--line);border-left:4px solid var(--teal);padding:15px 20px;margin:16px 0;border-radius:12px;font-size:14px;overflow-wrap:anywhere}.member-contact p{flex-basis:100%;margin:0;font-size:13px;line-height:1.6;color:var(--muted)}.member-contact-phone{display:inline-flex;align-items:center;min-height:44px;font-weight:650}.document-member-visibility{margin:10px 0;padding:8px 12px;border:1px solid var(--line);border-radius:8px}.document-member-visibility p{margin:3px 0}.document-visibility-toggle{display:flex;align-items:center;gap:10px;min-height:44px;font-size:13px;line-height:1.5;cursor:pointer}.document-visibility-toggle input{width:20px;height:20px;flex:0 0 20px;accent-color:var(--teal)}
@media(max-width:650px){.member-contact{padding:12px 16px}.member-contact>span,.member-contact-phone{flex-basis:100%}}
.completion-action-card{padding:18px!important;border:1px solid #d99d95!important;border-radius:12px;background:#fff;grid-column:1/-1}.completion-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:16px}.completion-actions .button{min-height:48px;font-size:13px}.completion-save-note{font-size:11px;color:var(--muted);line-height:1.5;margin:9px 0 0}.completion-action-card .manual-save-feedback{margin-top:8px}.pending-fields .completion-action-card{border-color:#d9bd8c!important}@media(max-width:650px){.completion-action-card{padding:15px!important}.completion-actions .button{flex:1 1 130px;min-height:48px;font-size:14px}.completion-actions .button:first-child{flex-basis:100%}}
.member-preview-banner{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:18px 20px;margin-bottom:24px;border:1px solid #d7b875;border-radius:12px;background:#fff7df;font-size:14px;line-height:1.6}.member-preview-banner strong{overflow-wrap:anywhere}.member-preview-banner .button{flex-shrink:0}.document-toolbar[aria-disabled=true]{opacity:.55;pointer-events:none}@media(max-width:650px){.member-preview-banner{display:block;padding:16px}.member-preview-banner .button{margin-top:12px}}
.completion-assignee{display:table;font-size:12px;font-weight:700;line-height:1.5;color:#315448;background:#edf5f0;border:1px solid #c3d9cb;border-radius:7px;padding:5px 9px;margin:0 0 12px;overflow-wrap:anywhere}.completion-assignee[data-completion-assignee=third_party],.completion-assignee[data-completion-assignee=sunwindtech]{color:#775013;background:#fff7e6;border-color:#ddc38d}
.progress-needs-info{border:2px solid #b74539;border-top:0;background:#fff4f2}.progress-needs-info .progress-top h3{color:#942d25;font-size:22px}.progress-needs-info .progress-kicker{color:#93443b}.task-card.task-needs-info{border-color:#daa19a;border-left:4px solid #b74539;background:#fff}.task-needs-info h4{color:#942d25}.task-card.task-awaiting{border-left-color:#bb862d}.progress-context{margin:16px 0;border-top:1px solid #d3dcd5;padding-top:6px}.progress-context>summary{min-height:44px;padding:12px 0;font-size:13px;font-weight:650;line-height:1.5}.progress-context .progress-summary{margin:8px 0 12px}.known-facts>summary,.case-section>summary{min-height:44px;font-size:16px;font-weight:700;line-height:1.5;overflow-wrap:anywhere}.known-facts[open]>summary,.case-section[open]>summary{margin-bottom:20px}.case-section:not([open])>.fields-grid,.case-section:not([open])>.manual-save-controls{margin:0}.progress-next-steps .task-awaiting{background:#fffefb}@media(max-width:650px){.progress-needs-info .progress-top h3{font-size:22px}.known-facts>summary,.case-section>summary{font-size:15px}}
.pending-intake-badge{display:block;background:#fff3db;color:#815312;border:1px solid #ddc38d;border-radius:6px;padding:6px 8px;margin-top:8px;font-size:11px;font-weight:700;line-height:1.5}
.case-heading-row{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.case-heading-row>h2{flex:1 1 auto;min-width:0;margin:0;overflow-wrap:anywhere}.case-header-actions{display:flex;justify-content:flex-end;align-items:flex-start;flex:0 1 auto;gap:9px;max-width:60%}.case-header-actions .button{background:#fff;color:var(--navy);border:1px solid #cbd9df;min-height:44px;padding:11px 13px;font-size:12px;line-height:1.4;text-align:center}.case-heading-row+p{margin-top:12px}
@media(max-width:780px){.case-heading-row{flex-direction:column;gap:16px}.case-header-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;max-width:100%;justify-content:stretch}.case-header-actions .button{width:100%;min-width:0;min-height:46px;padding:11px;font-size:12px}}
@media(max-width:380px){.case-header-actions{grid-template-columns:minmax(0,1fr)}}
.coordinator-access-control{border:1px solid #ffffff50;border-radius:10px;padding:14px 16px;background:#ffffff09}.coordinator-access-control label{font-weight:700}.coordinator-access-note{flex-basis:100%;margin:0;color:#d5e6eb;font-size:12px;line-height:1.6}
.new-client-dialog{max-width:940px}.new-client-dialog .editor-heading h2{margin:5px 0 0}.intake-steps{list-style:none;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:24px 0}.intake-steps li{font-size:12px;line-height:1.5;padding:11px;background:#eef2f0;border-radius:8px;color:var(--muted)}.intake-steps li.active{background:var(--teal);color:white;font-weight:700}.new-client-dialog h3{font-size:21px;line-height:1.4;margin:16px 0}.new-client-dialog h4{font-size:16px;margin:22px 0 16px}.new-client-dialog .small-note{font-size:13px;line-height:1.7;overflow-wrap:anywhere}
.new-client-dialog label[for=intake-source-text],.intake-upload>label{display:block;font-size:13px;font-weight:700;margin:20px 0 10px}.intake-upload{border:1px dashed #9fbbaf;border-radius:10px;padding:0 18px 18px;background:#f6faf8}.intake-upload input{width:100%;font:inherit;font-size:13px;min-height:44px}.intake-upload input::file-selector-button{font:inherit;min-height:44px;margin-right:10px;border:1px solid #9fbbaf;border-radius:7px;background:white;padding:8px 12px;cursor:pointer}.new-client-dialog textarea#intake-source-text{display:block;width:100%;padding:14px;border:1px solid var(--line);border-radius:9px;font:inherit;font-size:14px;line-height:1.6;margin-bottom:14px;resize:vertical}.intake-source-files{font-size:12px;line-height:1.7;padding-left:20px;overflow-wrap:anywhere}.intake-extraction-result,.intake-success{font-size:14px;line-height:1.6;color:var(--teal);font-weight:700}
.intake-scopes{border:0;padding:0}.intake-scopes legend{margin-bottom:12px;font-size:13px;font-weight:700}.intake-scope-option{display:flex;gap:12px;align-items:center;min-height:48px;margin:8px 0;padding:10px 13px;border:1px solid var(--line);border-radius:8px;cursor:pointer;font-size:14px!important;font-weight:400!important}.intake-scope-option input{width:20px;height:20px;flex:0 0 20px;accent-color:var(--teal)}.intake-scope-option:has(input:checked){border-color:var(--teal);background:#eff8f3}.intake-source{font-size:11px;line-height:1.6;color:var(--muted);border-left:2px solid #9fbbaf;padding-left:9px;white-space:pre-line;overflow-wrap:anywhere;margin:8px 0}.intake-message,.intake-warning{font-size:13px;line-height:1.7;white-space:pre-line;overflow-wrap:anywhere}.intake-message.error,.intake-warning{color:var(--red)}
.intake-review{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 24px;margin:20px 0}.intake-review dt{font-size:12px;color:var(--muted);margin-bottom:5px}.intake-review dd{font-size:14px;line-height:1.6;white-space:pre-line;margin:0;overflow-wrap:anywhere}.intake-delay{font-size:13px;line-height:1.7;border-left:3px solid #c5994f;background:#fff8e9;padding:13px 16px;border-radius:6px}.intake-open-fields{font-size:13px;border:1px solid #d9bd8c;background:#fffaf1;border-radius:9px;padding:14px 16px;margin:18px 0}.intake-open-fields summary{font-weight:650;min-height:32px;cursor:pointer}.intake-open-fields li{margin:5px 0}.new-client-dialog .dialog-actions{margin-top:24px;padding-top:20px;border-top:1px solid var(--line)}.new-client-dialog .dialog-actions .button{min-height:48px}.new-client-dialog .error{color:var(--red)}
.intake-warnings{border:1px solid #dbb676;background:#fff8e9;border-radius:9px;padding:16px;margin:20px 0;font-size:13px;line-height:1.6}.intake-warnings .intake-warning{color:#775013}
.intake-requirements{margin-top:26px;border-top:1px solid var(--line);padding-top:10px;overflow-wrap:anywhere}.intake-requirement-card{border:1px solid #bdcdc6;background:#fafcfb;border-radius:10px;padding:17px;margin:14px 0;min-width:0}.intake-requirement-heading{display:flex;justify-content:space-between;gap:12px;align-items:start;flex-wrap:wrap}.intake-requirement-select{display:flex;gap:10px;align-items:start;flex:1 1 300px;min-width:0;font-size:14px;line-height:1.6}.intake-requirement-select input,.intake-operator-confirm input{width:20px;height:20px;flex:0 0 20px;accent-color:var(--teal);margin:2px 0}.intake-requirement-level{background:#e9eeeb;border:1px solid #cbd7d0;border-radius:5px;padding:4px 7px;color:#52675d;font-size:11px;line-height:1.5}.intake-requirement-level.mandatory{background:#fff3e4;border-color:#e6bd84;color:#80550d}.intake-requirement-help{font-size:14px;line-height:1.75;white-space:pre-line;margin:12px 0}.intake-requirement-source{font-size:11px;color:var(--muted);line-height:1.6}.intake-requirement-upload{display:flex;flex-wrap:wrap;gap:9px;margin-top:14px}.intake-requirement-upload label{cursor:pointer;min-height:44px;display:inline-flex;align-items:center}.intake-requirement-caution{background:#fff5df;border-left:3px solid #bf954c;border-radius:6px;padding:14px;font-size:14px;line-height:1.7}.intake-evidence-list{margin-top:24px}.intake-evidence-row{display:flex;flex-wrap:wrap;gap:8px 14px;align-items:center;border:1px solid var(--line);background:white;padding:14px;border-radius:8px;margin:10px 0;min-width:0}.intake-evidence-row>p{flex:1 1 100%;margin:4px 0}.intake-evidence-row>strong{flex:1 1 65%;font-size:13px;overflow-wrap:anywhere}.intake-evidence-row label{font-size:12px}.intake-evidence-row select{flex:1 1 230px;min-width:0;max-width:100%;font:inherit;padding:10px;border:1px solid var(--line);border-radius:6px}.intake-evidence-status{color:var(--teal);font-size:13px;line-height:1.6}.intake-operator-confirm{display:flex;gap:12px;align-items:start;background:#f0f6f3;border:1px solid #a8c4b5;border-radius:8px;padding:16px;font-size:14px;line-height:1.7;margin:20px 0}
.owner-history-dialog{max-width:1120px;width:calc(100% - 30px)}.owner-history-dialog .editor-heading h2{margin:5px 0 0}.history-scope-note{font-size:12px;line-height:1.7;color:var(--muted);overflow-wrap:anywhere}.history-users-section{border:1px solid var(--line);border-radius:10px;padding:14px 16px;background:#f7faf8;margin:18px 0}.history-users-section>summary{font-size:14px;font-weight:700;min-height:30px;cursor:pointer}.history-users{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:14px}.history-user-card{border:1px solid var(--line);border-radius:9px;background:white;padding:13px;min-width:0;font-size:12px;line-height:1.6;overflow-wrap:anywhere}.history-user-card>strong{display:block;font-size:13px}.history-user-role{font-size:11px;color:var(--muted)}.history-user-card p{margin:8px 0 0}.history-session-note{color:var(--muted);font-size:11px}.history-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin:22px 0;padding:18px;border:1px solid var(--line);border-radius:10px}.history-filters>div{min-width:0}.history-filters label{display:block;font-size:12px;font-weight:650;margin-bottom:7px}.history-filters select,.history-filters input{width:100%;min-width:0;min-height:44px;font-size:13px;padding:10px;border:1px solid var(--line);border-radius:7px;color:var(--text);background:white}.history-filter-actions{grid-column:1/-1;display:flex;gap:8px;flex-wrap:wrap}.history-filter-actions .button{min-height:44px;font-size:12px}.history-events-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.history-events-heading h3{font-size:20px;margin:12px 0}.history-events-heading>span{font-size:12px;color:var(--muted)}.history-events{list-style:none;margin:0;padding:0;display:grid;gap:13px}.history-event{border:1px solid var(--line);border-radius:10px;padding:17px;min-width:0;overflow-wrap:anywhere}.history-event-top{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:12px;color:var(--muted)}.history-source{font-size:10px;font-weight:650;border:1px solid #b6d5c8;color:#276f59;background:#f0f8f3;border-radius:6px;padding:4px 7px;line-height:1.5}.history-source.legacy{color:#78561e;background:#fff8e9;border-color:#dcc79f}.history-event h4{font-size:15px;line-height:1.5;margin:13px 0 5px}.history-actor{font-size:13px;font-weight:650;margin:0 0 10px}.history-event-text{font-size:12px;line-height:1.7;white-space:pre-line;margin:9px 0}.history-case-context{display:flex;align-items:center;gap:6px 11px;flex-wrap:wrap;font-size:12px;line-height:1.7;background:#f6f9f7;padding:10px 12px;border-radius:7px}.history-case-context>span:first-child{color:var(--muted)}.history-case-context .button{font-size:11px;min-height:38px;margin-left:auto}.history-document{font-size:12px;line-height:1.7;margin:12px 0 0;overflow-wrap:anywhere}.history-document>span:first-child{color:var(--muted)}.history-message{font-size:13px;line-height:1.7;overflow-wrap:anywhere}.history-message.error{color:var(--red)}.history-empty{font-size:13px;line-height:1.7;color:var(--muted);margin:14px 0}.owner-history-dialog #owner-history-more{margin-top:18px;min-height:46px}
@media(max-width:780px){.history-users{grid-template-columns:repeat(2,minmax(0,1fr))}.history-filters{grid-template-columns:repeat(2,minmax(0,1fr));padding:14px}.history-filters select,.history-filters input{font-size:16px;min-height:46px}.history-filter-actions .button{flex:1 1 130px}.history-user-card p,.history-session-note{font-size:12px}}
@media(max-width:480px){.history-users,.history-filters{grid-template-columns:minmax(0,1fr)}.history-users-section{padding:12px}.history-user-card{padding:12px}.history-event{padding:14px}.history-case-context{display:block}.history-case-context>*{display:block;margin:4px 0}.history-case-context .button{margin-top:9px;width:100%;min-height:44px}}
@media(max-width:650px){.intake-steps{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:20px 0}.intake-steps li{font-size:11px;padding:9px}.intake-review{grid-template-columns:minmax(0,1fr);gap:14px}.intake-scope-option{font-size:14px!important}.new-client-dialog textarea#intake-source-text,.intake-upload input{font-size:16px}.new-client-dialog .dialog-actions .button{flex:1 1 130px}.coordinator-access-control{padding:12px}.new-client-dialog .editor-heading{align-items:start}.new-client-dialog .editor-heading .button{min-height:44px}}
