/* Layout only — all colors come from theme.css (canonical variable contract). */
:root { --ok: #4a7a3f; --err: #a33; }
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.6; }
.container { max-width: 1000px; margin: 0 auto; padding: 0 1.25rem; }
section { padding: 3rem 0; }
h2 { font-size: 1.8rem; margin-bottom: 1rem; }

.nav { background: var(--brand); color: var(--on-brand); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: .8rem 1.25rem; }
.brand { font-size: 1.2rem; font-weight: 800; color: var(--logo); text-decoration: none; letter-spacing: .5px; }
.nav-links { display: flex; gap: 1.4rem; }
.nav-links a { color: var(--on-brand); text-decoration: none; font-size: .95rem; }
.nav-links a:hover, .nav-links a.active { color: var(--logo); border-bottom: 2px solid var(--accent); }

.hero { background: linear-gradient(150deg, var(--hero-a) 55%, var(--hero-b) 160%); color: var(--on-brand); padding: 4.5rem 0; }
.kicker { text-transform: uppercase; letter-spacing: 2.5px; font-size: .78rem; color: var(--logo); margin-bottom: .6rem; }
.hero h1 { font-size: clamp(1.9rem, 5vw, 3rem); line-height: 1.12; color: var(--on-brand); }
.tagline { color: var(--on-brand-muted); font-size: 1.15rem; max-width: 50ch; margin: 1rem 0 1.6rem; }

.btn { display: inline-block; padding: .8rem 1.6rem; border-radius: 8px; text-decoration: none; border: none; font-weight: 700; cursor: pointer; font-size: 1rem; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { filter: brightness(1.1); }
.btn-ghost { background: transparent; color: var(--on-brand); border: 1px solid color-mix(in srgb, var(--on-brand) 40%, transparent); }
.btn-ghost:hover { background: color-mix(in srgb, var(--on-brand) 10%, transparent); }

.trustbar { background: var(--surface); border-bottom: 1px solid var(--line); }
.trust-inner { display: flex; gap: 1.5rem; flex-wrap: wrap; justify-content: center; padding: .8rem 1.25rem; font-weight: 600; font-size: .93rem; color: var(--brand); }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 1.4rem; }
.card h3 { color: var(--ink); margin-bottom: .4rem; font-size: 1.12rem; display: flex; justify-content: space-between; gap: 1rem; }
.card h3 span:last-child { color: var(--accent); white-space: nowrap; }
.card p { color: var(--muted); font-size: .95rem; }

.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.info-card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 1.4rem; }
.info-card h3 { color: var(--brand); margin-bottom: .7rem; }
.hours-table td { padding: .3rem 1rem .3rem 0; }
.hours-table td:last-child { font-weight: 700; }

/* booking page */
.book-wrap { max-width: 680px; margin: 0 auto; }
.step-label { font-weight: 700; color: var(--brand); margin: 1.6rem 0 .5rem; }
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: .6rem; }
.slot { padding: .6rem .3rem; text-align: center; border: 1.5px solid var(--line); border-radius: 8px; background: var(--surface); font: inherit; font-weight: 600; cursor: pointer; color: var(--ink); }
.slot:hover { border-color: var(--accent); }
.slot.selected { background: var(--brand); color: var(--logo); border-color: var(--brand); }
.slot.taken { opacity: .35; cursor: not-allowed; text-decoration: line-through; }
.closed { color: var(--muted); font-style: italic; }
.book-form { display: grid; gap: .75rem; background: var(--surface); padding: 1.5rem; border-radius: 12px; border: 1px solid var(--line); }
.book-form input, .book-form select { padding: .7rem; border: 1px solid var(--line); border-radius: 8px; font: inherit; background: var(--surface); color: var(--ink); }
.form-status { font-size: .95rem; padding: .7rem 1rem; border-radius: 8px; display: none; }
.form-status.ok { display: block; background: #eef4e6; color: var(--ok); border: 1px solid #cfe0bd; }
.form-status.err { display: block; background: #fbeaea; color: var(--err); border: 1px solid #ecc8c8; }
input[type=date] { min-height: 2.8rem; padding: .55rem; border: 1px solid var(--line); border-radius: 8px; font: inherit; background: var(--surface); color: var(--ink); }

/* admin / daily sheet */
.admin-wrap { max-width: 780px; margin: 0 auto; padding: 0 1.25rem 3rem; }
.admin-bar { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; margin: 1.5rem 0; }
.admin-bar .btn { padding: .55rem 1rem; font-size: .9rem; }
.sheet { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); }
.sheet th, .sheet td { border-bottom: 1px solid var(--line); padding: .55rem .8rem; text-align: left; font-size: .95rem; }
.sheet th { background: var(--brand); color: var(--on-brand); font-weight: 600; }
.sheet tr.blank td.walkin { color: color-mix(in srgb, var(--muted) 55%, transparent); font-style: italic; }
.sheet .time { font-weight: 700; white-space: nowrap; }
.sheet-note { font-size: .85rem; color: var(--muted); margin-top: .8rem; }

@media print {
  .nav, .admin-bar, footer, .no-print { display: none !important; }
  body { background: #fff; }
  .sheet { border: 1.5px solid #333; }
  .sheet th { background: #eee !important; color: #111 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

footer { background: var(--brand); color: var(--on-brand-muted); padding: 2rem 0; text-align: center; font-size: .9rem; }
footer b { color: var(--logo); }
