/* Hypnotherapy 1964 — shared stylesheet for the rebuilt pages.
   Brand colours and fonts follow Hypnotherapy1964-StyleGuide.pdf;
   weights and sizes are raised a little for readability. */

:root {
  --night: #1c1c2e;      /* brand navy: header, footer, calm bands */
  --lamp: #b8915a;       /* brand gold: buttons, highlights on dark */
  --lamp-deep: #85622f;  /* gold dark enough for text/links on light */
  --pine: #f1e5d3;       /* warm timber tint taken from the garden room */
  --paper: #fbf9f6;      /* page background */
  --ink: #2c2c38;        /* body text */
  --muted: #5d5966;      /* secondary text */
  --line: #e5dfd7;       /* brand warm grey: rules and borders */
  --sage: #7a9e8a;       /* brand sage: italic heading accents on dark, focus rings */
  --sage-text: #5f8570;  /* sage a shade deeper so italic accents stay readable on light */
  --on-night: #d9d4ce;   /* body text on navy */

  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --measure: 66ch;
  --wide: 1100px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.7;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--lamp-deep); text-underline-offset: 3px; }
a:hover { color: var(--night); }
:focus-visible { outline: 3px solid var(--sage); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--night);
  line-height: 1.12;
  letter-spacing: -0.005em;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.5rem, 5.8vw, 4.2rem); font-weight: 300; }
h2 { font-size: clamp(2rem, 3.8vw, 2.75rem); font-weight: 300; }
h1 em, h2 em { font-style: italic; color: var(--sage-text); }
.band-night h2 em { color: var(--sage); }
h3 { font-size: 1.45rem; font-weight: 500; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wide); margin: 0 auto; padding: 0 var(--gutter); }
.prose { max-width: var(--measure); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 50; background: #fff; padding: 8px 12px; }

/* ---------- header ---------- */
.site-head { background: var(--night); color: #fff; }
.site-head .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 72px; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.brand:hover, .brand:focus-visible { color: var(--lamp); }
.brand img { width: 40px; height: auto; }
.brand-name { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; line-height: 1.05; }
.brand-name small { display: block; font-family: var(--sans); font-size: 0.8rem; font-weight: 400; color: var(--on-night); }
.site-nav { display: flex; align-items: center; gap: 4px 22px; flex-wrap: wrap; }
.site-nav a { color: var(--on-night); text-decoration: none; font-size: 0.95rem; padding: 6px 0; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 var(--lamp); }
.head-call {
  color: var(--night); background: var(--lamp); text-decoration: none;
  font-weight: 500; font-size: 0.95rem; padding: 9px 16px; border-radius: 6px; white-space: nowrap;
}
.head-call:hover { background: #cda36a; color: var(--night); }

@media (max-width: 760px) {
  .site-head .wrap { padding-top: 10px; padding-bottom: 6px; gap: 8px 12px; }
  .site-nav { order: 3; width: 100%; gap: 0 18px; }
  .brand img { width: 32px; }
  .brand-name { font-size: 1.15rem; }
  .head-call { padding: 8px 12px; font-size: 0.9rem; }
  .head-call .long { display: none; }
}

/* ---------- buttons ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 12px; }
.btn {
  display: inline-block; text-decoration: none; font-family: var(--sans);
  font-size: 1.05rem; font-weight: 500; padding: 14px 22px; border-radius: 8px;
  border: 2px solid var(--night); line-height: 1.2; cursor: pointer;
}
.btn-main { background: var(--night); color: #fff; }
.btn-main:hover { background: #2d2d46; color: #fff; }
.btn-quiet { background: transparent; color: var(--night); }
.btn-quiet:hover { background: var(--night); color: #fff; }
.small-print { font-size: 0.95rem; color: var(--muted); }

/* ---------- hero ---------- */
.hero { padding: clamp(40px, 7vw, 88px) 0 clamp(40px, 6vw, 72px); }
.hero .wrap { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero-lede { font-size: 1.22rem; color: var(--ink); max-width: 36em; }
.hero-night { background: var(--night); color: var(--on-night); }
.hero-night h1 { color: #fff; }
.hero-night h1 em { color: var(--sage); }
.hero-night .hero-lede { color: #f1ede8; }
.hero-night .btn-main { background: var(--lamp); color: var(--night); border-color: var(--lamp); }
.hero-night .btn-main:hover { background: #cda36a; }
.hero-night .btn-quiet { color: #fff; border-color: rgba(255, 255, 255, 0.6); }
.hero-night .btn-quiet:hover { background: #fff; color: var(--night); }
.hero-night .small-print, .hero-night .room-figure figcaption { color: #b9b3ad; }
.hero-night .room-figure img { box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.7); }
.room-figure { margin: 0; }
.room-figure img { border-radius: 10px; box-shadow: 0 18px 40px -22px rgba(28, 28, 46, 0.55); }
.room-figure figcaption { font-size: 0.95rem; color: var(--muted); margin-top: 12px; }
@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .room-figure { max-width: 520px; }
}

/* ---------- sections ---------- */
/* 3px sage line at every join between blocks (Peter, 24 Sep) */
main > section, .site-foot { border-top: 3px solid var(--sage); }
.band { padding: clamp(48px, 7vw, 88px) 0; }
.band-pine { background: var(--pine); }
.band-night { background: var(--night); color: var(--on-night); }
.band-night h2 { color: #fff; }

.signs { list-style: none; padding: 0; margin: 24px 0 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px 36px; max-width: 900px; }
.signs li { padding: 10px 0 10px 28px; border-bottom: 1px solid rgba(28, 28, 46, 0.12); position: relative; }
.signs li::before { content: ''; position: absolute; left: 4px; top: 21px; width: 9px; height: 9px; border-radius: 50%; background: var(--lamp); }

/* ---------- breathing exercise ---------- */
.breathe .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.breathe-stage { display: grid; place-items: center; min-height: 340px; }
.breathe-circle {
  width: min(300px, 72vw); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 50% 45%, #f3d9ae 0%, #d9ac6c 38%, rgba(184, 145, 90, 0.35) 68%, rgba(184, 145, 90, 0) 72%);
  transform: scale(0.62);
  transition: transform 0.6s ease;
}
.breathe-word { font-family: var(--serif); font-size: 1.7rem; font-weight: 600; color: var(--night); }
.breathe.is-running .breathe-circle { animation: breathe 10s ease-in-out infinite; }
@keyframes breathe {
  0%   { transform: scale(0.62); }
  40%  { transform: scale(1); }
  100% { transform: scale(0.62); }
}
.breathe-btn { background: var(--lamp); color: var(--night); border-color: var(--lamp); }
.breathe-btn:hover { background: #cda36a; }
.breathe-count { font-size: 0.95rem; color: var(--on-night); margin-top: 10px; min-height: 1.5em; }
@media (prefers-reduced-motion: reduce) {
  .breathe.is-running .breathe-circle { animation: none; transform: scale(0.85); }
}
@media (max-width: 820px) {
  .breathe .wrap { grid-template-columns: 1fr; gap: 0; }
  .breathe-stage { min-height: 250px; }
  .breathe-circle { width: min(240px, 64vw); }
}

/* ---------- session steps (a real sequence) ---------- */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 28px 0 0; max-width: 860px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 56px 1fr; gap: 4px 18px; padding: 18px 0; border-top: 1px solid var(--line); }
.steps li::before {
  content: counter(step); grid-row: span 2;
  font-family: var(--serif); font-size: 2.2rem; font-weight: 600; color: var(--lamp-deep); line-height: 1;
}
.steps h3 { margin: 0; font-size: 1.35rem; }
.steps p { margin: 0; color: var(--ink); }

/* ---------- about ---------- */
.about .wrap { display: grid; grid-template-columns: 260px 1fr; gap: clamp(24px, 5vw, 56px); align-items: start; }
.about img { border-radius: 50%; width: 240px; }
.about blockquote { margin: 20px 0 0; font-family: var(--serif); font-size: 1.5rem; font-style: italic; line-height: 1.4; color: var(--night); max-width: 30em; }
@media (max-width: 700px) {
  .about .wrap { grid-template-columns: 1fr; }
  .about img { width: 170px; }
}

.trained { margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(28, 28, 46, 0.15); }
.trained img { width: 260px; border-radius: 4px; margin-bottom: 12px; }
.trained p { font-size: 0.98rem; color: var(--muted); margin: 0; max-width: 44em; }

/* ---------- FAQ ---------- */
.faq { max-width: var(--measure); margin-top: 20px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 36px 18px 0; position: relative; font-weight: 500; font-size: 1.12rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 6px; top: 12px; font-family: var(--serif); font-size: 1.8rem; color: var(--lamp-deep); }
.faq details[open] summary::after { content: '\2212'; }
.faq details p { margin: 0 0 18px; color: var(--ink); }

/* ---------- care note ---------- */
.care { border-left: 4px solid var(--sage); background: #fff; padding: 18px 22px; max-width: var(--measure); border-radius: 0 8px 8px 0; font-size: 1.02rem; }
.care p:last-child { margin-bottom: 0; }

/* ---------- closing call to action ---------- */
.closing h2 { color: #fff; }
.closing .btn-main { background: var(--lamp); color: var(--night); border-color: var(--lamp); }
.closing .btn-main:hover { background: #cda36a; }
.closing .btn-quiet { color: #fff; border-color: rgba(255, 255, 255, 0.6); }
.closing .btn-quiet:hover { background: #fff; color: var(--night); }
.closing .small-print { color: var(--on-night); }

/* ---------- footer ---------- */
.site-foot { background: #15151f; color: var(--on-night); padding: 40px 0 28px; font-size: 0.95rem; }
.site-foot .wrap { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 28px; }
.site-foot h2 { font-size: 1.25rem; color: #fff; margin-bottom: 8px; }
.site-foot a { color: var(--on-night); }
.site-foot a:hover { color: #fff; }
.site-foot ul { list-style: none; padding: 0; margin: 0; }
.site-foot li { margin: 4px 0; }
.foot-base { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 18px; margin-top: 8px; font-size: 0.88rem; }
@media (max-width: 760px) { .site-foot .wrap { grid-template-columns: 1fr; } }

/* ---------- homepage ---------- */
.hero-centre { text-align: center; }
.hero-centre .wrap { display: block; }
.hero-centre .hero-lede, .hero-centre .hero-where { margin-left: auto; margin-right: auto; max-width: 38em; }
.hero-centre .actions { justify-content: center; }
.hero-brand { display: inline-flex; align-items: center; gap: 18px; margin-bottom: 30px; text-align: left; }
.hero-brand img { width: 84px; }
.hero-brand .name { font-family: var(--serif); font-size: 1.9rem; color: #fff; line-height: 1.1; }
.hero-brand .who { font-size: 0.98rem; color: var(--on-night); }
.hero-where { color: #b9b3ad; font-size: 1rem; }

.quote-band { background: var(--sage); color: #fff; text-align: center; padding: clamp(36px, 5vw, 56px) 0; }
.quote-band p { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(1.35rem, 2.6vw, 1.9rem); line-height: 1.45; max-width: 34em; margin: 0 auto; }

.help-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; margin-top: 30px; }
.help-card { background: #fff; border-top: 3px solid var(--sage); padding: 22px 22px 20px; border-radius: 0 0 8px 8px; display: flex; flex-direction: column; }
.help-card h3 { font-size: 1.45rem; margin-bottom: 8px; }
.help-card p { font-size: 1rem; color: var(--muted); margin: 0 0 12px; flex: 1; }
.help-card a { font-weight: 500; font-size: 1rem; }

.band-gold { background: var(--lamp); color: var(--night); text-align: center; }
.band-gold h2 { color: var(--night); }
.band-gold h2 em { color: #fff; }
.band-gold .actions { justify-content: center; }
.band-gold .btn-main { background: var(--night); color: #fff; border-color: var(--night); }
.band-gold .btn-quiet { color: var(--night); border-color: var(--night); }
.band-gold .btn-quiet:hover { background: var(--night); color: #fff; }
.band-gold .small-print { color: var(--night); }
.band-gold a:not(.btn) { color: var(--night); }

.booking-wrap { background: #fff; border-radius: 10px; padding: clamp(8px, 2vw, 20px); margin-top: 24px; border: 1px solid var(--line); }
.faq-night details { border-color: rgba(255, 255, 255, 0.15); }
.faq-night summary { color: #fff; }
.faq-night summary::after { color: var(--lamp); }
.faq-night details p { color: var(--on-night); }

/* ---------- short hero (contact, what I help with) ---------- */
.hero-short { padding: clamp(40px, 6vw, 72px) 0; }
.help-card-dark { background: var(--night); border-top-color: var(--lamp); }
.help-card-dark h3 { color: #fff; }
.help-card-dark p { color: var(--on-night); }
.help-card-dark a { color: var(--lamp); }
.help-card-dark a:hover { color: #fff; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.detail-list { margin: 0 0 8px; }
.detail-list dt { font-size: 0.9rem; color: var(--muted); margin-top: 14px; }
.detail-list dd { margin: 2px 0 0; font-size: 1.08rem; }
.hours-title { margin-top: 30px; }
.hours { border-collapse: collapse; width: 100%; max-width: 360px; font-size: 1rem; }
.hours th { text-align: left; font-weight: 400; padding: 6px 0; border-bottom: 1px solid var(--line); }
.hours td { text-align: right; padding: 6px 0; border-bottom: 1px solid var(--line); }
.hours td.closed { color: var(--muted); }
.contact-form-wrap { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--sage); border-radius: 0 0 10px 10px; padding: clamp(20px, 4vw, 36px); }
#contact-form label { display: block; font-size: 0.98rem; font-weight: 500; margin-bottom: 16px; }
#contact-form input, #contact-form select, #contact-form textarea {
  display: block; width: 100%; margin-top: 6px; font: inherit; font-weight: 400; font-size: 1rem;
  padding: 11px 12px; border: 1px solid #cfc7bd; border-radius: 6px; background: var(--paper); color: var(--ink);
}
#contact-form input:focus, #contact-form select:focus, #contact-form textarea:focus { outline: 3px solid var(--sage); outline-offset: 1px; border-color: var(--sage); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.form-error { color: #9b2c2c; font-weight: 500; margin: 12px 0 0; }
.map-band { border-top: 3px solid var(--sage); }
@media (max-width: 820px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* ---------- back to top ---------- */
#back-to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--night); color: var(--lamp); border: 2px solid var(--lamp);
  box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.5);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.25s, transform 0.25s, visibility 0.25s, background 0.2s, color 0.2s;
}
#back-to-top.visible { opacity: 1; visibility: visible; transform: none; }
#back-to-top:hover, #back-to-top:focus-visible { background: var(--lamp); color: var(--night); }
@media (prefers-reduced-motion: reduce) { #back-to-top { transition: none; } }

/* ---------- town pages ---------- */
.getting-here { max-width: var(--measure); }
.topic-links { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.topic-links a { display: inline-block; padding: 10px 16px; border: 1px solid var(--line); border-top: 3px solid var(--sage); background: #fff; border-radius: 0 0 8px 8px; text-decoration: none; color: var(--night); font-weight: 500; }
.topic-links a:hover { border-top-color: var(--lamp); color: var(--lamp-deep); }
.site-foot .towns a { white-space: nowrap; }
.area-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 8px 40px; }
.area { padding: 18px 0; border-top: 1px solid var(--line); }
.area h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); margin-bottom: 6px; }
.area p { margin: 0 0 6px; }

/* ---------- booking ---------- */
[hidden] { display: none !important; }              /* our display rules must never beat the hidden attribute */
.book-step { min-width: 0; }                        /* fieldsets default to min-content width and would stretch the page */
.book-form { max-width: 860px; }
.book-form .hp { position: absolute; left: -9999px; }
.book-step { border: 0; padding: 0; margin: 0 0 34px; }
.book-step legend { font-family: var(--serif); font-size: 1.6rem; color: var(--night); margin-bottom: 14px; padding: 0; }
.step-no { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--night); color: var(--lamp); font-family: var(--sans); font-size: 1rem; font-weight: 500; margin-right: 8px; vertical-align: 3px; }
.choice-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.choice, .day, .time { position: relative; cursor: pointer; }
.choice input, .day input, .time input { position: absolute; opacity: 0; }
.choice span { display: block; background: #fff; border: 2px solid var(--line); border-radius: 10px; padding: 16px 18px; }
.choice strong { display: block; font-size: 1.1rem; }
.choice small { display: block; color: var(--muted); font-size: 0.95rem; margin-top: 2px; }
.choice input:checked + span, .day input:checked + span, .time input:checked + span { border-color: var(--night); box-shadow: inset 0 0 0 1px var(--night); background: #fff; }
.choice input:focus-visible + span, .day input:focus-visible + span, .time input:focus-visible + span { outline: 3px solid var(--sage); outline-offset: 2px; }
.day-row { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 12px; scroll-snap-type: x proximity; }
.day span { display: grid; place-items: center; min-width: 72px; padding: 10px 8px; background: #fff; border: 2px solid var(--line); border-radius: 10px; font-size: 0.95rem; scroll-snap-align: start; white-space: nowrap; }
.day b { font-weight: 500; color: var(--muted); font-size: 0.85rem; }
.day input:checked + span { background: var(--night); color: #fff; border-color: var(--night); }
.day input:checked + span b { color: var(--lamp); }
.times { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.times-for { width: 100%; margin: 6px 0 2px; color: var(--muted); font-size: 0.98rem; }
.time span { display: block; padding: 12px 16px; background: #fff; border: 2px solid var(--line); border-radius: 10px; font-weight: 500; }
.time input:checked + span { background: var(--lamp); border-color: var(--lamp); color: var(--night); box-shadow: none; }
.book-form label:not(.choice):not(.day):not(.time):not(.agree) { display: block; font-size: 0.98rem; font-weight: 500; margin-bottom: 16px; }
.book-form input[type=text], .book-form input[type=email], .book-form input[type=tel], .book-form textarea {
  display: block; width: 100%; margin-top: 6px; font: inherit; font-weight: 400; font-size: 1rem;
  padding: 11px 12px; border: 1px solid #cfc7bd; border-radius: 6px; background: #fff; color: var(--ink);
}
.agree { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 22px; font-size: 1rem; max-width: 60ch; }
.agree input { width: 22px; height: 22px; margin-top: 3px; flex: none; accent-color: var(--night); }
.book-btn { font-size: 1.15rem; padding: 16px 28px; }
.book-error { background: #fbeaea; border-left: 4px solid #9b2c2c; color: #6b1d1d; padding: 12px 16px; border-radius: 0 8px 8px 0; font-weight: 500; }
.day-row { flex-wrap: wrap; overflow-x: visible; }
@media (max-width: 700px) { .day-row { flex-wrap: nowrap; overflow-x: auto; } }
.book-note { background: #eef5f0; border-left: 4px solid var(--sage); padding: 12px 16px; border-radius: 0 8px 8px 0; font-weight: 500; }

/* ---------- intake form ---------- */
.field-q { font-weight: 500; margin: 0 0 10px; }
.tick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px; margin-bottom: 18px; }
.tick { display: flex; gap: 10px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; cursor: pointer; font-size: 0.98rem; }
.tick input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--night); }
.tick-wide { margin-bottom: 8px; }
.hint { display: block; color: var(--muted); font-weight: 400; margin-top: 4px; }
.intake-form select { display: block; width: 100%; margin-top: 6px; font: inherit; padding: 11px 12px; border: 1px solid #cfc7bd; border-radius: 6px; background: #fff; }

/* ---------- booking diary ---------- */
.admin-top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 24px; margin-bottom: 18px; }
.admin-tabs { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.admin-tabs a { text-decoration: none; color: var(--night); padding: 4px 0; }
.admin-tabs a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--lamp); font-weight: 500; }
.admin-day { font-size: 1.5rem; margin: 30px 0 10px; }
.admin-booking { display: grid; grid-template-columns: 90px 1fr auto; gap: 12px 18px; align-items: start; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--sage); border-radius: 0 8px 8px 0; padding: 14px 16px; margin-bottom: 10px; }
.admin-booking.is-cancelled { opacity: 0.6; border-left-color: #bbb; }
.ab-time { font-family: var(--serif); font-size: 1.5rem; color: var(--night); }
.ab-main strong { font-size: 1.1rem; margin-right: 8px; }
.ab-contact { font-size: 0.95rem; margin-top: 6px; }
.ab-notes { font-size: 0.95rem; color: var(--muted); margin: 6px 0 0; }
.ab-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.ab-actions .btn { padding: 8px 14px; font-size: 0.95rem; }
.tag { display: inline-block; font-size: 0.82rem; padding: 2px 9px; border-radius: 20px; background: #eef0f4; color: var(--night); margin: 2px 4px 2px 0; text-decoration: none; }
.tag-green { background: #e3efe7; color: #2f5a41; }
.tag-gold { background: #f5e8d4; color: #6e4f22; }
.tag-grey { background: #efedeb; color: #6b6670; }
.admin-list { list-style: none; padding: 0; }
.admin-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.admin-list .btn { padding: 6px 12px; font-size: 0.9rem; }
.admin-form input[type=date], .admin-form input[type=time], .admin-form input[type=number], .admin-form input[type=password] {
  display: block; width: 100%; margin-top: 6px; font: inherit; padding: 10px 12px; border: 1px solid #cfc7bd; border-radius: 6px; background: #fff; }
.book-form input[type=password] { display: block; width: 100%; margin-top: 6px; font: inherit; padding: 11px 12px; border: 1px solid #cfc7bd; border-radius: 6px; background: #fff; }
.admin-week td, .admin-week th { padding: 8px 10px 8px 0; vertical-align: middle; }
.admin-week input { display: inline-block !important; width: auto !important; margin: 0 !important; }
.admin-week { max-width: 820px; }
.admin-week td.small-print { text-align: left; width: 100%; line-height: 1.5; }
.admin-week tr:first-child th { white-space: nowrap; font-weight: 500; }
.mail-list { list-style: none; padding: 0; margin: 0; max-width: 760px; }
.mail-list li { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--sage); border-radius: 0 8px 8px 0; padding: 12px 14px; margin-bottom: 8px; }
.mail-list strong { display: block; font-weight: 500; line-height: 1.4; overflow-wrap: anywhere; }
.mail-meta { display: block; font-size: 0.9rem; color: var(--muted); margin: 2px 0 6px; overflow-wrap: anywhere; }
@media (max-width: 640px) { .admin-booking { grid-template-columns: 1fr; } }

/* ---------- homepage next free times ---------- */
.next-times { list-style: none; padding: 0; margin: 20px 0 8px; display: flex; flex-wrap: wrap; gap: 10px; }
.next-times a { display: grid; padding: 12px 18px; background: #fff; border: 2px solid var(--line); border-radius: 10px; text-decoration: none; color: var(--night); font-weight: 500; font-size: 1.1rem; }
.next-times a span { font-size: 0.88rem; color: var(--muted); font-weight: 400; }
.next-times a:hover { border-color: var(--lamp); }
