/* The open house tour planner (CC-ASK-4382; A-659, T-1347): the Add to tour button, the story page's day strip and area groups, the My tour panel, bar and sheet.
 * Tokens come from the page (the Gazette's --dark/--rule2/--muted, the site's --teal-d/--line/--soft) with fallbacks, so the same file styles both. No dark-mode literals. */
.oht,.oht-panel,.oht-sheet,.oht-ask,.oht-barbtn,.oht-add{--oht-ink:var(--ink,#1d2320);--oht-accent:var(--dark,var(--teal-d,#0b6b34));--oht-soft:var(--muted,var(--soft,#5d6862));--oht-line:var(--rule2,var(--line,#dfe5e1));
 --oht-tint:#eef5f0;--oht-shade:#e3ebe6;--oht-red:#b3301f;--oht-red-t:#fdecea;--oht-paper:#fff}
.oht *,.oht-add,.oht-panel *,.oht-sheet *,.oht-ask *,.oht-barbtn *{box-sizing:border-box}
.oht-sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
html.oht-lock,html.oht-lock body{overflow:hidden}

/* the button every card carries */
.oht-add{display:inline-flex;align-items:center;justify-content:center;min-height:44px;min-width:44px;padding:0 16px;border:2px solid var(--oht-accent);border-radius:999px;background:#fff;color:var(--oht-accent);font:700 14px/1 inherit;font-family:inherit;white-space:nowrap;cursor:pointer}
.oht-add.on{background:var(--oht-accent);color:#fff}
.oht-add:focus-visible,.oht-btn:focus-visible,.oht-gh:focus-visible,.oht-all:focus-visible,.oht-v:focus-visible,.oht-rm:focus-visible,.oht-x:focus-visible,.oht-barbtn:focus-visible,.oht-daybtn:focus-visible{outline:3px solid var(--oht-accent);outline-offset:2px}
.oht-in{background:var(--oht-tint)!important;box-shadow:inset 4px 0 0 var(--oht-accent)}
.ohc-pr{display:flex;flex-direction:column;align-items:flex-end;gap:6px}
.listing-card .oht-add{margin-top:8px;position:relative;z-index:2}

/* the story page: intro, days, controls, two columns */
.oht{container-type:inline-size;margin:14px 0 18px;min-width:0}
.oht-intro{margin:0 0 10px;color:var(--oht-soft);font-size:.95rem}
.oht-days{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(84px,1fr);gap:6px;overflow-x:auto;padding:2px 2px 6px;margin:0 0 10px}
.oht-daybtn{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:64px;border:1px solid var(--oht-line);border-radius:10px;padding:6px;background:#fff;color:var(--oht-ink);text-decoration:none;text-align:center}
.oht-daybtn b{font-size:.85rem}.oht-daybtn small{color:var(--oht-soft);font-size:.74rem}.oht-daybtn .n{font-size:1.3rem;font-weight:800;color:var(--oht-accent);line-height:1.15}
.oht-daybtn .pk{display:block;min-height:1em;font-size:.72rem;font-weight:700;color:var(--oht-accent)}
.oht-daybtn.on{border:2px solid var(--oht-accent);background:var(--oht-tint);padding:5px}
.oht-ctl{display:flex;flex-wrap:wrap;gap:8px;align-items:center;padding:10px;border:1px solid var(--oht-line);border-radius:10px;background:#f7f8f6;margin:0 0 12px}
.oht-ctl[hidden]{display:none}
.oht-ctl label{font-weight:700;font-size:.82rem;color:var(--oht-ink)}
.oht-ctl select,.oht-ctl input{min-height:44px;border:1px solid var(--oht-line);border-radius:999px;padding:6px 12px;font:inherit;font-size:.88rem;background:#fff;color:var(--oht-ink);max-width:100%}
.oht-ctl input{width:170px}
.oht-near form{display:flex;gap:6px;align-items:center}
.oht-near button{min-height:44px;min-width:44px;border:1px solid var(--oht-accent);border-radius:999px;background:#fff;color:var(--oht-accent);font:700 .85rem inherit;font-family:inherit;padding:0 14px;cursor:pointer}
.oht-nearmsg{flex-basis:100%;margin:0;font-size:.82rem;color:var(--oht-soft)}.oht-nearmsg:empty{display:none}
.oht-note{font-size:.82rem;color:var(--oht-soft)}
.oht-cols{display:grid;grid-template-columns:minmax(0,1fr);gap:18px;align-items:start}
.oht-dock{display:none;position:sticky;top:12px;align-self:start}
@container (min-width:720px){.oht-cols{grid-template-columns:minmax(0,1fr) 300px}.oht-dock{display:block}}
.oht-daysec h3{margin:6px 0 4px;font-size:1.05rem}
.oht-dayline{margin:0 0 4px;font-size:.88rem;color:var(--oht-soft)}
.oht-group{margin:12px 0 0}
.oht-ghead{display:flex;align-items:center;gap:8px;background:var(--oht-shade);border-top:2px solid var(--oht-ink);border-bottom:1px solid var(--oht-line);border-radius:8px 8px 0 0;padding:0 8px 0 0}
.oht-gh{display:flex;flex:1;min-width:0;align-items:center;gap:8px;min-height:44px;padding:6px 8px 6px 12px;border:0;background:none;color:var(--oht-ink);font:800 1rem/1.25 inherit;font-family:inherit;text-align:left;cursor:pointer}
.oht-gh .oht-gc{font-weight:400;color:var(--oht-soft);font-size:.82rem;overflow:hidden;text-overflow:ellipsis}
.oht-caret{font-size:.75rem}
.oht-gcount{font-size:.8rem;font-weight:700;color:var(--oht-accent);white-space:nowrap}
.oht-all{min-height:44px;min-width:44px;padding:0 10px;border:0;background:none;color:var(--oht-accent);font:700 .85rem inherit;font-family:inherit;text-decoration:underline;cursor:pointer;white-space:nowrap}
.oht-tbl{width:100%;border-collapse:collapse;border:1px solid var(--oht-line);border-top:0;background:#fff;table-layout:fixed}
.oht-tbl td{padding:0;border-top:1px solid var(--oht-line)}
.oht-row:first-child td{border-top:0}
.oht-r{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 10px;align-items:center;padding:8px 10px}
.oht-main{min-width:0}
.oht-a{display:inline-block;font-weight:800;color:var(--oht-accent);font-size:1rem;overflow-wrap:anywhere;min-height:24px}
.oht-pr{display:block;font-weight:800}.oht-pr small{font-weight:400;color:var(--oht-soft);font-size:.82rem}
.oht-t{display:block;font-size:.84rem;font-weight:700;color:var(--oht-red)}
.oht-acts{display:flex;align-items:center;gap:4px;flex-wrap:wrap;justify-content:flex-end}
.oht-acts .cpf-share{margin:0}
.oht-off{display:none}
.oht-none{padding:12px;border:1px solid var(--oht-line);border-top:0;margin:0;font-size:.9rem}
.oht-tbl+.pg-bar{border:1px solid var(--oht-line);border-top:0;padding:4px 10px 8px;margin:0}

/* the panel, on the page or in the sheet */
.oht-panel{border:2px solid var(--oht-accent);border-radius:12px;background:#fff;overflow:hidden;color:var(--oht-ink)}
.oht-ph{margin:0;padding:10px 14px;background:var(--oht-accent);color:#fff;font-size:1rem;display:flex;justify-content:space-between;gap:10px}
.oht-empty,.oht-fine{margin:0;padding:10px 14px;font-size:.84rem;color:var(--oht-soft)}
.oht-visit{display:flex;flex-wrap:wrap;gap:6px;align-items:center;padding:8px 14px;border-bottom:1px solid var(--oht-line)}
.oht-vl{font-size:.82rem;font-weight:700;margin-right:2px}
.oht-v{min-height:44px;min-width:44px;padding:0 10px;border:1px solid var(--oht-line);border-radius:999px;background:#fff;color:var(--oht-ink);font:600 .82rem inherit;font-family:inherit;cursor:pointer}
.oht-v.on{background:var(--oht-accent);border-color:var(--oht-accent);color:#fff;font-weight:700}
.oht-best{margin:0;padding:9px 14px;background:var(--oht-tint);font-size:.86rem;border-bottom:1px solid var(--oht-line)}
.oht-stops{list-style:none;margin:0;padding:0}
.oht-stop{display:grid;grid-template-columns:30px minmax(0,1fr) auto 44px;gap:2px 8px;padding:8px 6px 8px 14px;border-bottom:1px solid var(--oht-line);align-items:start}
.oht-num{width:26px;height:26px;border-radius:50%;background:var(--oht-accent);color:#fff;font-weight:800;display:grid;place-items:center;font-size:.8rem;margin-top:2px}
.oht-stop.late .oht-num{background:var(--oht-red)}
.oht-sm{display:flex;flex-direction:column;min-width:0}.oht-sm b{font-size:.92rem;overflow-wrap:anywhere}.oht-sm a{color:var(--oht-ink)}
.oht-w{font-size:.78rem;color:var(--oht-soft)}
.oht-arr{display:flex;flex-direction:column;align-items:flex-end;font-weight:800;color:var(--oht-accent);font-size:.85rem;white-space:nowrap}
.oht-arr small{font-weight:400;font-size:.68rem;color:var(--oht-soft)}
.oht-stop.late .oht-arr{color:var(--oht-red)}
.oht-rm{width:44px;height:44px;border:0;background:none;color:var(--oht-soft);font-size:1rem;cursor:pointer;margin:-6px 0 0}
.oht-lt{grid-column:2/5;font-size:.78rem;color:var(--oht-red);font-weight:700}
.oht-drive{padding:3px 14px 3px 52px;font-size:.78rem;color:var(--oht-soft);background:#fafbfa;border-bottom:1px solid var(--oht-line)}
.oht-btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 14px;border:1px solid var(--oht-accent);border-radius:10px;background:#fff;color:var(--oht-accent);font:700 .9rem inherit;font-family:inherit;cursor:pointer;text-align:center}
.oht-btn.pri{background:var(--oht-accent);color:#fff}
.oht-clear{margin:10px 14px 12px}

/* the bottom bar and the full sheet (a phone, or any page without the docked panel) */
.oht-barbtn{position:fixed;left:10px;right:10px;bottom:10px;z-index:40;display:flex;justify-content:space-between;align-items:center;gap:10px;min-height:48px;padding:10px 14px;border:0;border-radius:14px;background:var(--oht-accent);color:#fff;font:800 .95rem inherit;font-family:inherit;box-shadow:0 4px 16px rgba(0,0,0,.28);cursor:pointer}
.oht-barbtn[hidden]{display:none}
.oht-barbtn i{background:#fff;color:var(--oht-accent);border-radius:999px;padding:4px 10px;font-style:normal;font-size:.8rem}
.oht-sheet{position:fixed;inset:0;z-index:60;background:#fff;overflow:auto;display:flex;flex-direction:column}
.oht-sheet[hidden]{display:none}
.oht-sheet-h{display:flex;align-items:center;justify-content:space-between;padding:6px 6px 6px 16px;border-bottom:1px solid var(--oht-line);position:sticky;top:0;background:#fff;z-index:1}
.oht-x{width:44px;height:44px;border:0;background:none;font-size:1.3rem;color:var(--oht-ink);cursor:pointer}
.oht-sheet-b{padding:12px 12px 24px}
.oht-ask{position:fixed;left:10px;right:10px;bottom:70px;z-index:70;max-width:460px;margin:0 auto;background:#fff;border:2px solid var(--oht-accent);border-radius:12px;padding:12px 14px;box-shadow:0 8px 28px rgba(0,0,0,.3)}
.oht-ask p{margin:0 0 10px;font-size:.92rem}.oht-ask-b{display:flex;flex-wrap:wrap;gap:8px}
@media (max-width:520px){.oht-r{grid-template-columns:minmax(0,1fr)}.oht-acts{justify-content:flex-start}.oht-ctl input{width:130px}.oht-stop{grid-template-columns:30px minmax(0,1fr) auto 40px}.oht-rm{width:40px}}
@media print{.oht-barbtn,.oht-sheet,.oht-ask,.oht-add{display:none!important}}
