/* Half Off Travel - mobile-first, no external assets (fonts are system fonts: $0, no third-party requests). */
:root {
  --bg: #f6f4ef; --surface: #ffffff; --ink: #14212b; --muted: #5d6b75; --line: #e3ded3;
  --accent: #d9480f; --accent-ink: #ffffff; --good: #127a4a; --warn: #a15c00; --bad: #b42318;
  --brand: #0b3d5c; --radius: 14px; --shadow: 0 1px 2px rgba(20,33,43,.06), 0 6px 20px rgba(20,33,43,.06);
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0e151b; --surface: #16212a; --ink: #eef2f4; --muted: #9fb0bb; --line: #253542;
    --accent: #ff7a3d; --accent-ink: #14100d; --good: #4cc38a; --warn: #f0b34a; --bad: #ff7b6e; --brand: #7cc4ee;
    --shadow: 0 1px 2px rgba(0,0,0,.3); }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: var(--brand); }
h1 { font-size: clamp(1.6rem, 4.5vw, 2.6rem); line-height: 1.15; margin: .4em 0 .3em; letter-spacing: -.01em; }
h2 { font-size: 1.25rem; margin: 1.6em 0 .6em; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 8px; top: 8px; background: var(--surface); padding: 8px; z-index: 10; }
.muted { color: var(--muted); } .mono { font-family: ui-monospace, Consolas, monospace; font-size: .8rem; word-break: break-all; }
.accent { color: var(--accent); }

.top { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.top-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding-top: 10px; padding-bottom: 10px; }
.brand { font-weight: 800; font-size: 1.1rem; color: var(--ink); text-decoration: none; display: flex; align-items: center; gap: 8px; }
.mark { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--accent); color: var(--accent-ink); font-size: 1rem; }
nav { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: center; font-size: .95rem; }
nav a { color: var(--ink); text-decoration: none; padding: 6px 2px; } nav a[aria-current="page"] { color: var(--accent); font-weight: 700; }
.inline { display: inline; margin: 0; } .link { background: none; border: 0; color: var(--brand); cursor: pointer; font: inherit; padding: 6px 2px; } .danger { color: var(--bad); }

.hero { padding: 28px 0 8px; } .hero.small { padding-top: 12px; }
.lead { font-size: 1.08rem; color: var(--muted); max-width: 760px; }
.search, .filters, .review { display: grid; gap: 10px; grid-template-columns: 1fr; background: var(--surface); padding: 14px; border-radius: var(--radius); box-shadow: var(--shadow); margin: 16px 0; align-items: end; }
label span { display: block; font-size: .8rem; font-weight: 600; color: var(--muted); margin-bottom: 4px; }
input, select { width: 100%; font: inherit; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--ink); min-height: 44px; }
input:focus, select:focus, button:focus-visible, a:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 55%, transparent); outline-offset: 2px; }
.btn { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; padding: 10px 18px; border: 0; border-radius: 10px; background: var(--accent); color: var(--accent-ink); font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); } .btn.small { min-height: 34px; padding: 4px 12px; font-size: .85rem; }
.btn[disabled] { opacity: .45; cursor: not-allowed; } .big-btn { width: 100%; font-size: 1.1rem; }
.counts { color: var(--muted); }

.row-head { display: flex; justify-content: space-between; align-items: baseline; }
.grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
.card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); transition: transform .15s ease; }
.card:hover { transform: translateY(-2px); }
.card-link { display: block; padding: 16px; color: inherit; text-decoration: none; }
.card-top { display: flex; justify-content: space-between; align-items: center; }
.pct { background: var(--accent); color: var(--accent-ink); font-weight: 800; padding: 4px 10px; border-radius: 999px; font-size: .9rem; }
.cat { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.card h3 { margin: 12px 0 2px; font-size: 1.15rem; } .card .title { margin: 0 0 10px; color: var(--muted); font-size: .9rem; }
.prices { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; }
.now { font-size: 1.5rem; font-weight: 800; } .ref { color: var(--muted); text-decoration: line-through; } .save { color: var(--good); font-weight: 700; }
.meta { font-size: .85rem; color: var(--muted); margin: 8px 0 0; }

.tiles { display: grid; gap: 14px; grid-template-columns: 1fr; margin: 28px 0; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; text-decoration: none; color: inherit; box-shadow: var(--shadow); }
.tile h3 { margin: 0 0 6px; color: var(--brand); }
.empty { background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius); padding: 24px; text-align: center; margin: 16px 0; }
.tabs { display: flex; gap: 6px; margin: 8px 0; } .tabs a { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.tabs a[aria-selected="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.deal .crumbs { color: var(--muted); font-size: .9rem; }
.price-box, .stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 16px 0; }
.price-box > div, .stats > div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; }
.lbl { display: block; font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.big { display: block; font-size: 1.6rem; font-weight: 800; } .muted-big { color: var(--muted); } .big.save { color: var(--good); }
.evidence dl, dl.evidence { display: grid; grid-template-columns: 1fr; gap: 2px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
dt { font-weight: 700; margin-top: 8px; } dd { margin: 0; color: var(--muted); }
.spark { width: 100%; max-width: 560px; height: 90px; color: var(--accent); background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line); padding: 6px; }
.tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tbl { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--radius); font-size: .9rem; }
.tbl th, .tbl td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl th { font-size: .78rem; text-transform: uppercase; color: var(--muted); } tr.dim td { opacity: .6; }
.badge { font-size: .75rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; border: 1px solid currentColor; }
.badge.verified { color: var(--good); } .badge.provisional { color: var(--warn); } .badge.unverified, .badge.expired { color: var(--bad); }
.flash { padding: 10px 14px; border-radius: 10px; background: var(--surface); border-left: 4px solid var(--brand); }
.flash.success { border-color: var(--good); } .flash.error { border-color: var(--bad); }
.admin-nav { display: flex; flex-wrap: wrap; gap: 6px 14px; border-bottom: 1px solid var(--line); padding-bottom: 8px; margin-bottom: 12px; }
.auth { max-width: 420px; margin: 24px auto; display: grid; gap: 12px; background: var(--surface); padding: 22px; border-radius: var(--radius); box-shadow: var(--shadow); }
.notes { list-style: none; padding: 0; } .notes li { padding: 10px 0; border-bottom: 1px solid var(--line); } .notes .unread { font-weight: 600; }
.kind { font-size: .72rem; text-transform: uppercase; background: var(--bg); padding: 2px 8px; border-radius: 999px; }
.watch { padding: 8px 0; border-bottom: 1px solid var(--line); }
.prose { max-width: 760px; } .prose li { margin-bottom: 10px; }
.two { display: grid; gap: 16px; grid-template-columns: 1fr; }
.foot { margin-top: 48px; padding: 24px 0; border-top: 1px solid var(--line); font-size: .88rem; }

@media (min-width: 640px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .search { grid-template-columns: 1fr 2fr 1fr auto; }
  .filters { grid-template-columns: repeat(3, 1fr); }
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .price-box, .stats { grid-template-columns: repeat(4, 1fr); }
  .two { grid-template-columns: 1fr 1fr; }
  .evidence dl, dl.evidence { grid-template-columns: 220px 1fr; } dt { margin-top: 0; }
}
@media (min-width: 1000px) { .grid { grid-template-columns: repeat(3, 1fr); } .filters { grid-template-columns: repeat(5, 1fr); } }
@media (prefers-reduced-motion: reduce) { .card { transition: none; } .card:hover { transform: none; } }

/* Destination markets (Orlando first) */
.crumbs { margin: 14px 0 0; font-size: .9rem; color: var(--muted); }
.card-body { padding: 16px; } .card-body p { margin: 6px 0; } .listing.is-expired { opacity: .7; }
.listing:hover { transform: none; }
.v { display: inline-block; font-size: .75rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; border: 1px solid currentColor; white-space: nowrap; }
.v-live_checked { color: var(--good); } .v-advertised { color: var(--warn); } .v-unverified { color: var(--muted); }
.counts .v { margin: 2px 4px 2px 0; }
.warn { color: var(--warn); font-weight: 600; } .elig { font-weight: 600; color: var(--brand); }
.links { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 10px !important; } .links .src { font-size: .8rem; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 0; }
.chips a { font-size: .85rem; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); text-decoration: none; color: var(--ink); }
.chips a[aria-current="page"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 700; }
.legend { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 14px; margin: 8px 0; }
.legend summary, .expired-list summary { cursor: pointer; font-weight: 600; } .legend li { margin: 6px 0; }
.expired-list { margin: 20px 0; }
.editor-box { border: 2px dashed var(--line); border-radius: var(--radius); padding: 4px 14px 14px; margin: 28px 0; }
.editor-box .tbl-wrap { margin: 10px 0; }
@media (min-width: 640px) { .tiles .tile p { margin: 4px 0; } }
.price-line { margin: 10px 0 2px !important; } .price-line .now { font-size: 1.5rem; font-weight: 800; }
.claim { font-size: .88rem; color: var(--muted); background: var(--bg); border-radius: 8px; padding: 6px 10px; }
.claim-lbl { font-weight: 700; color: var(--ink); }
.editor-note { border-left: 3px solid var(--line); padding-left: 8px; }
.tag-nearby { display: inline-block; font-size: .72rem; font-weight: 700; padding: 1px 8px; border-radius: 999px; background: var(--line); color: var(--ink); }
.cta-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; }
.filter-box, .areas-box { margin: 12px 0; } .filter-box > summary, .areas-box > summary { cursor: pointer; font-weight: 600; padding: 8px 0; }
.filter-box .filters { margin-top: 6px; } .areas-box { margin-top: 28px; }
.sec-group { margin-top: 8px; } .sec-group .row-head h2 { margin-bottom: .4em; }
.plan { display: grid; gap: 14px; margin: 16px 0; }
.plan fieldset { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; margin: 0; display: grid; gap: 10px; }
.plan legend { font-weight: 700; padding: 0 6px; }
.plan-who { grid-template-columns: repeat(2, 1fr); } .plan-who label:last-child { grid-column: 1 / -1; }
.check { display: flex; gap: 10px; align-items: flex-start; } .check input { width: 22px; min-height: 22px; height: 22px; margin-top: 2px; flex: none; }
.pick { padding: 6px 0; border-top: 1px solid var(--line); } .pick-sec { margin: 8px 0 0; font-weight: 700; color: var(--brand); }
.estimate .num { text-align: right; white-space: nowrap; } .estimate tfoot th { font-size: 1.1rem; }
.row-stale { background: color-mix(in srgb, var(--warn) 8%, transparent); }
td.actions form { display: flex; gap: 6px; margin: 4px 0; } td.actions input { min-height: 34px; padding: 4px 8px; }
@media (min-width: 640px) { .plan-who { grid-template-columns: repeat(4, 1fr); } }

.estimate .incl{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px;margin:12px 0}
.estimate .incl h3{font-size:1rem;margin:0 0 4px}
.estimate .incl ul{margin:0;padding-left:18px}
