:root {
  color-scheme: light;
  --forest: #173d35;
  --forest-deep: #102f29;
  --forest-soft: #286357;
  --sage: #e8eee8;
  --cream: #f6f5ef;
  --paper: #ffffff;
  --ink: #1d302c;
  --muted: #71807a;
  --line: #e5e9e5;
  --gold: #f1b75f;
  --gold-dark: #b97825;
  --coral: #d87961;
  --danger: #a84436;
  --shadow: 0 18px 50px rgba(21, 55, 47, .08);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); line-height: 1.5; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
.shell { width: min(1160px, calc(100% - 56px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }

.site-header { height: 78px; background: #fff; border-bottom: 1px solid rgba(22, 59, 51, .08); position: relative; z-index: 5; }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--forest); text-decoration: none; flex: 0 0 auto; }
.brand-mark { width: 36px; height: 36px; display: grid; place-items: center; color: #fff; background: var(--forest); border-radius: 12px 12px 12px 4px; font-family: Georgia, serif; font-size: 21px; font-weight: 700; transform: rotate(-3deg); }
.brand-name { color: var(--forest); font-size: 18px; font-weight: 750; letter-spacing: -.05em; line-height: 1; }
.brand-name > span { color: #b8792c; }
.brand-name small { display: block; margin-top: 5px; color: #809088; font-size: 8px; font-weight: 750; letter-spacing: .16em; }
.header-actions { display: flex; align-items: center; gap: 18px; }
.header-actions form { margin: 0; }
.signed-in { display: inline-flex; align-items: center; gap: 8px; color: #65736d; font-size: 13px; }
.online-dot { width: 7px; height: 7px; display: inline-block; border-radius: 50%; background: #6aaf7f; box-shadow: 0 0 0 3px rgba(106, 175, 127, .14); }
.text-button { border: 0; padding: 8px 0; color: #6b7772; background: transparent; cursor: pointer; font-size: 13px; font-weight: 650; }
.text-button:hover, .row-action:hover { color: var(--forest-soft); }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: 12px; padding: 0 20px; border: 1px solid transparent; border-radius: 9px; text-decoration: none; cursor: pointer; font-size: 14px; font-weight: 700; transition: transform .16s ease, background .16s ease, box-shadow .16s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { color: #fff; background: var(--forest); box-shadow: 0 7px 16px rgba(23, 61, 53, .16); }
.button-primary:hover { background: var(--forest-soft); box-shadow: 0 10px 22px rgba(23, 61, 53, .2); }
.button-outline { color: var(--forest); background: #fff; border-color: #dce4de; }
.button-outline:hover { background: #f1f5f1; }
.button-small { min-height: 37px; padding: 0 13px; font-size: 12px; }
.button-wide { width: 100%; }

.hero-wrap { overflow: hidden; color: #fff; background: var(--forest); }
.hero { min-height: 442px; position: relative; display: grid; grid-template-columns: 1fr .82fr; align-items: center; padding-top: 40px; padding-bottom: 75px; }
.hero::before { content: ""; position: absolute; width: 640px; height: 640px; top: -390px; right: 125px; border: 1px solid rgba(255,255,255,.07); border-radius: 50%; box-shadow: 0 0 0 45px rgba(255,255,255,.02), 0 0 0 90px rgba(255,255,255,.018); }
.hero-copy { position: relative; z-index: 1; padding: 16px 0 8px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 15px; color: #8a9890; font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.eyebrow-light { color: rgba(255,255,255,.66); }
.eyebrow-line { width: 22px; height: 1px; display: inline-block; background: var(--gold); }
.hero h1 { max-width: 650px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(42px, 5.4vw, 66px); font-weight: 500; letter-spacing: -.055em; line-height: 1.07; }
.hero h1 em { color: #f4c981; font-weight: 400; }
.hero-subtitle { max-width: 475px; margin: 20px 0 21px; color: rgba(255,255,255,.69); font-size: 15px; line-height: 1.75; }
.hero-scroll { display: inline-flex; align-items: center; gap: 11px; color: #fff; text-decoration: none; font-size: 12px; font-weight: 700; }
.scroll-icon { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.26); border-radius: 50%; color: var(--gold); font-size: 15px; transition: transform .16s ease; }
.hero-scroll:hover .scroll-icon { transform: translateY(3px); }
.hero-art { min-height: 310px; position: relative; display: grid; place-items: center; color: rgba(255,255,255,.82); }
.hero-sun { width: 202px; height: 202px; position: absolute; top: 38px; left: 50%; border-radius: 50%; background: linear-gradient(145deg, #f7d18b, #dfa35e); transform: translateX(-50%); opacity: .96; }
.hero-landmark { width: min(255px, 74%); position: absolute; top: 58px; left: 50%; z-index: 1; color: var(--forest-deep); transform: translateX(-50%); }
.hero-landmark svg { width: 100%; overflow: visible; filter: drop-shadow(0 12px 12px rgba(11, 36, 31, .12)); }
.hero-orbit { position: absolute; left: 50%; top: 37px; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; transform: translateX(-50%); }
.orbit-one { width: 305px; height: 265px; }
.orbit-two { width: 395px; height: 345px; border-color: rgba(255,255,255,.1); }
.hero-label { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.8); font-size: 9px; font-weight: 800; letter-spacing: .14em; }
.label-top { right: 4px; top: 22px; }
.label-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.label-bottom { left: 8%; bottom: 8px; color: rgba(255,255,255,.57); font-size: 11px; font-weight: 500; letter-spacing: .01em; }
.label-bottom span { color: var(--gold); }
.hero-bottomline { position: absolute; left: 0; right: 0; bottom: 18px; display: flex; justify-content: space-between; color: rgba(255,255,255,.42); font-size: 8px; font-weight: 800; letter-spacing: .16em; }

.directory-section { padding: 68px 0 78px; background: var(--cream); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.section-heading h2, .admin-section-heading h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; color: var(--ink); font-size: clamp(27px, 3.2vw, 36px); font-weight: 500; letter-spacing: -.04em; }
.section-note { margin: 0 0 4px; color: var(--muted); font-size: 13px; }
.directory-stats { display: flex; align-items: center; gap: 22px; padding: 18px 0 21px; border-top: 1px solid #e2e7e2; border-bottom: 1px solid #e2e7e2; }
.stat-item { display: flex; align-items: baseline; gap: 8px; }
.stat-number { color: var(--forest); font-family: Georgia, "Times New Roman", serif; font-size: 27px; letter-spacing: -.04em; }
.stat-label { color: #7b8781; font-size: 11px; }
.stat-divider { width: 1px; height: 26px; background: #dce2dc; }
.stat-message { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; color: #728179; font-size: 11px; }
.stat-sparkle { color: var(--gold-dark); font-size: 16px; }
.filter-panel { display: grid; grid-template-columns: minmax(230px, 1.35fr) minmax(155px, .68fr) minmax(180px, .75fr) auto; gap: 11px; align-items: center; margin: 25px 0 17px; padding: 12px; border: 1px solid #e6e9e5; border-radius: 13px; background: #fff; box-shadow: 0 5px 16px rgba(31, 59, 49, .035); }
.search-field { min-width: 0; height: 46px; display: flex; align-items: center; gap: 11px; padding: 0 13px; border: 1px solid #e9ede9; border-radius: 8px; background: #fbfcfa; }
.search-field svg { width: 18px; height: 18px; flex: 0 0 auto; fill: none; stroke: #84928a; stroke-width: 1.7; }
.search-field input { min-width: 0; width: 100%; border: 0; outline: none; background: transparent; color: var(--ink); font-size: 13px; }
.search-field input::placeholder, .admin-search input::placeholder { color: #9aa59f; }
.search-field kbd { flex: 0 0 auto; padding: 3px 6px; border: 1px solid #e4e9e5; border-radius: 4px; color: #a1aaa5; background: #fff; font-family: inherit; font-size: 9px; }
.select-field { min-width: 0; height: 46px; display: flex; flex-direction: column; justify-content: center; padding: 3px 12px 4px; border: 1px solid #e9ede9; border-radius: 8px; background: #fbfcfa; }
.select-field > span { color: #919d96; font-size: 9px; font-weight: 700; letter-spacing: .06em; }
.select-field select { min-width: 0; width: 100%; padding: 1px 20px 0 0; border: 0; outline: 0; appearance: none; background: transparent; color: #33453f; font-size: 12px; font-weight: 650; cursor: pointer; }
.select-field { background-image: linear-gradient(45deg, transparent 50%, #839188 50%), linear-gradient(135deg, #839188 50%, transparent 50%); background-position: calc(100% - 14px) 25px, calc(100% - 10px) 25px; background-size: 4px 4px, 4px 4px; background-repeat: no-repeat; }
.clear-filters { padding: 10px 8px; border: 0; color: #79877f; background: transparent; cursor: pointer; font-size: 12px; font-weight: 650; }
.clear-filters:hover { color: var(--forest); }
.results-bar { display: flex; align-items: center; justify-content: space-between; margin: 0 2px 13px; color: #8a958f; font-size: 11px; }
.results-bar p { margin: 0; }
.results-bar strong { color: #4d5d55; font-weight: 750; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.place-card { min-width: 0; min-height: 194px; display: flex; flex-direction: column; padding: 17px 17px 14px; border: 1px solid #e7ebe6; border-radius: 11px; background: #fff; transition: transform .17s ease, border-color .17s ease, box-shadow .17s ease; }
.place-card:hover { transform: translateY(-2px); border-color: #cbd8cd; box-shadow: 0 13px 30px rgba(26, 64, 53, .07); }
.card-topline { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.place-type { max-width: calc(100% - 30px); overflow: hidden; padding: 4px 8px; border-radius: 5px; color: #58746a; background: #eff4ef; font-size: 9px; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.card-mark { color: #b3bdb6; font-size: 15px; }
.place-card h3 { margin: 13px 0 5px; color: #243c34; font-family: Georgia, "Times New Roman", serif; font-size: 19px; font-weight: 500; letter-spacing: -.025em; line-height: 1.25; }
.place-location { display: flex; align-items: center; gap: 6px; margin: 0; color: #89948e; font-size: 11px; }
.place-location svg { width: 13px; height: 13px; flex: 0 0 auto; fill: none; stroke: #ab8260; stroke-width: 1.25; }
.card-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 16px; border-top: 1px solid #f0f2ef; }
.portal-label { display: inline-flex; align-items: center; gap: 6px; color: #9aa49e; font-size: 10px; }
.portal-icon { width: 17px; height: 17px; display: grid; place-items: center; border-radius: 5px; color: #55776b; background: #eff4ef; font-size: 11px; }
.card-link { display: inline-flex; align-items: center; gap: 7px; color: var(--forest-soft); text-decoration: none; font-size: 11px; font-weight: 750; }
.card-link:hover { color: #9a6626; }
.empty-state { display: grid; justify-items: center; padding: 58px 20px; border: 1px dashed #d6ded7; border-radius: 13px; background: rgba(255,255,255,.52); text-align: center; }
.empty-icon { color: #b18445; font-family: Georgia, serif; font-size: 32px; }
.empty-state h3 { margin: 7px 0 2px; color: var(--ink); font-family: Georgia, serif; font-size: 21px; font-weight: 500; }
.empty-state p { margin: 0 0 14px; color: var(--muted); font-size: 12px; }
.directory-note { display: flex; align-items: flex-start; gap: 10px; margin-top: 21px; padding: 13px 15px; border: 1px solid #e9e6da; border-radius: 8px; background: #f3f0e7; }
.note-icon { width: 17px; height: 17px; display: grid; flex: 0 0 auto; place-items: center; border-radius: 50%; color: #fff; background: #b6955e; font-size: 10px; font-family: Georgia, serif; font-style: italic; }
.directory-note p { margin: 0; color: #7e7b6e; font-size: 11px; line-height: 1.6; }
.site-footer { padding: 21px 0; border-top: 1px solid #e3e8e2; background: #fff; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand-footer .brand-mark { width: 30px; height: 30px; border-radius: 10px 10px 10px 3px; font-size: 17px; }
.brand-footer .brand-name { font-size: 15px; }
.brand-footer .brand-name small { font-size: 7px; }
.footer-inner > p { margin: 0; color: #89958e; font-size: 11px; }
.footer-lock { display: inline-flex; align-items: center; gap: 8px; color: #7a8880; text-decoration: none; font-size: 10px; }

/* Authentication and first-run setup */
.auth-page, .setup-page { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: #f1f3ee; }
.auth-shell { width: min(960px, 100%); min-height: 590px; display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; border-radius: 19px; background: #fff; box-shadow: 0 28px 80px rgba(20, 55, 47, .13); }
.auth-brand-panel { position: relative; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; padding: 37px 40px; color: #fff; background: var(--forest); }
.auth-brand-panel::before { content: ""; position: absolute; width: 430px; height: 430px; right: -155px; bottom: -165px; border: 1px solid rgba(255,255,255,.11); border-radius: 50%; box-shadow: 0 0 0 35px rgba(255,255,255,.025), 0 0 0 75px rgba(255,255,255,.025), 0 0 0 115px rgba(255,255,255,.02); }
.auth-brand-panel .brand { color: #fff; z-index: 1; }
.auth-brand-panel .brand-name { color: #fff; }
.auth-brand-panel .brand-mark { color: var(--forest); background: #f2c87f; }
.auth-brand-panel .brand-name > span { color: #f2c87f; }
.auth-brand-panel .brand-name small { color: rgba(255,255,255,.56); }
.auth-panel-copy { position: relative; z-index: 1; max-width: 385px; margin: 25px 0 auto; padding: 60px 0 40px; }
.auth-panel-kicker { color: #edc27a; font-size: 10px; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.auth-panel-copy h1 { margin: 16px 0; font-family: Georgia, serif; font-size: clamp(31px, 4vw, 44px); font-weight: 500; letter-spacing: -.045em; line-height: 1.1; }
.auth-panel-copy p { max-width: 330px; margin: 0; color: rgba(255,255,255,.64); font-size: 13px; line-height: 1.8; }
.auth-panel-foot { position: relative; z-index: 1; display: flex; align-items: center; gap: 9px; color: rgba(255,255,255,.54); font-size: 10px; }
.sun-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.auth-form-panel { display: flex; flex-direction: column; justify-content: center; padding: 45px 56px 26px; }
.auth-form-wrap { width: 100%; max-width: 350px; margin: 0 auto; }
.auth-form-wrap h2 { margin: 0; color: var(--ink); font-family: Georgia, serif; font-size: 34px; font-weight: 500; letter-spacing: -.04em; }
.muted { color: var(--muted); }
.auth-form-wrap > .muted { margin: 8px 0 28px; font-size: 12px; }
.stack-form { display: flex; flex-direction: column; gap: 9px; }
.stack-form label, .field > span { margin-top: 5px; color: #53635b; font-size: 11px; font-weight: 750; }
.stack-form input, .field input { width: 100%; min-height: 45px; padding: 0 12px; border: 1px solid #dfe5df; border-radius: 7px; outline: none; background: #fff; color: var(--ink); font-size: 13px; transition: box-shadow .15s ease, border-color .15s ease; }
.stack-form input:focus, .field input:focus, .search-field:focus-within, .admin-search:focus-within { border-color: #7da394; box-shadow: 0 0 0 3px rgba(83, 130, 111, .13); }
.stack-form .button { margin-top: 12px; }
.auth-help { margin: 20px 0 0; color: #96a19b; text-align: center; font-size: 10px; line-height: 1.6; }
.auth-footer { margin-top: 43px; color: #a1aaa4; text-align: center; font-size: 10px; }
.setup-card { width: min(470px, 100%); padding: 34px; border: 1px solid #e3e9e2; border-radius: 16px; background: #fff; box-shadow: var(--shadow); }
.brand-dark { margin-bottom: 36px; }
.setup-card h1 { margin: 0 0 8px; color: var(--ink); font-family: Georgia, serif; font-size: 31px; font-weight: 500; letter-spacing: -.04em; line-height: 1.15; }
.setup-card > p:not(.eyebrow):not(.auth-help) { margin: 0 0 21px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.setup-card code { color: #4f675d; font-size: 11px; }
.setup-card .stack-form { margin-top: 20px; }
.alert { margin: 15px 0; padding: 11px 13px; border: 1px solid; border-radius: 7px; font-size: 12px; line-height: 1.55; }
.alert-error { border-color: #f0d1cb; color: #93493d; background: #fff6f4; }
.alert-success { border-color: #cfe2d2; color: #477253; background: #f4faf3; }
.alert ul { margin: 5px 0 0; padding-left: 18px; }

/* Admin workspace */
.admin-body { background: #f5f6f2; }
.admin-main { padding-top: 39px; padding-bottom: 70px; }
.admin-intro { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 25px; }
.admin-intro h1 { margin: 0; color: var(--ink); font-family: Georgia, serif; font-size: 38px; font-weight: 500; letter-spacing: -.045em; }
.admin-intro .muted { margin: 7px 0 0; font-size: 12px; }
.admin-welcome { display: flex; align-items: center; gap: 10px; padding: 9px 13px 9px 9px; border: 1px solid #e6eae5; border-radius: 50px; background: #fff; }
.avatar-mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #5a7969; font-family: Georgia, serif; font-size: 15px; }
.admin-welcome small, .admin-welcome strong { display: block; }
.admin-welcome small { margin-bottom: 1px; color: #9aa49e; font-size: 9px; }
.admin-welcome strong { color: #4d5c54; font-size: 11px; }
.admin-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 14px; }
.admin-stat { display: flex; align-items: center; gap: 13px; padding: 16px 19px; border: 1px solid #e5eae4; border-radius: 10px; background: #fff; }
.admin-stat-icon { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; color: #976e33; background: #fbf2df; font-size: 16px; }
.admin-stat:nth-child(2) .admin-stat-icon { color: #477364; background: #eaf2eb; }
.admin-stat:nth-child(3) .admin-stat-icon { color: #94735d; background: #f5ede7; }
.admin-stat strong, .admin-stat span:not(.admin-stat-icon) { display: block; }
.admin-stat strong { color: var(--ink); font-family: Georgia, serif; font-size: 24px; font-weight: 500; line-height: 1.1; }
.admin-stat div span { margin-top: 3px; color: #87928c; font-size: 10px; }
.admin-section { margin-top: 15px; padding: 24px; border: 1px solid #e5eae4; border-radius: 11px; background: #fff; }
.admin-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 19px; }
.admin-section-heading .eyebrow { margin-bottom: 6px; }
.admin-section-heading h2 { font-size: 25px; }
.admin-section-heading .muted { margin: 6px 0 0; font-size: 11px; }
.heading-count { display: inline-grid; min-width: 24px; height: 24px; place-items: center; vertical-align: 3px; border-radius: 6px; color: #6c8175; background: #edf2ed; font-family: inherit; font-size: 10px; font-weight: 700; letter-spacing: 0; }
.admin-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 14px; }
.field { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.field-wide { grid-column: 1 / -1; }
.field > span { margin: 0; }
.field input { min-height: 42px; font-size: 12px; }
.field small, .staff-form .field small { color: #9aa49e; font-size: 10px; line-height: 1.5; }
.check-field { display: inline-flex; align-items: center; gap: 9px; color: #66756d; font-size: 11px; cursor: pointer; }
.check-field input { width: 15px; height: 15px; accent-color: var(--forest); }
.form-actions { display: flex; align-items: center; gap: 9px; }
.form-actions .button { min-height: 41px; font-size: 12px; }
.directory-admin-section { padding-bottom: 15px; }
.admin-search { width: min(240px, 38%); height: 39px; display: flex; align-items: center; padding: 0 11px; border: 1px solid #e5eae5; border-radius: 7px; background: #fbfcfa; }
.admin-search input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 11px; }
.table-wrap { width: 100%; overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; text-align: left; }
.admin-table th { padding: 10px 12px; border-bottom: 1px solid #e9ede8; color: #929d96; font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.admin-table td { padding: 12px; border-bottom: 1px solid #f0f2ef; color: #66756d; font-size: 11px; vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: 0; }
.admin-table td strong { display: block; color: #34483f; font-size: 12px; font-weight: 700; }
.admin-table td small { display: block; margin-top: 3px; color: #9aa49e; font-size: 10px; }
.table-url { display: inline-block; margin-top: 4px; color: #668174; font-size: 9px; text-decoration: none; }
.table-url:hover { text-decoration: underline; }
.table-category { display: inline-block; max-width: 180px; overflow: hidden; color: #728078; text-overflow: ellipsis; white-space: nowrap; }
.status-pill { display: inline-flex; align-items: center; gap: 5px; padding: 4px 7px; border-radius: 999px; font-size: 9px; font-weight: 750; white-space: nowrap; }
.status-active { color: #4e7960; background: #edf6ee; }
.status-hidden { color: #8b8171; background: #f4f1ea; }
.row-actions { display: flex; align-items: center; gap: 10px; }
.row-actions form, .staff-row form { margin: 0; }
.row-action { padding: 4px 0; border: 0; color: #547b69; background: transparent; text-decoration: none; cursor: pointer; font-size: 10px; font-weight: 750; }
.row-action-danger { color: #a27569; }
.row-action-danger:hover { color: var(--danger); }
.table-empty { padding: 19px; color: #89958e; text-align: center; font-size: 12px; }
.admin-empty { padding: 24px; }
.team-grid { display: grid; grid-template-columns: minmax(230px, .8fr) minmax(0, 1.2fr); gap: 24px; }
.staff-form { display: flex; flex-direction: column; gap: 11px; padding: 18px; border: 1px solid #e8ece7; border-radius: 9px; background: #fbfcfa; }
.staff-form h3, .staff-list h3 { margin: 0 0 3px; color: #34483f; font-size: 13px; }
.staff-form .field > span { margin: 0; }
.staff-form .field input { min-height: 39px; }
.staff-form .button { min-height: 40px; margin-top: 2px; font-size: 11px; }
.staff-list { min-width: 0; }
.staff-list h3 { margin-bottom: 10px; }
.staff-row { min-height: 53px; display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid #eef1ed; }
.avatar-small { width: 29px; height: 29px; flex: 0 0 auto; font-size: 12px; }
.staff-name { min-width: 0; flex: 1; }
.staff-name strong, .staff-name small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.staff-name strong { color: #46574e; font-size: 11px; }
.staff-name small { margin-top: 2px; color: #9aa49e; font-size: 9px; }
.staff-empty { color: #9aa49e; font-size: 11px; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr .68fr; }
  .hero-art { transform: scale(.9); }
  .filter-panel { grid-template-columns: minmax(220px, 1.2fr) minmax(135px, .8fr) minmax(150px, .9fr); }
  .clear-filters { grid-column: 3; justify-self: end; margin-top: -8px; padding-top: 0; padding-bottom: 2px; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
  .shell { width: min(100% - 34px, 520px); }
  .site-header { height: 68px; }
  .brand-mark { width: 32px; height: 32px; font-size: 18px; }
  .brand-name { font-size: 16px; }
  .header-actions { gap: 10px; }
  .signed-in { display: none; }
  .header-actions .button-small { min-height: 33px; padding: 0 9px; font-size: 10px; }
  .header-actions .text-button { font-size: 11px; }
  .hero { min-height: auto; display: block; padding-top: 44px; padding-bottom: 75px; }
  .hero-copy { padding: 0; }
  .hero h1 { font-size: clamp(40px, 11vw, 55px); }
  .hero-subtitle { max-width: 400px; margin-top: 15px; font-size: 13px; }
  .hero-art { min-height: 190px; margin-top: 13px; transform: none; }
  .hero-sun { width: 138px; height: 138px; top: 16px; }
  .hero-landmark { width: 185px; top: 15px; }
  .hero-orbit { top: 12px; }
  .orbit-one { width: 220px; height: 185px; }
  .orbit-two { width: 290px; height: 235px; }
  .label-top { top: 8px; right: 1%; }
  .label-bottom { bottom: -1px; left: 4%; }
  .hero-bottomline { bottom: 15px; font-size: 7px; }
  .directory-section { padding: 47px 0 54px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 5px; margin-bottom: 18px; }
  .section-heading h2 { max-width: 360px; font-size: 30px; line-height: 1.1; }
  .section-note { font-size: 11px; }
  .directory-stats { gap: 12px; padding: 14px 0; }
  .stat-item { display: block; }
  .stat-number { display: block; font-size: 23px; line-height: 1.1; }
  .stat-label { font-size: 9px; }
  .stat-divider { height: 28px; }
  .stat-message { gap: 5px; font-size: 9px; }
  .stat-sparkle { font-size: 13px; }
  .filter-panel { grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 17px; padding: 9px; }
  .search-field { grid-column: 1 / -1; height: 45px; }
  .search-field kbd { display: none; }
  .select-field { height: 45px; padding-inline: 9px; }
  .clear-filters { grid-column: 1 / -1; justify-self: end; margin: -2px 3px 0 0; }
  .results-bar { margin-bottom: 10px; font-size: 10px; }
  .card-grid { grid-template-columns: 1fr; gap: 9px; }
  .place-card { min-height: 172px; padding: 15px; }
  .place-card h3 { margin-top: 10px; font-size: 18px; }
  .card-footer { padding-top: 12px; }
  .directory-note { margin-top: 15px; padding: 11px; }
  .directory-note p { font-size: 10px; }
  .footer-inner { flex-wrap: wrap; gap: 13px; }
  .footer-inner > p { order: 3; width: 100%; margin-top: 2px; }
  .footer-lock { margin-left: auto; font-size: 9px; }
  .auth-page, .setup-page { padding: 13px; }
  .auth-shell { min-height: 0; display: block; border-radius: 14px; }
  .auth-brand-panel { min-height: 205px; padding: 22px; }
  .auth-panel-copy { margin: 20px 0 0; padding: 0 0 6px; }
  .auth-panel-copy h1 { max-width: 360px; margin: 9px 0 6px; font-size: 28px; }
  .auth-panel-copy p { font-size: 11px; }
  .auth-panel-foot { display: none; }
  .auth-form-panel { padding: 28px 23px 17px; }
  .auth-form-wrap h2 { font-size: 29px; }
  .auth-form-wrap > .muted { margin-bottom: 20px; }
  .auth-footer { margin-top: 22px; }
  .setup-card { padding: 24px 20px; }
  .brand-dark { margin-bottom: 25px; }
  .admin-main { padding-top: 26px; padding-bottom: 48px; }
  .admin-intro { align-items: flex-start; flex-direction: column; gap: 14px; }
  .admin-intro h1 { font-size: 32px; }
  .admin-welcome { align-self: flex-start; }
  .admin-stats { gap: 7px; }
  .admin-stat { align-items: flex-start; flex-direction: column; gap: 7px; padding: 11px; }
  .admin-stat-icon { width: 28px; height: 28px; font-size: 13px; }
  .admin-stat strong { font-size: 21px; }
  .admin-stat div span { font-size: 8px; }
  .admin-section { padding: 17px 14px; }
  .admin-section-heading { align-items: flex-start; flex-direction: column; gap: 11px; }
  .admin-section-heading h2 { font-size: 22px; }
  .admin-search { width: 100%; }
  .admin-form { grid-template-columns: 1fr; }
  .field-wide { grid-column: auto; }
  .form-actions { flex-wrap: wrap; }
  .table-wrap { overflow: visible; }
  .admin-table, .admin-table tbody, .admin-table tr, .admin-table td { display: block; width: 100%; }
  .admin-table thead { display: none; }
  .admin-table tr { position: relative; padding: 9px 0; border-bottom: 1px solid #e8ede8; }
  .admin-table tr:last-child { border-bottom: 0; }
  .admin-table td { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 5px 0; border: 0; text-align: right; }
  .admin-table td:first-child { display: block; padding-top: 8px; text-align: left; }
  .admin-table td:first-child::before { display: none; }
  .admin-table td::before { content: attr(data-label); flex: 0 0 76px; color: #9aa49e; text-align: left; font-size: 9px; font-weight: 750; }
  .table-category { max-width: calc(100% - 90px); }
  .row-actions { margin-left: auto; }
  .team-grid { grid-template-columns: 1fr; gap: 20px; }
  .staff-row { gap: 7px; }
  .staff-row .status-pill { font-size: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
