body.staff-entry {
  --staff-paper: #f7f5ef;
  --staff-ink: #493f35;
  --staff-muted: #756b5f;
  --staff-gold: #a27c46;
  --staff-line: #e6e0d5;
  margin: 0;
  min-width: 280px;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: radial-gradient(ellipse at 82% 5%, #fffcf5 0, transparent 45%), var(--staff-paper);
  color: var(--staff-ink);
  font-family: "Noto Sans TC", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.staff-entry *,
.staff-entry *::before,
.staff-entry *::after { box-sizing: border-box; }
.staff-entry [hidden] { display: none !important; }
.staff-entry a { color: inherit; }
.staff-entry button,
.staff-entry input { font: inherit; }
.staff-entry button { -webkit-tap-highlight-color: transparent; }
.staff-entry svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.staff-entry a:focus-visible,
.staff-entry button:focus-visible {
  outline: 3px solid #876335;
  outline-offset: 4px;
}

.staff-entry .skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10;
  padding: 12px 18px;
  border-radius: 8px;
  background: var(--staff-ink);
  color: #fff;
  text-decoration: none;
  transform: translateY(-180%);
}
.staff-entry .skip-link:focus { transform: translateY(0); }

.staff-header {
  width: calc(100% - 112px);
  max-width: 1240px;
  min-height: 104px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--staff-line);
}
.staff-brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
}
.staff-brand img { width: 52px; height: 52px; object-fit: contain; }
.staff-brand-copy { display: flex; align-items: center; }
.staff-brand-copy strong {
  font-family: "Noto Serif TC", serif;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: .12em;
}
.staff-back {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 0 8px 10px;
  color: var(--staff-muted) !important;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: .05em;
  white-space: nowrap;
}
.staff-back svg { width: 18px; height: 18px; transition: transform 180ms ease; }

.staff-main { width: calc(100% - 112px); max-width: 1136px; margin: 0 auto; padding-top: 43px; flex: 1; }
.staff-intro { margin-bottom: 29px; }
.staff-eyebrow { margin: 0 0 11px; display: flex; align-items: center; gap: 11px; color: #876335; font-size: 10px; font-weight: 500; letter-spacing: .2em; }
.staff-eyebrow > span { width: 27px; height: 1px; background: var(--staff-gold); }
.staff-intro h1 { margin: 0 0 11px; font-family: "Noto Serif TC", serif; font-size: 42px; line-height: 1.4; font-weight: 600; letter-spacing: .12em; }
.staff-lead { margin: 0; color: var(--staff-muted); font-size: 14px; line-height: 1.85; letter-spacing: .025em; }
.staff-lead > span { margin-left: 9px; }

.staff-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--staff-line);
  border-radius: 20px;
  background: #fffefb;
  box-shadow: 0 8px 22px rgba(73, 63, 53, .025), 0 24px 66px rgba(73, 63, 53, .045);
}
.staff-destinations { min-width: 0; margin: 0; border: 0; padding: 31px 36px 33px; }
.staff-step { display: flex; align-items: center; gap: 11px; margin: 0; padding: 0; font-size: 16px; font-weight: 500; letter-spacing: .04em; line-height: 1.65; }
legend.staff-step { float: left; width: 100%; }
.staff-step-number { color: #876335; font-size: 10px; font-weight: 500; letter-spacing: .1em; }
.staff-section-hint { clear: both; margin: 7px 0 23px; color: var(--staff-muted); font-size: 12px; }
.staff-choice-grid { clear: both; padding-top: 20px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.staff-choice { position: relative; min-width: 0; }
.staff-radio { position: absolute; top: 20px; left: 20px; width: 1px; height: 1px; margin: 0; opacity: 0; }
.staff-choice-card {
  display: flex;
  flex-direction: column;
  min-height: 176px;
  height: 100%;
  padding: 18px 20px 16px;
  border: 1px solid #e5dfd5;
  border-radius: 12px;
  background: #fffefb;
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.staff-choice-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 11px; }
.staff-choice-icon { display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px; background: #f3eee5; color: #80613b; transition: background-color 180ms ease, color 180ms ease; }
.staff-choice-icon i { font-size: 23px; line-height: 1; }
.staff-choice-icon .fa-facebook-f { font-size: 24px; }
.staff-choice-check { display: grid; place-items: center; width: 18px; height: 18px; border: 1px solid #cec4b5; border-radius: 50%; margin-top: 1px; background: #fffefb; transition: background-color 180ms ease, border-color 180ms ease; }
.staff-choice-check svg { width: 13px; height: 13px; stroke-width: 1.8; color: #fff; opacity: 0; }
.staff-choice-title { font-size: 16px; font-weight: 500; letter-spacing: .015em; line-height: 1.6; }
.staff-choice-description { display: block; margin-top: 3px; color: var(--staff-muted); font-size: 12px; line-height: 1.7; }
.staff-choice-english { margin-top: auto; padding-top: 11px; color: var(--staff-muted); font-size: 9px; letter-spacing: .13em; line-height: 1.5; }
.staff-radio:checked + .staff-choice-card { background: #f7f1e5; border-color: #b79561; box-shadow: inset 0 0 0 1px rgba(183, 149, 97, .13); }
.staff-radio:checked + .staff-choice-card .staff-choice-icon { background: #eaddc5; color: #715024; }
.staff-radio:checked + .staff-choice-card .staff-choice-check { background: #98733e; border-color: #98733e; }
.staff-radio:checked + .staff-choice-card .staff-choice-check svg { opacity: 1; }
.staff-radio:focus-visible + .staff-choice-card { outline: 3px solid #876335; outline-offset: 3px; }

.staff-login { min-width: 0; padding: 31px 30px 30px; border-left: 1px solid var(--staff-line); background: linear-gradient(145deg, #f9f6ef, #f6f2e9); }
.staff-selected { margin-bottom: 27px; padding: 1px 0 1px 14px; border-left: 2px solid #b8945d; display: flex; flex-direction: column; gap: 5px; }
.staff-selected > span { color: var(--staff-muted); font-size: 11px; letter-spacing: .045em; }
.staff-selected strong { font-size: 15px; font-weight: 500; letter-spacing: .02em; }
.staff-field-label { display: block; margin-bottom: 8px; font-size: 12px; font-weight: 500; letter-spacing: .025em; }
.staff-password-wrap { position: relative; display: flex; align-items: center; min-height: 54px; border: 1px solid #dcd3c5; border-radius: 9px; background: #fffefb; transition: border-color 180ms ease, box-shadow 180ms ease; }
.staff-lock { position: absolute; top: 17px; left: 14px; width: 19px; height: 19px; color: #877965; pointer-events: none; }
.staff-password-wrap input { display: block; min-width: 0; width: 100%; min-height: 52px; border: 0; border-radius: 9px; outline: none; padding: 12px 48px 12px 43px; background: transparent; color: var(--staff-ink); font-size: 13px; }
.staff-password-wrap input::placeholder { color: var(--staff-muted); opacity: 1; }
.staff-password-wrap:focus-within { border-color: #98733e; box-shadow: 0 0 0 3px rgba(162, 124, 70, .16); }
.staff-password-toggle { position: absolute; right: 3px; top: 4px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: #796a58; cursor: pointer; }
.staff-password-toggle svg { width: 20px; height: 20px; }
.staff-eye-slash { display: none; }
.staff-password-toggle[aria-pressed="true"] .staff-eye-slash { display: block; }
.staff-password-help { margin: 11px 0 0; font-size: 11px; line-height: 1.7; color: var(--staff-muted); }
.staff-caps-lock { margin: 9px 0 0; font-size: 11px; line-height: 1.65; color: #815c24; }
.staff-password-wrap.has-error { border-color: #af5747; }
.staff-password-wrap.has-error:focus-within { box-shadow: 0 0 0 3px rgba(175, 87, 71, .13); }
.staff-error { display: flex; align-items: flex-start; gap: 7px; margin-top: 10px; color: #994537; font-size: 12px; line-height: 1.7; }
.staff-error svg { flex: 0 0 16px; width: 16px; height: 16px; margin-top: 2px; }
.staff-submit { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 53px; margin-top: 25px; padding: 13px 18px; border: 1px solid #544434; border-radius: 9px; background: #594838; color: #fffdf7; font-size: 14px; font-weight: 500; letter-spacing: .055em; cursor: pointer; box-shadow: 0 3px 7px rgba(73, 63, 53, .07); transition: background-color 180ms ease, box-shadow 180ms ease; }
.staff-submit svg { width: 21px; height: 21px; flex: 0 0 21px; transition: transform 180ms ease; }
.staff-submit:disabled { opacity: .7; cursor: wait; }
.staff-access-note { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 14px 0 0; color: var(--staff-muted); font-size: 10px; letter-spacing: .03em; }
.staff-access-note svg { width: 14px; height: 14px; }
.staff-notice { margin: 16px 0 0; padding: 10px 12px; border-radius: 7px; background: #eee6d8; color: var(--staff-ink); font-size: 12px; }

.staff-closing { display: flex; justify-content: center; align-items: center; gap: 13px; margin: 26px 0 30px; color: var(--staff-muted); }
.staff-closing > span:first-child { height: 1px; width: 25px; background: #c5b497; }
.staff-closing p { margin: 0; font-family: "Noto Serif TC", serif; font-size: 12px; letter-spacing: .065em; }
.staff-verse-ref { font-size: 10px; }
.staff-footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; width: calc(100% - 112px); max-width: 1240px; margin: 0 auto; padding: 19px 0 23px; border-top: 1px solid var(--staff-line); color: var(--staff-muted); font-size: 10px; letter-spacing: .045em; }

@media (hover: hover) and (pointer: fine) {
  .staff-back:hover { color: var(--staff-ink) !important; }
  .staff-back:hover svg { transform: translateX(-3px); }
  .staff-choice-card:hover { border-color: #bda57f; background: #fcf8f0; }
  .staff-radio:checked + .staff-choice-card:hover { background: #f6efdf; }
  .staff-password-toggle:hover { background: #f1eadf; color: var(--staff-ink); }
  .staff-submit:hover:not(:disabled) { background: #493a2d; box-shadow: 0 5px 12px rgba(73, 63, 53, .13); }
  .staff-submit:hover:not(:disabled) svg { transform: translateX(3px); }
}

@media (max-width: 1100px) {
  .staff-header, .staff-main, .staff-footer { width: calc(100% - 72px); }
  .staff-workspace { grid-template-columns: minmax(0, 1fr) 310px; }
  .staff-destinations { padding: 29px 25px 30px; }
  .staff-login { padding: 29px 25px; }
  .staff-choice-card { padding: 17px 16px 15px; }
  .staff-choice-title { font-size: 15px; }
}

@media (max-width: 820px) {
  .staff-header { min-height: 92px; }
  .staff-main { padding-top: 34px; }
  .staff-intro h1 { font-size: 35px; }
  .staff-workspace { grid-template-columns: minmax(0, 1fr); }
  .staff-destinations { padding: 29px 30px 30px; }
  .staff-choice-card { min-height: 170px; padding: 19px 20px 17px; }
  .staff-choice-title { font-size: 16px; }
  .staff-login { padding: 29px 30px 30px; border-left: 0; border-top: 1px solid var(--staff-line); }
  .staff-selected { margin-bottom: 24px; }
  .staff-login .staff-section-hint { margin-bottom: 20px; }
  .staff-submit { margin-top: 22px; }
}

@media (max-width: 520px) {
  .staff-header, .staff-main, .staff-footer { width: calc(100% - 40px); }
  .staff-header { min-height: 79px; gap: 8px; }
  .staff-brand { gap: 9px; }
  .staff-brand img { width: 39px; height: 39px; }
  .staff-brand-copy strong { font-size: 13px; letter-spacing: .06em; }
  .staff-back { gap: 5px; font-size: 11px; padding-left: 3px; }
  .staff-back svg { width: 16px; height: 16px; }
  .staff-main { padding-top: 30px; }
  .staff-intro { margin-bottom: 24px; }
  .staff-eyebrow { margin-bottom: 10px; font-size: 9px; letter-spacing: .16em; }
  .staff-eyebrow > span { width: 22px; }
  .staff-intro h1 { font-size: 30px; letter-spacing: .09em; margin-bottom: 12px; }
  .staff-lead { font-size: 12px; line-height: 1.9; }
  .staff-lead > span { display: block; margin-left: 0; }
  .staff-workspace { border-radius: 16px; }
  .staff-destinations { padding: 23px 18px 24px; }
  .staff-step { font-size: 15px; gap: 9px; }
  .staff-section-hint { margin: 6px 0 18px; font-size: 11px; }
  .staff-choice-grid { gap: 10px; }
  .staff-choice-card { min-height: 148px; padding: 14px 12px; border-radius: 10px; }
  .staff-choice-top { margin-bottom: 10px; gap: 8px; }
  .staff-choice-icon { width: 38px; height: 38px; border-radius: 10px; }
  .staff-choice-icon i { font-size: 20px; }
  .staff-choice-icon .fa-facebook-f { font-size: 21px; }
  .staff-choice-title { font-size: 14px; letter-spacing: 0; }
  .staff-choice-description { font-size: 11px; line-height: 1.7; margin-top: 4px; }
  .staff-choice-english { display: none; }
  .staff-login { padding: 24px 22px 25px; }
  .staff-password-wrap input { font-size: 16px; }
  .staff-password-wrap input::placeholder { font-size: 13px; }
  .staff-selected { flex-direction: row; align-items: baseline; gap: 12px; margin-bottom: 23px; }
  .staff-closing { flex-wrap: wrap; gap: 7px 10px; margin: 23px 0 25px; }
  .staff-closing > span:first-child { width: 16px; }
  .staff-closing p { font-size: 11px; letter-spacing: .035em; }
  .staff-verse-ref { font-size: 9px; }
  .staff-footer { font-size: 9px; padding: 17px 0 20px; gap: 10px; }
}

@media (max-width: 360px) {
  .staff-header, .staff-main, .staff-footer { width: calc(100% - 28px); }
  .staff-brand { gap: 7px; }
  .staff-brand img { width: 35px; height: 35px; }
  .staff-brand-copy strong { font-size: 12px; letter-spacing: .025em; }
  .staff-back { font-size: 10px; gap: 4px; }
  .staff-intro h1 { font-size: 28px; }
  .staff-destinations { padding: 22px 14px; }
  .staff-choice-card { padding: 13px 10px; min-height: 154px; }
  .staff-login { padding: 24px 18px; }
  .staff-closing > span:first-child { display: none; }
  .staff-closing p { font-size: 10px; }
  .staff-closing { gap: 7px; }
  .staff-footer { letter-spacing: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .staff-entry *, .staff-entry *::before, .staff-entry *::after { transition: none !important; scroll-behavior: auto !important; }
}

@media (forced-colors: active) {
  .staff-radio:checked + .staff-choice-card { outline: 2px solid Highlight; outline-offset: -3px; }
  .staff-radio:checked + .staff-choice-card .staff-choice-check svg { color: CanvasText; }
}
