:root {
    color-scheme: light;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #18352c;
    background: #f2f5ef;
}

* { box-sizing: border-box; }
body { display: flex; min-height: 100vh; margin: 0; flex-direction: column; }
.site-header { display: grid; color: white; background: #174f3d; box-shadow: 0 .35rem 1rem rgb(10 45 34 / 15%); }
.site-header-top { display: flex; min-height: 4.6rem; align-items: center; justify-content: space-between; gap: 1rem; padding: .65rem clamp(1rem,4vw,4rem); }
.brand { display: inline-flex; align-items: center; gap: .75rem; color: white; font-size: 1.05rem; font-weight: 800; text-decoration: none; }
.brand img { width: 3.2rem; height: 3.2rem; padding: .25rem; object-fit: contain; border-radius: .7rem; background: white; }
.brand span { display: flex; align-items: baseline; gap: .45rem; }.brand small { color: #c5dbd2; font-size: .68rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: .2rem; padding: 0 clamp(1rem,4vw,4rem); overflow-x: auto; border-top: 1px solid rgb(255 255 255 / 12%); background: #123f31; scrollbar-width: thin; }
.main-nav a { padding: .8rem .75rem; color: #e5f0eb; font-size: .82rem; font-weight: 650; text-decoration: none; white-space: nowrap; transition: color .15s,background .15s; }
.main-nav a:hover { color: white; background: rgb(255 255 255 / 9%); }
.account-menu { position: relative; display: flex; align-items: center; color: white; }
.account-menu form { margin: 0; }
.account-profile-menu { position: relative; }.account-profile-menu summary { display: flex; align-items: center; gap: .45rem; padding: .5rem .65rem; border-radius: .5rem; cursor: pointer; list-style: none; font-size: .82rem; font-weight: 700; }.account-profile-menu summary::-webkit-details-marker { display: none; }.account-profile-menu summary:hover,.account-profile-menu[open] summary { background: rgb(255 255 255 / 12%); }.account-profile-menu summary > svg { width: .9rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; transition: transform .15s; }.account-profile-menu[open] summary > svg { transform: rotate(180deg); }
.account-profile-dropdown { position: absolute; z-index: 100; top: calc(100% + .55rem); right: 0; display: grid; width: 17.5rem; padding: .4rem; color: #29483f; border: 1px solid #d9e4df; border-radius: .75rem; background: white; box-shadow: 0 .8rem 2rem rgb(15 49 39 / 20%); }.account-profile-dropdown::before { position: absolute; top: -.35rem; right: 1.2rem; width: .65rem; height: .65rem; content: ''; border-top: 1px solid #d9e4df; border-left: 1px solid #d9e4df; background: white; transform: rotate(45deg); }.account-profile-dropdown button { display: grid; width: 100%; grid-template-columns: 2rem 1fr; gap: .1rem .65rem; align-items: center; padding: .65rem; color: inherit; border: 0; border-radius: .55rem; background: transparent; text-align: left; cursor: pointer; }.account-profile-dropdown button:hover { background: #edf6f2; }.account-profile-dropdown button > svg { grid-row: 1 / 3; width: 1.15rem; justify-self: center; fill: none; stroke: #26795d; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }.account-profile-dropdown button span { display: grid; gap: .08rem; }.account-profile-dropdown strong { font-size: .76rem; }.account-profile-dropdown small { color: #7b8983; font-size: .63rem; }.account-profile-dropdown form { border-top: 1px solid #e5ece8; }.account-profile-dropdown .account-logout:hover { color: #923e3e; background: #fff0f0; }.account-profile-dropdown .account-logout > svg { stroke: #b04a4a; }
.logout-button { padding: .55rem .8rem; color: white; border: 1px solid rgb(255 255 255 / 45%); border-radius: .4rem; background: transparent; cursor: pointer; }
.page-shell { width: min(1100px, calc(100% - 2rem)); margin: 2.5rem auto; flex: 1 0 auto; }
.page-shell-wide { width: min(1680px, calc(100% - 2rem)); }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: auto; padding: 1rem clamp(1rem,4vw,4rem); color: #60756c; border-top: 1px solid #d8e3dd; background: #e8efeb; }
.site-footer > div { display: flex; align-items: center; gap: .6rem; }.site-footer img { width: 2.2rem; height: 2.2rem; padding: .2rem; object-fit: contain; border-radius: .5rem; background: white; }.site-footer span { display: grid; }.site-footer strong { color: #294d40; font-size: .78rem; }.site-footer small,.site-footer p { margin: 0; color: #7c8c85; font-size: .68rem; }
.welcome-card { padding: clamp(1.5rem, 5vw, 4rem); background: white; border-radius: 1rem; box-shadow: 0 1rem 3rem rgb(23 79 61 / 10%); }
.dashboard { display: grid; gap: 1.25rem; }
.dashboard-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; padding: 1.8rem 2rem; border: 1px solid #e1e9e4; border-radius: 1rem; background: white; box-shadow: 0 .8rem 2.5rem rgb(23 79 61 / 7%); }
.dashboard-heading h1 { margin: .15rem 0 .35rem; color: #173f34; font-size: clamp(2rem, 4vw, 3.15rem); }.dashboard-heading p { margin: 0; color: #718179; }.dashboard-heading time { color: #687970; font-size: .75rem; white-space: nowrap; }
.dashboard-welcome { display: flex; align-items: center; gap: 1rem; min-width: 0; }.dashboard-welcome > div { min-width: 0; }.dashboard-avatar { position: relative; display: grid; flex: 0 0 4.8rem; height: 4.8rem; place-items: center; overflow: hidden; color: #174f3d; border: 3px solid white; border-radius: 1.2rem; background: #dfeee7; box-shadow: 0 .45rem 1.2rem rgb(23 79 61 / 16%); font-size: 1.05rem; font-weight: 850; }.dashboard-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dashboard-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: .8rem; }
.dashboard-stat { position: relative; display: grid; min-height: 7.3rem; align-content: center; gap: .3rem; overflow: hidden; padding: 1rem 1.1rem; color: inherit; border: 1px solid #dce8e2; border-radius: .85rem; background: linear-gradient(145deg, #fff, #f1f7f4); text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }.dashboard-stat::after { position: absolute; right: -2rem; bottom: -2.8rem; width: 6rem; height: 6rem; content: ''; border-radius: 50%; background: rgb(182 107 37 / 8%); }.dashboard-stat:hover { transform: translateY(-2px); box-shadow: 0 .7rem 1.4rem rgb(23 79 61 / 10%); }.dashboard-stat.has-alert { border-color: #efcd91; background: linear-gradient(145deg, #fffdf8, #fff5df); }
.dashboard-stat span { color: #64766e; font-size: .68rem; font-weight: 750; text-transform: uppercase; }.dashboard-stat strong { color: #174f3d; font-size: 1.8rem; line-height: 1; }.dashboard-stat small { color: #74857d; }
.dashboard-layout { display: grid; grid-template-columns: minmax(0, 3.2fr) minmax(15rem, .8fr); gap: 1rem; align-items: start; }.dashboard-panel { padding: 1.25rem; border: 1px solid #e0e8e3; border-radius: 1rem; background: white; box-shadow: 0 .6rem 1.8rem rgb(23 79 61 / 6%); }.dashboard-panel > header h2 { margin: .12rem 0 .9rem; color: #174f3d; font-size: 1.2rem; }
.dashboard-shortcuts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .65rem; }.dashboard-shortcuts a { display: grid; grid-template-columns: 2.5rem 1fr; gap: .08rem .7rem; align-items: center; padding: .8rem; color: inherit; border: 1px solid #e1e9e4; border-radius: .7rem; text-decoration: none; transition: border-color .15s ease, background .15s ease; }.dashboard-shortcuts a:hover { border-color: #e8c676; background: #fff8dd; }.dashboard-shortcuts a > span { display: grid; grid-row: 1 / 3; width: 2.5rem; height: 2.5rem; place-items: center; color: #fff; border-radius: .65rem; background: #26795d; }.dashboard-shortcuts a > span svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }.dashboard-shortcuts strong { color: #22463a; font-size: .8rem; }.dashboard-shortcuts small { color: #7c8b84; font-size: .65rem; }
.dashboard-alerts { display: grid; gap: .55rem; }.dashboard-alerts > header { margin-bottom: -.1rem; }.dashboard-alerts > a { display: grid; grid-template-columns: 1fr auto; gap: .15rem .6rem; padding: .75rem; color: inherit; border: 1px solid #efd5a5; border-radius: .65rem; background: #fff9ea; text-decoration: none; }.dashboard-alerts > a strong { color: #754b18; font-size: .75rem; }.dashboard-alerts > a small { color: #8b7962; font-size: .65rem; }.dashboard-alerts > a span { grid-column: 2; grid-row: 1 / 3; align-self: center; color: #a15c1c; font-size: .65rem; font-weight: 750; }.dashboard-all-clear { display: grid; gap: .2rem; padding: 1rem; color: #28614f; border-radius: .7rem; background: #edf8f3; }.dashboard-all-clear small { color: #6d8178; }
@media (max-width: 900px) { .dashboard-layout { grid-template-columns: 1fr; }.dashboard-shortcuts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .dashboard-heading { align-items: start; flex-direction: column; padding: 1.25rem; }.dashboard-welcome { align-items: start; }.dashboard-avatar { flex-basis: 3.8rem; height: 3.8rem; border-radius: .9rem; }.dashboard-shortcuts { grid-template-columns: 1fr; } }
.eyebrow { color: #b66b25; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
h1 { max-width: 18ch; font-size: clamp(2rem, 5vw, 3.75rem); line-height: 1.05; }
.module-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: .75rem; margin-top: 2rem; }
.module-grid span { padding: 1rem; background: #edf5f0; border-radius: .6rem; font-weight: 600; }
.content-card { padding: clamp(1.25rem, 4vw, 3rem); background: white; border-radius: 1rem; box-shadow: 0 1rem 3rem rgb(23 79 61 / 10%); }
.page-heading { display: flex; justify-content: space-between; gap: 2rem; align-items: end; }
.page-heading h1 { margin: .3rem 0; }
.search-form label { display: block; margin-bottom: .4rem; font-weight: 700; }
.search-form div { display: flex; }
.search-form input, .search-form button { padding: .7rem; border: 1px solid #aebdb5; font: inherit; }
.search-form input { border-radius: .4rem 0 0 .4rem; }
.search-form button { color: white; background: #174f3d; border-color: #174f3d; border-radius: 0 .4rem .4rem 0; cursor: pointer; }
.table-scroll { overflow-x: auto; margin-top: 2rem; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: .85rem; border-bottom: 1px solid #dce5df; text-align: left; vertical-align: middle; }
.sort-link { display: inline-flex; align-items: center; gap: .35rem; color: inherit; text-decoration: none; white-space: nowrap; }
.sort-link span { color: #9ba9a2; font-size: .78rem; }
.sort-link.is-active span { color: #174f3d; }
td small { display: block; margin-top: .25rem; }
.status { display: inline-block; padding: .25rem .55rem; border-radius: 999px; font-size: .85rem; font-weight: 700; }
.status-active { color: #155d3b; background: #d9f2e5; }
.status-inactive { color: #6a3232; background: #f4dddd; }
.status-toggle { display: inline-flex; align-items: center; gap: .25rem; padding: .25rem .5rem; border-radius: 999px; font-size: .85rem; font-weight: 700; }
.status-toggle form { display: inline-flex; margin: 0; }
.status-toggle .status-action { display: inline-flex; width: 1.3rem; height: 1.3rem; padding: 0; align-items: center; justify-content: center; color: white; border-radius: 50%; font-family: Arial, sans-serif; font-size: 1rem; font-weight: 700; line-height: 1; cursor: pointer; }
.status-action span { display: grid; width: 100%; height: 100%; padding-bottom: .08em; place-items: center; line-height: 1; }
.status-toggle .status-action-deactivate { border: 1px solid #b64a4a; background: #c95a5a; }
.status-toggle .status-action-activate { border: 1px solid #227957; background: #2d916b; }
.pagination { display: flex; justify-content: center; align-items: center; gap: .35rem; margin-top: 2rem; }
.pagination a, .pagination span { display: grid; min-width: 2.15rem; height: 2.15rem; padding: 0 .55rem; place-items: center; color: #36564c; border: 1px solid #d5e0da; border-radius: 50%; text-decoration: none; }
.pagination a:hover, .pagination .is-current { color: white; border-color: #174f3d; background: #174f3d; }
.pagination .is-disabled { color: #b3bdb8; background: #f5f7f5; }
.pagination .pagination-gap { min-width: 1.25rem; padding: 0; border: 0; background: transparent; }
.empty-state { padding: 2rem; text-align: center; background: #f2f5ef; border-radius: .6rem; }
.user-table tbody tr { transition: background .15s; }
.user-table tbody tr:hover { background: #f8faf8; }
.user-table { scrollbar-gutter: stable; }
.user-table .sticky-actions { position: sticky; right: 0; z-index: 2; background: white; box-shadow: -.65rem 0 .9rem -.85rem rgb(23 79 61 / 45%); }
.user-table thead .sticky-actions { z-index: 3; }
.user-table tbody tr:hover .sticky-actions { background: #f8faf8; }
.user-summary { display: inline-flex; align-items: center; gap: .7rem; white-space: nowrap; }
.user-summary > span:last-child { display: grid; gap: .12rem; }
.user-summary small { color: #91a099; font-size: .7rem; font-weight: 500; }
.user-avatar { position: relative; display: grid; flex: 0 0 2.6rem; height: 2.6rem; place-items: center; overflow: hidden; color: #174f3d; border-radius: .7rem; background: #e2f0e8; font-size: .72rem; font-weight: 800; letter-spacing: .03em; }
.user-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.user-contact { display: grid; gap: .2rem; }
.user-contact a { color: #25654f; text-decoration-color: #a9cbbd; text-underline-offset: .15rem; }
.user-contact small { margin: 0; color: #7d8c85; }
.locality { white-space: nowrap; }
.profile-badge { display: inline-block; padding: .25rem .55rem; color: #5d625f; border-radius: 999px; background: #edf0ee; font-size: .82rem; font-weight: 700; }
.profile-badge.is-member { color: #725827; background: #fff0ce; }
.relation-list { display: flex; flex-wrap: wrap; gap: .3rem; min-width: 11rem; }
.relation-badge { display: inline-block; padding: .24rem .5rem; color: #5d6964; border-radius: 999px; background: #edf0ee; font-size: .73rem; font-weight: 700; white-space: nowrap; }
.relation-badge.is-member { color: #725827; background: #fff0ce; }
.relation-badge.is-sponsor { color: #7a3f61; background: #f9e5f0; }
.relation-badge.is-donor { color: #285e78; background: #e2f2f9; }
.relation-badge.is-committee { color: #3e4f8b; background: #e8ebfa; }
.user-actions { white-space: nowrap; }
.icon-action { display: inline-grid; width: 2.15rem; height: 2.15rem; padding: .5rem; place-items: center; color: #27634f; border: 1px solid #bdd5cb; border-radius: 50%; background: #edf7f2; cursor: pointer; vertical-align: middle; }
.icon-action:hover { color: white; border-color: #27634f; background: #27634f; }
.icon-action svg { width: 1rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.user-overview { display: grid; grid-template-columns: minmax(15rem, 1.4fr) repeat(2, minmax(9rem, .65fr)) minmax(18rem, 1fr); gap: 1rem; align-items: stretch; }
.user-overview h1 { margin: .3rem 0; }
.user-overview > div:first-child > p:last-child { margin-bottom: 0; color: #708079; font-size: .86rem; }
.user-heading-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .55rem; margin-top: 1.25rem; }.user-heading-actions .page-add-button,.user-heading-actions .secondary-button { min-height: 2.55rem; box-sizing: border-box; margin-top: 0; }.user-heading-actions .secondary-button { gap: .45rem; cursor: pointer; }.user-heading-actions .secondary-button svg { width: 1rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.user-export-dialog { width: min(42rem,calc(100% - 2rem)); }.export-columns,.export-format { margin: 0; padding: 0; border: 0; }.export-columns legend,.export-format legend { margin-bottom: .55rem; color: #29483f; font-size: .84rem; font-weight: 750; }.export-columns > div { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .45rem; }.export-columns label,.export-format label { display: flex; align-items: center; gap: .5rem; padding: .55rem .65rem; color: #4b635a; border: 1px solid #dbe5e0; border-radius: .55rem; background: #fafcfb; font-size: .78rem; cursor: pointer; }.export-columns input,.export-format input { accent-color: #23785a; }.export-format { display: flex; flex-wrap: wrap; gap: .5rem; }.export-format legend { width: 100%; }.export-format label { min-width: 7rem; }
.user-export-dialog[data-child-export-dialog] { width: min(62rem,calc(100% - 2rem)); }.user-export-dialog[data-child-export-dialog] .export-columns > div { grid-template-columns: repeat(3,minmax(0,1fr)); }
.stat-card { position: relative; display: grid; min-height: 8.5rem; padding: 1rem; place-items: center; align-content: center; overflow: hidden; border: 1px solid #deebe4; border-radius: 1rem; background: linear-gradient(145deg, #fbfdfb, #eff7f2); box-shadow: 0 .65rem 1.5rem rgb(23 79 61 / 7%); }
.stat-card::after { position: absolute; right: -1.6rem; bottom: -2.4rem; width: 6rem; height: 6rem; content: ''; border-radius: 50%; background: rgb(182 107 37 / 8%); }
.stat-card__icon { display: grid; width: 2.15rem; height: 2.15rem; margin-bottom: .4rem; place-items: center; color: #b66b25; border-radius: .65rem; background: #fff0ce; }
.stat-card__icon svg { width: 1.1rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.stat-card strong { color: #174f3d; font-size: 1.55rem; line-height: 1; }
.stat-card small { margin-top: .35rem; color: #61736b; }
.user-overview .search-form { align-self: end; }
.user-filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 1.2rem; margin: 1.5rem calc(clamp(1.25rem, 4vw, 3rem) * -1) 0; padding: .9rem 1rem; border-block: 1px solid #e0e8e3; background: #f6f8f6; }
.filter-switch { display: inline-flex; align-items: center; gap: .45rem; color: #40574f; font-size: .86rem; cursor: pointer; }
.filter-switch input { position: absolute; opacity: 0; pointer-events: none; }
.filter-switch span { position: relative; width: 2rem; height: 1.12rem; border-radius: 999px; background: #c8d1cc; transition: background .18s; }
.filter-switch span::after { position: absolute; top: .16rem; left: .17rem; width: .8rem; height: .8rem; content: ''; border-radius: 50%; background: white; box-shadow: 0 .1rem .25rem rgb(0 0 0 / 18%); transition: transform .18s; }
.filter-switch input:checked + span { background: #2c8a68; }
.filter-switch input:checked + span::after { transform: translateX(.86rem); }
.filter-switch input:focus-visible + span { outline: 3px solid rgb(51 128 105 / 22%); outline-offset: 2px; }
.result-count { margin: 1rem 0 -1rem; color: #708079; font-size: .82rem; }
.column-picker { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: .35rem; margin: .7rem 0 -1rem; color: #7a8982; font-size: .75rem; }
.column-picker button { padding: .25rem .5rem; color: #66776f; border: 1px solid #d4dfd9; border-radius: 999px; background: white; font: inherit; cursor: pointer; }
.column-picker button.is-active { color: #1e654d; border-color: #b7d8ca; background: #e8f5ef; }
[data-column-table] [data-col].is-hidden { display: none; }
.child-cell-list { display: grid; min-width: 13.5rem; gap: .4rem; }
.child-mini-card { display: flex; align-items: center; gap: .6rem; padding: .45rem .55rem; color: inherit; border: 1px solid #e1e8e4; border-radius: .7rem; background: #fafcfb; box-shadow: 0 .2rem .55rem rgb(23 79 61 / 5%); text-decoration: none; transition: background .16s,border-color .16s,transform .16s; }
.child-mini-card:hover { border-color: #e7c978; background: #fff7d8; transform: translateY(-1px); }
.child-mini-card > span:last-child { display: grid; gap: .12rem; }
.child-mini-card strong { color: #29483f; font-size: .78rem; }
.child-mini-card > span:last-child small { color: #7d8d85; font-size: .68rem; }
.payment-state { display: inline-flex; width: fit-content; margin-top: .1rem; padding: .18rem .42rem; border-radius: 999px; font-size: .62rem; font-style: normal; font-weight: 750; line-height: 1.2; white-space: nowrap; }
.payment-state.is-paid { color: #176047; background: #dff3e9; }
.payment-state.is-partial { color: #79530f; background: #fff0c9; }
.payment-state.is-unpaid { color: #963d43; background: #fde5e6; }
.payment-state.is-undefined { color: #92571c; background: #fff0d8; }
.payment-state.is-neutral { color: #617169; background: #edf1ef; }
.user-payment-list { display: grid; align-items: start; gap: .4rem; }
.payment-legend { margin: 1rem 0 1.25rem; border: 1px solid #dce6e1; border-radius: .8rem; background: #fafcfb; }
.payment-legend summary { padding: .75rem 1rem; color: #315247; font-size: .8rem; font-weight: 750; cursor: pointer; }
.payment-legend > div { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; padding: 0 1rem 1rem; border-top: 1px solid #e6ece8; }
.payment-legend section { padding-top: .8rem; }
.payment-legend h2 { margin: 0 0 .55rem; color: #174f3d; font-size: .82rem; }
.payment-legend ul { display: grid; gap: .4rem; margin: 0; padding: 0; list-style: none; }
.payment-legend li { display: grid; grid-template-columns: 8.5rem 1fr; align-items: center; gap: .55rem; }
.payment-legend li .payment-state { margin: 0; }
.payment-legend li p { margin: 0; color: #718078; font-size: .68rem; line-height: 1.35; }
@media (max-width: 760px) { .payment-legend > div { grid-template-columns: 1fr; gap: 0; }.payment-legend li { grid-template-columns: 1fr; gap: .2rem; } }
.child-mini-avatar { position: relative; display: grid; flex: 0 0 2rem; height: 2rem; place-items: center; color: #7a3f61; border-radius: .55rem; background: #f9e5f0; font-size: .65rem; font-weight: 800; }
.child-mini-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: inherit; object-fit: cover; }
.child-mini-avatar > small { position: absolute; z-index: 1; top: -.35rem; right: -.35rem; display: grid; min-width: 1.05rem; height: 1.05rem; padding: 0 .18rem; place-items: center; color: #6c490b; border-radius: 999px; background: #ffc45c; font-size: .55rem; }
.user-address { display: grid; min-width: 10rem; gap: .15rem; }
.user-address strong { color: #304d44; font-size: .82rem; }
.user-address span { color: #7b8983; font-size: .78rem; }
.sponsor-lock { display: inline-block; padding: .25rem .55rem; color: #725827; border-radius: 999px; background: #fff0ce; font-size: .78rem; font-weight: 700; white-space: nowrap; }
.table-footer { position: relative; display: flex; min-height: 4.2rem; align-items: center; justify-content: center; margin-top: 1rem; }
.table-footer .pagination { margin-top: 0; }
.page-size { position: absolute; left: 0; color: #687970; font-size: .8rem; }
.page-size label { display: flex; align-items: center; gap: .4rem; }
.page-size select { min-height: 2rem; padding: .25rem 1.7rem .25rem .5rem; color: #29483f; border: 1px solid #cbd8d1; border-radius: .5rem; background: white; font: inherit; cursor: pointer; }
.login-table td strong { display: block; }
.login-identity { display: inline-block; padding: .35rem .6rem; color: #174f3d; border-radius: .45rem; background: #edf5f0; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
.group-list { display: flex; flex-wrap: wrap; gap: .35rem; }
.group-badge { display: inline-flex; align-items: center; gap: .25rem; padding: .25rem .5rem; color: #66501f; border-radius: 999px; background: #fff0ce; font-size: .78rem; font-weight: 700; }
.group-badge form { display: inline-flex; margin: 0; }
.group-badge button { display: grid; width: 1rem; height: 1rem; padding: 0; place-items: center; color: #8b5b17; border: 0; border-radius: 50%; background: rgb(255 255 255 / 55%); font: inherit; line-height: 1; cursor: pointer; }
.login-actions { min-width: 17rem; white-space: nowrap; }
.login-actions form { margin: 0; }
.group-add-form { display: inline-flex; width: 13.75rem; align-items: center; gap: .4rem; vertical-align: middle; }
.group-add-form select, .group-add-form button, .button-secondary { min-height: 2.15rem; padding: .4rem .55rem; border: 1px solid #b8c5be; font: inherit; }
.group-add-form select { width: 0; min-width: 0; flex: 1; border-radius: .4rem; background: white; }
.group-add-form button { width: 2.15rem; padding: 0; flex: 0 0 2.15rem; color: white; border-color: #174f3d; border-radius: 50%; background: #174f3d; font-size: 1.15rem; line-height: 1; cursor: pointer; }
.login-delete-form { display: inline-flex; margin-left: .45rem !important; vertical-align: middle; }
.login-delete-form button { display: grid; width: 2.15rem; height: 2.15rem; padding: .5rem; place-items: center; color: #a03f3f; border: 1px solid #e2bcbc; border-radius: 50%; background: #fff5f5; cursor: pointer; }
.login-delete-form button:hover { color: white; border-color: #a03f3f; background: #a03f3f; }
.login-delete-form svg { width: 1rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.login-password-action { display: inline-grid; width: 2.15rem; height: 2.15rem; margin-left: .45rem; padding: .5rem; place-items: center; vertical-align: middle; color: #256750; border: 1px solid #bdd9cf; border-radius: 50%; background: #eef8f4; cursor: pointer; }
.login-password-action:hover { color: white; border-color: #256750; background: #256750; }.login-password-action svg { width: 1rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.login-password-dialog { width: min(30rem, calc(100% - 2rem)); }.login-password-account { display: grid; gap: .12rem; padding: .7rem .8rem; border-radius: .65rem; background: #f1f6f3; }.login-password-account span, .login-password-account small { color: #718179; font-size: .68rem; }.login-password-account strong { color: #174f3d; }
.confirm-dialog { width: min(31rem, calc(100% - 2rem)); padding: 0; color: #18352c; border: 0; border-radius: 1rem; background: white; box-shadow: 0 1.5rem 5rem rgb(8 35 28 / 32%); }
.confirm-dialog[open] { animation: dialog-in .18s ease-out; }
.confirm-dialog::backdrop { background: rgb(10 29 24 / 62%); backdrop-filter: blur(3px); animation: backdrop-in .18s ease-out; }
.confirm-dialog__header { display: flex; align-items: center; gap: .85rem; padding: 1.35rem 1.4rem 1.1rem; border-bottom: 1px solid #e4ebe7; }
.confirm-dialog__header > div { min-width: 0; }
.confirm-dialog__header p { margin: 0 0 .18rem; color: #b25b45; font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.confirm-dialog__header h2 { margin: 0; color: #173f34; font-size: 1.22rem; }
.confirm-dialog__icon { display: grid; flex: 0 0 2.65rem; height: 2.65rem; place-items: center; color: #a03f3f; border-radius: .75rem; background: #fff0ef; }
.confirm-dialog__icon svg { width: 1.25rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.confirm-dialog__close { display: grid; flex: 0 0 2rem; height: 2rem; margin-left: auto; padding: 0; place-items: center; color: #708079; border: 0; border-radius: 50%; background: #f0f4f1; font-size: 1.25rem; cursor: pointer; }
.confirm-dialog__body { padding: 1.5rem 1.4rem; }
.confirm-dialog__question { margin: 0 0 1.15rem; color: #29483f; font-size: 1.05rem; font-weight: 700; text-align: center; }
.confirm-dialog__notice { display: grid; gap: .25rem; padding: .9rem 1rem; color: #725827; border: 1px solid #f0dbad; border-radius: .75rem; background: #fff8e8; font-size: .84rem; line-height: 1.45; }
.confirm-dialog__actions { display: flex; justify-content: flex-end; gap: .65rem; padding: 1rem 1.4rem 1.3rem; background: #f7f9f7; }
.confirm-dialog__actions button { min-height: 2.55rem; padding: .65rem 1rem; border-radius: .65rem; font: inherit; font-weight: 700; cursor: pointer; }
.confirm-dialog__cancel { color: #52665f; border: 1px solid #ccd7d1; background: white; }
.confirm-dialog__submit { color: white; border: 1px solid #a03f3f; background: #a03f3f; box-shadow: 0 .5rem 1rem rgb(160 63 63 / 18%); }
.confirm-dialog__submit:hover { background: #873434; }
@keyframes dialog-in { from { opacity: 0; transform: translateY(.75rem) scale(.98); } }
@keyframes backdrop-in { from { opacity: 0; } }
.form-dialog { width: min(34rem, calc(100% - 2rem)); max-height: calc(100vh - 2rem); padding: 0; color: #18352c; border: 0; border-radius: 1rem; background: white; box-shadow: 0 1.5rem 5rem rgb(8 35 28 / 32%); }
.form-dialog[open] { animation: dialog-in .18s ease-out; }
.form-dialog::backdrop { background: rgb(10 29 24 / 62%); backdrop-filter: blur(3px); animation: backdrop-in .18s ease-out; }
.form-dialog__header { display: flex; align-items: center; gap: .85rem; padding: 1.35rem 1.4rem 1.1rem; border-bottom: 1px solid #e4ebe7; }
.form-dialog__header > div { min-width: 0; }
.form-dialog__header p { margin: 0 0 .18rem; color: #b66b25; font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.form-dialog__header h2 { margin: 0; color: #173f34; font-size: 1.22rem; }
.form-dialog__icon { display: grid; flex: 0 0 2.65rem; height: 2.65rem; place-items: center; color: white; border-radius: .75rem; background: #174f3d; font-size: 1.5rem; }
.form-dialog__body { display: grid; gap: 1rem; padding: 1.35rem 1.4rem; }
.dialog-field { display: grid; gap: .4rem; color: #29483f; font-size: .84rem; font-weight: 700; }
.dialog-field small { color: #84918b; font-weight: 500; }
.dialog-field input, .dialog-field select, .dialog-field textarea { width: 100%; min-height: 2.8rem; padding: .65rem .75rem; color: #18352c; border: 1px solid #cdd9d2; border-radius: .65rem; outline: none; background: white; font: inherit; }
.dialog-field textarea { resize: vertical; }
.dialog-field input:focus, .dialog-field select:focus, .dialog-field textarea:focus { border-color: #338069; box-shadow: 0 0 0 .2rem rgb(51 128 105 / 12%); }
.dialog-check { display: flex; align-items: center; gap: .6rem; color: #40574f; font-size: .86rem; cursor: pointer; }
.dialog-check input { width: 1rem; height: 1rem; accent-color: #174f3d; }
.form-dialog__submit { color: white; border: 1px solid #174f3d; background: #174f3d; box-shadow: 0 .5rem 1rem rgb(23 79 61 / 18%); }
.form-dialog__submit:hover { background: #20654f; }
.user-form-dialog { width: min(42rem, calc(100% - 2rem)); }
.user-detail-dialog { width: min(48rem, calc(100% - 2rem)); }
.user-detail-dialog .form-dialog__icon svg { width: 1.35rem; fill: none; stroke: currentColor; stroke-width: 1.8; }
.user-detail-dialog__body { max-height: calc(100vh - 12rem); overflow-y: auto; }
.user-detail-summary { display: flex; align-items: center; gap: .8rem; padding: .85rem; border-radius: .8rem; background: #f2f7f4; }
.user-detail-summary > div { display: grid; flex: 1; gap: .15rem; }
.user-detail-summary strong { font-size: 1.05rem; }
.user-detail-summary small { color: #718179; }
.user-detail-avatar { position: relative; display: grid; flex: 0 0 3.5rem; height: 3.5rem; place-items: center; overflow: hidden; color: #285f4e; border-radius: .8rem; background: #dcece5; font-weight: 800; }
.user-detail-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.user-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.user-detail-grid section:only-child { grid-column: 1 / -1; }
.user-detail-grid section, .user-detail-section { padding: .9rem; border: 1px solid #e0e8e3; border-radius: .75rem; }
.user-detail-grid h3, .user-detail-section h3 { margin: 0 0 .65rem; color: #174f3d; font-size: .82rem; }
.user-detail-grid dl { display: grid; gap: .42rem; margin: 0; }
.user-detail-grid dl div { display: grid; grid-template-columns: 5rem 1fr; gap: .5rem; font-size: .75rem; }
.user-detail-grid dt { color: #718179; }
.user-detail-grid dd { margin: 0; overflow-wrap: anywhere; }
.user-detail-grid dd a { color: #1f6b52; }
.user-detail-payment { margin-top: .7rem; }
.user-detail-section h3 small { margin-left: .25rem; color: #718179; }
.user-detail-children { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; }
.user-detail-remark { margin: 0; color: #51675e; font-size: .78rem; line-height: 1.55; }
@media (max-width: 620px) { .user-detail-grid, .user-detail-children { grid-template-columns: 1fr; } }
.rights-page { padding: 0; overflow: hidden; }
.rights-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; padding: 2rem; }
.rights-heading h1 { margin: .15rem 0 .35rem; color: #173f34; font-size: clamp(2rem, 4vw, 3.1rem); }.rights-heading p { margin: 0; color: #718179; }
.rights-save-state { display: flex; align-items: center; gap: .4rem; color: #697a72; font-size: .72rem; white-space: nowrap; }.rights-save-state span { width: .55rem; height: .55rem; border-radius: 50%; background: #9eaaa5; }
.rights-save-state.is-saving span { background: #dda331; animation: pulse 1s infinite; }.rights-save-state.is-saved { color: #1d6c51; }.rights-save-state.is-saved span { background: #2a936d; }.rights-save-state.is-error { color: #a43e45; }.rights-save-state.is-error span { background: #c94e56; }
.rights-help { margin: 0 2rem 1.25rem; padding: .85rem 1rem; color: #52675e; border: 1px solid #dce8e2; border-radius: .75rem; background: #f4f8f6; font-size: .76rem; }.rights-help strong { color: #174f3d; }.rights-help p { margin: .2rem 0 0; line-height: 1.45; }.rights-help .rights-readonly { color: #9a591b; font-weight: 750; }
.rights-group-tabs { display: flex; gap: .35rem; padding: 0 2rem; overflow-x: auto; border-bottom: 1px solid #dce5e0; }.rights-group-tabs button { display: grid; gap: .1rem; padding: .65rem .9rem; color: #65776f; border: 0; border-bottom: 3px solid transparent; background: transparent; font: inherit; font-size: .76rem; font-weight: 750; white-space: nowrap; cursor: pointer; }.rights-group-tabs button small { font-size: .58rem; font-weight: 600; }.rights-group-tabs button.is-active { color: #175740; border-color: #2a8a68; }
.rights-group-panel { padding: 1.35rem 2rem 2rem; }.rights-group-panel[hidden] { display: none; }.rights-group-panel > header { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: .8rem; }.rights-group-panel > header p { margin: 0; color: #b66b25; font-size: .62rem; font-weight: 800; text-transform: uppercase; }.rights-group-panel > header h2 { margin: .15rem 0 0; color: #174f3d; font-size: 1.15rem; }.rights-group-panel > header > span { color: #7c8a84; font-size: .68rem; }
.rights-module-list { display: grid; border: 1px solid #dce5e0; border-radius: .8rem; overflow: hidden; }.rights-module-row { display: grid; grid-template-columns: minmax(9rem, 1fr) minmax(30rem, 2.4fr) 2.5rem; align-items: center; gap: 1rem; padding: .7rem .85rem; background: white; }.rights-module-row + .rights-module-row { border-top: 1px solid #e5ebe8; }.rights-module-row:nth-child(even) { background: #fafcfb; }
.rights-module-name { display: grid; gap: .08rem; }.rights-module-name strong { color: #24473b; font-size: .8rem; }.rights-module-name small { color: #89978f; font-size: .62rem; }.rights-actions { display: grid; grid-template-columns: repeat(5, minmax(5.2rem, 1fr)); gap: .35rem; }
.rights-toggle { display: flex; align-items: center; gap: .35rem; min-width: 0; padding: .35rem .4rem; border: 1px solid #dce5e0; border-radius: .5rem; background: white; cursor: pointer; }.rights-toggle input { position: absolute; opacity: 0; pointer-events: none; }.rights-toggle span { display: grid; flex: 0 0 1.3rem; height: 1.3rem; place-items: center; color: #6f7d77; border-radius: .35rem; background: #edf2ef; font-size: .6rem; font-weight: 850; }.rights-toggle em { overflow: hidden; color: #65776f; font-size: .65rem; font-style: normal; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.rights-toggle:has(input:checked) { border-color: #b8dccd; background: #edf8f3; }.rights-toggle:has(input:checked) span { color: white; background: #278565; }.rights-toggle:has(input:checked) em { color: #175740; }.rights-toggle:has(input:disabled) { cursor: default; opacity: .7; }.rights-toggle:focus-within { outline: 2px solid #e9c772; outline-offset: 1px; }.rights-mask { color: #a36225; font-size: .7rem; font-weight: 800; text-align: center; }
@media (max-width: 900px) { .rights-heading { align-items: start; flex-direction: column; }.rights-module-row { grid-template-columns: 1fr auto; }.rights-actions { grid-column: 1 / -1; grid-row: 2; }.rights-mask { grid-column: 2; grid-row: 1; } }
@media (max-width: 620px) { .rights-heading, .rights-group-panel { padding: 1.25rem; }.rights-help { margin-inline: 1.25rem; }.rights-group-tabs { padding-inline: 1.25rem; }.rights-actions { grid-template-columns: repeat(2, 1fr); }.rights-save-state { white-space: normal; } }
.user-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.user-association-status { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem 1.25rem; margin: 0; padding: .9rem 1rem; border: 1px solid #d8e4de; border-radius: .7rem; background: #f8fbf9; }
.user-association-status legend { padding: 0 .35rem; color: #173f32; font-size: .82rem; font-weight: 800; }
.user-membership-rate { grid-column: 1 / -1; max-width: 18rem; }
.user-membership-rate[hidden] { display: none; }
.user-association-status small { grid-column: 1 / -1; color: #687970; line-height: 1.4; }
.user-form-wide { grid-column: 1 / -1; }
.form-dialog__hint { margin: 0; padding: .7rem .8rem; color: #687970; border-radius: .6rem; background: #f1f6f3; font-size: .78rem; line-height: 1.45; }
.photo-editor { display: grid; grid-template-columns: auto 1fr; gap: 1.25rem; align-items: center; padding: 1rem; border: 1px solid #deE8e2; border-radius: .85rem; background: #f8faf8; }
.photo-canvas-wrap { position: relative; width: 8rem; height: 8rem; overflow: hidden; border: .25rem solid white; border-radius: 1rem; background: #edf4f0; box-shadow: 0 .45rem 1.2rem rgb(23 79 61 / 12%); }
.photo-canvas-wrap canvas { display: block; width: 100%; height: 100%; cursor: grab; touch-action: none; }
.photo-canvas-wrap canvas:active { cursor: grabbing; }
.photo-canvas-wrap > span { position: absolute; inset: 0; display: grid; place-items: center; color: #91a29a; font-size: .75rem; pointer-events: none; }
.photo-canvas-wrap > span[hidden] { display: none; }
.photo-editor__controls { display: grid; gap: .65rem; }
.photo-editor__controls > label:not(.photo-file-button) { display: grid; gap: .25rem; color: #5c7067; font-size: .75rem; }
.photo-editor__controls input[type="range"] { width: 100%; accent-color: #174f3d; }
.photo-file-button { justify-self: start; padding: .5rem .7rem; color: #1f604a; border: 1px solid #b8d4c8; border-radius: .55rem; background: white; font-size: .78rem; font-weight: 700; cursor: pointer; }
.photo-file-button input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.photo-editor__controls > div { display: flex; gap: .4rem; }
.photo-editor__controls > div button { width: 2rem; height: 2rem; color: #315d4e; border: 1px solid #c7d8d0; border-radius: 50%; background: white; font-size: 1.1rem; cursor: pointer; }
.photo-editor__controls small { color: #829088; font-size: .7rem; }
.button-secondary { border-radius: .4rem; color: #40574f; background: white; cursor: pointer; }
.muted { color: #84918b; font-size: .86rem; }
.flash { display: flex; width: 100%; align-items: center; justify-content: space-between; margin-bottom: 1rem; padding: .85rem 1rem; border-radius: .6rem; font: inherit; text-align: left; cursor: pointer; transition: opacity .22s, transform .22s; }
.flash span { margin-left: 1rem; font-size: 1.15rem; line-height: 1; }
.flash.is-hiding { opacity: 0; transform: translateY(-.4rem); }
.flash-success { color: #155d3b; border: 1px solid #b9dfca; background: #e5f6ec; }
.flash-error { color: #852d32; border: 1px solid #f1c4c6; background: #fff0f0; }
.page-add-button { display: inline-flex; align-items: center; gap: .5rem; margin-top: .5rem; padding: .55rem .8rem; color: white; border: 0; border-radius: .6rem; background: #174f3d; font: inherit; font-weight: 700; cursor: pointer; }
.page-add-button span { display: inline-flex; width: 1.25rem; height: 1.25rem; align-items: center; justify-content: center; padding-bottom: .08rem; border-radius: 50%; background: rgb(255 255 255 / 16%); font-family: Arial, sans-serif; line-height: 1; }
.page-add-button svg { display: block; width: .8rem; height: .8rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-width: 2; }
.contribution-page { max-width: 82rem; }
.contribution-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contribution-table tbody tr { transition: background .15s; }
.contribution-table tbody tr:hover { background: #f8faf8; }
.contribution-year { display: inline-block; min-width: 4.4rem; padding: .35rem .6rem; color: #174f3d; border-radius: .45rem; background: #edf5f0; font-weight: 800; text-align: center; }
.money-value { color: #1d5946; font-size: 1rem; }
.exempt-value { color: #74857d; }
.contribution-row-actions { white-space: nowrap; }
.contribution-row-actions form { display: inline-flex; margin: 0 0 0 .45rem; vertical-align: middle; }
.contribution-delete { display: grid; width: 2.15rem; height: 2.15rem; padding: .5rem; place-items: center; color: #a03f3f; border: 1px solid #e2bcbc; border-radius: 50%; background: #fff5f5; cursor: pointer; }
.contribution-delete:hover { color: white; border-color: #a03f3f; background: #a03f3f; }
.contribution-delete svg { width: 1rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.child-overview { display: grid; grid-template-columns: minmax(20rem, .85fr) minmax(36rem, 1.65fr); gap: 2.5rem; align-items: end; }
.child-overview h1 { margin: .3rem 0; }
.child-overview__intro > p:not(.eyebrow) { color: #708079; font-size: .86rem; }
.child-overview__intro .page-add-button { margin-top: 1.25rem; }
.child-overview__intro .user-heading-actions .page-add-button { margin-top: 0; }
.child-overview__tools { display: grid; justify-items: end; gap: .75rem; }
.child-overview__tools .search-form { width: min(100%, 30rem); }
.child-overview__tools .search-form div { width: 100%; }
.child-overview__tools .search-form input { min-width: 0; flex: 1; }
.child-statistics { display: flex; width: 100%; min-height: 3rem; align-items: center; justify-content: center; flex-wrap: wrap; gap: .45rem .6rem; padding: .65rem .8rem; color: #50675e; border: 1px solid #dfe9e4; border-radius: .75rem; background: #f6f9f7; font-size: .76rem; }
.child-stat-summary { padding: .3rem .55rem; color: #315448; border-radius: 999px; background: #e5f2eb; }
.child-stat-summary strong { color: #174f3d; font-size: .9rem; }
.child-stat-label { color: #788980; font-size: .64rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.child-stat-item { white-space: nowrap; }
.child-stat-item strong { color: #174f3d; font-size: .86rem; }
.child-stat-separator { width: 1px; height: 1.4rem; margin-inline: .2rem; background: #cfddd6; }
.child-filters { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 1rem; margin: 1.5rem calc(clamp(1.25rem, 4vw, 3rem) * -1) 0; padding: .9rem 1rem; border-block: 1px solid #e0e8e3; background: #f6f8f6; }
.child-filters > label:not(.filter-switch) { display: flex; align-items: center; gap: .4rem; color: #40574f; font-size: .82rem; font-weight: 700; }
.child-filters select { min-height: 2rem; padding: .3rem 1.8rem .3rem .55rem; color: #29483f; border: 1px solid #cbd8d1; border-radius: .5rem; background: white; font: inherit; }
.child-table { scrollbar-gutter: stable; }
.child-table tbody tr:hover { background: #f8faf8; }
.child-summary { display: inline-flex; min-width: 12rem; align-items: center; gap: .7rem; }
.child-row-tools { display: grid; flex: 0 0 2.1rem; gap: .35rem; align-self: center; }
.follow-up-trigger { position: relative; display: grid; flex: 0 0 2.1rem; width: 2.1rem; height: 2.1rem; padding: .48rem; place-items: center; color: #315d4e; border: 1px solid #c4d8cf; border-radius: .55rem; background: #f2f7f4; cursor: pointer; }
.follow-up-trigger:hover { color: white; border-color: #246c54; background: #246c54; }
.follow-up-trigger svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.follow-up-trigger small { position: absolute; top: -.45rem; right: -.3rem; color: #9d5718; font-size: .68rem; font-weight: 900; line-height: 1; text-shadow: 0 1px 0 white, 1px 0 0 white, 0 -1px 0 white, -1px 0 0 white; }
.child-qr-trigger { display: grid; width: 2.1rem; height: 2.1rem; padding: .48rem; place-items: center; color: #71847b; border: 1px solid #d3ded8; border-radius: .55rem; background: #f7f9f8; opacity: .72; cursor: not-allowed; }
.child-qr-trigger.is-active { color: #27634f; border-color: #bdd5cb; border-radius: 50%; background: #edf7f2; opacity: 1; cursor: pointer; }
.child-qr-trigger.is-active:hover { color: #fff; border-color: #27634f; background: #27634f; }
.child-qr-trigger.is-active.is-enabled { color: #fff; border-color: #247d62; background: #247d62; }
.child-qr-trigger svg { width: 1.1rem; height: 1.1rem; fill: currentColor; }
.child-summary > span:last-child { display: grid; gap: .12rem; }
.child-detail-link { display: grid; gap: .12rem; color: #18352c; text-decoration: none; }
.child-detail-link:hover { color: #267158; text-decoration: underline; text-underline-offset: .2rem; }
.follow-up-detail-compose { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: .8rem; margin: 0 0 1.3rem; padding: 1rem; border: 1px solid #d8e5df; border-radius: .8rem; background: #f7faf8; }
.follow-up-detail-compose label { display: grid; gap: .4rem; font-weight: 700; }
.follow-up-detail-compose textarea { width: 100%; padding: .65rem; border: 1px solid #bdcec7; border-radius: .45rem; resize: vertical; font: inherit; }
.follow-up-entry-actions { display: flex; align-items: center; gap: .25rem; margin: 0; white-space: nowrap; }
.follow-up-entry-actions form { margin: 0; }
.follow-up-entry-actions .icon-action { flex: 0 0 2.15rem; }
.follow-up-entry-actions .icon-action-danger { color: #a34242; border-color: #edc5c5; background: #fff4f3; }
.follow-up-entry-actions .icon-action-danger:hover { color: white; border-color: #b14747; background: #b14747; }
.detail-section-actions { display: flex; align-items: center; gap: 1rem; }
.follow-up-add-dialog { width: min(40rem, calc(100% - 2rem)); }
.follow-up-table { min-width: 50rem; }
.follow-up-table tbody tr { transition: background-color .15s ease; }
.follow-up-table tbody tr:hover { background: #f8faf8; }
.school-supply-page { display: grid; gap: 1rem; }
.school-supply-heading { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.school-supply-heading h1 { margin: .15rem 0 .35rem; color: #173f34; font-size: clamp(2rem,4vw,3rem); }
.school-supply-heading p { margin: 0; color: #718179; }
.school-supply-progress { display: grid; min-width: 13rem; gap: .25rem; padding: .85rem 1rem; color: #687970; border-radius: .75rem; background: #f1f7f4; }
.school-supply-progress strong { color: #247d62; font-size: 1.6rem; }.school-supply-progress span { font-size: .72rem; }.school-supply-progress progress { width: 100%; accent-color: #247d62; }
.school-supply-controls { display: flex; align-items: end; flex-wrap: wrap; gap: .7rem; padding: .8rem; border: 1px solid #e0e9e4; border-radius: .75rem; background: #f8faf9; }
.school-supply-controls label { display: grid; gap: .3rem; color: #60736a; font-size: .68rem; font-weight: 750; }.school-supply-controls select,.school-supply-controls input { min-height: 2.4rem; padding: .5rem .65rem; border: 1px solid #cbdad3; border-radius: .5rem; background: white; }.school-supply-search { min-width: min(18rem,100%); flex: 1; }
.school-supply-table tbody tr { transition: background .15s ease; }.school-supply-table tbody tr:hover { background: #fff8dd; }.school-supply-table tbody tr.is-distributed { background: #f1f8f4; }.school-supply-table tbody tr.is-saving { opacity: .58; }
.supply-photo { position: relative; display: grid; width: 3.25rem; height: 3.25rem; place-items: center; overflow: visible; color: #44675a; border-radius: .65rem; background: #e6f0eb; font-size: .7rem; font-weight: 800; }.supply-photo img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: .65rem; object-fit: cover; }.supply-photo small { position: absolute; top: -.35rem; right: -.35rem; z-index: 1; display: grid; min-width: 1.3rem; height: 1.3rem; padding: 0 .2rem; place-items: center; color: white; border: 2px solid white; border-radius: 1rem; background: #e58c17; font-size: .58rem; }
.supply-filiation { display: inline-block; padding: .3rem .55rem; color: #566b62; border-radius: 2rem; background: #eef3f0; font-size: .72rem; }
.supply-check { display: inline-flex; align-items: center; gap: .55rem; cursor: pointer; }.supply-check input { position: absolute; opacity: 0; pointer-events: none; }.supply-check > span { display: grid; width: 2.35rem; height: 2.35rem; place-items: center; color: transparent; border: 2px solid #b8c9c1; border-radius: .55rem; background: white; transition: .15s ease; }.supply-check svg { width: 1.45rem; fill: none; stroke: currentColor; stroke-width: 3; }.supply-check input:checked + span { color: white; border-color: #247d62; background: #247d62; }.supply-check input:focus-visible + span { outline: 3px solid rgb(36 125 98 / 22%); }.supply-check em { color: #718179; font-size: .7rem; font-style: normal; font-weight: 700; }.supply-check input:disabled + span { opacity: .6; cursor: not-allowed; }
@media (max-width:700px) { .school-supply-heading { align-items: stretch; flex-direction: column; gap: 1rem; }.school-supply-controls > * { width: 100%; }.school-supply-table { min-width: 42rem; } }
.follow-up-table th:last-child { width: 6rem; }
.follow-up-table-author { display: flex; align-items: center; gap: .65rem; }
.follow-up-table time { display: grid; white-space: nowrap; }
.follow-up-table time small { color: #73847e; }
.follow-up-table-comment { min-width: 18rem; margin: 0; white-space: pre-line; }
.document-dialog { width: min(42rem, calc(100% - 2rem)); }
.document-upload-items { display: grid; gap: .75rem; max-height: 22rem; overflow-y: auto; }
.document-upload-item { display: grid; grid-template-columns: minmax(8rem, .8fr) minmax(11rem, 1fr) minmax(12rem, 1.4fr); align-items: start; gap: .75rem; padding: .85rem; border: 1px solid #d8e5df; border-radius: .7rem; background: #f7faf8; }
.document-upload-item > strong { padding-top: 1.75rem; overflow-wrap: anywhere; }
.document-upload-item .dialog-field { margin: 0; }
@media (max-width: 760px) { .document-upload-item { grid-template-columns: 1fr; } .document-upload-item > strong { padding-top: 0; } }
.document-table { min-width: 65rem; }
.document-actions { display: flex; align-items: center; gap: .25rem; white-space: nowrap; }
.document-actions form { margin: 0; }
.document-actions .icon-action-danger { color: #a34242; border-color: #edc5c5; background: #fff4f3; }
.document-actions .icon-action-danger:hover { color: white; border-color: #b14747; background: #b14747; }
.document-empty { display: grid; justify-items: center; gap: .65rem; padding: 2.5rem 1rem; text-align: center; border: 1px dashed #bfd3ca; border-radius: .8rem; background: #f5f9f6; }
.document-empty strong { color: #174f3d; font-size: 1.05rem; }
.document-empty p { margin: 0 0 .35rem; color: #667970; }
.child-summary small { color: #87968f; font-size: .7rem; font-weight: 500; }
.child-photo-meta { display: grid; flex: 0 0 3.25rem; justify-items: center; gap: .18rem; }
.child-avatar { position: relative; display: grid; width: 3.1rem; height: 3.1rem; place-items: center; overflow: visible; color: #7a3f61; border-radius: .75rem; background: #f9e5f0; font-size: .72rem; font-weight: 800; }
.child-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: inherit; object-fit: cover; }
.child-summary .child-age { position: absolute; z-index: 2; top: -.38rem; right: -.45rem; display: grid; min-width: 1.35rem; height: 1.35rem; margin: 0; padding: 0 .25rem; place-items: center; color: #674000; border: 2px solid white; border-radius: 999px; background: #f5a623; font-size: .62rem; font-weight: 800; line-height: 1; }
.child-summary .child-start-year { margin: 0; color: #687a72; font-size: .67rem; font-weight: 650; line-height: 1; }
.schooling-cell, .fee-cell, .local-contact, .sponsor-card { display: grid; min-width: 10rem; gap: .15rem; }
.schooling-cell span, .fee-cell span { color: #5f746b; font-size: .78rem; }
.schooling-cell small, .fee-cell small, .sponsor-card small, .local-contact small { margin: 0; color: #87968f; font-size: .7rem; }
.sponsor-card { padding: .45rem .55rem; border: 1px solid #e3e9e5; border-radius: .65rem; background: #fafcfb; }
.sponsor-card-action { width: 100%; color: inherit; text-align: left; font: inherit; cursor: pointer; transition: border-color .15s ease, background .15s ease, box-shadow .15s ease; }
.sponsor-card-action:hover, .sponsor-card-action:focus-visible { border-color: #e9c772; outline: none; background: #fff5cf; box-shadow: 0 .35rem .9rem rgb(132 99 25 / 12%); }
.fee-cell strong { color: #1d5946; }
.fee-warning { display: grid; min-width: 8.5rem; gap: .15rem; padding: .5rem .6rem; color: #874d16; border: 1px solid #f0cf9d; border-radius: .65rem; background: #fff4df; }
.fee-warning > span { display: grid; gap: .12rem; }
.fee-warning-actionable { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) 2rem; align-items: center; gap: .55rem; padding-right: .35rem; }
.fee-warning-actionable > .fee-action { justify-self: end; }
.fee-warning strong { font-size: .78rem; }
.fee-warning small { margin: 0; color: #9a6a35; font-size: .68rem; }
.fee-cell-wrap { display: grid; width: 12.75rem; grid-template-columns: minmax(0, 10.2rem) 2rem; align-items: center; gap: .55rem; }
.fee-cell-wrap > .fee-warning, .fee-cell-wrap > .fee-cell, .fee-cell-wrap > .status { grid-column: 1; }
.fee-cell-wrap > .fee-warning-actionable { grid-column: 1 / -1; }
.fee-cell-wrap > .fee-action { grid-column: 2; grid-row: 1; justify-self: end; margin-right: .35rem; }
.fee-action { display: grid; flex: 0 0 2rem; width: 2rem; height: 2rem; padding: 0; place-items: center; border-radius: 50%; font: inherit; line-height: 1; cursor: pointer; }
.fee-warning-actionable .fee-action { width: 2rem; height: 2rem; }
.fee-action-add { color: white; border: 1px solid #1f7558; background: #278365; font-size: 1.25rem; font-weight: 400; }
.fee-action-add > span { display: grid; width: 100%; height: 100%; padding-bottom: .08em; place-items: center; font-family: Arial, sans-serif; line-height: 1; }
.fee-action-add:hover { background: #185b45; }
.fee-action-edit { color: #1d624d; border: 1px solid #b9d7cc; background: #edf7f3; }
.fee-action-edit:hover { color: white; border-color: #1d624d; background: #1d624d; }
.fee-action svg { display: block; width: .95rem; height: .95rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.school-fee-dialog { width: min(35rem, calc(100% - 2rem)); }
.school-fee-context { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.school-fee-context span { display: grid; gap: .2rem; padding: .75rem; border: 1px solid #dce8e2; border-radius: .7rem; background: #f5f9f7; }
.school-fee-context small { color: #74857d; }
.school-fee-context strong { color: #174f3d; }
.school-fee-amounts { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.school-fee-total { display: flex; align-items: center; justify-content: space-between; padding: .8rem 1rem; color: #174f3d; border-radius: .7rem; background: #eaf5ef; }
.school-fee-total strong { font-size: 1.2rem; }
.school-session-dialog { width: min(31rem, calc(100% - 2rem)); }
.school-session-preview { display: grid; gap: .2rem; padding: .85rem 1rem; color: #6f8078; border: 1px solid #dce8e2; border-radius: .7rem; background: #f5f9f7; }
.school-session-preview strong { color: #174f3d; font-size: 1.15rem; }
.school-session-preview small { font-size: .72rem; }
.school-fee-page { max-width: 92rem; }
.school-fee-heading { display: grid; grid-template-columns: 1fr minmax(20rem, 28rem); gap: 2rem; align-items: end; }
.school-fee-heading h1 { margin: .3rem 0; }
.school-fee-heading > div > p:last-of-type { color: #708079; font-size: .86rem; }
.school-fee-heading .search-form input { min-width: 0; flex: 1; }
.school-fee-heading .page-add-button { margin-top: .9rem; }
.school-fee-controls { display: flex; align-items: end; justify-content: center; flex-wrap: wrap; gap: 1rem; margin: 1.4rem calc(clamp(1.25rem, 4vw, 3rem) * -1) 0; padding: .8rem 1rem; border-block: 1px solid #e0e8e3; background: #f6f8f6; }
.school-fee-controls label { display: grid; gap: .3rem; color: #40574f; font-size: .72rem; font-weight: 750; }
.school-fee-controls select { min-width: 10rem; padding: .5rem 2rem .5rem .65rem; border: 1px solid #cbd8d1; border-radius: .5rem; background: white; font: inherit; }
.school-fee-session-state { padding: .48rem .7rem; color: #7b5a24; border-radius: 999px; background: #fff0d4; font-size: .7rem; font-weight: 750; }
.school-fee-session-state.is-open { color: #1d604a; background: #dff2e9; }
.school-fee-session-state.is-planned { color: #7b5a24; background: #fff0d4; }
.school-fee-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; margin: 1rem 0; }
.school-fee-stats a { display: flex; align-items: baseline; gap: .45rem; padding: .7rem .85rem; color: #667970; border: 1px solid #dfe9e4; border-radius: .7rem; background: #f8faf9; text-decoration: none; }
.school-fee-stats a:hover { border-color: #9fc8b8; background: #f0f7f3; }
.school-fee-stats strong { color: #174f3d; font-size: 1.2rem; }
.school-fee-stats span { font-size: .75rem; }
.accounting-page { max-width: 96rem; }
.accounting-heading { display: grid; grid-template-columns: 1fr minmax(20rem,28rem); align-items: end; gap: 2rem; }
.accounting-heading h1 { margin: .25rem 0; }
.accounting-heading > div > p:last-of-type { color: #708079; font-size: .86rem; }
.accounting-heading .page-add-button { margin-top: .9rem; }
.accounting-filters { display: flex; justify-content: center; gap: 1rem; margin: 1.3rem calc(clamp(1.25rem,4vw,3rem) * -1) 1rem; padding: .8rem; border-block: 1px solid #e0e8e3; background: #f6f8f6; }
.accounting-filters label { display: grid; gap: .25rem; color: #40574f; font-size: .72rem; font-weight: 750; }
.accounting-filters select { min-width: 12rem; padding: .5rem 2rem .5rem .65rem; border: 1px solid #cbd8d1; border-radius: .5rem; background: white; font: inherit; }
.accounting-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: .8rem; margin: 1rem 0 1.5rem; }
.accounting-stats article { padding: 1rem; border: 1px solid #dce8e2; border-radius: .8rem; background: #f8fbf9; }
.accounting-stats article:nth-child(2) { background: #f3f7fc; }
.accounting-stats article:nth-child(3) { background: #f2faf5; }
.accounting-stats article > span { color: #718279; font-size: .7rem; font-weight: 750; text-transform: uppercase; }
.accounting-stats article > strong { display: block; margin: .35rem 0 .75rem; color: #174f3d; font-size: 1.45rem; }
.accounting-stats dl { display: grid; gap: .3rem; margin: 0; }
.accounting-stats dl div { display: flex; justify-content: space-between; gap: .7rem; font-size: .72rem; }
.accounting-stats dt { color: #73837b; }.accounting-stats dd { margin: 0; color: #284a3f; font-weight: 700; }
.accounting-stats p { color: #718279; font-size: .72rem; }
.payment-table { min-width: 72rem; }
.payment-type { display: inline-flex; padding: .3rem .55rem; border-radius: 999px; font-size: .68rem; font-weight: 750; }
.payment-type.type-1 { color: #276143; background: #e2f3e8; }.payment-type.type-2 { color: #78531c; background: #fff0d6; }.payment-type.type-3 { color: #285b78; background: #e5f2fa; }
.payment-remark { display: block; max-width: 18rem; color: #66776f; font-size: .74rem; }
.accounting-overdue { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid #e0e8e3; }
.overdue-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.overdue-grid article { padding: 1rem; border: 1px solid #ead7c8; border-radius: .8rem; background: #fffaf5; }
.overdue-grid h3 { display: flex; justify-content: space-between; margin: 0 0 .7rem; color: #63482d; font-size: .9rem; }
.overdue-grid h3 span { display: grid; min-width: 1.5rem; min-height: 1.5rem; place-items: center; border-radius: 50%; background: #f5dfca; }
.overdue-grid ul { display: grid; max-height: 20rem; gap: 0; margin: 0; padding: 0; overflow: auto; list-style: none; }
.overdue-grid li { display: grid; grid-template-columns: 1fr auto; gap: .15rem .7rem; padding: .55rem 0; border-bottom: 1px solid #efe2d7; font-size: .75rem; }
.overdue-grid li > small { grid-column: 1 / -1; color: #89948f; }.overdue-grid li span small { display: block; color: #89948f; }
.overdue-payment { display: grid; width: 100%; grid-column: 1 / -1; grid-template-columns: 1fr auto; gap: .15rem .7rem; margin: -.35rem 0; padding: .45rem .5rem; color: inherit; border: 1px solid transparent; border-radius: .55rem; background: transparent; text-align: left; cursor: pointer; }.overdue-payment:hover { border-color: #e5bd7b; background: #fff3d9; }.overdue-payment > small { grid-column: 1; color: #89948f; }.overdue-payment em,.overdue-grid li > em { grid-column: 2; color: #a66625; font-size: .62rem; font-style: normal; font-weight: 750; white-space: nowrap; }.overdue-grid li > em { align-self: end; }
.payment-dialog { width: min(46rem,calc(100% - 2rem)); }.payment-form-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: .8rem; }.payment-types { margin: 0; padding: 0; border: 0; }.payment-types legend { margin-bottom: .4rem; }
.payment-dialog [hidden] { display: none !important; }
.payment-year-input { display: flex; align-items: center; gap: .45rem; }
.payment-year-input input { min-width: 0; }
.payment-year-input strong { color: #29483f; white-space: nowrap; }
@media (max-width: 760px) { .accounting-heading,.accounting-stats,.overdue-grid { grid-template-columns: 1fr; }.accounting-filters { justify-content: stretch; flex-direction: column; }.payment-form-row { grid-template-columns: 1fr; } }
.school-fee-audit-table td, .school-fee-audit-table th { vertical-align: middle; }
.audit-state { display: inline-flex; padding: .32rem .55rem; border-radius: 999px; font-size: .7rem; font-weight: 750; white-space: nowrap; }
.audit-state.is-missing { color: #8a4e17; background: #fff0d8; }
.audit-state.is-zero { color: #8a3f43; background: #fde9e9; }
.audit-state.is-defined { color: #1c654c; background: #dff2e9; }
.child-region { display: grid; min-width: 8rem; gap: .4rem; }
.child-region a { display: inline-flex; width: fit-content; align-items: center; gap: .25rem; padding: .25rem .5rem; color: #25654f; border: 1px solid #bfdbcf; border-radius: 999px; background: #edf7f2; font-size: .68rem; font-weight: 750; text-decoration: none; }
.child-region a:hover { color: white; border-color: #25654f; background: #25654f; }
.child-region svg { width: .8rem; height: .8rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.child-address { display: block; min-width: 12rem; max-width: 17rem; color: #40574f; font-size: .8rem; line-height: 1.4; }
.child-remark { display: block; min-width: 14rem; max-width: 20rem; color: #5f7069; font-size: .76rem; line-height: 1.45; white-space: pre-line; }
.child-table .sticky-actions { position: sticky; right: 0; z-index: 2; background: white; box-shadow: -.65rem 0 .9rem -.85rem rgb(23 79 61 / 45%); }
.child-table tbody tr:hover .sticky-actions { background: #f8faf8; }
.child-form-dialog { width: min(78rem, calc(100% - 2rem)); }
.child-form-dialog .form-dialog__header { padding-block: 1rem .85rem; }
.child-form-dialog .form-dialog__body { gap: .7rem 1rem; padding: 1rem 1.25rem; }
.child-form-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: start; }
.child-form-photo { grid-column: span 3; grid-row: span 2; height: 100%; padding: .75rem; gap: .75rem; }
.child-form-photo .photo-canvas-wrap { width: 7rem; height: 7rem; }
.child-form-photo .photo-editor__controls { min-width: 0; gap: .45rem; }
.child-form-photo .photo-file-button { padding: .4rem .5rem; font-size: .68rem; }
.child-form-photo .photo-editor__controls small { line-height: 1.25; }
.child-span-2 { grid-column: span 2; }
.child-span-3 { grid-column: span 3; }
.child-span-6 { grid-column: span 6; }
.child-span-12 { grid-column: 1 / -1; }
.child-genre { grid-column: span 5; min-width: 0; margin: 0; padding: 0; border: 0; }
.child-genre legend { margin-bottom: .4rem; padding: 0; }
.choice-pills { display: flex; min-height: 2.8rem; align-items: center; flex-wrap: wrap; gap: .4rem; }
.choice-pills label { position: relative; cursor: pointer; }
.choice-pills input { position: absolute; width: 1px; height: 1px; min-height: 0; padding: 0; border: 0; opacity: 0; pointer-events: none; }
.choice-pills span { display: block; padding: .55rem .8rem; color: #50675e; border: 1px solid #ccd9d2; border-radius: 999px; background: white; font-size: .78rem; font-weight: 650; transition: .15s; }
.choice-pills input:checked + span { color: white; border-color: #278365; background: #278365; box-shadow: 0 .25rem .6rem rgb(39 131 101 / 18%); }
.choice-pills input:focus-visible + span { outline: 3px solid rgb(51 128 105 / 20%); outline-offset: 2px; }
.child-gps { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.child-form-dialog textarea[rows="2"] { min-height: 3.55rem; }
.child-dialog-note { margin-right: auto; color: #788980; font-size: .74rem; }
.follow-up-dialog { width: min(48rem, calc(100% - 2rem)); }
.follow-up-history { max-height: min(26rem, 48vh); padding: 1.15rem 1.35rem; overflow-y: auto; background: #f5f8f6; }
.follow-up-list { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.follow-up-list li { display: grid; grid-template-columns: 2.7rem minmax(0, 1fr); gap: .75rem; align-items: start; }
.follow-up-author { position: relative; display: grid; width: 2.7rem; height: 2.7rem; place-items: center; overflow: hidden; color: #6b3d57; border: 2px solid white; border-radius: .7rem; background: #f5dfeb; box-shadow: 0 .3rem .8rem rgb(23 79 61 / 10%); font-size: .68rem; font-weight: 800; }
.follow-up-author img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.follow-up-list article { padding: .8rem .9rem; border: 1px solid #dce7e1; border-radius: .75rem; background: white; box-shadow: 0 .3rem .8rem rgb(23 79 61 / 5%); }
.follow-up-list header { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.follow-up-list header strong { color: #1d604a; font-size: .82rem; }
.follow-up-list time, .follow-up-list article > small { color: #87968f; font-size: .66rem; }
.follow-up-list article p { margin: .55rem 0 0; color: #344c43; font-size: .8rem; line-height: 1.5; }
.follow-up-list article > small { display: block; margin-top: .55rem; font-style: italic; }
.follow-up-compose { padding: 1rem 1.35rem; border-top: 1px solid #e0e8e3; }
.follow-up-compose textarea { min-height: 5rem; }
.child-detail { display: grid; gap: 1rem; }
.back-link { width: fit-content; color: #41675a; font-size: .78rem; text-decoration: none; }
.child-profile-card { display: grid; grid-template-columns: auto minmax(14rem, .65fr) minmax(32rem, 1.35fr); gap: 1.25rem; align-items: center; padding: 1.25rem 1.5rem; border: 1px solid #dfe9e4; border-radius: 1rem; background: linear-gradient(140deg, white, #f1f7f4); box-shadow: 0 .65rem 1.5rem rgb(23 79 61 / 7%); }
.child-detail-toolbar { display: flex; min-height: 2.55rem; align-items: center; justify-content: space-between; gap: 1rem; }.child-detail-toolbar .back-link { margin-bottom: 0; }.child-detail-toolbar .secondary-button { gap: .45rem; cursor: pointer; }.child-detail-toolbar .secondary-button svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.child-profile-photo { position: relative; display: grid; width: 7rem; height: 7rem; place-items: center; overflow: hidden; color: #75445e; border: .3rem solid white; border-radius: 1.2rem; background: #f4dfea; box-shadow: 0 .5rem 1.2rem rgb(23 79 61 / 13%); font-weight: 800; }
.child-profile-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.child-profile-identity h1 { margin: .5rem 0 .2rem; font-size: clamp(1.8rem, 3vw, 2.6rem); }
.child-profile-identity p { margin: 0; color: #74847d; font-size: .8rem; }
.child-profile-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .65rem; }
.child-profile-facts > span { display: grid; min-height: 5.2rem; align-content: center; gap: .18rem; padding: .7rem; border: 1px solid #dde8e2; border-radius: .75rem; background: rgb(255 255 255 / 78%); }
.child-profile-facts small { color: #8a9891; font-size: .62rem; font-weight: 750; text-transform: uppercase; }
.child-profile-facts strong { color: #184c3c; font-size: .82rem; }
.child-profile-facts em, .child-profile-facts a { color: #788980; font-size: .68rem; font-style: normal; }
.child-detail-tabs { display: flex; overflow-x: auto; overflow-y: hidden; border-bottom: 1px solid #d9e4de; scrollbar-width: none; }
.child-detail-tabs::-webkit-scrollbar { display: none; }
.child-detail-tabs a { position: relative; padding: .8rem 1.15rem; color: #65776f; font-size: .8rem; font-weight: 750; text-decoration: none; white-space: nowrap; }
.child-detail-tabs a.is-active { color: #18563f; }
.child-detail-tabs a.is-active::after { position: absolute; right: .8rem; bottom: -1px; left: .8rem; height: 3px; content: ''; border-radius: 3px 3px 0 0; background: #278365; }
.child-detail-panel { min-height: 23rem; padding: 1.35rem; border: 1px solid #e0e8e3; border-radius: 0 0 1rem 1rem; background: white; }
.child-overview-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.child-overview-grid article { padding: 1rem; border: 1px solid #e1e9e5; border-radius: .8rem; background: #fafcfb; }
.child-overview-grid h2, .detail-section-heading h2, .detail-placeholder h2 { margin: .15rem 0 .75rem; color: #174f3d; font-size: 1.15rem; }
.child-overview-grid p { color: #52675e; font-size: .8rem; line-height: 1.55; white-space: pre-line; }
.child-overview-grid dl { margin: 0; }
.child-overview-grid dl div { display: grid; grid-template-columns: 7rem 1fr; gap: .5rem; padding: .4rem 0; border-bottom: 1px solid #e7ede9; }
.child-overview-grid dt { color: #7c8c84; font-size: .7rem; }
.child-overview-grid dd { margin: 0; color: #29483f; font-size: .8rem; white-space: pre-line; }
.overview-fee-state { display: grid; justify-items: start; gap: .4rem; margin-top: .8rem; padding-top: .7rem; border-top: 1px solid #e3ebe7; }
.overview-fee-state small { color: #71847b; font-size: .7rem; font-weight: 700; }
.detail-section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 1rem; }
.detail-section-heading p { margin: 0; }
.detail-section-heading > span { color: #7b8b84; font-size: .72rem; }
.detail-follow-up-list { max-width: 58rem; }
.document-grid, .fee-history-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: .8rem; }
.document-grid article, .fee-history-grid article { padding: 1rem; border: 1px solid #dfe8e3; border-radius: .8rem; background: #fafcfb; }
.document-grid article > span { color: #a25e20; font-size: .65rem; font-weight: 800; text-transform: uppercase; }
.document-grid h3 { margin: .4rem 0; color: #194b3c; font-size: .9rem; }
.document-grid p, .document-grid small { color: #74847d; font-size: .72rem; }
.fee-history-grid article.is-current { border-color: #84baa5; background: #eff8f4; }
.fee-history-grid article.is-missing { border-color: #efc27d; background: #fff7e8; }
.fee-history-grid header { display: flex; justify-content: space-between; }
.fee-history-grid header > span { color: #1e654d; font-size: .65rem; font-weight: 750; }
.fee-history-grid .fee-history-heading-actions { display: flex; align-items: center; gap: .55rem; }
.fee-history-grid .fee-history-heading-actions em { color: #1e654d; font-style: normal; }
.fee-history-grid .fee-action-add > span { font-size: 1.25rem; font-weight: 400; }
.fee-history-grid .fee-history-missing { margin: .8rem 0 0; color: #92571c; font-size: .78rem; font-weight: 700; }
.fee-history-grid article > div { display: grid; gap: .35rem; margin-top: .8rem; }
.fee-history-grid article > div span { display: flex; justify-content: space-between; color: #71837a; font-size: .75rem; }
.fee-history-grid p { color: #687a72; font-size: .72rem; }
.detail-placeholder { max-width: 42rem; margin: 4rem auto; text-align: center; }
.detail-placeholder p:last-child { color: #718179; line-height: 1.6; }
.gallery-year-cards { display: grid; grid-template-columns: repeat(auto-fill,minmax(13rem,1fr)); gap: 1.15rem; }
.gallery-year-card { position: relative; overflow: hidden; color: #173f34; border: 1px solid #dbe5df; border-radius: .85rem; background: white; box-shadow: 0 .45rem 1.2rem rgb(28 67 54 / 8%); text-align: center; text-decoration: none; transition: transform .18s ease,box-shadow .18s ease; }
.gallery-year-card:hover { box-shadow: 0 .8rem 1.7rem rgb(28 67 54 / 15%); transform: translateY(-2px); }
.gallery-year-card img, .gallery-year-placeholder { display: grid; width: 100%; height: 12rem; place-items: center; object-fit: cover; background: #e8f1ec; }
.gallery-year-card > strong { display: block; padding: .8rem; font-size: 1.05rem; }
.gallery-year-count { position: absolute; right: .55rem; bottom: 3.25rem; padding: .3rem .55rem; color: white; border-radius: 999px; background: rgb(13 47 37 / 78%); font-size: .68rem; }
.gallery-breadcrumb { display: flex; align-items: center; gap: .55rem; margin-bottom: 1rem; color: #86948e; font-size: .78rem; }
.gallery-breadcrumb a { color: #22664f; }
.gallery-dropzone { display: grid; justify-items: center; gap: .35rem; padding: 1.5rem 1rem; color: #536b62; border: 2px dashed #b8d0c5; border-radius: .8rem; background: #f6faf8; text-align: center; cursor: pointer; transition: border-color .18s,background .18s; }
.gallery-dropzone:hover, .gallery-dropzone.is-dragging { border-color: #278064; background: #eaf5f0; }
.gallery-dropzone input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.gallery-dropzone svg { width: 2rem; fill: none; stroke: #278064; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; }
.gallery-dropzone strong { color: #174f3d; }
.gallery-dropzone span, .gallery-dropzone small { font-size: .75rem; }
.gallery-selection { max-height: 9rem; padding: .7rem .85rem; overflow-y: auto; color: #52675f; border-radius: .65rem; background: #edf5f1; font-size: .75rem; }
.gallery-selection strong { color: #174f3d; }
.gallery-selection ul { display: grid; gap: .2rem; margin: .45rem 0 0; padding-left: 1.1rem; }
.map-page { display: grid; gap: 1rem; }
.map-legend { display: flex; align-items: center; gap: .7rem; }
.map-legend span { display: flex; align-items: center; gap: .35rem; color: #536960; font-size: .75rem; }
.map-legend i { width: .7rem; height: .7rem; border-radius: 50%; }
.map-legend .is-child { background: #a13f3f; }.map-legend .is-place { background: #287b9b; }
.association-map { width: 100%; height: min(70vh,46rem); min-height: 32rem; overflow: hidden; border: .8rem solid #fff8e8; border-radius: .9rem; box-shadow: 0 .6rem 1.8rem rgb(26 58 48 / 12%); }
.map-pin { background: transparent; border: 0; }.map-pin span { display: block; width: 1.35rem; height: 1.35rem; border: 3px solid white; border-radius: 50% 50% 50% 0; box-shadow: 0 .15rem .4rem rgb(0 0 0 / 35%); transform: rotate(-45deg); }.map-pin-child span { background: #a13f3f; }.map-pin-place span { background: #287b9b; }
.map-popup { display: grid; min-width: 12rem; gap: .45rem; color: #29483f; }.map-popup strong { color: #174f3d; font-size: 1rem; }.map-popup img { width: 5rem; height: 5rem; border-radius: .6rem; object-fit: cover; }.map-popup p { margin: 0; line-height: 1.4; white-space: pre-line; }.map-popup a { color: #1d7057; font-weight: 700; }
.page-heading-actions { display: flex; align-items: center; justify-content: flex-end; gap: .75rem; }
.secondary-button { display: inline-flex; min-height: 2.55rem; align-items: center; padding: .65rem .9rem; color: #265b49; border: 1px solid #bfd2c9; border-radius: .65rem; background: #f5faf7; font-size: .78rem; font-weight: 750; text-decoration: none; }
.secondary-button:hover { border-color: #2a765c; background: #eaf5f0; }
.list-toolbar { display: flex; justify-content: flex-end; margin: 1rem 0; }
.place-table { min-width: 70rem; }.place-thumbnail { display: grid; width: 5rem; height: 3.8rem; place-items: center; overflow: hidden; border-radius: .55rem; background: #edf3ef; }.place-thumbnail img { width: 100%; height: 100%; object-fit: cover; }.place-description { display: block; max-width: 28rem; white-space: pre-line; }.place-dialog { width: min(42rem,calc(100% - 2rem)); }.place-form-grid { grid-template-columns: 1fr 1fr; }.place-form-wide { grid-column: 1 / -1; }
.place-table .icon-action-danger { color: #a34242; border-color: #edc5c5; background: #fff4f3; }.place-table .icon-action-danger:hover { color: white; border-color: #b14747; background: #b14747; }
.place-list-page { display: grid; gap: 1rem; padding: clamp(1rem,2vw,1.5rem); border: 1px solid #e0e8e3; border-radius: 1rem; background: white; box-shadow: 0 .6rem 1.8rem rgb(23 79 61 / 6%); }
.place-list-page .page-heading { margin: 0; }
.place-list-page .list-toolbar { margin: 0; }
@media (max-width: 700px) { .page-heading-actions { align-items: stretch; flex-direction: column; } .place-form-grid { grid-template-columns: 1fr; } .place-form-wide { grid-column: auto; } }
.gallery-year-grid { grid-template-columns: repeat(auto-fill,minmax(13rem,1fr)); }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(11rem,1fr)); gap: .8rem; }
.gallery-item { min-width: 0; overflow: hidden; border: 1px solid #dbe5df; border-radius: .75rem; background: white; }
.gallery-preview { display: block; width: 100%; height: 9.5rem; padding: 0; border: 0; background: #eef3f0; cursor: zoom-in; }
.gallery-preview img, .gallery-item video { width: 100%; height: 9.5rem; object-fit: cover; }
.gallery-file { display: grid; height: 9.5rem; place-content: center; gap: .4rem; padding: .8rem; color: #174f3d; text-align: center; text-decoration: none; background: #eef5f1; }
.gallery-file span { max-width: 9rem; overflow: hidden; font-size: .7rem; text-overflow: ellipsis; white-space: nowrap; }
.gallery-item footer { display: flex; align-items: center; gap: .4rem; min-height: 2.8rem; padding: .4rem .5rem; }
.gallery-item footer > span { flex: 1; min-width: 0; overflow: hidden; color: #62756c; font-size: .68rem; text-overflow: ellipsis; white-space: nowrap; }
.gallery-item footer form { margin: 0; }
.gallery-item .icon-action-danger { color: #a34242; border-color: #edc5c5; background: #fff4f3; }
.gallery-item .icon-action-danger:hover { color: white; border-color: #b14747; background: #b14747; }
.gallery-lightbox { width: min(70rem,calc(100% - 2rem)); max-width: none; max-height: calc(100vh - 2rem); padding: 2.6rem 1rem 1rem; border: 0; border-radius: .9rem; background: #10251f; box-shadow: 0 1rem 4rem rgb(0 0 0 / 40%); }
.gallery-lightbox[open] { display: grid; grid-template-columns: 3.5rem minmax(0,1fr) 3.5rem; align-items: center; gap: .5rem; }
.gallery-lightbox::backdrop { background: rgb(3 16 12 / 82%); }
.gallery-lightbox-close { position: absolute; top: .45rem; right: .65rem; color: white; border: 0; background: transparent; font-size: 1.8rem; cursor: pointer; }
.gallery-lightbox-content { min-width: 0; }
.gallery-lightbox-nav { display: grid; width: 3.25rem; height: 3.25rem; padding: 0 0 .2rem; place-items: center; color: white; border: 1px solid rgb(255 255 255 / 35%); border-radius: 50%; background: rgb(255 255 255 / 12%); font-size: 2.5rem; line-height: 1; cursor: pointer; transition: background .18s,border-color .18s,transform .18s; }
.gallery-lightbox-nav:hover,.gallery-lightbox-nav:focus-visible { border-color: white; background: rgb(255 255 255 / 25%); transform: scale(1.06); }
.gallery-lightbox-nav[hidden] { display: none; }
.gallery-lightbox img { display: block; max-width: 100%; max-height: calc(100vh - 8rem); margin: auto; object-fit: contain; }
.gallery-lightbox p { margin: .7rem 0 0; color: #dce9e3; text-align: center; font-size: .76rem; }
@media (max-width: 600px) { .gallery-lightbox { width: calc(100% - .75rem); padding: 2.6rem .35rem .65rem; }.gallery-lightbox[open] { grid-template-columns: 2.6rem minmax(0,1fr) 2.6rem; gap: .15rem; }.gallery-lightbox-nav { width: 2.4rem; height: 2.4rem; font-size: 2rem; } }
.sponsor-gallery-action.is-enabled { color: #fff; border-color: #247d62; background: #247d62; }
.sponsor-gallery-action svg { fill: currentColor; stroke: none; }
.sponsor-gallery-dialog { width: min(43rem,calc(100% - 2rem)); }
.sponsor-gallery-dialog .form-dialog__icon svg { width: 1.5rem; fill: currentColor; }
.sponsor-gallery-body { justify-items: center; }
.sponsor-gallery-body::before { content: "African Puzzle\A Galerie photos de vos filleuls"; display: grid; min-height: 3.8rem; padding-left: 4.5rem; align-content: center; color: #173f34; background: url('../images/african-puzzle-logo.png') left center/3.7rem 3.7rem no-repeat; font-weight: 800; line-height: 1.45; text-align: left; white-space: pre; }
.sponsor-gallery-qr { width: min(22rem,100%); border: 1px solid #dce8e2; border-radius: .8rem; background: #fff; }
.sponsor-gallery-body .dialog-field { width: 100%; }
.sponsor-gallery-url { display: flex; gap: .5rem; }
.sponsor-gallery-url input { min-width: 0; flex: 1; }
.sponsor-gallery-url button { padding-inline: 1rem; color: white; border: 0; border-radius: .55rem; background: #247d62; cursor: pointer; }
.sponsor-gallery-preview { text-decoration: none; }
.sponsor-gallery-tab-button { display: inline-flex; min-height: 2.15rem; padding: .42rem .7rem; align-items: center; gap: .4rem; font-size: .72rem; line-height: 1; }
.sponsor-gallery-tab-button svg { width: 1rem; height: 1rem; flex: 0 0 1rem; fill: currentColor; stroke: none; }
.sponsor-gallery-management { display: flex; width: 100%; justify-content: center; gap: .6rem; padding-top: .35rem; border-top: 1px solid #edf1ef; }
.danger-button { padding: .7rem 1rem; color: #9d332f; border: 1px solid #efc8c5; border-radius: .55rem; background: #fff3f2; font-weight: 700; cursor: pointer; }
.public-gallery-page { min-height: 100vh; margin: 0; color: #173f34; background: #f3f7f4; }
.public-gallery-header { display: flex; align-items: center; gap: .8rem; padding: 1rem clamp(1rem,4vw,4rem); border-bottom: 1px solid #e2ebe6; background: white; font-size: 1.35rem; }
.public-gallery-header img { width: 3.2rem; height: 3.2rem; object-fit: contain; }
.public-gallery-header span { color: #d45b4f; }
.public-gallery-shell { width: min(110rem,calc(100% - 2rem)); margin: 0 auto; padding: 2.5rem 0; }
.public-gallery-welcome { margin-bottom: 2rem; text-align: center; }
.public-gallery-welcome p { margin: 0; color: #8c9a93; font-size: 1.15rem; }
.public-gallery-welcome h1 { margin: .35rem 0 .55rem; color: #08aaa6; font-size: clamp(2rem,5vw,3.5rem); text-transform: uppercase; }
.public-gallery-welcome span { color: #718078; font-size: clamp(1rem,2vw,1.35rem); }
.public-gallery-content { padding: clamp(1rem,2.5vw,2rem); border: 1px solid #e0e9e4; border-radius: 1rem; background: white; box-shadow: 0 .8rem 2rem rgb(23 63 52 / 8%); }
.public-child-gallery + .public-child-gallery { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid #e4ebe7; }
.public-child-gallery > div:first-child { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.public-child-gallery h2,.public-gallery-content > h2 { margin: 0 0 1.2rem; }
.public-child-gallery > div:first-child a { color: #247d62; }
.public-gallery-content .gallery-item footer { display: none; }
.public-gallery-footer { padding: 1.3rem; color: #7b8982; text-align: center; }
@media (max-width: 600px) { .public-gallery-shell { width: calc(100% - 1rem); padding-block: 1.2rem; } .public-gallery-content { padding: .75rem; } .public-gallery-content .gallery-year-cards { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .65rem; } .public-gallery-content .gallery-year-card img,.public-gallery-content .gallery-year-placeholder { height: 9rem; } }
@media (max-width: 900px) {
    .child-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .child-form-photo, .child-span-6, .child-span-12, .child-genre { grid-column: 1 / -1; }
    .child-span-2, .child-span-3 { grid-column: span 1; }
    .child-form-photo { grid-row: auto; }
    .school-fee-heading { grid-template-columns: 1fr; }
    .school-fee-stats { grid-template-columns: 1fr; }
    .child-profile-card { grid-template-columns: auto 1fr; }
    .child-profile-facts { grid-column: 1 / -1; grid-template-columns: repeat(2, 1fr); }
    .child-overview-grid { grid-template-columns: 1fr; }
}
@media (max-width: 1200px) { .child-overview { grid-template-columns: 1fr; } .child-overview__tools { justify-items: stretch; } }
.login-page { background: #f6f3ec; }
.login-shell { min-height: 100vh; }
.login-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(28rem, 1fr); min-height: 100vh; }
.login-visual { position: relative; display: flex; align-items: flex-end; min-height: 100vh; padding: clamp(2rem, 5vw, 5rem); overflow: hidden; color: white; background: #123f34 url('../images/login-children.png') center / cover no-repeat; }
.login-visual::before { position: absolute; inset: 0; content: ''; background: linear-gradient(180deg, rgb(8 38 31 / 5%) 35%, rgb(8 38 31 / 88%) 100%); }
.login-visual__content { position: relative; z-index: 1; max-width: 39rem; }
.login-kicker { display: inline-block; margin-bottom: 1rem; color: #ffd08a; font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.login-visual h2 { max-width: 13ch; margin: 0; font-size: clamp(2.7rem, 5vw, 5.2rem); line-height: .98; letter-spacing: -.045em; }
.login-visual p { margin: 1.35rem 0 0; color: rgb(255 255 255 / 78%); font-size: clamp(1rem, 1.5vw, 1.2rem); }
.login-panel { display: flex; flex-direction: column; min-height: 100vh; padding: clamp(1.5rem, 4vw, 4.5rem); background: #fffdf9; }
.login-panel__inner { width: min(100%, 29rem); margin: auto; }
.login-brand { display: flex; align-items: center; gap: .9rem; margin-bottom: clamp(3.5rem, 8vh, 6.5rem); }
.login-brand > span:last-child { display: grid; }
.login-brand strong { color: #163f34; font-size: 1.18rem; letter-spacing: -.01em; }
.login-brand small { margin-top: .15rem; color: #7a877f; font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; }
.login-brand__logo { width: 3.35rem; height: 3.35rem; padding: .28rem; object-fit: contain; border: 1px solid #e2e5df; border-radius: .8rem; background: white; box-shadow: 0 .5rem 1.2rem rgb(23 79 61 / 12%); }
.login-intro .eyebrow { margin: 0 0 .65rem; font-size: .72rem; letter-spacing: .14em; }
.login-intro h1 { margin: 0; color: #143d32; font-size: clamp(2.4rem, 4vw, 3.5rem); letter-spacing: -.045em; }
.login-intro > p:last-child { max-width: 34rem; margin: 1rem 0 0; color: #68766f; line-height: 1.65; }
.login-form { display: grid; gap: 1.35rem; margin-top: 2.4rem; }
.form-field { display: grid; gap: .5rem; }
.form-field label { color: #29483f; font-size: .86rem; font-weight: 750; }
.input-wrap { position: relative; display: flex; align-items: center; }
.input-wrap > svg { position: absolute; left: 1rem; width: 1.15rem; color: #80918a; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; pointer-events: none; }
.input-wrap input { width: 100%; min-height: 3.35rem; padding: .85rem 3.1rem; color: #173a30; border: 1px solid #d9dfda; border-radius: .8rem; outline: none; background: white; font: inherit; transition: border-color .2s, box-shadow .2s; }
.input-wrap input::placeholder { color: #9aa69f; }
.input-wrap input:focus { border-color: #338069; box-shadow: 0 0 0 .25rem rgb(51 128 105 / 12%); }
.password-toggle { position: absolute; right: .65rem; display: grid; width: 2.25rem; height: 2.25rem; margin: 0; padding: .5rem; place-items: center; color: #71817a; border: 0; border-radius: .5rem; background: transparent; cursor: pointer; }
.password-toggle:hover { color: #174f3d; background: #edf4f0; }
.password-toggle svg { width: 1.15rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.login-options { display: flex; justify-content: flex-end; margin-top: -.35rem; }
.forgot-password { display: inline-flex; align-items: center; gap: .5rem; color: #176149; font-size: .82rem; font-weight: 750; }
.forgot-password small { padding: .2rem .45rem; color: #8a682b; border-radius: 999px; background: #fff0d5; font-size: .64rem; font-weight: 750; letter-spacing: .03em; text-transform: uppercase; }
.login-submit { display: flex; align-items: center; justify-content: space-between; min-height: 3.45rem; margin-top: .45rem; padding: .85rem 1.2rem; color: white; border: 0; border-radius: .8rem; background: #174f3d; box-shadow: 0 .75rem 1.8rem rgb(23 79 61 / 20%); font: inherit; font-weight: 750; cursor: pointer; transition: background .2s, transform .2s, box-shadow .2s; }
.login-submit:hover { background: #20654f; box-shadow: 0 .9rem 2rem rgb(23 79 61 / 26%); transform: translateY(-1px); }
.login-submit span:last-child { font-size: 1.35rem; font-weight: 400; }
.form-error { display: flex; align-items: center; gap: .75rem; padding: .85rem; color: #852d32; border: 1px solid #f1c4c6; border-radius: .75rem; background: #fff0f0; }
.form-error > span { display: grid; flex: 0 0 1.65rem; height: 1.65rem; place-items: center; color: white; border-radius: 50%; background: #b7484e; font-weight: 800; }
.form-error p { display: grid; gap: .1rem; margin: 0; font-size: .86rem; }
.login-help { margin: 2rem 0 0; color: #7c8983; font-size: .8rem; text-align: center; }
.login-help a { color: #176149; font-weight: 700; }
.recovery-confirmation { padding: 1rem; color: #155d3b; border: 1px solid #b9dfca; border-radius: .75rem; background: #e5f6ec; line-height: 1.5; }
.recovery-confirmation strong,.recovery-confirmation p { display: block; margin: 0; }
.recovery-confirmation p { margin-top: .35rem; font-size: .86rem; }
.recovery-confirmation.is-error { color: #852d32; border-color: #f1c4c6; background: #fff0f0; }
.recovery-main-link { box-sizing: border-box; margin-top: 1.25rem; text-decoration: none; }
.login-footer { margin-top: auto; padding-top: 2.5rem; color: #9aa49f; font-size: .75rem; text-align: center; }

@media (max-width: 900px) {
    .user-overview { grid-template-columns: repeat(2, 1fr); }
    .user-overview > div:first-child, .user-overview .search-form { grid-column: 1 / -1; }
    .login-layout { grid-template-columns: 1fr; }
    .login-visual { min-height: 18rem; padding: 2rem; background-position: center 38%; }
    .login-visual h2 { max-width: 15ch; font-size: clamp(2.2rem, 8vw, 3.7rem); }
    .login-panel { min-height: auto; padding: 2.5rem 1.25rem; }
    .login-brand { margin-bottom: 3.5rem; }
}

@media (min-width: 901px) and (min-height: 760px) {
    .login-page { overflow: hidden; }
    .login-layout { height: 100vh; height: 100svh; min-height: 0; }
    .login-visual, .login-panel { min-height: 0; }
    .login-panel { padding-block: clamp(1.5rem, 4vh, 3rem); }
    .login-brand { margin-bottom: clamp(2rem, 5vh, 4rem); }
    .login-form { margin-top: clamp(1.5rem, 3vh, 2.4rem); }
}

@media (max-width: 800px) {
    .user-export-dialog[data-child-export-dialog] .export-columns > div { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 700px) {
    .site-header, .page-heading { align-items: stretch; flex-direction: column; }
    .site-header-top { align-items: flex-start; flex-direction: column; }
    .account-menu { width: 100%; justify-content: space-between; }
    .main-nav { margin-left: 0; }
    .site-footer { align-items: flex-start; flex-direction: column; }
    .table-footer { flex-direction: column-reverse; gap: 1rem; }
    .page-size { position: static; }
    .child-overview { grid-template-columns: 1fr; }
    .child-overview__tools .search-form { width: 100%; }
    .child-stat-separator { display: none; }
    .child-stat-label { flex-basis: 100%; margin-top: .15rem; }
}

@media (max-width: 520px) {
    .export-columns > div,.user-export-dialog[data-child-export-dialog] .export-columns > div { grid-template-columns: 1fr; }
    .user-form-grid { grid-template-columns: 1fr; }
    .user-association-status { grid-template-columns: 1fr; }
    .user-form-wide { grid-column: auto; }
    .photo-editor { grid-template-columns: 1fr; justify-items: center; }
    .photo-editor__controls { width: 100%; }
    .school-fee-context, .school-fee-amounts { grid-template-columns: 1fr; }
    .login-visual { min-height: 14rem; }
    .login-visual__content p { display: none; }
    .login-panel { padding-top: 2rem; }
    .login-brand { margin-bottom: 2.75rem; }
}
