

:root{--paper:#fff;--white:#fff;--ink:#202220;--muted:#585d56;--accent:#222522;--accent-dark:#3e443d;--line:#e4e6df;--soft:#f3f4ef;--olive:#4e6346;--sans:Inter,"Segoe UI","Helvetica Neue",Arial,sans-serif}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:1.5rem}
body{margin:0;background:var(--paper);color:var(--ink);font:400 1rem/1.62 var(--sans)}
h1,h2,h3,p,dl,dd,ul,ol{margin:0}
h1,h2,h3{line-height:1.13}
h1,h2{font-family:var(--sans);letter-spacing:-.055em;font-weight:520}
h3{font-weight:650;font-size:1.16rem}
a{color:var(--accent);text-decoration:underline;text-underline-offset:.19em}
a:hover{color:var(--accent-dark)}
button{cursor:pointer}
button:disabled{cursor:default;opacity:.58}
:focus-visible{outline:2px solid var(--olive);outline-offset:4px}
p{overflow-wrap:anywhere}
fieldset{min-width:0;border:0;margin:0;padding:0}
legend{padding:0}
img{max-width:100%}
.site-width{width:min(1200px,calc(100% - 104px));margin-inline:auto}
.site-header{border-bottom:1px solid var(--line);background:var(--paper)}
.header-inner{min-height:74px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.brand{display:inline-flex;align-items:center;gap:13px;line-height:1.12;color:var(--ink);font-family:var(--sans);font-weight:680;letter-spacing:-.037em;font-size:1.18rem;text-decoration:none;white-space:nowrap}
.brand small{display:block;font:650 .62rem/1.2 var(--sans);color:var(--muted);letter-spacing:.13em;margin-top:4px}
.brand-icon,.brand-image{width:39px;height:39px;display:grid;place-items:center;border-radius:50%}
.brand-icon{background:var(--accent);color:var(--white);font-family:"Segoe UI Symbol",serif;font-size:1.5rem}
.brand-image{object-fit:contain;border-radius:6px}
.public-nav,.footer-links{display:flex;align-items:center;gap:26px;flex-wrap:wrap}
.public-nav a,.footer-links a{color:var(--muted);font-size:.93rem;font-weight:550;text-decoration:none}
.public-nav a:hover,.footer-links a:hover{color:var(--accent)}
.button{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;white-space:normal;text-align:center;line-height:1.25;font-weight:650;font-size:.93rem;min-height:48px;padding:.8rem 1.2rem;border-radius:999px;border:1px solid transparent;transition:background .18s ease,border-color .18s ease,transform .18s ease;color:var(--accent);background:transparent}
.button:hover:not(:disabled){transform:translateY(-1px)}
.button.primary{background:var(--accent);border-color:var(--accent);color:#fff}
.button.primary:hover:not(:disabled){background:var(--accent-dark);border-color:var(--accent-dark)}
.button.outline{border-color:#d5d8d0;color:var(--accent);background:transparent}
.button.outline:hover:not(:disabled){background:var(--soft);border-color:#a6aca2}
.button.small{min-height:40px;padding:.55rem .88rem}
.hero{padding-block:clamp(34px,3.6vw,52px) 28px}
.hero-intro,.hero-gallery{display:grid;grid-template-columns:minmax(0,2.85fr) minmax(0,1fr);gap:24px}
.hero-intro{align-items:end;margin-bottom:clamp(25px,3vw,43px)}
.eyebrow{font-size:.75rem;font-weight:700;letter-spacing:.145em;text-transform:uppercase;color:var(--olive);margin-bottom:1rem}
.hero h1{font-size:clamp(4rem,7.25vw,6.75rem);line-height:.91;letter-spacing:-.075em;overflow-wrap:anywhere}
.hero h1 span{display:block;color:#747870}
.hero-copy{display:grid;gap:14px;align-content:end;padding-bottom:3px}
.hero-copy>p{font-size:1rem;color:var(--muted);line-height:1.55;max-width:32rem}
.hero-gallery{align-items:start}
.hero-photo,.hero-feature img{background:#dddcd4;border-radius:13px;overflow:hidden}
.hero-photo{aspect-ratio:2.05}
.hero-photo img,.hero-feature img{width:100%;height:100%;object-fit:cover;display:block}
.hero-photo img{object-position:center 58%;filter:saturate(.79) contrast(.97) sepia(.055)}
.hero-feature{display:grid;gap:11px;text-decoration:none;font-weight:650;font-size:1.02rem;letter-spacing:-.02em}
.hero-feature img{aspect-ratio:1.54;object-position:center;transition:filter .18s ease}
.hero-feature span{width:fit-content;padding-bottom:2px;border-bottom:1px solid #bbc2b7}
.hero-feature:hover img{filter:brightness(.94)}
.hero-feature:hover span{border-color:currentColor}
.hero-actions,.actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.hero-actions{gap:9px 14px}
.hero-status-link{font-size:.88rem;font-weight:650}
.registration-status{display:flex;gap:7px;align-items:center;flex-wrap:wrap;font-size:.88rem;color:var(--olive);font-weight:650}
.dot{width:7px;height:7px;border-radius:50%;background:#9a815f;flex:none}
.dot.open{background:#637d56}
.mode{border-left:1px solid var(--line);padding-left:8px;font-size:.78rem;color:var(--muted);font-weight:500}
.schedule-wrap{padding-top:2px}
.schedule{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.schedule>div{display:grid;align-content:start;gap:6px;padding:17px 19px 19px;background:var(--soft);border-radius:9px}
.schedule span{display:block;font-size:.875rem;color:var(--muted)}
.schedule strong{display:block;font-size:clamp(1rem,1.7vw,1.35rem);line-height:1.2;font-weight:570;letter-spacing:-.035em;overflow-wrap:anywhere}
.section{padding-block:clamp(44px,6vw,88px)}
.section h2{font-size:clamp(2rem,4.4vw,3.75rem);margin-bottom:.52em}
.direction-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.card{border:1px solid var(--line);border-radius:13px;background:var(--white);padding:clamp(18px,3.2vw,35px);min-width:0}
.direction{display:flex;align-items:flex-start;flex-direction:column;gap:19px;background:#fbfbf9}
.direction h3{font:530 clamp(1.45rem,2.45vw,2rem)/1.13 var(--sans);letter-spacing:-.04em}
.direction ul{padding:0;list-style:none;width:100%;flex:1}
.direction li{display:flex;justify-content:space-between;gap:14px;padding:9px 0;border-bottom:1px solid var(--line);font-size:.95rem}
.direction li strong{white-space:nowrap;color:var(--accent)}
.paper-band{background:var(--soft);border-top:1px solid var(--line)}
.info-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:38px}
.info-grid h2{font-size:clamp(2rem,3.1vw,3rem)}
.info-grid p{color:var(--muted)}
.info-grid>details{grid-column:1/-1;border-top:1px solid #d9ddd4;padding-top:18px}
.site-footer{background:#222522;color:#f5f6f1}
.footer-inner{display:flex;justify-content:space-between;align-items:center;gap:24px;padding-block:34px}
.site-footer .brand,.site-footer .footer-links a{color:#f5f6f1}
.site-footer .brand small{color:#c4c9be}
.site-footer .brand-icon{background:#f5f6f1;color:#222522}
.site-footer .footer-links a:hover{text-decoration:underline}
.site-footer a:focus-visible{outline-color:#c8d5be}
.preline{white-space:pre-wrap}
.page-heading h1{font-size:clamp(2.65rem,5.9vw,5rem);margin-bottom:.42em}
.page-heading>p:not(.eyebrow){margin-bottom:18px;color:var(--muted)}
.page-heading.narrow,.narrow{max-width:740px}
.page-heading .notice{display:grid;justify-items:start;gap:15px}
.stack{display:grid;gap:17px;align-content:start}
.stack.compact{gap:10px}
.stack>.button,.stack>p+.button{justify-self:start}
.wizard{max-width:940px}
.steps{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));list-style:none;margin:0 0 22px;padding:0;gap:6px}
.steps li{border-bottom:2px solid var(--line);min-width:0}
.steps button{display:flex;align-items:center;gap:9px;padding:8px 3px 12px;width:100%;text-align:left;font-size:.87rem;color:var(--muted)}
.steps button span{width:28px;height:28px;display:grid;place-items:center;background:var(--soft);border-radius:100%;font-weight:700;flex:none}
.steps li.current,.steps li.done{border-color:var(--accent)}
.steps li.current span{background:var(--accent);color:#fff}
.steps li.current strong,.steps li.done strong{color:var(--accent)}
.wizard-card h2{margin-bottom:22px;font-size:clamp(1.8rem,3vw,2.55rem)}
.wizard-actions{margin-top:30px;border-top:1px solid var(--line);padding-top:20px;display:flex;justify-content:space-between;align-items:center;gap:15px}
.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px 18px}
.span-2{grid-column:1/-1}
label{display:grid;gap:6px;min-width:0;align-content:start;font-weight:625;font-size:.91rem}
label small,.muted,small{font-size:.87rem;font-weight:400;color:var(--muted)}
input:not([type=checkbox]),select,textarea{font:400 1rem/1.42 var(--sans);width:100%;min-width:0;border:1px solid #d3d8cf;background:var(--white);color:var(--ink);border-radius:8px;padding:.68rem .75rem;min-height:44px}
input[type=checkbox]{width:1.15rem;height:1.15rem;margin:3px 0 0;accent-color:var(--accent);flex:none}
input[type=file]{border-style:dashed}
input[type=file]::file-selector-button{padding:5px 9px;margin-right:8px;color:var(--accent);background:var(--soft);border:0;border-radius:4px;cursor:pointer}
input[aria-invalid=true],textarea[aria-invalid=true],select[aria-invalid=true]{border-color:#ae3344;background:#fff7f7}
select{appearance:none;padding-right:2.1rem;background-image:linear-gradient(45deg,transparent 50%,var(--muted) 50%),linear-gradient(135deg,var(--muted) 50%,transparent 50%);background-position:calc(100% - 16px) center,calc(100% - 11px) center;background-size:5px 5px;background-repeat:no-repeat}
textarea{resize:vertical}
.error{color:#9c2234;font-weight:600}
.form-alert{border-radius:7px;background:#fbe9ec;padding:9px 12px;margin-top:16px}
.text-action{color:var(--accent);font-size:.91rem;font-weight:650;text-decoration:underline;text-underline-offset:.18em;width:fit-content}
.dynamic-row,.section-line,.attachment-preview{display:flex;align-items:center;justify-content:space-between;gap:14px}
.dynamic-row>label{flex:1}
.dynamic-row>button{align-self:end;margin-bottom:10px}
.roster-table{display:grid;gap:7px}
.roster-row{display:grid;align-items:center;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr) auto;gap:9px}
.roster-heading{font-size:.85rem;color:var(--muted)}
.note{border-left:3px solid #819075;padding:8px 12px;background:var(--soft)}
.amount-block,.payment-box{border-radius:12px;padding:16px 20px;background:var(--soft)}
.amount-block{display:flex;gap:12px;justify-content:space-between;align-items:center}
.amount-block strong{font:500 2.25rem/1 var(--sans);color:var(--accent)}
.payment-box ol{list-style:decimal;padding:7px 0 0 21px}
.payment-purpose{padding:8px 13px;background:var(--white);border-radius:6px}
.attachment-preview{border:1px solid var(--line);border-radius:8px;padding:12px;align-items:start}
.attachment-preview>div{min-width:0;flex:1}
.attachment-preview strong{display:block;overflow-wrap:anywhere}
.attachment-preview img{display:block;max-height:250px;object-fit:contain;object-position:left;margin-top:8px}
.receipt-pdf{width:100%;height:260px;display:block;margin-top:8px;border:1px solid var(--line)}
.facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 22px;margin-top:12px}
.facts dt{font-size:.83rem;font-weight:650;color:var(--muted)}
.facts dd{white-space:pre-wrap;overflow-wrap:anywhere}
.review>section,.settings-section{padding:15px 0;border-bottom:1px solid var(--line);min-width:0}
.checkbox{display:flex;align-items:start;gap:8px;font-weight:500}
.confirm{margin-top:8px}
.success-icon{display:grid;place-items:center;border-radius:100%;width:49px;height:49px;background:#e6f1e7;color:#28613b;font-size:1.35rem}
.scroll-table{max-width:100%;overflow:auto;margin:15px 0;border:1px solid var(--line);border-radius:8px}
table{width:100%;border-collapse:collapse;text-align:left}
caption{text-align:left;font-weight:600;padding:10px 13px}
th,td{padding:9px 12px;border-bottom:1px solid var(--line);vertical-align:top;min-width:85px;overflow-wrap:anywhere}
td{white-space:pre-line}
th{background:var(--soft);font-size:.85rem;color:var(--muted);font-weight:700}
tbody tr:last-child td{border-bottom:0}
.badge{border-radius:100px;padding:4px 10px;color:#75451e;background:#f5e7d5;font-size:.83rem;font-weight:700;width:fit-content;display:inline-block}
.badge.ADMITTED{background:#e1f0e4;color:#23613a}.badge.REJECTED{background:#f4e2e6;color:#842237}.badge.CLARIFY{background:#f2e8f7;color:#714585}
.admin-bar{background:#f8f9f6;border-bottom:1px solid var(--line)}
.admin-bar .header-inner{min-height:65px;flex-wrap:wrap;padding-block:10px}
.admin-tabs{display:flex;gap:5px;flex-wrap:wrap;margin:0 0 22px;border-bottom:1px solid var(--line)}
.admin-tabs a{text-decoration:none;padding:10px 15px;border-bottom:2px solid transparent;color:var(--muted);font-weight:650}
.admin-tabs a[aria-current=page]{color:var(--accent);border-color:var(--accent)}
.admin-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}
.admin-stats .card{padding:13px 15px;display:grid;gap:3px}
.admin-stats strong{font:500 2.1rem/1.1 var(--sans);color:var(--accent)}
.admin-stats span{font-size:.83rem;color:var(--muted)}
.filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.filters .actions{grid-column:1/-1}
.admin-content{display:grid;gap:18px}
.admin-content h2{font-size:clamp(1.8rem,3vw,2.65rem)}
.subgrid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);gap:17px}
.admin-files li{display:grid;align-items:start;gap:6px;padding:8px 0}
.admin-files img{max-height:160px;object-fit:contain;object-position:left}
.pagination{display:flex;align-items:center;justify-content:space-between;gap:10px}
.settings-section summary,summary{cursor:pointer;color:var(--accent);font-weight:700}
.settings-section[open] summary{margin-bottom:14px}
.setting-row{display:flex;align-items:end;gap:8px;flex-wrap:wrap;padding-bottom:11px;border-bottom:1px solid var(--line)}
.setting-row>label{flex:1 1 125px}
.setting-row>.checkbox{align-self:center}
.setting-row .text-action{min-height:44px}
.settings-footer{margin-top:18px}
@media(max-width:1040px){
  .site-width{width:calc(100% - 56px)}
  .public-nav{gap:14px}
  .header-inner{gap:15px}
  .hero-intro,.hero-gallery{grid-template-columns:minmax(0,2.25fr) minmax(0,1fr);gap:17px}
  .hero h1{font-size:clamp(3.7rem,9vw,6.1rem)}
  .hero-photo{aspect-ratio:2.02}
  .hero-actions .button{padding-inline:1rem}
}
@media(max-width:780px){
  .public-nav{display:none}
  .header-inner{min-height:67px}
  .hero{padding-block:30px 20px}
  .hero-intro{grid-template-columns:1fr;gap:22px;margin-bottom:22px}
  .hero h1 span{display:inline}
  .hero-copy{padding-bottom:0;gap:10px}
  .hero-gallery{grid-template-columns:minmax(0,1.95fr) minmax(0,1fr);gap:12px}
  .hero-photo{aspect-ratio:1.73}
  .schedule>div{padding:12px;gap:5px}
  .schedule span{font-size:.82rem}
  .schedule strong{font-size:.94rem}
  .info-grid,.subgrid{grid-template-columns:1fr}
  .filters{grid-template-columns:repeat(2,minmax(0,1fr))}
  .admin-stats{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:500px){
  .site-width{width:calc(100% - 32px)}
  .header-inner{gap:8px}
  .brand{font-size:1.04rem;gap:7px;white-space:normal}
  .brand small{font-size:.55rem;letter-spacing:.095em}
  .brand-icon,.brand-image{width:34px;height:34px;flex:none;font-size:1.35rem}
  .header-status{font-size:.76rem;padding:.45rem .55rem;min-height:38px}
  .hero h1{font-size:clamp(3.05rem,12vw,4.1rem)}
  .hero h1 span{display:block}
  .hero-gallery{grid-template-columns:1fr;gap:12px}
  .hero-photo{aspect-ratio:1.58}
  .hero-feature{grid-template-columns:92px 1fr;align-items:center;gap:12px;background:var(--soft);padding:6px;border-radius:10px}
  .hero-feature img{border-radius:6px}
  .hero-feature span{margin-right:6px}
  .hero-actions{gap:8px 13px}
  .hero-actions .button{font-size:.88rem;padding-inline:.9rem}
  .hero-status-link{font-size:.83rem}
  .schedule{gap:6px}
  .schedule>div{padding:9px 8px}
  .direction-grid,.form-grid,.facts{grid-template-columns:1fr}
  .span-2{grid-column:1}
  .direction-grid{gap:12px}
  .steps button{display:grid;justify-items:center;gap:4px;font-size:.66rem;text-align:center}
  .steps button span{width:25px;height:25px}
  .footer-inner{align-items:flex-start;flex-direction:column}
  .footer-links{gap:12px}
  .filters{grid-template-columns:1fr 1fr}
  .filters label{font-size:.82rem}
  .admin-tabs a{padding:7px 8px;font-size:.85rem}
  .amount-block strong{font-size:1.68rem}
  .roster-row{gap:5px;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto}
  .roster-row input{padding:.48rem .28rem;font-size:.86rem}
  .roster-row button{font-size:.72rem}
}
@media(max-width:360px){
  .schedule{grid-template-columns:1fr}
  .schedule>div{padding:10px 12px}
  .steps button strong{overflow-wrap:anywhere}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}
