:root{--bg:#f3f6fb;--panel:#ffffff;--panel-2:#f8fbff;--text:#0a2144;--muted:#6d7f98;--brand:#0f4d91;--brand-2:#082b57;--brand-soft:#eaf2ff;--border:#e3ebf6;--success:#0f7a45;--warning:#a3540a;--danger:#9c1919;--shadow:0 14px 34px rgba(18,42,76,.07);font-family:Inter,Arial,sans-serif;color:var(--text);background:var(--bg)}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text)}button{border:0;background:var(--brand);color:#fff;padding:12px 18px;border-radius:12px;font-weight:800;cursor:pointer;transition:filter .16s,transform .16s,box-shadow .16s}button:hover{filter:brightness(1.06);transform:translateY(-1px)}button:disabled{opacity:.45;cursor:not-allowed;transform:none}.lightBtn{background:var(--brand-soft)!important;color:var(--brand)!important;border:1px solid #c9dcf4!important}.muted,.small,small{color:var(--muted)}.error{padding:12px 16px;background:#ffecec;color:var(--danger);border:1px solid #ffbcbc;border-radius:14px;margin:12px 0}.empty{padding:20px;background:#f7f9fc;border-radius:14px;color:#6b7b98}pre{white-space:pre-wrap;background:#071933;color:#dff2ff;padding:16px;border-radius:14px;max-height:520px;overflow:auto}.layout{display:flex;min-height:100vh;background:var(--bg)}aside{width:292px;background:linear-gradient(180deg,#082b57,#0a1c38);color:#fff;padding:24px 18px;position:sticky;top:0;height:100vh;display:flex;flex-direction:column;box-shadow:8px 0 30px #0412281f}main{flex:1;padding:24px;overflow:auto;min-width:0}.brand{border-bottom:1px solid rgba(255,255,255,.13);padding-bottom:18px;margin-bottom:18px}.brand small{display:block;color:#cfe3ff;margin-top:10px;font-weight:600}.medxaLogo{display:flex;flex-direction:column;gap:10px;align-items:center;justify-content:center;text-align:center;width:100%}.medxaLogo img{width:76px;height:76px;object-fit:contain;background:transparent!important;border-radius:0!important;box-shadow:none!important;filter:drop-shadow(0 10px 20px rgba(0,0,0,.18))}.medxaLogoText b,.medxaLogoText span{display:block;color:#fff;font-size:30px;line-height:.9;font-weight:900;letter-spacing:-1px}.medxaLogo.compact img{width:42px;height:42px}.medxaLogo.compact .medxaLogoText b,.medxaLogo.compact .medxaLogoText span{font-size:20px}.sidebarNav{display:grid;gap:10px}.sidebarNav button,.logoutBtn{display:flex;align-items:center;gap:12px;width:100%;text-align:left;border:1px solid rgba(255,255,255,.12);background:#ffffff0f;color:#fff}.sidebarNav button.active,.sidebarNav button:hover{background:#ffffff2b}.navIcon{width:24px}.menuBadge{margin-left:auto;background:#ffcf33;color:#082b57;border-radius:999px;padding:2px 8px;font-size:12px}.logoutBtn{margin-top:14px!important;justify-content:center}.topHero{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;background:linear-gradient(135deg,#fff,#f7fbff);border:1px solid var(--border);border-radius:24px;padding:18px 20px;margin-bottom:12px;box-shadow:var(--shadow)}.topIdentity{display:flex;align-items:center;gap:12px}.top h1{font-size:32px;margin:0 0 6px;letter-spacing:-.6px}.top p{margin:0;color:var(--muted)}.actions{display:flex;gap:10px;flex-wrap:wrap}.menuToggle{display:none;padding:12px 14px;min-width:48px}.notice{margin:12px 0;padding:14px;border:1px solid #f0ba75;background:#fff7ed;color:var(--warning);border-radius:14px}.syncline{margin:12px 0 18px;padding:12px 16px;border-radius:14px;background:var(--brand-soft);color:#194c87;line-height:1.5}.sidebarOverlay{display:none}.sidebarBrandBlock{width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:20px 8px 18px;margin:0 auto 18px;border-bottom:1px solid rgba(255,255,255,.13)}.sidebarBrandLogo{display:block;width:178px;max-width:88%;height:auto;margin:0 auto 14px;object-fit:contain;filter:drop-shadow(0 10px 20px rgba(0,0,0,.18))}.sidebarBrandSubtitle{display:block;width:100%;margin:0 auto;color:#e6f2ffe0;font-size:12px;font-weight:700;line-height:1.35;letter-spacing:.1px}.previewMiniBtn.primaryMini{background:linear-gradient(135deg,#d8e518,#5ed9d1);border-color:transparent;color:#05213e;font-weight:900}.expertiseTinyBtn{background:#eaf9f6;color:#0b5d55;border-color:#bdece4;font-weight:900}.topUserLine{display:flex;align-items:center;gap:10px;margin-top:8px;color:#5d6f89;font-size:13px;font-weight:800}.rolePill{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;border-radius:999px;padding:5px 10px;font-size:12px;font-weight:950;border:1px solid rgba(12,77,145,.18);background:#eef6ff;color:#0b5cad}.role-admin{background:#e9f6ff;color:#0756a2}.role-radiografer{background:#ecfff7;color:#08764c;border-color:#b7ead5}.role-clinic{background:#fff8df;color:#8a6200;border-color:#ffe39b}.sidebarUserCard{margin:12px 0 14px;padding:12px;border:1px solid rgba(255,255,255,.12);background:#ffffff12;border-radius:16px;display:grid;gap:5px}.sidebarUserCard b{color:#fff;font-size:13px}.sidebarUserCard small{color:#e6f2ffc2;font-size:11px}.sidebarUserCard .rolePill{justify-self:start}.rowNoHead,.rowNoCell{text-align:center!important;width:58px}.rowNoCell span{display:inline-flex;align-items:center;justify-content:center;min-width:30px;height:30px;border-radius:999px;background:#eef6ff;border:1px solid #d3e7fb;color:#0a4d8f;font-weight:950}.login-bg{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:24px;background:radial-gradient(circle at 22% 18%,#279dcd47,#279dcd00 34%),radial-gradient(circle at 78% 82%,#d1e11324,#d1e11300 30%),linear-gradient(135deg,#06192f,#092744 48%,#031325);position:relative;overflow:hidden}.login-bg:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;background:linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(180deg,rgba(255,255,255,.025) 1px,transparent 1px);background-size:72px 72px;-webkit-mask-image:radial-gradient(circle at center,rgba(0,0,0,.55),transparent 70%);mask-image:radial-gradient(circle at center,rgba(0,0,0,.55),transparent 70%)}.login-card{width:min(430px,100%);position:relative;z-index:1;color:#f6fbff;background:linear-gradient(180deg,#08233ff0,#04182ef7);border:1px solid rgba(90,216,206,.2);border-radius:28px;padding:34px 32px 28px;box-shadow:0 30px 95px #0000006b,inset 0 1px #ffffff14;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.login-card:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border-radius:28px;pointer-events:none;background:radial-gradient(circle at 18% 0%,rgba(91,216,209,.16),transparent 42%),radial-gradient(circle at 100% 100%,rgba(211,226,20,.12),transparent 34%)}.loginBrand{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:18px;margin-bottom:22px}.loginBrandImage{width:min(270px,88%);height:auto;display:block;margin:0 auto 2px;object-fit:contain;border-radius:0;background:transparent;box-shadow:none;filter:drop-shadow(0 10px 18px rgba(0,0,0,.26))}.loginBrandText{display:flex;flex-direction:column;align-items:center;gap:7px}.login-card h1{margin:0;font-size:29px;line-height:1.08;letter-spacing:-.7px;color:#fff;text-align:center}.login-card p{color:#e2f0ffc2;margin:0;font-size:14px;text-align:center}.login-card label{position:relative;display:block;font-weight:800;font-size:13px;margin:15px 0 6px;color:#f7fbffeb}.login-card input{width:100%;padding:13px 14px;border:1px solid rgba(166,203,230,.28);border-radius:13px;font-size:15px;background:#f5f9fffa;color:#102741;outline:none;box-shadow:inset 0 1px #fffc}.login-card input:focus{border-color:#62d8d0;box-shadow:0 0 0 4px #62d8d029,inset 0 1px #fffc}.login-card button{width:100%;margin-top:18px;padding:14px 16px;border:none;border-radius:15px;font-size:16px;font-weight:900;color:#041d36;background:linear-gradient(135deg,#d7e318,#87dd7c 42%,#5bd8d1);box-shadow:0 14px 30px #00000042,0 0 0 1px #ffffff1a inset;cursor:pointer}.login-card button:hover:not(:disabled){transform:translateY(-1px);filter:brightness(1.03)}.login-card button:disabled{opacity:.72;cursor:not-allowed}.login-card .error{margin-top:12px;padding:12px 14px;border-radius:13px;background:#ff74741f;border:1px solid rgba(255,145,145,.28);color:#ffd4d4;font-size:14px}.login-card small{display:block;margin-top:13px;color:#e2edf9ad;text-align:center}@media (max-width: 520px){.login-bg{padding:16px}.login-card{padding:26px 20px 23px;border-radius:22px}.login-card:before{border-radius:22px}.loginBrandImage{width:min(238px,88%)}.login-card h1{font-size:25px}.login-card p{font-size:13px}}.passwordField{display:flex;align-items:center;gap:8px}.passwordField input{flex:1}.passwordField button{width:46px;min-width:46px;padding:0;height:44px;border-radius:12px;background:#eef6ff;color:#0c4d91;border:1px solid #d4e7f8}.loginHintRows{display:grid;gap:3px;text-align:center}.loginHintRows span{display:block}.cards{display:grid;grid-template-columns:repeat(3,minmax(180px,1fr));gap:16px}.card{position:relative;overflow:hidden;background:var(--panel);border:1px solid var(--border);border-radius:22px;padding:22px;box-shadow:var(--shadow);min-height:124px}.card:after{content:"";position:absolute;right:-28px;bottom:-35px;width:90px;height:90px;border-radius:50%;background:#eef4fb}.card-icon{position:absolute;right:20px;top:20px;z-index:1}.value{font-size:38px;font-weight:900;margin:10px 0;color:#081f42}.panel{background:var(--panel);border:1px solid var(--border);border-radius:22px;padding:22px;margin-top:18px;box-shadow:var(--shadow)}.panel-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.panel-head h3{margin:0 0 4px}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:18px}.bar-row{display:grid;grid-template-columns:90px 1fr 48px;align-items:center;gap:12px;margin:12px 0}.bar{height:12px;background:#edf2f7;border-radius:999px;overflow:hidden}.bar i{display:block;height:100%;background:var(--brand);border-radius:999px}.dashboardOverview{margin-top:0}.dashboardOverviewToggle{width:100%;min-height:42px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:11px 16px;margin:0 0 16px;border:1px solid var(--border);border-radius:16px;background:linear-gradient(135deg,#fff,#f4f8ff);color:#08244a;box-shadow:0 10px 28px #081f4212;cursor:pointer;text-align:left}.dashboardOverviewToggle:hover{border-color:#155b9e59;box-shadow:0 12px 34px #081f421a}.dashboardOverviewTitle{font-weight:900;font-size:15px}.dashboardOverviewHint{flex:1;color:var(--muted);font-size:13px;font-weight:700}.dashboardOverviewIcon{width:26px;height:26px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:var(--brand);color:#fff;font-size:18px;font-weight:900;line-height:1}.dashboardOverviewBody{animation:dashboardOverviewIn .16s ease-out}.dashboardOverview.is-minimized .dashboardOverviewToggle{margin-bottom:18px}@keyframes dashboardOverviewIn{0%{opacity:.55;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}.filterPanel{background:#fff;border:1px solid var(--border);border-radius:22px;padding:20px;margin-top:18px;box-shadow:var(--shadow)}.filterTitle{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:14px}.filterTitle b{display:block;font-size:18px;margin-bottom:4px}.filterActions{display:flex;gap:8px;white-space:nowrap}.filtersGrid{display:grid;grid-template-columns:repeat(4,minmax(160px,1fr));gap:12px}.filtersGrid label{display:block;font-weight:800;color:#294466;font-size:12px}.filtersGrid input,.filtersGrid select{width:100%;margin-top:6px;border:1px solid #cbd9ec;border-radius:12px;background:#fff;padding:11px 12px;color:var(--text);font-size:14px}.studyPanel{padding:0;overflow:hidden}.studyPanel .panel-head{padding:22px 22px 10px}.tableWrap{overflow:auto;padding:0 12px}.studyTable{min-width:1220px;width:100%;border-collapse:separate;border-spacing:0}.studyTable th,.studyTable td{text-align:left;padding:12px 10px;border-bottom:1px solid #edf1f7;vertical-align:top}.studyTable th{color:#667894;font-size:13px;position:sticky;top:0;background:#fff;z-index:1;cursor:pointer;-webkit-user-select:none;user-select:none}.studyTable tr:hover td{background:#f8fbff}.rowSelected td{background:#eaf5ff!important}.patientCell b{font-size:15px}.descCell{max-width:360px}.descCell small{display:block;max-width:360px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.badge{display:inline-block;background:var(--brand-soft);color:var(--brand);padding:6px 10px;border-radius:999px;font-weight:900;min-width:44px;text-align:center}.miniProgress{height:6px;background:#edf2f7;border-radius:999px;overflow:hidden;margin-top:6px;min-width:88px}.miniProgress i{display:block;height:100%;background:var(--brand);border-radius:999px}.errSmall{display:block;color:var(--danger);margin-top:4px;max-width:260px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pager{display:flex;justify-content:flex-end;align-items:center;gap:10px;padding:16px 22px 22px}.pager button{padding:9px 12px}.tinyBtn{padding:7px 10px;border-radius:9px;font-size:12px;background:var(--brand-soft);color:var(--brand);border:1px solid #c9dcf4}.viewerBtn{display:inline-flex;align-items:center;justify-content:center;gap:6px;text-decoration:none;background:var(--brand);color:#fff;padding:8px 10px;border-radius:12px;font-weight:800;white-space:nowrap}.viewerBtn.disabled{background:#d7e1ef;color:#5d6f89;cursor:not-allowed}.viewerBtnSmall{padding:7px 9px;font-size:13px}.actionBadge{display:inline-block;border-radius:999px;padding:5px 9px;font-size:12px;font-weight:900;white-space:nowrap}.actionBadge.normal{background:#e7f8ee;color:#12733d}.actionBadge.hidden{background:#eef2f7;color:#526173}.actionBadge.quarantine{background:#fff1d6;color:#9b5a00}.rowHidden td{opacity:.75;background:#f8fafc}.rowQuarantine td{background:#fff9ef!important}.thumbBox{width:72px;height:54px;border-radius:12px;overflow:hidden;background:#081f42;position:relative;display:flex;align-items:center;justify-content:center;box-shadow:0 5px 16px #061b3c1f}.thumbBox img{width:100%;height:100%;object-fit:cover}.thumbBox span{position:absolute;left:4px;bottom:4px;background:#071933bf;color:#fff;border-radius:999px;padding:2px 6px;font-size:10px;font-weight:900}.thumbFallback{background:linear-gradient(135deg,#eef6ff,#fff);color:var(--brand);flex-direction:column}.thumbFallback b{font-size:14px}.thumbFallback small{font-size:10px;color:#60718f}.thumbBox.large{width:220px;height:165px;border-radius:16px;flex:0 0 auto}.thumbBox.large b{font-size:24px}.expertiseCell{min-width:118px}.reportMiniStatus{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:5px 8px;margin:0 0 6px;font-size:11px;font-weight:900;background:#edf4fb;color:#4d627b;border:1px solid #d9e7f5;white-space:nowrap}.reportMiniStatus.report-FINAL{background:#ddfbf2;color:#0e665a;border-color:#b7eee0}.reportMiniStatus.report-DRAFT{background:#fff3ce;color:#855700;border-color:#ffe0a0}.reportMiniStatus.report-ADDENDUM{background:#e9f3ff;color:#13518f;border-color:#cce2fa}.expertiseTinyBtn{display:block;min-width:68px;text-align:center}.readingBadge{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:6px 9px;font-size:11px;font-weight:1000;white-space:nowrap;border:1px solid #d9e7f5;background:#edf4fb;color:#4d627b}.readingBadge.read{background:#ddfbf2;color:#0e665a;border-color:#b7eee0}.readingBadge.reading{background:#fff3ce;color:#855700;border-color:#ffe0a0}.readingBadge.unread{background:#edf2f8;color:#53647a;border-color:#d9e4ef}.readingBadge.revised{background:#e9f3ff;color:#13518f;border-color:#cce2fa}.readTime{display:block;margin-top:5px;color:#667894;font-size:10.5px;font-weight:800;white-space:nowrap}.pdfTinyBtn.ready{background:#dbf9f1;color:#0e665a;border-color:#b7eee0}.pdfTinyBtn:disabled{opacity:.58;cursor:not-allowed}.imageCountPill{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:6px 9px;font-size:11px;font-weight:1000;border:1px solid #dbe6f4;background:#f2f6fb;color:#667894;white-space:nowrap}.imageCountPill.hasImages{background:#edf9f8;color:#0c675f;border-color:#c8ece8}.studyTable{min-width:1480px}.modalBackdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#04122885;z-index:50;display:flex;align-items:flex-start;justify-content:center;padding:36px 18px;overflow:auto}.studyModal{width:min(1120px,100%);background:#fff;border-radius:24px;box-shadow:0 24px 80px #00000052;padding:22px}.modalHeader{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;border-bottom:1px solid #eef2f7;padding-bottom:14px;margin-bottom:16px}.modalHeader h2{margin:0 0 5px;font-size:26px}.modalHeader p{margin:0;color:var(--muted)}.detailIntro{display:flex;gap:16px;align-items:center;background:#f8fbff;border:1px solid #edf2f7;border-radius:18px;padding:14px;margin:12px 0}.detailIntroText b{display:block;font-size:20px}.detailIntroText small{display:block;margin:6px 0}.detailIntroText em{display:block;color:var(--danger);font-style:normal;max-width:720px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.detailGrid{display:grid;grid-template-columns:repeat(4,minmax(160px,1fr));gap:12px;margin:14px 0}.detailGrid>div{background:#f8fbff;border:1px solid #edf2f7;border-radius:16px;padding:13px}.detailGrid small{display:block;margin-bottom:5px}.uidBox{background:#071933;color:#dff2ff;padding:13px;border-radius:14px;margin:12px 0;overflow:auto}.uidBox small{display:block;color:#9db5d3;margin-bottom:5px}.uidBox code{word-break:break-all}.warningBox{background:#fff8e8;border:1px solid #f5d38b;color:#704600;padding:13px 14px;border-radius:14px;margin:12px 0}.modalActions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:14px 0}.warnBtn{background:#c97900}.safeBtn{background:#138044}.modalGrid{align-items:start}.subPanel{background:#fbfdff;border:1px solid #edf2f7;border-radius:16px;padding:16px}.subPanel h3{margin-top:0}.miniList{display:grid;gap:8px;margin-top:10px}.miniList>div{display:grid;grid-template-columns:60px 1fr 90px;gap:8px;align-items:center;border-top:1px solid #edf2f7;padding-top:8px}.miniList span{color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.miniList em{font-style:normal;color:var(--muted);text-align:right}.auditItem{border-top:1px solid #edf2f7;padding:10px 0}.auditItem b{text-transform:capitalize;color:var(--brand)}.auditItem span{float:right;color:var(--muted);font-size:12px}.auditItem p{margin:5px 0;color:#384b66}.safeNote{margin-top:12px;background:#eefaf3;border:1px solid #bfe8cf;color:#17633a;border-radius:12px;padding:12px 14px;font-weight:700}.cloudPreviewPanel{margin-top:18px;background:#ffffff14;border:1px solid rgba(255,255,255,.16);border-radius:20px;padding:13px;color:#fff;box-shadow:inset 0 1px #ffffff0f}.previewPanelHead{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px;font-size:14px}.previewPanelHead span{font-size:12px;color:#cfe3ff}.previewEmpty{border:1px dashed rgba(255,255,255,.28);border-radius:14px;padding:24px 12px;text-align:center;color:#cfe3ff;font-size:13px}.previewPatientCard{background:#ffffff1a;border:1px solid rgba(255,255,255,.12);border-radius:14px;padding:11px 12px;margin-bottom:10px}.previewPatientCard b{display:block;color:#fff;font-size:14px;line-height:1.25}.previewPatientCard small{display:block;color:#cfe3ff;margin-top:4px}.previewThumbLarge{display:flex;justify-content:center;background:#00000029;border-radius:15px;padding:10px;margin-bottom:10px}.previewThumbLarge .thumbBox.large{width:235px;height:176px;border-radius:13px}.previewMetaMini{display:grid;gap:4px;font-size:12px;color:#cfe3ff;line-height:1.35}.previewMetaMini span,.previewMetaMini em{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.previewMetaMini em{font-style:normal;color:#ffd1d1}.previewActionsMini{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0}.previewActionsMini .viewerBtn{grid-column:1 / -1;width:100%}.previewMiniBtn{padding:9px 10px!important;border-radius:10px!important;background:#ffffff1f!important;color:#fff!important;border:1px solid rgba(255,255,255,.2)!important;text-align:center!important}.previewFilmstrip{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin-top:10px}.previewFilmstrip div{height:34px;border-radius:8px;background:#ffffff1f;display:flex;align-items:center;justify-content:center;font-size:11px;color:#d7e8ff;border:1px solid rgba(255,255,255,.14)}.previewFilmstrip div.active{outline:2px solid #38d888;background:#38d88829}.orderNotice{background:#eefaf3;border:1px solid #bfe8cf;color:#17633a;border-radius:16px;padding:13px 16px;margin:12px 0 16px;font-weight:700}.orderNotice code{background:#fff;border:1px solid #d7eadf;border-radius:8px;padding:2px 6px;color:#0a4f2d}.orderTools{background:#fff;border:1px solid var(--border);border-radius:18px;padding:16px 18px;margin-bottom:14px}.orderFilterPanel{margin-top:0}.orderFiltersGrid{grid-template-columns:repeat(4,1fr)}.orderTable{min-width:1320px}.orderTable td .tinyBtn{display:block;margin-bottom:6px;width:112px}.tinyBtn.soft{background:#f4f7fb;color:#526173;border-color:#d9e2ef}.tinyBtn.danger{background:#ffe9e9!important;color:var(--danger)!important;border-color:#ffc7c7!important}.orderStatusBadge{display:inline-block;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:900;white-space:nowrap;background:#eef2f7;color:#526173}.orderStatus-mwl_ready{background:#eaf2ff;color:var(--brand)}.orderStatus-in_progress{background:#fff1d6;color:#9b5a00}.orderStatus-completed{background:#f1ecff;color:#5336a3}.orderStatus-image_received{background:#e7f8ee;color:#12733d}.orderStatus-waiting_report{background:#fff8db;color:#7c5b00}.orderStatus-approved,.orderStatus-reported{background:#dff7ee;color:#0f6b3e}.orderStatus-cancelled,.orderStatus-error{background:#ffe9e9;color:var(--danger)}.orderMatched td{background:#fbfffd}.orderCards .card .value{font-size:26px}.notif{padding:14px 0;border-bottom:1px solid #eef2f7}.notif p{margin:6px 0;color:#546681}.notifRich{border:1px solid #edf2f7;border-radius:16px;padding:14px 16px;margin:12px 0;background:#fff}.notifUnread{background:#f7fbff;border-color:#b9d7ff}.notifTop{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.newPill{background:#ffcf33;color:#082b57;border-radius:999px;padding:4px 9px;font-size:11px;font-weight:900;white-space:nowrap}.notifMeta{display:flex;gap:10px;flex-wrap:wrap;color:var(--muted);font-size:13px;margin:10px 0}.notifMeta span{background:#f2f6fb;border-radius:999px;padding:5px 9px}.notifActions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.toast{position:fixed;right:24px;top:24px;z-index:90;width:min(420px,calc(100vw - 48px));background:var(--brand);color:#fff;border-radius:16px;padding:16px 18px;box-shadow:0 18px 60px #051f4447;animation:slideIn .18s ease-out}.toast p{margin:6px 0 0;color:#e6f2ff}.toastDetail small{display:block;color:#e6f2ff;margin:6px 0 10px}.toastDetail .viewerBtn{background:#fff;color:var(--brand);display:inline-flex;margin-top:2px}.toastDetail{display:flex;gap:12px;align-items:flex-start;border:1px solid rgba(255,255,255,.18)}.toastSuccess{background:#087a5a}.toastIcon{width:38px;height:38px;display:flex;align-items:center;justify-content:center;border-radius:12px;background:#ffffff29;font-size:22px;flex:0 0 auto}.toastBody{min-width:0;flex:1}.toastActions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:8px}.toastMini{padding:7px 9px!important;font-size:12px!important;background:#ffffffeb!important;color:var(--brand)!important}.toastClose{position:absolute;right:8px;top:8px;width:28px!important;height:28px!important;border-radius:999px!important;padding:0!important;text-align:center!important;background:#ffffff26!important;color:#fff!important}@keyframes slideIn{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}.expertiseWorkspace{display:flex;flex-direction:column;gap:12px;min-height:calc(100vh - 120px)}.expertiseHeader{display:flex;align-items:center;justify-content:space-between;gap:16px;background:linear-gradient(135deg,#041930fa,#083052f5);border:1px solid rgba(96,211,204,.2);border-radius:24px;padding:18px 22px;box-shadow:0 18px 50px #07142a1f;color:#fff}.expertiseHeader .eyebrow{font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:#cfe6ffb3;font-weight:900;margin-bottom:6px}.expertiseHeader h2{margin:0;font-size:26px;line-height:1.05}.expertiseHeader p{margin:7px 0 0;color:#e8f4ffc7}.expertiseHeaderActions{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex-wrap:wrap}.reportStatus{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:8px 11px;font-size:12px;font-weight:900;background:#ffffff1a;border:1px solid rgba(255,255,255,.18);color:#fff;white-space:nowrap}.status-FINAL{background:#69dfc22e;border-color:#69dfc261;color:#c8fff4}.status-DRAFT{background:#ffcb542e;border-color:#ffcb5461;color:#fff0c6}.status-NOT_STARTED{background:#ffffff1a;color:#d7e9fb}.status-ADDENDUM{background:#8fc7ff2e;border-color:#8fc7ff61;color:#d7ecff}.saveState{display:inline-flex;align-items:center;border-radius:999px;padding:8px 11px;background:#ffffff17;border:1px solid rgba(255,255,255,.16);color:#ecf7ffd1;font-size:12px;font-weight:800;white-space:nowrap}.saveState.dirty{background:#ffbe4e29;border-color:#ffbe4e59;color:#fff0c6}.saveState.saving{background:#62d8d02e;border-color:#62d8d061;color:#d6fffb}.expertiseSplitControls{display:flex;align-items:center;gap:8px;flex-wrap:wrap;background:#fff;border:1px solid var(--line);border-radius:18px;padding:10px 12px}.expertiseSplitControls span{font-size:12px;font-weight:900;color:var(--muted);text-transform:uppercase;letter-spacing:.08em}.expertiseSplitControls button{width:auto;padding:8px 10px;border-radius:999px;background:#eef5fb;color:#1d3654;border:1px solid #d5e5f2;font-weight:800}.expertiseSplitControls button.active{background:linear-gradient(135deg,#d8e518,#5ed9d1);border-color:transparent;color:#05213e}.expertiseMessage{border-radius:16px;padding:11px 14px;background:#ecfbf8;border:1px solid #c4eee6;color:#0b5d55;font-weight:800}.expertiseMessage.errorBox{background:#fff1f1;border-color:#ffd1d1;color:#9d1d1d}.expertiseSplit{display:grid;grid-template-columns:60fr 40fr;gap:16px;height:clamp(590px,calc(100vh - 265px),880px);min-height:0;align-items:stretch}.split-50-50 .expertiseSplit{grid-template-columns:1fr 1fr}.split-60-40 .expertiseSplit{grid-template-columns:60fr 40fr}.split-70-30 .expertiseSplit{grid-template-columns:70fr 30fr}.split-viewer .expertiseSplit{grid-template-columns:78fr 22fr}.split-report .expertiseSplit{grid-template-columns:35fr 65fr}.expertiseViewerPane,.expertiseReportPane{background:#fff;border:1px solid var(--line);border-radius:24px;overflow:hidden;box-shadow:0 18px 55px #0f213c14;min-width:0;min-height:0}.expertiseViewerPane{display:flex;flex-direction:column;background:#061527}.paneHead{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 16px;border-bottom:1px solid var(--line);background:#fff}.expertiseViewerPane .paneHead{background:#071b32;border-color:#ffffff1f;color:#fff}.paneHead b{display:block;font-size:15px}.paneHead small{display:block;color:var(--muted);font-size:12px;margin-top:3px;max-width:680px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.expertiseViewerPane .paneHead small{color:#e2f1ffb8}.expertiseViewerFrame{width:100%;height:100%;min-height:0;border:0;background:#020914;display:block;flex:1}.expertiseReportPane{display:flex;flex-direction:column}.reportPaneHead{flex:0 0 auto;position:relative;z-index:2;background:linear-gradient(180deg,#fff,#fbfdff)}.reportActionsTop{display:flex;gap:8px;align-items:center}.reportActionsTop button{width:auto}.reportActionsTop button:disabled,.reportFooterActions button:disabled{opacity:.55;cursor:not-allowed}.reportStatusPanel{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;background:linear-gradient(135deg,#f5fbff,#effbf8);border-bottom:1px solid var(--line)}.reportStatusPanel>div{display:flex;align-items:center;gap:9px;min-width:0}.reportStatusPanel b{font-size:13px;color:#14304d;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.reportStatusPanel small{color:#58708e;font-weight:800;white-space:nowrap}.reportStatusPanel .reportStatus{color:#05213e;border-color:#cfe7e7;background:#e9f7f5}.reportStatusPanel .status-FINAL{background:#dffcf4;color:#0e665a;border-color:#b7eee0}.reportStatusPanel .status-DRAFT{background:#fff3cf;color:#855700;border-color:#ffe09b}.reportStatusPanel .status-NOT_STARTED{background:#edf4fb;color:#4a617c;border-color:#d8e5f3}.templateStrip{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:12px 16px;background:#f7fbff;border-bottom:1px solid var(--line);flex:0 0 auto}.templateStrip span{font-size:12px;font-weight:900;color:var(--muted);letter-spacing:.08em;text-transform:uppercase}.templateStrip button{width:auto;padding:8px 10px;border-radius:999px;background:#eaf5f3;color:#0d514d;border:1px solid #cfe9e4;font-size:12px}.templateStrip button:disabled{opacity:.5}.templateStrip small{color:var(--muted)}.reportForm{display:flex;flex-direction:column;gap:12px;padding:16px;overflow:auto;flex:1;min-height:0;background:#fff}.reportForm label{display:flex;flex-direction:column;gap:7px;color:#14304d;font-weight:900;font-size:13px}.reportForm textarea{width:100%;min-height:84px;resize:vertical;border:1px solid #cfdeed;border-radius:14px;padding:12px 13px;font:inherit;font-weight:500;line-height:1.45;color:#102741;background:#fbfdff;outline:none}.reportForm textarea:focus{border-color:#62d8d0;box-shadow:0 0 0 4px #62d8d029}.reportForm textarea:disabled{background:#f4f7fa;color:#738299}.reportForm .findingsArea{min-height:210px}.reportFooterActions{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:13px 16px 16px;border-top:1px solid rgba(203,217,236,.9);background:linear-gradient(180deg,#fffffff2,#fff);box-shadow:0 -12px 26px #0a203e12;flex:0 0 auto}.reportFooterActions button{width:auto;min-width:130px}.footerSaveInfo{margin-right:auto;display:flex;flex-direction:column;gap:2px;min-width:0}.footerSaveInfo b{font-size:13px;color:#14304d}.footerSaveInfo small{font-size:12px;color:#60718f;font-weight:700}.expertiseEmpty{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:28px}.expertiseEmpty h2{margin:0 0 8px}.expertiseEmpty p{margin:0;color:var(--muted);max-width:720px}@media (max-width:1100px){.expertiseHeader{align-items:flex-start;flex-direction:column}.expertiseHeaderActions{justify-content:flex-start}.expertiseSplit,.split-50-50 .expertiseSplit,.split-60-40 .expertiseSplit,.split-70-30 .expertiseSplit,.split-viewer .expertiseSplit,.split-report .expertiseSplit{grid-template-columns:1fr;height:auto;min-height:0}.expertiseViewerFrame{min-height:460px}.reportActionsTop{display:none}.expertiseReportPane{min-height:620px}.reportStatusPanel{align-items:flex-start;flex-direction:column}}@media (max-width:680px){.expertiseHeader{padding:16px;border-radius:18px}.expertiseHeader h2{font-size:23px}.expertiseSplitControls{overflow:auto;flex-wrap:nowrap}.expertiseSplitControls button{white-space:nowrap}.paneHead{align-items:flex-start;flex-direction:column}.reportFooterActions{align-items:stretch;flex-direction:column}.reportFooterActions button{width:100%}.footerSaveInfo{margin-right:0}.saveState{max-width:100%;white-space:normal}}.expertiseModalBackdrop,.pdfPreviewBackdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:80;background:#030e1ca8;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);display:flex;align-items:center;justify-content:center;padding:24px}.expertiseConfirmModal{width:min(480px,100%);background:#fff;border:1px solid rgba(98,216,208,.25);border-radius:28px;padding:28px;box-shadow:0 36px 110px #00000061;text-align:center}.expertiseConfirmModal .modalIcon{width:54px;height:54px;border-radius:18px;margin:0 auto 14px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#d8e518,#5ed9d1);color:#05213e;font-size:25px;font-weight:1000}.expertiseConfirmModal h3{margin:0 0 8px;color:#071d35;font-size:24px}.expertiseConfirmModal p{margin:0 auto 16px;color:#506783;line-height:1.55;max-width:390px}.confirmSummary{background:#f2fbfa;border:1px solid #d5f1ed;border-radius:18px;padding:12px;margin:0 0 18px;text-align:left}.confirmSummary span{display:block;font-weight:1000;color:#09243f}.confirmSummary small{display:block;margin-top:4px;color:#5e728b;font-weight:800}.modalActions{display:flex;justify-content:flex-end;gap:10px}.modalActions button{width:auto;min-width:120px}.pdfPreviewModal{width:min(1120px,96vw);height:min(780px,92vh);background:#fff;border-radius:26px;overflow:hidden;box-shadow:0 36px 120px #0000006b;display:flex;flex-direction:column;border:1px solid rgba(98,216,208,.22)}.pdfPreviewHead{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;background:linear-gradient(135deg,#061b31,#0a365e);color:#fff}.pdfPreviewHead b{display:block;font-size:16px}.pdfPreviewHead small{display:block;margin-top:4px;color:#e7f6ffb8;max-width:620px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pdfPreviewActions{display:flex;align-items:center;gap:8px}.pdfPreviewActions button{width:auto}.pdfPreviewFrame{border:0;width:100%;height:100%;background:#eef3f7;flex:1}.pdfPreviewLoading{flex:1;display:flex;align-items:center;justify-content:center;color:#58708e;font-weight:900;background:#f4f8fb}@media (max-width:720px){.expertiseModalBackdrop,.pdfPreviewBackdrop{padding:12px}.expertiseConfirmModal{border-radius:22px;padding:22px}.modalActions,.pdfPreviewHead,.pdfPreviewActions{align-items:stretch;flex-direction:column}.pdfPreviewModal{width:100%;height:94vh;border-radius:20px}.pdfPreviewActions button,.modalActions button{width:100%}.pdfPreviewHead small{white-space:normal}}.keyImagesPanel{border-bottom:1px solid var(--line);background:#fbfdff;padding:13px 16px;flex:0 0 auto}.keyImagesHead{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:10px}.keyImagesHead b{display:block;color:#14304d;font-size:13px}.keyImagesHead small{display:block;color:#60718f;font-weight:700;margin-top:3px;line-height:1.35}.keyImageUploadRow{display:grid;grid-template-columns:minmax(180px,1fr) auto auto;gap:8px;align-items:center}.keyImageUploadRow input{border:1px solid #cfdeed;border-radius:12px;padding:10px 12px;font:inherit;font-weight:700;background:#fff;color:#102741;min-width:0}.uploadImageBtn{display:inline-flex;align-items:center;justify-content:center;min-height:39px;padding:0 13px;border-radius:12px;background:linear-gradient(135deg,#0d58a8,#083f7c);color:#fff;font-weight:1000;cursor:pointer;white-space:nowrap}.uploadImageBtn input{display:none}.uploadImageBtn.disabled{opacity:.6;cursor:wait}.keyImageGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px}.keyImageCard{display:grid;grid-template-columns:72px minmax(0,1fr) auto;gap:10px;align-items:center;border:1px solid #dbe8f6;background:#fff;border-radius:14px;padding:8px;box-shadow:0 6px 18px #061b3c0f}.keyImageCard img{width:72px;height:56px;border-radius:10px;object-fit:cover;background:#071d35}.keyImageCard b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#14304d;font-size:12px}.keyImageCard small{display:block;margin-top:3px;color:#697e98;font-weight:800;font-size:11px}.tinyDanger{width:auto;padding:7px 9px;border-radius:10px;background:#fff0f1;color:#a32033;border:1px solid #ffd0d7;font-size:11px}.previewReading{display:inline-flex!important;border-radius:999px;padding:4px 8px;font-weight:1000}.previewReading.read{background:#ddfbf2;color:#0e665a}.previewReading.reading{background:#fff3ce;color:#855700}.previewReading.unread{background:#edf2f8;color:#53647a}@media (max-width:720px){.keyImageUploadRow,.keyImageGrid{grid-template-columns:1fr}.keyImageCard{grid-template-columns:64px minmax(0,1fr)}.keyImageCard .tinyDanger{grid-column:1/-1;width:100%}}.instancePickBtn{display:inline-flex;align-items:center;justify-content:center;min-height:39px;padding:0 13px;border-radius:12px;background:linear-gradient(135deg,#d8e518,#5ed9d1);color:#05213e;border:0;font-weight:1000;cursor:pointer;white-space:nowrap}.instancePickBtn:disabled{opacity:.62;cursor:wait}.instancePickerBackdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:90;background:#030e1cb3;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);display:flex;align-items:center;justify-content:center;padding:22px}.instancePickerModal{width:min(1180px,97vw);height:min(800px,94vh);background:#fff;border-radius:28px;overflow:hidden;box-shadow:0 38px 120px #00000073;display:flex;flex-direction:column;border:1px solid rgba(98,216,208,.22)}.instancePickerHead{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px 17px;background:linear-gradient(135deg,#061b31,#0a365e);color:#fff}.instancePickerHead b{display:block;font-size:16px}.instancePickerHead small{display:block;margin-top:4px;color:#e7f6ffb8;max-width:720px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.instancePickerActions{display:flex;align-items:center;gap:8px}.instancePickerActions button{width:auto}.instancePickerBody{display:grid;grid-template-columns:310px minmax(0,1fr);min-height:0;flex:1;background:#f5f8fc}.seriesList{border-right:1px solid #dbe7f4;background:#fff;overflow:auto;padding:12px;display:flex;flex-direction:column;gap:8px}.seriesListTitle{font-size:12px;font-weight:1000;text-transform:uppercase;letter-spacing:.1em;color:#60718f;margin:3px 2px 5px}.seriesList button{width:100%;text-align:left;border:1px solid #dbe8f6;background:#fbfdff;border-radius:16px;padding:11px 12px;color:#14304d;box-shadow:none}.seriesList button.active{border-color:#62d8d0;background:#effcf9;box-shadow:0 8px 22px #06405614}.seriesList button b{display:block;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.seriesList button span{display:block;margin-top:5px;font-size:12px;font-weight:900;color:#0b6b63}.seriesList button small{display:block;margin-top:4px;color:#7b8ea8;font-size:10.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.instanceGridPane{min-width:0;min-height:0;display:flex;flex-direction:column;overflow:hidden}.instanceGridTop{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;background:#fff;border-bottom:1px solid #dbe7f4}.instanceGridTop span{font-size:12px;font-weight:1000;color:#60718f}.instanceGridTop div{display:flex;align-items:center;gap:8px}.instanceGridTop button{width:auto}.instanceThumbGrid{padding:14px;overflow:auto;display:grid;grid-template-columns:repeat(auto-fill,minmax(142px,1fr));gap:12px;align-content:start}.instanceThumbCard{position:relative;display:flex;flex-direction:column;gap:6px;text-align:left;border:1px solid #d8e6f5;background:#fff;border-radius:17px;padding:8px;color:#14304d;box-shadow:0 8px 22px #061b3c12;min-height:172px}.instanceThumbCard img{width:100%;height:104px;object-fit:contain;background:#061527;border-radius:12px}.instanceThumbCard b{font-size:12px;line-height:1.1}.instanceThumbCard small{font-size:10.5px;color:#687d98;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.instanceThumbCard span{position:absolute;top:12px;right:12px;border-radius:999px;background:#ffffffeb;border:1px solid rgba(15,52,89,.12);font-size:10px;font-weight:1000;padding:4px 7px;color:#163653}.instanceThumbCard.selected{border-color:#5ed9d1;box-shadow:0 0 0 4px #5ed9d12e,0 10px 25px #061b3c17}.instanceThumbCard.selected span{background:linear-gradient(135deg,#d8e518,#5ed9d1);color:#05213e;border-color:transparent}.instanceThumbCard:disabled{opacity:.72;cursor:not-allowed}.instanceThumbCard em{font-style:normal;color:#a33;font-size:10px;line-height:1.25}.thumbError{height:104px;border-radius:12px;background:#eef3f8;color:#70839c;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:900}.instanceEmpty{margin:14px;border:1px dashed #bfd0e4;background:#fff;border-radius:16px;padding:18px;color:#60718f;font-weight:900;text-align:center}@media (max-width:860px){.instancePickerBackdrop{padding:10px}.instancePickerModal{height:95vh;border-radius:22px}.instancePickerHead,.instancePickerActions{align-items:stretch;flex-direction:column}.instancePickerActions button{width:100%}.instancePickerBody{grid-template-columns:1fr}.seriesList{max-height:210px;border-right:0;border-bottom:1px solid #dbe7f4}.instanceThumbGrid{grid-template-columns:repeat(auto-fill,minmax(130px,1fr));padding:10px}.instancePickerHead small{white-space:normal}}@media (max-width:920px){.keyImageUploadRow{grid-template-columns:1fr}.instancePickBtn,.uploadImageBtn,.keyImageUploadRow .lightBtn{width:100%}}@media (max-width:1200px){.filtersGrid{grid-template-columns:repeat(3,1fr)}}@media (max-width:1000px){.cards{grid-template-columns:1fr 1fr}.grid2{grid-template-columns:1fr}.filtersGrid{grid-template-columns:repeat(2,1fr)}main{padding:18px}.topHero,.filterTitle,.panel-head{flex-direction:column;align-items:stretch}.actions,.filterActions{margin-top:12px}}@media (max-width:820px){.layout{display:block}.sidebarOverlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0412286b;z-index:39;opacity:0;pointer-events:none;transition:opacity .2s ease;display:block}.sidebarOverlay.show{opacity:1;pointer-events:auto}aside{position:fixed;left:0;top:0;bottom:0;z-index:40;width:min(310px,88vw);height:100vh;transform:translate(-102%);transition:transform .22s ease;overflow:auto}aside.open{transform:translate(0)}.menuToggle{display:inline-flex;align-items:center;justify-content:center}.cloudPreviewPanel{display:none}.actions button,.filterActions button{flex:1}}@media (max-width:760px){main{padding:14px}.top h1{font-size:24px}.cards,.filtersGrid,.orderFiltersGrid{grid-template-columns:1fr!important}.tableWrap{padding:0}.studyTable{font-size:13px;min-width:1000px}.detailGrid{grid-template-columns:1fr}.modalHeader{flex-direction:column}.toast{right:12px;left:12px;width:auto;top:12px}.login-card{padding:28px}.login-card .medxaLogoText b,.login-card .medxaLogoText span{font-size:30px}}
