/* OUTKST admin workspace polish. Behavior remains in admin.html and admin-design.js. */
:root { --admin-content-width:1600px; --admin-radius-lg:12px; --admin-radius-md:8px; --admin-focus:#ffb39e; --admin-bg:#0b0c0e; --admin-panel:#141518; --admin-line:#2b2d32; --admin-muted:#a8a9b0; }
.main { width:calc(100% - 240px); max-width:var(--admin-content-width); margin:0 0 0 240px; min-width:0; }
@media (min-width:701px) {
  .sidebar { display:flex; flex-direction:column; overflow-y:auto; }
  .sidebar .brand,.sidebar .nav-section { flex-shrink:0; }
  .sidebar .logout-button { position:static; width:100%; margin-top:auto; flex-shrink:0; }
}
.page-header { position:relative; padding-bottom:18px; border-bottom:1px solid var(--admin-line); }
.page-header::after { content:""; position:absolute; left:0; bottom:-1px; width:58px; height:2px; background:var(--admin-accent); }
.form-section { border-radius:var(--admin-radius-lg); box-shadow:0 10px 30px rgba(0,0,0,.12); }
.form-section-title,.form-section > h2,.form-section > h3 { display:flex; align-items:center; gap:10px; }
.form-section-title::before,.form-section > h2::before,.form-section > h3::before { content:""; width:5px; height:18px; flex:0 0 5px; border-radius:99px; background:var(--admin-accent); }
.admin-toolbar { padding:12px; border:1px solid rgba(70,82,97,.7); border-radius:var(--admin-radius-md); background:rgba(17,22,29,.55); }
.admin-toolbar + .field-note,.admin-toolbar + p.field-note { margin:10px 4px 14px; }
.admin-toolbar select,.admin-toolbar input[type="search"] { min-width:150px; }
#product-filters,#orders-page > .admin-toolbar { position:sticky; top:12px; z-index:6; backdrop-filter:blur(12px); }
#productsContainer { display:grid; grid-template-columns:repeat(auto-fill,minmax(250px,1fr)); gap:18px; }
#productsContainer > .orders-placeholder { grid-column:1 / -1; }
.product-card { display:flex; flex-direction:column; min-width:0; transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease; }
.product-card:hover { transform:translateY(-2px); border-color:#647489; box-shadow:0 12px 28px rgba(0,0,0,.2); }
.product-card-image { aspect-ratio:4 / 3; background:#11161d; }
.product-card-image img { width:100%; height:100%; object-fit:cover; }
.product-card-info { display:flex; flex-direction:column; gap:8px; flex:1; }
.product-card-info h3,.product-card-info p { margin:0; }
.product-card-info .product-edit-button,.product-card-info .product-delete-button { width:100%; margin:2px 0 0; }
.product-card-info .product-delete-button { margin-top:auto; }
.admin-action-grid button,.stat-card,.form-section,.subscriber-row { transition:border-color .18s ease,background-color .18s ease,box-shadow .18s ease; }
.admin-action-grid button:focus-visible,.stat-card:focus-within,.form-section:focus-within { border-color:var(--admin-focus); }
.form-actions { display:flex; flex-direction:row; flex-wrap:wrap; justify-content:flex-end; align-items:center; }
.form-actions > button { min-width:130px; }
#frontend-page > .form-section > .admin-toolbar { position:sticky; top:12px; z-index:7; backdrop-filter:blur(12px); }
#frontend-page .admin-toolbar > [id$="-editor"] { border-radius:var(--admin-radius-md); box-shadow:0 12px 35px rgba(0,0,0,.24); }
#store-design-form { margin-top:16px; }
#store-design-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
#store-design-fields > label { grid-column:1 / -1; }
#store-design-fields > details { margin:0; min-width:0; }
#store-design-fields > details[open] { grid-column:1 / -1; }
#store-design-fields > details > summary { cursor:pointer; list-style:none; color:#f1f4f8; font-weight:650; letter-spacing:.35px; }
#store-design-fields > details > summary::-webkit-details-marker { display:none; }
#store-design-fields > details > summary::after { content:"+"; float:right; color:var(--admin-accent); font-size:20px; line-height:1; }
#store-design-fields > details[open] > summary::after { content:"−"; }
#store-design-fields [data-search] { padding:14px 0 2px; border-top:1px solid rgba(70,82,97,.65); }
#design-status,[role="status"] { min-height:1.5em; color:#b8c7d6; }
#save-store-design { box-shadow:0 8px 24px rgba(241,139,118,.16); }
#orders-list,#subscribers-list,#promo-list { min-width:0; }
#order-detail { scroll-margin-top:90px; }
button:disabled,input:disabled,select:disabled,textarea:disabled { cursor:wait; opacity:.58; }
@media (max-width:900px) {
  #store-design-fields { grid-template-columns:1fr; }
  #store-design-fields > details[open] { grid-column:auto; }
  #product-filters,#orders-page > .admin-toolbar,#frontend-page > .form-section > .admin-toolbar { position:static; }
}
@media (max-width:700px) {
  .main { width:100%; margin:0; }
  .page-header { padding-bottom:14px; }
  .admin-toolbar { padding:10px; }
  .admin-toolbar > * { width:100%; min-width:0 !important; }
  .form-actions { justify-content:stretch; }
  .form-actions > button { flex:1 1 140px; }
  #productsContainer { grid-template-columns:1fr; }
  .product-card:hover { transform:none; }
}

/* A compact workspace with a separate section list and editing surface. */
body { background:var(--admin-bg); }
.sidebar { background:#101114; }
.sidebar .brand { padding:4px 12px 28px; font-size:19px; }
.workspace-nav-group { margin-bottom:20px; }
.workspace-nav-group .nav-label { margin:0 12px 8px; color:#777b84; font-size:10px; letter-spacing:1.5px; }
.sidebar .nav-button { min-height:40px; padding:9px 12px; margin:2px 0; border-radius:7px; font-size:13px; color:#b6b8c0; }
.sidebar .nav-button:hover { background:#1c1e23; }
.sidebar .nav-button.active { background:#26201f; color:#ffb6a5; box-shadow:inset 2px 0 #f18b76; }
.main { padding:24px 32px 48px; }
.admin-context { padding-bottom:16px; margin-bottom:28px; }
.admin-context p { font-size:10px; letter-spacing:1px; color:#858892; }
.admin-context strong { display:inline-block; padding-top:4px; letter-spacing:0; font-size:12px; }
.admin-context a { font-size:12px; color:#e4e4e7; border-color:var(--admin-line); }
.page-header { padding-bottom:0; border:0; margin-bottom:24px; }
.page-header::after { display:none; }
.page-header h1 { font-size:30px; letter-spacing:-1px; }
.page-header p { font-size:13px; margin-top:8px; }
.form-section,.stat-card,.product-card,.admin-action-grid button { background:var(--admin-panel); border-color:var(--admin-line); box-shadow:none; }
.form-section { padding:24px; }
.form-section-title::before,.form-section > h2::before,.form-section > h3::before { display:none; }
.form-section-title { text-transform:none; letter-spacing:0; font-size:15px; }
.stats-grid { gap:12px; }
.stat-card { padding:18px; border-radius:10px; }
.stat-card:first-child { background:#211b1a; border-color:#51362e; }
.stat-card strong { font-size:28px; margin-top:8px; }
.admin-action-grid button { border-radius:10px; padding:20px; min-height:110px; }
.admin-action-grid button:hover { background:#1e2025; }
.main input:not([type=checkbox]):not([type=radio]),.main select,.main textarea { background:#0e0f12; border-color:#3a3d44; border-radius:7px; min-height:42px; }
.main input::file-selector-button { background:#25272d; border-color:#42454d; }
.main .secondary-button,.product-edit-button,.photo-card button { background:#24262b; border-color:#3b3e46; }
.admin-toolbar { background:#111215; border-color:var(--admin-line); backdrop-filter:none; }
#products-page .page-header { display:flex; flex-wrap:wrap; align-items:center; gap:12px; }
#products-page .page-header > .primary-button { margin-left:auto; }
.website-workspace { display:grid; grid-template-columns:228px minmax(0,1fr); gap:24px; align-items:start; }
.website-mobile-picker { display:none; }
.website-section-list { display:grid; gap:6px; position:sticky; top:20px; }
.website-section-list .website-section-button { width:100%; min-height:64px; text-align:left; padding:12px 14px; border:1px solid transparent; border-radius:8px; background:transparent; color:#d3d4d9; letter-spacing:0; cursor:pointer; }
.website-section-button strong { display:block; font-size:13px; font-weight:600; }
.website-section-button span { display:block; margin-top:5px; font-size:11px; line-height:1.5; color:#8e929c; font-weight:400; }
.website-section-list .website-section-button:hover { background:#191b20; }
.website-section-list .workspace-selected { background:#211b1a; border-color:#5b3d33; color:#ffb6a5; }
.website-editor-area { min-width:0; }
.website-editor-area > .form-section { margin:0 !important; width:100%; background:#141518; }
.workspace-empty { display:grid; align-content:center; min-height:390px; padding:36px; border:1px dashed #353840; border-radius:12px; background:#111215; }
.workspace-empty > span { color:#d29985; font-size:10px; letter-spacing:2px; }
.workspace-empty h2 { margin:14px 0 12px; font-size:25px; font-weight:500; letter-spacing:-.6px; }
.workspace-empty p { max-width:340px; color:var(--admin-muted); font-size:13px; line-height:1.8; }
.website-editor-area .form-actions { position:sticky; bottom:0; z-index:3; margin-top:24px; padding:16px 0 0; border-top:1px solid var(--admin-line); background:var(--admin-panel); }
.website-editor-area .product-form-grid { gap:20px; }
.website-editor-area > section > p { margin:8px 0 20px; color:var(--admin-muted); font-size:13px; }
.website-editor-area #store-design-fields { display:block; }
.website-editor-area #store-design-fields > details { margin-bottom:12px; padding:16px; background:#101114; }
.website-editor-area #store-design-fields > label { margin-bottom:20px; }
.website-editor-area #store-design-fields label { font-size:13px; }
.website-editor-area button[aria-expanded=true] { background:var(--admin-panel); }
.admin-unsaved { position:sticky; top:0; z-index:8; }
@media (max-width:1100px) {
  .website-workspace { grid-template-columns:190px minmax(0,1fr); gap:16px; }
  .website-editor-area .product-form-grid { grid-template-columns:1fr; }
  .main { padding:24px; }
}
@media (max-width:900px) {
  .website-workspace { grid-template-columns:1fr; }
  .website-section-list { position:static; grid-template-columns:repeat(2,minmax(0,1fr)); }
  .website-section-list .website-section-button { border-color:var(--admin-line); }
  .workspace-empty { min-height:240px; padding:24px; }
}
@media (max-width:700px) {
  .main { padding:20px 16px 36px; }
  .sidebar .brand { padding-right:56px; }
  .page-header h1 { font-size:26px; }
  .form-section { padding:18px; }
  .admin-context { gap:10px; }
  .admin-context a { padding:8px; font-size:11px; }
  .website-section-list { display:none; }
  .website-mobile-picker { display:grid; gap:8px; color:var(--admin-muted); font-size:12px; }
  .website-section-list .website-section-button { padding:10px; min-height:78px; }
  .website-editor-area .form-actions { padding-bottom:10px; }
}

/* Blue terminal theme: visual layer only, with readable controls and status colours. */
:root {
  --admin-bg:#000000; --admin-panel:#0c121c; --admin-line:#253b58;
  --admin-muted:#a4b6cf; --admin-accent:#70b5ff; --admin-focus:#acd4ff;
  --admin-radius-lg:6px; --admin-radius-md:4px;
  --admin-panel-depth:0 12px 28px rgba(0,0,0,.30),0 2px 5px rgba(0,0,0,.28),inset 0 1px rgba(170,212,255,.07);
}
body {
  color:#e0eafa; font-family:Consolas,"Cascadia Mono","Courier New",monospace;
  background-color:var(--admin-bg);
  isolation:isolate;
}
button,input,select,textarea { font-family:inherit; }
.sidebar { background:#080d15; border-color:var(--admin-line); }
.sidebar .brand { color:var(--admin-accent); letter-spacing:2px; text-shadow:0 0 18px #70b5ff25; }
.sidebar .brand::before { content:">_ "; }
.workspace-nav-group .nav-label,.nav-label { color:#8aa5c8; }
.sidebar .nav-button { color:#bfd0e8; border-radius:3px; }
.sidebar .nav-button:hover { background:#12223a; color:#e6f2ff; }
.sidebar .nav-button.active { background:#142943; color:#91caff; box-shadow:inset 2px 0 var(--admin-accent); }
.admin-context { border-color:var(--admin-line); }
.admin-context p,.page-header p,.field-note,.website-section-button span { color:var(--admin-muted); }
.admin-context strong { color:#d7e6fa; }
.admin-context a,.logout-button { color:#acd3ff; border-color:#36577d; border-radius:4px; background:#0c1728; }
.admin-context a:hover,.logout-button:hover { background:#173152; }
.page-header h1 { color:#edf5ff; letter-spacing:-1px; }
.page-header h1::before { content:"/ "; color:var(--admin-accent); }
.form-section,.stat-card,.product-card,.admin-action-grid button,
.website-editor-area > .form-section,.workspace-empty {
  background:var(--admin-panel); border-color:var(--admin-line); border-radius:6px;
  box-shadow:var(--admin-panel-depth);
  background-image:linear-gradient(160deg,rgba(170,212,255,.025),transparent 55%);
}
.stat-card:first-child { background:#102641; border-color:#3e6d9e; }
.stat-card span { color:#a3bad7; }
.stat-card strong { color:var(--admin-accent); font-variant-numeric:tabular-nums; }
.admin-action-grid button:hover,.product-card:hover { background:#102039; border-color:#4b7dac; box-shadow:var(--admin-panel-depth); }
.admin-toolbar,#frontend-page > .form-section > .admin-toolbar { background:#0a1321; border-color:var(--admin-line); backdrop-filter:none; }
.website-section-list .website-section-button { color:#d0e2fa; border-radius:4px; }
.website-section-list .website-section-button:hover { background:#102039; }
.website-section-list .workspace-selected { background:#122942; border-color:#4072a3; color:#99ceff; }
#frontend-page button[aria-expanded=true] { background:#122942; border-color:var(--admin-accent); color:#99ceff; }
.workspace-empty > span { color:var(--admin-accent); }
.website-editor-area #store-design-fields > details { background:#09111e; border-color:var(--admin-line); }
.main input:not([type=checkbox]):not([type=radio]),.main select,.main textarea,
.login-box input { color:#e1edff; background:#070d17; border-color:#365275; border-radius:4px; caret-color:#70b5ff; }
input::placeholder,textarea::placeholder { color:#8fa5c1; opacity:1; }
input[type=checkbox],input[type=radio] { accent-color:var(--admin-accent); }
.main input::file-selector-button { color:#b4d8ff; background:#15273f; border-color:#365275; }
.primary-button,#save-store-design { color:#061122; background:#70b5ff; border-color:#9bcfff; border-radius:4px; box-shadow:none; }
.primary-button:hover:not(:disabled),#save-store-design:hover:not(:disabled) { color:#061122; background:#a0d3ff; }
.main .secondary-button,.product-edit-button,.photo-card button { color:#cae3ff; background:#14243b; border-color:#365275; border-radius:4px; }
.product-delete-button { color:#ffb0b0; background:#2a1014; border-color:#79404a; }
#design-status,[role=status] { color:#b3d3f8; }
:where(button,a,input,select,textarea,summary):focus-visible { outline:2px solid var(--admin-focus); outline-offset:3px; }
#login-screen { background:#060a08; }
#login-screen::before,#login-screen::after { display:none; }
.login-box { background:#0c121c; border:1px solid #365275; border-radius:6px; box-shadow:0 0 60px #70b5ff0b; }
.login-box::before { color:#70b5ff; border-color:#365275; background:#102039; }
.login-box::after,.login-box > p { color:var(--admin-muted); }

/* Plain black backdrop behind the admin panels. */
body::before,body::after { content:none; }

.dashboard-analytics .stats-grid { grid-template-columns:repeat(auto-fit,minmax(130px,1fr)); }
.dashboard-money,.dashboard-charts { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; margin-top:20px; }
.dashboard-money strong { font-size:22px; overflow-wrap:anywhere; }
.dashboard-chart { min-width:0; max-height:480px; overflow:auto; }
.dashboard-chart:last-child { grid-column:1/-1; }
.dashboard-chart h2 { font-size:15px; margin-bottom:20px; }
.dashboard-bar-row { margin:14px 0; }
.dashboard-bar-row > div:first-child { display:flex; justify-content:space-between; gap:12px; font-size:12px; margin-bottom:6px; }
.dashboard-bar-track { height:10px; background:#1b2b43; border-radius:2px; }
.dashboard-bar-track > div { height:100%; border-radius:2px; }
@media(max-width:700px) { .dashboard-money,.dashboard-charts { grid-template-columns:1fr; } }

/* A restrained raised edge separates navigation and tools from the grid. */
.sidebar { box-shadow:8px 0 24px rgba(0,0,0,.25),inset -1px 0 rgba(170,212,255,.035); }
.admin-toolbar { box-shadow:0 4px 12px rgba(0,0,0,.18),inset 0 1px rgba(170,212,255,.04); }

#login-screen { background:#000000; }

/* White typography throughout the admin, including generated labels and hints. */
body, body *, body *::before, body *::after { color:#ffffff !important; }
input::placeholder,textarea::placeholder { color:#ffffff !important; opacity:1; }
input::file-selector-button { color:#ffffff !important; }
/* Deeper blue keeps white button labels readable. */
.primary-button,#save-store-design { background:#1e4e8c; }
.primary-button:hover:not(:disabled),#save-store-design:hover:not(:disabled) { background:#265fa6; }

/* Admin finish: visual refinements only; preserve existing layout and controls. */
:root {
  color-scheme:dark;
  --admin-accent:#376bab;
  --admin-focus:#6394ce;
  --admin-panel:#0c111a;
  --admin-line:#202b3a;
  --admin-body-font:"Segoe UI",Arial,sans-serif;
  --admin-mono-font:Consolas,"Cascadia Mono","Courier New",monospace;
  --admin-radius-lg:12px;
  --admin-radius-md:8px;
  --admin-panel-depth:0 8px 24px #0005,inset 0 1px #ffffff08;
}
body { font-family:var(--admin-body-font); font-size:14px; line-height:1.55; }
button,input,select,textarea { font-family:var(--admin-body-font); }
.page-header h1,.form-section > h2,.form-section > h3,.form-section-title,
.sidebar .brand,.login-box h1,.stat-card strong,.product-card-price,
#affiliates-page .affiliate-summary strong {
  font-family:var(--admin-mono-font);
  font-variant-numeric:tabular-nums;
}
.sidebar { background:#080c12; border-right-color:#202b3a; }
.sidebar .brand { letter-spacing:2.5px; text-shadow:none; }
.sidebar .nav-button {
  border-radius:8px;
  transition:background-color .16s ease,box-shadow .16s ease;
}
.sidebar .nav-button.active {
  background:linear-gradient(100deg,#10233e,#0b1424);
  box-shadow:inset 3px 0 #376bab,inset 0 0 0 1px #30548245;
}
.sidebar .nav-button:hover:not(.active) { background:#142033; }
.workspace-nav-group .nav-label { font-size:10px; letter-spacing:1.6px; }
.admin-context { border-bottom-color:#243247; }
.admin-context a,.logout-button { border-radius:8px; background:#101b2a; }
.page-header h1 { line-height:1.2; font-weight:700; }
.page-header p,.field-note,.website-section-button span { line-height:1.65; }
.form-section,.stat-card,.product-card,.admin-action-grid button,
.website-editor-area > .form-section,.workspace-empty {
  border-radius:12px;
  background-image:linear-gradient(145deg,#aaccff05,transparent 60%);
}
.form-section > h2,.form-section > h3,.form-section-title { line-height:1.5; margin-bottom:20px; font-size:16px; }
.stat-card { border-top-color:#2c3d53; }
.stat-card:first-child { background:#0b1729; border-color:#284568; }
.stat-card strong { letter-spacing:-.8px; line-height:1.25; }
.stat-card span { font-size:11px; letter-spacing:.7px; }
.admin-action-grid button { text-align:left; }
.admin-action-grid button:hover { background:#132238; border-color:#5079a6; }
.admin-toolbar,#frontend-page > .form-section > .admin-toolbar {
  background:#0c1420; border-radius:10px; border-color:#243247;
}
.main input:not([type=checkbox]):not([type=radio]),.main select,.main textarea,
.login-box input {
  background:#080e17; border-color:#354357; border-radius:8px;
  box-shadow:inset 0 1px 3px #0003;
  transition:border-color .16s ease,box-shadow .16s ease;
}
.main input:not([type=checkbox]):not([type=radio]):focus,
.main select:focus,.main textarea:focus,.login-box input:focus {
  border-color:#6394ce; box-shadow:0 0 0 3px #376bab24;
}
.main textarea { line-height:1.65; }
.main input::file-selector-button { border-radius:5px; padding:8px 12px; }
.primary-button,#save-store-design {
  background:linear-gradient(180deg,#173d6b,#102c50);
  border-color:#355c88; border-radius:8px;
  box-shadow:inset 0 1px #ffffff12,0 3px 9px #0003;
}
.primary-button:hover:not(:disabled),#save-store-design:hover:not(:disabled) {
  background:linear-gradient(180deg,#1e4b80,#173b65);
}
.main .secondary-button,.product-edit-button,.photo-card button {
  background:#101720; border-color:#2a394d; border-radius:8px;
}
.main .secondary-button:hover:not(:disabled),.product-edit-button:hover:not(:disabled),.photo-card button:hover:not(:disabled) { background:#182334; border-color:#425672; }
.main .product-delete-button,.main .subscriber-delete-button,.main .collection-delete-button {
  background:#30161c; border:1px solid #8a4956; border-radius:8px;
}
.main .product-delete-button:hover:not(:disabled),.main .subscriber-delete-button:hover:not(:disabled),.main .collection-delete-button:hover:not(:disabled) {
  background:#481e27; border-color:#b76676;
}
.main .product-field,.main .form-group { gap:8px; }
.main .product-field label,.main .form-group label,#affiliates-page label {
  font-size:13px; font-weight:600; line-height:1.5; letter-spacing:.1px;
}
.main .form-group > label { display:block; margin-bottom:8px; }
.main .field-note { font-size:12px; font-weight:400; line-height:1.65; margin:8px 0 16px; }
.main .form-actions { gap:12px; }
.main .form-section { margin-bottom:24px; }
.main .form-section > p { line-height:1.65; }
.main .primary-button,.main .secondary-button,.main .product-edit-button {
  font-size:13px; font-weight:600; letter-spacing:.15px; min-height:42px;
}
.website-section-list .website-section-button { border-radius:9px; }
.website-section-list .workspace-selected { background:#0d1d32; border-color:#355c88; }
#frontend-page button[aria-expanded=true] { background:#0d1d32; border-color:#355c88; }
.website-editor-area #store-design-fields > details { border-radius:9px; }
.dashboard-bar-track,.dashboard-bar-track > div { border-radius:6px; }
.dashboard-bar-track { background:#1c293b; }
.dashboard-bar-row > div:first-child { line-height:1.5; font-variant-numeric:tabular-nums; }
#affiliates-page .affiliate-table { border:1px solid var(--admin-line); border-radius:10px; }
#affiliates-page .affiliate-table thead { background:#0e192b; }
.main table { font-variant-numeric:tabular-nums; }
.main table th,.main table td { text-align:left; vertical-align:top; line-height:1.6; padding:14px 16px; }
#affiliates-page .affiliate-table table { font-size:13px; }
#affiliates-page .affiliate-table th { font-weight:600; line-height:1.5; padding:14px 16px; }
#affiliates-page .affiliate-table td { line-height:1.6; font-variant-numeric:tabular-nums; padding:16px; }
#affiliates-page .affiliate-table tbody tr:nth-child(even) { background:#ffffff03; }
#affiliates-page .affiliate-table tbody tr:hover { background:#70b5ff0d; }
#affiliates-page .affiliate-table tr:last-child td { border-bottom:0; }
#affiliates-page .affiliate-summary p { background:#101b2b; border-radius:10px; }
.login-box { border-radius:14px; border-color:#354b68; box-shadow:0 20px 70px #0008,inset 0 1px #ffffff0a; }
:where(button,a,input,select,textarea,summary):focus-visible { outline:2px solid #6394ce; outline-offset:3px; }
@media (max-width:700px) {
  .main input:not([type=checkbox]):not([type=radio]),.main select,.main textarea { font-size:16px; }
  .form-section,.website-editor-area > .form-section { border-radius:10px; }
}
@media (prefers-reduced-motion:reduce) {
  .sidebar .nav-button,.main input,.main select,.main textarea,.login-box input,
  .admin-action-grid button,.stat-card,.form-section,.product-card,.subscriber-row { transition:none; }
  .product-card:hover { transform:none; }
}

/* Section navigation contains two lines and must not inherit action-button height. */
.main .website-section-list .website-section-button {
    display: block;
    height: auto;
    min-height: 76px;
    padding: 14px;
    white-space: normal;
    line-height: 1.5;
    overflow-wrap: anywhere;
    margin: 0;
}
.website-section-list { grid-auto-rows: auto; align-content: start; }
.website-section-button strong, .website-section-button span { position: static; }
.website-editor-area > .secondary-button { margin-bottom: 14px; }
.website-editor-area > [hidden] { display: none !important; }
