:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#1d2a3c;background:#f4f6f8;font-size:16px;--orange:#ca561b;--navy:#142336;--muted:#65758a;--line:#e3e8ee;--soft:#f4f6f8}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button{cursor:pointer}a{color:inherit}button:disabled{opacity:.5;cursor:not-allowed}.sidebar{width:236px;background:var(--navy);color:#d9e2ec;position:fixed;inset:0 auto 0 0;padding:29px 18px;display:flex;flex-direction:column;z-index:10}.brand{display:flex;gap:11px;align-items:center;text-decoration:none;font-weight:700;font-size:22px;letter-spacing:-.6px}.brand-mark{display:grid;place-items:center;background:#e57032;color:#fff;border-radius:10px;width:39px;height:43px;font-size:28px}.brand small{display:block;font-size:9px;letter-spacing:1.5px;margin-top:6px;color:#a6b5c7;font-weight:500}.workspace{margin:32px 0 26px;border:1px solid #344254;border-radius:9px;padding:13px 10px;display:flex;gap:10px;align-items:center;font-size:14px}.workspace small,.profile small{display:block;color:#a6b5c7;font-size:12px;margin-top:5px}.workspace-icon{font-size:12px;background:#2b3d51;border-radius:6px;padding:9px 6px;color:#fff}.nav-label{font-size:10px;letter-spacing:1.1px;color:#96a6b9;margin:0 12px 13px}nav{display:grid;gap:6px}nav a{display:flex;gap:11px;align-items:center;padding:13px 12px;text-decoration:none;font-size:14px;border-radius:7px;color:#bcc9d8}nav a.active{background:#2d3b4e;color:#fff;box-shadow:inset 3px 0 #ed874e}nav a:hover{background:#243448}.icon{width:19px;height:19px;display:block;flex:none}.nav-count{margin-left:auto;font-size:12px;background:#526074;padding:2px 6px;border-radius:5px}.sidebar-bottom{margin-top:auto}.sidebar-bottom p{font-size:12px;line-height:1.65;color:#9dadbf;margin:9px 5px 16px}.local-label{font-size:12px;margin:25px 5px 0;display:flex;gap:7px;align-items:center}.local-label>span{height:6px;width:6px;background:#dd9b63;border-radius:50%}.backup{display:flex;gap:8px;align-items:center;font-size:12px;text-decoration:none;border-bottom:1px solid #344254;padding:0 4px 23px}.backup .icon{width:16px}.profile{display:flex;gap:10px;align-items:center;font-size:14px;padding:21px 3px}.avatar{background:#33455b;border-radius:50%;width:35px;height:35px;display:grid;place-items:center;font-size:12px;font-weight:700}.powered{font-size:14px;letter-spacing:2px;padding:15px 4px 0;border-top:1px solid #344254}.powered b{font-weight:400;color:#a7b6c9}.powered span{float:right;font-size:10px;letter-spacing:.5px;margin-top:3px}main{margin-left:236px;min-height:100vh}.topbar{height:68px;background:white;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:0 38px}.breadcrumb{font-size:13px;color:var(--muted)}.breadcrumb span{margin:0 12px;color:#c4ccd5}.breadcrumb strong{font-weight:500;color:#344356}.pilot-badge{font-size:10px;font-weight:650;letter-spacing:1px;border:1px solid #e5d4c6;background:#fff8f1;color:#87562c;padding:6px 10px;border-radius:5px}.app{padding:31px 38px 38px;max-width:1680px;margin:auto}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:27px}.eyebrow{font-size:11px;font-weight:650;letter-spacing:1.6px;color:var(--orange);margin-bottom:9px}.page-heading h1{font-size:30px;letter-spacing:-.8px;margin:0 0 8px;font-weight:650}.page-heading p{color:var(--muted);margin:0;font-size:14px}.heading-actions{display:flex;gap:11px;align-items:center}.date-label{font-size:13px;color:var(--muted);white-space:nowrap}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #dbe1e8;border-radius:7px;padding:10px 14px;background:white;color:#334356;font-size:14px;font-weight:550;text-decoration:none;white-space:nowrap}.button.primary{background:var(--orange);border-color:var(--orange);color:white;box-shadow:0 3px 6px #a5431a13}.button.primary:hover{background:#b64b16}.button:hover{filter:brightness(.97)}.button.small{font-size:12px;padding:7px 9px}.button.danger{color:#b54141}.button.ghost{border-color:transparent;background:transparent}.button .icon{width:17px;height:17px}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:27px}.stat{background:#fff;border:1px solid var(--line);border-radius:10px;text-align:left;padding:19px 21px;position:relative}.stat-label{display:flex;align-items:center;justify-content:space-between;font-size:13px;font-weight:550;color:#5d6b7d}.stat-symbol{background:#f0f3f8;border-radius:7px;padding:7px;color:#718198}.stat-symbol .icon{width:17px;height:17px}.stat-number{font-size:30px;letter-spacing:-1px;font-weight:650;margin:4px 0 7px}.stat-foot{font-size:12px;color:#7b8797}.stat.warn .stat-symbol{background:#fff1e7;color:#c86829}.stat.warn .stat-number{color:#b44921}.stat.green .stat-symbol{background:#eaf5ee;color:#397859}.board-layout{display:grid;grid-template-columns:minmax(0,1fr) 258px;gap:22px;align-items:start}.panel{background:white;border:1px solid var(--line);border-radius:10px;overflow:hidden}.panel-head{padding:21px 22px 0;display:flex;gap:14px;align-items:center;justify-content:space-between}.panel-head h2{font-size:17px;letter-spacing:-.2px;font-weight:650;margin:0}.count-label{font-size:12px;color:var(--muted);margin-top:6px}.tabs{display:flex;gap:21px;border-bottom:1px solid var(--line);padding:17px 22px 0;overflow-x:auto}.tab{border:0;background:none;padding:0 0 13px;color:#738094;font-size:13px;white-space:nowrap}.tab.active{color:#b44a17;border-bottom:2px solid var(--orange);font-weight:650}.tab span{margin-left:4px;font-size:11px;background:#f1f3f6;border-radius:4px;padding:2px 5px;color:#697688}.filters{display:flex;gap:9px;padding:16px 20px;border-bottom:1px solid var(--line)}.search{position:relative;flex:1;min-width:100px}.search .icon{position:absolute;left:11px;top:11px;color:#8491a2;width:16px;height:16px}.search input{width:100%;padding-left:35px}input,select,textarea{background:white;border:1px solid #dce3ea;border-radius:6px;padding:10px 11px;font-size:14px;color:#24354b;min-width:0}input::placeholder,textarea::placeholder{color:#8995a5}select{max-width:200px;padding-right:25px}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:13px}th{font-size:11px;text-transform:uppercase;letter-spacing:.5px;color:#7a8798;font-weight:600;padding:13px 19px;background:#fbfcfd;white-space:nowrap}td{border-top:1px solid #edf0f4;padding:16px 19px;vertical-align:middle}tr.case-row{cursor:pointer}tr.case-row:hover{background:#fbfcfe}.case-title{border:0;background:transparent;text-align:left;color:#29384b;font-weight:600;font-size:13px;padding:0;line-height:1.5;max-width:285px}.case-title:hover{color:var(--orange)}.folio{font-size:11px;font-weight:500;color:#8b97a6;letter-spacing:.4px;margin-bottom:4px}.secondary{display:block;color:#7e8b9a;font-size:12px;margin-top:5px;line-height:1.5}.client-cell{white-space:nowrap;line-height:1.5}.client-initial{display:inline-grid;place-items:center;width:28px;height:28px;background:#edf1f7;color:#5c6e86;border-radius:6px;font-size:10px;font-weight:650;margin-right:8px;vertical-align:middle}.badge{display:inline-flex;align-items:center;border-radius:5px;white-space:nowrap;padding:5px 8px;font-size:11px;font-weight:600;background:#eef2f6;color:#5e6f84;line-height:1.4}.badge.review{background:#eef2fd;color:#586dba}.badge.waiting{background:#fff3e4;color:#9d671f}.badge.ready{background:#eaf5ef;color:#348060}.badge.done{background:#f0f2f5;color:#718092}.badge.observed{background:#fff0ed;color:#b55640}.priority{display:inline-flex;align-items:center;gap:5px;font-size:11px;color:#717f91}.priority::before{content:'';width:5px;height:5px;background:#9aa7b7;border-radius:50%}.priority.high{color:#b55640}.priority.high::before{background:#c66a54}.due{font-size:12px;white-space:nowrap}.due.late{color:#b35540}.table-footer{display:flex;align-items:center;justify-content:space-between;padding:14px 20px;border-top:1px solid var(--line);font-size:12px;color:#8793a2}.attention{padding:21px 18px}.attention h2{font-size:15px;margin:0 0 6px}.attention>p{font-size:12px;color:var(--muted);margin:0 0 18px;line-height:1.5}.attention-card{border:1px solid #eedccd;background:#fffaf5;border-radius:7px;padding:13px 12px;margin:0 0 11px;display:block;text-decoration:none;text-align:left;width:100%;color:inherit}.attention-card strong{font-size:12px;font-weight:600;display:block;line-height:1.5}.attention-card p{font-size:12px;color:#87674c;line-height:1.5;margin:7px 0}.attention-card .secondary{font-size:11px;color:#9c7c61}.legend{padding-top:18px;border-top:1px solid var(--line);margin-top:19px}.legend strong{font-size:12px}.legend p{font-size:12px;color:var(--muted);line-height:1.7;margin-bottom:0}.local-note{display:flex;gap:9px;align-items:flex-start;color:#8692a1;font-size:12px;line-height:1.6;margin-top:19px}.local-note .icon{width:15px;height:15px;margin-top:2px}.empty{padding:54px 24px;text-align:center;color:var(--muted);line-height:1.8}.empty strong{color:#35465b;display:block}.loading{padding:70px;text-align:center;color:var(--muted)}.toast{position:fixed;bottom:25px;left:calc(50% + 110px);transform:translateX(-50%);background:#1b3440;color:white;border-radius:9px;box-shadow:0 8px 28px #10203226;padding:13px 20px;z-index:60;font-size:14px;display:none;max-width:90vw}.toast.visible{display:block}.toast.error{background:#943e35}dialog{border:0;padding:0;color:inherit;box-shadow:0 15px 65px #152a4144}dialog::backdrop{background:#0d20375e;backdrop-filter:blur(2px)}.detail-dialog{margin:0 0 0 auto;width:min(790px,96vw);height:100dvh;max-height:100dvh;border-radius:14px 0 0 14px;max-width:96vw}.form-dialog{width:min(740px,94vw);border-radius:13px;max-height:92dvh}.dialog-head{display:flex;justify-content:space-between;gap:18px;padding:24px 28px 20px;border-bottom:1px solid var(--line);background:#fff}.dialog-head h2{font-size:22px;letter-spacing:-.5px;margin:5px 0 10px;line-height:1.35}.dialog-head .close{border:1px solid #dde3ea;border-radius:6px;background:white;width:31px;height:31px;font-size:22px;color:#697a8f;flex:none;line-height:1}.dialog-body{padding:23px 28px}.detail-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;background:#f5f7fa;border:1px solid var(--line);padding:17px;border-radius:8px;margin-bottom:20px}.detail-summary label{display:block;color:#7a8797;font-size:11px;margin-bottom:6px}.detail-summary strong{font-size:13px;font-weight:550;line-height:1.5}.detail-description{font-size:14px;line-height:1.8;white-space:pre-wrap;margin:12px 0 20px}.section-title{font-size:15px;margin:25px 0 12px;display:flex;align-items:center;justify-content:space-between}.checklist{background:#fff8ee;border:1px solid #eedec4;border-radius:8px;padding:14px 16px;font-size:13px;color:#88632f;line-height:1.8}.checklist.good{background:#f1f8f3;border-color:#d6e7db;color:#41795a}.checklist ul{margin:6px 0 0;padding-left:18px}.inline-grid{display:grid;grid-template-columns:repeat(3,1fr) auto;gap:9px;align-items:end}.field{display:flex;flex-direction:column;gap:7px}.field label{font-size:12px;font-weight:550;color:#576b81}.field input,.field textarea,.field select{width:100%;max-width:none}.field textarea{min-height:95px;resize:vertical;line-height:1.6}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.field.full{grid-column:1/-1}.form-actions{display:flex;justify-content:flex-end;gap:10px;border-top:1px solid var(--line);padding:18px 28px;background:#fbfcfd}.form-error{color:#a33c35;background:#fff0ed;font-size:13px;line-height:1.6;padding:11px;border-radius:6px;margin-bottom:15px}.hint{font-size:12px;line-height:1.6;color:#7b8797;margin:8px 0}.doc-item{border:1px solid var(--line);padding:14px;border-radius:8px;margin-bottom:10px}.doc-top{display:flex;align-items:center;gap:11px}.doc-symbol{background:#eef2f8;border-radius:7px;padding:11px;color:#647891}.doc-info{flex:1;min-width:0}.doc-info strong{font-size:13px;font-weight:600;overflow-wrap:anywhere}.doc-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:13px}.doc-note{font-size:12px;line-height:1.6;color:#9b614b;margin:8px 0 0}.upload-box{border:1px dashed #cbd5e1;border-radius:8px;padding:15px;background:#fafbfd}.upload-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:10px}.upload-grid input{font-size:12px;width:100%}.status-form{border:1px solid #e2e8ef;border-radius:8px;padding:16px}.status-form .form-grid{grid-template-columns:1fr}.status-form .button{margin-top:10px}.note-form{display:flex;gap:8px;align-items:flex-start}.note-form textarea{flex:1;min-height:75px;resize:vertical}.timeline{border-left:1px solid #dce3eb;margin:20px 0 0 7px;padding-left:20px}.timeline-item{position:relative;margin-bottom:23px}.timeline-item::before{content:'';position:absolute;left:-25px;top:6px;width:8px;height:8px;border-radius:50%;background:#91a0b2;border:2px solid white}.timeline-item strong{font-size:12px;font-weight:600}.timeline-item time{display:block;color:#8c97a5;font-size:11px;margin-top:4px}.timeline-item p{font-size:13px;color:#63748a;line-height:1.7;white-space:pre-wrap;margin:6px 0}.notice{padding:15px 18px;background:#edf3fb;border:1px solid #d6e2f2;border-radius:8px;font-size:13px;line-height:1.7;color:#526d90;margin-bottom:20px}.client-cards{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.client-card{padding:24px}.client-card h2{font-size:18px;margin:13px 0 7px}.client-card p{color:var(--muted);font-size:14px}.client-metrics{display:flex;gap:25px;margin:23px 0}.client-metrics strong{display:block;font-size:23px}.client-metrics span{font-size:12px;color:var(--muted)}.review-box{margin-top:12px;display:grid;gap:9px}.review-box textarea{width:100%;min-height:65px}.stacked-actions{display:flex;gap:8px}.hidden{display:none!important}
@media(min-width:1600px){.case-title{font-size:14px}table{font-size:14px}.badge{font-size:12px}.sidebar{width:250px}main{margin-left:250px}}@media(max-width:1500px){.board-layout{grid-template-columns:minmax(0,1fr)}.attention{display:none}.app{padding:28px}.topbar{padding:0 28px}.date-label{display:none}}@media(max-width:1000px){.sidebar{width:205px;padding:24px 12px}.brand{font-size:20px}.brand small{font-size:8px}.workspace{font-size:12px}main{margin-left:205px}.app{padding:24px 20px}.stats{gap:10px}.stat{padding:15px}.stat-label{font-size:12px}.stat-foot{font-size:11px}.stat-symbol{display:none}.page-heading h1{font-size:27px}td,th{padding:14px}.filters{flex-wrap:wrap}.filters .search{flex-basis:100%}.filters select{flex:1;max-width:none}}@media(max-width:720px){.sidebar{position:static;width:100%;padding:16px}.brand small,.workspace,.nav-label,.sidebar-bottom{display:none}.brand{font-size:21px}.brand-mark{width:30px;height:34px;font-size:24px}nav{display:flex;gap:4px;margin-top:15px;overflow:auto}nav a{font-size:12px;padding:10px;white-space:nowrap;gap:6px}nav a .icon{width:15px;height:15px}.nav-count{display:none}main{margin:0}.topbar{height:48px;padding:0 18px}.app{padding:22px 16px}.page-heading{align-items:flex-start;gap:12px}.page-heading h1{font-size:25px}.page-heading p{font-size:13px;line-height:1.6}.heading-actions>.button{font-size:12px;padding:9px}.stats{grid-template-columns:repeat(2,1fr);margin-bottom:18px}.stat-number{font-size:28px}.stat-foot{font-size:12px}.stat-label{font-size:13px}.panel-head{padding:18px 16px 0}.tabs{padding:16px 16px 0;gap:16px}.filters{padding:13px 16px}.client-cards{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr}.dialog-head,.dialog-body{padding:20px}.detail-summary{grid-template-columns:repeat(2,1fr)}.inline-grid{grid-template-columns:1fr 1fr}.upload-grid{grid-template-columns:1fr}.toast{left:50%}.form-actions{padding:16px}.detail-dialog{width:100vw;max-width:100vw;border-radius:0}.doc-top{flex-wrap:wrap}}
body .text-link{border:0;background:transparent;text-align:left;padding:0;cursor:pointer;color:#526f9b;line-height:1.6;white-space:normal}body .text-link:hover{text-decoration:underline}body .available{color:#28754f}body .empty.compact{padding:24px}body .app table{font-size:14px}body .app .case-title{font-size:14px}body .app .due{font-size:14px}body .app .badge,body .dialog-body .badge{font-size:12px}body .app .tab,body .field label{font-size:14px}body .page-heading p{font-size:16px}body .detail-description{font-size:16px}body .detail-summary strong{font-size:14px}body .doc-info strong{font-size:14px}body .detail-summary label{font-size:12px}body .timeline-item strong{font-size:14px}body .timeline-item p{font-size:14px}body .hint{font-size:13px}body .form-error{font-size:14px}body .brand small{font-size:10px}body .nav-label{font-size:12px}body .pilot-badge{font-size:12px}body .date-label{font-size:14px}body .checklist{font-size:14px}body .stat-label{font-size:14px}body .button.small{font-size:13px}body .client-card p{font-size:16px}body .app th{font-size:12px}body .app .priority{font-size:12px}body .app .folio{font-size:12px}body .app .count-label{font-size:13px}body .notice{font-size:14px}body .dialog-body .upload-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}@media(max-width:720px){body .dialog-body .upload-grid{grid-template-columns:1fr}body .app .stat-label{font-size:13px}body .page-heading{flex-wrap:wrap}body .heading-actions{width:100%}body .page-heading p{font-size:14px}}

@media(max-width:1250px){body .app .client-cell{white-space:normal}body .app .client-cell .client-initial{display:none}body .app td,body .app th{padding-left:12px;padding-right:12px}body .app .case-title{min-width:140px}body .app .stat-label{font-size:13px}}
body dialog .toast{left:50%;width:max-content;max-width:90%;bottom:18px}

[hidden]{display:none!important}.brand{font-size:19px;letter-spacing:-.5px}.logout{border:1px solid #45566b;background:transparent;color:#d9e2ec;border-radius:6px;padding:8px;width:100%;margin:10px 0;font-size:14px}.login-page{background:#142336;min-height:100vh;display:grid;place-items:center;padding:28px 20px}.login-shell{margin:0;max-width:460px;width:100%;min-width:0}.login-back{color:#c1cddd;text-decoration:none;display:inline-block;margin-bottom:24px;font-size:14px}.login-card{background:#fff;border-radius:16px;padding:38px;box-shadow:0 24px 70px #0003}.login-brand{display:flex;align-items:center;gap:12px;margin-bottom:30px}.login-brand strong{font-size:23px;letter-spacing:.3px}.login-brand small{display:block;font-size:10px;letter-spacing:1.4px;color:#65758a;margin-top:5px}.login-card h1{font-size:28px;letter-spacing:-.7px;margin:22px 0 10px}.login-card p{color:#65758a;line-height:1.6}.login-card label{font-size:14px;font-weight:600;display:block;margin:18px 0 8px}.login-card input{display:block;width:100%;padding:12px;border:1px solid #c7d0db;border-radius:7px;background:#fff}.login-card .button{margin-top:24px;width:100%;justify-content:center;padding:13px}.login-note{font-size:13px;border-top:1px solid #e3e8ee;padding-top:20px;margin-top:24px}.login-footer{text-align:center;color:#93a7be;font-size:11px;letter-spacing:1.1px;margin-top:24px}@media(max-width:500px){.login-card{padding:26px}.login-brand strong{font-size:21px}.login-page{padding:24px 16px}.login-shell{margin:0}}
