:root {
  --green: #0a5449;
  --navy: #1a3a4e;
  --brown: #5b442c;
  --brown-hover: #46341f;
  --brown-soft: #6e5a3e;
  --cream: #f6f1e4;
  --parchment: #efeadc;
  --sand: #e5e1d6;
  --card: #e5e3df;
  --line: #b7ae9a;
  --ink: #2a2118;
  --danger: #8c1d18;
  --success: #1f5136;
  --on-dark: #f6f1e4;
  --serif: "Source Serif 4", "Noto Serif TC", Palatino, Georgia, serif;
  --sans: "Source Sans 3", "Noto Sans TC", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--serif);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
button, a, input, select { -webkit-tap-highlight-color: rgb(91 68 44 / .18); }
button:not(:disabled), [role="button"]:not(:disabled) { cursor: pointer; touch-action: manipulation; }
a { color: inherit; }
.skip {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip:focus {
  position: fixed;
  left: 8px;
  top: 8px;
  width: auto;
  height: auto;
  margin: 0;
  clip: auto;
  overflow: visible;
  background: #fff;
  padding: 8px 12px;
  z-index: 9;
}
.shell {
  width: min(1180px, 100%);
  margin-inline: auto;
  padding-inline: max(1.25rem, env(safe-area-inset-left));
  padding-right: max(1.25rem, env(safe-area-inset-right));
}
@media (min-width: 640px) {
  .shell {
    padding-inline: max(2rem, env(safe-area-inset-left));
    padding-right: max(2rem, env(safe-area-inset-right));
  }
}

.site-header, .site-footer {
  background: linear-gradient(90deg, var(--green), var(--navy));
  color: var(--on-dark);
}
.site-header { padding-top: env(safe-area-inset-top); }
.head-inner, .head-right { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .65rem 1.2rem; }
.head-inner { padding: .85rem 0; }
.wordmark { text-decoration: none; display: block; line-height: 1.15; max-width: 100%; }
.wordmark .zh { display: block; letter-spacing: .08em; font-size: clamp(1.15rem, 5.2vw, 1.5rem); }
.wordmark .en {
  display: block; margin-top: .2rem;
  font-size: clamp(.5rem, 2.4vw, .6rem);
  letter-spacing: .06em;
  color: rgb(246 241 228 / .82);
}
@media (min-width: 640px) {
  .wordmark .zh { letter-spacing: .12em; }
  .wordmark .en { letter-spacing: .18em; }
}
.wordmark.sm .zh { font-size: 1.15rem; }
nav ul { display: flex; gap: 1rem; list-style: none; margin: 0; padding: 0; }
@media (min-width: 720px) {
  .head-inner { padding: 1rem 0; }
  nav ul { gap: 1.4rem; }
}
nav a { text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; color: rgb(246 241 228 / .82); }
nav a.current, .langs a.current { color: var(--on-dark); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.rule { width: 1px; height: 20px; background: rgb(246 241 228 / .4); }
.langs { display: flex; gap: .75rem; }
.langs a { min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; color: rgb(246 241 228 / .82); padding: 0 .25rem; }

.banner { background: var(--parchment); border-bottom: 1px solid #cfc8b6; text-align: center; padding: .7rem 1rem; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .7rem 1rem; }
.banner .ghost { border: 1px solid rgb(91 68 44 / .7); border-radius: 999px; padding: .25rem 1.2rem; text-decoration: none; color: var(--brown); }
.notice { background: var(--brown); color: var(--on-dark); padding: .6rem 0; font-size: .9rem; }

.hero { margin-top: .75rem; background: var(--green); aspect-ratio: 4/3; overflow: hidden; }
@media (min-width: 640px) { .hero { margin-top: 1rem; aspect-ratio: 16/9; } }
@media (min-width: 1024px) { .hero { aspect-ratio: 21/10; } }
.hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.welcome { text-align: center; padding: 2.2rem 0; }
@media (min-width: 640px) { .welcome { padding: 3.5rem 0; } }
.welcome h1 { color: var(--brown); text-transform: uppercase; letter-spacing: .04em; font-size: clamp(1.5rem, 3vw, 2.25rem); margin: 0; }
.welcome p { max-width: 46rem; margin: 2rem auto 0; line-height: 2; }
.cards { background: rgb(239 234 220 / .7); padding: 2rem 0 2.5rem; }
.cards ul { display: grid; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
@media (min-width: 640px) { .cards { padding: 3rem 0 4rem; } .cards ul { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.cards a {
  display: block;
  text-decoration: none;
  border-radius: 2px;
  transition: transform 0.2s ease;
}
.cards .thumb {
  display: block;
  overflow: hidden;
  background: #cfc8b6;
  aspect-ratio: 4/3;
}
.cards img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  outline: 1px solid rgb(42 33 24 / .1);
  outline-offset: -1px;
}
.cards span.label {
  display: block;
  margin-top: .75rem;
  font-size: 1.125rem;
  line-height: 1.4;
}
@media (prefers-reduced-motion: no-preference) {
  .cards a:hover,
  .cards a:focus-visible {
    transform: translateY(-0.25rem);
  }
}
.cards a:hover span,
.cards a:focus-visible span,
.cards a:hover span.label,
.cards a:focus-visible span.label {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: .7rem 1.6rem; border-radius: 999px;
  background: var(--brown); color: var(--on-dark); text-decoration: none; border: 0;
  font-family: var(--serif); font-size: 1rem;
}
.btn:hover { background: var(--brown-hover); }
.btn.lg { padding: .85rem 2.4rem; font-size: 1.15rem; }
.btn.outline { background: transparent; color: var(--brown); border: 1px solid rgb(91 68 44 / .7); }

.page { padding: 2.2rem 0 3rem; }
@media (min-width: 640px) { .page { padding: 4rem 0; } }
.page h1 { text-align: center; color: var(--brown); font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 0; }
.lede { max-width: 42rem; margin: 1.5rem auto 0; text-align: center; line-height: 1.7; }
.grid3 { display: grid; gap: 1.25rem; margin: 2.5rem auto 0; max-width: 70rem; }
@media (min-width: 800px) { .grid3 { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 1.4rem; box-shadow: 0 1px 2px rgb(42 33 24 / .06); }
.card h2 { margin: 0; color: var(--brown); font-size: 1.2rem; }
.card ul { margin: .7rem 0 0; padding: 0; list-style: none; line-height: 1.6; }
.center { text-align: center; margin-top: 2.2rem; }

.site-footer { padding: 2rem 0 max(1.2rem, env(safe-area-inset-bottom)); }
.foot-grid { display: grid; gap: 1.5rem; }
@media (min-width: 800px) {
  .foot-grid { grid-template-columns: 1.1fr auto 1fr auto 1.1fr; align-items: start; }
}
.site-footer h2 { margin: 0; font-size: 1.1rem; }
.site-footer ul { list-style: none; margin: .7rem 0 0; padding: 0; color: rgb(246 241 228 / .82); font-size: .9rem; }
.site-footer address { font-style: normal; color: rgb(246 241 228 / .82); font-size: .9rem; margin-top: .7rem; }
.site-footer a { color: rgb(246 241 228 / .82); }
.foot-base { display: flex; flex-direction: column; align-items: flex-start; gap: .6rem; border-top: 1px solid rgb(246 241 228 / .15); margin-top: 2rem; padding-top: 1rem; font-size: .75rem; color: rgb(246 241 228 / .7); }
@media (min-width: 640px) {
  .foot-base { flex-direction: row; justify-content: space-between; align-items: center; }
}

.book-wrap { background: var(--sand); min-height: 60vh; min-height: 60dvh; padding: 1.2rem 0 3rem; }
.book-card { background: #eceae6; border-radius: 18px; padding: 1.1rem; max-width: 1100px; margin: 1.2rem auto 0; }
@media (min-width: 640px) {
  .book-wrap { padding: 2rem 0 4rem; }
  .book-card { padding: 1.6rem; }
}
label { display: block; margin-top: 1rem; }
input, select {
  width: 100%; margin-top: .35rem; padding: .65rem .75rem;
  border: 1px solid var(--line); border-radius: 6px; background: rgb(246 241 228 / .85);
  font-family: var(--serif); font-size: 16px; color: var(--ink);
}
.phone-row { display: flex; gap: .5rem; align-items: stretch; }
.phone-row > input {
  width: auto; flex: 1 1 0; min-width: 0;
}
.cc { position: relative; flex: 0 0 auto; }
.cc-btn {
  display: flex; align-items: center; gap: .4rem;
  min-width: 8.5rem; margin-top: .35rem; padding: .65rem .7rem;
  border: 1px solid var(--line); border-radius: 6px;
  background: rgb(246 241 228 / .85);
  font-family: var(--serif); font-size: 16px; color: var(--ink);
}
.cc-flag {
  width: 1.25rem; height: .94rem; object-fit: cover; display: block; flex: 0 0 auto;
  border-radius: 2px; box-shadow: 0 0 0 1px rgb(42 33 24 / .18);
}
.cc-caret { width: .85rem; height: .85rem; margin-left: auto; flex: 0 0 auto; transition: transform .15s ease; }
.cc-btn[aria-expanded="true"] .cc-caret { transform: rotate(180deg); }
.cc-pop {
  position: absolute; z-index: 30; top: calc(100% + 4px); left: 0;
  width: min(22rem, 78vw); padding: .4rem;
  background: #f6f1e4; border: 1px solid var(--line); border-radius: 8px;
  box-shadow: 0 8px 24px rgb(42 33 24 / .12);
}
.cc-q { width: 100%; margin-top: 0; }
.cc-list { list-style: none; margin: .35rem 0 0; padding: 0; max-height: 16rem; overflow: auto; }
.cc-list button {
  width: 100%; display: flex; gap: .5rem; align-items: center;
  margin: 0; padding: .4rem .35rem; border: 0; border-radius: 6px;
  background: transparent; text-align: left; font-size: 16px;
}
.cc-list button[aria-selected="true"], .cc-list button:hover { background: rgb(91 68 44 / .1); }
.cc-dial { min-width: 3.4rem; font-variant-numeric: tabular-nums; }
.cc-name { color: var(--brown-soft); }
.cc-empty { padding: .6rem .35rem; color: var(--brown-soft); font-size: .9rem; }
.row { display: grid; gap: 1rem; }
@media (min-width: 700px) { .row.three { grid-template-columns: 1fr 1fr 1.2fr; } .row.two { grid-template-columns: 1fr 1fr; } }
.cal { max-width: min(22rem, 100%); background: rgb(246 241 228 / .8); border: 1px solid var(--line); border-radius: 8px; padding: .6rem; }
.cal table { width: 100%; border-collapse: collapse; text-align: center; table-layout: fixed; }
.cal thead th { font-family: var(--sans); font-size: .75rem; font-weight: 500; color: var(--brown-soft); padding-bottom: .25rem; }
.cal button.day {
  width: 100%; max-width: 2.5rem; height: 2.15rem; border: 0; border-radius: 999px; background: transparent; font-family: var(--serif); font-size: .8rem;
}
@media (min-width: 480px) {
  .cal { padding: .75rem; }
  .cal button.day { height: 2.5rem; font-size: .875rem; }
}
.cal button.day:disabled { color: var(--line); }
.cal button.day.sel { background: var(--brown); color: var(--on-dark); }
.cal button.day:focus { outline: 2px solid var(--brown); outline-offset: 1px; }
.cal-status {
  margin: 0 0 .5rem;
  font-family: var(--sans);
  font-size: .875rem;
  line-height: 1.25rem;
  color: var(--brown-soft);
}
.cal-status strong { font-weight: 500; color: var(--ink); }
.cal-hint {
  margin: .5rem 0 0;
  font-family: var(--sans);
  font-size: .75rem;
  line-height: 1rem;
  font-weight: 400;
  color: var(--brown-soft);
}
.slots { display: grid; grid-template-columns: 1fr; gap: .5rem; }
@media (min-width: 520px) { .slots { grid-template-columns: 1fr 1fr; } }
.slot {
  text-align: left; border: 1px solid var(--line); background: rgb(246 241 228 / .85);
  border-radius: 8px; padding: .55rem .75rem; font-family: var(--serif);
}
.slot.sel { background: var(--brown); color: var(--on-dark); border-color: var(--brown); }
.slot:disabled { opacity: .45; }
.req { color: var(--danger); }
.alert { border: 2px solid var(--danger); color: var(--danger); padding: .8rem 1rem; border-radius: 8px; background: rgb(246 241 228 / .7); }
.err-box {
  background: rgb(248 236 232 / .95); color: #5c1f1f; padding: .9rem 1rem 1rem; border-radius: 12px;
  border: 2px solid var(--danger); margin-bottom: 1.1rem;
}
.err-box p { margin: 0 0 .35rem; }
.err-box ul { margin: .4rem 0 0; padding-left: 1.1rem; }
.err-box a { color: #8b2e2e; }
.book-card input.bad, .book-card select.bad { border-color: var(--danger); }
.name-id {
  margin: .15rem 0 1rem;
  padding: .75rem .9rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--parchment);
  font-family: var(--sans);
  font-size: .86rem;
  line-height: 1.45;
  color: var(--brown-soft);
}
.success-ref {
  font-family: ui-monospace, monospace;
  font-size: clamp(1.05rem, 4.6vw, 1.8rem);
  letter-spacing: .08em;
  color: var(--green);
  text-align: center;
  word-break: break-word;
}
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: rgb(246 241 228 / .85); }
.stepper button { width: 2.4rem; height: 2.4rem; border: 0; background: transparent; font-size: 1.1rem; }
.stepper input {
  width: 3.2rem; border: 0; background: transparent; text-align: center;
  margin: 0; padding: 0; appearance: textfield; -moz-appearance: textfield;
}
.stepper input::-webkit-outer-spin-button,
.stepper input::-webkit-inner-spin-button { appearance: none; margin: 0; }
.check { display: flex; gap: .7rem; align-items: flex-start; max-width: 42rem; margin: 1.4rem auto 0; }
.check input { width: auto; margin-top: .2rem; }
.review-grid { display: grid; gap: 1rem; }
@media (min-width: 720px) { .review-grid { grid-template-columns: 1fr 1fr; } }
.review-block {
  background: var(--parchment);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.05rem 1.15rem 1.2rem;
}
.review-block h3 {
  margin: 0 0 .65rem;
  font-family: var(--sans);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--green);
}
.review-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: .15rem;
  padding: .55rem 0;
  border-top: 1px solid var(--line);
  align-items: baseline;
}
@media (min-width: 540px) {
  .review-row { grid-template-columns: 7.2rem 1fr; gap: .35rem .8rem; }
}
.review-row:first-of-type { border-top: 0; padding-top: 0; }
.review-row dt { margin: 0; font-family: var(--sans); font-size: .78rem; color: var(--brown-soft); }
.review-row dd { margin: 0; }
.review-extra { margin-top: .7rem; padding-top: .7rem; border-top: 1px solid var(--line); }
.review-extra p { margin: 0 0 .35rem; font-family: var(--sans); font-size: .78rem; color: var(--brown-soft); }
.review-extra ul { list-style: none; margin: 0; padding: 0; }
.review-extra li { padding: .15rem 0; }
.terms-box {
  margin-top: 1.1rem;
  padding: 1rem 1.15rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
.terms-box h3 { margin: 0 0 .5rem; font-size: 1.05rem; color: var(--green); }
.terms-box ul { margin: 0; padding-left: 1.15rem; }
.terms-box li { margin: .4rem 0; }
.actions { text-align: center; margin-top: 1.8rem; }
.table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.table th, .table td { border-bottom: 1px solid var(--line); padding: .5rem .4rem; text-align: left; }
.staff-page .lede { margin: 0 0 1rem; }
.staff-body { margin: 0; }
.staff-appbar {
  display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; align-items: baseline;
  margin: 0 0 1rem; font-family: var(--sans); font-size: .85rem; color: var(--brown-soft);
}
.staff-appbar a { color: var(--green); text-decoration: none; }
.staff-appbar a:hover { text-decoration: underline; }
.staff-appbar .langs a { margin-right: .4rem; }
.staff-appbar .langs a.current { font-weight: 600; color: var(--ink); }
.staff-dash {
  background: linear-gradient(180deg, #e7efe8 0%, var(--cream) 42%);
  padding: 1.5rem 0 4rem;
  min-height: 70vh;
}
.staff-shell { width: min(1180px, calc(100% - 2rem)); margin: 0 auto; }
.staff-top { display: flex; flex-direction: column; gap: .8rem; align-items: flex-start; margin-bottom: 1.2rem; }
@media (min-width: 640px) {
  .staff-top { flex-direction: row; justify-content: space-between; align-items: flex-start; }
}
.staff-top h1 { margin: 0; color: var(--green); font-size: clamp(1.6rem, 3vw, 2.1rem); }
.staff-top p { margin: .4rem 0 0; color: var(--brown-soft); font-family: var(--sans); font-size: .9rem; max-width: 36rem; }
.staff-out {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 1.1rem;
  border-radius: 999px; background: #fff; border: 1px solid var(--line);
  text-decoration: none; font-family: var(--sans); font-size: .9rem; color: var(--brown);
}
.staff-stats {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem; margin-bottom: 1.1rem;
}
@media (min-width: 720px) { .staff-stats { grid-template-columns: repeat(4, 1fr); } }
.staff-stats div {
  background: #fff; border-radius: 16px; padding: .9rem 1rem; box-shadow: 0 8px 24px rgb(10 84 73 / .06);
}
.staff-stats strong { display: block; font-size: 1.45rem; color: var(--green); }
.staff-stats span { font-family: var(--sans); font-size: .78rem; color: var(--brown-soft); }
.staff-grid { display: grid; gap: 1rem; align-items: start; }
@media (min-width: 980px) { .staff-grid { grid-template-columns: 1.15fr .85fr; } }
.staff-panel {
  background: #fff; border-radius: 18px; padding: .85rem .75rem 1rem;
  box-shadow: 0 12px 32px rgb(26 58 78 / .08);
  overflow: hidden;
}
@media (min-width: 640px) {
  .staff-panel { border-radius: 22px; padding: 1.2rem 1.2rem 1.4rem; }
}
.staff-cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .8rem; }
.staff-cal-head h2 { margin: 0; font-size: 1.05rem; color: var(--ink); }
@media (min-width: 640px) { .staff-cal-head h2 { font-size: 1.15rem; } }
.staff-cal-head a {
  width: 2.2rem; height: 2.2rem; border-radius: 999px; display: grid; place-items: center;
  text-decoration: none; background: var(--cream); color: var(--green); font-size: 1.2rem;
}
.staff-cal-week, .staff-cal-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .18rem; }
.staff-cal-week span {
  text-align: center; font-family: var(--sans); font-size: .62rem; color: var(--brown-soft); padding: .15rem 0;
}
.staff-cal-days .empty { min-height: 2.55rem; }
.staff-cal-days a, .staff-cal-days span.day {
  min-height: 2.55rem; border-radius: 8px; background: #f4f1ea; text-decoration: none;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between;
  padding: .18rem .15rem .12rem; color: var(--ink); min-width: 0;
}
.staff-cal-days em { font-style: normal; font-size: .78rem; line-height: 1.15; }
.staff-cal-days small { font-family: var(--sans); font-size: .52rem; color: var(--green); line-height: 1.15; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.staff-cal-days small.mute { color: #b3aa98; display: none; }
.staff-today-tag {
  display: block;
  margin-left: 0;
  font-family: var(--sans);
  font-size: .48rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--green);
}
@media (min-width: 640px) {
  .staff-cal-week, .staff-cal-days { gap: .4rem; }
  .staff-cal-week span { font-size: .72rem; padding: .2rem 0; }
  .staff-cal-days .empty { min-height: 4.4rem; }
  .staff-cal-days a, .staff-cal-days span.day {
    min-height: 4.4rem; border-radius: 12px; padding: .45rem .5rem .4rem;
  }
  .staff-cal-days em { font-size: .95rem; }
  .staff-cal-days small { font-size: .68rem; }
  .staff-cal-days small.mute { display: inline; }
  .staff-today-tag {
    display: inline-block;
    margin-left: .15rem;
    font-size: .62rem;
    letter-spacing: .04em;
  }
}
.staff-cal-days a.booked { background: #e4eee8; }
.staff-cal-days a.today,
.staff-cal-days span.day.today {
  box-shadow: inset 0 0 0 2px var(--green);
  background: #dce8e3;
}
.staff-cal-days a.sel .staff-today-tag,
.staff-cal-days a.sel.today { color: var(--on-dark); }
.staff-cal-days a.sel .staff-today-tag { color: var(--on-dark); }
.staff-cal-days a:hover { background: #ebe4d4; }
.staff-cal-days a.sel,
.staff-cal-days a.sel:hover,
.staff-cal-days a.sel.booked,
.staff-cal-days a.sel.booked:hover {
  background: var(--green);
  color: var(--on-dark);
  box-shadow: 0 6px 16px rgb(10 84 73 / .28);
}
.staff-cal-days a.sel small,
.staff-cal-days a.sel:hover small { color: #f6f1e4; }
.staff-cal-days .closed { background: transparent; color: #c3bbaa; }
.staff-cal-days .closed small { color: #c3bbaa; }
.staff-cal-days a.blocked { background: #f6e6dc; }
.staff-cal-days a.blocked small { color: #8a4b32; }
.staff-block { margin-top: 1.15rem; }
.staff-block h2 { margin: 0; color: var(--green); font-size: 1.2rem; }
.staff-block .staff-summary { margin: .35rem 0 0; }
.staff-block-fields { display: grid; gap: .75rem; }
@media (min-width: 720px) {
  .staff-block-fields { grid-template-columns: 1fr 1fr; align-items: end; }
  .staff-block-fields .wide { grid-column: 1 / -1; }
}
.staff-block-fields label {
  display: grid; gap: .35rem; margin: 0;
  font-family: var(--sans); font-size: .75rem; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase; color: var(--brown-soft);
}
.staff-field-name {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: .15rem .55rem;
}
.staff-field-label { display: flex; flex-wrap: wrap; align-items: baseline; gap: .35rem; }
.staff-field-hint {
  text-transform: none; letter-spacing: 0; font-weight: 400;
  font-size: .8rem; line-height: 1.35; color: var(--brown-soft);
}
.staff-block-fields input {
  width: 100%; min-height: 44px; padding: .5rem .75rem;
  border: 1px solid var(--line); border-radius: 10px; background: #fff;
  color: var(--ink); font-family: var(--serif); font-size: 1rem;
  letter-spacing: 0; text-transform: none;
}
.staff-block-form .btn { margin-top: .9rem; }
.staff-block-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.staff-block-list li {
  background: #fff; border-radius: 12px; padding: .7rem .85rem;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .65rem; align-items: center;
}
.staff-block-list li strong { font-size: 1rem; }
.staff-block-list li span { font-family: var(--sans); font-size: .9rem; }
.staff-block-list form { flex: 1 1 100%; }
.staff-meter {
  display: block; height: .45rem; margin-top: .55rem;
  background: rgb(183 174 154 / .35); border-radius: 99px; overflow: hidden;
}
.staff-meter i { display: block; height: 100%; background: var(--green); border-radius: 99px; }
.staff-slot.full .staff-meter i { background: var(--danger); }
.staff-agenda h2 { margin: 0; color: var(--green); font-size: 1.2rem; }
.staff-summary { margin: .3rem 0 1rem; font-family: var(--sans); color: var(--brown-soft); }
.staff-empty { color: var(--brown-soft); font-family: var(--sans); }
.staff-box {
  background: #f4f1ea;
  border-radius: 16px;
  padding: .85rem .9rem 1rem;
  margin-top: .85rem;
}
.staff-box h3 {
  margin: 0 0 .65rem;
  font-family: var(--sans);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--brown-soft);
}
.staff-fill { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
@media (min-width: 520px) { .staff-fill { grid-template-columns: 1fr 1fr; } }
.staff-fill a, .staff-fill li, .staff-fill button {
  background: #fff; border-radius: 12px; padding: .65rem .75rem;
  box-shadow: 0 1px 2px rgb(42 33 24 / .04);
  display: block; text-decoration: none; color: inherit;
  width: 100%; border: 0; text-align: left; font-family: inherit; cursor: pointer;
}
.staff-fill a:hover, .staff-fill button:hover { background: #e4eee8; }
.staff-fill a.full, .staff-fill button.full { box-shadow: inset 0 0 0 1px var(--danger); }
.staff-fill a.sel,
.staff-fill a.sel:hover,
.staff-fill button.sel,
.staff-fill button.sel:hover {
  background: var(--green);
  color: var(--on-dark);
  box-shadow: 0 6px 16px rgb(10 84 73 / .28);
}
.staff-fill a.sel span, .staff-fill button.sel span { color: rgb(246 241 228 / .9); }
.staff-fill a.sel .staff-meter, .staff-fill button.sel .staff-meter { background: rgb(246 241 228 / .28); }
.staff-fill a.sel .staff-meter i, .staff-fill button.sel .staff-meter i { background: #f6f1e4; }
.staff-fill strong { display: block; font-size: .95rem; }
.staff-fill span { display: block; margin-top: .2rem; font-family: var(--sans); font-size: .78rem; color: var(--brown-soft); }
.staff-session {
  background: #fff;
  border-radius: 16px;
  padding: 1rem 1rem 1.1rem;
  margin-top: 1.35rem;
  border: 1px solid #e2dacb;
  border-left: 6px solid #c5bba8;
  scroll-margin-top: 1.2rem;
}
.staff-session:first-of-type { margin-top: .2rem; }
.staff-session.sel,
.staff-session:target {
  background: #e7f1ec;
  border-left-color: var(--green);
  box-shadow: 0 0 0 2px var(--green);
}
.staff-chosen {
  display: none;
  margin-left: .5rem;
  font-family: var(--sans);
  font-size: .68rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  background: var(--green);
  color: #f6f1e4;
  border-radius: 999px;
  padding: .18rem .55rem;
  vertical-align: middle;
}
.staff-session.sel .staff-chosen,
.staff-session:target .staff-chosen { display: inline-block; }
.staff-box h4 {
  margin: 0 0 .55rem;
  font-size: 1.05rem;
  color: var(--green);
}
.staff-people { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.staff-people li { background: #f7f4ee; border-radius: 12px; padding: .7rem .85rem; }
.staff-people p { margin: .2rem 0 0; font-size: .9rem; }
.staff-people a, .staff-people p { overflow-wrap: anywhere; }
.staff-name {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: .25rem .85rem;
}
.staff-name .staff-who { font-size: 1.02rem; }
.staff-name .staff-count {
  font-family: var(--sans);
  font-size: .78rem;
  color: var(--brown-soft);
  white-space: nowrap;
}
.staff-party { font-family: var(--sans); font-size: .85rem; color: var(--brown-soft); }
.extra-box {
  margin-top: 1rem;
  padding: .9rem;
  background: var(--parchment);
  border-radius: 12px;
  border: 1px solid var(--line);
}
.extra-box .hint { font-family: var(--sans); font-size: .8rem; color: var(--brown-soft); margin: .35rem 0 .7rem; }
.book-card .hint { font-family: var(--sans); font-size: .8rem; color: var(--brown-soft); margin: .25rem 0 .6rem; display: block; }
.extra-guest { margin-top: .55rem; }
.staff-test {
  margin-top: 1.15rem; background: #fff; border-radius: 22px; padding: 1.2rem 1.3rem 1.4rem;
  box-shadow: 0 12px 32px rgb(26 58 78 / .08);
}
.staff-test h2 { margin: 0 0 .35rem; font-size: 1.1rem; color: var(--green); }
.staff-test p { margin: 0 0 .8rem; font-family: var(--sans); font-size: .88rem; color: var(--brown-soft); }
.staff-mail-ok { color: var(--success) !important; }
.staff-test-row { display: flex; flex-wrap: wrap; gap: .7rem; align-items: end; }
.staff-test-row label { flex: 1 1 16rem; margin: 0; }
.staff-test-row .btn { margin: 0; }
.staff-cancel { margin: .55rem 0 0; }
.staff-warn {
  margin-top: .65rem;
  padding: .75rem .85rem;
  border: 2px solid #8b2e2e;
  background: #f8ece8;
  border-radius: 12px;
}
.staff-warn p { margin: 0 0 .45rem; font-family: var(--sans); font-size: .86rem; color: #5c1f1f; }
.staff-warn-actions { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin: .4rem 0 0 !important; }
.btn.danger { background: #8b2e2e; color: #fff; border: 0; }
.btn.danger:hover { background: #6e2222; }
.setup { max-width: 32rem; margin: 3rem auto; background: var(--card); padding: 1.6rem; border-radius: 18px; border: 1px solid var(--line); }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}
