@font-face {
	font-family: "Montserrat";
	src: url("/Montserrat.ttf") format("truetype-variations");
	font-weight: 100 900;
}

[hidden] { display: none !important; }

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
	min-height: 100%;
	overflow-x: hidden;
	max-width: 100%;
}
body {
	background-color: #070D17;
	color: #F8FAFC;
	font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
	font-variant-numeric: tabular-nums;
	-webkit-font-smoothing: antialiased;
	min-height: 100vh;
}
body::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background-color: #070D17;
	background-image:
		radial-gradient(circle at 50% 38%, rgba(8, 22, 42, 0.18) 0%, rgba(5, 13, 26, 0.52) 100%),
		linear-gradient(180deg, rgba(6, 15, 29, 0.34) 0%, rgba(6, 15, 29, 0.16) 48%, rgba(5, 12, 24, 0.46) 100%),
		url("/wallpaper-dark.jpg");
	background-size: cover;
	background-position: center 54%;
	background-repeat: no-repeat;
}
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

.wallpaper-stage {
	position: relative;
	width: 100%;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 28px 20px;
	background-image: url("/wallpaper-dark.jpg");
	background-size: cover;
	background-position: center 54%;
	background-repeat: no-repeat;
}
.wallpaper-stage::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 50% 38%, rgba(8, 22, 42, 0.18) 0%, rgba(5, 13, 26, 0.52) 100%),
		linear-gradient(180deg, rgba(6, 15, 29, 0.34) 0%, rgba(6, 15, 29, 0.16) 48%, rgba(5, 12, 24, 0.46) 100%);
	pointer-events: none;
	z-index: 0;
}
.login-column {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 420px;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.brand-header {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	margin-bottom: 24px;
}
.star-badge {
	width: 82px;
	height: 76px;
	object-fit: contain;
	filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.45));
	margin-bottom: 14px;
}
.brand-wordmark {
	display: flex;
	align-items: center;
	gap: 9px;
}
.brand-name {
	font-size: 23px;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: #ffffff;
}
.ads-pill {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #9fd4ff;
	background: rgba(106, 176, 238, 0.16);
	border: 1px solid rgba(168, 225, 255, 0.38);
	padding: 4px 9px;
	border-radius: 999px;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}
.glass-login-card {
	width: 100%;
	padding: 32px 30px 28px;
	border-radius: 20px;
	background: linear-gradient(145deg, rgba(18, 42, 74, 0.62) 0%, rgba(10, 25, 47, 0.54) 55%, rgba(15, 36, 66, 0.60) 100%);
	backdrop-filter: blur(16px) saturate(140%);
	-webkit-backdrop-filter: blur(16px) saturate(140%);
	border: 1px solid rgba(168, 225, 255, 0.34);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), inset 0 0 0 0.5px rgba(142, 202, 255, 0.14);
}
.card-title {
	font-size: 21px;
	font-weight: 700;
	letter-spacing: -0.015em;
	color: #ffffff;
	margin-bottom: 6px;
}
.card-subtitle {
	font-size: 13.5px;
	font-weight: 500;
	line-height: 1.45;
	color: #b8d0e8;
	margin-bottom: 24px;
}
.field-group { margin-bottom: 18px; }
.field-label {
	display: block;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #9ec5e8;
	margin-bottom: 8px;
}
.glass-input {
	width: 100%;
	height: 48px;
	padding: 0 15px;
	border-radius: 12px;
	background: rgba(4, 12, 24, 0.58);
	border: 1px solid rgba(168, 225, 255, 0.26);
	color: #ffffff;
	font-family: inherit;
	font-size: 15px;
	font-weight: 500;
	outline: none;
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.35);
}
.glass-input::placeholder { color: rgba(184, 208, 232, 0.52); }
.primary-btn {
	width: 100%;
	height: 48px;
	border-radius: 12px;
	border: 1px solid rgba(185, 230, 255, 0.55);
	background: linear-gradient(180deg, #3b93f7 0%, #1d6fe6 100%);
	color: #ffffff;
	font-family: inherit;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.01em;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32);
}
.btn-arrow { font-size: 16px; line-height: 1; }
.login-error {
	margin-top: 14px;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
	color: #FCA5A5;
}
.card-footnote {
	margin-top: 18px;
	font-size: 12px;
	font-weight: 500;
	color: rgba(184, 208, 232, 0.72);
	text-align: center;
	letter-spacing: 0.01em;
}
@media (max-width: 520px) {
	.wallpaper-stage { padding: 24px 18px; background-position: center 52%; }
	.login-column { max-width: 100%; }
	.star-badge { width: 76px; height: 70px; margin-bottom: 12px; }
	.glass-login-card { padding: 26px 22px 24px; border-radius: 18px; }
	.card-title { font-size: 20px; }
}

.topbar {
	position: relative;
	z-index: 10;
	min-height: 68px;
	background: linear-gradient(145deg, rgba(18, 42, 74, 0.72) 0%, rgba(10, 25, 47, 0.66) 100%);
	backdrop-filter: blur(16px) saturate(140%);
	-webkit-backdrop-filter: blur(16px) saturate(140%);
	border-bottom: 1px solid rgba(168, 225, 255, 0.28);
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	grid-template-areas: "brand nav acct";
	align-items: center;
	padding: 0 32px;
	gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; grid-area: brand; min-width: 0; }
.top-star { width: 34px; height: 32px; object-fit: contain; }
.nav-tabs {
	display: flex; align-items: center; justify-content: center; gap: 2px; padding: 4px;
	grid-area: nav;
	border-radius: 999px; background: rgba(4, 12, 24, 0.58);
	border: 1px solid rgba(168, 225, 255, 0.22);
	box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.45);
}
.nav-tab {
	padding: 7px 18px; border-radius: 999px; font-size: 13.5px; font-weight: 600;
	white-space: nowrap;
	color: #94A3B8; background: transparent; border: none;
	transition: color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.nav-tab:hover:not(.active) { color: #E2E8F0; background: rgba(255, 255, 255, 0.05); }
.nav-tab.active {
	background: rgba(56, 189, 248, 0.2); color: #F8FAFC;
	box-shadow: inset 0 0 0 1px rgba(56, 189, 248, 0.42), 0 1px 4px rgba(0, 0, 0, 0.3);
}
.nav-tab:focus-visible { outline: 2px solid #38BDF8; outline-offset: 2px; }
.acct-menu { position: relative; display: flex; align-items: center; justify-self: end; grid-area: acct; }
.avatar-btn {
	width: 38px; height: 38px; border-radius: 50%;
	display: inline-flex; align-items: center; justify-content: center;
	font-size: 14px; font-weight: 700; color: #F8FAFC;
	background: linear-gradient(145deg, rgba(56, 189, 248, 0.32) 0%, rgba(29, 111, 230, 0.4) 100%);
	border: 1px solid rgba(168, 225, 255, 0.5);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), 0 0 0 2px rgba(56, 189, 248, 0.22);
	transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.avatar-btn:hover, .avatar-btn:focus-visible {
	border-color: #7DD3FC;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 0 0 3px rgba(56, 189, 248, 0.35);
	outline: none;
}
.acct-dropdown {
	position: absolute; right: 0; top: calc(100% + 10px);
	min-width: 230px;
	background: linear-gradient(145deg, rgba(18, 42, 74, 0.96) 0%, rgba(10, 25, 47, 0.98) 100%);
	backdrop-filter: blur(16px) saturate(140%);
	-webkit-backdrop-filter: blur(16px) saturate(140%);
	border: 1px solid rgba(168, 225, 255, 0.3);
	border-radius: 12px; padding: 6px;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.16);
	z-index: 30;
}
.acct-email {
	padding: 8px 10px; font-size: 12.5px; font-weight: 600; color: #CBD5E1;
	border-bottom: 1px solid rgba(168, 225, 255, 0.14); margin-bottom: 4px;
	overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.acct-signout {
	width: 100%; text-align: left; padding: 8px 10px; border-radius: 8px;
	border: none; background: transparent; color: #FCA5A5; font-size: 13px; font-weight: 600;
	transition: background 0.15s ease;
}
.acct-signout:hover, .acct-signout:focus-visible {
	background: rgba(239, 68, 68, 0.16); outline: none;
}
.btn-primary, .btn-ghost {
	border-radius: 8px; font-weight: 700; font-size: 13px; padding: 9px 16px;
}
.btn-primary { background: #38BDF8; color: #070D17; border: none; }
.btn-primary:disabled, .btn-ghost:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-ghost { background: transparent; color: #94A3B8; border: 1px solid rgba(255,255,255,0.13); }
.container { padding: 26px 32px 48px; max-width: 1440px; margin: 0 auto; }
.screen { display: none; }
.screen.active { display: block; }
.banner {
	display: none;
	background: rgba(239,68,68,0.12);
	border: 1px solid rgba(239,68,68,0.45);
	color: #FCA5A5;
	border-radius: 10px;
	padding: 12px 14px;
	margin-bottom: 16px;
	font-size: 14px;
	line-height: 1.45;
}
.banner.show { display: block; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.page-title { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.page-sub { font-size: 13px; color: #9EC5E8; margin-top: 4px; font-weight: 500; }
.new-ad-cta {
	background: linear-gradient(180deg, #3B93F7 0%, #1D6FE6 100%);
	border: 1px solid rgba(185, 230, 255, 0.55);
	color: #FFF; font-size: 13.5px; font-weight: 700;
	padding: 10px 18px; border-radius: 12px;
	box-shadow: inset 0 1px 0 rgba(255,255,255,0.3);
	white-space: nowrap;
}
.totals-grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 14px;
	margin-bottom: 24px;
}
.campaigns-card { padding: 0; overflow: auto; margin-bottom: 20px; }
.card-bar {
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	padding: 18px 22px; border-bottom: 1px solid rgba(168, 225, 255, 0.16);
}
.card-bar-title { font-size: 15.5px; font-weight: 800; }
.card-bar-note { font-size: 12px; color: #9EC5E8; font-weight: 500; }
.card-head { margin-bottom: 22px; padding-bottom: 16px; border-bottom: 1px solid rgba(168, 225, 255, 0.16); }
.composer-card { padding: 28px 30px; }
tr.campaign-group-row td { background: rgba(15, 34, 62, 0.45); }
.drop-branch { color: #38BDF8; font-weight: 700; margin-right: 8px; }
.drop-row { cursor: pointer; }
.drop-row td.mob { display: none; }
.empty-state {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	padding: 26px 28px;
}
.empty-state h2 { font-size: 15px; font-weight: 800; margin-bottom: 4px; }
.empty-state p { font-size: 12.5px; color: #9EC5E8; }
#body-count { float: right; font-weight: 600; letter-spacing: 0; text-transform: none; color: #9EC5E8; }
.package-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.date-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.date-item {
	display: flex; align-items: center; gap: 10px;
	background: rgba(4, 12, 24, 0.56);
	border: 1px solid rgba(168, 225, 255, 0.24);
	border-radius: 12px; padding: 8px 12px;
}
.drop-tag {
	font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em;
	color: #7DD3FC; background: rgba(56, 189, 248, 0.14);
	padding: 4px 8px; border-radius: 7px; white-space: nowrap;
}
.date-item .input-box { border: none; background: transparent; padding: 4px 0; }
.preview-top-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; padding: 0 4px; }
.preview-badge-title { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: #9EC5E8; }
.preview-mode-tag {
	font-size: 11px; font-weight: 600; color: #7DD3FC;
	background: rgba(56, 189, 248, 0.14); border: 1px solid rgba(125, 211, 252, 0.3);
	padding: 3px 9px; border-radius: 999px;
}
.bluelist-feed-surface { background: #0B1422; border: 1px solid rgba(168, 225, 255, 0.18); border-radius: 18px; padding: 16px; }
.bluelist-post-card {
	background: #111F33; border: 1px solid rgba(168, 225, 255, 0.22);
	border-radius: 16px; padding: 16px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.bl-author-row { display: flex; align-items: center; margin-bottom: 12px; }
.bl-author-left { display: flex; align-items: center; gap: 10px; }
.bl-brand-avatar {
	width: 38px; height: 38px; border-radius: 50%;
	background: linear-gradient(135deg, #2563EB 0%, #0EA5E9 100%);
	border: 1px solid rgba(186, 230, 253, 0.5);
	display: flex; align-items: center; justify-content: center;
	font-size: 14px; font-weight: 800; color: #FFFFFF;
}
.bl-brand-name { font-size: 14px; font-weight: 800; color: #FFFFFF; line-height: 1.2; }
.bl-sponsored-line { display: flex; align-items: center; gap: 6px; margin-top: 2px; }
.bl-sponsored-pill {
	font-size: 10.5px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase;
	color: #FBBF24; background: rgba(245, 158, 11, 0.16);
	border: 1px solid rgba(251, 191, 36, 0.35); padding: 1.5px 7px; border-radius: 999px;
}
.bl-feed-time { font-size: 11.5px; color: #7A9BB8; font-weight: 600; }
.bl-body { font-size: 13.8px; line-height: 1.5; color: #F1F5F9; margin-bottom: 14px; white-space: pre-wrap; }
.bl-cta-btn {
	display: flex; align-items: center; justify-content: center;
	width: 100%; background: linear-gradient(180deg, #38BDF8 0%, #0284C7 100%);
	color: #FFFFFF; font-weight: 800; font-size: 13.5px; padding: 11px 14px;
	border-radius: 10px; border: 1px solid rgba(186, 230, 253, 0.45); margin-bottom: 10px;
}
.bl-interaction-bar {
	display: flex; align-items: center; gap: 10px;
	padding-top: 12px; border-top: 1px solid rgba(168, 225, 255, 0.12);
}
.bl-like-pill, .bl-post-reply-pill {
	font-size: 12.5px; font-weight: 700; color: #94A3B8;
	padding: 6px 10px; border-radius: 999px;
	background: rgba(4, 12, 24, 0.5); border: 1px solid rgba(168, 225, 255, 0.14);
}
.bl-post-reply-pill { color: #38BDF8; }
.bl-comment-box {
	flex: 1; font-size: 12px; color: #64748B;
	background: rgba(4, 12, 24, 0.55); border: 1px solid rgba(168, 225, 255, 0.14);
	border-radius: 999px; padding: 7px 12px;
}
.card {
	background: linear-gradient(145deg, rgba(18, 42, 74, 0.62) 0%, rgba(10, 25, 47, 0.54) 55%, rgba(15, 36, 66, 0.60) 100%);
	backdrop-filter: blur(16px) saturate(140%);
	-webkit-backdrop-filter: blur(16px) saturate(140%);
	border: 1px solid rgba(168, 225, 255, 0.28);
	border-radius: 12px;
	padding: 18px 20px;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}
.form-label {
	font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: #94A3B8; margin-bottom: 8px;
}
.kpi-label {
	font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: #9EC5E8; margin-bottom: 0;
}
.kpi-val { font-size: 28px; font-weight: 800; margin: 6px 0 4px; letter-spacing: -0.02em; }
.kpi-sub { font-size: 11.5px; font-weight: 600; color: #7A9BB8; line-height: 1.3; }
.section-note, .hint { font-size: 12.5px; color: #94A3B8; line-height: 1.4; }
.section-hdr { display: flex; justify-content: space-between; align-items: center; margin: 8px 0 14px; gap: 12px; }
.section-title { font-size: 16px; font-weight: 700; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th {
	text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em;
	color: #94A3B8; padding: 11px 14px; border-bottom: 1px solid rgba(255,255,255,0.09);
}
td { padding: 13px 14px; border-bottom: 1px solid rgba(255,255,255,0.06); vertical-align: middle; }
tr.drop-row td { background: rgba(7, 13, 23, 0.45); color: #CBD5E1; font-size: 12.5px; }
.pill { display: inline-flex; padding: 3px 9px; border-radius: 99px; font-size: 11.5px; font-weight: 700; border: 1px solid transparent; }
.pill-live { background: rgba(16,185,129,0.15); color: #34D399; border-color: rgba(16,185,129,0.35); }
.pill-pending { background: rgba(245,158,11,0.15); color: #F59E0B; border-color: rgba(245,158,11,0.35); }
.pill-sched { background: rgba(56,189,248,0.14); color: #38BDF8; border-color: rgba(56,189,248,0.3); }
.pill-bad { background: rgba(239,68,68,0.15); color: #FCA5A5; border-color: rgba(239,68,68,0.4); }
.link { color: #38BDF8; font-weight: 700; }
.composer-grid { display: grid; grid-template-columns: 1.38fr 1fr; gap: 24px; align-items: start; }
.form-group { margin-bottom: 16px; }
.input-box, textarea.input-box {
	width: 100%; background: rgba(4, 12, 24, 0.58); border: 1px solid rgba(168, 225, 255, 0.22);
	border-radius: 8px; padding: 10px 12px; color: #F8FAFC; font-size: 13.5px; line-height: 1.45;
}
textarea.input-box { min-height: 110px; resize: vertical; }
.cta-list { display: grid; gap: 10px; }
.pkg-card {
	background: rgba(21, 34, 50, 0.72); border: 1.5px solid rgba(168, 225, 255, 0.18);
	border-radius: 10px; padding: 12px; text-align: left; color: inherit;
}
.pkg-card.selected { border-color: #38BDF8; background: rgba(56,189,248,0.08); }
.pkg-card strong { display: block; margin-bottom: 4px; }
.cta-row, .date-row { display: grid; grid-template-columns: 1fr 1.4fr auto; gap: 8px; }
.phone-wrap {
	background: rgba(21, 34, 50, 0.72); border: 1px solid rgba(168, 225, 255, 0.22);
	border-radius: 28px; padding: 18px; width: 390px; max-width: 100%; margin: 0 auto;
	box-shadow: 0 16px 40px rgba(0,0,0,0.5);
	backdrop-filter: blur(16px) saturate(140%);
	-webkit-backdrop-filter: blur(16px) saturate(140%);
}
.phone-caption { text-align: center; color: #94A3B8; font-size: 12px; margin-bottom: 10px; }
.bluelist-card {
	background: #0F1926;
	border: 1px solid rgba(255,255,255,0.18);
	border-radius: 16px; padding: 14px;
}
.bluelist-card .who { font-size: 13px; font-weight: 800; margin-bottom: 8px; }
.bluelist-card .sponsored { font-size: 12px; font-weight: 800; letter-spacing: 0.04em; color: #F59E0B; margin-bottom: 8px; }
.bluelist-card .body { font-size: 14px; line-height: 1.45; white-space: pre-wrap; }
.cta-button {
	display: block; width: 100%; text-align: center; text-decoration: none;
	background: #38BDF8;
	color: #070D17; font-weight: 800; font-size: 14px; padding: 11px;
	border-radius: 10px; margin-top: 10px;
}
.drawer-back {
	display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.45); z-index: 20;
}
.drawer-back.show { display: block; }
.drawer {
	position: fixed; top: 0; right: 0; height: 100dvh; width: min(440px, 100%);
	background: linear-gradient(180deg, rgba(15, 25, 38, 0.92) 0%, rgba(7, 13, 23, 0.94) 100%);
	backdrop-filter: blur(16px) saturate(140%);
	-webkit-backdrop-filter: blur(16px) saturate(140%);
	border-left: 1px solid rgba(168, 225, 255, 0.28);
	z-index: 21; transform: translateX(100%); transition: transform 0.2s ease;
	display: flex; flex-direction: column; padding: 18px 18px calc(18px + env(safe-area-inset-bottom));
}
.drawer.show { transform: translateX(0); }
.drawer h2 { font-size: 16px; margin-bottom: 12px; }
.thread { overflow: auto; flex: 1; }
.comment-bubble {
	background: rgba(21, 34, 50, 0.8); border: 1px solid rgba(255,255,255,0.08);
	border-radius: 10px; padding: 12px 14px; margin-bottom: 10px;
}
.comment-bubble.brand { background: rgba(56,189,248,0.12); border-color: rgba(56,189,248,0.35); margin-left: 28px; }
.comment-meta { color: #94A3B8; font-size: 11px; margin-bottom: 6px; }
.reply-box { display: grid; gap: 8px; margin-top: 12px; }
.admin-actions { display: flex; gap: 8px; align-items: center; }
.admin-actions .input-box { width: 160px; }
@media (max-width: 980px) {
	.topbar { height: auto; padding: 12px 16px; }
	.container { padding: 16px max(16px, env(safe-area-inset-right)) 36px max(16px, env(safe-area-inset-left)); }
	.composer-grid, .package-grid, .date-grid { grid-template-columns: 1fr; }
	.totals-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cta-row { grid-template-columns: 1fr; }
	.page-head, .card-bar, .empty-state { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 760px) {
	.topbar {
		grid-template-columns: 1fr auto;
		grid-template-areas:
			"brand acct"
			"nav nav";
		padding: 12px 16px;
		gap: 10px 12px;
	}
	.top-star { width: 30px; height: 28px; }
	.brand .brand-name { font-size: 18px; }
	.nav-tabs { width: 100%; }
	.nav-tab { flex: 1 1 0; text-align: center; padding: 8px 10px; font-size: 13px; }
	.new-ad-cta { width: 100%; text-align: center; justify-content: center; }
	.totals-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
	.totals-grid .card { padding: 13px 14px; min-width: 0; }
	.kpi-val { font-size: 21px; margin: 4px 0 3px; }
	.campaigns-card { overflow: visible; }
	.campaigns-card table, .campaigns-card tbody,
	#screen-admin table, #screen-admin tbody { display: block; width: 100%; }
	.campaigns-card thead, #screen-admin thead { display: none; }
	tr.campaign-group-row {
		display: flex;
		justify-content: space-between;
		align-items: flex-start;
		gap: 10px;
		padding: 18px 18px 15px;
		background: rgba(15, 34, 62, 0.55);
		border-top: 1px solid rgba(168, 225, 255, 0.14);
		border-bottom: 1px solid rgba(168, 225, 255, 0.12);
	}
	tr.campaign-group-row td {
		padding: 0;
		border: none;
		background: transparent;
	}
	tr.campaign-group-row td:empty { display: none; }
	tr.campaign-group-row strong {
		display: block;
		font-size: 16px;
		font-weight: 700;
		color: #FFFFFF;
		letter-spacing: -0.01em;
	}
	tr.campaign-group-row .hint {
		font-size: 12.5px;
		color: #8BA9C7;
		margin-top: 3px;
		font-weight: 500;
	}
	tr.campaign-group-row .hint .link {
		color: #60A5FA;
		text-decoration: none;
		font-weight: 600;
	}
	tr.campaign-group-row td:last-child {
		font-size: 15px;
		font-weight: 700;
		color: #F8FAFC;
		background: transparent;
		border: none;
		padding: 0;
		white-space: nowrap;
	}
	tr.drop-row {
		display: block;
		padding: 0;
		border: none;
		background: transparent;
	}
	tr.drop-row td.dt { display: none; }
	tr.drop-row td.mob {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 8px;
		padding: 15px 16px 15px 18px;
		border-bottom: 1px solid rgba(168, 225, 255, 0.08);
		background: rgba(7, 13, 23, 0.45);
	}
	tr.drop-row:last-child td.mob { border-bottom: none; }
	.date-wrap {
		display: flex;
		align-items: center;
		gap: 8px;
		min-width: 74px;
	}
	.status-dot {
		width: 7px;
		height: 7px;
		border-radius: 50%;
		flex-shrink: 0;
	}
	.dot-live { background: #34D399; box-shadow: 0 0 7px rgba(52, 211, 153, 0.55); }
	.dot-pending { background: #F59E0B; }
	.dot-bad { background: #EF4444; }
	.dot-expired { background: #64748B; }
	.drop-date {
		font-size: 14px;
		font-weight: 700;
		color: #F8FAFC;
	}
	.metrics-strip {
		display: grid;
		grid-template-columns: 62px 50px 38px 36px 14px;
		align-items: center;
		gap: 6px;
	}
	.stat {
		display: inline-flex;
		align-items: center;
		gap: 4.5px;
		font-size: 13px;
		font-weight: 600;
		color: #E2E8F0;
	}
	.stat.muted { color: #647F99; }
	.stat .m-ico { width: 14px; height: 14px; color: #7FA3C4; flex-shrink: 0; }
	.stat.muted .m-ico { color: #516A82; }
	.chev-ico { width: 15px; height: 15px; color: #5E7D9A; flex-shrink: 0; justify-self: end; }
	#screen-admin tbody tr {
		display: block;
		padding: 14px 16px;
		border-bottom: 1px solid rgba(168, 225, 255, 0.10);
	}
	#screen-admin td {
		display: flex;
		justify-content: space-between;
		align-items: center;
		gap: 12px;
		padding: 5px 0;
		border: none;
	}
	#screen-admin td::before {
		content: attr(data-label);
		font-size: 10.5px;
		font-weight: 700;
		text-transform: uppercase;
		letter-spacing: 0.05em;
		color: #94A3B8;
	}
	#screen-admin td:last-child {
		display: block;
		padding-top: 8px;
	}
	#screen-admin td:last-child::before { display: none; }
	.admin-actions { flex-direction: column; align-items: stretch; width: 100%; }
	.admin-actions .input-box { width: 100%; }
	.composer-card { padding: 18px 16px; }
	.input-box, textarea.input-box, .glass-input { font-size: 16px; }
	.cta-row {
		grid-template-columns: 1fr auto;
		grid-template-areas:
			"label remove"
			"url url";
		gap: 8px;
		align-items: center;
	}
	.cta-row .cta-label { grid-area: label; }
	.cta-row .cta-url { grid-area: url; }
	.cta-row > button { grid-area: remove; }
	.btn-primary, .btn-ghost, .new-ad-cta, .primary-btn { min-height: 44px; }
	.phone-wrap { width: 100%; padding: 14px; border-radius: 18px; }
	.drawer {
		top: auto;
		bottom: 0;
		left: 0;
		right: 0;
		width: 100%;
		height: 85dvh;
		border-left: none;
		border-top: 1px solid rgba(168, 225, 255, 0.32);
		border-radius: 20px 20px 0 0;
		transform: translateY(100%);
	}
	.drawer.show { transform: translateY(0); }
}

/* Firebase sign-in */
.link-btn {
	display: block;
	width: 100%;
	margin-top: 12px;
	background: none;
	border: none;
	color: #9ec5e8;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	text-decoration: underline;
	text-underline-offset: 3px;
}
.primary-btn:disabled, .link-btn:disabled { opacity: 0.6; cursor: default; }
#code-email { color: #ffffff; }
#orders-table { margin: 0; }
#orders-table td:first-child { font-weight: 700; color: #38BDF8; letter-spacing: 0.04em; }
.link-btn.sending { text-decoration: none; color: #ffffff; opacity: 1; cursor: progress; }
.link-btn.sending::before {
	content: "";
	display: inline-block;
	width: 12px; height: 12px;
	margin-right: 8px;
	vertical-align: -1px;
	border: 2px solid rgba(168, 225, 255, 0.35);
	border-top-color: #38BDF8;
	border-radius: 50%;
	animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.code-sent {
	display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
	margin-bottom: 10px;
	padding: 10px 12px;
	border-radius: 12px;
	background: rgba(56, 189, 248, 0.12);
	border: 1px solid rgba(56, 189, 248, 0.38);
	color: #d6ecff;
	font-size: 13.5px; font-weight: 600;
}
.code-sent-check { color: #38BDF8; font-weight: 800; }
.primary-btn.sending { cursor: progress; opacity: 1; }
.primary-btn.sending .btn-arrow { display: none; }
.primary-btn.sending::before {
	content: "";
	display: inline-block;
	width: 16px; height: 16px;
	border: 2px solid rgba(255, 255, 255, 0.35);
	border-top-color: #ffffff;
	border-radius: 50%;
	animation: spin 0.8s linear infinite;
}
.email-summary {
	display: flex; align-items: center; justify-content: space-between; gap: 10px;
	margin-bottom: 18px;
	padding: 0 6px 0 15px;
	height: 48px;
	border-radius: 12px;
	background: rgba(4, 12, 24, 0.42);
	border: 1px solid rgba(168, 225, 255, 0.2);
}
.email-summary-address { font-size: 14.5px; font-weight: 600; color: #ffffff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.change-btn {
	flex: none;
	height: 34px; padding: 0 12px;
	border-radius: 9px;
	border: 1px solid rgba(168, 225, 255, 0.3);
	background: rgba(56, 189, 248, 0.1);
	color: #9ec5e8;
	font-size: 12.5px; font-weight: 700;
	cursor: pointer;
}
.change-btn:disabled { opacity: 0.6; cursor: default; }
