:root {
  --ink: #183330;
  --muted: #6f807d;
  --line: #dfe8e5;
  --paper: #f4f7f5;
  --white: #fff;
  --teal: #187e78;
  --teal-dark: #12655f;
  --teal-soft: #e4f2ef;
  --sand: #f5ead8;
  --amber: #b8782d;
  --coral: #e1785c;
  --shadow: 0 12px 35px rgba(27, 60, 55, .08);
  --radius: 16px;
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
button, input, select { font: inherit; }
button { color: inherit; }
.demo-ribbon { height: 36px; background: #173532; color: white; display: flex; align-items: center; justify-content: center; gap: 12px; font-size: 12px; letter-spacing: .01em; }
.demo-ribbon span { background: #f2b15e; color: #38230b; font-weight: 800; padding: 3px 8px; border-radius: 20px; text-transform: uppercase; font-size: 10px; letter-spacing: .08em; }
.demo-ribbon p { margin: 0; opacity: .82; }
.demo-ribbon button { position: absolute; right: 15px; border: 0; background: transparent; color: white; cursor: pointer; font-size: 19px; opacity: .75; }
.shell { min-height: calc(100vh - 36px); display: grid; grid-template-columns: 252px 1fr; }
.sidebar { position: sticky; top: 0; height: calc(100vh - 36px); background: #f9fbfa; border-right: 1px solid var(--line); padding: 27px 17px 18px; display: flex; flex-direction: column; z-index: 5; }
.brand { display: block; padding: 0 7px 25px; text-decoration: none; }
.brand img { display: block; width: 100%; max-width: 190px; height: auto; mix-blend-mode: multiply; }
.main-nav { display: grid; gap: 4px; }
.nav-item { border: 0; background: transparent; text-align: left; min-height: 44px; border-radius: 9px; padding: 0 12px; display: flex; align-items: center; gap: 11px; color: #506763; font-size: 13px; font-weight: 650; cursor: pointer; }
.nav-anchor { text-decoration: none; }
.nav-item:hover { background: #edf4f2; }
.nav-item.active { background: var(--teal-soft); color: var(--teal-dark); }
.nav-item .icon { font-size: 19px; width: 20px; text-align: center; font-weight: 400; }
.nav-count { margin-left: auto; background: #d6e9e6; border-radius: 20px; padding: 2px 7px; font-size: 10px; }
.nav-count.amber { background: #f5e4cc; color: #8a551e; }
.nav-label { font-size: 9px; color: #96a39f; font-weight: 800; letter-spacing: .14em; padding: 22px 12px 8px; margin: 0; }
.sidebar-bottom { margin-top: auto; display: grid; gap: 12px; }
.help-card, .profile { display: flex; align-items: center; gap: 10px; padding: 12px; border: 0; border-top: 1px solid var(--line); font-size: 12px; background: transparent; text-align: left; width: 100%; }
.help-card { cursor: pointer; border-radius: 9px; }
.help-card:hover { background: var(--teal-soft); }
.help-card > span:first-child { width: 27px; height: 27px; border-radius: 50%; background: var(--sand); display: grid; place-items: center; color: var(--amber); font-weight: bold; }
.help-card > span:last-child, .profile > span:last-child { margin-left: auto; color: #91a09c; }
.help-card b, .profile b { display: block; }
.help-card small, .profile small { color: var(--muted); display: block; margin-top: 2px; }
.avatar { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: var(--teal); color: white; font-size: 10px; font-weight: 800; }
main { min-width: 0; }
.topbar { height: 65px; padding: 0 38px; background: rgba(255,255,255,.88); border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 4; }
.topbar-title { display: flex; gap: 8px; align-items: center; font-size: 12px; font-weight: 700; color: #57706c; }
.status-dot { width: 7px; height: 7px; background: #43a46f; border-radius: 50%; box-shadow: 0 0 0 4px #e6f4eb; }
.topbar-actions { display: flex; align-items: center; gap: 14px; }
.ghost-button { border: 1px solid var(--line); background: white; padding: 9px 14px; border-radius: 8px; font-size: 12px; font-weight: 700; cursor: pointer; }
.ghost-button:hover { border-color: #b9cbc6; }
.listing-link { text-decoration: none; }
.topbar-actions { position: relative; }
.bell { width: 34px; height: 34px; border: 0; background: transparent; position: relative; cursor: pointer; display: grid; place-items: center; border-radius: 50%; }
.bell:hover, .bell[aria-expanded="true"] { background: var(--teal-soft); }
.bell svg { width: 19px; height: 19px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bell i { position: absolute; width: 6px; height: 6px; background: var(--coral); border-radius: 50%; right: 1px; top: 2px; }
.notification-menu { position: absolute; right: 0; top: 46px; width: 310px; background: white; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 18px 50px rgba(20,50,45,.16); overflow: hidden; z-index: 10; }
.notification-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); font-size: 11px; }
.notification-head span { color: var(--teal); font-size: 8px; background: var(--teal-soft); border-radius: 20px; padding: 4px 7px; font-weight: 800; }
.notification-item { padding: 15px 16px; display: flex; gap: 11px; background: #fbfdfc; }
.notification-icon { width: 30px; height: 30px; flex: 0 0 30px; border-radius: 50%; background: var(--sand); color: var(--amber); display: grid; place-items: center; }
.notification-item b { font-size: 10px; }
.notification-item p { margin: 3px 0; color: var(--muted); font-size: 9px; line-height: 1.45; }
.notification-item small { color: #9aa6a3; font-size: 7px; }
.notification-menu > button { width: 100%; border: 0; border-top: 1px solid var(--line); background: white; padding: 12px 16px; text-align: left; color: var(--teal); font-size: 9px; font-weight: 800; cursor: pointer; }
.mobile-menu { display: none; }
.view { display: none; padding: 35px 40px 60px; max-width: 1500px; margin: 0 auto; }
.view.active { display: block; animation: fade .2s ease; }
@keyframes fade { from { opacity: .3; transform: translateY(3px); } }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 27px; }
.page-heading h1 { font-family: Georgia, "Times New Roman", serif; letter-spacing: -.025em; font-size: clamp(28px, 3vw, 38px); margin: 3px 0 7px; font-weight: 500; }
.page-heading p { color: var(--muted); font-size: 13px; margin: 0; }
.eyebrow { font-size: 9px !important; letter-spacing: .16em; font-weight: 850; color: var(--teal) !important; text-transform: uppercase; }
.primary-button { border: 0; background: var(--teal); color: white; padding: 12px 18px; border-radius: 8px; font-size: 12px; font-weight: 800; cursor: pointer; box-shadow: 0 6px 15px rgba(24,126,120,.18); }
.primary-button:hover { background: var(--teal-dark); transform: translateY(-1px); }
.primary-button.full { width: 100%; padding: 14px; }
.notice { background: linear-gradient(100deg, #e3f3ef, #edf6ee); border: 1px solid #cfe6de; border-radius: 12px; min-height: 74px; padding: 14px 18px; display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.notice-icon { width: 37px; height: 37px; display: grid; place-items: center; background: white; border-radius: 50%; color: #db8c3c; box-shadow: 0 3px 12px rgba(33,72,65,.08); }
.notice b { font-size: 13px; }
.notice p { font-size: 11px; color: #647a76; margin: 4px 0 0; }
.notice button { margin-left: auto; border: 0; background: transparent; font-size: 11px; font-weight: 800; color: var(--teal); cursor: pointer; white-space: nowrap; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px; }
.metric-card { background: white; border: 1px solid var(--line); border-radius: 12px; padding: 18px 19px; min-height: 144px; }
.balance-card { border-top: 3px solid var(--teal); }
.metric-label { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); font-weight: 650; }
.metric-label i { font-style: normal; color: var(--teal); font-size: 17px; }
.metric-card > strong { display: block; font-family: Georgia, serif; font-size: 29px; font-weight: 500; margin: 15px 0 8px; letter-spacing: -.02em; }
.metric-card strong small { font-size: 13px; color: #8b9a97; font-family: Inter, sans-serif; }
.metric-card p { font-size: 10px; color: var(--muted); margin: 0; }
.trend { color: #208a62; font-weight: 750; }
.text-button { border: 0; padding: 10px 0 0; background: transparent; color: var(--teal); font-size: 10px; font-weight: 800; cursor: pointer; }
.overview-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 18px; margin-bottom: 18px; }
.panel { background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 2px 4px rgba(20,50,45,.02); }
.panel-head { padding: 18px 20px; display: flex; justify-content: space-between; align-items: flex-start; border-bottom: 1px solid #edf1ef; }
.panel-head h2, .form-panel h2, .forecast-card h2, .how-wallet h2 { font-family: Georgia, serif; font-weight: 500; font-size: 18px; margin: 0 0 4px; }
.panel-head p, .form-panel p, .forecast-card > p { font-size: 10px; color: var(--muted); margin: 0; }
.panel-head select, .report-detail select { border: 1px solid var(--line); background: white; border-radius: 7px; padding: 7px 10px; font-size: 10px; color: #556b67; }
.performance-panel { min-height: 350px; }
.chart-summary { padding: 19px 22px 0; display: flex; gap: 10px; align-items: baseline; }
.chart-summary strong { font-family: Georgia, serif; font-size: 26px; font-weight: 500; }
.chart-summary span { font-size: 10px; }
.chart-summary small { color: var(--muted); font-size: 9px; }
.chart { height: 210px; margin: 0 22px; position: relative; }
.chart svg { width: 100%; height: 175px; position: relative; z-index: 2; overflow: visible; }
.chart .area { fill: url(#area); }
.chart .line { fill: none; stroke: var(--teal); stroke-width: 2.3; vector-effect: non-scaling-stroke; }
.chart-lines { position: absolute; inset: 8px 0 27px; display: flex; flex-direction: column; justify-content: space-between; }
.chart-lines i { border-top: 1px dashed #e5ece9; }
.chart-dates { display: flex; justify-content: space-between; color: #899895; font-size: 8px; }
.more { border: 0; background: transparent; color: #82918e; cursor: pointer; }
.auction-row { display: grid; grid-template-columns: 40px minmax(130px,1fr) auto auto; align-items: center; gap: 10px; padding: 16px 18px; border-bottom: 1px solid #eef2f0; }
.placement-icon { width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; font-size: 18px; }
.placement-icon.sunset { background: #f9e7ca; color: #c77924; }
.placement-icon.search { background: #dff0ed; color: var(--teal); }
.placement-icon.banner { background: #e5e9f6; color: #5566a1; }
.auction-row b { display: block; font-size: 11px; }
.auction-row small { display: block; font-size: 9px; color: var(--muted); margin-top: 3px; }
.bid { text-align: right; }
.pill { display: inline-flex; align-items: center; justify-content: center; border-radius: 20px; padding: 4px 9px; font-size: 8px; font-weight: 850; white-space: nowrap; }
.pill.green { background: #e0f2e8; color: #237c58; }
.pill.sand { background: #f5e9d7; color: #94632d; }
.pill.gray { background: #edf0ef; color: #697975; }
.panel-link { border: 0; background: transparent; padding: 16px 18px; color: var(--teal); font-size: 10px; font-weight: 800; cursor: pointer; width: 100%; text-align: left; }
.panel-link span { float: right; }
.panel-link.compact { width: auto; padding: 0; }
.recent-panel { overflow: hidden; }
table { width: 100%; border-collapse: collapse; }
th { text-align: left; color: #84928f; font-size: 8px; letter-spacing: .08em; font-weight: 800; text-transform: uppercase; padding: 11px 18px; background: #fbfcfc; }
td { padding: 13px 18px; border-top: 1px solid #edf1ef; font-size: 10px; color: #637470; }
td b { color: var(--ink); font-size: 10px; }
td small { display: block; margin-top: 3px; color: var(--muted); }
.table-wrap { overflow-x: auto; }
.filter-bar, .admin-tabs { display: flex; border-bottom: 1px solid var(--line); margin-bottom: 20px; gap: 22px; }
.filter-bar button, .admin-tabs button { border: 0; border-bottom: 2px solid transparent; background: transparent; padding: 10px 2px; color: var(--muted); font-size: 11px; font-weight: 700; cursor: pointer; }
.filter-bar button.active, .admin-tabs button.active { color: var(--teal); border-bottom-color: var(--teal); }
.filter-bar span, .admin-tabs span { background: #e9efed; border-radius: 10px; padding: 2px 6px; font-size: 8px; }
.campaign-list { display: grid; gap: 16px; }
.campaign-card { background: white; border: 1px solid var(--line); border-radius: 14px; display: grid; grid-template-columns: 190px 1fr 56px; overflow: hidden; min-height: 220px; }
.campaign-visual { padding: 22px; color: white; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.campaign-visual::after { content: ""; position: absolute; width: 190px; height: 190px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; top: -90px; right: -60px; }
.sunset-visual { background: linear-gradient(155deg, #ef9d69, #5f7e87); }
.search-visual { background: linear-gradient(155deg, #2c8b8d, #274f6c); }
.campaign-visual span { font-size: 7px; letter-spacing: .15em; font-weight: 900; border: 1px solid rgba(255,255,255,.55); padding: 3px 5px; width: fit-content; margin-bottom: 16px; }
.campaign-visual b { font-family: Georgia, serif; font-size: 21px; line-height: 1.15; font-weight: 500; z-index: 1; }
.campaign-visual small { margin-top: 22px; font-size: 8px; letter-spacing: .08em; }
.campaign-main { padding: 20px 24px; }
.campaign-title { display: flex; justify-content: space-between; }
.campaign-title .pill { margin-bottom: 7px; }
.campaign-title h2 { font-family: Georgia, serif; font-weight: 500; font-size: 19px; margin: 0 0 4px; }
.campaign-title p { margin: 0; color: var(--muted); font-size: 10px; }
.campaign-stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 24px; }
.campaign-stats small { display: block; color: #8a9995; font-size: 7px; letter-spacing: .08em; font-weight: 800; }
.campaign-stats b { font-family: Georgia, serif; display: block; font-size: 16px; font-weight: 500; margin-top: 5px; }
.budget-line { height: 5px; background: #edf1ef; border-radius: 5px; margin-top: 20px; overflow: hidden; }
.budget-line span { display: block; height: 100%; background: var(--teal); border-radius: 5px; }
.budget-copy { font-size: 8px; color: var(--muted); margin: 7px 0 0; }
.budget-copy span { float: right; }
.switch { align-self: start; margin-top: 24px; cursor: pointer; }
.switch input, .placement-option input { position: absolute; opacity: 0; }
.switch span, .auto-bid > span { display: block; width: 34px; height: 19px; background: #cbd6d3; border-radius: 20px; position: relative; transition: .2s; }
.switch span::after, .auto-bid > span::after { content: ""; width: 15px; height: 15px; background: white; border-radius: 50%; position: absolute; left: 2px; top: 2px; box-shadow: 0 1px 4px #79908a; transition: .2s; }
.switch input:checked + span, .auto-bid input:checked + span { background: var(--teal); }
.switch input:checked + span::after, .auto-bid input:checked + span::after { transform: translateX(15px); }
.compact-heading { margin-bottom: 20px; }
.builder-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) 340px; gap: 20px; align-items: start; }
.builder-form { display: grid; gap: 14px; }
.form-panel { padding: 22px; display: flex; gap: 16px; }
.step-number { flex: 0 0 27px; height: 27px; border-radius: 50%; background: var(--teal-soft); color: var(--teal); display: grid; place-items: center; font-size: 10px; font-weight: 850; }
.step-content { flex: 1; min-width: 0; }
.placement-options { display: grid; gap: 9px; margin-top: 18px; }
.placement-option { display: grid; grid-template-columns: 42px 1fr 18px; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 10px; padding: 12px; cursor: pointer; }
.placement-option.selected { border: 2px solid var(--teal); padding: 11px; background: #f9fdfc; }
.placement-option div b { display: block; font-size: 11px; }
.placement-option div small { display: inline; font-size: 9px; }
.placement-option div em { display: block; color: var(--teal); font-style: normal; font-size: 8px; margin-top: 4px; font-weight: 700; }
.placement-option > i { color: transparent; font-style: normal; }
.placement-option.selected > i { color: white; width: 17px; height: 17px; background: var(--teal); border-radius: 50%; display: grid; place-items: center; font-size: 9px; }
.bid-box { margin-top: 17px; display: flex; justify-content: space-between; align-items: center; }
.bid-input { display: flex; align-items: baseline; gap: 3px; }
.bid-input > span { font-family: Georgia, serif; font-size: 20px; }
.bid-input input { border: 0; width: 72px; padding: 0; font-family: Georgia, serif; font-size: 28px; color: var(--ink); outline: none; }
.bid-input small { color: var(--muted); font-size: 9px; }
.range { width: 100%; accent-color: var(--teal); margin: 20px 0 4px; }
.range-labels { display: flex; justify-content: space-between; font-size: 8px; color: var(--muted); }
.range-labels span:nth-child(2) { color: var(--teal); font-weight: 800; }
.auto-bid { border-top: 1px solid var(--line); margin-top: 18px; padding-top: 15px; display: flex; align-items: center; gap: 11px; cursor: pointer; }
.auto-bid input { position: absolute; opacity: 0; }
.auto-bid b { display: block; font-size: 10px; }
.auto-bid small { display: block; color: var(--muted); font-size: 8px; margin-top: 3px; }
.auto-bid-explainer { display: flex; gap: 9px; background: #f4f8f7; border: 1px solid var(--line); border-radius: 8px; padding: 10px; margin-top: 12px; }
.auto-bid-explainer > span { width: 19px; height: 19px; flex: 0 0 19px; border-radius: 50%; background: var(--teal); color: white; display: grid; place-items: center; font-family: Georgia, serif; font-size: 11px; }
.auto-bid-explainer p { margin: 0; font-size: 8px; line-height: 1.55; color: var(--muted); }
.auto-bid-explainer b { color: var(--ink); }
.max-bid { margin: 12px 0 0 45px; font-size: 9px; }
.max-bid input { margin-left: 8px; width: 80px; border: 1px solid var(--line); padding: 6px; border-radius: 6px; }
.hidden { display: none !important; }
.day-pills { display: flex; gap: 7px; margin: 18px 0; }
.day-pills button { width: 32px; height: 32px; border: 1px solid var(--line); background: white; border-radius: 7px; font-size: 9px; font-weight: 800; cursor: pointer; }
.day-pills button.selected { background: var(--teal); border-color: var(--teal); color: white; }
.field-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.field-row label { font-size: 8px; color: var(--muted); font-weight: 750; }
.field-row input { display: block; width: 100%; margin-top: 5px; border: 1px solid var(--line); border-radius: 7px; padding: 9px; color: var(--ink); font-size: 10px; background: white; }
.money-field { position: relative; }
.money-field span { position: absolute; top: 13px; left: 9px; font-size: 10px; }
.money-field input { padding-left: 20px; }
.forecast-card { position: sticky; top: 84px; background: #173f3b; color: white; border-radius: 16px; padding: 25px; box-shadow: var(--shadow); }
.forecast-card .eyebrow { color: #73c9bf !important; }
.forecast-card h2 { font-size: 22px; }
.forecast-card > p { color: #b5cac6; line-height: 1.5; }
.forecast-hero { text-align: center; padding: 24px 10px; margin: 20px 0 6px; border-top: 1px solid rgba(255,255,255,.1); border-bottom: 1px solid rgba(255,255,255,.1); }
.forecast-hero span, .forecast-hero small { display: block; font-size: 9px; color: #b5cac6; }
.forecast-hero strong { display: block; font-family: Georgia, serif; font-size: 35px; color: #f2c17f; margin: 5px 0; font-weight: 500; }
.forecast-card dl { margin: 0; }
.forecast-card dl div { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 10px; }
.forecast-card dt { color: #b5cac6; }
.forecast-card dd { font-weight: 800; margin: 0; }
.forecast-tip { background: rgba(255,255,255,.07); border-radius: 9px; padding: 11px; display: flex; gap: 9px; margin: 16px 0; }
.forecast-tip span { color: #f2c17f; }
.forecast-tip p { margin: 0; font-size: 8px; color: #c7d8d4; line-height: 1.5; }
.fine-print { display: block; font-size: 7px; color: #91aca7; text-align: center; margin-top: 11px; line-height: 1.5; }
.wallet-hero { background: linear-gradient(115deg, #173f3b, #1c5a54); border-radius: 16px; padding: 28px; color: white; display: grid; grid-template-columns: 1fr 1.6fr auto; align-items: center; gap: 30px; margin-bottom: 18px; }
.wallet-hero p { font-size: 8px; color: #9fc1bb; letter-spacing: .12em; font-weight: 800; margin: 0; }
.wallet-hero strong { font-family: Georgia, serif; display: block; font-size: 39px; font-weight: 500; margin: 4px 0; }
.wallet-hero > div > span { color: #b8d0cc; font-size: 8px; }
.wallet-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; border-left: 1px solid rgba(255,255,255,.14); padding-left: 30px; }
.wallet-stats small { display: block; color: #91b6b0; font-size: 7px; letter-spacing: .08em; }
.wallet-stats b { font-family: Georgia, serif; display: block; margin-top: 6px; font-weight: 500; }
.wallet-hero button { border: 1px solid rgba(255,255,255,.35); background: white; color: var(--teal-dark); padding: 11px 15px; border-radius: 8px; font-size: 10px; font-weight: 800; cursor: pointer; }
.wallet-grid { display: grid; grid-template-columns: 1.7fr .8fr; gap: 18px; }
.transactions { overflow: hidden; }
.negative { color: #b5533b; font-weight: 750; }
.positive { color: #23835c; font-weight: 750; }
.how-wallet { padding: 20px; }
.how-wallet > div { display: flex; gap: 11px; margin-top: 18px; }
.how-wallet > div > span { width: 25px; height: 25px; flex: 0 0 25px; background: var(--teal-soft); color: var(--teal); border-radius: 50%; display: grid; place-items: center; font-size: 9px; font-weight: 850; }
.how-wallet p { margin: 0; }
.how-wallet b { display: block; font-size: 10px; }
.how-wallet small { display: block; color: var(--muted); font-size: 8px; margin-top: 3px; line-height: 1.4; }
.report-metrics { margin-top: 10px; }
.report-detail { overflow: hidden; }
.admin-badge { border: 1px solid #e3c695; background: #f8ebd7; color: #86561e; border-radius: 20px; padding: 7px 12px; font-size: 9px; font-weight: 800; }
.approval-panel { overflow: hidden; }
.approval-row { display: grid; grid-template-columns: 44px minmax(220px,1.3fr) 1fr auto auto; align-items: center; gap: 15px; padding: 18px; border-bottom: 1px solid var(--line); }
.business-logo { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; color: white; font-family: Georgia, serif; }
.business-logo.coral { background: var(--coral); }
.business-logo.blue { background: #3f7f9d; }
.approval-info b { display: block; font-size: 12px; }
.approval-info small { color: var(--muted); font-size: 9px; }
.approval-info div { margin-top: 7px; }
.approval-info div span { background: #edf3f1; font-size: 7px; border-radius: 4px; padding: 4px 6px; margin-right: 4px; }
.approval-checks { display: grid; gap: 4px; font-size: 8px; color: var(--muted); }
.approval-checks .done { color: #277c5a; }
.approve-button { border: 0; background: var(--teal); color: white; border-radius: 7px; padding: 9px 13px; font-size: 10px; font-weight: 800; cursor: pointer; }
.organic-note { display: flex; gap: 13px; border: 1px solid #d7e6e2; background: #edf5f3; padding: 17px; border-radius: 12px; margin-top: 18px; }
.organic-note > span { color: var(--teal); }
.organic-note b { font-size: 11px; }
.organic-note p { color: var(--muted); font-size: 9px; margin: 4px 0 0; }
.guide-hero { background: linear-gradient(120deg, #173f3b, #22645d); border-radius: 16px; padding: 28px; color: white; display: grid; grid-template-columns: 1.1fr 1fr; gap: 38px; align-items: center; margin-bottom: 18px; }
.guide-hero .eyebrow { color: #78cfc5 !important; }
.guide-hero h2 { font-family: Georgia, serif; font-size: 25px; font-weight: 500; line-height: 1.2; margin: 7px 0 12px; }
.guide-hero > div > p:last-child { color: #bad0cc; font-size: 10px; line-height: 1.6; margin: 0; }
.guide-timeline { display: grid; gap: 12px; }
.guide-timeline span { display: grid; grid-template-columns: 28px 1fr; column-gap: 10px; }
.guide-timeline i { grid-row: 1 / 3; width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,.11); color: #f1bd77; display: grid; place-items: center; font-style: normal; font-size: 9px; font-weight: 800; }
.guide-timeline b { font-size: 10px; }
.guide-timeline small { color: #a9c4bf; font-size: 8px; margin-top: 2px; }
.guide-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px; }
.guide-card { padding: 19px; }
.guide-icon { width: 33px; height: 33px; border-radius: 9px; background: var(--teal-soft); color: var(--teal); display: grid; place-items: center; margin-bottom: 14px; }
.guide-card h2, .auto-guide h2 { font-family: Georgia, serif; font-weight: 500; font-size: 17px; margin: 0 0 8px; }
.guide-card p { color: var(--muted); font-size: 9px; line-height: 1.6; min-height: 72px; }
.guide-card button { border: 0; background: transparent; color: var(--teal); font-size: 9px; font-weight: 800; padding: 6px 0 0; cursor: pointer; }
.auto-guide { padding: 24px; margin-bottom: 18px; }
.auto-guide > div:first-child > p:last-child { color: var(--muted); font-size: 10px; }
.bid-example { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 14px; align-items: center; background: #f4f8f7; border-radius: 12px; padding: 17px; margin: 18px 0; text-align: center; }
.bid-example small { display: block; color: var(--muted); font-size: 7px; letter-spacing: .1em; font-weight: 800; }
.bid-example strong { display: block; font-family: Georgia, serif; font-size: 21px; font-weight: 500; margin-top: 5px; }
.bid-example > span { color: #91a39f; }
.auto-guide ul { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 30px; padding-left: 18px; color: var(--muted); font-size: 9px; line-height: 1.5; }
.guide-recommendation { margin-top: 18px; border-left: 3px solid var(--teal); background: var(--teal-soft); padding: 12px 14px; font-size: 9px; line-height: 1.5; color: #49645f; }
.guide-recommendation b { color: var(--teal-dark); }
.faq-panel { overflow: hidden; }
.faq-panel details { padding: 14px 20px; border-top: 1px solid var(--line); }
.faq-panel summary { cursor: pointer; font-size: 10px; font-weight: 750; }
.faq-panel details p { color: var(--muted); font-size: 9px; line-height: 1.6; margin: 9px 0 0; }
.modal-backdrop { position: fixed; inset: 0; background: rgba(12,33,30,.58); z-index: 20; display: grid; place-items: center; backdrop-filter: blur(4px); padding: 20px; }
.modal-backdrop[hidden] { display: none; }
.modal { width: min(460px, 100%); background: white; border-radius: 18px; padding: 29px; position: relative; box-shadow: 0 30px 80px rgba(5,25,21,.25); animation: modal-in .2s ease; }
@keyframes modal-in { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.modal-close { position: absolute; right: 16px; top: 12px; border: 0; background: transparent; color: var(--muted); font-size: 22px; cursor: pointer; }
.stripe-mark { float: right; margin: 2px 25px 0 0; font-weight: 900; color: #635bff; font-size: 16px; letter-spacing: -.06em; }
.modal h2 { font-family: Georgia, serif; font-weight: 500; font-size: 25px; margin: 4px 0 7px; }
.modal > p:not(.eyebrow) { color: var(--muted); font-size: 10px; line-height: 1.5; }
.credit-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin: 20px 0; }
.credit-options button { position: relative; border: 1px solid var(--line); border-radius: 10px; background: white; padding: 15px 6px; cursor: pointer; }
.credit-options button.selected { border: 2px solid var(--teal); background: #f4fbf9; padding: 14px 5px; }
.credit-options span { display: block; font-family: Georgia, serif; font-size: 20px; }
.credit-options small { color: var(--muted); font-size: 8px; }
.credit-options i { position: absolute; top: -8px; left: 50%; transform: translateX(-50%); background: var(--teal); color: white; border-radius: 10px; padding: 2px 6px; font-style: normal; font-size: 6px; font-weight: 800; }
.checkout-summary { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding: 15px 0; font-size: 11px; }
.secure-note { display: block; text-align: center; color: var(--muted); font-size: 8px; margin-top: 12px; }
.toast { position: fixed; right: 25px; bottom: 25px; background: #153c38; color: white; border-radius: 12px; padding: 12px 17px; display: flex; gap: 10px; align-items: center; z-index: 30; box-shadow: var(--shadow); transform: translateY(100px); opacity: 0; transition: .25s; }
.toast.show { transform: translateY(0); opacity: 1; }
.toast > span { width: 24px; height: 24px; background: #47a77a; border-radius: 50%; display: grid; place-items: center; }
.toast p { margin: 0; }
.toast b, .toast small { display: block; font-size: 9px; }
.toast small { color: #adc7c2; margin-top: 2px; }

@media (max-width: 1050px) {
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .overview-grid, .builder-grid, .wallet-grid { grid-template-columns: 1fr; }
  .guide-grid { grid-template-columns: repeat(2, 1fr); }
  .forecast-card { position: static; }
  .wallet-hero { grid-template-columns: 1fr 1fr; }
  .wallet-hero button { grid-column: 1 / -1; }
  .campaign-card { grid-template-columns: 150px 1fr 45px; }
  .approval-row { grid-template-columns: 44px 1fr auto auto; }
  .approval-checks { display: none; }
}
@media (max-width: 760px) {
  .shell { grid-template-columns: 1fr; }
  .sidebar { position: fixed; left: -270px; width: 252px; transition: .25s; box-shadow: 15px 0 40px rgba(10,40,35,.14); }
  .sidebar.open { left: 0; }
  .mobile-menu { display: block; border: 0; background: transparent; font-size: 19px; }
  .topbar { padding: 0 18px; }
  .view { padding: 25px 18px 45px; }
  .page-heading { align-items: flex-start; flex-direction: column; }
  .notice { align-items: flex-start; }
  .notice button { display: none; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .campaign-card { grid-template-columns: 1fr 45px; }
  .campaign-visual { display: none; }
  .campaign-stats { grid-template-columns: repeat(2,1fr); row-gap: 15px; }
  .field-row { grid-template-columns: 1fr; }
  .wallet-hero { grid-template-columns: 1fr; }
  .guide-hero { grid-template-columns: 1fr; }
  .auto-guide ul { grid-template-columns: 1fr; }
  .wallet-stats { border-left: 0; border-top: 1px solid rgba(255,255,255,.14); padding: 18px 0 0; }
  .approval-row { grid-template-columns: 44px 1fr; }
  .approval-row button { grid-row: 2; }
}
@media (max-width: 480px) {
  .demo-ribbon p { max-width: 230px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .metric-grid { grid-template-columns: 1fr; }
  .guide-grid { grid-template-columns: 1fr; }
  .topbar-actions .ghost-button { display: none; }
  .credit-options { grid-template-columns: 1fr; }
  .auction-row { grid-template-columns: 40px 1fr auto; }
  .auction-row .pill { display: none; }
}
