/* Tampa Bay Day Planner — all rules scoped under .tbdp so the theme is untouched. */
.tbdp{
  --tbdp-bg:#e8f4ed; --tbdp-paper:#ffffff; --tbdp-ink:#14332b; --tbdp-muted:#4e7064;
  --tbdp-line:#cbe2d6; --tbdp-accent:#c9376d; --tbdp-on-accent:#ffffff; --tbdp-pop:#0e8f6f;
  --tbdp-sun:#e2962c; --tbdp-ok:#0e8f6f; --tbdp-over:#b42318;
  --tbdp-shadow:0 1px 0 rgba(20,51,43,.05),0 8px 24px -16px rgba(20,51,43,.4);
  --tbdp-display:"Fraunces",Georgia,serif;
  --tbdp-body:"Figtree",system-ui,-apple-system,"Segoe UI",sans-serif;
  background:var(--tbdp-bg);
  color:var(--tbdp-ink);
  font-family:var(--tbdp-body);
  font-size:16px;
  line-height:1.5;
  padding:22px;
  border-radius:20px;
}
/* Block themes constrain content to a narrow column. The wrapper carries the
   theme's own alignfull class to escape it, and the padding below keeps the
   content itself centred and readable however wide that turns out to be.
   No negative margins: those clip when the parent is not centred. */
.tbdp-wide{max-width:none;border-radius:0;
  padding-left:max(22px,calc((100% - 1180px) / 2));
  padding-right:max(22px,calc((100% - 1180px) / 2))}
@media (max-width:860px){.tbdp-wide{padding-left:16px;padding-right:16px}}
.tbdp *,.tbdp *::before,.tbdp *::after{box-sizing:border-box}
.tbdp button,.tbdp select,.tbdp input{font-family:inherit;font-size:inherit;color:var(--tbdp-ink)}
.tbdp :focus-visible{outline:3px solid var(--tbdp-pop);outline-offset:2px}
.tbdp .tbdp-h1,.tbdp .tbdp-h2,.tbdp h3{font-family:var(--tbdp-display);font-weight:800;line-height:1.05;margin:0;text-wrap:balance;color:var(--tbdp-ink)}
.tbdp p{margin:0}

.tbdp-hero{padding:4px 0 24px}
.tbdp .tbdp-h1{font-size:clamp(28px,5vw,46px);letter-spacing:-.02em}
.tbdp-squig{display:block;width:min(300px,70%);height:12px;margin:8px 0 12px;color:var(--tbdp-accent)}
.tbdp-lede{font-size:clamp(16px,2vw,19px);max-width:50ch}
.tbdp-trust{display:flex;flex-wrap:wrap;gap:8px 18px;margin-top:14px;font-size:14px;color:var(--tbdp-muted)}
.tbdp-trust span{display:inline-flex;align-items:center;gap:7px}
.tbdp-dot{width:7px;height:7px;border-radius:50%;background:var(--tbdp-ok);flex:none}

.tbdp-layout{display:grid;grid-template-columns:340px minmax(0,1fr);gap:26px;align-items:start}
@media (max-width:860px){.tbdp-layout{grid-template-columns:1fr}.tbdp{padding:16px}}
.tbdp-card{background:var(--tbdp-paper);border:1px solid var(--tbdp-line);border-radius:18px;box-shadow:var(--tbdp-shadow)}
.tbdp-rail{padding:18px;margin:0}
/* The filter panel stays in view while you scroll the results. It is taller
   than most screens, so it scrolls on its own instead of hiding its bottom
   half until the results run out. The admin bar offset keeps it clear of
   WordPress's black toolbar when you are logged in. */
@media (min-width:861px){.tbdp-rail{position:sticky;
  top:calc(var(--wp-admin--admin-bar--height, 0px) + 16px);
  max-height:calc(100vh - var(--wp-admin--admin-bar--height, 0px) - 32px);
  overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--tbdp-line) transparent}}
.tbdp-sub{color:var(--tbdp-muted);font-size:14px;margin:4px 0 14px}
.tbdp-presets{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:18px}
.tbdp-presets button{padding:7px 11px;border-radius:10px;border:1px dashed var(--tbdp-line);background:transparent;font-size:13px;font-weight:600;cursor:pointer;color:var(--tbdp-accent)}
.tbdp-presets button:hover{border-style:solid;border-color:var(--tbdp-accent)}
.tbdp-fields{display:grid;gap:15px}
.tbdp-row{display:grid;grid-template-columns:1fr 1fr;gap:11px}
.tbdp .tbdp-f{display:grid;gap:5px;font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:.01em;color:var(--tbdp-muted)}
.tbdp .tbdp-f em{font-style:normal;text-transform:none;font-weight:400;font-size:13px}
.tbdp select,.tbdp input[type=number],.tbdp input[type=text]{width:100%;padding:10px;border:1px solid var(--tbdp-line);border-radius:10px;background:var(--tbdp-bg);font-weight:500;margin:0;height:auto;line-height:1.4}
.tbdp fieldset{border:0;padding:0;margin:0;min-width:0}
.tbdp legend{font-size:13px;font-weight:700;text-transform:uppercase;color:var(--tbdp-muted);padding:0;margin-bottom:9px;float:none;width:auto}
.tbdp-chips{display:flex;flex-wrap:wrap;gap:7px}
.tbdp-chip{position:relative;display:inline-block}
.tbdp-chip input{position:absolute;opacity:0;inset:0;margin:0;cursor:pointer;width:100%;height:100%}
.tbdp-chip span{display:inline-block;padding:7px 12px;border:1px solid var(--tbdp-line);border-radius:999px;background:var(--tbdp-bg);font-size:14px;font-weight:600}
.tbdp-chip input:checked + span{background:var(--tbdp-accent);border-color:var(--tbdp-accent);color:var(--tbdp-on-accent)}
.tbdp-chip input:focus-visible + span{outline:3px solid var(--tbdp-pop);outline-offset:2px}
.tbdp-origin-status{font-size:13px;color:var(--tbdp-muted);margin-top:-7px;line-height:1.5}
.tbdp-origin-status b{color:var(--tbdp-ink);font-weight:700}
.tbdp .tbdp-link{background:none;border:0;padding:0;margin-left:2px;color:var(--tbdp-accent);font-weight:700;font-size:13px;cursor:pointer;text-decoration:underline;text-underline-offset:2px}
.tbdp-origin-pick[hidden]{display:none}
.tbdp-check{display:flex;gap:9px;align-items:center;font-size:14px;font-weight:500}
.tbdp-check input{width:18px;height:18px;accent-color:var(--tbdp-accent);margin:0}
.tbdp-actions{display:flex;gap:8px;flex-wrap:wrap}
.tbdp .tbdp-btn{padding:11px 15px;border-radius:11px;border:1px solid var(--tbdp-accent);background:var(--tbdp-accent);color:var(--tbdp-on-accent);font-weight:700;cursor:pointer;text-transform:none;letter-spacing:0;line-height:1.2}
.tbdp .tbdp-btn.tbdp-ghost{background:transparent;color:var(--tbdp-accent)}
.tbdp .tbdp-btn.tbdp-small{padding:6px 11px;font-size:13px;border-radius:9px}

.tbdp-tally{padding:18px;margin-bottom:16px}
.tbdp-tally .tbdp-top{display:flex;flex-wrap:wrap;align-items:flex-end;gap:6px 20px}
.tbdp-num{font-family:var(--tbdp-display);font-weight:900;font-size:clamp(28px,4.5vw,40px);font-variant-numeric:tabular-nums;line-height:1}
.tbdp-of{color:var(--tbdp-muted);font-size:15px;font-weight:500}
.tbdp-bar{height:11px;border-radius:999px;background:var(--tbdp-line);overflow:hidden;margin:13px 0 11px}
.tbdp-bar i{display:block;height:100%;background:var(--tbdp-ok);border-radius:999px}
.tbdp-bar i.tbdp-over{background:var(--tbdp-over)}
.tbdp-facts{display:flex;flex-wrap:wrap;gap:6px 16px;font-size:14px;color:var(--tbdp-muted);font-variant-numeric:tabular-nums}
.tbdp-facts b{color:var(--tbdp-ink);font-weight:700}

.tbdp-timeline{display:grid}
.tbdp-leg{display:flex;align-items:center;gap:9px;margin-left:21px;padding:9px 0 9px 20px;border-left:2px dashed var(--tbdp-line);color:var(--tbdp-muted);font-size:14px;font-weight:600}
.tbdp-leg svg{color:var(--tbdp-accent);flex:none}
.tbdp-stop{display:grid;grid-template-columns:auto 1fr;gap:15px;padding:17px;background:var(--tbdp-paper);border:1px solid var(--tbdp-line);border-radius:18px;box-shadow:var(--tbdp-shadow)}
.tbdp-stop.tbdp-meal{background:transparent;box-shadow:none;border-style:dashed;padding:12px 17px;align-items:center}
.tbdp-badge{width:38px;height:38px;border-radius:13px;background:var(--tbdp-accent);color:#fff;display:grid;place-items:center;font-family:var(--tbdp-display);font-weight:900;font-size:19px;transform:rotate(-4deg);flex:none}
.tbdp-stop.tbdp-meal .tbdp-badge{background:var(--tbdp-bg);color:var(--tbdp-muted);border:1px solid var(--tbdp-line);transform:none;font-size:15px}
.tbdp-when{font-size:13px;font-weight:700;color:var(--tbdp-accent);font-variant-numeric:tabular-nums}
.tbdp-stop h3{font-size:clamp(18px,2.4vw,22px);margin:3px 0 0}
.tbdp-stop h3 a{color:inherit;text-decoration:none;border-bottom:2px solid var(--tbdp-line)}
.tbdp-stop h3 a:hover{border-bottom-color:var(--tbdp-accent)}
.tbdp-blurb{margin:7px 0 10px!important}
.tbdp-why{font-size:14px;color:var(--tbdp-muted);margin:0 0 10px!important}
.tbdp-meta{display:flex;flex-wrap:wrap;gap:7px;align-items:center}
.tbdp-tag{font-size:12px;font-weight:700;padding:4px 9px;border-radius:7px;background:var(--tbdp-bg);border:1px solid var(--tbdp-line);color:var(--tbdp-muted)}
.tbdp-tag.tbdp-match{color:var(--tbdp-accent);border-color:var(--tbdp-accent)}
.tbdp-price{font-weight:800;font-variant-numeric:tabular-nums;margin-left:auto;display:inline-flex;align-items:baseline;gap:5px}
.tbdp-price small{font-weight:600;color:var(--tbdp-muted);font-size:11px;text-transform:uppercase;letter-spacing:.04em}
.tbdp-caution{font-size:13px;color:var(--tbdp-muted);margin-top:9px!important;padding-left:11px;border-left:2px solid var(--tbdp-sun)}
.tbdp-empty{padding:32px;text-align:center}
.tbdp-empty h2,.tbdp-empty .tbdp-h2{font-size:22px;margin-bottom:8px}
.tbdp-empty p{color:var(--tbdp-muted);max-width:34ch;margin:0 auto}
.tbdp-foot{margin-top:22px;padding:14px 16px;border:1px dashed var(--tbdp-line);border-radius:16px;font-size:13px;color:var(--tbdp-muted)}
.tbdp-foot strong{color:var(--tbdp-ink)}
@media (prefers-reduced-motion:no-preference){.tbdp-bar i{transition:width .3s ease}}

/* Address line under a stop's name, linked to Google Maps. */
.tbdp .tbdp-addr{display:inline-flex;align-items:flex-start;gap:5px;margin:4px 0 2px;font-size:14px;font-weight:500;color:var(--tbdp-muted);text-decoration:none;line-height:1.35}
.tbdp .tbdp-addr svg{flex:none;margin-top:2px;color:var(--tbdp-accent)}
.tbdp .tbdp-addr:hover span{text-decoration:underline;text-underline-offset:2px;color:var(--tbdp-ink)}
.tbdp-overby{color:var(--tbdp-over);font-weight:700}

/* Browse list of every other place that passes the filters. */
.tbdp-more{margin-top:30px;scroll-margin-top:16px}
.tbdp-more-head{display:flex;align-items:center;gap:10px}
.tbdp-more-head .tbdp-h2{font-size:clamp(20px,2.4vw,24px)}
.tbdp-count{font-size:13px;font-weight:700;padding:2px 9px;border-radius:999px;background:var(--tbdp-paper);border:1px solid var(--tbdp-line);color:var(--tbdp-muted);font-variant-numeric:tabular-nums}
.tbdp-more > .tbdp-sub{margin:6px 0 14px}
.tbdp-flash{margin:10px 0 0;padding:10px 14px;border-radius:12px;background:var(--tbdp-paper);border:1px solid var(--tbdp-ok);font-size:14px}
.tbdp-more-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:14px}
.tbdp-mini{padding:15px 16px;display:flex;flex-direction:column;gap:2px}
.tbdp .tbdp-mini h4{font-family:var(--tbdp-display);font-weight:800;font-size:18px;line-height:1.15;margin:0;color:var(--tbdp-ink)}
.tbdp .tbdp-mini h4 a{color:inherit;text-decoration:none;border-bottom:2px solid var(--tbdp-line)}
.tbdp .tbdp-mini h4 a:hover{border-bottom-color:var(--tbdp-accent)}
.tbdp-mini .tbdp-blurb{font-size:14px;margin:6px 0 8px!important}
.tbdp-mini-foot{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;margin-top:auto;padding-top:12px}
.tbdp-mini-foot .tbdp-price{margin-left:0}
.tbdp-mini-foot .tbdp-btn{margin-left:auto}
.tbdp .tbdp-fit{margin:0!important;font-size:12px;font-weight:700;flex:1 1 140px}
.tbdp-fit.tbdp-good{color:var(--tbdp-ok)}
.tbdp-fit.tbdp-warn{color:#9a5b0b}
.tbdp-more-foot{display:flex;justify-content:center;margin-top:16px}


/* Budget slider. */
.tbdp-budget{display:grid;gap:8px}
.tbdp-budget-head{display:flex;align-items:flex-end;justify-content:space-between;gap:10px}
.tbdp-budget-val{font-family:var(--tbdp-display);font-weight:900;font-size:24px;line-height:1;color:var(--tbdp-accent);font-variant-numeric:tabular-nums;white-space:nowrap}
.tbdp input[type=range]{--tbdp-fill:25%;-webkit-appearance:none;appearance:none;width:100%;height:28px;margin:0;padding:0;border:0;background:transparent;cursor:pointer}
.tbdp input[type=range]::-webkit-slider-runnable-track{height:10px;border-radius:999px;background:linear-gradient(to right,var(--tbdp-accent) 0 var(--tbdp-fill),var(--tbdp-line) var(--tbdp-fill) 100%)}
.tbdp input[type=range]::-moz-range-track{height:10px;border-radius:999px;background:var(--tbdp-line)}
.tbdp input[type=range]::-moz-range-progress{height:10px;border-radius:999px;background:var(--tbdp-accent)}
.tbdp input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:26px;height:26px;margin-top:-8px;border-radius:50%;background:var(--tbdp-paper);border:3px solid var(--tbdp-accent);box-shadow:0 2px 6px rgba(20,51,43,.25)}
.tbdp input[type=range]::-moz-range-thumb{width:20px;height:20px;border-radius:50%;background:var(--tbdp-paper);border:3px solid var(--tbdp-accent);box-shadow:0 2px 6px rgba(20,51,43,.25)}
.tbdp input[type=range]:focus-visible{outline:3px solid var(--tbdp-pop);outline-offset:4px;border-radius:8px}
.tbdp-budget-scale{display:flex;justify-content:space-between;font-size:11px;font-weight:600;color:var(--tbdp-muted);text-transform:uppercase;letter-spacing:.03em}
.tbdp-check em{font-style:normal;font-weight:400;color:var(--tbdp-muted);font-size:13px}
.tbdp-check{flex-wrap:wrap}
.tbdp-bar-gap{height:12px}

/* Hidden gem chip. */
.tbdp-tag.tbdp-gem{background:var(--tbdp-accent);border-color:var(--tbdp-accent);color:var(--tbdp-on-accent)}

/* Cards open a "food nearby" map when clicked. */
.tbdp-stop[data-card],.tbdp-mini[data-card]{cursor:pointer}
.tbdp-stop[data-card]:hover,.tbdp-mini[data-card]:hover{border-color:var(--tbdp-accent)}
.tbdp-stop.is-open,.tbdp-mini.is-open{border-color:var(--tbdp-accent);cursor:default}
.tbdp-mini.is-open{grid-column:1 / -1}
.tbdp-mapbox{margin-top:14px;border:1px solid var(--tbdp-line);border-radius:14px;overflow:hidden;background:var(--tbdp-bg)}
.tbdp-mapbox iframe{display:block;width:100%;height:340px;border:0}
@media (max-width:600px){.tbdp-mapbox iframe{height:280px}}
.tbdp-mapbar{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px 12px;padding:10px 14px;font-size:13px;color:var(--tbdp-muted);background:var(--tbdp-paper);border-top:1px solid var(--tbdp-line)}
.tbdp-mapbar b{color:var(--tbdp-ink)}
.tbdp .tbdp-mapbar a{color:var(--tbdp-accent);font-weight:700}
.tbdp-mini-btns{display:flex;gap:8px;margin-left:auto}
.tbdp-mini-foot .tbdp-mini-btns .tbdp-btn{margin-left:0}
.tbdp-meal-body{flex:1;min-width:0}
.tbdp-meal-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 14px}
.tbdp-stop.tbdp-meal{grid-template-columns:auto 1fr}
