/* Light administration workspace, scoped to the control shell. */
body:has(#app.control-shell){background:#f4f6f9;color:#263646;color-scheme:light}
#app.control-shell{display:block;min-height:100vh;--admin-ink:#263646;--admin-muted:#738293;--admin-line:#e3e8ee;--admin-surface:#fff;color:var(--admin-ink)}
.control-shell .sidebar{position:fixed;z-index:45;inset:0 auto 0 0;width:246px;height:100vh;padding:25px 14px 22px;background:#1b2937;color:#d9e3ed;overflow-y:auto;transform:none;border-right:1px solid #263a4b;box-shadow:4px 0 20px #15243312}
.control-shell .brand{display:flex;align-items:center;min-height:49px;margin:0 9px 20px;padding-bottom:18px;border-bottom:1px solid #354657}
.control-shell .brand img{width:180px;height:auto;max-width:100%}
.control-shell .admin-caption{margin:0 13px 13px;color:#91a8bb;font-size:10px;font-weight:750;letter-spacing:1.65px}
.control-shell .tabs{display:flex;flex-direction:column;width:100%;max-width:none;margin:0;padding:0;gap:4px;border:0;border-radius:0;background:transparent;overflow:visible}
.control-shell .tabs a{display:flex;align-items:center;min-height:43px;padding:10px 13px;border:1px solid transparent;border-left:3px solid transparent;border-radius:7px;color:#c2d1de;font-size:13px;font-weight:650;line-height:1.3;text-decoration:none;transition:background .15s,color .15s,border-color .15s}
.control-shell .tabs a:hover{background:#283c4e;color:#fff}
.control-shell .tabs a[aria-current=page]{background:#2a4255;border-left-color:#3fc3df;color:#fff}
.control-shell .tabs a:focus-visible,.control-shell .admin-back:focus-visible{outline:2px solid #82d6e9;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 246px;padding:0;background:#f4f6f9;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 var(--admin-line);box-shadow:0 1px 3px #23364708;color:var(--admin-ink)}
.control-shell .admin-header>span{font-size:14px;font-weight:750}
.control-shell .admin-header strong{display:inline-flex;align-items:center;min-height:34px;padding:6px 13px;border-radius:20px;background:#edf3f7;color:#41566b;font-size:12px;font-weight:700}
.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:29px 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:var(--admin-muted);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:11px;color:var(--admin-ink);box-shadow:0 2px 10px #25384d09}
.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:#f0f3f7;border:0;border-bottom:1px solid var(--admin-line);color:#536579;font-size:11px;font-weight:750;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:#176f96;border-color:#176f96;color:#fff;border-radius:7px;box-shadow:none}
body .control-shell .workspace .btn:hover{background:#125f82;border-color:#125f82}
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)}
@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}}
