:root {
  color-scheme: light;
  --paper: #f7f8f3;
  --white: #fff;
  --ink: #19261d;
  --muted: #566359;
  --line: #dbe2d7;
  --forest: #192e24;
  --forest-deep: #14231c;
  --lime: #d9f46d;
  --radius: 16px;
  font: 16px/1.5 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); }
button,input,textarea,select { font: inherit; }
button,a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .65; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid #63801d; outline-offset: 3px; }
[hidden] { display: none !important; }
.wrap { width: min(1180px, calc(100% - 56px)); margin-inline: auto; }
.top { border-bottom: 1px solid var(--line); background: var(--white); }
.bar { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 1.1rem; font-weight: 850; line-height: 1.15; letter-spacing: -.025em; }
.brand small { display: block; margin-top: 4px; color: var(--muted); font-size: .58rem; letter-spacing: .13em; font-weight: 750; }
.mark { display: grid; position: relative; place-items: center; width: 42px; height: 42px; border-radius: 12px; color: var(--lime); background: var(--forest); font-size: .94rem; letter-spacing: -.03em; }
.mark span { position: absolute; right: 5px; top: 6px; width: 4px; height: 4px; background: var(--lime); border-radius: 50%; }
.quiet,.secondary,.primary,.close { min-height: 44px; border: 1px solid transparent; border-radius: 9px; padding: 9px 15px; font-weight: 750; transition: background .16s, border-color .16s; }
.quiet,.secondary { color: var(--forest); background: var(--white); border-color: var(--line); }
.quiet:hover,.secondary:hover { background: #eef2e9; border-color: #aab9a9; }
.primary { background: var(--forest); color: white; }
.primary:hover { background: #31513e; }
.hero { display: grid; grid-template-columns: minmax(0,.88fr) minmax(0,1.52fr); align-items: center; margin-top: 24px; padding: 15px; border-radius: 24px; background: radial-gradient(ellipse at 70% 5%, #304737, var(--forest-deep) 65%); color: white; }
.hero-copy { min-width: 0; padding: 20px clamp(15px,2.5vw,35px); }
.eyebrow { margin: 0; font-size: .69rem; letter-spacing: .125em; font-weight: 850; }
.hero-label { color: #dbe8d7; }
.hero-label i { display: inline-block; width: 7px; height: 7px; margin-right: 5px; border-radius: 50%; background: var(--lime); }
h1 { margin: 12px 0; font-size: clamp(2.2rem,4.25vw,4.2rem); font-weight: 900; line-height: 1.03; letter-spacing: -.065em; }
h1 em { color: var(--lime); font-style: normal; }
.hero-copy > p:not(.eyebrow) { color: #e1e9df; max-width: 335px; margin: 0 0 17px; }
.hero .primary { color: var(--forest-deep); background: var(--lime); }
.hero .primary:hover { background: #e6fa9a; }
.hero .primary span { margin-right: 4px; }
.hero-art { margin: 0; min-width: 0; overflow: hidden; border: 1px solid #47604b; border-radius: 14px; }
.hero-banner { display: block; width: 100%; height: auto; }
.tabs { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 5px; margin-top: 17px; padding: 5px; border: 1px solid var(--line); border-radius: 13px; background: var(--white); }
.tabs a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 49px; padding: 6px; border-radius: 8px; font-size: .89rem; font-weight: 750; line-height: 1.2; text-align: center; }
.tabs a:hover { background: #f0f3eb; }
.tabs a[aria-current="page"] { background: var(--forest); color: var(--white); }
.tab-icon { display: inline-flex; flex: 0 0 auto; color: #4b6651; }
.tabs a[aria-current="page"] .tab-icon { color: var(--lime); }
.tab-icon svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.content { padding: 29px 0 38px; }
.section-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 13px; }
.section-label { color: #4d6d4d; }
.section-top h2 { margin: 4px 0 0; font-size: clamp(1.9rem,4vw,2.85rem); line-height: 1.12; letter-spacing: -.052em; }
.section-top p:not(.eyebrow) { margin: 6px 0 0; color: var(--muted); }
.section-top button { flex: 0 0 auto; }
.filters { display: flex; gap: 9px; margin: 16px 0; }
.filters input { flex: 1; }
.filters select { width: auto; max-width: 48%; }
.grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 13px; margin-top: 16px; }
.card,.empty,.admin-row { min-width: 0; overflow-wrap: anywhere; background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: 17px; }
.card { display: flex; flex-direction: column; gap: 10px; }
.card:hover { border-color: #9caf9b; }
.card h3,.empty h3,.admin-row h3 { margin: 0; font-size: 1.13rem; line-height: 1.25; letter-spacing: -.025em; }
.card p,.empty p,.admin-row p { margin: 0; color: var(--muted); white-space: pre-wrap; }
.card .primary { margin-top: auto; width: 100%; }
.card.profile { cursor: pointer; }
.badge,.rating { display: inline-block; align-self: flex-start; background: #eaf0e4; color: #38533e; padding: 3px 8px; border-radius: 6px; font-size: .75rem; font-weight: 800; }
.rating { margin-top: 4px; }
.empty { display: grid; justify-items: center; gap: 8px; margin-top: 16px; padding: 26px 14px; text-align: center; }
.empty .secondary { margin-top: 4px; }
.empty-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: #eaf0e4; color: var(--forest); font-size: 1.25rem; }
.avatar { width: 58px; height: 58px; flex: 0 0 58px; display: grid; place-items: center; border-radius: 12px; background: #e5eddf; color: var(--forest); font-weight: 850; object-fit: cover; }
.person { display: flex; gap: 11px; align-items: center; }
.footer { display: flex; justify-content: space-between; gap: 9px; border-top: 1px solid var(--line); padding: 15px 0 20px; color: var(--muted); font-size: .75rem; }
.footer strong { letter-spacing: .08em; }
dialog { width: min(580px,calc(100% - 24px)); max-height: calc(100dvh - 28px); overflow: auto; padding: 0; border: 1px solid var(--line); border-radius: 18px; color: var(--ink); box-shadow: 0 20px 75px #07140745; }
dialog::backdrop { background: #111c13a6; }
body:has(dialog[open]) { overflow: hidden; }
.dialog-head { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--line); padding: 12px 17px; background: white; }
.dialog-head h2 { margin: 0; font-size: 1.25rem; line-height: 1.2; overflow-wrap: anywhere; }
.close { flex: 0 0 44px; width: 44px; padding: 0; background: #edf1eb; color: var(--forest); font-size: 1.45rem; }
#dialog-body { padding: 16px 17px max(18px,env(safe-area-inset-bottom)); }
.form { display: grid; gap: 11px; }
.pair { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.form label { display: grid; gap: 5px; min-width: 0; font-size: .88rem; font-weight: 750; }
.form label.check { display: flex; align-items: flex-start; gap: 8px; font-weight: 500; }
.check input { flex: 0 0 20px; width: 20px; height: 20px; min-height: 0; accent-color: var(--forest); }
input,select,textarea { width: 100%; min-width: 0; min-height: 45px; border: 1px solid #bdc8bb; border-radius: 8px; padding: 8px 10px; color: var(--ink); background: white; font-size: 16px; }
textarea { min-height: 88px; resize: vertical; }
.hint { margin: 0; color: var(--muted); font-size: .85rem; }
.form .error { margin: 0; color: #92291f; font-size: .9rem; }
.admin-list { display: grid; gap: 9px; margin-top: 12px; }
.admin-row { display: grid; gap: 7px; }
.admin-row .admin-tel { font-weight: 750; text-decoration: underline; }
.admin-row dl { display: grid; grid-template-columns: max-content 1fr; gap: 4px 10px; margin: 7px 0; font-size: .85rem; }
.admin-row dt { font-weight: 750; }
.admin-row dd { margin: 0; white-space: pre-wrap; }
.photo-picker { display: grid; gap: 7px; }
.photo-picker input { padding: 5px; line-height: 32px; }
.photo-picker input::file-selector-button { border: 0; background: #e7efdc; border-radius: 6px; padding: 4px 9px; margin-right: 7px; color: var(--ink); font: inherit; font-weight: 750; }
.photo-preview { width: 92px; height: 92px; object-fit: cover; border-radius: 10px; }
.photo-review { justify-self: start; }
#toast { position: fixed; z-index: 2; bottom: max(16px,env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); width: max-content; max-width: calc(100% - 24px); background: var(--forest); color: white; border-radius: 10px; padding: 12px 16px; }
@media (max-width: 850px) {
  .wrap { width: calc(100% - 36px); }
  .grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 24px); }
  .bar { min-height: 60px; }
  .mark { width: 36px; height: 36px; }
  .brand { gap: 8px; font-size: 1rem; }
  .quiet { font-size: .82rem; padding-inline: 10px; }
  .hero { grid-template-columns: 1fr; gap: 0; margin-top: 12px; padding: 6px; border-radius: 16px; }
  .hero-art { grid-row: 1; border-radius: 11px; }
  .hero-copy { padding: 12px 10px 9px; }
  .hero-label { font-size: .58rem; }
  h1 { margin: 6px 0; font-size: clamp(1.55rem,6.7vw,2.35rem); letter-spacing: -.055em; }
  h1 br { display: none; }
  h1 em { margin-left: .14em; }
  .hero-copy > p:not(.eyebrow) { margin-bottom: 10px; font-size: .83rem; }
  .hero .primary { font-size: .86rem; }
  .tabs { gap: 3px; margin-top: 10px; padding: 4px; }
  .tabs a { min-height: 52px; padding: 4px 2px; flex-direction: column; gap: 3px; font-size: .72rem; }
  .desktop { display: none; }
  .content { padding-top: 21px; }
  .section-top { align-items: flex-start; flex-direction: column; gap: 8px; }
  .section-top p:not(.eyebrow) { font-size: .88rem; }
  .section-top .secondary { width: 100%; }
  .filters { margin: 12px 0; }
  .grid { grid-template-columns: 1fr; }
  .footer { flex-wrap: wrap; }
  dialog { margin: auto auto 0; width: 100%; max-width: none; max-height: calc(100dvh - 14px); border-radius: 17px 17px 0 0; }
  .pair { grid-template-columns: 1fr; }
  .dialog-head { padding: 9px 12px; }
  #dialog-body { padding: 13px 12px max(16px,env(safe-area-inset-bottom)); }
}

.support-fields { display: grid; gap: 7px; min-inline-size: 0; margin: 0; padding: 8px 10px 10px; border: 1px solid var(--line); border-radius: 9px; }
.support-fields legend { padding-inline: 4px; font-size: .88rem; font-weight: 750; }
.support-fields .pair { grid-template-columns: repeat(2,minmax(0,1fr)); }
.card .support { color: var(--forest); font-weight: 750; }
.admin-row dl { grid-template-columns: fit-content(45%) minmax(0,1fr); }
