.admin {
  color-scheme:dark;
  --bg:#000;
  --panel:#1e2428;
  --line:#2b3138;
  --text:#f2f3f4;
  --muted:#8e97a4;
  --mint:#42c772;
  --coral:#e96d73;
  color:var(--text);
  background:var(--bg);
  font-family:"Geist Variable",Geist,"Predicto Thai","Predicto Myanmar",Inter,"Segoe UI",sans-serif;
}
.admin header { background:var(--bg); border-bottom:1px solid var(--line); }
.admin .navwrap { display:flex; align-items:center; min-height:72px; margin-inline:auto; }
.admin .brand { display:flex; flex-shrink:0; align-items:center; }
.admin :is(a,button):focus-visible { outline:2px solid var(--mint); outline-offset:3px; }
.admin [hidden] { display: none !important; }
.admin .navwrap, .admin main { width:min(1040px,92%); }
.admin .navwrap { gap:20px; }
.admin-space { color:var(--muted); font-size:14px; border-left:1px solid var(--line); padding-left:20px; }
.admin-nav { margin-left:auto; display:flex; align-items:center; gap:18px; }
.admin-nav a, .admin-nav button { font-size:14px; color:#c6ccd4; }
.admin-nav a:hover, .admin-nav button:hover { color:var(--mint); }
.admin main { padding:38px 0; }
.admin .panel { padding:26px; background:var(--panel); border:1px solid var(--line); border-radius:16px; }
.admin .panel h2 { margin:0; font-size:20px; line-height:1.35; font-weight:600; }
.admin h1 { font-size:clamp(28px,4vw,38px); font-weight:600; letter-spacing:-.025em; margin:0; }
.admin .access { max-width:460px; margin:clamp(15px,6vh,80px) auto 0; padding:32px; }
.access-symbol { width:49px; height:49px; border:1px solid #265139; background:#143c2b; border-radius:12px; display:grid; place-items:center; color:var(--mint); margin-bottom:20px; }
.access-symbol svg { width:27px; height:27px; }
.access p, .admin p.hint, .admin .subline { line-height:1.55; font-size:15px; color:#c6ccd4; }
.access form { margin-top:23px; }
.access input + label, .integrations input + label { margin-top:14px; }
.admin form { display:grid; align-content:start; }
.admin label { font-size:14px; margin:0 0 8px; font-weight:600; }
.admin input, .admin select { font:inherit; min-width:0; width:100%; height:44px; border:1px solid #41484e; background:#14181b; color:var(--text); border-radius:7px; padding:0 12px; }
.admin select { appearance:none; padding-right:36px; background:#14181b url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23b7bac4' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center; }
.admin input:focus-visible, .admin select:focus-visible { outline:2px solid var(--mint); outline-offset:2px; }
.admin .primary, .admin .secondary { font-size:14px; font-weight:650; padding:11px 16px; line-height:20px; border-radius:7px; }
.admin .primary { background:#016338; color:#fff; }
.admin .secondary { background:#282f35; border:1px solid #3c454d; color:#f2f3f4; }
.admin .primary:hover:enabled { background:#087944; }
.admin .secondary:hover:enabled { border-color:#626b75; }
.admin :disabled { opacity:.5; cursor:default; }
.admin button[type=submit] { margin-top:18px; justify-self:start; }
.access button[type=submit] { width:100%; }
.admin-title, .admin-card-title { display:flex; justify-content:space-between; align-items:center; gap:10px; }
.admin-title { margin-bottom:24px; }
.admin-grid { display:grid; grid-template-columns:1.1fr 1fr; gap:18px; }
.admin .subline { margin:6px 0 24px; }
.pill { color:var(--mint); border:1px solid #285339; background:#143c2b; border-radius:99px; padding:4px 10px; font-size:12px; font-weight:650; }
.pill.locked { color:#c6ccd4; border-color:#41484e; background:#282f35; }
.admin .coordinates { font:13px/1.4 ui-monospace,monospace; color:#a9b4b6; margin:9px 0; }
.question { font-size:19px; line-height:1.4; font-weight:620; padding-top:12px; letter-spacing:-.35px; }
.admin p.hint { margin:10px 0 0; }
.admin .provider-note { margin:12px 0 0; line-height:1.5; color:#ebc968; }
.admin .past { margin-top:18px; }
.admin .integrations { margin-top:18px; }
.submissions { margin-bottom:18px; }
.integrations summary, .submissions > summary { cursor:pointer; }
.integrations summary h2, .submissions > summary h2 { display:inline; vertical-align:middle; }
.integrations summary:focus-visible, .submissions > summary:focus-visible { outline:2px solid var(--mint); outline-offset:3px; }
.submission { overflow-wrap:anywhere; }
.submission summary .pill { margin-left:auto; }
.submission .topic-description { white-space:pre-wrap; }
.submission a { color:var(--mint); text-decoration:underline; }
.submission .review-actions { display:flex; gap:8px; flex-wrap:wrap; margin:12px 0 0 21px; }
.integrations .admin-grid { margin-top:18px; }
.integrations fieldset { min-width:0; margin:0; padding:0; border:0; }
.integrations legend { padding:0; margin:0 0 12px; font-weight:650; }
.integrations label { display:block; }
.integrations .secret-status { display:block; margin-top:6px; font-size:13px; color:#c6ccd4; }
.results { margin-top:13px; }
.result { border-top:1px solid var(--line); padding:16px 0 0; margin:14px 0 0; }
.result summary { display:flex; align-items:center; flex-wrap:wrap; gap:10px; cursor:pointer; font-size:15px; }
.result summary::before { content:'›'; color:#8e97a4; font-size:20px; display:inline-block; transition:transform .15s; }
.result[open] summary::before { transform:rotate(90deg); }
.result summary::-webkit-details-marker { display:none; }
.result summary:focus-visible { outline:2px solid var(--mint); outline-offset:3px; }
.result time { color:#8e97a4; }
.outcome { margin-left:auto; color:var(--mint); font-weight:650; }
.outcome.no { color:var(--coral); }
.admin .result p { margin:8px 0 0 21px; font-size:14px; overflow-wrap:anywhere; color:#c6ccd4; }
.admin #feedback { font-size:15px; color:var(--mint); line-height:1.5; }
.admin #feedback:empty { margin:0; }
.admin #access:not([hidden]) ~ #feedback { max-width:460px; margin-inline:auto; }
.admin #feedback.error { color:#f0787e; }
@media(max-width:680px) {
  .admin .navwrap { gap:12px; }
  .admin-space { padding-left:12px; }
  .admin .admin-grid { grid-template-columns:1fr; }
  .admin .panel { padding:20px; }
  .admin main { padding-top:24px; }
  .admin-nav { gap:8px; }
  .admin .admin-nav button, .admin .admin-nav a { font-size:13px; }
}
.admin .brand img { display:block; height:auto; width:125px; max-width:29vw; }
.admin .admin-nav { min-width:0; flex-wrap:wrap; justify-content:flex-end; }
.admin #admin-lang { width:auto; height:36px; font-size:14px; }
.admin:lang(my) { line-height:1.65; }
.admin :is(input, select, button) { font-family:inherit; }
.admin:lang(my) :is(input, select, button), .admin:lang(th) :is(input, select, button) { line-height:1.5; }
.admin:lang(my) h1, .admin:lang(my) h2, .admin:lang(th) h1, .admin:lang(th) h2 { letter-spacing:normal; line-height:1.5; }
.admin:lang(my) .pill { max-width:10em; flex-shrink:0; }
@media(max-width:600px) {
  .admin .navwrap { height:auto; min-height:62px; padding:10px 0; }
  .admin .admin-space { display:none; }
  .admin .admin-nav { gap:7px; }
  .admin #admin-lang { height:32px; font-size:13px; padding-left:8px; padding-right:30px; }
  .admin .pill { white-space:normal; }
}
