:root{color-scheme:light;--navy:#142c4c;--blue:#1765ae;--blue2:#09487f;--sky:#e9f3ff;--ink:#152a41;--muted:#6d7d8d;--line:#e1e8ef;--bg:#f6f8fb;--white:#fff;--green:#177659;--gold:#d5a956;--red:#b64b52;--shadow:0 8px 36px rgba(21,49,75,.06);font-family:Inter,"Segoe UI",Arial,sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-size:14px}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.55;cursor:not-allowed}a{color:inherit}h1,h2,h3,p{margin-top:0}h1{font-size:29px;letter-spacing:-.9px}h2{font-size:22px;letter-spacing:-.45px}h3{font-size:16px}.eyebrow{color:#64819c;font-size:10px;letter-spacing:1.4px;font-weight:800;margin-bottom:8px}.eyebrow.light{color:#b9cfe4}.shell{display:flex;min-height:100vh}.sidebar{background:#102a49;color:#e9f3fe;display:flex;flex-direction:column;width:260px;flex-shrink:0;min-height:100vh;position:sticky;top:0;height:100vh;padding:29px 17px 20px}.sidebar-brand{display:flex;gap:12px;align-items:center;padding:0 10px 35px}.brand-icon{width:43px;height:43px;border:1px solid #8daccb;background:#1b4774;display:grid;place-items:center;border-radius:11px;font-weight:800;color:#fff;letter-spacing:1px}.sidebar-brand strong{display:block;font-size:15px}.sidebar-brand span{display:block;font-size:11px;margin-top:5px;color:#a3bcd3}.sidebar-caption{font-size:10px;letter-spacing:1.1px;color:#83a1bf;font-weight:800;margin:0 12px 14px}.navigation{display:grid;gap:7px}.navitem{color:#b8c9db;background:transparent;text-align:left;border:1px solid transparent;border-radius:9px;display:flex;align-items:center;gap:14px;height:45px;padding:0 12px;font-weight:650}.navitem:hover{background:#1b3c61}.navitem.selected{background:#295681;border-color:#4177a5;color:#fff}.ni{font-size:21px;width:24px;text-align:center;font-weight:400}.sidebar-bottom{margin-top:auto}.device{display:flex;align-items:center;gap:10px;padding:13px 9px;border-top:1px solid #2d4b68}.device strong{font-size:12px;display:block}.device small{color:#91acc6;font-size:11px;display:block;margin-top:4px}.status-dot{width:9px;height:9px;border-radius:100%;background:#5bc69f;box-shadow:0 0 0 4px #224d54;flex-shrink:0}.sidebar-note{color:#8aa5c0;font-size:11px;line-height:1.5;padding:8px 12px}.workspace{flex:1;min-width:0}.topbar{height:75px;background:#fff;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:0 42px}.crumb{display:flex;gap:11px;align-items:center;color:#718198;font-size:13px}.crumb strong{color:var(--navy)}.crumb-divider{color:#b7c7d5}.top-actions{display:flex;align-items:center;gap:14px}.env-tag{background:#f8f0df;color:#967037;letter-spacing:.8px;font-size:10px;font-weight:800;padding:7px 9px;border-radius:5px}.version-chip{font-size:11px;color:#697c8f;background:#edf3f8;border-radius:20px;padding:7px 11px}.text-button{border:0;background:transparent;color:var(--blue);font-weight:700}.content{padding:34px 42px 90px;max-width:1680px;margin:0 auto}.page-intro{display:flex;justify-content:space-between;align-items:flex-end;gap:18px;margin-bottom:25px}.page-intro h1{margin:5px 0 9px}.page-intro p{color:var(--muted);margin:0;line-height:1.55;max-width:760px}.button-row{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.primary,.secondary,.subtle,.danger{border:1px solid transparent;border-radius:8px;padding:11px 16px;display:inline-flex;gap:8px;align-items:center;justify-content:center;font-weight:750;text-decoration:none;white-space:nowrap}.primary{background:var(--blue);color:#fff}.primary:hover{background:#0e528f}.secondary{background:#fff;border-color:#bdd0e2;color:#245274}.secondary:hover{background:#f0f7ff}.subtle{background:#eaf2f9;color:var(--blue2)}.danger{background:#fff3f3;border-color:#f2cdce;color:var(--red)}.small{padding:7px 10px;font-size:12px}.full{width:100%}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:20px}.stat-card,.panel,.feature-panel{background:#fff;border:1px solid var(--line);box-shadow:var(--shadow);border-radius:12px}.stat-card{padding:21px 22px}.stat-label{display:flex;align-items:center;justify-content:space-between;color:#718295;font-size:12px;font-weight:700}.stat-symbol{width:31px;height:31px;border-radius:8px;background:#eaf3fe;color:#155da1;display:grid;place-items:center;font-size:17px}.stat-value{font-size:31px;font-weight:800;letter-spacing:-1px;margin:13px 0 4px;font-variant-numeric:tabular-nums}.stat-note{font-size:11px;color:#8290a0}.split{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(260px,1fr);gap:17px}.panel{padding:22px}.panel-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px;gap:15px}.panel-head h3{margin:0}.muted{color:var(--muted)}.tiny{font-size:12px}.step-list{display:grid;gap:0}.step{display:flex;gap:14px;padding:14px 0;border-bottom:1px solid #edf0f3}.step:last-child{border-bottom:0}.step-bubble{width:31px;height:31px;border-radius:100%;background:#e7f3ff;color:var(--blue);display:grid;place-items:center;font-weight:800;flex-shrink:0}.step strong{font-size:13px;display:block;margin-bottom:5px}.step small{color:var(--muted);line-height:1.5}.activity-list{display:grid;gap:12px}.activity{border-bottom:1px solid #edf0f5;padding:0 0 11px}.activity:last-child{border-bottom:0}.activity strong{font-size:12px;display:block}.activity small{display:block;color:#85909c;margin-top:5px}.notice{background:#f4f8fd;border:1px solid #dbe9f7;border-left:3px solid #2f7db4;padding:14px 16px;border-radius:7px;color:#416585;line-height:1.6;font-size:13px;margin-bottom:20px}.notice.warning{border-color:#f1e2bd;border-left-color:#c79338;background:#fffbf1;color:#7c663c}.filter-row{display:flex;gap:10px;align-items:center;margin:0 0 16px}.filter-row input{max-width:540px;flex:1}.filter-row select{max-width:320px}.input,.filter-row input,.filter-row select,form input,form select,form textarea{width:100%;border:1px solid #d6e2ee;background:white;border-radius:8px;padding:11px 12px;color:var(--ink);outline:0}.input:focus,.filter-row input:focus,.filter-row select:focus,form input:focus,form select:focus,form textarea:focus{border-color:#3081c1;box-shadow:0 0 0 3px #ddebfa}.table-wrap{overflow-x:auto;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow)}table{border-collapse:collapse;width:100%;font-size:13px}th{background:#f3f7fb;color:#667c90;text-transform:uppercase;letter-spacing:.45px;font-size:10px;text-align:left;padding:15px 18px;white-space:nowrap}td{padding:14px 18px;vertical-align:middle;border-top:1px solid #edf1f5}td b{font-weight:750}tbody tr:hover{background:#fafcff}.nowrap{white-space:nowrap}.truncate{max-width:460px}.procedure-title{display:block;line-height:1.45;max-width:510px}.code{font:12px ui-monospace,Consolas,monospace;color:#3b668c}.tag{display:inline-block;padding:5px 9px;border-radius:30px;background:#edf3f9;color:#45637d;font-size:11px;font-weight:700;white-space:nowrap}.tag.green{background:#e7f5ed;color:#277650}.tag.amber{background:#fff2df;color:#956f35}.tag.red{background:#fdeced;color:#b34b55}.pagination{display:flex;align-items:center;gap:8px;justify-content:flex-end;margin-top:14px;color:#718090}.empty-state{text-align:center;padding:55px 22px;color:#798ca0}.empty-state strong{display:block;color:#1d3952;margin-bottom:8px}.slide-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.slide-card{background:#fff;border-radius:12px;border:1px solid var(--line);overflow:hidden;box-shadow:var(--shadow)}.slide-preview{height:175px;background:#122e4e;display:flex;align-items:center;justify-content:center;overflow:hidden;position:relative}.slide-preview img,.slide-preview video{width:100%;height:100%;object-fit:contain}.media-kind{position:absolute;top:12px;left:12px;background:#ffffffec;color:#264e70;padding:5px 8px;font-weight:800;font-size:10px;border-radius:5px}.slide-details{padding:15px}.slide-details h3{font-size:14px;line-height:1.5;margin:0 0 8px}.slide-meta{display:flex;gap:8px;flex-wrap:wrap;color:#74869b;font-size:11px;margin-bottom:13px}.slide-actions{display:flex;gap:6px;flex-wrap:wrap}.settings-form{display:grid;grid-template-columns:1fr 1fr;gap:18px;max-width:820px}.settings-form label,.form-grid label,.login-card label{display:grid;gap:7px;color:#496278;font-size:12px;font-weight:750}.settings-form input{max-width:340px}.settings-form .full-row{grid-column:1/-1}.field-help{font-size:11px;color:#8293a4;font-weight:400;line-height:1.5}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.form-grid .wide{grid-column:1/-1}.form-grid textarea{min-height:75px;resize:vertical}.modal-root[hidden],#login[hidden],#shell[hidden],#toast[hidden]{display:none!important}.modal-root{position:fixed;inset:0;z-index:50;display:flex;justify-content:center;align-items:center}.modal-scrim{position:absolute;inset:0;background:#0d2542aa}.modal-sheet{position:relative;background:#fff;border-radius:15px;width:min(900px,calc(100vw - 32px));max-height:calc(100vh - 38px);display:flex;flex-direction:column;box-shadow:0 35px 80px #0b1d3a60}.modal-head{padding:22px 27px 15px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:flex-start}.modal-head h2{margin:0}.modal-body{padding:22px 27px;overflow:auto}.modal-foot{padding:15px 27px;border-top:1px solid var(--line);display:flex;gap:10px;justify-content:flex-end}.close-icon{background:#eff3f7;color:#566c7e;border:0;border-radius:8px;font-size:25px;width:35px;height:35px;line-height:1}.form-section{padding-top:19px;margin-top:7px;border-top:1px solid #ecf0f5}.form-section-title{font-size:13px;font-weight:800;color:#1e527d;margin-bottom:10px}.array-rows{display:grid;gap:8px}.array-row{display:flex;gap:8px;align-items:flex-start}.array-row textarea{flex:1;min-height:55px}.array-row button{border:0;color:#a44c58;background:#fff1f2;border-radius:6px;padding:10px 13px}.form-section button.add-row{margin-top:10px;border:1px dashed #8aabc6;background:#f2f8ff;color:#205d93;border-radius:6px;padding:8px 13px}.login-page{min-height:100vh;background:#0b2749;display:grid;grid-template-columns:1.12fr .88fr;align-items:center;padding:8vw;gap:min(9vw,110px)}.login-brand{color:#fff}.seal{width:66px;height:66px;border:2px solid #b9cfb9;background:#1a4778;color:#fff;border-radius:14px;display:grid;place-items:center;font-size:22px;font-weight:800;margin-bottom:50px}.login-brand h1{font-size:clamp(30px,3.7vw,52px);line-height:1.16;margin-bottom:27px;letter-spacing:-1.8px}.login-brand h1 em{color:#c2dfed;font-style:normal}.login-brand p{color:#b7cadc;line-height:1.8;font-size:15px;max-width:500px}.login-capabilities{display:flex;gap:12px;flex-wrap:wrap;margin-top:40px}.login-capabilities span{border:1px solid #486a8d;background:#24476b;padding:9px 13px;border-radius:5px;color:#d7e6f2;font-size:11px}.login-card{background:#fff;border-radius:16px;padding:41px 42px;box-shadow:0 25px 60px #071b36aa}.login-card h2{margin-bottom:7px}.login-card p{color:#7b8b9b;margin-bottom:28px}.login-card label{margin-bottom:16px}.login-avatar{width:47px;height:47px;border-radius:12px;background:#eaf3fc;display:grid;place-items:center;margin-bottom:25px;color:#2663a0}.login-avatar svg{width:26px}.login-foot{font-size:11px;color:#91a0ae;margin-top:25px;border-top:1px solid #edf1f5;padding-top:20px}.field-error{min-height:14px;color:#b74251!important;font-size:12px;margin:4px 0 9px!important}.toast{position:fixed;z-index:90;bottom:24px;right:25px;max-width:420px;padding:14px 18px;background:#173f64;color:#fff;box-shadow:0 12px 35px #172e4055;border-radius:9px;font-size:13px}.toast.error{background:#913c47}.preview-large{background:#143251;border-radius:10px;height:350px;display:grid;place-items:center;overflow:hidden}.preview-large img,.preview-large video{height:100%;width:100%;object-fit:contain}.release-history td{font-size:12px}.callout{display:flex;gap:15px;align-items:flex-start;border:1px solid #dce6f0;background:#f7faff;border-radius:9px;padding:15px;color:#43607b;line-height:1.5}.callout strong{color:#254866}.upload-area{border:2px dashed #b9cee0;border-radius:12px;background:#f7fbff;padding:28px;text-align:center;margin-bottom:18px}.upload-area input{max-width:320px}.media-list{max-height:225px;overflow:auto}.flex-between{display:flex;justify-content:space-between;align-items:center;gap:10px}.check-label{display:flex!important;flex-direction:row;align-items:center;gap:9px!important}.check-label input{width:auto}hr{border:0;border-top:1px solid var(--line);margin:18px 0}@media(max-width:1100px){.sidebar{width:225px}.content{padding:25px}.topbar{padding:0 25px}.stats-grid{grid-template-columns:repeat(2,1fr)}.slide-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:760px){.shell{display:block}.sidebar{position:relative;width:100%;height:auto;min-height:0;padding:15px}.sidebar-brand{padding:0 5px 10px}.sidebar-caption,.sidebar-bottom{display:none}.navigation{display:flex;overflow:auto;gap:4px}.navitem{white-space:nowrap;font-size:12px;height:39px;padding:0 8px}.ni{display:none}.topbar{height:58px;padding:0 15px}.top-actions{gap:5px}.env-tag{font-size:9px}.version-chip{display:none}.content{padding:20px 15px 60px}.page-intro{display:block}.page-intro .button-row{margin-top:18px}.stats-grid{gap:10px}.stat-card{padding:15px}.stat-value{font-size:25px}.split,.settings-form,.form-grid,.slide-grid{grid-template-columns:1fr}.form-grid .wide{grid-column:1}.filter-row{flex-wrap:wrap}.filter-row input,.filter-row select{max-width:100%;flex-basis:100%}.login-page{display:block;padding:30px 18px}.login-brand .seal{margin-bottom:20px}.login-brand h1{font-size:29px}.login-brand p,.login-capabilities{display:none}.login-card{margin-top:35px;padding:25px}.modal-sheet{max-height:calc(100vh - 16px)}.modal-head,.modal-body,.modal-foot{padding:16px}.slide-preview{height:190px}}

/* 2026-11-11 UI refinement: accessible Vietnamese text and the national emblem.
   Replaces the temporary VP monogram on sign-in and in the admin sidebar.
   Typography deliberately uses rem/px for readable desktop and TV-sized screens. */
body{font-size:16px;line-height:1.52}
.seal{
 width:110px;height:114px;margin-bottom:30px;
 padding:0;display:flex;align-items:center;justify-content:center;
 border:0;background:transparent;border-radius:0;
}
.seal-emblem{
 display:block;width:106px;height:108px;object-fit:contain;
 filter:drop-shadow(0 4px 9px rgba(0,0,0,.16))
}
.brand-icon{
 width:51px;height:53px;flex-shrink:0;
 border:0;background:transparent;border-radius:0;
 display:flex;align-items:center;justify-content:center
}
.sidebar-emblem{display:block;width:47px;height:49px;object-fit:contain}
.login-page{gap:clamp(35px,6vw,110px);padding:clamp(36px,6.5vw,116px)}
.login-brand .eyebrow{font-size:13px;letter-spacing:1.25px}
.login-brand h1{font-size:clamp(38px,3.35vw,58px);line-height:1.17;margin-bottom:24px;letter-spacing:-1.4px}
.login-brand p{font-size:17px;line-height:1.8;max-width:565px}
.login-capabilities{margin-top:30px;gap:10px}
.login-capabilities span{font-size:13px;padding:10px 13px;line-height:1.3}
.login-card{padding:clamp(30px,3vw,50px);border-radius:19px;max-width:720px;width:100%}
.login-avatar{width:54px;height:54px;border-radius:13px;margin-bottom:24px}
.login-avatar svg{width:29px;height:29px}
.login-card h2{font-size:27px;line-height:1.25;margin-bottom:9px}
.login-card p{font-size:15px;line-height:1.55;margin-bottom:29px}
.login-card label{font-size:15px;gap:10px;margin-bottom:20px;line-height:1.35}
.login-card input{
 font-size:17px;min-height:52px;padding:14px 15px;border-radius:9px;
 border-color:#c8d9e9;line-height:1.3
}
.login-card input::placeholder{color:#7f90a3;opacity:1}
.login-card .primary{min-height:56px;font-size:16px;border-radius:9px;font-weight:750;margin-top:4px}
.login-foot{font-size:13px;line-height:1.6;margin-top:25px;padding-top:20px;color:#74899d}
.field-error{font-size:14px;line-height:1.5;min-height:20px}
.sidebar-brand strong{font-size:16px}
.sidebar-brand span{font-size:12.5px}
.sidebar-caption{font-size:11.5px}
.navitem{font-size:14.5px;min-height:49px;line-height:1.3}
.device strong{font-size:13px}.device small,.sidebar-note{font-size:12px}
.crumb{font-size:14.5px}
.version-chip,.env-tag{font-size:12px}
.page-intro h1{font-size:31px}
.page-intro p{font-size:15px}
.eyebrow{font-size:11.5px}
.primary,.secondary,.subtle,.danger{font-size:14.5px;line-height:1.4}
.small{font-size:13px}
.panel-head h3{font-size:18px}
.stat-label{font-size:13.5px}.stat-note{font-size:12.5px}
.stat-value{font-size:33px}
.tiny{font-size:13.5px}
.muted{line-height:1.55}
.notice{font-size:14.5px}
.step strong{font-size:14.5px}.step small{font-size:13px}
.activity strong{font-size:13.5px}.activity small{font-size:12.5px}
.filter-row input,.filter-row select,.input,form input,form select,form textarea{
 font-size:15px;min-height:43px
}
table{font-size:14px}
th{font-size:11.5px}
td{line-height:1.5}
.code{font-size:13px}
.tag{font-size:12px}
.stat-card{min-height:144px}
.form-grid label,.settings-form label,.login-card label{font-size:14.5px}
.form-section-title{font-size:14.5px}
.field-help{font-size:12.5px}
.modal-head h2{font-size:24px}
.toast{font-size:14px}
@media (max-width:950px){
 .login-page{gap:35px;padding:32px}
 .login-brand h1{font-size:clamp(33px,4.1vw,44px)}
 .login-card{padding:32px}
}
@media (max-width:760px){
 body{font-size:15px}
 .login-page{padding:24px 18px 38px}
 .seal{width:75px;height:78px;margin-bottom:16px}
 .seal-emblem{width:74px;height:76px}
 .login-brand h1{font-size:34px;line-height:1.16;margin-bottom:12px}
 .login-brand .eyebrow{font-size:11px}
 .login-card{padding:27px 22px;margin-top:25px}
 .login-card h2{font-size:24px}
 .login-card label{font-size:14.5px}
 .login-card input{font-size:16px;min-height:49px}
 .login-card .primary{font-size:15px;min-height:52px}
 .login-foot{font-size:12px}
 .brand-icon{width:42px;height:44px}.sidebar-emblem{width:40px;height:42px}
 .navitem{font-size:13px;min-height:43px}
 .page-intro h1{font-size:27px}
 .page-intro p{font-size:14px}
 .stats-grid .stat-card{min-height:0}
 .content{padding:21px 16px 55px}
 .topbar{height:60px}
 .panel-head h3{font-size:16px}
 .modal-head h2{font-size:21px}
}

/* 2026-11-11: fine-adjust login national emblem height and vertical balance */
@media (min-width: 761px) {
  .login-brand { transform: translateY(-14px); }
  .login-brand .seal { width:120px; height:124px; margin-bottom:34px; }
  .login-brand .seal-emblem { width:116px; height:118px; }
}
@media (max-width: 760px) {
  .login-brand .seal { width:84px; height:88px; margin-bottom:19px; }
  .login-brand .seal-emblem { width:82px; height:84px; }
}

/* 2026-11-11: horizontal government identity; crest aligned with top of login form. */
@media (min-width: 761px) {
 .login-page{align-items:start;align-content:center;}
 .login-brand{transform:none!important;align-self:start;}
 .login-identity{display:flex;align-items:center;gap:20px;min-height:124px;margin-bottom:26px;}
 .login-identity .seal{flex:0 0 120px;width:120px;height:124px;margin:0;}
 .login-identity .seal-emblem{width:116px;height:118px;}
 .login-identity .eyebrow{margin:0;font-size:clamp(13px,1vw,16px);letter-spacing:.6px;line-height:1.6;max-width:370px;}
}
@media (max-width:760px) {
 .login-identity{display:flex;align-items:center;gap:14px;margin-bottom:20px;}
 .login-identity .seal{margin:0;flex-shrink:0;}
 .login-identity .eyebrow{margin:0;font-size:11px;line-height:1.5;}
}

/* 2026-11-12 • Chốt phương án 2: đăng nhập hiện đại, cân đối và trang trọng. */
@media (min-width: 761px) {
  .login-page {
    background: radial-gradient(ellipse at 12% 9%, #103d72 0%, #0d305b 40%, #092348 100%);
    align-items: start;
    align-content: center;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    gap: clamp(52px, 6.5vw, 118px);
    padding: clamp(42px, 6vw, 108px);
  }
  .login-brand {transform: none !important; align-self: start; min-width: 0;}
  .login-identity {display:flex; align-items:center; gap:20px; min-height:118px; margin-bottom:39px; flex-wrap:nowrap;}
  .login-identity .seal {width:116px; height:118px; flex:0 0 116px; margin:0; background:transparent; border:0;}
  .login-identity .seal-emblem {width:112px; height:114px; object-fit:contain;}
  .identity-divider {width:2px; height:64px; flex:0 0 2px; background:#b9ddf5; opacity:.9;}
  .agency-name {font-weight:800; font-size:clamp(17px,1.44vw,26px); letter-spacing:-.4px; line-height:1.35; color:#fff;}
  .login-brand h1 {font-size:clamp(40px,3.78vw,70px); letter-spacing:-1.65px; line-height:1.14; margin-bottom:34px; font-weight:800;}
  .login-brand h1 em {color:#c3e3f7;}
  .login-brand p {font-size:clamp(16px,1.1vw,20px);line-height:1.82; margin-bottom:0; max-width:710px; color:#e2ecf7;}
  .login-capabilities {margin-top:38px; gap:12px;}
  .login-capabilities span {font-size:clamp(12px,.9vw,16px);padding:12px 15px;border-color:#5b8db7;background:rgba(94,156,208,.2);border-radius:7px;}
  .login-card {align-self:start; max-width:none; width:100%; padding:clamp(30px,2.7vw,47px); border-radius:18px; box-shadow:0 24px 64px rgba(3,19,45,.24);}
  .login-avatar {width:60px;height:60px;margin-bottom:26px;background:#e2f1ff;}
  .login-avatar svg {width:31px;height:31px;}
  .login-card h2 {font-size:clamp(24px,1.8vw,33px);margin-bottom:10px;}
  .login-card p {font-size:clamp(14px,.95vw,17px); margin-bottom:25px;}
  .login-card label {font-size:15px;}
  .login-card input {min-height:55px;font-size:17px;}
  .login-card .primary {min-height:59px;font-size:17px;background:#0967b9;}
  .login-foot {font-size:13px;}
}
@media (min-width: 761px) and (max-width: 1160px) {
  .login-page {gap:34px;padding:clamp(26px,4vw,55px);}
  .login-identity {gap:11px; margin-bottom:30px;}
  .login-identity .seal {flex-basis:92px;width:92px;height:96px;}
  .login-identity .seal-emblem {width:90px;height:93px;}
  .identity-divider {height:52px;}
  .agency-name {font-size:clamp(13px,1.4vw,18px);}
  .login-brand h1 {font-size:clamp(34px,3.7vw,48px);}
  .login-card {padding:26px;}
}
@media (max-width:760px) {
  .login-page {background:linear-gradient(150deg,#103e73,#0a2850 65%,#092347);}
  .login-identity {display:flex;gap:12px;align-items:center;min-height:83px;margin-bottom:25px;}
  .login-identity .seal {flex:0 0 76px;width:76px;height:82px;margin:0;}
  .login-identity .seal-emblem {width:75px;height:78px;}
  .identity-divider {display:block;width:2px;height:43px;flex:0 0 2px;background:#c2e2f5;}
  .agency-name {font-size:clamp(13px,3vw,17px);line-height:1.4;letter-spacing:0;font-weight:800;color:white;}
  .login-brand h1 {font-size:clamp(32px,8vw,43px);line-height:1.2;}
  .login-capabilities span {font-size:12px;}
}

/* Role visibility: hidden navigation entries must not retain flex display. */
.navitem[hidden], [hidden][data-admin-only] {display:none!important}
