:root {
  color-scheme: light;
  --paper: #f4eedf;
  --card: #fffaf0;
  --ink: #443a33;
  --deep: #46372d;
  --brand: #694a37;
  --primary: #694a37;
  --primary-strong: #503829;
  --brand-tint: #eee3d8;
  --muted: #766d65;
  --brand-muted: #d7c4b1;
  --border: #e2d8cb;
  --shadow-soft: 0 14px 38px rgb(75 53 39 / 10%);
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "DM Mono", "SFMono-Regular", Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: no-preference) {
  ::view-transition-old(root) {
    animation: none;
  }
  ::view-transition-new(root) {
    z-index: 1;
    box-shadow: -18px 0 38px rgb(49 34 25 / 14%);
    animation: kfy-page-slide-in .36s cubic-bezier(.22,.68,0,1) both;
  }
  @keyframes kfy-page-slide-in {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
  }
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.6 var(--font-sans);
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: var(--primary-strong); }
img { max-width: 100%; }
[hidden] { display: none !important; }
h1, h2, h3 { color: var(--deep); font-family: var(--font-display); font-weight: 500; letter-spacing: .025em; }

.site-wrap { width: min(1152px, calc(100% - 40px)); margin-inline: auto; }
.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  border-bottom: 1px solid rgb(225 221 207 / 68%);
  background: rgb(244 238 223 / 88%);
  backdrop-filter: blur(14px);
}
.site-header__inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  color: var(--deep);
  font: 500 27px/1 var(--font-display);
  letter-spacing: .08em;
  text-decoration: none;
}
.site-brand__mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--primary);
  color: var(--paper);
  font: 20px/1 var(--font-sans);
}
.site-nav { display: flex; align-items: center; gap: 5px; }
.site-nav a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.site-nav a:hover { background: var(--brand-tint); color: var(--deep); }
.site-nav a[aria-current="page"] { background: var(--primary); color: var(--card); }
.site-nav a.site-nav__admin { background: var(--primary); color: var(--card); }
.site-nav a.site-nav__admin:hover { background: var(--primary-strong); color: var(--card); }
.site-nav a.site-nav__contact { margin-left: 8px; border: 1px solid var(--border); color: var(--deep); }
.site-nav a.site-nav__contact:hover { background: var(--card); }
.site-menu-toggle {
  display: none;
  min-height: 42px;
  align-items: center;
  gap: 9px;
  padding: 0 15px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: transparent;
  color: var(--deep);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.site-menu-toggle__icon { display: grid; gap: 4px; }
.site-menu-toggle__icon i { display: block; width: 15px; height: 1.5px; border-radius: 2px; background: currentColor; }
.site-nav--mobile { display: none; }

.hero-home {
  overflow: hidden;
  background: var(--brand);
  color: var(--paper);
}
.hero-home__inner {
  display: grid;
  min-height: min(770px, calc(100svh - 76px));
  grid-template-columns: 1.12fr .88fr;
  align-items: center;
  gap: clamp(28px, 6vw, 76px);
  padding-block: clamp(64px, 9vw, 112px) 42px;
}
.hero-copy { position: relative; z-index: 2; padding-block: 20px; }
.eyebrow {
  margin: 0;
  color: var(--primary);
  font: 700 11px/1.6 var(--font-mono);
  letter-spacing: .24em;
  text-transform: uppercase;
}
.hero-home .eyebrow { color: var(--brand-muted); }
.hero-title {
  max-width: 720px;
  margin: 21px 0 0;
  color: var(--paper);
  font: 500 clamp(54px, 6vw, 82px)/.99 var(--font-display);
  letter-spacing: .025em;
}
.hero-title em { font-style: normal; font-weight: 500; }
.hero-description {
  max-width: 480px;
  margin: 27px 0 0;
  color: rgb(244 238 223 / 82%);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.65;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 38px; }
.button-mono {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 8px;
  font: 700 10px/1 var(--font-mono);
  letter-spacing: .15em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.button-mono:hover { transform: translateY(-2px); }
.button-mono--light { background: var(--paper); color: var(--brand); }
.button-mono--light:hover { background: #fffaf0; }
.button-mono--outline { border-color: rgb(244 238 223 / 34%); color: var(--paper); }
.button-mono--outline:hover { background: rgb(244 238 223 / 10%); }
.hero-caption {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 0 0 26px;
  color: var(--brand-muted);
  font: 10px/1.5 var(--font-mono);
  letter-spacing: .2em;
  text-transform: uppercase;
}

.coffee-stage {
  position: relative;
  display: block;
  width: min(100%, 460px);
  aspect-ratio: 4 / 5;
  justify-self: end;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgb(244 238 223 / 30%);
  border-radius: 26px;
  background: #34271f;
  box-shadow: 0 28px 70px rgb(28 20 15 / 24%);
}
.coffee-stage::after {
  position: absolute;
  z-index: 1;
  border: 1px solid rgb(255 250 240 / 10%);
  border-radius: inherit;
  content: "";
  inset: 0;
  pointer-events: none;
}
.coffee-hero-video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.coffee-video-toggle {
  position: absolute;
  z-index: 2;
  top: 15px;
  right: 15px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgb(68 58 51 / 12%);
  border-radius: 50%;
  background: rgb(244 238 223 / 92%);
  color: var(--deep);
  box-shadow: 0 4px 16px rgb(25 18 13 / 18%);
  cursor: pointer;
  transition: opacity .18s ease, visibility .18s ease, transform .18s ease, background .18s ease;
}
.coffee-video-toggle:hover { transform: scale(1.06); background: #fffaf0; }
.coffee-video-toggle:focus-visible { outline: 3px solid #fffaf0; outline-offset: 3px; }
.coffee-video-toggle svg { width: 19px; height: 19px; }
.coffee-video-toggle .video-icon-play { display: block; margin-left: 2px; }
.coffee-video-toggle .video-icon-pause { display: none; }
.coffee-video-toggle[aria-pressed="true"] .video-icon-play { display: none; }
.coffee-video-toggle[aria-pressed="true"] .video-icon-pause { display: block; }
@media (hover: hover) and (pointer: fine) {
  .coffee-video-toggle { opacity: 0; visibility: hidden; pointer-events: none; }
  .coffee-stage:hover .coffee-video-toggle,
  .coffee-stage:focus-within .coffee-video-toggle { opacity: 1; visibility: visible; pointer-events: auto; }
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-block: 88px;
}
.feature-card {
  min-height: 220px;
  padding: 27px;
  border: 1px solid var(--border);
  border-radius: 25px;
  background: rgb(255 250 240 / 72%);
  box-shadow: var(--shadow-soft);
  transition: transform .2s ease, box-shadow .2s ease;
}
.feature-card:hover { transform: translateY(-5px); box-shadow: 0 20px 46px rgb(75 53 39 / 14%); }
.feature-card__icon { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 17px; background: var(--brand-tint); font-size: 22px; }
.feature-card h2 { margin: 20px 0 7px; font-size: 24px; font-weight: 500; letter-spacing: .025em; }
.feature-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.pro-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 86px;
  padding: clamp(25px, 5vw, 48px);
  border-radius: 27px;
  background: var(--primary);
  color: var(--paper);
}
.pro-callout h2 { margin: 0; color: var(--paper); font-size: clamp(29px, 4vw, 42px); font-weight: 500; letter-spacing: .025em; }
.pro-callout p { margin: 8px 0 0; color: rgb(244 238 223 / 82%); }
.button-pill {
  display: inline-flex;
  min-height: 50px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--card);
  color: var(--deep);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  transition: transform .2s ease;
}
.button-pill:hover { transform: translateY(-2px); }
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-block: 27px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
}
.site-footer__links { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: var(--deep); }

/* Owners portal */
.pro-main { padding-block: 50px 86px; }
.pro-hero {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 34px;
  margin: 12px 0 42px;
}
.pro-hero h1 { max-width: 680px; margin: 15px 0 0; font-size: clamp(44px, 6vw, 74px); font-weight: 500; letter-spacing: .025em; line-height: .98; }
.pro-hero__lede { max-width: 600px; margin: 18px 0 0; color: var(--muted); font-size: 18px; }
.pro-promise { padding: 25px; border: 1px solid var(--border); border-radius: 27px; background: var(--card); box-shadow: var(--shadow-soft); }
.pro-promise__icon { display: grid; width: 46px; height: 46px; place-items: center; border-radius: 16px; background: var(--brand-tint); color: var(--primary-strong); font-size: 23px; }
.pro-promise h2 { margin: 17px 0 7px; font-size: 25px; font-weight: 500; }
.pro-promise p { margin: 0; color: var(--muted); font-size: 14px; }
.pro-notices { display: grid; gap: 12px; margin-bottom: 16px; }
.notice { padding: 14px 17px; border: 1px solid #e5dacb; border-radius: 16px; background: #f3eadf; color: #594536; font-size: 14px; }
.notice.error { border-color: #efc9c4; background: #fff0ed; color: #a73d36; }
.pro-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; align-items: start; gap: 22px; }
.panel { min-width: 0; padding: clamp(18px, 3vw, 29px); border: 1px solid var(--border); border-radius: 27px; background: var(--card); box-shadow: var(--shadow-soft); }
.panel h2 { margin: 0; font-size: 27px; font-weight: 500; letter-spacing: .02em; }
.panel-intro { margin: 7px 0 18px; color: var(--muted); font-size: 14px; }
.dashboard-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.dashboard-heading .eyebrow { margin-bottom: 4px; }
.dashboard-heading h2 { margin: 0; }
.dashboard--onboarding #account-email,
.dashboard--onboarding #review-note,
.dashboard--onboarding #request-history { display: none; }
.dashboard--onboarding #account-overview > div { display: none; }
.dashboard--onboarding #business-form-title { margin-top: 0; }
#business-form { scroll-margin-top: 96px; }
.auth-tabs { display: flex; gap: 6px; margin: 20px 0; padding: 5px; border-radius: 999px; background: #eee6dc; }
.auth-tabs button { flex: 1; min-height: 43px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font-weight: 650; cursor: pointer; transition: color .18s ease, background .18s ease, box-shadow .18s ease; }
.auth-tabs button[aria-pressed="true"] { background: var(--primary); color: white; }
.auth-tabs button:hover:not([aria-pressed="true"]) { background: rgb(255 250 240 / 72%); color: var(--deep); }
.auth-tabs button:focus-visible, .text-button:focus-visible, .button:focus-visible { outline: 3px solid #b18b65; outline-offset: 3px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.field { display: flex; min-width: 0; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { color: #594638; font-size: 13px; font-weight: 700; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 47px;
  padding: 11px 13px;
  border: 1px solid #dcd7ca;
  border-radius: 13px;
  background: #fffdf8;
  color: var(--ink);
  outline: none;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.field textarea { min-height: 88px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgb(105 74 55 / 15%); }
.field input::placeholder, .field textarea::placeholder { color: #9a9a8c; }
.hint { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 11px; margin-top: 18px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 8px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--primary); color: white; font-size: 14px; font-weight: 650; letter-spacing: .015em; text-decoration: none; cursor: pointer; transition: transform .18s ease, background .18s ease; }
.button:hover { transform: translateY(-1px); background: var(--primary-strong); }
.button:disabled { opacity: .55; cursor: wait; transform: none; }
.button.secondary { border: 1px solid var(--border); background: transparent; color: var(--deep); }
.button.secondary:hover { background: var(--brand-tint); }
.text-button { min-height: 44px; padding: 8px 12px; border: 0; border-radius: 999px; background: transparent; color: var(--primary-strong); font-size: 13px; font-weight: 650; letter-spacing: .015em; text-decoration: none; cursor: pointer; transition: background .18s ease, color .18s ease, opacity .18s ease; }
.text-button:hover:not(:disabled) { background: var(--brand-tint); color: var(--deep); }
.text-button:disabled { opacity: .5; cursor: not-allowed; }
.side-stack { display: grid; gap: 14px; }
.side-note { padding: 19px; border-radius: 21px; background: var(--brand-tint); }
.side-note h3 { margin: 0 0 6px; font-size: 19px; font-weight: 500; }
.side-note p { margin: 0; color: #66584d; font-size: 13px; }
.side-note a { font-weight: 700; }
.section-title { margin: 28px 0 13px; font-size: 22px; font-weight: 500; }
.requests { display: grid; gap: 9px; margin-top: 17px; }
.request { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px; border: 1px solid var(--border); border-radius: 15px; background: #fffdf8; }
.request strong { display: block; color: var(--deep); font-size: 14px; }
.request small { display: block; color: var(--muted); }
.badge { align-self: center; flex: 0 0 auto; padding: 6px 10px; border-radius: 999px; background: #efecdf; color: #626957; font-size: 11px; font-weight: 800; }
.badge.approved { background: #eadbcc; color: #503a2c; }
.badge.rejected { background: #f7e0dc; color: #9b4039; }
.venue-editor { display: grid; gap: 18px; }
.editor-toolbar { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 19px 20px; border: 1px solid var(--border); border-radius: 19px; background: #f5eee3; }
.editor-toolbar .eyebrow { margin: 0 0 3px; }
.editor-toolbar__hint { margin: 0; color: var(--muted); font-size: 12px; }
.editor-controls { display: grid; width: min(100%, 330px); gap: 9px; }
.editor-control { gap: 5px; }
.editor-control label { font-size: 11px; }
.editor-control input, .editor-control select { min-height: 42px; padding-block: 8px; font-size: 13px; }
.venue-sheet { overflow: hidden; border: 1px solid #e8dece; border-radius: 25px; background: #fffdf7; box-shadow: 0 18px 45px rgb(75 53 39 / 9%); }
.venue-cover { position: relative; display: grid; min-height: clamp(210px, 28vw, 330px); place-items: center; overflow: hidden; background: radial-gradient(ellipse at 50% 120%, rgb(226 196 153 / 25%), transparent 45%), linear-gradient(135deg, #594332, #362c25 72%); }
.venue-cover::before, .venue-cover::after { position: absolute; inset: 0; content: ""; pointer-events: none; }
.venue-cover::before { opacity: .17; background: repeating-linear-gradient(128deg, transparent 0 33px, rgb(255 255 255 / 13%) 34px, transparent 35px 68px); }
.venue-cover::after { inset: auto 0 0; height: 95px; background: linear-gradient(transparent, rgb(34 27 22 / 35%)); }
.venue-cover__placeholder { position: relative; z-index: 1; display: grid; justify-items: center; gap: 8px; padding: 24px; color: #fff8e9; text-align: center; }
.venue-cover__cup { display: grid; width: 62px; height: 62px; place-items: center; border: 1px solid rgb(255 248 233 / 35%); border-radius: 50%; background: rgb(255 248 233 / 10%); font-size: 28px; }
.venue-cover__placeholder strong { font: 500 25px/1.1 var(--font-display); letter-spacing: .035em; }
.venue-cover__placeholder > span:last-child { max-width: 360px; color: rgb(255 248 233 / 74%); font-size: 12px; }
.venue-cover__badge { position: absolute; z-index: 2; right: 18px; bottom: 16px; padding: 7px 11px; border: 1px solid rgb(255 248 233 / 30%); border-radius: 999px; background: rgb(36 29 24 / 40%); color: #fff8e9; font-size: 11px; }
.venue-sheet__body { padding: clamp(23px, 4vw, 42px); }
.venue-sheet__heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.venue-sheet__title-wrap { min-width: 0; flex: 1; }
.venue-sheet__title-wrap .eyebrow { margin: 0 0 5px; color: #8b7665; }
.sheet-input { display: block; width: 100%; min-width: 0; padding: 6px 5px; border: 0; border-bottom: 1px solid transparent; border-radius: 5px; outline: 0; background: transparent; color: var(--deep); transition: border-color .18s ease, background .18s ease, box-shadow .18s ease; }
.sheet-input:hover { background: rgb(238 227 216 / 34%); }
.sheet-input:focus { border-bottom-color: var(--primary); background: rgb(238 227 216 / 35%); box-shadow: 0 2px 0 rgb(105 74 55 / 8%); }
.sheet-input::placeholder { color: #a49788; opacity: 1; }
.sheet-title { margin-left: -5px; font: 500 clamp(32px, 4vw, 47px)/1.12 var(--font-display); letter-spacing: .02em; }
.sheet-status { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 7px; margin-top: 19px; padding: 8px 12px; border-radius: 999px; background: #f1e7d9; color: #725e4e; font-size: 11px; font-weight: 700; }
.sheet-status span { width: 7px; height: 7px; border-radius: 50%; background: #b38d67; }
.sheet-meta { display: flex; align-items: center; gap: 8px; margin-top: 8px; color: var(--muted); font-size: 13px; }
.sheet-meta__pin { color: var(--primary); font-size: 19px; }
.sheet-category { width: auto; max-width: 180px; padding: 3px 20px 3px 5px; color: #6d6358; font-size: 13px; cursor: pointer; }
.sheet-address-row, .sheet-fact { display: flex; align-items: flex-start; gap: 13px; }
.sheet-address-row { margin-top: 24px; padding: 17px 16px; border: 1px solid #eee6d9; border-radius: 15px; background: #fcf8ef; }
.sheet-info-icon { display: grid; width: 23px; flex: 0 0 23px; place-items: center; padding-top: 13px; color: #716a57; font-size: 18px; line-height: 1; }
.sheet-editable-line { min-width: 0; flex: 1; }
.sheet-editable-line label, .sheet-editable-block label { display: block; margin: 0 0 2px; padding-left: 5px; color: #83776a; font-size: 11px; font-weight: 700; letter-spacing: .025em; }
.sheet-editable-line .sheet-input { min-height: 34px; font-size: 14px; }
.sheet-directions-preview { display: flex; min-height: 52px; align-items: center; justify-content: center; gap: 9px; margin-top: 18px; border-radius: 999px; background: var(--primary); color: #fffaf0; font-size: 15px; font-weight: 700; }
.sheet-directions-preview span { font-size: 18px; }
.sheet-caption { margin: 6px 0 0; color: #978a7c; font-size: 10px; text-align: center; }
.sheet-section { margin-top: 34px; }
.sheet-section h4 { margin: 0 0 12px; color: var(--deep); font: 500 27px/1.12 var(--font-display); letter-spacing: .025em; }
.sheet-editable-block { padding: 16px 17px 14px; border: 1px solid #eee7da; border-radius: 15px; background: #fffdf8; }
.sheet-textarea { min-height: 76px; resize: vertical; color: #655d54; font-size: 14px; line-height: 1.65; }
.sheet-editable-block--items { margin-top: 11px; background: #f9f5eb; }
.sheet-items { min-height: 54px; }
.sheet-editable-block .hint { padding: 2px 5px 0; }
.sheet-facts { padding-top: 1px; }
.sheet-facts__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 22px; padding: 8px 15px; border: 1px solid #eee7da; border-radius: 16px; background: #fffdf8; }
.sheet-fact { min-width: 0; padding: 12px 0; border-bottom: 1px solid #f0eadf; }
.sheet-fact:nth-last-child(-n+2) { border-bottom: 0; }
.sheet-fact .sheet-info-icon { padding-top: 14px; }
.sheet-hours-field { display: flex; align-items: flex-start; gap: 13px; margin-top: 3px; padding: 14px 0 3px; border-top: 1px solid #f0eadf; }
.sheet-hours-field > .sheet-info-icon { padding-top: 10px; }
.hours-title { margin: 0 0 2px; padding-left: 5px; color: #83776a; font-size: 11px; font-weight: 700; letter-spacing: .025em; }
.sheet-hours-editor { min-width: 0; }
.sheet-hours-editor summary { display: flex; min-height: 38px; align-items: center; justify-content: space-between; gap: 10px; padding: 3px 6px; border-bottom: 1px solid transparent; border-radius: 5px; color: #685b4d; font-size: 14px; cursor: pointer; list-style: none; }
.sheet-hours-editor summary::-webkit-details-marker { display: none; }
.sheet-hours-editor summary::after { content: "+ Ajouter"; color: var(--primary); font-size: 11px; font-weight: 700; white-space: nowrap; }
.sheet-hours-editor[open] summary::after { content: "− Réduire"; }
.sheet-hours-editor summary:hover { background: rgb(238 227 216 / 34%); }
.hours-editor__body { margin-top: 10px; padding: 14px; border: 1px solid #eee7da; border-radius: 14px; background: #fcf9f2; }
.hours-editor__columns, .hours-day-row { display: grid; grid-template-columns: minmax(105px, 1.1fr) minmax(95px, 1fr) 14px minmax(95px, 1fr); align-items: center; gap: 8px; }
.hours-editor__columns { padding: 0 8px 8px; color: #8a7b6c; font-size: 10px; font-weight: 700; }
.hours-day-row { min-height: 47px; padding: 5px 8px; border-top: 1px solid #eee7da; }
.hours-day { display: inline-flex; align-items: center; gap: 8px; color: #5e5146; font-size: 12px; font-weight: 650; cursor: pointer; }
.hours-day input { width: 16px; height: 16px; margin: 0; accent-color: var(--primary); cursor: pointer; }
.hours-day-row input[type="time"] { width: 100%; min-width: 0; min-height: 35px; padding: 4px 7px; border: 1px solid #e5dccf; border-radius: 9px; background: #fffdf8; color: var(--deep); font-size: 12px; }
.hours-day-row input[type="time"]:disabled { opacity: .42; cursor: not-allowed; }
.hours-separator { color: #998c7d; font-size: 11px; text-align: center; }
.hours-editor__body > .hint { margin-top: 10px; }
.hours-legacy { margin-top: 14px; padding-top: 12px; border-top: 1px solid #e9dfd2; }
.hours-legacy label { display: block; margin: 0 0 4px; color: #83776a; font-size: 11px; font-weight: 700; }
.hours-legacy .sheet-textarea { width: 100%; min-height: 70px; border: 1px solid #e7ddcf; background: #fffdf8; }
.hours-legacy .hint { margin-top: 5px; }
.sheet-location-details { margin-top: 17px; padding: 14px 17px; border: 1px solid #eee7da; border-radius: 15px; background: #faf6ee; }
.sheet-location-details summary { color: #665548; font-size: 13px; font-weight: 700; cursor: pointer; }
.sheet-location-details > p:not(.hint) { margin: 6px 0 12px; color: var(--muted); font-size: 12px; }
.sheet-coordinates { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 12px 0; }
.sheet-location-details .button { min-height: 40px; font-size: 12px; }
.editor-submit-bar { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 20px; border: 1px solid var(--border); border-radius: 17px; background: #f5eee3; }
.editor-submit-bar p { margin: 0; color: var(--muted); font-size: 12px; }
.editor-submit-bar .button { flex: 0 0 auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; clip-path: inset(50%); border: 0; }
.legal-wrap { width: min(850px, calc(100% - 40px)); margin: 48px auto 76px; }
.legal-card { padding: clamp(24px, 6vw, 58px); border: 1px solid var(--border); border-radius: 28px; background: var(--card); box-shadow: var(--shadow-soft); }
.legal-card h1 { margin: 9px 0 4px; font-size: clamp(38px, 6vw, 62px); line-height: 1.02; letter-spacing: .025em; }
.legal-card h2 { margin-top: 2em; font-size: 23px; letter-spacing: .02em; }
.legal-card p, .legal-card li { max-width: 70ch; }
.legal-card .date { margin: 8px 0 30px; color: var(--muted); }
.legal-card .notice { margin-block: 20px; }

.animate-fade-up { animation: fade-up .8s cubic-bezier(.2,.7,.2,1) both; }
@keyframes fade-up { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 820px) {
  .site-wrap { width: min(100% - 32px, 680px); }
  .site-header__inner { min-height: 68px; }
  .site-nav--desktop { display: none; }
  .site-menu-toggle { display: inline-flex; }
  .site-nav--mobile { display: flex; flex-direction: column; gap: 3px; padding: 0 16px 14px; animation: fade-up .18s ease both; }
  .site-nav--mobile a { justify-content: flex-start; }
  .hero-home__inner { min-height: 0; grid-template-columns: 1fr; gap: 28px; padding-block: 66px 22px; }
  .hero-copy { padding-block: 0; }
  .hero-title { max-width: 620px; font-size: clamp(46px, 11vw, 68px); }
  .coffee-stage { width: min(100%, 420px); justify-self: center; }
  .hero-caption { padding-bottom: 23px; }
  .feature-grid { grid-template-columns: 1fr; gap: 13px; padding-block: 60px; }
  .feature-card { min-height: 0; }
  .pro-callout { align-items: flex-start; flex-direction: column; margin-bottom: 60px; }
  .pro-hero, .pro-layout { grid-template-columns: 1fr; }
  .pro-hero { gap: 20px; margin-bottom: 25px; }
  .pro-main { padding-top: 35px; }
  .side-stack { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .editor-toolbar { align-items: stretch; flex-direction: column; gap: 14px; }
  .editor-controls { width: 100%; }
}
@media (max-width: 560px) {
  .site-wrap { width: calc(100% - 28px); }
  .site-brand { font-size: 23px; }
  .site-header__inner { min-height: 64px; }
  .hero-home__inner { padding-top: 50px; }
  .hero-title { font-size: clamp(42px, 11vw, 60px); }
  .hero-description { margin-top: 20px; font-size: 16px; }
  .hero-actions { margin-top: 27px; }
  .button-mono { min-height: 47px; padding-inline: 15px; font-size: 9px; }
  .coffee-stage { width: min(100%, 380px); margin-block: 4px 0; }
  .hero-caption { font-size: 8px; letter-spacing: .12em; }
  .pro-callout { padding: 24px; }
  .site-footer { align-items: flex-start; flex-direction: column; }
  .site-footer__links { gap: 16px; }
  .pro-main { padding-block: 27px 60px; }
  .pro-hero h1 { font-size: clamp(42px, 12vw, 60px); }
  .pro-hero__lede { font-size: 16px; }
  .panel { padding: 18px; }
  .panel h2 { font-size: 23px; }
  .form-grid, .side-stack { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .actions .button { width: 100%; }
  .venue-sheet { border-radius: 19px; }
  .venue-cover { min-height: 190px; }
  .venue-cover__placeholder strong { font-size: 22px; }
  .venue-sheet__body { padding: 21px 17px; }
  .venue-sheet__heading { gap: 8px; }
  .sheet-title { font-size: 33px; }
  .sheet-status { margin-top: 10px; padding: 7px 9px; font-size: 10px; }
  .sheet-meta { flex-wrap: wrap; font-size: 12px; }
  .sheet-facts__grid, .sheet-coordinates { grid-template-columns: 1fr; }
  .sheet-fact:nth-last-child(-n+2) { border-bottom: 1px solid #f0eadf; }
  .sheet-fact:last-child { border-bottom: 0; }
  .hours-editor__body { padding: 9px 7px; }
  .hours-editor__columns, .hours-day-row { grid-template-columns: minmax(83px, .95fr) minmax(72px, 1fr) 10px minmax(72px, 1fr); gap: 5px; }
  .hours-day-row { padding-inline: 5px; }
  .hours-day { gap: 5px; font-size: 11px; }
  .hours-day-row input[type="time"] { padding-inline: 3px; font-size: 11px; }
  .editor-submit-bar { align-items: stretch; flex-direction: column; }
  .editor-submit-bar .button { width: 100%; }
  .legal-wrap { width: calc(100% - 24px); margin: 24px auto 45px; }
  .legal-card { padding: 24px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  ::view-transition-group(root), ::view-transition-old(root), ::view-transition-new(root) { animation: none !important; }
}

/* Firebase-backed KFY team moderation portal */
.admin-auth-panel { max-width: 900px; margin-inline: auto; }
.admin-toolbar, .admin-section__heading, .admin-review-card__heading, .admin-edit-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.admin-toolbar { align-items: center; }
.admin-toolbar h2, .admin-section__heading h2 { margin: 0; }
.admin-toolbar .panel-intro { margin-bottom: 0; }
.admin-toolbar__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; }
.admin-section { margin-top: 22px; }
.admin-section__heading { align-items: center; margin-bottom: 18px; }
.admin-section__heading .eyebrow, .admin-edit-heading .eyebrow { margin: 0 0 3px; }
.admin-pending-list { display: grid; gap: 14px; }
.admin-review-card { min-width: 0; padding: 19px; border: 1px solid var(--border); border-radius: 19px; background: #fffdf8; }
.admin-review-card__heading { align-items: center; margin-bottom: 15px; }
.admin-review-card__heading h3, .admin-edit-heading h3 { margin: 0; color: var(--deep); font-size: 20px; font-weight: 500; letter-spacing: .02em; }
.admin-review-card__heading .eyebrow { margin: 0 0 3px; }
.admin-review-card__heading small { color: var(--muted); font-size: 11px; overflow-wrap: anywhere; }
.admin-request-fields { gap: 12px; }
.admin-request-fields .field label, .admin-edit-grid .field label { font-size: 12px; }
.admin-request-fields input, .admin-request-fields select, .admin-request-fields textarea,
.admin-edit-grid input, .admin-edit-grid select, .admin-edit-grid textarea { min-height: 42px; padding: 9px 11px; font-size: 13px; }
.admin-request-fields textarea, .admin-edit-grid textarea { min-height: 74px; }
.admin-private-note { margin-top: 13px; overflow-wrap: anywhere; }
.admin-menu-check { display: flex; align-items: flex-start; gap: 9px; margin-top: 13px; padding: 12px 14px; border-radius: 13px; background: #f3eadf; color: var(--deep); font-size: 12px; line-height: 1.5; }
.admin-menu-check input { flex: 0 0 auto; width: 17px; height: 17px; margin: 1px 0 0; accent-color: var(--primary); }
.admin-report-detail { color: var(--muted); overflow-wrap: anywhere; }
.admin-empty { padding: 20px; border: 1px dashed var(--border); border-radius: 15px; text-align: center; }
.admin-place-browser { display: grid; grid-template-columns: minmax(230px, .7fr) minmax(0, 1.3fr); align-items: start; gap: 18px; }
.admin-place-list { display: grid; max-height: 390px; gap: 7px; overflow: auto; padding: 2px 4px 2px 0; }
.admin-place-choice { display: grid; gap: 3px; width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 13px; background: #fffdf8; color: var(--deep); text-align: left; cursor: pointer; transition: border-color .16s ease, background .16s ease, transform .16s ease; }
.admin-place-choice:hover { transform: translateY(-1px); border-color: #b8a18a; }
.admin-place-choice.is-selected { border-color: var(--primary); background: #f3eadf; }
.admin-place-choice strong { font-size: 13px; font-weight: 700; }
.admin-place-choice small { color: var(--muted); font-size: 11px; }
.admin-place-form { margin-top: 20px; padding-top: 22px; border-top: 1px solid var(--border); }
.admin-edit-heading { align-items: center; margin-bottom: 15px; }
.admin-edit-heading h3 { font-size: 22px; }
.admin-place-form > .hint { margin-top: 10px; }
.admin-place-choice:focus-visible, .admin-menu-check input:focus-visible { outline: 3px solid #b18b65; outline-offset: 2px; }
@media (max-width: 820px) {
  .admin-place-browser { grid-template-columns: 1fr; }
  .admin-place-list { max-height: 300px; }
  .admin-toolbar { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 560px) {
  .admin-review-card { padding: 15px; }
  .admin-section__heading { align-items: flex-start; flex-direction: column; }
  .admin-toolbar__actions { width: 100%; }
  .admin-toolbar__actions .button { flex: 1; padding-inline: 13px; }
}
