:root{
  --navy:#0a293b;--navy-2:#12394d;--navy-hover:#20465a;
  --brand:#087896;--brand-dark:#05617a;--brand-tint:#e7f5f8;
  --ink:#153343;--muted:#5f7786;--faint:#8295a0;--line:#e0e9ed;
  --canvas:#f5f8fa;--white:#fff;--green:#157455;--green-bg:#e5f6ee;
  --orange:#93611e;--orange-bg:#fff2df;--red:#ae3c43;--red-bg:#fff0f0;
  --blue:#23658b;--blue-bg:#e9f3fc;--shadow:0 2px 12px rgba(10,40,60,.045);
  --radius:12px;--radius-lg:18px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--canvas);color:var(--ink);font-family:Inter,"Segoe UI",Roboto,Arial,sans-serif;font-size:13px;line-height:1.45;-webkit-font-smoothing:antialiased}
button,input,select,textarea{font:inherit}button{cursor:pointer}
button:disabled{cursor:not-allowed;opacity:.55}
:focus-visible{outline:3px solid #59bfd2!important;outline-offset:2px!important}
a{color:var(--brand-dark)}
svg{width:19px;height:19px;stroke:currentColor;stroke-width:1.85;fill:none;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
h1,h2,h3,h4,p{margin-top:0}
h1{font-weight:750;letter-spacing:-.035em}h2{font-size:16px;letter-spacing:-.02em}
.skip{position:fixed;left:15px;top:-60px;z-index:1000;padding:12px 17px;border-radius:8px;background:white}
.skip:focus{top:12px}
.shell{display:grid;grid-template-columns:252px minmax(0,1fr);min-height:100vh}
.sidebar{background:var(--navy);color:#d2e3e9;display:flex;flex-direction:column;position:sticky;top:0;height:100vh;overflow:auto;z-index:30}
.brand{min-height:89px;display:flex;gap:11px;align-items:center;padding:22px 19px 17px;border-bottom:1px solid rgba(255,255,255,.075)}
.brand-symbol{background:#e6f8fc;color:#0a5066;border-radius:12px;display:flex;align-items:center;justify-content:center;width:48px;height:44px;font-size:15px;font-weight:900;letter-spacing:-.08em}
.brand-symbol span{color:#12a6b5;font-weight:900;font-size:19px;margin:0 0 12px 1px}
.brand strong{display:block;color:#fff;font-size:15px;letter-spacing:-.025em}
.brand small{display:block;color:#7fa9bc;font-size:10px;letter-spacing:.125em;font-weight:700;margin-top:2px}
.workspace-flag{margin:16px 16px 1px;border-radius:9px;border:1px solid rgba(116,193,204,.18);background:#10394b;padding:9px 11px;display:flex;align-items:center;gap:7px;color:#a5d9e5;font-size:10px;font-weight:750;letter-spacing:.08em}
.pulse{width:7px;height:7px;display:inline-block;border-radius:50%;background:#74d4c6;box-shadow:0 0 0 3px #2b6661}
.version{margin-left:auto;color:#b3cdd6;letter-spacing:0}
#nav{padding:9px 11px 22px;flex:1}
.nav-label{color:#6d96a6;font-size:10px;letter-spacing:.13em;font-weight:800;padding:25px 13px 9px}
.nav-link{appearance:none;background:none;color:#bfd2da;border:0;width:100%;display:flex;gap:11px;align-items:center;text-align:left;padding:10px 12px;min-height:40px;border-radius:9px;font-weight:590;transition:background .15s,color .15s}
.nav-link svg{height:18px;width:18px;opacity:.85}
.nav-link:hover{background:var(--navy-hover);color:#fff}
.nav-link.active{background:#1a5264;color:#fff;box-shadow:inset 3px 0 #62cdd3}
.nav-link.active svg{opacity:1}
.nav-count{margin-left:auto;color:#c6eaf0;background:#2a5368;border-radius:6px;font-size:10px;padding:2px 7px}
.sidebar-footer{margin:0 16px 17px;padding:16px 0 4px;border-top:1px solid #315062;display:flex;align-items:center;gap:10px}
.support-symbol{border:1px solid #527587;height:32px;width:32px;border-radius:9px;display:grid;place-items:center;font-size:16px;color:#b4d9e7}
.sidebar-footer strong,.sidebar-footer small{display:block}
.sidebar-footer strong{font-size:12px;color:#d1e7eb}.sidebar-footer small{font-size:10px;margin-top:2px;color:#80a3b2}
.workspace{min-width:0;display:flex;flex-direction:column}
.topbar{height:70px;background:#fff;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:0 34px;gap:16px}
.top-left,.top-right,.breadcrumbs{display:flex;align-items:center;gap:12px}
.breadcrumbs{color:#718693;font-size:12px}.breadcrumbs strong{color:#24465a;font-weight:720}
.breadcrumb-sep{color:#a1b2be}
.top-right{gap:13px}
.site-select-label{font-size:10px;letter-spacing:.11em;color:#899aa3;font-weight:800}
#hospital{background:#f8fafb;border:1px solid #d9e4e9;border-radius:9px;color:#2f4e5d;font-size:12px;font-weight:650;padding:10px 30px 10px 12px;max-width:235px}
.icon-button{position:relative;display:grid;place-items:center;background:transparent;border:1px solid transparent;color:#526e7e;border-radius:9px;width:38px;height:38px}
.icon-button:hover{background:#f0f6f8;color:#08708a}
.user-avatar{height:36px;width:36px;border-radius:50%;background:#d7eef3;color:#1d647a;display:grid;place-items:center;font-size:10px;font-weight:800}
.notification-dot{position:absolute;right:6px;top:5px;width:7px;height:7px;border-radius:50%;background:#e1933e;border:1px solid white}
.mobile-toggle{display:none}
.preview-alert{background:#e8f5fa;color:#345f74;border-bottom:1px solid #cde7ef;display:flex;align-items:center;gap:7px;padding:10px 34px;font-size:11px}
.preview-alert svg{width:15px;height:15px;color:#157d9a}
.alert-trailing{margin-left:auto;color:#367b91;font-weight:800;white-space:nowrap}
main{width:100%;max-width:1770px;margin:0 auto;flex:1;padding:30px 34px 60px;min-width:0}
.main-footer{color:#90a1ac;font-size:10px;display:flex;justify-content:space-between;gap:12px;padding:16px 34px;border-top:1px solid var(--line)}
.page-header{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:25px}
.kicker{font-size:10px;font-weight:800;letter-spacing:.14em;color:var(--brand);text-transform:uppercase;margin-bottom:6px}
.page-header h1{font-size:27px;line-height:1.2;margin:0 0 8px}
.page-header p{font-size:12px;color:var(--muted);margin:0;max-width:650px}
.header-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:38px;padding:9px 14px;border:1px solid #d8e5ea;background:white;color:#315769;border-radius:9px;font-weight:700;font-size:12px;white-space:nowrap;transition:background .14s,border-color .14s,transform .14s}
.button svg{width:16px;height:16px}
.button:hover{background:#f2fafb;border-color:#80bdcc}
.button.primary{background:var(--brand);border-color:var(--brand);color:#fff}
.button.primary:hover{background:var(--brand-dark);border-color:var(--brand-dark)}
.button.ghost{border:0;background:transparent;color:#477186}
.button.ghost:hover{background:#edf5f8}
.button.danger{color:var(--red);border-color:#f3ccd0}
.button.small{min-height:30px;padding:6px 10px;font-size:11px}
.button.square{width:36px;padding:7px}
.button:active{transform:translateY(1px)}
.kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:19px}
.kpi{background:var(--white);border:1px solid var(--line);border-radius:var(--radius-lg);padding:19px 20px 17px;box-shadow:var(--shadow);min-width:0}
.kpi-top{display:flex;justify-content:space-between;align-items:center;gap:12px;color:#6e8795;font-size:11px;font-weight:650}
.kpi-icon{width:34px;height:34px;background:#eaf5f8;border-radius:10px;color:#187994;display:grid;place-items:center}
.kpi-icon svg{width:17px;height:17px}
.kpi-value{display:block;font-size:27px;letter-spacing:-.04em;line-height:1.2;margin:16px 0 7px;font-weight:790;color:#143746}
.kpi-bottom{display:flex;align-items:center;gap:7px;font-size:11px;color:#8193a0}
.delta{font-weight:800;color:var(--green)}
.delta.bad{color:var(--red)}
.dashboard-main{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(280px,1fr);gap:18px;margin:18px 0}
.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);box-shadow:var(--shadow);min-width:0}
.card-pad{padding:20px 22px}
.card-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:21px}
.card-title h2{margin:0;font-size:15px;letter-spacing:-.025em}
.card-title .small-note{font-size:11px;color:#8a9daa}
.pill{font-size:10px;font-weight:800;padding:5px 9px;border-radius:6px;display:inline-flex;align-items:center;gap:4px;background:#eef3f6;color:#566f80;white-space:nowrap}
.pill.success{color:#1e765b;background:#e7f6ef}
.pill.warn{background:var(--orange-bg);color:var(--orange)}
.pill.error{background:var(--red-bg);color:var(--red)}
.pill.blue{background:var(--blue-bg);color:var(--blue)}
.pill.outline{border:1px solid #dfe9ee;background:white;color:#687e8b}
.tiny-dot{width:7px;height:7px;background:currentColor;opacity:.65;border-radius:50%}
.graph{height:242px;position:relative;padding:8px 6px 15px 35px}
.y-axis{position:absolute;inset:0 auto 20px 0;display:flex;flex-direction:column;justify-content:space-between;color:#93a4ae;font-size:10px}
.chart-area{position:relative;height:100%;display:flex;gap:17px;align-items:flex-end;justify-content:space-between;border-bottom:1px solid #cbdbe2;background:repeating-linear-gradient(to top,transparent 0,transparent calc(25% - 1px),#edf2f4 calc(25% - 1px),#edf2f4 25%)}
.chart-item{height:100%;flex:1;display:flex;align-items:flex-end;justify-content:center;gap:4px;position:relative}
.bar{border-radius:4px 4px 0 0;width:min(24px,40%);min-height:3px;background:#9fd5e2;transition:height .3s}
.bar.dark{background:#087d9e}
.chart-item label{position:absolute;bottom:-24px;font-size:10px;color:#77909f}
.graph-legend{display:flex;gap:17px;color:#718897;font-size:10px;margin-top:23px}
.legend-dot{display:inline-block;width:8px;height:8px;border-radius:2px;background:#087d9e;margin-right:6px}
.legend-dot.secondary{background:#a5d8e5}
.workflow{display:flex;flex-direction:column;gap:15px}
.workflow-row{display:flex;gap:13px;align-items:center}
.workflow-icon{height:35px;width:35px;border-radius:10px;display:grid;place-items:center;background:#ecf4f6;color:#2585a1;flex-shrink:0}
.workflow-label{flex:1;min-width:0}
.workflow-label strong{font-size:12px;display:block}
.workflow-label span{font-size:10px;color:#8a9ba6;display:block;margin-top:1px}
.workflow-count{font-size:15px;font-weight:800;letter-spacing:-.035em}
.workflow-track{height:4px;background:#f0f4f5;border-radius:5px;margin:7px 0 0 48px;overflow:hidden}
.workflow-track span{display:block;height:100%;border-radius:5px;background:#5cb8c9}
.grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.quick-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.quick-action{border:1px solid #e1eaee;background:#fff;border-radius:11px;padding:16px;text-align:left;display:flex;align-items:center;gap:13px;color:#2c5266;min-width:0}
.quick-action:hover{border-color:#9bcbd4;background:#f5fbfc}
.quick-action>span:first-child{height:34px;width:34px;display:grid;place-items:center;border-radius:10px;color:#0981a0;background:#e8f6f8}
.quick-action strong,.quick-action small{display:block}
.quick-action strong{font-size:12px;white-space:normal}
.quick-action small{font-size:10px;color:#8b9dab;margin-top:4px}
.quick-action svg{height:18px;width:18px}
.table-card{padding:0;overflow:hidden}
.table-card .card-title{padding:20px 22px 15px;margin:0}
.table-tools{padding:14px 18px;border-top:1px solid var(--line);display:flex;gap:9px;flex-wrap:wrap;align-items:center}
.search-input{padding:9px 11px 9px 34px;border:1px solid #d9e5ea;background:#fff;border-radius:9px;min-width:190px;max-width:100%;height:38px;font-size:12px;color:var(--ink)}
.search-wrap{position:relative;display:flex;align-items:center;max-width:100%}
.search-wrap>svg{width:15px;height:15px;position:absolute;left:12px;color:#8ba0ad}
.select{border:1px solid #d9e5ea;background:#fff;border-radius:9px;padding:9px 12px;min-height:38px;font-size:12px;color:#39596a;max-width:100%}
.table-scroll{width:100%;overflow:auto}
table{width:100%;border-collapse:collapse;font-size:12px;font-variant-numeric:tabular-nums}
th{font-size:10px;color:#758d9d;font-weight:800;text-transform:uppercase;letter-spacing:.055em;text-align:left;background:#f7fafb;white-space:nowrap}
th,td{padding:13px 17px;border-bottom:1px solid #edf1f3}
td{color:#375363}
td strong{color:#1a3d50;font-size:12px;font-weight:730}
tbody tr:hover{background:#f8fbfc}
tbody tr:last-child td{border-bottom:0}
.row-link{background:transparent;border:0;padding:0;color:#096e88;font-weight:740;text-align:left}
.row-link:hover{text-decoration:underline}
.num{text-align:right;white-space:nowrap}
.ellipsis{max-width:310px;min-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.subline{display:block;color:#8a9ca7;font-size:10px;margin-top:3px}
.section-gap{margin-top:18px}
.empty{text-align:center;padding:44px 12px;color:#8295a0}
.empty svg{width:24px;height:24px;margin-bottom:9px;color:#a0bdc9}
.info-row{display:flex;justify-content:space-between;gap:20px;border-bottom:1px dashed #e5edef;padding:12px 0}
.info-row:last-child{border-bottom:0}
.info-row span:first-child{color:#718998}.info-row strong{text-align:right;font-size:12px}
.note{padding:13px 14px;border-radius:10px;background:#eef7f9;color:#426b7b;font-size:12px;border:1px solid #d4edf2}
.note.warning{background:#fff8ea;color:#825d25;border-color:#fae7c3}
.split-60{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(270px,1fr);gap:18px}
.progress-rail{height:7px;border-radius:9px;background:#edf3f5;overflow:hidden}
.progress-rail span{height:100%;display:block;background:#1499b3;border-radius:9px}
.tag-grid{display:flex;flex-wrap:wrap;gap:8px}
.tag{background:#f0f7f9;color:#377387;border-radius:20px;padding:7px 11px;font-weight:650;font-size:11px}
.tabbar{display:flex;gap:20px;border-bottom:1px solid var(--line);margin-bottom:22px;overflow:auto}
.tabbar button{border:0;background:none;padding:13px 1px;color:#6a8190;font-weight:720;white-space:nowrap;border-bottom:2px solid transparent}
.tabbar button.selected{color:var(--brand-dark);border-color:#0785a2}
.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.field{display:flex;flex-direction:column;gap:7px;min-width:0}
.field.full{grid-column:1/-1}
.field label{font-size:11px;color:#466677;font-weight:750}
.field input,.field select,.field textarea{border:1px solid #d6e4e9;border-radius:9px;padding:11px 12px;width:100%;background:#fff;color:var(--ink);outline:none}
.field textarea{min-height:85px;resize:vertical}
.field input:focus,.field select:focus,.field textarea:focus{border-color:#1695b1;box-shadow:0 0 0 3px #168ba517}
.field small{font-size:10px;color:#8297a3}
.modal-backdrop{position:fixed;inset:0;z-index:80;background:#061b2bae;display:flex;align-items:center;justify-content:center;padding:18px}
.modal{background:white;max-height:min(90vh,950px);overflow:auto;width:min(620px,100%);border-radius:17px;box-shadow:0 30px 85px #071e2c40}
.modal.wide{width:min(875px,100%)}
.modal-top{display:flex;align-items:center;justify-content:space-between;padding:22px 25px;border-bottom:1px solid var(--line)}
.modal-top h2{margin:0;font-size:18px}
.modal-body{padding:23px 25px}
.modal-actions{padding:15px 25px 22px;display:flex;justify-content:flex-end;gap:10px}
.modal-close{display:grid;place-items:center;border:0;background:#f0f4f5;border-radius:8px;width:32px;height:32px;color:#456373}
.modal-close:hover{background:#e2edf1}
.toast{position:fixed;right:24px;bottom:24px;z-index:100;padding:13px 17px;border-radius:11px;background:#163b4c;color:white;box-shadow:0 9px 33px #11354747;transform:translateY(18px);opacity:0;pointer-events:none;transition:opacity .18s,transform .18s;max-width:min(460px,calc(100vw - 32px));font-size:12px}
.toast.visible{opacity:1;transform:translateY(0)}
.spark{display:flex;align-items:end;height:35px;gap:3px;overflow:hidden}
.spark span{width:5px;border-radius:2px 2px 0 0;background:#7ccddd}
.summary-track{display:flex;align-items:center;gap:10px;padding:12px 0}
.summary-track>span:first-child{width:97px;color:#748b99;font-size:11px}
.summary-track .progress-rail{flex:1}
.legend{display:flex;gap:16px;font-size:10px;color:#6f8594;align-items:center;flex-wrap:wrap}
.legend i{display:inline-block;width:8px;height:8px;margin-right:6px;border-radius:2px}
.design-chip{display:inline-flex;border:1px solid #d6e8ed;background:#f1f9fa;border-radius:9px;padding:5px 9px;font-size:10px;font-weight:800;color:#237389}
.count-highlight{font-weight:800;color:#123949}
.flex{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.spacer{flex:1}
.muted{color:var(--muted)}
@media(max-width:1300px){.dashboard-main{grid-template-columns:1.3fr 1fr}.quick-actions{grid-template-columns:1fr 1fr}.topbar{padding:0 23px}main{padding:26px 23px 55px}}
@media(max-width:1060px){.kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-main,.split-60{grid-template-columns:1fr}.site-select-label{display:none}.top-right{gap:6px}}
@media(max-width:820px){.shell{grid-template-columns:1fr}.sidebar{position:fixed;left:0;top:0;width:270px;transform:translateX(-105%);transition:transform .2s;box-shadow:0 12px 45px #081e2b60}.sidebar.open{transform:translateX(0)}.mobile-toggle{display:grid}.topbar{padding:0 16px}.preview-alert{padding:10px 16px;flex-wrap:wrap}.alert-trailing{display:none}main{padding:25px 16px 48px}.main-footer{padding:16px;flex-wrap:wrap}.header-actions{width:100%}.page-header{flex-direction:column}.page-header h1{font-size:24px}.grid2{grid-template-columns:1fr}.quick-actions{grid-template-columns:1fr 1fr}}
@media(max-width:535px){#hospital{width:147px;font-size:11px;padding:9px 20px 9px 7px}.breadcrumbs>span:first-child,.breadcrumb-sep{display:none}.top-right{gap:0}.topbar{gap:4px}.topbar .icon-button{width:32px}.user-avatar{display:none}.kpi-grid{grid-template-columns:1fr 1fr;gap:10px}.kpi{padding:14px}.kpi-value{font-size:22px}.kpi-top{font-size:10px}.card-pad{padding:16px}.table-card .card-title{padding:16px}.quick-actions{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr}.field.full{grid-column:auto}.modal-top,.modal-body{padding:18px}.modal-actions{padding:15px 18px}.page-header{margin-bottom:19px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
@media print{.sidebar,.topbar,.preview-alert,.main-footer,.header-actions,.button,.table-tools{display:none!important}.shell{display:block}main{padding:0}.card{box-shadow:none;break-inside:avoid}.page-header h1{color:#000}body{background:white;color:black}}

@media print {
  body:has(.modal-backdrop) .shell { display:none!important; }
  .modal-backdrop { position:static; inset:auto; display:block; padding:0; background:transparent; }
  .modal { width:100%; max-height:none; overflow:visible; border-radius:0; box-shadow:none; }
  .modal-top { border:0; padding:0 0 10px; }
  .modal-top .modal-close, .modal-actions { display:none!important; }
  .modal-body { padding:0; }
}


/* ──────────────────────────────────────────────────────────────────────
   TNH PREMIUM BLUE · v0.5 · 11 Nov 2026
   Optical hierarchy, Apple-like text rendering, crisp inputs,
   TNH blue primary, comfortable desktop and mobile data density.
   ────────────────────────────────────────────────────────────────────── */
:root{
  color-scheme:light;
  --navy:#092c42;
  --navy-2:#103e56;
  --navy-hover:#194c64;
  --brand:#087fa6;
  --brand-dark:#056586;
  --brand-tint:#e9f6fb;
  --ink:#122f40;
  --muted:#526b7a;
  --faint:#708693;
  --line:#d7e3ea;
  --canvas:#f4f8fb;
  --white:#ffffff;
  --blue:#087fa6;
  --blue-bg:#e9f6fb;
  --shadow:0 2px 4px rgba(10,51,73,.025),0 10px 28px rgba(10,51,73,.048);
  --shadow-hover:0 8px 28px rgba(9,65,96,.10);
  --radius:12px;
  --radius-lg:17px;
}
html{-webkit-text-size-adjust:100%;text-rendering:optimizeLegibility}
body{
  background:var(--canvas);
  color:var(--ink);
  font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","SF Pro Display",Inter,"Segoe UI",Roboto,Arial,sans-serif;
  font-size:14px;
  line-height:1.55;
  font-weight:440;
  letter-spacing:-.006em;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  font-synthesis:none;
}
button,input,select,textarea{font:inherit;letter-spacing:inherit}
button{touch-action:manipulation}
h1,h2,h3,h4{color:#103247;font-weight:760;letter-spacing:-.033em;text-wrap:balance}
h1{font-weight:790}
h2{font-size:17px}
svg{stroke-width:1.95}
:focus-visible{outline:3px solid rgba(8,127,166,.42)!important;outline-offset:3px!important}
::selection{background:#ccecf5;color:#0b4259}
.shell{grid-template-columns:260px minmax(0,1fr)}
.sidebar{
  background:linear-gradient(172deg,#0c364d 0%,#092d44 43%,#071f31 100%);
  color:#d5e7ee;
  scrollbar-color:#396278 transparent;
}
.brand{
  min-height:91px;
  padding:22px 19px 19px;
  border-bottom:1px solid rgba(206,238,248,.10);
  gap:12px;
}
.brand-symbol{
  width:49px;height:47px;
  background:#e9f8fc;
  color:#056e91;
  border:1px solid #bfe6f1;
  border-radius:12px;
  font-size:16px;
  font-weight:900;
  box-shadow:0 5px 18px rgba(0,0,0,.13);
}
.brand-symbol span{color:#0793bd}
.brand strong{font-size:16px;font-weight:800;letter-spacing:-.035em}
.brand small{color:#9cc5d5;font-size:10px;letter-spacing:.12em}
.workspace-flag{
  margin:17px 15px 1px;
  padding:10px 11px;
  background:rgba(7,119,155,.14);
  border:1px solid rgba(103,202,231,.25);
  color:#c1e8f3;
  border-radius:10px;
  font-size:10px;
}
.pulse{background:#6fe1dd;box-shadow:0 0 0 3px rgba(111,225,221,.13)}
#nav{padding:10px 10px 24px}
.nav-label{
  padding:23px 13px 10px;
  color:#94b9c9;
  font-size:10px;
  font-weight:800;
  letter-spacing:.12em;
}
.nav-link{
  min-height:44px;
  padding:11px 13px;
  border-radius:10px;
  color:#d2e3ec;
  font-size:13px;
  font-weight:590;
  gap:12px;
  transition:background-color .16s,color .16s,box-shadow .16s;
}
.nav-link svg{width:19px;height:19px;opacity:.92}
.nav-link:hover{background:rgba(138,205,229,.12);color:#fff}
.nav-link.active{
  background:linear-gradient(95deg,#126d90,#14526d);
  box-shadow:inset 3px 0 #85e4ff,0 5px 18px rgba(1,25,40,.17);
  color:#fff;
  font-weight:730;
}
.nav-count{
  color:#d9f6fd;
  background:rgba(190,231,242,.16);
  border:1px solid rgba(190,231,242,.12);
  border-radius:7px;
  font-weight:800;
}
.sidebar-footer{border-top-color:rgba(197,230,242,.16);padding-top:17px}
.sidebar-footer strong{font-size:13px;color:#e6f3f8}
.sidebar-footer small{font-size:11px;color:#a2c2cf}
.support-symbol{background:rgba(255,255,255,.05)}
.topbar{
  height:76px;
  background:rgba(255,255,255,.975);
  border-bottom:1px solid #dae6ec;
  padding:0 34px;
  position:sticky;
  top:0;
  z-index:20;
  box-shadow:0 3px 14px rgba(13,64,88,.025);
}
.breadcrumbs{font-size:13px;color:#607888}
.breadcrumbs strong{color:#123a50;font-weight:750}
.site-select-label{color:#607f90;font-size:11px}
#hospital{
  background:#fff;
  border:1.5px solid #b9d0dc;
  box-shadow:0 1px 2px rgba(13,60,84,.035);
  color:#17465d;
  border-radius:10px;
  font-size:13px;
  font-weight:680;
  min-height:42px;
  max-width:245px;
}
#hospital:hover{border-color:#6da7bd}
.icon-button{
  width:42px;height:42px;
  border-radius:11px;
  color:#3e6276;
}
.icon-button:hover{background:#eaf5fa;color:var(--brand-dark)}
.user-avatar{
  width:39px;height:39px;
  background:#d9eff8;
  border:1px solid #b8dce9;
  color:#0b6485;
  font-size:11px;
  box-shadow:0 2px 8px rgba(11,98,133,.07);
}
.preview-alert{
  background:#edf8fc;
  color:#315e73;
  border-bottom:1px solid #d5eaf3;
  font-size:12px;
  padding:11px 34px;
  line-height:1.45;
}
.preview-alert strong{font-weight:790;color:#145878}
.alert-trailing{color:#116c90}
main{max-width:1750px;padding:33px 35px 62px}
.page-header{margin-bottom:27px}
.kicker{
  font-size:11px;
  font-weight:850;
  letter-spacing:.115em;
  color:#08769b;
  margin-bottom:8px;
}
.page-header h1{
  font-size:32px;
  line-height:1.19;
  letter-spacing:-.045em;
  margin:0 0 9px;
  color:#102f42;
}
.page-header p{
  font-size:14px;
  line-height:1.5;
  color:#587183;
  max-width:720px;
}
.header-actions{gap:9px}
.button{
  min-height:42px;
  padding:10px 16px;
  border:1.5px solid #cbdde7;
  border-radius:10px;
  background:#fff;
  color:#24516a;
  font-size:13px;
  font-weight:720;
  box-shadow:0 1px 2px rgba(14,62,86,.03);
  transition:background-color .16s,border-color .16s,box-shadow .16s,transform .16s;
}
.button svg{width:17px;height:17px}
.button:hover{
  background:#f2faff;
  border-color:#79b7cd;
  box-shadow:0 3px 11px rgba(9,95,135,.07);
}
.button.primary{
  background:#087fa6;
  border-color:#087fa6;
  color:#fff;
  box-shadow:0 3px 11px rgba(8,127,166,.19);
}
.button.primary:hover{
  background:#066a8c;
  border-color:#066a8c;
  box-shadow:0 5px 17px rgba(8,127,166,.24);
}
.button.small{min-height:34px;font-size:12px;padding:7px 11px}
.button.square{width:40px}
.button.ghost{box-shadow:none}
.kpi-grid{gap:18px;margin-bottom:20px}
.kpi,.card{
  border:1px solid #dce7ee;
  border-radius:var(--radius-lg);
  background:#fff;
  box-shadow:var(--shadow);
}
.kpi{
  padding:22px 22px 19px;
  position:relative;
  overflow:hidden;
  transition:box-shadow .18s,border-color .18s,transform .18s;
}
.kpi:before{
  content:"";
  position:absolute;left:22px;right:22px;top:0;
  height:2px;background:#a4d8e9;opacity:.8;
}
.kpi:hover{border-color:#c4dce8;box-shadow:var(--shadow-hover);transform:translateY(-2px)}
.kpi-top{font-size:12px;font-weight:700;color:#5b7888}
.kpi-icon{
  width:40px;height:40px;
  background:#e8f5fa;
  border:1px solid #d3eaf2;
  color:#087da2;
  border-radius:11px;
}
.kpi-icon svg{width:20px;height:20px}
.kpi-value{
  color:#0e344a;
  font-size:31px;
  font-weight:830;
  letter-spacing:-.048em;
  margin:17px 0 8px;
  font-variant-numeric:tabular-nums;
}
.kpi-bottom{font-size:12px;color:#6d8592}
.card{transition:border-color .15s,box-shadow .15s}
.card-pad{padding:22px 24px}
.card-title h2{font-size:17px;font-weight:780;letter-spacing:-.025em}
.card-title .small-note{font-size:12px;color:#6b8491}
.dashboard-main,.grid2{gap:19px}
.pill{
  font-size:11px;
  font-weight:750;
  padding:6px 10px;
  border-radius:8px;
  letter-spacing:.005em;
}
.pill.blue{background:#e5f3f9;color:#096c8f}
.pill.outline{border-color:#d1e0e8}
.workflow-label strong{font-size:13px;font-weight:740}
.workflow-label span{font-size:11px;color:#6f8796}
.workflow-count{font-size:17px;font-weight:820;color:#14394c}
.workflow-icon{height:39px;width:39px;background:#e8f5fa;color:#087fa6}
.workflow-track span,.progress-rail span{background:#1388ac}
.quick-actions{gap:13px}
.quick-action{
  padding:18px 17px;
  border:1.5px solid #d7e6ed;
  border-radius:13px;
  background:#fff;
  color:#244e63;
  transition:background-color .16s,border-color .16s,transform .16s,box-shadow .16s;
}
.quick-action:hover{
  background:#f3fbff;
  border-color:#86c0d4;
  box-shadow:0 7px 20px rgba(9,85,122,.08);
  transform:translateY(-1px);
}
.quick-action>span:first-child{height:40px;width:40px;border-radius:11px;background:#e7f5fa;color:#0a7fa3}
.quick-action strong{font-size:13px;font-weight:760;color:#163d53}
.quick-action small{font-size:11px;color:#658192}
.table-card .card-title{padding:22px 24px 17px}
.table-tools{padding:15px 21px;gap:11px}
.search-input,.select,.field input,.field select,.field textarea{
  background:#fff;
  color:#173c51;
  border:1.5px solid #b8cdd9;
  border-radius:10px;
  box-shadow:0 1px 2px rgba(11,56,77,.035);
  outline:none;
}
.search-input{
  height:42px;
  min-width:220px;
  padding:10px 12px 10px 38px;
  font-size:13px;
}
.select{min-height:42px;padding:10px 13px;font-size:13px}
.search-input::placeholder,.field input::placeholder,.field textarea::placeholder{color:#7a929f;opacity:1}
.search-input:hover,.select:hover,.field input:hover,.field select:hover,.field textarea:hover{border-color:#7ba9bd}
.search-input:focus,.select:focus,.field input:focus,.field select:focus,.field textarea:focus,#hospital:focus{
  border-color:#087fa6;
  box-shadow:0 0 0 3px rgba(8,127,166,.15);
  outline:none;
}
.search-wrap>svg{left:13px;color:#60849a}
table{font-size:13px;line-height:1.5;font-variant-numeric:tabular-nums}
th{
  font-size:11px;
  color:#547183;
  font-weight:800;
  letter-spacing:.055em;
  background:#f4f8fa;
}
th,td{padding:14px 18px;border-bottom:1px solid #e6edf1}
td{color:#315467}
td strong{color:#143a50;font-size:13px;font-weight:750}
tbody tr:hover{background:#f1f8fc}
.row-link{color:#08799f;font-size:13px;font-weight:750}
.subline{font-size:11px;color:#6b8795}
.empty{color:#657f8d;font-size:13px}
.info-row span:first-child{color:#5f7a89}
.info-row strong{font-size:13px;color:#1a4055}
.note{font-size:13px;line-height:1.55;border-color:#cfe6ef;background:#eef8fc}
.tag{font-size:12px;background:#ebf6fa;color:#216e8b}
.tabbar button{font-size:13px;font-weight:740}
.tabbar button.selected{color:#087fa6;border-color:#087fa6}
.field{gap:8px}
.field label{font-size:12px;font-weight:760;color:#284f64}
.field input,.field select,.field textarea{
  min-height:44px;
  padding:11px 13px;
  font-size:14px;
  transition:border-color .15s,box-shadow .15s;
}
.field textarea{min-height:100px}
.field small{font-size:11px;color:#637e8e}
.modal-backdrop{background:rgba(4,25,40,.70);backdrop-filter:blur(4px)}
.modal{
  border:1px solid #d5e4ec;
  border-radius:20px;
  box-shadow:0 32px 85px rgba(2,26,43,.28);
}
.modal-top{padding:24px 27px;border-bottom-color:#dfe9ee}
.modal-top h2{font-size:21px;font-weight:780;letter-spacing:-.03em}
.modal-body{padding:25px 27px}
.modal-actions{padding:16px 27px 24px}
.modal-close{width:37px;height:37px;border:1px solid #d9e6ec;background:#f4f9fb}
.toast{background:#0b344a;font-size:13px;line-height:1.5}
.main-footer{font-size:11px;color:#728b99}
.design-chip{font-size:11px;border-color:#c5e5ef;background:#eaf8fc;color:#0b7397}
@media(max-width:1300px){
  .topbar{padding:0 24px}
  main{padding:28px 24px 54px}
}
@media(max-width:1060px){
  .page-header h1{font-size:29px}
  .kpi-value{font-size:29px}
}
@media(max-width:820px){
  .shell{grid-template-columns:1fr}
  .sidebar{width:282px}
  .topbar{height:66px;padding:0 16px}
  .preview-alert{padding:10px 16px}
  main{padding:24px 16px 48px}
  .page-header h1{font-size:27px}
  .page-header p{font-size:13px}
  .kpi{padding:17px}
  .card-pad{padding:19px}
  .main-footer{padding:15px 16px}
}
@media(max-width:535px){
  .topbar{gap:6px}
  #hospital{min-height:39px;max-width:158px;width:158px;font-size:12px}
  .icon-button{width:35px;height:35px}
  .kpi-grid{gap:10px}
  .kpi{padding:15px}
  .kpi:before{left:15px;right:15px}
  .kpi-top{font-size:11px}
  .kpi-value{font-size:24px}
  .kpi-bottom{font-size:11px}
  .page-header h1{font-size:26px}
  .card-pad{padding:17px}
  .table-card .card-title{padding:17px}
  th,td{padding:12px 14px}
  .quick-action{padding:15px}
  .modal-top,.modal-body{padding:19px}
  .modal-actions{padding:16px 19px}
}
@media(prefers-reduced-motion:reduce){
  .kpi,.quick-action,.button{transform:none!important}
}
@media print{
  body{background:white;color:#000;font-size:12px}
  .kpi,.card{box-shadow:none}
  .topbar{position:static}
  .kpi:before{display:none}
  .modal-backdrop{backdrop-filter:none}
}


/* TNH / APPLE-CRISP PREMIUM UI · 2026-11-11
   Strict TNH-blue visual identity, strong type hierarchy and explicit field boundaries.
   Preserves existing layout, responsive patterns and working preview interactions. */
:root{
  color-scheme:light;
  --navy:#082e42;
  --navy-2:#114359;
  --navy-hover:#1a5063;
  --brand:#087896;
  --brand-dark:#075e79;
  --brand-tint:#e8f6f9;
  --ink:#122d3c;
  --muted:#516977;
  --faint:#657d8a;
  --line:#d8e4e9;
  --canvas:#f4f8fa;
  --white:#ffffff;
  --shadow:0 4px 18px rgba(12,49,66,.045),0 1px 3px rgba(12,49,66,.025);
  --radius:11px;
  --radius-lg:16px;
}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{
  font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","Inter","Segoe UI",Roboto,Arial,sans-serif;
  font-size:14px;
  line-height:1.52;
  letter-spacing:-.008em;
  font-weight:450;
  color:var(--ink);
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
button,input,select,textarea{font-family:inherit;letter-spacing:inherit}
button{font-weight:650}
a,button{touch-action:manipulation}
::selection{background:#b8e4ed;color:#092e41}
:focus-visible{outline:2px solid #0289a7!important;outline-offset:3px!important}
svg{stroke-width:1.8}
h1,h2,h3,h4,strong{color:inherit}
h1,h2,h3,h4{font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","Inter","Segoe UI",Arial,sans-serif;font-feature-settings:"kern" 1}
h1{font-weight:790;letter-spacing:-.045em}
h2{font-weight:740;letter-spacing:-.027em}
strong{font-weight:720}
.shell{grid-template-columns:255px minmax(0,1fr)}
.sidebar{
  background:linear-gradient(175deg,#082e42 0%,#07394e 53%,#092e40 100%);
  color:#e8f4f6;
  border-right:1px solid rgba(5,48,67,.38)
}
.brand{
  min-height:92px;
  padding:22px 19px 17px;
  border-color:rgba(190,233,240,.11);
}
.brand-symbol{
  width:50px;height:46px;
  background:#eefbfe;
  border:1px solid rgba(234,250,254,.7);
  border-radius:11px;
  color:#075d76;
  box-shadow:0 3px 12px rgba(1,17,31,.16);
  font-size:16px;
  letter-spacing:-.075em;
}
.brand-symbol span{color:#0588a4}
.brand strong{font-size:16px;letter-spacing:-.032em;font-weight:780}
.brand small{font-size:10px;color:#a1cfdb;letter-spacing:.12em}
.workspace-flag{
  background:rgba(7,119,151,.17);
  border:1px solid rgba(117,212,232,.27);
  color:#b0e7f1;
  font-size:10px;
  border-radius:9px;
}
.nav-label{font-size:10px;color:#86b0bd;letter-spacing:.115em;font-weight:780}
.nav-link{
  min-height:43px;
  padding:10px 13px;
  color:#d4e8ed;
  font-size:13px;
  font-weight:560;
  border:1px solid transparent;
  border-radius:10px;
  letter-spacing:-.011em;
}
.nav-link:hover{background:rgba(77,161,184,.17);border-color:rgba(141,210,227,.08)}
.nav-link.active{
  background:#187493;
  border-color:#2e8aa7;
  color:#fff;
  font-weight:730;
  box-shadow:inset 3px 0 #a5e7f2,0 3px 11px rgba(0,28,46,.13)
}
.nav-count{font-weight:780;color:#eefbfc;background:rgba(171,220,234,.23)}
.sidebar-footer{border-color:rgba(226,249,255,.13)}
.sidebar-footer strong{font-size:13px}
.topbar{
  height:72px;
  position:sticky;top:0;z-index:20;
  background:rgba(255,255,255,.98);
  border-bottom:1px solid #d8e5ea;
  box-shadow:0 1px 4px rgba(10,50,70,.024)
}
.breadcrumbs{font-size:13px;color:#637987;font-weight:520}
.breadcrumbs strong{color:#123b4d;font-weight:730}
.site-select-label{color:#516c7a;font-size:10px}
#hospital{
  background:#fff;
  border:1.5px solid #b6cbd6;
  color:#123f54;
  min-height:40px;
  font-size:13px;
  font-weight:690;
  box-shadow:inset 0 1px 1px rgba(10,49,65,.012)
}
.icon-button{color:#365e72;border-color:transparent}
.icon-button:hover{color:#087896;background:#eaf6f9;border-color:#c7e2e9}
.user-avatar{font-size:11px;font-weight:800;background:#dbf1f6;color:#076b88}
.preview-alert{
  background:#e9f7fa;
  color:#245b70;
  border-bottom:1px solid #cbe6ee;
  font-size:12px;
  line-height:1.45
}
.preview-alert strong{font-weight:780}
main{padding-top:34px}
.page-header{margin-bottom:26px}
.kicker{font-size:11px;color:#087896;letter-spacing:.105em;font-weight:800}
.page-header h1{
  font-size:30px;
  line-height:1.18;
  letter-spacing:-.046em;
  font-weight:800;
  color:#0e3042;
}
.page-header p{font-size:13px;color:#5b7280;max-width:770px}
.button{
  min-height:41px;
  border:1.5px solid #c3d5de;
  border-radius:10px;
  background:#fff;
  color:#184a60;
  font-weight:720;
  font-size:13px;
  box-shadow:0 1px 2px rgba(13,49,67,.025);
  transition:background .16s,border-color .16s,box-shadow .16s,transform .16s;
}
.button:hover{
  background:#f0f9fb;
  border-color:#62abc0;
  box-shadow:0 2px 6px rgba(8,120,150,.06)
}
.button.primary{
  background:#087896;
  border-color:#087896;
  color:#fff;
  box-shadow:0 3px 9px rgba(6,97,126,.13)
}
.button.primary:hover{background:#065d7a;border-color:#065d7a;box-shadow:0 4px 13px rgba(6,97,126,.2)}
.button.small{font-size:12px;font-weight:700}
.card,.kpi{
  border:1px solid #dce6eb;
  border-radius:16px;
  box-shadow:var(--shadow);
  background:#fff
}
.kpi{
  position:relative;
  padding:21px 22px 19px;
  overflow:hidden;
  transition:box-shadow .17s,border-color .17s,transform .17s;
}
.kpi::before{content:"";position:absolute;top:0;left:20px;right:20px;height:2px;background:#b4dfe9;opacity:.8}
.kpi:hover{border-color:#bad9e4;box-shadow:0 8px 23px rgba(9,55,75,.065);transform:translateY(-1px)}
.kpi-top{color:#566f7d;font-size:12px;font-weight:680}
.kpi-icon{background:#e4f4f8;border:1px solid #d8eef3;color:#087896}
.kpi-value{
  font-size:31px;line-height:1.12;
  font-weight:810;letter-spacing:-.05em;
  color:#10384a;
  font-variant-numeric:tabular-nums;
}
.kpi-bottom{color:#647c8b;font-size:12px}
.card-title h2{font-size:16px;font-weight:760;color:#123c50}
.card-title .small-note{font-size:12px;color:#647c8a}
.workflow-label strong{font-size:13px;font-weight:730}
.workflow-label span{font-size:11px;color:#6d8390}
.workflow-count{font-size:17px;color:#0e4156}
.quick-action{
  border:1.5px solid #d6e6ec;
  border-radius:12px;
  padding:17px;
  color:#1d4b61;
  transition:background .16s,border-color .16s,box-shadow .16s
}
.quick-action:hover{background:#f1f9fb;border-color:#80b7c8;box-shadow:0 4px 16px rgba(10,83,106,.055)}
.quick-action strong{font-size:13px;font-weight:730}
.quick-action small{font-size:11px;color:#617f8e}
.quick-action>span:first-child{background:#e6f6f9;color:#087896}
.table-card{border-radius:16px}
.table-tools{background:#fcfefe;border-color:#e1eaef}
.table-scroll{overscroll-behavior-x:contain}
table{
  font-size:13px;
  font-variant-numeric:tabular-nums;
  font-feature-settings:"tnum" 1;
}
th{
  background:#f2f7f9;
  color:#3f6274;
  font-size:11px;
  font-weight:800;
  letter-spacing:.05em
}
th,td{padding:14px 16px;border-bottom:1px solid #e5eef2}
td{color:#24485b}
td strong{color:#0b3448;font-size:13px;font-weight:740}
tbody tr:hover{background:#ecf7fa}
.row-link{color:#08718e;font-weight:740}
.subline{color:#607a88;font-size:11px}
.num{font-variant-numeric:tabular-nums}
.pill{font-size:11px;font-weight:760;border-radius:7px;padding:5px 10px}
.pill.success{color:#126246;background:#e4f5ee}
.pill.warn{color:#80510f;background:#fff1d7}
.pill.error{color:#9e2f3c;background:#fff0f1}
.pill.blue{color:#075e79;background:#e5f4f8}
.pill.outline{border-color:#cbdde4;color:#31596a}
.search-input,.select,#hospital,.field input,.field select,.field textarea{
  border:1.5px solid #aabfc9;
  background:#fff;
  color:#153e50;
  border-radius:9px;
  box-shadow:0 1px 2px rgba(11,52,70,.026);
  transition:border-color .15s,box-shadow .15s,background .15s
}
.search-input,.select{min-height:41px;font-size:13px}
.field{gap:8px}
.field label{color:#234e60;font-size:12px;font-weight:740}
.field input,.field select,.field textarea{
  padding:11px 13px;
  min-height:43px;
  font-size:13px;
  font-weight:510;
}
.field textarea{min-height:92px}
.field input::placeholder,.field textarea::placeholder,.search-input::placeholder{color:#718a99;opacity:1}
.search-input:hover,.select:hover,#hospital:hover,.field input:hover,.field select:hover,.field textarea:hover{border-color:#6f9fb3}
.search-input:focus,.select:focus,#hospital:focus,.field input:focus,.field select:focus,.field textarea:focus{
  outline:none;
  background:#fff;
  border-color:#087896;
  box-shadow:0 0 0 3px rgba(8,120,150,.13),0 1px 2px rgba(11,52,70,.03)
}
.field input:disabled,.field select:disabled,.field textarea:disabled{background:#eff4f6;color:#7c8e97;border-color:#d5e1e6}
.field small{font-size:11px;color:#5f7887}
.modal{
  border:1px solid #d6e5eb;
  border-radius:18px;
  box-shadow:0 26px 85px rgba(8,39,53,.25)
}
.modal-top{background:#fbfdfe}
.modal-top h2{font-size:19px;font-weight:780;letter-spacing:-.035em;color:#12384c}
.modal-close{background:#eaf4f6;color:#24536a}
.note{color:#285f73;background:#edf9fb;border-color:#cdebf1;font-size:13px}
.design-chip{color:#126983;background:#e7f6f9;border-color:#c5e6ed}
.tag{background:#e9f6f9;color:#176a82}
.tabbar button{font-size:13px}
.tabbar button.selected{color:#087896;border-color:#087896}
.toast{background:#093d53;font-size:13px}
.main-footer{font-size:11px;color:#637d8a}
@media(max-width:820px){
  .shell{grid-template-columns:1fr}
  .page-header h1{font-size:27px}
  .topbar{height:66px}
  .sidebar{background:#082f43}
  .kpi-value{font-size:28px}
}
@media(max-width:535px){
  body{font-size:13px}
  .page-header h1{font-size:25px}
  .kpi{padding:16px}
  .kpi-top{font-size:11px}
  .kpi-value{font-size:24px}
  .card-title h2{font-size:15px}
  th,td{padding:12px 13px}
  .button{font-size:12px}
}
@media(prefers-reduced-motion:reduce){
  .kpi,.button,.quick-action{transition:none}
  .kpi:hover{transform:none}
}

/* TNH ERP Live — extend premium preview styling without changing design tokens. */
[hidden]{display:none!important}
.auth-wrap{min-height:100vh;display:grid;place-items:center;padding:32px 16px;background:linear-gradient(155deg,#eaf6f8 0%,#f9fcfd 48%,#e5f2f6 100%)}
.auth-card{width:min(465px,100%);background:#fff;border:1px solid #d4e5eb;box-shadow:0 18px 65px rgba(8,58,77,.11);border-radius:22px;padding:37px}
.auth-brand{display:flex;align-items:center;gap:16px;margin-bottom:28px}
.auth-brand .brand-symbol{flex-shrink:0}
.auth-brand h1{font-size:23px;color:#0c3448;margin:0;letter-spacing:-.035em}
.auth-brand p{margin:4px 0 0;font-size:12px;color:#567688;font-weight:650}
.auth-intro{font-size:14px;line-height:1.6;color:#516b7b;margin-bottom:21px}
.auth-form{display:flex;flex-direction:column;gap:18px}
.auth-form>.button.primary{width:100%;min-height:47px;font-size:14px}
.auth-foot{font-size:11px;color:#76909d;margin:26px 0 0;text-align:center}
#auth-notice:not(:empty){background:#fff1f2;border:1px solid #eec5cc;border-radius:9px;color:#9e303c;padding:12px;margin-bottom:18px}
#global-message:not(:empty){background:#e9f7f9;border:1px solid #bee3eb;padding:12px 14px;color:#145c74;border-radius:10px;margin-bottom:18px}
.view-tools{display:flex;align-items:center;flex-wrap:wrap;gap:11px;margin-bottom:16px}
.view-tools .search-input{min-width:min(350px,100%)}
.editor-card{margin:20px 0;padding:22px;border:1.5px solid #b7d6e1;background:#fafdfe}
.editor-card h2{font-size:16px;color:#113a4e;margin-bottom:15px}
.live-list .table-scroll{max-height:62vh}
.live-list td{max-width:310px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.live-list .button.small{white-space:nowrap}
.data-empty{text-align:center;padding:40px;color:#577483}
.data-empty strong{display:block;color:#163d52;margin-bottom:5px}
.live-help{font-size:12px;color:#4e7082;margin:8px 0 17px}
.live-footer-actions{margin-top:16px;display:flex;gap:8px;flex-wrap:wrap}
.auth-tag{background:#e9f7fa;color:#076882;border-radius:6px;padding:4px 8px;font-size:10px;font-weight:750}
@media(max-width:700px){.auth-card{padding:24px 20px}.editor-card{padding:15px}.topbar #hospital{width:130px}.page-header h1{font-size:25px}}

.live-confirm{display:flex;align-items:center;gap:10px;padding:13px 14px;border:1.5px solid #a9cad7;border-radius:9px;background:#f0fafc;color:#214b5f;font-size:12px;font-weight:700;margin-top:12px}
.live-confirm input{width:19px;height:19px;accent-color:#087896;flex:0 0 auto}
