:root {
  --forest-950: #07140d;
  --forest-900: #0f2518;
  --forest-800: #173923;
  --forest-700: #235638;
  --forest-600: #39734c;
  --cream-50: #fffdf8;
  --cream-100: #f6efdc;
  --cream-200: #e7dcc0;
  --ink: #142019;
  --muted: #687269;
  --orange: #ef5b2a;
  --orange-dark: #d8481b;
  --amber: #efb543;
  --success: #28744a;
  --error: #ad382f;
  --line: rgba(15, 37, 24, .14);
  --line-dark: rgba(255, 255, 255, .16);
  --shadow: 0 24px 70px rgba(5, 18, 10, .16);
  --sans: Aptos, "Segoe UI", Arial, sans-serif;
  --display: "Rockwell Extra Bold", Rockwell, Georgia, serif;
  --shell: min(1180px, calc(100vw - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream-50); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
body::selection { color: var(--forest-950); background: var(--amber); }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img { display: block; max-width: 100%; }
p, h1, h2, h3, h4 { margin-top: 0; }
p { line-height: 1.6; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }

.skip-link { position: fixed; z-index: 1000; left: 16px; top: -80px; padding: 11px 14px; color: var(--forest-950); background: var(--cream-50); border-radius: 6px; }
.skip-link:focus { top: 12px; }
.shell { width: var(--shell); margin-inline: auto; }
.logo { width: 180px; height: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--forest-700); font-size: 11px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--orange); }
.eyebrow.light { color: rgba(255,255,255,.72); }
.page-note { color: var(--muted); font-size: 12px; }

.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 20px; border: 1px solid transparent; border-radius: 7px; cursor: pointer; font-weight: 800; font-size: 14px; text-decoration: none; transition: transform .18s ease, background .18s ease, border-color .18s ease; }
.button:hover { transform: translateY(-1px); }
.button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.button-primary { color: #fff; background: var(--orange); box-shadow: 0 12px 26px rgba(239, 91, 42, .22); }
.button-primary:hover { background: var(--orange-dark); }
.button-dark { color: #fff; background: var(--forest-900); }
.button-dark:hover { background: var(--forest-800); }
.button-outline { color: var(--forest-900); background: transparent; border-color: rgba(15,37,24,.28); }
.button-outline:hover { border-color: var(--forest-700); }
.button-light { color: var(--forest-950); background: var(--cream-50); }
.button-ghost-light { color: #fff; background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.3); }
.button-full { width: 100%; }

/* Consumer pages */
.consumer-page { min-height: 100vh; background: var(--cream-50); }
.consumer-grid { min-height: 100vh; display: grid; grid-template-columns: minmax(370px, 43vw) minmax(0, 1fr); }
.consumer-photo { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: space-between; padding: 38px 42px; overflow: hidden; color: #fff; background-position: center; background-size: cover; }
.consumer-photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,16,9,.32), rgba(5,16,9,.12) 38%, rgba(5,16,9,.92)); }
.consumer-photo > * { position: relative; z-index: 1; }
.host-photo { background-image: url("assets/festa-bolo.jpg"); background-position: center 46%; }
.guest-photo { background-image: url("assets/ambiente-restaurante.jpg"); background-position: center 42%; }
.success-photo { background-image: url("assets/drinks-macaco.jpg"); background-position: center 42%; }
.photo-logo { width: 190px; }
.photo-caption { max-width: 430px; }
.photo-caption span { display: block; margin-bottom: 10px; color: var(--amber); font-size: 11px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.photo-caption strong { display: block; font-size: clamp(29px, 3.2vw, 45px); line-height: 1.04; letter-spacing: -.035em; }
.photo-caption p { max-width: 390px; margin: 14px 0 0; color: rgba(255,255,255,.72); font-size: 14px; }
.consumer-main { width: min(760px, calc(100% - 72px)); margin-inline: auto; padding: 44px 0 80px; }
.mobile-brand { display: none; }
.consumer-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 50px; padding-bottom: 17px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 11px; font-weight: 780; letter-spacing: .08em; text-transform: uppercase; }
.verified-status { display: inline-flex; align-items: center; gap: 8px; color: var(--success); }
.verified-status i { width: 8px; height: 8px; background: var(--success); border-radius: 50%; box-shadow: 0 0 0 4px rgba(40,116,74,.1); }
.consumer-main h1 { max-width: 650px; margin: 15px 0 17px; color: var(--forest-900); font-size: clamp(40px, 5vw, 62px); line-height: .99; letter-spacing: -.045em; }
.consumer-lead { max-width: 610px; margin-bottom: 0; color: var(--muted); font-size: 17px; }
.event-summary { display: grid; grid-template-columns: 68px 1fr auto; gap: 16px; align-items: center; margin: 30px 0; padding: 16px 0; border-block: 1px solid var(--line); }
.date-box { display: grid; width: 58px; height: 58px; place-content: center; color: #fff; background: var(--forest-900); text-align: center; border-radius: 6px; }
.date-box strong { font-family: var(--display); font-size: 22px; line-height: .9; }
.date-box span { margin-top: 5px; font-size: 9px; font-weight: 900; letter-spacing: .11em; }
.event-copy { display: grid; gap: 4px; }
.event-copy strong { color: var(--forest-900); font-size: 15px; }
.event-copy span { color: var(--muted); font-size: 12px; }
.event-status { padding: 7px 9px; color: var(--success); background: #dff1e4; border-radius: 999px; font-size: 9px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }

.share-section { margin-top: 24px; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); }
.share-section h2, .confirmation-progress h2 { margin: 7px 0 12px; color: var(--forest-900); font-size: 24px; letter-spacing: -.025em; }
.share-section > p { margin-bottom: 22px; color: var(--muted); font-size: 13px; }
.share-layout { display: grid; grid-template-columns: minmax(0,1fr) 166px; gap: 24px; align-items: center; }
.link-field { display: grid; grid-template-columns: minmax(0,1fr) 46px; align-items: center; overflow: hidden; background: #f3f0e6; border: 1px solid var(--line); border-radius: 7px; }
.link-field code { padding-left: 13px; color: var(--forest-700); font-family: Consolas, monospace; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.icon-button { width: 46px; height: 46px; display: grid; place-items: center; color: var(--forest-700); background: transparent; border: 0; border-left: 1px solid var(--line); cursor: pointer; }
.icon-button:hover { background: var(--cream-200); }
.icon-button svg { width: 17px; fill: none; stroke: currentColor; stroke-width: 2; }
.share-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 12px; }
.qr-box { padding: 10px; background: var(--cream-100); border: 1px solid rgba(15,37,24,.08); border-radius: 8px; text-align: center; }
.qr-box img { width: 142px; margin-inline: auto; }
.qr-box span { display: block; margin-top: 7px; color: var(--forest-700); font-size: 9px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.safety-note { margin: 14px 0 0; color: var(--muted); font-size: 11px; }

.confirmation-progress { margin-top: 18px; padding: 26px 28px; background: var(--cream-100); border-radius: 9px; }
.progress-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.progress-heading strong { color: var(--orange); font-family: var(--display); font-size: 23px; }
.progress-track { height: 8px; margin: 10px 0 20px; overflow: hidden; background: rgba(15,37,24,.11); border-radius: 2px; }
.progress-track i { display: block; width: 72%; height: 100%; background: var(--orange); }
.guest-row { display: grid; grid-template-columns: 34px 1fr auto; gap: 11px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); }
.guest-row:last-child { border-bottom: 0; }
.avatar { display: grid; width: 34px; height: 34px; place-items: center; color: #fff; background: var(--forest-700); border-radius: 50%; font-size: 10px; font-weight: 900; }
.guest-row p { display: grid; gap: 3px; margin: 0; line-height: 1.1; }
.guest-row p strong { color: var(--forest-900); font-size: 12px; }
.guest-row p span { color: var(--muted); font-size: 10px; }
.guest-row > span { color: var(--success); font-size: 10px; font-weight: 850; }

.invited-by { display: flex; align-items: center; gap: 12px; margin-bottom: 44px; padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.invited-by p { display: grid; gap: 2px; margin: 0; line-height: 1.25; }
.invited-by strong { color: var(--forest-900); font-size: 13px; }
.invited-by span { color: var(--muted); font-size: 11px; }
.guest-form { margin-top: 30px; }
.field-row { display: grid; grid-template-columns: .85fr 1.15fr; gap: 14px; }
.field { margin-bottom: 16px; }
.field label { display: block; margin-bottom: 7px; color: var(--forest-900); font-size: 12px; font-weight: 800; }
.field input { width: 100%; height: 51px; padding: 0 14px; color: var(--forest-900); background: #fff; border: 1px solid rgba(15,37,24,.25); border-radius: 6px; outline: none; transition: border-color .18s ease, box-shadow .18s ease; }
.field input:focus { border-color: var(--forest-700); box-shadow: 0 0 0 4px rgba(35,86,56,.1); }
.field input[aria-invalid="true"] { border-color: var(--error); box-shadow: 0 0 0 3px rgba(173,56,47,.08); }
.field-error { display: block; min-height: 16px; margin-top: 5px; color: var(--error); font-size: 10px; }
.check-row { position: relative; display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: flex-start; margin: 0 0 13px; color: var(--muted); cursor: pointer; font-size: 11px; line-height: 1.5; }
.check-row input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.custom-check { position: relative; width: 20px; height: 20px; background: #fff; border: 1px solid rgba(15,37,24,.34); border-radius: 4px; }
.check-row input:checked + .custom-check { background: var(--forest-700); border-color: var(--forest-700); }
.check-row input:checked + .custom-check::after { content: ""; position: absolute; left: 6px; top: 3px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.check-row input:focus-visible + .custom-check { outline: 3px solid var(--amber); outline-offset: 2px; }
.check-row a { color: var(--forest-700); font-weight: 800; }
.consent-error { min-height: 16px; margin: -4px 0 12px 30px; color: var(--error); font-size: 10px; }
.form-footnote { margin: 12px 0 0; color: var(--muted); font-size: 10px; text-align: center; }

.success-block { max-width: 650px; padding-top: 5vh; }
.success-mark { display: grid; width: 62px; height: 62px; place-items: center; color: #fff; background: var(--success); border-radius: 50%; }
.success-mark svg { width: 29px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.success-details { margin: 30px 0; border-block: 1px solid var(--line); }
.success-details > div { display: grid; grid-template-columns: 118px 1fr; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.success-details > div:last-child { border-bottom: 0; }
.success-details span { color: var(--muted); font-size: 10px; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.success-details strong { color: var(--forest-900); font-size: 13px; }
.success-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Proposal */
.proposal-page { background: var(--cream-50); }
.proposal-nav { position: sticky; z-index: 100; top: 0; height: 72px; display: flex; align-items: center; color: #fff; background: rgba(7,20,13,.94); border-bottom: 1px solid var(--line-dark); backdrop-filter: blur(16px); }
.proposal-nav .shell { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.proposal-brand { display: flex; align-items: center; gap: 16px; }
.proposal-brand img { width: 130px; }
.proposal-brand span { padding-left: 16px; color: rgba(255,255,255,.58); border-left: 1px solid var(--line-dark); font-size: 11px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.proposal-links { display: flex; align-items: center; gap: 22px; }
.proposal-links a { color: rgba(255,255,255,.66); font-size: 12px; font-weight: 750; text-decoration: none; }
.proposal-links a:hover { color: #fff; }
.proposal-hero { position: relative; min-height: 720px; display: flex; align-items: center; overflow: hidden; color: #fff; background: url("assets/ambiente-restaurante.jpg") center 43% / cover no-repeat; }
.proposal-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,16,9,.98) 0%, rgba(5,16,9,.9) 48%, rgba(5,16,9,.34) 78%), linear-gradient(0deg, rgba(5,16,9,.88), transparent 48%); }
.proposal-hero .shell { position: relative; z-index: 1; padding: 90px 0 120px; }
.proposal-hero h1 { max-width: 900px; margin: 24px 0 22px; font-size: clamp(54px, 6.7vw, 92px); line-height: .94; letter-spacing: -.055em; }
.proposal-hero p { max-width: 690px; margin-bottom: 28px; color: rgba(255,255,255,.73); font-size: 18px; }
.proposal-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-facts { position: absolute; z-index: 2; left: 50%; bottom: 0; width: var(--shell); display: grid; grid-template-columns: repeat(4,1fr); color: var(--forest-900); background: var(--cream-100); transform: translateX(-50%); box-shadow: var(--shadow); }
.hero-facts > div { padding: 21px 24px; border-right: 1px solid var(--line); }
.hero-facts > div:last-child { border-right: 0; }
.hero-facts span { display: block; color: var(--muted); font-size: 9px; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.hero-facts strong { display: block; margin-top: 7px; font-size: 20px; letter-spacing: -.02em; }
.proposal-section { padding: 100px 0; }
.proposal-section.alt { background: var(--cream-100); }
.proposal-section.dark { color: #fff; background: var(--forest-900); }
.section-kicker { color: var(--orange); font-size: 10px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.section-title { max-width: 860px; margin: 14px 0 18px; color: var(--forest-900); font-size: clamp(38px, 4.8vw, 62px); line-height: 1; letter-spacing: -.045em; }
.dark .section-title { color: #fff; }
.section-lead { max-width: 750px; color: var(--muted); font-size: 17px; }
.dark .section-lead { color: rgba(255,255,255,.66); }
.executive-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; margin-top: 46px; background: var(--line); border: 1px solid var(--line); }
.executive-grid article { min-height: 240px; padding: 30px; background: var(--cream-50); }
.executive-grid span { color: var(--orange); font-family: var(--display); font-size: 17px; }
.executive-grid h3 { margin: 40px 0 12px; color: var(--forest-900); font-size: 20px; letter-spacing: -.02em; }
.executive-grid p { margin: 0; color: var(--muted); font-size: 13px; }

.journey-diagram { margin: 42px 0 0; overflow: hidden; background: #fff; border: 1px solid rgba(15,37,24,.16); box-shadow: 0 24px 70px rgba(12,34,21,.09); }
.diagram-titlebar { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 15px 22px; color: var(--forest-900); background: #edc88e; border-bottom: 4px solid #fff; }
.diagram-titlebar > div:first-child { display: grid; gap: 2px; }
.diagram-titlebar > div:first-child span { font-size: 8px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.diagram-titlebar > div:first-child strong { font-family: var(--display); font-size: 21px; letter-spacing: -.02em; text-transform: uppercase; }
.diagram-key { display: flex; align-items: center; gap: 16px; padding-left: 18px; border-left: 1px solid rgba(15,37,24,.18); }
.diagram-key span { display: inline-flex; align-items: center; gap: 7px; font-size: 8px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.diagram-key i { width: 9px; height: 9px; border: 2px solid var(--forest-700); }
.diagram-key .key-existing { background: var(--forest-700); }
.diagram-key .key-new { border-color: var(--orange); background: transparent; }
.diagram-lane { --lane-accent:#7f9d69; min-height: 176px; display: grid; grid-template-columns: 44px 184px minmax(0,1fr); color: var(--forest-900); border-bottom: 1px solid rgba(15,37,24,.12); }
.diagram-lane:last-child { border-bottom: 0; }
.lane-a { --lane-accent:#91a967; background: #e9edce; }
.lane-b { --lane-accent:#c89567; background: #f0dfd0; }
.lane-c { --lane-accent:#6f9d8e; background: #dfeae6; }
.lane-d { --lane-accent:#738eb2; background: #e1e7f1; }
.lane-code { display: grid; place-items: center; color: var(--forest-900); background: color-mix(in srgb, var(--lane-accent) 72%, white); font-family: var(--display); font-size: 14px; border-right: 1px solid rgba(15,37,24,.12); }
.lane-meta { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 14px; padding: 24px 20px; border-right: 1px solid rgba(15,37,24,.12); }
.lane-meta strong { max-width: 145px; font-size: 12px; line-height: 1.35; }
.lane-status { font-size: 7px; font-weight: 950; letter-spacing: .1em; text-transform: uppercase; }
.existing-status { color: var(--forest-700); }
.new-status { color: var(--orange-dark); }
.lane-flow { display: grid; align-items: center; gap: 0; padding: 26px 28px 22px; }
.lane-flow.nodes-4 { grid-template-columns: minmax(108px,1fr) 28px minmax(108px,1fr) 28px minmax(108px,1fr) 28px minmax(108px,1fr); }
.lane-flow.nodes-3 { grid-template-columns: minmax(135px,1fr) 54px minmax(135px,1fr) 54px minmax(135px,1fr); }
.diagram-node { min-width: 0; display: grid; justify-items: center; align-content: center; text-align: center; }
.diagram-symbol { width: 74px; height: 61px; display: grid; place-items: center; margin-bottom: 11px; color: var(--forest-900); background: rgba(255,255,255,.58); border: 1.5px solid rgba(15,37,24,.8); border-radius: 8px; box-shadow: 0 4px 0 rgba(15,37,24,.06); }
.diagram-symbol svg { width: 38px; height: 38px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.diagram-node strong { max-width: 142px; font-size: 11px; line-height: 1.25; }
.diagram-node small { max-width: 142px; margin-top: 5px; color: rgba(15,37,24,.64); font-size: 8.5px; line-height: 1.35; }
.result-node .diagram-symbol { color: #fff; background: var(--forest-700); border-color: var(--forest-700); }
.diagram-arrow { position: relative; width: 100%; height: 1px; background: rgba(15,37,24,.72); }
.diagram-arrow::after { content: ""; position: absolute; right: 0; top: 50%; width: 6px; height: 6px; border-top: 1.5px solid var(--forest-900); border-right: 1.5px solid var(--forest-900); transform: translateY(-50%) rotate(45deg); }
.diagram-transition { --drop:80%; position: relative; height: 36px; background: #fff; }
.diagram-transition i { position: absolute; z-index: 2; left: var(--drop); top: -8px; width: 2px; height: 40px; background: var(--orange); }
.diagram-transition i::after { content: ""; position: absolute; left: 50%; bottom: -1px; width: 7px; height: 7px; border-right: 2px solid var(--orange); border-bottom: 2px solid var(--orange); transform: translateX(-50%) rotate(45deg); background: #fff; }
.diagram-transition span { position: absolute; z-index: 3; left: var(--drop); top: 50%; padding: 2px 7px; color: var(--orange-dark); background: #fff; font-size: 6.5px; font-weight: 950; letter-spacing: .08em; text-transform: uppercase; transform: translate(-50%,-50%); white-space: nowrap; }

.evidence-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: center; }
.example-box { margin-top: 28px; padding: 26px; color: #fff; background: var(--forest-900); }
.example-box span { display: block; color: var(--amber); font-size: 10px; font-weight: 850; text-transform: uppercase; }
.example-box strong { display: block; margin: 8px 0; font-size: 31px; letter-spacing: -.04em; }
.example-box p { margin: 0; color: rgba(255,255,255,.65); font-size: 11px; }
.occupancy-panel { padding: 34px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.occupancy-panel header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.occupancy-panel h3 { margin: 5px 0 0; color: var(--forest-900); font-size: 22px; }
.capacity-label { color: var(--forest-700); font-size: 10px; font-weight: 850; }
.bar-list { display: grid; gap: 15px; margin-top: 30px; }
.bar-line { display: grid; grid-template-columns: 34px 1fr 64px; gap: 12px; align-items: center; }
.bar-line > span { color: var(--forest-700); font-size: 11px; font-weight: 850; }
.bar-line > div { height: 13px; background: rgba(15,37,24,.09); }
.bar-line i { display: block; width: var(--width); height: 100%; background: var(--orange); }
.bar-line.sat i { background: var(--forest-700); }
.bar-line strong { color: var(--forest-900); font-size: 11px; text-align: right; }
.source { margin: 24px 0 0; padding-top: 17px; color: #7c847d; border-top: 1px solid var(--line); font-size: 10px; line-height: 1.5; }

.recurrence-chain { display: grid; grid-template-columns: repeat(6,1fr); margin-top: 46px; border-top: 1px solid var(--line-dark); }
.recurrence-chain article { position: relative; padding: 26px 20px 0 0; }
.recurrence-chain article::before { content: ""; position: absolute; top: -6px; left: 0; width: 10px; height: 10px; background: var(--orange); border: 2px solid var(--forest-900); border-radius: 50%; }
.recurrence-chain span { color: var(--amber); font-family: var(--display); font-size: 13px; }
.recurrence-chain strong { display: block; margin: 18px 0 8px; font-size: 14px; }
.recurrence-chain p { margin: 0; color: rgba(255,255,255,.57); font-size: 10px; }

.screen-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 46px; }
.screen-card { overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: 0 18px 50px rgba(5,18,10,.1); text-decoration: none; transition: transform .18s ease; }
.screen-card:hover { transform: translateY(-3px); }
.screen-top { height: 27px; display: flex; align-items: center; gap: 5px; padding: 0 10px; background: var(--forest-900); }
.screen-top i { width: 6px; height: 6px; background: rgba(255,255,255,.35); border-radius: 50%; }
.screen-preview { min-height: 310px; padding: 24px; }
.screen-preview.host { background: linear-gradient(145deg, var(--cream-50), var(--cream-100)); }
.screen-preview.guest { background: linear-gradient(145deg, #fff, var(--cream-100)); }
.screen-preview.success { color: #fff; background: linear-gradient(rgba(7,20,13,.7), rgba(7,20,13,.92)), url("assets/drinks-macaco.jpg") center / cover; }
.mini-label { color: var(--orange); font-size: 8px; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.screen-preview h3 { max-width: 250px; margin: 16px 0 10px; color: var(--forest-900); font-size: 25px; line-height: 1; letter-spacing: -.035em; }
.screen-preview.success h3 { color: #fff; }
.screen-preview p { color: var(--muted); font-size: 10px; }
.screen-preview.success p { color: rgba(255,255,255,.65); }
.mini-ui { margin-top: 22px; padding: 14px; background: #fff; border: 1px solid var(--line); }
.mini-ui-line { height: 8px; margin: 7px 0; background: #e8e7df; }
.mini-ui-line.short { width: 62%; }
.mini-button { height: 31px; margin-top: 11px; background: var(--orange); }
.screen-name { display: flex; align-items: center; justify-content: space-between; padding: 15px 17px; border-top: 1px solid var(--line); }
.screen-name strong { color: var(--forest-900); font-size: 12px; }
.screen-name span { color: var(--forest-600); font-size: 10px; font-weight: 800; }

.tracking-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 52px; margin-top: 46px; align-items: start; }
.tracking-copy h3 { margin: 0 0 14px; font-size: 27px; }
.tracking-copy p { color: rgba(255,255,255,.62); font-size: 13px; }
.token-example { padding: 16px; color: var(--amber); background: rgba(255,255,255,.05); border: 1px solid var(--line-dark); font-family: Consolas, monospace; font-size: 11px; overflow-wrap: anywhere; }
.data-table-wrap { overflow-x: auto; background: #fff; }
.data-table { width: 100%; border-collapse: collapse; color: var(--ink); font-size: 10px; }
.data-table th, .data-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
.data-table th { color: var(--muted); background: var(--cream-100); font-size: 8px; letter-spacing: .07em; text-transform: uppercase; }
.data-table td code { color: var(--forest-700); }
.table-status { color: var(--success); font-weight: 850; }

.economics-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: center; }
.price-rule { padding: 36px; color: #fff; background: var(--forest-900); }
.price-rule span { color: var(--amber); font-size: 10px; font-weight: 850; text-transform: uppercase; }
.price-rule strong { display: block; margin: 10px 0; font-size: 54px; letter-spacing: -.05em; }
.price-rule p { margin: 0; color: rgba(255,255,255,.63); font-size: 12px; }
.price-examples { display: grid; grid-template-columns: repeat(3,1fr); border: 1px solid var(--line); }
.price-examples article { padding: 27px 22px; background: #fff; border-right: 1px solid var(--line); }
.price-examples article:last-child { border-right: 0; }
.price-examples span { color: var(--muted); font-size: 9px; font-weight: 850; text-transform: uppercase; }
.price-examples strong { display: block; margin-top: 8px; color: var(--forest-900); font-size: 24px; }

.pilot-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; margin-top: 42px; background: var(--line); border: 1px solid var(--line); }
.pilot-grid article { min-height: 220px; padding: 28px; background: var(--cream-50); }
.pilot-grid span { color: var(--orange); font-size: 10px; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.pilot-grid h3 { margin: 30px 0 10px; color: var(--forest-900); font-size: 19px; }
.pilot-grid p { color: var(--muted); font-size: 12px; }
.decision-bar { display: flex; align-items: center; justify-content: space-between; gap: 40px; margin-top: 36px; padding: 28px 30px; color: #fff; background: var(--forest-900); }
.decision-bar strong { display: block; margin-bottom: 4px; font-size: 18px; }
.decision-bar p { margin: 0; color: rgba(255,255,255,.6); font-size: 11px; }
.proposal-footer { padding: 28px 0; color: rgba(255,255,255,.45); background: var(--forest-950); font-size: 10px; }
.proposal-footer .shell { display: flex; justify-content: space-between; gap: 24px; }

/* Conceptual base panel */
.panel-page { min-height: 100vh; color: #e9f0e9; background: #07130c; }
.panel-layout { min-height: 100vh; display: grid; grid-template-columns: 218px 1fr; }
.panel-sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 25px 20px; background: #0d2116; border-right: 1px solid var(--line-dark); }
.panel-sidebar img { width: 140px; margin-bottom: 45px; }
.panel-sidebar nav { display: grid; gap: 4px; }
.panel-sidebar a { padding: 11px 12px; color: rgba(255,255,255,.54); border-left: 2px solid transparent; font-size: 11px; font-weight: 750; text-decoration: none; }
.panel-sidebar a.active { color: #fff; background: rgba(255,255,255,.05); border-color: var(--orange); }
.simulated-badge { margin-top: auto; padding: 12px; color: var(--amber); background: rgba(239,181,67,.08); border: 1px solid rgba(239,181,67,.25); font-size: 9px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.panel-main { padding: 38px 42px 70px; overflow: hidden; }
.panel-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; }
.panel-header h1 { margin: 6px 0 7px; color: #fff; font-size: 32px; letter-spacing: -.035em; }
.panel-header p { color: rgba(255,255,255,.5); font-size: 11px; }
.metrics { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin: 30px 0; }
.metric { padding: 22px; background: #10271a; border-top: 2px solid var(--metric, var(--forest-600)); }
.metric span { color: rgba(255,255,255,.46); font-size: 9px; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.metric strong { display: block; margin: 10px 0 5px; color: #fff; font-size: 29px; letter-spacing: -.04em; }
.metric small { color: rgba(255,255,255,.4); font-size: 9px; }
.panel-content-grid { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(290px,.55fr); gap: 14px; }
.panel-card { padding: 24px; background: #10271a; border: 1px solid rgba(255,255,255,.08); }
.panel-card header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.panel-card h2 { margin: 4px 0 0; color: #fff; font-size: 18px; }
.panel-card p { margin: 0; color: rgba(255,255,255,.46); font-size: 9px; }
.panel-filter { display: flex; gap: 5px; }
.panel-filter button { padding: 7px 9px; color: rgba(255,255,255,.55); background: transparent; border: 1px solid rgba(255,255,255,.12); cursor: pointer; font-size: 9px; }
.panel-filter button.active { color: var(--forest-950); background: var(--amber); border-color: var(--amber); }
.panel-table-wrap { overflow-x: auto; }
.panel-table { width: 100%; border-collapse: collapse; font-size: 9px; }
.panel-table th, .panel-table td { padding: 11px 9px; border-bottom: 1px solid rgba(255,255,255,.08); text-align: left; white-space: nowrap; }
.panel-table th { color: rgba(255,255,255,.4); font-size: 8px; text-transform: uppercase; }
.panel-table td { color: rgba(255,255,255,.7); }
.panel-table code { color: var(--amber); }
.status-pill { color: #72ca92; font-weight: 850; }
.status-pill.pending { color: #efc366; }
.weekday-mini { display: grid; grid-template-columns: repeat(7,1fr); gap: 7px; height: 210px; align-items: end; margin-top: 12px; }
.weekday-mini div { display: grid; height: 100%; align-items: end; gap: 8px; text-align: center; }
.weekday-mini i { height: var(--height); background: var(--forest-600); }
.weekday-mini .priority i { background: var(--orange); }
.weekday-mini span { color: rgba(255,255,255,.44); font-size: 8px; }

.toast { position: fixed; z-index: 500; right: 22px; bottom: 22px; max-width: 350px; padding: 13px 16px; color: #fff; background: var(--forest-900); border: 1px solid var(--line-dark); border-radius: 6px; box-shadow: var(--shadow); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .18s ease, transform .18s ease; font-size: 12px; font-weight: 750; }
.toast.show { opacity: 1; transform: translateY(0); }

@media (max-width: 1080px) {
  .proposal-links a { display: none; }
  .diagram-lane { grid-template-columns: 40px 158px minmax(0,1fr); }
  .lane-flow { padding-right: 18px; padding-left: 18px; }
  .lane-flow.nodes-4 { grid-template-columns: minmax(96px,1fr) 20px minmax(96px,1fr) 20px minmax(96px,1fr) 20px minmax(96px,1fr); }
  .lane-flow.nodes-3 { grid-template-columns: minmax(120px,1fr) 38px minmax(120px,1fr) 38px minmax(120px,1fr); }
  .diagram-symbol { width: 66px; height: 56px; }
  .diagram-symbol svg { width: 34px; height: 34px; }
  .recurrence-chain { grid-template-columns: repeat(3,1fr); gap: 28px; border-top: 0; }
  .recurrence-chain article { border-top: 1px solid var(--line-dark); }
  .panel-layout { grid-template-columns: 176px 1fr; }
  .metrics { grid-template-columns: repeat(2,1fr); }
  .panel-content-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  :root { --shell: min(100% - 32px, 720px); }
  .consumer-grid { grid-template-columns: 1fr; }
  .consumer-photo { display: none; }
  .consumer-main { width: min(700px, calc(100% - 32px)); padding-top: 22px; }
  .mobile-brand { display: flex; align-items: center; justify-content: center; min-height: 92px; margin-bottom: 30px; background: var(--forest-900); }
  .mobile-brand img { width: 160px; }
  .proposal-hero { min-height: 800px; }
  .proposal-hero::before { background: linear-gradient(90deg, rgba(5,16,9,.96), rgba(5,16,9,.58)), linear-gradient(0deg, rgba(5,16,9,.94), transparent 55%); }
  .proposal-hero .shell { padding-bottom: 240px; }
  .hero-facts { grid-template-columns: 1fr 1fr; }
  .hero-facts > div { padding: 16px; }
  .executive-grid, .screen-grid, .pilot-grid { grid-template-columns: 1fr; }
  .executive-grid article { min-height: auto; }
  .journey-diagram { overflow: visible; }
  .diagram-titlebar { align-items: flex-start; flex-direction: column; }
  .diagram-key { padding: 9px 0 0; border-top: 1px solid rgba(15,37,24,.18); border-left: 0; }
  .diagram-lane { min-height: 0; grid-template-columns: 40px minmax(0,1fr); }
  .lane-code { grid-row: 1 / span 2; }
  .lane-meta { min-height: 74px; flex-direction: row; justify-content: space-between; align-items: center; grid-column: 2; padding: 18px 20px; border-right: 0; border-bottom: 1px solid rgba(15,37,24,.12); }
  .lane-meta strong { max-width: none; }
  .lane-flow, .lane-flow.nodes-3, .lane-flow.nodes-4 { display: grid; grid-template-columns: 1fr; gap: 20px; grid-column: 2; padding: 26px 20px 30px; }
  .diagram-node { position: relative; min-height: 72px; grid-template-columns: 70px minmax(0,1fr); grid-template-rows: auto auto; justify-items: start; align-content: center; column-gap: 15px; text-align: left; }
  .diagram-symbol { grid-row: 1 / span 2; margin: 0; }
  .diagram-node strong, .diagram-node small { max-width: none; grid-column: 2; }
  .diagram-node strong { align-self: end; font-size: 11px; }
  .diagram-node small { align-self: start; font-size: 8px; }
  .diagram-node:not(:last-of-type)::after { content: ""; position: absolute; left: 33px; bottom: -20px; width: 1px; height: 20px; background: rgba(15,37,24,.68); }
  .diagram-node:not(:last-of-type)::before { content: ""; position: absolute; z-index: 2; left: 30px; bottom: -18px; width: 6px; height: 6px; border-right: 1.5px solid var(--forest-900); border-bottom: 1.5px solid var(--forest-900); transform: rotate(45deg); }
  .diagram-arrow { display: none; }
  .diagram-transition { height: 40px; }
  .diagram-transition i { left: 20px; }
  .diagram-transition span { left: 53px; transform: translateY(-50%); }
  .evidence-layout, .tracking-layout, .economics-layout { grid-template-columns: 1fr; }
  .screen-preview { min-height: 250px; }
  .panel-layout { grid-template-columns: 1fr; }
  .panel-sidebar { position: static; height: auto; flex-direction: row; align-items: center; gap: 20px; overflow-x: auto; }
  .panel-sidebar img { width: 70px; margin: 0; }
  .panel-sidebar nav { display: flex; }
  .panel-sidebar a { white-space: nowrap; }
  .simulated-badge { margin: 0 0 0 auto; white-space: nowrap; }
}

@media (max-width: 600px) {
  .consumer-top { margin-bottom: 36px; }
  .consumer-main h1 { font-size: 43px; }
  .share-layout, .field-row { grid-template-columns: 1fr; }
  .qr-box img { width: min(220px,100%); }
  .share-actions, .success-actions { flex-direction: column; }
  .event-summary { grid-template-columns: 58px 1fr; }
  .event-status { grid-column: 2; justify-self: start; }
  .success-details > div { grid-template-columns: 1fr; gap: 5px; }
  .proposal-nav { height: 64px; }
  .proposal-brand img { width: 108px; }
  .proposal-brand span { font-size: 8px; }
  .proposal-hero h1 { font-size: 49px; }
  .proposal-hero p { font-size: 15px; }
  .proposal-actions { flex-direction: column; align-items: stretch; }
  .hero-facts strong { font-size: 16px; }
  .hero-facts span { font-size: 8px; }
  .proposal-section { padding: 70px 0; }
  .section-title { font-size: 39px; }
  .diagram-titlebar > div:first-child strong { font-size: 18px; }
  .diagram-key { flex-wrap: wrap; }
  .recurrence-chain { grid-template-columns: 1fr; }
  .price-examples { grid-template-columns: 1fr; }
  .price-examples article { border-right: 0; border-bottom: 1px solid var(--line); }
  .decision-bar, .proposal-footer .shell { align-items: flex-start; flex-direction: column; }
  .panel-main { padding: 28px 16px 50px; }
  .panel-header { flex-direction: column; }
  .metrics { grid-template-columns: 1fr; }
  .panel-sidebar { padding: 12px; }
  .panel-sidebar nav a:not(.active) { display: none; }
  .simulated-badge { font-size: 7px; }
  .toast { left: 16px; right: 16px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
