/* Booking pages (public/meet-app.js). Light only, square corners, one accent colour per brand. */
:root { --brand: #2f3d3a; --ink: #1f1f1f; --muted: #6b6b6b; --line: #e3e0da; --bg: #f7f5f1; --bad: #a3271f; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 -apple-system, "Segoe UI", Helvetica, Arial, "Hiragino Sans", "Yu Gothic", sans-serif; }
.top { background: var(--brand); color: #fff; padding: 14px 20px; display: flex; align-items: center; justify-content: space-between; }
.top .logo { height: 30px; display: block; }
.top .brandname { font-size: 15px; letter-spacing: .02em; }
.top a { color: #fff; font-size: 14px; }
.topnav { display: flex; gap: 18px; align-items: center; }
.wrap { max-width: 720px; margin: 0 auto; padding: 28px 20px 56px; }
.wrap.wide { max-width: 1080px; }
h1 { font-size: 28px; font-weight: 600; margin: 0 0 6px; }
h2 { font-size: 19px; font-weight: 600; margin: 24px 0 10px; }
h3 { font-size: 16px; font-weight: 600; margin: 18px 0 10px; }
.meta { color: var(--muted); margin: 0 0 12px; font-variant-numeric: tabular-nums; }
.lead { margin: 0 0 8px; max-width: 60ch; }
.muted { color: var(--muted); }
.body { background: #fff; border: 1px solid var(--line); padding: 20px 22px 24px; margin-top: 20px; }
.tz { font-size: 14px; color: var(--muted); margin: 0 0 4px; }
.tz select { font: inherit; padding: 4px 6px; border: 1px solid var(--line); background: #fff; max-width: 220px; }
.days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; }
.day { flex: 0 0 auto; width: 68px; padding: 8px 4px; border: 1px solid var(--line); background: #fff; cursor: pointer; display: flex; flex-direction: column; align-items: center; font: inherit; color: var(--ink); }
.day .dow, .day .mon { font-size: 12px; color: var(--muted); }
.day .dnum { font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; }
.day.on { border-color: var(--brand); background: var(--brand); color: #fff; }
.day.on .dow, .day.on .mon { color: #fff; }
.tgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.time { padding: 10px 6px; border: 1px solid var(--brand); color: var(--brand); background: #fff; cursor: pointer; font: inherit; font-weight: 600; font-variant-numeric: tabular-nums; }
.time:hover, .time:focus-visible { background: var(--brand); color: #fff; }
.form { display: flex; flex-direction: column; max-width: 420px; }
.form label { font-size: 14px; font-weight: 600; margin: 12px 0 4px; }
.form input, .form textarea, .row input, .row select { font: inherit; padding: 10px 12px; border: 1px solid #cfcac2; background: #fff; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--brand); outline-offset: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
button { font: inherit; cursor: pointer; }
.primary, .btnlink.primary { background: var(--brand); color: #fff; border: 0; padding: 12px 20px; font-weight: 600; margin-top: 16px; text-decoration: none; display: inline-block; }
.primary:disabled { opacity: .6; cursor: default; }
.btnlink.small { padding: 6px 12px; margin: 0 0 0 6px; font-size: 14px; }
.quiet { background: #fff; color: var(--ink); border: 1px solid #cfcac2; padding: 11px 18px; margin-top: 16px; }
.danger { background: var(--bad); color: #fff; border: 0; padding: 12px 20px; font-weight: 600; margin-top: 16px; align-self: flex-start; }
.link { background: none; border: 0; padding: 0; color: var(--brand); text-decoration: underline; align-self: flex-start; font-size: 14px; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.row .quiet, .row .primary { margin-top: 0; }
.chosen { font-weight: 600; margin: 4px 0 8px; }
.err { color: var(--bad); margin: 10px 0 0; }
.warn { background: #fff6e5; border-left: 0; padding: 10px 12px; margin: 4px 0 8px; font-size: 14px; }
.done h2 { margin-top: 0; }
.others { margin-top: 18px; font-size: 14px; color: var(--muted); }
.cards { display: grid; gap: 14px; margin-top: 18px; }
.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); padding: 20px 22px; color: inherit; text-decoration: none; }
.card:hover, .card:focus-visible { border-color: var(--brand); }
.card h2 { margin: 0 0 4px; }
.card p { margin: 0 0 10px; }
.cta { align-self: flex-start; margin-top: 6px; background: var(--brand); color: #fff; padding: 11px 20px; font-weight: 600; font-size: 15px; }
.card:hover .cta, .card:focus-visible .cta { filter: brightness(1.12); }
.booked { margin-top: 22px; font-size: 14px; color: var(--muted); }
.panel { background: #fff; border: 1px solid var(--line); padding: 4px 20px 18px; margin: 0 0 16px; }
.panel table { border-collapse: collapse; width: 100%; font-size: 14px; font-variant-numeric: tabular-nums; }
.panel th, .panel td { text-align: left; padding: 7px 8px; border-bottom: 1px solid var(--line); }
.panel tr.muted td { color: var(--muted); text-decoration: line-through; }
.bad { color: var(--bad); }
a { color: var(--brand); }
@media (max-width: 520px) { h1 { font-size: 24px; } .body { padding: 16px; } .wrap { padding: 20px 14px 40px; } }

.tzwrap { margin: 0 0 4px; }
.tz .now { color: var(--muted); font-variant-numeric: tabular-nums; }
.tzhint { margin: 6px 0 4px; }
.tzhint .link { font-size: 14px; }

.cal-layout { display: grid; grid-template-columns: minmax(0, 340px) 1fr; gap: 28px; align-items: start; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cal-title { margin: 0; font-size: 16px; }
.cal-nav { background: #fff; border: 1px solid var(--line); width: 34px; height: 34px; font-size: 20px; line-height: 1; color: var(--ink); }
.cal-nav:disabled { opacity: .3; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-dow { font-size: 12px; color: var(--muted); text-align: center; padding: 4px 0; }
.cal-day { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; font-size: 15px; font-variant-numeric: tabular-nums; border: 0; }
.cal-day.closed { color: #b9b4ab; background: transparent; text-decoration: line-through; text-decoration-color: #d8d3ca; }
.cal-day.open { background: color-mix(in srgb, var(--brand) 14%, #fff); color: var(--brand); font-weight: 700; cursor: pointer; }
.cal-day.open:hover, .cal-day.open:focus-visible { background: color-mix(in srgb, var(--brand) 28%, #fff); }
.cal-day.open.on { background: var(--brand); color: #fff; }
.cal-day.today { outline: 1px solid var(--muted); outline-offset: -1px; }
.cal-key { font-size: 13px; color: var(--muted); margin: 10px 0 0; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.cal-key .key { display: inline-block; width: 14px; height: 14px; }
.cal-key .key.open { background: color-mix(in srgb, var(--brand) 14%, #fff); border: 1px solid var(--brand); }
.cal-key .key.closed { background: #fff; border: 1px solid var(--line); }
.times h3 { margin-top: 0; }
@media (max-width: 680px) { .cal-layout { grid-template-columns: 1fr; gap: 18px; } }
.topnav a { white-space: nowrap; }
@media (max-width: 520px) { .top { gap: 12px; } .top .brandname { font-size: 14px; } .topnav { gap: 12px; } }
