/* Patagonia only. Shared tokens, calendar cells and the day panel come from assets/css/huthound.css. */
:root { --orange: #E8730C; --closed: #6F6358; --yellow: #F6D04A; --sky: #8EC5EC; --cell-dark: #2A2116; --cell-dark-soft: rgba(42,33,22,.72); }
:root[data-theme="dark"] { --orange: #D9680A; --closed: #5B5048; --yellow: #E2B21F; --sky: #79B4DE; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --orange: #D9680A; --closed: #5B5048; --yellow: #E2B21F; --sky: #79B4DE; } }
/* Patagonia day colours: g private · y dorm + camping · o camping only · b dorm only · r full · k closed · x no info */

.src { margin: 0; color: var(--ink-faint); font-size: 12.5px; }
.src b { color: var(--ink-soft); font-weight: 600; }
.src .live { color: var(--green); font-weight: 700; }

.chip .tk { font-size: 10px; font-weight: 800; letter-spacing: .04em; padding: 1px 5px; border-radius: 4px; background: rgba(0,0,0,.08); }
.chip[aria-pressed="true"] .tk { background: rgba(255,255,255,.22); }

.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; background: var(--surface); }
.seg button { font: inherit; font-size: 12.5px; font-weight: 600; border: 0; border-right: 1px solid var(--line); background: transparent; color: var(--ink-soft); padding: 5px 11px; cursor: pointer; }
.seg button:last-child { border-right: 0; }
.seg button[aria-checked="true"] { background: var(--accent); color: var(--accent-ink); }

.day.y { background: var(--yellow); } .day.b { background: var(--sky); }
.day.y, .day.b { color: var(--cell-dark); }
.day.y .dn i, .day.b .dn i, .day.y .pl.off, .day.b .pl.off { color: var(--cell-dark-soft); }
.day.k { background: var(--closed); }
.day .full { text-align: center; }
.pl .v { letter-spacing: -.01em; }
.zone-tag { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--chip); color: var(--ink-soft); }
.sec .stats { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.sec .stat { font-size: 11.5px; color: var(--ink-soft); background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 2px 9px; font-variant-numeric: tabular-nums; }
.sec .stat b { color: var(--ink); }
.sec .nodata { margin-top: 12px; padding: 10px 12px; border-radius: 8px; background: var(--bg); border: 1px dashed var(--line); color: var(--ink-soft); font-size: 13px; }

details.list { margin-top: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; }
details.list summary { cursor: pointer; font-family: var(--font-display); font-weight: 800; font-size: 16px; }
details.list .ptable td.num, details.list .ptable th.num { text-align: right; font-variant-numeric: tabular-nums; }
details.list .ptable .zh td { background: var(--bg); font-weight: 700; color: var(--ink-soft); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.bar-pct { display: inline-block; height: 6px; border-radius: 3px; background: var(--green); vertical-align: middle; margin-left: 6px; }
.panel td.num.na { color: var(--ink-faint); }
.panel .where a { color: var(--accent); font-weight: 600; }
.day .pv { font-size: 11.5px; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.25; font-stretch: 100%; }
.day.x .pv { color: var(--empty-ink); }
@media (max-width: 700px) { .bar { position: static; } }

/* password card (same look as the TMB one) */
.pat-lock { margin-top: 28px; }
.lock-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: clamp(20px, 4vw, 40px); display: grid; justify-items: center; text-align: center; gap: 10px; max-width: 560px; margin: 0 auto; }
.lock-ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--chip); color: var(--accent); }
.lock-card h2 { margin: 4px 0 0; font-family: var(--font-display); font-stretch: 108%; font-weight: 800; font-size: clamp(22px, 3vw, 28px); }
.lock-card p { margin: 0; color: var(--ink-soft); max-width: 46ch; }
.upd-lock { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center; margin-top: 6px; }
.upd-lock input { font: inherit; font-size: 15px; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); min-width: 0; width: 280px; max-width: 100%; }
.upd-lock input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.upd-msg { font-size: 13px; color: var(--ink-soft); min-height: 1.2em; }
.upd-msg.bad { color: var(--red); }
