:root{--blue:#478fb6;--dark:#202c31;--cyan:#11c1c9;--bg:#edf1f7;--green:#12ad56;--orange:#efa116;--border:#d5d9df}*{box-sizing:border-box}body{margin:0;background:var(--bg);font:14px Arial,sans-serif;color:#1f2933}.topbar{position:fixed;z-index:10;inset:0 0 auto;height:52px;background:var(--blue);color:white;display:flex;align-items:center;gap:18px;padding:0 22px}.topbar strong{font-size:20px}.topbar a{color:white;text-decoration:none}.top-grow{flex:1}.year{background:#ffffff1f;padding:10px 16px}.menu-toggle{border:0;background:none;color:white;font-size:19px}.sidebar{position:fixed;z-index:9;top:52px;bottom:0;left:0;width:250px;background:var(--dark);color:#c9d1d5;overflow:auto}.identity{display:flex;gap:10px;align-items:center;padding:13px 12px;color:white}.identity .logo{width:43px;height:43px;border-radius:50%;display:grid;place-items:center;background:#176e52;font-weight:bold}.identity small{display:block;color:#8fce7c;margin-top:5px}.sidebar details{border-top:1px solid #ffffff0b}.sidebar summary{cursor:pointer;padding:13px 15px;color:white;font-weight:bold;display:flex;align-items:center;justify-content:space-between;list-style:none}.sidebar summary::-webkit-details-marker{display:none}.sidebar summary:after{content:'›';font-size:20px;line-height:1;transition:transform .18s ease}.sidebar details[open] summary:after{transform:rotate(90deg)}.sidebar a{display:block;color:#aebbc1;text-decoration:none;padding:8px 18px 8px 32px}.sidebar a:hover{background:#172126;color:white}.main{margin:52px 0 0 250px;padding:16px;min-height:calc(100vh - 52px);transition:.2s}.menu-closed .sidebar{display:none}.menu-closed .main{margin-left:0}.page-heading{display:flex;align-items:center;justify-content:space-between;min-height:54px}.page-heading h1{margin:0;font-size:26px;font-weight:400}.page-heading p{margin:3px 0;color:#87939a}.page-heading>span{font-size:12px;color:#77838a}.card{background:white;border-top:3px solid var(--cyan);padding:22px;box-shadow:0 1px 3px #0001}.form-grid{display:grid;grid-template-columns:repeat(3,minmax(180px,1fr));gap:15px 25px}.field label{display:block;font-weight:bold;margin-bottom:6px}.field input,.field select,.field textarea,.search input{width:100%;height:36px;border:1px solid var(--border);padding:7px 9px}.field textarea{height:72px}.required:after{content:' *';color:#c12855}.actions{display:flex;justify-content:center;gap:18px;margin:24px -22px -5px;padding-top:18px;border-top:1px solid #eee}.btn{border:0;padding:10px 22px;color:white;text-decoration:none;cursor:pointer}.btn.save{background:var(--green)}.btn.close{background:var(--orange)}.btn.delete{background:#c0392b;padding:6px 10px}.toolbar{display:flex;justify-content:space-between;align-items:center;margin:20px 0 10px}.search{display:flex;gap:7px}.search input{width:230px}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:13px}th{background:#3978a4;color:white;text-align:left;padding:9px;white-space:nowrap}td{padding:8px;border-bottom:1px solid #e7eaed;white-space:nowrap}tbody tr:nth-child(odd){background:#f8f9fa}.pagination{display:flex;gap:5px;margin-top:15px}.pagination a{padding:7px 10px;background:#e8eef2;text-decoration:none;color:#285d7b}.pagination a.active{background:var(--blue);color:white}.alert{padding:11px 14px;margin-bottom:12px}.alert.success{background:#ddf5e7;color:#126137}.alert.error{background:#fde4e4;color:#8b1e1e}.login-page{min-height:100vh;display:grid;place-items:center;background:linear-gradient(135deg,#e6eef4,#f5e8ec)}.login-box{width:min(390px,92vw);background:white;padding:30px;box-shadow:0 8px 40px #0002;text-align:center}.login-box .mark{width:78px;height:78px;border-radius:50%;background:#146b50;color:white;font-size:26px;font-weight:bold;display:grid;place-items:center;margin:auto}.login-box h2{color:#176b50}.login-box input,.login-box select{width:100%;height:40px;margin:7px 0;border:1px solid var(--border);padding:8px}.login-box button{width:100%;margin-top:8px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:13px}.stat{padding:18px;color:white;background:var(--blue)}.stat:nth-child(2){background:#1aa866}.stat:nth-child(3){background:#e89c18}.stat:nth-child(4){background:#d95b4d}.stat b{display:block;font-size:28px}.note{padding:12px;background:#eaf7fa}.schema{margin-top:25px}footer{background:white;margin-top:20px;padding:14px}@media(max-width:800px){.sidebar{width:210px}.main{margin-left:210px}.topbar .year,.topbar span:not(.top-grow){display:none}.form-grid,.stats{grid-template-columns:1fr 1fr}}@media(max-width:520px){.form-grid,.stats{grid-template-columns:1fr}.sidebar{display:none}.main{margin-left:0}}
.report-buttons{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:10px;margin:12px 0}.report-buttons .btn{width:100%;text-align:center}
.table-wrap:has(#member-receipt-grid){overflow-x:hidden}#member-receipt-grid{table-layout:fixed;font-size:11px}#member-receipt-grid th,#member-receipt-grid td{padding:4px;white-space:normal;vertical-align:middle}#member-receipt-grid th{line-height:1.15}#member-receipt-grid th:first-child,#member-receipt-grid td:first-child{width:20%}#member-receipt-grid th:nth-child(n+2):nth-child(-n+7),#member-receipt-grid td:nth-child(n+2):nth-child(-n+7){width:11%}#member-receipt-grid th:last-child,#member-receipt-grid td:last-child{width:14%}#member-receipt-grid .grid-amount{width:100%;min-width:0;height:30px;padding:4px;font-size:12px}
.shg-combobox{width:100%;height:36px;border:1px solid var(--border);padding:7px 9px;font:inherit;background:#fff}
.list-find{display:flex;justify-content:flex-end;margin:10px 0 6px}.list-find label{font-weight:bold}.list-find input{margin-left:8px;width:250px;height:34px;border:1px solid var(--border);padding:6px 8px;font:inherit}
.sortable-heading{cursor:pointer;user-select:none}.sortable-heading:after{content:' ↕';font-size:11px;color:#dcecf4}.sortable-heading.sort-asc:after{content:' ↑';color:white}.sortable-heading.sort-desc:after{content:' ↓';color:white}
.identity img.logo{object-fit:contain;background:white}.brand-sarvodaya{color:#f3a000}.brand-foundation{color:#65b82d}
.cashbook-sections{display:grid;gap:20px}.cashbook-sections .table-wrap{background:#fff}.cashbook-sections table{border:1px solid var(--border)}.cashbook-sections th{background:#f7f7f7;color:#111;border:1px solid var(--border);font-size:13px;padding:6px}.cashbook-sections td{border:1px solid var(--border);padding:5px}.cashbook-title{line-height:1.5;font-size:15px}@media print{.cashbook-sections{gap:14px}.cashbook-sections th,.cashbook-sections td{padding:4px;font-size:11px}}
.transaction-cashbook-control .btn{width:100%}.transaction-cashbook-panel{margin-top:24px;border-top:3px solid var(--cyan);background:#f7fafc;padding:12px}.transaction-cashbook-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px;font-size:16px}.transaction-cashbook-panel iframe{display:block;width:100%;height:780px;border:1px solid var(--border);background:white}
/* Local Ocean Blue application theme */
:root{--blue:#2f80c9;--dark:#173b63;--cyan:#4aa6a8;--bg:#e9f4ff;--green:#2e9369;--orange:#f0a23b;--border:#b9d3e9}
body{background:linear-gradient(135deg,#e9f4ff 0%,#f7fbff 55%,#eef8fa 100%)}
.topbar{background:linear-gradient(105deg,#1d5e98,#2f80c9);box-shadow:0 3px 12px #173b6333}
.year{background:#ffffff26;border:1px solid #ffffff26;border-radius:7px}
.sidebar{background:linear-gradient(180deg,#173b63 0%,#142f50 100%);box-shadow:5px 0 18px #173b6324}
.sidebar details{border-top-color:#ffffff16}.sidebar summary{color:#f2f8ff}.sidebar a{color:#c4d8e9;border-radius:7px;margin:2px 9px;padding-left:23px}.sidebar a:hover{background:#2f80c9;color:#fff}
.main{padding:20px}.page-heading h1{color:#173b63}.page-heading p,.page-heading>span{color:#6a8298}
.card{border-top-color:#2f80c9;border-radius:12px;box-shadow:0 7px 20px #2d6f9a15}.field input,.field select,.field textarea,.search input{border-color:#b9d3e9;border-radius:6px;background:#fbfdff}.btn.save{background:linear-gradient(135deg,#2f80c9,#4aa6a8);border-radius:7px}.btn.close{background:#f0a23b;border-radius:7px}.btn.delete{border-radius:6px}
.toolbar{border-bottom:1px solid #d7e5f0;padding-bottom:9px}.table-wrap{border:1px solid #d5e5f1;border-radius:10px;background:#fff}th{background:linear-gradient(105deg,#245f9d,#2f80c9)}td{border-bottom-color:#e2edf5}tbody tr:nth-child(odd){background:#f5faff}.pagination a{background:#dcecf8;color:#235d8d;border-radius:5px}.pagination a.active{background:#2f80c9}
.alert.success{background:#dff4e9;color:#176b49}.alert.error{background:#ffe4e4;color:#8b1e1e}.note{background:#edf8fb;color:#42677e;border:1px solid #d4eaf0;border-radius:8px}
.stats .stat{border-radius:12px;box-shadow:0 6px 16px #244f6b18}.stats .stat:nth-child(4n+1){background:#2f80c9}.stats .stat:nth-child(4n+2){background:#4aa6a8}.stats .stat:nth-child(4n+3){background:#f0a23b}.stats .stat:nth-child(4n+4){background:#bf5f82}
footer{border-top:1px solid #d7e5f0;color:#6a8298}

.login-page{min-height:100vh;display:grid;place-items:center;position:relative;overflow:hidden;background:linear-gradient(135deg,#e9f4f4,#f7faf9);padding:24px}.login-shell{position:relative;z-index:1;display:grid;grid-template-columns:minmax(300px,1fr) minmax(380px,480px);width:min(1020px,100%);overflow:hidden;border-radius:24px;box-shadow:0 24px 70px #123c3c30;background:#fff}.login-intro{display:flex;flex-direction:column;justify-content:center;padding:58px 54px;color:#fff;background:linear-gradient(150deg,#073d4f,#187465)}.login-brand{display:flex;align-items:center;gap:18px}.login-brand img{width:82px;height:82px;object-fit:contain;border-radius:22px;background:#fff;padding:8px}.login-eyebrow{display:block;color:#f7cf74;font-size:12px;font-weight:700;letter-spacing:1.8px;text-transform:uppercase}.login-intro h1{margin:8px 0 0;font-size:42px;line-height:1.03;font-weight:300}.login-intro h1 strong{color:#f7cf74}.login-intro-copy{max-width:360px;margin:32px 0 0;color:#d8f1ed;font-size:16px;line-height:1.7}.login-highlight{display:flex;align-items:center;gap:12px;margin-top:48px;padding:14px 16px;width:max-content;max-width:100%;border:1px solid #ffffff2e;border-radius:14px;background:#ffffff12}.login-highlight>span{display:grid;place-items:center;width:31px;height:31px;border-radius:10px;background:#f1b74b;color:#124b50;font-size:18px}.login-highlight b,.login-highlight small{display:block}.login-highlight small{margin-top:3px;color:#bfe2dc;font-size:12px}.login-box{width:auto;margin:0;padding:52px 48px;background:#fff;text-align:left;box-shadow:none}.login-header{margin-bottom:26px}.login-kicker{color:#15826e;font-size:11px;font-weight:800;letter-spacing:1.8px}.login-header h2{margin:7px 0 5px;color:#163b4a;font-size:30px;font-weight:700}.login-header p{margin:0;color:#78909a;font-size:14px}.login-field{margin:15px 0}.login-field label{display:block;margin-bottom:7px;color:#355765;font-size:13px;font-weight:700}.login-box input,.login-box select{width:100%;height:46px;margin:0;border:1px solid #d6e4e5;border-radius:10px;background:#f8fbfb;color:#244653;padding:10px 12px;font:inherit}.login-password{display:flex;align-items:center;gap:7px}.login-password input{flex:1;min-width:0;width:auto}.password-toggle{flex:0 0 auto;height:46px;padding:0 13px;border:1px solid #d6e4e5;border-radius:10px;background:#f8fbfb;color:#15826e;font-size:12px;font-weight:700;cursor:pointer}.login-submit{display:flex;align-items:center;justify-content:space-between;width:100%;height:48px;margin-top:24px;border:0;border-radius:11px;background:linear-gradient(105deg,#117e6a,#27a17d);box-shadow:0 10px 18px #14856a2b;color:#fff;font-size:14px;font-weight:700;cursor:pointer}.login-arrow{font-size:22px}.login-footer{display:flex;justify-content:space-between;gap:12px;margin-top:20px;color:#96a9ae;font-size:12px}.login-footer a{color:#15826e;font-weight:700;text-decoration:none}@media(max-width:760px){.login-shell{grid-template-columns:1fr}.login-intro{padding:32px 30px}.login-box{padding:34px 30px}}
.login-password{position:relative;display:block}.login-password input{width:100%;padding-right:76px}.password-toggle{position:absolute;top:50%;right:7px;transform:translateY(-50%);height:32px;padding:0 9px;border:0;border-radius:7px;background:transparent;color:#15826e;font-size:12px;font-weight:700;cursor:pointer}.password-toggle:hover{background:#e8f5f1}
.password-toggle svg{display:block;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.login-box .password-toggle{width:auto;margin-top:0;display:inline-flex;align-items:center;justify-content:center}
.login-box .password-toggle,.login-box .password-toggle:hover{background:#f8fbfb}
.login-box .password-toggle,.login-box .password-toggle:hover,.login-box .password-toggle:active,.login-box .password-toggle:focus{background:#f8fbfb}
.login-box .password-toggle,.login-box .password-toggle:hover,.login-box .password-toggle:active,.login-box .password-toggle:focus{background:transparent}

/* Keep collapsed sidebar sections from covering the next menu item. */
.sidebar details:not([open]) > :not(summary){display:none}
;