:root{color:#30342f;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;--accent:#49624f;--border:#e7e5df;--ink:#292e29;--muted:#767a74;--surface:#fff;background:#f8f7f3;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{min-width:320px;min-height:100vh;margin:0}button,a{font:inherit}#root{min-height:100vh}.app-shell{flex-direction:column;width:min(100% - 48px,1080px);min-height:100vh;margin:0 auto;display:flex}.topbar{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;min-height:84px;display:flex}.brand{color:var(--ink);letter-spacing:-.5px;align-items:center;gap:11px;font-size:19px;font-weight:700;text-decoration:none;display:inline-flex}.brand-mark,.empty-icon{color:#fff;background:var(--accent);place-items:center;font-family:Georgia,serif;font-weight:700;display:grid}.brand-mark{border-radius:10px;width:34px;height:34px}.connection-status{color:var(--muted);align-items:center;gap:8px;font-size:13px;display:inline-flex}.status-dot{background:#d29b43;border-radius:50%;width:8px;height:8px}.connection-status--connected .status-dot{background:#368b65}.connection-status--unavailable .status-dot{background:#c65757}.welcome{padding:66px 0 42px}.eyebrow{color:var(--accent);letter-spacing:1.4px;margin:0 0 10px;font-size:11px;font-weight:700}h1,h2,h3,p{margin-top:0}h1{max-width:700px;color:var(--ink);letter-spacing:-1.7px;margin-bottom:13px;font-family:Georgia,Times New Roman,serif;font-size:clamp(36px,6vw,54px);font-weight:500;line-height:1.1}.welcome-copy{max-width:560px;color:var(--muted);margin-bottom:0;font-size:16px}.cases-panel{border:1px solid var(--border);background:var(--surface);border-radius:14px;flex:1;min-height:310px;padding:26px 30px;box-shadow:0 8px 26px #2227300a}.auth-panel,.error-panel,.staff-form{border:1px solid var(--border);background:var(--surface);border-radius:12px;padding:24px}.auth-panel,.error-panel{margin-bottom:24px}.auth-panel p,.error-panel p{color:var(--muted);font-size:14px}.signed-in-bar{color:var(--muted);justify-content:space-between;align-items:center;margin:0 0 12px;font-size:13px;display:flex}.text-button{color:var(--accent);cursor:pointer;background:0 0;border:0;padding:6px 0;font-weight:650}.primary-button,.secondary-button{border:1px solid var(--accent);cursor:pointer;border-radius:7px;min-height:40px;padding:9px 15px;font-weight:650}.primary-button{background:var(--accent);color:#fff}.secondary-button{color:var(--accent);background:#fff}.primary-button:disabled,.secondary-button:disabled{cursor:wait;opacity:.65}.staff-form{gap:14px;display:grid}.create-form{margin-bottom:22px}.staff-form h2,.staff-form h4{color:var(--ink);margin:0}.staff-form h4{font-size:14px}.staff-form label{color:var(--muted);gap:6px;font-size:12px;font-weight:600;display:grid}.staff-form input:not([type=checkbox]),.staff-form select,.staff-form textarea{border:1px solid var(--border);width:100%;min-height:40px;color:var(--ink);font:inherit;background:#fff;border-radius:6px;padding:9px 10px;font-size:14px}.staff-form textarea{resize:vertical}.case-list{display:grid}.case-card{border-bottom:1px solid var(--border);padding:22px 0}.case-card:last-child{border-bottom:0}.case-card-heading{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.case-card-heading h3{margin-bottom:3px}.case-reference{color:var(--muted);margin-bottom:0;font-size:12px}.case-client{color:var(--muted);margin:4px 0 0;font-size:12px}.form-help{color:var(--muted);margin:0;font-size:13px}.status-pill{color:var(--accent);background:#edf2ed;border-radius:999px;flex:none;padding:5px 10px;font-size:12px;font-weight:650}.update-list{color:#555b54;gap:9px;margin:18px 0 0;padding:0;font-size:14px;list-style:none;display:grid}.update-list li{border-inline-start:2px solid #dfe6dc;gap:3px;padding-inline-start:12px;display:grid}.update-list time{color:var(--muted);font-size:11px}.update-status{color:var(--accent);font-size:12px;font-weight:650}.update-form{background:#fafaf8;margin-top:16px;padding:16px}.checkbox-label{align-items:center;gap:9px!important;font-weight:500!important;display:flex!important}.checkbox-label input{width:16px;height:16px;accent-color:var(--accent)}.notice,.error-message{color:var(--muted);padding:16px 0;font-size:14px}.error-message{color:#a53d3d;margin-bottom:0}.panel-heading{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;padding-bottom:21px;display:flex}.panel-heading .eyebrow{margin-bottom:4px}h2{color:var(--ink);margin-bottom:0;font-size:19px;font-weight:650}.case-count{color:var(--muted);background:#f0eee8;border-radius:999px;padding:5px 10px;font-size:12px}.empty-state{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:220px;display:flex}.empty-icon{color:#77715f;background:#eae6db;border-radius:13px;width:42px;height:42px;margin-bottom:14px;font-size:19px}h3{color:var(--ink);margin-bottom:6px;font-size:15px}.empty-state p{max-width:340px;color:var(--muted);margin-bottom:0;font-size:13px}.footer{color:var(--muted);justify-content:space-between;gap:16px;padding:24px 0;font-size:12px;display:flex}@media (width<=600px){.app-shell{width:min(100% - 32px,1080px)}.topbar{min-height:70px}.connection-status{font-size:11px}.welcome{padding:48px 0 30px}.cases-panel{padding:21px 18px}.auth-panel,.error-panel{padding:20px}.case-card-heading{flex-direction:column;gap:10px}.footer{flex-direction:column;gap:5px}}.preferences-panel{margin:0 0 16px}.preferences-panel summary{width:fit-content;color:var(--muted);cursor:pointer;margin-inline-start:auto;font-size:13px}.preferences-form{margin-top:10px}.nested-form{gap:14px;display:grid}.nested-form h3,.credentials-panel h3{margin:0;font-size:15px}.form-row{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:14px;display:grid}.link-existing summary{color:var(--muted);cursor:pointer;font-size:13px}.link-existing .nested-form{margin-top:12px}.credentials-panel{border:1px solid var(--border);background:#f4f8f3;border-radius:10px;gap:12px;padding:16px;display:grid}.credentials-panel dl{grid-template-columns:max-content 1fr;gap:8px 16px;margin:0;font-size:13px;display:grid}.credentials-panel dt{color:var(--muted);font-weight:600}.credentials-panel dd{margin:0}.copyable{flex-wrap:wrap;align-items:center;gap:8px;display:inline-flex}.copyable code{background:var(--surface);overflow-wrap:anywhere;border-radius:6px;padding:2px 6px;font-size:14px}
