html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #d19416;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

:root { --ink:#2a241e; --muted:#71675e; --paper:#fff6e3; --surface:#fffdf8; --line:#ead8b6; --coral:#c93422; --coral-dark:#942417; --gold:#d19416; --teal:#8a5b12; --green:#b66c15; --shadow:0 8px 24px rgba(66,42,17,.08); }
html { scroll-behavior:smooth; font-size:16px; }
* { box-sizing:border-box; }
body { margin:0; color:var(--ink); background:#fff; font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; line-height:1.6; padding-bottom:calc(78px + env(safe-area-inset-bottom)); }
a { color:inherit; }
.site-shell { width:100%; max-width:800px; margin-inline:auto; }
.page-shell { background:var(--surface); min-height:80vh; overflow:hidden; }
.site-header { position:sticky; top:0; z-index:1020; background:rgba(255,253,248,.95); border-bottom:1px solid var(--line); backdrop-filter:blur(14px); }
.header-inner { min-height:62px; display:flex; align-items:center; justify-content:space-between; padding:0 18px; }
.brand { display:flex; align-items:center; gap:9px; text-decoration:none; font-weight:850; letter-spacing:-.02em; }
.brand-mark { display:block; width:36px; height:36px; border-radius:9px; object-fit:cover; background:white; border:1px solid #e6c168; }
.header-audit { font-size:.86rem; font-weight:750; color:var(--teal); text-decoration:none; padding:10px 2px; }
.hero { padding:52px 22px 44px; background:var(--paper); border-bottom:1px solid var(--line); }
.hero::after { display:none; }
.eyebrow,.section-kicker { color:var(--teal); text-transform:uppercase; letter-spacing:.1em; font-weight:800; font-size:.72rem; }
.ticket-mark { margin:18px 0 12px; color:var(--muted); font-weight:750; font-size:.82rem; }
h1,h2,h3 { text-wrap:balance; }
.hero h1 { margin:0; font-family:Georgia,"Times New Roman",serif; font-size:clamp(2.55rem,10vw,4.4rem); line-height:1.04; letter-spacing:-.035em; }
.hero h1 em { color:var(--coral); font-weight:500; }
.hero p { max-width:620px; }
.hero-copy { font-size:1.08rem; font-weight:700; margin-top:24px; }
.hero-actions { display:flex; flex-wrap:wrap; align-items:center; gap:18px; margin-top:28px; }
.btn-primary-app,.btn-secondary-app,.btn-danger-app,.btn-small-app { display:inline-flex; min-height:48px; align-items:center; justify-content:center; border:0; border-radius:10px; padding:12px 20px; font-weight:800; text-decoration:none; cursor:pointer; }
.btn-primary-app { background:var(--coral); color:white; }
.btn-primary-app:hover { background:var(--coral-dark); color:white; }
.btn-secondary-app { background:var(--teal); color:white; }
.btn-danger-app { background:#8f2f28; color:white; }
.btn-small-app { min-height:42px; padding:8px 13px; background:var(--ink); color:white; font-size:.84rem; }
.btn-link-app { font-weight:800; text-underline-offset:4px; }
.impact-strip { display:grid; grid-template-columns:repeat(3,1fr); background:white; color:var(--ink); padding:22px 12px; border-bottom:1px solid var(--line); }
.impact-strip div { text-align:center; border-right:1px solid var(--line); }
.impact-strip div:last-child { border:0; }
.impact-strip strong { display:block; font-family:Georgia,serif; font-size:clamp(1.25rem,5vw,2rem); }
.impact-strip span { font-size:.65rem; color:var(--muted); text-transform:uppercase; letter-spacing:.06em; }
.section { padding:54px 20px; scroll-margin-top:64px; }
.section h2,.final-cta h2,.page-heading h1 { margin:8px 0 16px; font-family:Georgia,serif; font-size:clamp(1.85rem,7vw,3rem); line-height:1.1; letter-spacing:-.025em; }
.fund-card,.content-card { background:white; border:1px solid var(--line); border-radius:14px; padding:18px; box-shadow:var(--shadow); }
.fund-head,.fund-foot { display:flex; align-items:flex-end; justify-content:space-between; gap:12px; }
.fund-head span,.fund-foot { font-size:.82rem; color:var(--muted); }
.fund-head strong { display:block; font-size:1.65rem; }
.fund-percent { font-weight:900; color:var(--coral); font-size:1.2rem; }
.progress-track { height:12px; margin:16px 0 12px; background:#f1e4c8; border-radius:999px; overflow:hidden; }
.progress-fill { min-width:0; height:100%; background:var(--gold); border-radius:inherit; }
.fund-foot strong { color:var(--ink); }
.budget-list { margin-top:20px; border-top:1px solid var(--line); }
.budget-list>div { display:flex; justify-content:space-between; gap:16px; padding:13px 3px; border-bottom:1px solid var(--line); }
.budget-total { font-size:1.08rem; }
.supplies-card { display:flex; gap:14px; background:#fff1cc; border-radius:12px; padding:18px; margin-top:22px; }
.supplies-card p { margin:4px 0 0; }
.supplies-icon { flex:0 0 42px; height:42px; display:grid; place-items:center; border-radius:12px; background:var(--green); color:white; font-size:1.4rem; }
.source-note { color:var(--muted); font-size:.78rem; margin-top:14px; }
.section-dark { background:var(--ink); color:white; }
.section-tint { background:var(--paper); border-block:1px solid var(--line); }
.fact-grid { display:grid; gap:10px; margin-top:24px; }
.fact-grid article { border:1px solid var(--line); border-radius:12px; padding:17px; background:white; }
.fact-grid span { display:block; color:var(--muted); text-transform:uppercase; letter-spacing:.07em; font-size:.68rem; font-weight:800; }
.fact-grid strong { display:block; margin-top:4px; font-size:1.02rem; }
.fact-grid p { margin:5px 0 0; color:var(--muted); font-size:.86rem; }
.policy-note { border-left:4px solid var(--teal); background:white; border-radius:4px 10px 10px 4px; padding:16px 18px; margin-top:22px; box-shadow:0 0 0 1px var(--line); }
.policy-note p { margin:5px 0 0; color:#55493e; }
.section-dark .section-kicker { color:var(--gold); }
.timeline { list-style:none; padding:0; margin:28px 0; }
.timeline li { display:grid; grid-template-columns:58px 1fr; gap:15px; position:relative; padding-bottom:25px; }
.timeline li::after { content:""; position:absolute; left:28px; top:32px; bottom:0; width:1px; background:var(--line); }
.timeline li:last-child::after { display:none; }
.timeline time { color:var(--teal); font-weight:850; }
.timeline p { margin:4px 0 0; color:var(--muted); }
.safety-note { border:1px solid #b9862a; border-radius:16px; padding:18px; }
.safety-note p { margin:5px 0 0; color:#f5dfac; }
.confirmation-summary { display:flex; align-items:baseline; gap:8px; margin:22px 0 14px; }
.confirmation-summary strong { color:var(--green); font-size:1.35rem; }
.confirmation-summary span { color:var(--muted); font-size:.84rem; }
.student-accordion .accordion-item { border:1px solid var(--line); border-radius:14px!important; overflow:hidden; margin-bottom:10px; }
.student-accordion .accordion-button { min-height:60px; padding:14px 16px; font-weight:850; background:white; color:var(--ink); box-shadow:none; }
.student-accordion .accordion-button:not(.collapsed) { background:var(--paper); color:var(--coral-dark); }
.student-accordion .accordion-button>span { flex:1; }
.student-accordion .accordion-button small { color:var(--muted); font-size:.69rem; font-weight:650; margin-right:8px; }
.student-list { padding:0 16px 8px; }
.student-row { display:grid; grid-template-columns:14px 1fr auto; align-items:center; gap:9px; padding:12px 0; border-top:1px solid #ece6dc; }
.student-row>span:last-child { color:var(--muted); font-size:.85rem; }
.status-dot { width:10px; height:10px; border-radius:50%; background:#c9c6bf; }
.status-dot.confirmed { background:var(--gold); box-shadow:0 0 0 4px rgba(209,148,22,.16); }
.section-warm { background:var(--paper); }
.audit-steps { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin:24px 0; }
.audit-steps>div { background:white; border:1px solid var(--line); border-radius:12px; padding:15px; }
.audit-steps span { display:grid; place-items:center; width:28px; height:28px; border-radius:8px; background:var(--coral); color:white; font-weight:850; }
.audit-steps p { margin:9px 0 0; font-size:.9rem; font-weight:700; }
.gallery-empty { border:1px dashed #aaa196; border-radius:18px; padding:30px; text-align:center; color:var(--muted); }
.gallery-empty span { display:block; font-size:2.5rem; color:var(--teal); }
.gallery-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:9px; }
.gallery-grid figure { margin:0; }
.gallery-grid img { width:100%; aspect-ratio:1; object-fit:cover; border-radius:14px; }
.gallery-grid figcaption { font-size:.78rem; padding:5px 3px 10px; color:var(--muted); }
.document-card { margin:24px 0 0; overflow:hidden; border:1px solid var(--line); border-radius:12px; background:white; box-shadow:var(--shadow); }
.document-card>a { display:block; background:#fff3d6; }
.document-card img { display:block; width:100%; height:auto; }
.document-card figcaption { display:flex; align-items:center; justify-content:space-between; gap:14px; padding:14px 16px; font-size:.8rem; }
.document-card figcaption span { color:var(--muted); }
.document-card figcaption a { color:var(--teal); font-weight:800; white-space:nowrap; }
.final-cta { background:#39291d; color:white; text-align:center; padding:58px 22px; }
.final-cta .section-kicker { color:#f1c966; }
.final-cta .btn-primary-app { background:white; color:var(--coral-dark); display:flex; max-width:320px; margin:24px auto 14px; }
.contact-link { display:inline-block; color:white; font-weight:750; font-size:.86rem; }
.page-heading { padding:48px 20px 25px; background:var(--paper); }
.content-card { margin:20px; padding:22px; }
.prose h2 { font-size:1.25rem; margin:26px 0 5px; }
.prose h2:first-child { margin-top:0; }
.prose p { color:#475456; }
.form-page { padding:36px 18px 54px; }
.form-page>header { margin-bottom:24px; }
.form-page h1 { font-family:Georgia,serif; font-size:clamp(2.2rem,10vw,3.8rem); line-height:1; }
.app-form { display:grid; gap:17px; }
.field { display:grid; gap:7px; }
.field label,.field-label { font-size:.85rem; font-weight:800; }
.field-help { font-size:.76rem; color:var(--muted); }
.form-control,.form-select { min-height:48px; border-radius:12px; border-color:#cfc6ba; }
.form-control:focus,.form-select:focus,.form-check-input:focus { border-color:var(--gold); box-shadow:0 0 0 3px rgba(209,148,22,.18); }
.form-check-input { width:1.2em; height:1.2em; }
.form-check-input:checked { background-color:var(--coral); border-color:var(--coral); }
.text-danger,.validation-summary-errors { font-size:.8rem; color:#a92727!important; }
.bank-card { background:var(--ink); color:white; border-radius:18px; padding:20px; margin-bottom:24px; }
.bank-card span { color:#c5cecf; font-size:.75rem; text-transform:uppercase; letter-spacing:.08em; }
.bank-card strong { display:block; font-size:1.7rem; letter-spacing:.08em; margin:5px 0; }
.bank-card button { background:transparent; color:var(--gold); border:0; padding:8px 0; font-weight:800; }
.file-box { border:1px dashed #a9a096; border-radius:14px; padding:18px; background:var(--paper); }
.file-box input { width:100%; }
.form-submit { width:100%; }
.notice { margin:12px 16px 0; border-radius:13px; padding:13px 15px; font-size:.88rem; }
.notice-success { background:#fff0c4; color:#68450d; }
.notice-warning { background:#fff1c9; color:#704f00; }
.status-card { text-align:center; padding:42px 22px; }
.status-icon { display:grid; place-items:center; width:64px; height:64px; margin:auto; border-radius:50%; background:#fff0c4; color:var(--teal); font-size:2rem; font-weight:900; }
.reference-code { display:inline-block; font-family:ui-monospace,monospace; background:var(--paper); padding:9px 12px; border-radius:9px; font-weight:800; }
.audit-summary { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; margin:18px 0; }
.audit-summary>div { border:1px solid var(--line); border-radius:13px; padding:12px 8px; text-align:center; }
.audit-summary span { display:block; color:var(--muted); font-size:.68rem; }
.audit-summary strong { display:block; font-size:.9rem; }
.card-list { display:grid; gap:10px; }
.data-card { border:1px solid var(--line); border-radius:15px; padding:15px; background:white; }
.data-card-head { display:flex; align-items:start; justify-content:space-between; gap:12px; }
.data-card p { margin:5px 0 0; color:var(--muted); font-size:.85rem; }
.pill { display:inline-flex; border-radius:999px; padding:5px 9px; font-size:.7rem; font-weight:850; background:#eee8dd; }
.pill-approved { background:#fff0c4; color:#68450d; }
.pill-pending { background:#fff1c9; color:#704f00; }
.pill-rejected { background:#f6dddd; color:#8a2727; }
.admin-nav { display:flex; gap:8px; overflow-x:auto; padding:12px 16px; background:var(--ink); color:white; }
.admin-nav a { white-space:nowrap; text-decoration:none; padding:9px 12px; border-radius:10px; background:rgba(255,255,255,.09); font-size:.82rem; font-weight:750; }
.admin-nav form { margin:0; }
.admin-nav button { white-space:nowrap; border:0; color:white; padding:9px 12px; border-radius:10px; background:rgba(255,255,255,.09); font-size:.82rem; font-weight:750; }
.admin-grid { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.admin-stat { background:white; border:1px solid var(--line); border-radius:15px; padding:16px; }
.admin-stat strong { display:block; font-size:1.55rem; }
.admin-stat span { color:var(--muted); font-size:.78rem; }
.inline-actions { display:flex; flex-wrap:wrap; gap:8px; margin-top:12px; }
.inline-actions form { display:contents; }
.student-admin-row { scroll-margin-top:80px; }
.site-footer { width:100%; max-width:800px; margin-inline:auto; background:white; color:var(--ink); padding:42px 20px 96px; border-top:1px solid var(--line); }
.site-footer p { color:var(--muted); margin:6px 0 18px; }
.footer-links { display:flex; flex-wrap:wrap; gap:18px; font-size:.84rem; }
.bottom-nav { position:fixed; z-index:1030; left:50%; bottom:0; transform:translateX(-50%); display:grid; grid-template-columns:repeat(4,1fr); background:rgba(255,253,248,.96); border-top:1px solid var(--line); box-shadow:0 -8px 28px rgba(23,35,38,.1); padding:7px 8px calc(7px + env(safe-area-inset-bottom)); }
.bottom-nav a { min-height:48px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:2px; text-decoration:none; font-size:.68rem; font-weight:800; color:var(--muted); }
.bottom-nav a span { color:var(--teal); font-size:.65rem; }
.bottom-nav .bottom-donate { color:white; background:var(--coral); border-radius:10px; }
.bottom-nav .bottom-donate span { color:white; }
button,input,select,textarea,a { touch-action:manipulation; }
:focus-visible { outline:3px solid rgba(209,148,22,.48); outline-offset:2px; }
@media (min-width:640px) { .hero,.section { padding-left:44px; padding-right:44px; } .gallery-grid { grid-template-columns:repeat(3,1fr); } .audit-steps { grid-template-columns:repeat(4,1fr); } .fact-grid { grid-template-columns:repeat(3,1fr); } .content-card { margin-inline:44px; } }
@media (min-width:801px) { .page-shell { box-shadow:var(--shadow); } .bottom-nav { border-inline:1px solid var(--line); } }
@media (prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } }
