/* Kourt Yard — brand colours and fonts from the Kourt Yard brand sheet (design/brand-sheet.png). */
:root {
  --navy: #061b49;      /* Kourt Navy */
  --navy-2: #03102e;
  --orange: #ff7900;    /* Yard Orange */
  --pink: #ed1675;      /* Rally Pink */
  --cyan: #00acce;      /* Court Cyan */
  --cyan-ink: #007a93;  /* Court Cyan, darkened for small text on white */
  --yellow: #ffd51a;    /* Sunshine Yellow */
  --yellow-2: #e0b400;
  --red: #d7263d;
  --ink: #0f1c3f;
  --muted: #56607e;
  --line: #e2e6ef;
  --bg: #ffffff;
  --soft: #f3f7fb;
  --card: #ffffff;
  --radius: 16px;
  --shadow: 0 6px 24px rgba(6, 27, 73, .08);
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 var(--body);
}
img { max-width: 100%; height: auto; }
a { color: var(--cyan-ink); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; }
.wrap { width: min(1140px, 100% - 32px); margin-inline: auto; }
.narrow { max-width: 640px; margin-inline: auto; }
.narrow-left { max-width: 560px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small, small { font-size: .85em; }
[hidden] { display: none !important; }

/* ---------- brand ---------- */
.logo { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; }
.logo-img { display: block; height: 44px; width: auto; }
.logo small { font-size: .8rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.tagline { font-family: var(--body); font-weight: 700; font-size: clamp(1.25rem, 2.6vw, 1.6rem); color: var(--navy); margin: 0 0 1rem; letter-spacing: -.01em; }
.tagline i, .closer-title i { font-style: normal; }
.dot-o { color: var(--orange); } .dot-p { color: var(--pink); } .dot-c { color: var(--cyan); } .dot-y { color: var(--yellow); }
.tagline-light { color: #fff; font-size: 1.1rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4em;
  padding: .7em 1.3em; border-radius: 999px; border: 2px solid transparent;
  font: 700 1rem var(--body); text-decoration: none; cursor: pointer;
  transition: transform .12s, background .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn-yellow { background: var(--yellow); color: var(--navy); box-shadow: 0 4px 0 var(--yellow-2); }
.btn-yellow:hover { background: #ffdd45; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: rgba(6, 27, 73, .06); }
.btn-danger { background: var(--red); color: #fff; }
.btn-sm { padding: .4em .9em; font-size: .9rem; }
.btn-lg { padding: .85em 1.7em; font-size: 1.08rem; }
.linkbtn { background: none; border: 0; padding: 0; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }
.inline { display: inline; }

/* ---------- header / footer ---------- */
.announce { background: var(--pink); color: #fff; text-align: center; padding: .5em 16px; font-weight: 600; }
.topbar { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.topbar-in { display: flex; align-items: center; gap: 1rem; min-height: 68px; }
.mainnav { display: flex; gap: 1.4rem; margin-left: auto; }
.mainnav a { color: var(--navy); text-decoration: none; font-weight: 600; }
.mainnav a:hover { color: var(--pink); }
.footer { background: var(--navy); color: #cdd5ea; padding: 2.5rem 0 1.5rem; }
.footer a { color: #fff; }
.footer .logo-img { height: 56px; margin-bottom: .6rem; }
.footer-in { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.footer-small { font-size: .9rem; }
@media (max-width: 760px) {
  .mainnav { display: none; }
  .topbar .btn { margin-left: auto; }
  .footer-in { grid-template-columns: 1fr; gap: 1rem; }
  .logo-img { height: 34px; }
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 3.5rem 0 3rem; }
.splash { position: absolute; pointer-events: none; opacity: .9; }
.splash-a { width: 340px; height: 110px; background: var(--yellow); top: 30px; left: -140px; transform: rotate(-18deg); border-radius: 60% 40% 70% 30%; }
.splash-b { width: 260px; height: 90px; background: var(--pink); bottom: 40px; right: -90px; transform: rotate(22deg); border-radius: 40% 60% 30% 70%; }
.splash-c { width: 140px; height: 50px; background: var(--cyan); top: 18px; right: 34%; transform: rotate(12deg); border-radius: 50%; opacity: .55; }
.hero-grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 2.5rem; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-weight: 700; color: var(--pink); font-size: .85rem; margin: 0 0 .6rem; }
.hero-brand { margin: 0 0 .8rem; }
.hero-brand .logo-img { height: auto; width: min(560px, 100%); }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 34em; }
.hours-pill { display: inline-flex; align-items: center; gap: .8rem; background: var(--navy); color: #fff; border: 3px solid var(--yellow); border-radius: 999px; padding: .5rem 1.4rem .5rem .6rem; margin: .5rem 0 1.4rem; }
.hours-pill .clock-ico { font-size: 1.5rem; background: #fff; border-radius: 50%; width: 2.4rem; height: 2.4rem; display: grid; place-items: center; }
.hours-pill strong { display: block; font: 800 1.55rem/1.1 var(--display); letter-spacing: .02em; }
.hours-pill em { font-style: normal; color: var(--yellow); font-weight: 700; text-transform: uppercase; font-size: .8rem; letter-spacing: .06em; }
.cta-row { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-video { position: relative; margin: 0; border-radius: 24px; overflow: hidden; background: var(--navy); aspect-ratio: 16 / 9; box-shadow: 0 20px 50px rgba(6, 27, 73, .25); border: 4px solid #fff; outline: 3px solid var(--yellow); }
.hero-video video { display: block; width: 100%; height: 100%; object-fit: cover; }
.video-sound { position: absolute; right: 12px; bottom: 12px; border: 0; border-radius: 999px; padding: .4em .9em; background: rgba(6, 27, 73, .75); color: #fff; font: 600 .85rem var(--body); cursor: pointer; backdrop-filter: blur(4px); }
.video-sound:hover { background: var(--navy); }
@media (max-width: 860px) {
  .hero { padding-top: 2rem; }
  .hero-grid { grid-template-columns: 1fr; }
  .splash-c { display: none; }
  .splash-a { width: 200px; height: 70px; left: -110px; top: 12px; }
}

.values { background: var(--navy); color: #fff; padding: 1.1rem 0; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; text-align: center; font-weight: 600; }
.values-grid span { display: block; font-size: 1.8rem; }
@media (max-width: 640px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- sections ---------- */
.section { padding: 3.5rem 0; }
.section-title, .page-hero h1, .closer-title {
  font-family: var(--display); font-weight: 800; font-style: italic; text-transform: uppercase;
  letter-spacing: .01em; line-height: 1;
}
.section-title { font-size: clamp(2.2rem, 5vw, 3rem); color: var(--navy); }
.section-sub { color: var(--muted); margin-top: -.4rem; }
.section-tint { background: var(--soft); }
.section-court { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.section-court::before { content: ""; position: absolute; left: -80px; bottom: -40px; width: 300px; height: 90px; background: var(--cyan); border-radius: 50% 40% 60% 50%; transform: rotate(-12deg); opacity: .5; }
.section-court .wrap { position: relative; }
.section-court .section-title { color: #fff; }
.fineprint { color: var(--muted); font-size: .92rem; margin-top: 1.2rem; }

.rate-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 1.5rem; }
.rate-card { position: relative; border-radius: var(--radius); padding: 1.6rem; background: var(--card); box-shadow: var(--shadow); border-top: 8px solid var(--yellow); overflow: hidden; }
.rate-card h3 { font-size: 1.1rem; margin-bottom: .2rem; }
.rate-time { color: var(--muted); margin: 0 0 1rem; min-height: 3em; }
.rate-price { font: 800 3.4rem/1 var(--display); color: var(--navy); margin: 0; }
.rate-price span { font: 500 1rem var(--body); color: var(--muted); }
.rate-eve { border-top-color: var(--pink); }
.rate-block { border-top-color: var(--cyan); background: var(--navy); color: #fff; }
.rate-block .rate-price { color: var(--yellow); }
.rate-block .rate-time, .rate-block .rate-price span { color: #c3cbe3; }
.ribbon { position: absolute; top: 14px; right: -34px; transform: rotate(35deg); background: var(--orange); color: #fff; font-size: .78rem; font-weight: 700; padding: .25rem 2.6rem; margin: 0; }
@media (max-width: 820px) { .rate-grid { grid-template-columns: 1fr; } .rate-time { min-height: 0; } }

.how-steps { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.how-steps li { background: rgba(255, 255, 255, .06); border: 2px solid rgba(255, 255, 255, .22); border-radius: var(--radius); padding: 1.3rem; }
.how-steps b { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--yellow); color: var(--navy); font: 800 1.5rem var(--display); margin-bottom: .7rem; }
.how-steps li:nth-child(2) b { background: var(--orange); color: #fff; }
.how-steps li:nth-child(3) b { background: var(--pink); color: #fff; }
.how-steps li:nth-child(4) b { background: var(--cyan); color: #fff; }
.how-steps h3 { font-size: 1.1rem; }
.how-steps p { margin: 0; color: #d3dbef; }
@media (max-width: 860px) { .how-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .how-steps { grid-template-columns: 1fr; } }

.policy-list { padding-left: 1.2rem; display: grid; gap: .6rem; max-width: 760px; }
.loc-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 2rem; align-items: center; }
.loc-address { font-size: 1.25rem; font-weight: 700; color: var(--navy); margin-bottom: .2rem; }
.map iframe { width: 100%; height: 340px; border: 0; border-radius: var(--radius); box-shadow: var(--shadow); }
@media (max-width: 820px) { .loc-grid { grid-template-columns: 1fr; } }

.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin-top: 1rem; }
.contact-card { display: flex; flex-direction: column; gap: .15rem; padding: 1.3rem; border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); color: var(--ink); text-decoration: none; border: 2px solid transparent; }
.contact-card:hover { border-color: var(--cyan); }
.contact-card span { font-size: 1.7rem; }
.contact-card b { color: var(--navy); }

.closer { background: var(--yellow); padding: 2.6rem 0; }
.closer-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.closer-title { font-size: clamp(2.4rem, 7vw, 4.2rem); color: var(--navy); margin: 0; }
.closer-title .dot-y { color: var(--pink); }
.closer .btn-yellow { background: var(--navy); color: #fff; box-shadow: 0 4px 0 var(--navy-2); }
.closer .btn-yellow:hover { background: var(--navy-2); }

.footer { margin-top: 4rem; }
.page-home .footer { margin-top: 0; }


/* ---------- generic cards / forms ---------- */
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.4rem; margin-bottom: 1.2rem; border: 1px solid var(--line); }
.card-title { font-size: 1.15rem; font-weight: 700; color: var(--navy); margin: .2rem 0 .8rem; }
.field { display: block; margin-bottom: 1rem; font-weight: 600; font-size: .95rem; }
.field small { font-weight: 400; color: var(--muted); }
.field input, .field select, .searchbar input, .inline-form input, .sched-head input {
  display: block; width: 100%; margin-top: .3rem; padding: .7em .85em; font: 1rem var(--body);
  border: 2px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink);
}
.field input:focus, .field select:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0, 172, 206, .2); }
.check { display: flex; gap: .6rem; align-items: flex-start; margin: .5rem 0 1rem; cursor: pointer; }
.check input { width: 1.25rem; height: 1.25rem; margin-top: .15rem; accent-color: var(--navy); }
.alert { border-radius: 12px; padding: .9rem 1.1rem; margin: 0 0 1rem; }
.alert ul { margin: .3rem 0 0; padding-left: 1.2rem; }
.alert-ok { background: #e9f8df; border: 1px solid #b6e19a; }
.alert-err { background: #ffecee; border: 1px solid #f5b5bb; }
.alert-warn { background: #fff6dc; border: 1px solid #f1d27a; }
.field-err, .step-err { color: var(--red); font-weight: 600; margin: .3rem 0 0; }

/* ---------- booking page ---------- */
.page-hero { background: var(--navy); color: #fff; padding: 2.4rem 0; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -60px; top: -30px; width: 260px; height: 120px; background: var(--yellow); border-radius: 50% 40% 60% 50%; transform: rotate(-15deg); opacity: .9; }
.page-hero h1 { font-size: clamp(2.6rem, 7vw, 3.6rem); position: relative; z-index: 1; margin-bottom: .3em; }
.page-hero .page-eyebrow { font: italic 800 1.5rem var(--display); color: var(--yellow); text-transform: none; margin: 0 0 .2rem; }
.page-hero p { margin: 0; color: #d0d6f0; max-width: 40em; position: relative; z-index: 1; }
.page-hero .ref { color: var(--yellow); font-size: 1.2em; letter-spacing: .04em; }
.book-wrap { padding-top: 1.6rem; }
.soon { text-align: center; padding: 2.5rem 1.5rem; }

.stepper { list-style: none; padding: 0; margin: 0 0 .6rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; scroll-margin-top: 80px; }
.stepper li { display: flex; align-items: center; gap: .55rem; padding: .7rem .9rem; border-radius: 12px; background: #eef0f7; color: var(--muted); font-weight: 600; font-size: .92rem; }
.stepper li span { display: grid; place-items: center; flex: none; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: #fff; color: var(--navy); font-weight: 700; }
.stepper li.is-active { background: var(--navy); color: #fff; }
.stepper li.is-active span { background: var(--yellow); }
.stepper li.is-done { background: #e6f5c2; color: var(--navy); cursor: pointer; }
@media (max-width: 640px) {
  .stepper li { flex-direction: column; text-align: center; font-size: .72rem; padding: .5rem .2rem; gap: .25rem; }
}
.our-time { color: var(--muted); font-size: .92rem; margin: 0 0 1rem; }
.our-time strong { color: var(--navy); font-variant-numeric: tabular-nums; }

.book-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 1.4rem; align-items: start; }
.summary { position: sticky; top: 80px; }
@media (max-width: 900px) {
  .book-grid { grid-template-columns: 1fr; }
  .summary { position: static; }
}
.summary dl, .receipt-dl { display: grid; grid-template-columns: auto 1fr; gap: .35rem 1rem; margin: 0 0 .8rem; }
.summary dt, .receipt-dl dt { color: var(--muted); font-size: .9rem; }
.summary dd, .receipt-dl dd { margin: 0; font-weight: 600; }
.sum-lines { list-style: none; padding: 0; margin: 0 0 .6rem; font-size: .88rem; border-top: 1px dashed var(--line); }
.sum-lines li { display: flex; justify-content: space-between; padding: .3rem 0; border-bottom: 1px dashed var(--line); }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.1rem; margin: .4rem 0; }
.sum-total strong { font-size: 1.6rem; color: var(--navy); }
.sum-note { font-size: .8rem; color: var(--muted); margin: 0; }

.cal-head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .8rem; }
.cal-head h2 { font-size: 1.2rem; margin: 0; color: var(--navy); text-align: center; }
.cal-head .btn { white-space: nowrap; }
.cal-dow, .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: .35rem; }
.cal-dow span { text-align: center; font-size: .75rem; font-weight: 700; color: var(--muted); text-transform: uppercase; }
.cal-grid { margin-top: .35rem; }
.cal-day { aspect-ratio: 1 / .8; border: 2px solid var(--line); border-radius: 10px; background: #fff; font: 600 1rem var(--body); color: var(--ink); cursor: pointer; }
.cal-day:hover:not(:disabled) { border-color: var(--cyan); }
.cal-day:disabled { background: #f4f5f9; color: #b6bbd0; cursor: default; border-color: transparent; }
.cal-day.is-today { border-color: var(--yellow); }
.cal-day.is-sel { background: var(--navy); color: #fff; border-color: var(--navy); }

.court-tabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: .6rem; margin-bottom: 1.3rem; }
.court-tab { display: flex; flex-direction: column; align-items: center; padding: .7rem; border: 2px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; font: inherit; color: var(--ink); }
.court-tab small { color: var(--muted); }
.court-tab.is-sel { border-color: var(--cyan); background: var(--cyan); color: #fff; }
.court-tab.is-sel small { color: #dbe6ff; }

.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .55rem; }
.slot { display: flex; flex-direction: column; align-items: flex-start; padding: .6rem .75rem; border-radius: 10px; border: 2px solid; font: 600 .9rem var(--body); cursor: pointer; text-align: left; }
.slot small { font-weight: 500; opacity: .85; }
.slot-free { background: #e8f8e4; border-color: #7fd07f; color: #145a1a; }
.slot-free:hover { background: #d3f2cc; }
.slot-taken { background: #fde8e8; border-color: #f2a3a3; color: #9b1c1c; cursor: not-allowed; }
.slot-past { background: #f1f2f6; border-color: #e1e3ea; color: #a2a7bb; cursor: not-allowed; }
.slot.is-sel { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: 0 0 0 3px var(--yellow); }
.legend { display: flex; flex-wrap: wrap; gap: 1rem; font-size: .85rem; color: var(--muted); margin: 1rem 0 .3rem; }
.legend span { display: inline-flex; align-items: center; gap: .35rem; }
.dot { display: inline-block; width: .9rem; height: .9rem; border-radius: 4px; }
.dot-free { background: #7fd07f; } .dot-taken { background: #f2a3a3; } .dot-sel { background: var(--navy); } .dot-pending { background: #f5c451; }
.note { font-size: .88rem; color: var(--muted); margin: .3rem 0 0; }
.step-nav { display: flex; justify-content: space-between; gap: .6rem; margin-bottom: 1.2rem; }

.pay-card { text-align: center; }
.pay-amount { font-size: 1.15rem; }
.pay-amount strong { display: block; font-size: 2.6rem; color: var(--navy); }
.qr { display: block; margin: .5rem auto 1rem; width: 280px; max-width: 100%; height: auto; border-radius: 14px; border: 6px solid #0a5bd8; background: #fff; }
.qr-missing { display: grid; place-items: center; aspect-ratio: 1; border-style: dashed; border-color: var(--line); color: var(--muted); }
.qr-missing.small { width: 160px; margin: 0; font-size: .85rem; }
.gcash-to { display: grid; grid-template-columns: auto auto; justify-content: center; gap: .2rem 1rem; text-align: left; }
.gcash-to span { color: var(--muted); }
.pay-steps { text-align: left; max-width: 420px; margin: 1rem auto 0; padding-left: 1.2rem; }
.proof-preview { display: block; max-height: 320px; width: auto; margin: 0 0 1rem; border-radius: 12px; border: 1px solid var(--line); }

/* ---------- booking receipt ---------- */
.receipt { margin-top: 1.6rem; }
.status { display: inline-block; padding: .25rem .8rem; border-radius: 999px; font-size: .85rem; font-weight: 700; }
.status-pending { background: #fff1c9; color: #7a5300; }
.status-confirmed { background: #dff5d3; color: #1b6a12; }
.status-rejected, .status-cancelled { background: #fde2e2; color: #9b1c1c; }
.staff-note { background: #fff6dc; padding: .7rem 1rem; border-radius: 10px; }
.tip { background: #eef5ff; padding: .7rem 1rem; border-radius: 10px; }

/* ---------- staff ---------- */
.staffbar .topbar-in { flex-wrap: wrap; }
.staffnav { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem 1rem; margin-left: auto; font-size: .95rem; }
.staffnav a, .staffnav .linkbtn { color: var(--navy); text-decoration: none; font-weight: 500; }
.staffnav a.on { font-weight: 700; border-bottom: 3px solid var(--yellow); }
.badge { display: inline-grid; place-items: center; min-width: 1.4rem; height: 1.4rem; padding: 0 .35rem; border-radius: 999px; background: var(--pink); color: #fff; font-size: .78rem; font-weight: 700; }
.staff-main { padding: 1.5rem 0 3rem; }
.staff-main h1 { color: var(--navy); }
.searchbar { display: flex; gap: .5rem; margin-bottom: 1.2rem; align-items: center; }
.searchbar input { margin: 0; max-width: 420px; }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th, .table td { text-align: left; padding: .6rem .7rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.table thead th { color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; }
.table td:first-child { white-space: nowrap; }
.tag { background: #eef0f7; border-radius: 6px; padding: .05rem .4rem; }
tr.is-past { opacity: .5; }
.view-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; align-items: start; }
@media (max-width: 860px) { .view-grid { grid-template-columns: 1fr; } }
.view-title { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; font-size: 1.6rem; }
.big { font-size: 1.4rem; color: var(--navy); }
.decide { display: grid; gap: 1rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.reject-form { background: #fff7f7; border-radius: 12px; padding: 1rem; }
.cancel-box { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.cancel-box summary { cursor: pointer; color: var(--red); font-weight: 600; }
.proof-full { display: block; max-height: 640px; width: auto; margin: 0 auto; border-radius: 12px; border: 1px solid var(--line); }
.sched-head { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.sched-head input { margin: 0; width: auto; }
.sched-title { margin-top: 1rem; }
.sched th[scope="row"] { white-space: nowrap; font-weight: 600; }
.sched td.cell { min-width: 150px; }
.cell a { display: block; text-decoration: none; color: inherit; }
.cell small { display: block; color: var(--muted); }
.cell-free { color: #7fae7f; }
.cell-confirmed { background: #fde8e8; }
.cell-pending { background: #fff4d6; }
.form-row, .form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 1rem; }
.hour-picks { border: 1px solid var(--line); border-radius: 12px; padding: .8rem; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: .4rem .9rem; }
.hour-picks legend { font-weight: 600; padding: 0 .3rem; }
.hour-pick { white-space: nowrap; }
.inline-form { display: flex; gap: .4rem; align-items: center; }
.inline-form input { margin: 0; min-width: 160px; }
.qr-setting { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin-bottom: 1rem; }
.qr-setting img { border-radius: 10px; border: 1px solid var(--line); }
.qr-setting .field { flex: 1; min-width: 220px; margin: 0; }

/* ---------- FAQ ---------- */
.page-hero a { color: var(--yellow); }
.faq-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 1.6rem; align-items: start; padding-top: 2rem; }
.faq-list { display: grid; gap: .75rem; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.faq-item summary { display: flex; align-items: center; gap: .9rem; padding: 1rem 1.2rem; cursor: pointer; list-style: none; font-weight: 700; color: var(--navy); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; margin-left: auto; font: 800 1.6rem/1 var(--display); color: var(--pink); transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover .faq-q { color: var(--pink); }
.faq-num { flex: none; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--yellow); color: var(--navy); font: 800 1.15rem var(--display); }
.faq-item:nth-child(4n+2) .faq-num { background: var(--orange); color: #fff; }
.faq-item:nth-child(4n+3) .faq-num { background: var(--pink); color: #fff; }
.faq-item:nth-child(4n+4) .faq-num { background: var(--cyan); color: #fff; }
.faq-a { padding: 0 1.2rem 1.1rem 4.1rem; color: var(--ink); }
.faq-a p { margin: 0 0 .6rem; }
.faq-a ul { margin: 0 0 .6rem; padding-left: 1.2rem; }
.faq-a li { margin-bottom: .25rem; }
.faq-help { position: sticky; top: 90px; }
.faq-help-links { display: flex; flex-wrap: wrap; gap: .5rem; }
@media (max-width: 860px) {
  .faq-wrap { grid-template-columns: 1fr; }
  .faq-help { position: static; }
  .faq-a { padding-left: 1.2rem; }
}
.field textarea { display: block; width: 100%; margin-top: .3rem; padding: .7em .85em; font: 1rem/1.5 var(--body); border: 2px solid var(--line); border-radius: 10px; resize: vertical; }
.help { margin: 0 0 1rem; color: var(--muted); font-size: .9rem; }
.help summary { cursor: pointer; font-weight: 600; }
.nowrap { white-space: nowrap; }
[id] { scroll-margin-top: 90px; }
