/* School pages: the app's look, as a plain readable page. */
body.page { background: var(--bg); color: var(--text); }
.page .school-brand { text-decoration: none; color: #fff; }
.page .header-btn { text-decoration: none; display: inline-flex; align-items: center; }
.page h1 { margin-top: 2px; }
.page-main { max-width: 720px; margin: 0 auto; padding: 16px 16px calc(var(--tabbar-h, 64px) + env(safe-area-inset-bottom, 0px) + 24px); }
.page .pview[hidden] { display: none; }
.page .tab-bar .tab { text-decoration: none; }
.page h1 { font-family: var(--display); font-size: clamp(1.6rem, 6vw, 2.2rem); font-weight: 800; letter-spacing: -.02em; margin: 8px 0 6px; }
.page h2 { font-family: var(--display); font-size: 1.15rem; font-weight: 800; margin: 22px 0 10px; }
.page .pview > h2:first-child { margin-top: 6px; }
.page .lede { line-height: 1.5; color: var(--text-soft); margin: 0 0 14px; }
.page .lede a { color: var(--navy-2); font-weight: 700; text-decoration: none; }
.page .cta { margin-top: 6px; }
.page .center { text-align: center; margin-top: 8px; }
.page .card { padding: 14px 16px; }
.page .menu-row { display: grid; grid-template-columns: 6.6em minmax(0, 1fr); gap: 10px; padding: 8px 0; border-top: 1px solid var(--border); line-height: 1.35; }
.page .menu-row:first-child { border-top: 0; }
.page .menu-row .fine { display: block; margin-top: 2px; }
.page .bell { width: 100%; border-collapse: collapse; }
.page .bell th { text-align: left; font-weight: 600; padding: 6px 0; width: 55%; }
.page .bell td { padding: 6px 0; color: var(--text-soft); }
.page .others a { color: var(--navy-2); font-weight: 700; text-decoration: none; white-space: nowrap; }
.page .others { line-height: 2; }
.page .app-footer { margin-top: 32px; }

.page .pview > .muted { margin: 0 0 12px; }

/* Support page */
.page .brand { text-decoration: none; color: #fff; }
.page .sponsor-slot:not(:empty) { margin: 14px 0 0; }
.support .card p { line-height: 1.5; margin: 0 0 12px; }
.support .card .plain-list { margin-bottom: 14px; }
.support .card .plain-list li { font-weight: 600; }
.support .field .field-label { display: block; margin: 12px 0 6px; }
.support .field .btn { margin-top: 14px; }
.support .fine { margin-top: 10px; }
.support .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.support .amounts { display: grid; gap: 8px; }
.support .amounts .btn { margin: 0; }
.support .goal { margin: 14px 0 6px; }
.support .goal-bar { height: 12px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.support .goal-bar span { display: block; height: 100%; width: 0; border-radius: 999px; background: var(--navy-2); }
.support #giveShare { margin-top: 10px; }
.support #giveMode { margin: 4px 0 12px; }
.support .give-btn { display: flex; flex-direction: column; align-items: center; gap: 2px; min-height: 60px; padding: 8px 12px; line-height: 1.2; text-decoration: none; }
.support .give-btn b { font-weight: 800; font-size: 1.05rem; }
.support .give-btn span { font-size: .82rem; font-weight: 600; opacity: .85; }
.support .give-line { margin: 6px 0 0; font-weight: 700; }
.support #giveGiven { margin-top: 6px; }
.support .give-top { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 0 4px; }
.support .give-top > p { flex: 1; min-width: 0; }
.support .info-btn { flex: none; width: 44px; height: 44px; margin-top: -8px; padding: 0; border: 0; background: none; color: var(--text); display: grid; place-items: center; cursor: pointer; border-radius: 50%; }
.support .info-btn span { display: block; width: 26px; height: 26px; border: 2px solid currentColor; border-radius: 50%; font: 800 .95rem/22px var(--display); text-align: center; }
.support .info-btn:focus-visible { outline: 3px solid var(--navy-2); outline-offset: -6px; }
.support .split-bubble { display: none; position: relative; flex: 0 0 100%; box-sizing: border-box; margin: 0 0 14px; padding: 12px 16px; border-radius: 14px; background: var(--surface-2); }
.support .split-bubble::before { content: ""; position: absolute; right: 14px; top: -8px; border: 8px solid transparent; border-top: 0; border-bottom-color: var(--surface-2); }
.support .split-bubble.open { display: block; }
@media (hover: hover) { .support .info-btn:hover + .split-bubble { display: block; } }
.support .split-bubble p { margin: 0; line-height: 1.5; font-weight: 500; }
.support .split-bubble p + p { margin-top: 4px; }
.support .split-bubble b { font-weight: 800; }
/* The giving page: room between each piece, one thing per row. */
.support .lede { font-size: 1.05rem; margin: 0 0 20px; }
.support h2 { margin: 32px 0 12px; }
.support .give-card { padding: 22px 20px; }
.support .give-card > p:last-child { margin-bottom: 0; }
.support .give-top { margin-bottom: 18px; }
.support .give-top > p { margin: 0; font-size: 1.05rem; font-weight: 600; line-height: 1.45; }
.support .split-bubble { margin: 14px 0 0; }
.support #givePageNote { margin: 12px 0 0; text-align: center; }
.support #giveShare { margin-top: 22px; }
.support .give-legal { margin: 14px 4px 0; }
.support #appCard .btn { margin-top: 16px; text-decoration: none; display: flex; align-items: center; justify-content: center; }
.support .nw { white-space: nowrap; }
/* The embedded giving form and live goal bar. */
.support #giveGoalLive { margin: 0 0 18px; }
.support #giveForm { margin: 0 -6px; min-height: 320px; }
.support #giveFormHelp { margin: 14px 0 0; text-align: center; }
.support #giveFormHelp a { color: var(--navy-2); font-weight: 700; }
.support givebutter-widget { display: block; max-width: 100%; }
/* A way back from the giving page. */
.support .back-link { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; margin: -4px 0 2px -6px; padding: 0 10px 0 2px; color: var(--navy-2); font-weight: 700; text-decoration: none; }
.support .back-link svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
