:root {
   --a-brand: #F85934;
   --a-brand-600: #e44a26;
   --a-brand-50: #fff3ef;
   --a-brand-100: #ffe3da;
   --a-ink: #111827;
   --a-ink-2: #374151;
   --a-muted: #6b7280;
   --a-line: #e5e7eb;
   --a-line-2: #f1f2f5;
   --a-bg: #f5f6fa;
   --a-card: #ffffff;
   --a-side: #0f172a;
   --a-side-2: #1e293b;
   --a-side-text: #94a3b8;
   --a-green: #059669; --a-green-50: #ecfdf5;
   --a-blue: #2563eb; --a-blue-50: #eff6ff;
   --a-amber: #d97706; --a-amber-50: #fffbeb;
   --a-red: #dc2626; --a-red-50: #fef2f2;
   --a-purple: #7c3aed; --a-purple-50: #f5f3ff;
   --a-radius: 14px;
   --a-shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 1px 3px rgba(16, 24, 40, .06);
   --a-shadow-lg: 0 18px 40px -16px rgba(16, 24, 40, .25);
   --a-font: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html, body { overflow-x: clip; }
body.adm { margin: 0; background: var(--a-bg); color: var(--a-ink); font: 400 14px/1.55 var(--a-font); -webkit-font-smoothing: antialiased; }
.adm a { color: var(--a-brand-600); text-decoration: none; }
.adm a:hover { color: var(--a-brand); }
.adm h1, .adm h2, .adm h3 { color: var(--a-ink); letter-spacing: -.01em; }
.adm code { color: var(--a-ink-2); background: var(--a-line-2); padding: 2px 6px; border-radius: 6px; font-size: 12px; word-break: break-all; }
.adm :focus-visible { outline: 3px solid color-mix(in srgb, var(--a-brand) 40%, transparent); outline-offset: 2px; }
.adm-skip { position: absolute; top: 8px; left: 8px; z-index: 2000; background: #fff; padding: 8px 12px; border-radius: 8px; }

.adm-shell { display: flex; min-height: 100vh; }
.adm-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.adm-main { flex: 1; padding: 28px clamp(16px, 2.6vw, 36px) 40px; max-width: 1600px; width: 100%; margin: 0 auto; }
.adm-footer { padding: 18px 36px; color: var(--a-muted); font-size: 12px; border-top: 1px solid var(--a-line); background: #fff; }

.adm-sidebar { width: 264px; flex: 0 0 264px; background: var(--a-side) !important; color: var(--a-side-text); display: flex !important; flex-direction: column; }
@media (min-width: 992px) { .adm-sidebar { position: sticky; top: 0; height: 100vh; overflow-y: auto; } }
.adm-sidebar.offcanvas-lg { --bs-offcanvas-width: 280px; --bs-offcanvas-bg: var(--a-side); }
.adm-brand { display: flex; align-items: center; justify-content: space-between; padding: 20px 20px 16px; }
.adm-brand a { display: flex; align-items: center; gap: 12px; color: #fff; font-weight: 800; font-size: 16px; line-height: 1.2; }
.adm-brand a:hover { color: #fff; }
.adm-brand small { display: block; font-weight: 500; font-size: 12px; color: var(--a-side-text); }
.adm-logo { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, var(--a-brand), #ff8a65); color: #fff; font-size: 20px; box-shadow: 0 8px 20px -8px var(--a-brand); }
.adm-nav { padding: 6px 12px 16px; flex: 1; }
.adm-nav-group + .adm-nav-group { margin-top: 18px; }
.adm-nav-label { display: block; padding: 0 12px 8px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #64748b; }
.adm-nav a { position: relative; display: flex; align-items: center; gap: 12px; padding: 10px 12px; margin-bottom: 2px; border-radius: 10px; color: #cbd5e1; font-weight: 500; transition: background .15s, color .15s; }
.adm-nav a i { font-size: 17px; width: 20px; text-align: center; color: #64748b; transition: color .15s; }
.adm-nav a:hover { background: var(--a-side-2); color: #fff; }
.adm-nav a:hover i { color: #cbd5e1; }
.adm-nav a.active { background: linear-gradient(90deg, rgba(248, 89, 52, .22), rgba(248, 89, 52, .06)); color: #fff; }
.adm-nav a.active::before { content: ""; position: absolute; left: -12px; top: 8px; bottom: 8px; width: 4px; border-radius: 0 4px 4px 0; background: var(--a-brand); }
.adm-nav a.active i { color: var(--a-brand); }
.adm-nav a em { margin-left: auto; min-width: 22px; height: 20px; padding: 0 7px; border-radius: 999px; background: var(--a-brand); color: #fff; font: 700 11px/20px var(--a-font); text-align: center; font-style: normal; }
.adm-side-foot { padding: 12px; border-top: 1px solid var(--a-side-2); }
.adm-side-foot a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; color: #cbd5e1; }
.adm-side-foot a:hover { background: var(--a-side-2); color: #fff; }

.adm-topbar { position: sticky; top: 0; z-index: 1010; display: flex; align-items: center; gap: 14px; height: 68px; padding: 0 clamp(16px, 2.6vw, 36px); background: rgba(255, 255, 255, .86); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--a-line); }
.adm-search { position: relative; flex: 1; max-width: 420px; margin: 0; }
.adm-search i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--a-muted); }
.adm-search input { width: 100%; height: 42px; padding: 0 14px 0 40px; border: 1px solid var(--a-line); border-radius: 12px; background: var(--a-bg); font-size: 14px; color: var(--a-ink); transition: border .15s, background .15s, box-shadow .15s; }
.adm-search input:focus { outline: 0; background: #fff; border-color: var(--a-brand); box-shadow: 0 0 0 4px var(--a-brand-100); }
.adm-top-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.adm-icon-btn { position: relative; width: 42px; height: 42px; display: inline-grid; place-items: center; border: 1px solid var(--a-line); border-radius: 12px; background: #fff; color: var(--a-ink-2); font-size: 18px; transition: all .15s; cursor: pointer; }
.adm-icon-btn:hover { color: var(--a-brand); border-color: var(--a-brand-100); background: var(--a-brand-50); }
.adm-icon-btn em { position: absolute; top: -5px; right: -5px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--a-brand); color: #fff; font: 700 10px/18px var(--a-font); font-style: normal; box-shadow: 0 0 0 2px #fff; }
.adm-icon-btn.sm { width: 34px; height: 34px; font-size: 15px; border-radius: 9px; }
.adm-icon-btn.is-danger:hover { color: var(--a-red); border-color: #fecaca; background: var(--a-red-50); }
.adm-user { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 10px 0 4px; border: 1px solid var(--a-line); border-radius: 12px; background: #fff; color: var(--a-ink); cursor: pointer; }
.adm-user strong { font-size: 13px; line-height: 1.1; }
.adm-user small { font-size: 11px; color: var(--a-muted); line-height: 1.1; }
.adm-user > span:nth-child(2) { text-align: left; }
.adm-avatar { width: 36px; height: 36px; flex: 0 0 36px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(135deg, var(--a-brand), #ff8a65); color: #fff; font-weight: 800; }
.adm-avatar.sm { width: 32px; height: 32px; flex-basis: 32px; border-radius: 50%; font-size: 13px; }
.adm-dropdown { border: 1px solid var(--a-line); border-radius: 12px; box-shadow: var(--a-shadow-lg); padding: 6px; min-width: 200px; }
.adm-dropdown .dropdown-item { display: flex; align-items: center; gap: 10px; border-radius: 8px; padding: 9px 12px; font-size: 14px; }
.adm-dropdown .dropdown-item:active { background: var(--a-brand); }

.adm-page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.adm-page-head h1 { font-size: 26px; font-weight: 800; margin: 0; }
.adm-page-head p { margin: 4px 0 0; color: var(--a-muted); }
.adm-page-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.adm-crumbs { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 6px; padding: 0; font-size: 13px; color: var(--a-muted); }
.adm-crumbs li + li::before { content: "/"; margin-right: 6px; color: #cbd5e1; }
.adm-crumbs a { color: var(--a-muted); }
.adm-crumbs a:hover { color: var(--a-brand); }

.adm-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 11px; border: 1px solid transparent; font: 600 14px/1 var(--a-font); white-space: nowrap; cursor: pointer; transition: all .15s; }
.adm-btn-lg { height: 50px; padding: 0 22px; font-size: 15px; }
.adm-btn-primary { background: var(--a-brand); color: #fff !important; box-shadow: 0 6px 16px -8px var(--a-brand); }
.adm-btn-primary:hover { background: var(--a-brand-600); transform: translateY(-1px); }
.adm-btn-light { background: #fff; border-color: var(--a-line); color: var(--a-ink-2) !important; }
.adm-btn-light:hover { border-color: #d1d5db; background: var(--a-bg); }
.adm-btn-danger-soft { background: var(--a-red-50); color: var(--a-red) !important; }
.adm-btn-danger-soft:hover { background: #fee2e2; }
.adm-btn:disabled { opacity: .6; pointer-events: none; }
.adm-link { font-weight: 600; font-size: 13px; display: inline-flex; align-items: center; gap: 4px; }

.adm-card { background: var(--a-card); border: 1px solid var(--a-line); border-radius: var(--a-radius); padding: 22px 24px; box-shadow: var(--a-shadow); min-width: 0; }
.adm-card.p-0 { overflow: hidden; }
.adm-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.adm-card-head h2 { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 700; margin: 0; }
.adm-card-head h2 i { color: var(--a-brand); }
.adm-grid-2-1 { display: grid; grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr); gap: 24px; margin-bottom: 24px; align-items: start; }
.adm-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; }
.adm-sticky { position: sticky; top: 88px; }
.adm-chip { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; background: var(--a-line-2); color: var(--a-ink-2); font-size: 12px; font-weight: 600; white-space: nowrap; }
.adm-chip.is-danger { background: var(--a-red-50); color: var(--a-red); }
.adm-code-chip { display: inline-block; padding: 4px 10px; border-radius: 8px; border: 1px dashed var(--a-brand); color: var(--a-brand-600); background: var(--a-brand-50); font: 700 13px/1.2 ui-monospace, Consolas, monospace; letter-spacing: .04em; }

.adm-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-bottom: 24px; }
.adm-kpi { display: flex; gap: 16px; align-items: flex-start; padding: 20px; background: #fff; border: 1px solid var(--a-line); border-radius: var(--a-radius); box-shadow: var(--a-shadow); min-width: 0; }
.adm-kpi small { display: block; color: var(--a-muted); font-weight: 600; font-size: 13px; }
.adm-kpi strong { display: block; font-size: 24px; font-weight: 800; margin: 2px 0 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.adm-kpi-icon { flex: 0 0 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; }
.adm-kpi-icon.is-green { background: var(--a-green-50); color: var(--a-green); }
.adm-kpi-icon.is-blue { background: var(--a-blue-50); color: var(--a-blue); }
.adm-kpi-icon.is-orange { background: var(--a-brand-50); color: var(--a-brand); }
.adm-kpi-icon.is-purple { background: var(--a-purple-50); color: var(--a-purple); }
.adm-trend { font-size: 12px; color: var(--a-muted); font-weight: 600; }
.adm-trend.up { color: var(--a-green); }
.adm-trend.down { color: var(--a-red); }

.adm-chart { display: flex; align-items: flex-end; gap: 8px; height: 240px; padding-top: 10px; border-bottom: 1px solid var(--a-line); }
.adm-bar { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; min-width: 0; }
.adm-bar span { width: 100%; max-width: 38px; border-radius: 8px 8px 3px 3px; background: linear-gradient(180deg, #ff8a65, var(--a-brand)); transition: filter .2s, transform .2s; transform-origin: bottom; animation: barUp .6s ease both; }
.adm-bar:hover span { filter: brightness(1.1); }
.adm-bar small { font-size: 11px; color: var(--a-muted); margin-bottom: -22px; height: 16px; }
.adm-chart { margin-bottom: 22px; }
@keyframes barUp { from { transform: scaleY(0); } }
.adm-donut-wrap { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.adm-donut { width: 160px; height: 160px; flex: 0 0 160px; border-radius: 50%; display: grid; place-items: center; }
.adm-donut span { width: 104px; height: 104px; border-radius: 50%; background: #fff; display: grid; place-content: center; text-align: center; }
.adm-donut strong { font-size: 26px; font-weight: 800; line-height: 1; }
.adm-donut small { color: var(--a-muted); font-size: 12px; }
.adm-legend { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; flex: 1; min-width: 150px; }
.adm-legend li { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--a-ink-2); }
.adm-legend i { width: 10px; height: 10px; border-radius: 3px; }
.adm-legend strong { margin-left: auto; }
.adm-mini-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.adm-mini-list li { display: flex; align-items: center; gap: 12px; }
.adm-mini-list img { width: 40px; height: 40px; object-fit: contain; border-radius: 8px; background: var(--a-bg); padding: 3px; }
.adm-mini-list a { flex: 1; min-width: 0; color: var(--a-ink); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.adm-rank { margin: 0; padding: 0; list-style: none; counter-reset: r; display: grid; gap: 10px; }
.adm-rank li { counter-increment: r; display: flex; align-items: center; gap: 12px; font-size: 13px; }
.adm-rank li::before { content: counter(r); width: 26px; height: 26px; flex: 0 0 26px; border-radius: 8px; display: grid; place-items: center; background: var(--a-brand-50); color: var(--a-brand); font-weight: 800; }
.adm-rank span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.adm-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14px; }
.adm-table th { padding: 12px 16px; background: #fafbfc; color: var(--a-muted); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; border-bottom: 1px solid var(--a-line); white-space: nowrap; text-align: left; }
.adm-table td { padding: 14px 16px; border-bottom: 1px solid var(--a-line-2); vertical-align: middle; color: var(--a-ink-2); }
.adm-table tbody tr { transition: background .12s; }
.adm-table tbody tr:hover { background: #fcfcfd; }
.adm-table tbody tr:last-child td { border-bottom: 0; }
.adm-table tr.is-link { cursor: pointer; }
.adm-table tr.is-selected { background: var(--a-brand-50); }
.adm-table th.text-end, .adm-table td.text-end { text-align: right; }
.adm-table th.text-center, .adm-table td.text-center { text-align: center; }
.adm-prod { display: flex; align-items: center; gap: 12px; color: var(--a-ink); min-width: 220px; }
.adm-prod img { width: 48px; height: 48px; flex: 0 0 48px; object-fit: contain; border-radius: 10px; background: var(--a-bg); padding: 4px; border: 1px solid var(--a-line-2); }
.adm-prod strong { display: block; font-weight: 600; }
.adm-prod small, .adm-person small { display: block; color: var(--a-muted); font-size: 12px; }
.adm-person { display: flex; align-items: center; gap: 10px; min-width: 180px; }
.adm-person strong { font-weight: 600; color: var(--a-ink); }
.adm-status { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; background: var(--a-line-2); color: var(--a-ink-2); }
.adm-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.adm-status-paid, .adm-status-completed { background: var(--a-green-50); color: var(--a-green); }
.adm-status-processing { background: var(--a-blue-50); color: var(--a-blue); }
.adm-status-shipped { background: var(--a-purple-50); color: var(--a-purple); }
.adm-status-pending { background: var(--a-amber-50); color: var(--a-amber); }
.adm-status-failed, .adm-status-cancelled { background: var(--a-red-50); color: var(--a-red); }
.adm-status-refunded { background: #f3f4f6; color: #4b5563; }
.adm-stock { display: inline-grid; place-items: center; min-width: 36px; height: 26px; padding: 0 8px; border-radius: 8px; font-weight: 700; font-size: 13px; }
.adm-stock.is-ok { background: var(--a-green-50); color: var(--a-green); }
.adm-stock.is-low { background: var(--a-amber-50); color: var(--a-amber); }
.adm-stock.is-out { background: var(--a-red-50); color: var(--a-red); }
.adm-totals { margin: 0; padding: 16px 24px 20px; border-top: 1px solid var(--a-line); display: grid; gap: 8px; justify-items: end; }
.adm-totals div { display: flex; gap: 40px; justify-content: space-between; min-width: 300px; }
.adm-totals dt { font-weight: 500; color: var(--a-muted); }
.adm-totals dd { margin: 0; font-weight: 600; }
.adm-totals .is-total { padding-top: 10px; border-top: 1px dashed var(--a-line); }
.adm-totals .is-total dt, .adm-totals .is-total dd { font-size: 17px; font-weight: 800; color: var(--a-ink); }
.adm-dl { margin: 0; display: grid; gap: 12px; }
.adm-dl dt { font-size: 12px; font-weight: 700; color: var(--a-muted); text-transform: uppercase; letter-spacing: .04em; }
.adm-dl dd { margin: 2px 0 0; color: var(--a-ink-2); }
.adm-note { display: flex; gap: 10px; padding: 12px 14px; border-radius: 10px; background: var(--a-amber-50); color: #78350f; font-size: 13px; }

.adm-toolbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 16px; border-bottom: 1px solid var(--a-line); margin: 0; }
.adm-tabs { display: flex; gap: 4px; flex-wrap: wrap; flex: 1; min-width: 0; }
.adm-tabs a { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border-radius: 9px; color: var(--a-ink-2); font-weight: 600; font-size: 13px; white-space: nowrap; }
.adm-tabs a em { min-width: 22px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--a-line-2); font: 700 11px/20px var(--a-font); font-style: normal; text-align: center; color: var(--a-muted); }
.adm-tabs a:hover { background: var(--a-bg); color: var(--a-ink); }
.adm-tabs a.active { background: var(--a-ink); color: #fff; }
.adm-tabs a.active em { background: rgba(255, 255, 255, .2); color: #fff; }
.adm-search-inline { position: relative; min-width: 240px; flex: 0 1 320px; margin: 0; }
.adm-search-inline i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--a-muted); }
.adm-search-inline input { width: 100%; height: 40px; padding: 0 12px 0 36px; border: 1px solid var(--a-line); border-radius: 10px; font-size: 14px; background: #fff; }
.adm-search-inline input:focus { outline: 0; border-color: var(--a-brand); box-shadow: 0 0 0 4px var(--a-brand-100); }
.adm-pager { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 16px; border-top: 1px solid var(--a-line); font-size: 13px; color: var(--a-muted); }
.adm-pager div { display: flex; gap: 4px; }
.adm-pager a { min-width: 34px; height: 34px; display: grid; place-items: center; padding: 0 8px; border-radius: 9px; border: 1px solid var(--a-line); color: var(--a-ink-2); font-weight: 600; }
.adm-pager a:hover { border-color: var(--a-brand); color: var(--a-brand); }
.adm-pager a.active { background: var(--a-brand); border-color: var(--a-brand); color: #fff; }
.adm-pager a.disabled { opacity: .4; pointer-events: none; }
.adm-empty { text-align: center; padding: 56px 20px; color: var(--a-muted); }
.adm-empty > i { display: inline-grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: var(--a-brand-50); color: var(--a-brand); font-size: 30px; margin-bottom: 14px; }
.adm-empty h3 { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.adm-empty p { margin-bottom: 16px; }

.adm .adm-field { display: grid; gap: 6px; margin-bottom: 16px; min-width: 0; }
.adm .adm-field > label, .adm .adm-label { font-size: 13px; font-weight: 600; color: var(--a-ink-2); }
.adm .req { color: var(--a-red); }
.adm .form-control, .adm .form-select {
   height: 44px; border: 1px solid #d9dce3; border-radius: 10px; padding: 0 14px; font: 500 14px/1.4 var(--a-font); color: var(--a-ink); background-color: #fff;
   transition: border-color .15s, box-shadow .15s; box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
}
.adm textarea.form-control { height: auto; min-height: 100px; padding: 12px 14px; line-height: 1.6; resize: vertical; }
.adm .form-control::placeholder { color: #9ca3af; font-weight: 400; }
.adm .form-control:hover, .adm .form-select:hover { border-color: #c5c9d2; }
.adm .form-control:focus, .adm .form-select:focus { border-color: var(--a-brand); box-shadow: 0 0 0 4px var(--a-brand-100); outline: 0; }
.adm .form-select {
   padding-right: 40px; appearance: none; cursor: pointer;
   background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m4 6 4 4 4-4'/%3E%3C/svg%3E");
   background-repeat: no-repeat; background-position: right 14px center; background-size: 14px;
}
.adm .form-select option { color: var(--a-ink); font-weight: 500; }
.adm .form-select:disabled { background-color: var(--a-bg); opacity: .7; }
.adm .form-control-color { padding: 4px; height: 44px; }
.adm .adm-select-sm { height: 38px; font-size: 13px; min-width: 150px; width: auto; }
.adm-code { font-family: ui-monospace, Consolas, monospace !important; font-size: 13px !important; }
.adm-hint { display: block; font-size: 12px; color: var(--a-muted); }
.adm-input-icon { position: relative; }
.adm-input-icon > i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #9ca3af; z-index: 2; }
.adm-input-icon > .form-control { padding-left: 40px; }
.adm-input-prefix, .adm-input-suffix { display: flex; align-items: stretch; border: 1px solid #d9dce3; border-radius: 10px; overflow: hidden; background: #fff; transition: border-color .15s, box-shadow .15s; }
.adm-input-prefix:focus-within, .adm-input-suffix:focus-within { border-color: var(--a-brand); box-shadow: 0 0 0 4px var(--a-brand-100); }
.adm-input-prefix > span, .adm-input-suffix > span { display: grid; place-items: center; padding: 0 12px; background: var(--a-bg); color: var(--a-muted); font-size: 13px; font-weight: 600; white-space: nowrap; }
.adm-input-prefix .form-control, .adm-input-suffix .form-control { border: 0 !important; box-shadow: none !important; border-radius: 0; min-width: 0; }

.adm-switch { display: flex; align-items: center; gap: 12px; cursor: pointer; user-select: none; margin: 0 0 12px; }
.adm-switch input[type=checkbox] { position: absolute; opacity: 0; width: 1px; height: 1px; }
.adm-switch > span { position: relative; flex: 0 0 44px; width: 44px; height: 24px; border-radius: 999px; background: #d1d5db; transition: background .2s; }
.adm-switch > span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .2s cubic-bezier(.3, .7, .3, 1.3); }
.adm-switch input:checked + span { background: var(--a-green); }
.adm-switch input:checked + span::after { transform: translateX(20px); }
.adm-switch input:focus-visible + span { box-shadow: 0 0 0 4px var(--a-brand-100); }
.adm-switch strong { display: block; font-size: 14px; font-weight: 600; color: var(--a-ink); }
.adm-switch small { display: block; font-size: 12px; color: var(--a-muted); }
.adm-switch.sm { margin: 0; }
.adm-switch.sm > span { flex-basis: 38px; width: 38px; height: 21px; }
.adm-switch.sm > span::after { width: 15px; height: 15px; }
.adm-switch.sm input:checked + span::after { transform: translateX(17px); }
.adm-switch-row { padding: 12px 14px; border: 1px solid var(--a-line); border-radius: 12px; background: #fcfcfd; }

.adm-dropzone { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; border: 2px dashed #d1d5db; border-radius: 14px; background: var(--a-bg); cursor: pointer; overflow: hidden; transition: border-color .15s, background .15s; text-align: center; color: var(--a-muted); }
.adm-dropzone:hover { border-color: var(--a-brand); background: var(--a-brand-50); }
.adm-dropzone img { width: 100%; height: 100%; object-fit: contain; padding: 12px; }
.adm-dropzone span { display: grid; gap: 4px; font-weight: 600; }
.adm-dropzone span i { font-size: 32px; color: var(--a-brand); }
.adm-dropzone small { font-weight: 400; font-size: 12px; }
.adm-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 8px; margin: 6px 0; }
.adm-gallery-item, .adm-gallery-add { position: relative; aspect-ratio: 1; border-radius: 10px; border: 1px solid var(--a-line); background: var(--a-bg); overflow: hidden; cursor: pointer; }
.adm-gallery-item img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.adm-gallery-item input { position: absolute; opacity: 0; }
.adm-gallery-item span { position: absolute; top: 4px; right: 4px; width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center; background: #9ca3af; color: #fff; font-size: 12px; }
.adm-gallery-item:has(input:checked) span { background: var(--a-green); }
.adm-gallery-item:has(input:not(:checked)) img { opacity: .3; filter: grayscale(1); }
.adm-gallery-add { display: grid; place-content: center; justify-items: center; border-style: dashed; color: var(--a-brand); font-size: 22px; }
.adm-gallery-add small { font-size: 11px; font-weight: 600; }
.adm-gallery-item.is-new { border-color: var(--a-green); }
.adm-save-bar { display: flex; gap: 10px; }

.adm-toasts { display: grid; gap: 10px; margin-bottom: 18px; }
.adm-toasts:empty { display: none; }
.adm-alert { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 12px; font-weight: 500; border: 1px solid transparent; animation: admIn .3s ease; }
.adm-alert > i { font-size: 18px; }
.adm-alert-success { background: var(--a-green-50); color: #065f46; border-color: #a7f3d0; }
.adm-alert-danger { background: var(--a-red-50); color: #991b1b; border-color: #fecaca; }
.adm-alert-warning, .adm-alert-info { background: var(--a-blue-50); color: #1e40af; border-color: #bfdbfe; }
.adm-alert-close { margin-left: auto; border: 0; background: transparent; color: inherit; font-size: 20px; line-height: 1; opacity: .6; }
.adm-alert-close:hover { opacity: 1; }
@keyframes admIn { from { opacity: 0; transform: translateY(-6px); } }
.adm-banner { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 14px; margin-bottom: 24px; border: 1px solid transparent; }
.adm-banner > i { font-size: 22px; }
.adm-banner.is-success { background: var(--a-green-50); color: #065f46; border-color: #a7f3d0; }
.adm-banner.is-warning { background: var(--a-amber-50); color: #78350f; border-color: #fde68a; }

.adm-gateways { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 20px; align-items: start; }
.adm-gateway { background: #fff; border: 1px solid var(--a-line); border-radius: var(--a-radius); box-shadow: var(--a-shadow); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.adm-gateway.is-on { border-color: #a7f3d0; box-shadow: 0 0 0 3px var(--a-green-50); }
.adm-gateway header { display: flex; align-items: center; gap: 14px; padding: 18px 20px; }
.adm-gateway header h2 { font-size: 15px; font-weight: 700; margin: 0; }
.adm-gateway header small { color: var(--a-muted); font-size: 12px; }
.adm-gateway header .adm-switch { margin: 0; }
.adm-gw-icon { width: 46px; height: 46px; flex: 0 0 46px; border-radius: 12px; display: grid; place-items: center; background: var(--a-bg); color: var(--a-ink-2); font-size: 22px; }
.adm-gateway.is-on .adm-gw-icon { background: var(--a-green-50); color: var(--a-green); }
.adm-gw-toggle { display: flex; align-items: center; gap: 8px; width: 100%; padding: 12px 20px; border: 0; border-top: 1px solid var(--a-line-2); background: #fafbfc; color: var(--a-ink-2); font-weight: 600; font-size: 13px; }
.adm-gw-toggle .bi-chevron-down { transition: transform .2s; }
.adm-gw-toggle:not(.collapsed) .bi-chevron-down { transform: rotate(180deg); }
.adm-gw-body { padding: 18px 20px 6px; border-top: 1px solid var(--a-line-2); }

.adm-settings { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 24px; align-items: start; }
.adm-vtabs { flex-direction: column; gap: 4px; padding: 8px; background: #fff; border: 1px solid var(--a-line); border-radius: var(--a-radius); position: sticky; top: 88px; }
.adm-vtabs .nav-link { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 10px; color: var(--a-ink-2); font-weight: 600; text-align: left; border: 0; background: none; }
.adm-vtabs .nav-link:hover { background: var(--a-bg); }
.adm-vtabs .nav-link.active { background: var(--a-brand-50); color: var(--a-brand-600); }
.adm-vtabs .nav-link i { font-size: 17px; }
.adm-settings-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
.adm-settings-fields .span-2 { grid-column: 1 / -1; }

.adm-accordion .accordion-item { border: 1px solid var(--a-line); border-radius: 12px !important; overflow: hidden; margin-bottom: 10px; background: #fff; }
.adm-accordion .accordion-item.is-unread { border-left: 4px solid var(--a-brand); }
.adm-accordion .accordion-button { gap: 12px; padding: 14px 18px; background: #fff; box-shadow: none !important; font-size: 14px; color: var(--a-ink); }
.adm-accordion .accordion-button:not(.collapsed) { background: var(--a-brand-50); color: var(--a-ink); }
.adm-accordion .accordion-button::after { background-size: 14px; }
.adm-msg-head { display: grid; min-width: 0; flex: 1; }
.adm-msg-head small { color: var(--a-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.is-unread .adm-msg-head strong { font-weight: 800; }
.adm-msg-date { font-size: 12px; color: var(--a-muted); margin-right: 10px; white-space: nowrap; }
.adm-msg-meta { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 12px; font-size: 13px; }
.adm-msg-body { white-space: pre-line; padding: 14px 16px; border-radius: 10px; background: var(--a-bg); color: var(--a-ink-2); line-height: 1.7; }

.adm-social-list { list-style: none; margin: 0; padding: 0; }
.adm-social-list li { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--a-line-2); }
.adm-social-list li:last-child { border-bottom: 0; }
.adm-social-list li.is-off { opacity: .55; }
.adm-social-list li.is-selected { background: var(--a-brand-50); }
.adm-social-icon { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 10px; display: grid; place-items: center; color: #fff; font-size: 18px; }
.adm-social-text { flex: 1; min-width: 0; }
.adm-social-text strong { display: block; }
.adm-social-text small { display: block; color: var(--a-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.adm-ribbon-preview { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; margin-bottom: 16px; border-radius: 12px; background: var(--a-bg); font-size: 12px; color: var(--a-muted); font-weight: 600; }
.adm-ribbon-preview a { display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 16px 0 0; border-radius: 10px 0 0 10px; color: #fff !important; box-shadow: 0 4px 14px -4px rgba(0, 0, 0, .35); }
.adm-ribbon-preview a i { width: 40px; text-align: center; font-size: 18px; }
.adm-ribbon-preview em { font-style: normal; font-weight: 600; font-size: 13px; }

body.adm-login { display: grid; place-items: center; min-height: 100vh; padding: 20px; background: radial-gradient(circle at 15% 15%, var(--a-brand-100), transparent 40%), radial-gradient(circle at 85% 85%, #e0e7ff, transparent 40%), var(--a-bg); }
.adm-login-card { width: 100%; max-width: 420px; background: #fff; border-radius: 20px; padding: 36px; box-shadow: var(--a-shadow-lg); }
.adm-login-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; }
.adm-login-brand strong { display: block; font-size: 16px; }
.adm-login-brand small { color: var(--a-muted); }
.adm-login-card h1 { font-size: 24px; font-weight: 800; margin: 0 0 4px; }
.adm-login-back { display: block; text-align: center; margin-top: 20px; font-size: 13px; color: var(--a-muted) !important; }

@media (max-width: 1399.98px) { .adm-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1199.98px) { .adm-grid-2-1 { grid-template-columns: minmax(0, 1fr); } .adm-sticky { position: static; } }
@media (max-width: 991.98px) {
   .adm-sidebar { width: auto; flex: none; }
   .adm-settings { grid-template-columns: minmax(0, 1fr); }
   .adm-vtabs { position: static; flex-direction: row; overflow-x: auto; flex-wrap: nowrap; }
   .adm-vtabs .nav-link { white-space: nowrap; }
}
@media (max-width: 767.98px) {
   .adm-kpis, .adm-grid-2, .adm-settings-fields { grid-template-columns: minmax(0, 1fr); }
   .adm-main { padding-top: 20px; }
   .adm-page-head h1 { font-size: 22px; }
   .adm-search { display: none; }
   .adm-search-inline { flex: 1 1 100%; min-width: 0; }
   .adm-totals div { min-width: 0; width: 100%; }
   .adm-gateways { grid-template-columns: minmax(0, 1fr); }
   .adm-chart { gap: 4px; }
}

@media print {
   .adm-sidebar, .adm-topbar, .adm-footer, .adm-page-actions, form.adm-card, .adm-toasts { display: none !important; }
   body.adm { background: #fff; }
   .adm-grid-2-1 { grid-template-columns: 1fr; }
   .adm-card { box-shadow: none; border-color: #ddd; break-inside: avoid; }
}

.adm-images { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 12px; }
.adm-img-item { position: relative; aspect-ratio: 1; border-radius: 14px; border: 1px solid var(--a-line); background: #fff; overflow: hidden; cursor: grab; box-shadow: var(--a-shadow); transition: transform .15s, box-shadow .15s, border-color .15s; }
.adm-img-item:hover { box-shadow: var(--a-shadow-lg); transform: translateY(-2px); }
.adm-img-item img { width: 100%; height: 100%; object-fit: contain; padding: 10px; pointer-events: none; }
.adm-img-item.is-dragging { opacity: .4; transform: scale(.96); }
.adm-img-item.is-new { border-color: #a7f3d0; }
.adm-img-cover, .adm-img-new { position: absolute; top: 8px; left: 8px; height: 22px; padding: 0 8px; border-radius: 999px; font: 700 11px/22px var(--a-font); color: #fff; }
.adm-img-cover { display: none; background: var(--a-brand); }
.adm-img-new { left: auto; right: 8px; background: var(--a-green); }
.adm-img-item:first-child { border: 2px solid var(--a-brand); }
.adm-img-item:first-child .adm-img-cover { display: block; }
.adm-img-item:first-child .js-img-cover { display: none; }
.adm-img-tools { position: absolute; inset: auto 8px 8px 8px; display: flex; justify-content: flex-end; gap: 6px; opacity: 0; transform: translateY(6px); transition: all .15s; }
.adm-img-item:hover .adm-img-tools, .adm-img-item:focus-within .adm-img-tools { opacity: 1; transform: none; }
.adm-img-tools button { width: 32px; height: 32px; border: 0; border-radius: 9px; background: rgba(17, 24, 39, .82); color: #fff; display: grid; place-items: center; }
.adm-img-tools .js-img-cover:hover { background: var(--a-amber); }
.adm-img-tools .js-img-remove:hover { background: var(--a-red); }
.adm-img-drop { aspect-ratio: 1; display: grid; place-content: center; justify-items: center; gap: 4px; padding: 10px; text-align: center; border: 2px dashed #cbd0d9; border-radius: 14px; background: var(--a-bg); color: var(--a-muted); cursor: pointer; transition: all .15s; }
.adm-img-drop i { font-size: 28px; color: var(--a-brand); }
.adm-img-drop strong { color: var(--a-ink); font-size: 14px; }
.adm-img-drop small { font-size: 11px; line-height: 1.3; }
.adm-img-drop:hover, .adm-img-drop.is-over { border-color: var(--a-brand); background: var(--a-brand-50); }
@media (hover: none) { .adm-img-tools { opacity: 1; transform: none; } }
.adm-pass .form-control { padding-right: 44px; }
.adm-pass-btn { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border: 0; border-radius: 8px; background: transparent; color: var(--a-muted); }
.adm-pass-btn:hover { background: var(--a-bg); color: var(--a-ink); }
.adm-strength { position: relative; height: 6px; border-radius: 999px; background: var(--a-line-2); margin-top: 4px; }
.adm-strength::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 0; border-radius: inherit; transition: width .25s, background .25s; }
.adm-strength span { position: absolute; right: 0; top: 8px; font-size: 11px; font-weight: 700; color: var(--a-muted); }
.adm-strength[data-level="1"]::before { width: 25%; background: var(--a-red); }
.adm-strength[data-level="2"]::before { width: 50%; background: var(--a-amber); }
.adm-strength[data-level="3"]::before { width: 75%; background: #84cc16; }
.adm-strength[data-level="4"]::before { width: 100%; background: var(--a-green); }
.adm-mini-orders { list-style: none; margin: 0; padding: 0 0 8px; }
.adm-mini-orders li { display: flex; align-items: center; gap: 10px; padding: 10px 24px; border-top: 1px solid var(--a-line-2); }
.adm-mini-orders a { flex: 1; min-width: 0; color: var(--a-ink); }
.adm-mini-orders a small { display: block; color: var(--a-muted); }
.adm-address { padding: 10px 0; border-top: 1px solid var(--a-line-2); font-size: 13px; }
.adm-address:first-of-type { border-top: 0; padding-top: 0; }
.adm-address small { color: var(--a-muted); }
.adm-btn.justify-content-start { justify-content: flex-start; }

.mail { display: grid; grid-template-columns: 230px minmax(340px, 1fr) minmax(0, 1.25fr); gap: 0; height: calc(100vh - 210px); min-height: 560px; background: #fff; border: 1px solid var(--a-line); border-radius: var(--a-radius); box-shadow: var(--a-shadow); overflow: hidden; }
.mail-side { padding: 14px 10px; border-right: 1px solid var(--a-line); background: #f8fafd; display: flex; flex-direction: column; gap: 14px; overflow-y: auto; }
.mail-folders { display: grid; gap: 2px; }
.mail-folders a { display: flex; align-items: center; gap: 14px; height: 38px; padding: 0 14px; border-radius: 0 20px 20px 0; margin-left: -10px; padding-left: 24px; color: #202124; font-size: 14px; }
.mail-folders a i { font-size: 17px; color: #5f6368; }
.mail-folders a em { margin-left: auto; font: 700 12px/1 var(--a-font); font-style: normal; color: #202124; }
.mail-folders a:hover { background: #eaebef; color: #202124; }
.mail-folders a.active { background: #d3e3fd; font-weight: 700; color: #001d35; }
.mail-folders a.active i { color: #001d35; }
.mail-side-info { margin-top: auto; font-size: 12px; color: var(--a-muted); padding: 10px; }
.mail-list { display: flex; flex-direction: column; min-width: 0; border-right: 1px solid var(--a-line); }
.mail-search { position: relative; margin: 12px 14px 6px; }
.mail-search > i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: #5f6368; }
.mail-search input { width: 100%; height: 46px; border: 0; border-radius: 999px; background: #eaf1fb; padding: 0 44px 0 46px; font-size: 15px; color: #202124; transition: background .15s, box-shadow .15s; }
.mail-search input:focus { outline: 0; background: #fff; box-shadow: 0 1px 3px rgba(60, 64, 67, .3), 0 4px 8px 3px rgba(60, 64, 67, .15); }
.mail-search a { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: #5f6368; }
.mail-toolbar { display: flex; align-items: center; gap: 4px; padding: 4px 10px; border-bottom: 1px solid var(--a-line); min-height: 48px; margin: 0; }
.mail-toolbar button, .mail-reader-bar button, .mail-refresh, .mail-nav { width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: #444746; display: inline-grid; place-items: center; font-size: 16px; }
.mail-toolbar button:hover, .mail-reader-bar button:hover, .mail-refresh:hover, .mail-nav:hover { background: #eaebef; color: #202124; }
.mail-nav.disabled { opacity: .35; pointer-events: none; }
.mail-bulk { display: none; align-items: center; gap: 2px; }
.mail-bulk.is-on { display: flex; }
.mail-sep { width: 1px; height: 20px; background: var(--a-line); margin: 0 4px; }
.mail-count { margin-left: auto; font-size: 12px; color: #5f6368; padding: 0 6px; white-space: nowrap; }
.mail-empty-trash { width: auto !important; border-radius: 999px !important; padding: 0 12px; font-size: 13px !important; font-weight: 600; color: var(--a-red) !important; }
.mail-check { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; cursor: pointer; margin: 0; flex: 0 0 36px; }
.mail-check:hover { background: #eaebef; }
.mail-check input { position: absolute; opacity: 0; }
.mail-check span { width: 18px; height: 18px; border: 2px solid #5f6368; border-radius: 3px; display: grid; place-items: center; transition: all .1s; }
.mail-check input:checked + span { background: #0b57d0; border-color: #0b57d0; }
.mail-check input:checked + span::after { content: "\F633"; font-family: "bootstrap-icons"; color: #fff; font-size: 13px; }
.mail-check input:indeterminate + span { background: #0b57d0; border-color: #0b57d0; }
.mail-check input:indeterminate + span::after { content: ""; width: 8px; height: 2px; background: #fff; }
.mail-rows { list-style: none; margin: 0; padding: 0; overflow-y: auto; flex: 1; }
.mail-row { position: relative; display: flex; align-items: center; gap: 0; padding: 0 8px 0 6px; height: 52px; border-bottom: 1px solid #f1f3f4; background: #f2f6fc; transition: box-shadow .1s; }
.mail-row.is-unread { background: #fff; }
.mail-row:hover { box-shadow: inset 1px 0 0 #dadce0, inset -1px 0 0 #dadce0, 0 1px 2px 0 rgba(60, 64, 67, .3), 0 1px 3px 1px rgba(60, 64, 67, .15); z-index: 1; }
.mail-row.is-selected { background: #c2dbff; }
.mail-row.is-active { background: #e8f0fe; box-shadow: inset 4px 0 0 #0b57d0; }
.mail-star { width: 32px; height: 32px; border: 0; border-radius: 50%; background: transparent; color: #c4c7c5; display: inline-grid; place-items: center; flex: 0 0 32px; }
.mail-star:hover { background: #eaebef; color: #444746; }
.mail-star.on { color: #f4b400; }
.mail-link { flex: 1; min-width: 0; display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; align-items: center; gap: 12px; height: 100%; color: #202124 !important; padding-left: 6px; }
.mail-from { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.mail-subject { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.mail-subject strong { font-weight: 400; }
.mail-subject span { color: #5f6368; }
.mail-row.is-unread .mail-from, .mail-row.is-unread .mail-subject strong, .mail-row.is-unread .mail-date { font-weight: 700; color: #202124; }
.mail-date { font-size: 12px; color: #5f6368; white-space: nowrap; padding-right: 6px; }
.mail-hover { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); display: none; background: inherit; }
.mail-hover form { display: flex; gap: 2px; margin: 0; }
.mail-hover button { width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: #444746; }
.mail-hover button:hover { background: #e3e3e3; }
.mail-row:hover .mail-hover { display: block; }
.mail-row:hover .mail-date { visibility: hidden; }
.mail-empty, .mail-reader-empty { flex: 1; display: grid; place-content: center; justify-items: center; text-align: center; color: #5f6368; padding: 40px; height: 100%; }
.mail-empty i, .mail-reader-empty i { font-size: 54px; color: #c4c7c5; margin-bottom: 8px; }
.mail-empty h3 { font-size: 18px; color: #202124; }
.mail-reader { display: flex; flex-direction: column; min-width: 0; overflow-y: auto; background: #fff; }
.mail-reader-bar { position: sticky; top: 0; display: flex; align-items: center; gap: 4px; padding: 6px 14px; border-bottom: 1px solid var(--a-line); background: #fff; z-index: 2; }
.mail-back { width: 36px; height: 36px; border-radius: 50%; display: none; place-items: center; color: #444746; }
.mail-message { padding: 20px 28px 32px; }
.mail-message header { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 18px; }
.mail-message h2 { flex: 1; font-size: 22px; font-weight: 400; color: #1f1f1f; margin: 0; line-height: 1.35; }
.mail-tag { display: inline-block; vertical-align: middle; font-size: 12px; padding: 2px 8px; border-radius: 4px; background: #ddd; color: #444; margin-left: 6px; }
.mail-sender { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 22px; }
.mail-sender > div { flex: 1; min-width: 0; font-size: 14px; }
.mail-sender small { display: block; color: #5f6368; font-size: 12px; margin-top: 2px; }
.mail-sender time { font-size: 12px; color: #5f6368; white-space: nowrap; }
.mail-avatar { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 50%; display: grid; place-items: center; background: hsl(var(--h), 55%, 48%); color: #fff; font-weight: 600; font-size: 17px; }
.mail-body { font-size: 15px; line-height: 1.75; color: #222; padding-left: 52px; word-break: break-word; }
.mail-replied { padding-left: 52px; margin-top: 18px; font-size: 13px; color: var(--a-green); }
.mail-actions { display: flex; flex-wrap: wrap; gap: 10px; padding-left: 52px; margin-top: 28px; }
.mail-btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 22px; border: 1px solid #747775; border-radius: 999px; color: #444746 !important; font-weight: 600; font-size: 14px; transition: background .15s; }
.mail-btn:hover { background: #f1f3f4; }
@media (max-width: 1399.98px) {
   .mail { grid-template-columns: 210px minmax(0, 1fr); }
   .mail-reader { display: none; }
   .mail.is-reading .mail-list { display: none; }
   .mail.is-reading .mail-reader { display: flex; }
   .mail-back { display: inline-grid; }
}
@media (max-width: 767.98px) {
   .mail { grid-template-columns: minmax(0, 1fr); height: auto; min-height: 0; }
   .mail-side { border-right: 0; border-bottom: 1px solid var(--a-line); padding: 8px; }
   .mail-folders { display: flex; overflow-x: auto; }
   .mail-folders a { margin: 0; border-radius: 999px; padding: 0 12px; white-space: nowrap; }
   .mail-side-info { display: none; }
   .mail-link { grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; row-gap: 0; }
   .mail-subject { grid-column: 1 / -1; font-size: 13px; }
   .mail-row { height: 64px; }
   .mail-body, .mail-actions, .mail-replied { padding-left: 0; }
}
.adm-subnav { display: flex; flex-wrap: wrap; gap: 4px; padding: 6px; margin-bottom: 22px; background: #fff; border: 1px solid var(--a-line); border-radius: 14px; box-shadow: var(--a-shadow); }
.adm-subnav a { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 10px; color: var(--a-ink-2) !important; font-weight: 600; }
.adm-subnav a em { font-style: normal; min-width: 22px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--a-line-2); font-size: 11px; display: grid; place-items: center; }
.adm-subnav a:hover { background: var(--a-bg); }
.adm-subnav a.active { background: var(--a-brand-50); color: var(--a-brand-600) !important; }
.adm-seg { display: inline-flex; padding: 4px; gap: 2px; background: #fff; border: 1px solid var(--a-line); border-radius: 12px; }
.adm-seg a { height: 34px; padding: 0 14px; display: grid; place-items: center; border-radius: 9px; color: var(--a-ink-2) !important; font-weight: 600; font-size: 13px; white-space: nowrap; }
.adm-seg a:hover { background: var(--a-bg); }
.adm-seg a.active { background: var(--a-ink); color: #fff !important; }
.adm-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.adm-grid-1-2 { display: grid; grid-template-columns: minmax(280px, 1fr) minmax(0, 2fr); gap: 24px; margin-bottom: 24px; align-items: start; }
.adm-hbars { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.adm-hbars li { display: grid; grid-template-columns: minmax(0, 120px) minmax(0, 1fr) auto auto; align-items: center; gap: 10px; font-size: 13px; }
.adm-hbars li > span:first-child, .adm-hbars li > a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--a-ink-2); font-weight: 500; }
.adm-hbars small { color: var(--a-muted); min-width: 34px; text-align: right; }
.adm-hbar { display: block; height: 8px; border-radius: 999px; background: var(--a-line-2); overflow: hidden; }
.adm-hbar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #ff8a65, var(--a-brand)); }
.adm-chart.is-red .adm-bar span { background: linear-gradient(180deg, #f87171, var(--a-red)); }
.adm-chart-dual .adm-bar { position: relative; }
.adm-chart-dual .adm-bar span { background: linear-gradient(180deg, #93c5fd, var(--a-blue)); opacity: .85; }
.adm-dot { position: absolute; left: 50%; transform: translateX(-50%); min-width: 22px; height: 22px; padding: 0 5px; border-radius: 999px; background: var(--a-brand); color: #fff; font: 700 10px/22px var(--a-font); text-align: center; box-shadow: 0 0 0 3px #fff; z-index: 2; }
.adm-legend-inline { display: flex; gap: 16px; font-size: 12px; color: var(--a-muted); }
.adm-legend-inline i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; vertical-align: -2px; margin-right: 4px; }
.adm-legend-inline .is-bar { background: var(--a-blue); }
.adm-legend-inline .is-dot { background: var(--a-brand); border-radius: 50%; }
.adm-live { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 999px; background: var(--a-green-50); color: #065f46; font-size: 13px; }
.adm-live i { width: 9px; height: 9px; border-radius: 50%; background: var(--a-green); animation: admPulse 1.6s infinite; }
@keyframes admPulse { 50% { box-shadow: 0 0 0 6px rgba(5, 150, 105, .15); } }
.adm-src { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; font-size: 11px; font-weight: 700; background: var(--a-line-2); color: var(--a-ink-2); white-space: nowrap; }
.adm-src-search { background: var(--a-blue-50); color: var(--a-blue); }
.adm-src-social { background: #fdf2f8; color: #db2777; }
.adm-src-referral { background: var(--a-amber-50); color: var(--a-amber); }
.adm-src-campaign { background: var(--a-green-50); color: var(--a-green); }
.adm-src-internal { background: var(--a-purple-50); color: var(--a-purple); }
.adm-code-status { font: 700 12px/1 ui-monospace, Consolas, monospace; color: var(--a-green); }
.adm-code-status.is-err { color: var(--a-red); }
.adm-mix-bar { display: flex; height: 30px; border-radius: 10px; overflow: hidden; margin: -8px 0 24px; box-shadow: var(--a-shadow); font-size: 12px; font-weight: 700; color: #fff; }
.adm-mix-bar span { display: grid; place-items: center; white-space: nowrap; overflow: hidden; }
.adm-mix-bar span:first-child { background: var(--a-blue); }
.adm-mix-bar span:last-child { background: var(--a-purple); }
.adm-table-sm td { padding: 10px 14px; font-size: 13px; }
.adm-table-sm th { padding: 10px 14px; }
.adm-table tr.is-bot td { background: #fbfaff; }
.adm-table tr.is-warn td { background: #fffaf3; }
.adm-btn-xs { height: 30px; padding: 0 10px; font-size: 12px; border-radius: 8px; gap: 6px; }
.adm-mono { font-family: ui-monospace, Consolas, monospace; font-size: 12.5px; }
.adm-cell-wrap { max-width: 320px; word-break: break-word; white-space: normal; }
.adm-sev { display: inline-flex; height: 22px; padding: 0 8px; border-radius: 6px; font-size: 11px; font-weight: 800; align-items: center; }
.adm-sev-dusuk { background: var(--a-line-2); color: var(--a-muted); }
.adm-sev-orta { background: var(--a-amber-50); color: var(--a-amber); }
.adm-sev-yuksek { background: #fff1e6; color: #c2410c; }
.adm-sev-kritik { background: var(--a-red); color: #fff; }
.adm-kv { margin: 0 0 16px; display: grid; gap: 0; }
.adm-kv div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--a-line-2); font-size: 13px; }
.adm-kv dt { color: var(--a-muted); font-weight: 600; }
.adm-kv dd { margin: 0; font-weight: 600; text-align: right; word-break: break-all; }
.adm-ext-list { display: flex; flex-wrap: wrap; gap: 6px; }
.adm-ext-list span { display: inline-flex; align-items: center; gap: 4px; height: 26px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.adm-ext-list .is-ok { background: var(--a-green-50); color: var(--a-green); }
.adm-ext-list .is-bad { background: var(--a-red-50); color: var(--a-red); }
.adm-ext-list .is-opt { background: var(--a-line-2); color: var(--a-muted); }
.adm-checklist { list-style: none; margin: 0; padding: 0; }
.adm-checklist li { display: flex; align-items: center; gap: 14px; padding: 14px 24px; border-top: 1px solid var(--a-line-2); }
.adm-checklist.is-compact li { padding: 10px 0; }
.adm-checklist li:first-child { border-top: 0; }
.adm-checklist li > i { font-size: 20px; }
.adm-checklist li.is-ok > i { color: var(--a-green); }
.adm-checklist li.is-bad > i { color: var(--a-amber); }
.adm-checklist li div { flex: 1; min-width: 0; }
.adm-checklist strong { display: block; font-size: 14px; }
.adm-checklist small { display: block; color: var(--a-muted); font-size: 12px; }
.adm-score-card { text-align: center; }
.adm-score { --p: 0; --c: var(--a-green); width: 170px; height: 170px; margin: 6px auto 16px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--c) calc(var(--p) * 1%), var(--a-line-2) 0); }
.adm-score span { width: 136px; height: 136px; border-radius: 50%; background: #fff; display: grid; place-content: center; }
.adm-score strong { font-size: 44px; font-weight: 800; line-height: 1; }
.adm-score small { color: var(--a-muted); }
.adm-score-card h2 { font-size: 18px; font-weight: 800; }
.adm-mini-stats { list-style: none; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.adm-mini-stats li { padding: 12px 6px; border-radius: 12px; background: var(--a-bg); }
.adm-mini-stats strong { display: block; font-size: 20px; }
.adm-mini-stats small { color: var(--a-muted); font-size: 11px; }
.adm-feature-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.adm-feature-grid div { display: grid; grid-template-columns: 40px 1fr; gap: 2px 12px; padding: 14px; border-radius: 12px; background: var(--a-bg); }
.adm-feature-grid i { grid-row: span 2; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: #fff; color: var(--a-brand); font-size: 18px; box-shadow: var(--a-shadow); }
.adm-feature-grid small { color: var(--a-muted); font-size: 12px; }
.adm-serp { padding: 16px 18px; margin-bottom: 16px; border-radius: 12px; border: 1px solid var(--a-line); background: #fff; font-family: Arial, sans-serif; }
.adm-serp small { display: block; color: #202124; font-size: 12px; margin-bottom: 4px; }
.adm-serp strong { display: block; color: #1a0dab; font-size: 19px; font-weight: 400; line-height: 1.3; margin-bottom: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.adm-serp p { color: #4d5156; font-size: 13.5px; line-height: 1.55; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.adm-serp.is-compact { margin: 0; }
.adm-serp.is-compact strong { font-size: 16px; }
.adm-meta-list { display: grid; }
.adm-meta-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 20px; padding: 18px 24px; border-bottom: 1px solid var(--a-line-2); }
.adm-meta-fields .adm-field { margin-bottom: 10px; }
.adm-meta-fields label { display: flex; justify-content: space-between; }
.adm-len { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.adm-len-ok { background: var(--a-green-50); color: var(--a-green); }
.adm-len-warn { background: var(--a-amber-50); color: var(--a-amber); }
.adm-len-bad { background: var(--a-red-50); color: var(--a-red); }
.adm-input-lg { height: 52px !important; font-size: 18px !important; font-weight: 600 !important; }
.adm-editor-bar { display: flex; flex-wrap: wrap; gap: 4px; padding: 6px; border: 1px solid #d9dce3; border-bottom: 0; border-radius: 10px 10px 0 0; background: var(--a-bg); }
.adm-editor-bar button { height: 32px; min-width: 34px; padding: 0 8px; border: 0; border-radius: 7px; background: transparent; color: var(--a-ink-2); font-weight: 700; font-size: 13px; }
.adm-editor-bar button:hover { background: #fff; color: var(--a-brand); box-shadow: var(--a-shadow); }
.adm-editor-bar + textarea.form-control { border-top-left-radius: 0; border-top-right-radius: 0; }
.adm-hours { display: grid; gap: 8px; }
.adm-hours-row { display: grid; grid-template-columns: 110px 1fr auto 1fr auto; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 10px; background: var(--a-bg); }
.adm-hours-row:has(input[type=checkbox]:checked) input[type=time] { opacity: .35; pointer-events: none; }
.adm-hours-row .adm-switch { margin: 0; gap: 8px; }
.adm-hours-row .form-control { height: 38px; }
.adm-store-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.adm-store { background: #fff; border: 1px solid var(--a-line); border-radius: var(--a-radius); overflow: hidden; box-shadow: var(--a-shadow); display: flex; flex-direction: column; }
.adm-store.is-off { opacity: .6; }
.adm-store-img { position: relative; aspect-ratio: 16 / 7; background: linear-gradient(135deg, var(--a-brand-50), #ffe9e1); display: grid; place-items: center; }
.adm-store-img img { width: 100%; height: 100%; object-fit: cover; }
.adm-store-img > i { font-size: 42px; color: var(--a-brand); opacity: .6; }
.adm-store-img .adm-chip { position: absolute; top: 10px; right: 10px; background: var(--a-brand); color: #fff; }
.adm-store-body { padding: 16px 18px; display: grid; gap: 6px; }
.adm-store-body h3 { font-size: 16px; font-weight: 800; margin: 0 0 4px; }
.adm-store-body p { margin: 0; font-size: 13px; color: var(--a-muted); }
.adm-store footer { display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-top: 1px solid var(--a-line-2); margin-top: auto; }
.adm-store footer .adm-switch { margin: 0; gap: 8px; }
.adm-module-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; max-height: 300px; overflow: auto; }
.adm-module-list li { display: grid; grid-template-columns: 1fr auto; gap: 0 10px; padding: 8px 0; border-bottom: 1px solid var(--a-line-2); font-size: 13px; }
.adm-module-list small { grid-column: 1 / -1; color: var(--a-muted); font-size: 12px; }
.adm-log-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.adm-log-tabs a { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 9px; border: 1px solid var(--a-line); color: var(--a-ink-2) !important; font-size: 13px; font-weight: 600; }
.adm-log-tabs a small { color: var(--a-muted); font-weight: 400; }
.adm-log-tabs a.active { background: var(--a-ink); color: #fff !important; border-color: var(--a-ink); }
.adm-log { margin: 16px 0 0; max-height: 460px; overflow: auto; padding: 16px; border-radius: 12px; background: #0f172a; color: #cbd5e1; font: 12px/1.7 ui-monospace, Consolas, monospace; white-space: pre-wrap; word-break: break-all; }
.adm-kpis-6 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1199.98px) { .adm-grid-3, .adm-grid-1-2 { grid-template-columns: minmax(0, 1fr); } .adm-meta-row { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 767.98px) { .adm-hours-row { grid-template-columns: 1fr 1fr; } .adm-hours-row strong { grid-column: 1 / -1; } .adm-hours-row > span { display: none; } .adm-hbars li { grid-template-columns: minmax(0, 90px) minmax(0, 1fr) auto; } .adm-hbars small { display: none; } }
.adm-opts { display: grid; gap: 12px; }
.adm-opt { border: 1px solid var(--a-line); border-radius: 14px; padding: 14px; background: #fcfcfd; }
.adm-opt-head { display: grid; grid-template-columns: minmax(0, 1fr) 210px auto auto; gap: 10px; align-items: center; margin-bottom: 12px; }
.adm-opt-values { display: grid; gap: 8px; }
.adm-opt-val { display: grid; grid-template-columns: 44px minmax(0, 1fr) 110px auto; gap: 8px; align-items: center; }
.adm-opt-values:not(.is-color) .js-hex { visibility: hidden; width: 0; padding: 0; border: 0; }
.adm-opt-values:not(.is-color) .adm-opt-val { grid-template-columns: 0 minmax(0, 1fr) 110px auto; gap: 8px; }
.adm-opt-values .js-val-add { justify-self: start; }
.adm-opt-presets { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; font-size: 13px; color: var(--a-muted); }
.adm-opt-presets .adm-chip { border: 1px dashed var(--a-brand); background: var(--a-brand-50); color: var(--a-brand-600); cursor: pointer; }
.adm-quote-product { display: flex; align-items: center; gap: 14px; }
.adm-quote-product img { width: 70px; height: 70px; object-fit: contain; border-radius: 12px; background: var(--a-bg); padding: 4px; }
.adm-quote-product > div:nth-child(2) { flex: 1; display: grid; gap: 4px; }
.adm-quote-product small { color: var(--a-muted); }
.adm-quote-qty { text-align: center; padding: 8px 16px; border-radius: 12px; background: var(--a-brand-50); }
.adm-quote-qty strong { display: block; font-size: 22px; color: var(--a-brand-600); }
.adm-table tr.is-new td { background: #fffaf5; font-weight: 500; }
@media (max-width: 767.98px) { .adm-opt-head { grid-template-columns: 1fr 1fr; } }
.adm-showcase { display: grid; gap: 16px; }
.adm-sc-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.adm-sc-title { display: flex; align-items: center; gap: 14px; min-width: 0; flex: 1; }
.adm-sc-count { flex: 0 0 58px; height: 58px; border-radius: 16px; display: grid; place-content: center; text-align: center; background: var(--a-brand-50); color: var(--a-brand-600); font-size: 22px; font-weight: 800; line-height: 1; }
.adm-sc-count small { font-size: 10px; font-weight: 600; }
.adm-sc-title > div { min-width: 0; display: grid; gap: 2px; flex: 1; }
.adm-sc-label { border: 0; border-bottom: 1px dashed transparent; font-size: 16px; font-weight: 700; color: var(--a-ink); padding: 2px 0; background: transparent; width: 100%; }
.adm-sc-label:hover, .adm-sc-label:focus { border-bottom-color: var(--a-brand); outline: 0; }
.adm-sc-title code { font-size: 11px; justify-self: start; }
.adm-sc-source { display: flex; gap: 8px; flex-wrap: wrap; }
.adm-sc-source .form-select { width: auto; min-width: 200px; }
.adm-sc-manual { margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--a-line); }
.adm-sc-picker { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 8px; max-height: 320px; overflow: auto; padding: 2px; }
.adm-sc-item { display: flex; align-items: center; gap: 10px; padding: 8px; border: 1.5px solid var(--a-line); border-radius: 12px; cursor: pointer; margin: 0; font-size: 13px; transition: all .15s; }
.adm-sc-item input { accent-color: var(--a-brand); }
.adm-sc-item img { width: 40px; height: 40px; object-fit: contain; border-radius: 8px; background: var(--a-bg); }
.adm-sc-item span { display: grid; min-width: 0; line-height: 1.3; }
.adm-sc-item small { color: var(--a-muted); }
.adm-sc-item:has(input:checked) { border-color: var(--a-brand); background: var(--a-brand-50); }
.adm-save-sticky { position: sticky; bottom: 16px; z-index: 5; justify-content: flex-end; padding: 12px; border-radius: 16px; background: rgba(255, 255, 255, .9); backdrop-filter: blur(8px); box-shadow: var(--a-shadow-lg); }
.adm-banner-edit { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 22px; align-items: start; }
.adm-banner-img .adm-dropzone { aspect-ratio: 4 / 3; }
@media (max-width: 767.98px) { .adm-banner-edit { grid-template-columns: minmax(0, 1fr); } }
.adm-sc-group { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 6px 14px; margin: 26px 0 10px; padding: 14px 18px; border-radius: 14px; background: linear-gradient(90deg, var(--adm-primary-50, #eef2ff), transparent); border-left: 4px solid var(--adm-primary, #4f46e5); }
.adm-sc-group:first-of-type { margin-top: 6px; }
.adm-sc-group label { font-weight: 700; margin: 0; white-space: nowrap; }
.adm-sc-group input { font-weight: 700; font-size: 16px; }
.adm-sc-group small { grid-column: 2; color: var(--adm-muted, #6b7280); }
.adm-sc-kind { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--adm-primary, #4f46e5); }
.adm-logo.is-seller, .adm-avatar.is-seller { background: linear-gradient(135deg, #7c3aed, #2563eb); }
body.is-seller .adm-nav a.active { box-shadow: inset 3px 0 0 #8b5cf6; }
.adm-nav a.is-locked { opacity: .55; }
.adm-side-status { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 12px 12px; color: var(--a-side-text); font-size: 12px; }
.adm-banner.is-info { background: var(--a-blue-50); color: #1e3a8a; border-color: #bfdbfe; }
.adm-banner.is-danger { background: var(--a-red-50); color: #7f1d1d; border-color: #fecaca; }

.adm-act { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; background: var(--a-line-2); color: var(--a-ink-2); }
.adm-act.is-green { background: var(--a-green-50); color: var(--a-green); }
.adm-act.is-blue { background: var(--a-blue-50); color: var(--a-blue); }
.adm-act.is-red { background: var(--a-red-50); color: var(--a-red); }
.adm-act.is-orange { background: var(--a-brand-50); color: var(--a-brand-600); }
.adm-act.is-purple { background: var(--a-purple-50); color: var(--a-purple); }

.adm-timeline { list-style: none; margin: 0; padding: 0; max-height: 640px; overflow: auto; }
.adm-timeline li { display: flex; align-items: flex-start; gap: 12px; padding: 10px 0; border-top: 1px solid var(--a-line-2); font-size: 13px; }
.adm-timeline li:first-child { border-top: 0; }
.adm-timeline time { flex: 0 0 auto; min-width: 64px; color: var(--a-muted); font: 600 12px/24px ui-monospace, Consolas, monospace; }
.adm-timeline li > span:not(.adm-act) { flex: 1; min-width: 0; line-height: 24px; word-break: break-word; }

.adm-caps { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; margin-bottom: 16px; }
.adm-caps div { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; background: var(--a-bg); color: var(--a-muted); font-size: 13px; font-weight: 600; }
.adm-caps div.is-on { background: var(--a-green-50); color: #065f46; }
.adm-caps div.is-on i { color: var(--a-green); }

.adm-theme-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.adm-theme { display: flex; flex-direction: column; transition: opacity .15s, box-shadow .15s; }
.adm-theme.is-off { opacity: .7; }
.adm-theme.is-home { border-color: var(--a-brand); box-shadow: 0 0 0 3px var(--a-brand-50); }
.adm-theme-preview { position: relative; height: 120px; margin: -6px -8px 14px; border-radius: 12px; display: grid; place-items: center; background: repeating-linear-gradient(45deg, var(--a-bg), var(--a-bg) 10px, #fff 10px, #fff 20px); border: 1px solid var(--a-line-2); }
.adm-theme-preview img { max-width: 70%; max-height: 64px; object-fit: contain; }
.adm-theme.is-off .adm-theme-preview img { filter: grayscale(1); }
.adm-theme-flag { position: absolute; top: 10px; left: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--a-brand); color: #fff; font-size: 12px; font-weight: 700; }

.adm-steps { list-style: none; margin: 0; padding: 0; counter-reset: st; }
.adm-steps li { position: relative; padding: 0 0 14px 38px; color: var(--a-muted); font-size: 13.5px; counter-increment: st; }
.adm-steps li::before { content: counter(st); position: absolute; left: 0; top: -2px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--a-line-2); color: var(--a-muted); font-weight: 700; font-size: 12px; }
.adm-steps li.is-cur { color: var(--a-ink); font-weight: 600; }
.adm-steps li.is-cur::before { background: var(--a-brand); color: #fff; }
.adm-steps li.is-done { color: var(--a-ink-2); }
.adm-steps li.is-done::before { content: "✓"; background: var(--a-green-50); color: var(--a-green); }

.adm-bulkbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px 16px; background: #fafbfc; border-bottom: 1px solid var(--a-line-2); font-size: 13px; }
.adm-net { padding: 10px 12px; border-radius: 10px; background: var(--a-green-50); color: #065f46; font-size: 13px; }

.adm-app-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 20px; }
.adm-app-logo { width: 28px; height: 28px; object-fit: contain; border-radius: 6px; }
.adm-appr-list { display: grid; }
.adm-appr { display: grid; grid-template-columns: 24px auto minmax(0, 1fr) 140px; gap: 16px; align-items: start; padding: 16px 20px; border-top: 1px solid var(--a-line-2); }
.adm-appr-imgs { display: flex; gap: 6px; }
.adm-appr-imgs img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; border: 1px solid var(--a-line); }
.adm-appr-desc { max-height: 260px; overflow: auto; padding: 10px; margin-top: 8px; border-radius: 10px; background: var(--a-bg); font-size: 13px; }
.adm-appr-price { text-align: right; }
@media (max-width: 767.98px) {
   .adm-appr { grid-template-columns: 24px minmax(0, 1fr); }
   .adm-appr-imgs, .adm-appr-price { grid-column: 2; text-align: left; }
   .adm-app-grid { grid-template-columns: minmax(0, 1fr); }
}

.adm-dropzone.is-over { border-color: var(--a-brand); background: var(--a-brand-50); }
.js-img-info { line-height: 1.5; margin-top: 6px; }
.js-img-info b { font-weight: 700; }
.adm-img-item { position: relative; }
.adm-img-dim { position: absolute; right: 6px; bottom: 6px; padding: 2px 6px; border-radius: 6px; background: rgba(17, 24, 39, .72); color: #fff; font-size: 11px; font-weight: 600; pointer-events: none; }
.adm-img-dim.is-warn { background: #b45309; }
.adm-cp-list { max-height: 280px; overflow: auto; border: 1px solid #e5e7eb; border-radius: 12px; padding: 4px; }
.adm-cp-item { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 8px; cursor: pointer; margin: 0; }
.adm-cp-item:hover { background: var(--a-bg); }
.adm-cp-item img { width: 36px; height: 36px; object-fit: cover; border-radius: 8px; flex: 0 0 auto; }
.adm-cp-item span { display: grid; font-size: 13px; line-height: 1.3; min-width: 0; }
.adm-cp-item small { color: var(--a-muted); }
.mk-stat-bar { height: 8px; border-radius: 99px; background: #eef0f4; overflow: hidden; margin-bottom: 3px; }
.mk-stat-bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--a-brand), #ff9f7f); }

.waf-period { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 18px; }
.waf-period button, .waf-period input { height: 36px; border: 1px solid var(--a-line); background: #fff; border-radius: 10px; padding: 0 12px; font-size: 13px; font-weight: 600; color: var(--a-ink-2); }
.waf-period button.active { background: var(--a-brand); border-color: var(--a-brand); color: #fff; }
.waf-period button.go { width: 40px; padding: 0; }
.waf-sev { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; font-size: 11px; font-weight: 800; letter-spacing: .02em; white-space: nowrap; }
.waf-sev-info { background: #f1f5f9; color: #475569; }
.waf-sev-low { background: #ecfeff; color: #0e7490; }
.waf-sev-medium { background: #fef9c3; color: #a16207; }
.waf-sev-high { background: #ffedd5; color: #c2410c; }
.waf-sev-critical { background: #fee2e2; color: #b91c1c; }
.waf-act { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 999px; font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.waf-act-allow, .waf-act-log { background: #eef2ff; color: #4338ca; }
.waf-act-challenge { background: #fef3c7; color: #b45309; }
.waf-act-throttle { background: #ffedd5; color: #c2410c; }
.waf-act-block { background: #fee2e2; color: #b91c1c; }
.waf-act.is-monitor { background: repeating-linear-gradient(45deg, #f8fafc, #f8fafc 6px, #eef2f7 6px, #eef2f7 12px); color: #64748b; border: 1px dashed #cbd5e1; }
.waf-risk { display: inline-grid; place-items: center; min-width: 36px; height: 24px; padding: 0 6px; border-radius: 7px; font-weight: 800; font-size: 12px; font-variant-numeric: tabular-nums; }
.waf-risk.is-low { background: #f1f5f9; color: #475569; }
.waf-risk.is-med { background: #fef9c3; color: #a16207; }
.waf-risk.is-high { background: #ffedd5; color: #c2410c; }
.waf-risk.is-crit { background: #dc2626; color: #fff; }
.waf-role { display: inline-flex; height: 20px; align-items: center; padding: 0 7px; border-radius: 5px; font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.waf-role-guest { background: #f1f5f9; color: #64748b; }
.waf-role-customer { background: #ecfdf5; color: #047857; }
.waf-role-seller { background: #f5f3ff; color: #6d28d9; }
.waf-role-admin { background: #111827; color: #fff; }
.waf-cat { display: inline-flex; margin: 0 4px 4px 0; padding: 2px 8px; border-radius: 6px; background: var(--a-line-2, #f3f4f6); color: var(--a-ink-2); font-size: 11.5px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.waf-cat:hover { background: var(--a-brand); color: #fff; }
.waf-cats { max-width: 280px; }
.waf-ellipsis { max-width: 420px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.waf-legend { display: flex; gap: 14px; align-items: center; font-size: 12px; color: var(--a-muted); }
.waf-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 4px; }
.waf-legend i.is-all { background: #fdba74; } .waf-legend i.is-block { background: #dc2626; }
.waf-chart { display: flex; align-items: flex-end; gap: 3px; height: 220px; padding: 8px 0 24px; border-bottom: 1px solid var(--a-line); }
.waf-col { flex: 1; min-width: 0; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; position: relative; }
.waf-col .all { width: 100%; max-width: 30px; display: flex; flex-direction: column; justify-content: flex-end; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, #fed7aa, #fb923c); overflow: hidden; transition: filter .2s; }
.waf-col .blk { width: 100%; background: linear-gradient(180deg, #f87171, #b91c1c); }
.waf-col:hover .all { filter: brightness(.9); }
.waf-col small { position: absolute; bottom: -20px; font-size: 10px; color: var(--a-muted); white-space: nowrap; }
.waf-hbars li { grid-template-columns: minmax(0, 190px) minmax(0, 1fr) auto auto; }
.waf-dist { margin-bottom: 18px; }
.waf-dist h3 { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--a-muted); margin: 0 0 8px; }
.waf-stack { display: flex; height: 12px; border-radius: 999px; overflow: hidden; background: #f1f5f9; }
.waf-stack span { height: 100%; }
.waf-dist ul { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12.5px; }
.waf-dist ul i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; }
.waf-dist small { color: var(--a-muted); }
.waf-bg-sev-info { background: #94a3b8; } .waf-bg-sev-low { background: #22d3ee; } .waf-bg-sev-medium { background: #facc15; } .waf-bg-sev-high { background: #fb923c; } .waf-bg-sev-critical { background: #dc2626; }
.waf-bg-act-log, .waf-bg-act-allow { background: #818cf8; } .waf-bg-act-challenge { background: #fbbf24; } .waf-bg-act-throttle { background: #f97316; } .waf-bg-act-block { background: #dc2626; }
.waf-bg-role-guest { background: #94a3b8; } .waf-bg-role-customer { background: #10b981; } .waf-bg-role-seller { background: #8b5cf6; } .waf-bg-role-admin { background: #111827; }
[class*="waf-bg-loc-"] { background: #64748b; } .waf-bg-loc-query { background: #f97316; } .waf-bg-loc-body { background: #0ea5e9; } .waf-bg-loc-path { background: #8b5cf6; } .waf-bg-loc-header, .waf-bg-loc-ua { background: #14b8a6; } .waf-bg-loc-raw { background: #475569; } .waf-bg-loc-json { background: #2563eb; } .waf-bg-loc-cookie { background: #d97706; } .waf-bg-loc-file { background: #dc2626; }
.waf-filters { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; align-items: center; }
.waf-filters .waf-q { grid-column: span 2; }
.waf-exports { display: flex; gap: 6px; justify-content: flex-end; grid-column: -2 / -1; }
.waf-events tbody tr { cursor: pointer; }
.waf-events td { vertical-align: top; }
.waf-req { max-width: 340px; word-break: break-all; }
.waf-method { display: inline-block; padding: 1px 6px; border-radius: 4px; background: #111827; color: #fff; font: 700 10.5px/1.6 ui-monospace, monospace; }
.waf-payload-cell code, .waf-code { display: inline-block; max-width: 100%; padding: 2px 6px; border-radius: 6px; background: #fff1f2; color: #9f1239; font: 12px/1.45 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: pre-wrap; word-break: break-all; }
.waf-pre { margin: 0 0 10px; max-height: 520px; overflow: auto; padding: 16px; border-radius: 12px; background: #0f172a; color: #e2e8f0; font: 12.5px/1.6 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: pre-wrap; word-break: break-all; }
.waf-mark { background: #fde047; color: #111827; border-radius: 3px; padding: 0 2px; font-weight: 700; }
.waf-pre .waf-mark { background: #f43f5e; color: #fff; }
.waf-detail-head { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 18px; }
.waf-detail-head h2 { margin: 0; font-size: 20px; flex: 1; }
.waf-timeline { list-style: none; margin: 0; padding: 0 0 0 14px; border-left: 2px solid var(--a-line); display: grid; gap: 10px; max-height: 520px; overflow: auto; }
.waf-timeline li { position: relative; }
.waf-timeline li::before { content: ""; position: absolute; left: -20px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; border: 2px solid #fff; }
.waf-timeline li.is-current::before { background: var(--a-brand); }
.waf-timeline a { color: inherit; text-decoration: none; display: block; font-size: 12.5px; }
.waf-ident { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: 13px; }
.waf-ev { display: inline-flex; padding: 1px 7px; border-radius: 5px; font-size: 11px; font-weight: 700; background: #f1f5f9; color: #334155; }
.waf-ev-login, .waf-ev-register { background: #ecfdf5; color: #047857; }
.waf-ev-login_fail, .waf-ev-ua_change { background: #fee2e2; color: #b91c1c; }
.waf-ev-ip_change { background: #fef9c3; color: #a16207; }
.waf-scroll { max-height: 420px; overflow: auto; }
.waf-test { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--a-line); }
.waf-test h3 { font-size: 15px; font-weight: 800; }
.waf-report header h1 { font-size: 24px; margin: 0 0 4px; }
.waf-report header p { color: var(--a-muted); margin: 0 0 18px; }
.waf-report h2 { font-size: 16px; margin: 22px 0 10px; padding-bottom: 6px; border-bottom: 2px solid var(--a-brand); }
@media print {
   .adm-sidebar, .adm-topbar, .adm-subnav, .waf-noprint, .adm-page-head, header.adm-header, nav, .adm-footer { display: none !important; }
   .waf-report { box-shadow: none !important; border: 0 !important; padding: 0 !important; }
   body { background: #fff !important; }
}

.adm-imp-bar { position: sticky; top: 0; z-index: 1040; display: flex; align-items: center; gap: 12px; padding: 10px 20px; background: linear-gradient(90deg, #7c2d12, #c2410c); color: #fff; font-size: 13.5px; box-shadow: 0 4px 14px rgba(124, 45, 18, .25); }
.adm-imp-bar > i { font-size: 20px; }
.adm-imp-bar small { opacity: .8; margin-left: 6px; }
.adm-imp-bar .adm-btn { background: #fff; color: #7c2d12; border-color: #fff; font-weight: 700; white-space: nowrap; }
.adm-imp-bar .adm-btn:hover { background: #fde7df; }
@media (max-width: 767.98px) { .adm-imp-bar { flex-wrap: wrap; padding: 10px 14px; } .adm-imp-bar form { width: 100%; } .adm-imp-bar .adm-btn { width: 100%; justify-content: center; } }
.adm-status-ship-planned{background:#f1ecff;color:#6a42c2}.adm-status-ship-ready,.adm-status-ship-out_for_delivery{background:#fff3e6;color:#c86a00}.adm-status-ship-handed,.adm-status-ship-in_transit{background:#e8f0ff;color:#2f5bd3}.adm-status-ship-delivered{background:#e8f7ef;color:#0f8a4f}.adm-status-ship-returned,.adm-status-ship-cancelled{background:#fdecec;color:#c62828}
.erkin-ship-timeline{list-style:none;margin:0;padding:0 0 0 14px;border-left:2px solid #e5e7eb}.erkin-ship-timeline li{position:relative;padding:0 0 10px 10px}.erkin-ship-timeline li::before{content:'';position:absolute;left:-20px;top:5px;width:10px;height:10px;border-radius:50%;background:#F85934}

.adm-img-cam { font: inherit; }
.adm-img-cam i { color: var(--a-brand); }
.adm-opt-val { grid-template-columns: 44px minmax(0, 1fr) 110px 38px auto; position: relative; }
.adm-opt-values:not(.is-color) .adm-opt-val { grid-template-columns: 0 minmax(0, 1fr) 110px 38px auto; }
.adm-opt-img { width: 38px; height: 38px; border-radius: 10px; border: 1px dashed #cbd0d9; background: var(--a-bg) center / cover no-repeat; color: var(--a-muted); display: grid; place-items: center; padding: 0; }
.adm-opt-img:hover { border-color: var(--a-brand); color: var(--a-brand); }
.adm-opt-img.has-img { border: 2px solid var(--a-brand); }
.adm-opt-img.has-img i { display: none; }
.adm-opt-pop { position: absolute; z-index: 30; top: calc(100% + 6px); right: 0; width: min(300px, 86vw); background: #fff; border: 1px solid var(--a-line); border-radius: 14px; box-shadow: var(--a-shadow-lg); padding: 10px; display: grid; gap: 6px; }
.adm-opt-pop > strong { font-size: 13px; padding: 2px 4px; }
.adm-opt-pop > small { color: var(--a-muted); padding: 2px 4px; }
.adm-opt-pop > button { display: flex; align-items: center; gap: 8px; border: 0; background: var(--a-bg); border-radius: 10px; padding: 10px 12px; font-weight: 600; font-size: 14px; text-align: left; }
.adm-opt-pop > button:hover { background: var(--a-brand-50); }
.adm-opt-pop-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; max-height: 180px; overflow-y: auto; }
.adm-opt-pop-grid button { aspect-ratio: 1; border: 1px solid var(--a-line); border-radius: 8px; background: #fff; padding: 2px; }
.adm-opt-pop-grid button.is-on { border: 2px solid var(--a-brand); }
.adm-opt-pop-grid img { width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 575.98px) {
   .adm-opt-val, .adm-opt-values:not(.is-color) .adm-opt-val { grid-template-columns: 38px minmax(0, 1fr) 80px 38px 30px; gap: 6px; }
   .adm-opt-values:not(.is-color) .js-hex { display: none; }
   .adm-opt-values:not(.is-color) .adm-opt-val { grid-template-columns: minmax(0, 1fr) 80px 38px 30px; }
}

.pw { max-width: 980px; margin: 0 auto; display: grid; gap: 16px; padding-bottom: 90px; }
.pw-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.pw-step-btn { width: 100%; border: 0; background: none; display: grid; justify-items: center; gap: 6px; padding: 4px; color: var(--a-muted); font-weight: 600; }
.pw-step-btn small { font-size: 12px; line-height: 1.2; text-align: center; }
.pw-dot { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--a-line); font-size: 18px; position: relative; transition: all .2s; }
.pw-dot em { position: absolute; right: -4px; top: -4px; font-style: normal; font-size: 10px; width: 18px; height: 18px; border-radius: 50%; background: var(--a-line); color: var(--a-ink); display: grid; place-items: center; }
.pw-step-btn.is-active { color: var(--a-ink); }
.pw-step-btn.is-active .pw-dot { background: var(--a-brand); border-color: var(--a-brand); color: #fff; box-shadow: 0 0 0 5px var(--a-brand-50); }
.pw-step-btn.is-done .pw-dot { border-color: var(--a-brand); color: var(--a-brand); }
.pw-step-btn.is-done .pw-dot em { background: var(--a-brand); color: #fff; }
.pw-step-btn:disabled { opacity: .55; cursor: not-allowed; }
.pw-bar { height: 4px; border-radius: 4px; background: var(--a-line); overflow: hidden; }
.pw-bar span { display: block; height: 100%; width: 0; background: var(--a-brand); transition: width .3s; }
.pw-head { margin-bottom: 18px; }
.pw-head h2 { font-size: 20px; margin: 0 0 4px; }
.pw-head p { margin: 0; color: var(--a-muted); font-size: 14px; }
.pw-cta { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.pw-cta-btn { display: grid; justify-items: center; gap: 4px; padding: 26px 16px; border-radius: 16px; border: 2px dashed #cbd0d9; background: var(--a-bg); cursor: pointer; text-align: center; margin: 0; font: inherit; color: var(--a-ink); transition: all .15s; }
.pw-cta-btn i { font-size: 34px; color: var(--a-brand); }
.pw-cta-btn strong { font-size: 16px; }
.pw-cta-btn small { color: var(--a-muted); }
.pw-cta-btn:hover { border-color: var(--a-brand); background: var(--a-brand-50); }
.pw-cta-btn.is-main { border-style: solid; border-color: var(--a-brand); background: var(--a-brand); color: #fff; }
.pw-cta-btn.is-main i, .pw-cta-btn.is-main small { color: #fff; }
.pw-cta-btn.is-main:hover { filter: brightness(1.05); background: var(--a-brand); }
.pw-stepper { display: flex; gap: 8px; max-width: 220px; }
.pw-stepper input { text-align: center; font-weight: 700; }
.pw-stepper .adm-icon-btn { width: 46px; height: auto; flex: none; }
.pw-summary { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 18px; padding: 14px; border: 1px solid var(--a-line); border-radius: 16px; background: var(--a-bg); }
.pw-sum-img { aspect-ratio: 1; border-radius: 12px; background: #fff; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--a-line); }
.pw-sum-img img { width: 100%; height: 100%; object-fit: contain; }
.pw-sum-img span { font-size: 40px; color: var(--a-muted); }
.pw-sum-body h3 { font-size: 19px; margin: 2px 0 6px; }
.pw-sum-price strong { font-size: 20px; color: var(--a-brand); }
.pw-sum-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 4px; font-size: 14px; }
.pw-sum-list i { color: var(--a-muted); margin-right: 4px; }
.pw-checks { list-style: none; margin: 16px 0; padding: 0; display: grid; gap: 6px; }
.pw-checks button { border: 0; background: none; padding: 4px 0; font-size: 14px; text-align: left; color: var(--a-ink); }
.pw-checks .is-ok i { color: #16a34a; }
.pw-checks .is-warn i { color: #d97706; }
.pw-checks .is-warn button { text-decoration: underline dotted; }
.pw-publish { border-top: 1px solid var(--a-line); padding-top: 14px; }
.pw-nav { position: sticky; bottom: 0; z-index: 20; display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border: 1px solid var(--a-line); border-radius: 16px; box-shadow: var(--a-shadow-lg); padding-bottom: calc(12px + env(safe-area-inset-bottom)); }
.pw-count { margin-right: auto; color: var(--a-muted); font-size: 13px; font-weight: 600; }
.pw-nav .js-pw-prev { order: -1; }
@media (max-width: 767.98px) {
   .pw-steps small { display: none; }
   .pw-dot { width: 36px; height: 36px; font-size: 15px; }
   .pw-summary { grid-template-columns: 1fr; }
   .pw-sum-img { max-width: 220px; }
   .pw-nav { margin: 0 -8px; border-radius: 16px 16px 0 0; }
   .pw-nav .js-pw-prev span, .pw-nav .js-pw-quick span { display: none; }
   .pw-nav .adm-btn-lg { padding-left: 14px; padding-right: 14px; }
   .pw-count { font-size: 12px; }
}

.ecam-lock, .ecam-lock body { overflow: hidden; }
.ecam { position: fixed; inset: 0; z-index: 2000; background: #000; color: #fff; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; height: 100dvh; }
.ecam-top { display: flex; align-items: center; gap: 10px; padding: calc(10px + env(safe-area-inset-top)) 12px 10px; }
.ecam-title { flex: 1; text-align: center; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ecam-tools { display: flex; gap: 6px; }
.ecam-ic { width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; display: grid; place-items: center; font-size: 19px; cursor: pointer; margin: 0; }
.ecam-ic.is-on { background: #fff; color: #000; }
.ecam-stage { position: relative; overflow: hidden; display: grid; place-items: center; }
.ecam-stage video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.ecam-stage video.is-mirror { transform: scaleX(-1); }
.ecam-guide { position: absolute; inset: 0; pointer-events: none; display: none; background-image: linear-gradient(rgba(255,255,255,.28) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.28) 1px, transparent 1px); background-size: 33.333% 33.333%; background-position: -1px -1px; }
.ecam-stage.is-grid .ecam-guide { display: block; }
.ecam-msg { position: absolute; inset: auto 20px 50% 20px; transform: translateY(50%); text-align: center; font-size: 15px; line-height: 1.5; pointer-events: none; }
.ecam-msg i { font-size: 40px; }
.ecam-flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.ecam-flash.go { animation: ecamFlash .25s ease-out; }
@keyframes ecamFlash { from { opacity: .85; } to { opacity: 0; } }
.ecam-bottom { padding: 10px 12px calc(14px + env(safe-area-inset-bottom)); display: grid; gap: 12px; }
.ecam-strip { display: flex; gap: 8px; overflow-x: auto; min-height: 64px; scrollbar-width: none; }
.ecam-thumb { position: relative; flex: none; width: 64px; height: 64px; border-radius: 10px; overflow: hidden; border: 2px solid rgba(255,255,255,.6); }
.ecam-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ecam-thumb button { position: absolute; top: 2px; right: 2px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: rgba(0,0,0,.7); color: #fff; font-size: 13px; display: grid; place-items: center; padding: 0; }
.ecam-ctrl { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.ecam-gal { justify-self: start; }
.ecam-shutter { width: 76px; height: 76px; border-radius: 50%; border: 4px solid #fff; background: transparent; padding: 5px; }
.ecam-shutter span { display: block; width: 100%; height: 100%; border-radius: 50%; background: #fff; transition: transform .1s; }
.ecam-shutter:active span { transform: scale(.88); }
.ecam-done { justify-self: end; border: 0; border-radius: 999px; padding: 11px 18px; font-weight: 700; background: var(--a-brand, #F85934); color: #fff; }
.ecam-done:disabled { background: rgba(255,255,255,.18); color: rgba(255,255,255,.6); }
@media (orientation: landscape) and (max-height: 540px) {
   .ecam { grid-template-rows: minmax(0, 1fr); grid-template-columns: auto minmax(0, 1fr) auto; }
   .ecam-top { flex-direction: column; padding: 10px; }
   .ecam-title { display: none; }
   .ecam-tools { flex-direction: column; }
   .ecam-bottom { grid-template-columns: auto; align-content: center; width: 120px; }
   .ecam-strip { flex-direction: column; max-height: 40dvh; min-height: 0; }
   .ecam-ctrl { grid-template-columns: auto; grid-template-rows: auto auto auto; justify-items: center; gap: 10px; }
   .ecam-gal, .ecam-done { justify-self: center; }
}