:root {
    --green: #244c3c; --red: #bf352e; --paper: #f5f4ee; --ink: #253d33; --muted: #606b62; --line: #dce0d7;
    --surface: #fff; --surface-subtle: #e8ede4; --field-border: #aab5a8; --error: #9f2b25; --error-surface: #fff3ef;
    --on-green: #e0e6df; --on-green-muted: #dae3d7;
    --ai-accent: #3978a4;
    --warning: #8a5700; --warning-surface: #fff7e0;
    --font-family: "Segoe UI", Arial, sans-serif; --text-label: 13px; --text-small: 12px;
    --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 20px; --space-6: 24px; --space-8: 32px;
    --radius-control: 4px; --radius-panel: 6px; --control-height: 50px; --focus-ring: 3px solid var(--green);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 32px; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.65 var(--font-family); -webkit-font-smoothing: antialiased; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
a { color: inherit; text-decoration: none; }
a, summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--red); outline-offset: 5px; border-radius: 3px; }
img { display: block; max-width: 100%; }
svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.markdown-page { max-width: 860px; min-width: 0; padding-block: 44px 64px; overflow-wrap: anywhere; }
.markdown-date { margin-block: 16px 32px; color: var(--muted); }
.markdown-content { min-width: 0; line-height: 1.75; overflow-wrap: anywhere; }
.markdown-content > :first-child { margin-top: 0; }
.markdown-content :is(h1, h2, h3, h4, h5, h6) { margin-block: 1.5em .6em; line-height: 1.25; }
.markdown-content h2 { font-size: 28px; }
.markdown-content h3 { font-size: 22px; }
.markdown-content :is(h4, h5, h6) { font-size: 18px; }
.markdown-content :is(p, ul, ol, blockquote, pre, .markdown-table) { margin-block: 0 24px; }
.markdown-content :is(ul, ol) { padding-left: 24px; }
.markdown-content li + li { margin-top: 6px; }
.markdown-content li :is(ul, ol, p) { margin-block: 8px; }
.markdown-content a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.markdown-content a:hover { color: var(--red); }
.markdown-content img { max-width: 100%; height: auto; margin-block: 24px; border-radius: var(--radius-panel); }
.markdown-content blockquote { margin-inline: 0; padding: 16px 24px; border-left: 4px solid var(--green); background: var(--surface-subtle); }
.markdown-content blockquote > :last-child { margin-bottom: 0; }
.markdown-content code { padding: 2px 5px; border-radius: var(--radius-control); background: var(--surface-subtle); font-size: .9em; }
.markdown-content pre { max-width: 100%; padding: 20px; overflow-x: auto; background: var(--surface-subtle); border-radius: var(--radius-panel); }
.markdown-content pre code { padding: 0; overflow-wrap: normal; white-space: pre; }
.markdown-content .markdown-table { max-width: 100%; overflow-x: auto; }
.markdown-content table { width: 100%; border-collapse: collapse; background: var(--surface); }
.markdown-content :is(th, td) { padding: 12px 16px; border: 1px solid var(--line); text-align: left; overflow-wrap: normal; }
.markdown-content th { background: var(--surface-subtle); }
.markdown-content :is(pre, .markdown-table):focus-visible { outline: var(--focus-ring); outline-offset: 3px; }
@media (max-width: 700px) {
    .markdown-page { padding-block: 28px 40px; }
    .markdown-content h2 { font-size: 24px; }
    .markdown-content blockquote { padding: 12px 16px; }
}
.wrap { width: min(1240px, calc(100% - 96px)); margin-inline: auto; }
.skip { position: absolute; top: -80px; left: 24px; background: var(--surface); padding: 12px 20px; z-index: 5; }
.skip:focus { top: 10px; }
.utility { background: var(--surface-subtle); font-size: 12px; letter-spacing: .025em; }
.utility .wrap { min-height: 35px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.locality { display: flex; align-items: center; gap: 8px; }
.locality::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.header { background: var(--surface); }
.header-inner { min-height: 104px; display: flex; align-items: center; gap: 30px; }
.brand { display: flex; align-items: center; gap: 13px; margin-right: auto; }
.brand img { width: 64px; height: 64px; object-fit: contain; }
.brand-name { display: block; font-size: 21px; font-weight: 750; line-height: 1.2; letter-spacing: -.6px; }
.brand-place { display: block; font-size: 12px; font-weight: 500; letter-spacing: 2.2px; text-transform: uppercase; margin-top: 5px; }
.desktop-nav { display: flex; align-items: center; gap: 25px; font-size: 13px; font-weight: 600; }
.desktop-nav a { padding-block: 15px; border-bottom: 2px solid transparent; }
.desktop-nav a:hover { border-color: var(--red); }
.desktop-nav .nav-arrow { display: none; }
.mobile-nav { display: none; }
.menu-toggle { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 8px; color: var(--green); background: transparent; border: 0; border-radius: var(--radius-control); cursor: pointer; }
.menu-toggle:focus-visible { outline: var(--focus-ring); outline-offset: 3px; }
.mobile-menu { position: fixed; inset: 35px 0 auto; margin: 0; width: 100%; max-width: none; max-height: calc(100dvh - 35px); padding: 0 0 24px; border: 0; color: var(--ink); background: var(--surface); overflow-y: auto; }
.mobile-menu[open] { animation: menu-enter .2s ease-out; }
.mobile-menu::backdrop { background: rgb(22 32 25 / 42%); }
.mobile-menu-heading { min-height: 90px; display: flex; align-items: center; gap: 20px; border-bottom: 1px solid var(--line); }
.mobile-nav-content > nav:first-child { display: flex; flex-direction: column; }
.mobile-nav-content > nav:first-child a { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding-block: 12px; border-bottom: 1px solid var(--line); font-size: 16px; }
.mobile-nav-content .nav-arrow { width: 18px; height: 18px; }
.mobile-account-actions { display: grid; gap: 4px; margin-top: 20px; }
.mobile-account-actions form { margin: 0; }
.mobile-account-actions .button { display: flex; justify-content: flex-start; width: 100%; min-height: 44px; padding: 10px 0; border: 0; background: transparent; font-size: 16px; font-weight: 400; }
body.menu-open { overflow: hidden; }
@keyframes menu-enter { from { transform: translateY(-100%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.account-actions { display: flex; align-items: center; gap: 8px; }
.account-actions form { margin: 0; }
.eyebrow { font-size: 11px; line-height: 1.5; font-weight: 750; letter-spacing: 2px; text-transform: uppercase; margin: 0 0 20px; }
.eyebrow::before { content: ""; display: inline-block; width: 22px; height: 2px; background: var(--red); vertical-align: middle; margin-right: 10px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 44px; padding: var(--space-2) 22px; border: 1px solid transparent; border-radius: var(--radius-control); background: var(--red); color: var(--surface); font-family: inherit; font-size: var(--text-label); font-weight: 650; line-height: inherit; cursor: pointer; transition: background .15s; }
.button:hover { background: var(--error); }
.button svg { width: 18px; height: 18px; }
.button:focus-visible { outline: var(--focus-ring); outline-offset: 3px; }
.button--light { background: var(--surface); color: var(--green); }
.button--light:hover { background: var(--surface-subtle); }
.button--secondary { border-color: var(--line); background: transparent; color: var(--ink); gap: 9px; padding-inline: var(--space-4); white-space: nowrap; }
.button--secondary:hover { background: var(--paper); border-color: var(--green); }
.button--secondary svg { width: 17px; height: 17px; }
.button--delete { color: var(--error); border-color: var(--red); }
.button--delete:not(:disabled):hover { background: var(--error-surface); border-color: var(--error); }
.button--delete:disabled { border-color: var(--line); }
.button.button--icon { width: 44px; min-width: 44px; height: 44px; padding: 0; vertical-align: middle; }
.button.button--icon svg { width: 20px; height: 20px; stroke-width: 1.7; }
.button:disabled { background: var(--line); color: var(--muted); cursor: not-allowed; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-panel); min-width: 0; }
.panel--green { background: var(--green); color: var(--surface); border-color: var(--green); }
.field { min-width: 0; }
.field label { display: block; font-size: var(--text-label); font-weight: 650; margin-bottom: 7px; }
.field-labels-on-border .field > label { position: relative; z-index: 1; top: auto; left: auto; width: fit-content; max-width: calc(100% - 20px); margin: 0 10px -.75em; padding-inline: 4px; background: var(--surface); line-height: 1.5; }
.required { color: var(--red); }
.field :is(input, select, textarea) { display: block; width: 100%; min-width: 0; min-height: var(--control-height); padding: var(--space-3) 14px; border: 1px solid var(--field-border); border-radius: var(--radius-control); background: var(--surface); color: var(--ink); font: inherit; line-height: 1.4; }
.field textarea { resize: vertical; }
.field :is(input, select, textarea):focus-visible, .check input:focus-visible { outline: var(--focus-ring); outline-offset: 3px; }
.field [aria-invalid="true"], .check [aria-invalid="true"] { border-color: var(--red); }
.field :is(input, select, textarea):disabled { background: var(--surface-subtle); color: var(--muted); cursor: not-allowed; opacity: 1; }
.field-help, .field-error { font-size: var(--text-small); margin: 6px 0 0; overflow-wrap: anywhere; }
.field-help { color: var(--muted); }
.field-error { color: var(--error); }
.check > label { display: flex; align-items: start; gap: 11px; font-size: var(--text-label); font-weight: 650; cursor: pointer; padding-block: var(--space-2); }
.check input { accent-color: var(--green); flex-shrink: 0; width: 19px; height: 19px; margin: 0; }
.check:has(input:disabled) > label { color: var(--muted); cursor: not-allowed; }
.check .field-help, .check .field-error { margin-left: 30px; }
.message { border-left: 3px solid var(--green); padding: 14px 18px; background: var(--surface-subtle); font-size: var(--text-label); overflow-wrap: anywhere; }
.message--error { border-color: var(--red); background: var(--error-surface); }
.message > :first-child { margin-top: 0; }
.message > :last-child { margin-bottom: 0; }
.message ul { padding-left: 18px; margin-block: var(--space-2) 0; }
.message a:not(.button) { text-decoration: underline; text-underline-offset: 3px; }
.toast-stack { display: grid; gap: var(--space-3); }
.toast { display: flex; align-items: flex-start; gap: var(--space-3); padding: var(--space-3); border: 1px solid var(--line); border-left: 4px solid var(--green); border-radius: var(--radius-panel); background: var(--surface); color: var(--ink); font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.toast--information { border-left-color: var(--ai-accent); }
.toast--information .toast-icon { color: var(--ai-accent); }
.toast--warning { border-left-color: var(--warning); background: var(--warning-surface); }
.toast--warning .toast-icon { color: var(--warning); }
.toast--success { background: var(--surface-subtle); }
.toast--success .toast-icon { color: var(--green); }
.toast--error { border-left-color: var(--red); background: var(--error-surface); }
.toast--error .toast-icon { color: var(--error); }
.toast-icon { flex: 0 0 24px; width: 24px; height: 24px; margin-top: 4px; }
.toast-content { flex: 1; min-width: 0; }
.toast-content p { margin: 4px 0 0; }
.toast-close { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 44px; width: 44px; height: 44px; margin: -4px; padding: 12px; border: 0; border-radius: var(--radius-control); background: transparent; color: inherit; cursor: pointer; }
.toast-close:hover { background: rgb(37 61 51 / 8%); }
.toast-close:focus-visible { outline: var(--focus-ring); outline-offset: -2px; }
.toast-close svg { width: 20px; height: 20px; }
.toast-announcer { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.toasts:not(.toasts--active) { width: min(1240px, calc(100% - 40px)); margin: 16px auto; }
.toasts:not(.toasts--active):not(:has([data-toast])) { display: none; }
.toasts--active { --toast-top: 16px; position: fixed; z-index: 10; top: var(--toast-top); right: 16px; width: min(400px, calc(100% - 32px)); pointer-events: none; }
.toasts--active .toast-stack { max-height: calc(100dvh - var(--toast-top) - 16px); overflow-y: auto; overscroll-behavior: contain; padding: 4px; }
.toasts--active .toast { pointer-events: auto; box-shadow: 0 4px 16px rgb(22 32 25 / 14%); }
@media (max-width: 1000px) {
    .toasts--active { --toast-top: var(--toast-mobile-top, 132px); right: 12px; width: calc(100% - 24px); }
}
.text-link { display: inline-flex; align-items: center; gap: 13px; min-height: 44px; font-size: 13px; font-weight: 650; }
.text-link svg { width: 18px; height: 18px; transition: transform .15s; }
.text-link:hover svg { transform: translateX(4px); }
.back-link { color: var(--muted); margin-bottom: var(--space-6); }
.back-link svg { transform: rotate(180deg); }
.back-link:hover svg { transform: rotate(180deg) translateX(4px); }
.section { padding-block: 65px; }
.white { background: var(--surface); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.section-heading .eyebrow { margin-bottom: 12px; }
h1, h2 { font-size: clamp(30px, 3vw, 42px); font-weight: 600; line-height: 1.18; letter-spacing: -1.4px; margin: 0; }
h3 { font-size: 21px; line-height: 1.3; letter-spacing: -.5px; font-weight: 650; margin: 0 0 12px; }
footer { background: var(--surface-subtle); padding-block: 27px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 11px; color: #516052; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-links a:hover { text-decoration: underline; }
@media (min-width: 1001px) and (max-width: 1399px) {
    .account-actions .account-action-label { display: none; }
    .account-actions .button, .account-actions.button { width: 44px; padding-inline: 0; }
}
@media (max-width: 1150px) {
    .desktop-nav { gap: 15px; font-size: 12px; }
    .header-inner { gap: 20px; }
    .brand-name { font-size: 18px; }
    .brand img { width: 56px; height: 56px; }
}
@media (max-width: 1000px) {
    .wrap { width: calc(100% - 56px); }
    .desktop-nav { display: none; }
    .header-inner { position: relative; min-height: 90px; padding-block: 12px; gap: 12px; }
    .header-inner > .account-actions { display: none; }
    .menu-toggle { display: inline-flex; flex-shrink: 0; }
    .mobile-nav { display: block; margin: 0; }
    .mobile-nav summary { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 8px; cursor: pointer; list-style: none; }
    .mobile-nav summary::-webkit-details-marker { display: none; }
    .mobile-nav[open] .mobile-nav-content { position: absolute; top: 100%; left: 0; right: 0; padding: 0 20px 24px; background: var(--surface); z-index: 4; }
}
@media (max-width: 700px) {
    .wrap { width: calc(100% - 40px); }
    .utility .wrap { min-height: 30px; font-size: 10px; justify-content: center; }
    .utility .locality { display: none; }
    .header-inner { min-height: 90px; padding-block: 12px; gap: 8px; }
    .brand { gap: 9px; }
    .brand img { width: 47px; height: 47px; }
    .brand-name { font-size: 16px; letter-spacing: -.5px; }
    .brand-place { font-size: 9px; letter-spacing: 1.7px; margin-top: 3px; }
    .button--secondary { padding: 8px 10px; font-size: 11px; gap: 6px; }
    .button--secondary svg { width: 15px; height: 15px; }
    .mobile-menu { top: 30px; max-height: calc(100dvh - 30px); }
    .eyebrow { font-size: 10px; letter-spacing: 1.5px; margin-bottom: 17px; }
    .section { padding-block: 44px; }
    .section-heading { align-items: start; flex-direction: column; gap: 15px; margin-bottom: 25px; }
    .section-heading > .text-link { min-height: 44px; }
    h1, h2 { font-size: 33px; letter-spacing: -1.1px; }
    .footer-inner { align-items: start; flex-direction: column; gap: 15px; }
}
@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; animation: none !important; }
}
.occupancy-blocker-warning { border-left-width: 6px; border-radius: var(--radius-control); padding: 20px; font-size: 16px; overflow-wrap: anywhere; }
.message.occupancy-blocker-warning > h2 { display: flex; align-items: flex-start; gap: 8px; margin: 0; color: var(--error); font-size: 18px; }
.occupancy-blocker-warning > h2 svg { flex-shrink: 0; width: 24px; height: 24px; }
.occupancy-blocker-warning p, .occupancy-blocker-warning ul { margin: 12px 0 0; }
