/**
 * Intentosphere admin shell — aligned with drip_dashboard.html (#subscription, workspace UI).
 * Fonts: load Outfit + Poppins in each HTML <head>.
 */
:root {
	--font-sans: 'Inter', 'Poppins', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
	--font-display: 'Outfit', ui-sans-serif, system-ui, sans-serif;
	--gutter: 28px;
	--gap: 16px;
	--radius: 16px;
	--radius-sm: 14px;
	--bg: #f4f6f9;
	--surface: #ffffff;
	--surface-2: #f8fafc;
	--border: #e6edf5;
	--text: #0f172a;
	--text-muted: #64748b;
	--primary: #00a3e0;
	--primary-hover: #007bb0;
	--primary-light: rgba(0, 163, 224, 0.18);
	--sidebar: var(--surface);
	--sidebar-border: var(--border);
	--sidebar-muted: var(--text-muted);
	--accent: #ff7a00;
	--danger: #b91c1c;
	--success: #059669;
	--shadow-1: 0 1px 2px rgba(15, 23, 42, 0.04);
	--shadow-2: 0 10px 30px rgba(15, 23, 42, 0.05);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
	margin: 0;
	padding: 0;
	font-family: var(--font-sans);
	font-size: 14px;
	line-height: 1.55;
	background: var(--bg);
	color: var(--text);
	-webkit-font-smoothing: antialiased;
}
body.auth-pending { visibility: hidden; }

.view { display: none; animation: viewIn 0.22s ease; }
.view.active { display: block; }
@keyframes viewIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

.font-display { font-family: var(--font-display); }

/* Shell */
.app-shell { display: flex; min-height: 100vh; height: 100%; overflow: hidden; }
.app-sidebar {
	position: fixed;
	left: 0;
	top: 0;
	bottom: 0;
	width: 260px;
	z-index: 100;
	flex-shrink: 0;
	background: var(--sidebar);
	color: var(--text);
	padding: 22px 0;
	display: flex;
	flex-direction: column;
	border-right: 1px solid var(--sidebar-border);
	overflow-y: auto;
}
.app-sidebar .brand,
.app-sidebar-brand {
	padding: 0 20px 18px;
	border-bottom: 1px solid var(--sidebar-border);
	margin-bottom: 10px;
}
.app-sidebar .name,
.app-sidebar-brand .name {
	font-size: 1.05rem;
	font-weight: 800;
	color: var(--text);
	letter-spacing: -0.01em;
	margin-top: 2px;
}
.app-sidebar .sub,
.app-sidebar-brand .sub {
	font-size: 0.75rem;
	color: var(--sidebar-muted);
	margin-top: 8px;
	line-height: 1.4;
}
.app-sidebar .mark,
.app-sidebar-brand .mark {
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--accent);
}
.ws-brand-row { display: flex; align-items: center; gap: 12px; }
.ws-brand-logo {
	width: 44px;
	height: 44px;
	object-fit: contain;
	border-radius: 12px;
	background: var(--surface-2);
	flex-shrink: 0;
	border: 1px solid var(--sidebar-border);
}

.app-nav {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 12px 10px;
	flex: 1;
}
.app-nav a,
.app-nav button {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	text-align: left;
	padding: 11px 14px;
	border: none;
	border-radius: 12px;
	background: transparent;
	color: var(--sidebar-muted);
	font-family: inherit;
	font-size: 0.92rem;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.15s, color 0.15s;
	text-decoration: none;
	box-sizing: border-box;
	position: relative;
}
.app-nav a:hover,
.app-nav button:hover:not(:disabled) {
	background: rgba(0, 163, 224, 0.08);
	color: var(--text);
}
.app-nav a.active,
.app-nav button.active {
	background: rgba(0, 163, 224, 0.12);
	color: #007bb0;
	box-shadow: inset 0 0 0 1px rgba(0, 163, 224, 0.22);
}
.app-nav button.dummy-nav {
	opacity: 0.45;
	cursor: default;
	pointer-events: none;
}

.app-sidebar-foot {
	padding: 16px 20px;
	border-top: 1px solid var(--sidebar-border);
	font-size: 0.75rem;
	color: var(--sidebar-muted);
}

.sidebar-logout-btn {
	width: 100%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 10px 14px;
	border-radius: 999px;
	border: 1px solid rgba(0, 163, 224, 0.28);
	background: rgba(0, 163, 224, 0.1);
	color: #007bb0;
	font-weight: 800;
	cursor: pointer;
	font-family: inherit;
	font-size: 0.85rem;
}
.sidebar-logout-btn:hover { background: rgba(0, 163, 224, 0.14); }

.app-stage {
	flex: 1;
	display: flex;
	flex-direction: column;
	min-width: 0;
	min-height: 0;
	margin-left: 260px;
	height: 100vh;
	overflow: hidden;
}
.app-topbar {
	flex-shrink: 0;
	background: var(--surface);
	border-bottom: 1px solid var(--border);
	padding: 14px var(--gutter);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}
.app-topbar h1,
.app-topbar > strong:first-child,
.app-topbar > strong {
	margin: 0;
	font-size: 1.25rem;
	font-weight: 800;
	letter-spacing: -0.03em;
	color: var(--text);
	font-family: var(--font-display);
}

/* Multi-route admin HTML: admin, admin_users, admin_subscription, admin_reports */
.admin-topbar-actions {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}
.stat .card .v {
	font-size: 1.5rem;
}
.card > h3 {
	margin: 0 0 12px;
	font-size: 1.05rem;
	font-weight: 800;
	font-family: var(--font-display);
	color: var(--text);
}
.admin-card-spaced {
	margin-bottom: 14px;
}

.app-main {
	flex: 1;
	min-height: 0;
	padding: var(--gutter) var(--gutter) 48px;
	overflow-x: hidden;
	overflow-y: auto;
}

/* Hero (dashboard & admin landing) */
.hero,
.admin-hero {
	background: linear-gradient(135deg, #007bb0 0%, #00a3e0 48%, #0b4f6c 100%);
	border-radius: var(--radius-sm);
	padding: 28px 32px;
	color: #ecfeff;
	margin-bottom: 24px;
	box-shadow: 0 20px 40px -12px rgba(0, 163, 224, 0.38);
	position: relative;
}
.hero h2,
.admin-hero h2 {
	margin: 0 0 8px;
	font-size: 1.5rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	font-family: var(--font-display);
}
.hero.serif h2,
.hero .serif { font-family: var(--font-display); }
.hero p,
.admin-hero p {
	margin: 0;
	opacity: 0.92;
	max-width: 560px;
	font-size: 0.9375rem;
	line-height: 1.55;
}

.growth-box {
	margin-top: 20px;
	display: inline-flex;
	align-items: center;
	gap: 24px;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 12px;
	padding: 16px 24px;
	backdrop-filter: blur(8px);
	flex-wrap: wrap;
}
.gb-lbl { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.75); margin-bottom: 4px; }
.gb-val { font-size: 1.35rem; font-weight: 700; display: flex; align-items: baseline; gap: 8px; font-family: var(--font-display); }
.gb-sub { font-size: 0.85rem; font-weight: 500; opacity: 0.88; }
.btn-white {
	background: #fff;
	color: #007bb0;
	border: none;
	border-radius: 12px;
	padding: 10px 18px;
	font-weight: 700;
	cursor: pointer;
	font-family: inherit;
	font-size: 0.875rem;
	box-shadow: var(--shadow-1);
}
.btn-white:hover { background: var(--surface-2); }

/* Cards & grids */
.stat-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: var(--gap);
	margin-bottom: 24px;
}
.secondary-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1100px) {
	.stat-grid { grid-template-columns: repeat(2, 1fr); }
	.secondary-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
	.stat-grid, .secondary-grid { grid-template-columns: 1fr; }
}

.card,
.stat-card,
.pack-card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	padding: 20px 22px;
	box-shadow: var(--shadow-1);
}
.stat-card .lbl,
.card .k,
.k {
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--text-muted);
}
.stat-card .val,
.card .v,
.v {
	font-size: 1.75rem;
	font-weight: 700;
	color: var(--text);
	margin-top: 6px;
	letter-spacing: -0.02em;
	font-family: var(--font-display);
}
.stat-card .hint,
.hint,
.sc-hint {
	font-size: 0.78rem;
	color: var(--text-muted);
	margin-top: 8px;
}

.sc-mini {
	padding: 16px 18px;
}
.sc-mini .lbl { font-size: 0.7rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.sc-mini .val { font-size: 1.2rem; font-weight: 700; margin-top: 4px; font-family: var(--font-display); }

.sc-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; }
.sc-icon {
	width: 36px;
	height: 36px;
	border-radius: 10px;
	background: rgba(0, 163, 224, 0.08);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--primary);
	border: 1px solid rgba(0, 163, 224, 0.2);
}
.sc-badge {
	font-size: 0.65rem;
	font-weight: 700;
	padding: 4px 8px;
	border-radius: 999px;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}
.sc-badge.positive { background: rgba(0, 163, 224, 0.12); color: var(--primary-hover); }
.sc-badge.neutral { background: var(--surface-2); color: #475569; }
.sc-badge.warn { background: #fffbeb; color: #d97706; }

.stat { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin-bottom: 14px; }

/* Subscription view (plan catalog) */
.subs-wrap {
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	padding: 24px;
}
.subs-hero { text-align: center; margin-bottom: 22px; }
.subs-hero h2 {
	margin: 0;
	font-size: 2rem;
	line-height: 1.15;
	letter-spacing: -0.03em;
	color: var(--text);
	font-family: var(--font-display);
	font-weight: 800;
}
.subs-hero p { margin: 10px auto 0; font-size: 1rem; max-width: 680px; color: #475569; }
.subs-billing-toggle { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 0.82rem; color: var(--text); font-weight: 600; }
.subs-footer {
	margin-top: 18px;
	border-top: 1px solid #dce3ea;
	padding-top: 12px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	flex-wrap: wrap;
	color: #64748b;
	font-size: 0.8rem;
}
.plan-note { font-size: 0.8125rem; color: var(--text-muted); margin-top: 14px; max-width: 780px; text-align: center; margin-left: auto; margin-right: auto; }

/* Tables */
table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.875rem;
}
th, td {
	text-align: left;
	border-bottom: 1px solid var(--border);
	padding: 10px 12px;
	vertical-align: top;
}
th {
	background: var(--surface-2);
	font-weight: 700;
	color: var(--text-muted);
	text-transform: uppercase;
	font-size: 0.75rem;
	letter-spacing: 0.05em;
}
tr.clickable:hover td,
tbody tr[data-user-id]:hover td {
	background: rgba(0, 163, 224, 0.04);
	cursor: pointer;
}

/* Forms */
input[type="text"],
input[type="search"],
input[type="password"],
input[type="number"],
input[type="email"],
select,
textarea {
	width: 100%;
	border-radius: 10px;
	border: 1px solid var(--border);
	padding: 10px 12px;
	font-family: inherit;
	font-size: 0.875rem;
	color: var(--text);
	background: #fff;
	transition: border-color 0.15s;
}
input:focus,
select:focus,
textarea:focus {
	outline: none;
	border-color: rgba(0, 163, 224, 0.55);
	box-shadow: 0 0 0 3px rgba(0, 163, 224, 0.12);
}
input[readonly], select:disabled { background: var(--surface-2); color: #475569; }

label {
	display: block;
	font-size: 0.74rem;
	color: var(--text-muted);
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-weight: 700;
	margin-bottom: 6px;
}

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 16px;
	border-radius: 12px;
	border: 1px solid var(--border);
	background: var(--surface);
	color: var(--text);
	font-family: inherit;
	font-size: 0.875rem;
	font-weight: 700;
	cursor: pointer;
	transition: background 0.15s, border-color 0.15s;
}
.btn:hover { background: var(--surface-2); }
.btn-primary,
.btn.btn-primary {
	background: var(--primary);
	border-color: var(--primary);
	color: #fff;
	box-shadow: 0 4px 14px rgba(0, 163, 224, 0.2);
}
.btn-primary:hover,
.btn.btn-primary:hover {
	background: var(--primary-hover);
	border-color: var(--primary-hover);
}
.btn-o,
.btn-outline,
.btn-secondary {
	background: var(--surface);
	border: 1px solid var(--border);
	color: var(--text);
}
.btn-o:hover,
.btn-outline:hover,
.btn-secondary:hover {
	background: var(--surface-2);
	border-color: #cbd5e1;
}
.btn-danger { background: #fff1f2; border-color: #fecdd3; color: #9f1239; }

.toolbar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.head-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.head-row h3 { margin: 0; font-size: 1.15rem; font-weight: 800; font-family: var(--font-display); letter-spacing: -0.02em; }

.row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; align-items: center; }

/* Topbar search (saas_admin) */
.search-wrap {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 14px;
	border: 1px solid var(--border);
	border-radius: 999px;
	background: var(--surface-2);
	min-width: 260px;
}
.search-wrap input {
	border: none;
	padding: 4px 0;
	background: transparent;
	width: 100%;
}
.search-wrap input:focus { box-shadow: none; }

.icon-btn {
	width: 38px;
	height: 38px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	border: 1px solid var(--border);
	background: #fff;
	cursor: pointer;
	box-shadow: var(--shadow-1);
	color: var(--text-muted);
}
.icon-btn:hover {
	border-color: rgba(0, 163, 224, 0.4);
	color: var(--primary-hover);
}
.topbar-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.topbar-actions .divider { width: 1px; height: 24px; background: var(--border); }
.user-profile { display: flex; align-items: center; gap: 12px; }
.up-name { font-size: 0.875rem; font-weight: 700; color: var(--text); }
.up-role { font-size: 0.75rem; color: var(--text-muted); }

/* SaaS dashboard extras */
.main-layout-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; }
.main-left { display: flex; flex-direction: column; gap: 24px; }
@media (max-width: 1100px) { .main-layout-grid { grid-template-columns: 1fr; } }

.chart-card .head-row { margin-bottom: 20px; }
.chart-toggles { display: flex; background: var(--surface-2); border-radius: 10px; padding: 4px; border: 1px solid var(--border); }
.ct-btn {
	background: none;
	border: none;
	padding: 6px 12px;
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--text-muted);
	cursor: pointer;
	border-radius: 8px;
	font-family: inherit;
}
.ct-btn.active { background: var(--surface); color: var(--text); box-shadow: var(--shadow-1); }

.mc-fill { background: linear-gradient(180deg, #00a3e0, #007bb0) !important; }

.health-panel {
	background: linear-gradient(160deg, #0b1f3f 0%, #0f172a 55%, #020617 100%);
	border-radius: var(--radius-sm);
	padding: 28px 24px;
	color: #e2e8f0;
	height: 100%;
	display: flex;
	flex-direction: column;
	border: 1px solid rgba(255, 255, 255, 0.08);
}
.health-panel h3 { margin: 0 0 12px; font-size: 1.25rem; font-weight: 800; font-family: var(--font-display); color: #fff; }
.health-panel p { font-size: 0.85rem; color: #cbd5e1; line-height: 1.5; margin: 0 0 28px; }
.hpm-head { display: flex; justify-content: space-between; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.05em; margin-bottom: 8px; color: #94a3b8; }
.hpm-bar { height: 4px; background: rgba(255, 255, 255, 0.1); border-radius: 2px; overflow: hidden; }
.hpm-fill { height: 100%; background: linear-gradient(90deg, #00a3e0, #34d399); border-radius: 2px; }
.hp-metrics { display: flex; flex-direction: column; gap: 22px; flex: 1; }
.btn-outline-health {
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.22);
	color: #fff;
	padding: 12px 16px;
	border-radius: 12px;
	font-weight: 700;
	font-family: inherit;
	font-size: 0.85rem;
	cursor: pointer;
	margin-top: auto;
}
.btn-outline-health:hover { background: rgba(255, 255, 255, 0.06); }

.activity-card h3 { margin: 0; font-size: 1.05rem; font-weight: 800; font-family: var(--font-display); }
.view-all-link { font-size: 0.8rem; font-weight: 700; color: var(--primary); text-decoration: none; }
.view-all-link:hover { text-decoration: underline; }
.act-item { border-bottom-color: var(--border) !important; }

.sidebar-action { padding: 16px 16px 0; }
.btn-teal-solid {
	background: var(--primary);
	color: #fff;
	border: none;
	border-radius: 12px;
	padding: 11px 14px;
	font-weight: 800;
	cursor: pointer;
	font-family: inherit;
	font-size: 0.85rem;
	box-shadow: 0 4px 14px rgba(0, 163, 224, 0.2);
}
.btn-teal-solid:hover { background: var(--primary-hover); }

.user-name-btn {
	background: none;
	border: none;
	padding: 0;
	margin: 0;
	font: inherit;
	font-weight: 700;
	color: var(--primary-hover);
	cursor: pointer;
	text-align: left;
	text-decoration: underline;
	text-underline-offset: 3px;
}
.user-name-btn:hover { color: var(--text); }

.split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; align-items: start; }
@media (max-width: 980px) { .split { grid-template-columns: 1fr; } }

.flow { display: grid; gap: 12px; margin-top: 12px; }
.flow .step {
	border: 1px solid var(--border);
	border-radius: 12px;
	background: var(--surface-2);
	padding: 16px 18px;
}
.flow .step b { display: block; font-size: 0.9rem; margin-bottom: 6px; color: var(--text); font-family: var(--font-display); }

.overlay {
	position: fixed;
	inset: 0;
	background: rgba(15, 23, 42, 0.55);
	backdrop-filter: blur(4px);
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 1000;
}
.overlay.show { display: flex; }
.login {
	width: min(400px, 92vw);
	background: var(--surface);
	border-radius: var(--radius);
	padding: 32px;
	box-shadow: var(--shadow-2);
	border: 1px solid var(--border);
}
.login h3 { margin: 0 0 24px; font-size: 1.5rem; font-weight: 800; font-family: var(--font-display); text-align: center; }

.err { color: var(--danger); font-size: 0.875rem; margin-top: 8px; }
.muted { color: var(--text-muted); font-size: 0.875rem; }
.ok { color: var(--success); }
.app-footer { margin-top: 28px; color: var(--text-muted); font-size: 0.8rem; }

.detail-kv { font-size: 0.82rem; line-height: 1.55; color: var(--text); }
.detail-kv b { color: var(--text-muted); font-weight: 600; margin-right: 6px; }

.small-input { padding: 8px 10px; font-size: 0.8rem; }

/* Admin sign-in — two columns: brand logo | login form (no payu_theme on this page) */
.admin-signin-page {
	min-height: 100vh;
	margin: 0;
	background: #e8ecf2;
	font-family: 'Inter', var(--font-sans);
}
.admin-signin-wrap {
	min-height: 100vh;
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	align-items: stretch;
}
.admin-signin-brand {
	background: linear-gradient(165deg, #2b8fc9 0%, #0a3a5c 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: clamp(24px, 5vw, 56px);
	box-sizing: border-box;
}
.admin-signin-brand img {
	display: block;
	max-width: min(300px, 85%);
	width: 100%;
	height: auto;
	object-fit: contain;
}
.admin-signin-panel {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: clamp(24px, 4vw, 48px);
	background: #e8ecf2;
	box-sizing: border-box;
}
.admin-signin-form {
	width: min(400px, 100%);
	background: #fff;
	border: 1px solid #dce3ec;
	border-radius: 16px;
	padding: clamp(28px, 4vw, 40px);
	box-shadow: 0 16px 40px -20px rgba(10, 17, 26, 0.25);
	box-sizing: border-box;
}
.admin-signin-form h1 {
	margin: 0 0 8px;
	font-size: 1.5rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: #0a111a;
}
.admin-signin-lead {
	margin: 0 0 24px;
	font-size: 0.9375rem;
	line-height: 1.5;
	color: #64748b;
}
.admin-signin-label {
	display: block;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #8b939c;
	margin-bottom: 8px;
}
.admin-signin-form .field {
	margin-bottom: 18px;
}
.admin-signin-form input[type='text'],
.admin-signin-form input[type='password'] {
	width: 100%;
	box-sizing: border-box;
	padding: 12px 14px;
	border: 1px solid #d1dae6;
	border-radius: 10px;
	font: inherit;
	font-size: 1rem;
	color: #0a111a;
	background: #fafbfc;
	outline: none;
	transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
.admin-signin-form input[type='text']::placeholder,
.admin-signin-form input[type='password']::placeholder {
	color: #94a3b8;
}
.admin-signin-form input[type='text']:focus,
.admin-signin-form input[type='password']:focus {
	border-color: #007bb0;
	background: #fff;
	box-shadow: 0 0 0 3px rgba(0, 123, 176, 0.2);
}
.admin-signin-submit {
	width: 100%;
	margin-top: 8px;
	padding: 14px 18px;
	border: none;
	border-radius: 10px;
	background: #0a111a;
	color: #fff;
	font: inherit;
	font-size: 0.9375rem;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.15s;
}
.admin-signin-submit:hover {
	background: #141d28;
}
.admin-signin-form .err {
	min-height: 1.25em;
	margin-top: 12px;
	font-size: 0.875rem;
	color: var(--danger);
}
@media (max-width: 800px) {
	.admin-signin-wrap {
		grid-template-columns: 1fr;
		min-height: 0;
	}
	.admin-signin-brand {
		min-height: 200px;
		padding: 32px 24px;
	}
	.admin-signin-panel {
		padding-bottom: 40px;
	}
}

/* Workspace user detail (saas_admin_user) */
.wrap { max-width: 1100px; margin: 0 auto; padding: var(--gutter); }
.wrap h1 { margin: 0 0 8px; font-size: 1.65rem; font-weight: 900; font-family: var(--font-display); letter-spacing: -0.03em; }
.grid { display: grid; gap: var(--gap); }
.grid-2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 900px) { .grid-2 { grid-template-columns: 1fr; } }
.card h2 { margin: 0 0 12px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }

.section-nav { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.section-btn {
	border: 1px solid var(--border);
	background: var(--surface);
	color: var(--text);
	border-radius: 999px;
	padding: 8px 14px;
	font-weight: 700;
	cursor: pointer;
	font-family: inherit;
	font-size: 0.85rem;
	transition: background 0.15s, border-color 0.15s;
}
.section-btn:hover { border-color: rgba(0, 163, 224, 0.35); }
.section-btn.active {
	background: rgba(0, 163, 224, 0.12);
	border-color: rgba(0, 163, 224, 0.35);
	color: #007bb0;
	box-shadow: inset 0 0 0 1px rgba(0, 163, 224, 0.15);
}

.sc-progress { height: 6px; background: var(--surface-2); border-radius: 3px; margin-top: 16px; overflow: hidden; }
.scp-fill { height: 100%; background: linear-gradient(90deg, #00a3e0, #34d399); border-radius: 3px; }

.mock-chart { border-bottom-color: var(--border); border-top-color: var(--border); }

.foot-link {
	background: none;
	border: none;
	color: var(--sidebar-muted);
	font-size: 0.85rem;
	font-family: inherit;
	cursor: pointer;
	text-align: left;
	padding: 0;
	display: flex;
	align-items: center;
	gap: 8px;
	transition: color 0.15s;
}
.foot-link:hover { color: var(--primary-hover); }
