:root {
  --navy: #101826;
  --navy-2: #172236;
  --ink: #142033;
  --red: #c7362f;
  --red-dark: #9e2722;
  --gold: #e3b23c;
  --cream: #f5f0e6;
  --paper: #fbfaf7;
  --white: #ffffff;
  --muted: #6f7887;
  --line: #dfe3e8;
  --green: #2e8b64;
  --blue: #3f74c7;
  --shadow: 0 24px 60px rgba(10, 20, 35, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "DM Sans", sans-serif; color: var(--ink); background: #edf0f3; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button, a { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }

.topbar {
  height: 74px; padding: 0 4vw; display: flex; align-items: center; gap: 28px;
  background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(14px);
}
.proposal-return { color:var(--muted); text-decoration:none; border:1px solid var(--line); border-radius:999px; padding:8px 11px; font-size:9px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; }
.brand { display: flex; align-items: center; color: var(--ink); text-decoration: none; margin-right: auto; width:220px; }
.brand img { display:block; width:100%; height:auto; }
.view-switch { display: flex; padding: 4px; border-radius: 999px; background: #eef0f3; }
.view-button { border: 0; border-radius: 999px; padding: 9px 18px; background: transparent; color: var(--muted); font-weight: 700; font-size: 13px; }
.view-button.active { background: var(--navy); color: white; box-shadow: 0 4px 10px rgba(16,24,38,.2); }
.demo-pill { font-size: 10px; font-weight: 800; color: var(--red); background: #fae8e6; border: 1px solid #efc4c0; border-radius: 999px; padding: 6px 10px; letter-spacing: .08em; }
.view { display: none; }
.active-view { display: block; }

.guest-stage {
  min-height: calc(100vh - 112px); display: grid; grid-template-columns: minmax(420px, 1fr) minmax(350px, .7fr); gap: 5vw;
  align-items: center; padding: 5vh 8vw 6vh; position: relative; overflow: hidden;
  background:
    linear-gradient(90deg, rgba(245,240,230,.98) 0%, rgba(245,240,230,.92) 48%, rgba(16,24,38,.04) 100%),
    repeating-linear-gradient(135deg, transparent 0 28px, rgba(199,54,47,.025) 29px 30px);
}
.guest-stage::after { content:""; position:absolute; width:420px; height:420px; border:90px solid rgba(199,54,47,.05); border-radius:50%; right:-150px; top:-180px; }
.story-panel { max-width: 720px; position: relative; z-index: 2; }
.eyebrow { color: var(--red); font-weight: 800; font-size: 11px; letter-spacing: .16em; margin-bottom: 14px; }
h1 { font-family: "Oswald", sans-serif; font-size: clamp(45px, 5.2vw, 78px); line-height: .99; letter-spacing: -.03em; margin: 0 0 22px; text-transform: uppercase; }
h1 em { color: var(--red); font-style: normal; }
#story-copy { font-size: clamp(17px, 1.5vw, 21px); line-height: 1.55; color: #4c5665; max-width: 640px; margin: 0 0 30px; }
.story-points { display: grid; gap: 10px; max-width: 600px; margin-bottom: 34px; }
.story-point { display: flex; align-items: center; gap: 14px; padding: 12px 15px; border-left: 3px solid #d1d5da; color: #79808b; transition: .25s; }
.story-point.active { border-left-color: var(--red); color: var(--ink); background: rgba(255,255,255,.55); }
.story-point span { font-family: "Oswald"; font-weight: 700; color: var(--red); }
.story-point p { margin: 0; font-size: 14px; }
.promise-card { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding-top: 18px; border-top: 1px solid #d7d0c4; font-size: 12px; }
.promise-label { font-size: 9px; font-weight: 800; color: var(--red); letter-spacing: .1em; }
.promise-card strong { font-size: 12px; }
.promise-arrow { color: #a3a7ad; }

.phone-wrap { position: relative; z-index: 2; justify-self: center; }
.phone-shadow { width: 290px; height: 60px; position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); background: rgba(0,0,0,.23); filter: blur(26px); border-radius: 50%; }
.phone { width: 342px; height: min(720px, calc(100vh - 130px)); min-height: 620px; background: #090b0f; border-radius: 48px; padding: 10px; box-shadow: 0 35px 80px rgba(8,15,26,.34), inset 0 0 0 2px #333943; position: relative; }
.phone-speaker { position:absolute; z-index:5; width:94px; height:24px; background:#090b0f; top:9px; left:50%; transform:translateX(-50%); border-radius:0 0 14px 14px; }
.phone-screen { height:100%; background:var(--paper); border-radius:39px; overflow:hidden; display:flex; flex-direction:column; }
.phone-status { height:31px; padding: 9px 20px 0; display:flex; justify-content:space-between; font-size:9px; font-weight:800; color:white; background:var(--navy); }
.pub-header { min-height:70px; display:grid; grid-template-columns:34px 1fr 34px; align-items:center; gap:8px; padding:8px 13px; color:white; background:var(--navy); border-bottom:3px solid var(--red); }
.pub-logo { text-align:center; line-height:1; }
.pub-logo span { display:block; font-size:8px; letter-spacing:.25em; }
.pub-logo strong { display:block; font-family:"Oswald"; font-size:20px; letter-spacing:.04em; }
.pub-logo small { display:block; color:#c5ccd6; font-size:6px; letter-spacing:.12em; margin-top:4px; }
.icon-button { border:0; background:rgba(255,255,255,.1); color:white; width:32px; height:32px; border-radius:50%; }
.phone-content { flex:1; overflow:auto; scrollbar-width:none; -webkit-overflow-scrolling:touch; overscroll-behavior:contain; }
.phone-content::-webkit-scrollbar { display:none; }
.phone-nav { height:64px; display:grid; grid-template-columns:repeat(5,1fr); background:white; border-top:1px solid #e0e3e7; padding:4px 3px 6px; }
.phone-nav-button { border:0; background:transparent; color:#89909b; font-size:8px; font-weight:700; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:2px; }
.phone-nav-button span { font-size:17px; line-height:1; }
.phone-nav-button.active { color:var(--red); }
.phone-caption { text-align:center; margin:14px 0 0; font-size:11px; color:var(--muted); }

.phone-hero { color:white; padding:23px 18px 20px; background: radial-gradient(circle at 90% 5%, rgba(227,178,60,.28), transparent 30%), linear-gradient(145deg,var(--navy),#263754); position:relative; overflow:hidden; }
.phone-hero::after { content:"★"; position:absolute; font-size:120px; color:rgba(255,255,255,.035); right:-12px; bottom:-44px; }
.phone-hero .mini-label { font-size:8px; letter-spacing:.14em; font-weight:800; color:#e7c76e; }
.phone-hero h3 { font-family:"Oswald"; font-size:29px; line-height:1.06; text-transform:uppercase; margin:7px 0 8px; }
.phone-hero p { font-size:11px; color:#d8dde5; margin:0 0 15px; line-height:1.45; }
.phone-hero-actions { display:flex; gap:8px; }
.phone-primary, .phone-secondary { border:0; border-radius:8px; padding:9px 12px; font-size:9px; font-weight:800; }
.phone-primary { background:var(--red); color:white; }
.phone-secondary { background:white; color:var(--navy); }
.phone-section { padding:16px; }
.phone-section + .phone-section { padding-top:0; }
.section-heading { display:flex; align-items:center; justify-content:space-between; margin-bottom:10px; }
.section-heading h4 { font-family:"Oswald"; text-transform:uppercase; font-size:16px; margin:0; letter-spacing:.02em; }
.text-button { border:0; background:none; color:var(--red); font-size:9px; font-weight:800; padding:0; }
.game-card { background:white; border:1px solid #e2e5e8; border-radius:12px; padding:12px; margin-bottom:9px; box-shadow:0 3px 8px rgba(20,32,51,.04); cursor:pointer; transition:.2s; }
.game-card:hover { transform:translateY(-1px); border-color:#c7ccd2; }
.game-top { display:flex; justify-content:space-between; align-items:center; gap:6px; margin-bottom:8px; }
.sport-chip { padding:3px 6px; font-size:7px; font-weight:800; color:var(--blue); background:#eaf1fc; border-radius:999px; }
.game-time { font-size:8px; font-weight:700; color:var(--muted); }
.matchup { display:flex; align-items:center; gap:8px; }
.team-badge { width:29px; height:29px; border-radius:8px; display:grid; place-items:center; font-family:"Oswald"; font-size:11px; color:white; background:var(--navy); }
.team-badge.red { background:var(--red); }
.matchup strong { display:block; font-size:11px; }
.matchup small { display:block; color:var(--muted); font-size:8px; margin-top:2px; }
.floor-chip { margin-left:auto; font-size:7px; padding:4px 6px; border-radius:6px; background:#f0ede6; color:#675d49; font-weight:800; text-align:center; }
.quick-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:8px; }
.quick-card { border:0; border-radius:11px; min-height:74px; padding:11px; color:white; text-align:left; background:var(--red); position:relative; overflow:hidden; }
.quick-card:nth-child(2) { background:#324968; }
.quick-card:nth-child(3) { background:#7f5b2f; }
.quick-card:nth-child(4) { background:#356b55; }
.quick-card span { display:block; font-size:18px; margin-bottom:5px; }
.quick-card strong { display:block; font-size:10px; }
.quick-card small { display:block; font-size:7px; opacity:.8; margin-top:2px; }
.filter-row { display:flex; gap:5px; overflow:auto; padding-bottom:4px; scrollbar-width:none; }
.filter-chip { border:1px solid #d9dde1; background:white; border-radius:999px; padding:6px 9px; white-space:nowrap; font-size:8px; font-weight:700; }
.filter-chip.active { background:var(--navy); color:white; border-color:var(--navy); }
.detail-banner { padding:20px 16px; color:white; background:linear-gradient(145deg,#1d2d46,#0d1420); }
.detail-banner .back-link { border:0; background:none; color:#cad1da; padding:0; font-size:9px; }
.detail-banner h3 { font-family:"Oswald"; font-size:25px; margin:14px 0 6px; text-transform:uppercase; }
.detail-banner p { font-size:10px; color:#cbd2db; margin:0; }
.detail-stat-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:7px; padding:13px 16px; }
.detail-stat { background:white; border:1px solid #e0e3e6; border-radius:10px; padding:9px 5px; text-align:center; }
.detail-stat strong { display:block; font-size:10px; }
.detail-stat small { color:var(--muted); font-size:7px; }
.offer-card { margin:0 16px 12px; padding:12px; border-radius:12px; background:#f7e8d0; border:1px solid #efd4a8; }
.offer-card span { color:#93611c; font-size:7px; font-weight:800; letter-spacing:.1em; }
.offer-card strong { display:block; font-size:11px; margin:4px 0; }
.offer-card p { font-size:8px; margin:0; color:#755f44; }
.wide-phone-button { margin:0 16px 9px; width:calc(100% - 32px); border:0; border-radius:9px; padding:11px; color:white; background:var(--red); font-size:10px; font-weight:800; }
.wide-phone-button.alt { background:var(--navy); }
.menu-banner { padding:18px 16px; background:var(--red); color:white; }
.menu-banner h3, .form-intro h3 { font-family:"Oswald"; font-size:25px; text-transform:uppercase; margin:0 0 4px; }
.menu-banner p, .form-intro p { font-size:9px; margin:0; opacity:.85; }
.menu-list { padding:12px 16px; }
.menu-item { display:grid; grid-template-columns:1fr auto; gap:4px 10px; padding:11px 0; border-bottom:1px solid #e1e3e6; }
.menu-item strong { font-size:11px; }
.menu-item b { font-size:10px; color:var(--red); }
.menu-item small { grid-column:1/-1; font-size:8px; color:var(--muted); line-height:1.35; }
.form-intro { padding:18px 16px; background:linear-gradient(145deg,#2b3d58,var(--navy)); color:white; }
.phone-form { padding:14px 16px 20px; }
.phone-form label { display:block; font-size:8px; font-weight:800; color:#5d6673; margin-bottom:9px; }
.phone-form input, .phone-form select, .phone-form textarea { width:100%; border:1px solid #d8dce1; border-radius:8px; padding:9px; margin-top:4px; background:white; color:var(--ink); font-size:9px; }
.phone-form .form-row { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.policy-note { font-size:8px; line-height:1.4; color:#6d7480; background:#f1f3f5; padding:9px; border-radius:8px; margin-bottom:10px; }
.reward-hero { padding:23px 16px; color:white; background:linear-gradient(145deg,#8e2320,var(--red)); }
.reward-hero h3 { font-family:"Oswald"; font-size:26px; text-transform:uppercase; margin:5px 0; }
.reward-hero p { font-size:9px; margin:0; opacity:.85; }
.reward-card { margin:13px 16px; border-radius:13px; background:white; border:1px solid #e0e3e7; overflow:hidden; }
.reward-card-top { padding:13px; display:flex; justify-content:space-between; align-items:center; }
.reward-card strong { font-size:11px; }
.reward-card small { display:block; color:var(--muted); font-size:8px; margin-top:2px; }
.progress { height:6px; background:#ebedf0; }
.progress span { display:block; height:100%; width:68%; background:var(--gold); }
.empty-state { padding:25px 20px; text-align:center; }
.empty-state span { font-size:38px; }
.empty-state h3 { font-family:"Oswald"; text-transform:uppercase; margin:8px 0 5px; }
.empty-state p { font-size:9px; color:var(--muted); line-height:1.5; }

.dashboard-shell { min-height:calc(100vh - 112px); display:grid; grid-template-columns:230px 1fr; background:#f4f6f8; }
.sidebar { background:var(--navy); color:white; padding:25px 16px 18px; display:flex; flex-direction:column; }
.sidebar-logo { padding:0 10px 25px; border-bottom:1px solid rgba(255,255,255,.1); }
.sidebar-logo span { display:block; color:#c4ccd6; font-size:8px; letter-spacing:.2em; }
.sidebar-logo strong { display:block; font-family:"Oswald"; font-size:23px; line-height:1; margin:3px 0 7px; }
.sidebar-logo small { color:#e4b64b; font-size:7px; letter-spacing:.12em; }
.owner-nav { display:grid; gap:4px; margin-top:20px; }
.owner-nav-button { border:0; border-radius:8px; background:transparent; color:#aab3c0; text-align:left; padding:11px 12px; font-size:12px; font-weight:600; display:flex; align-items:center; gap:10px; }
.owner-nav-button span { width:18px; font-size:15px; text-align:center; }
.owner-nav-button.active { color:white; background:rgba(255,255,255,.1); }
.sidebar-footer { margin-top:auto; padding:14px 10px 0; border-top:1px solid rgba(255,255,255,.1); color:#c7ced7; font-size:9px; }
.sidebar-footer small { display:block; color:#798698; margin-top:4px; }
.live-dot { display:inline-block; width:7px; height:7px; border-radius:50%; background:#50c58b; margin-right:6px; box-shadow:0 0 0 4px rgba(80,197,139,.1); }
.dashboard-main { min-width:0; }
.dashboard-header { padding:20px 28px; background:white; border-bottom:1px solid var(--line); display:flex; justify-content:space-between; align-items:center; }
.dashboard-header .eyebrow { margin-bottom:5px; }
.dashboard-header h2 { font-size:25px; margin:0; }
.dashboard-actions { display:flex; align-items:center; gap:9px; }
.primary-button,.secondary-button { border-radius:8px; padding:9px 13px; font-size:10px; font-weight:800; }
.primary-button { border:1px solid var(--red); background:var(--red); color:white; }
.secondary-button { border:1px solid #d7dce1; background:white; color:var(--ink); }
.avatar { width:34px; height:34px; border-radius:50%; display:grid; place-items:center; background:var(--navy); color:white; font-size:10px; font-weight:800; }
.dashboard-content { padding:22px 28px 30px; }
.status-banner { padding:12px 14px; margin-bottom:16px; border:1px solid #b8dfcc; border-radius:9px; background:#eef9f3; display:flex; justify-content:space-between; align-items:center; font-size:11px; color:#286949; }
.status-banner strong { color:#174d35; }
.metric-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:13px; margin-bottom:16px; }
.metric-card { background:white; border:1px solid var(--line); border-radius:11px; padding:15px; }
.metric-label { display:flex; justify-content:space-between; color:var(--muted); font-size:9px; font-weight:700; }
.metric-icon { width:24px; height:24px; border-radius:7px; display:grid; place-items:center; background:#f1f3f6; color:var(--navy); }
.metric-value { font-family:"Oswald"; font-size:27px; margin:8px 0 2px; }
.metric-change { color:var(--green); font-size:8px; font-weight:700; }
.metric-change.neutral { color:var(--muted); }
.dashboard-grid { display:grid; grid-template-columns:minmax(0,1.45fr) minmax(280px,.8fr); gap:16px; }
.panel { background:white; border:1px solid var(--line); border-radius:11px; overflow:hidden; }
.panel-header { display:flex; justify-content:space-between; align-items:center; padding:14px 16px; border-bottom:1px solid var(--line); }
.panel-header h3 { font-size:12px; margin:0; }
.panel-header span { color:var(--muted); font-size:8px; }
.table-wrap { overflow:auto; }
.data-table { width:100%; border-collapse:collapse; min-width:600px; }
.data-table th { text-align:left; font-size:8px; color:var(--muted); padding:9px 12px; background:#fafbfc; text-transform:uppercase; letter-spacing:.05em; }
.data-table td { padding:11px 12px; border-top:1px solid #eef0f2; font-size:9px; }
.data-table td strong { display:block; font-size:10px; }
.data-table td small { color:var(--muted); }
.demand-bar { width:74px; height:5px; border-radius:999px; background:#e8ebee; overflow:hidden; display:inline-block; margin-right:5px; }
.demand-bar span { height:100%; display:block; background:var(--red); }
.tag { display:inline-block; padding:4px 6px; border-radius:999px; font-size:7px; font-weight:800; background:#e9f5ef; color:#307154; }
.tag.amber { background:#fbf2d9; color:#8a681d; }
.tag.blue { background:#eaf1fa; color:#3567a8; }
.insight-list { padding:8px 14px 14px; }
.insight { padding:12px 0; border-bottom:1px solid #eef0f2; display:grid; grid-template-columns:27px 1fr; gap:9px; }
.insight:last-child { border-bottom:0; }
.aha { width:26px; height:26px; border-radius:7px; display:grid; place-items:center; font-family:Georgia,serif; font-size:10px; font-weight:800; color:white; background:var(--red); }
.insight strong { display:block; font-size:9px; margin-bottom:3px; }
.insight p { margin:0; color:var(--muted); font-size:8px; line-height:1.4; }
.insight button { border:0; background:none; color:var(--red); font-size:8px; font-weight:800; padding:6px 0 0; }
.section-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
.module-card { background:white; border:1px solid var(--line); border-radius:11px; padding:16px; }
.module-card .big-icon { font-size:26px; }
.module-card h3 { font-size:13px; margin:9px 0 4px; }
.module-card p { color:var(--muted); font-size:9px; line-height:1.5; min-height:41px; }
.module-card .module-stat { font-family:"Oswald"; font-size:25px; }
.module-card small { font-size:8px; color:var(--muted); }
.card-list { margin-top:12px; display:grid; gap:8px; }
.list-item { padding:10px; border-radius:8px; background:#f7f8fa; font-size:9px; display:flex; align-items:center; justify-content:space-between; gap:10px; }
.list-item strong { display:block; }
.list-item small { display:block; color:var(--muted); margin-top:2px; }
.automation-intro { display:flex; justify-content:space-between; align-items:center; gap:20px; margin-bottom:14px; padding:13px 15px; border:1px solid #b8dfcc; border-radius:9px; color:#286949; background:#eef9f3; }
.automation-intro>div { display:flex; align-items:center; gap:10px; }
.automation-intro p { margin:0; }
.automation-intro p strong,.automation-intro p small { display:block; }
.automation-intro p strong { font-size:10px; }
.automation-intro p small { margin-top:3px; color:#4e7b68; font-size:8px; }
.automation-intro>span { padding:5px 8px; border-radius:999px; color:#276849; background:white; font-size:7px; font-weight:800; letter-spacing:.08em; white-space:nowrap; }
.automation-list { margin-top:0; }
.automation-row { width:100%; display:grid; grid-template-columns:38px 1fr 112px; align-items:center; gap:12px; padding:13px; border:1px solid var(--line); border-radius:9px; color:var(--ink); background:white; text-align:left; cursor:pointer; transition:.2s ease; }
.automation-row:hover,.automation-row:focus-visible { border-color:#bdc5ce; box-shadow:0 8px 24px rgba(20,32,51,.08); transform:translateY(-1px); outline:none; }
.automation-icon { width:36px; height:36px; display:grid; place-items:center; border-radius:9px; background:#edf2f9; font-size:17px; }
.automation-row strong { display:block; font-size:10px; }
.automation-row small { display:block; color:var(--muted); font-size:8px; margin-top:3px; }
.automation-row b { display:inline-block; margin-top:7px; color:var(--green); font-size:7px; }
.automation-controls { display:grid; grid-template-columns:auto auto; gap:6px 8px; justify-content:end; align-items:center; }
.automation-controls .journey-active { color:var(--green); font-size:6px; font-weight:800; letter-spacing:.08em; }
.automation-controls i { grid-column:1/-1; color:var(--red); font-size:7px; font-style:normal; font-weight:800; text-align:right; }
.toggle { width:32px; height:18px; border-radius:999px; background:var(--green); position:relative; }
.toggle::after { content:""; width:14px; height:14px; border-radius:50%; background:white; position:absolute; right:2px; top:2px; }
.bar-chart { display:flex; align-items:flex-end; gap:10px; height:150px; padding:20px 20px 10px; }
.bar-column { flex:1; display:flex; flex-direction:column; align-items:center; justify-content:flex-end; height:100%; gap:5px; }
.bar-column span { display:block; width:100%; max-width:35px; border-radius:5px 5px 0 0; background:linear-gradient(#d4534d,var(--red)); }
.bar-column small { font-size:7px; color:var(--muted); }

.modal { position:fixed; inset:0; z-index:100; display:none; align-items:center; justify-content:center; padding:20px; }
.modal.open { display:flex; }
.modal-backdrop { position:absolute; inset:0; background:rgba(7,12,20,.7); backdrop-filter:blur(5px); }
.modal-card { width:min(430px,100%); max-height:90vh; overflow:auto; position:relative; z-index:1; background:white; border-radius:16px; box-shadow:var(--shadow); padding:25px; }
.modal-card.journey-modal { width:min(1040px,100%); padding:0; border-radius:18px; }
.modal-close { position:absolute; right:12px; top:10px; border:0; background:#eef0f2; width:30px; height:30px; border-radius:50%; font-size:19px; }
.journey-modal .modal-close { z-index:5; color:#384553; background:rgba(255,255,255,.88); }
.modal-card h3 { font-family:"Oswald"; font-size:28px; text-transform:uppercase; margin:0 0 8px; }
.modal-card p { color:var(--muted); font-size:12px; line-height:1.5; }
.modal-form { display:grid; gap:10px; margin-top:16px; }
.modal-form label { font-size:10px; font-weight:800; }
.modal-form input,.modal-form select { width:100%; border:1px solid var(--line); border-radius:8px; padding:10px; margin-top:4px; }
.modal-open { overflow:hidden; }

.journey-editor { color:var(--ink); background:#f5f7f8; }
.journey-editor-head { min-height:112px; display:grid; grid-template-columns:46px 1fr auto; align-items:center; gap:15px; padding:22px 55px 22px 25px; color:white; background:linear-gradient(135deg,var(--navy),#23334d); border-bottom:3px solid var(--red); }
.journey-title-icon { width:45px; height:45px; display:grid; place-items:center; border-radius:12px; background:rgba(255,255,255,.1); font-size:22px; }
.journey-kicker { color:#efc562; font-size:7px; font-weight:800; letter-spacing:.12em; }
.journey-kicker i { display:inline-block; width:6px; height:6px; margin-right:6px; border-radius:50%; background:#51c98b; box-shadow:0 0 0 4px rgba(81,201,139,.12); }
.journey-editor-head h3 { margin:5px 0 2px; font-size:23px; }
.journey-editor-head p { margin:0; color:#cbd2dc; font-size:9px; }
.journey-performance { min-width:135px; padding-left:18px; border-left:1px solid rgba(255,255,255,.15); }
.journey-performance span,.journey-performance strong { display:block; }
.journey-performance span { color:#94a3b6; font-size:6px; font-weight:800; letter-spacing:.12em; }
.journey-performance strong { margin-top:5px; font-size:10px; }
.journey-editor-grid { display:grid; grid-template-columns:minmax(0,1fr) 280px; gap:0; }
.journey-fields { padding:21px 23px 12px; }
.form-section { margin-bottom:16px; padding:16px; border:1px solid #dfe3e7; border-radius:11px; background:white; }
.form-section-title { display:grid; grid-template-columns:27px 1fr; gap:9px; align-items:center; margin-bottom:14px; }
.form-section-title>span { width:26px; height:26px; display:grid; place-items:center; border-radius:7px; color:white; background:var(--navy); font-family:"Oswald"; font-size:10px; }
.form-section-title strong,.form-section-title small { display:block; }
.form-section-title strong { font-size:10px; }
.form-section-title small { margin-top:2px; color:var(--muted); font-size:7px; }
.journey-form-grid { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.journey-form-grid.three-column { grid-template-columns:1fr 1fr 1fr; }
.journey-form-grid label,.message-label label { color:#57616d; font-size:7px; font-weight:800; letter-spacing:.03em; text-transform:uppercase; }
.journey-form-grid input,.journey-form-grid select,.journey-form-grid textarea { width:100%; margin-top:5px; padding:9px 10px; border:1px solid #d6dbe0; border-radius:7px; color:var(--ink); background:#fbfcfd; font-size:8px; line-height:1.45; outline:none; }
.journey-form-grid input:focus,.journey-form-grid select:focus,.journey-form-grid textarea:focus { border-color:#8c9baa; box-shadow:0 0 0 3px rgba(16,24,38,.06); background:white; }
.journey-form-grid textarea { min-height:104px; resize:vertical; }
.full-field { grid-column:1/-1; }
.message-label { display:flex; justify-content:space-between; align-items:center; margin-top:2px; }
.message-label button { border:0; color:var(--red); background:none; font-size:7px; font-weight:800; }
.audience-summary { display:grid; grid-template-columns:28px 1fr auto; gap:9px; align-items:center; margin-top:10px; padding:9px 10px; border-radius:8px; background:#f1f5f7; }
.audience-summary>span { width:27px; height:27px; display:grid; place-items:center; border-radius:7px; color:var(--navy); background:white; }
.audience-summary strong,.audience-summary small { display:block; }
.audience-summary strong { font-size:8px; }
.audience-summary small { margin-top:2px; color:var(--muted); font-size:6px; }
.audience-summary button { border:0; color:var(--red); background:none; font-size:6px; font-weight:800; }
.personalization-row { display:flex; align-items:center; flex-wrap:wrap; gap:5px; margin-top:9px; }
.personalization-row>span { margin-right:3px; color:var(--muted); font-size:6px; font-weight:800; }
.personalization-row button { padding:4px 6px; border:1px solid #dce1e5; border-radius:999px; color:#55616e; background:white; font-size:6px; }
.approval-row { display:grid; grid-template-columns:1fr 1fr; gap:9px; margin-top:11px; }
.approval-row>div { display:grid; grid-template-columns:32px 1fr; gap:8px; align-items:center; padding:9px; border:1px solid #e0e4e7; border-radius:8px; }
.toggle.static { display:block; }
.approval-row p { margin:0; }
.approval-row strong,.approval-row small { display:block; }
.approval-row strong { color:var(--ink); font-size:7px; }
.approval-row small { margin-top:2px; color:var(--muted); font-size:6px; line-height:1.35; }

.journey-preview { padding:22px 18px; border-left:1px solid #dfe3e7; background:#eef1f4; }
.preview-heading { display:flex; justify-content:space-between; align-items:center; margin-bottom:13px; }
.preview-heading>span { color:var(--muted); font-size:7px; font-weight:800; letter-spacing:.12em; }
.preview-heading button { padding:5px 7px; border:1px solid #d6dce1; border-radius:6px; color:#52606d; background:white; font-size:6px; font-weight:700; }
.message-phone { overflow:hidden; min-height:310px; border:7px solid #121923; border-radius:25px; background:#f5f5f7; box-shadow:0 17px 35px rgba(20,32,51,.16); }
.message-phone-top { display:grid; grid-template-columns:20px 1fr 20px; align-items:center; gap:5px; padding:14px 9px 10px; text-align:center; background:white; border-bottom:1px solid #e5e7e9; }
.message-phone-top>span { color:#4c75a5; font-size:12px; }
.message-phone-top>div { display:grid; justify-items:center; }
.message-phone-top i { width:26px; height:26px; display:grid; place-items:center; border-radius:50%; color:white; background:var(--red); font-size:7px; font-style:normal; font-weight:800; }
.message-phone-top strong { margin-top:4px; font-size:7px; }
.message-phone-top small { margin-top:1px; color:#949aa2; font-size:5px; }
.message-bubble { max-width:84%; margin:18px 9px 5px; padding:10px; border-radius:13px 13px 13px 4px; color:#222c37; background:#dfe3e7; font-size:7px; line-height:1.55; }
.message-disclaimer { display:block; margin:5px 11px; color:#9aa0a7; font-size:5px; }
.preview-details { margin-top:13px; padding:11px; border:1px solid #dce1e5; border-radius:8px; background:white; }
.preview-details span,.preview-details strong,.preview-details small { display:block; }
.preview-details span { color:var(--muted); font-size:6px; font-weight:800; letter-spacing:.1em; }
.preview-details strong { margin:5px 0 3px; font-size:8px; }
.preview-details small { color:var(--muted); font-size:6px; }
.aha-check { display:grid; grid-template-columns:27px 1fr; gap:8px; margin-top:10px; padding:10px; border:1px solid #b8dfcc; border-radius:8px; background:#eef9f3; }
.aha-check>i { width:26px; height:26px; display:grid; place-items:center; border-radius:7px; color:white; background:var(--red); font-family:Georgia,serif; font-size:8px; font-style:normal; font-weight:800; }
.aha-check strong { display:block; color:#285e46; font-size:7px; }
.aha-check p { margin:3px 0 0; color:#4e7564; font-size:6px; line-height:1.4; }
.journey-actions { position:sticky; bottom:0; display:flex; justify-content:flex-end; gap:8px; padding:13px 20px; border-top:1px solid #dfe3e7; background:rgba(255,255,255,.97); box-shadow:0 -8px 22px rgba(20,32,51,.05); }
.journey-actions button { min-width:130px; }
.success-state { display:grid; justify-items:center; padding:12px 4px 2px; text-align:center; }
.success-state>span { width:50px; height:50px; display:grid; place-items:center; margin-bottom:14px; border-radius:50%; color:white; background:var(--green); font-size:22px; }
.success-state h3 { margin-bottom:6px; }
.success-state p { max-width:330px; margin:0 0 20px; }
.success-state button { width:100%; }
.page-footer { min-height:38px; padding:8px 4vw; display:flex; justify-content:space-between; align-items:center; background:white; border-top:1px solid var(--line); color:var(--muted); font-size:9px; }

@media (max-width: 1050px) {
  .guest-stage { grid-template-columns:1fr .7fr; padding-left:5vw; padding-right:5vw; }
  .dashboard-shell { grid-template-columns:190px 1fr; }
  .metric-grid { grid-template-columns:repeat(2,1fr); }
  .section-grid { grid-template-columns:repeat(2,1fr); }
}
@media (max-width: 780px) {
  .topbar { height:auto; min-height:70px; padding:10px 14px; flex-wrap:wrap; gap:8px; }
  .demo-pill { display:none; }
  .view-switch { margin-left:auto; }
  .view-button { padding:8px 11px; font-size:11px; }
  .guest-stage { grid-template-columns:1fr; padding:40px 18px 55px; }
  .story-panel { text-align:center; }
  .story-points { margin-left:auto; margin-right:auto; text-align:left; }
  .promise-card { justify-content:center; }
  .phone { width:min(342px,92vw); height:690px; }
  .dashboard-shell { display:block; }
  .sidebar { padding:12px; position:sticky; top:76px; z-index:25; }
  .sidebar-logo,.sidebar-footer { display:none; }
  .owner-nav { display:flex; overflow:auto; margin:0; scrollbar-width:none; }
  .owner-nav-button { white-space:nowrap; padding:9px; font-size:9px; }
  .owner-nav-button span { width:auto; }
  .dashboard-header { padding:15px; }
  .dashboard-actions .secondary-button,.dashboard-actions .avatar { display:none; }
  .dashboard-content { padding:14px; }
  .dashboard-grid { grid-template-columns:1fr; }
  .section-grid { grid-template-columns:1fr; }
  .journey-editor-grid { grid-template-columns:1fr; }
  .journey-preview { border-left:0; border-top:1px solid #dfe3e7; }
  .message-phone { min-height:260px; }
  .journey-form-grid.three-column { grid-template-columns:1fr 1fr; }
  .journey-form-grid.three-column label:last-child { grid-column:1/-1; }
  .page-footer { display:block; text-align:center; }
  .page-footer span { display:block; margin:3px; }
}

@media (max-width: 600px) {
  body { background:var(--paper); }
  .topbar { height:58px; min-height:58px; padding:8px 10px; position:sticky; top:0; display:grid; grid-template-columns:auto 1fr; flex-wrap:nowrap; gap:8px; }
  .brand,.demo-pill { display:none; }
  .proposal-return { padding:8px 9px; font-size:8px; }
  .view-switch { width:auto; margin:0; }
  .view-button { flex:1; padding:9px 8px; }
  .guest-stage { display:block; min-height:0; padding:0; background:var(--paper); }
  .story-panel,.phone-shadow,.phone-caption { display:none; }
  .phone-wrap { width:100%; }
  .phone { width:100%; height:calc(100dvh - 58px); min-height:0; padding:0; border-radius:0; box-shadow:none; }
  .phone-speaker { display:none; }
  .phone-screen { border-radius:0; }
  .phone-nav { padding-bottom:max(6px,env(safe-area-inset-bottom)); height:calc(64px + env(safe-area-inset-bottom)); }
  .page-footer { display:none; }
  .dashboard-shell { min-height:calc(100dvh - 58px); }
  .sidebar { top:58px; }
  .automation-intro { align-items:flex-start; }
  .automation-intro>span { display:none; }
  .automation-row { grid-template-columns:36px 1fr 74px; gap:9px; padding:11px 9px; }
  .automation-controls .journey-active { display:none; }
  .automation-controls { grid-template-columns:auto; }
  .automation-controls i { grid-column:auto; }
  .modal { padding:7px; }
  .modal-card.journey-modal { max-height:97vh; border-radius:12px; }
  .journey-editor-head { grid-template-columns:40px 1fr; gap:10px; padding:18px 45px 17px 16px; }
  .journey-title-icon { width:39px; height:39px; }
  .journey-editor-head h3 { font-size:19px; }
  .journey-performance { grid-column:2; margin-top:8px; padding:0; border-left:0; }
  .journey-fields { padding:12px 10px 5px; }
  .form-section { padding:12px 10px; }
  .journey-form-grid,.journey-form-grid.three-column { grid-template-columns:1fr; }
  .journey-form-grid.three-column label:last-child { grid-column:auto; }
  .approval-row { grid-template-columns:1fr; }
  .audience-summary { grid-template-columns:27px 1fr; }
  .audience-summary button { grid-column:2; justify-self:start; padding:2px 0; }
  .journey-preview { padding:17px 12px; }
  .journey-actions { padding:10px; }
  .journey-actions button { min-width:0; flex:1; }
}
