/* ==========================================================================
   Admin — refined layer
   Loaded after admin.css / admin-ait.css. Quiet, high-end finish:
   warm neutrals, hairline borders, soft layered shadows, precise type.
   Colour comes from the appearance vars (--brand, --ink, --line, ...).
   ========================================================================== */

.admin{
  --r-xs:8px; --r-sm:10px; --r-md:14px; --r-lg:18px; --r-xl:24px;
  --sh-1:0 1px 2px rgba(16,18,22,.04), 0 1px 3px rgba(16,18,22,.03);
  --sh-2:0 2px 4px rgba(16,18,22,.04), 0 14px 34px -18px rgba(16,18,22,.18);
  --sh-3:0 28px 60px -28px rgba(16,18,22,.28);
  --ui:var(--text,#1F2328);
  --ui-muted:var(--muted,#6B7280);
  --ui-line:var(--line,#D0D5DD);
  --ui-surface:var(--surface,#FFFFFF);
  --ui-page:var(--page-bg,#F7F7F5);
  --ui-brand:var(--brand,#8B5CF6);
  --ui-brand-soft:color-mix(in srgb, var(--brand,#8B5CF6) 10%, #fff);
  --ui-ink:var(--ink,#000000);
  --ring:0 0 0 4px color-mix(in srgb, var(--brand,#8B5CF6) 20%, transparent);
  font-family:"Inter","Inter var",ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale;
  background:
    radial-gradient(900px 420px at 82% -12%, color-mix(in srgb, var(--brand,#8B5CF6) 6%, transparent), transparent 62%),
    var(--ui-page);
  color:var(--ui);
}

/* ---------- shell ---------- */
.admin .adm-side{
  background:#0A0B0D;
  border-right:1px solid rgba(255,255,255,.06);
  padding:22px 16px 18px;
}
.admin .adm-brand{padding:4px 8px 20px;gap:12px}
.admin .adm-brand > span{
  width:40px;height:40px;border-radius:12px;
  background:linear-gradient(150deg,var(--ui-brand),color-mix(in srgb,var(--ui-brand) 62%,#000));
  box-shadow:0 10px 24px -12px color-mix(in srgb,var(--ui-brand) 75%,transparent);
  font-size:15px;font-weight:800;letter-spacing:-.02em;
}
.admin .adm-brand b{font-size:14.5px;letter-spacing:-.01em;color:#fff;font-weight:700}
.admin .adm-brand small{font-size:10.5px;letter-spacing:.14em;text-transform:uppercase;color:rgba(255,255,255,.42);font-weight:600}

.admin .adm-side-search{
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.08);
  border-radius:11px;height:40px;margin:0 2px 18px;padding:0 12px;
  transition:border-color .18s ease,background .18s ease;
}
.admin .adm-side-search:focus-within{
  border-color:color-mix(in srgb,var(--ui-brand) 55%,transparent);
  background:rgba(255,255,255,.07);
}
.admin .adm-side-search input{color:#EDEFF2;font-size:13px}
.admin .adm-side-search input::placeholder{color:rgba(255,255,255,.36)}
.admin .adm-side-search .ic{color:rgba(255,255,255,.4)}

.admin .adm-nav{gap:2px}
.admin .adm-nav > a,
.admin .adm-nav-group-head{
  color:rgba(255,255,255,.74);
  border-radius:10px;
  padding:10px 12px;
  font-size:13.5px;font-weight:550;letter-spacing:-.005em;
  transition:background .16s ease,color .16s ease;
}
.admin .adm-nav > a:hover,
.admin .adm-nav-group-head:hover{background:rgba(255,255,255,.055);color:#fff}
.admin .adm-nav > a.on{
  background:linear-gradient(90deg,color-mix(in srgb,var(--ui-brand) 20%,transparent),rgba(255,255,255,.045));
  color:#fff;font-weight:650;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.05);
}
.admin .adm-nav > a.on::before{
  content:"";position:absolute;left:0;top:50%;transform:translateY(-50%);
  width:3px;height:18px;border-radius:3px;background:var(--ui-brand);
}
.admin .adm-nav > a{position:relative}
.admin .adm-nav > a .ic,.admin .adm-nav-group-head .ic{width:17px;height:17px;opacity:.85}
.admin .adm-nav-sub{background:transparent}
.admin .adm-nav-sub a{color:rgba(255,255,255,.5);border-radius:9px;font-size:13px}
.admin .adm-nav-sub a:hover{color:#fff;background:rgba(255,255,255,.05)}
.admin .adm-nav-sub a.on{color:#fff;background:rgba(255,255,255,.07)}

.admin .adm-side-foot{border-top:1px solid rgba(255,255,255,.07);padding-top:14px}
.admin .adm-side-foot a{color:rgba(255,255,255,.5);font-size:12.5px}
.admin .adm-side-foot a:hover{color:#fff}
.admin .adm-side-profile{
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.07);
  border-radius:14px;padding:10px;margin-top:12px;
}
.admin .adm-side-avatar{
  background:linear-gradient(150deg,var(--ui-brand),color-mix(in srgb,var(--ui-brand) 55%,#000));
  color:#fff;font-weight:800;
}
.admin .adm-side-profile b{color:#fff;font-size:12.5px}
.admin .adm-side-profile small{color:rgba(255,255,255,.42);font-size:11px}
.admin .adm-side-profile em{color:var(--ui-brand);font-size:10px;letter-spacing:.08em}

/* ---------- topbar ---------- */
.admin .adm-top{
  position:sticky;top:0;z-index:30;
  background:color-mix(in srgb,var(--ui-surface) 82%,transparent);
  backdrop-filter:saturate(180%) blur(14px);
  -webkit-backdrop-filter:saturate(180%) blur(14px);
  border-bottom:1px solid color-mix(in srgb,var(--ui-line) 70%,transparent);
  height:64px;padding:0 28px;
}
.admin .adm-crumb{font-size:12.5px;font-weight:550;color:var(--ui-muted);letter-spacing:.01em}
.admin .adm-crumb span{opacity:.45;margin:0 6px}
.admin .adm-top-actions a{
  font-size:12.5px;font-weight:600;color:var(--ui-ink);
  border:1px solid var(--ui-line);border-radius:9px;padding:7px 12px;
  transition:border-color .16s ease,background .16s ease;
}
.admin .adm-top-actions a:hover{border-color:var(--ui-brand);background:var(--ui-brand-soft)}
.admin .adm-avatar{background:var(--ui-ink);color:#fff;font-weight:700}

/* ---------- content ---------- */
.admin .adm-content{max-width:1240px;margin:0 auto;padding:34px 30px 96px}

.admin .adm-page-head{
  display:flex;align-items:flex-end;justify-content:space-between;gap:24px;
  margin:0 0 26px;padding:0;
}
.admin .adm-page-head .eyebrow{
  display:inline-flex;align-items:center;gap:8px;
  font-size:11px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;
  color:color-mix(in srgb,var(--ui-brand) 82%,#000);
  margin:0 0 10px;
}
.admin .adm-page-head .eyebrow::before{
  content:"";width:18px;height:1.5px;border-radius:2px;background:var(--ui-brand);
}
.admin .adm-page-head h1{
  margin:0 0 8px;font-size:clamp(26px,2.4vw,32px);font-weight:700;
  letter-spacing:-.032em;line-height:1.12;color:var(--ui-ink);
}
.admin .adm-page-head p{margin:0;font-size:14px;line-height:1.6;color:var(--ui-muted);max-width:62ch}
.admin .adm-page-head .adm-btn{flex:0 0 auto}

/* ---------- cards ---------- */
.admin .adm-grid-2{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;align-items:start}
.admin .adm-card{
  background:var(--ui-surface);
  border:1px solid color-mix(in srgb,var(--ui-line) 78%,#fff);
  border-radius:var(--r-xl);
  box-shadow:var(--sh-1);
  padding:26px 26px 24px;
  transition:box-shadow .2s ease,border-color .2s ease;
}
.admin .adm-card:hover{box-shadow:var(--sh-2);border-color:color-mix(in srgb,var(--ui-line) 90%,#fff)}
.admin .adm-card + .adm-card{margin-top:20px}
.admin .adm-grid-2 .adm-card + .adm-card{margin-top:0}
.admin .adm-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin:0 0 20px}
.admin .adm-card-head .eyebrow{
  display:block;font-size:10.5px;font-weight:700;letter-spacing:.15em;
  text-transform:uppercase;color:var(--ui-muted);margin:0 0 6px;
}
.admin .adm-card-head h2{
  margin:0;font-size:17px;font-weight:680;letter-spacing:-.018em;color:var(--ui-ink);
}

/* ---------- form ---------- */
.admin .adm-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 18px}
.admin .adm-form-grid.cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.admin .adm-form-grid.one{grid-template-columns:1fr}
.admin .field{display:flex;flex-direction:column;gap:7px;min-width:0}
.admin .field.wide{grid-column:1 / -1}
.admin .field > span{
  font-size:11px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;
  color:var(--ui-muted);
}
.admin .field input:not([type=color]):not([type=checkbox]),
.admin .field select,
.admin .field textarea{
  width:100%;height:44px;
  border:1px solid var(--ui-line);border-radius:11px;
  background:#fff;color:var(--ui);
  font:inherit;font-size:13.5px;font-weight:500;
  padding:0 13px;
  transition:border-color .16s ease,box-shadow .16s ease,background .16s ease;
}
.admin .field textarea{height:auto;padding:11px 13px;line-height:1.55;resize:vertical}
.admin .field input:focus,
.admin .field select:focus,
.admin .field textarea:focus{
  outline:0;border-color:color-mix(in srgb,var(--ui-brand) 70%,#000 0%);
  box-shadow:var(--ring);background:#fff;
}
.admin .field small,.admin .muted{font-size:11.5px;line-height:1.5;color:var(--ui-muted)}
.admin .form-note{font-size:12px;line-height:1.6;color:var(--ui-muted);margin:0}

/* colour field: chip + hex */
.admin .field input[type=color]{
  -webkit-appearance:none;appearance:none;
  width:100%;height:46px;
  border:1px solid var(--ui-line);border-radius:11px;
  background:#fff;padding:5px;cursor:pointer;
  transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease;
}
.admin .field input[type=color]:hover{border-color:var(--ui-brand);transform:translateY(-1px)}
.admin .field input[type=color]:focus-visible{outline:0;box-shadow:var(--ring);border-color:var(--ui-brand)}
.admin .field input[type=color]::-webkit-color-swatch-wrapper{padding:0}
.admin .field input[type=color]::-webkit-color-swatch{border:0;border-radius:7px}
.admin .field input[type=color]::-moz-color-swatch{border:0;border-radius:7px}

/* ---------- palette preview ---------- */
.admin .palette-preview{
  display:flex;align-items:center;gap:6px;flex-wrap:nowrap;
  padding:8px;border-radius:12px;
  background:color-mix(in srgb,var(--ui-line) 16%,#fff);
  border:1px solid color-mix(in srgb,var(--ui-line) 55%,#fff);
}
.admin .palette-preview span{
  width:26px;height:26px;border-radius:7px;
  box-shadow:inset 0 0 0 1px rgba(16,18,22,.08);
}
.admin .palette-preview small{display:none}

/* ---------- colour grid ---------- */
.admin .color-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.admin .color-item{
  display:flex;flex-direction:column;gap:8px;
  padding:10px;border:1px solid var(--ui-line);border-radius:13px;background:#fff;
  transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease;
}
.admin .color-item:hover{border-color:color-mix(in srgb,var(--ui-brand) 50%,var(--ui-line));box-shadow:var(--sh-1);transform:translateY(-1px)}
.admin .color-item input[type=color]{
  -webkit-appearance:none;appearance:none;
  width:100%;height:40px;border:0;border-radius:9px;background:transparent;
  padding:0;cursor:pointer;
}
.admin .color-item input[type=color]::-webkit-color-swatch-wrapper{padding:0}
.admin .color-item input[type=color]::-webkit-color-swatch{border:1px solid rgba(16,18,22,.1);border-radius:9px}
.admin .color-item input[type=color]::-moz-color-swatch{border:1px solid rgba(16,18,22,.1);border-radius:9px}
.admin .color-item:focus-within{border-color:var(--ui-brand);box-shadow:var(--ring)}
.admin .color-item .cl{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}
.admin .color-item .cl b{font-size:11px;font-weight:600;color:var(--ui);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.admin .color-item .cl code{font-size:10px;font-weight:600;color:var(--ui-muted);font-variant-numeric:tabular-nums;letter-spacing:.02em}

/* ---------- toggles ---------- */
.admin .toggle-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.admin .toggle-grid.one{grid-template-columns:1fr}
.admin .toggle-row{
  display:flex;align-items:center;justify-content:space-between;gap:14px;
  padding:13px 15px;border:1px solid var(--ui-line);border-radius:13px;
  background:#fff;cursor:pointer;
  transition:border-color .16s ease,background .16s ease;
}
.admin .toggle-row:hover{border-color:color-mix(in srgb,var(--ui-brand) 45%,var(--ui-line));background:var(--ui-brand-soft)}
.admin .toggle-row b{display:block;font-size:13px;font-weight:650;color:var(--ui-ink);letter-spacing:-.005em}
.admin .toggle-row small{display:block;font-size:11.5px;color:var(--ui-muted);margin-top:2px}
.admin .toggle-row input{position:absolute;opacity:0;pointer-events:none}
.admin .toggle-row i{
  position:relative;flex:0 0 auto;width:38px;height:22px;border-radius:999px;
  background:color-mix(in srgb,var(--ui-line) 80%,#fff);
  transition:background .2s ease;
}
.admin .toggle-row i::after{
  content:"";position:absolute;top:3px;left:3px;width:16px;height:16px;border-radius:50%;
  background:#fff;box-shadow:0 1px 3px rgba(16,18,22,.28);
  transition:transform .2s cubic-bezier(.2,.8,.2,1);
}
.admin .toggle-row input:checked + i{background:var(--ui-brand)}
.admin .toggle-row input:checked + i::after{transform:translateX(16px)}
.admin .toggle-row input:focus-visible + i{box-shadow:var(--ring)}

/* ---------- buttons ---------- */
.admin .adm-btn{
  display:inline-flex;align-items:center;gap:8px;
  height:42px;padding:0 18px;border-radius:11px;
  border:1px solid var(--ui-line);background:#fff;color:var(--ui);
  font-size:13px;font-weight:650;letter-spacing:-.005em;
  transition:border-color .16s ease,background .16s ease,transform .16s ease,box-shadow .16s ease;
}
.admin .adm-btn:hover{border-color:color-mix(in srgb,var(--ui-brand) 55%,var(--ui-line));background:var(--ui-brand-soft);transform:translateY(-1px)}
.admin .adm-btn.primary{
  background:linear-gradient(160deg,var(--ui-brand),color-mix(in srgb,var(--ui-brand) 78%,#000));
  border-color:transparent;color:#fff;
  box-shadow:0 12px 26px -14px color-mix(in srgb,var(--ui-brand) 80%,transparent);
}
.admin .adm-btn.primary:hover{filter:brightness(1.04);transform:translateY(-1px);box-shadow:0 16px 32px -14px color-mix(in srgb,var(--ui-brand) 85%,transparent)}

/* ---------- sticky save bar ---------- */
.admin .adm-form-foot{
  position:sticky;bottom:16px;z-index:20;
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  margin:22px 0 0;padding:14px 16px 14px 22px;
  background:color-mix(in srgb,var(--ui-surface) 86%,transparent);
  backdrop-filter:saturate(180%) blur(14px);
  -webkit-backdrop-filter:saturate(180%) blur(14px);
  border:1px solid color-mix(in srgb,var(--ui-line) 78%,#fff);
  border-radius:16px;box-shadow:var(--sh-2);
}
.admin .adm-form-foot .muted{font-size:12px}

/* ---------- flashes ---------- */
.admin .adm-flashes{padding:16px 30px 0}
.admin .flash{
  border-radius:12px;padding:12px 15px;font-size:13px;font-weight:550;
  border:1px solid var(--ui-line);background:#fff;box-shadow:var(--sh-1);
}
.admin .flash.ok{border-color:color-mix(in srgb,#16A34A 35%,#fff);background:color-mix(in srgb,#16A34A 7%,#fff)}
.admin .flash.err{border-color:color-mix(in srgb,#DC2626 35%,#fff);background:color-mix(in srgb,#DC2626 6%,#fff)}

/* ---------- focus + motion ---------- */
.admin a:focus-visible,
.admin button:focus-visible,
.admin input:focus-visible,
.admin select:focus-visible,
.admin textarea:focus-visible{outline:2px solid transparent;box-shadow:var(--ring)}

@media (prefers-reduced-motion:reduce){
  .admin *,.admin *::before,.admin *::after{transition-duration:.01ms !important;animation-duration:.01ms !important}
}

/* ---------- responsive ---------- */
@media (max-width:1080px){
  .admin .adm-grid-2{grid-template-columns:1fr}
  .admin .adm-grid-2 .adm-card + .adm-card{margin-top:20px}
  .admin .adm-form-grid.cols-3{grid-template-columns:repeat(2,minmax(0,1fr))}
  .admin .color-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .admin .adm-content{padding:26px 20px 90px}
  .admin .adm-page-head{flex-direction:column;align-items:flex-start;gap:14px}
}
@media (max-width:720px){
  .admin .adm-form-grid,.admin .adm-form-grid.cols-3{grid-template-columns:1fr}
  .admin .toggle-grid{grid-template-columns:1fr}
  .admin .color-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .admin .adm-card{padding:20px;border-radius:18px}
  .admin .adm-page-head h1{font-size:24px}
  .admin .adm-form-foot{bottom:10px;padding:12px}
  .admin .adm-form-foot .muted{display:none}
  .admin .adm-card-head{flex-wrap:wrap}
}

/* ==========================================================================
   DARK ADMIN — matches the reference: near-black surfaces, quiet borders,
   light type, orange as the only accent. Applies to every admin page.
   ========================================================================== */
.admin{
  --ui:#E9EFFB;
  --ui-muted:#93A2B8;
  --ui-line:rgba(255,255,255,.09);
  --ui-surface:#101A2E;
  --ui-page:#0A1020;
  --sh-1:0 1px 2px rgba(0,0,0,.45);
  --sh-2:0 16px 40px -22px rgba(0,0,0,.85);
  --ui-brand-soft:rgba(139,92,246,.14);
}
body.admin{background:#0A1020 !important;color:#E9EFFB !important}

/* topbar */
.admin .adm-top{
  background:rgba(20,20,22,.86) !important;
  border-bottom:1px solid rgba(255,255,255,.07) !important;
}
.admin .adm-crumb{color:#93A2B8 !important}
.admin .adm-top-actions a{
  color:#E3EAF6 !important;border-color:rgba(255,255,255,.12) !important;background:rgba(255,255,255,.03) !important;
}
.admin .adm-top-actions a:hover{background:rgba(139,92,246,.14) !important;border-color:rgba(139,92,246,.45) !important}
.admin .adm-avatar{background:#E9EFFB !important;color:#0A1020 !important}

/* page head */
.admin .adm-page-head h1{color:#F7FAFF !important}
.admin .adm-page-head p{color:#93A2B8 !important}

/* cards */
.admin .adm-card{
  background:#101A2E !important;
  border:1px solid rgba(255,255,255,.085) !important;
  box-shadow:0 1px 2px rgba(0,0,0,.4) !important;
}
.admin .adm-card:hover{border-color:rgba(255,255,255,.14) !important;box-shadow:0 16px 40px -24px rgba(0,0,0,.9) !important}
.admin .adm-card-head h2{color:#F4F7FD !important}
.admin .adm-card-head .eyebrow{color:#8695AC !important}

/* fields */
.admin .field > span{color:#93A2B8 !important}
.admin .field input:not([type=color]):not([type=checkbox]),
.admin .field select,
.admin .field textarea{
  background:#16223A !important;
  color:#E9EFFB !important;
  border-color:rgba(255,255,255,.1) !important;
}
.admin .field input::placeholder,.admin .field textarea::placeholder{color:#7C8AA3 !important}
.admin .field input:focus,.admin .field select:focus,.admin .field textarea:focus{
  background:#26262B !important;border-color:rgba(139,92,246,.65) !important;
}
.admin .field small,.admin .muted,.admin .form-note{color:#8695AC !important}

/* colour cards */
.admin .color-item{
  background:#142036 !important;
  border-color:rgba(255,255,255,.08) !important;
}
.admin .color-item:hover{border-color:rgba(139,92,246,.45) !important}
.admin .color-item .cl b{color:#E3EAF6 !important}
.admin .color-item .cl code{color:#8695AC !important}
.admin .palette-preview{background:rgba(255,255,255,.04) !important;border-color:rgba(255,255,255,.08) !important}

/* toggles */
.admin .toggle-row{
  background:#142036 !important;border-color:rgba(255,255,255,.08) !important;
}
.admin .toggle-row:hover{background:rgba(139,92,246,.10) !important;border-color:rgba(139,92,246,.4) !important}
.admin .toggle-row b{color:#E3EAF6 !important}
.admin .toggle-row small{color:#8695AC !important}
.admin .toggle-row i{background:#2A3A57 !important}
.admin .toggle-row input:checked + i{background:#8B5CF6 !important}

/* buttons */
.admin .adm-btn{
  background:#16223A !important;color:#E3EAF6 !important;border-color:rgba(255,255,255,.11) !important;
}
.admin .adm-btn:hover{background:rgba(139,92,246,.14) !important;border-color:rgba(139,92,246,.45) !important}
.admin .adm-btn.primary{
  background:linear-gradient(160deg,#8B5CF6,#7C3AED) !important;
  color:#fff !important;border-color:transparent !important;
}

/* sticky save bar */
.admin .adm-form-foot{
  background:rgba(22,22,25,.9) !important;
  border-color:rgba(255,255,255,.09) !important;
  box-shadow:0 16px 40px -22px rgba(0,0,0,.9) !important;
}

/* tables, lists, generic admin surfaces */
.admin table th{background:#142036 !important;color:#E4EBF7 !important;border-color:rgba(255,255,255,.07) !important}
.admin table td{border-color:rgba(255,255,255,.07) !important;color:#CBD5E1 !important}
.admin table tr:hover td{background:#142036 !important}
.admin .adm-empty,.admin .pe-card,.admin .content-form{
  background:#101A2E !important;border-color:rgba(255,255,255,.085) !important;color:#C3CEDF !important;
}
.admin .badge,.admin .pill{
  background:rgba(255,255,255,.07) !important;color:#E2E9F5 !important;border-color:rgba(255,255,255,.1) !important;
}
.admin .flash.ok{background:rgba(22,163,74,.12) !important;border-color:rgba(22,163,74,.35) !important;color:#C9F3D8 !important}
.admin .flash.err{background:rgba(220,38,38,.12) !important;border-color:rgba(220,38,38,.35) !important;color:#F7CDCD !important}
.admin a{color:#22D3EE}
.admin a:hover{color:#67E8F9}
.admin h1,.admin h2,.admin h3,.admin h4{color:#F4F7FD}
.admin p,.admin li{color:#C3CEDF}

/* ==========================================================================
   SIDEBAR / DRAWER — force dark treatment on every viewport.
   The base sheet ships light group cards for the mobile drawer; on the
   deep-blue shell those turned into white boxes with invisible labels.
   ========================================================================== */
.admin .adm-side{background:#081020 !important;border-right:1px solid rgba(255,255,255,.07) !important}
.admin .adm-side .adm-nav-group{margin-top:4px;border:0 !important}
.admin .adm-side .adm-nav-group-head{
  min-height:44px;background:transparent !important;
  border:1px solid rgba(255,255,255,.09) !important;
  border-radius:11px !important;color:rgba(255,255,255,.72) !important;
  box-shadow:none !important;letter-spacing:.10em !important;
}
.admin .adm-side .adm-nav-group-head:hover{
  background:rgba(139,92,246,.14) !important;
  border-color:rgba(139,92,246,.42) !important;color:#fff !important;
}
.admin .adm-side .adm-nav-group.is-open .adm-nav-group-head,
.admin .adm-side .adm-nav-group-head.is-on{
  background:rgba(139,92,246,.16) !important;
  border-color:rgba(139,92,246,.45) !important;color:#fff !important;
}
.admin .adm-side .adm-nav-group-head .ic{color:#22D3EE !important}
.admin .adm-side .adm-nav-chevron{background:rgba(255,255,255,.06) !important;color:#22D3EE !important}
.admin .adm-side .adm-nav-sub{border-left:1px solid rgba(255,255,255,.10) !important;margin-left:12px !important}
.admin .adm-side .adm-nav-sub a{color:rgba(255,255,255,.62) !important}
.admin .adm-side .adm-nav-sub a .ic{color:rgba(255,255,255,.42) !important}
.admin .adm-side .adm-nav-sub a:hover{background:rgba(255,255,255,.06) !important;color:#fff !important}
.admin .adm-side .adm-nav-sub a.on{background:rgba(139,92,246,.22) !important;color:#fff !important}
.admin .adm-side .adm-nav-sub a.on .ic{color:#22D3EE !important}
.admin .adm-side .adm-side-search{background:rgba(255,255,255,.05) !important;border-color:rgba(255,255,255,.09) !important}
.admin .adm-side .adm-side-search input{color:#E9EFFB !important}
.admin .adm-side .adm-side-search .ic{color:rgba(255,255,255,.45) !important}
.admin .adm-side-close{background:rgba(255,255,255,.08) !important;color:#fff !important;border-color:rgba(255,255,255,.12) !important}
.admin .adm-scrim{background:rgba(4,8,18,.72) !important}

/* mobile top bar + drawer sizing */
@media (max-width:900px){
  .admin .adm-side{background:#081020 !important}
  .admin .adm-side .adm-nav-group-head{background:transparent !important;color:rgba(255,255,255,.78) !important}
  .admin .adm-side .adm-nav-sub a{color:rgba(255,255,255,.66) !important}
  .admin .adm-top{background:rgba(9,16,32,.94) !important;border-bottom:1px solid rgba(255,255,255,.08) !important}
  .admin .adm-top .adm-menu{color:#E9EFFB !important}
}

/* brand lockup on the dark drawer */
.admin .adm-side .adm-brand b{color:#FFFFFF !important;opacity:1 !important}
.admin .adm-side .adm-brand small{color:rgba(255,255,255,.55) !important}
.admin .adm-side .adm-brand > span{background:linear-gradient(150deg,#8B5CF6,#6D28D9) !important;color:#fff !important}
.admin .adm-side-profile em{color:#22D3EE !important}

/* ==========================================================================
   APP MODE — mobile admin shell: bottom tab bar, compact header, sheet cards.
   ========================================================================== */
.admin .adm-appbar{display:none}
@media (max-width:900px){
  .admin .adm-appbar{
    display:grid;grid-template-columns:repeat(5,1fr);
    position:fixed;left:0;right:0;bottom:0;z-index:70;
    background:rgba(8,16,32,.96);
    backdrop-filter:saturate(180%) blur(18px);
    -webkit-backdrop-filter:saturate(180%) blur(18px);
    border-top:1px solid rgba(255,255,255,.08);
    padding:6px 6px calc(6px + env(safe-area-inset-bottom));
  }
  .admin .adm-appbar a{
    display:flex;flex-direction:column;align-items:center;gap:4px;
    padding:7px 3px;border-radius:12px;text-decoration:none;
    color:rgba(255,255,255,.55);font-size:10px;font-weight:600;letter-spacing:.01em;
  }
  .admin .adm-appbar a .ic{width:21px;height:21px}
  .admin .adm-appbar a.on{color:#fff;background:linear-gradient(180deg,rgba(139,92,246,.30),rgba(139,92,246,.10))}
  .admin .adm-appbar a.on .ic{color:#22D3EE}
  .admin .adm-content{padding:20px 14px calc(100px + env(safe-area-inset-bottom)) !important}
  .admin .adm-top{height:56px !important;padding:0 14px !important}
  .admin .adm-top .adm-crumb{font-size:13px;font-weight:650;color:#E9EFFB}
  .admin .adm-page-head{margin:0 0 16px}
  .admin .adm-page-head h1{font-size:24px}
  .admin .adm-page-head p{font-size:13px}
  .admin .adm-card{border-radius:16px !important;padding:16px !important;overflow-x:auto}
  .admin .adm-card-head{margin-bottom:14px}
  .admin .adm-btn{height:44px}
  .admin .field input:not([type=color]),.admin .field select{height:46px}
  .admin .adm-form-foot{bottom:calc(78px + env(safe-area-inset-bottom));padding:12px 14px}
  .admin table{min-width:620px}
}

/* ==========================================================================
   CONTENT LIST — catalogue toolbar, segmented tabs, refined table.
   ========================================================================== */
.admin .adm-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px 18px;flex-wrap:wrap;margin:0 0 18px}
.admin .adm-tabs{
  display:inline-flex;align-items:center;gap:4px;padding:4px;
  background:#0E1A2E !important;border:1px solid rgba(255,255,255,.08) !important;border-radius:12px;
}
.admin .adm-tabs a{
  padding:8px 13px;border-radius:9px;text-decoration:none;
  font-size:12.5px;font-weight:600;color:#93A2B8 !important;letter-spacing:-.005em;
  transition:background .16s ease,color .16s ease;
}
.admin .adm-tabs a:hover{background:rgba(255,255,255,.05);color:#fff !important}
.admin .adm-tabs a.on{
  background:linear-gradient(160deg,#8B5CF6,#7C3AED) !important;color:#fff !important;
  box-shadow:0 10px 22px -12px rgba(139,92,246,.9);
}
.admin .adm-toolbar-right{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.admin .adm-search{
  display:flex;align-items:center;gap:8px;height:42px;padding:0 13px;min-width:240px;
  background:#0E1A2E !important;border:1px solid rgba(255,255,255,.09) !important;border-radius:11px;
  transition:border-color .16s ease,box-shadow .16s ease;
}
.admin .adm-search:focus-within{border-color:rgba(139,92,246,.6) !important;box-shadow:0 0 0 4px rgba(139,92,246,.16)}
.admin .adm-search input{
  border:0;background:transparent;outline:0;width:100%;
  color:#E9EFFB !important;font:inherit;font-size:13px;font-weight:500;
}
.admin .adm-search input::placeholder{color:#7C8AA3}
.admin .adm-search .ic{width:16px;height:16px;color:#7C8AA3;flex:0 0 auto}
.admin .adm-count{font-size:12px;font-weight:600;color:#93A2B8;font-variant-numeric:tabular-nums;white-space:nowrap}

.admin .adm-card-flush{padding:0 !important;overflow:hidden}
.admin .adm-table-wrap{overflow-x:auto;scrollbar-width:thin}
.admin .adm-table{width:100%;min-width:720px;border-collapse:separate;border-spacing:0}
.admin .adm-table thead th{
  position:sticky;top:0;z-index:1;
  background:#0D1830 !important;color:#8FA0B8 !important;
  font-size:10.5px !important;font-weight:700 !important;letter-spacing:.13em;text-transform:uppercase;
  text-align:left;padding:14px 18px !important;border-bottom:1px solid rgba(255,255,255,.08) !important;
}
.admin .adm-table thead th.right{text-align:right}
.admin .adm-table tbody td{
  padding:15px 18px !important;border-bottom:1px solid rgba(255,255,255,.06) !important;
  font-size:13px !important;color:#C3CEDF !important;vertical-align:middle;background:transparent;
}
.admin .adm-table tbody tr{transition:background .15s ease}
.admin .adm-table tbody tr:hover td{background:rgba(139,92,246,.07) !important}
.admin .adm-table tbody tr:last-child td{border-bottom:0 !important}
.admin .adm-table td.is-primary b{color:#F7FAFF !important;font-weight:650 !important;font-size:13.5px !important;letter-spacing:-.01em}
.admin .adm-table td b{color:#E9EFFB !important;font-weight:600}
.admin .adm-price{font-variant-numeric:tabular-nums;font-weight:650;color:#E9EFFB}
.admin .adm-dim{color:#93A2B8}

.admin .status-pill{
  display:inline-flex;align-items:center;gap:6px;
  padding:5px 10px;border-radius:999px;border:1px solid transparent;
  font-size:11px;font-weight:700;letter-spacing:.02em;line-height:1;
}
.admin .status-pill::before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}
.admin .status-pill.live{background:rgba(6,182,212,.12) !important;color:#22D3EE !important;border-color:rgba(6,182,212,.32) !important}
.admin .status-pill.draft{background:rgba(255,255,255,.06) !important;color:#93A2B8 !important;border-color:rgba(255,255,255,.13) !important}

.admin .adm-row-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px}
.admin .adm-icon-btn{
  display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;
  border-radius:9px;border:1px solid transparent;background:transparent;
  color:#93A2B8 !important;cursor:pointer;transition:background .15s ease,color .15s ease,border-color .15s ease;
}
.admin .adm-icon-btn:hover{background:rgba(139,92,246,.18) !important;color:#C4B5FD !important;border-color:rgba(139,92,246,.38) !important}
.admin .adm-icon-btn.danger:hover{background:rgba(239,68,68,.14) !important;color:#FCA5A5 !important;border-color:rgba(239,68,68,.32) !important}
.admin .adm-empty{padding:58px 24px !important;text-align:center;display:flex;flex-direction:column;align-items:center;gap:8px}
.admin .adm-empty b{font-size:15px;color:#F5F8FF;font-weight:650}
.admin .adm-empty span{font-size:13px;color:#93A2B8;max-width:44ch}
.admin .adm-empty .adm-btn{margin-top:8px}

@media (max-width:900px){
  .admin .adm-toolbar{gap:12px}
  .admin .adm-tabs{width:100%;overflow-x:auto;scrollbar-width:none}
  .admin .adm-tabs::-webkit-scrollbar{display:none}
  .admin .adm-tools-right,.admin .adm-toolbar-right{width:100%}
  .admin .adm-search{flex:1 1 auto;min-width:0}
}

/* ==========================================================================
   CATALOG OPTIONS — category manager panel under the product list.
   ========================================================================== */
.admin .cat-options{margin-top:20px;scroll-margin-top:90px}
.admin .cat-count{
  font-size:11px;font-weight:700;letter-spacing:.03em;color:#22D3EE !important;
  background:rgba(6,182,212,.10) !important;border:1px solid rgba(6,182,212,.30) !important;
  padding:6px 11px;border-radius:999px;white-space:nowrap;
}
.admin .cat-grid{display:grid;grid-template-columns:340px minmax(0,1fr);gap:22px;align-items:start}
.admin .cat-form{
  display:flex;flex-direction:column;gap:13px;padding:18px;align-self:start;position:sticky;top:86px;
  background:#0D1A2F !important;border:1px solid rgba(255,255,255,.08) !important;border-radius:15px;
}
.admin .cat-form .adm-btn{width:100%;justify-content:center;margin-top:2px}
.admin .cat-list{display:flex;flex-direction:column;gap:7px;min-width:0}
.admin .cat-group{border:1px solid rgba(255,255,255,.07);border-radius:12px;overflow:hidden;background:#0E1A2E}
.admin .cat-row{display:flex;align-items:center;gap:10px;padding:11px 14px;background:#0E1A2E}
.admin .cat-row + .cat-row{border-top:1px solid rgba(255,255,255,.05)}
.admin .cat-row.child{background:#0B1628;padding-left:32px}
.admin .cat-row b{flex:1;min-width:0;font-size:13px;font-weight:600;color:#E9EFFB;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.admin .cat-row small{
  font-size:11px;font-weight:650;color:#93A2B8;
  background:rgba(255,255,255,.06);padding:3px 9px;border-radius:999px;font-variant-numeric:tabular-nums;
}
.admin .cat-row form{margin:0;display:flex}
.admin .cat-del{
  width:30px;height:30px;border-radius:8px;border:1px solid transparent;background:transparent;
  color:#7C8AA3;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;
  opacity:.55;transition:opacity .15s ease,background .15s ease,color .15s ease,border-color .15s ease;
}
.admin .cat-row:hover .cat-del{opacity:1}
.admin .cat-del:hover{background:rgba(239,68,68,.14);color:#FCA5A5;border-color:rgba(239,68,68,.32)}
.admin .cat-dot{width:8px;height:8px;border-radius:3px;flex:0 0 auto;background:linear-gradient(135deg,#8B5CF6,#06B6D4)}
.admin .cat-branch{
  width:12px;height:12px;flex:0 0 auto;margin-left:-15px;
  border-left:1px solid rgba(255,255,255,.16);border-bottom:1px solid rgba(255,255,255,.16);
  border-radius:0 0 0 6px;
}
@media (max-width:1000px){
  .admin .cat-grid{grid-template-columns:1fr}
}

/* ==========================================================================
   DASHBOARD — cards, developers, commission rules, 3D token.
   ========================================================================== */
.admin .dash-card,
.admin .dash-kpi{
  background:#101A2E !important;border:1px solid rgba(255,255,255,.08) !important;
  border-radius:18px !important;box-shadow:0 1px 2px rgba(0,0,0,.35) !important;
}
.admin .dash-card:hover{border-color:rgba(255,255,255,.13) !important}
.admin .dash-card-head h2,.admin .dash-kpi b{color:#F4F7FD !important}
.admin .dash-card-head p,.admin .dash-card-kicker,.admin .dash-kpi-label,.admin .dash-kpi small{color:#93A2B8 !important}
.admin .dash-card-head a{color:#C4B5FD !important}
.admin .dash-hero{
  background:linear-gradient(135deg,#101A2E 0%,#131F38 55%,#0C1526 100%) !important;
  border:1px solid rgba(255,255,255,.08) !important;border-radius:20px !important;
}
.admin .dash-hero-value{color:#F6F8FF !important}
.admin .dash-label,.admin .dash-hero-side span{color:#93A2B8 !important}
.admin .dash-hero-side b{color:#EAF0FB !important}

.admin .dash-duo{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:18px}
.admin .dash-devs{display:flex;flex-direction:column;gap:7px}
.admin .dash-dev{
  display:flex;align-items:center;gap:12px;padding:12px 14px;text-decoration:none;
  border:1px solid rgba(255,255,255,.07);border-radius:12px;background:#0D1830;
  transition:border-color .16s ease,background .16s ease,transform .16s ease;
}
.admin .dash-dev:hover{border-color:rgba(139,92,246,.45);background:rgba(139,92,246,.08);transform:translateY(-1px)}
.admin .dash-dev-av{
  width:38px;height:38px;border-radius:12px;flex:0 0 auto;display:grid;place-items:center;
  background:linear-gradient(150deg,#8B5CF6,#6D28D9);color:#fff;font-size:14px;font-weight:700;
}
.admin .dash-dev-copy{flex:1;min-width:0}
.admin .dash-dev-copy b{display:block;font-size:13px;font-weight:600;color:#F2F6FF}
.admin .dash-dev-copy small{display:block;font-size:11px;color:#93A2B8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.admin .dash-dev-meta{text-align:right;flex:0 0 auto}
.admin .dash-dev-meta b{display:block;font-size:12.5px;font-weight:700;color:#22D3EE;font-variant-numeric:tabular-nums}
.admin .dash-dev-meta small{font-size:10.5px;color:#93A2B8}

.admin .dash-rules{display:flex;flex-direction:column;gap:8px}
.admin .dash-rule{
  display:grid;grid-template-columns:auto 1fr;gap:6px 10px;align-items:center;
  padding:11px 13px;border:1px solid rgba(255,255,255,.07);border-radius:12px;background:#0D1830;
}
.admin .dash-rule-scope{
  justify-self:start;font-size:9.5px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;
  color:#22D3EE;background:rgba(6,182,212,.10);border:1px solid rgba(6,182,212,.26);
  padding:3px 7px;border-radius:999px;
}
.admin .dash-rule b{font-size:12.5px;font-weight:600;color:#E9EFFB;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.admin .dash-rule-split{grid-column:1/-1;height:5px;border-radius:99px;background:rgba(255,255,255,.07);overflow:hidden}
.admin .dash-rule-split i{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#8B5CF6,#06B6D4)}
.admin .dash-rule small{grid-column:1/-1;font-size:10.5px;color:#93A2B8;font-variant-numeric:tabular-nums}

.admin .dash-3d{width:96px;height:96px;flex:0 0 auto}
.admin .dash-3d canvas{width:100% !important;height:100% !important;display:block}

@media (max-width:1000px){.admin .dash-duo{grid-template-columns:1fr}}

/* ==========================================================================
   DEVELOPERS — review cards, KPIs, checklist.
   ========================================================================== */
.admin .dev-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:0 0 18px}
.admin .dev-kpi{background:#101A2E;border:1px solid rgba(255,255,255,.08);border-radius:14px;padding:14px 16px}
.admin .dev-kpi span{font-size:10px;letter-spacing:.11em;text-transform:uppercase;color:#93A2B8;font-weight:700}
.admin .dev-kpi b{display:block;margin:6px 0 2px;font-size:24px;font-weight:700;color:#F4F7FD;font-variant-numeric:tabular-nums}
.admin .dev-kpi small{font-size:11px;color:#7C8AA3}
.admin .dev-kpi.is-warn b{color:#C4B5FD}
.admin .dev-kpi.is-ok b{color:#22D3EE}
.admin .dev-kpi.is-bad b{color:#FCA5A5}
.admin .adm-tabs .tab-n{font-size:10px;color:inherit;opacity:.6;margin-left:4px}
.admin .dev-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:18px;align-items:start}
.admin .dev-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.admin .dev-card{
  background:#101A2E;border:1px solid rgba(255,255,255,.08);border-radius:16px;padding:16px;
  display:flex;flex-direction:column;gap:10px;
  transition:border-color .16s ease,transform .16s ease,box-shadow .16s ease;
}
.admin .dev-card:hover{border-color:rgba(139,92,246,.38);transform:translateY(-1px);box-shadow:0 18px 40px -30px rgba(0,0,0,.9)}
.admin .dev-top{display:flex;align-items:flex-start;gap:10px}
.admin .dev-av{width:40px;height:40px;border-radius:12px;background:linear-gradient(150deg,#8B5CF6,#6D28D9);color:#fff;display:grid;place-items:center;font-weight:700;font-size:14px;flex:0 0 auto}
.admin .dev-id{flex:1;min-width:0}
.admin .dev-id b{display:block;font-size:13.5px;color:#F4F7FD;font-weight:650}
.admin .dev-id a{display:block;font-size:11.5px;color:#93A2B8;text-decoration:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.admin .status-pill.pend{background:rgba(139,92,246,.14) !important;color:#C4B5FD !important;border-color:rgba(139,92,246,.36) !important}
.admin .dev-meta{display:flex;flex-wrap:wrap;gap:6px}
.admin .dev-meta span{font-size:10.5px;color:#93A2B8;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.07);border-radius:6px;padding:3px 7px}
.admin .dev-meta a{color:#22D3EE;text-decoration:none}
.admin .dev-meta .is-accent{color:#C4B5FD;border-color:rgba(139,92,246,.3)}
.admin .dev-bio{margin:0;font-size:12px;line-height:1.6;color:#A9B7CB;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.admin .dev-bio strong{color:#E9EFFB;font-weight:600;margin-right:4px}
.admin .dev-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-top:auto;padding-top:4px}
.admin .dev-actions form{margin:0}
.admin .dev-btn{
  display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 10px;border-radius:8px;
  border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.04);color:#CBD5E1;
  font:inherit;font-size:11.5px;font-weight:600;text-decoration:none;cursor:pointer;
  transition:background .15s ease,border-color .15s ease,color .15s ease;
}
.admin .dev-btn .ic{width:14px;height:14px}
.admin .dev-btn:hover{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.16);color:#fff}
.admin .dev-btn.primary{background:linear-gradient(160deg,#8B5CF6,#7C3AED);border-color:transparent;color:#fff}
.admin .dev-btn.ghost{background:transparent;color:#93A2B8}
.admin .dev-more{position:relative;margin-left:auto}
.admin .dev-more summary{
  list-style:none;cursor:pointer;height:32px;display:inline-flex;align-items:center;padding:0 10px;
  border-radius:8px;border:1px solid rgba(255,255,255,.1);font-size:11.5px;font-weight:600;color:#93A2B8;
}
.admin .dev-more summary::-webkit-details-marker{display:none}
.admin .dev-more[open] summary{background:rgba(255,255,255,.07);color:#fff}
.admin .dev-more > div{
  position:absolute;right:0;top:38px;z-index:30;min-width:186px;
  background:#0C1728;border:1px solid rgba(255,255,255,.12);border-radius:11px;padding:6px;
  box-shadow:0 24px 48px -22px rgba(0,0,0,.95);display:flex;flex-direction:column;gap:2px;
}
.admin .dev-more > div a,.admin .dev-more > div button{
  display:block;width:100%;text-align:left;padding:8px 10px;border-radius:7px;border:0;background:transparent;
  color:#CBD5E1;font:inherit;font-size:11.5px;text-decoration:none;cursor:pointer;
}
.admin .dev-more > div a:hover,.admin .dev-more > div button:hover{background:rgba(255,255,255,.06);color:#fff}
.admin .dev-more > div .danger{color:#FCA5A5}
.admin .dev-side{display:flex;flex-direction:column;gap:12px}
.admin .dev-panel{background:#101A2E;border:1px solid rgba(255,255,255,.08);border-radius:16px;padding:16px}
.admin .dev-panel h3{margin:6px 0 10px;font-size:14px;color:#F4F7FD;font-weight:650}
.admin .dev-check{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.admin .dev-check li{position:relative;padding-left:18px;font-size:12px;line-height:1.5;color:#A9B7CB}
.admin .dev-check li::before{content:"";position:absolute;left:0;top:4px;width:9px;height:9px;border-radius:50%;border:1px solid rgba(139,92,246,.6);background:rgba(139,92,246,.15)}
.admin .dev-steps{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.admin .dev-steps li{display:flex;gap:9px;align-items:flex-start}
.admin .dev-steps b{width:22px;height:22px;border-radius:7px;background:rgba(6,182,212,.12);border:1px solid rgba(6,182,212,.25);color:#22D3EE;font-size:10px;display:grid;place-items:center;flex:0 0 auto}
.admin .dev-steps span{font-size:12px;line-height:1.5;color:#A9B7CB}
.admin .dev-empty{grid-column:1/-1;display:flex;flex-direction:column;align-items:center;gap:8px;padding:48px 24px;text-align:center}
.admin .dev-empty-ic{width:44px;height:44px;border-radius:14px;background:rgba(139,92,246,.14);color:#C4B5FD;display:grid;place-items:center;margin-bottom:4px}
.admin .dev-empty b{font-size:15px;color:#F4F7FD}
.admin .dev-empty span{font-size:12.5px;color:#93A2B8;max-width:44ch}
.admin .dev-empty-act{display:flex;gap:8px;flex-wrap:wrap;justify-content:center;margin-top:6px}
@media (max-width:1100px){
  .admin .dev-layout{grid-template-columns:1fr}
  .admin .dev-side{flex-direction:row;flex-wrap:wrap}
  .admin .dev-panel{flex:1 1 260px}
}
@media (max-width:800px){
  .admin .dev-kpis{grid-template-columns:1fr 1fr}
  .admin .dev-list{grid-template-columns:1fr}
  .admin .dev-side{flex-direction:column}
}

/* ==========================================================================
   SETUP / MODULE PAGES — currency, features, languages, cache, addons.
   ========================================================================== */
.admin .syx-hero{
  background:linear-gradient(135deg,#101A2E 0%,#131F38 60%,#0C1526 100%) !important;
  border:1px solid rgba(255,255,255,.08) !important;border-radius:20px !important;
  color:#E9EFFB !important;
}
.admin .syx-hero h1{color:#F6F8FF !important;letter-spacing:-.03em}
.admin .syx-hero p{color:#93A2B8 !important}
.admin .syx-kicker{color:#22D3EE !important;letter-spacing:.14em}
.admin .syx-chip{background:rgba(255,255,255,.06) !important;border:1px solid rgba(255,255,255,.12) !important;color:#C3CEDF !important}
.admin .syx-chip.is-on{background:rgba(6,182,212,.12) !important;border-color:rgba(6,182,212,.3) !important;color:#22D3EE !important}
.admin .syx-chip i{background:currentColor}
.admin .syx-orbit{background:rgba(139,92,246,.14) !important;border-color:rgba(139,92,246,.35) !important;color:#C4B5FD !important}

.admin .syx-tabs{
  display:inline-flex;flex-wrap:wrap;gap:4px;padding:4px;
  background:#0E1A2E !important;border:1px solid rgba(255,255,255,.08) !important;border-radius:12px !important;
}
.admin .syx-tabs a{
  padding:8px 13px;border-radius:9px;text-decoration:none;
  font-size:12.5px;font-weight:600;color:#93A2B8 !important;
  transition:background .16s ease,color .16s ease;
}
.admin .syx-tabs a:hover{background:rgba(255,255,255,.05);color:#fff !important}
.admin .syx-tabs a.on{background:linear-gradient(160deg,#8B5CF6,#7C3AED) !important;color:#fff !important;box-shadow:0 10px 22px -12px rgba(139,92,246,.9)}

.admin .syx-card{
  background:#101A2E !important;border:1px solid rgba(255,255,255,.08) !important;
  border-radius:16px !important;color:#C3CEDF !important;
}
.admin .syx-card-head h2,.admin .syx-card-head h3{color:#F4F7FD !important}
.admin .syx-card-head p{color:#93A2B8 !important}
.admin .syx-card-head .syx-kicker{color:#8FA0B8 !important}

.admin .syx-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.admin .syx-field{display:flex;flex-direction:column;gap:7px}
.admin .syx-field > span{font-size:11px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:#93A2B8 !important}
.admin .syx-field input,.admin .syx-field select,.admin .syx-field textarea{
  background:#16223A !important;border:1px solid rgba(255,255,255,.1) !important;
  color:#E9EFFB !important;border-radius:11px !important;height:44px;padding:0 13px;
  font:inherit;font-size:13.5px;
}
.admin .syx-field textarea{height:auto;padding:11px 13px}
.admin .syx-field input:focus,.admin .syx-field select:focus,.admin .syx-field textarea:focus{
  outline:0;border-color:rgba(139,92,246,.65) !important;box-shadow:0 0 0 4px rgba(139,92,246,.16);
}
.admin .syx-switch{accent-color:#8B5CF6}
.admin .syx-toggle-row{background:#0E1A2E !important;border-color:rgba(255,255,255,.08) !important;color:#C3CEDF}
.admin .syx-toggle-row b{color:#E9EFFB}
.admin .syx-form-foot{
  position:sticky;bottom:16px;z-index:20;
  background:rgba(14,22,38,.94) !important;border:1px solid rgba(255,255,255,.1) !important;
  border-radius:14px !important;padding:12px 14px !important;backdrop-filter:blur(14px);
}
.admin .syx-btn{
  display:inline-flex;align-items:center;gap:8px;height:40px;padding:0 16px;
  border-radius:10px;border:1px solid rgba(255,255,255,.12) !important;
  background:rgba(255,255,255,.05) !important;color:#EDEDF0 !important;
  font:inherit;font-size:12.5px;font-weight:650;text-decoration:none;cursor:pointer;
}
.admin .syx-btn:hover{background:rgba(255,255,255,.09) !important;border-color:rgba(255,255,255,.2) !important}
.admin .syx-btn.primary{background:linear-gradient(160deg,#8B5CF6,#7C3AED) !important;border-color:transparent !important;color:#fff !important}
.admin .syx-table th{background:#0D1830 !important;color:#8FA0B8 !important}
.admin .syx-table td{border-color:rgba(255,255,255,.07) !important;color:#C3CEDF !important}
.admin .syx-empty{background:#0E1A2E !important;border-color:rgba(255,255,255,.1) !important;color:#93A2B8}

@media (max-width:800px){
  .admin .syx-fields{grid-template-columns:1fr}
  .admin .syx-tabs{width:100%;overflow-x:auto}
}

/* card head must never keep the light band */
.admin .syx-card-head,
.admin .syx-card > .syx-card-head,
.admin .syx-card-head + *{background:transparent !important}
.admin .syx-card-head{border-bottom:1px solid rgba(255,255,255,.07) !important;padding-bottom:12px !important}
.admin .syx-card-head h2,.admin .syx-card-head h3{color:#F4F7FD !important}
.admin .syx-card-head p,.admin .syx-card-head .syx-kicker{color:#93A2B8 !important}
.admin .syx-form-foot{background:rgba(13,24,48,.96) !important;border:0 !important;border-top:1px solid rgba(255,255,255,.08) !important;border-radius:0 0 16px 16px !important;position:static !important;margin:16px -16px -16px !important;padding:14px 16px !important}

/* ==========================================================================
   PUBLIC — developer portal + customer account (storefront surfaces).
   Light premium layer on the Deep Blue / Purple / Cyan palette.
   ========================================================================== */
body.view-account .adm-card,
body.view-developer-portal .adm-card{
  background:#fff;border:1px solid #E2E8F0;border-radius:18px;
  box-shadow:0 1px 2px rgba(15,23,42,.04),0 18px 40px -32px rgba(15,23,42,.35);
}
body.view-account .adm-card-head h2,
body.view-account .adm-card-head h3{color:#0F172A;letter-spacing:-.02em}
body.view-account .adm-card-head .eyebrow,
body.view-developer-portal .eyebrow{color:#7C3AED;letter-spacing:.14em}
body.view-account .adm-page-head h1{color:#0F172A;letter-spacing:-.035em}
body.view-account .adm-page-head p{color:#64748B}
body.view-account .adm-btn.primary,
body.view-developer-portal .adm-btn.primary{
  background:linear-gradient(160deg,#8B5CF6,#7C3AED);border-color:transparent;color:#fff;
  box-shadow:0 14px 28px -16px rgba(139,92,246,.8);
}
body.view-account .adm-btn{background:#fff;border-color:#E2E8F0;color:#0F172A}
body.view-account .adm-btn:hover{border-color:#8B5CF6;color:#7C3AED;background:#F5F3FF}
body.view-account .adm-list-row{border-color:#EEF2F7;border-radius:12px}
body.view-account .adm-list-row:hover{background:#F8FAFF}
body.view-account .pr-stat{background:#fff;border:1px solid #E2E8F0;border-radius:14px}
body.view-account .pr-stat b{color:#0F172A}
body.view-account .pr-stat small{color:#64748B}
body.view-account .pr-stat-ic{background:#F1ECFF;color:#7C3AED;border-radius:11px}
body.view-account .field input,body.view-account .field select,body.view-account .field textarea{
  border-color:#E2E8F0;border-radius:11px;color:#0F172A;
}
body.view-account .field input:focus,body.view-account .field select:focus{
  border-color:#8B5CF6;box-shadow:0 0 0 4px rgba(139,92,246,.14);
}

/* developer portal */
body.view-developer-portal .dp-top,
body.view-developer-portal .dp-side .adm-card{
  border-radius:18px;border:1px solid #E2E8F0;background:#fff;
}
body.view-developer-portal .dp-kicker{color:#7C3AED}
body.view-developer-portal h1{color:#0F172A;letter-spacing:-.035em}
body.view-developer-portal .dp-lead{color:#475569}
body.view-developer-portal .dp-step{background:#F8FAFF;border:1px solid #E2E8F0;border-radius:14px}
body.view-developer-portal .dp-step b{color:#7C3AED}
body.view-developer-portal .dp-trust span{color:#475569}
body.view-developer-portal .field input,
body.view-developer-portal .field select,
body.view-developer-portal .field textarea{border-color:#E2E8F0;border-radius:11px;background:#fff}
body.view-developer-portal .field input:focus,
body.view-developer-portal .field select:focus{
  border-color:#8B5CF6;box-shadow:0 0 0 4px rgba(139,92,246,.14);outline:0;
}
body.view-developer-portal .adm-btn.primary{
  background:linear-gradient(160deg,#8B5CF6,#7C3AED);color:#fff;border-color:transparent;
}

/* ==========================================================================
   PRODUCT CARDS — Stackposts-style shelf cards (light storefront).
   ========================================================================== */
body.view-products .product-card{
  background:#fff !important;border:1px solid #E2E8F0 !important;border-radius:16px !important;
  overflow:hidden;display:flex;flex-direction:column;
  box-shadow:0 1px 2px rgba(15,23,42,.04) !important;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
body.view-products .product-card:hover{
  transform:translateY(-4px);border-color:#C7B9F5 !important;
  box-shadow:0 22px 44px -26px rgba(15,23,42,.35) !important;
}
body.view-products .product-art{
  aspect-ratio:16/10;border-radius:0 !important;position:relative;overflow:hidden;
  background:linear-gradient(150deg,#F3EFFF,#E9EFFB 60%,#E6F7FB) !important;
}
body.view-products .product-art-img{width:100%;height:100%;object-fit:cover;display:block}
body.view-products .product-label{
  position:absolute;left:12px;top:12px;z-index:2;
  background:#0F172A;color:#fff;border-radius:999px;padding:5px 10px;
  font-size:10px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;
}
body.view-products .product-label .ic{width:12px;height:12px}
body.view-products .product-discount{
  position:absolute;right:12px;top:12px;z-index:2;
  background:#06B6D4;color:#04222A;border-radius:999px;padding:5px 9px;
  font-size:10.5px;font-weight:800;
}
body.view-products .product-body{padding:16px 16px 14px !important;display:flex;flex-direction:column;gap:8px;flex:1}
body.view-products .product-headline{display:flex;align-items:center;justify-content:space-between;gap:8px}
body.view-products .product-cat{
  font-size:10px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:#7C3AED !important;
}
body.view-products .product-social{font-size:10.5px;color:#94A3B8 !important}
body.view-products .product-body h3{margin:0 !important;font-size:16px !important;font-weight:700 !important;letter-spacing:-.02em;color:#0F172A !important;line-height:1.3}
body.view-products .product-body h3 a{color:inherit !important;text-decoration:none}
body.view-products .product-summary{
  margin:0 !important;font-size:13px !important;line-height:1.55 !important;color:#64748B !important;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
body.view-products .product-price-row{
  margin-top:auto !important;padding-top:10px !important;border-top:1px solid #EEF2F7 !important;
  display:flex !important;align-items:center !important;justify-content:space-between !important;gap:10px;
}
body.view-products .product-buy,
body.view-products .product-card .btn,
body.view-products .product-card .add-to-cart{
  background:linear-gradient(160deg,#8B5CF6,#7C3AED) !important;color:#fff !important;
  border:0 !important;border-radius:10px !important;height:38px !important;padding:0 14px !important;
  display:inline-flex !important;align-items:center !important;gap:7px !important;
  font-size:12.5px !important;font-weight:650 !important;text-decoration:none !important;
}
body.view-products .product-card .btn:hover,
body.view-products .product-buy:hover{filter:brightness(1.06)}

/* LIGHT GREEN ADMIN — natural white + green */
body.admin{background:#F5FBF7 !important;color:#123D2E !important}
.admin .adm-side{background:#FFFFFF !important;border-right:1px solid #DCEBE2 !important}
.admin .adm-side .adm-brand b{color:#123D2E !important}
.admin .adm-side .adm-brand small{color:#6B8A7C !important}
.admin .adm-side .adm-brand > span{background:linear-gradient(150deg,#0F8A5C,#0B6B47) !important}
.admin .adm-side-search{background:#F1FBF6 !important;border-color:#DCEBE2 !important}
.admin .adm-side-search input{color:#123D2E !important}
.admin .adm-nav > a,.admin .adm-nav-group-head{color:#3F5A4E !important}
.admin .adm-nav > a:hover,.admin .adm-nav-group-head:hover{background:#EAF7F0 !important;color:#0B6B47 !important}
.admin .adm-nav > a.on{background:#EAF7F0 !important;color:#0B6B47 !important}
.admin .adm-nav > a.on::before{background:#0F8A5C !important}
.admin .adm-nav-sub a{color:#5F7A6D !important}
.admin .adm-nav-sub a.on,.admin .adm-nav-sub a:hover{background:#F1FBF6 !important;color:#0B6B47 !important}
.admin .adm-side-foot a,.admin .adm-side-foot{color:#6B8A7C !important}
.admin .adm-side-foot{border-top-color:#DCEBE2 !important}
.admin .adm-side-profile{background:#F1FBF6 !important;border-color:#DCEBE2 !important}
.admin .adm-side-profile b{color:#123D2E !important}
.admin .adm-side-profile small{color:#6B8A7C !important}
.admin .adm-side-profile em{color:#0F8A5C !important}
.admin .adm-top{background:rgba(255,255,255,.92) !important;border-bottom:1px solid #DCEBE2 !important}
.admin .adm-crumb{color:#6B8A7C !important}
.admin .adm-top-actions a{color:#123D2E !important;border-color:#DCEBE2 !important;background:#fff !important}
.admin .adm-avatar{background:#123D2E !important;color:#fff !important}
.admin .adm-content{background:transparent !important}
.admin h1,.admin h2,.admin h3,.admin h4,.admin .adm-page-head h1{color:#123D2E !important}
.admin p,.admin li,.admin .adm-page-head p{color:#5F7A6D !important}
.admin .adm-card,.admin .dash-card,.admin .dash-kpi,.admin .dev-card,.admin .dev-panel,.admin .dev-kpi,.admin .syx-card,.admin .cat-form,.admin .cat-group,.admin .cat-row{background:#FFFFFF !important;border:1px solid #DCEBE2 !important;box-shadow:0 1px 2px rgba(18,61,46,.04) !important;color:#123D2E !important}
.admin .adm-card-head h2,.admin .dash-kpi b,.admin .dev-kpi b,.admin .dev-id b,.admin .dev-card b{color:#123D2E !important}
.admin .field > span,.admin .adm-card-head .eyebrow{color:#6B8A7C !important}
.admin .field input:not([type=color]),.admin .field select,.admin .field textarea,.admin .adm-search,.admin .adm-search input{background:#fff !important;color:#123D2E !important;border-color:#DCEBE2 !important}
.admin .field input:focus,.admin .field select:focus{border-color:#0F8A5C !important;box-shadow:0 0 0 4px rgba(15,138,92,.14) !important}
.admin .adm-btn{background:#fff !important;color:#123D2E !important;border-color:#DCEBE2 !important}
.admin .adm-btn:hover{background:#EAF7F0 !important;border-color:#0F8A5C !important;color:#0B6B47 !important}
.admin .adm-btn.primary,.admin .dev-btn.primary,.admin .syx-btn.primary{background:linear-gradient(160deg,#0F8A5C,#0B6B47) !important;color:#fff !important;border-color:transparent !important}
.admin .adm-tabs{background:#F1FBF6 !important;border-color:#DCEBE2 !important}
.admin .adm-tabs a{color:#5F7A6D !important}
.admin .adm-tabs a.on{background:linear-gradient(160deg,#0F8A5C,#0B6B47) !important;color:#fff !important}
.admin .adm-table thead th,.admin table th{background:#F1FBF6 !important;color:#5F7A6D !important;border-color:#DCEBE2 !important}
.admin .adm-table tbody td,.admin table td{color:#3F5A4E !important;border-color:#EAF2ED !important}
.admin .adm-table tbody tr:hover td,.admin table tr:hover td{background:#F7FCF9 !important}
.admin .status-pill.live{background:#E8F8EE !important;color:#0B6B47 !important;border-color:#C9E8D8 !important}
.admin .status-pill.draft,.admin .status-pill.pend{background:#F1FBF6 !important;color:#6B8A7C !important;border-color:#DCEBE2 !important}
.admin .adm-appbar{background:rgba(255,255,255,.97) !important;border-top:1px solid #DCEBE2 !important}
.admin .adm-appbar a{color:#6B8A7C !important}
.admin .adm-appbar a.on{background:#EAF7F0 !important;color:#0B6B47 !important}
.admin .adm-appbar a.on .ic{color:#0F8A5C !important}
.admin .adm-form-foot{background:rgba(255,255,255,.95) !important;border-color:#DCEBE2 !important}
.admin .dash-hero{background:linear-gradient(135deg,#EAF7F0,#F7FCF9) !important;border-color:#DCEBE2 !important}
.admin .dash-hero-value{color:#123D2E !important}
.admin .dash-3d canvas{filter:none}
.admin .dev-more > div{background:#fff !important;border-color:#DCEBE2 !important}
.admin .dev-more > div a,.admin .dev-more > div button{color:#3F5A4E !important}
.admin .cat-row.child{background:#F7FCF9 !important}
.admin .cat-dot{background:linear-gradient(135deg,#0F8A5C,#16A06A) !important}

/* mobile drawer labels — force readable dark green on white */
.admin .adm-side .adm-nav-group-head,
.admin .adm-side .adm-nav-group-head span,
.admin .adm-side .adm-nav-group-head > span:nth-child(2),
.admin .adm-side .adm-nav-group.is-open .adm-nav-group-head{color:#123D2E !important}
.admin .adm-side .adm-nav-group-head .ic{color:#0F8A5C !important}
.admin .adm-side .adm-nav-chevron{color:#0F8A5C !important;background:#F1FBF6 !important}
.admin .adm-side .adm-nav-sub a,
.admin .adm-side .adm-nav-sub a span{color:#3F5A4E !important}
.admin .adm-side .adm-nav-sub a .ic{color:#16A06A !important}
.admin .adm-side-search{background:#F1FBF6 !important;border-color:#DCEBE2 !important;display:flex !important;visibility:visible !important}
.admin .adm-side-search input{color:#123D2E !important;background:transparent !important;visibility:visible !important}
.admin .adm-side-search input::placeholder{color:#6B8A7C !important;opacity:1 !important}
.admin .adm-side-search .ic{color:#0F8A5C !important}
.admin .adm-side-brand small,.admin .adm-brand small{color:#6B8A7C !important}
.admin .adm-side .adm-nav > a{color:#3F5A4E !important}

/* commission rules — light green details */
.admin .badge{background:#F1FBF6 !important;color:#0B6B47 !important;border:1px solid #DCEBE2 !important}
.admin .toggle-row{background:#fff !important;border:1px solid #DCEBE2 !important}
.admin .toggle-row b{color:#123D2E !important}
.admin .toggle-row small{color:#6B8A7C !important}
.admin .toggle-row i{background:#DCEBE2 !important}
.admin .toggle-row input:checked + i{background:#0F8A5C !important}
.admin .muted{color:#6B8A7C !important}
.admin .status-pill{color:#0B6B47 !important}

/* dashboard light-green fixes: rules, dev rows, headings */
.admin .dash-rule{background:#F7FCF9 !important;border:1px solid #DCEBE2 !important}
.admin .dash-rule b{color:#123D2E !important}
.admin .dash-rule small{color:#6B8A7C !important}
.admin .dash-rule-scope{background:#EAF7F0 !important;color:#0B6B47 !important;border:1px solid #C9E8D8 !important}
.admin .dash-rule-split{background:#E3F1E9 !important}
.admin .dash-rule-split i{background:linear-gradient(90deg,#0F8A5C,#16A06A) !important}
.admin .dash-card-head h2{color:#123D2E !important}
.admin .dash-card-head p,.admin .dash-card-kicker{color:#6B8A7C !important}
.admin .dash-card-head a{color:#0B6B47 !important}
.admin .dash-dev{background:#F7FCF9 !important;border-color:#DCEBE2 !important}
.admin .dash-dev b{color:#123D2E !important}
.admin .dash-dev small{color:#6B8A7C !important}
.admin .dash-dev-meta b{color:#0F8A5C !important}
.admin .dash-3d{background:transparent}

/* visible row actions on light tables */
.admin .adm-btn.sm{background:#fff !important;color:#0B6B47 !important;border:1px solid #C9E8D8 !important;height:32px !important;padding:0 11px !important;font-size:12px !important;border-radius:8px !important}
.admin .adm-btn.sm:hover{background:#EAF7F0 !important;border-color:#0F8A5C !important}
.admin .adm-row-actions .adm-icon-btn{color:#0B6B47 !important}
.admin .adm-row-actions .adm-icon-btn:hover{background:#EAF7F0 !important;color:#0F8A5C !important}
.admin .adm-icon-btn.danger:hover{background:#FDECEC !important;color:#B42318 !important;border-color:#F3C6C6 !important}

/* product demo credentials — finished */
body.view-product .pd-demo a{
  display:inline-flex;align-items:center;gap:8px;height:40px;padding:0 16px;border-radius:10px;
  background:linear-gradient(160deg,#0F8A5C,#0B6B47);color:#fff !important;
  font-weight:650;font-size:13px;text-decoration:none;
  box-shadow:0 12px 24px -14px rgba(15,138,92,.85);
}
body.view-product .pd-demo a:hover{filter:brightness(1.05)}
body.view-product .pd-demo code{
  display:inline-block;max-width:100%;overflow:auto;
  font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  font-size:13px;font-weight:600;color:#0B6B47;
  background:#fff;border:1px solid #DCEBE2;border-radius:9px;padding:7px 11px;
  box-shadow:0 1px 2px rgba(18,61,46,.04);
}

body.view-product .pd-copy{display:inline-flex;align-items:center;height:32px;padding:0 10px;margin-left:6px;border-radius:8px;border:1px solid #C9E8D8;background:#fff;color:#0B6B47;font:inherit;font-size:11.5px;font-weight:650;cursor:pointer;vertical-align:middle}body.view-product .pd-copy:hover{background:#EAF7F0}

body.view-products .pgx-pill .ic{width:14px;height:14px;margin-right:5px;vertical-align:-2px}

body.view-products .product-art .product-label{display:none !important}
body.view-products .product-card{cursor:pointer}

.product-card .product-art .product-label{display:none !important}
.product-card{cursor:pointer}

/* product editor */
.admin .pe-card{background:#fff !important;border:1px solid #DCEBE2 !important;border-radius:16px !important;box-shadow:0 1px 2px rgba(18,61,46,.04) !important}
.admin .pe-card-head{background:transparent !important;border-bottom:1px solid #EAF2ED !important;padding-bottom:12px !important}
.admin .pe-card-head h2,.admin .pe-card-head h3{color:#123D2E !important;letter-spacing:-.02em}
.admin .pe-kicker{color:#0F8A5C !important}
.admin .pe-field > span{color:#6B8A7C !important;font-size:11px;font-weight:700;letter-spacing:.07em;text-transform:uppercase}
.admin .pe-field input,.admin .pe-field select,.admin .pe-field textarea{background:#fff !important;border:1px solid #DCEBE2 !important;color:#123D2E !important;border-radius:11px !important;height:44px}
.admin .pe-field textarea{height:auto;padding:11px 13px}
.admin .pe-field input:focus,.admin .pe-field select:focus,.admin .pe-field textarea:focus{border-color:#0F8A5C !important;box-shadow:0 0 0 4px rgba(15,138,92,.14) !important;outline:0}
.admin .pe-cat-opt{background:#F7FCF9 !important;border:1px solid #DCEBE2 !important;border-radius:12px !important}
.admin .pe-cat-check input{accent-color:#0F8A5C}

/* product card frame */
.product-card .product-art{aspect-ratio:5/4 !important}
.product-card .product-art-img{width:100% !important;height:100% !important;object-fit:cover !important;display:block}
.product-card video.product-art-img{object-fit:cover !important;background:#0b1628}

/* video: show the whole frame, no crop blur */
.product-card video.product-art-img{object-fit:contain !important;background:#0b1628 !important}
body.view-product .pd-cover-img video,.pd-art video.pd-cover-img{object-fit:contain !important;background:#0b1628 !important}
.pd-art video.pd-cover-img{width:100% !important;height:100% !important}

/* all product videos: full frame, never cropped */
video{object-fit:contain !important;background:#0b1628}
.product-art video,.ait-pcover video,.hs-pcard video{width:100% !important;height:100% !important;object-fit:contain !important}

/* frame follows the media instead of a fixed crop */
.product-card .product-art:has(video){aspect-ratio:auto !important;background:#0b1628 !important}
.product-card .product-art video{position:static !important;width:100% !important;height:auto !important;max-height:420px;display:block;object-fit:contain !important}

/* full-resolution video: frame follows the source */
.product-card .product-art:has(video){aspect-ratio:auto !important;height:auto !important}
.product-card .product-art video{width:100% !important;height:auto !important;max-height:none !important;object-fit:contain !important;display:block}
.pd-art video.pd-cover-img{width:100% !important;height:auto !important;max-height:none !important;object-fit:contain !important;display:block;background:#0b1628}

/* mobile: keep save bar above the app bar */
@media (max-width:900px){.admin .adm-form-foot{bottom:calc(84px + env(safe-area-inset-bottom)) !important;z-index:80 !important;display:flex !important;position:sticky !important}.admin .adm-content{padding-bottom:calc(190px + env(safe-area-inset-bottom)) !important}}

.hs-gal-img{transition:opacity .18s ease;object-fit:cover;width:100%;height:100%}

/* home product card: bigger image, tighter copy */
.hs-pcard .hs-pcover{aspect-ratio:1/1 !important;margin-top:-10px !important}
.hs-pcard .hs-pcover img,.hs-pcard .hs-pcover video{width:100% !important;height:100% !important;object-fit:cover !important}
.hs-pcard .hs-pbody{padding:12px 14px 14px !important}
.hs-pcard .hs-pbody h3{font-size:15px !important;margin:4px 0 2px !important;line-height:1.25 !important}
.hs-pcard .hs-pbody p{font-size:11.5px !important;line-height:1.45 !important;margin:0 !important;display:-webkit-box !important;-webkit-line-clamp:1 !important;-webkit-box-orient:vertical !important;overflow:hidden !important}
.hs-pcard .hs-pcat{font-size:9.5px !important}
.hs-pcard .hs-price{font-size:16px !important}

/* product page desktop: larger media, tighter info */
@media (min-width:1000px){body.view-product .pd-grid{grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr) !important;gap:38px !important;align-items:start !important}body.view-product .pd-art{min-height:520px !important}body.view-product .pd-info h1{font-size:clamp(34px,3.4vw,46px) !important;letter-spacing:-.035em !important}body.view-product .pd-lede{font-size:16px !important;line-height:1.6 !important}}
