html, body {
    font-family: Inter, 'Segoe UI', Arial, sans-serif;
    background: #f5f2ea;
    color: #17263b;
}

a, .btn-link {
    color: #174f8a;
}

.btn-primary {
    color: #fff;
    background-color: #174f8a;
    border-color: #174f8a;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
}

.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 #258cfb;
}

.content {
    padding-top: 2rem;
    padding-bottom: 4rem;
    max-width: 1240px;
    margin: 0 auto;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

h1, h2, h3 { font-family: Georgia, 'Times New Roman', serif; color: #102a4d; }
.eyebrow { margin: 0 0 .6rem; color: #b22234; font-weight: 800; font-size: .72rem; letter-spacing: .17em; text-transform: uppercase; }
.hero { padding: 5rem 0; max-width: 900px; }
.hero-split { max-width: none; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(260px, .55fr); gap: 4rem; align-items: center; min-height: 650px; }
.hero-emblem { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.hero-emblem img { width: min(100%, 330px); filter: drop-shadow(0 20px 25px rgba(16,42,77,.18)); }
.hero-emblem span { color: #102a4d; font: 700 .68rem Georgia, serif; letter-spacing: .18em; text-transform: uppercase; }
.hero h1 { font-size: clamp(3rem, 6vw, 5.4rem); line-height: .98; letter-spacing: -.035em; }
.hero h1 span { color: #b22234; }
.hero-copy, .lead-copy { color: #58677a; font-size: 1.15rem; line-height: 1.7; max-width: 760px; }
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 2rem; }
.privacy-note { margin-top: 1rem; color: #6e7985; font-size: .82rem; }
.trust-band { margin: 0 calc(50% - 50vw); padding: 1.15rem max(5vw, calc((100vw - 1180px) / 2)); display: flex; justify-content: space-between; gap: 1rem; background: #102a4d; color: white; font-size: .76rem; font-weight: 700; letter-spacing: .04em; }
.trust-band b { color: #fff; background: #b22234; display: inline-grid; place-items: center; width: 1.25rem; height: 1.25rem; border-radius: 50%; margin-right: .35rem; }
.mission-section { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; padding: 7rem 0; border-bottom: 1px solid #d9d3c5; }
.mission-statement h2, .parent-promise > h2, .journey-section h2, .closing-cta h2 { font-size: clamp(2.25rem, 4vw, 3.6rem); line-height: 1.08; }
.mission-copy { color: #516174; font: 1.16rem/1.8 Georgia, serif; }
.mission-copy p:first-child::first-letter { float: left; color: #b22234; font-size: 4.2rem; line-height: .8; padding-right: .45rem; }
.parent-promise { padding: 7rem 0; text-align: center; }
.promise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 3rem; text-align: left; }
.promise-grid article { position: relative; padding: 2.2rem; background: white; border: 1px solid #ddd7ca; box-shadow: 0 10px 25px rgba(16,42,77,.05); }
.promise-grid article::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, #102a4d 0 45%, #fff 45% 55%, #b22234 55%); }
.promise-grid span { color: #b22234; font-weight: 900; font-size: .75rem; letter-spacing: .12em; }
.promise-grid h3 { margin: 1rem 0; font-size: 1.45rem; }
.promise-grid p { color: #617083; line-height: 1.7; }
.feature-grid, .metric-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.feature-card { padding: 2rem; background: white; border: 1px solid #ddd7c9; border-top: 5px solid #174f8a; }
.feature-card:nth-child(2) { border-top-color: #b22234; }
.feature-icon { color: #b22234; font-weight: 800; }
.feature-card p { color: #637083; line-height: 1.6; }
.standards-callout { margin: 4rem 0; display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; padding: 3rem; background: #e8edf3; border-left: 6px solid #b22234; }
.journey-section { margin: 7rem 0; padding: 4rem; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; background: #102a4d; color: white; }
.journey-section h2 { color: white; }
.journey-section p:not(.eyebrow) { color: #d3deeb; line-height: 1.75; }
.journey-line { list-style: none; padding: 0; margin: 0; border-left: 2px solid #b22234; }
.journey-line li { position: relative; display: flex; flex-direction: column; padding: .5rem 0 1.8rem 2rem; }
.journey-line li::before { content: ''; position: absolute; left: -.45rem; top: .75rem; width: .8rem; height: .8rem; border-radius: 50%; background: white; border: 3px solid #b22234; }
.journey-line b { color: white; font: 700 1.6rem Georgia, serif; }
.journey-line span { color: #aebed1; }
.choice-card { background: white; padding: 1.4rem; box-shadow: 0 12px 30px rgba(15,39,71,.1); }
.choice-row { padding: .7rem 0; border-bottom: 1px solid #eee; display: flex; gap: .7rem; }
.choice-dot { width: .9rem; height: .9rem; border: 2px solid #174f8a; border-radius: 50%; margin-top: .2rem; }
.choice-dot.on { background: #b22234; border-color: #b22234; }
.closing-cta { margin: 7rem 0 3rem; padding: 5rem 2rem; text-align: center; border-top: 1px solid #d9d3c5; }
.closing-cta img { width: 110px; margin-bottom: 1.5rem; }
.closing-cta > p:not(.eyebrow) { max-width: 650px; margin: 0 auto 2rem; color: #5c6c7e; font-size: 1.1rem; }
.btn-patriot { background: #b22234; color: white; border: 0; padding: .85rem 1.3rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.btn-patriot:hover { background: #8f1b2a; color: white; }

.account-shell { min-height: calc(100vh - 10rem); display: grid; grid-template-columns: 1.1fr .9fr; max-width: 980px; margin: 2rem auto; background: #fff; box-shadow: 0 20px 60px rgba(12,34,69,.14); }
.account-panel { padding: clamp(2rem, 6vw, 5rem); }
.account-panel h1 { font-size: 2.7rem; margin-bottom: .8rem; }
.seal { width: 3.2rem; height: 3.2rem; display: grid; place-items: center; background: #b22234; color: white; border-radius: 50%; border: 4px double white; outline: 1px solid #b22234; margin-bottom: 2rem; }
.account-form { display: flex; flex-direction: column; gap: .6rem; margin-top: 2rem; }
.account-form label { font-weight: 750; color: #1c3558; font-size: .83rem; }
.account-form input[type=email], .account-form input[type=password], .account-form input[type=text], .account-form select { padding: .85rem 1rem; border: 1px solid #b9c2ce; margin-bottom: .7rem; }
.register-shell { max-width: 1080px; }
.register-shell .account-panel { padding-top: 3rem; padding-bottom: 3rem; }
.password-hint { margin: -.45rem 0 .4rem; color: #6a7584; }
.registration-consents{display:flex;flex-direction:column;gap:.65rem;margin:1rem 0}.registration-consents .check-row{align-items:flex-start;margin:0;padding:.8rem;background:#f4f6f8;font-weight:500;line-height:1.45}.registration-consents input{margin-top:.25rem}.registration-consents .subscription-consent{border-left:4px solid #b22234;background:#fff5f5}.registration-consents a{font-weight:800}
.check-row { display: flex; align-items: center; gap: .6rem; margin-bottom: 1rem; }
.account-help { margin-top: 1.5rem; color: #6a7584; font-size: .8rem; }
.account-banner { padding: 3rem; color: white; background: repeating-linear-gradient(0deg, rgba(255,255,255,.03) 0 1px, transparent 1px 12px), #102a4d; display: flex; flex-direction: column; justify-content: center; border-left: 10px solid #b22234; }
.account-banner blockquote { font-family: Georgia, serif; font-size: 2rem; line-height: 1.35; }
.account-banner span { color: #cdd8e6; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; }
.stars { color: white; letter-spacing: .45rem; margin-bottom: 2rem; }

.page-heading { display: flex; justify-content: space-between; align-items: center; padding-bottom: 1.5rem; border-bottom: 1px solid #d3d8df; }
.page-heading h1 { font-size: 2.7rem; margin: 0; }
.heritage-badge { border: 3px double #174f8a; border-radius: 50%; width: 7rem; height: 7rem; display: grid; place-content: center; text-align: center; font-size: .68rem; color: #174f8a; letter-spacing: .08em; }
.admin-ribbon { background: #102a4d; color: white; padding: .8rem 1.2rem; border-left: 6px solid #b22234; margin: 1.5rem 0; font-weight: 700; }
.metric-grid { grid-template-columns: repeat(4, 1fr); margin: 1.5rem 0; }
.metric-grid article { background: white; padding: 1.5rem; border-top: 4px solid #174f8a; display: flex; flex-direction: column; }
.metric-grid span { color: #657185; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; }
.metric-grid strong { font-family: Georgia, serif; color: #102a4d; font-size: 2.5rem; }
.metric-grid small { color: #7c8794; }
.getting-started { background: white; padding: 2rem; margin-top: 1.5rem; }
.step-list > div { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 0; border-top: 1px solid #e2e5e8; }
.step-list b { width: 2rem; height: 2rem; display: grid; place-items: center; border-radius: 50%; background: #b22234; color: white; }
.step-list span { display: flex; flex-direction: column; flex: 1; }
.step-list small { color: #707c8a; }

.dashboard-loading { min-height: 55vh; display: grid; place-content: center; text-align: center; color: #617083; }
.dashboard-loading img { width: 110px; margin: 0 auto 1rem; animation: dashboard-pulse 1.8s ease-in-out infinite; }
@keyframes dashboard-pulse { 50% { transform: scale(1.04); opacity: .75; } }
.dashboard-hero { display: flex; justify-content: space-between; align-items: center; padding: 1rem 0 2rem; border-bottom: 1px solid #d7dce3; }
.dashboard-identity { display: flex; align-items: center; gap: 1.4rem; }
.dashboard-identity img { width: 92px; height: 92px; object-fit: contain; filter: drop-shadow(0 8px 12px rgba(16,42,77,.12)); }
.dashboard-identity h1 { margin: 0; font-size: clamp(2rem, 4vw, 3.2rem); }
.dashboard-identity p:last-child { margin: .4rem 0 0; color: #687688; }
.dashboard-date { width: 76px; padding: .6rem; text-align: center; background: white; border: 1px solid #d7dce3; border-top: 5px solid #b22234; display: flex; flex-direction: column; }
.dashboard-date span, .dashboard-date small { color: #53637a; font-size: .65rem; text-transform: uppercase; letter-spacing: .12em; }
.dashboard-date strong { color: #102a4d; font: 700 2rem Georgia, serif; line-height: 1.1; }
.admin-ribbon { display: flex; align-items: center; gap: 1rem; }
.admin-ribbon > span { display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: #b22234; }
.admin-ribbon > div { display: flex; flex-direction: column; flex: 1; }
.admin-ribbon small { color: #c5d1df; }
.admin-ribbon a { color: white; font-size: .8rem; font-weight: 800; }
.dashboard-metrics article:nth-child(2) { border-top-color: #b22234; }
.dashboard-metrics article:nth-child(3) { border-top-color: #c6a15b; }
.dashboard-metrics article:nth-child(4) { border-top-color: #567ca7; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(280px, .7fr); gap: 1.5rem; margin-top: 1.5rem; }
.dashboard-main, .dashboard-side { display: flex; flex-direction: column; gap: 1.5rem; }
.dashboard-panel { background: white; border: 1px solid #dfe3e8; padding: 1.7rem; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-bottom: 1px solid #e3e6ea; padding-bottom: 1.2rem; }
.panel-heading h2, .quick-actions h2 { margin: 0; font-size: 1.55rem; }
.panel-heading > a { color: #174f8a; font-weight: 800; font-size: .78rem; }
.phase-pill { color: #174f8a; background: #e8eff7; padding: .4rem .65rem; font-size: .65rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.onboarding-list a { display: flex; align-items: center; gap: 1rem; padding: 1.2rem .3rem; color: inherit; text-decoration: none; border-bottom: 1px solid #e8eaed; }
.onboarding-list a:last-child { border: 0; }
.onboarding-list a:hover { background: #faf8f2; }
.onboarding-list b { width: 2rem; height: 2rem; display: grid; place-items: center; border-radius: 50%; color: white; background: #b22234; }
.onboarding-list span { display: flex; flex: 1; flex-direction: column; }
.onboarding-list small { color: #768292; }
.onboarding-list i { color: #174f8a; font-size: 1.3rem; font-style: normal; }
.empty-state { padding: 2.5rem 1rem; text-align: center; color: #738091; }
.empty-state > span { display: block; color: #c6a15b; font-size: 2rem; }
.empty-state strong { display: block; color: #102a4d; margin: .6rem; }
.family-table > div { display: flex; align-items: center; gap: .8rem; padding: 1rem 0; border-bottom: 1px solid #eceef0; }
.family-monogram { display: grid; place-items: center; width: 2.3rem; height: 2.3rem; color: white; background: #174f8a; border-radius: 50%; font-weight: 800; }
.family-table div > span:nth-child(2) { display: flex; flex: 1; flex-direction: column; }
.family-table small { color: #7a8694; }
.family-table b { font-size: .72rem; color: #53637a; }
.quick-actions > a { display: flex; align-items: center; gap: .8rem; color: inherit; text-decoration: none; padding: .9rem 0; border-bottom: 1px solid #e5e8eb; }
.quick-actions > a > span { color: #b22234; font-size: 1.15rem; width: 1.5rem; text-align: center; }
.quick-actions > a > div { display: flex; flex-direction: column; }
.quick-actions small { color: #788494; }
.heritage-note { padding: 1.8rem; color: white; text-align: center; background: #102a4d; border-bottom: 5px solid #b22234; }
.heritage-note img { width: 80px; }
.heritage-note p { font: 1.2rem/1.5 Georgia, serif; }
.heritage-note small { color: #b7c5d5; }

.section-heading { display: flex; align-items: center; justify-content: space-between; padding: 1rem 0 2rem; border-bottom: 1px solid #d8dde3; margin-bottom: 1.5rem; }
.section-heading h1 { font-size: 3rem; margin: 0; }
.section-heading p:last-child { color: #6b7889; margin: .4rem 0 0; }
.section-heading img { width: 82px; height: 82px; object-fit: contain; }
.management-grid { display: grid; grid-template-columns: minmax(300px, .8fr) minmax(420px, 1.2fr); gap: 1.5rem; align-items: start; }
.form-card, .list-card { background: white; border: 1px solid #dce1e6; padding: 2rem; }
.form-card h2, .list-card h2 { margin: 0 0 .8rem; }
.form-intro { color: #6a7788; line-height: 1.65; }
.form-card form { display: flex; flex-direction: column; gap: .55rem; margin-top: 1.5rem; }
.form-card label { color: #1c3558; font-size: .78rem; font-weight: 800; margin-top: .45rem; }
.form-card input, .form-card select { width: 100%; padding: .78rem .85rem; border: 1px solid #b8c1cc; background: white; }
.form-card .validation-message { font-size: .72rem; }
.form-card button { margin-top: 1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.field-row > div { display: flex; flex-direction: column; gap: .55rem; }
.list-card-heading { display: flex; align-items: center; justify-content: space-between; padding-bottom: 1rem; border-bottom: 1px solid #e2e5e9; }
.list-card-heading h2 { margin: 0; }
.list-card-heading > span { color: #174f8a; background: #e8eff7; padding: .4rem .7rem; font-size: .7rem; font-weight: 800; }
.record-list > div { display: flex; align-items: center; gap: .8rem; padding: 1rem 0; border-bottom: 1px solid #e8eaed; }
.record-avatar { display: grid; place-items: center; flex: 0 0 auto; width: 2.6rem; height: 2.6rem; color: white; background: #174f8a; border-radius: 50%; font-weight: 800; }
.record-avatar.student { background: #b22234; text-transform: uppercase; }
.record-list > div > span:nth-child(2) { display: flex; flex: 1; flex-direction: column; }
.record-list small { color: #778393; }
.record-list em { color: #247144; background: #e5f3e9; padding: .3rem .55rem; font-size: .65rem; font-style: normal; font-weight: 800; text-transform: uppercase; }
.record-list a { color: #174f8a; font-size: .75rem; font-weight: 800; text-decoration: none; }
.choice-check { display: flex !important; align-items: flex-start; gap: .8rem; padding: 1rem; background: #eef3f8; border-left: 4px solid #174f8a; }
.choice-check input { width: auto !important; margin-top: .25rem; }
.choice-check span { display: flex; flex-direction: column; }
.choice-check small { color: #667588; font-weight: 400; line-height: 1.45; }
.year-list a { display: flex; align-items: center; gap: .9rem; padding: 1rem 0; border-bottom: 1px solid #e5e8eb; color: inherit; text-decoration: none; }
.year-grade { display: grid; place-items: center; width: 2.8rem; height: 2.8rem; color: white; background: #102a4d; font: 700 .9rem Georgia, serif; }
.year-list a > span { display: flex; flex: 1; flex-direction: column; }
.year-list small { color: #748191; }
.year-list em { color: #596a7e; background: #edf0f3; padding: .35rem .55rem; font-size: .63rem; font-style: normal; font-weight: 800; text-transform: uppercase; }
.year-list em.standards-on { color: #174f8a; background: #e3eef9; }
.attendance-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 1.5rem; }
.attendance-metrics article { display: flex; flex-direction: column; padding: 1.2rem 1.5rem; background: white; border-left: 4px solid #174f8a; }
.attendance-metrics span { color: #697789; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; }
.attendance-metrics strong { color: #102a4d; font: 700 2rem Georgia, serif; }
.form-card textarea { min-height: 90px; padding: .7rem; border: 1px solid #b8c1cc; }
.attendance-list > div { display: flex; align-items: center; gap: .9rem; padding: .9rem 0; border-bottom: 1px solid #e6e9ec; }
.attendance-list time { display: flex; flex-direction: column; align-items: center; width: 2.6rem; padding: .35rem; color: white; background: #b22234; }
.attendance-list time b { font: 700 1.2rem Georgia, serif; }
.attendance-list time small { font-size: .55rem; text-transform: uppercase; }
.attendance-list > div > span { display: flex; flex: 1; flex-direction: column; }
.attendance-list small { color: #748190; }
.attendance-list em { color: #174f8a; font-size: .74rem; font-style: normal; font-weight: 800; }
.admin-hero { display: flex; align-items: center; gap: 1.5rem; padding: 1rem 0 2rem; border-bottom: 1px solid #d8dde3; margin-bottom: 1.5rem; }
.admin-hero img { width: 100px; }
.admin-hero h1 { margin: 0; font-size: 3rem; }
.admin-hero p:last-child { color: #657487; margin: .5rem 0 0; }
.admin-module-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 1.5rem; }
.admin-module-grid > a, .admin-module { display: flex; align-items: center; gap: 1rem; padding: 1.5rem; color: inherit; background: white; border: 1px solid #dce1e6; border-left: 5px solid #174f8a; text-decoration: none; }
.admin-module-grid > a:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(16,42,77,.08); }
.admin-module-grid > * > span { color: #b22234; font-size: 1.7rem; width: 2rem; text-align: center; }
.admin-module-grid > * > div { flex: 1; }
.admin-module-grid h2 { margin: 0 0 .35rem; font-size: 1.25rem; }
.admin-module-grid p { margin: 0; color: #718092; font-size: .82rem; }
.admin-module-grid b { color: #174f8a; font-size: .72rem; white-space: nowrap; }
.admin-module.future { opacity: .68; border-left-color: #9ba6b2; }
.admin-principles { display: grid; grid-template-columns: 1fr 1.3fr; gap: 3rem; margin-top: 1.5rem; padding: 2.5rem; color: white; background: #102a4d; border-bottom: 5px solid #b22234; }
.admin-principles h2 { color: white; }
.admin-principles li { margin: .65rem 0; color: #d5dfeb; }
.student-hero, .workspace-hero { display:flex; align-items:center; gap:1.2rem; padding:1rem 0 2rem; margin-bottom:1.5rem; border-bottom:1px solid #d7dde4; }
.student-hero > div:nth-child(2), .workspace-hero > div:first-child { flex:1; }
.student-actions { display:flex; gap:.6rem; }
.student-hero h1, .workspace-hero h1 { margin:0; font-size:clamp(2.2rem,4vw,3.4rem); }
.student-hero p:last-child, .workspace-hero p:last-child { color:#687688; }
.student-initials { display:grid; place-items:center; width:5rem; height:5rem; color:white; background:#b22234; border-radius:50%; font:700 1.6rem Georgia,serif; border:5px double white; outline:2px solid #b22234; }
.standards-badge { padding:.55rem .75rem; color:#596a7e; background:#edf0f3; font-size:.68rem; font-weight:800; text-transform:uppercase; }
.standards-badge.on { color:#174f8a; background:#dceaf8; }
.year-list i { color:#174f8a; font-size:.75rem; font-style:normal; font-weight:800; }
.course-list a { display:flex; align-items:center; gap:.8rem; padding:1rem 0; color:inherit; text-decoration:none; border-bottom:1px solid #e5e8eb; }
.course-subject { display:grid; place-items:center; width:2.7rem; height:2.7rem; color:white; background:#174f8a; border-radius:50%; font-weight:800; }
.course-list a>span:nth-child(2) { display:flex; flex:1; flex-direction:column; }
.course-list small { color:#748190; }
.course-list em { color:#102a4d; font:700 .9rem Georgia,serif; font-style:normal; }
.grade-orb { display:grid; place-items:center; width:7rem; height:7rem; color:white; background:#102a4d; border-radius:50%; border:6px double white; outline:2px solid #b22234; }
.grade-orb strong { font:700 1.6rem Georgia,serif; }
.grade-orb small { font-size:.58rem; text-transform:uppercase; }
.course-description { padding:1.2rem 1.5rem; background:white; border-left:5px solid #c6a15b; color:#59697b; line-height:1.7; }
.gradebook-list>div { display:flex; align-items:center; gap:.8rem; padding:1rem 0; border-bottom:1px solid #e5e8eb; }
.gradebook-list>div>span { display:flex; flex:1; flex-direction:column; }
.gradebook-list small { color:#748190; }
.gradebook-list em { padding:.3rem .5rem; font-size:.62rem; font-style:normal; font-weight:800; text-transform:uppercase; background:#edf0f3; }
.gradebook-list .status-graded { color:#247144; background:#e5f3e9; }
.gradebook-list .status-excused { color:#7a6640; background:#f3eddf; }
.gradebook-list b { min-width:4rem; text-align:right; color:#102a4d; font:700 1rem Georgia,serif; }
.report-type-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1rem; margin-bottom:1.5rem; }
.report-type-grid article { padding:1.5rem; background:white; border-top:4px solid #174f8a; }
.report-type-grid article:nth-child(2){border-top-color:#b22234}.report-type-grid article:nth-child(3){border-top-color:#c6a15b}
.report-type-grid span { color:#b22234; font-size:1.5rem; }
.report-type-grid h2 { font-size:1.25rem; }
.report-type-grid p { color:#6e7b8b; }
.report-toolbar { display:flex; justify-content:space-between; align-items:center; margin-bottom:1rem; }
.official-report { max-width:900px; margin:0 auto; padding:3.5rem; background:white; box-shadow:0 10px 35px rgba(16,42,77,.12); }
.official-report>header { display:flex; align-items:center; gap:1.2rem; padding-bottom:1.5rem; border-bottom:4px double #102a4d; text-align:center; }
.official-report>header img { width:90px; }.official-report>header div{flex:1}.official-report>header p{text-transform:uppercase;letter-spacing:.12em;font-weight:800;color:#b22234}.official-report>header h1{margin:.2rem}.official-report>header span{font-size:.65rem;letter-spacing:.16em;text-transform:uppercase}
.report-meta,.report-summary { display:grid; grid-template-columns:repeat(4,1fr); gap:1rem; padding:1.5rem 0; }
.report-meta div,.report-summary div { display:flex; flex-direction:column; }.report-meta small,.report-summary small{text-transform:uppercase;color:#718092;font-size:.62rem;letter-spacing:.08em}.report-meta strong,.report-summary strong{color:#102a4d}
.official-report table { width:100%; border-collapse:collapse; }.official-report th{padding:.7rem;text-align:left;color:white;background:#102a4d;font-size:.7rem;text-transform:uppercase}.official-report td{padding:.8rem;border-bottom:1px solid #dfe3e7}.official-report td small{display:block;color:#748190}
.official-report footer { display:grid; grid-template-columns:1fr 1fr; gap:2rem; margin-top:3rem; }.official-report footer div{padding-top:.5rem;border-top:1px solid #253b59;font-size:.72rem}.official-report footer p{grid-column:1/-1;text-align:center;color:#778392;font-size:.65rem}

.transcript-student,.transcript-summary { display:grid; grid-template-columns:repeat(4,1fr); gap:1rem; padding:1.4rem 0; }
.transcript-student div,.transcript-summary div { display:flex; flex-direction:column; }
.transcript-student small,.transcript-summary small { color:#718092; font-size:.6rem; letter-spacing:.08em; text-transform:uppercase; }
.transcript-student strong,.transcript-summary strong { color:#102a4d; }
.transcript-year { margin:1.2rem 0; }
.transcript-year h2 { display:flex; justify-content:space-between; padding:.5rem .7rem; margin:0; color:white; background:#b22234; font-size:1rem; }
.transcript-year h2 span { font-family:Inter,sans-serif; font-size:.7rem; letter-spacing:.08em; text-transform:uppercase; }
.transcript-year tfoot td { font-weight:800; background:#eef1f4; }
.transcript-summary { border-top:4px double #102a4d; border-bottom:4px double #102a4d; text-align:center; }
.audit-list>div { display:flex; align-items:center; gap:1.2rem; padding:1rem 0; border-bottom:1px solid #e4e7ea; }
.audit-list time { width:145px; color:#667588; font-size:.72rem; }
.audit-list span { display:flex; flex-direction:column; }
.audit-list small { color:#7b8694; font-family:monospace; font-size:.7rem; }
.centered-form { max-width:760px; margin:0 auto; }
.form-actions { display:flex; justify-content:flex-end; gap:.7rem; margin-top:1rem; }
.danger-zone { display:flex; align-items:center; gap:1rem; margin-top:2rem; padding-top:1.5rem; border-top:1px solid #e3c5c9; }
.danger-zone>div { flex:1; }.danger-zone p{margin:.2rem 0;color:#748190;font-size:.8rem}
.optional-tag { margin-left:auto; color:#c6a15b; font-size:.52rem; text-transform:uppercase; letter-spacing:.06em; }
.pricing-hero { max-width:760px; margin:0 auto; padding:5rem 0 3rem; text-align:center; }.pricing-hero h1{font-size:clamp(2.8rem,5vw,4.5rem)}.pricing-hero>p:last-child{color:#617083;font-size:1.1rem;line-height:1.7}
.pricing-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1rem; align-items:stretch; margin-bottom:3rem; }.pricing-grid article{position:relative;padding:2rem;background:white;border:1px solid #d9dee4;display:flex;flex-direction:column}.pricing-grid article.featured{border:3px solid #174f8a;transform:translateY(-8px)}.plan-banner{position:absolute;top:0;left:0;right:0;padding:.35rem;text-align:center;color:white;background:#b22234;font-size:.62rem;font-weight:800;text-transform:uppercase}.plan-banner+ h2{margin-top:1rem}.plan-price{display:flex;align-items:baseline;gap:.3rem}.plan-price strong{font:700 2.7rem Georgia,serif;color:#102a4d}.plan-price span{color:#758292}.pricing-grid article>p,.pricing-grid li{color:#637184}.pricing-grid ul{padding-left:1.2rem;flex:1}.pricing-grid li{margin:.6rem 0}.pricing-grid form,.pricing-grid .btn{width:100%}.pricing-trust{text-align:center;padding:2rem;margin-bottom:4rem;background:#e8eef5}.pricing-trust p{margin:.4rem 0;color:#647285}
.billing-empty,.billing-success{max-width:700px;margin:3rem auto;padding:3rem;text-align:center;background:white;border-top:5px solid #b22234}.billing-success img{width:120px}.subscription-card{display:flex;align-items:center;justify-content:space-between;padding:2rem;background:white;border-left:6px solid #174f8a}.subscription-status{display:inline-block;padding:.3rem .55rem;background:#edf0f3;font-size:.65rem;font-weight:800;text-transform:uppercase}.status-active,.status-trialing{color:#247144;background:#e5f3e9}.status-past_due{color:#9a6020;background:#fff0d9}.status-canceled{color:#8b2935;background:#f7e4e7}
.billing-table>div{display:flex;align-items:center;gap:1rem;padding:1rem 0;border-bottom:1px solid #e4e7ea}.billing-table span{display:flex;flex:1;flex-direction:column}.billing-table small{color:#748190}.billing-table em{padding:.3rem .55rem;font-size:.65rem;font-style:normal;font-weight:800;text-transform:uppercase}.billing-table time{width:100px;color:#728091;font-size:.72rem}
.stripe-status-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;margin-bottom:1.5rem}.stripe-status-grid article{display:flex;flex-direction:column;padding:1.35rem;background:white;border-top:4px solid #9a6020}.stripe-status-grid article.ready{border-top-color:#247144}.stripe-status-grid span{color:#718092;font-size:.65rem;font-weight:800;text-transform:uppercase;letter-spacing:.08em}.stripe-status-grid strong{margin:.35rem 0;color:#102a4d;font:700 1.25rem Georgia,serif}.stripe-status-grid small{color:#768393}.stripe-connection-panel{display:flex;align-items:center;gap:2rem;margin-bottom:1.5rem}.stripe-connection-panel>div{flex:1}.stripe-connection-panel dl{display:grid;grid-template-columns:10rem 1fr;gap:.5rem;margin:1rem 0 0}.stripe-connection-panel dt{font-weight:800;color:#526174}.stripe-connection-panel dd{margin:0;overflow-wrap:anywhere}.stripe-plans{margin-bottom:1.5rem}.stripe-plan-row{display:grid;grid-template-columns:1.25fr 1fr auto;align-items:center;gap:1rem;padding:1rem 0;border-bottom:1px solid #e4e7ea}.stripe-plan-row>span{display:flex;flex-direction:column}.stripe-plan-row small{color:#748190}.stripe-plan-row input{padding:.75rem;border:1px solid #b8c1cc}.access-required{max-width:650px;margin:4rem auto;padding:3rem;text-align:center;background:white;border-top:5px solid #b22234}.access-required>span{color:#b22234;font-size:2rem}.access-required p{color:#667588;line-height:1.65}.access-required>a:last-child{display:block;margin-top:1rem;color:#174f8a;font-weight:800}
.standards-principles{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;margin-bottom:1.5rem}.standards-principles div{padding:1.3rem;background:white;border-top:4px solid #174f8a}.standards-principles div:nth-child(2){border-top-color:#b22234}.standards-principles div:nth-child(3){border-top-color:#c6a15b}.standards-principles p{color:#697789;font-size:.82rem;line-height:1.55}
.standards-editions>div{display:flex;align-items:center;gap:1rem;padding:1rem 0;border-bottom:1px solid #e4e7ea}.standards-editions>div>span{display:grid;place-items:center;width:3.2rem;height:2.5rem;color:white;background:#102a4d;font-size:.65rem;font-weight:800}.standards-editions>div>div{display:flex;flex:1;flex-direction:column}.standards-editions small{color:#768393}.standards-editions a{color:#174f8a;font-size:.72rem;font-weight:800}.standards-next{margin-top:1.5rem;padding:2rem;color:white;background:#102a4d;border-bottom:5px solid #b22234}.standards-next h2{color:white}.standards-next li{margin:.65rem 0;color:#d5dfeb}.standards-next p{color:#c6a15b;font-weight:800}
.standards-browser{margin-top:1.5rem}.standards-filters{display:grid;grid-template-columns:1fr 1fr 1.5fr;gap:1rem;margin-bottom:1.25rem}.standards-filters label{display:flex;flex-direction:column;gap:.35rem;color:#526174;font-size:.7rem;font-weight:800;text-transform:uppercase}.standards-filters select,.standards-filters input{min-height:2.8rem;padding:.65rem .75rem;border:1px solid #cfd6de;background:white;color:#102a4d;text-transform:none}.standard-results{display:grid;gap:.65rem;max-height:38rem;overflow:auto}.standard-results article{display:grid;grid-template-columns:10rem 1fr;gap:1rem;padding:1rem;border-left:4px solid #174f8a;background:#f6f8fa}.standard-results article>div{display:flex;flex-direction:column;gap:.25rem}.standard-results article span{color:#b22234;font-size:.68rem;font-weight:800;text-transform:uppercase}.standard-results article p{margin:0;color:#465669;line-height:1.5}.empty-note{padding:2rem;text-align:center;color:#768393}
.legal-page{max-width:900px;margin:3rem auto 6rem;padding:clamp(1.5rem,5vw,4rem);background:white;border-top:6px solid #b22234;box-shadow:0 16px 40px rgba(16,42,77,.08)}.legal-page header{padding-bottom:2rem;border-bottom:4px double #102a4d}.legal-page h1{font-size:clamp(2.5rem,5vw,4rem)}.legal-page header>p:last-child,.legal-page section p{color:#526174;line-height:1.75}.legal-page section{padding:1.5rem 0;border-bottom:1px solid #e1e5e9}.legal-page section h2{font-size:1.35rem}.legal-page .legal-highlight{padding:1.5rem;background:#eef3f8;border-left:5px solid #174f8a}.public-footer nav{display:flex;gap:1rem}.public-footer a{color:inherit}

@media (max-width: 800px) {
    .feature-grid, .standards-callout, .account-shell, .metric-grid, .hero-split, .mission-section, .promise-grid, .journey-section, .dashboard-grid, .management-grid, .attendance-metrics, .admin-module-grid, .admin-principles, .report-type-grid { grid-template-columns: 1fr; }
    .hero-split { gap: 2rem; padding: 3.5rem 0; }
    .hero-emblem img { width: 210px; }
    .trust-band { display: grid; grid-template-columns: 1fr 1fr; }
    .mission-section, .parent-promise { padding: 4rem 0; }
    .journey-section { padding: 2rem; gap: 2rem; }
    .account-banner { display: none; }
    .heritage-badge { display: none; }
    .dashboard-date { display: none; }
    .dashboard-identity img { width: 68px; height: 68px; }
    .section-heading img { display: none; }
    .field-row { grid-template-columns: 1fr; }
    .transcript-student,.transcript-summary { grid-template-columns:1fr 1fr; }
    .pricing-grid,.standards-principles,.standards-filters,.stripe-status-grid { grid-template-columns:1fr; }.pricing-grid article.featured{transform:none}.standard-results article{grid-template-columns:1fr}.stripe-connection-panel{align-items:flex-start;flex-direction:column}.stripe-plan-row{grid-template-columns:1fr}
}

@media print {
    .sidebar,.top-row,.report-toolbar,#blazor-error-ui { display:none !important; }
    .page { display:block !important; }.content{max-width:none!important;padding:0!important}.official-report{box-shadow:none;max-width:none;padding:.25in}.official-report table{page-break-inside:auto}.official-report tr{page-break-inside:avoid}
}
