/* RageWare Admin | black surfaces and #0000cf outlines.
   Loaded LAST. Visual changes only; no changes to authentication, orders or APIs. */
html:has(body.admin-shell),
body.admin-shell {
  background: #000000 !important;
  color: #f1f1f1 !important;
  color-scheme: dark !important;
}
body.admin-shell {
  --blue: #0000cf;
  --gold: #0000cf;
  --gold-light: #0000cf;
  --rw-admin-accent: #0000cf;
  --rw-admin-bg: #000000;
  --rw-admin-sidebar: #000000;
  --rw-admin-surface: #000000;
  --rw-admin-surface-raised: #121212;
  --rw-admin-border: #0000cf;
  --rw-admin-line: #191919;
  --rw-admin-muted: #aeb3ae;
}
/* Keep the underlying page, header and sidebar black—not green tinted. */
body.admin-shell .admin-layout,
body.admin-shell .admin-workspace,
body.admin-shell #admin-main,
body.admin-shell .admin-main,
body.admin-shell .admin-view {
  background: #000000 !important;
  color: #f1f1f1 !important;
}
body.admin-shell .admin-sidebar,
body.admin-shell .admin-top {
  background: #000000 !important;
  border-color: #161616 !important;
  color: #f0f0f0 !important;
}
body.admin-shell .admin-top {border-bottom: 1px solid #191919 !important;}
body.admin-shell .admin-sidebar {border-right: 1px solid rgba(0,0,207,.4) !important;scrollbar-color:rgba(0,0,207,.45) transparent !important;}
body.admin-shell .admin-sidebar::-webkit-scrollbar-thumb {background:#0000cf !important;}
body.admin-shell .admin-logo,body.admin-shell .admin-sidebar-end {border-color:#191919 !important;}
body.admin-shell .admin-logo strong,
body.admin-shell .admin-top .admin-chip {
  background:#000000 !important;
  color:#dddddd !important;
  border:1px solid rgba(0,0,207,.4) !important;
}
body.admin-shell .rw-menu-section,
body.admin-shell .admin-nav-label,
body.admin-shell .admin-heading p,
body.admin-shell .admin-footnote,
body.admin-shell .rw-catalog-intro p,
body.admin-shell .rw-groups-toolbar p {color:#a8ada8 !important;}
body.admin-shell .admin-sidebar .admin-nav button,
body.admin-shell .admin-sidebar .admin-nav a {
  background:transparent !important;
  color:#c8cec8 !important;
  border-color:transparent !important;
}
body.admin-shell .admin-sidebar .admin-nav button > span:first-child,
body.admin-shell .rw-nav-count {color:#9fa69f !important;}
body.admin-shell .admin-sidebar .admin-nav button.active,
body.admin-shell .admin-sidebar .admin-nav a.active,
body.admin-shell .admin-nav button.active {
  background:#121212 !important;
  color:#ffffff !important;
  border:1px solid rgba(0,0,207,.4) !important;
  box-shadow:inset 2px 0 0 #0000cf !important;
}
body.admin-shell .admin-sidebar .admin-nav button:hover,
body.admin-shell .admin-sidebar .admin-nav a:hover {
  background:#121212 !important;
  border-color:rgba(0,0,207,.4) !important;
  color:#ffffff !important;
}
body.admin-shell .admin-heading h1,
body.admin-shell .rw-top-brand,
body.admin-shell .admin-panel h2,
body.admin-shell .admin-panel h3,
body.admin-shell .rw-catalog-intro h2,
body.admin-shell .rw-groups-toolbar h2,
body.admin-shell .rw-group-section h3 {color:#f7f7f7 !important;}
body.admin-shell .admin-heading .section-kicker,
body.admin-shell .section-kicker {color:#5c5cff !important;}
/* Every primary card/panel is charcoal with green OUTLINE only. */
body.admin-shell .admin-metric,
body.admin-shell .rw-sales-tile,
body.admin-shell .admin-panel,
body.admin-shell .admin-table-wrap,
body.admin-shell .admin-info-grid > .admin-panel,
body.admin-shell .rw-catalog-intro,
body.admin-shell .rw-group-section,
body.admin-shell .admin-filters,
body.admin-shell .rw-video-block,
body.admin-shell .rw-product-editor-page > .dialog-head,
body.admin-shell .rw-product-editor-page > .admin-form,
body.admin-shell .rw-product-editor-page .dialog-footer,
body.admin-shell .rw-editor-tabs,
body.admin-shell .rw-editor-info,
body.admin-shell .rw-variant-editor,
body.admin-shell .rw-variant-stock-panel,
body.admin-shell .rw-group-table,
body.admin-shell .rw-invoice-results,
body.admin-shell .rw-invoice-dialog,
body.admin-shell .rw-invoice-stats > div,
body.admin-shell .rw-product-card,
body.admin-shell .rw-group-card,
body.admin-shell .rw-category-row,
body.admin-shell .rw-config-row,
body.admin-shell .rw-team-form,
body.admin-shell .rw-team-member,
body.admin-shell .rw-ticket-dashboard-stats > div,
body.admin-shell .rw-ticket-list-item,
body.admin-shell .rw-ticket-row,
body.admin-shell .rw-ticket-message,
body.admin-shell .rw-admin-ticket-message,
body.admin-shell .rw-ticket-panel,
body.admin-shell .rw-group-product-picks,
body.admin-shell .rw-group-image-preview,
body.admin-shell .rw-invoice-detail-grid > div,
body.admin-shell .rw-api-secret-box,
body.admin-shell .rw-shop-id-line code,
body.admin-shell .rw-crypto-destination code {
  background:#000000 !important;
  border:1px solid rgba(0,0,207,.4) !important;
  color:#ededed !important;
  box-shadow:none !important;
}
body.admin-shell .rw-product-card:hover,
body.admin-shell .rw-group-card:hover,
body.admin-shell .rw-ticket-row:hover,
body.admin-shell .rw-ticket-list-item:hover,
body.admin-shell .rw-group-row:hover {
  background:#141414 !important;
  border-color:rgba(0,0,207,.4) !important;
}
body.admin-shell .admin-metric span,
body.admin-shell .admin-metric small,
body.admin-shell .rw-sales-tile > span,
body.admin-shell .rw-sales-tile small,
body.admin-shell .admin-panel p,
body.admin-shell .rw-ticket-muted,
body.admin-shell .rw-ticket-row-info small,
body.admin-shell .rw-card-body p,
body.admin-shell .rw-card-stats small,
body.admin-shell .rw-editor-info,
body.admin-shell .rw-stock-notice {
  color:#b3b8b3 !important;
}
body.admin-shell .admin-metric strong,
body.admin-shell .rw-sales-tile strong,
body.admin-shell .rw-invoice-stats strong,
body.admin-shell .rw-ticket-dashboard-stats strong,
body.admin-shell .rw-card-body h3,
body.admin-shell .rw-group-card strong {color:#ffffff !important;}
/* Tables retain dark rows even in hover/selected states. */
body.admin-shell .admin-table th,
body.admin-shell .rw-invoice-table th,
body.admin-shell .rw-group-table-head {
  background:#141414 !important;
  border-color:rgba(0,0,207,.4) !important;
  color:#d3d8d3 !important;
}
body.admin-shell .admin-table td,
body.admin-shell .rw-invoice-table td,
body.admin-shell .rw-recent-order,
body.admin-shell .rw-group-row,
body.admin-shell .rw-group-row-actions button {
  background:#000000 !important;
  color:#ededed !important;
  border-color:rgba(0,0,207,.4) !important;
}
body.admin-shell .admin-table tr:hover td,
body.admin-shell .rw-group-row:hover {background:#161616 !important;}
/* Inputs and controls: black fill, exact green border and visible focus. */
body.admin-shell input:not([type=checkbox]):not([type=radio]),
body.admin-shell select,
body.admin-shell textarea,
body.admin-shell input:autofill,
body.admin-shell .rw-config-row input,
body.admin-shell .rw-config-row textarea,
body.admin-shell .rw-api-label input,
body.admin-shell .rw-api-label select,
body.admin-shell .rw-team-form input,
body.admin-shell .rw-team-form select,
body.admin-shell .rw-team-member select,
body.admin-shell .rw-team-member input {
  background:#000000 !important;
  color:#f4f4f4 !important;
  border:1px solid rgba(0,0,207,.4) !important;
  box-shadow:none !important;
}
body.admin-shell input::placeholder,body.admin-shell textarea::placeholder {color:#828982 !important;}
body.admin-shell input:focus,body.admin-shell select:focus,body.admin-shell textarea:focus {
  outline:2px solid rgba(0,0,207,.20) !important;
  outline-offset:1px;
  border-color:rgba(0,0,207,.4) !important;
}
body.admin-shell input[type=checkbox],body.admin-shell input[type=radio] {accent-color:#0000cf !important;}
/* Buttons: no green backgrounds, including primary actions and ticket replies. */
body.admin-shell .button,
body.admin-shell button.button,
body.admin-shell .button.button-solid,
body.admin-shell .button.button-outline,
body.admin-shell button.button-solid,
body.admin-shell .admin-actions .button-solid,
body.admin-shell .rw-card-actions button,
body.admin-shell .rw-group-row-actions button,
body.admin-shell .rw-config-row button,
body.admin-shell .rw-ticket-form button,
body.admin-shell #rw-ticket-admin-reply button,
body.admin-shell #rw-ticket-admin-update {
  background:#0f0f0f !important;
  border:1px solid rgba(0,0,207,.4) !important;
  color:#f5f5f5 !important;
  box-shadow:none !important;
}
body.admin-shell .button:hover,
body.admin-shell button.button:hover,
body.admin-shell .rw-card-actions button:hover,
body.admin-shell .rw-group-row-actions button:hover,
body.admin-shell .rw-ticket-form button:hover,
body.admin-shell #rw-ticket-admin-reply button:hover,
body.admin-shell #rw-ticket-admin-update:hover {
  background:#1d1d1d !important;
  border-color:rgba(0,0,207,.4) !important;
  color:#ffffff !important;
}
body.admin-shell .button:focus-visible,
body.admin-shell button:focus-visible,
body.admin-shell a:focus-visible {outline:2px solid rgba(0,0,207,.28) !important;outline-offset:2px;}
body.admin-shell .rw-editor-tabs button {background:transparent !important;color:#c1c6c1 !important;}
body.admin-shell .rw-editor-tabs button.active,
body.admin-shell .rw-editor-tabs button:hover {color:#ffffff !important;border-bottom-color:rgba(0,0,207,.4) !important;background:#121212 !important;}
body.admin-shell .rw-card-open,
body.admin-shell .rw-api-secret-box code,
body.admin-shell .rw-crypto-destination code,
body.admin-shell .rw-group-art {
  background:#000000 !important;
  border-color:rgba(0,0,207,.4) !important;
  color:#d3d9d3 !important;
}
/* Badges and non-error statuses have an outline, not a green fill. */
body.admin-shell .admin-status.live,
body.admin-shell .admin-status.draft,
body.admin-shell .rw-ticket-pill,
body.admin-shell .rw-key-counter {
  background:#0d0d0d !important;
  border-color:rgba(0,0,207,.4) !important;
  color:#d8d8d8 !important;
}
body.admin-shell .rw-ticket-row.active {background:#161616 !important;border-color:rgba(0,0,207,.4) !important;}
/* Dialogs and overlays should follow the same dark appearance. */
body.admin-shell .admin-dialog,
body.admin-shell dialog,
body.admin-shell .rw-invoice-dialog,
body.admin-shell .rw-invoice-dialog .dialog-head,
#rw-group-library-dialog {
  background:#000000 !important;
  border:1px solid rgba(0,0,207,.4) !important;
  color:#f5f5f5 !important;
  box-shadow:0 18px 60px #000b !important;
}
body.admin-shell .admin-dialog::backdrop,body.admin-shell dialog::backdrop {background:rgba(0,0,0,.78) !important;}
#rw-group-library-grid button {background:#000000 !important;border-color:rgba(0,0,207,.4) !important;}
/* Keep danger/validation messages legible, never camouflage them as success. */
body.admin-shell .rw-editor-feedback,
body.admin-shell [role=alert] {background:#241616 !important;border-color:#a94343 !important;color:#ffdcdc !important;}
@media (max-width:780px) {
  body.admin-shell .admin-mobile-toggle {background:#0f0f0f !important;border-color:rgba(0,0,207,.4) !important;color:white !important;}
}
/* Owner sign-in, staff sign-in and 2FA screens. */
html:has(body.rw-admin-auth-theme),
body.rw-admin-auth-theme {
  background:#000000 !important;
  color:#f3f3f3 !important;
  color-scheme:dark !important;
}
body.rw-admin-auth-theme .admin-auth-card,
body.rw-admin-auth-theme .auth,
body.rw-admin-auth-theme .panel {
  background:#000000 !important;
  border:1px solid rgba(0,0,207,.4) !important;
  color:#f3f3f3 !important;
  box-shadow:none !important;
}
body.rw-admin-auth-theme input,
body.rw-admin-auth-theme select,
body.rw-admin-auth-theme textarea {
  background:#000000 !important;
  border:1px solid rgba(0,0,207,.4) !important;
  color:#fafafa !important;
  box-shadow:none !important;
}
body.rw-admin-auth-theme input:focus,
body.rw-admin-auth-theme select:focus {
  outline:2px solid rgba(0,0,207,.4) !important;
  border-color:rgba(0,0,207,.4) !important;
}
body.rw-admin-auth-theme button,
body.rw-admin-auth-theme .button.button-solid {
  background:#121212 !important;
  color:#ffffff !important;
  border:1px solid rgba(0,0,207,.4) !important;
  box-shadow:none !important;
}
body.rw-admin-auth-theme button:hover,
body.rw-admin-auth-theme .button.button-solid:hover {background:#1d1d1d !important;}
body.rw-admin-auth-theme a,
body.rw-admin-auth-theme .section-kicker,
body.rw-admin-auth-theme .orange-period {color:#898989 !important;}
body.rw-admin-auth-theme .muted,
body.rw-admin-auth-theme .auth p,
body.rw-admin-auth-theme .admin-auth-card p {color:#b4b4b4 !important;}
body.rw-admin-auth-theme .secret {background:#000000 !important;border-color:rgba(0,0,207,.4) !important;}


/* Admin-only cursor reset: use the normal OS cursor in every admin view.
   The custom reactive cursor remains enabled on the public storefront. */
@media (pointer:fine) {
  html:has(body.admin-shell),
  body.admin-shell,
  html:has(body.rw-admin-auth-theme),
  body.rw-admin-auth-theme { cursor:auto !important; }
}
body.admin-shell .rw-reactive-cursor,
body.admin-shell .rw-cursor-click-pulse,
body.rw-admin-auth-theme .rw-reactive-cursor,
body.rw-admin-auth-theme .rw-cursor-click-pulse { display:none !important; }



/* ---- Rounder corners (2026-11-13) ---- */
html body .admin-panel,
html .admin-shell .admin-panel,
html body .admin-metric,
html .admin-shell .admin-metric,
html body .rw-sales-tile,
html .admin-shell .rw-sales-tile,
html body .rw-sales-recent,
html .admin-shell .rw-sales-recent,
html body .rw-product-card,
html .admin-shell .rw-product-card,
html body .rw-catalog-intro,
html .admin-shell .rw-catalog-intro,
html body .rw-group-table,
html .admin-shell .rw-group-table,
html body .rw-team-form,
html .admin-shell .rw-team-form,
html body .admin-table-wrap,
html .admin-shell .admin-table-wrap,
html body .admin-filters,
html .admin-shell .admin-filters,
html body [class*="crypto"][class*="card"],
html .admin-shell [class*="crypto"][class*="card"],
html body [class*="crypto"][class*="panel"],
html .admin-shell [class*="crypto"][class*="panel"],
html body [class*="modal"]:not([class*="backdrop"]):not([class*="overlay"]),
html .admin-shell [class*="modal"]:not([class*="backdrop"]):not([class*="overlay"]),
html body [class*="dialog"]:not([class*="backdrop"]):not([class*="overlay"]),
html .admin-shell [class*="dialog"]:not([class*="backdrop"]):not([class*="overlay"]){border-radius:20px!important}

html body .admin-panel .admin-panel,
html .admin-shell .admin-panel .admin-panel,
html body .rw-empty-sales,
html .admin-shell .rw-empty-sales,
html body .admin-panel > div[style*="border"],
html .admin-shell .admin-panel > div[style*="border"],
html body [class*="admin-card"],
html .admin-shell [class*="admin-card"]{border-radius:16px!important}

html body .admin-table-wrap,
html .admin-shell .admin-table-wrap{overflow:hidden}
html body button:not([class*="chip"]):not([class*="pill"]):not([class*="dot"]):not([class*="toggle"]):not([class*="switch"]),
html body .admin-sidebar a,
html body input:not([type=checkbox]):not([type=radio]):not([type=range]),
html body select,
html body textarea{border-radius:12px!important}

/* ---- Product editor: remove leftover light-theme pieces (2026-11-13) ---- */
html .admin-shell{color-scheme:dark}
html .admin-shell .rw-video-block,
html .admin-shell .rw-artwork-picker,
html .admin-shell .rw-variant-row,
html .admin-shell .rw-variant-stock-panel,
html .admin-shell .rw-category-row,
html .admin-shell #admin-editor #rw-variant-editor,
html .admin-shell #admin-editor .dialog-footer,
html .rw-stock-dialog,
html .rw-stock-modes{
  background:#000!important;background-image:none!important;
  border-color:rgba(0,0,207,.4)!important;color:#ededed!important;
}
html .admin-shell .rw-artwork-picker{border:1px dashed rgba(0,0,207,.4)!important;border-radius:16px!important}
html .admin-shell .rw-artwork-picker img{background:#0a0a0a!important;border-radius:12px!important}
html .admin-shell .rw-artwork-select strong,
html .admin-shell .rw-video-block-heading h3,
html .admin-shell #rw-variant-editor strong{color:#ffffff!important}
html .admin-shell .rw-artwork-select p,
html .admin-shell .rw-video-block-heading p,
html .admin-shell .admin-footnote{color:#9a9aa5!important}
html .admin-shell .rw-key-counter{background:#0a0a0a!important;border-color:rgba(0,0,207,.4)!important;color:#ededed!important}
html .rw-stock-modes button.active{background:#0000cf!important;color:#fff!important;border-color:rgba(0,0,207,.4)!important}
html .rw-stock-dialog #rw-stock-error{color:#ff6b7a!important;font-weight:600!important}
html .rw-stock-dialog #rw-stock-help{color:#9a9aa5!important}
html .rw-stock-dialog .rw-stock-summary{color:#9a9aa5!important}
/* every field in the editor: dark box, light text, blue outline */
html .admin-shell .rw-video-fields input,
html .admin-shell .rw-video-fields textarea,
html .admin-shell .rw-video-fields select,
html .admin-shell #admin-editor input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]),
html .admin-shell #admin-editor textarea,
html .admin-shell #admin-editor select,
html .admin-shell #admin-editor .rw-variant-row input,
html .admin-shell .rw-variant-row input,
html .rw-stock-dialog input,
html .rw-stock-dialog textarea,
html .rw-stock-dialog select{
  background:#0a0a0a!important;background-image:none!important;
  color:#ededed!important;border:1px solid rgba(0,0,207,.4)!important;
}
html .admin-shell #admin-editor select,
html .admin-shell .rw-video-fields select,
html .rw-stock-dialog select{
  background-image:linear-gradient(45deg,transparent 50%,#9a9aa5 50%),linear-gradient(135deg,#9a9aa5 50%,transparent 50%)!important;
  background-position:calc(100% - 20px) 50%,calc(100% - 14px) 50%!important;
  background-size:6px 6px,6px 6px!important;background-repeat:no-repeat!important;
  -webkit-appearance:none;appearance:none;padding-right:40px!important;
}
html .admin-shell select option,
html .rw-stock-dialog select option{background:#0a0a0a!important;color:#ededed!important}
html .admin-shell #admin-editor input::placeholder,
html .admin-shell #admin-editor textarea::placeholder{color:#6b6b78!important}
html .admin-shell #admin-editor input:focus,
html .admin-shell #admin-editor textarea:focus,
html .admin-shell #admin-editor select:focus{outline:none!important;box-shadow:0 0 0 3px rgba(0,0,207,.35)!important}

/* ---- Admin product cards without their own artwork: show the emblem, not the group image ---- */
html .admin-shell .rw-product-card img[src*="rageware-original-emblem"]{
  object-fit:contain!important;padding:16%!important;background:#0a0a0a!important;
}
/* hidden buttons stay hidden (e.g. 'Remove custom artwork' when there is none) */
html .admin-shell .button[hidden],html .admin-shell button[hidden],html .rw-stock-dialog [hidden]{display:none!important}

/* Delete group button */
html .admin-shell .rw-group-row-actions .rw-group-delete{border-color:#7a1f2b!important;color:#ff8a96!important;background:#000!important}
html .admin-shell .rw-group-row-actions .rw-group-delete:hover{background:#2a0a0f!important;border-color:#e5484d!important;color:#fff!important}


/* ---- Groups: list without Visibility column, product picker dropdown (2026-11-13) ---- */
html .admin-shell .rw-group-table-head,
html .admin-shell .rw-group-row{grid-template-columns:minmax(180px,2fr) minmax(110px,1fr) 90px minmax(190px,1.2fr)!important}
@media(max-width:900px){html .admin-shell .rw-group-row{grid-template-columns:1fr 100px!important}}
html .admin-shell .rw-group-visibility{display:block;margin:6px 0 14px}
html .admin-shell .rw-group-visibility select{width:100%;margin-top:6px}
html .admin-shell .rw-pick-dropdown{position:relative}
html .admin-shell .rw-pick-toggle{width:100%;display:flex;align-items:center;justify-content:space-between;gap:10px;
  padding:12px 14px;border-radius:12px!important;border:1px solid rgba(0,0,207,.4)!important;background:#0a0a0a!important;color:#ededed!important;
  font-weight:600;cursor:pointer;text-align:left}
html .admin-shell .rw-pick-toggle:hover{border-color:#5c5cff!important}
html .admin-shell .rw-pick-dropdown.open .rw-pick-caret{transform:rotate(180deg)}
html .admin-shell .rw-pick-caret{transition:transform .15s;color:#9a9aa5}
html .admin-shell .rw-pick-panel{position:absolute;z-index:30;left:0;right:0;top:calc(100% + 6px);
  background:#000!important;border:1px solid rgba(0,0,207,.4)!important;border-radius:16px!important;padding:10px;
  box-shadow:0 18px 50px rgba(0,0,0,.6),0 0 0 1px rgba(0,0,207,.25)}
html .admin-shell .rw-pick-panel[hidden]{display:none!important}
html .admin-shell .rw-pick-search{width:100%;margin-bottom:8px;padding:10px 12px;border-radius:10px!important;
  background:#0a0a0a!important;border:1px solid #2a2a33!important;color:#ededed!important}
html .admin-shell .rw-pick-panel .rw-group-product-picks{max-height:300px!important;overflow:auto!important;border:0!important;padding:0!important;background:transparent!important}
html .admin-shell .rw-pick-panel .rw-group-product-picks label{display:flex;align-items:center;gap:10px;padding:9px 10px;border-radius:10px;cursor:pointer}
html .admin-shell .rw-pick-panel .rw-group-product-picks label:hover{background:#0b0b2e}
html .admin-shell .rw-pick-panel .rw-group-product-picks label[hidden]{display:none!important}
html .admin-shell .rw-pick-panel input[type=checkbox]{accent-color:#0000cf;width:16px;height:16px}

/* Products box: dropdown opens inside the box (where the old tick-list was), not floating over Badge */
html .admin-shell .rw-pick-panel{position:static!important;margin-top:8px;box-shadow:none!important;padding:8px!important;border-radius:14px!important}
html .admin-shell .rw-pick-panel .rw-group-product-picks{max-height:260px!important}
html .admin-shell .rw-group-visibility-below{margin:16px 0 0!important}


/* ---- Delivery type chooser + hint (2026-11-13) ---- */
.rw-delivery-dialog{border:1px solid rgba(0,0,207,.4);border-radius:20px;background:#000;color:#ededed;padding:0;max-width:620px;width:calc(100% - 32px)}
.rw-delivery-dialog::backdrop{background:rgba(0,0,0,.7);backdrop-filter:blur(3px)}
.rw-delivery-box{padding:26px}
.rw-delivery-box h2{margin:0 0 6px;font-size:22px;color:#fff}
.rw-delivery-box > p{margin:0 0 18px;color:#9a9aa5;font-size:14px}
.rw-delivery-options{display:grid;gap:12px}
.rw-delivery-option{display:flex;flex-direction:column;gap:6px;text-align:left;padding:16px 18px;border-radius:16px;
  border:1px solid #2a2a33;background:#0a0a0a;color:#ededed;cursor:pointer;transition:border-color .15s,background .15s}
.rw-delivery-option:hover,.rw-delivery-option:focus-visible{border-color:rgba(0,0,207,.4);background:#06061f;outline:none}
.rw-delivery-option strong{font-size:16px;color:#fff}
.rw-delivery-option span{font-size:13px;color:#9a9aa5;line-height:1.5}
.rw-delivery-actions{display:flex;justify-content:flex-end;margin-top:16px}
html .admin-shell .rw-delivery-hint{display:block;margin-top:6px;color:#9a9aa5;font-size:12px;line-height:1.5}
html .admin-shell .rw-variant-row [hidden]{display:none!important}

/* subtle scrollbars (2026-11-13) */
html .admin-shell *{scrollbar-color:rgba(0,0,207,.45) transparent!important;scrollbar-width:thin}
html .admin-shell ::-webkit-scrollbar{width:8px;height:8px}
html .admin-shell ::-webkit-scrollbar-track{background:transparent!important}
html .admin-shell ::-webkit-scrollbar-thumb{background:rgba(0,0,207,.45)!important;border-radius:8px;border:0!important}
html .admin-shell ::-webkit-scrollbar-thumb:hover{background:rgba(0,0,207,.7)!important}

/* Custom payment method QR field */
html .admin-shell .rw-manual-qr{display:grid;gap:8px;justify-items:start}
html .admin-shell .rw-manual-qr-preview{width:140px;height:auto;border-radius:12px;background:#fff;padding:6px}
html .admin-shell .rw-manual-qr-preview[hidden],html .admin-shell .rw-manual-qr [hidden]{display:none!important}

/* ---- Admin: Reviews tab ---- */
html .admin-shell .rw-admin-reviews{display:grid;gap:12px;margin-top:6px}
html .admin-shell .rw-admin-review{position:relative;display:grid;gap:8px;padding:16px 18px;border:1px solid rgba(0,0,207,.4);border-radius:16px;background:#050505}
html .admin-shell .rw-admin-review.low{border-color:rgba(239,68,68,.45)}
html .admin-shell .rw-admin-review-head{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding-right:90px}
html .admin-shell .rw-admin-review-stars{color:#f5b301;letter-spacing:2px;font-size:16px}
html .admin-shell .rw-admin-review h3{margin:0;font-size:15px;color:#fff}
html .admin-shell .rw-admin-review p{margin:0;color:#d4d4dc;font-size:14px;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere}
html .admin-shell .rw-admin-review-meta{color:#8a8a96;font-size:12px}
html .admin-shell .rw-admin-review-delete{position:absolute;top:14px;right:14px;padding:6px 14px;border-radius:999px!important;border:1px solid rgba(239,68,68,.55)!important;background:transparent!important;color:#f87171!important;font-weight:650;cursor:pointer}
html .admin-shell .rw-admin-review-delete:hover:not(:disabled){background:rgba(239,68,68,.15)!important;color:#fff!important}

/* Product editor: sticky save/cancel footer */
html .admin-shell #admin-editor .dialog-footer{
  position:sticky!important;bottom:0!important;z-index:50!important;
  background:#000!important;padding:16px 26px!important;margin:0 -26px -27px!important;
  border-top:1px solid rgba(0,0,207,.4)!important;
}
html .admin-shell #admin-editor .dialog-footer .button-solid{
  background:#0000cf!important;border-color:#0000cf!important;color:#fff!important;
  min-width:140px!important;font-weight:700!important;
}
html .admin-shell #admin-editor .dialog-footer .button-outline{
  border-color:rgba(0,0,207,.5)!important;color:#c0c0d0!important;
}
html .admin-shell .rw-editor-top-actions{display:flex!important;gap:8px!important}
html .admin-shell .rw-editor-top-actions .button-solid{
  background:#0000cf!important;border-color:#0000cf!important;color:#fff!important;
}

/* Product editor Cancel / Save product (2026-11-15): the generic ".dialog-head button" rule
   (32x32px, meant for the round close button) was squeezing these into circles. */
html body .rw-editor-top-actions>button.button{width:auto!important;height:auto!important;min-height:36px!important;flex:none!important;white-space:nowrap!important;padding:9px 16px!important;line-height:1.2!important}
