:root{--ink:#172b3b;--muted:#718294;--blue:#2478dd;--blue-dark:#165db7;--blue-soft:#eaf3ff;--teal:#15545b;--teal-soft:#e9f4f3;--line:#e6edf3;--paper:#fff;--bg:#f4f7fb;--green:#24985b;--amber:#bd812b;--shadow:0 16px 40px rgba(28,54,79,.08);font-family:Manrope,Inter,system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--ink)}
*{box-sizing:border-box}body{margin:0;background:var(--bg);font-size:14px}button,input,textarea,select{font:inherit}button{cursor:pointer}.boot{min-height:100vh;display:grid;place-content:center;justify-items:center;gap:12px;color:var(--muted)}.brand-mark{height:44px;width:44px;display:grid;place-items:center;background:var(--blue);color:#fff;border-radius:14px;font-weight:800;font-size:23px;box-shadow:0 7px 18px #2478dd45}
/* Auth */
.auth-shell{min-height:100vh;display:grid;grid-template-columns:1.03fr .97fr;background:#fff}.auth-visual{background:linear-gradient(145deg,#114e59,#173f56 58%,#1c6284);color:#fff;padding:56px clamp(28px,6vw,88px);display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.auth-visual:before,.auth-visual:after{content:"";position:absolute;border:1px solid #ffffff20;border-radius:50%;width:520px;height:520px;right:-180px;top:10%}.auth-visual:after{width:370px;height:370px;right:-105px;top:22%}.auth-brand{display:flex;align-items:center;gap:12px;font-size:18px;font-weight:800;letter-spacing:-.4px;z-index:1}.auth-brand .brand-mark{background:#fff;color:var(--teal)}.auth-copy{max-width:580px;z-index:1}.eyebrow{font-size:11px;text-transform:uppercase;letter-spacing:1.5px;font-weight:800;color:#74c3c6}.auth-copy h1{font-size:clamp(35px,4.5vw,58px);line-height:1.09;letter-spacing:-2.4px;margin:16px 0}.auth-copy p{font-size:16px;line-height:1.8;color:#d5e7eb;max-width:490px}.auth-points{display:grid;gap:13px;margin-top:32px}.auth-point{display:flex;align-items:center;gap:12px;color:#e3f0f2}.check-dot{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:#ffffff1c;color:#9de0cb;font-weight:800}.auth-foot{color:#b4ced4;font-size:12px;z-index:1}.auth-main{display:grid;place-items:center;padding:40px 25px}.auth-card{width:min(440px,100%)}.auth-card h2{font-size:29px;letter-spacing:-1px;margin:0 0 8px}.subtext{color:var(--muted);line-height:1.65}.tabs{display:flex;background:#f0f4f8;border-radius:12px;padding:4px;margin:26px 0 24px}.tab{border:0;background:transparent;color:var(--muted);font-weight:700;border-radius:9px;padding:11px;flex:1}.tab.active{background:#fff;color:var(--blue);box-shadow:0 2px 9px #132e4a0e}.field{display:grid;gap:7px;margin:15px 0}.field label{font-weight:700;font-size:12px;color:#385064}.field input,.field textarea,.field select{width:100%;border:1px solid #dce5ed;border-radius:11px;padding:13px 14px;outline:none;background:#fff;color:var(--ink);transition:.2s}.field input:focus,.field textarea:focus,.field select:focus{border-color:#70a7e8;box-shadow:0 0 0 3px #2478dd16}.field textarea{min-height:125px;resize:vertical;line-height:1.6}.auth-note{font-size:11px;color:#8997a5;line-height:1.55;margin:14px 0}.auth-error{display:none;background:#fff1f0;color:#b53c37;padding:10px 12px;border-radius:9px;font-size:12px;margin:12px 0}.auth-error.show{display:block}
/* App shell */
.app-shell{min-height:100vh;display:grid;grid-template-columns:248px minmax(0,1fr)}.sidebar{background:#fff;border-right:1px solid var(--line);position:sticky;top:0;height:100vh;display:flex;flex-direction:column;padding:24px 16px 18px;z-index:5}.side-brand{display:flex;align-items:center;gap:11px;padding:2px 12px 27px;font-size:17px;font-weight:800;letter-spacing:-.5px}.side-brand .brand-mark{width:36px;height:36px;font-size:19px;border-radius:11px}.side-label{font-size:10px;text-transform:uppercase;letter-spacing:1.3px;color:#9aa7b4;font-weight:800;padding:0 13px 10px}.nav-list{display:grid;gap:5px}.nav-link{border:0;background:transparent;color:#637587;display:flex;align-items:center;gap:12px;width:100%;padding:11px 13px;border-radius:10px;text-align:left;font-size:13px;font-weight:700;transition:.18s}.nav-link:hover{background:#f4f8fc;color:var(--ink)}.nav-link.active{background:#eaf3ff;color:#1d6bc3}.nav-ico{width:20px;text-align:center;font-size:16px}.side-bottom{margin-top:auto}.help-card{background:#f3f7fb;border:1px solid #e7edf3;padding:14px;border-radius:13px;margin:12px 2px 16px}.help-card strong{display:block;font-size:12px;margin:8px 0 4px}.help-card span{font-size:11px;color:var(--muted);line-height:1.5;display:block}.user-mini{display:flex;align-items:center;gap:10px;padding:12px 8px 0;border-top:1px solid var(--line)}.avatar{height:35px;width:35px;border-radius:11px;background:#dceafa;color:#2768b4;display:grid;place-items:center;font-weight:800;flex:none}.user-mini strong{display:block;font-size:12px;max-width:135px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-mini small{font-size:10px;color:var(--muted)}
.main-area{min-width:0}.topbar{height:76px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 clamp(20px,4vw,54px);position:sticky;top:0;z-index:4}.crumb{font-size:12px;color:#95a2af}.topbar h1{font-size:19px;letter-spacing:-.6px;margin:3px 0 0}.top-actions{display:flex;align-items:center;gap:12px}.top-icon{height:36px;width:36px;border:1px solid var(--line);background:#fff;border-radius:10px;color:#637587}.page-wrap{max-width:1440px;margin:0 auto;padding:32px clamp(20px,4vw,54px) 60px}.welcome-row{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:25px}.welcome-row h2{font-size:25px;letter-spacing:-1px;margin:0 0 7px}.welcome-row p{margin:0;color:var(--muted)}.btn{border:0;border-radius:10px;padding:11px 16px;font-weight:800;font-size:12px;display:inline-flex;align-items:center;justify-content:center;gap:8px;transition:.18s}.btn.primary{background:var(--blue);color:#fff;box-shadow:0 5px 13px #2478dd25}.btn.primary:hover{background:var(--blue-dark);transform:translateY(-1px)}.btn.secondary{background:#edf4fb;color:#2869b4}.btn.ghost{background:#fff;border:1px solid var(--line);color:#546b7d}.btn.small{padding:8px 11px;font-size:11px}.btn.block{width:100%}.btn:disabled{opacity:.55;cursor:not-allowed}.grid{display:grid;gap:18px}.stats-grid{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:22px}.stat-card,.panel,.content-card{background:#fff;border:1px solid var(--line);border-radius:15px;box-shadow:0 3px 13px rgba(31,59,84,.025)}.stat-card{padding:18px 19px}.stat-head{display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:11px;font-weight:700}.stat-icon{height:32px;width:32px;border-radius:10px;background:#eef5ff;display:grid;place-items:center;font-size:15px;color:var(--blue)}.stat-value{font-size:28px;font-weight:800;letter-spacing:-1px;margin:9px 0 1px}.stat-foot{font-size:10px;color:#9aa6b2}.dashboard-grid{grid-template-columns:minmax(0,1.5fr) minmax(275px,.8fr);align-items:start}.panel{padding:21px}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:17px}.panel-head h3{font-size:14px;margin:0;letter-spacing:-.3px}.panel-head p{font-size:11px;color:var(--muted);margin:5px 0 0}.text-link{border:0;background:transparent;color:var(--blue);font-size:11px;font-weight:800;padding:5px}.empty-state{padding:30px 12px;text-align:center;color:var(--muted);line-height:1.6}.empty-icon{width:48px;height:48px;border-radius:15px;background:#edf5ff;display:grid;place-items:center;margin:0 auto 13px;font-size:22px}.empty-state strong{display:block;color:var(--ink);font-size:13px;margin-bottom:4px}.case-row{display:flex;align-items:center;gap:13px;padding:14px 0;border-top:1px solid #edf1f5}.case-row:first-of-type{border-top:0;padding-top:2px}.case-symbol{height:40px;width:40px;border-radius:12px;background:#eef5ff;color:#2872c7;display:grid;place-items:center;font-size:17px;flex:none}.case-info{min-width:0;flex:1}.case-info strong{display:block;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.case-info span{font-size:10px;color:var(--muted);display:block;margin-top:4px}.status-pill{font-size:10px;font-weight:800;color:#26754a;background:#e9f7ef;padding:6px 9px;border-radius:99px;white-space:nowrap}.progress-line{height:6px;border-radius:99px;background:#edf1f5;overflow:hidden;margin-top:12px}.progress-line span{height:100%;display:block;background:#2b83d9;border-radius:99px}.quick-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.quick-tile{background:#f8fafc;border:1px solid #edf1f5;border-radius:12px;text-align:left;padding:14px;min-height:104px}.quick-tile:hover{border-color:#b8d4f3;background:#f4f9ff}.quick-tile i{font-style:normal;font-size:20px;display:block;margin-bottom:12px}.quick-tile strong{display:block;font-size:11px}.quick-tile span{font-size:10px;color:var(--muted);display:block;margin-top:4px;line-height:1.4}.notice{border:1px solid #dceaf8;background:#f2f8ff;color:#4d6f8d;border-radius:12px;padding:13px 15px;font-size:11px;line-height:1.6;margin:17px 0}.notice.warning{border-color:#f0e2bf;background:#fffaf0;color:#886d37}.notice strong{color:#365f85}
/* Content pages */
.page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:24px}.page-heading h2{margin:0 0 6px;font-size:25px;letter-spacing:-1px}.page-heading p{margin:0;color:var(--muted);line-height:1.6}.two-col{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(270px,.8fr);gap:18px;align-items:start}.chips{display:flex;gap:8px;flex-wrap:wrap;margin:13px 0}.chip{border:1px solid #e3ebf2;background:#fff;color:#62768a;padding:8px 12px;border-radius:99px;font-size:11px;font-weight:700}.chip.active{background:#eaf3ff;border-color:#b9d5f5;color:#246cbd}.result-header{display:flex;align-items:center;gap:11px;margin-bottom:15px}.result-badge{height:42px;width:42px;border-radius:13px;background:#eaf4ff;color:#2674c8;display:grid;place-items:center;font-size:18px}.result-header h3{font-size:16px;margin:0 0 4px}.result-header span{font-size:10px;color:var(--muted)}.step-list{display:grid;gap:0}.step-item{display:grid;grid-template-columns:28px 1fr auto;gap:12px;padding:16px 0;border-top:1px solid #edf1f5;align-items:start}.step-num{height:27px;width:27px;display:grid;place-items:center;border-radius:50%;background:#eaf3ff;color:#216dc3;font-weight:800;font-size:11px}.step-copy strong{font-size:12px;display:block;margin:2px 0 5px}.step-copy p{font-size:11px;color:var(--muted);line-height:1.6;margin:0}.task-check{height:19px;width:19px;accent-color:#2478dd;cursor:pointer;margin-top:3px}.doc-list{display:grid;gap:9px}.doc-item{display:flex;align-items:center;gap:10px;padding:10px;border-radius:10px;background:#f8fafc;font-size:11px}.doc-item .doc-icon{height:30px;width:30px;border-radius:9px;background:#eaf4ed;color:#36875a;display:grid;place-items:center;flex:none}.doc-item span{flex:1}.doc-item input{accent-color:#2478dd}.simple-list{display:grid;gap:10px}.simple-item{border:1px solid var(--line);border-radius:12px;padding:15px;display:flex;align-items:center;gap:12px;background:#fff}.simple-item-main{flex:1;min-width:0}.simple-item strong{font-size:12px;display:block}.simple-item p{font-size:10px;color:var(--muted);margin:5px 0 0;line-height:1.5}.lawyer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.lawyer-card{padding:19px}.lawyer-top{display:flex;gap:12px;align-items:center}.lawyer-avatar{height:46px;width:46px;border-radius:14px;background:#eaf3ff;color:#2874c6;display:grid;place-items:center;font-weight:800}.lawyer-card h3{font-size:13px;margin:0 0 4px}.lawyer-card .specialty{font-size:10px;color:var(--muted)}.lawyer-meta{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}.meta-tag{padding:6px 8px;background:#f4f7fa;border-radius:7px;color:#637588;font-size:10px}.lawyer-card .notice{margin:0 0 13px}.inline-form{margin-top:13px;padding-top:13px;border-top:1px solid var(--line)}.inline-form textarea{width:100%;min-height:84px;border:1px solid #dce5ed;border-radius:10px;padding:11px;resize:vertical;outline:none}.profile-grid{grid-template-columns:minmax(0,1fr) minmax(250px,.8fr)}.profile-avatar{height:58px;width:58px;background:#e5f0ff;color:#286fbd;border-radius:17px;display:grid;place-items:center;font-weight:800;font-size:21px}.profile-data{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:20px}.profile-data div{padding:12px;background:#f8fafc;border-radius:10px}.profile-data small{display:block;color:var(--muted);font-size:10px;margin-bottom:5px}.profile-data strong{font-size:12px;word-break:break-word}.muted{color:var(--muted)}.back-btn{border:0;background:transparent;color:var(--blue);padding:0;font-weight:800;font-size:11px;margin-bottom:16px}.section-gap{margin-top:20px}.mobile-nav{display:none}.footer-note{font-size:10px;color:#9aa6b2;line-height:1.6;margin:26px 0 0}.toast{position:fixed;right:22px;bottom:22px;z-index:20;background:#17384c;color:#fff;padding:12px 16px;border-radius:11px;box-shadow:var(--shadow);font-size:12px;max-width:340px;opacity:0;transform:translateY(10px);pointer-events:none;transition:.22s}.toast.show{opacity:1;transform:translateY(0)}
@media(max-width:1000px){.app-shell{grid-template-columns:215px 1fr}.stats-grid{grid-template-columns:repeat(2,1fr)}.dashboard-grid,.two-col{grid-template-columns:1fr}.auth-shell{grid-template-columns:.85fr 1.15fr}.auth-visual{padding:38px 35px}}
@media(max-width:700px){.auth-shell{grid-template-columns:1fr}.auth-visual{min-height:310px;padding:25px 24px}.auth-copy h1{font-size:37px}.auth-copy p{font-size:13px;margin-bottom:0}.auth-points,.auth-foot{display:none}.auth-main{padding:30px 22px 50px}.app-shell{display:block;padding-bottom:66px}.sidebar{display:none}.topbar{height:65px;padding:0 18px}.topbar h1{font-size:17px}.page-wrap{padding:23px 16px 38px}.welcome-row{align-items:flex-start;flex-direction:column}.welcome-row h2,.page-heading h2{font-size:22px}.stats-grid{gap:10px}.stat-card{padding:14px}.stat-value{font-size:24px}.panel{padding:16px}.dashboard-grid{gap:13px}.lawyer-grid,.profile-grid{grid-template-columns:1fr}.page-heading{align-items:flex-start;flex-direction:column}.mobile-nav{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:10;background:#fff;border-top:1px solid var(--line);height:65px;justify-content:space-around;padding:6px 4px calc(6px + env(safe-area-inset-bottom))}.mobile-nav button{border:0;background:transparent;color:#7c8c9b;display:grid;justify-items:center;align-content:center;gap:3px;font-size:9px;font-weight:700;min-width:52px}.mobile-nav button span{font-size:17px}.mobile-nav button.active{color:var(--blue)}.step-item{grid-template-columns:26px 1fr auto;gap:9px}.profile-data{grid-template-columns:1fr}.top-actions .top-icon{display:none}}
