/* AGSO Platform — Radiology Dark design system v0.1.5
   Visual-only redesign. No clinical or module runtime code is changed. */
:root{
  --bg:#081018;--ink:#06101a;--sidebar:#06111b;--surface:#0c1f2e;--surface2:#0b2435;
  --surface3:#092031;--cyan:#19c7e5;--cyan-light:#67e6f6;--blue:#2f80ed;
  --blue-soft:#58a0f4;--text:#f5f9fc;--muted:#abbfca;--muted2:#7e9aa8;
  --border:#048db1;--border-soft:rgba(36,167,203,.48);--line:rgba(108,183,207,.22);
  --good:#28d3b1;--warm:#f1bc66;--violet:#8480fa;
  --shadow:0 18px 50px rgba(0,0,0,.33);--radius:18px;
}
*{box-sizing:border-box}
html,body{margin:0;min-height:100%;font-family:Inter,"Segoe UI",ui-sans-serif,system-ui,-apple-system,sans-serif;color:var(--text);background:var(--bg)}
body{background:radial-gradient(ellipse at 43% -15%,#14233f 0%,#071322 45%,transparent 75%),radial-gradient(circle at 100% 85%,rgba(9,87,117,.12),transparent 35%),#06111d}
button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}input,select{color-scheme:dark}
a{color:inherit}.hidden{display:none!important}.svg-definitions{position:absolute;width:0;height:0;overflow:hidden}
.icon{width:22px;height:22px;stroke:currentColor;stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round;flex:none}
button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--cyan-light);outline-offset:3px}

/* Login: same imaging color system as application */
.login{min-height:100vh;display:grid;grid-template-columns:minmax(0,1.12fr) minmax(390px,.88fr)}
.login-left{padding:clamp(30px,4vw,72px);display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden;background:linear-gradient(135deg,rgba(0,0,0,.16),rgba(5,20,31,.8)),radial-gradient(circle at 74% 45%,rgba(0,148,219,.30),transparent 29%),#061828;border-right:1px solid var(--border-soft)}
.login-left:before{content:"";position:absolute;width:min(58vw,730px);height:min(58vw,730px);right:-25%;top:8%;border:1px solid rgba(0,180,233,.3);border-radius:50%;box-shadow:0 0 0 54px rgba(0,141,180,.035),0 0 0 106px rgba(0,141,180,.025);pointer-events:none}
.login-left:after{content:"";position:absolute;inset:17% -6% 13% 28%;background:url('/static/assets/hero_brain.webp') 50% 52%/cover no-repeat;mask-image:radial-gradient(ellipse at 55% 50%,#000 5%,transparent 77%);opacity:.54;filter:saturate(1.25);pointer-events:none}
.login-brand{position:relative;z-index:1;display:flex;align-items:center;gap:23px;color:#bdcbd8;font-size:17px;white-space:nowrap}
.login-brandmark{font-size:38px;font-weight:850;color:white;letter-spacing:-.04em}
.brand-rule{height:33px;width:1px;background:rgba(233,247,251,.45)}
.login-pitch{position:relative;z-index:1;max-width:640px}
.login-eyebrow{font-size:12px;color:var(--cyan-light);font-weight:750;letter-spacing:.2em}
.login-pitch h1{font-size:clamp(55px,6vw,92px);line-height:.96;letter-spacing:-.065em;margin:17px 0 22px}
.login-pitch h1 em{font-style:normal;color:var(--cyan-light)}
.login-pitch p{font-size:clamp(15px,1.2vw,19px);color:#adc1cc;line-height:1.7;max-width:570px}
.login-foot{position:relative;z-index:1;font-size:11px;letter-spacing:.16em;color:#92a9b9;display:flex;gap:12px;flex-wrap:wrap}
.login-foot span{color:var(--cyan)}
.login-right{padding:35px;display:grid;place-items:center;background:linear-gradient(180deg,#091928,#06131f)}
.login-card{width:min(100%,475px);padding:38px;border:1px solid var(--border-soft);border-radius:25px;background:linear-gradient(155deg,#0d273a,#091925);box-shadow:var(--shadow)}
.login-mini-logo{font-size:31px;display:inline-block;font-weight:850;letter-spacing:-.03em;position:relative}
.login-mini-logo span{display:block;position:absolute;left:30%;bottom:-7px;width:55px;height:10px;border-bottom:2px solid var(--cyan);border-radius:0 0 50% 50%;transform:rotate(-6deg)}
.overline{color:var(--cyan-light);font-weight:700;font-size:10px;letter-spacing:.16em;margin:30px 0 8px}
.login-card h2{font-size:32px;letter-spacing:-.04em;margin:8px 0 4px}.login-instruction{font-size:14px;color:var(--muted);margin:0 0 27px}
.field{display:block;margin-bottom:17px}.field span{display:block;color:#c3d6df;font-size:12px;margin-bottom:9px}.field input{width:100%;background:#081b2a;border:1px solid rgba(80,172,199,.39);border-radius:12px;padding:14px 15px;font-size:14px}
.btn{border:1px solid transparent;border-radius:12px;padding:12px 19px;display:inline-flex;align-items:center;justify-content:center;gap:10px;color:var(--text);font-size:13px;font-weight:750;min-height:44px}
.btn.primary{background:linear-gradient(130deg,#31daf0,#11abc9);color:#031321;box-shadow:0 0 22px rgba(25,199,229,.12)}.btn.primary:hover{filter:brightness(1.09)}
.btn.ghost{background:#102437;border-color:rgba(59,171,205,.38)}.btn.ghost:hover{background:#153047}.btn.full{width:100%;margin-bottom:11px}
.btn .icon{width:18px;height:18px}.demo-info{color:#a7c1d1;padding:15px 13px;line-height:1.65;font-size:12px;background:#071a27;border-radius:12px;border:1px solid var(--line);white-space:pre-wrap}
.login-disclaimer{color:#7595a5;font-size:11px;line-height:1.5;margin:11px 0 0}

/* Main product frame mirrors the approved Radiology Dark mockup. */
.app-shell{min-height:100vh;padding-bottom:22px}
.top{height:82px;display:flex;align-items:center;padding:0 clamp(25px,4.8vw,90px);gap:36px;border-bottom:1px solid rgba(86,174,199,.11);background:linear-gradient(95deg,#071621,#121d35 45%,#071522 100%);position:relative;z-index:20}
.top-logo{font-size:clamp(30px,3vw,54px);font-weight:850;letter-spacing:-.045em;white-space:nowrap;text-shadow:0 3px 12px rgba(0,0,0,.3)}
.top-divider{height:46px;width:1px;background:rgba(240,250,255,.58)}
.top-title{font-weight:300;font-size:clamp(16px,2vw,28px);letter-spacing:-.025em;color:#d5dce9;white-space:nowrap}
.top-actions{margin-left:auto;display:flex;align-items:center;gap:19px}
.top-icon,.mobile-menu{border:0;background:transparent;color:#dbe7f5;display:grid;place-items:center;width:38px;height:38px;border-radius:50%}.top-icon:hover,.mobile-menu:hover{background:rgba(19,143,183,.18)}
.top-icon .icon{width:25px;height:25px;stroke-width:1.6}.top-icon.notification{position:relative}.top-icon.notification:after{content:"";position:absolute;right:6px;top:5px;width:6px;height:6px;border-radius:50%;background:#e96a61;border:1px solid #071523}
.top select{max-width:165px;border:1px solid rgba(39,157,189,.44);color:#d8edf5;background:rgba(7,30,46,.65);font-size:12px;padding:8px 9px;border-radius:9px}
.avatar-button{border:1px solid rgba(158,208,249,.54);background:linear-gradient(145deg,#284666,#111f48);color:#edf8ff;width:42px;height:42px;border-radius:50%;font-size:12px;font-weight:800;display:grid;place-items:center;box-shadow:0 0 0 2px rgba(22,43,75,.5)}
.mobile-menu{display:none}
.account-popover,.search-popover{position:absolute;right:32px;top:72px;background:#0b2030;border:1px solid var(--border-soft);border-radius:13px;box-shadow:var(--shadow);padding:17px;z-index:40;color:var(--text);min-width:240px}
.account-popover>strong{display:block;font-size:14px}.account-popover>span{display:block;color:var(--muted);font-size:11px;margin:5px 0 12px}.account-popover button{background:transparent;color:var(--text);display:flex;gap:10px;align-items:center;border:0;padding:10px;border-top:1px solid var(--line);width:100%;text-align:left;font-size:12px}
.search-popover{min-width:300px}.search-popover label{display:block;color:var(--cyan-light);font-size:12px;margin-bottom:10px}.search-popover input{width:100%;padding:11px 12px;background:#061522;border:1px solid var(--border-soft);border-radius:9px;font-size:13px}.search-popover button{display:flex;align-items:center;gap:10px;padding:11px 8px;border:0;background:transparent;color:var(--text);width:100%;text-align:left;border-bottom:1px solid var(--line);font-size:12px}.search-popover button:hover{background:#123148}
.workspace{width:min(1548px,calc(100% - 90px));margin:20px auto 0;display:grid;grid-template-columns:300px minmax(0,1fr);min-height:calc(100vh - 124px);border:1.5px solid #04b7d7;border-radius:26px;overflow:hidden;background:linear-gradient(128deg,#061623,#03111c 50%,#041824);box-shadow:0 18px 70px rgba(0,0,0,.4),inset 0 0 55px rgba(0,171,218,.018)}
.side{padding:18px 20px 22px;border-right:1px solid rgba(103,172,195,.36);background:linear-gradient(180deg,#061521,#05111b);display:flex;flex-direction:column;min-width:0}
.side-brand{font-size:40px;font-weight:820;letter-spacing:-.05em;text-align:center;position:relative;line-height:1.1;margin:5px 0 32px;text-shadow:0 8px 17px rgba(0,0,0,.25)}
.side-swoosh{position:absolute;bottom:-8px;left:calc(50% + 3px);width:90px;height:17px;border-bottom:2px solid var(--cyan);border-radius:0 0 60% 60%;transform:translateX(-50%) rotate(-5deg);filter:drop-shadow(0 0 8px rgba(25,199,229,.53))}
.nav{display:flex;flex-direction:column;gap:4px}
.nav-label{display:none}.nav-separator{height:1px;background:rgba(130,201,221,.39);margin:20px 9px}
.nav button{display:flex;align-items:center;gap:18px;width:100%;min-height:50px;border:1px solid transparent;border-radius:13px;background:transparent;color:#e1edf5;text-align:left;font-size:16px;font-weight:500;padding:10px 20px;transition:background .14s ease,border-color .14s ease;overflow:hidden}
.nav button .icon{width:26px;height:26px;stroke-width:1.55;color:#e4f4ff}
.nav button span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nav button:hover{background:rgba(18,118,151,.19)}
.nav button.active{background:linear-gradient(125deg,#0b829c,#07526c);border-color:rgba(10,187,217,.65);box-shadow:inset 0 0 25px rgba(11,213,238,.07),0 6px 15px rgba(0,95,133,.17);font-weight:750}
.nav button.active .icon{color:#fff}
.side-footer{margin-top:auto;display:flex;gap:8px;align-items:center;color:#80a4b5;font-size:10px;padding:14px 10px 0;border-top:1px solid rgba(113,183,206,.14)}
.status-light{width:7px;height:7px;border-radius:50%;background:var(--cyan);box-shadow:0 0 12px rgba(25,199,229,.9)}
.main{min-width:0;padding:24px clamp(20px,2.35vw,35px) 28px;background:radial-gradient(circle at 100% 18%,rgba(8,77,119,.08),transparent 26%)}
.content{width:100%;max-width:1200px;margin:0 auto}.view{display:none}.view.active{display:block}

/* Home dashboard: approved image proportions */
.welcome{margin:0 0 16px 10px}.welcome h1{font-size:clamp(30px,2.8vw,45px);font-weight:800;letter-spacing:-.04em;line-height:1.12;margin:0 0 7px}.welcome p{font-size:clamp(14px,1.45vw,22px);font-weight:350;color:#d6e3ee;margin:0}.gold-dot{color:#f0b733}.welcome-hidden-data{display:none}
.hero-radiology{height:183px;border:1px solid rgba(0,141,184,.52);border-radius:18px;overflow:hidden;background:linear-gradient(110deg,#031322,#062135 60%,#041b2a);position:relative;isolation:isolate}
.hero-radiology:after{content:"";position:absolute;bottom:-60px;right:34%;width:310px;height:175px;border-radius:50%;background:radial-gradient(ellipse at 50% 100%,rgba(0,183,239,.32),transparent 74%);pointer-events:none;z-index:-1}
.hero-statement{position:relative;z-index:2;padding-left:45px;height:100%;display:flex;align-items:center;gap:26px;font-size:clamp(18px,1.8vw,27px);font-weight:640;line-height:1.34;letter-spacing:-.022em;text-shadow:0 2px 12px rgba(0,0,0,.55);max-width:66%}
.hero-line{width:5px;height:70px;background:linear-gradient(#29dcf5,#0db6d6);border-radius:5px;box-shadow:0 0 15px rgba(25,199,229,.28);flex:none}
.hero-radiology-image{position:absolute;inset:0 0 0 46%;z-index:1;background:linear-gradient(90deg,#061b2b 0%,rgba(6,27,43,.3) 21%,transparent 50%),url('/static/assets/hero_brain.webp') center center/cover no-repeat;filter:saturate(1.08)}
.modules{margin-top:18px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 19px}
.module{min-width:0;min-height:112px;display:grid;grid-template-columns:minmax(95px,32%) minmax(0,1fr);align-items:center;position:relative;border:1px solid rgba(7,159,197,.8);border-radius:17px;background:linear-gradient(135deg,#0d3349 0%,#0c2535 48%,#082031 100%);box-shadow:inset 0 1px 0 rgba(62,155,185,.12),0 9px 23px rgba(0,0,0,.18);overflow:hidden;transition:border-color .15s ease,transform .15s ease,box-shadow .15s ease}
.module:hover{transform:translateY(-2px);border-color:#3de1fa;box-shadow:inset 0 0 22px rgba(10,196,236,.08),0 14px 26px rgba(0,0,0,.28)}
.module:focus-within{outline:2px solid var(--cyan-light);outline-offset:2px}.module-art{height:110px;min-width:0;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;background:radial-gradient(ellipse at 52% 48%,rgba(7,119,157,.21),transparent 75%)}
.module-art img{width:auto;height:auto;max-width:min(98px,90%);max-height:87px;object-fit:contain;mix-blend-mode:screen;mask-image:radial-gradient(ellipse 74% 81% at 51% 50%,#000 40%,rgba(0,0,0,.9) 66%,transparent 100%);filter:saturate(1.2) contrast(1.07) drop-shadow(0 0 8px rgba(11,177,231,.20))}
.module-title{min-width:0;padding:4px 10px 4px 0}.module-title h3{font-size:clamp(16px,1.44vw,23px);line-height:1.14;letter-spacing:-.035em;font-weight:740;margin:0;color:#f5fbfe}
.module-title p{display:none}.module button.module-open{position:absolute;inset:0;border:0;background:transparent;color:transparent;width:100%;height:100%;cursor:pointer;opacity:0}
.module-mark{display:inline-flex;border:1px solid rgba(19,199,229,.58);border-radius:9px;background:rgba(8,92,111,.18);color:#d9f6fb;font-size:clamp(9px,.85vw,12px);padding:5px 9px;margin-top:11px;white-space:nowrap;position:relative;z-index:0;pointer-events:none}
.module-mark.inactive{color:#b9d9ed;border-color:rgba(80,129,165,.50);background:rgba(28,61,92,.22)}
.module-progress{background:linear-gradient(125deg,#0b2e43,#0b2334)}.module-progress .module-title h3{max-width:180px}
.dashboard-lower{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-top:23px}
.overview-panel,.recent-panel{min-height:164px;border:1px solid rgba(7,158,195,.78);border-radius:18px;background:linear-gradient(130deg,#0c283a,#0b1f2d);box-shadow:0 11px 28px rgba(0,0,0,.24);overflow:hidden}
.overview-panel{display:flex;align-items:center;gap:27px;padding:16px 30px}
.performance-ring{--pct:0%;flex:none;width:126px;height:126px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(var(--cyan-light) 0%,var(--cyan) var(--pct),#213e4e var(--pct),#213e4e 100%);position:relative;transform:rotate(-35deg)}
.performance-ring:after{content:"";position:absolute;inset:19px;border-radius:50%;background:#092132;box-shadow:inset 0 0 10px rgba(0,0,0,.28)}
.performance-ring span{position:relative;z-index:1;font-size:27px;font-weight:800;transform:rotate(35deg)}
.performance-copy{flex:1;min-width:0}.performance-copy h2{font-size:clamp(15px,1.4vw,21px);letter-spacing:-.02em;margin:0 0 17px;font-weight:690}
.performance-track{height:17px;width:100%;border-radius:99px;background:#284151;overflow:hidden}.performance-track span{display:block;width:0;height:100%;border-radius:99px;background:linear-gradient(90deg,#50edee,#19c7e5,#268df0);box-shadow:0 0 10px rgba(25,199,229,.25);transition:width .22s ease}.performance-copy p{font-size:11px;color:#9cb6c5;margin:11px 0 0}
.recent-panel{padding:17px 23px}.recent-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.recent-title h2{font-size:clamp(17px,1.4vw,21px);letter-spacing:-.02em;font-weight:710;margin:0}
.panel-link{width:38px;height:36px;border:0;color:#e4f8ff;background:transparent;display:grid;place-items:center;border-radius:9px}.panel-link:hover{background:rgba(0,154,204,.2)}.panel-link .icon{width:25px}
.recent-result{display:grid;grid-template-columns:116px 1fr;align-items:center;gap:18px;min-width:0}
.recent-thumb{width:116px;height:88px;object-fit:cover;border-radius:11px;background:#092032;box-shadow:0 4px 12px #020d1580}.recent-thumb.foton-illustration{padding:9px;object-fit:contain}
.recent-text{min-width:0}.recent-text strong{font-size:clamp(12px,1.1vw,17px);line-height:1.25;font-weight:520;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.recent-text small{display:block;font-size:11px;color:#8cb1c5;margin-top:5px}.recent-text .badge{margin-top:10px}

/* Inner pages share the exact Radiology Dark surfaces */
.page-head{padding:12px 0 25px;border-bottom:1px solid var(--line);margin-bottom:24px}.page-head .kicker{font-size:11px;letter-spacing:.17em;font-weight:740;color:var(--cyan-light)}.page-head h1{font-size:36px;line-height:1.05;margin:10px 0 9px;letter-spacing:-.04em}.page-head p{color:var(--muted);font-size:14px;margin:0}
.section{margin-top:28px}.section h2{font-size:19px;letter-spacing:-.01em;margin:0 0 15px}.grid4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.metric,.card{border:1px solid var(--border-soft);background:linear-gradient(160deg,#102a3d,#0a1e2d);border-radius:17px;box-shadow:0 8px 24px rgba(0,0,0,.14)}
.metric{padding:20px}.metric>span{font-size:12px;color:var(--muted)}.metric strong{display:block;font-size:31px;margin:8px 0 0;letter-spacing:-.03em}.metric small{display:block;font-size:10px;color:var(--muted2);margin-top:6px}
.card{overflow:hidden}.row{display:flex;justify-content:space-between;align-items:center;padding:19px 20px;border-bottom:1px solid var(--line);gap:15px}.row:last-child{border-bottom:0}.row strong{display:block;font-size:14px;font-weight:650}.row small{display:block;color:var(--muted);font-size:11px;margin-top:6px}
.badge{display:inline-flex;align-items:center;justify-content:center;border:1px solid rgba(40,211,177,.38);border-radius:999px;background:rgba(13,124,103,.18);color:#6ef3c3;padding:5px 12px;font-size:11px;white-space:nowrap;font-weight:700}.badge.dev{border-color:rgba(19,199,229,.44);background:rgba(7,106,139,.2);color:#7ceafa}.badge.work{border-color:rgba(110,122,240,.5);background:rgba(62,64,155,.2);color:#b5c4fe}.badge.warn{border-color:rgba(220,160,71,.36);background:rgba(146,95,32,.16);color:#ffd497}
.table-card{overflow-x:auto}.table{width:100%;border-collapse:collapse;text-align:left;font-size:13px}.table th{padding:17px 20px;color:#b3c6d1;background:rgba(1,15,26,.22);font-weight:650;border-bottom:1px solid var(--line)}.table td{padding:17px 20px;border-bottom:1px solid var(--line);color:#e3f0f8}.table tr:last-child td{border:0}
.registry-grid{margin-top:0}.registry-grid .module{min-height:170px;grid-template-columns:82px 1fr}.registry-grid .module-art{width:82px}.registry-grid .module-title h3{font-size:20px}.registry-grid .module-title p{display:block;color:#a6bcc8;font-size:12px;line-height:1.4;margin:8px 0 0}.registry-grid .module-mark{margin-top:8px}
.license{display:flex;justify-content:space-between;align-items:center;padding:32px;gap:24px;border:1px solid var(--border);border-radius:18px;background:linear-gradient(110deg,#123349,#092233)}.license h2{font-size:24px;margin:7px 0 5px}.license p{font-size:12px;color:var(--muted);margin:0}.license .kicker{font-size:10px;color:var(--cyan-light);letter-spacing:.14em}.seats{font-size:42px;font-weight:850;letter-spacing:-.04em;white-space:nowrap}.license small{font-size:11px;color:var(--muted);display:block;text-align:right}
.placeholder{padding:65px 25px;min-height:510px;border:1px solid var(--border-soft);border-radius:19px;background:radial-gradient(circle at 50% 16%,rgba(7,122,158,.18),transparent 32%),#0b2131;text-align:center;display:flex;align-items:center;justify-content:center;flex-direction:column}
.placeholder-icon{height:86px;width:86px;border-radius:22px;border:1px solid var(--border-soft);display:grid;place-items:center;color:var(--cyan-light);background:#082034;margin-bottom:24px;box-shadow:0 0 24px rgba(25,199,229,.07)}.placeholder-icon .icon{width:48px;height:48px}.placeholder .kicker{color:var(--cyan-light);font-size:11px;letter-spacing:.16em}.placeholder h1{font-size:36px;letter-spacing:-.04em;margin:13px 0 5px}.placeholder p{font-size:14px;color:var(--muted);line-height:1.65;max-width:585px;margin:0 0 25px}.placeholder-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:12px}
.toast{position:fixed;right:26px;bottom:24px;z-index:80;padding:14px 18px;border-radius:13px;border:1px solid var(--border);background:#0e2b40;color:var(--text);font-size:13px;box-shadow:var(--shadow);opacity:0;transform:translateY(14px);pointer-events:none;transition:opacity .18s,transform .18s;max-width:390px}.toast.show{opacity:1;transform:translateY(0)}

@media(max-width:1300px){
  .workspace{width:calc(100% - 48px);grid-template-columns:250px minmax(0,1fr)}
  .side{padding:16px 12px}.side-brand{font-size:36px}.nav button{font-size:14px;padding:10px 14px}.nav button .icon{width:24px;height:24px}
  .main{padding:22px 24px}.module{grid-template-columns:95px 1fr}.module-art{height:104px}.module-title h3{font-size:17px}.overview-panel{padding:12px 18px;gap:16px}.performance-ring{height:100px;width:100px}.performance-ring:after{inset:16px}.recent-panel{padding:13px 14px}.recent-result{grid-template-columns:90px 1fr;gap:12px}.recent-thumb{height:73px;width:90px}
}
@media(max-width:1040px){
  .top{padding:0 24px;gap:18px}.top-title{font-size:17px}.top-actions{gap:10px}
  .workspace{grid-template-columns:80px minmax(0,1fr)}.side{padding:14px 8px}.side-brand{font-size:19px;margin:13px 0 24px}.side-swoosh{width:47px;bottom:-6px;height:7px}.nav button{justify-content:center;padding:11px 5px}.nav button .icon{height:25px;width:25px}.nav button span{display:none}.side-footer{display:none}
  .main{padding:23px}.hero-statement{font-size:18px;padding-left:23px}.hero-radiology-image{inset:0 0 0 39%}.modules{gap:12px}.module{grid-template-columns:83px 1fr;min-height:106px}.module-art{height:100px}.module-art img{max-width:82px;max-height:76px}.module-title h3{font-size:16px}
}
@media(max-width:760px){
  .top{height:69px;padding:0 14px;gap:13px}.top-logo{font-size:30px}.top-divider{height:29px}.top-title{font-size:12px;max-width:150px;white-space:normal;line-height:1.2}.top select{display:none}.top-actions{gap:2px}.top-icon{width:31px;height:31px}.top-icon .icon{height:21px;width:21px}.avatar-button{height:34px;width:34px}.mobile-menu{display:grid;width:30px;height:32px}
  .workspace{display:block;width:calc(100% - 20px);margin:12px 10px 0;min-height:calc(100vh - 110px);border-radius:17px;overflow:visible;position:relative}
  .side{position:absolute;left:0;top:0;bottom:0;width:min(275px,85vw);z-index:25;border-radius:17px 0 0 17px;min-height:580px;box-shadow:18px 0 50px #0009;transform:translateX(-112%);transition:transform .16s ease;visibility:hidden}
  .side.open{visibility:visible;transform:translateX(0)}.side-brand{font-size:34px}.nav button{justify-content:flex-start;font-size:15px}.nav button span{display:inline}.side-footer{display:flex}
  .main{padding:18px 15px}.welcome{margin:0 0 13px 2px}.welcome h1{font-size:29px}.welcome p{font-size:13px}
  .hero-radiology{height:150px}.hero-statement{max-width:84%;font-size:16px;gap:12px;padding-left:17px}.hero-line{height:55px;width:3px}.hero-radiology-image{inset:0 0 0 30%;opacity:.72}
  .modules{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:12px}.module{min-height:114px;grid-template-columns:62px 1fr}.module-art{height:112px}.module-art img{max-width:64px;max-height:69px}.module-title h3{font-size:13px;letter-spacing:-.02em}.module-mark{font-size:8px;padding:4px 6px}
  .dashboard-lower{grid-template-columns:1fr;gap:12px;margin-top:14px}.overview-panel,.recent-panel{min-height:140px}.overview-panel{gap:18px}.performance-ring{width:88px;height:88px}.performance-ring:after{inset:13px}.performance-ring span{font-size:21px}.performance-track{height:12px}
  .grid4{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.registry-grid .module{grid-template-columns:70px 1fr}.registry-grid .module-art{height:120px}.page-head h1{font-size:29px}.license{flex-direction:column;align-items:stretch}.seats{text-align:left}.license small{text-align:left}.placeholder{min-height:380px;padding:40px 15px}.placeholder h1{font-size:26px}
  .login{grid-template-columns:1fr}.login-left{display:none}.login-right{padding:20px;min-height:100vh}.login-card{padding:24px}
}
@media(max-width:400px){.top-title{display:none}.top-divider{display:none}.module-title h3{font-size:12px}.module{grid-template-columns:55px 1fr}.module-art img{max-width:55px}.recent-result{grid-template-columns:75px 1fr}.recent-thumb{width:75px;height:63px}}
/* Mobile card layout: icons never compete with names, even at 320–390 px. */
@media(max-width:760px){
  .modules:not(.registry-grid) .module{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:3px;padding:10px 7px 13px;min-height:149px}
  .modules:not(.registry-grid) .module-art{width:100%;height:76px;flex:none;background:none}
  .modules:not(.registry-grid) .module-art img{max-width:86px;max-height:72px;object-fit:contain}
  .modules:not(.registry-grid) .module-title{padding:0 4px;text-align:center;width:100%;min-height:32px}
  .modules:not(.registry-grid) .module-title h3{font-size:13px;line-height:1.16;font-weight:760;white-space:normal;overflow-wrap:normal}
  .modules:not(.registry-grid) .module-mark{margin-top:6px}
}
@media(max-width:400px){.modules:not(.registry-grid) .module-title h3{font-size:12.5px}}
/* The authenticated role remains available in the avatar menu and sidebar;
   hide the disabled selector to match the approved reference header. */
#contextSelect{display:none}


/* ========================================================================
   AGSO RADIOLOGY DARK v0.1.7 — VALIDATED UI OVERRIDE
   Faithful colors and 3x2 icon-board composition. The illustrations use
   transparent PNGs, NOT square crops from the earlier dashboard screenshot.
   Keep API, navigation, license, attempts and progress semantics unchanged.
   ======================================================================== */
:root{
  --bg:#03101c;
  --surface:#092336;
  --surface2:#102d40;
  --cyan:#19c7e5;
  --cyan-light:#68e2f4;
  --blue:#2f80ed;
  --text:#f6f9fc;
  --muted:#a5bbcb;
  --line:rgba(99,181,216,.22);
  --border:rgba(25,199,229,.76);
  --border-soft:rgba(87,171,209,.30);
}
html,body{background:#03101c!important}
body{background:
    radial-gradient(ellipse at 64% -4%,rgba(37,91,155,.15),transparent 35%),
    linear-gradient(180deg,#03101c 0%,#031522 65%,#02121e 100%)!important;
  color:var(--text)}
.top{height:108px;gap:38px;padding:0 clamp(24px,4.9vw,88px);
  background:linear-gradient(110deg,#051725 5%,#152b46 51%,#071522 97%);
  border-bottom:1px solid rgba(85,167,204,.21)}
.top-logo{font-size:clamp(36px,4.1vw,59px);line-height:1;font-weight:900;letter-spacing:-.055em;position:relative}
.top-logo:after{content:"";position:absolute;left:31%;bottom:-15px;width:43%;height:16px;
  border-bottom:4px solid #16e1ea;border-radius:0 0 60% 60%;transform:rotate(-4deg)}
.top-divider{height:61px;background:rgba(224,244,253,.52)}
.top-title{font-size:clamp(21px,2.72vw,38px);font-weight:300;letter-spacing:-.032em;
  color:#e2edf9;white-space:nowrap}
.top-actions{gap:23px}
.top-icon .icon{width:31px;height:31px;stroke-width:1.65}
.avatar-button{width:54px;height:54px;border-radius:50%;font-size:16px;border:2px solid #777da9;
  background:linear-gradient(140deg,#162e4b,#1c2854)}
#contextSelect{display:none}
.workspace{width:100%;margin:0;min-height:calc(100vh - 108px);display:grid;
  grid-template-columns:clamp(265px,26.6vw,408px) minmax(0,1fr);
  border:0;border-radius:0;overflow:visible;box-shadow:none;
  background:linear-gradient(180deg,#041523,#031421)}
.side{padding:20px 29px 25px;background:linear-gradient(180deg,#031321,#03111e);
  border-right:1px solid rgba(67,131,169,.28)}
.side-brand{display:none}
.side-footer{border-top-color:rgba(79,157,191,.19)}
.nav{gap:5px}
.nav button{min-height:64px;gap:21px;padding:12px 20px;font-size:22px;font-weight:440;
  border-radius:19px;color:#e5f0fa;overflow:visible}
.nav .kit-nav-icon{width:42px;height:42px;flex:none;object-fit:contain;
  filter:drop-shadow(0 0 3px rgba(153,230,246,.08))}
.nav button span{white-space:normal;overflow:visible;text-overflow:clip}
.nav button.active{border:1.5px solid #0ce0f3;background:linear-gradient(115deg,#086c82,#073d51);
  box-shadow:inset 0 1px 12px rgba(100,234,255,.1),0 9px 23px rgba(0,0,0,.13);font-weight:660}
.nav-separator{background:rgba(126,192,219,.33);margin:16px 14px}
.main{padding:22px clamp(19px,1.9vw,30px) 42px;background:none;min-width:0}
.content{max-width:1390px;min-width:0}
#home .welcome,#home .hero-radiology{display:none}
#home .modules{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px 22px;margin:0}
#home .module{min-width:0;height:264px;min-height:264px;display:flex;flex-direction:column;
  gap:0;align-items:center;justify-content:flex-start;padding:12px 17px 15px;
  border:1.5px solid #129dca;border-radius:25px;overflow:hidden;
  background:radial-gradient(ellipse at 50% 13%,rgba(36,99,146,.34),transparent 67%),
    linear-gradient(180deg,#0b293d 0%,#092235 69%,#071e30 100%);
  box-shadow:inset 0 1px 0 rgba(147,237,255,.11),0 11px 31px rgba(0,0,0,.2);
  transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}
#home .module:hover{transform:translateY(-2px);border-color:#58e6f8;
  box-shadow:inset 0 0 22px rgba(45,218,245,.10),0 17px 36px rgba(0,0,0,.29)}
#home .module:focus-within{outline:2px solid #d0fdff;outline-offset:3px}
#home .module-art{position:relative;display:flex;align-items:center;justify-content:center;
  width:100%;max-width:100%;height:177px;min-height:177px;flex:0 0 177px;
  background:none!important;overflow:visible!important}
#home .module-art:after,#home .module-art:before{content:none!important}
#home .module-art img{display:block;width:auto;height:auto;max-width:min(92%,255px);
  max-height:174px;object-fit:contain!important;mix-blend-mode:normal!important;
  -webkit-mask-image:none!important;mask-image:none!important;filter:drop-shadow(0 11px 16px rgba(0,0,0,.15));
  image-rendering:auto;flex:none;border:0!important;border-radius:0!important;background:none!important}
#home .module-title{width:100%;min-width:0;flex:1;min-height:59px;display:flex;
  align-items:center;justify-content:center;text-align:center;padding:0 3px}
#home .module-title h3{font-size:clamp(18px,2.05vw,31px);line-height:1.08;
  letter-spacing:-.035em;font-weight:790;max-width:100%;margin:0;color:#f5f9ff;
  white-space:normal;overflow-wrap:normal;text-shadow:0 2px 8px rgba(0,0,0,.27)}
#home .module-progress h3{max-width:290px}
#home .module button.module-open{position:absolute;inset:0;z-index:2;width:100%;height:100%}
#home .dashboard-lower{margin-top:27px;display:grid;grid-template-columns:minmax(0,1.23fr) minmax(0,.77fr);gap:22px}
#home .overview-panel{min-height:178px;padding:10px 12px;background:none;border:0;box-shadow:none;
  gap:31px;display:flex;align-items:center}
#home .performance-ring{flex:none;width:158px;height:158px;background:conic-gradient(#69eef5 0%,#14d0e9 var(--pct),#234356 var(--pct));
  transform:rotate(-28deg);box-shadow:none}
#home .performance-ring:after{inset:20px;background:#061b2b}
#home .performance-ring span{transform:rotate(28deg);font-size:39px}
#home .performance-copy h2{font-size:26px;font-weight:480;margin:0 0 20px;letter-spacing:-.02em}
#home .performance-track{height:17px;background:#29495d;border:1px solid rgba(83,161,195,.23)}
#home .performance-copy p{font-size:11px;color:#89a9ba;margin:10px 0 0}
.kit-states{display:flex;flex-wrap:wrap;align-content:center;justify-content:center;
  align-items:center;gap:17px 15px}
.kit-pill{font-size:16px;font-weight:500;line-height:1.12;border-radius:999px;
  padding:10px 16px;white-space:nowrap}
.kit-pill.pill-dev{border:2px solid #12d5e7;background:rgba(7,110,132,.19);color:#e0fbfc}
.kit-pill.pill-work{border:2px solid #8b9efe;background:linear-gradient(90deg,#20386e,#263a76);color:#f1f3ff}
.kit-pill.pill-locked{border:2px solid #abc9e1;background:rgba(15,36,55,.42);color:#f3f9fc}
.kit-pill.pill-allowed{border:2px solid #42dcae;background:rgba(7,100,71,.32);color:#e5fff2}
.kit-quick{display:grid;grid-template-columns:repeat(11,minmax(0,1fr));gap:12px;margin:20px 0 12px}
.kit-quick button{width:100%;aspect-ratio:1;border:1.5px solid #177ca5;border-radius:50%;
  background:radial-gradient(circle at 50% 34%,#0a334b,#092839 65%,#061b2c 95%);
  box-shadow:inset 0 1px 0 rgba(97,187,216,.1);color:#e4f8ff}
.kit-quick button .icon{width:min(5vw,47px);height:min(5vw,47px);stroke-width:1.7}
#home .kit-recent{margin:22px 0 0;background:linear-gradient(145deg,#0b2a3d,#071d2c);
  border:1px solid rgba(33,136,178,.5);border-radius:24px;min-height:150px;padding:20px 25px}
#home .kit-recent .recent-title h2{font-size:22px}
/* Registry remains compact but never uses opaque square cutouts. */
#modules .module-art{background:none!important;overflow:visible}
#modules .module-art img{mix-blend-mode:normal!important;mask-image:none!important;
  -webkit-mask-image:none!important;object-fit:contain;max-width:120px;max-height:105px}
/* Intermediate 1081–1450 laptop: scaled illustrated tiles, same 3x2 layout */
@media(max-width:1450px){
  .top{height:88px;padding:0 32px;gap:24px}
  .top-logo{font-size:44px}.top-logo:after{width:44%;height:12px;bottom:-13px;border-bottom-width:3px}
  .top-divider{height:48px}.top-title{font-size:clamp(19px,2.5vw,28px)}
  .top-actions{gap:13px}.top-icon .icon{width:26px;height:26px}.avatar-button{width:43px;height:43px;font-size:13px}
  .workspace{grid-template-columns:clamp(240px,22.5vw,327px) minmax(0,1fr);min-height:calc(100vh - 88px)}
  .side{padding:17px 17px}.nav button{font-size:17px;min-height:53px;padding:9px 13px;gap:15px}
  .nav .kit-nav-icon{width:32px;height:32px}
  .main{padding:18px 20px}
  #home .modules{gap:16px}
  #home .module{height:228px;min-height:228px;padding:9px 13px 12px;border-radius:22px}
  #home .module-art{height:153px;min-height:153px;flex-basis:153px}
  #home .module-art img{max-width:min(95%,226px);max-height:150px}
  #home .module-title h3{font-size:clamp(18px,1.7vw,25px)}
  #home .performance-ring{width:132px;height:132px}
  #home .performance-ring span{font-size:30px}
  #home .performance-copy h2{font-size:21px}
  .kit-pill{font-size:12px;padding:8px 11px}
}
@media(max-width:1080px){
  .workspace{grid-template-columns:85px minmax(0,1fr)}
  .side{padding:14px 8px}
  .nav button{justify-content:center;padding:10px 4px;min-height:56px}
  .nav button span{display:none}
  .nav .kit-nav-icon{width:33px;height:33px}
  .nav-separator{margin:13px 5px}
  .main{padding:17px}
  #home .modules{gap:12px}
  #home .module{height:220px;min-height:220px}
  #home .module-art{height:151px;min-height:151px;flex-basis:151px}
  #home .module-title h3{font-size:20px}
}
@media(max-width:760px){
  .top{height:70px;padding:0 13px;gap:12px}
  .top-logo{font-size:30px}.top-logo:after{height:7px;bottom:-8px;border-bottom-width:2px}
  .top-divider{height:28px}.top-title{font-size:12px;max-width:124px;line-height:1.18;white-space:normal}
  .top-actions{gap:3px}.top-icon .icon{width:22px;height:22px}
  .avatar-button{width:34px;height:34px;font-size:11px}
  .workspace{display:block;width:100%;margin:0;min-height:calc(100vh - 70px);border:0;border-radius:0;position:relative}
  .side{position:absolute;top:0;left:0;bottom:0;width:min(310px,86vw);z-index:30;
    background:#051524;transform:translateX(-112%);visibility:hidden;box-shadow:12px 0 35px #0007}
  .side.open{transform:translateX(0);visibility:visible}
  .side-brand{display:block;font-size:28px}
  .nav button{justify-content:flex-start;font-size:16px;padding:10px 12px}
  .nav button span{display:inline}
  .nav .kit-nav-icon{width:31px;height:31px}
  .main{padding:16px 12px}
  #home .modules{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
  #home .module{height:208px;min-height:208px;padding:9px 7px 10px;border-radius:18px}
  #home .module-art{width:100%;max-width:100%;height:142px;min-height:142px;flex-basis:142px}
  #home .module-art img{max-width:95%;max-height:137px}
  #home .module-title{min-height:45px}
  #home .module-title h3{font-size:clamp(14px,4vw,18px);line-height:1.12}
  #home .dashboard-lower{grid-template-columns:1fr;gap:10px;margin-top:14px}
  #home .overview-panel{min-height:132px;gap:20px;padding:4px 6px}
  #home .performance-ring{width:112px;height:112px}
  #home .performance-ring span{font-size:26px}
  #home .performance-copy h2{font-size:17px;margin-bottom:9px}
  #home .performance-track{height:11px}
  .kit-states{gap:8px;justify-content:flex-start}
  .kit-pill{font-size:11px;padding:7px 10px}
  .kit-quick{display:flex;overflow-x:auto;gap:10px;margin:16px 0 8px;padding:4px 0;scroll-snap-type:x mandatory}
  .kit-quick button{width:62px;min-width:62px;height:62px;scroll-snap-align:start}
  .kit-quick button .icon{width:29px;height:29px}
  #home .kit-recent{margin-top:14px;padding:14px}
}
@media(max-width:400px){
  #home .module{height:184px;min-height:184px}
  #home .module-art{height:119px;min-height:119px;flex-basis:119px}
  #home .module-art img{max-height:116px}
  #home .module-title h3{font-size:15px}
}
