/* Spartanac: the red helmet, the blue training mats, and room to play. */
:root{color-scheme:only light;--ink:#17191e;--muted:#626771;--red:#c62232;--red-dark:#a81827;--blue:#1758b8;--paper:#f9f8f5;--line:#dedfe3;--white:#fff;--radius:18px;--shadow:0 16px 50px #14172008}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:112px}
body{margin:0;font-family:Inter,"Segoe UI",Arial,sans-serif;color:var(--ink);background:var(--paper);font-size:16px;line-height:1.65;-webkit-font-smoothing:antialiased}
h1,h2,h3,p,figure{margin:0}
h1,h2,h3{font-weight:800;line-height:1.12;letter-spacing:-.045em}
h1{font-size:clamp(42px,5.8vw,82px)}
h2{font-size:clamp(32px,3.5vw,50px)}
h3{font-size:24px}
a{color:inherit;text-decoration-thickness:1px;text-underline-offset:5px}
button,input{font:inherit}
button,a,input,summary{-webkit-tap-highlight-color:transparent}
button{cursor:pointer}
button:disabled{cursor:not-allowed;opacity:.55}
img{display:block;max-width:100%;height:auto}
svg{display:block}
.ui-icon{display:inline-block;width:1em;height:1em;flex:0 0 auto;vertical-align:-.13em;pointer-events:none}
.login-decoration .ui-icon{width:1em;height:1em;stroke-width:1}
.photo-dialog-image{touch-action:pan-y pinch-zoom}
.photo-dialog-image.is-zoomed{touch-action:auto}
.photo-dialog-image img{user-select:none;-webkit-user-select:none}
ul,ol{padding:0;margin:0;list-style:none}
:focus-visible{outline:3px solid var(--blue);outline-offset:5px}
:target{scroll-margin-top:120px}
main:focus{outline:none}
.wrap{width:min(1240px,calc(100% - 96px));margin-inline:auto}
.eyebrow{font-size:11px;font-weight:800;letter-spacing:.16em;line-height:1.5;text-transform:uppercase;color:var(--muted)}
.red-text{color:var(--red)}
.small-muted{font-size:13px;color:var(--muted)}
.text-link{display:inline-flex;align-items:center;gap:14px;font-weight:700;text-decoration:none;padding-block:10px;min-height:44px}
.text-link:hover{text-decoration:underline}
.text-link>span{font-size:21px}
.button{display:inline-flex;justify-content:center;align-items:center;gap:22px;min-height:52px;padding:14px 23px;border:1px solid transparent;border-radius:8px;background:var(--red);color:#fff;font-size:14px;font-weight:750;line-height:1.4;text-decoration:none;transition:background .18s,transform .18s}
.button:hover{background:var(--red-dark);transform:translateY(-1px)}
.button>span{font-size:20px;font-weight:400}
.button-small{min-height:44px;padding:11px 18px;font-size:13px;gap:12px}
.button-dark{background:var(--ink)}
.button-dark:hover{background:#343740}
.button-quiet{background:transparent;color:var(--ink);border-color:var(--line)}
.button-quiet:hover{background:#eef0f3}
.button-outline{color:var(--ink);background:transparent;border-color:#c9cbd1}
.button-outline:hover{color:var(--red);background:#fff4f4;border-color:var(--red)}
.button-full{width:100%}
.skip{position:fixed;left:20px;top:-100px;z-index:1000;background:#fff;padding:12px 20px;box-shadow:var(--shadow)}
.skip:focus{top:10px}
.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}
.site-header{position:sticky;top:0;z-index:30;background:#fffffffa;border-bottom:1px solid var(--line)}
.header-inner{width:min(1360px,calc(100% - 64px));min-height:94px;margin:auto;display:flex;align-items:center;gap:32px;justify-content:space-between}
.brand{display:inline-flex;align-items:center;gap:13px;text-decoration:none;flex-shrink:0}
.brand img{border-radius:50%;width:62px;height:62px;object-fit:contain;background:#fff}
.brand-type{font-size:21px;font-weight:900;letter-spacing:.04em;line-height:1}
.brand-type small{display:block;font-size:9px;letter-spacing:.18em;margin-top:9px;font-weight:700;color:var(--muted)}
.desktop-nav{display:flex;gap:34px;margin-left:auto;margin-right:18px}
.desktop-nav a{font-size:13px;font-weight:700;text-decoration:none;padding:12px 0;position:relative}
.desktop-nav a:hover{color:var(--red)}
.mobile-menu,.mobile-call{display:none}
.call-bubble{position:fixed;z-index:25;right:22px;bottom:calc(18px + env(safe-area-inset-bottom));display:grid;gap:7px;background:linear-gradient(145deg,#b82b3d,#e32d3b);color:#fff;border:1px solid #ffffff45;border-radius:18px 18px 5px 18px;padding:17px 22px;text-decoration:none;box-shadow:0 8px 30px #5b102a40;min-height:72px;max-width:calc(100vw - 32px)}
.call-bubble>strong{font-size:24px;line-height:1.05;letter-spacing:-.5px}.call-bubble>span{display:flex;align-items:center;gap:8px;font-size:16px;font-weight:800;white-space:nowrap}.call-bubble svg{width:21px;height:21px;fill:currentColor}
.call-bubble:hover{background:#ab2030;color:#fff}.call-bubble:focus-visible{outline:3px solid #192d4d;outline-offset:4px}.public-footer{padding-bottom:128px}
@media(max-width:640px){.call-bubble{right:12px;bottom:calc(12px + env(safe-area-inset-bottom));padding:13px 17px;min-height:68px}.call-bubble>strong{font-size:22px}.call-bubble>span{font-size:14px}.public-footer{padding-bottom:120px}}
.hero{display:grid;grid-template-columns:1.06fr 1fr;gap:64px;align-items:center;padding-block:76px 88px}
.hero-copy .eyebrow{display:flex;gap:10px;align-items:center;margin-bottom:27px;font-size:10px}
.red-dash{width:24px;height:3px;background:var(--red);display:inline-block;flex-shrink:0}
.hero h1{line-height:.99;letter-spacing:-.065em;margin-bottom:27px}
.hero h1>span{color:var(--red)}
.hero-lead{color:#5c6067;font-size:18px;line-height:1.7;max-width:450px}
.hero-actions{display:flex;align-items:center;gap:23px;margin-top:32px;flex-wrap:wrap}
.hero-actions .text-link{font-size:13px}
.hero-note{display:flex;gap:17px;align-items:center;margin-top:48px;font-size:13px;color:var(--muted)}
.hero-note strong{color:var(--ink);font-weight:650}
.note-mark{font-size:40px;color:var(--red);line-height:1}
.hero-visual{position:relative;padding-right:12px}
.hero-photo{position:relative;margin-left:22px;border-radius:130px 20px 20px 20px;overflow:hidden;box-shadow:0 25px 55px #141b2d16;background:#236bc4}
.hero-photo img{width:100%;aspect-ratio:4/5;object-fit:cover}
.hero-orbit{position:absolute;border:1px solid #dbd3ca;border-radius:50%;width:100%;aspect-ratio:1;right:-22px;top:35px}
.photo-label{position:absolute;left:-12px;bottom:26px;background:#fff;color:var(--ink);font-size:12px;font-weight:750;padding:14px 19px;border-radius:8px;box-shadow:0 5px 24px #00000018;display:flex;align-items:center;gap:10px}
.live-dot{width:8px;height:8px;border-radius:50%;background:var(--red)}
.hero-stamp{position:absolute;right:-20px;top:-20px;display:grid;place-content:center;rotate:8deg;background:var(--red);color:#fff;font-size:11px;line-height:1.5;letter-spacing:.1em;width:112px;height:112px;border-radius:50%;text-align:center;font-weight:600;border:5px solid var(--paper)}
.hero-stamp b{font-size:10px}
.facts-band{border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:#fff}
.facts{display:grid;grid-template-columns:1fr 1fr 1fr 1.25fr;align-items:center;padding-block:32px}
.facts>div{padding:0 32px;border-right:1px solid var(--line)}
.facts>div:first-child{padding-left:0}
.facts strong{font-size:42px;line-height:1.1;letter-spacing:0;display:block;font-weight:800;font-variant-numeric:lining-nums tabular-nums}
.facts strong small{font-size:15px;letter-spacing:0;font-weight:500;margin-left:9px}
.facts strong span{color:var(--red)}
.facts p{font-size:12px;color:var(--muted);margin-top:8px}
.facts .facts-message{position:relative;padding-left:40px;font-size:17px;color:var(--ink);margin:0;line-height:1.45}
.facts-message>span{position:absolute;right:0;top:0;color:var(--red);font-size:42px}
.section-space{padding-block:100px}
.section-heading{display:flex;justify-content:space-between;gap:60px;align-items:end;margin-bottom:48px}
.section-heading h2{margin-top:18px}
.section-heading>p,.section-heading>div:last-child:not(:first-child){max-width:370px;font-size:15px;color:var(--muted)}
.section-heading .small-muted{display:block;margin-top:15px}
.muted-heading{color:#8b8b8b}
.story-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:84px;align-items:center}
.story-photo{position:relative;border-radius:18px;overflow:hidden;background:#d9e7fa}
.story-photo img{width:100%;aspect-ratio:4/4.5;object-fit:cover;object-position:50% 34%}
.story-photo figcaption{position:absolute;bottom:24px;left:24px;right:24px;color:#fff;background:#17191ee8;border:1px solid #ffffff25;border-radius:8px;padding:13px 20px;font-size:13px;font-weight:600}
.principles article{display:flex;gap:20px;align-items:start;padding:30px 0;border-bottom:1px solid var(--line)}
.principles article:first-child{padding-top:0}
.principle-number{font-size:12px;color:var(--red);font-weight:800;padding-top:7px}
.principles h3{font-size:25px;letter-spacing:-.035em;margin-bottom:12px}
.principles p{font-size:14px;color:var(--muted);line-height:1.8;max-width:400px}
.principles article>span:last-child{margin-left:auto;color:var(--red);font-size:25px}
.principles>.text-link{margin-top:25px;font-size:14px}
.gallery-section{background:#eeeef0;border-block:1px solid #e2e3e7}
.gallery-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:32px 20px}
.gallery-item a{position:relative;display:block;overflow:hidden;border-radius:12px;background:#d4dce7}
.gallery-item img{width:100%;aspect-ratio:4/5;object-fit:cover;transition:transform .3s}
.gallery-item a:hover img{transform:scale(1.025)}
.photo-open{position:absolute;right:12px;top:12px;width:34px;height:34px;display:grid;place-items:center;border-radius:50%;color:#fff;background:#17191eaa;font-size:21px}
.gallery-item figcaption{display:flex;align-items:start;gap:12px;font-size:12px;line-height:1.6;font-weight:650;padding-top:13px}
.gallery-item figcaption>span{font-size:10px;font-weight:500;color:#777e88;padding-top:2px}
.gallery-bottom{border-top:1px solid #d8d9df;margin-top:40px;padding-top:22px;display:flex;align-items:center;justify-content:space-between;gap:22px}
.gallery-bottom p{font-size:13px;color:var(--muted)}
.gallery-bottom .text-link{font-size:13px}
.faq-section{display:grid;grid-template-columns:.85fr 1.15fr;gap:100px}
.faq-section h2{margin-top:19px}
.section-intro{font-size:15px;color:var(--muted);margin:25px 0 15px}
.faq-list details{border-bottom:1px solid var(--line)}
.faq-list details:first-child{border-top:1px solid var(--line)}
.faq-list summary{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:25px 0;cursor:pointer;font-size:15px;font-weight:700;list-style:none}
.faq-list summary::-webkit-details-marker{display:none}
.faq-list summary>span{font-size:25px;color:var(--red);font-weight:400}
.faq-list details[open] summary>span{rotate:45deg}
.faq-list details p{font-size:14px;color:var(--muted);padding-bottom:24px;max-width:95%}
.contact-section{background:var(--red);color:#fff;overflow:hidden}
.contact-inner{padding-block:70px;display:flex;justify-content:space-between;gap:50px;align-items:center}
.contact-inner .eyebrow{color:#ffe4e7;font-size:10px}
.contact-inner h2{font-size:clamp(44px,5vw,66px);margin:17px 0 20px;letter-spacing:-.055em}
.contact-inner p:not(.eyebrow){font-size:15px;color:#ffe7e9}
.contact-phone{display:block;position:relative;text-decoration:none;padding:24px 86px 30px 0;border-bottom:1px solid #ffffff70;min-width:390px}
.contact-phone>span:first-child{font-size:10px;letter-spacing:.14em;display:block;margin-bottom:15px}
.contact-phone strong{font-size:37px;font-weight:750;letter-spacing:-.035em;white-space:nowrap}
.contact-arrow{position:absolute;right:0;top:35px;font-size:60px;font-weight:300}
.contact-phone:hover .contact-arrow{transform:translate(4px,-4px)}
.public-footer{background:#17191e;color:#fff}
.footer-top{display:flex;justify-content:space-between;align-items:center;gap:40px;padding-block:48px}
.brand-footer .brand-type{font-size:22px}
.brand-footer .brand-type small{color:#a7abb5}
.brand-footer img{width:76px;height:76px}
.footer-top>p{font-size:15px;line-height:1.6;color:#c7c9d0}
.footer-top>div{display:grid;gap:8px}
.footer-top>div a{font-size:13px;text-decoration:none;min-height:34px}
.footer-top>div a span{margin-left:20px}
.footer-bottom{padding-block:22px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid #36383e;font-size:11px;color:#a7abb5}
.footer-bottom a{min-height:35px;display:flex;align-items:center;gap:12px}
.photo-dialog{border:1px solid #ffffff30;border-radius:15px;background:#15171c;color:#fff;width:min(820px,calc(100% - 32px));max-width:none;max-height:calc(100dvh - 32px);padding:18px 22px 14px;overflow:auto;box-shadow:0 30px 100px #0008}
.photo-dialog::backdrop{background:#080c14db}
.photo-dialog-head{display:flex;justify-content:space-between;align-items:center;gap:16px;font-size:12px;color:#c2c5cd}
.dialog-close{display:flex;align-items:center;gap:16px;border:1px solid #4d5058;border-radius:6px;background:transparent;color:#fff;padding:9px 13px;min-height:44px;font-size:12px}
.dialog-close span{font-size:25px;line-height:1}
.photo-dialog-image{position:relative;margin-top:15px}
.photo-dialog-image img{max-height:calc(100dvh - 178px);width:100%;object-fit:contain;min-height:120px}
.gallery-prev,.gallery-next{position:absolute;top:50%;transform:translateY(-50%);width:44px;height:44px;border:1px solid #ffffff50;border-radius:50%;background:#15171cd9;color:#fff;font-size:24px;display:grid;place-items:center}
.gallery-prev{left:0}.gallery-next{right:0}
#photo-title{text-align:center;font-size:13px;color:#e0e2e7;margin-top:12px}
body.gallery-open{overflow:hidden}
/* Owner workspace: quick decisions, calm surfaces, no decorative metrics. */
.owner-site{background:#f5f6f8}
.owner-header-actions{display:flex;align-items:center;gap:24px}
.owner-header-actions .text-link{font-size:12px;color:var(--muted)}
.owner-header-actions form{margin:0}
.owner-label{display:flex;align-items:center;gap:8px;font-size:11px;color:var(--muted)}
.status-dot{width:6px;height:6px;border-radius:50%;display:inline-block;background:currentColor;flex-shrink:0}
.owner-label .status-dot{color:var(--red)}
.admin-nav{background:#fff;border-bottom:1px solid var(--line)}
.admin-nav-inner{display:flex;gap:34px;width:min(1160px,calc(100% - 80px));margin:auto}
.admin-nav a{display:flex;align-items:center;gap:9px;text-decoration:none;min-height:57px;font-size:13px;font-weight:600;color:var(--muted);border-bottom:3px solid transparent;padding-inline:4px}
.admin-nav a[aria-current=page]{color:var(--red);border-color:var(--red)}
.nav-symbol{font-size:19px;line-height:1}
.owner-main{width:min(1160px,calc(100% - 80px));margin:auto;min-height:calc(100vh - 270px);padding-block:36px 60px}
.page-heading{display:flex;align-items:center;justify-content:space-between;gap:28px;margin:6px 0 30px}
.page-heading .eyebrow{font-size:10px;letter-spacing:.13em}
.page-heading h1{font-size:38px;letter-spacing:-.05em;margin-top:12px}
.page-subtitle{margin-top:12px;font-size:14px;color:var(--muted)}
.date-label{display:flex;gap:9px;align-items:center;font-size:12px;color:var(--muted);border:1px solid var(--line);border-radius:7px;padding:8px 12px;background:#fff;white-space:nowrap}
.date-label>span{font-size:20px}
.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:30px}
.stat{display:block;padding:21px 22px 19px;border:1px solid #dde0e6;border-radius:13px;background:#fff;text-decoration:none;transition:border-color .16s,box-shadow .16s;position:relative;min-height:158px}
.stat:hover{box-shadow:0 5px 20px #121c3610;border-color:#9fa5b1}
.stat-label{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:750}
.stat-arrow{margin-left:auto;font-size:20px;color:#9b9fa9}
.stat strong{font-size:46px;font-weight:750;line-height:1;letter-spacing:-.065em;display:block;margin:17px 0 9px;font-variant-numeric:tabular-nums}
.stat-description{font-size:11px;color:var(--muted)}
.stat-late .stat-label{color:#b91e31}.stat-soon .stat-label{color:#9a5e0e}.stat-review .stat-label{color:#7657a7}.stat-current .stat-label{color:#16704c}
.stat.selected{border:2px solid var(--ink);padding:20px 21px 18px;box-shadow:0 5px 16px #13172207}
.stat.selected .stat-arrow{color:var(--ink)}
.stat-late.selected{background:#fff8f8;border-color:#b91e31}
.stat-soon.selected{background:#fffcf3;border-color:#9a5e0e}
.stat-review.selected{background:#faf8fe;border-color:#7657a7}
.stat-current.selected{background:#f4fbf8;border-color:#16704c}
.parent-panel,.history-panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden;scroll-margin-top:112px}
.parent-panel:focus{outline:none}
.panel-heading{padding:26px 28px 22px;display:flex;justify-content:space-between;gap:20px;align-items:center}
.panel-heading .eyebrow{font-size:9px;letter-spacing:.12em;margin-bottom:10px}
.panel-heading h2{font-size:23px;letter-spacing:-.035em;display:flex;align-items:center;gap:12px}
.count-badge{display:inline-flex;align-items:center;justify-content:center;min-width:26px;height:25px;padding:0 7px;border-radius:6px;background:#f0f1f4;color:#626671;font-size:12px;font-weight:650;letter-spacing:0}
.parent-tools{padding:0 28px 23px;display:flex;justify-content:space-between;align-items:center;gap:20px}
.search-form{position:relative;display:flex;gap:9px;align-items:center;width:min(490px,100%)}
.search-icon{position:absolute;left:13px;top:8px;font-size:23px;color:#767b86;line-height:1.4}
.search-form #parent-search{padding:10px 12px 10px 39px;min-width:0;font-size:13px;min-height:44px;border-color:#d7dbe2;background:#fcfcfd}
.search-form button{flex-shrink:0}
.all-parents{display:inline-flex;gap:10px;align-items:center;white-space:nowrap;min-height:44px;font-size:12px;color:var(--muted);text-decoration:none}
.all-parents>span{background:#f0f1f4;border-radius:5px;padding:2px 7px;color:var(--ink)}
.all-parents:hover,.all-parents.is-current{color:var(--red)}
.search-result-note{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:0 28px 20px;color:var(--muted);font-size:12px;overflow-wrap:anywhere}
.search-result-note a{margin-left:auto;min-height:32px;display:flex;align-items:center;gap:10px}
.parent-list-heading{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(130px,1fr) 110px 110px;gap:18px;padding:11px 28px;background:#f9fafb;border-block:1px solid #ebedf1;font-size:10px;font-weight:600;letter-spacing:.04em;color:#7c818c}
.parent-row{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(130px,1fr) 110px 110px;gap:18px;padding:23px 28px;align-items:center;border-bottom:1px solid #eef0f3}
.parent-list li:last-child .parent-row{border-bottom:0}
.parent-row:hover{background:#fdfdfe}
.parent-identity{display:flex;gap:13px;align-items:center;min-width:0}
.avatar{flex-shrink:0;width:42px;height:42px;border-radius:12px;background:#f2ecec;display:grid;place-items:center;font-size:12px;font-weight:750;color:#8e3540;border:1px solid #eadfe1}
.parent-identity>div{min-width:0}
.parent-identity h3{font-size:14px;font-weight:750;line-height:1.5;letter-spacing:-.01em;overflow-wrap:anywhere}
.parent-identity h3 a{text-decoration:none}
.parent-identity h3 a:hover{text-decoration:underline}
.parent-identity p{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:11px;color:#737883;margin-top:4px}
.parent-identity p a{text-decoration:none}
.parent-identity p a:hover{color:var(--blue);text-decoration:underline}
.parent-due strong{font-size:12px;font-weight:650;display:block}
.parent-due small{font-size:10px;color:var(--muted);display:block;margin-top:3px}
.status-badge{display:inline-flex;gap:6px;align-items:center;border-radius:6px;font-size:10px;font-weight:700;padding:4px 8px;white-space:nowrap;width:fit-content;line-height:1.5}
.status-late{background:#fdecef;color:#aa1a2c}
.status-soon{background:#fff3db;color:#80500c}
.status-review{background:#f0eafa;color:#684593}
.status-current{background:#e5f4ee;color:#176846}
.row-action{display:flex;align-items:center;justify-content:end;gap:12px;min-height:44px;text-decoration:none;font-size:11px;font-weight:650}
.row-action>span:last-child{font-size:19px;color:#8e939e}
.row-action:hover{color:var(--red)}
.mobile-field-label{display:none}
.empty-state{text-align:center;padding:52px 24px 58px;border-top:1px solid #eceef2}
.empty-icon{display:grid;place-items:center;width:62px;height:62px;border:1px solid #e6e8ee;border-radius:18px;margin:0 auto 22px;color:#8c92a0;background:#f8f9fb;font-size:34px}
.empty-state h3{font-size:19px;letter-spacing:-.025em}
.empty-state p{font-size:13px;color:var(--muted);margin:10px auto 24px;max-width:440px}
.empty-state.compact{padding:30px 20px}
.empty-state.compact .empty-icon{width:44px;height:44px;font-size:24px;border-radius:12px;margin-bottom:16px}
.empty-state.compact p{margin-bottom:0}
.dashboard-footnote{font-size:11px;color:var(--muted);margin:19px 4px 0;display:flex;align-items:start;gap:8px}
.dashboard-footnote>span{font-size:15px}
.owner-footer{display:flex;justify-content:space-between;gap:20px;font-size:10px;color:#8b909a;border-top:1px solid #e0e3e8;width:min(1160px,calc(100% - 80px));margin:auto;padding-block:22px}
.owner-footer span span{margin-inline:7px;color:#c3c6cd}
.back-link{display:inline-flex;align-items:center;gap:12px;text-decoration:none;color:var(--muted);font-size:12px;min-height:38px}
.back-link>span{font-size:19px}
.back-link:hover{color:var(--red)}
.form-page .page-heading,.family-page .family-heading{margin-top:20px}
.step-label{font-size:10px;letter-spacing:.12em;color:#969ba5}
.form-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(240px,1fr);gap:30px;align-items:start}
.form-card{padding:32px;border:1px solid var(--line);border-radius:var(--radius);background:#fff;box-shadow:var(--shadow)}
.form-card-heading{display:flex;align-items:center;gap:14px;margin-bottom:30px;padding-bottom:25px;border-bottom:1px solid #eceef2}
.form-card-heading h2{font-size:20px;letter-spacing:-.025em}
.form-card-heading p{font-size:12px;color:var(--muted);margin-top:6px}
.form-icon{width:44px;height:44px;display:grid;place-items:center;background:#fcf0f1;border-radius:12px;color:var(--red);font-size:23px;flex-shrink:0}
.field{margin-bottom:23px}
.field label{display:block;font-size:13px;font-weight:650;margin-bottom:9px}
.field label>span{color:var(--red)}
input:not([type=hidden]):not([type=checkbox]){display:block;width:100%;min-height:50px;padding:12px 14px;border:1px solid #bfc5cf;border-radius:7px;font-size:15px;color:var(--ink);background:#fff;line-height:1.5;box-shadow:0 1px 2px #101a2903}
input::placeholder{color:#9298a3;opacity:1}
input:focus{border-color:var(--blue)}
input:focus-visible{outline:3px solid #1758b82b;outline-offset:1px}
input[type=checkbox]{width:21px;height:21px;accent-color:var(--red);flex-shrink:0;margin:1px 0 0}
.field-pair{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.field-help{font-size:11px;color:var(--muted);margin-top:7px}
.input-suffix{position:relative}
.input-suffix input{padding-right:80px!important}
.input-suffix>span{position:absolute;top:50%;transform:translateY(-50%);right:16px;font-size:11px;font-weight:600;color:#737985;pointer-events:none}
.form-actions{display:flex;align-items:center;justify-content:space-between;gap:18px;border-top:1px solid #eceef2;margin-top:8px;padding-top:26px}
.form-aside{padding:32px 24px;color:var(--muted)}
.aside-kicker{font-size:10px;font-weight:750;letter-spacing:.13em;color:var(--red)}
.form-aside h2{font-size:29px;color:var(--ink);letter-spacing:-.04em;margin:17px 0}
.form-aside p{font-size:13px;line-height:1.8}
.form-aside hr{border:0;border-top:1px solid #d9dce2;margin:28px 0}
.form-aside h3{font-size:15px;letter-spacing:-.02em;color:var(--ink);margin-bottom:12px}
.inline-status{color:#684593;font-weight:700}
.development-note{border-left:2px solid #a3acc0;padding:5px 0 5px 15px;font-size:11px;line-height:1.7;margin-top:25px;color:#6e7480}
.validation-summary-valid,.field-validation-valid{display:none}
.validation-summary-errors{font-size:13px;color:#a51d2d;background:#fff1f3;border:1px solid #f2c9cf;border-radius:8px;padding:14px 18px;margin:0 0 24px}
.validation-summary-errors ul{list-style:disc;padding-left:18px}
.field-validation-error{font-size:11px;color:#ae2032;display:block;margin-top:6px}
.input-validation-error{border-color:#b52337!important}
.flash{display:flex;align-items:center;gap:12px;padding:14px 20px;border:1px solid #b4d7c7;border-radius:10px;color:#135d40;background:#ecf8f1;font-size:13px;margin-bottom:25px}
.flash>span{font-size:21px}
.family-heading{display:flex;justify-content:space-between;align-items:center;gap:25px;margin-bottom:28px}
.family-heading-name{display:flex;align-items:center;gap:20px;min-width:0}
.family-heading h1{font-size:35px;letter-spacing:-.045em;margin:9px 0;overflow-wrap:anywhere}
.avatar-large{width:68px;height:68px;border-radius:18px;font-size:20px}
.parent-phone{font-size:13px;color:var(--muted);display:inline-flex;gap:13px;align-items:center;text-decoration:none}
.family-heading>.status-badge{font-size:12px;padding:7px 11px}
.family-summary{display:grid;grid-template-columns:1fr 1fr 1fr;gap:20px;margin:0 0 30px;padding:24px 28px;background:#fff;border:1px solid var(--line);border-radius:12px}
.family-summary dt{font-size:10px;color:var(--muted);margin-bottom:8px}
.family-summary dd{margin:0;font-size:15px;font-weight:650}
.family-summary small{display:block;font-size:11px;color:var(--muted);font-weight:400;margin-top:4px}
.family-summary>div+div{border-left:1px solid #e9ebef;padding-left:28px}
.family-columns{display:grid;grid-template-columns:1.45fr 1fr;gap:30px;align-items:start}
.payment-card{border:1px solid var(--line);border-radius:var(--radius);background:#fff;box-shadow:var(--shadow);padding:0 28px 28px;overflow:hidden}
.payment-card .panel-heading{padding:26px 0 22px;border-bottom:1px solid #eceef2;margin-bottom:24px}
.payment-mark{font-size:31px;color:var(--red)}
.amount-label{font-size:9px;letter-spacing:.1em;color:var(--muted);font-weight:650}
.amount{font-size:45px;line-height:1.3;letter-spacing:-.055em;font-weight:750;margin:10px 0 20px;font-variant-numeric:tabular-nums}
.amount small{font-size:15px;color:var(--muted);letter-spacing:0;font-weight:500}
.payment-details{margin:0 0 24px;background:#f8f9fb;border-radius:8px;padding:14px 18px}
.payment-details>div{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:5px 0}
.payment-details dt{font-size:11px;color:var(--muted)}
.payment-details dd{font-size:12px;font-weight:650;margin:0;text-align:right}
.confirm-payment{display:flex;align-items:start;gap:12px;font-size:12px;font-weight:650;margin:24px 0;cursor:pointer;padding:4px 0}
.confirm-payment small{display:block;font-weight:400;color:var(--muted);margin-top:5px;font-size:11px}
.family-aside{padding:25px}
.family-aside h2{font-size:25px;margin:16px 0}
.family-aside>p:not(.eyebrow){font-size:13px;color:var(--muted);margin:13px 0}
.notice{font-size:11px;line-height:1.7;border-radius:8px;padding:16px;margin-top:22px}
.notice-amber{background:#fff4dc;border:1px solid #eddfbd;color:#75510e}
.notice p{margin-top:8px}
.history-panel{margin-top:30px;scroll-margin-top:116px}
.payment-history li{display:flex;align-items:start;gap:16px;padding:23px 28px;border-top:1px solid #eceef2}
.history-check{display:grid;place-items:center;flex-shrink:0;width:34px;height:34px;background:#e8f5ef;border:1px solid #d9ece2;color:#237351;border-radius:10px}
.payment-history li>div>strong{font-size:13px;font-weight:650}
.payment-history p{font-size:11px;color:var(--muted);margin:5px 0}
.payment-history p>span{margin-inline:6px}
.payment-history small{font-size:10px;color:var(--muted)}
.history-amount{margin-left:auto;font-size:16px;letter-spacing:-.02em;white-space:nowrap}
.history-amount small{font-size:10px;font-weight:400;letter-spacing:0}
.payment-unavailable h3,.payment-complete h3{font-size:19px;letter-spacing:-.025em}
.payment-unavailable p,.payment-complete p{font-size:13px;color:var(--muted);margin:13px 0 24px}
.payment-complete>span{display:grid;place-items:center;width:48px;height:48px;margin-bottom:20px;border-radius:14px;background:#e8f5ef;color:#16704c;font-size:25px}
.payment-complete .text-link{font-size:13px}
.login-section{display:grid;grid-template-columns:1fr 1fr;max-width:1000px;margin:28px auto;border-radius:22px;overflow:hidden;border:1px solid var(--line);background:#fff;box-shadow:var(--shadow)}
.login-story{background:#17191e;color:#fff;padding:55px 44px;position:relative;overflow:hidden}
.login-story>img{border-radius:50%;width:106px;height:106px;margin-bottom:42px}
.login-story .eyebrow{color:#b9bcc5;font-size:9px}
.login-story h1{font-size:41px;margin:17px 0 24px;letter-spacing:-.05em;position:relative;z-index:1}
.login-story>p:last-of-type{font-size:13px;color:#c1c4cd;position:relative;z-index:1}
.login-decoration{position:absolute;color:#c62232;right:-18px;bottom:-110px;line-height:1;font-size:360px;font-weight:200;opacity:.16;pointer-events:none}
.login-form-wrap{padding:62px 44px 45px;align-self:center}
.lock-mark{width:44px;height:44px;display:grid;place-items:center;background:#fbf0f1;color:var(--red);border-radius:12px;font-size:25px;margin-bottom:26px}
.login-form-heading .eyebrow{font-size:9px}
.login-form-heading h2{font-size:30px;margin-top:12px}
.login-form-heading>p:last-child{font-size:13px;color:var(--muted);margin-top:10px}
.login-form{margin-top:32px}
.login-help{font-size:10px;color:#828895;margin-top:20px;text-align:center}
.login-form-wrap>.back-link{margin-top:35px}
.error-page{padding-block:100px;max-width:880px}
.error-page h1{font-size:48px;margin:20px 0}
.error-page>p:not(.eyebrow){margin-bottom:28px;color:var(--muted);max-width:600px}
@media(max-width:1100px){
    .wrap{width:calc(100% - 64px)}.header-inner{gap:20px}.desktop-nav{gap:23px;margin-right:0}
    .hero{gap:38px;padding-block:65px}.hero h1{font-size:64px}.hero-lead{font-size:16px}.hero-actions{gap:12px}.hero-note{margin-top:30px}
    .hero-stamp{right:-15px;width:94px;height:94px;font-size:9px}.hero-stamp b{font-size:8px}.photo-label{font-size:10px;padding:12px}
    .story-grid{gap:45px}.section-heading{gap:40px}.facts>div{padding:0 22px}.facts .facts-message{padding-left:22px;font-size:15px}.facts-message>span{display:none}
    .faq-section{gap:55px}.contact-phone{min-width:335px;padding-right:65px}.contact-phone strong{font-size:31px}
    .owner-main,.owner-footer,.admin-nav-inner{width:calc(100% - 56px)}.stat{padding:18px}.stat.selected{padding:17px}.stat-label{font-size:11px}
    .parent-row,.parent-list-heading{grid-template-columns:minmax(0,1.5fr) 130px 95px 30px;gap:14px}.row-action>span:first-child{display:none}
    .form-card{padding:26px}.form-grid{gap:18px}.form-aside{padding:25px 15px}.family-columns{gap:20px}
}
@media(max-width:850px){
    .desktop-nav,.header-call{display:none}.mobile-menu{display:block;position:relative}.header-inner{min-height:82px;width:calc(100% - 40px)}.brand img{width:54px;height:54px}.brand-type{font-size:19px}
    .mobile-menu summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:12px;padding:10px 0 10px 16px;font-size:12px;font-weight:700;min-height:44px}.mobile-menu summary::-webkit-details-marker{display:none}
    .menu-lines{display:block;width:20px;height:12px;border-top:2px solid var(--ink);border-bottom:2px solid var(--ink)}
    .mobile-menu nav{position:absolute;right:0;top:calc(100% + 20px);width:min(320px,calc(100vw - 40px));padding:15px;border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:0 12px 40px #1a223326}
    .mobile-menu nav a{display:block;padding:13px 15px;text-decoration:none;font-size:14px;font-weight:650;min-height:48px;border-radius:6px}.mobile-menu nav a:hover{background:#f5f6f8}.mobile-menu nav a:last-child{color:var(--red);border-top:1px solid var(--line);border-radius:0;margin-top:8px}
    .hero{gap:25px}.hero h1{font-size:52px}.hero-copy .eyebrow{font-size:8px;letter-spacing:.12em}.hero-actions .button{font-size:12px;padding:13px 16px;gap:10px}.hero-actions .text-link{font-size:12px}
    .hero-note{font-size:11px}.hero-photo{margin-left:0;border-top-left-radius:90px}.hero-orbit{right:-12px}.hero-stamp{top:-22px;right:-14px}.photo-label{left:-15px;bottom:20px;font-size:9px}
    .facts strong{font-size:33px}.facts strong small{font-size:11px}.facts p{font-size:10px}.facts .facts-message{font-size:13px}
    .section-space{padding-block:70px}.section-heading h2{font-size:35px}.section-heading>p,.section-heading>div:last-child:not(:first-child){font-size:13px;max-width:300px}
    .story-grid{gap:35px}.principles h3{font-size:21px}.principles p{font-size:12px}.principles article{padding-block:23px;gap:12px}.principles>.text-link{font-size:12px}
    .gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 20px}.gallery-item figcaption{font-size:12px}
    .faq-section{gap:40px}.faq-section h2{font-size:35px}.faq-list summary{font-size:13px;padding:20px 0}
    .contact-inner{padding-block:55px;gap:30px}.contact-phone{min-width:290px;padding-right:50px}.contact-phone strong{font-size:28px}.contact-arrow{font-size:45px}
    .footer-top{gap:25px}.footer-top>p{font-size:12px}.brand-footer .brand-type{font-size:17px}.brand-footer img{width:58px;height:58px}
    .owner-label{display:none}.owner-header-actions{gap:16px}.owner-header-actions .button{padding:9px 13px}.owner-header-actions .text-link{font-size:11px}
    .page-heading h1{font-size:33px}.stats{gap:12px}.stat strong{font-size:40px}.stat-description{font-size:10px}.stat-label{font-size:10px;gap:5px}.stat-arrow{display:none}
    .panel-heading{padding:23px}.parent-tools{padding-inline:23px}.parent-row,.parent-list-heading{padding-inline:23px}
    .form-grid{grid-template-columns:1fr}.form-aside{padding:12px 8px 0;max-width:600px}.form-aside h2 br{display:none}.form-aside hr{margin:22px 0}
    .family-columns{grid-template-columns:1.3fr 1fr}.family-aside{padding:18px 5px}.family-aside h2{font-size:22px}
    .login-story{padding:40px 30px}.login-story h1{font-size:35px}.login-form-wrap{padding:45px 30px}
}
@media(max-width:640px){
    html{scroll-padding-top:95px}.wrap{width:calc(100% - 40px)}.header-inner{min-height:77px}.brand img{width:48px;height:48px}.brand{gap:10px}.brand-type{font-size:18px}.brand-type small{font-size:8px;letter-spacing:.13em;margin-top:7px}
    .hero{grid-template-columns:1fr;padding-block:42px 40px;gap:45px}.hero h1{font-size:clamp(49px,12.6vw,74px);margin-bottom:21px;letter-spacing:-.065em}.hero-copy .eyebrow{font-size:9px;margin-bottom:22px}.hero-lead{font-size:16px;max-width:450px}
    .hero-actions{gap:13px 20px;margin-top:25px}.hero-actions .button{font-size:13px;min-height:50px;padding:14px 20px}.hero-actions .text-link{font-size:12px}.hero-note{margin-top:26px;font-size:12px}.note-mark{font-size:33px}
    .hero-visual{padding-right:0;margin:0 8px 0 0;max-width:470px;width:calc(100% - 8px)}.hero-photo{border-radius:90px 14px 14px 14px}.hero-photo img{aspect-ratio:4/5}.hero-stamp{right:-20px;top:-24px;width:98px;height:98px}.hero-orbit{right:-15px;top:20px}.photo-label{left:-5px;bottom:25px;font-size:10px}
    .facts{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;padding-block:26px;width:calc(100% - 24px)}.facts>div,.facts>div:first-child,.facts>div:nth-child(3){padding:0 9px;text-align:center;min-width:0;display:grid;grid-template-rows:49px auto;align-content:start}.facts>div:nth-child(3){border-right:0}.facts strong{font-size:clamp(27px,8vw,32px);line-height:1;align-self:start;white-space:nowrap}.facts strong small{display:block;margin:5px 0 0;font-size:10px;line-height:1}.facts p{font-size:10px;margin:8px 0 0;line-height:1.5;text-wrap:balance}.facts .facts-message{display:none}
    .section-space{padding-block:58px}.section-heading{display:block;margin-bottom:30px}.section-heading h2{font-size:34px;letter-spacing:-.05em}.section-heading>p,.section-heading>div:last-child:not(:first-child){margin-top:22px;max-width:100%;font-size:14px}.section-heading .small-muted{font-size:11px}
    .story-grid{grid-template-columns:1fr;gap:34px}.story-photo img{aspect-ratio:4/4.3;object-position:center 28%}.story-photo figcaption{font-size:11px;left:17px;right:17px;bottom:17px;padding:12px 15px}
    .principles article{padding-block:24px;gap:17px}.principles h3{font-size:23px}.principles p{font-size:13px;max-width:none}.principles article>span:last-child{font-size:24px}.principles>.text-link{font-size:13px}
    .gallery-grid{gap:25px 14px}.gallery-item a{border-radius:9px}.gallery-item figcaption{font-size:10px;gap:8px;padding-top:10px}.gallery-item figcaption>span{font-size:9px}.photo-open{right:8px;top:8px;width:28px;height:28px;font-size:18px}
    .gallery-bottom{display:block;margin-top:30px;padding-top:20px}.gallery-bottom p{font-size:12px}.gallery-bottom .text-link{font-size:12px;overflow-wrap:anywhere;gap:10px}
    .faq-section{grid-template-columns:1fr;gap:30px}.faq-section h2{font-size:36px}.section-intro{font-size:14px;margin:20px 0 5px}.faq-list summary{font-size:14px;min-height:72px}.faq-list details p{font-size:13px}
    .contact-inner{display:block;padding-block:45px 55px}.contact-inner h2{font-size:50px}.contact-inner .eyebrow{font-size:9px;letter-spacing:.1em}.contact-inner p:not(.eyebrow){font-size:13px}.contact-phone{min-width:0;width:100%;margin-top:28px;padding:15px 55px 22px}.contact-phone strong{font-size:34px}.contact-phone>span:first-child{font-size:9px;margin-bottom:8px}.contact-arrow{top:26px;font-size:45px}
    .footer-top{display:grid;grid-template-columns:1fr 1fr;gap:25px 15px;padding-block:35px}.brand-footer{grid-column:1/-1}.brand-footer .brand-type{font-size:21px}.brand-footer img{width:64px;height:64px}.footer-top>p{font-size:12px}.footer-top>div a{font-size:12px}.footer-top>div a span{margin-left:8px}
    .footer-bottom{font-size:9px;padding-block:18px;gap:15px}.public-footer{padding-bottom:80px}
    .mobile-call{display:flex;position:fixed;z-index:25;bottom:12px;left:16px;right:16px;bottom:calc(12px + env(safe-area-inset-bottom));justify-content:space-between;align-items:center;gap:10px;border-radius:10px;background:var(--red);color:#fff;padding:14px 17px;box-shadow:0 6px 30px #6a102847;text-decoration:none;border:1px solid #ffffff40;min-height:54px}.mobile-call>span{font-size:10px}.mobile-call strong{font-size:15px;white-space:nowrap}.mobile-call strong span{margin-left:8px}
    .photo-dialog{width:calc(100% - 20px);max-height:calc(100dvh - 24px);padding:10px 12px;border-radius:10px}.photo-dialog-image img{max-height:calc(100dvh - 160px)}.photo-dialog-head{font-size:11px}.dialog-close{min-height:42px;padding:8px 12px}.gallery-prev,.gallery-next{width:42px;height:42px;font-size:22px}#photo-title{font-size:12px}
    .owner-main{width:calc(100% - 32px);padding-block:22px 38px}.owner-site .header-inner{width:calc(100% - 32px)}.owner-site .brand-type{font-size:15px}.owner-site .brand-type small{font-size:7px}.owner-site .brand img{width:42px;height:42px}.owner-site .brand{gap:8px}
    .owner-header-actions{gap:10px}.owner-header-actions .text-link{font-size:10px;gap:4px}.owner-header-actions .text-link>span{font-size:16px}.owner-header-actions .button{font-size:10px;min-height:38px;padding:8px 9px}
    .admin-nav{position:fixed;bottom:0;left:0;right:0;z-index:35;border-top:1px solid #d9dde5;border-bottom:0;box-shadow:0 -5px 22px #101a3208;padding-bottom:env(safe-area-inset-bottom)}
    .admin-nav-inner{width:100%;justify-content:space-around;gap:0}.admin-nav a{flex-direction:column;gap:3px;justify-content:center;min-height:65px;font-size:10px;border:0;border-top:3px solid transparent;flex:1;padding:7px 8px 8px}.admin-nav a[aria-current=page]{background:#fff7f7;border-color:var(--red)}.nav-symbol{font-size:21px}
    .owner-site:has(.admin-nav){padding-bottom:70px}
    .page-heading{align-items:start;margin:8px 0 24px;gap:12px}.page-heading h1{font-size:30px;margin-top:10px;letter-spacing:-.05em}.page-heading .eyebrow{font-size:8px;letter-spacing:.11em}.page-subtitle{font-size:12px;margin-top:10px;max-width:270px}.date-label{font-size:9px;padding:6px 7px;gap:4px}.date-label>span{font-size:16px}
    .dashboard>.page-heading{display:block;position:relative}.dashboard .date-label{display:inline-flex;margin-top:15px}
    .stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin-bottom:22px}.stat{min-height:143px;padding:15px 16px}.stat.selected{padding:14px 15px}.stat-label{font-size:11px;gap:6px}.stat-arrow{display:inline;margin-left:auto;font-size:17px}.stat strong{font-size:40px;margin:15px 0 8px}.stat-description{font-size:10px;line-height:1.4;display:block}
    .parent-panel{border-radius:13px;scroll-margin-top:92px}.panel-heading{padding:20px 17px;gap:12px;align-items:start}.panel-heading h2{font-size:20px;letter-spacing:-.04em;align-items:start;gap:8px;line-height:1.25}.panel-heading .eyebrow{font-size:8px;margin-bottom:9px}.count-badge{font-size:10px;min-width:22px;height:22px;margin-top:1px}
    .panel-heading>.button{font-size:10px;padding:9px 10px;gap:5px;white-space:nowrap;min-height:42px}.panel-heading>.button>span{font-size:17px}
    .parent-tools{display:block;padding:0 17px 14px}.search-form{width:100%;gap:7px}.search-form #parent-search{font-size:16px;padding-left:32px;min-height:44px}.search-icon{left:10px;top:9px;font-size:21px}.search-form .button{font-size:11px;padding-inline:13px}.all-parents{font-size:11px;margin-top:10px;min-height:38px}
    .search-result-note{padding:0 17px 15px;font-size:11px}.search-result-note a{margin-left:0}
    .parent-list-heading{display:none}.parent-row{grid-template-columns:1fr auto;gap:17px 12px;padding:20px 17px;position:relative;border-top:1px solid #eceef2;border-bottom:0}
    .parent-identity{grid-column:1/-1;gap:12px;padding-right:0}.parent-identity h3{font-size:14px}.parent-identity p{font-size:11px;gap:7px}.parent-identity p a{min-height:25px;display:inline-flex;align-items:center}.avatar{width:38px;height:38px;border-radius:10px;font-size:11px}
    .parent-due{grid-column:1;grid-row:2}.parent-due strong{font-size:12px}.parent-due small{font-size:10px;margin-top:2px}.mobile-field-label{display:block;font-size:9px;color:#8a8f98;margin-bottom:3px}
    .parent-row>.status-badge{grid-column:2;grid-row:2;align-self:start;margin-top:3px;font-size:10px;padding:5px 8px}
    .row-action{grid-column:1/-1;grid-row:3;display:flex;align-items:center;justify-content:space-between;padding:10px 14px;border:1px solid #e1e4e9;background:#fafbfc;border-radius:7px;font-size:12px;min-height:44px;margin-top:-3px}.row-action>span:first-child{display:block}.row-action>span:last-child{font-size:20px;color:var(--ink)}
    .empty-state{padding:35px 18px 40px}.empty-state h3{font-size:18px}.empty-state p{font-size:12px}.empty-state .button{font-size:12px;min-height:46px}
    .dashboard-footnote{font-size:10px;line-height:1.65;margin:17px 3px 0}.owner-footer{width:calc(100% - 32px);font-size:9px;padding-block:19px;gap:12px}
    .form-page .page-heading{margin-top:17px}.form-page .page-heading h1{font-size:32px}.form-page .page-subtitle{max-width:100%}.step-label{display:none}
    .form-card{padding:23px 19px;border-radius:13px}.form-card-heading{gap:12px;margin-bottom:24px;padding-bottom:21px}.form-card-heading h2{font-size:19px}.form-card-heading p{font-size:11px}.form-icon{width:39px;height:39px;font-size:22px;border-radius:10px}
    .field{margin-bottom:22px}.field label{font-size:12px}.field-pair{gap:14px;grid-template-columns:.7fr 1.3fr}.field-help{font-size:10px}input:not([type=hidden]):not([type=checkbox]){font-size:16px;min-height:50px;padding:12px}.field-pair input{min-width:0}
    .form-actions{gap:13px;padding-top:22px}.form-actions .button{font-size:12px;gap:12px;padding:12px 16px;min-height:48px}.form-actions .button-quiet{padding-inline:13px}.form-aside{padding:18px 5px 0}.form-aside h2{font-size:25px}.form-aside p{font-size:12px}.development-note{font-size:10px}
    .flash{padding:13px 15px;font-size:12px;border-radius:9px;margin-bottom:20px}.back-link{font-size:11px;gap:9px}.validation-summary-errors{font-size:12px;padding:13px 15px}
    .family-heading{display:block;margin-top:18px!important;margin-bottom:21px}.family-heading-name{gap:13px;align-items:start}.avatar-large{width:52px;height:52px;border-radius:14px;font-size:16px}.family-heading .eyebrow{font-size:8px}.family-heading h1{font-size:27px;line-height:1.2;margin:8px 0}.parent-phone{font-size:12px;min-height:32px}.family-heading>.status-badge{margin-top:17px;font-size:10px;padding:6px 9px}
    .family-summary{padding:18px;gap:17px 15px;grid-template-columns:1fr 1fr;margin-bottom:22px;border-radius:11px}.family-summary>div+div{padding-left:0;border-left:0}.family-summary>div:last-child{grid-column:1/-1;border-top:1px solid #e9ebef;padding-top:15px}.family-summary dt{font-size:9px;margin-bottom:5px}.family-summary dd{font-size:14px}.family-summary small{font-size:10px;display:inline;margin-left:10px;font-weight:400}
    .family-columns{grid-template-columns:1fr;gap:20px}.payment-card{padding:0 20px 24px;border-radius:13px}.payment-card .panel-heading{padding-block:22px;margin-bottom:22px}.payment-card h2{font-size:23px}.amount{font-size:40px}.amount small{font-size:13px}.payment-details{padding:12px 15px}.payment-details dt{font-size:10px}.payment-details dd{font-size:11px}.confirm-payment{font-size:12px;line-height:1.7;margin-block:23px;gap:12px;padding-block:5px}.confirm-payment input{margin-top:3px}.confirm-payment small{font-size:10px}.payment-card .button{font-size:13px}
    .family-aside{padding:8px 5px}.family-aside h2{font-size:24px}.family-aside>p:not(.eyebrow){font-size:12px}.family-aside .eyebrow{font-size:9px}
    .history-panel{margin-top:25px;border-radius:13px}.payment-history li{padding:20px 17px;gap:12px;flex-wrap:wrap}.history-check{width:30px;height:30px;border-radius:8px}.payment-history li>div{flex:1;min-width:180px}.payment-history li>div>strong{font-size:12px}.payment-history p{font-size:10px}.payment-history small{font-size:9px}.history-amount{font-size:15px;margin-left:42px;flex:1}.history-amount small{font-size:10px}
    .login-section{grid-template-columns:1fr;margin:8px auto 15px;border-radius:16px;max-width:460px}.login-story{padding:28px 25px}.login-story>img{width:65px;height:65px;margin-bottom:23px}.login-story .eyebrow{font-size:8px}.login-story h1{font-size:35px;margin:12px 0 15px}.login-story>p:last-of-type{font-size:12px}.login-decoration{font-size:260px;right:-16px;bottom:-70px;opacity:.13}
    .login-form-wrap{padding:32px 25px}.lock-mark{display:none}.login-form-heading h2{font-size:28px}.login-form-heading>p:last-child{font-size:12px}.login-form{margin-top:26px}.login-help{font-size:10px}.login-form-wrap>.back-link{margin-top:25px}
    .error-page{padding-block:60px}.error-page h1{font-size:38px}
}
@media(max-width:360px){
    .owner-header-actions .text-link{display:none}.hero h1{font-size:46px}.hero-actions{display:block}.hero-actions .text-link{margin-top:10px}.contact-phone strong{font-size:29px}.panel-heading{display:block}.panel-heading>.button{margin-top:15px}.field-pair{grid-template-columns:1fr;gap:0}.family-summary{grid-template-columns:1fr}.family-summary>div:last-child{grid-column:auto}.mobile-call>span{font-size:9px}.mobile-call strong{font-size:13px}
}
@media(prefers-reduced-motion:reduce){
    html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}.button:hover,.gallery-item a:hover img{transform:none}
}
@media(forced-colors:active){
    .button,.stat,.status-badge,.avatar,.mobile-call{border:1px solid ButtonText}.stat.selected{outline:2px solid Highlight}.status-dot{background:CanvasText}.hero-orbit{display:none}
}

/* Children and individual prices */
.children-panel{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);margin:28px 0;scroll-margin-top:110px;overflow:hidden}
.children-note{padding:0 28px 20px;color:var(--muted);font-size:13px;line-height:1.6}
.child-list{list-style:none;padding:0;margin:0}
.child-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:24px;border-top:1px solid var(--line);padding:22px 28px}
.child-row h3{margin:0 0 6px;font-size:16px;overflow-wrap:anywhere}
.child-row p{margin:0;color:var(--muted);font-size:12px}
.child-price{text-align:right}
.child-price strong{font-size:19px;white-space:nowrap}
.child-price small{display:block;color:var(--muted);font-size:11px;margin-top:4px}
.child-row .button{min-height:44px}
.children-total{padding:20px 28px;display:flex;justify-content:space-between;gap:20px;border-top:1px solid var(--line);background:#f5f7fa;font-size:14px}
.children-total strong{white-space:nowrap}
.price-options{border:0;padding:0;margin:28px 0}
.price-options legend{font-size:14px;font-weight:700;margin-bottom:12px}
.price-option{display:flex;gap:13px;align-items:flex-start;border:1px solid var(--line);border-radius:9px;padding:17px;margin-bottom:10px;cursor:pointer}
.price-option:has(input:checked){border-color:var(--blue);background:#f3f7ff;box-shadow:0 0 0 1px var(--blue)}
.price-option input[type=radio]{appearance:auto;display:inline-block;width:20px;min-height:20px;height:20px;flex-shrink:0;accent-color:var(--blue);margin:2px 0;padding:0;box-shadow:none}
.price-option strong{display:block;font-size:14px}
.price-option small{display:block;margin-top:5px;font-size:12px;color:var(--muted);line-height:1.5}
.history-breakdown{margin-top:12px;font-size:12px;max-width:540px}
.history-breakdown summary{cursor:pointer;min-height:32px;display:flex;align-items:center;color:var(--blue);text-decoration:underline;text-underline-offset:3px}
.history-breakdown dl{margin:10px 0;display:grid;gap:10px}
.history-breakdown dl>div{display:flex;justify-content:space-between;gap:20px;padding-bottom:8px;border-bottom:1px solid var(--line)}
.history-breakdown dt{overflow-wrap:anywhere}
.history-breakdown dt small{display:block}
.history-breakdown dd{margin:0;white-space:nowrap;font-weight:650}
@media(max-width:640px){
 .children-panel{scroll-margin-top:95px}.children-panel .panel-heading{align-items:flex-start;gap:15px}
 .children-note{padding:0 17px 18px;font-size:12px}
 .child-row{grid-template-columns:minmax(0,1fr) auto;gap:17px;padding:20px 17px}
 .child-row>.button{grid-column:1/-1;justify-content:center}.child-row h3{font-size:16px}
 .child-price strong{font-size:17px}.children-total{padding:18px 17px;flex-wrap:wrap;gap:8px}
 .price-option{padding:15px}.price-option strong{font-size:14px}.price-option small{font-size:12px}
 .history-breakdown dl>div{gap:10px}.history-breakdown{font-size:12px}
}


/* One parent workspace, individual billing dates and private birthdays. */
[hidden]{display:none!important}
.family-overview{background:#fff;border:1px solid var(--line);border-radius:18px;padding:28px;margin:22px 0}
.family-overview .family-heading{margin:0 0 22px!important}
.family-overview .family-summary{border:0;border-top:1px solid var(--line);padding:22px 0 0;margin:0;border-radius:0;background:transparent}
.legacy-note{font-size:12px;line-height:1.7;padding:14px 16px;background:#fff8e8;border-radius:8px;margin-bottom:0}
.billing-child{padding:24px 28px;border-top:1px solid var(--line)}
.billing-child-top{display:flex;gap:18px;align-items:start;justify-content:space-between}
.child-select{display:flex;gap:12px;align-items:start;cursor:pointer;min-width:0}
.child-select input[type=checkbox]{width:21px;height:21px;flex:0 0 21px;margin:2px 0;accent-color:var(--red)}
.child-select strong{display:block;font-size:17px;overflow-wrap:anywhere}
.child-select small{display:block;font-size:12px;color:var(--muted);margin-top:5px}
.billing-price{font-size:19px;white-space:nowrap}
.child-facts{display:flex;flex-wrap:wrap;gap:10px 28px;margin:16px 0;font-size:11px;color:var(--muted);padding-left:33px}
.child-facts strong{color:var(--ink);display:block;font-size:13px;margin-top:3px}
.child-row-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;padding-left:33px;font-size:12px}
.child-row-footer>a{min-height:40px;display:inline-flex;align-items:center;text-decoration:underline;text-underline-offset:4px}
.child-review-reason{margin:9px 0 0 33px;color:#875e1f;font-size:12px;line-height:1.6}
.payment-selection-footer{border-top:1px solid var(--line);padding:20px 28px;background:#f7f8fa}
.selection-total{display:flex;align-items:center;justify-content:space-between;gap:16px}
.selection-total>span{font-size:17px}
.payment-preview{border:2px solid var(--blue);border-radius:15px;background:#fff;padding:26px;margin:24px 0;color:var(--ink);max-width:100%;box-sizing:border-box}
dialog.payment-preview[open]:not(.payment-modal){position:static;width:100%}
dialog.payment-preview:not([open]),dialog.payment-preview[hidden]{display:none}
dialog.payment-modal{position:fixed;inset:0;margin:auto;width:min(620px,calc(100% - 24px));max-height:calc(100dvh - 32px);overflow:auto;overscroll-behavior:contain;box-shadow:0 24px 90px #08132650}
dialog.payment-modal::backdrop{background:#0d1728b8;backdrop-filter:blur(3px)}
.owner-site:has(dialog.payment-modal[open]){overflow:hidden}
.payment-modal-heading{display:flex;justify-content:space-between;align-items:start;gap:12px}.payment-modal-heading .eyebrow{margin-top:0}.payment-modal-heading h2{margin-bottom:0}.payment-close{flex:none;width:44px;height:44px;border:1px solid var(--line);border-radius:50%;background:#f5f6fa;color:var(--ink);font-size:28px;line-height:1;cursor:pointer}
.payment-modal-heading h2:focus{outline:none}
.memories-section{background:#172432;color:#fff}.memories-heading{display:grid;grid-template-columns:1.2fr 1fr;gap:56px;align-items:end;margin-bottom:34px}.memories-section .eyebrow{color:#f99a9e}.memories-heading h2{font-size:clamp(30px,3.4vw,48px);line-height:1.12;letter-spacing:-1.7px;margin:16px 0 0}.memories-heading h2 span{color:#ff858d}.memories-copy p{color:#d7dfe8;line-height:1.8;font-size:15px;margin:0 0 10px}.memories-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.memory-card{margin:0;min-width:0}.memory-card>a{position:relative;display:block;border-radius:14px;overflow:hidden;background:#23374a}.memory-card img{display:block;width:100%;height:auto;aspect-ratio:4/5;object-fit:contain}.memory-card figcaption{font-size:13px;line-height:1.5;margin-top:13px;color:#e4eaf0}.memories-note{color:#b8c7d7;font-size:13px;margin:28px 0 0}
@media(max-width:1000px){.memories-heading{grid-template-columns:1fr;gap:18px}.memories-copy{max-width:650px}.memories-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.memories-heading h2{font-size:32px;letter-spacing:-1px}.memories-grid{gap:20px 12px}.memory-card>a{border-radius:10px}.memory-card figcaption{font-size:12px}.memories-copy p{font-size:14px}}
.dated-payment-preview li>div{min-width:0;display:grid;gap:7px}.dated-payment-preview li>strong{white-space:nowrap}
.dated-payment-preview span{font-size:13px}.dated-payment-preview small{font-size:12px;color:var(--muted)}
.dated-payment-preview .payment-new-due{font-size:16px;color:#155d40;background:#eaf6ef;padding:10px 12px;border-radius:8px}
.payment-new-due strong{display:block;font-size:24px;letter-spacing:-.5px}
.payment-date-field{margin-top:16px;max-width:340px}.payment-date-field input{width:100%;min-width:0;min-height:48px}
@media(max-width:480px){dialog.payment-modal{padding:20px 16px;width:calc(100% - 16px);max-height:calc(100dvh - 16px)}.dated-payment-preview li{flex-wrap:wrap}.dated-payment-preview li>div{width:100%}.payment-modal .form-actions{display:flex;flex-direction:column-reverse}.payment-modal .form-actions>.button{width:100%}.timeline-top>strong{white-space:normal;overflow-wrap:anywhere}}
.payment-preview h2{font-size:27px}.payment-preview ul{list-style:none;padding:0;margin:20px 0}
.payment-preview li,.payment-preview-total{display:flex;justify-content:space-between;gap:15px;padding:12px 0;border-bottom:1px solid var(--line)}
.payment-preview-total{font-size:22px}.payment-preview>p:not(.eyebrow){font-size:13px;line-height:1.8}
.payment-timeline{list-style:none;padding:0 28px 28px 48px;margin:0}
.payment-timeline>li{position:relative;padding:0 0 24px 26px;border-left:2px solid #e4e7ed}
.payment-timeline>li:last-child{padding-bottom:0;border-color:transparent}
.timeline-dot{width:12px;height:12px;background:var(--red);border:3px solid #fff;box-shadow:0 0 0 1px #e4e7ed;position:absolute;left:-7px;top:5px;border-radius:50%}
.timeline-top{display:flex;justify-content:space-between;align-items:start;gap:20px}
.timeline-top time{font-size:12px;color:var(--muted)}.timeline-top h3{font-size:16px;margin:7px 0}
.timeline-top>strong{font-size:22px;white-space:nowrap}.timeline-top small{font-size:11px;font-weight:400}
.payment-timeline p{font-size:12px;color:var(--muted);margin:5px 0 10px}
.compact-editor{max-width:800px}.equal-fields{grid-template-columns:1fr 1fr}
.schedule-resolution{border:1px solid #ead7b4;background:#fffcf5;border-radius:9px;padding:15px;font-size:13px;line-height:1.7;margin-bottom:22px}
.schedule-resolution summary{cursor:pointer;font-weight:650;min-height:40px}
.enrollment-parent{margin-bottom:20px}.enrollment-parent h2{margin:0 0 24px;font-size:23px}
.count-field{max-width:600px;margin-bottom:0}.count-field input{max-width:120px}
.enrollment-children{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.enrollment-child .price-options{margin:15px 0}.enrollment-child .price-option{padding:13px}
.draft-heading{display:flex;align-items:center;gap:14px;margin-bottom:25px}
.draft-heading>span{font-size:12px;border-radius:20px;background:#fdebf0;color:var(--red);padding:6px 12px;font-weight:700}
.draft-heading h2{font-size:20px;margin:0}
.enrollment-submit{padding:22px 0;display:flex;justify-content:space-between;align-items:center;gap:24px}
.enrollment-submit p{font-size:13px;max-width:550px;color:var(--muted);line-height:1.7}
.stats-with-birthdays{grid-template-columns:repeat(5,minmax(0,1fr))}
.stat-birthdays{background:#fff5f8}.stat-birthdays.selected{border-color:var(--red)}.stat-birthdays .stat-label{color:var(--red)}
.birthday-list{list-style:none;padding:0 28px;margin:0 0 20px}
.birthday-list li{display:flex;align-items:center;gap:20px;border-top:1px solid var(--line);padding:18px 0}
.birthday-day{font-size:24px;font-weight:750;color:var(--red);min-width:95px}
.birthday-list small{display:block;font-size:12px;font-weight:400;color:var(--muted);margin-top:5px}
.birthday-list a{margin-left:auto;font-size:13px;min-height:44px;display:flex;align-items:center}
@media(max-width:1000px){.stats-with-birthdays{grid-template-columns:repeat(3,minmax(0,1fr))}.enrollment-children{grid-template-columns:1fr}}
@media(max-width:640px){
 .family-overview{padding:19px 17px;border-radius:13px}.family-overview .family-summary{padding-top:18px}
 .billing-child{padding:19px 17px}.billing-child-top{gap:12px}.child-select strong{font-size:15px}.billing-price{font-size:15px}
 .child-facts{padding-left:0;gap:14px}.child-row-footer{padding-left:0}.child-review-reason{margin-left:0}
 .payment-selection-footer{padding:18px 17px}.selection-total{align-items:stretch;flex-direction:column}
 .selection-total>span{font-size:16px}.payment-preview{padding:20px 17px}
 .payment-preview-total{font-size:19px}.payment-preview .form-actions{flex-wrap:wrap}
 .payment-timeline{padding:0 17px 24px 27px}.payment-timeline>li{padding-left:17px}
 .timeline-top{flex-wrap:wrap;gap:5px}.timeline-top>strong{font-size:20px}
 .enrollment-submit{align-items:stretch;flex-direction:column;gap:12px}
 .stats-with-birthdays{grid-template-columns:repeat(2,minmax(0,1fr))}.stat-birthdays{grid-column:1/-1;min-height:115px}
 .stat-birthdays strong{display:inline-block;margin:10px 18px 0 0}.stat-birthdays .stat-description{display:inline}
 .birthday-list{padding:0 17px}.birthday-list li{gap:12px;flex-wrap:wrap}.birthday-day{min-width:75px;font-size:21px}
 .birthday-list a{margin-left:87px}.equal-fields{grid-template-columns:1fr}.field label small{font-weight:400}
}

.location-section{display:grid;grid-template-columns:1fr;gap:24px;padding-block:65px}.location-logo{display:flex;align-items:center;gap:15px}.location-logo img{width:80px;height:80px;object-fit:contain}.location-section address{font-style:normal;font-size:22px;font-weight:650}.location-address a{color:var(--ink);text-underline-offset:5px}.location-address a:hover{color:var(--red)}.location-section p:not(.eyebrow){font-size:13px;color:var(--muted);line-height:1.7}.location-map{height:360px;border:1px solid var(--line);border-radius:20px;overflow:hidden;background:#eef2f6}.location-map iframe{display:block;width:100%;height:100%;border:0}.map-placeholder{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;text-align:center;padding:20px}.map-placeholder>svg{width:42px;height:42px;fill:none;stroke:var(--red);stroke-width:1.8}.map-placeholder p{margin:0;max-width:320px}.location-address{padding-bottom:8px}
@media(max-width:640px){.location-section{padding-block:40px;gap:20px}.location-section address{font-size:20px}.location-map{height:300px;border-radius:15px}.location-logo img{width:64px;height:64px}.location-logo .brand-type{font-size:21px}}

.enrollment-coverage{font-size:.82rem;line-height:1.65;padding:12px 14px;background:#eef7f2;border-radius:10px;margin:14px 0 0;color:#285742}.enrollment-coverage span{color:#59665f}

/* Persistent admin destinations and contextual navigation. */
.owner-site .site-header{position:relative}
.admin-nav{position:sticky;top:0;z-index:35}
.admin-nav svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.admin-nav svg circle{fill:#fff}
.owner-site .back-link{min-height:44px;font-size:13px;padding:6px 0;margin-bottom:8px}
.family-sections{display:flex;gap:8px;margin:18px 0 24px;flex-wrap:wrap}
.family-sections a{display:flex;gap:9px;align-items:center;min-height:46px;padding:10px 16px;border:1px solid var(--line);border-radius:10px;background:#fff;text-decoration:none;font-size:13px;font-weight:700}
.family-sections a[aria-current]{border-color:var(--red);color:var(--red);background:#fff6f6}
.family-sections span{font-size:11px;border-radius:20px;padding:1px 7px;background:#f1f2f5;color:var(--muted)}
.owner-site .child-row-footer a{display:inline-flex;align-items:center;min-height:44px;padding:7px 0}
.leave-dialog{width:min(480px,calc(100% - 32px));padding:28px;border:1px solid var(--line);border-radius:18px;color:var(--ink);box-shadow:0 24px 80px #101a3240}
.leave-dialog::backdrop{background:#101a3280}
.leave-dialog h2{font-size:23px;line-height:1.3;margin-bottom:14px}
.leave-dialog p{font-size:14px;color:var(--muted)}
.leave-dialog .form-actions{flex-wrap:wrap;margin-top:22px;gap:10px}
.leave-dialog .button{font-size:12px;padding-inline:14px}
html:has(.owner-site){scroll-padding-top:78px}
.owner-site :target,.owner-site .parent-panel,.owner-site .children-panel,.owner-site .history-panel,.owner-site .payment-preview,.owner-site .validation-summary-errors{scroll-margin-top:0}
@media(max-width:640px){
 .owner-site .site-header{position:sticky}
 .admin-nav{position:fixed;top:auto}
 .admin-nav a{min-width:0;font-size:10px;padding-inline:4px;min-height:68px}
 .owner-site:has(.admin-nav){padding-bottom:calc(76px + env(safe-area-inset-bottom))}
 html:has(.owner-site){scroll-padding-top:95px}
 .family-sections{gap:8px}.family-sections a{flex:1;justify-content:center;padding:10px 8px;font-size:12px}
 .leave-dialog{padding:23px}.leave-dialog .form-actions{flex-direction:column;align-items:stretch}
}
/* Mobile-first owner workspace; native filters also work without JavaScript. */
.filter-sheet{display:block;margin-bottom:18px}
.filter-sheet>summary{cursor:pointer;list-style:none}
.filter-sheet>summary::-webkit-details-marker{display:none}
.filter-sheet-panel{padding:20px;background:#fff;border:1px solid var(--line);border-radius:14px;margin-top:10px}
.period-options,.parent-category-options{display:flex;flex-wrap:wrap;gap:8px}
.filter-sheet-panel a{display:flex;align-items:center;min-height:44px;padding:10px 14px;border:1px solid var(--line);border-radius:9px;text-decoration:none;font-size:14px}
.filter-sheet-panel a[aria-current=true]{background:#fff1f1;border-color:var(--red);font-weight:700;color:var(--red)}
.filter-sheet-panel .field-help{margin:14px 0}
.filter-sheet-panel [data-close-filter]{margin-top:14px}
.dashboard-heading>div{width:100%}.dashboard-kicker{display:flex;align-items:center;justify-content:space-between;gap:14px}
.dashboard-kicker time{white-space:nowrap;font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}
.results-heading{display:flex;justify-content:space-between;gap:12px;margin-bottom:12px}.results-heading a{min-height:44px;display:flex;align-items:center;font-size:13px}
.parent-due .matched-children{max-width:220px;white-space:normal;overflow-wrap:anywhere}
.owner-site input:not([type=hidden]):not([type=checkbox]):not([type=radio]),.owner-site select,.owner-site textarea{font-size:16px;min-width:0}
.owner-site .field-pair,.owner-site .enrollment-children{grid-template-columns:minmax(0,1fr)}
.owner-site .field label{display:block;margin-bottom:8px}
.owner-site .button,.owner-site .row-action,.owner-site .all-parents,.owner-site .search-result-note a,.owner-site summary,.owner-site .parent-identity a{min-height:44px}
.owner-site .parent-identity a{display:inline-flex;align-items:center}
.owner-site .child-select,.owner-site .confirm-payment{min-height:44px}
.owner-site .search-form{flex-wrap:wrap}
.owner-site .search-form>label{flex-basis:100%;font-size:13px;font-weight:650}
.owner-site .search-icon{display:none}.owner-site .search-form input{padding-left:14px}
.search-submit .ui-icon{display:none}
.search-submit .search-submit-label{font:inherit}
@media(max-width:640px){
 .owner-site .search-form{display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:8px}
 .owner-site .search-form>label{grid-column:1/-1}
 .owner-site .search-form #parent-search{width:100%;min-width:0;padding-inline:12px}
 .owner-site .search-form .search-submit{width:44px;height:44px;min-height:44px;padding:10px;align-self:end}
 .search-submit .search-submit-label{display:none}
 .search-submit .ui-icon{display:block;width:20px;height:20px}
}
@media(min-width:1001px){
 .owner-site:has(.admin-nav){padding-left:220px}
 .owner-site:has(.admin-nav) .admin-nav{position:fixed;inset:0 auto 0 0;width:220px;border-right:1px solid var(--line);padding:30px 14px}
 .owner-site .admin-nav-inner{width:100%;display:flex;flex-direction:column;gap:12px}
 .owner-site .admin-nav a{padding:14px;border:2px solid transparent;border-radius:12px;min-height:54px}
 .owner-site .admin-nav a[aria-current=page]{border-color:var(--red);background:#fff6f6}
}
@media(max-width:640px){
 .owner-site .form-actions{flex-direction:column;align-items:stretch}
 .owner-site .form-actions .button,.owner-site .enrollment-submit>.button{width:100%;justify-content:center}
 .owner-site .parent-list{padding:12px;background:#f5f6f8;display:grid;gap:12px}
 .owner-site .parent-row{border:1px solid var(--line);border-radius:12px;background:#fff;min-width:0}
 .owner-site .parent-identity{min-width:0}.owner-site .parent-identity h3{overflow-wrap:anywhere}
 .filter-sheet{display:block;margin-bottom:18px}.filter-sheet>summary{list-style:none;cursor:pointer;width:100%}
 .filter-sheet>summary::-webkit-details-marker{display:none}
 .filter-sheet-enhanced[open]::before{content:"";position:fixed;inset:0;background:#101a3280;z-index:49}
 .filter-sheet-enhanced .filter-sheet-panel{position:fixed;inset:auto 0 0;z-index:50;max-height:85dvh;overflow:auto;overscroll-behavior:contain;background:#fff;border-radius:22px 22px 0 0;padding:24px 20px calc(20px + env(safe-area-inset-bottom));box-shadow:0 -8px 40px #101a3220}
 .filter-sheet-panel a{display:flex;align-items:center;justify-content:space-between;min-height:48px;padding:10px 14px;border:1px solid var(--line);border-radius:9px;margin:8px 0;text-decoration:none}
 .filter-sheet-panel a[aria-current=true]{background:#fff1f1;border-color:var(--red);font-weight:700;color:var(--red)}
 .filter-sheet-panel .button{width:100%;margin-top:12px}.owner-site:has(.filter-sheet-enhanced[open]){overflow:hidden}
}
/* Authentic activity frames retain their full composition and printed details. */
.story-photo-complete img{aspect-ratio:4/5;object-fit:contain;object-position:center}
/* Card crops keep the activity visible; the lightbox still shows the full image. */
.gallery-item img.photo-focus-upper{object-position:50% 20%}
.gallery-item img.photo-focus-lower{object-position:50% 65%}
.gallery-item img.photo-focus-bottom{object-position:50% 100%}
.contact-email{padding-top:32px;display:flex;align-items:center;gap:24px;flex-wrap:wrap}
.contact-email>span{font-size:10px;letter-spacing:.14em}
.contact-email>a{font-size:clamp(14px,2vw,20px);min-height:44px;display:flex;align-items:center;text-underline-offset:5px;overflow-wrap:anywhere;min-width:0}
.footer-top>div{min-width:0}
.footer-top>div a.footer-email{overflow-wrap:anywhere;min-height:44px}
@media(max-width:640px){.contact-email{gap:4px;display:grid}.footer-top>div{grid-column:1/-1}.footer-top>div a{display:flex;align-items:center;min-height:44px}}
.interview-section{display:grid;grid-template-columns:1.15fr .85fr;align-items:center;gap:80px}
.interview-copy h2{font-size:clamp(39px,4.5vw,64px);line-height:1.08;letter-spacing:-.055em;margin:22px 0}
.interview-copy>p:not(.eyebrow){max-width:540px;font-size:15px;color:var(--muted);line-height:1.9;margin:0 0 18px}
.interview-copy>p.interview-lead{font-size:23px;color:var(--ink);font-weight:650;line-height:1.4}
.interview-note{display:flex;align-items:center;gap:18px;padding-top:16px;margin-top:22px;border-top:1px solid var(--line)}
.interview-note>span{display:grid;place-content:center;width:48px;height:48px;border-radius:50%;background:#fbe8e9;color:var(--red);flex:none}
.interview-note p{font-size:12px;line-height:1.8;color:var(--muted);margin:0}.interview-note strong{font-size:14px;color:var(--ink)}
.interview-frame{width:100%;max-width:430px;margin:0 auto;padding:74px 17px 0 0;min-width:0}
.tv-cabinet{position:relative;border-radius:46px;background:linear-gradient(100deg,#f7ebd8 0%,#e9d6b9 80%,#c8b49a 100%);padding:6px;box-shadow:inset 2px 3px 2px #fff9,11px 2px 0 #36404e,17px 7px 0 #202d3d,16px 26px 30px -10px #101b3433}
.tv-front{position:relative;padding:10px 12px 8px;border:2px solid #bba78e;border-radius:40px;box-shadow:inset 0 0 0 3px #fffc,0 0 0 1px #fdf8ef;background:radial-gradient(ellipse at 20% 0%,#fff6e8 0%,transparent 70%),linear-gradient(110deg,#f3e6d2,#ead7bb)}
.interview-frame-label{display:flex;justify-content:center;align-items:center;gap:7px;color:#14263c;font-size:10px;font-weight:800;letter-spacing:.065em;padding:4px 0 12px}
.tv-body{display:grid;grid-template-columns:minmax(0,1fr) clamp(30px,4.1vw,56px);align-items:start;gap:12px}
.tv-screen{min-width:0;padding:8px;background:linear-gradient(130deg,#a70e22,#da2438 45%,#8a091c);border-radius:28px;box-shadow:inset 2px 2px 2px #f77b83,inset -2px -2px 3px #5b0717,0 0 0 2px #fff4}
.interview-frame video{display:block;width:100%;height:auto;aspect-ratio:9/16;object-fit:contain;background:#0b1118;border-radius:20px;box-shadow:0 0 0 2px #700718}
.interview-frame video:focus-visible{outline:3px solid #fff;outline-offset:2px}
.tv-decoration{display:flex;flex-direction:column;align-items:center;padding-top:46px;gap:10px;pointer-events:none}
.tv-dial{position:relative;width:100%;aspect-ratio:1;border-radius:50%;border:4px solid #253244;background:linear-gradient(130deg,#ed3447,#a80b20);box-shadow:0 0 0 2px #a7a29a,2px 4px 6px #3f241d45,inset 0 0 0 2px #f27476,inset -3px -3px 6px #5e07173b}
.tv-dial:after{content:"";position:absolute;width:9%;height:40%;left:50%;top:10%;border-radius:4px;transform:rotate(36deg);transform-origin:50% 100%;background:linear-gradient(90deg,#a39b92,#fff7dd);box-shadow:1px 1px 2px #0007}
.tv-dial-small{width:70%;border:2px solid #977018;margin:14px 0 40px;background:linear-gradient(135deg,#ffdb6d,#d79a24);box-shadow:0 0 0 2px #f8e5b9,2px 3px 4px #58370d40,inset 0 0 0 2px #fbd06f}
.tv-dial-small:after{background:#253244;width:10%;top:12%}
.tv-speaker{width:85%;height:7px;border-radius:5px;background:repeating-linear-gradient(90deg,#181d21 0 2px,#5a5b5a 2px 3px);box-shadow:0 1px 1px #fff,0 -1px 1px #6e6454}
.tv-brand{display:flex;align-items:center;justify-content:center;gap:18px;padding:12px 0 1px;pointer-events:none}
.tv-brand>span{padding:3px 11px;border-radius:9px;background:linear-gradient(#354c64,#172a3e);box-shadow:inset 0 1px 1px #fff8,0 1px 2px #645644;color:#fff;font-size:9px;font-weight:750;letter-spacing:.055em}
.tv-brand>i{width:5px;height:5px;border-radius:50%;background:#e72a36;box-shadow:0 0 0 2px #ffe6cc,0 0 5px #e72a3666}
.tv-aerial{position:absolute;bottom:100%;left:52%;width:52px;height:13px;border-radius:14px 14px 2px 2px;background:linear-gradient(#344456,#122135);box-shadow:inset 0 2px 1px #7e8b97;pointer-events:none}
.tv-aerial>span{position:absolute;bottom:7px;left:12px;width:4px;height:67px;transform:rotate(-34deg);transform-origin:bottom;background:linear-gradient(90deg,#28333c,#eee,#65707b);border-radius:3px}
.tv-aerial>span+span{left:auto;right:12px;transform:rotate(34deg)}
.tv-aerial>span:before{content:"";position:absolute;left:-4px;top:-4px;width:12px;height:12px;border-radius:50%;background:radial-gradient(circle at 30% 25%,#ff8b91,#b0152a 65%,#710519);box-shadow:0 1px 2px #12213555}
.tv-feet{position:absolute;left:12%;right:10%;top:100%;height:19px;display:flex;justify-content:space-between;z-index:-1;pointer-events:none}
.tv-feet>span{width:30px;border-radius:0 0 7px 5px;background:linear-gradient(110deg,#34485b,#101e2d);transform:skew(-16deg);box-shadow:2px 3px 3px #132b3e44}
.tv-feet>span+span{transform:skew(16deg)}
.interview-frame figcaption{color:#14263c;font-size:12px;font-weight:600;text-align:center;line-height:1.6;padding:32px 0 0}
@media(max-width:1000px){.interview-section{gap:35px}}
@media(max-width:640px){.interview-section{grid-template-columns:minmax(0,1fr);gap:30px}.interview-copy h2{font-size:44px}.interview-copy>p:not(.eyebrow){font-size:14px}.interview-copy>p.interview-lead{font-size:21px}.interview-frame{max-width:360px;padding-top:65px}.tv-front{padding:8px;border-radius:31px}.tv-cabinet{border-radius:37px}.tv-body{grid-template-columns:minmax(0,1fr) 34px;gap:9px}.tv-screen{padding:6px;border-radius:23px}.interview-frame video{border-radius:17px}.interview-frame-label{font-size:8px;letter-spacing:.035em;gap:5px}.tv-decoration{padding-top:30px;gap:8px}.tv-dial{border-width:3px}.tv-dial-small{border-width:2px;margin:10px 0 25px}.tv-aerial>span{height:55px}.tv-brand{padding-top:10px}.interview-note{margin-top:16px}.public-footer{padding-bottom:120px}}

.call-bubble[hidden]{display:none}

/* Image-led gallery and a viewport-sized, keyboard-accessible viewer. */
.gallery-section{background:#f5f6f8;border-color:#e7e9ed}
.gallery-item>a{border-radius:16px}
.gallery-item figcaption{padding:12px 2px 0;font-size:13px;line-height:1.45}
.photo-open{width:40px;height:40px;background:#172432cc;border:1px solid #ffffff50;transition:background .2s}
.gallery-item a:hover .photo-open{background:var(--red)}
.gallery-item a:focus-visible,.memory-card a:focus-visible{outline:3px solid var(--red);outline-offset:5px}
dialog.photo-dialog{border:0;border-radius:18px;background:#f4f2ee;color:var(--ink);width:min(1200px,calc(100vw - 48px));height:calc(100dvh - 48px);max-height:none;padding:16px 24px;overflow:hidden;box-shadow:0 30px 100px #080c1440}
dialog.photo-dialog[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto auto;gap:12px}
.photo-dialog::backdrop{background:#102032b8;backdrop-filter:blur(10px)}
.photo-dialog-head{color:var(--muted);gap:12px}
.photo-dialog-head>div{display:grid;gap:4px;min-width:0}
.viewer-brand{font-size:13px;letter-spacing:.1em;font-weight:800;color:var(--ink)}
#photo-count{font-size:11px;line-height:1.4}
.photo-dialog .dialog-close{border:1px solid #d5d7dc;border-radius:24px;background:#fff;color:var(--ink);min-height:44px;gap:12px;padding:8px 14px}
.photo-dialog .dialog-close span{font-size:23px;line-height:1}
.photo-dialog-image{display:flex;align-items:center;justify-content:center;min-height:0;min-width:0;margin:0;position:relative}
.photo-dialog-image img{display:block;width:auto;height:auto;max-width:100%;max-height:100%;min-height:0;object-fit:contain;border-radius:6px}
.photo-error{position:absolute;inset:auto 12px 12px;background:#fff;padding:12px;font-size:13px;border-radius:8px}
.photo-dialog-navigation{display:grid;grid-template-columns:48px minmax(0,1fr) 48px;align-items:center;gap:18px;width:min(720px,100%);justify-self:center}
.photo-dialog-navigation .gallery-prev,.photo-dialog-navigation .gallery-next{position:static;transform:none;width:48px;height:48px;background:#fff;color:var(--ink);border:1px solid #d5d7dc;border-radius:50%;cursor:pointer}
.photo-dialog-navigation .gallery-prev:hover,.photo-dialog-navigation .gallery-next:hover{background:var(--red);color:#fff;border-color:var(--red)}
.photo-dialog #photo-title{color:var(--ink);font-size:16px;line-height:1.4;letter-spacing:0;text-align:center;margin:0;font-weight:650;overflow-wrap:anywhere}
.photo-thumbnails{display:flex;gap:8px;overflow-x:auto;overscroll-behavior-inline:contain;max-width:100%;padding:4px;justify-self:center;scrollbar-width:thin}
.photo-thumbnails>button{width:48px;height:58px;flex:0 0 48px;border:2px solid transparent;background:#e0e4e8;border-radius:8px;padding:2px;cursor:pointer}
.photo-thumbnails img{width:100%;height:100%;object-fit:cover;border-radius:4px}
.photo-thumbnails>button[aria-current]{border-color:var(--red);background:#fff}
.photo-dialog button:focus-visible{outline:3px solid var(--red);outline-offset:3px}
@media(max-width:640px){
 .gallery-grid{gap:22px 12px}.gallery-item>a{border-radius:12px}.gallery-item figcaption{font-size:12px;line-height:1.4;padding:9px 1px 0}
 .photo-open{width:32px;height:32px;font-size:18px;right:8px;top:8px}
 dialog.photo-dialog{width:100vw;height:100dvh;max-width:none;margin:0;border-radius:0;padding:12px 12px max(12px,env(safe-area-inset-bottom))}
 dialog.photo-dialog[open]{gap:10px}
 .photo-dialog-head{padding-top:env(safe-area-inset-top)}
 .photo-dialog-navigation{gap:12px;grid-template-columns:44px minmax(0,1fr) 44px}
 .photo-dialog-navigation .gallery-prev,.photo-dialog-navigation .gallery-next{width:44px;height:44px}
 .photo-dialog #photo-title{font-size:14px}
 .photo-thumbnails{justify-self:stretch;gap:6px}
 .photo-thumbnails>button{width:44px;flex-basis:44px;height:52px}
}

/* Compact parent workspace: identity first, then the action at hand. */
.family-workspace .family-overview{padding:20px 24px;margin:8px 0 12px;border-radius:12px}
.family-workspace .family-overview .family-heading{margin:0 0 12px!important;gap:14px}
.family-workspace .family-heading-name{gap:12px}
.family-workspace .family-heading-name>div{min-width:0}
.family-workspace .avatar-large{width:40px;height:40px;flex:0 0 40px;border-radius:12px;font-size:14px}
.family-workspace .family-heading .eyebrow{margin:0;font-size:9px}
.family-workspace .family-heading h1{font-size:26px;line-height:1.2;margin:4px 0}
.family-workspace .parent-phone{min-height:44px;overflow-wrap:anywhere}
.family-workspace .family-overview .family-summary{padding-top:12px;gap:14px;grid-template-columns:.6fr 1fr 1.4fr}
.family-workspace .family-summary>div+div{padding-left:14px}
.family-workspace .family-summary dt{margin-bottom:4px;font-size:11px}
.family-workspace .family-summary dd{font-size:14px;font-variant-numeric:tabular-nums}
.family-workspace .family-sections{gap:20px;margin:0 0 16px;border-bottom:1px solid var(--line)}
.family-workspace .family-sections a{border:0;border-bottom:3px solid transparent;border-radius:0;background:transparent;padding:8px 0;min-height:44px}
.family-workspace .family-sections a[aria-current]{border-bottom-color:var(--red)}
.family-workspace .children-panel .panel-heading{padding:16px 20px 8px;display:flex;align-items:center;gap:12px}
.family-workspace .children-panel .panel-heading h2{font-size:21px;margin:0;line-height:1.3}
.family-workspace .children-panel .panel-heading>.button{margin:0;white-space:nowrap;padding-inline:12px;font-size:12px}
.billing-instructions{padding:0 20px 8px;font-size:13px;line-height:1.55;color:var(--muted)}
.billing-instructions>p{margin:0}
.billing-instructions details{margin-top:2px}
.billing-instructions summary{display:list-item;cursor:pointer;padding-block:12px;font-size:12px;color:var(--blue)}
.billing-instructions details p{margin:0 0 10px;max-width:65ch}
.family-workspace .billing-child{padding:14px 20px;border-left:3px solid transparent}
.family-workspace .billing-child.is-selected{border-left-color:var(--red);background:#fffafb}
.family-workspace .billing-child-top{display:grid;grid-template-columns:22px minmax(0,1fr) auto;align-items:center;gap:10px;margin:0;min-height:48px}
.family-workspace .child-select input[type=checkbox]{margin:0;width:21px;height:21px}
.child-choice-name{min-width:0}
.family-workspace .child-select strong{font-size:16px;line-height:1.35}
.family-workspace .child-select small{font-size:11px;margin-top:3px}
.family-workspace .billing-price{font-size:16px;font-weight:700;text-align:right;line-height:1.2;max-width:150px;white-space:normal}
.family-workspace .billing-price small{font-weight:400;color:var(--muted);font-size:10px}
.family-workspace .child-facts{padding-left:32px;margin:10px 0 0;gap:12px 22px}
.family-workspace .child-row-footer{padding-left:32px;min-height:44px;margin:0;font-size:12px}
.family-workspace .payment-date-field{margin:4px 0 0 32px;max-width:330px}
.family-workspace .payment-date-field label{font-size:12px;margin-bottom:5px}
.family-workspace .payment-date-field input{min-height:44px;padding:8px 12px}
.family-workspace .payment-date-field .field-help{font-size:11px;line-height:1.4;margin:5px 0 0}
.family-workspace .payment-selection-footer{padding:12px 20px;background:#f8f9fb}
.family-workspace .selection-total{display:flex;flex-direction:row;flex-wrap:wrap;gap:12px;align-items:center}
.family-workspace .selection-total>span{flex:1 0 auto;min-width:min-content;font-size:18px;line-height:1.3;white-space:nowrap}
.selection-total>span>small:first-child{display:block;font-size:11px;font-weight:400;color:var(--muted);margin-bottom:3px}
.selection-total .selection-currency{font-size:11px}
.family-workspace .selection-total>.button{width:auto;font-size:13px;padding:12px 16px;min-height:48px;flex:0 0 auto}
.family-workspace .payment-selection-footer>.field-help{margin:7px 0 0;font-size:11px;line-height:1.4}
@media(max-width:640px){
 .family-workspace .back-link{margin:0;min-height:44px;font-size:12px}
 .family-workspace .family-overview{padding:14px;margin:4px 0 8px}
 .family-workspace .family-overview .family-heading{display:flex;align-items:start;margin:0 0 8px!important;gap:8px}
 .family-workspace .family-heading-name{gap:9px;align-items:start}
 .family-workspace .avatar-large{width:32px;height:32px;flex-basis:32px;font-size:12px;border-radius:9px}
 .family-workspace .family-heading .eyebrow{display:none}
 .family-workspace .family-heading h1{font-size:21px;margin:2px 0 0}
 .family-workspace .family-heading>.status-badge{margin:2px 0 0;font-size:10px;padding:5px 7px;flex-shrink:0}
 .family-workspace .parent-phone{font-size:12px}
 .family-workspace .family-overview .family-summary{grid-template-columns:.65fr 1fr 1.3fr;gap:8px;padding-top:10px}
 .family-workspace .family-summary>div+div{padding:0;border:0}
 .family-workspace .family-summary>div:last-child{grid-column:auto}
 .family-workspace .family-summary dt{font-size:10px;margin-bottom:3px}
 .family-workspace .family-summary dd{font-size:12px}
 .family-workspace .family-summary small{display:block;font-size:10px;margin:3px 0 0}
 .family-workspace .family-sections{gap:16px;margin-bottom:12px}
 .family-workspace .family-sections a{flex:1;padding:7px 0;font-size:12px}
 .family-workspace .children-panel .panel-heading{padding:14px 14px 8px;gap:8px}
 .family-workspace .children-panel .panel-heading h2{font-size:19px}
 .family-workspace .children-panel .panel-heading>.button{padding-inline:10px;font-size:11px}
 .billing-instructions{padding:0 14px 4px;font-size:12px;line-height:1.5}
 .family-workspace .billing-child{padding:12px 12px 12px 11px}
 .family-workspace .billing-child-top{grid-template-columns:21px minmax(0,1fr) auto;gap:8px}
 .family-workspace .child-select strong{font-size:14px}
 .family-workspace .child-select small{font-size:10px}
 .family-workspace .billing-price{font-size:14px;max-width:108px}
 .family-workspace .child-facts{padding-left:29px;gap:8px 14px;font-size:10px}
 .family-workspace .child-facts strong{font-size:12px;margin-top:2px}
 .family-workspace .child-row-footer{padding-left:29px;font-size:11px}
 .family-workspace .payment-date-field{margin-left:29px;max-width:none}
 .family-workspace .payment-selection-footer{padding:12px 14px;border-top:1px solid #d5dae3}
 .family-workspace .payment-date-field input{scroll-margin-block:100px}
 .family-workspace .selection-total>span{font-size:16px}
 .family-workspace .selection-total>.button{font-size:12px;padding:10px 12px;gap:6px}
}
@media(max-width:360px){
 .family-workspace .children-panel .panel-heading h2{font-size:18px}
 .family-workspace .children-panel .panel-heading .count-badge{display:none}
}
.payment-timeline .history-coverage{margin:10px 0;color:var(--ink);font-size:13px}
.history-coverage time,.history-coverage-list time{font-weight:750;white-space:nowrap;font-variant-numeric:tabular-nums}
.payment-timeline .history-coverage-list{margin:10px 0 14px;padding:0;list-style:none;display:grid;gap:8px}
.history-coverage-list li{padding:10px 12px;border-left:3px solid var(--blue);border-radius:0 6px 6px 0;background:#f0f4fa;display:grid;gap:3px;font-size:12px;overflow-wrap:anywhere}
.history-coverage-list li>span{color:var(--muted)}

/* Public navigation: one stable height in both scroll states. */
.public-site{--public-header-height:72px;--header-navy:#17324d;--header-accent:var(--red)}
html:has(.public-site){scroll-padding-top:calc(72px + env(safe-area-inset-top) + 16px)}
.public-site :target{scroll-margin-top:8px}
.public-site .site-header{background:var(--paper);color:var(--header-navy);padding-top:env(safe-area-inset-top);border-bottom-color:#e0dfda;transition:box-shadow .18s}
.public-site .header-inner{min-height:calc(var(--public-header-height) - 1px);width:min(1360px,calc(100% - 64px));gap:24px}
.public-site .site-header .brand{gap:10px}
.public-site .site-header .brand img{width:48px;height:48px}
.public-site .site-header .brand-type{font-size:19px}
.public-site .site-header .brand-type small{color:inherit;font-size:8px;margin-top:7px}
.public-site .desktop-nav{gap:24px;margin-right:0;align-items:center}
.public-site .desktop-nav a{min-height:44px;display:flex;align-items:center;color:inherit;white-space:nowrap}
.public-site .desktop-nav a::after{content:"";position:absolute;bottom:4px;left:0;right:0;height:3px;background:transparent;border-radius:2px}
.public-site .desktop-nav a:hover::after{background:currentColor}
.public-site .desktop-nav a[aria-current]::after{background:var(--header-accent);box-shadow:0 1px 0 var(--header-navy)}
.public-site .header-call{display:inline-flex;flex-shrink:0;gap:9px;min-width:44px;min-height:44px;padding:10px 14px;transform:none}
.public-site .header-call svg{width:18px;height:18px;fill:currentColor}
.public-site .header-call .header-call-label{font-size:13px;font-weight:750}
.public-site .site-header :is(a,summary):focus-visible{outline:3px solid var(--header-accent);outline-offset:4px;box-shadow:none}
.public-site .site-header.is-scrolled{--header-accent:#ff6573;background:var(--header-navy);color:#fff;border-bottom-color:var(--header-navy);box-shadow:0 4px 18px #10203225}
.public-site .site-header.is-scrolled .header-call{border-color:#fff}
.public-site .site-header.is-scrolled :is(a,summary):focus-visible{outline:3px solid var(--header-accent);box-shadow:none}
@media(max-width:1000px) and (min-width:851px){
 .public-site .header-inner{width:calc(100% - 40px);gap:18px}
 .public-site .desktop-nav{gap:18px}
 .public-site .desktop-nav a{font-size:12px}
}
@media(max-width:850px){
 .public-site{--public-header-height:64px}
 html:has(.public-site){scroll-padding-top:calc(64px + env(safe-area-inset-top) + 16px)}
 .public-site .header-inner{width:calc(100% - 32px);gap:10px}
 .public-site .site-header .brand{margin-right:auto;gap:8px;min-width:0}
 .public-site .site-header .brand img{width:40px;height:40px;flex-shrink:0}
 .public-site .site-header .brand-type{font-size:16px}
 .public-site .site-header .brand-type small{font-size:7px;margin-top:6px;letter-spacing:.12em}
 .public-site .mobile-menu{position:static;flex-shrink:0}
 .public-site .mobile-menu summary{gap:8px;min-width:64px;min-height:44px;padding:8px 4px;justify-content:center;border-radius:6px;color:inherit}
 .public-site .menu-lines{border-color:currentColor;width:18px;height:12px;position:relative}
 .public-site .mobile-menu[open] .menu-lines{border:0}
 .public-site .mobile-menu[open] .menu-lines::before,.public-site .mobile-menu[open] .menu-lines::after{content:"";position:absolute;top:5px;left:0;width:18px;height:2px;background:currentColor;transform:rotate(45deg)}
 .public-site .mobile-menu[open] .menu-lines::after{transform:rotate(-45deg)}
 .public-site .mobile-menu nav{position:fixed;top:calc(var(--public-header-height) + env(safe-area-inset-top) + 8px);right:16px;width:min(360px,calc(100% - 32px));max-height:calc(100dvh - var(--public-header-height) - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 24px);overflow:auto;overscroll-behavior:contain;padding:12px;background:var(--paper);color:var(--header-navy);border:1px solid #d4d9df;border-radius:12px;box-shadow:0 12px 32px #10203230}
 .public-site .mobile-menu nav a{min-height:48px;padding:12px 14px;line-height:1.5;scroll-margin-block:8px}
 .public-site .mobile-menu nav a:hover{background:#e8edf2}
 .public-site .mobile-menu nav a[aria-current]{background:var(--red);color:#fff;text-decoration:underline;text-underline-offset:4px}
 .public-site .mobile-menu nav a:last-child{border-top-color:#d4d9df;color:var(--red);margin-top:8px}
 .public-site .site-header.is-scrolled .mobile-menu nav{background:var(--header-navy);color:#fff;border-color:#fff}
 .public-site .site-header.is-scrolled .mobile-menu nav a:hover{background:#274761}
 .public-site .site-header.is-scrolled .mobile-menu nav a[aria-current]{background:var(--red);color:#fff;outline:1px solid #fff;outline-offset:-1px}
 .public-site .site-header.is-scrolled .mobile-menu nav a[aria-current]:focus-visible{outline:3px solid var(--header-accent);outline-offset:4px}
 .public-site .site-header.is-scrolled .mobile-menu nav a:last-child{color:#fff;border-top-color:#7191aa}
}
@media(max-width:420px){
 .public-site .header-inner{width:calc(100% - 24px);gap:8px}
 .public-site .header-call{padding:10px;width:44px}
 .public-site .header-call-label{display:none}
}
@media(max-width:350px){.public-site .site-header .brand-type{font-size:14px}.public-site .site-header .brand-type small{font-size:6px}}
@media(prefers-reduced-motion:reduce){.public-site .site-header{transition:none}}

/* Bounded result pages keep long directories usable on phones. */
.result-pages{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;padding-top:20px;border-top:1px solid var(--line,#dfe3e9);margin-top:16px}.result-pages p{margin:0;font-size:.875rem}.result-page-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.result-page-actions>span{font-size:.8rem}.result-pages .button{min-height:44px}.result-pages a:focus-visible{outline:3px solid #b4212b;outline-offset:3px}@media(max-width:480px){.result-pages{align-items:flex-start}.result-page-actions{width:100%;justify-content:space-between;gap:6px}.result-pages .button{padding:10px 12px}}

/* Public homepage hero: the original photo overlaps the copy instead of
   occupying a separate card. Crop only spare ceiling; protect child and marks. */
.public-site .hero{position:relative;isolation:isolate;display:grid;grid-template-columns:1fr;gap:0;width:min(1240px,100%);min-height:0;height:clamp(620px,63vw,800px);padding:0;overflow:hidden}
.public-site .hero .hero-copy{position:relative;z-index:2;grid-column:1;grid-row:1;align-self:center;width:64%;padding:44px 0 44px 48px;min-width:0}
.public-site .hero h1{font-size:clamp(48px,5.8vw,80px);position:relative}
.public-site .hero .hero-visual{position:absolute;inset:0 0 0 auto;margin:0;padding:0;width:62%;height:100%;max-width:none;min-width:0}
.public-site .hero .hero-photo{height:100%;margin:0;border-radius:0;box-shadow:none;background:transparent;overflow:hidden;mask-image:linear-gradient(90deg,transparent,#000 14%)}
.public-site .hero .hero-photo img{width:100%;height:100%;aspect-ratio:auto;object-fit:cover;object-position:center bottom}
.public-site .hero .hero-visual::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,var(--paper),#f9f8f5e8 10%,#f9f8f5a6 22%,#f9f8f500 39%);mask-image:linear-gradient(#000 0%,#000 58%,#0005 85%,#0004 100%);pointer-events:none}
.public-site .hero .hero-orbit{display:none}
.public-site .hero .hero-stamp{z-index:1;right:4%;top:4%;width:116px;height:116px;font-size:11px}
.public-site .hero .hero-stamp b{font-size:10px}
/* The original image logo ends at x=22%, contact begins at x=73%.
   The badge is confined to x=26.5..69.5%, below the child. */
.public-site .hero .photo-label{z-index:2;left:48%;bottom:4.5%;transform:translateX(-50%);width:43%;max-width:240px;min-height:42px;padding:10px 12px;gap:7px;font-size:12px;line-height:1.35;text-align:center;justify-content:center;border-radius:9px}
.public-site .hero .live-dot{flex:0 0 7px;width:7px;height:7px}
@media(min-width:761px) and (max-width:1100px){.public-site .hero .hero-copy{padding:36px 0 36px 32px}.public-site .hero h1{font-size:clamp(42px,5.5vw,61px)}.public-site .hero .hero-lead{max-width:380px}.public-site .hero .hero-stamp{width:94px;height:94px;font-size:9px}.public-site .hero .hero-stamp b{font-size:8px}.public-site .hero .photo-label{font-size:10px;padding:8px;gap:5px}.public-site .hero .hero-note{margin-top:24px}}
@media(min-width:761px) and (max-width:850px){.public-site .hero{height:auto;aspect-ratio:40/31}}
@media(max-width:760px){
 .public-site .hero{display:flex;flex-direction:column;height:auto;min-height:0;gap:0;padding:0;width:100%;overflow:visible}
 .public-site .hero .hero-visual{position:relative;inset:auto;order:-1;align-self:center;width:100%;height:auto;max-width:560px;margin:0;padding:0}
 .public-site .hero .hero-visual::after{display:none}
 .public-site .hero .hero-photo{height:auto;border-radius:0 0 16px 16px;overflow:hidden;mask-image:none}
 .public-site .hero .hero-photo img{height:auto;aspect-ratio:4/5;object-fit:contain}
 .public-site .hero .hero-copy{width:100%;padding:28px 20px 36px}
 .public-site .hero h1{font-size:clamp(40px,10.6vw,70px);margin-bottom:19px}
 .public-site .hero .hero-copy .eyebrow{font-size:9px;letter-spacing:.1em;margin-bottom:18px}
 .public-site .hero .hero-stamp{top:4%;right:4%;width:92px;height:92px;font-size:9px}
 .public-site .hero .hero-stamp b{font-size:8px}
 .public-site .hero .photo-label{font-size:10px;min-height:34px;padding:7px;gap:5px}
 .public-site .hero .hero-lead{font-size:16px}
 .public-site .hero .hero-actions{display:flex;flex-direction:column;align-items:stretch;gap:8px;margin-top:24px}
 .public-site .hero .hero-actions .button{width:100%;font-size:13px;min-height:50px;justify-content:space-between}
 .public-site .hero .hero-actions .text-link{justify-content:center;margin-top:0}
 .public-site .hero .hero-note{margin-top:22px}
}
@media(max-width:360px){.public-site .hero .photo-label{font-size:9px;padding:6px;gap:4px}.public-site .hero .hero-stamp{width:80px;height:80px;font-size:8px}.public-site .hero .hero-stamp b{font-size:7px}}
/* Small-screen layout: keep first actions above the artwork and leave room
   for touch controls, browser chrome and standalone safe areas. */
@media (max-width:760px) {
    .public-site .hero .hero-copy {
        max-width:600px;align-self:center;
        padding:clamp(24px,6vw,40px) clamp(16px,5vw,28px) 24px;
    }
    .public-site .hero .hero-visual {order:0}
    .public-site .hero .hero-photo {border-radius:16px}
    .public-site .hero h1 {font-size:clamp(35px,10vw,58px);margin-bottom:14px}
    .public-site .hero .hero-copy .eyebrow {margin-bottom:14px}
    .public-site .hero .hero-lead {line-height:1.55}
    .public-site .hero .hero-actions {margin-top:18px}
    .public-site .hero .hero-actions .text-link {display:flex;min-height:44px;align-items:center}
    .public-site .hero .hero-note {margin-top:12px}
    .public-site .footer-email {overflow-wrap:anywhere}
    .public-site .call-bubble {
        display:flex;align-items:center;gap:9px;min-height:48px;
        padding:10px 14px;max-width:calc(100vw - 24px);border-radius:999px;
        right:max(12px,env(safe-area-inset-right));
        bottom:calc(10px + env(safe-area-inset-bottom));
    }
    .public-site .call-bubble[hidden] {display:none}
    .public-site .call-bubble>strong {display:none}
    .public-site .call-bubble>span {font-size:14px;line-height:1.25}
    .public-site .public-footer {padding-bottom:calc(76px + env(safe-area-inset-bottom))}
}
