/* v1.0.03 — UTEC English live scoring • original brand logo, normalized icons */
:root{--v3-ink:#0a3273;--v3-blue:#0b64dc;--v3-line:#e5edf8}
.admin-dashboard-theme{background:#f5f9ff;color:var(--v3-ink)}
.admin-site-header{height:82px;background:#fff;border-bottom:1px solid #e4ecf7;box-shadow:0 3px 16px rgba(14,70,140,.05);position:sticky;top:0;z-index:45}
.admin-header-inner{max-width:none;width:100%;padding:0 clamp(20px,2.2vw,42px);gap:22px;justify-content:initial}
.admin-logo-frame{background:#fff;display:flex;align-items:center;width:210px;min-width:210px;height:70px;overflow:hidden;border:0}
.admin-logo-frame .site-logo.official-logo{display:block;width:205px;max-height:60px;height:auto;object-fit:contain;mix-blend-mode:normal}
.admin-event-brand{margin-right:auto;border-left:1px solid #e4ebf7;padding-left:23px;display:flex;flex-direction:column;gap:3px;min-width:0}
.admin-event-brand strong{color:#0c357a;font-size:16px;letter-spacing:-.03em;white-space:nowrap;font-weight:850}
.admin-event-brand strong span{color:#0868e3}.admin-event-brand small{color:#8295b5;font-size:10px;font-weight:800;letter-spacing:.13em}
.admin-header-nav{display:flex;align-items:center;gap:10px}
.admin-header-nav a{display:block;color:#536d96;font-weight:750;font-size:12px;padding:12px 15px;border-radius:10px}
.admin-header-nav a.active,.admin-header-nav a:hover{color:#0868dc;background:#eaf3ff;text-decoration:none}
.admin-account-chip{display:flex;gap:9px;align-items:center;border-left:1px solid #e4ebf7;padding-left:20px}
.admin-account-avatar{width:37px;height:37px;display:grid;place-items:center;background:linear-gradient(135deg,#cce6ff,#096ade);border:3px solid #edf6ff;border-radius:50%;color:#fff;font-weight:850}
.admin-account-label{display:flex;flex-direction:column;max-width:128px}.admin-account-label strong{font-size:11px;color:#0a3476;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.admin-account-label small{color:#7c93b2;font-size:10px}
.admin-logout{background:#fff;border:1px solid #dae6f5;border-radius:10px;color:#0e4a97;font-size:11px;padding:9px 13px}
.admin-app-shell{display:grid;grid-template-columns:245px minmax(0,1fr);min-height:calc(100vh - 148px)}.admin-app-sidebar{background:#fff;border-right:1px solid #e5edf7;padding:30px 17px 22px;display:flex;flex-direction:column;gap:22px}
.admin-app-sidebar .sidebar-label{font-size:10px;font-weight:900;letter-spacing:.09em;color:#7f96b5;padding:0 11px}
.admin-dashboard-theme .admin-nav{display:flex;flex-direction:column;border:0;box-shadow:none;position:static;background:transparent;gap:6px;padding:0}
.admin-dashboard-theme .admin-nav button{width:100%;display:flex;align-items:center;gap:13px;text-align:left;border:0;background:transparent;border-radius:11px;color:#4f6990;padding:13px 14px;min-height:48px;font-size:12px;font-weight:760}
.admin-dashboard-theme .admin-nav button:hover{background:#eff6ff;color:#0869db}.admin-dashboard-theme .admin-nav button.selected{background:linear-gradient(105deg,#096ee7,#0c56c6);box-shadow:0 9px 16px rgba(9,90,201,.15);color:white}
.ui-icon{width:20px;height:20px;flex:none;stroke:currentColor;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}.admin-nav .ui-icon{width:21px;height:21px}
.sidebar-promo{background:linear-gradient(155deg,#edf6ff,#f8fbff 60%,#fff7df);border:1px solid #e6f0fc;border-radius:17px;padding:19px;display:flex;flex-direction:column;align-items:flex-start;gap:5px;margin-top:auto;color:#0c377b;box-shadow:0 7px 20px #154f8b0b}
.sidebar-promo .promo-mini{background:#fff0c4;color:#d38d00;padding:9px;border-radius:11px;margin-bottom:7px}.sidebar-promo span{font-size:10px;font-weight:850;letter-spacing:.08em;color:#3860a0}.sidebar-promo strong{font-size:19px;line-height:1.16;font-weight:900}.sidebar-promo small{font-size:10px;color:#507ba7}.sidebar-bottom{color:#a0b0c8;font-size:10px;padding-left:12px}
.admin-stage{min-width:0}.admin-hero{position:relative;min-height:236px;background:linear-gradient(105deg,#f7fbff 15%,#e6f3ff 65%,#c8e8ff);overflow:hidden;display:flex;align-items:center;border-bottom:1px solid #e0edfa}
.admin-hero:before{content:'';position:absolute;inset:0;background:radial-gradient(circle at 12% 0%,#fff 0%,transparent 49%);pointer-events:none}
.admin-hero-text{position:relative;z-index:2;padding:34px 25px 30px clamp(23px,3vw,51px);width:65%}
.hero-overline{font-size:11px;font-weight:850;letter-spacing:.19em;color:#075ac6}.admin-hero h1{font-size:clamp(30px,3vw,49px);white-space:nowrap;color:#07347b;line-height:1.18;letter-spacing:-.048em;margin:11px 0 0;font-weight:900}
.admin-title-underline{width:48px;height:4px;background:#ffc51b;display:block;margin:12px 0 16px;border-radius:9px}.admin-hero p{max-width:515px;color:#5c779b;font-size:13px;line-height:1.6}
.hero-subline{display:inline-flex;gap:8px;align-items:center;margin-top:17px;border-radius:99px;background:white;padding:7px 12px;color:#0a7c60;font-size:11px;font-weight:800;box-shadow:0 3px 9px #3567a216}.hero-subline .ui-icon{width:15px;height:15px}
.admin-hero-art{position:absolute;inset:0 0 0 auto;width:43%;background:linear-gradient(90deg,#e9f5ff 0,transparent 14%),url('/assets/img/admin-hero-v103.webp') center right / contain no-repeat;z-index:1}
.admin-workspace{padding:22px clamp(20px,2vw,34px) 35px;max-width:none;width:100%}.admin-content{min-width:0}.admin-tab{min-width:0}
.admin-dashboard-theme .dashboard-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:16px}
.admin-dashboard-theme .overview-stat{display:flex;align-items:center;gap:14px;min-width:0;min-height:111px;padding:17px;background:#fff;border:1px solid #e8eff9;border-radius:17px;box-shadow:0 7px 22px #1454a00b;position:relative;overflow:hidden}
.admin-dashboard-theme .overview-stat:before{content:'';position:absolute;inset:0 auto auto 0;width:100%;height:3px;background:var(--stat-tint)}
.overview-stat.tone-blue{--stat-tint:#287ce8}.overview-stat.tone-gold{--stat-tint:#efb524}.overview-stat.tone-green{--stat-tint:#14b77c}.overview-stat.tone-purple{--stat-tint:#8d63e9}
.overview-icon{width:51px;height:51px;display:grid;place-items:center;border-radius:15px;background:#e9f4ff;color:#0868d9}.tone-gold .overview-icon{background:#fff6df;color:#d99a00}.tone-green .overview-icon{background:#e4fbef;color:#0ab078}.tone-purple .overview-icon{background:#f1ebff;color:#8d5bdc}.overview-icon .ui-icon{width:25px;height:25px;stroke-width:2.3}
.overview-stat .stat-data{flex:1;min-width:0}.overview-stat .stat-data small{display:block;color:#7790b1;font-size:11px;font-weight:700}.overview-stat .stat-data strong{display:block;margin:3px 0;font-size:30px;letter-spacing:-.035em;line-height:1.1;color:#07387f;font-weight:900}.overview-stat .stat-caption{display:block;color:#8b9eb6;font-size:10px}.overview-stat>.ui-icon{width:14px;height:14px;color:#b5c4d8}
.admin-overview-grid{display:grid;grid-template-columns:minmax(0,2.35fr) minmax(265px,.85fr);gap:15px;align-items:stretch}.admin-right-stack{display:flex;flex-direction:column;gap:15px;min-width:0}
.admin-dashboard-theme .panel-card{margin-bottom:16px;border:1px solid #e6edf8;border-radius:17px;padding:21px;background:#fff;box-shadow:0 6px 23px #1454a00a;min-width:0;overflow:hidden}.admin-overview-grid .panel-card{margin-bottom:0}
.admin-dashboard-theme .panel-card h3{font-size:16px;color:#0a377d;font-weight:850;letter-spacing:-.03em}.admin-dashboard-theme .panel-card h3>.ui-icon{width:19px;height:19px;margin-right:5px;color:#0866d4}
.admin-pending-panel{min-height:338px}.admin-pending-panel .section-head{margin-bottom:15px;gap:10px;align-items:center;flex-wrap:wrap}.admin-panel-title{display:flex;align-items:center;gap:11px}.admin-panel-title h3{font-size:17px}.admin-panel-title p{color:#8498b3;font-size:11px;margin-top:3px}.admin-panel-icon{background:#e8f3ff;border-radius:11px;padding:10px;display:grid;place-items:center;color:#1174e8}.admin-panel-icon .ui-icon{width:20px;height:20px}
.pending-panel-cta{display:flex;align-items:center;gap:10px}.pending-panel-cta .tag{background:#e8f8ef;color:#07885c;font-size:10px;border-radius:99px}.btn.compact{min-height:31px;padding:7px 11px;border-radius:8px;font-size:11px}.btn.compact .ui-icon{width:14px;height:14px}
.admin-dashboard-theme .data-table{width:100%;margin:0;border-collapse:collapse;white-space:nowrap;font-size:11px}.admin-dashboard-theme .data-table th{background:#eff5fd;color:#496994;padding:13px 11px;font-size:10px;border-bottom:1px solid #e8eff9}.admin-dashboard-theme .data-table td{padding:12px 11px;color:#4d6c95;border-bottom:1px solid #edf3fb}.admin-dashboard-theme .data-table tr:hover td{background:#fbfdff}.admin-dashboard-theme .data-table td strong{color:#154680}
.admin-pending-panel .data-table-scroll{min-height:255px}.admin-pending-panel .data-table{min-width:850px}
.admin-pending-panel .data-table tbody tr.empty-row td{background:#fff;color:#8fa4bd;text-align:center;padding:67px 12px;font-weight:650}
.result-chip{display:inline-flex;padding:4px 8px;border-radius:99px;font-weight:750;font-size:10px}.result-chip.correct{color:#098953;background:#e5fbef}.result-chip.wrong{color:#d13b51;background:#ffeff2}
.admin-right-stack .panel-card{padding:19px}.admin-distribution{min-height:197px;flex:1}.dist-wrap{display:flex;align-items:center;gap:12px;margin-top:19px}.dist-donut{height:116px;width:116px;flex:none;display:grid;place-items:center;border-radius:50%;background:var(--donut)}.donut-hole{width:84px;height:84px;border-radius:50%;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center}.donut-hole strong{font-size:26px;color:#073985;font-weight:900}.donut-hole small{color:#8ba0b9;font-size:10px}.dist-legend{flex:1;min-width:0}.dist-legend>div{display:flex;gap:7px;align-items:center;margin:11px 0;color:#617c9f;font-size:10px}.legend-dot{height:8px;width:8px;flex:none;border-radius:50%}.dist-legend>div>span:nth-child(2){flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dist-legend strong{color:#133f83;white-space:nowrap;font-size:10px}.dist-legend strong small{font-weight:500;color:#8da2bf}
.admin-actions-panel{min-height:141px}.admin-actions-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:14px}.quick-link{display:flex;align-items:center;gap:7px;padding:10px 8px;border:1px solid #eef3fa;border-radius:9px;background:#f5f9ff;color:#0d5fc9;text-align:left;font-size:10px;font-weight:750;min-width:0}.quick-link:hover{background:#e7f2ff;text-decoration:none}.quick-link span{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.quick-link .ui-icon{width:17px;height:17px}.quick-link .ui-icon:last-child{width:13px;height:13px}
.admin-recent-panel{margin-top:15px}.admin-recent-list{min-height:76px}.recent-event{display:grid;grid-template-columns:150px 10px minmax(140px,1fr) minmax(100px,1fr);align-items:center;gap:11px;padding:12px;border-bottom:1px solid #edf2f9;color:#7990b0;font-size:11px}.recent-point{width:8px;height:8px;border-radius:50%;background:#14b688}.recent-event strong{color:#23558c}.recent-empty{padding:19px;text-align:center;color:#879ab4;font-size:12px}
.admin-dashboard-theme .admin-tab:not([data-section=overview]) .admin-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:20px 0}.admin-dashboard-theme .admin-header h2{font-size:22px;color:#103a7a}.admin-dashboard-theme .admin-header p{font-size:12px;color:#8196b1;margin-top:4px}
.admin-dashboard-theme .site-footer{border-top:1px solid #e7eef7;background:#fff}.admin-dashboard-theme .site-footer .foot-inner{max-width:none;width:calc(100% - 50px)}.admin-dashboard-theme .site-footer .footer-brand img{width:172px;height:auto;mix-blend-mode:normal}.admin-dashboard-theme .site-footer .foot-inner small{color:#98abc3}
.admin-dashboard-theme button:focus-visible,.admin-dashboard-theme a:focus-visible{outline:3px solid #f6bb22;outline-offset:3px}
/* judge and public quality improvements */
.judge-grid .panel-card{box-shadow:0 8px 28px #154f950e}.judge-form-card{border-top:4px solid #116ce5}.judge-grid .btn.primary.full{font-size:13px;min-height:48px}.judge-form-card .help-check:has(input:checked){border-color:#3c91ee;background:#eff8ff}
@media(max-width:1400px){.admin-app-shell{grid-template-columns:221px minmax(0,1fr)}.admin-event-brand strong{font-size:14px}.admin-header-nav a{padding:10px 8px}.admin-header-inner{gap:12px}.admin-logo-frame{min-width:175px;width:175px}.admin-logo-frame .site-logo.official-logo{width:172px}.admin-overview-grid{grid-template-columns:minmax(0,1.8fr) minmax(260px,1fr)}.admin-hero-art{width:44%}.admin-hero h1{font-size:38px}}
@media(max-width:1140px){.admin-header-nav{display:none}.admin-account-chip{display:none}.admin-overview-grid{grid-template-columns:1fr}.admin-right-stack{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.admin-dashboard-theme .dashboard-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-hero-art{width:43%}.admin-hero-text{width:72%}}
@media(max-width:780px){.admin-site-header{height:69px}.admin-header-inner{padding:0 12px}.admin-logo-frame{min-width:133px;width:133px;height:54px}.admin-logo-frame .site-logo.official-logo{width:133px;max-height:54px}.admin-event-brand{border-left:0;padding-left:0}.admin-event-brand strong{white-space:normal;font-size:11px;line-height:1.2}.admin-event-brand small{font-size:8px}.admin-logout{font-size:10px;padding:7px}.admin-app-shell{display:block}.admin-app-sidebar{padding:10px 12px;gap:0;border-right:0;border-bottom:1px solid #e5edf9}.sidebar-label,.sidebar-promo,.sidebar-bottom{display:none}.admin-dashboard-theme .admin-nav{flex-direction:row;gap:6px;overflow-x:auto}.admin-dashboard-theme .admin-nav button{width:auto;flex:none;min-height:42px;padding:9px 11px;font-size:11px;white-space:nowrap}.admin-dashboard-theme .admin-nav button .ui-icon{width:17px;height:17px}.admin-hero{min-height:210px}.admin-hero-text{padding:24px 17px;width:87%}.admin-hero h1{font-size:31px;white-space:normal}.admin-hero p{font-size:11px;max-width:330px}.hero-overline{font-size:9px}.hero-subline{font-size:9px;max-width:85%}.admin-hero-art{width:58%;opacity:.21}.admin-workspace{padding:13px}.admin-dashboard-theme .dashboard-stats{gap:9px}.admin-dashboard-theme .overview-stat{min-height:96px;padding:11px;gap:9px}.overview-icon{height:40px;width:40px}.overview-icon .ui-icon{width:20px;height:20px}.overview-stat .stat-data strong{font-size:25px}.overview-stat .stat-data small{font-size:10px}.overview-stat .stat-caption{font-size:9px}.overview-stat>.ui-icon{display:none}.admin-right-stack{grid-template-columns:1fr}.admin-dashboard-theme .panel-card{padding:14px}.admin-panel-title h3{font-size:15px}.admin-pending-panel .section-head{gap:8px}.admin-panel-title p{font-size:10px}.pending-panel-cta{width:100%;justify-content:space-between}.dist-wrap{justify-content:space-around}.recent-event{grid-template-columns:85px 7px 1fr;gap:7px}.recent-event>span:last-child{display:none}.admin-dashboard-theme .site-footer .foot-inner{width:calc(100% - 24px)}}
