/* Hauler portal. Same look as the marketing site: navy + safety orange, big friendly controls. */
:root {
  --navy: #0b1b33; --navy-2: #13294b; --ink: #101828; --muted: #4a5568; --line: #e2ddd3; --soft: #f7f4ee;
  --orange: #ff6a13; --orange-2: #ff8a3d; --orange-soft: #fff1e6; --orange-ink: #c2410c;
  --green: #15803d; --green-soft: #e9f7ee; --red: #b91c1c; --red-soft: #fdecea; --white: #fff;
  --radius: 16px; --shadow: 0 1px 2px rgba(16,24,40,.06), 0 10px 28px -14px rgba(16,24,40,.22);
  --display: "Montserrat", "Inter", system-ui, sans-serif;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; font: 16px/1.55 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink); background: var(--soft); -webkit-font-smoothing: antialiased; }
a { color: var(--orange-ink); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 8px; }
h1 { font-size: clamp(1.7rem, 4vw, 2.3rem); }
h2 { font-size: 1.35rem; }
h3 { font-size: 1.15rem; margin-top: 28px; }
.pwrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.small { font-size: .9rem; color: var(--muted); }
.center { text-align: center; }
.bad { color: var(--red); font-weight: 600; }
.eyebrow { margin: 0 0 6px; font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-ink); }
.lead { color: var(--muted); font-size: 1.05rem; margin: 0 0 20px; max-width: 70ch; }

/* Top bar + tabs */
.pbar { background: var(--navy); color: var(--white); position: sticky; top: 0; z-index: 20; }
.pbar-in { display: flex; align-items: center; gap: 12px; min-height: 64px; flex-wrap: wrap; }
.pbrand { display: inline-flex; align-items: center; gap: 10px; color: var(--white); text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 1.15rem; margin-right: auto; }
.pm-logo { width: 32px; height: 32px; }
.ptabs { display: flex; gap: 4px; order: 3; width: 100%; overflow-x: auto; scrollbar-width: none; padding-bottom: 8px; }
.ptabs::-webkit-scrollbar { display: none; }
.ptab { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px; border-radius: 999px; color: #dbe3ef; text-decoration: none; font-weight: 700; white-space: nowrap; }
.ptab:hover { background: rgba(255,255,255,.08); color: var(--white); }
.ptab.on { background: var(--orange); color: var(--navy); }
.badge { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--white); color: var(--navy); font-size: .78rem; display: inline-grid; place-items: center; }
.ptab.on .badge { background: var(--navy); color: var(--white); }
.plogout button { min-height: 40px; padding: 0 14px; border-radius: 10px; border: 1px solid rgba(255,255,255,.3); background: transparent; color: var(--white); font: inherit; font-weight: 600; cursor: pointer; }
.pmain { padding-top: 24px; padding-bottom: 72px; }

/* Cards, buttons, messages */
.pcard { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; box-shadow: var(--shadow); margin-bottom: 18px; }
.pbtn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 20px; border-radius: 12px; border: 2px solid var(--orange); background: var(--orange); color: var(--navy); font: inherit; font-weight: 800; text-decoration: none; cursor: pointer; line-height: 1.2; transition: background .15s, transform .15s; }
.pbtn:hover { background: var(--orange-2); border-color: var(--orange-2); }
.pbtn:active { transform: translateY(1px); }
.pbtn.ghost { background: var(--white); color: var(--navy); border-color: #cfd6e0; }
.pbtn.ghost:hover { border-color: var(--navy); }
.pbtn.big { min-height: 56px; font-size: 1.05rem; padding: 12px 24px; }
.pbtn.small { min-height: 40px; padding: 6px 12px; font-size: .9rem; }
.pbtn.wide { width: 100%; }
.pbtn:disabled { opacity: .55; cursor: default; }
.msg { margin: 0 0 14px; padding: 12px 16px; border-radius: 12px; background: #eef2f7; border: 1px solid #d5dce6; }
.msg.ok { background: var(--green-soft); border-color: #a7dfb9; color: #14532d; }
.msg.err { background: var(--red-soft); border-color: #f3b4ae; color: #7f1d1d; }
.msg.big { font-size: 1.1rem; font-weight: 700; }
.msg ul { margin: 6px 0 0; padding-left: 20px; }

/* Forms */
label { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-weight: 700; }
label > input, label > select, label > textarea, label > small, label > .money, label > .color, label > .opt + input { flex-basis: 100%; }
label small, .field small { font-weight: 400; color: var(--muted); }
.opt { font-weight: 400; color: var(--muted); }
input, select, textarea { font: inherit; font-size: 16px; min-height: 48px; padding: 10px 12px; border: 2px solid #d5dce6; border-radius: 12px; background: var(--white); color: var(--ink); width: 100%; }
textarea { min-height: 80px; }
input:focus, select:focus, textarea:focus { border-color: var(--navy); outline: none; }
.upper { text-transform: uppercase; }
.hp { position: absolute !important; left: -9999px; }
.hint { color: var(--muted); font-size: .92rem; margin: 0; }
.fields { display: grid; gap: 18px; max-width: 640px; grid-template-columns: minmax(0, 1fr); }
.fields.two { grid-template-columns: minmax(0, 1fr); }
.field { display: grid; gap: 8px; }
.flabel { font-weight: 800; }

/* Tips */
.tip { position: relative; display: inline-block; vertical-align: middle; }
.tip-btn { display: inline-block; text-align: center; width: 24px; height: 24px; min-height: 0; padding: 0; border-radius: 50%; border: 0; background: var(--navy); color: var(--white); font: 800 .8rem/24px "Inter", sans-serif; cursor: pointer; }
.tip-body { position: absolute; z-index: 30; left: 50%; bottom: calc(100% + 10px); transform: translateX(-50%); width: min(320px, 80vw); padding: 12px 14px; border-radius: 12px; background: var(--navy); color: #e6edf6; font-size: .88rem; font-weight: 400; line-height: 1.5; box-shadow: 0 16px 40px -12px rgba(0,0,0,.45); opacity: 0; visibility: hidden; transition: opacity .15s; }
.tip-body::after { content: ""; position: absolute; top: 100%; left: 50%; margin-left: -7px; border: 7px solid transparent; border-top-color: var(--navy); }
.tip-body b { color: var(--white); }
.tip:hover .tip-body, .tip:focus-within .tip-body, .tip.open .tip-body { opacity: 1; visibility: visible; }

/* Auth pages */
.auth { max-width: 460px; margin: 24px auto; display: grid; gap: 14px; }
.auth h1 { margin: 0; }
.sub { margin: 0; color: var(--muted); }
.plans { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.plans legend { font-weight: 800; margin-bottom: 6px; }
.plan { display: flex !important; flex-direction: row; align-items: flex-start; gap: 10px; padding: 12px; border: 2px solid #d5dce6; border-radius: 12px; cursor: pointer; font-weight: 400; }
.plan input { width: 20px; min-height: 0; margin-top: 3px; }
.plan span { display: grid; }
.plan small { color: var(--muted); }
.plan:has(input:checked) { border-color: var(--orange); background: var(--orange-soft); }
.gbtn { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; border: 1px solid #747775; border-radius: 12px; background: #fff; color: #1f1f1f; font-weight: 700; text-decoration: none; }
.or { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .85rem; margin: 0; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* Home */
.hello { margin-bottom: 16px; }
.journey { background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: var(--white); border: 0; }
.journey h2 { font-size: clamp(1.4rem, 3.5vw, 2rem); color: var(--white); }
.journey .eyebrow { color: #ffb07a; }
.journey.done { background: linear-gradient(135deg, #14532d, #166534); }
.journey p a { color: #ffd2b3; }
.pbar-track { height: 12px; border-radius: 999px; background: rgba(255,255,255,.15); overflow: hidden; margin: 14px 0 18px; }
.pbar-track span { display: block; height: 100%; background: var(--orange); border-radius: 999px; }
.stepchips { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.stepchips a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 4px 14px 4px 6px; border-radius: 999px; background: rgba(255,255,255,.08); color: #dbe3ef; text-decoration: none; font-weight: 700; font-size: .92rem; }
.stepchips .n { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.15); font-size: .85rem; }
.stepchips .done a { color: #bbf7d0; }
.stepchips .done .n { background: #22c55e; color: #052e16; }
.stepchips .next a { background: var(--white); color: var(--navy); }
.stepchips .next .n { background: var(--orange); color: var(--navy); }
.grid2 { display: grid; gap: 18px; }
.status h2 { font-size: 1.2rem; }
.status.live h2 { color: var(--green); }
.status.bad h2 { color: var(--red); }
.status.wait h2 { color: var(--orange-ink); }
form.inline { display: inline-block; margin: 6px 6px 0 0; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; align-content: start; }
.stat { display: grid; padding: 16px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); text-decoration: none; color: var(--ink); }
.stat b { font-family: var(--display); font-size: 1.8rem; line-height: 1.1; }
.stat span { color: var(--muted); font-size: .9rem; }
.stats.small .stat { padding: 10px 14px; box-shadow: none; }
.stats.small .stat b { font-size: 1.3rem; }

/* Setup layout */
.setup { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }
.setup fieldset { min-width: 0; }
.stepper ol { list-style: none; padding: 0; margin: 0; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.stepper ol::-webkit-scrollbar { display: none; }
.stepper a { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 4px 12px 4px 6px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); text-decoration: none; color: var(--muted); font-weight: 700; white-space: nowrap; font-size: .92rem; }
.stepper .n { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #eef0f4; font-size: .85rem; flex: none; }
.stepper .done .n { background: var(--green); color: var(--white); }
.stepper .on a { background: var(--navy); color: var(--white); border-color: var(--navy); }
.stepper .on .n { background: var(--orange); color: var(--navy); }
.stepnav { position: sticky; bottom: 0; display: flex; justify-content: space-between; gap: 12px; margin: 24px -20px -22px; padding: 14px 20px; background: rgba(255,255,255,.96); border-top: 1px solid var(--line); border-radius: 0 0 var(--radius) var(--radius); backdrop-filter: blur(6px); }
details.alt { margin-top: 10px; }
details.alt summary { cursor: pointer; font-weight: 700; color: var(--orange-ink); min-height: 40px; display: flex; align-items: center; }

/* Brand step */
.brand-grid { display: grid; gap: 24px; }
.logo-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.logo-box { width: 220px; height: 90px; border: 2px dashed #cfd6e0; border-radius: 12px; display: grid; place-items: center; background: repeating-conic-gradient(#f3f4f6 0 25%, #fff 0 50%) 0 / 16px 16px; color: var(--muted); }
.logo-box img { max-width: 200px; max-height: 76px; }
.filebtn { cursor: pointer; }
.colors { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.color input:not([type="color"]) { min-width: 110px; }
.color { display: flex; gap: 8px; }
.color input[type="color"] { width: 56px; padding: 4px; flex: none; cursor: pointer; }
.preview .phone { width: 100%; max-width: 390px; margin: 0 auto; border-radius: 34px; padding: 12px; background: var(--navy); box-shadow: var(--shadow); }
.preview iframe { display: block; width: 100%; height: 620px; border: 0; border-radius: 24px; background: var(--white); }

/* Loads step */
.truckbox { margin-bottom: 18px; }
.calc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; align-items: end; margin-top: 10px; }
.calc button, .calc #cOut { grid-column: 1 / -1; }
table.loads { width: 100%; border-collapse: collapse; }
.loads th, .loads td { padding: 8px 6px; border-bottom: 1px solid var(--line); text-align: left; }
.loads thead th { font-size: .85rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.loads tbody th { font-weight: 800; white-space: nowrap; }
.vis { display: none; }
.side-truck { display: block; width: 120px; height: auto; color: var(--navy); }
.side-truck .st-fill { fill: var(--orange); }
details.gen { margin: 0 0 18px; padding: 14px 16px; border: 2px dashed #ffd2b3; border-radius: var(--radius); background: var(--orange-soft); }
details.gen summary { cursor: pointer; font-weight: 800; color: var(--orange-ink); display: flex; align-items: center; gap: 8px; min-height: 40px; }
.gstyles { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); margin-top: 12px; }
.gstyle { display: grid; gap: 4px; text-align: left; padding: 12px 14px; border: 2px solid var(--line); border-radius: 12px; background: var(--white); cursor: pointer; font: inherit; color: var(--ink); }
.gstyle:hover { border-color: var(--navy); }
.gstyle.on { border-color: var(--orange); box-shadow: inset 0 0 0 1px var(--orange); }
.gnums { font-weight: 700; color: var(--navy); }
.feemode { display: grid; gap: 10px; margin: 8px 0 12px; }
.radio { display: flex !important; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 2px solid var(--line); border-radius: 12px; background: var(--white); cursor: pointer; font-weight: 400; }
.radio:has(input:checked) { border-color: var(--orange); background: var(--orange-soft); }
.radio input { width: 20px; height: 20px; min-height: 0; margin-top: 2px; flex: none; }
.radio small { display: block; color: var(--muted); margin-top: 2px; }
.feepick { border: 2px solid var(--line); border-radius: 12px; padding: 10px 14px; margin: 0 0 18px; display: grid; gap: 6px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.feepick legend { font-weight: 700; padding: 0 6px; }
.sitecheck { display: grid; gap: 10px; margin: 14px 0; padding: 14px 16px; border: 2px solid var(--line); border-radius: var(--radius); background: var(--white); }
.sitecheck .pbtn { justify-self: start; }
.sitecheck ul { margin: 6px 0 0; padding-left: 20px; }
.money { display: inline-flex; align-items: center; border: 2px solid #d5dce6; border-radius: 12px; background: var(--white); overflow: hidden; min-height: 48px; max-width: 160px; }
.money:focus-within { border-color: var(--navy); }
.money > span { padding: 0 2px 0 12px; font-weight: 800; color: var(--muted); }
.money input { border: 0; min-height: 44px; padding-left: 4px; width: 100%; min-width: 64px; }

/* Items step */
.icards { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; grid-template-columns: 1fr; }
.icard { display: grid; gap: 10px; padding: 16px; border: 2px solid var(--line); border-radius: var(--radius); background: var(--white); transition: border-color .15s, opacity .15s; }
.icard:focus-within { border-color: var(--navy); }
.icard.off { background: #fafafa; }
.icard.off .ihead { opacity: .7; }
.ihead { display: flex; gap: 12px; align-items: center; }
.ihead > svg { flex: none; width: 44px; height: 44px; padding: 9px; border-radius: 12px; background: var(--orange-soft); color: var(--orange-ink); }
.ihead small { display: block; color: var(--muted); }
.range { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: end; gap: 8px; }
.range label { min-width: 0; }
.range .money { max-width: none; }
.range label { font-weight: 600; font-size: .9rem; }
.range .to { padding-bottom: 12px; color: var(--muted); }
.check { display: flex !important; flex-wrap: nowrap; align-items: center; gap: 8px; font-weight: 600; }
.check input { flex: none; width: 22px; min-height: 0; height: 22px; margin: 0; }
.sees { margin: 0; font-weight: 600; color: var(--green); }
.icard.off .sees { color: var(--muted); }
.icards.small .icard { padding: 12px; }
.icard.wide { grid-column: 1 / -1; }
.sizes-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }

/* Fees step */
.fees { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.fees li { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 8px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.fees li > svg { color: var(--orange-ink); }
.fees .money { max-width: 130px; }
.customs { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 8px; }
.crow { display: grid; grid-template-columns: 1fr; gap: 8px; padding: 12px; border: 1px dashed #cfd6e0; border-radius: 12px; background: var(--white); }

/* Discounts step */
.why { padding: 14px 16px; border-radius: 12px; background: var(--orange-soft); border: 1px solid #ffd2b3; margin-bottom: 14px; }
.why p { margin: 0 0 6px; }
.why ul { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
.tiers { list-style: none; padding: 0; margin: 0 0 10px; display: grid; gap: 8px; }
.trow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); font-weight: 600; }
.trow .money { max-width: 120px; }
.discs { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.disc { display: grid; gap: 6px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.dval { display: flex; gap: 8px; max-width: 280px; }
.dval select { width: 120px; }
.switch { display: flex !important; align-items: center; gap: 12px; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch > span { width: 50px; height: 30px; border-radius: 999px; background: #cbd2dc; position: relative; flex: none; transition: background .15s; }
.switch > span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: var(--white); transition: transform .15s; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.switch input:checked + span { background: var(--green); }
.switch input:checked + span::after { transform: translateX(20px); }
.switch input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }

/* Leads delivery / launch */
.testlead { display: grid; gap: 8px; margin-top: 20px; padding: 14px; border-radius: 12px; background: var(--soft); }
.codebox { display: grid; gap: 10px; padding: 14px; border-radius: 14px; background: var(--navy); }
.codebox code { color: #e6edf6; font-size: .85rem; overflow-x: auto; white-space: nowrap; padding: 6px 2px; }
.detect { padding: 12px 14px; border-radius: 12px; background: #eef2f7; font-weight: 600; }
.detect.ok { background: var(--green-soft); color: #14532d; }
.ptabs2 { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.ptabs2 button { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 2px solid #d5dce6; background: var(--white); font: inherit; font-weight: 700; cursor: pointer; }
.ptabs2 button[aria-selected="true"] { background: var(--navy); color: var(--white); border-color: var(--navy); }
.ptpanel ol { margin: 0; padding-left: 22px; display: grid; gap: 6px; }

/* Leads pipeline */
.lhead { display: grid; gap: 12px; margin-bottom: 16px; }
.lhead .stats { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.stagefilter { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin-bottom: 12px; }
.stagefilter button { flex: none; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 2px solid #d5dce6; background: var(--white); font: inherit; font-weight: 700; cursor: pointer; }
.stagefilter button span { color: var(--muted); }
.stagefilter button[aria-selected="true"] { background: var(--navy); color: var(--white); border-color: var(--navy); }
.stagefilter button[aria-selected="true"] span { color: #cbd5e1; }
.board { display: grid; gap: 14px; }
.col { display: none; }
.col.show { display: block; }
.col h2 { font-size: 1.05rem; display: flex; justify-content: space-between; margin: 0 0 10px; }
.col h2 span { color: var(--muted); }
.col > ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; min-height: 60px; }
.col.over > ul { outline: 3px dashed var(--orange); outline-offset: 4px; border-radius: 12px; }
.lcard { display: grid; gap: 8px; padding: 14px; border-radius: 14px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.lcard.dragging { opacity: .5; }
.ltop { display: flex; justify-content: space-between; gap: 8px; }
.lrange { font-family: var(--display); font-weight: 800; font-size: 1.1rem; }
.tag { display: inline-block; font-family: "Inter", sans-serif; font-size: .75rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--green-soft); color: #14532d; vertical-align: middle; }
.litems { margin: 0; }
.lwhen { display: flex; align-items: center; gap: 6px; margin: 0; padding: 6px 8px; border-radius: 8px; background: #fff6d6; font-weight: 700; font-size: .9rem; }
.call { justify-self: start; }
.lcard label { font-size: .85rem; }
.lcard select, .lcard input, .lcard textarea { min-height: 44px; }
.lcard details summary { cursor: pointer; font-weight: 700; font-size: .9rem; min-height: 32px; display: flex; align-items: center; }
.lcard details ul { padding-left: 18px; }
.saved { color: var(--green); min-height: 1em; }
.emptycol { padding: 14px; border: 2px dashed var(--line); border-radius: 12px; text-align: center; }
.empty { text-align: center; padding: 40px 20px; }

@media (min-width: 640px) {
  .fields.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .icards { grid-template-columns: repeat(2, 1fr); }
  .crow { grid-template-columns: 2fr 1fr 1.5fr auto; align-items: center; }
  .vis { display: table-cell; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .ptabs { order: 0; width: auto; padding-bottom: 0; }
  .pbrand { margin-right: 16px; }
  .plogout { margin-left: auto; }
  .grid2 { grid-template-columns: 1.2fr 1fr; align-items: start; }
  .setup { grid-template-columns: 250px minmax(0, 1fr); align-items: start; }
  .stepper { position: sticky; top: 84px; }
  .stepper ol { flex-direction: column; overflow: visible; }
  .stepper a { white-space: normal; }
  .brand-grid { grid-template-columns: 1fr 360px; }
  .icards { grid-template-columns: repeat(3, 1fr); }
  .codebox { grid-template-columns: 1fr auto; align-items: center; }
  .lhead { grid-template-columns: auto 1fr; align-items: center; }
}
@media (min-width: 1100px) {
  .stagefilter { display: none; }
  .board { grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: start; }
  .col { display: block; background: #eef0f3; border-radius: var(--radius); padding: 12px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
.colsum { margin: -6px 0 10px; font-weight: 700; color: var(--green); }
.stat b { overflow-wrap: anywhere; }
.feepick .check { min-height: 40px; }
.feepick .check input { width: 22px; height: 22px; flex: none; margin: 0; }

/* Live preview beside every setup step */
.pvpanel { display: none; }
.pvhead { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.pvwhy { min-height: 3em; margin: 0 0 10px; }
.pvpanel .phone { border-radius: 30px; padding: 10px; background: var(--navy); box-shadow: var(--shadow); }
.pvpanel iframe { display: block; width: 100%; height: calc(100vh - 290px); min-height: 420px; border: 0; border-radius: 22px; background: var(--white); }
.pvfab { position: fixed; right: 16px; bottom: 104px; z-index: 30; min-height: 48px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--navy); color: var(--white); font: inherit; font-weight: 800; box-shadow: var(--shadow); cursor: pointer; }
.testdlg { width: min(100vw - 24px, 760px); height: min(100vh - 24px, 980px); max-width: none; max-height: none; padding: 0; border: 0; border-radius: 18px; overflow: hidden; }
.testdlg[open] { display: flex; flex-direction: column; }
.testdlg::backdrop { background: rgba(11, 27, 51, .6); }
.testhead { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: flex-start; padding: 14px 16px; border-bottom: 1px solid var(--line); background: var(--soft); }
.testhead p { margin: 4px 0 0; max-width: 46ch; }
.testbtns { display: flex; gap: 8px; }
.testdlg iframe { flex: 1; width: 100%; border: 0; }
@media (min-width: 1200px) {
  .setup { grid-template-columns: 220px minmax(0, 1fr) 340px; }
  .pvpanel { display: block; position: sticky; top: 84px; }
  .pvfab { display: none; }
}
.pwrap:has(.setup) { max-width: 1440px; }
/* Closed tooltips take no room (they made phone pages scroll sideways). */
.tip-body { display: none; }
.tip:hover .tip-body, .tip:focus-within .tip-body, .tip.open .tip-body { display: block; }
@media (max-width: 639px) {
  .tip-body { position: fixed; left: 16px; right: 16px; top: 30%; bottom: auto; width: auto; transform: none; }
  .tip-body::after { display: none; }
}
.blockrow { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.blockrow input { min-height: 48px; padding: 8px 12px; border: 2px solid #d5dce6; border-radius: 12px; font: inherit; }
.holiday-label { margin: 12px 0 8px; }
.holidays { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; }
.holiday { display: grid; gap: 2px; align-content: center; min-height: 56px; padding: 8px 12px; border: 2px solid #d5dce6; border-radius: 12px; background: var(--white); color: var(--ink); font: inherit; font-size: .9rem; text-align: left; cursor: pointer; }
.holiday strong { font-weight: 700; line-height: 1.2; }
.holiday small { color: var(--muted); }
.holiday:hover { border-color: var(--navy); }
.holiday[aria-pressed="true"] { border-color: var(--orange); background: var(--orange-soft); color: var(--orange-ink); }
.holiday[aria-pressed="true"] small { color: inherit; }
.holiday[aria-pressed="true"] strong::before { content: "✓ "; }
.blocked { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.blocked li { display: inline-flex; align-items: center; gap: 6px; padding: 4px 4px 4px 12px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); font-weight: 600; }
.blocked .pbtn { min-height: 32px; padding: 0 10px; }
/* Location pricing step */
.arows { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; }
.arow { display: grid; gap: 8px; padding: 12px 14px; border: 2px solid var(--line); border-radius: 12px; background: var(--white); }
.arow:focus-within { border-color: var(--orange); }
.ahead { display: flex; gap: 10px; align-items: center; }
.ahead > svg { flex: none; color: var(--orange-ink); }
.ahead small { display: block; color: var(--muted); font-weight: 400; }
.actl { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.actl select, .aamt input { min-height: 44px; padding: 6px 10px; border: 2px solid #d5dce6; border-radius: 10px; font: inherit; background: var(--white); }
.aamt { display: inline-flex; gap: 6px; }
.aamt input { width: 90px; }
.arow .sees { margin: 0; }
@media (min-width: 900px) { .arow { grid-template-columns: minmax(0, 1fr) auto; align-items: center; } .arow .sees { grid-column: 1 / -1; } }
.cdown { display: grid; gap: 6px; max-width: 320px; margin: 14px 0 6px; font-weight: 700; }
.cdown select { min-height: 48px; padding: 8px 12px; border: 2px solid #d5dce6; border-radius: 12px; font: inherit; background: var(--white); }
/* Area pricing */
.yn { display: grid; gap: 8px; margin: 0 0 14px; }
.yn label { display: flex; gap: 10px; align-items: center; padding: 10px 14px; border: 2px solid var(--line); border-radius: 12px; background: var(--white); font-weight: 600; cursor: pointer; }
.yn label:has(input:checked) { border-color: var(--orange); }
#areasBox { margin-bottom: 22px; }
.zhead { display: flex; gap: 8px; align-items: center; }
.zname { flex: 1; min-width: 0; min-height: 44px; padding: 6px 10px; border: 2px solid #d5dce6; border-radius: 10px; font: inherit; font-weight: 700; }
.zzips { display: grid; gap: 4px; font-weight: 600; }
.zzips small { font-weight: 400; color: var(--muted); }
.zzips textarea { width: 100%; padding: 8px 10px; border: 2px solid #d5dce6; border-radius: 10px; font: inherit; resize: vertical; }
.arow.zone { grid-template-columns: 1fr; }
.arow.zone .actl { justify-content: flex-start; }
/* "Go live" card: setup done, not paying yet */
.journey.golive { border: 3px solid var(--orange); }
.journey.golive form { margin: 14px 0 6px; }
/* Attic / basement: owner turns them on or off */
.optspot .ahead { flex-wrap: wrap; }
.spotsw { margin-left: auto; display: inline-flex; gap: 8px; align-items: center; font-weight: 600; cursor: pointer; }
/* Demolition jobs (priced on site) */
.demolist .arow { grid-template-columns: 1fr; }
.demolist .check svg { color: var(--orange-ink); flex: none; }
.demoname { display: flex; align-items: center; gap: 10px; }
.demoname svg { color: var(--orange-ink); flex: none; }
.demoname input { flex: 1; min-width: 0; min-height: 44px; }
.demoname .pbtn { flex: none; }
#demoCustom:empty { display: none; }
.dnote { width: 100%; min-height: 40px; padding: 6px 10px; border: 2px solid #d5dce6; border-radius: 10px; font: inherit; }
.dnote:disabled { opacity: .5; }
.yn label, .demolist .check { display: flex !important; flex-direction: row; align-items: center; gap: 10px; }
.yn label input, .demolist .check input { width: 22px !important; height: 22px; min-height: 0 !important; flex: none; margin: 0; padding: 0; }
.spotsw input { width: 22px !important; height: 22px; min-height: 0 !important; margin: 0; }
