/* ==========================================================================
   Site Zen — GPosting edition (loaded after the Bootstrap-based dashboard.css)
   Design tokens follow gposting.com: Inter, amber gradient, warm paper surfaces.
   ========================================================================== */
:root {
	--sz-bg: #faf8f3;
	--sz-surface: #ffffff;
	--sz-surface-2: #fbfaf6;
	--sz-border: #e5e7eb;
	--sz-border-soft: #ede6d6;
	--sz-border-strong: #d8d2c4;
	--sz-text: #111827;
	--sz-text-2: #374151;
	--sz-muted: #6b7280;
	--sz-faint: #9aa3b2;
	--sz-primary: #f5a623;
	--sz-primary-2: #d4880a;
	--sz-primary-deep: #a96a06;
	--sz-primary-text: #9a5b00;
	--sz-primary-soft: #fef6e7;
	--sz-primary-soft-2: #fde4a8;
	--sz-primary-ring: rgba(245, 166, 35, .28);
	--sz-gradient: linear-gradient(135deg, #f5a623 0%, #d4880a 100%);
	--sz-gradient-soft: linear-gradient(135deg, rgba(245, 166, 35, .14) 0%, rgba(212, 136, 10, .12) 100%);
	--sz-hero: linear-gradient(160deg, #ffffff 0%, #fef6e7 55%, #fde4a8 100%);
	--sz-success: #15803d;
	--sz-success-soft: #dcfce7;
	--sz-warn: #b45309;
	--sz-warn-soft: #fef3c7;
	--sz-danger: #dc2626;
	--sz-danger-soft: #fee2e2;
	--sz-info: #1d4ed8;
	--sz-info-soft: #dbeafe;
	--sz-ink: #1b1710;
	--sz-radius: 12px;
	--sz-radius-sm: 8px;
	--sz-shadow: 0 6px 18px rgba(16, 24, 40, .05);
	--sz-shadow-sm: 0 1px 2px rgba(16, 24, 40, .05);
	--sz-shadow-lg: 0 24px 60px -16px rgba(27, 23, 16, .32);
	--sz-shadow-amber: 0 8px 22px -6px rgba(212, 136, 10, .45);
	--sz-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	--sz-mono: 'JetBrains Mono', 'SF Mono', Menlo, Consolas, monospace;
	--sz-side-w: 252px;
}

/* ---------- base ---------- */
body.sz-app,
body.sz-login-body {
	margin: 0;
	font-family: var(--sz-font);
	font-size: 14px;
	line-height: 1.5;
	color: var(--sz-text);
	background: var(--sz-bg);
	-webkit-font-smoothing: antialiased;
}
body.sz-app a { text-decoration: none; }
body.sz-noscroll { overflow: hidden; }
.sz-app *, .sz-login-body * { box-sizing: border-box; }
.sz-app h1, .sz-app h2, .sz-app h3, .sz-app h4 { font-family: var(--sz-font); color: var(--sz-text); letter-spacing: -.01em; }
.sz-app code { font-family: var(--sz-mono); font-size: 12px; background: var(--sz-surface-2); border: 1px solid var(--sz-border); padding: 1px 6px; border-radius: 5px; color: var(--sz-text-2); word-break: break-all; }
.sz-app :focus-visible, .sz-login-body :focus-visible { outline: 2px solid var(--sz-primary-2); outline-offset: 2px; }
.sz-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sz-muted { color: var(--sz-muted); }
.sz-small { font-size: 12.5px; }
.sz-nowrap { white-space: nowrap; }
.sz-center { text-align: center; }
.sz-clip { max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sz-ok-txt { color: var(--sz-success); font-weight: 600; }
.sz-danger-txt { color: var(--sz-danger) !important; }

/* ---------- shell ---------- */
.sz-shell { display: flex; min-height: 100vh; }
.sz-sidebar {
	position: fixed; inset: 0 auto 0 0; width: var(--sz-side-w); z-index: 1040;
	display: flex; flex-direction: column;
	background: #fff;
	border-right: 1px solid var(--sz-border-soft);
}
.sz-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 22px 22px 18px; color: var(--sz-text); }
.sz-brand img { display: block; width: 168px; height: auto; }
.sz-brand-tag {
	display: inline-flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
	color: var(--sz-primary-text); background: var(--sz-primary-soft); border: 1px solid var(--sz-primary-soft-2); padding: 2px 9px; border-radius: 999px;
}
.sz-nav { flex: 1; overflow-y: auto; padding: 2px 12px 16px; scrollbar-width: thin; scrollbar-color: #e7dfcc transparent; }
.sz-nav-group { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--sz-faint); padding: 16px 10px 6px; }
.sz-nav-item {
	position: relative; display: flex; align-items: center; gap: 11px; padding: 9px 11px; margin: 2px 0;
	border-radius: 10px; color: var(--sz-text-2); font-weight: 500; font-size: 13.5px;
	transition: background .12s, color .12s;
}
.sz-nav-item i { font-size: 18px; width: 20px; text-align: center; color: var(--sz-faint); transition: color .12s; }
.sz-nav-item:hover { background: var(--sz-surface-2); color: var(--sz-text); }
.sz-nav-item:hover i { color: var(--sz-primary-2); }
.sz-nav-item.is-active { background: var(--sz-gradient-soft); color: var(--sz-primary-text); font-weight: 600; }
.sz-nav-item.is-active::before { content: ''; position: absolute; left: -12px; top: 8px; bottom: 8px; width: 3px; border-radius: 0 3px 3px 0; background: var(--sz-gradient); }
.sz-nav-item.is-active i { color: var(--sz-primary-2); }
.sz-nav-count {
	margin-left: auto; font-style: normal; font-size: 11px; font-weight: 700; font-family: var(--sz-mono);
	padding: 1px 7px; border-radius: 999px; background: #f3f0e8; color: var(--sz-muted);
}
.sz-nav-item.is-active .sz-nav-count { background: #fff; color: var(--sz-primary-text); }
.sz-nav-count.is-danger { background: var(--sz-danger); color: #fff; }
.sz-nav-count.is-warn { background: var(--sz-gradient); color: #fff; }
.sz-sidebar-foot { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-top: 1px solid var(--sz-border-soft); }
.sz-me { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; color: var(--sz-text); padding: 4px; border-radius: 10px; }
.sz-me:hover { background: var(--sz-surface-2); color: var(--sz-text); }
.sz-me > span:last-child { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.sz-me b { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.sz-avatar {
	display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
	border-radius: 50%; font-size: 12px; font-weight: 700; letter-spacing: .02em;
	color: hsl(var(--h, 36), 55%, 28%); background: hsl(var(--h, 36), 80%, 91%);
}
.sz-role { display: inline-flex; align-items: center; gap: 4px; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.sz-role--merchant { color: var(--sz-primary-text); }
.sz-role--admin { color: var(--sz-danger); }
.sz-role--staff { color: var(--sz-info); }

.sz-main { flex: 1; min-width: 0; margin-left: var(--sz-side-w); display: flex; flex-direction: column; }
.sz-topbar {
	position: sticky; top: 0; z-index: 1030;
	display: flex; align-items: center; gap: 14px;
	height: 64px; padding: 0 26px;
	background: rgba(255, 255, 255, .88); backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 1px solid var(--sz-border-soft);
}
.sz-icon-btn.sz-burger { display: none; }
.sz-topbar-title { display: flex; align-items: center; gap: 10px; min-width: 0; }
.sz-topbar-title i { font-size: 18px; width: 34px; height: 34px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; color: var(--sz-primary-2); background: var(--sz-primary-soft); }
.sz-topbar-title h1 { font-size: 16px; font-weight: 700; margin: 0; white-space: nowrap; }
.sz-top-search {
	margin-left: auto; display: flex; align-items: center; gap: 8px;
	background: var(--sz-surface-2); border: 1px solid var(--sz-border); border-radius: 12px;
	padding: 0 12px; width: min(320px, 34vw); transition: border-color .12s, box-shadow .12s;
}
.sz-top-search:focus-within { border-color: var(--sz-primary); box-shadow: 0 0 0 3px var(--sz-primary-ring); background: #fff; }
.sz-top-search i { color: var(--sz-faint); }
.sz-top-search input { border: 0; outline: 0; background: transparent; padding: 9px 0; width: 100%; font-size: 13.5px; color: var(--sz-text); }
.sz-top-user { margin-left: 4px; }
.sz-topbar-title + .sz-top-user { margin-left: auto; }
.sz-top-user-btn {
	display: flex; align-items: center; gap: 8px; padding: 4px 10px 4px 4px; border-radius: 999px;
	border: 1px solid var(--sz-border); background: #fff; color: var(--sz-text); font-weight: 600; font-size: 13px; cursor: pointer;
}
.sz-top-user-btn:hover { border-color: var(--sz-primary-soft-2); background: var(--sz-primary-soft); }
.sz-dropdown { min-width: 236px; padding: 6px; border-radius: 14px; border: 1px solid var(--sz-border); box-shadow: var(--sz-shadow-lg); }
.sz-dropdown .dropdown-item { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 9px; font-size: 13.5px; color: var(--sz-text-2); }
.sz-dropdown .dropdown-item i { font-size: 16px; color: var(--sz-muted); }
.sz-dropdown .dropdown-item:hover, .sz-dropdown .dropdown-item:focus { background: var(--sz-primary-soft); color: var(--sz-primary-text); }
.sz-dropdown .dropdown-item:hover i { color: var(--sz-primary-2); }
.sz-dropdown-head { display: flex; flex-direction: column; padding: 8px 10px 10px; border-bottom: 1px solid var(--sz-border); margin-bottom: 4px; }
.sz-dropdown-head b { font-size: 14px; }
.sz-dropdown-head small { color: var(--sz-muted); font-size: 12px; }
.sz-content { flex: 1; padding: 26px; max-width: 1680px; width: 100%; margin: 0 auto; }
.sz-legacy-page .sz-content { padding: 10px 15px 24px; max-width: none; }
.sz-legacy .main-page-dash:empty { display: none; }
.sz-backdrop { display: none; }

/* ---------- page head ---------- */
.sz-page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; margin-bottom: 22px; }
.sz-page-head h2 { font-size: 26px; font-weight: 800; margin: 0 0 4px; letter-spacing: -.03em; }
.sz-page-head p { margin: 0; color: var(--sz-muted); max-width: 760px; }
.sz-page-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- buttons ---------- */
.sz-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 7px;
	height: 38px; padding: 0 15px; border-radius: 12px;
	border: 1px solid var(--sz-border-strong); background: #fff; color: var(--sz-text-2);
	font: 600 13.5px/1 var(--sz-font); cursor: pointer; white-space: nowrap; text-decoration: none;
	transition: background .12s, border-color .12s, color .12s, box-shadow .12s, transform .06s, filter .12s;
}
.sz-btn i { font-size: 17px; }
.sz-btn:hover { border-color: var(--sz-primary); color: var(--sz-primary-text); background: var(--sz-primary-soft); }
.sz-btn:active { transform: translateY(1px); }
.sz-btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.sz-btn-primary { background: var(--sz-gradient); border-color: transparent; color: #fff; box-shadow: var(--sz-shadow-amber); }
.sz-btn-primary:hover { background: var(--sz-gradient); border-color: transparent; color: #fff; filter: brightness(1.05) saturate(1.05); box-shadow: 0 12px 26px -8px rgba(212, 136, 10, .55); }
.sz-btn-ghost { border-color: transparent; background: transparent; }
.sz-btn-ghost:hover { background: var(--sz-surface-2); border-color: transparent; color: var(--sz-text); }
.sz-btn-danger { color: var(--sz-danger); border-color: #fecaca; }
.sz-btn-danger:hover { background: var(--sz-danger-soft); color: #b91c1c; border-color: #fca5a5; }
.sz-btn-danger-text { color: var(--sz-danger); }
.sz-btn-danger-text:hover { color: #b91c1c; background: var(--sz-danger-soft); }
.sz-btn-sm { height: 32px; padding: 0 12px; font-size: 12.5px; border-radius: 9px; }
.sz-btn-sm i { font-size: 15px; }
.sz-btn-block { width: 100%; height: 44px; font-size: 14.5px; }
.sz-btn-lg { height: 48px; font-size: 15px; border-radius: 12px; }
.sz-icon-btn {
	display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
	width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--sz-border); background: #fff;
	color: var(--sz-muted); cursor: pointer; font-size: 18px; transition: .12s;
}
.sz-icon-btn:hover { color: var(--sz-primary-text); border-color: var(--sz-primary-soft-2); background: var(--sz-primary-soft); }
.sz-icon-btn--sm { width: 30px; height: 30px; font-size: 15px; border-radius: 8px; }
.sz-icon-btn--danger:hover { color: var(--sz-danger); border-color: #fca5a5; background: var(--sz-danger-soft); }
.sz-link { background: none; border: 0; padding: 0; color: var(--sz-primary-text); font-weight: 600; cursor: pointer; font-size: 13px; display: inline-flex; align-items: center; gap: 4px; text-decoration: none; }
.sz-link:hover { text-decoration: underline; color: var(--sz-primary-deep); }
.sz-inline-btns { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 8px; }
.sz-sec-head .sz-inline-btns, .sz-card-head .sz-inline-btns { margin-top: 0; }

/* ---------- cards ---------- */
.sz-card { background: var(--sz-surface); border: 1px solid var(--sz-border); border-radius: 18px; box-shadow: var(--sz-shadow); margin-bottom: 20px; }
.sz-card-pad { padding: 24px; }
.sz-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--sz-border); flex-wrap: wrap; }
.sz-card-head h3 { font-size: 15px; font-weight: 700; margin: 0; display: flex; align-items: center; gap: 8px; }
.sz-card-head h3 > i { color: var(--sz-primary-2); }
.sz-card-title { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 18px; }
.sz-card-title > div { flex: 1; min-width: 0; }
.sz-card-title h3 { font-size: 16px; font-weight: 700; margin: 0 0 2px; }
.sz-card-title p { margin: 0; font-size: 13px; }
.sz-ic { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 12px; font-size: 20px; flex-shrink: 0; }
.sz-ic--violet, .sz-ic--amber { background: var(--sz-primary-soft); color: var(--sz-primary-2); border: 1px solid var(--sz-primary-soft-2); }
.sz-ic--green { background: #dcfce7; color: #15803d; }
.sz-ic--blue { background: #dbeafe; color: #1d4ed8; }

/* ---------- stats ---------- */
.sz-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 16px; }
.sz-stat {
	display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left;
	padding: 14px 16px; border-radius: 14px; border: 1px solid var(--sz-border); background: #fff;
	box-shadow: var(--sz-shadow-sm); cursor: pointer; transition: border-color .12s, box-shadow .12s, background .12s;
	font-family: var(--sz-font);
}
.sz-stat:hover { border-color: var(--sz-primary-soft-2); }
.sz-stat.is-on { border-color: var(--sz-primary); background: var(--sz-primary-soft); box-shadow: 0 0 0 3px var(--sz-primary-ring); }
.sz-stat-v { font-size: 24px; font-weight: 800; letter-spacing: -.03em; color: var(--sz-text); font-variant-numeric: tabular-nums; line-height: 1.15; }
.sz-stat-l { font-size: 12px; color: var(--sz-muted); font-weight: 600; }

/* ---------- filters ---------- */
.sz-filterbar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 14px 16px; border-bottom: 1px solid var(--sz-border); }
.sz-card > .sz-filterbar:last-child { border-bottom: 0; }
.sz-search {
	display: flex; align-items: center; gap: 8px; flex: 1 1 220px; max-width: 320px;
	height: 38px; padding: 0 12px; border: 1px solid var(--sz-border-strong); border-radius: 12px; background: #fff;
	transition: border-color .12s, box-shadow .12s; margin: 0;
}
.sz-search:focus-within { border-color: var(--sz-primary); box-shadow: 0 0 0 3px var(--sz-primary-ring); }
.sz-search i { color: var(--sz-faint); font-size: 16px; }
.sz-search input { border: 0; outline: 0; background: transparent; width: 100%; font-size: 13.5px; color: var(--sz-text); }
.sz-search--sm { height: 34px; flex: 0 1 240px; }
.sz-quick { display: inline-flex; gap: 4px; padding: 3px; border-radius: 12px; background: var(--sz-surface-2); border: 1px solid var(--sz-border); flex-wrap: wrap; }
.sz-quick button { border: 1px solid transparent; background: transparent; height: 30px; padding: 0 11px; border-radius: 9px; font: 600 12.5px var(--sz-font); color: var(--sz-muted); cursor: pointer; white-space: nowrap; }
.sz-quick button:hover { color: var(--sz-text); }
.sz-quick button.is-on { background: #fff; color: var(--sz-primary-text); border-color: var(--sz-primary-soft-2); box-shadow: var(--sz-shadow-sm); }
.sz-select {
	height: 38px; padding: 0 30px 0 11px; border: 1px solid var(--sz-border-strong); border-radius: 12px;
	background: #fff 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") no-repeat right 9px center / 14px;
	-webkit-appearance: none; appearance: none; font: 500 13.5px var(--sz-font); color: var(--sz-text-2);
	max-width: 220px; cursor: pointer; transition: border-color .12s, box-shadow .12s;
}
.sz-select:focus { outline: 0; border-color: var(--sz-primary); box-shadow: 0 0 0 3px var(--sz-primary-ring); }
.sz-select-sm { height: 32px; font-size: 12.5px; border-radius: 9px; }
.sz-field .sz-select { max-width: none; width: 100%; }
.sz-filter-more { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; width: 100%; padding-top: 10px; border-top: 1px dashed var(--sz-border); margin-top: 4px; }
.sz-filter-more[hidden] { display: none; }
.sz-mini-num { display: inline-flex; align-items: center; height: 38px; border: 1px solid var(--sz-border-strong); border-radius: 12px; background: #fff; overflow: hidden; margin: 0; }
.sz-mini-num span { padding: 0 9px; font-size: 12px; font-weight: 600; color: var(--sz-muted); background: var(--sz-surface-2); height: 100%; display: flex; align-items: center; border-right: 1px solid var(--sz-border); white-space: nowrap; }
.sz-mini-num input { width: 74px; border: 0; outline: 0; padding: 0 8px; font-size: 13.5px; height: 100%; }
.sz-badge-dot { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--sz-gradient); color: #fff; font-size: 10.5px; font-weight: 700; }
.sz-badge-dot[hidden] { display: none; }

.sz-bulkbar {
	display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
	padding: 9px 16px; background: var(--sz-primary-soft); border-bottom: 1px solid var(--sz-primary-soft-2);
}
.sz-bulkbar[hidden] { display: none; }
.sz-bulkbar-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-left: auto; }

/* ---------- table ---------- */
.sz-table-wrap { overflow-x: auto; position: relative; }
.sz-table-wrap.is-loading::after {
	content: ''; position: absolute; inset: 0; background: rgba(255, 255, 255, .55);
	background-image: linear-gradient(90deg, transparent, rgba(245, 166, 35, .12), transparent);
	background-size: 300px 100%; animation: sz-shimmer 1s linear infinite;
}
@keyframes sz-shimmer { from { background-position: -300px 0; } to { background-position: calc(100% + 300px) 0; } }
.sz-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13.5px; }
.sz-table th {
	position: sticky; top: 0; z-index: 1;
	padding: 11px 12px; background: var(--sz-surface-2); border-bottom: 1px solid var(--sz-border);
	font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--sz-muted);
	text-align: left; white-space: nowrap; user-select: none;
}
.sz-table th.is-sortable { cursor: pointer; }
.sz-table th.is-sortable:hover { color: var(--sz-text); }
.sz-table th.is-sortable i { font-size: 12px; opacity: .45; }
.sz-table th.is-sorted { color: var(--sz-primary-text); }
.sz-table th.is-sorted i { opacity: 1; }
.sz-table td { padding: 11px 12px; border-bottom: 1px solid #f0ece2; vertical-align: middle; color: var(--sz-text-2); }
.sz-table tbody tr:last-child td { border-bottom: 0; }
.sz-table tbody tr:hover td { background: #fffcf5; }
.sz-table tbody tr.is-selected td { background: var(--sz-primary-soft); }
.sz-table tr.is-muted td { opacity: .6; }
.sz-table tr.is-off .sz-site-name { color: var(--sz-muted); }
.sz-table .is-num { text-align: right; font-variant-numeric: tabular-nums; }
.sz-table th.is-num { text-align: right; }
.sz-col-check { width: 40px; padding-right: 0 !important; }
.sz-col-check input, .sz-check input { width: 16px; height: 16px; accent-color: var(--sz-primary-2); cursor: pointer; vertical-align: middle; }
.sz-col-act { width: 1%; white-space: nowrap; text-align: right !important; }
.sz-row-acts { display: inline-flex; gap: 4px; opacity: .75; transition: opacity .12s; }
tr:hover .sz-row-acts { opacity: 1; }
.sz-loading-row { padding: 40px !important; text-align: center; color: var(--sz-muted); }
.sz-table-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 16px; border-top: 1px solid var(--sz-border); }
.sz-pager { display: flex; gap: 4px; flex-wrap: wrap; align-items: center; }
.sz-pager button, .sz-pager a {
	min-width: 32px; height: 32px; padding: 0 9px; border-radius: 9px; border: 1px solid var(--sz-border); background: #fff;
	color: var(--sz-text-2); font: 600 13px var(--sz-font); cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
}
.sz-pager button:hover:not(:disabled) { border-color: var(--sz-primary-soft-2); color: var(--sz-primary-text); }
.sz-pager .is-active { background: var(--sz-gradient); border-color: transparent; color: #fff !important; }
.sz-pager button:disabled { opacity: .4; cursor: default; }
.sz-pager span { color: var(--sz-faint); padding: 0 2px; }

/* drag & drop order */
.sz-col-drag { width: 28px; padding: 0 0 0 8px !important; }
.sz-drag { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 28px; color: var(--sz-faint); cursor: grab; border-radius: 6px; }
.sz-drag:hover { color: var(--sz-primary-2); background: var(--sz-primary-soft); }
tr[draggable=true] { cursor: default; }
tr.is-dragging td { opacity: .4; }
tr.is-drop-before td { box-shadow: inset 0 3px 0 var(--sz-primary); }
tr.is-drop-after td { box-shadow: inset 0 -3px 0 var(--sz-primary); }

/* website cell */
.sz-col-site { min-width: 240px; }
@media (max-width: 1400px) { .sz-ws-table .sz-col-niche { display: none; } }
.sz-site { display: flex; align-items: center; gap: 10px; }
.sz-fav { width: 20px; height: 20px; border-radius: 5px; flex-shrink: 0; background: var(--sz-surface-2); }
.sz-site-txt { min-width: 0; }
.sz-site-line { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.sz-site-name {
	border: 0; background: none; padding: 0; font: 600 14px var(--sz-font); color: var(--sz-text);
	cursor: pointer; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 260px;
}
.sz-site-name:hover { color: var(--sz-primary-text); text-decoration: underline; text-underline-offset: 3px; }
.sz-ext { color: var(--sz-faint); font-size: 13px; line-height: 1; padding: 2px; border-radius: 4px; }
.sz-ext:hover { color: var(--sz-primary-2); }
.sz-site-meta { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; margin-top: 3px; }
.sz-new-tag {
	display: inline-flex; align-items: center; height: 18px; padding: 0 7px; border-radius: 999px;
	font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: linear-gradient(135deg, #ef4444, #b91c1c);
	box-shadow: 0 2px 6px -1px rgba(185, 28, 28, .45);
}
.sz-new-tag.is-btn { border: 0; cursor: pointer; gap: 2px; font-family: var(--sz-font); }
.sz-new-tag.is-btn i { font-size: 11px; opacity: .8; }
.sz-new-tag.is-btn:hover { filter: brightness(1.1); }
.sz-new-add { border: 1px dashed var(--sz-border-strong); background: transparent; color: var(--sz-faint); font: 700 10px var(--sz-font); letter-spacing: .06em; text-transform: uppercase; height: 18px; padding: 0 7px; border-radius: 999px; cursor: pointer; opacity: 0; transition: .12s; }
tr:hover .sz-new-add, .sz-wc .sz-new-add { opacity: 1; }
.sz-new-add:hover { color: #b91c1c; border-color: #fca5a5; background: #fef2f2; }
.sz-lang { display: inline-flex; align-items: center; gap: 3px; font-size: 11.5px; color: var(--sz-muted); }
.sz-lang i { font-size: 12px; }
.sz-status { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700; padding: 2px 8px 2px 7px; border-radius: 999px; white-space: nowrap; }
.sz-status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.sz-status--active { background: var(--sz-success-soft); color: var(--sz-success); }
.sz-status--pending { background: var(--sz-warn-soft); color: var(--sz-warn); }
.sz-status--inactive { background: #f1f5f9; color: #64748b; }
.sz-pill { font-size: 10.5px; font-weight: 700; padding: 1px 7px; border-radius: 6px; background: #f3f0e8; color: #57534e; letter-spacing: .02em; text-transform: uppercase; }
.sz-pill--warn { background: var(--sz-warn-soft); color: var(--sz-warn); text-transform: capitalize; }
.sz-price { font-weight: 700; color: var(--sz-text); white-space: nowrap; font-variant-numeric: tabular-nums; }
.sz-not-allowed { display: inline-block; font-size: 11.5px; font-weight: 700; font-style: normal; color: #b91c1c; background: #fef2f2; border: 1px solid #fecaca; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.sz-traffic { font: 600 13px var(--sz-mono); color: var(--sz-text); }
.sz-tat { display: inline-block; font-size: 12px; font-weight: 600; padding: 2px 9px; border-radius: 999px; background: #f3f0e8; color: #57534e; white-space: nowrap; }
.sz-tat.is-instant { background: var(--sz-success-soft); color: var(--sz-success); }
.sz-col-niche { max-width: 220px; }
.sz-tag {
	display: inline-flex; align-items: center; gap: 4px; margin: 1px 3px 1px 0;
	font-size: 11.5px; font-weight: 500; padding: 2px 8px; border-radius: 6px;
	background: #f3f0e8; color: #57534e; white-space: nowrap;
}
.sz-tag i { font-size: 12px; color: var(--sz-primary-2); }
.sz-tag--more { background: var(--sz-primary-soft); color: var(--sz-primary-text); font-weight: 700; cursor: help; }
.sz-tags-cell { max-width: 420px; }
.sz-mbadge {
	display: inline-flex; align-items: center; justify-content: center; min-width: 32px; height: 24px; padding: 0 6px;
	border-radius: 7px; font: 700 12.5px var(--sz-mono); color: #fff;
}
.sz-mbadge.is-empty { background: #f3f0e8; color: var(--sz-faint); font-family: var(--sz-font); }
.sz-mbadge--dr.is-hi { background: #c2410c; } .sz-mbadge--dr.is-mid { background: #ea580c; } .sz-mbadge--dr.is-lo { background: #fdba74; color: #7c2d12; } .sz-mbadge--dr.is-xlo { background: #ffedd5; color: #9a3412; }
.sz-mbadge--as.is-hi { background: #059669; } .sz-mbadge--as.is-mid { background: #10b981; } .sz-mbadge--as.is-lo { background: #6ee7b7; color: #064e3b; } .sz-mbadge--as.is-xlo { background: #d1fae5; color: #065f46; }
.sz-mbadge--da.is-hi { background: #1d4ed8; } .sz-mbadge--da.is-mid { background: #3b82f6; } .sz-mbadge--da.is-lo { background: #93c5fd; color: #1e3a8a; } .sz-mbadge--da.is-xlo { background: #dbeafe; color: #1e40af; }
.sz-count-link { font-weight: 700; color: var(--sz-primary-text); }

/* mobile website cards */
.sz-ws-cards { display: none; }
.sz-wc { padding: 14px 16px; border-bottom: 1px solid var(--sz-border); }
.sz-wc.is-selected { background: var(--sz-primary-soft); }
.sz-wc header { display: flex; align-items: center; gap: 8px; }
.sz-wc header .sz-site-name { flex: 1; min-width: 0; max-width: none; }
.sz-wc-prices { display: flex; gap: 18px; margin: 8px 0 8px 52px; font-weight: 700; }
.sz-wc-prices small { display: block; font-size: 10.5px; font-weight: 600; color: var(--sz-muted); text-transform: uppercase; letter-spacing: .04em; }
.sz-wc-metrics { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-left: 52px; font-size: 12px; color: var(--sz-muted); align-items: center; }
.sz-wc-metrics .sz-mbadge { height: 20px; min-width: 26px; font-size: 11.5px; }
.sz-wc-niche { margin: 8px 0 0 52px; display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }
.sz-wc-meta { font-size: 12px; color: var(--sz-muted); margin-left: auto; }

/* ---------- drawer ---------- */
.sz-drawer { position: fixed; inset: 0; z-index: 1060; background: rgba(27, 23, 16, 0); transition: background .22s; }
.sz-drawer[hidden] { display: none; }
.sz-drawer.is-open { background: rgba(27, 23, 16, .42); }
.sz-drawer-panel {
	position: absolute; top: 0; right: 0; bottom: 0; width: min(760px, 100%);
	background: #fff; box-shadow: var(--sz-shadow-lg); transform: translateX(100%); transition: transform .22s cubic-bezier(.2, .8, .2, 1);
	display: flex; flex-direction: column;
}
.sz-drawer--narrow .sz-drawer-panel { width: min(540px, 100%); }
.sz-drawer.is-open .sz-drawer-panel { transform: none; }
.sz-drawer-panel > form { display: flex; flex-direction: column; height: 100%; }
.sz-drawer-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--sz-border); background: linear-gradient(180deg, var(--sz-primary-soft), #fff); }
.sz-drawer-head h3 { font-size: 18px; font-weight: 800; margin: 0; word-break: break-all; }
.sz-drawer-head p { margin: 2px 0 0; font-size: 13px; }
.sz-drawer-body { flex: 1; overflow-y: auto; padding: 18px 22px 24px; }
.sz-drawer-foot { display: flex; align-items: center; justify-content: flex-end; gap: 8px; padding: 13px 22px; border-top: 1px solid var(--sz-border); background: var(--sz-surface-2); flex-wrap: wrap; }
.sz-drawer-foot > :first-child { margin-right: auto; }

/* ---------- forms ---------- */
.sz-form-sec { padding: 16px 0 18px; border-bottom: 1px solid #f0ece2; }
.sz-form-sec:last-child { border-bottom: 0; }
.sz-form-sec:first-child { padding-top: 4px; }
.sz-form-sec h4 { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--sz-text-2); margin: 0 0 14px; }
.sz-form-sec h4 i { color: var(--sz-primary-2); font-size: 17px; }
.sz-sec-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.sz-sec-head h4 { margin: 0; }
.sz-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.sz-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.sz-col-2 { grid-column: 1 / -1; }
.sz-field { display: flex; flex-direction: column; gap: 6px; margin: 0; min-width: 0; }
.sz-field + .sz-field, .sz-field + .sz-grid-2, .sz-grid-2 + .sz-field, .sz-note + .sz-field { margin-top: 14px; }
.sz-grid-2 > .sz-field, .sz-grid-3 > .sz-field, .sz-grid-2 > div { margin-top: 0 !important; }
.sz-field > span:first-child { font-size: 12.5px; font-weight: 600; color: var(--sz-text-2); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.sz-field em { color: var(--sz-danger); font-style: normal; }
.sz-field input[type=text], .sz-field input[type=email], .sz-field input[type=url], .sz-field input[type=number], .sz-field input[type=password], .sz-field input[type=search], .sz-field textarea, .sz-input-pre {
	width: 100%; min-height: 40px; padding: 9px 12px; border: 1px solid var(--sz-border-strong); border-radius: 10px;
	background: #fff; font: 400 14px var(--sz-font); color: var(--sz-text); transition: border-color .12s, box-shadow .12s;
}
.sz-field textarea { min-height: 80px; resize: vertical; line-height: 1.55; }
.sz-field input:focus, .sz-field textarea:focus { outline: 0; border-color: var(--sz-primary); box-shadow: 0 0 0 3px var(--sz-primary-ring); }
.sz-field input:disabled, .sz-field textarea:disabled, .sz-field select:disabled, .sz-field input[readonly] { background: var(--sz-surface-2); color: var(--sz-muted); }
.sz-field small { font-size: 12px; }
.sz-field--inline { flex-direction: row; align-items: center; gap: 12px; margin-top: 14px; }
.sz-field-msg { min-height: 0; color: var(--sz-muted); }
.sz-field-msg.is-error { color: var(--sz-danger); font-weight: 600; }
.sz-input-pre { display: flex; align-items: center; gap: 8px; padding: 0 0 0 12px; overflow: hidden; }
.sz-input-pre:focus-within { border-color: var(--sz-primary); box-shadow: 0 0 0 3px var(--sz-primary-ring); }
.sz-input-pre b { color: var(--sz-muted); font-weight: 700; }
.sz-input-pre input { border: 0 !important; box-shadow: none !important; padding-left: 0 !important; min-height: 38px !important; }
.sz-input-pre.is-off { background: var(--sz-surface-2); }
.sz-input-pre.is-off input { background: transparent; }
.sz-seg { display: inline-flex; padding: 3px; gap: 2px; background: var(--sz-surface-2); border: 1px solid var(--sz-border); border-radius: 12px; flex-wrap: wrap; align-self: flex-start; }
.sz-seg button { border: 1px solid transparent; background: transparent; padding: 6px 12px; border-radius: 9px; font: 600 12.5px var(--sz-font); color: var(--sz-muted); cursor: pointer; }
.sz-seg button:hover { color: var(--sz-text); }
.sz-seg button.is-on { background: #fff; color: var(--sz-primary-text); border-color: var(--sz-primary-soft-2); box-shadow: var(--sz-shadow-sm); }
.sz-toggles { display: flex; gap: 10px 22px; flex-wrap: wrap; align-items: center; min-height: 40px; }
.sz-toggles-col { flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 14px; }
.sz-switch { display: inline-flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 500; color: var(--sz-text-2); cursor: pointer; margin: 0; user-select: none; position: relative; }
.sz-switch--sm { font-size: 12.5px; margin-top: 4px; }
.sz-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sz-switch i { position: relative; width: 36px; height: 20px; border-radius: 999px; background: #d6d3cc; flex-shrink: 0; transition: background .15s; }
.sz-switch i::after { content: ''; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); transition: transform .15s; }
.sz-switch input:checked + i { background: var(--sz-gradient); }
.sz-switch input:checked + i::after { transform: translateX(16px); }
.sz-switch input:focus-visible + i { outline: 2px solid var(--sz-primary-2); outline-offset: 2px; }
.sz-switch input:disabled + i { opacity: .5; }
.sz-check { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; margin: 0; font-size: 13.5px; }
.sz-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.sz-chip-btn {
	display: inline-flex; align-items: center; gap: 4px; height: 30px; padding: 0 12px; border-radius: 999px;
	border: 1px solid var(--sz-border-strong); background: #fff; color: var(--sz-text-2); font: 500 12.5px var(--sz-font); cursor: pointer; transition: .12s;
}
.sz-chip-btn:hover { border-color: var(--sz-primary); color: var(--sz-primary-text); }
.sz-chip-btn.is-on { background: var(--sz-gradient); border-color: transparent; color: #fff; }
.sz-chip-btn i { font-size: 14px; }
.sz-chip-add input { height: 30px; width: 110px; border: 1px dashed var(--sz-border-strong); border-radius: 999px; padding: 0 12px; font-size: 12.5px; outline: 0; }
.sz-chip-add input:focus { border-color: var(--sz-primary); border-style: solid; }
.sz-chips [disabled] { opacity: .6; cursor: default; }
.sz-metric-main { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.sz-metric-big { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px; border: 1px solid var(--sz-border); border-radius: 14px; margin: 0; }
.sz-metric-big span { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.sz-metric-big input { width: 100%; border: 0; outline: 0; background: transparent; font: 800 24px var(--sz-mono); color: var(--sz-text); padding: 0; min-width: 0; }
.sz-metric-big input::placeholder { color: #cfc8b8; }
.sz-metric-big:focus-within { border-color: var(--sz-primary); box-shadow: 0 0 0 3px var(--sz-primary-ring); }
.sz-more-metrics { margin-top: 12px; }
.sz-more-metrics .sz-metric-grid { margin-top: 10px; }
.sz-metric-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.sz-metric-box { border: 1px solid var(--sz-border); border-radius: 12px; padding: 10px 12px 12px; margin: 0; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.sz-metric-box legend { float: none; width: auto; font-size: 12px; font-weight: 800; padding: 0 6px; margin: 0 0 0 -4px; letter-spacing: .02em; }
.sz-metric-box label { display: flex; align-items: center; gap: 8px; margin: 0; }
.sz-metric-box label span { width: 66px; font-size: 12px; font-weight: 600; color: var(--sz-muted); flex-shrink: 0; }
.sz-metric-box input { width: 100%; min-width: 0; height: 34px; padding: 0 9px; border: 1px solid var(--sz-border-strong); border-radius: 8px; font: 600 13px var(--sz-mono); color: var(--sz-text); }
.sz-metric-box input:focus { outline: 0; border-color: var(--sz-primary); box-shadow: 0 0 0 3px var(--sz-primary-ring); }
.sz-mb-ahrefs legend, .sz-metric-big.sz-mb-ahrefs span { color: #c2410c; }
.sz-mb-semrush legend, .sz-metric-big.sz-mb-semrush span { color: #059669; }
.sz-mb-moz legend, .sz-metric-big.sz-mb-moz span { color: #1d4ed8; }
.sz-mb-ahrefs { background: linear-gradient(180deg, #fff7ed, #fff 70%); }
.sz-mb-semrush { background: linear-gradient(180deg, #ecfdf5, #fff 70%); }
.sz-mb-moz { background: linear-gradient(180deg, #eff6ff, #fff 70%); }
.sz-form-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.sz-form-actions > .sz-btn-danger-text:first-child { margin-right: auto; }
.sz-form-actions--sticky { position: sticky; bottom: 0; padding: 12px 0; background: linear-gradient(180deg, rgba(250, 248, 243, 0), var(--sz-bg) 40%); z-index: 2; }
.sz-pass-wrap { display: flex; gap: 8px; align-items: stretch; position: relative; }
.sz-pass-wrap input { flex: 1; }

.sz-drop {
	display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 26px 16px; margin-bottom: 14px; position: relative;
	border: 2px dashed var(--sz-border-strong); border-radius: 14px; text-align: center; cursor: pointer; transition: .12s; background: var(--sz-surface-2);
}
.sz-drop:hover, .sz-drop.is-over { border-color: var(--sz-primary); background: var(--sz-primary-soft); }
.sz-drop i { font-size: 30px; color: var(--sz-primary-2); }
.sz-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.sz-note { margin-top: 16px; padding: 14px 16px; border-radius: 12px; background: var(--sz-surface-2); border: 1px solid var(--sz-border); font-size: 13px; color: var(--sz-text-2); }
.sz-note b { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; }
.sz-note b i { color: var(--sz-primary-2); }
.sz-note p { margin: 4px 0 8px; }
.sz-note ul, .sz-note ol { margin: 6px 0 0; padding-left: 18px; }
.sz-note li { margin: 3px 0; }
.sz-note--violet, .sz-note--soft { background: var(--sz-primary-soft); border-color: var(--sz-primary-soft-2); }
.sz-result { margin-top: 16px; padding: 14px; border-radius: 12px; border: 1px solid var(--sz-border); background: #fff; }
.sz-result[hidden] { display: none; }
.sz-result-grid { display: flex; gap: 10px; flex-wrap: wrap; }
.sz-result-grid span { padding: 6px 12px; border-radius: 9px; background: #f3f0e8; font-size: 13px; }
.sz-result-grid b { font-size: 16px; margin-right: 3px; }
.sz-result-grid .is-ok { background: var(--sz-success-soft); color: var(--sz-success); }
.sz-result-grid .is-info { background: var(--sz-info-soft); color: var(--sz-info); }
.sz-result-grid .is-warn { background: var(--sz-warn-soft); color: var(--sz-warn); }
.sz-result-grid .is-bad { background: var(--sz-danger-soft); color: var(--sz-danger); }
.sz-result ul { margin: 10px 0 0; padding-left: 18px; color: var(--sz-danger); }
.sz-result p { margin: 10px 0 0; }

/* ---------- alerts, toasts, empty, spinner ---------- */
.sz-alert { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; font-size: 13.5px; margin-bottom: 16px; }
.sz-alert i { font-size: 18px; line-height: 1.2; }
.sz-alert-error { background: var(--sz-danger-soft); color: #991b1b; border: 1px solid #fecaca; }
.sz-alert-warn { background: var(--sz-warn-soft); color: #92400e; border: 1px solid #fde68a; }
.sz-alert-ok { background: var(--sz-success-soft); color: #166534; border: 1px solid #bbf7d0; }
.sz-toasts { position: fixed; right: 20px; bottom: 20px; z-index: 2000; display: flex; flex-direction: column; gap: 8px; align-items: flex-end; pointer-events: none; }
.sz-toast {
	display: flex; align-items: flex-start; gap: 9px; max-width: 420px; padding: 11px 15px; border-radius: 12px;
	background: var(--sz-ink); color: #fff; font-size: 13.5px; box-shadow: var(--sz-shadow-lg);
	opacity: 0; transform: translateY(8px); transition: .25s; pointer-events: auto;
}
.sz-toast.is-in { opacity: 1; transform: none; }
.sz-toast i { font-size: 18px; line-height: 1.1; }
.sz-toast--ok i { color: #4ade80; } .sz-toast--error i { color: #f87171; } .sz-toast--info i { color: #fcd34d; } .sz-toast--warn i { color: #fbbf24; }
.sz-empty { text-align: center; padding: 60px 20px; color: var(--sz-muted); }
.sz-empty > i { font-size: 40px; color: var(--sz-primary); }
.sz-empty h2 { font-size: 20px; margin: 10px 0 6px; }
.sz-empty p { margin: 8px 0 14px; }
.sz-empty .sz-btn i { font-size: 17px; color: inherit; }
.sz-empty--sm { padding: 34px 16px; }
.sz-empty--sm > i { font-size: 32px; }
.sz-empty-acts { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.sz-spinner { display: inline-block; width: 18px; height: 18px; border: 2px solid var(--sz-primary-soft-2); border-top-color: var(--sz-primary-2); border-radius: 50%; animation: sz-rot .7s linear infinite; vertical-align: middle; }
.sz-spinner-sm { width: 14px; height: 14px; }
.sz-btn-primary .sz-spinner { border-color: rgba(255, 255, 255, .35); border-top-color: #fff; }
.sz-spin { display: inline-block; animation: sz-rot .8s linear infinite; }
@keyframes sz-rot { to { transform: rotate(360deg); } }

/* ---------- Google Sheet ---------- */
.sz-grid-main { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.sz-grid-main > .sz-card { margin-bottom: 0; }
.sz-gs-steps { list-style: none; counter-reset: gs; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 0; margin: 0 0 16px; }
.sz-gs-steps li { counter-increment: gs; position: relative; padding: 10px 12px 10px 44px; border: 1px solid var(--sz-border); border-radius: 12px; background: #fff; }
.sz-gs-steps li::before {
	content: counter(gs); position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
	width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
	font-size: 12px; font-weight: 800; background: #f3f0e8; color: var(--sz-muted);
}
.sz-gs-steps b { display: block; font-size: 13px; }
.sz-gs-steps small { color: var(--sz-muted); font-size: 11.5px; }
.sz-gs-steps li.is-current { border-color: var(--sz-primary); background: var(--sz-primary-soft); }
.sz-gs-steps li.is-current::before { background: var(--sz-gradient); color: #fff; }
.sz-gs-steps li.is-done::before { content: '✓'; background: var(--sz-success); color: #fff; }
.sz-sync-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sz-sync-actions--one { grid-template-columns: 1fr; }
.sz-sync-btn {
	display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 18px; text-align: left;
	border: 1px solid var(--sz-border); border-radius: 14px; background: #fff; cursor: pointer; font-family: var(--sz-font); transition: .12s;
}
.sz-sync-btn:hover:not(:disabled) { border-color: var(--sz-primary); box-shadow: 0 0 0 3px var(--sz-primary-ring); }
.sz-sync-btn:disabled { opacity: .5; cursor: not-allowed; }
.sz-sync-btn > i { font-size: 26px; color: var(--sz-primary-2); }
.sz-sync-btn b { font-size: 15px; color: var(--sz-text); }
.sz-sync-btn small { color: var(--sz-muted); font-size: 12.5px; line-height: 1.45; }
.sz-sync-btn.is-next { border-color: var(--sz-primary); background: var(--sz-primary-soft); box-shadow: 0 0 0 3px var(--sz-primary-ring); }
.sz-sync-btn--main:not(:disabled) { background: linear-gradient(160deg, #fff 0%, var(--sz-primary-soft) 100%); }
.sz-log { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.sz-log-row { display: flex; gap: 10px; padding: 10px 12px; border-radius: 10px; font-size: 13px; }
.sz-log-row i { font-size: 18px; }
.sz-log-row.is-ok { background: #f0fdf4; color: #166534; }
.sz-log-row.is-bad { background: #fef2f2; color: #991b1b; }
.sz-log-row.is-info { background: var(--sz-surface-2); color: var(--sz-text-2); border: 1px solid var(--sz-border); }
.sz-details { margin-top: 14px; font-size: 13px; color: var(--sz-text-2); }
.sz-details summary { cursor: pointer; font-weight: 600; color: var(--sz-primary-text); }
.sz-details ol { margin: 8px 0 0; padding-left: 18px; }
.sz-details li { margin: 4px 0; }

/* ---------- Team ---------- */
.sz-merchant-card {
	display: flex; align-items: center; gap: 16px; padding: 18px 20px; margin-bottom: 20px; flex-wrap: wrap;
	border-radius: 18px; border: 1px solid var(--sz-primary-soft-2);
	background: var(--sz-hero);
}
.sz-merchant-txt { flex: 1; min-width: 200px; }
.sz-merchant-txt h3 { font-size: 18px; font-weight: 800; margin: 2px 0; }
.sz-merchant-txt p { margin: 0; font-size: 13px; }
.sz-merchant-note { display: flex; flex-direction: column; max-width: 380px; font-size: 12.5px; color: var(--sz-text-2); }
.sz-merchant-note b { color: var(--sz-primary-text); }
.sz-waiting.has-items { border-color: var(--sz-primary-soft-2); box-shadow: 0 0 0 3px rgba(245, 166, 35, .12), var(--sz-shadow); }
.sz-waiting .sz-card-head { background: linear-gradient(180deg, var(--sz-primary-soft), #fff); border-radius: 18px 18px 0 0; }
.sz-wait-empty { margin: 0; display: flex; align-items: center; gap: 6px; }
.sz-wait-empty i { color: var(--sz-success); font-size: 16px; }
.sz-pub-cell { display: flex; align-items: center; gap: 10px; }
.sz-perm-list { display: flex; flex-direction: column; gap: 14px; }
.sz-perm-group-h { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--sz-faint); margin-bottom: 6px; }
.sz-perm { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border: 1px solid var(--sz-border); border-radius: 12px; margin: 0 0 6px; cursor: pointer; transition: border-color .12s; }
.sz-perm:hover { border-color: var(--sz-primary-soft-2); }
.sz-perm-ic { width: 32px; height: 32px; border-radius: 9px; background: var(--sz-primary-soft); color: var(--sz-primary-2); display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.sz-perm-txt { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.sz-perm-txt b { font-size: 13.5px; font-weight: 600; }
.sz-perm-txt small { color: var(--sz-muted); font-size: 12px; }
.sz-switch--only { gap: 0; }
#team-site-sec.is-disabled { opacity: .45; pointer-events: none; }
#team-site-sec .sz-seg { margin: 12px 0 0; }
.sz-site-picker { margin-top: 12px; }
.sz-site-picker[hidden] { display: none; }
.sz-site-list { max-height: 260px; overflow-y: auto; border: 1px solid var(--sz-border); border-radius: 12px; padding: 6px 10px; margin: 8px 0 6px; display: flex; flex-direction: column; gap: 4px; }
.sz-site-list .sz-check { padding: 4px 0; }

/* ---------- Settings / profile ---------- */
.sz-api-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.sz-api { border: 1px solid var(--sz-border); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.sz-api-h { display: flex; align-items: center; gap: 8px; }
.sz-api-h i { font-size: 18px; color: var(--sz-primary-2); }
.sz-api-h .sz-status { margin-left: auto; }
.sz-api > small { margin-top: -6px; }
.sz-narrow { max-width: 720px; }
.sz-connect { scroll-margin-top: 80px; }
.sz-connect.is-flash { animation: sz-flash 2.4s ease-out 1; }
@keyframes sz-flash { 0%, 40% { box-shadow: 0 0 0 4px var(--sz-primary-ring), var(--sz-shadow); } 100% { box-shadow: var(--sz-shadow); } }
.sz-connect-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 18px 24px; align-items: start; }
.sz-connect-dl { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 16px; border-radius: 14px; background: var(--sz-hero); border: 1px solid var(--sz-primary-soft-2); }
.sz-connect-dl small { font-size: 12px; }
.sz-keybox { display: flex; align-items: center; gap: 6px; padding: 6px 6px 6px 12px; border: 1px solid var(--sz-border-strong); border-radius: 10px; background: var(--sz-surface-2); }
.sz-keybox code { flex: 1; min-width: 0; border: 0 !important; background: none !important; padding: 0 !important; font-size: 12.5px !important; overflow-wrap: anywhere; }
.sz-steps { margin: 18px 0 0; padding-left: 20px; font-size: 13.5px; color: var(--sz-text-2); }
.sz-steps li { margin: 5px 0; }
.sz-steps li::marker { color: var(--sz-primary-2); font-weight: 800; }
.sz-steps a { color: var(--sz-primary-text); font-weight: 600; }

/* Rules */
.sz-default-rules { padding: 12px 14px; border: 1px dashed var(--sz-border-strong); border-radius: 12px; background: var(--sz-surface-2); }
.sz-default-rules[hidden], #ws-custom-rules[hidden] { display: none; }
.sz-default-rules pre { margin: 0 0 6px; white-space: pre-wrap; font: 400 13.5px/1.6 var(--sz-font); color: var(--sz-text-2); }
.sz-default-rules a { color: var(--sz-primary-text); font-weight: 600; }

/* Cloudflare accounts */
.sz-cf-list { display: flex; flex-direction: column; gap: 10px; }
.sz-cf-row { display: grid; grid-template-columns: 70px 1.1fr 1.3fr 1.6fr auto auto; gap: 10px; align-items: end; padding: 12px; border: 1px solid var(--sz-border); border-radius: 14px; background: var(--sz-surface-2); }
.sz-cf-row .sz-field { margin: 0 !important; }
.sz-cf-color input[type=color] { width: 100%; height: 40px; border: 1px solid var(--sz-border-strong); border-radius: 10px; padding: 3px; background: #fff; cursor: pointer; }
.sz-cf-row .sz-icon-btn { margin-bottom: 2px; }
.sz-cf-state { font-size: 12px; min-width: 0; }
.sz-waiting.is-collapsed .sz-table-wrap { display: none; }
@media (max-width: 1100px) { .sz-cf-row { grid-template-columns: 1fr 1fr; } .sz-cf-row .sz-cf-key { grid-column: 1 / -1; } }

/* running log panel */
.sz-runlog { position: fixed; right: 20px; bottom: 20px; z-index: 1900; width: min(440px, calc(100vw - 24px)); background: #fff; border: 1px solid var(--sz-border); border-radius: 14px; box-shadow: var(--sz-shadow-lg); overflow: hidden; font-size: 12.5px; }
.sz-runlog[hidden] { display: none; }
.sz-runlog-h { display: flex; align-items: center; gap: 8px; padding: 10px 12px; background: var(--sz-primary-soft); border-bottom: 1px solid var(--sz-primary-soft-2); }
.sz-runlog-h b { flex: 1; min-width: 0; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sz-runlog.is-done .sz-runlog-h { background: var(--sz-success-soft); border-color: #bbf7d0; }
.sz-runlog.is-error .sz-runlog-h { background: var(--sz-danger-soft); border-color: #fecaca; }
.sz-runlog.is-done .sz-spinner, .sz-runlog.is-error .sz-spinner { display: none; }
.sz-runlog-x { border: 0; background: transparent; font-size: 18px; line-height: 1; cursor: pointer; color: var(--sz-muted); }
.sz-runlog-bar { height: 5px; background: #f0ece2; }
.sz-runlog-bar i { display: block; height: 100%; width: 0; background: var(--sz-gradient); transition: width .25s; }
.sz-runlog.is-done .sz-runlog-bar i { background: var(--sz-success); }
.sz-runlog-sub { padding: 6px 12px 0; font-weight: 600; color: var(--sz-text-2); font-variant-numeric: tabular-nums; }
.sz-runlog-lines { max-height: 180px; overflow-y: auto; padding: 6px 12px 10px; font-family: var(--sz-mono); font-size: 11px; line-height: 1.5; color: var(--sz-muted); white-space: pre-wrap; }
.sz-runlog-line.is-ok { color: var(--sz-success); }
.sz-runlog-line.is-bad { color: var(--sz-danger); }
.sz-toasts { bottom: 20px; }
.sz-runlog:not([hidden]) ~ .sz-toasts, body:has(.sz-runlog:not([hidden])) .sz-toasts { bottom: 20px; right: 480px; }
@media (max-width: 767.98px) { body:has(.sz-runlog:not([hidden])) .sz-toasts { right: 12px; bottom: 300px; } }

/* ---------- login (gposting.com look) ---------- */
.sz-login { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); min-height: 100vh; }
.sz-login-brand {
	position: relative; overflow: hidden; display: flex; align-items: center; padding: 56px 64px;
	background: var(--sz-hero);
	border-right: 1px solid var(--sz-border-soft);
}
.sz-login-brand::after {
	content: ''; position: absolute; right: -180px; bottom: -180px; width: 480px; height: 480px; border-radius: 50%;
	background: radial-gradient(circle, rgba(245, 166, 35, .28) 0%, rgba(245, 166, 35, 0) 70%);
	pointer-events: none;
}
.sz-login-brand-in { position: relative; max-width: 500px; z-index: 1; }
.sz-login-logo img { display: block; width: 220px; height: auto; }
.sz-eyebrow { display: inline-block; margin: 34px 0 0; font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #b06a00; }
.sz-login-brand h1 { color: var(--sz-ink); font-size: 44px; line-height: 1.08; font-weight: 800; letter-spacing: -.035em; margin: 10px 0 14px; }
.sz-login-brand h1 em { font-style: normal; background: var(--sz-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sz-login-brand p { font-size: 16px; line-height: 1.65; color: #4b5563; margin: 0 0 28px; }
.sz-login-points { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.sz-login-points li { display: flex; align-items: center; gap: 12px; font-size: 14.5px; color: var(--sz-text-2); font-weight: 500; }
.sz-login-points i {
	width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 17px;
	color: #fff; background: var(--sz-gradient); box-shadow: 0 6px 14px -4px rgba(212, 136, 10, .5);
}
.sz-login-form-wrap { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 24px; background: #fff; }
.sz-login-card { width: 100%; max-width: 410px; }
.sz-login-tabs { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 14px; background: var(--sz-surface-2); border: 1px solid var(--sz-border); margin-bottom: 26px; }
.sz-login-tabs button { height: 40px; border: 1px solid transparent; border-radius: 10px; background: transparent; font: 600 14px var(--sz-font); color: var(--sz-muted); cursor: pointer; }
.sz-login-tabs button.is-on { background: #fff; color: var(--sz-primary-text); border-color: var(--sz-primary-soft-2); box-shadow: var(--sz-shadow-sm); }
.sz-login-form { width: 100%; display: flex; flex-direction: column; gap: 16px; }
.sz-login-form[hidden] { display: none; }
.sz-login-form h2 { font-size: 28px; font-weight: 800; margin: 0; letter-spacing: -.03em; color: var(--sz-ink); }
.sz-login-form > p.sz-muted { margin: -10px 0 4px; }
.sz-login-form .sz-field input { min-height: 46px; border-radius: 12px; }
.sz-login-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13.5px; }
.sz-login-row a, .sz-login-body a { color: var(--sz-primary-text); font-weight: 600; text-decoration: none; }
.sz-login-row a:hover { text-decoration: underline; }
.sz-login-switch { margin: 0; text-align: center; font-size: 13.5px; color: var(--sz-muted); }
.sz-login-switch .sz-link { font-size: 13.5px; }
.sz-login-mobile-brand { display: none; justify-content: center; margin-bottom: 22px; }
.sz-login-mobile-brand img { display: block; width: 170px; height: auto; }
.sz-login-foot { margin: 28px 0 0; font-size: 12.5px; color: var(--sz-faint); }
.sz-login-foot a { color: var(--sz-muted) !important; }
.sz-pass-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: 0; background: none; color: var(--sz-muted); font-size: 18px; cursor: pointer; padding: 6px; }
.sz-login-form .sz-pass-wrap input { padding-right: 42px; }
.sz-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- legacy module pages (Sites Manager, Site Health, Cloudflare, Domain Manager) ---------- */
.sz-legacy-page .btn-primary { background: var(--sz-gradient) !important; border-color: transparent !important; color: #fff !important; }
.sz-legacy-page .btn-primary:hover { filter: brightness(1.05); }

/* SweetAlert polish */
.swal2-popup { font-family: var(--sz-font) !important; border-radius: 18px !important; }
.swal2-title { font-size: 20px !important; color: var(--sz-ink) !important; }
.swal2-html-container { font-size: 14.5px !important; }
.swal2-styled.swal2-confirm { border-radius: 12px !important; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
	.sz-grid-main, .sz-api-grid, .sz-connect-grid { grid-template-columns: 1fr; }
	.sz-grid-3 { grid-template-columns: 1fr 1fr; }
	.sz-login-brand { padding: 48px 40px; }
	.sz-login-brand h1 { font-size: 36px; }
}
@media (max-width: 991.98px) {
	.sz-sidebar { transform: translateX(-100%); transition: transform .22s; box-shadow: var(--sz-shadow-lg); }
	body.sz-nav-open .sz-sidebar { transform: none; }
	body.sz-nav-open .sz-backdrop { display: block; position: fixed; inset: 0; background: rgba(27, 23, 16, .42); z-index: 1035; }
	.sz-main { margin-left: 0; }
	.sz-icon-btn.sz-burger { display: inline-flex; }
	.sz-topbar { padding: 0 16px; gap: 10px; }
	.sz-content { padding: 18px 16px; }
	.sz-legacy-page .sz-content { padding: 10px 15px 20px; }
}
@media (max-width: 767.98px) {
	.sz-top-search { display: none; }
	.sz-topbar-title + .sz-top-search + .sz-top-user, .sz-top-user { margin-left: auto; }
	.sz-hide-sm { display: none; }
	.sz-page-head h2 { font-size: 21px; }
	.sz-page-actions { width: 100%; }
	.sz-page-actions .sz-btn { flex: 1 1 auto; }
	.sz-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	.sz-stat { padding: 10px 12px; }
	.sz-stat-v { font-size: 19px; }
	.sz-search { max-width: none; flex-basis: 100%; }
	.sz-quick { width: 100%; overflow-x: auto; flex-wrap: nowrap; }
	.sz-filterbar .sz-select { flex: 1 1 calc(50% - 8px); max-width: none; }
	.sz-ws-card .sz-table-wrap { display: none; }
	.sz-ws-cards { display: block; }
	.sz-grid-2, .sz-grid-3, .sz-metric-grid, .sz-sync-actions, .sz-gs-steps { grid-template-columns: 1fr; }
	.sz-metric-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	.sz-metric-big { padding: 10px; }
	.sz-metric-big input { font-size: 19px; }
	.sz-drawer-head, .sz-drawer-body, .sz-drawer-foot { padding-left: 16px; padding-right: 16px; }
	.sz-drawer-foot .sz-btn { flex: 1 1 auto; }
	.sz-drawer-foot > :first-child:empty { display: none; }
	.sz-login { grid-template-columns: 1fr; }
	.sz-login-brand { display: none; }
	.sz-login-form-wrap { background: var(--sz-hero); justify-content: flex-start; padding-top: 36px; }
	.sz-login-card { background: #fff; padding: 24px 20px; border-radius: 18px; border: 1px solid var(--sz-border-soft); box-shadow: var(--sz-shadow); }
	.sz-login-mobile-brand { display: flex; }
	.sz-table-foot { justify-content: center; }
	.sz-bulkbar-actions { margin-left: 0; }
	.sz-toasts { left: 12px; right: 12px; align-items: stretch; }
	.sz-toast { max-width: none; }
	.sz-card-pad { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
	.sz-drawer-panel, .sz-sidebar, .sz-toast, .sz-drawer { transition: none; }
	.sz-table-wrap.is-loading::after, .sz-connect.is-flash { animation: none; }
}
