:root {
    --green: #08764d;
    --green-dark: #06452f;
    --green-soft: #eaf5f0;
    --gold: #e6a72f;
    --red: #d84a4a;
    --blue: #3976c4;
    --ink: #17231e;
    --muted: #66736c;
    --line: #dce5e0;
    --surface: #ffffff;
    --canvas: #f3f6f4;
    --sidebar: #0b3326;
    --shadow: 0 8px 24px rgba(17, 50, 37, .07);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--canvas); font-family: 'Hind Siliguri', sans-serif; line-height: 1.5; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid rgba(230, 167, 47, .45); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.login-screen { min-height: 100vh; padding: 24px; position: relative; isolation: isolate; overflow: hidden; background-color: #080a09; background-image: radial-gradient(ellipse at 50% 45%, rgba(13, 72, 50, .42), transparent 58%); display: grid; place-items: center; }
.login-screen::before, .login-screen::after { width: 340px; height: 340px; position: absolute; z-index: -1; border-radius: 50%; content: ""; pointer-events: none; }
.login-screen::before { top: -145px; right: 2%; background: radial-gradient(circle, rgba(8, 118, 77, .2) 0, rgba(8, 118, 77, .08) 48%, transparent 72%); }
.login-screen::after { bottom: -180px; left: 1%; background: radial-gradient(circle, rgba(230, 167, 47, .1) 0, rgba(230, 167, 47, .035) 48%, transparent 72%); }
.login-panel { width: min(430px, 100%); border: 1px solid rgba(255, 255, 255, .82); border-top: 5px solid rgba(8, 118, 77, .88); border-radius: 18px; background: rgba(255, 255, 255, .64); box-shadow: 0 30px 85px rgba(7, 45, 31, .2), 0 8px 24px rgba(7, 45, 31, .08), inset 0 1px rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(26px) saturate(155%); backdrop-filter: blur(26px) saturate(155%); overflow: hidden; animation: login-panel-enter .55s cubic-bezier(.2, .75, .25, 1) both; }
.login-brand { min-height: 82px; padding: 14px 22px; position: relative; color: #fff; background: linear-gradient(115deg, #0b3326, #15513b 58%, #0b3326); box-shadow: inset 0 -1px rgba(255, 255, 255, .12); display: flex; align-items: center; gap: 13px; }
.login-brand img { width: 52px; height: 52px; padding: 3px; border: 1px solid rgba(255, 255, 255, .72); border-radius: 11px; background: #fff; box-shadow: 0 5px 16px rgba(0, 0, 0, .14); object-fit: contain; }
.login-brand strong, .login-brand span { display: block; }
.login-brand strong { font-size: 18px; }
.login-brand span { color: #a9c2b7; font-size: 13px; }
.login-heading { padding: 25px 24px 18px; display: flex; align-items: center; gap: 12px; }
.login-heading > span { width: 43px; height: 43px; flex: 0 0 auto; border: 1px solid rgba(8, 118, 77, .1); border-radius: 10px; color: var(--green); background: rgba(8, 118, 77, .09); display: grid; place-items: center; }
.login-heading h1 { margin: 0; font-size: 22px; line-height: 1.25; }
.login-heading p { margin: 2px 0 0; color: var(--muted); font-size: 13px; }
.login-form { padding: 0 24px 26px; }
.login-form > label { margin: 13px 0 5px; display: block; font-size: 13px; font-weight: 700; }
.login-input { position: relative; }
.login-input > i { position: absolute; top: 50%; left: 13px; color: #7c8b83; transform: translateY(-50%); }
.login-input input { width: 100%; height: 46px; padding: 0 44px 0 40px; border: 1px solid rgba(8, 69, 47, .16); border-radius: 9px; color: var(--ink); background: rgba(255, 255, 255, .78); transition: border-color .2s, box-shadow .2s, background .2s; }
.login-input input:focus { border-color: var(--green); background: rgba(255, 255, 255, .96); box-shadow: 0 0 0 4px rgba(8, 118, 77, .12); outline: 0; }
.login-input button { width: 42px; height: 42px; position: absolute; top: 2px; right: 2px; border: 0; border-radius: 8px; color: var(--muted); background: transparent; transition: color .2s, background .2s; }
.login-input button:hover { color: var(--green-dark); background: rgba(8, 118, 77, .07); }
.login-error { margin: 12px 0 0; padding: 9px 11px; border-left: 3px solid var(--red); color: #a82929; background: #fceeee; font-size: 13px; }
.login-submit { width: 100%; margin-top: 18px; border-radius: 9px; background: linear-gradient(110deg, #0a8055, #07915e); box-shadow: 0 7px 16px rgba(8, 118, 77, .2); transition: transform .2s, box-shadow .2s, filter .2s; }
.login-submit:hover { background: linear-gradient(110deg, #076943, #08764d); box-shadow: 0 10px 20px rgba(8, 118, 77, .26); transform: translateY(-1px); }
.public-food-link { width: 100%; margin-top: 10px; border-radius: 9px; background: rgba(255, 255, 255, .58); text-decoration: none; transition: border-color .2s, background .2s, transform .2s; }
.public-food-link:hover { border-color: rgba(8, 118, 77, .28); background: rgba(255, 255, 255, .9); transform: translateY(-1px); }
.login-screen :is(button, a):focus-visible { outline-color: rgba(8, 118, 77, .42); }
@keyframes login-panel-enter { from { opacity: 0; transform: translateY(12px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
@media (prefers-reduced-motion: reduce) { .login-panel { animation: none; } }
.login-screen[hidden], .app-shell[hidden] { display: none; }

.app-shell { min-height: 100vh; }
.sidebar { width: 258px; position: fixed; inset: 0 auto 0 0; z-index: 40; color: #e8f3ee; border-right: 1px solid rgba(255,255,255,.08); background: radial-gradient(ellipse at 8% 0%, rgba(31,130,86,.23), transparent 42%), linear-gradient(180deg, #103c2d 0%, #08271d 100%); box-shadow: 12px 0 34px rgba(2,18,12,.18); display: flex; flex-direction: column; overflow-y: auto; }
.brand { min-height: 100px; padding: 14px 16px; color: #fff; border-bottom: 1px solid rgba(255,255,255,.09); background: rgba(255,255,255,.025); display: flex; align-items: center; gap: 11px; text-decoration: none; transition: background .2s; }
.brand:hover { background: rgba(255,255,255,.07); }
.brand-mark { width: 54px; height: 54px; flex: 0 0 auto; border: 1px solid rgba(255,255,255,.72); border-radius: 13px; background: #fff; box-shadow: 0 6px 16px rgba(0,0,0,.18); display: grid; place-items: center; overflow: hidden; }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.brand strong { display: block; font-size: 15px; line-height: 1.25; }
.brand small { color: #9eb9ad; }
.nav-label { padding: 22px 22px 10px; color: #8eaf9f; font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.nav-list { padding: 0 12px; display: grid; gap: 6px; }
.nav-item { min-height: 46px; padding: 6px 10px; border: 1px solid transparent; border-radius: 10px; color: #c0d5ca; display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.nav-item > i:first-child { width: 34px; height: 34px; flex: 0 0 34px; border-radius: 9px; color: #a5c1b2; background: rgba(255,255,255,.07); display: grid; place-items: center; transition: color .2s, background .2s; }
.nav-item:hover { color: #fff; border-color: rgba(255,255,255,.08); background: rgba(255,255,255,.08); transform: translateX(2px); }
.nav-item.active { color: #fff; border-color: rgba(255,255,255,.12); background: linear-gradient(110deg, rgba(17,130,83,.95), rgba(8,92,60,.85)); box-shadow: inset 3px 0 var(--gold), 0 8px 18px rgba(0,0,0,.12); }
.nav-item.active > i:first-child { color: #173b2b; background: var(--gold); }
.nav-parent { width: 100%; border: 0; background: transparent; text-align: left; }
.nav-parent span { flex: 1; }
.nav-parent .nav-chevron { width: 14px; font-size: 11px; transition: transform .2s; }
.nav-parent[aria-expanded="false"] .nav-chevron { transform: rotate(-90deg); }
.nav-submenu { margin: 2px 0 8px 17px; padding-left: 12px; border-left: 1px solid rgba(230,167,47,.3); display: grid; gap: 4px; }
.nav-submenu[hidden] { display: none; }
.nav-subitem { min-height: 38px; padding: 6px 9px; border: 1px solid transparent; border-radius: 8px; color: #a9c2b6; display: flex; align-items: center; gap: 9px; text-decoration: none; font-size: 14px; font-weight: 600; transition: color .2s, background .2s, border-color .2s; }
.nav-subitem i { width: 18px; color: #86aa98; text-align: center; }
.nav-subitem:hover, .nav-subitem:focus-visible, .nav-subitem.active { color: #fff; border-color: rgba(255,255,255,.08); background: rgba(255,255,255,.08); }
.nav-subitem.active i { color: var(--gold); }
.sidebar-footer { margin-top: auto; padding: 14px; border-top: 1px solid rgba(255,255,255,.09); }
.sidebar-footer .profile { padding: 9px; border: 1px solid rgba(255,255,255,.1); border-radius: 12px; background: rgba(255,255,255,.055); }
.profile { display: flex; align-items: center; gap: 11px; }
.avatar { width: 39px; height: 39px; border-radius: 50%; color: var(--green-dark); background: #f3c35f; display: grid; place-items: center; font-weight: 700; }
.profile-avatar { padding: 3px; background: #fff; overflow: hidden; }
.profile-avatar img { width: 100%; height: 100%; object-fit: contain; }
.profile-details { min-width: 0; flex: 1; }
.profile-logout { width: 34px; height: 34px; flex: 0 0 auto; border: 1px solid transparent; border-radius: 9px; color: #bdd0c7; background: transparent; display: grid; place-items: center; transition: color .2s, background .2s, border-color .2s; }
.profile-logout:hover { color: #fff; border-color: rgba(255,255,255,.12); background: rgba(255,255,255,.1); }
.profile strong, .profile small { display: block; }
.profile small { color: #8fac9f; }

.workspace { min-height: 100vh; margin-left: 258px; }
.topbar { min-height: 72px; padding: 0 30px; position: sticky; top: 0; z-index: 30; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.96); display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.topbar-left, .topbar-actions, .page-actions, .section-title, .filter-group { display: flex; align-items: center; }
.menu-button { width: 42px; height: 42px; border: 0; border-radius: 5px; color: var(--green-dark); background: var(--green-soft); display: none; place-items: center; }
.topbar h1 { margin: 0; font-size: 22px; line-height: 1.2; }
.topbar-date { color: var(--muted); font-size: 14px; }
.topbar-actions { gap: 9px; }
.language-switch { padding: 3px; border: 1px solid var(--line); border-radius: 5px; background: var(--canvas); display: flex; }
.language-button { min-height: 34px; padding: 5px 10px; border: 0; border-radius: 3px; color: var(--muted); background: transparent; font-size: 13px; font-weight: 700; }
.language-button.active { color: #fff; background: var(--green); }
.icon-button { width: 42px; height: 42px; position: relative; border: 1px solid var(--line); border-radius: 5px; color: var(--green-dark); background: #fff; display: grid; place-items: center; }
.notification-wrap { position: relative; }
.notification-badge { min-width: 17px; height: 17px; padding: 0 4px; position: absolute; top: -5px; right: -5px; border: 2px solid #fff; border-radius: 9px; color: #fff; background: var(--red); font-family: 'Hind Siliguri', sans-serif; font-size: 10px; font-weight: 700; line-height: 14px; text-align: center; }
.notification-panel { width: 370px; max-height: min(520px, calc(100vh - 90px)); position: absolute; top: calc(100% + 10px); right: 0; z-index: 60; border: 1px solid var(--line); border-radius: 7px; background: #fff; overflow: hidden; box-shadow: 0 18px 50px rgba(7,45,31,.2); }
.notification-head { min-height: 68px; padding: 13px 16px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.notification-head strong, .notification-head small { display: block; }
.notification-head small { color: var(--muted); font-size: 12px; }
.notification-head button { padding: 4px; border: 0; color: var(--green); background: transparent; font-size: 12px; font-weight: 700; }
.notification-list { max-height: 420px; overflow-y: auto; }
.notification-item { width: 100%; padding: 13px 15px; border: 0; border-bottom: 1px solid var(--line); color: var(--ink); background: #fff; display: grid; grid-template-columns: 38px 1fr 8px; align-items: center; gap: 11px; text-align: left; }
.notification-item:hover { background: #f7faf8; }
.notification-item.unread { background: #f0f8f4; }
.notification-item-icon { width: 38px; height: 38px; border-radius: 50%; color: var(--green); background: var(--green-soft); display: grid; place-items: center; }
.notification-item.expense .notification-item-icon { color: var(--red); background: #fceeee; }
.notification-item.call .notification-item-icon { color: var(--blue); background: #edf3fb; }
.notification-item strong, .notification-item small { display: block; }
.notification-item small { color: var(--muted); font-size: 12px; }
.unread-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.notification-empty { padding: 32px 18px; color: var(--muted); text-align: center; }

.content { width: min(1480px, 100%); padding: 28px 30px 45px; margin: 0 auto; }
.page-head { margin-bottom: 22px; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.eyebrow { margin: 0 0 3px; color: var(--green); font-size: 13px; font-weight: 700; }
.page-head h2 { margin: 0; font-size: 28px; line-height: 1.25; }
.page-head p:last-child { margin: 5px 0 0; color: var(--muted); }
.institution-address { margin-top: 4px; color: var(--muted); font-size: 14px; font-style: normal; }
.institution-address i { margin-right: 5px; color: var(--green); }
.page-actions { gap: 9px; }
.btn { min-height: 42px; padding: 8px 15px; border: 1px solid transparent; border-radius: 5px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; }
.btn-primary { color: #fff; background: var(--green); }
.btn-primary:hover { background: var(--green-dark); }
.btn-secondary { color: var(--green-dark); border-color: var(--line); background: #fff; }

.global-search-panel { margin-bottom: 20px; padding: 18px; border: 1px solid #cdded5; border-left: 4px solid var(--green); border-radius: 7px; background: #fff; box-shadow: var(--shadow); }
.global-search-heading { margin-bottom: 13px; display: flex; align-items: center; gap: 11px; }
.global-search-icon { width: 40px; height: 40px; flex: 0 0 auto; border-radius: 6px; color: var(--green); background: var(--green-soft); display: grid; place-items: center; }
.global-search-heading h3 { margin: 0; font-size: 18px; }
.global-search-heading p { margin: 1px 0 0; color: var(--muted); font-size: 13px; }
.global-search-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 9px; }
.global-search-form input { width: 100%; height: 46px; padding: 0 14px; border: 1px solid var(--line); border-radius: 5px; color: var(--ink); background: #fff; }
.global-search-form input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(8,118,77,.1); outline: 0; }
.global-search-results { margin-top: 16px; border-top: 1px solid var(--line); }
.global-results-summary { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.global-results-summary button { width: 34px; height: 34px; border: 0; border-radius: 4px; color: var(--muted); background: transparent; }
.global-results-summary button:hover { color: var(--green-dark); background: var(--green-soft); }
.global-result-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.global-result-group { min-width: 0; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.global-result-group h4 { min-height: 43px; padding: 9px 12px; margin: 0; color: var(--green-dark); background: #f7f9f8; display: flex; align-items: center; gap: 8px; font-size: 14px; }
.global-result-group h4 span { min-width: 23px; height: 23px; padding: 1px 6px; margin-left: auto; border-radius: 12px; color: var(--green); background: var(--green-soft); text-align: center; }
.global-result-item { width: 100%; min-height: 74px; padding: 11px 10px; border: 0; border-top: 1px solid var(--line); color: var(--ink); background: #fff; display: grid; grid-template-columns: minmax(0, 1fr) auto 12px; align-items: center; gap: 8px; text-align: left; }
.global-result-item:hover, .global-result-item:focus-visible { background: #f5faf7; }
.global-result-item strong, .global-result-item small, .global-result-value b { display: block; }
.global-result-item small { color: var(--muted); font-size: 11px; font-weight: 500; overflow-wrap: anywhere; }
.global-result-value { max-width: 150px; color: var(--ink); font-weight: 700; text-align: right; }
.global-result-value.income { color: var(--green); }
.global-result-value.expense { color: var(--red); }
.global-result-value small { color: var(--muted); }
.global-result-item > i { color: #9aa69f; font-size: 11px; }
.global-search-empty { min-height: 105px; padding: 20px; color: var(--muted); display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 4px; text-align: center; }
.global-search-empty i { margin-bottom: 4px; color: var(--green); font-size: 22px; }
.global-search-empty strong { color: var(--ink); }

.stats-grid { margin-bottom: 20px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.stat-card { min-width: 0; padding: 20px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); box-shadow: var(--shadow); }
.stat-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.stat-icon { width: 42px; height: 42px; border-radius: 6px; display: grid; place-items: center; }
.stat-icon.green { color: var(--green); background: var(--green-soft); }
.stat-icon.red { color: var(--red); background: #fceeee; }
.stat-icon.blue { color: var(--blue); background: #edf3fb; }
.stat-icon.gold { color: #9b6812; background: #fff4dc; }
.stat-card p { margin: 0; color: var(--muted); font-size: 14px; }
.stat-value { margin: 13px 0 5px; font-size: clamp(24px, 2.3vw, 31px); line-height: 1; white-space: nowrap; }
.trend { color: var(--muted); font-size: 12px; }
.trend strong { color: var(--green); }
.trend.down strong { color: var(--red); }

.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, .75fr); gap: 20px; }
.panel { min-width: 0; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); box-shadow: var(--shadow); }
.panel-head { min-height: 68px; padding: 15px 19px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.section-title { gap: 10px; }
.section-title i { color: var(--green); }
.panel h3 { margin: 0; font-size: 18px; }
.panel-head p { margin: 2px 0 0; color: var(--muted); font-size: 13px; }
.chart-wrap { height: 292px; padding: 18px; position: relative; }
.chart-legend { display: flex; gap: 16px; color: var(--muted); font-size: 12px; }
.legend-dot { width: 8px; height: 8px; margin-right: 5px; border-radius: 50%; display: inline-block; }
.quick-list { padding: 7px 18px 17px; }
.quick-item { padding: 13px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 11px; }
.quick-item:last-child { border-bottom: 0; }
.quick-icon { width: 38px; height: 38px; border-radius: 5px; color: var(--green); background: var(--green-soft); display: grid; place-items: center; }
.quick-item strong, .quick-item small { display: block; }
.quick-item small { color: var(--muted); }
.quick-amount { font-weight: 700; white-space: nowrap; }
.quick-amount.expense { color: var(--red); }
.quick-amount.income { color: var(--green); }

.fund-panel { margin-top: 20px; }
.fund-grid { padding: 19px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.fund-item { min-width: 0; }
.fund-row { margin-bottom: 7px; display: flex; justify-content: space-between; gap: 10px; font-size: 14px; }
.fund-row strong { white-space: nowrap; }
.progress { height: 8px; border-radius: 4px; background: #e9eeeb; overflow: hidden; }
.progress span { height: 100%; display: block; border-radius: inherit; background: var(--green); }
.fund-note { margin: 6px 0 0; color: var(--muted); font-size: 12px; }

.transactions-panel { margin-top: 20px; }
.dashboard-view[hidden] { display: none; }
.content > .dashboard-view.panel { margin-top: 0; }
.student-panel { overflow: hidden; }
.student-frame { width: 100%; height: calc(100vh - 190px); min-height: 720px; border: 0; background: #f7f4ed; display: block; }
.call-log-panel { margin-top: 20px; }
.call-log-panel table { min-width: 1040px; }
.document-panel table { min-width: 850px; }
.document-password { min-width: 145px; display: flex; align-items: center; gap: 5px; }
.document-password code { min-width: 95px; color: var(--ink); font-family: Consolas, monospace; overflow-wrap: anywhere; }
.document-email { color: var(--green-dark); font-weight: 600; text-decoration: none; }
.document-email:hover { text-decoration: underline; }
.document-link { max-width: 260px; color: var(--green-dark); display: flex; align-items: center; gap: 7px; font-weight: 600; text-decoration: none; }
.document-link span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.document-link i { flex: 0 0 auto; font-size: 11px; }
.password-field { position: relative; }
.password-field input { padding-right: 46px; }
.password-field button { width: 40px; height: 40px; position: absolute; top: 2px; right: 2px; border: 0; color: var(--muted); background: transparent; display: grid; place-items: center; }
.call-log-head-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.call-stats { padding: 16px 18px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.call-stats > div { min-width: 0; padding: 12px; border: 1px solid var(--line); border-radius: 6px; display: flex; align-items: center; gap: 10px; }
.call-stat-icon { width: 36px; height: 36px; flex: 0 0 auto; border-radius: 5px; color: var(--green); background: var(--green-soft); display: grid; place-items: center; }
.call-stat-icon.amber { color: #9b6812; background: #fff4dc; }
.call-stat-icon.red { color: var(--red); background: #fceeee; }
.call-stat-icon.blue { color: var(--blue); background: #edf3fb; }
.call-stats small, .call-stats strong { display: block; }
.call-stats small { color: var(--muted); }
.call-stats strong { font-size: 20px; }
.call-link { color: var(--green); font-weight: 700; text-decoration: none; }
.donor-phone-link { color: var(--green-dark); display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.donor-phone-link:hover { color: var(--green); text-decoration: underline; }
.donor-phone-link i { color: var(--green); font-size: 12px; }
.regular-donor-contact { padding: 0; border: 0; color: var(--green-dark); background: transparent; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.regular-donor-contact:visited, .regular-donor-contact:active, .regular-donor-contact:focus { color: var(--green-dark); }
.regular-donor-contact.is-active, .regular-donor-contact.is-active:visited, .regular-donor-contact.is-active:active, .regular-donor-contact.is-active:focus { color: var(--red); }
.regular-donor-contact:hover { color: var(--green); text-decoration: underline; }
.country-label, .country-hint { margin-top: 3px; color: var(--muted); font-size: 12px; font-weight: 600; }
.country-label { display: block; }
.country-hint { min-height: 18px; }
.country-hint.detected { color: var(--green); }
.call-note { max-width: 220px; color: var(--muted); font-size: 12px; white-space: normal; }
.followup-overdue { color: var(--red); font-weight: 700; }
.followup-today { color: #9b6812; font-weight: 700; }
.badge.pending { color: #96620b; background: #fff4dc; }
.badge.completed { color: #087149; background: #e9f6f0; }
.badge.no-answer { color: #b13737; background: #fceeee; }
.badge.channel-call { color: #087149; background: #e9f6f0; }
.badge.channel-sms { color: #2f66a7; background: #edf3fb; }
.transactions-tools { padding: 14px 18px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.search { width: min(340px, 100%); position: relative; }
.search i { position: absolute; top: 50%; left: 13px; color: #839088; transform: translateY(-50%); }
.search input { width: 100%; height: 42px; padding: 0 13px 0 39px; border: 1px solid var(--line); border-radius: 5px; color: var(--ink); background: #fff; }
.filter-group { gap: 8px; }
.select { height: 42px; min-width: 140px; padding: 0 34px 0 11px; border: 1px solid var(--line); border-radius: 5px; color: var(--ink); background: #fff; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th { padding: 12px 16px; color: var(--muted); background: #f7f9f8; font-size: 12px; text-align: left; white-space: nowrap; }
td { padding: 14px 16px; border-top: 1px solid var(--line); font-size: 14px; vertical-align: middle; }
tbody tr:hover { background: #fbfcfb; }
.receipt { color: var(--green); font-weight: 700; }
.person strong, .person small { display: block; }
.person small { color: var(--muted); }
.badge { padding: 4px 9px; border-radius: 12px; display: inline-flex; align-items: center; font-size: 12px; font-weight: 700; white-space: nowrap; }
.badge.income { color: #087149; background: #e9f6f0; }
.badge.expense { color: #b13737; background: #fceeee; }
.amount { font-weight: 700; text-align: right; white-space: nowrap; }
.amount.income { color: var(--green); }
.amount.expense { color: var(--red); }
.row-actions { display: flex; gap: 4px; }
.row-button { width: 34px; height: 34px; border: 0; border-radius: 4px; color: var(--muted); background: transparent; display: grid; place-items: center; }
.row-button:hover { color: var(--green-dark); background: var(--green-soft); }
.row-button.save { color: #087149; background: #e9f6f0; }
.call-edit-row td { vertical-align: top; }
.inline-field { width: 100%; min-width: 118px; padding: 7px 8px; border: 1px solid var(--line); border-radius: 4px; color: var(--ink); background: #fff; font: inherit; }
.inline-field + .inline-field { margin-top: 6px; }
textarea.inline-field { min-height: 58px; resize: vertical; }
.inline-field:focus { border-color: var(--green); outline: 2px solid rgba(8, 118, 77, .12); }
.empty-state { padding: 35px !important; color: var(--muted); text-align: center; }
.table-footer { min-height: 55px; padding: 10px 18px; border-top: 1px solid var(--line); color: var(--muted); display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; }

.food-menu-panel { margin-top: 0; }
.public-admin-link { display: none; text-decoration: none; }
body.public-food-menu .sidebar, body.public-food-menu .topbar { display: none; }
body.public-food-menu .workspace { margin-left: 0; }
body.public-food-menu .content { width: min(1180px, 100%); margin: 0 auto; padding: 28px 20px; }
body.public-food-menu .public-admin-link { display: inline-flex; }
.food-print-header { display: none; }
.food-menu-head { flex-wrap: wrap; }
.food-menu-head-actions { display: flex; align-items: center; gap: 8px; }
.food-language-switch { flex: 0 0 auto; }
.market-price-status { padding: 9px 18px; border-bottom: 1px solid var(--line); color: var(--muted); background: #f7f9f8; display: flex; align-items: center; gap: 8px; font-size: 12px; }
.market-price-status i { color: var(--green); }
.market-price-status a { margin-left: auto; color: var(--green-dark); font-weight: 700; text-decoration: none; }
.market-price-status a:hover { text-decoration: underline; }
.guest-count-field { padding: 6px 9px; border: 1px solid var(--line); border-radius: 5px; color: var(--muted); display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
.guest-count-field input { width: 78px; height: 34px; padding: 0 8px; border: 1px solid var(--line); border-radius: 4px; color: var(--ink); background: #fff; font: inherit; font-weight: 700; text-align: center; }
.guest-count-field input:focus, .food-cell-input:focus, .food-menu-donor input:focus, .food-menu-note input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(8,118,77,.12); outline: 0; }
.food-menu-summary { padding: 16px 18px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.food-menu-summary > div { min-width: 0; padding: 12px; border: 1px solid var(--line); border-radius: 6px; display: grid; grid-template-columns: 38px minmax(0, 1fr); align-items: center; column-gap: 10px; }
.food-menu-summary span { width: 38px; height: 38px; grid-row: 1 / 3; border-radius: 5px; color: var(--green); background: var(--green-soft); display: grid; place-items: center; }
.food-menu-summary small { color: var(--muted); }
.food-menu-summary strong { font-size: 18px; }
.food-menu-table { min-width: 720px; }
.food-menu-table th:first-child, .food-menu-table td:first-child { width: 44px; padding-right: 4px; text-align: center; }
.food-menu-table th:nth-child(2), .food-menu-table td:nth-child(2) { width: 62px; text-align: center; }
.food-menu-table th:nth-child(4), .food-menu-table td:nth-child(4) { width: 196px; padding-right: 4px; }
.food-menu-table th:nth-child(5), .food-menu-table td:nth-child(5) { width: 142px; padding-left: 4px; text-align: left; }
.food-menu-table th:last-child, .food-menu-table td:last-child { width: 58px; text-align: center; }
.food-menu-table input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--green); }
.food-menu-table tr.food-item-disabled { color: #98a29d; background: #fafbfa; }
.food-cell-input { height: 36px; padding: 0 9px; border: 1px solid var(--line); border-radius: 4px; color: var(--ink); background: #fff; font: inherit; }
.food-serial-input { width: 54px; text-align: center; }
.food-name-input { width: 100%; min-width: 180px; font-weight: 700; }
.food-quantity-fields { min-width: 180px; display: grid; grid-template-columns: 92px 80px; gap: 6px; }
.food-amount-input { width: 92px; color: var(--green-dark); font-weight: 700; text-align: right; }
.food-unit-input { width: 80px; }
.food-cost-input { width: 126px; text-align: right; }
.food-delete-button { margin: auto; color: var(--red); }
.food-delete-button:hover { color: #a82929; background: #fceeee; }
.food-fixed-item { color: #a7b0ab; }
.food-menu-donor, .food-menu-note { padding: 15px 18px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 92px minmax(0, 1fr); align-items: center; gap: 12px; }
.food-menu-donor + .food-menu-note { padding-top: 0; border-top: 0; }
.food-menu-donor label, .food-menu-note label { font-size: 13px; font-weight: 700; }
.food-menu-donor input, .food-menu-note input { width: 100%; height: 40px; padding: 0 11px; border: 1px solid var(--line); border-radius: 5px; color: var(--ink); background: #fff; font: inherit; }
.food-menu-total { min-height: 64px; padding: 13px 18px; color: #fff; background: var(--green-dark); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.food-menu-total span { font-weight: 600; }
.food-menu-total strong { color: #ffd86b; font-size: 24px; }
.food-menu-actions { padding: 14px 18px; display: flex; justify-content: flex-end; gap: 8px; }

.modal { width: min(760px, calc(100% - 28px)); max-height: calc(100vh - 28px); padding: 0; border: 0; border-radius: 8px; overflow: auto; box-shadow: 0 26px 80px rgba(5,35,24,.35); }
.donor-history-dialog { width: min(1100px, calc(100% - 28px)); }
.modal::backdrop { background: rgba(6, 37, 26, .68); }
.modal-head { padding: 20px 22px; border-bottom: 1px solid var(--line); display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.modal-head h2 { margin: 0; font-size: 23px; }
.modal-head p { margin: 3px 0 0; color: var(--muted); }
.modal-body { padding: 21px 22px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field.full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 5px; font-size: 13px; font-weight: 700; }
.field input, .field select, .field textarea { width: 100%; padding: 0 12px; border: 1px solid var(--line); border-radius: 5px; color: var(--ink); background: #fff; }
.field input, .field select { height: 44px; }
.field textarea { min-height: 88px; padding-block: 10px; resize: vertical; }
.modal-actions { padding-top: 20px; display: flex; justify-content: flex-end; gap: 9px; }
.receipt-dialog { width: min(860px, calc(100% - 24px)); max-height: calc(100vh - 24px); padding: 0; border: 0; border-radius: 8px; overflow: auto; background: #eef2ef; box-shadow: 0 26px 80px rgba(5,35,24,.38); }
.receipt-dialog::backdrop { background: rgba(6,37,26,.72); }
.receipt-toolbar { min-height: 70px; padding: 12px 18px; position: sticky; top: 0; z-index: 2; border-bottom: 1px solid var(--line); background: #fff; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.receipt-toolbar strong, .receipt-toolbar small { display: block; }
.receipt-toolbar small { color: var(--muted); }
.receipt-toolbar-actions { display: flex; gap: 8px; }
.receipt-preview { padding: 24px; }
.money-receipt { max-width: 760px; min-height: 620px; padding: 28px 34px 25px; position: relative; margin: auto; border: 2px solid var(--green-dark); color: #17231e; background-color: #fff; background-image: radial-gradient(circle at 12px 12px, rgba(8,118,77,.05) 1px, transparent 1.5px); background-size: 24px 24px; overflow: hidden; }
.money-receipt::before { content: ''; position: absolute; inset: 7px; border: 1px solid #d4a33d; pointer-events: none; }
.receipt-watermark { position: absolute; inset: 0; display: grid; place-items: center; transform: rotate(-12deg); pointer-events: none; }
.receipt-watermark img { width: 300px; height: 300px; object-fit: contain; opacity: .045; }
.receipt-head { position: relative; padding-bottom: 17px; border-bottom: 2px solid var(--green); display: grid; grid-template-columns: 88px 1fr 74px; align-items: center; gap: 15px; }
.receipt-logo { width: 84px; height: 84px; object-fit: contain; display: block; }
.receipt-org { text-align: center; }
.receipt-org h2 { margin: 0; color: var(--green-dark); font-size: 24px; line-height: 1.25; }
.receipt-org p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.receipt-copy { text-align: right; align-self: start; color: var(--muted); font-size: 11px; font-weight: 700; }
.receipt-title { width: max-content; padding: 6px 24px; margin: 18px auto; border-radius: 3px; color: #fff; background: var(--green-dark); font-size: 19px; font-weight: 700; letter-spacing: 0; }
.receipt-meta { position: relative; margin-bottom: 15px; display: flex; justify-content: space-between; gap: 20px; font-size: 14px; }
.receipt-meta strong { color: var(--green-dark); }
.receipt-details { position: relative; display: grid; gap: 4px; }
.receipt-line { min-height: 40px; padding: 7px 4px; border-bottom: 1px dotted #809088; display: grid; grid-template-columns: 150px 16px 1fr; align-items: center; gap: 5px; }
.receipt-line > span:first-child { color: var(--muted); font-weight: 600; }
.receipt-line strong { font-weight: 600; }
.receipt-amount { margin: 18px 0 12px; padding: 13px 16px; position: relative; border-left: 5px solid var(--gold); color: var(--green-dark); background: var(--green-soft); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.receipt-amount span { font-weight: 600; }
.receipt-amount strong { font-size: 25px; white-space: nowrap; }
.receipt-words { min-height: 47px; padding: 10px 12px; position: relative; border: 1px solid var(--line); background: #fff; font-size: 14px; }
.receipt-words span { color: var(--muted); font-weight: 600; }
.receipt-signatures { margin-top: 65px; position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 42px; text-align: center; }
.receipt-signature { min-width: 0; min-height: 78px; display: flex; flex-direction: column; justify-content: flex-end; font-size: 13px; }
.receipt-signature img { width: 100%; height: 50px; object-fit: contain; display: block; }
.receipt-signature-name { width: 100%; min-height: 50px; padding: 3px 2px; display: grid; place-items: center; font-family: 'Hind Siliguri', cursive; font-size: 17px; font-style: italic; font-weight: 600; line-height: 1.15; text-align: center; overflow-wrap: anywhere; }
.receipt-signature span { min-height: 25px; padding-top: 5px; border-top: 1px solid #526159; display: block; }
.receipt-footer { margin-top: 25px; padding-top: 8px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; text-align: center; }
.signature-dialog { width: min(820px, calc(100% - 28px)); }
.signature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.signature-field { min-width: 0; }
.signature-field-head { margin-bottom: 7px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.signature-field label { font-weight: 700; }
.signature-clear { padding: 4px 7px; border: 0; color: var(--red); background: transparent; font-size: 12px; font-weight: 700; }
.signature-pad { width: 100%; height: 150px; border: 1px dashed #819188; border-radius: 5px; background-color: #fff; background-image: linear-gradient(transparent calc(100% - 31px), #dce5e0 31px, #dce5e0 32px, transparent 32px); cursor: crosshair; touch-action: none; display: block; }
.signature-type-label { margin: 11px 0 5px; color: var(--muted); display: flex; align-items: center; gap: 7px; font-size: 12px; }
.signature-text-input { width: 100%; height: 42px; padding: 0 11px; border: 1px solid var(--line); border-radius: 5px; color: var(--ink); background: #fff; }
.signature-text-input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(8,118,77,.12); outline: 0; }
.toast { max-width: min(380px, calc(100% - 28px)); padding: 12px 16px; position: fixed; right: 22px; bottom: 22px; z-index: 80; border-radius: 6px; color: #fff; background: var(--green-dark); box-shadow: 0 12px 34px rgba(0,0,0,.2); transform: translateY(120px); opacity: 0; transition: .25s; }
.toast.show { transform: translateY(0); opacity: 1; }
.overlay { display: none; }

@media (max-width: 1180px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .fund-grid { grid-template-columns: 1fr; }
    .call-stats { grid-template-columns: repeat(2, 1fr); }
    .global-result-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
    .sidebar { transform: translateX(-100%); transition: transform .25s; }
    .sidebar.open { transform: translateX(0); }
    .workspace { margin-left: 0; }
    .menu-button { display: grid; }
    .overlay { position: fixed; inset: 0; z-index: 35; background: rgba(5,31,22,.5); }
    .overlay.show { display: block; }
    .dashboard-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
    .topbar { min-height: 64px; padding: 0 14px; }
    .topbar h1 { font-size: 18px; }
    .topbar-date, .topbar-actions > .help-button { display: none; }
    .language-button { min-height: 32px; padding: 4px 7px; font-size: 12px; }
    .notification-panel { width: min(350px, calc(100vw - 28px)); right: -47px; }
    .content { padding: 20px 14px 35px; }
    .student-frame { height: calc(100vh - 154px); min-height: 680px; }
    .page-head { align-items: flex-start; flex-direction: column; }
    .page-actions { width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
    .page-actions .btn { min-width: 0; padding-inline: 9px; }
    .page-actions #export-button { grid-column: 1 / -1; }
    .global-search-panel { padding: 15px; }
    .global-search-form { grid-template-columns: 1fr; }
    .global-search-form .btn { width: 100%; }
    .global-result-item { grid-template-columns: minmax(0, 1fr) 100px 10px; }
    .global-result-value { max-width: 100px; }
    .stats-grid { grid-template-columns: 1fr; gap: 12px; }
    .stat-card { padding: 17px; }
    .call-stats { grid-template-columns: 1fr 1fr; }
    .call-log-panel .panel-head { align-items: stretch; flex-direction: column; }
    .document-panel .panel-head { align-items: stretch; flex-direction: column; }
    .document-panel .panel-head .btn { width: 100%; }
    .call-log-head-actions { display: grid; grid-template-columns: 1fr 1fr; }
    .call-log-head-actions #export-bd-contacts { grid-column: 1 / -1; }
    .call-log-head-actions .btn { width: 100%; min-width: 0; }
    .transactions-tools { align-items: stretch; flex-direction: column; }
    .search { width: 100%; }
    .filter-group { width: 100%; }
    .select { min-width: 0; flex: 1; }
    .form-grid { grid-template-columns: 1fr; }
    .field.full { grid-column: auto; }
    .chart-wrap { height: 250px; padding: 12px; }
    .receipt-toolbar { align-items: flex-start; flex-direction: column; }
    .receipt-toolbar-actions { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .receipt-toolbar-actions .btn { width: 100%; min-width: 0; }
    .receipt-toolbar-actions .btn { padding-inline: 8px; font-size: 12px; }
    .receipt-preview { padding: 10px; }
    .money-receipt { width: 100%; min-height: 600px; padding: 22px 16px; }
    .receipt-head { padding-top: 17px; grid-template-columns: 58px 1fr; gap: 8px; }
    .receipt-logo { width: 56px; height: 56px; }
    .receipt-org h2 { font-size: 17px; }
    .receipt-org p { font-size: 11px; }
    .receipt-copy { position: absolute; top: -8px; right: 0; }
    .receipt-title { margin: 15px auto; font-size: 16px; }
    .receipt-meta { flex-direction: column; gap: 3px; }
    .receipt-line { grid-template-columns: 105px 10px minmax(0, 1fr); font-size: 12px; }
    .receipt-line strong { overflow-wrap: anywhere; }
    .receipt-amount { padding: 10px 11px; }
    .receipt-amount strong { font-size: 20px; }
    .receipt-signatures { margin-top: 55px; gap: 12px; }
    .receipt-signature { min-height: 74px; font-size: 10px; }
    .receipt-signature-name { min-height: 47px; font-size: 13px; }
    .signature-grid { grid-template-columns: 1fr; }
    .food-menu-head-actions { width: 100%; align-items: stretch; flex-direction: column-reverse; }
    .food-menu-head-actions .btn { width: 100%; }
    .guest-count-field { justify-content: space-between; }
    .market-price-status { align-items: flex-start; flex-wrap: wrap; }
    .market-price-status a { width: 100%; margin-left: 22px; }
    .food-menu-summary { grid-template-columns: 1fr; }
    .food-menu-donor, .food-menu-note { grid-template-columns: 1fr; }
    .food-menu-actions { display: grid; grid-template-columns: 1fr 1fr; }
    .food-menu-actions .btn { min-width: 0; padding-inline: 8px; }
}

@media print {
    @page { size: A4 portrait; margin: 6mm; }
    body > * { visibility: hidden; }
    body:has(#food-menu:not([hidden])) .app-shell, body:has(#food-menu:not([hidden])) #food-menu { visibility: visible; }
    body:has(#food-menu:not([hidden])) #food-menu { width: 100%; position: absolute; inset: 0; border: 0; box-shadow: none; }
    body:has(#food-menu:not([hidden])) #food-menu * { visibility: visible; }
    body:has(#food-menu:not([hidden])) .sidebar, body:has(#food-menu:not([hidden])) .topbar, body:has(#food-menu:not([hidden])) .content > :not(#food-menu), body:has(#food-menu:not([hidden])) .food-menu-actions { display: none; }
    body:has(#food-menu:not([hidden])) .workspace { margin: 0; }
    body:has(#food-menu:not([hidden])) .content { padding: 0; }
    body:has(#food-menu:not([hidden])) .food-print-header { padding: 0 0 5px; margin-bottom: 4px; border-bottom: 2px solid #173f30; display: grid; grid-template-columns: 54px 1fr 54px; align-items: center; gap: 8px; text-align: center; break-inside: avoid; }
    body:has(#food-menu:not([hidden])) .food-print-header img { width: 50px; height: 50px; object-fit: contain; }
    body:has(#food-menu:not([hidden])) .food-print-header div { grid-column: 2; }
    body:has(#food-menu:not([hidden])) .food-print-header h1 { margin: 0; color: #173f30; font-size: 16px; line-height: 1.15; }
    body:has(#food-menu:not([hidden])) .food-print-header p { margin: 1px 0 2px; color: #526159; font-size: 8px; }
    body:has(#food-menu:not([hidden])) .food-print-header strong { font-size: 11px; }
    body:has(#food-menu:not([hidden])) .food-menu-head { min-height: 34px; padding: 3px 7px; }
    body:has(#food-menu:not([hidden])) .food-menu-head h3 { font-size: 13px; }
    body:has(#food-menu:not([hidden])) .food-menu-head p, body:has(#food-menu:not([hidden])) .section-title > i { display: none; }
    body:has(#food-menu:not([hidden])) .food-menu-head-actions .btn, body:has(#food-menu:not([hidden])) .food-language-switch, body:has(#food-menu:not([hidden])) .market-price-status a { display: none; }
    body:has(#food-menu:not([hidden])) .market-price-status, body:has(#food-menu:not([hidden])) .food-menu-summary { display: none; }
    body:has(#food-menu:not([hidden])) .guest-count-field { padding: 2px 5px; font-size: 9px; }
    body:has(#food-menu:not([hidden])) .guest-count-field input { width: 52px; height: 22px; padding: 0 3px; font-size: 9px; }
    body:has(#food-menu:not([hidden])) .table-wrap { overflow: visible; }
    body:has(#food-menu:not([hidden])) .food-menu-table { min-width: 0; }
    body:has(#food-menu:not([hidden])) .food-menu-table thead { display: table-header-group; }
    body:has(#food-menu:not([hidden])) .food-menu-table tr { height: 22px; break-inside: avoid; page-break-inside: avoid; }
    body:has(#food-menu:not([hidden])) .food-menu-table tr.food-item-disabled { display: none; }
    body:has(#food-menu:not([hidden])) .food-menu-table th, body:has(#food-menu:not([hidden])) .food-menu-table td { height: 22px; padding: 1px 4px; font-size: 8px; line-height: 1; }
    body:has(#food-menu:not([hidden])) .food-menu-table th:last-child, body:has(#food-menu:not([hidden])) .food-menu-table td:last-child { display: none; }
    body:has(#food-menu:not([hidden])) .food-menu-table input[type="checkbox"] { width: 11px; height: 11px; }
    body:has(#food-menu:not([hidden])) .food-cell-input { height: 18px; padding: 0 3px; border-color: #bdc8c2; font-size: 8px; line-height: 1; }
    body:has(#food-menu:not([hidden])) .food-quantity-fields { min-width: 0; grid-template-columns: 65px 55px; gap: 3px; }
    body:has(#food-menu:not([hidden])) .food-amount-input { width: 65px; }
    body:has(#food-menu:not([hidden])) .food-unit-input { width: 55px; }
    body:has(#food-menu:not([hidden])) .food-cost-input { width: 90px; }
    body:has(#food-menu:not([hidden])) .food-menu-donor, body:has(#food-menu:not([hidden])) .food-menu-note { padding: 3px 7px; grid-template-columns: 70px minmax(0, 1fr); gap: 5px; break-inside: avoid; }
    body:has(#food-menu:not([hidden])) .food-menu-donor label, body:has(#food-menu:not([hidden])) .food-menu-note label { font-size: 9px; }
    body:has(#food-menu:not([hidden])) .food-menu-donor input, body:has(#food-menu:not([hidden])) .food-menu-note input { height: 23px; padding: 0 5px; font-size: 9px; }
    body:has(#food-menu:not([hidden])) .food-menu-total { min-height: 29px; padding: 3px 7px; font-size: 10px; break-inside: avoid; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
    body:has(#food-menu:not([hidden])) .food-menu-total strong { font-size: 15px; }
    #receipt-dialog, #receipt-dialog * { visibility: visible; }
    #receipt-dialog { width: 100%; max-width: none; max-height: none; position: absolute; inset: 0; margin: 0; border-radius: 0; overflow: visible; background: #fff; }
    #receipt-dialog::backdrop, .receipt-toolbar { display: none; }
    .receipt-preview { padding: 0; }
    .money-receipt { width: 100%; max-width: none; min-height: 0; border-color: #173f30; box-shadow: none; }
}
