/* GreenLoop brand kit (from greenloopsolutions.com stylesheets, 2026-11-30)
   Font: Plus Jakarta Sans. Green #84C225, deep green #69A312, navy #0B2C40,
   charcoal #232831 (buttons: bold, uppercase, .05em tracking, 4px radius), teal #10A19A, cards 20px radius. */
:root {
  --green: #84c225;
  --green-dk: #69a312;
  --green-tint: #f2f9e8;
  --green-line: #d6ebbc;
  --navy: #0b2c40;
  --charcoal: #232831;
  --teal: #10a19a;
  --ink: #232831;
  --muted: #4a5360;
  --line: #e3e7eb;
  --bg: #f5f6f7;
  --card: #ffffff;
  --warn-bg: #fff7ea;
  --warn-line: #f2d39b;
  --radius: 20px;
  --radius-sm: 10px;
  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.5; font-size: 16px; }
h1, h2, h3 { font-weight: 800; color: var(--navy); line-height: 1.25; }
h2 { font-size: 1.65rem; margin: 0 0 .35rem; }
h3 { font-size: 1.05rem; margin: 1.5rem 0 .6rem; }
.lead { color: var(--muted); margin: 0 0 1.5rem; max-width: 46rem; }
.fine { color: var(--muted); font-size: .88rem; }
small { color: var(--muted); font-weight: 400; }


/* header + hero */
.topbar { background: var(--navy); }
.topbar-inner { max-width: 1360px; margin: 0 auto; display: flex; align-items: center; gap: 1.25rem; padding: .9rem 1.5rem; }
.logo { display: flex; align-items: center; text-decoration: none; }
.logo img { display: block; height: 40px; width: auto; }
.wordmark { color: #fff; font-weight: 800; font-size: 1.5rem; line-height: 1; }
.wordmark b { color: var(--green); }
.wordmark small { display: block; color: #fff; font-size: .55rem; letter-spacing: .2em; font-weight: 700; margin-top: 3px; }
.topbar-title { color: #fff; font-weight: 600; font-size: .9rem; padding-left: 1.25rem; border-left: 1px solid rgba(255, 255, 255, .25); flex: 1; }
.topbar-link { background: none; border: 0; color: var(--green); font: inherit; font-weight: 600; font-size: .9rem; cursor: pointer; }
.topbar-link:hover { text-decoration: underline; }
.hero { background: linear-gradient(135deg, var(--navy) 0%, #12425d 100%); color: #fff; }
.hero-inner { max-width: 1360px; margin: 0 auto; padding: 2rem 1.5rem 4.5rem; }
.hero h1 { color: #fff; font-size: 2.4rem; margin: .25rem 0 .5rem; }
.hero p { margin: 0; max-width: 44rem; color: rgba(255, 255, 255, .85); }
.eyebrow { color: var(--green) !important; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; }

/* layout */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; align-items: start; gap: 1.5rem; max-width: 1360px; margin: -3rem auto 0; padding: 0 1.5rem 2rem; position: relative; }
main { background: var(--card); border-radius: var(--radius); padding: 2rem 2.25rem 1.25rem; box-shadow: 0 10px 30px rgba(11, 44, 64, .08); min-width: 0; }
.steps { grid-column: 1 / -1; }
.steps ol { list-style: none; margin: 0; padding: .5rem; background: var(--card); border-radius: var(--radius); box-shadow: 0 10px 30px rgba(11, 44, 64, .08); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .25rem; }
.steps button { display: flex; align-items: center; gap: .65rem; width: 100%; border: 0; background: none; padding: .6rem .75rem; border-radius: var(--radius-sm); font: inherit; font-size: .92rem; color: var(--muted); cursor: pointer; text-align: left; }
.steps button:hover { background: var(--green-tint); }
.steps .dot { width: 28px; height: 28px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--bg); font-weight: 700; font-size: .8rem; flex: none; border: 2px solid var(--line); }
.steps li.done .dot { background: var(--green); border-color: var(--green); color: #fff; }
.steps li.active button { color: var(--navy); font-weight: 700; }
.steps li.active button { background: var(--green-tint); }
.steps li.active .dot { background: var(--navy); border-color: var(--navy); color: #fff; }

.live { align-self: start; position: sticky; top: 1rem; background: var(--navy); color: #fff; border-radius: var(--radius); padding: 1.25rem 1.35rem; box-shadow: 0 10px 30px rgba(11, 44, 64, .15); }
.live h3 { color: var(--green); margin: 0 0 .75rem; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.live .fine { color: rgba(255, 255, 255, .75); }
.live-pkg { font-weight: 700; }
.live-big { font-size: 2.2rem; font-weight: 800; line-height: 1.1; margin: .4rem 0 .1rem; }
.live-big small { font-size: .9rem; color: rgba(255, 255, 255, .7); }
.live-row { display: flex; flex-direction: column; gap: .1rem; border-top: 1px solid rgba(255, 255, 255, .15); margin-top: .9rem; padding-top: .7rem; font-size: .88rem; }
.live-row span { color: rgba(255, 255, 255, .8); font-size: .8rem; }
.live-row b { font-size: 1.1rem; white-space: nowrap; }
.live-row.fin b { font-size: 1.35rem; color: #fff; }
.live-row.fin b small { font-size: .8rem; color: rgba(255, 255, 255, .7); font-weight: 600; }
.live-note { font-size: .74rem; line-height: 1.35; color: rgba(255, 255, 255, .7); margin: .5rem 0 .6rem; }
.live .link { color: var(--green); margin-top: .8rem; display: inline-block; }

.step { display: none; }
.step.active { display: block; animation: fade .2s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* form controls */
.grid { display: grid; gap: 1rem 1.25rem; margin: 0 0 1.25rem; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid > label { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: .35rem; align-content: start; }
.grid > label > span:first-child { align-self: end; }
.grid > label > small { font-size: .82rem; }
label { display: flex; flex-direction: column; gap: .35rem; font-weight: 600; font-size: .9rem; color: var(--navy); }
label.narrow { max-width: 22rem; margin-bottom: 1.25rem; }
label.inline { flex-direction: row; align-items: center; flex-wrap: wrap; gap: .75rem; margin: 1rem 0; }
label.check { flex-direction: row; align-items: center; gap: .55rem; font-weight: 500; margin: 1rem 0 .5rem; }
.req { color: #c4561a; }
input, select, textarea { font: inherit; font-weight: 400; font-size: .95rem; padding: .65rem .8rem; border: 1.5px solid #cfd6dc; border-radius: var(--radius-sm); background: #fff; color: var(--ink); width: 100%; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(132, 194, 37, .25); }
input.invalid { border-color: #c4561a; background: #fff6f0; }
input[type=checkbox], input[type=radio] { width: 18px; height: 18px; accent-color: var(--green-dk); flex: none; margin: 0; }
.money { position: relative; display: inline-block; }
.money::before { content: "$"; position: absolute; left: .75rem; top: 50%; transform: translateY(-50%); color: var(--muted); }
.money input { padding-left: 1.6rem; width: 9rem; }
fieldset { border: 0; padding: 0; margin: 0 0 1.5rem; min-width: 0; }
legend { font-weight: 700; color: var(--navy); font-size: .95rem; margin-bottom: .6rem; padding: 0; }
legend small { display: block; font-size: .82rem; margin-top: .15rem; }

/* option tiles */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .65rem; }
.tiles legend { grid-column: 1 / -1; }
.tiles.small { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.tile { position: relative; cursor: pointer; }
.tile input { position: absolute; opacity: 0; }
.tile > span { display: block; height: 100%; border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: .8rem .9rem; background: #fff; transition: border-color .15s, background .15s; }
.tile b { display: block; font-size: .92rem; color: var(--navy); }
.tile small { display: block; font-size: .85rem; margin-top: .15rem; }
.tile:hover > span { border-color: var(--green); }
.tile input:checked + span { border-color: var(--green); background: var(--green-tint); box-shadow: inset 0 0 0 1px var(--green); }
.tile input:focus-visible + span { box-shadow: 0 0 0 3px rgba(132, 194, 37, .35); }
.tiles.small .tile > span { display: flex; align-items: center; }

/* chips */
.chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; }
.chips.plain { display: flex; flex-wrap: wrap; }
.chip-wrap { display: flex; align-items: center; gap: .35rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: .3rem .5rem .3rem .35rem; background: #fff; min-height: 3rem; }
.chip-wrap.on { border-color: var(--green); background: var(--green-tint); }
.chip { flex-direction: row; align-items: center; gap: .55rem; font-weight: 500; font-size: .92rem; color: var(--ink); padding: .35rem .5rem; cursor: pointer; }
.chips.plain .chip { border: 1.5px solid var(--line); border-radius: 999px; padding: .45rem .8rem; }
.chips.plain .chip:has(input:checked) { border-color: var(--green); background: var(--green-tint); }
.chip-qty { margin-left: auto; flex-direction: row; align-items: center; gap: .35rem; font-size: .82rem; font-weight: 600; color: var(--muted); padding-left: .45rem; border-left: 1px solid var(--green-line); }
.chip-qty span { white-space: nowrap; }
.chip-qty input { width: 4.2rem; padding: .3rem .45rem; font-size: .85rem; }
.q { border: 1.5px solid var(--green); background: #fff; color: var(--green-dk); width: 20px; height: 20px; border-radius: 50%; font-size: .72rem; font-weight: 800; cursor: pointer; padding: 0; flex: none; line-height: 1; }
.q:hover { background: var(--green); color: #fff; }
details.more { border: 1.5px dashed var(--line); border-radius: var(--radius-sm); padding: .8rem 1rem; margin: 1rem 0; }
details.more[open] { border-style: solid; }
details.more summary { cursor: pointer; font-weight: 700; color: var(--navy); }
details.more > :not(summary) { margin-top: 1rem; }

/* carrier bar */
.carrier-bar { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem 1rem; margin: 0 0 1rem; }
.carrier-label { font-weight: 700; color: var(--navy); font-size: .9rem; }
.segmented { display: inline-flex; background: var(--bg); border-radius: 999px; padding: 4px; }
.segmented label { position: relative; cursor: pointer; }
.segmented input { position: absolute; opacity: 0; }
.segmented span { display: block; padding: .45rem 1rem; border-radius: 999px; font-size: .85rem; font-weight: 600; color: var(--muted); }
.segmented input:checked + span { background: var(--navy); color: #fff; }
.segmented input:focus-visible + span { box-shadow: 0 0 0 3px rgba(132, 194, 37, .5); }

/* package matrix */
.matrix-wrap { overflow-x: auto; margin: 0 -.25rem; padding: .25rem; }
table.matrix { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 640px; font-size: .92rem; }
.matrix th, .matrix td { padding: .6rem .8rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.matrix thead th { vertical-align: top; border-bottom: 0; padding-bottom: 1rem; }
.matrix .feat-col { width: 25%; padding-top: 3.4rem; }
.matrix tbody th { font-weight: 500; color: var(--ink); }
.matrix td { text-align: center; width: 25%; }
.pkg-col { text-align: center !important; background: var(--bg); border-radius: var(--radius) var(--radius) 0 0; position: relative; padding: .7rem 1rem 1.2rem !important; }
.badge-slot { height: 1.5rem; margin-bottom: .35rem; }
.pkg-col.selected, .matrix td.selected { background: var(--green-tint); }
.pkg-col.selected { box-shadow: inset 0 3px 0 var(--green); }
.pkg-name { font-size: 1.35rem; font-weight: 800; color: var(--navy); }
.pkg-tag { font-size: .85rem; color: var(--muted); font-weight: 500; min-height: 2.6em; margin: .15rem 0 .7rem; line-height: 1.35; }
.pkg-price { font-size: 1.6rem; font-weight: 800; color: var(--navy); }
.pkg-price .from { font-size: .75rem; font-weight: 600; color: var(--muted); }
.pkg-price small { font-size: .8rem; }
.pkg-sub { font-size: .8rem; color: var(--muted); font-weight: 500; }
.pkg-sub b, .nowrap { white-space: nowrap; }
.pkg-fin { margin-top: .35rem; padding-top: .35rem; border-top: 1px dashed var(--line, #d0d6dc); font-size: .8rem; color: var(--muted); font-weight: 500; }
.pkg-fin b { color: var(--navy); font-size: .95rem; }
.badge { display: inline-block; background: var(--green); color: var(--navy); font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: .25rem .6rem; border-radius: 999px; white-space: nowrap; }
.badge.sm { vertical-align: middle; font-size: .6rem; }
.select-btn { display: block; margin-top: 1rem; cursor: pointer; }
.select-btn input { position: absolute; opacity: 0; }
.select-btn span { display: block; padding: .6rem .8rem; border-radius: 4px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: .72rem; white-space: nowrap; background: var(--charcoal); color: #fff; }
.select-btn:hover span { background: var(--green); color: var(--charcoal); }
.select-btn input:checked + span { background: var(--green); color: var(--charcoal); }
.select-btn input:focus-visible + span { box-shadow: 0 0 0 3px rgba(132, 194, 37, .5); }
.matrix tr.grp th { background: none; color: var(--green-dk); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; padding-top: 1.2rem; border-bottom: 2px solid var(--green); }
.ico.yes { width: 20px; height: 20px; fill: var(--green); vertical-align: middle; }
.ico.no { color: #b9c0c7; font-weight: 700; }
.val { font-weight: 700; color: var(--navy); font-size: .88rem; }

/* hardware */
.quick { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-bottom: .5rem; font-weight: 600; color: var(--navy); font-size: .9rem; }
.hw-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .85rem; }
.hw-card { border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: .9rem; display: flex; flex-direction: column; gap: .3rem; background: #fff; }
.hw-card:has(input:not(:placeholder-shown)) { border-color: var(--green); background: var(--green-tint); }
.hw-card b { color: var(--navy); }
.hw-card p { margin: 0; font-size: .86rem; color: var(--muted); flex: 1; }
.hw-foot { display: flex; align-items: center; justify-content: space-between; margin-top: .4rem; }
.price { font-weight: 800; color: var(--navy); }
.price small { display: block; font-size: .68rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; line-height: 1.1; }
.stepper { display: inline-flex; align-items: center; border: 1.5px solid #cfd6dc; border-radius: 8px; overflow: hidden; background: #fff; }
.stepper button { border: 0; background: none; width: 30px; height: 32px; font-size: 1.1rem; cursor: pointer; color: var(--navy); }
.stepper button:hover { background: var(--green-tint); }
.stepper input { width: 2.8rem; border: 0; border-radius: 0; text-align: center; padding: .3rem 0; -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.tier { align-self: flex-start; padding: .15rem .55rem; border-radius: 4px; font-size: .65rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; background: var(--bg); color: var(--navy); }
.tier-best, .tier-premium { background: var(--navy); color: #fff; }
.tier-standard { background: var(--green); color: var(--navy); }
.hw-total { display: flex; justify-content: space-between; align-items: center; background: var(--bg); border-radius: var(--radius-sm); padding: .8rem 1rem; margin-top: 1rem; font-weight: 600; }
.hw-total b { font-size: 1.2rem; color: var(--navy); }

/* estimate */
.pkg-switch { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: .5rem 0 1rem; }
.pill { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: .4rem 1rem; font: inherit; font-weight: 600; font-size: .85rem; cursor: pointer; color: var(--navy); }
.pill.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.fee-card { display: grid; grid-template-columns: 1fr 1.4fr 1.6fr; gap: 1rem; background: var(--navy); color: #fff; border-radius: var(--radius); padding: 1.2rem 1.4rem; margin-bottom: 1rem; }
.fee-card .k { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--green); font-weight: 700; }
.fee-card b { display: block; font-size: 1.5rem; font-weight: 800; }
.fee-card small { color: rgba(255, 255, 255, .75); font-size: .8rem; }
.fee-card .fin { background: rgba(255, 255, 255, .08); border: 1px solid rgba(105, 163, 18, .6); border-radius: var(--radius-sm); padding: .7rem .9rem; margin: -.3rem 0; }
.fee-card .fin b small { font-size: .85rem; color: rgba(255, 255, 255, .75); font-weight: 600; }
.fee-card sup, .live sup { color: var(--green); }
.fin-note { margin-top: .35rem; }
.fin-note sup, .pkg-fin sup, .estimate sup { color: var(--green); font-weight: 700; }
.table-wrap { overflow-x: auto; }
table.estimate, table.compare, table.review { width: 100%; border-collapse: collapse; font-size: .9rem; }
.estimate th, .estimate td, .compare th, .compare td, .review th, .review td { padding: .65rem .8rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.estimate thead th, .compare thead th { background: var(--bg); color: var(--navy); font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; }
.estimate thead small, .compare thead small { display: block; text-transform: none; letter-spacing: 0; }
.estimate tbody th { font-weight: 600; color: var(--navy); white-space: nowrap; }
.save { color: var(--green-dk); font-weight: 700; } .up { color: #c4561a; font-weight: 700; }
.compare tbody th { width: 24%; color: var(--navy); }

/* callouts, buttons */
.callout { background: var(--green-tint); border-left: 4px solid var(--green); border-radius: var(--radius-sm); padding: .85rem 1rem; margin: 1rem 0; font-size: .9rem; }
.callout.warn { background: var(--warn-bg); border-left-color: #e7a83b; }
.callout.good { border-left-color: var(--green-dk); }
.callout .dots { margin: .4rem 0 .6rem; }
.tip-card { background: var(--bg); border-radius: var(--radius-sm); padding: 1rem 1.1rem; font-size: .9rem; }
.panel.internal { border: 1.5px dashed var(--green); border-radius: var(--radius-sm); padding: 1rem; margin: 1rem 0; }
.panel.internal h3 { margin-top: 0; }
.btn { font: inherit; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: .85rem; border-radius: 4px; padding: .8rem 1.5rem; cursor: pointer; border: 2px solid var(--charcoal); background: var(--charcoal); color: #fff; transition: background .15s, color .15s, border-color .15s; }
.btn:hover:not(:disabled) { background: var(--green); border-color: var(--green); color: var(--charcoal); }
.btn.ghost { background: #fff; color: var(--charcoal); border-color: #cfd6dc; }
.btn.ghost:hover:not(:disabled) { border-color: var(--green); background: var(--green-tint); }
.btn.small { padding: .45rem .8rem; font-size: .72rem; }
.btn:disabled { opacity: .55; cursor: default; }
.link { background: none; border: 0; padding: 0; font: inherit; font-weight: 600; color: var(--green-dk); text-decoration: underline; cursor: pointer; }
.nav-row { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); margin-top: 2rem; padding-top: 1.25rem; }
.actions-row { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0 .5rem; }
.dots { padding-left: 1.1rem; }
.dots li { margin: .25rem 0; }
.dots li::marker { color: var(--green); }
.timeline { counter-reset: t; list-style: none; padding: 0; margin: 0; }
.timeline li { counter-increment: t; position: relative; padding: 0 0 .9rem 2.5rem; font-size: .92rem; }
.timeline li::before { content: counter(t); position: absolute; left: 0; top: -1px; width: 26px; height: 26px; border-radius: 50%; background: var(--green); color: var(--navy); display: grid; place-items: center; font-weight: 800; font-size: .8rem; }
.timeline li:not(:last-child)::after { content: ""; position: absolute; left: 12px; top: 27px; bottom: 0; width: 2px; background: var(--green-line); }
.print-only { display: none; }

.foot { text-align: center; color: var(--muted); font-size: .82rem; padding: 1rem 1.5rem 2.5rem; }

/* drawers + tips */
.drawer { position: fixed; inset: 0; background: rgba(11, 44, 64, .45); z-index: 50; display: flex; justify-content: flex-end; }
.drawer-inner { background: #fff; width: min(480px, 100%); height: 100%; overflow-y: auto; padding: 1.5rem; }
.drawer-inner.wide { width: min(760px, 100%); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.drawer-head h2 { margin: 0; font-size: 1.4rem; }
.drawer dt { font-weight: 700; color: var(--navy); margin-top: .8rem; }
.drawer dd { margin: .15rem 0 0; color: var(--muted); font-size: .9rem; }
.quiz .yn { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem 1rem; padding: .55rem 0; margin: 0; border-bottom: 1px solid var(--line); }
.quiz .yn legend { float: left; width: 100%; font-weight: 500; margin: 0; font-size: .9rem; }
.quiz .yn label { flex-direction: row; align-items: center; gap: .4rem; font-weight: 500; }
.tip { position: absolute; z-index: 60; max-width: 320px; background: var(--navy); color: #fff; padding: .7rem .85rem; border-radius: var(--radius-sm); font-size: .85rem; box-shadow: 0 8px 24px rgba(0, 0, 0, .2); }

@media (max-width: 1100px) {
  .layout { grid-template-columns: minmax(0, 1fr); }
  .live { grid-column: 1; position: static; }
  .tiles.small { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .hero-inner { padding: 1.5rem 1rem 3.5rem; }
  .hero h1 { font-size: 1.75rem; }
  .layout { grid-template-columns: minmax(0, 1fr); padding: 0 1rem 1.5rem; }
  .steps { min-width: 0; }
  .chip-wrap { flex-wrap: wrap; }
  .chip-wrap .chip { flex: 1 1 0; min-width: 0; }
  .chip-qty { flex-basis: 100%; margin: 0 0 .25rem 2.15rem; padding-left: 0; border-left: 0; }
  .live { grid-column: 1; }
  .steps ol { display: flex; gap: .25rem; overflow-x: auto; padding: .5rem; }
  .steps .lbl { display: none; }
  .steps li.active .lbl { display: inline; }
  main { padding: 1.25rem 1rem 1rem; }
  .grid.two, .grid.three, .tiles, .tiles.small, .fee-card, .chips { grid-template-columns: 1fr; }
  .grid > label { grid-row: auto; display: flex; }
  .grid > label > span:first-child { align-self: auto; }
  .topbar-inner { padding: .75rem 1rem; gap: .75rem; }
  .topbar-title { display: none; }
  .topbar-link { margin-left: auto; font-size: .8rem; }
  .steps li.active .lbl { white-space: nowrap; }
  .steps li.active { flex: 1; }
  table.matrix { min-width: 520px; font-size: .8rem; }
  .matrix th:first-child { position: sticky; left: 0; z-index: 1; background: #fff; width: 130px; min-width: 130px; padding-left: .25rem; box-shadow: 4px 0 6px -4px rgba(11, 44, 64, .15); }
  .matrix .feat-col { padding-top: 1rem; }
  .matrix tr.grp th { position: static; box-shadow: none; }
  .pkg-name { font-size: 1.05rem; } .pkg-price { font-size: 1.2rem; } .pkg-tag { display: none; }
  .matrix-wrap::after { content: "Swipe to compare all three"; display: block; text-align: center; font-size: .75rem; color: var(--muted); padding-top: .4rem; }
}

@media print {
  .staff-bar, .hero, .steps, .live, .nav-row, .actions-row, .topbar-link, .foot .link, #submitMsg, .carrier-bar, details.more { display: none !important; }
  body { background: #fff; }
  .topbar { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .layout { display: block; margin: 0; padding: 0; }
  main { box-shadow: none; padding: 0; }
  .step { display: none !important; }
  .step[data-step="send"] { display: block !important; }
  .print-only { display: block; }
  .fee-card, .badge, .select-btn span { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* after sign-off checklist */
.next-up .k { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; margin-top: .5rem; }
.next-up .grid.two { gap: 0 1.5rem; }
.next-up ul.dots { margin-top: .25rem; }
.hw-ex { font-size: .78rem; color: var(--muted); font-style: italic; }

/* access gate */
body.checking .hero, body.checking .layout { visibility: hidden; }
body.gated { overflow: hidden; }
.gate { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; background: var(--navy); }
.gate-card { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 2rem 2.2rem; max-width: 460px; width: 100%; box-shadow: 0 20px 60px rgba(0, 0, 0, .3); }
.gate-card h1 { font-size: 1.6rem; margin: .2rem 0 .8rem; color: var(--navy); }
.gate-card .eyebrow { color: var(--green); font-weight: 700; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; margin: 0; }
.gate-card a { color: var(--navy); font-weight: 600; }
.pkg-col .pkg-price { margin-bottom: .15rem; }
.pkg-col .pkg-once { margin-top: .7rem; padding-top: .6rem; border-top: 1px solid var(--line); line-height: 1.45; }
.pkg-col .pkg-fin { margin-top: .6rem; line-height: 1.45; }
@media (max-width: 820px) {
  .pkg-col { padding: .5rem .55rem 1rem !important; }
  .select-btn span { white-space: normal; padding: .55rem .4rem; }
  .badge-slot { height: 1.3rem; margin-bottom: .25rem; }
}
/* staff bar + client link panel */
.staff-bar { background: var(--green-tint); border-bottom: 1px solid var(--green); color: var(--navy); font-size: .85rem; }
.staff-inner { max-width: 1360px; margin: 0 auto; padding: .45rem 16px; display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; justify-content: space-between; }
.staff-bar .sep { color: var(--muted); margin: 0 .3rem; }
.staff-actions { display: flex; align-items: center; gap: 1rem; }
.staff-actions a { color: var(--navy); font-weight: 600; }
.invite-form { display: grid; gap: .75rem; margin: 1rem 0; }
.invite-form label { display: flex; flex-direction: column; gap: .3rem; }
.invite-out { margin-top: 1rem; }
.invite-out input { width: 100%; font-size: .85rem; }
.invite-actions { display: flex; gap: .5rem; margin-top: .5rem; }
.live-hint { margin-top: .8rem; padding: .6rem .7rem; border-radius: var(--radius-sm); background: rgba(255, 255, 255, .1); font-size: .8rem; line-height: 1.4; color: rgba(255, 255, 255, .9); }
.live-hint .link { color: var(--green); }

/* ---------- start page (planner picker) ---------- */
.hub { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; max-width: 1100px; margin: -3rem auto 2rem; padding: 0 16px; position: relative; }
.hub-card { display: flex; flex-direction: column; gap: .4rem; background: var(--card); border-radius: var(--radius); padding: 1.6rem 1.75rem; box-shadow: 0 10px 30px rgba(11, 44, 64, .08); text-decoration: none; color: var(--ink); border: 2px solid transparent; transition: border-color .15s; }
.hub-card:hover, .hub-card:focus-visible { border-color: var(--green); outline: none; }
.hub-card h2 { margin: 0; }
.hub-card p { margin: 0; }
.hub-card .eyebrow { margin: 0; }
.hub-card .btn { align-self: flex-start; margin-top: auto; }
.hub-note { grid-column: 1 / -1; background: var(--card); border-radius: var(--radius); padding: 1rem 1.75rem; }
.hub-note h3 { margin: .25rem 0; }
.planner-pick { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 1rem; }

/* ---------- SSO planner ---------- */
.sso-steps ol { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.yn-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.yn-row > div:first-child { flex: 1 1 18rem; font-size: .92rem; color: var(--navy); }
.yn-row small { display: block; font-size: .82rem; }
#setupQs { margin-bottom: 1.25rem; }
.chips.plain button.chip { font: inherit; font-size: .88rem; background: #fff; color: var(--ink); border: 1.5px solid var(--line); border-radius: 999px; padding: .4rem .8rem; cursor: pointer; }
.chips.plain button.chip:hover:not(:disabled) { border-color: var(--green); }
.chips.plain button.chip.on { border-color: var(--green); background: var(--green-tint); cursor: default; }
#appPicker { margin-bottom: 1.25rem; }
.app-card { border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 1rem 1.1rem .5rem; margin: 0 0 1rem; background: #fff; }
.app-head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .75rem 1rem; padding-bottom: .5rem; }
.app-name { flex: 1 1 14rem; }
.app-users { flex: 0 1 10rem; }
.app-head .link { margin-bottom: .7rem; }
.app-tier { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .75rem; background: var(--green-tint); border-radius: var(--radius-sm); padding: .6rem .8rem; margin: .25rem 0 .5rem; font-size: .9rem; }
.app-tier small { flex-basis: 100%; }
.tier-override { flex-direction: row; align-items: center; gap: .4rem; margin-left: auto; font-size: .82rem; }
.tier-override select { width: auto; padding: .3rem .5rem; font-size: .85rem; }
.tier-badge { display: inline-block; border-radius: 999px; padding: .15rem .65rem; font-size: .78rem; font-weight: 700; background: var(--navy); color: #fff; }
.tier-badge.basic { background: var(--green-dk); }
.tier-badge.intermediate { background: var(--teal); }
.tier-badge.comprehensive { background: var(--navy); }
.tier-badge.custom { background: #c4561a; }
.app-card .grid { margin: .9rem 0 .5rem; }
.intake { background: var(--warn-bg); border-left: 4px solid #e7a83b; border-radius: var(--radius-sm); padding: .85rem 1rem; margin: .5rem 0 .75rem; display: grid; gap: .65rem; }
.intake p { margin: 0; }
textarea { resize: vertical; }
@media (max-width: 820px) {
  .hub { grid-template-columns: 1fr; }
  .planner-pick { grid-template-columns: 1fr; }
  .sso-steps ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tier-override { margin-left: 0; }
}
@media print {
  .app-tier .tier-override, #appPicker, #addApp, .app-head .link { display: none !important; }
}

/* ---------- package cards (separate from the feature table) ---------- */
.rec-why { margin: 0 0 1rem; color: var(--muted); font-size: .9rem; }
.rec-why b { color: var(--navy); }
.pkg-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin: 0 0 1rem; }
.pkg-card { display: flex; flex-direction: column; background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.25rem 1.15rem; box-shadow: 0 6px 18px rgba(11, 44, 64, .06); }
.pkg-card.rec { border-color: var(--green-line); }
.pkg-card.selected { border-color: var(--green); box-shadow: 0 0 0 2px var(--green), 0 6px 18px rgba(11, 44, 64, .08); background: var(--green-tint); }
.pkg-top { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.pkg-card .pkg-name { font-size: 1.3rem; }
.pkg-card .pkg-tag { min-height: 0; margin: .2rem 0 .9rem; }
.pkg-card .pkg-price { font-size: 1.75rem; line-height: 1.1; }
.pkg-card .pkg-sub { margin-top: .15rem; }
.pkg-carriers { display: grid; gap: .4rem; }
.pkg-carriers { gap: .6rem; }
.pkg-carrier { display: flex; flex-direction: column; gap: 0; font-size: .8rem; color: var(--muted); font-weight: 500; }
.pkg-carrier b { font-size: 1.35rem; font-weight: 800; color: var(--navy); white-space: nowrap; line-height: 1.2; }
.pkg-carrier small { font-size: .72rem; font-weight: 600; }
.pkg-line { display: flex; flex-direction: column; gap: .05rem; margin-top: .75rem; padding-top: .7rem; border-top: 1px solid var(--line); font-size: .8rem; color: var(--muted); font-weight: 500; }
.pkg-line b { color: var(--navy); font-size: 1rem; }
.pkg-line b small { font-size: .75rem; }
.pkg-line sup { color: var(--green); font-weight: 700; }
.pkg-card .select-btn { margin-top: auto; padding-top: 1.1rem; }
.compare-title { margin-top: 2rem; }
.matrix thead th { vertical-align: bottom; padding: .5rem .8rem; border-bottom: 2px solid var(--line); color: var(--navy); font-weight: 800; text-align: center; }
.matrix thead th.feat-col { padding-top: .5rem; }
.matrix thead th.selected { background: var(--green-tint); border-bottom-color: var(--green); }
@media (max-width: 760px) {
  .pkg-cards { grid-template-columns: 1fr; }
  .pkg-card .pkg-tag { display: block; }
  .pkg-card .pkg-tag { margin-bottom: .6rem; }
}
@media print {
  .pkg-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; }
  .pkg-card { box-shadow: none; }
}
.app-tier .tier-info { display: contents; }

/* SSO app picker */
.app-picker { border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: .9rem 1rem; background: #fff; }
.app-picker input[type=search] { width: 100%; margin-bottom: .75rem; }
.picker-label { font-weight: 700; font-size: .85rem; margin: 0 0 .45rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.picker-cat { border-top: 1px solid var(--line); padding: .55rem 0; }
.picker-cat:first-of-type { margin-top: .9rem; }
.picker-cat summary { cursor: pointer; font-weight: 600; }
.picker-cat summary small { font-weight: 400; color: var(--muted); margin-left: .35rem; }
.picker-cat .chips { margin-top: .55rem; }
.app-picker .chips.plain { gap: .4rem; }
.app-picker [data-add-typed] { margin-top: .6rem; }
.chips.plain button.chip.no-sso { color: var(--muted); border-style: dashed; }
.chip small { font-size: .72rem; color: var(--muted); }
.tdot { display: inline-block; width: .6rem; height: .6rem; border-radius: 50%; margin-right: .35rem; vertical-align: middle; font-style: normal; }
.tdot.basic { background: var(--green-dk); }
.tdot.intermediate { background: var(--teal); }
.tdot.comprehensive { background: var(--navy); }
.tdot.custom, .tdot.none { background: #c4561a; }
.picker-legend { margin: .6rem 0 0; }
.picker-legend .tdot { margin-left: .6rem; }
.picker-legend .tdot:first-child { margin-left: 0; }
.tier-badge.none { background: #6b7280; }

/* ---------- SSO: vendor plan notes, tier help ---------- */
.plan-note { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .65rem .85rem; margin: .5rem 0 .85rem; font-size: .88rem; }
.plan-note.low { border-style: dashed; }
.plan-note ul { margin: .35rem 0; padding-left: 1.1rem; }
.plan-note li span { font-weight: 600; color: var(--navy); }
.plan-note small { display: block; color: var(--muted); }
.tier-help { border: 1.5px dashed var(--green); border-radius: var(--radius-sm); padding: .6rem .9rem; margin: 0 0 1rem; }
.tier-help summary { cursor: pointer; font-weight: 600; color: var(--navy); }
.tier-table { width: 100%; border-collapse: collapse; font-size: .86rem; margin: .5rem 0; }
.tier-table th, .tier-table td { text-align: left; vertical-align: top; padding: .45rem .55rem; border-bottom: 1px solid var(--line); }
.tier-table thead th { font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; color: var(--navy); background: var(--bg); }

/* ---------- admin page ---------- */
.admin-main { max-width: 1200px; margin: 0 auto; padding: 1.5rem 1.25rem 4rem; }
.admin-main h1 { color: var(--navy); margin: .5rem 0; }
.admin-tabs { display: flex; gap: .25rem; border-bottom: 2px solid var(--line); margin: 1rem 0 1.25rem; flex-wrap: wrap; }
.admin-tabs button { background: none; border: 0; padding: .6rem 1rem; font: inherit; font-weight: 600; color: var(--muted); cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -2px; }
.admin-tabs button[aria-selected="true"] { color: var(--navy); border-bottom-color: var(--green); }
.admin-split { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 1.5rem; align-items: start; }
.admin-preview { position: sticky; top: 4rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1rem; }
.admin-preview h3 { margin: 0 0 .25rem; color: var(--navy); }
.admin-form fieldset { min-width: 0; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .75rem 1rem 0; margin: 0 0 1rem; background: var(--card); }
.admin-form legend { font-weight: 700; color: var(--navy); padding: 0 .35rem; }
.admin-form label.changed > span, .admin-table td.changed { color: var(--green-dk); }
.admin-form label.changed input, .admin-form label.changed select, .admin-table td.changed input, .admin-table td.changed select { border-color: var(--green); background: var(--green-tint); }
.admin-form .span2 { grid-column: span 2; }
.admin-form .span3 { grid-column: 1 / -1; }
.admin-form label.check { display: flex; align-items: center; gap: .5rem; grid-row: auto; grid-column: 1 / -1; }
.admin-actions { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin: .5rem 0 1.25rem; }
.admin-actions .fine { margin-left: .5rem; }
.admin-table { width: 100%; border-collapse: collapse; font-size: .88rem; background: var(--card); }
.admin-table th, .admin-table td { text-align: left; vertical-align: top; padding: .5rem .6rem; border-bottom: 1px solid var(--line); }
.admin-table thead th { font-size: .74rem; text-transform: uppercase; letter-spacing: .04em; color: var(--navy); background: var(--bg); }
.admin-table tbody th { color: var(--navy); }
.admin-table small { display: block; color: var(--muted); font-weight: 400; }
.admin-table.tier-hours input, .admin-table.tier-hours select { width: 5.5rem; padding: .3rem .4rem; }
.admin-table.preview td { white-space: nowrap; }
.admin-table .tag { display: inline-block; margin-left: .35rem; padding: 0 .4rem; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); font-size: .7rem; color: var(--muted); }
.admin-table .tag.top { border-color: var(--green-line); background: var(--green-tint); }
.admin-table .tag.low { border-color: var(--warn-line); background: var(--warn-bg); }
.admin-toolbar { display: flex; gap: .75rem; align-items: center; margin: 0 0 1rem; flex-wrap: wrap; }
.admin-toolbar input[type=search] { flex: 1 1 280px; max-width: 420px; }
.app-edit { border: 1.5px solid var(--green); border-radius: var(--radius-sm); padding: 1rem; margin: 0 0 1rem; background: var(--card); }
.app-edit h3 { margin: 0 0 .75rem; color: var(--navy); }
.btn.danger { color: #b42318; }
.admin-history { list-style: none; padding: 0; }
.admin-history > li { padding: .65rem 0; border-bottom: 1px solid var(--line); }
.admin-history ul { margin: .35rem 0 0; font-size: .85rem; }
@media (max-width: 900px) { .admin-split { grid-template-columns: minmax(0, 1fr); } .admin-preview { position: static; } }
