/* Light administration workspace, scoped to the control shell. */
body:has(#app.control-shell){background:#f4f6f9;color:#263646;color-scheme:light}
.control-shell{--admin-sidebar-width:235px}
#app.control-shell{display:block;width:100%;max-width:none;min-height:100vh;margin:0;padding:0;--admin-ink:#263646;--admin-muted:#8a969f;--admin-line:#e3e8ee;--admin-surface:#fff;color:var(--admin-ink)}
.control-shell .sidebar{position:fixed;z-index:45;inset:0 auto 0 0;width:var(--admin-sidebar-width);height:100vh;padding:25px 14px 22px;background:#192b3a;color:#d9e3ed;overflow-y:auto;transform:none;border-right:1px solid #2b4150}
.control-shell .brand{display:flex;align-items:center;min-height:49px;margin:0 14px 10px;padding:0}
.control-shell .brand img{width:166px;height:auto;max-width:100%}
.control-shell .admin-caption{margin:0 14px 24px;color:#8096a7;font-size:9px;font-weight:750;letter-spacing:1.45px}
.control-shell .tabs{display:flex;flex-direction:column;width:100%;max-width:none;margin:0;padding:0 13px 0 3px;gap:4px;border:0;border-radius:0;background:transparent;overflow:visible}
.control-shell .tabs a{display:flex;align-items:center;min-height:39px;padding:10px 12px;border:0;border-radius:5px;color:#c4cfd7;font-size:12px;font-weight:650;line-height:1.35;text-decoration:none;transition:background .15s,color .15s}
.control-shell .tabs a:hover{background:#2b4353;color:#fff}
.control-shell .tabs a[aria-current=page]{background:#f5b92d;color:#263646}
.control-shell .admin-nav-group{margin:20px 12px 8px;color:#71899a;font-size:9px;font-weight:750;letter-spacing:1.2px}
.control-shell .tabs a:focus-visible,.control-shell .admin-back:focus-visible{outline:2px solid #f5b92d;outline-offset:2px}
.control-shell .admin-back{display:flex;align-items:center;margin:29px 13px 0;padding:17px 0;border-top:1px solid #354657;color:#afc2d0;font-size:12px;text-decoration:none}
.control-shell .admin-back:hover{color:#fff}
.control-shell .workspace{display:block;width:auto;max-width:none;min-height:100vh;margin:0 0 0 var(--admin-sidebar-width);padding:0;background:#f5f6fa;color:var(--admin-ink);color-scheme:light}
.control-shell .admin-header{position:sticky;top:0;z-index:30;display:flex;align-items:center;justify-content:space-between;gap:18px;height:70px;padding:0 36px;background:#fff;border-bottom:1px solid #e5e9ec;color:#8895a1}
.control-shell .admin-header>span{font-size:11px;font-weight:500}
.control-shell .admin-header strong{display:none}
.control-shell .admin-menu{display:none;align-items:center;justify-content:center;width:38px;height:38px;padding:7px;border:1px solid var(--admin-line);border-radius:8px;background:#fff;color:#31495e}
.control-shell .admin-menu svg{width:20px;height:20px}
.control-shell .admin-scrim{display:none}
.control-shell main{max-width:1500px;min-width:0;margin:0 auto;padding:36px 36px 70px;color:var(--admin-ink)}
.control-shell h1{margin:7px 0 25px;color:#263646;font-size:28px;letter-spacing:-.6px}
.control-shell h2{color:#314457}
.control-shell .admin-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:8px;color:#99a5ae;font-size:10px;font-weight:750;letter-spacing:1.2px}
.control-shell .panel,.control-shell .settings-card,body .control-shell .support-page,body .control-shell .support-form{background:var(--admin-surface);border:1px solid var(--admin-line);border-radius:9px;color:var(--admin-ink);box-shadow:none}
.control-shell .panel{padding:24px}
.control-shell .panel .muted,.control-shell .muted{color:var(--admin-muted)}
.control-shell .intro-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:22px}
.control-shell .intro-grid>.panel{min-width:0;margin:0}
.control-shell .intro-grid>.panel h2{margin-top:8px;font-size:23px;font-weight:750;overflow-wrap:anywhere}
.control-shell .table-scroll{overflow:auto;max-width:100%;background:#fff;border:1px solid var(--admin-line);border-radius:10px;color:var(--admin-ink);box-shadow:0 2px 10px #25384d09}
.control-shell table{width:100%;border-collapse:collapse;font-size:13px}
body .control-shell .table-scroll th{padding:13px 17px;background:#f5f6f8;border:0;border-bottom:1px solid var(--admin-line);color:#7f8a93;font-size:11px;font-weight:650;letter-spacing:.3px;text-align:left;white-space:nowrap}
body .control-shell .table-scroll td{padding:14px 17px;border:0;border-bottom:1px solid #edf0f3;color:var(--admin-ink);vertical-align:middle}
.control-shell .table-scroll tbody tr:last-child td{border-bottom:0}
.control-shell .table-scroll tbody tr:hover{background:#f7fafc}
.control-shell .table-scroll td small{display:block;margin-top:2px;color:var(--admin-muted);font-size:11px}
.control-shell .search-form{display:flex;align-items:end;gap:12px;margin-bottom:20px}
.control-shell .search-form .field{min-width:210px;margin-bottom:0}
.control-shell .field{margin-bottom:16px}
body .control-shell .workspace .field label{color:#43586c}
body .control-shell .workspace .field input,body .control-shell .workspace .field textarea,body .control-shell .workspace .field select,body .control-shell .support-page input:not([type=checkbox]),body .control-shell .support-page textarea,body .control-shell .support-page select{background:#fff;color:var(--admin-ink);border:1px solid #cdd8e2;caret-color:#1684b5}
body .control-shell .workspace .field input:focus,body .control-shell .workspace .field textarea:focus,body .control-shell .workspace .field select:focus{background:#fff;border-color:#1684b5;outline:2px solid #1684b529;outline-offset:1px}
body .control-shell .workspace .field input::placeholder,body .control-shell .workspace .field textarea::placeholder{color:#91a0af}
body .control-shell .workspace .btn{background:#f5b92d;border-color:#eeb32a;color:#263646;border-radius:6px;box-shadow:none}
body .control-shell .workspace .btn:hover{background:#edab1b;border-color:#e2a017}
body .control-shell .workspace .btn.secondary{background:#fff;border-color:#cfd9e3;color:#3f566b}
body .control-shell .workspace .btn.secondary:hover{background:#edf3f7;border-color:#aebfcd}
body .control-shell .workspace .error{background:#fff1f1;color:#a13c49;border-color:#f1cad0}
body .control-shell .workspace .notice{background:#eff8fc;color:#37627b;border-color:#cce6f2}
.control-shell .support-page,.control-shell .support-form,.control-shell .support-ticket-row,.control-shell .support-message{color:var(--admin-ink)}
body .control-shell .support-ticket-row,body .control-shell .support-message,body .control-shell .support-caption,body .control-shell .support-editor-head,body .control-shell .support-message footer,body .control-shell .support-message blockquote{background:#fff;color:var(--admin-ink);border-color:var(--admin-line)}
body .control-shell .support-ticket-row:hover,body .control-shell .support-message.staff,body .control-shell .support-ticket-row.unread{background:#f2f7fa}
body .control-shell .support-tabs{background:#eef3f7;border-color:var(--admin-line)}
body .control-shell .support-tabs a{color:#52677c}
body .control-shell .support-tabs a.active{background:#fff;color:#176f96;border-bottom-color:#176f96}
body .control-shell .support-hint,body .control-shell .support-message footer{color:var(--admin-muted)}
@media(min-width:1000px){.control-shell .intro-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.control-shell .intro-grid:has(form){grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){
 .control-shell .sidebar{width:min(286px,85vw);transform:translateX(-105%);transition:transform .2s ease;box-shadow:8px 0 30px #1426362b}
 .control-shell .sidebar.open{transform:translateX(0)}
 .control-shell .admin-scrim.open{display:block;position:fixed;z-index:40;inset:0;background:#0f253a8c;border:0}
 .control-shell .workspace{margin-left:0}
 .control-shell .admin-header{height:60px;padding:0 18px;justify-content:flex-start}
 .control-shell .admin-header strong{margin-left:auto}
 .control-shell .admin-menu{display:inline-flex}
 .control-shell main{padding:22px 18px 60px}
 .control-shell h1{font-size:24px}
 .control-shell .intro-grid,.control-shell .intro-grid:has(form){grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .control-shell .panel{padding:18px}
 .control-shell .search-form{align-items:stretch;flex-wrap:wrap}
 .control-shell .search-form .field{flex:1 1 100%}
}
@media(max-width:460px){.control-shell .admin-header>span{font-size:12px}.control-shell .admin-header strong{font-size:11px;padding:5px 9px}.control-shell .intro-grid,.control-shell .intro-grid:has(form){grid-template-columns:minmax(0,1fr)}.control-shell main{padding:20px 13px 50px}.control-shell .table-scroll{margin:0 -3px}}
@media(prefers-reduced-motion:reduce){.control-shell .sidebar,.control-shell .tabs a{transition:none}}
