:root {
	--wm-green: #0e4644;
	--wm-yellow: #ffaf27;
	--wm-white: #ffffff;
	--ink: #0e4644;
	--paper: #0e4644;
	--wash: rgba(255, 175, 39, 0.16);
	--accent: #ffaf27;
	--line: rgba(255, 255, 255, 0.16);
	--danger: #ff6b6b;
	--ok: #ffaf27;
	--text: #ffffff;
	--muted: rgba(255, 255, 255, 0.72);
	--font-display: "Fraunces", Georgia, serif;
	--font-body: "Sora", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
	font-family: var(--font-body);
	color: var(--text);
	background:
		radial-gradient(ellipse 70% 45% at 100% -5%, rgba(255, 175, 39, 0.22), transparent 55%),
		radial-gradient(ellipse 55% 40% at -5% 30%, rgba(255, 255, 255, 0.08), transparent 50%),
		linear-gradient(165deg, #0a3533 0%, var(--wm-green) 45%, #0b3d3b 100%);
	min-height: 100vh;
}

a { color: inherit; }
.top {
	display: flex; justify-content: space-between; align-items: center;
	padding: 1rem 1.5rem; border-bottom: 1px solid var(--line);
	backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 20;
	background: rgba(14, 70, 68, 0.92);
	gap: 1rem;
}
.top.public { justify-content: space-between; }
.brand {
	display: inline-flex; align-items: center; gap: 0.65rem;
	text-decoration: none; font-weight: 700;
}
.brand-wordmark {
	display: block; height: 28px; width: auto; max-width: min(220px, 55vw);
}
.top-slogan {
	margin: 0; font-size: 0.85rem; color: var(--muted); font-weight: 500;
}
.brand-sep {
	display: inline-block; width: 1px; height: 1.1rem;
	background: rgba(255,255,255,0.28); margin: 0 0.15rem 0 0.2rem; flex-shrink: 0;
}
.brand-product {
	font-family: "Inter", system-ui, sans-serif;
	font-weight: 600; font-size: 1.05rem; line-height: 1;
	color: var(--wm-yellow); letter-spacing: -0.02em;
	text-transform: lowercase;
}
.top nav, .app-nav {
	display: flex; flex-wrap: wrap; gap: 0.55rem 0.85rem; align-items: center;
}
.top nav a, .app-nav a, .nav-drop-btn {
	text-decoration: none; font-weight: 600; font-size: 0.88rem; color: var(--wm-white);
	padding: 0.35rem 0.2rem; min-height: 44px; display: inline-flex; align-items: center;
	background: none; border: 0; cursor: pointer; font-family: inherit;
}
.app-nav a.is-active, .nav-drop-btn.is-active { color: var(--wm-yellow); border-bottom: 2px solid var(--wm-yellow); }
.nav-drop { position: relative; }
.nav-drop-btn { gap: 0.35rem; }
.nav-drop-caret {
	display: inline-block; width: 0; height: 0;
	border-left: 4px solid transparent; border-right: 4px solid transparent;
	border-top: 5px solid currentColor; opacity: 0.75;
}
.nav-drop-menu {
	display: none; position: absolute; top: calc(100% + 0.35rem); left: 0; z-index: 40;
	min-width: 11rem; padding: 0.35rem; border-radius: 0.55rem;
	background: #0a3533; border: 1px solid var(--line);
	box-shadow: 0 12px 32px rgba(0,0,0,0.35);
}
.nav-drop-menu a {
	display: flex; width: 100%; min-height: 40px; padding: 0.45rem 0.65rem;
	border-radius: 0.35rem; border-bottom: 0 !important;
}
.nav-drop-menu a:hover, .nav-drop-menu a.is-active {
	background: rgba(255,175,39,0.14); color: var(--wm-yellow);
}
.nav-drop:hover .nav-drop-menu,
.nav-drop:focus-within .nav-drop-menu,
.nav-drop.is-open .nav-drop-menu { display: block; }
.nav-toggle {
	display: none; background: transparent; border: 1px solid var(--line);
	border-radius: 0.4rem; padding: 0.55rem 0.7rem; cursor: pointer; color: var(--wm-white);
	min-width: 44px; min-height: 44px;
}
.nav-toggle-bars {
	display: block; width: 1.15rem; height: 2px; background: currentColor; position: relative;
}
.nav-toggle-bars::before, .nav-toggle-bars::after {
	content: ""; position: absolute; left: 0; width: 100%; height: 2px; background: currentColor;
}
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.sr-only {
	position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.crm-tabs {
	display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 1rem;
}
.crm-tab {
	display: inline-flex; align-items: center; gap: 0.55rem; min-height: 44px;
	padding: 0.5rem 0.95rem; border-radius: 0.5rem;
	background: rgba(255,255,255,0.06); border: 1px solid var(--line);
	text-decoration: none; font-weight: 600; font-size: 0.9rem;
}
.crm-tab-label { line-height: 1.25; }
.crm-tab-count {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 1.55rem; padding: 0.15rem 0.45rem; border-radius: 999px;
	font-size: 0.75rem; font-weight: 700; letter-spacing: 0.02em;
	background: rgba(255,255,255,0.12); color: var(--muted);
}
.crm-tab.is-active { background: rgba(255,175,39,0.18); border-color: rgba(255,175,39,0.45); color: var(--wm-yellow); }
.crm-tab.is-active .crm-tab-count {
	background: rgba(255,175,39,0.28); color: var(--wm-yellow);
}
.data-table { width: 100%; border-collapse: collapse; }
.data-table th, .data-table td { text-align: left; padding: 0.65rem 0.5rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.h2 { font-family: var(--font-display); font-size: 1.35rem; margin: 0 0 0.75rem; }
.hub-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.75rem; }
.hub-item {
	padding: 0.75rem 0.85rem; border-radius: 0.65rem;
	background: rgba(0,0,0,0.15); border: 1px solid var(--line);
}
.hub-meta { margin-bottom: 0.25rem; }
.kv { display: grid; grid-template-columns: 10ch 1fr; gap: 0.5rem 1rem; margin: 0; }
.kv dt { color: var(--muted); font-size: 0.85rem; }
.kv dd { margin: 0; }
.code-block {
	margin: 0; white-space: pre-wrap; word-break: break-word;
	font-size: 0.8rem; color: var(--muted);
}
.error { color: var(--danger); font-weight: 600; }
.ok-flash, .crm-flash {
	background: rgba(255,175,39,0.18); border: 1px solid rgba(255,175,39,0.4);
	padding: 0.65rem 0.9rem; border-radius: 0.55rem; margin: 0 0 1rem;
}

/* CRM contact profile (Brevo-like) */
.crm-source-banner {
	margin: 0 0 1rem; padding: 0.9rem 1rem;
	background: rgba(255,175,39,0.1); border: 1px solid rgba(255,175,39,0.35);
}
.crm-source-line { margin: 0 0 0.35rem; }
.crm-source-meta { list-style: none; padding: 0; margin: 0 0 0.5rem; display: grid; gap: 0.15rem; }
.crm-back { margin: 0 0 0.75rem; }
.crm-profile-head {
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 1.5rem;
	align-items: flex-start; margin-bottom: 1rem;
}
.crm-badges { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.45rem; }
.crm-badge {
	display: inline-flex; align-items: center; min-height: 28px;
	padding: 0.2rem 0.65rem; border-radius: 999px; font-size: 0.8rem; font-weight: 600;
	background: rgba(255,255,255,0.1); border: 1px solid var(--line);
}
.crm-actions { display: flex; flex-wrap: wrap; gap: 0.35rem; align-items: flex-start; }
.crm-action {
	display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
	gap: 0.15rem; min-width: 4.2rem; min-height: 3.4rem; padding: 0.35rem 0.45rem;
	border-radius: 0.55rem; border: 1px solid var(--line); background: rgba(0,0,0,0.18);
	text-decoration: none; font-size: 0.72rem; font-weight: 600; color: var(--wm-white);
	position: relative;
}
.crm-action summary {
	list-style: none; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 0.15rem;
}
.crm-action summary::-webkit-details-marker { display: none; }
.crm-action-ico { font-size: 1rem; line-height: 1; }
.crm-action.is-disabled { opacity: 0.4; pointer-events: none; }
.crm-popover {
	position: absolute; top: calc(100% + 0.35rem); right: 0; z-index: 30;
	width: min(280px, 80vw); padding: 0.75rem; border-radius: 0.65rem;
	background: #0a3533; border: 1px solid var(--line); box-shadow: 0 12px 40px rgba(0,0,0,0.35);
	display: grid; gap: 0.5rem;
}
.crm-popover a { color: var(--wm-yellow); font-size: 0.9rem; }
.crm-profile-tabs {
	display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; border-bottom: 1px solid var(--line);
	margin: 0 0 1.1rem; padding: 0 0 0.15rem;
}
.crm-profile-tabs a {
	padding: 0.65rem 0.15rem; text-decoration: none; font-weight: 600; font-size: 0.92rem;
	border-bottom: 2px solid transparent; min-height: 44px; display: inline-flex; align-items: center;
}
.crm-profile-tabs a.is-active { color: var(--wm-yellow); border-bottom-color: var(--wm-yellow); }
.crm-grid {
	display: grid; grid-template-columns: minmax(240px, 1fr) minmax(280px, 1.4fr) minmax(220px, 0.9fr);
	gap: 1rem; align-items: start;
}
.crm-card { margin: 0; }
.crm-card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 0.5rem; }
.crm-substatus { font-weight: 700; margin: 0 0 0.65rem; }
.crm-substatus.is-ok { color: #8dffb0; }
.crm-substatus.is-bad { color: var(--danger); }
.crm-pref-tags { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.35rem; }
.crm-pref-tags li {
	padding: 0.4rem 0.65rem; border-radius: 0.45rem; font-size: 0.85rem;
	border: 1px solid var(--line); background: rgba(255,255,255,0.04);
}
.crm-pref-tags li.on { border-color: rgba(141,255,176,0.35); }
.crm-pref-tags li.off { opacity: 0.5; text-decoration: line-through; }
.crm-stat-row {
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.5rem; margin: 0.5rem 0 0.75rem;
}
.crm-stat {
	text-align: center; padding: 0.65rem 0.35rem; border-radius: 0.55rem;
	background: rgba(0,0,0,0.18); border: 1px solid var(--line);
}
.crm-stat span { display: block; font-family: var(--font-display); font-size: 1.35rem; color: var(--wm-yellow); }
.crm-stat label { font-size: 0.7rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.crm-entity { padding: 0.55rem 0; border-bottom: 1px solid var(--line); }
.crm-entity:last-child { border-bottom: 0; }
.crm-more { margin-top: 1rem; }
.crm-attr-list { display: grid; gap: 0.35rem; margin-top: 0.5rem; }
.crm-attr-row { display: grid; grid-template-columns: 12ch 1fr; gap: 0.5rem; font-size: 0.88rem; }
.crm-timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.crm-timeline-item {
	display: grid; grid-template-columns: 1.1rem 1fr; gap: 0.65rem;
	padding: 0.65rem 0; position: relative;
}
.crm-timeline-item::before {
	content: ""; position: absolute; left: 0.4rem; top: 1.35rem; bottom: -0.1rem;
	width: 2px; background: var(--line);
}
.crm-timeline-item:last-child::before { display: none; }
.crm-timeline-dot {
	width: 0.7rem; height: 0.7rem; border-radius: 50%; margin-top: 0.25rem;
	background: var(--wm-yellow); box-shadow: 0 0 0 3px rgba(255,175,39,0.2);
}
@media (max-width: 960px) {
	.crm-grid { grid-template-columns: 1fr; }
	.crm-stat-row { grid-template-columns: repeat(2, 1fr); }
	.crm-attr-row { grid-template-columns: 1fr; }
}

main { padding: 1.5rem; max-width: 1100px; margin: 0 auto; }
.crm-profile-head ~ .crm-profile-tabs,
.crm-grid { max-width: 1200px; }
main:has(.crm-grid) { max-width: 1200px; }
.site-foot {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.45rem;
	padding: 1.5rem; color: var(--muted); font-size: 0.85rem;
}
.foot-wordmark { height: 18px; width: auto; opacity: 0.95; }

.hero-app { padding: 0.5rem 0 1.5rem; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.75rem; color: var(--wm-yellow); margin: 0 0 0.5rem; }
h1 { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1; margin: 0 0 0.75rem; color: var(--wm-white); }
.brand-hero { font-size: clamp(2.6rem, 8vw, 5rem); max-width: 12ch; }
.lede { max-width: 42ch; font-size: 1.1rem; margin: 0 0 1.25rem; color: var(--muted); }
.muted { color: var(--muted); }
.tiny { font-size: 0.8rem; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.btn,
a.btn,
.top nav a.btn,
button.btn {
	display: inline-block; background: var(--wm-yellow); color: var(--wm-green);
	text-decoration: none; border: 0; cursor: pointer;
	font: inherit; font-weight: 700; padding: 0.8rem 1.15rem; border-radius: 0.4rem;
	transition: transform 0.15s ease, filter 0.15s ease;
}
.btn:hover,
a.btn:hover,
.top nav a.btn:hover,
button.btn:hover { transform: translateY(-1px); filter: brightness(1.05); color: var(--wm-green); }
.btn.secondary {
	background: transparent; color: var(--wm-white);
	border: 1px solid rgba(255,255,255,0.35);
}
.btn-new {
	display: inline-flex; align-items: center; gap: 0.45rem;
}
.btn-new .btn-ico {
	width: 1.05rem; height: 1.05rem; flex-shrink: 0;
	transform-origin: center;
}
.btn-new:hover .btn-ico { animation: ico-spark 0.55s ease; }
@keyframes ico-spark {
	0% { transform: scale(1) rotate(0deg); }
	40% { transform: scale(1.18) rotate(-12deg); }
	100% { transform: scale(1) rotate(0deg); }
}
.actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1rem 0 1.5rem; }
.inline-form { display: inline; margin-right: 0.4rem; }

.panel {
	background: rgba(255,255,255,0.08);
	border: 1px solid var(--line);
	border-radius: 1.1rem;
	padding: 1.25rem;
	backdrop-filter: blur(8px);
}
.panel.narrow { max-width: 560px; }
.detail-panel { animation: rise 0.45s ease both; }
.status-hero {
	display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem;
	padding: 0.85rem 1rem; border-radius: 0.85rem; margin-bottom: 0.85rem;
	border: 1px solid var(--line); background: rgba(0,0,0,0.18);
}
.status-hero .pill { font-size: 0.9rem; padding: 0.35rem 0.75rem; }
.status-hint { margin: 0; color: rgba(255,255,255,0.88); font-size: 0.95rem; flex: 1; min-width: 16ch; }
.status-hero.tone-hot { border-color: rgba(255,175,39,0.55); background: rgba(255,175,39,0.14); }
.status-hero.tone-warm { border-color: rgba(255,175,39,0.4); background: rgba(255,175,39,0.1); }
.status-hero.tone-ok { border-color: rgba(255,255,255,0.22); }
.status-hero.tone-ready { border-color: rgba(255,175,39,0.35); }
.status-hero.tone-bad { border-color: rgba(255,107,107,0.45); background: rgba(255,107,107,0.1); }
.status-hero.tone-live { border-color: rgba(255,255,255,0.28); }
.status-flow {
	list-style: none; margin: 0 0 1rem; padding: 0;
	display: flex; flex-wrap: wrap; gap: 0.35rem;
}
.flow-step {
	font-size: 0.72rem; font-weight: 600; letter-spacing: 0.02em;
	padding: 0.35rem 0.55rem; border-radius: 999px;
	border: 1px solid rgba(255,255,255,0.12); color: rgba(255,255,255,0.45);
}
.flow-step.done { color: rgba(255,255,255,0.85); border-color: rgba(255,175,39,0.35); background: rgba(255,175,39,0.1); }
.flow-step.current {
	color: var(--wm-green); background: var(--wm-yellow); border-color: var(--wm-yellow);
}
.status-banner {
	display: grid; gap: 0.2rem; padding: 0.75rem 0.9rem; border-radius: 0.7rem;
	margin-bottom: 1rem; border: 1px solid var(--line);
}
.status-banner strong { color: var(--wm-yellow); }
.status-banner.mailed { background: rgba(0,0,0,0.22); }
.status-banner.ready-mail { background: rgba(255,175,39,0.12); border-color: rgba(255,175,39,0.35); }
.mail-box {
	margin: 1rem 0 1.25rem; padding: 1rem; border-radius: 0.85rem;
	border: 1px solid var(--line); background: rgba(0,0,0,0.16);
}
.mail-box h2 { margin: 0 0 0.65rem; font-size: 1.05rem; color: var(--wm-white); }
.mail-actions { margin-bottom: 0.55rem; }
.mail-locked { margin: 0 0 0.55rem; }
.crm-fold {
	border: 1px solid var(--line); border-radius: 0.7rem; padding: 0.75rem 0.9rem;
	background: rgba(0,0,0,0.16);
}
.crm-fold summary {
	cursor: pointer; font-weight: 700; color: var(--wm-yellow); margin-bottom: 0.55rem;
}
.crm-fold[open] summary { margin-bottom: 0.75rem; }
.crm-fold .form, .crm-fold label { margin-top: 0.55rem; }
.form textarea {
	font: inherit; padding: 0.7rem 0.8rem; border-radius: 0.45rem;
	border: 1px solid var(--line); background: rgba(255,255,255,0.95); color: var(--wm-green);
	resize: vertical; min-height: 4.5rem;
}
.crm-box .pill { margin: 0.35rem 0 0.75rem; }

.stats {
	display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.75rem; margin-bottom: 1.5rem;
}
.stat {
	background: rgba(255,255,255,0.08); border: 1px solid var(--line); border-radius: 0.9rem;
	padding: 0.9rem 1rem;
}
.stat span { display: block; font-family: var(--font-display); font-size: 1.8rem; line-height: 1; color: var(--wm-white); }
.stat label { font-size: 0.75rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.stat.hot span { color: var(--wm-yellow); }
.stat.warn span { color: #ff8f8f; }

.project-grid {
	display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem;
}
.project-card {
	background: rgba(255,255,255,0.08); border: 1px solid var(--line); border-radius: 1rem;
	padding: 1rem; display: flex; flex-direction: column; gap: 0.35rem;
	transition: transform 0.18s ease, border-color 0.18s ease;
}
.project-card:hover { transform: translateY(-2px); border-color: rgba(255,175,39,0.45); }
.project-card h2 { font-family: var(--font-display); font-size: 1.35rem; margin: 0.2rem 0; line-height: 1.15; color: var(--wm-white); }
.project-card h2 a { text-decoration: none; }
.project-card-top { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; }
.project-card-actions { display: flex; gap: 0.8rem; margin-top: 0.6rem; font-weight: 600; font-size: 0.9rem; }
.project-card-actions a { color: var(--wm-yellow); }
.meta-line { margin: 0.45rem 0 0; font-size: 0.82rem; color: var(--muted); }
.team-tag {
	display: inline-block; color: var(--wm-yellow); font-weight: 600;
}
.stats-panel { margin-bottom: 1.25rem; }
.stats-panel h2 { font-family: var(--font-display); color: var(--wm-white); margin: 0 0 0.75rem; }
.table-wrap { overflow-x: auto; }
.stats-table {
	width: 100%; border-collapse: collapse; font-size: 0.92rem;
}
.stats-table th, .stats-table td {
	text-align: left; padding: 0.65rem 0.55rem;
	border-bottom: 1px solid var(--line); vertical-align: top;
}
.stats-table th { color: var(--wm-yellow); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; }
.stats-table .rank { width: 2rem; color: var(--wm-yellow); font-weight: 700; }

.hero-app-compact {
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; align-items: end;
}
.filters-bar {
	display: grid; gap: 0.75rem; margin-bottom: 1rem;
	grid-template-columns: 1fr;
}
@media (min-width: 900px) {
	.filters-bar {
		grid-template-columns: 1.6fr 0.9fr 0.9fr 0.9fr auto;
		align-items: end;
	}
}
.filters-bar label { display: grid; gap: 0.3rem; font-size: 0.8rem; font-weight: 600; color: var(--muted); }
.filters-bar input, .filters-bar select {
	font: inherit; padding: 0.55rem 0.65rem; border-radius: 0.45rem;
	border: 1px solid var(--line); background: rgba(255,255,255,0.95); color: var(--wm-green);
}
.filter-actions { display: flex; gap: 0.45rem; flex-wrap: wrap; }
.leads-table-panel { padding-top: 0.85rem; }
.table-meta { display: flex; justify-content: space-between; margin-bottom: 0.55rem; color: var(--muted); font-size: 0.85rem; }
.leads-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.leads-table th, .leads-table td {
	text-align: left; padding: 0.7rem 0.5rem; border-bottom: 1px solid var(--line); vertical-align: top;
}
.leads-table th {
	color: var(--wm-yellow); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase;
}
.leads-table .row-title { color: var(--wm-white); font-weight: 700; text-decoration: none; }
.leads-table .row-title:hover { color: var(--wm-yellow); }
.leads-table .row-actions { display: flex; gap: 0.55rem; white-space: nowrap; }
.leads-table .row-actions a { color: var(--wm-yellow); font-size: 0.85rem; }
.leads-table .empty-cell { padding: 1.5rem 0.5rem; color: var(--muted); }
.leads-table .nowrap { white-space: nowrap; }
.pager { display: flex; gap: 0.55rem; margin-top: 1rem; }
@media (max-width: 839px) {
	.hide-sm { display: none; }
}

.dup-dialog {
	border: 0; padding: 0; border-radius: 1rem; background: transparent;
	max-width: min(520px, 94vw);
}
.dup-dialog::backdrop { background: rgba(4, 24, 23, 0.72); }
.dup-card {
	margin: 0; padding: 1.25rem 1.35rem 1.15rem;
	background: #0e4644; color: var(--wm-white);
	border: 1px solid rgba(255,255,255,0.16); border-radius: 1rem;
	box-shadow: 0 24px 60px rgba(0,0,0,0.45);
}
.dup-card h2 { font-family: var(--font-display); margin: 0 0 0.55rem; font-size: 1.45rem; }
.dup-list { list-style: none; margin: 0.85rem 0 1rem; padding: 0; display: grid; gap: 0.55rem; }
.dup-list li {
	padding: 0.55rem 0.65rem; border-radius: 0.55rem;
	background: rgba(0,0,0,0.22); border: 1px solid rgba(255,255,255,0.1);
	display: grid; gap: 0.2rem;
}
.dup-list a { color: var(--wm-yellow); }
.dup-actions { display: flex; gap: 0.55rem; flex-wrap: wrap; justify-content: flex-end; }
.project-card.is-live { border-color: rgba(255,175,39,0.5); }

.empty-state {
	grid-column: 1 / -1; text-align: center; padding: 3rem 1rem;
	border: 1px dashed var(--line); border-radius: 1rem; background: rgba(255,255,255,0.05);
}

.pill {
	display: inline-block; padding: 0.2rem 0.55rem; border-radius: 999px;
	background: rgba(255,175,39,0.2); color: var(--wm-yellow); font-size: 0.8rem; font-weight: 600;
}
.status-failed, .status-hold { background: rgba(255,107,107,0.2); color: #ffb4b4; }
.status-sent, .status-opened, .status-clicked, .status-ready {
	background: rgba(255,175,39,0.22); color: var(--wm-yellow);
}
.status-queued, .status-capturing, .status-extracting, .status-redesigning, .status-rendering, .status-sending {
	background: rgba(255,255,255,0.12); color: var(--wm-white);
}

.form { display: grid; gap: 0.9rem; }
.form label { display: grid; gap: 0.35rem; font-weight: 600; font-size: 0.92rem; color: var(--wm-white); }
.form input, .form select {
	font: inherit; padding: 0.7rem 0.8rem; border-radius: 0.45rem;
	border: 1px solid var(--line); background: rgba(255,255,255,0.95); color: var(--wm-green);
}
.form .check { display: flex; gap: 0.55rem; align-items: flex-start; font-weight: 500; color: var(--muted); }
.form .check.is-disabled { opacity: 0.45; pointer-events: none; }
.form-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 820px) {
	.form-grid-2, .form-grid-3 { grid-template-columns: 1fr; }
}
.inline-form {
	display: flex; flex-wrap: wrap; gap: 0.45rem; align-items: center;
}
.inline-form select {
	font: inherit; padding: 0.35rem 0.5rem; border-radius: 0.35rem;
	border: 1px solid var(--line); background: rgba(255,255,255,0.95); color: var(--wm-green);
}
.inline-check { display: inline-flex !important; align-items: center; gap: 0.35rem; font-size: 0.85rem; margin: 0; }
.btn.small { padding: 0.35rem 0.7rem; font-size: 0.85rem; }
tr.is-muted { opacity: 0.55; }
.error { color: #ffb4b4; font-weight: 600; }

.compare {
	display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1rem 0 1.5rem;
}
.compare img {
	width: 100%; border-radius: 0.75rem; border: 1px solid var(--line);
	background: #083533; min-height: 160px; object-fit: cover; object-position: top;
}
.compare figcaption { font-size: 0.85rem; color: var(--muted); margin-top: 0.35rem; }

.preview-fold { margin: 1rem 0 1.5rem; }
.preview-fold summary { cursor: pointer; font-weight: 700; margin-bottom: 0.6rem; color: var(--wm-yellow); }
.redesign-frame {
	width: 100%; min-height: 520px; border: 1px solid var(--line); border-radius: 0.75rem; background: #fff;
}

.live-bar {
	display: flex; align-items: center; gap: 0.55rem;
	background: rgba(255,175,39,0.12); border: 1px solid rgba(255,175,39,0.35); border-radius: 0.7rem;
	padding: 0.7rem 0.9rem; margin-bottom: 1rem; font-weight: 600; font-size: 0.92rem; color: var(--wm-white);
}
.pulse {
	width: 10px; height: 10px; border-radius: 50%; background: var(--wm-yellow);
	box-shadow: 0 0 0 0 rgba(255,175,39,0.5);
	animation: pulse 1.4s infinite;
}

.events { padding-left: 1.1rem; color: var(--muted); }
.events li { margin-bottom: 0.35rem; }
.events strong { color: var(--wm-white); }

.pitch-hero { padding: 1rem 0 1.25rem; }
.slider-section { margin-bottom: 1.5rem; }
.slider-hint { margin: 0.5rem 0 0; }
.ba {
	position: relative; width: 100%; aspect-ratio: 16/10;
	overflow: hidden; border-radius: 1.1rem; border: 1px solid var(--line);
	background: #083533; user-select: none;
	box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.ba-before-wrap { position: absolute; inset: 0 auto 0 0; width: 50%; overflow: hidden; border-right: 2px solid var(--wm-yellow); }
.ba-range {
	position: absolute; inset: 0; width: 100%; height: 100%; margin: 0;
	opacity: 0; cursor: ew-resize; z-index: 5;
}
.ba-handle {
	position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: var(--wm-yellow); z-index: 4;
}
.ba-handle::after {
	content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
	width: 36px; height: 36px; border-radius: 50%; background: var(--wm-yellow);
	box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}
.ba-tag {
	position: absolute; top: 0.75rem; z-index: 3;
	background: rgba(14,70,68,0.85); color: var(--wm-white); padding: 0.25rem 0.55rem;
	border-radius: 999px; font-size: 0.75rem; letter-spacing: 0.04em; text-transform: uppercase;
	border: 1px solid rgba(255,175,39,0.4);
}
.ba-tag.left { left: 0.75rem; }
.ba-tag.right { right: 0.75rem; }

.reel-embed {
	width: 100%; aspect-ratio: 16/9; border: 0; border-radius: 0.75rem;
	margin-bottom: 1.25rem; background: #083533;
}
.pitch-cta { max-width: 980px; margin-inline: auto; }
.pitch-cta h2, .thanks-panel h1 { font-family: var(--font-display); color: var(--wm-white); }
.pitch-cta h2 { font-size: clamp(1.55rem, 3.2vw, 2.15rem); line-height: 1.15; margin: 0 0 0.75rem; max-width: 22ch; }
.pitch-cta-lead { margin: 0 0 1rem; color: rgba(255,255,255,0.88); max-width: 42ch; line-height: 1.55; }
.pitch-cta-grid {
	display: grid; gap: 1.35rem; align-items: stretch;
}
@media (min-width: 840px) {
	.pitch-cta-grid { grid-template-columns: 1.05fr 0.95fr; gap: 1.75rem; align-items: start; }
}
.pitch-triggers {
	list-style: none; margin: 0 0 1.15rem; padding: 0; display: grid; gap: 0.45rem;
}
.pitch-triggers li {
	position: relative; padding-left: 1.15rem; color: rgba(255,255,255,0.86); font-size: 0.95rem; line-height: 1.4;
}
.pitch-triggers li::before {
	content: ""; position: absolute; left: 0; top: 0.55em;
	width: 0.45rem; height: 0.45rem; border-radius: 50%; background: var(--wm-yellow);
}
.pitch-cta-copy .btn { width: 100%; text-align: center; }
.pitch-cta-visual {
	margin: 0; border-radius: 1rem; overflow: hidden;
	border: 1px solid rgba(255,255,255,0.14);
	background: #083533;
	box-shadow: 0 18px 40px rgba(0,0,0,0.28);
}
.pitch-cta-visual img {
	display: block; width: 100%; height: 100%; min-height: 280px;
	object-fit: cover; object-position: center 30%;
	aspect-ratio: 4/5;
}
.pitch-cta-visual figcaption {
	margin: 0; padding: 0.7rem 0.9rem;
	font-size: 0.8rem; color: rgba(255,255,255,0.72);
	border-top: 1px solid rgba(255,255,255,0.1);
	background: rgba(0,0,0,0.22);
}
@media (min-width: 840px) {
	.pitch-cta-visual img { min-height: 420px; aspect-ratio: auto; max-height: 560px; }
}

.landing {
	position: relative; min-height: calc(100vh - 6rem);
	display: flex; flex-direction: column; justify-content: center;
	padding: 2rem 0 3rem; overflow: hidden;
}
.landing-glow {
	position: absolute; inset: -20% auto auto -10%; width: 70vw; height: 70vw;
	background: radial-gradient(circle, rgba(255,175,39,0.2), transparent 60%);
	pointer-events: none;
}
.landing-wordmark {
	display: block; width: min(420px, 88vw); height: auto; margin: 0 0 1.25rem;
}
.login-wordmark {
	display: block; width: min(280px, 100%); height: auto; margin: 0 0 1rem;
}
.landing-slogan {
	margin: 0 0 1rem; color: var(--wm-yellow); font-weight: 700; font-size: 1.15rem; letter-spacing: 0.01em;
}
.landing-lede { max-width: 34ch; font-size: 1.2rem; margin-bottom: 1.5rem; color: var(--muted); }
.landing-cta { display: flex; gap: 0.7rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.landing-notice { margin: 0; max-width: 36ch; opacity: 0.75; }
.landing-steps {
	list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; max-width: 420px;
}
.landing-steps li {
	display: flex; gap: 0.8rem; align-items: baseline;
	padding: 0.75rem 0.9rem; border-radius: 0.7rem;
	background: rgba(255,255,255,0.08); border: 1px solid var(--line); color: var(--wm-white);
}
.landing-steps strong { font-family: var(--font-display); color: var(--wm-yellow); }

.login-shell { min-height: calc(100vh - 6rem); display: grid; place-items: center; }
.login-card {
	width: min(420px, 100%); background: rgba(255,255,255,0.08);
	border: 1px solid var(--line); border-radius: 1.1rem; padding: 1.5rem;
	backdrop-filter: blur(8px);
}

.wrap { max-width: 900px; margin: 0 auto; padding: 1.5rem; }
.recorder-frame iframe {
	width: 100%; aspect-ratio: 16/9; border: 0; border-radius: 0.75rem; background: #000;
}

.reveal { opacity: 0; transform: translateY(12px); }
.reveal.in { animation: rise 0.55s ease forwards; }

@keyframes rise {
	from { opacity: 0; transform: translateY(14px); }
	to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
	0% { box-shadow: 0 0 0 0 rgba(255,175,39,0.5); }
	70% { box-shadow: 0 0 0 12px rgba(255,175,39,0); }
	100% { box-shadow: 0 0 0 0 rgba(255,175,39,0); }
}

@media (max-width: 900px) {
	.stats { grid-template-columns: repeat(2, 1fr); }
	.top.public { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 960px) {
	.nav-toggle { display: inline-flex; align-items: center; justify-content: center; margin-left: auto; }
	.top { flex-wrap: wrap; }
	.app-nav {
		display: none; width: 100%; flex-direction: column; align-items: stretch;
		padding: 0.5rem 0 0.25rem; gap: 0.15rem;
	}
	.app-nav.is-open { display: flex; }
	.app-nav > a, .app-nav .nav-drop-btn {
		width: 100%; padding: 0.7rem 0.35rem; border-bottom: 1px solid var(--line);
		justify-content: space-between;
	}
	.app-nav > a.is-active, .app-nav .nav-drop-btn.is-active { border-bottom-color: var(--wm-yellow); }
	.nav-drop { width: 100%; }
	.nav-drop:hover .nav-drop-menu { display: none; }
	.nav-drop.is-open .nav-drop-menu,
	.nav-drop:focus-within .nav-drop-menu { display: block; }
	.nav-drop-menu {
		position: static; box-shadow: none; margin: 0.15rem 0 0.35rem; width: 100%;
		background: rgba(0,0,0,0.2);
	}
	.app-nav .btn-new { margin-top: 0.5rem; justify-content: center; width: 100%; }
	.hide-sm { display: none !important; }
	.kv { grid-template-columns: 1fr; }
	main { padding: 1rem; }
}
@media (max-width: 800px) {
	.compare { grid-template-columns: 1fr; }
}
