.deposit-head{display:flex;justify-content:space-between;gap:24px;align-items:flex-start;margin-bottom:24px}.deposit-head h1{margin:3px 0 5px;font-size:clamp(1.65rem,3vw,2.25rem);color:#173d33}.deposit-head p{margin:0;color:#64756f}.deposit-kicker{color:#178465!important;font-weight:600;font-size:.84rem;letter-spacing:.02em}.deposit-back{display:inline-block;color:#178465;text-decoration:none;font-weight:600;margin-bottom:10px}.deposit-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:20px}.deposit-stats article{background:linear-gradient(145deg,#fff,#f4faf7);border:1px solid #dcebe4;border-radius:16px;padding:19px;box-shadow:0 5px 18px rgba(22,69,55,.05)}.deposit-stats span,.student-total span{display:block;color:#687b74;font-size:.86rem}.deposit-stats strong{display:block;color:#174c3c;font-size:1.35rem;margin-top:7px}.deposit-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:18px;margin-bottom:18px}.deposit-card{background:#fff;border:1px solid #dfe9e5;border-radius:18px;padding:22px;box-shadow:0 8px 28px rgba(24,67,54,.06)}.deposit-section-title{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.deposit-section-title h2{font-size:1.18rem;color:#1f4037;margin:0 0 3px}.deposit-section-title p{margin:0;color:#768680;font-size:.86rem}.deposit-form{display:grid;gap:15px}.deposit-form label,.report-filter label{display:grid;gap:6px;font-weight:600;color:#324d44;font-size:.9rem}.deposit-form label small{font-weight:400;color:#7a8984}.deposit-form input,.deposit-form select,.deposit-search input,.report-filter input{width:100%;box-sizing:border-box;border:1px solid #cddbd5;border-radius:10px;background:#fff;padding:11px 12px;font:inherit;color:#223b33;min-height:44px}.deposit-form input:focus,.deposit-form select:focus,.deposit-search input:focus,.report-filter input:focus{outline:3px solid rgba(38,164,125,.16);border-color:#23966f}.deposit-form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.deposit-form-row.small-first{grid-template-columns:110px 1fr}.deposit-btn{display:inline-flex;align-items:center;justify-content:center;min-height:43px;border:0;border-radius:10px;padding:10px 17px;background:#14795c;color:#fff;text-decoration:none;font:600 .92rem Prompt,sans-serif;cursor:pointer}.deposit-btn:hover{background:#0d654b}.deposit-btn-secondary{background:#e6f3ee;color:#17664f}.deposit-btn-secondary:hover{background:#d5ebe3}.deposit-btn-light{background:#fff;border:1px solid #c8d9d2;color:#27594a}.deposit-btn-light:hover{background:#f3f8f6}.deposit-list-card{margin-top:18px}.deposit-search{display:flex;gap:7px}.deposit-search input{width:230px}.deposit-search button{border:0;border-radius:9px;padding:8px 13px;background:#e4f1ec;color:#17664f;font-weight:600}.deposit-table-wrap{overflow-x:auto}.deposit-table{width:100%;border-collapse:collapse;white-space:nowrap}.deposit-table th,.deposit-table td{text-align:left;padding:13px 12px;border-bottom:1px solid #e7eeeb}.deposit-table th{color:#5e736b;font-size:.82rem;background:#f7faf9}.deposit-table .num{text-align:right}.deposit-table .amount{font-weight:700;color:#17664f}.student-link{color:#204e40;font-weight:600;text-decoration:none}.student-link:hover{text-decoration:underline}.deposit-status{display:inline-block;border-radius:999px;padding:4px 9px;background:#eee;color:#737373;font-size:.78rem}.deposit-status.active{background:#dcf4e9;color:#176447}.deposit-empty{text-align:center!important;color:#7d8c87;padding:35px!important}.deposit-errors{background:#fff2f1;border:1px solid #f1cac5;color:#8b342a;padding:14px 18px;border-radius:12px;margin-bottom:18px}.deposit-errors ul{margin:6px 0 0;padding-left:20px}.deposit-check{display:flex!important;grid-template-columns:auto 1fr!important;align-items:center}.deposit-check input{width:18px;height:18px;min-height:0}.student-total{background:#e7f5ef;border-radius:15px;padding:15px 22px;min-width:180px}.student-total strong{display:block;color:#116b50;font-size:1.55rem;margin-top:3px}.report-filter{display:flex;flex-wrap:wrap;align-items:end;gap:12px}.report-filter label{min-width:165px}.report-title{text-align:center;margin-bottom:18px}.report-title h2{margin:0;color:#23483d}.report-title p{margin:5px 0;color:#6a7b75}.report-summary{display:flex;justify-content:space-between;gap:15px;padding:13px 0;border-top:1px solid #e3ebe8;color:#5f716a}.report-summary strong{color:#16684f}.deposit-table tfoot th{font-size:1rem;background:#edf6f2;color:#174f3e}
@media(max-width:1000px){.deposit-stats{grid-template-columns:repeat(2,1fr)}.deposit-grid{grid-template-columns:1fr}}
@media(max-width:620px){.deposit-head{display:block}.deposit-head>.deposit-btn{margin-top:15px}.deposit-stats{grid-template-columns:1fr 1fr;gap:9px}.deposit-stats article{padding:14px}.deposit-stats strong{font-size:1.05rem}.deposit-card{padding:16px;border-radius:14px}.deposit-form-row,.deposit-form-row.small-first{grid-template-columns:1fr}.deposit-section-title{align-items:stretch;flex-direction:column}.deposit-search{width:100%}.deposit-search input{width:100%}.student-total{margin-top:14px}.report-filter>*{width:100%}}
@media print{body.admin-page{background:#fff}.admin-mobile-bar,#admin-sidebar,.admin-menu-backdrop,.no-print{display:none!important}.admin-content{margin:0!important;padding:0!important}.deposit-head{display:none}.report-paper{border:0;box-shadow:none;padding:0}.deposit-table{white-space:normal}.deposit-table th,.deposit-table td{padding:8px;font-size:11pt}}
.deposit-app,.login-page{margin:0;background:#f2f7f5;color:#263f37;font-family:Prompt,sans-serif}.app-header{height:70px;background:#fff;border-bottom:1px solid #dce8e3;display:flex;align-items:center;justify-content:space-between;padding:0 max(24px,calc((100vw - 1180px)/2));position:sticky;top:0;z-index:10}.app-brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:#23483c}.app-brand span,.login-mark{background:#167b5d;color:#fff;border-radius:11px;padding:8px 10px;font-weight:600}.app-header nav{display:flex;align-items:center;gap:4px}.app-header nav a,.app-header nav button{display:block;border:0;background:transparent;color:#587068;text-decoration:none;padding:10px 12px;border-radius:9px;font:500 .9rem Prompt,sans-serif;cursor:pointer}.app-header nav a.active{background:#e5f3ee;color:#126c51}.app-header nav form{margin:0}.app-main{max-width:1180px;margin:0 auto;padding:32px 24px 60px}.alert{background:#dcf4e9;border:1px solid #b8dfcf;color:#176447;padding:13px 16px;border-radius:11px;margin-bottom:18px}.login-page{min-height:100vh;display:grid;place-items:center;padding:22px}.login-card{width:min(420px,100%);box-sizing:border-box;background:#fff;border:1px solid #dce8e3;border-radius:22px;padding:34px;box-shadow:0 18px 55px rgba(22,74,58,.12)}.login-card .login-mark{display:inline-block}.login-card h1{margin:18px 0 5px;color:#173f33;font-size:1.55rem}.login-card>p{margin:0 0 24px;color:#71817c}.login-card .deposit-btn{width:100%}
@media(max-width:700px){.app-header{height:auto;min-height:64px;padding:10px 15px;align-items:flex-start}.app-brand strong{display:none}.app-header nav a,.app-header nav button{font-size:.8rem;padding:9px 8px}.app-main{padding:22px 14px 45px}.login-card{padding:25px}}

@page{size:A4 portrait;margin:12mm}
@media print{
  html,body.deposit-app{margin:0!important;padding:0!important;background:#fff!important;color:#111!important}
  body.deposit-app{font-family:"TH Sarabun New","Sarabun",sans-serif!important;font-size:16pt}
  .app-header,.deposit-head,.no-print{display:none!important}
  .app-main{max-width:none!important;margin:0!important;padding:0!important}
  .report-paper{width:100%!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important}
  .report-title{margin:0!important;border:1px solid #222;border-bottom:0;padding:6px 8px 5px}
  .report-title h2{margin:0!important;font-family:"TH Sarabun New","Sarabun",sans-serif!important;font-size:22pt!important;line-height:1.05;color:#176447!important}
  .report-title p{margin:3px 0 0!important;font-family:"TH Sarabun New","Sarabun",sans-serif!important;font-size:17pt!important;line-height:1;color:#111!important}
  .deposit-table-wrap{overflow:visible!important}
  .monthly-summary-table{width:100%!important;border-collapse:collapse!important;table-layout:fixed!important;white-space:normal!important}
  .monthly-summary-table th,.monthly-summary-table td{border:1px solid #222!important;padding:3px 8px!important;font-family:"TH Sarabun New","Sarabun",sans-serif!important;font-size:16pt!important;line-height:1.05!important;color:#111!important}
  .monthly-summary-table th:first-child,.monthly-summary-table td:first-child{width:72%;text-align:left}
  .monthly-summary-table th:last-child,.monthly-summary-table td:last-child{width:28%;text-align:right}
  .monthly-summary-table thead th{background:#167b5d!important;color:#fff!important;font-size:17pt!important;text-align:center!important;font-weight:700!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}
  .monthly-summary-table tbody tr{break-inside:avoid;page-break-inside:avoid}
  .monthly-summary-table tfoot th{background:#e5f3ee!important;color:#126c51!important;font-size:18pt!important;font-weight:700!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}
}

/* Refined application UI */
:root{--deposit-green:#0f7658;--deposit-green-dark:#0a533f;--deposit-mint:#e8f5f0;--deposit-ink:#183d32;--deposit-muted:#6e817a;--deposit-line:#dce9e4}
.deposit-app{min-height:100vh;background:
radial-gradient(circle at 8% 2%,rgba(92,190,151,.14),transparent 27rem),
radial-gradient(circle at 94% 24%,rgba(255,193,91,.10),transparent 24rem),#f4f8f6}
.app-header{height:76px;border-bottom:1px solid rgba(202,222,214,.85);box-shadow:0 6px 28px rgba(27,79,62,.055);backdrop-filter:blur(12px);background:rgba(255,255,255,.94)}
.app-brand{gap:12px}.app-brand span{position:relative;isolation:isolate;padding:10px 12px;border-radius:14px;background:linear-gradient(145deg,#15906b,#0f6d52);box-shadow:0 7px 18px rgba(15,118,88,.22)}
.app-brand span:after{content:"";position:absolute;width:8px;height:8px;border-radius:50%;right:-3px;top:-3px;background:#ffbd59;border:3px solid #fff;z-index:2}
.app-brand strong{font-size:.96rem;letter-spacing:-.01em}.app-header nav{padding:5px;background:#f5f8f7;border:1px solid #e4ece9;border-radius:13px}
.app-header nav a,.app-header nav button{transition:.2s ease}.app-header nav a:hover,.app-header nav button:hover{background:#fff;color:var(--deposit-green);box-shadow:0 3px 10px rgba(23,78,60,.07)}
.app-header nav a.active{background:#fff;color:var(--deposit-green);box-shadow:0 4px 12px rgba(23,78,60,.10)}
.app-main{padding-top:38px}.deposit-head{align-items:center;margin-bottom:28px}.deposit-head h1{letter-spacing:-.035em;line-height:1.2}.deposit-head>div>p:not(.deposit-kicker){max-width:670px;line-height:1.7}.deposit-kicker{display:inline-flex;align-items:center;gap:7px;text-transform:none}.deposit-kicker:before{content:"";width:8px;height:8px;border-radius:50%;background:#ffb84d;box-shadow:0 0 0 5px rgba(255,184,77,.16)}
.deposit-card{border-color:rgba(211,227,220,.9);border-radius:22px;box-shadow:0 12px 35px rgba(21,69,54,.065);transition:transform .2s ease,box-shadow .2s ease}.deposit-card:hover{box-shadow:0 16px 40px rgba(21,69,54,.085)}
.deposit-stats{gap:16px}.deposit-stats article{position:relative;overflow:hidden;padding:20px 20px 20px 64px;border:1px solid rgba(211,229,221,.95);background:rgba(255,255,255,.88);box-shadow:0 9px 25px rgba(22,69,55,.06)}
.deposit-stats article:before{position:absolute;left:18px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:var(--deposit-mint);color:var(--deposit-green);font-size:17px;font-weight:700}
.deposit-stats article:nth-child(1):before{content:"฿"}.deposit-stats article:nth-child(2):before{content:"＋"}.deposit-stats article:nth-child(3):before{content:"คน";font-size:11px}.deposit-stats article:nth-child(4):before{content:"✓"}
.deposit-stats article:after{content:"";position:absolute;width:64px;height:64px;border-radius:50%;right:-28px;top:-28px;background:rgba(47,161,123,.08)}
.deposit-stats strong{font-size:1.42rem;letter-spacing:-.02em}.deposit-section-title h2{font-size:1.25rem;letter-spacing:-.02em}.deposit-form-card{border-top:4px solid #168665}.deposit-grid>.deposit-card:nth-child(2){border-top:4px solid #e9ad4b}
.deposit-form input,.deposit-form select,.deposit-search input,.report-filter input{border-color:#cbdcd5;border-radius:12px;background:#fbfdfc;transition:border-color .18s,box-shadow .18s,background .18s}.deposit-form input:hover,.deposit-form select:hover,.deposit-search input:hover,.report-filter input:hover{border-color:#9fc6b7;background:#fff}
.deposit-btn{border-radius:12px;box-shadow:0 5px 13px rgba(15,118,88,.14);transition:transform .18s,box-shadow .18s,background .18s}.deposit-btn:hover{transform:translateY(-1px);box-shadow:0 8px 18px rgba(15,118,88,.19)}.deposit-btn-light{box-shadow:none}.deposit-btn-secondary{box-shadow:none}
.deposit-list-card{overflow:hidden}.deposit-list-card .deposit-table-wrap{margin:0 -22px -22px}.deposit-list-card .deposit-table{white-space:normal}.deposit-list-card .deposit-table th:first-child,.deposit-list-card .deposit-table td:first-child{padding-left:22px}.deposit-list-card .deposit-table th:last-child,.deposit-list-card .deposit-table td:last-child{padding-right:22px}.deposit-table thead th{padding-top:14px;padding-bottom:14px;background:#f1f7f4;color:#526b62;text-transform:none}.deposit-table tbody tr{transition:background .16s}.deposit-table tbody tr:hover{background:#f7fbf9}.deposit-table td{padding-top:14px;padding-bottom:14px}.student-link{text-decoration:none}.student-link:after{content:"  ›";color:#87aa9d}.deposit-status.active{border:1px solid #c7eadb}
.report-filter{padding:2px}.report-paper{position:relative;overflow:hidden}.report-paper:before{content:"";position:absolute;left:0;right:0;top:0;height:5px;background:linear-gradient(90deg,#128061,#56b591,#ffbd59)}.report-title{padding-top:10px}.monthly-summary-table thead th{background:#f0f7f4}.monthly-summary-table tbody tr:nth-child(even){background:#fbfdfc}.monthly-summary-table tbody tr:hover{background:#eff8f4}.monthly-summary-table tfoot th{background:#e4f3ed!important}
.alert{display:flex;align-items:center;gap:10px;border-radius:14px;box-shadow:0 7px 20px rgba(30,119,89,.08)}.alert:before{content:"✓";display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#16916a;color:#fff;font-weight:700;flex:0 0 auto}
@media(max-width:700px){.app-header{align-items:center}.app-header nav{border:0;background:transparent;padding:0}.app-header nav form button{color:#9a4b42}.deposit-head{margin-bottom:22px}.deposit-stats article{padding:15px 12px 15px 49px}.deposit-stats article:before{left:10px;width:30px;height:30px}.deposit-stats span{font-size:.76rem}.deposit-card{border-radius:18px}.deposit-list-card .deposit-table-wrap{margin:0 -16px -16px}.deposit-list-card .deposit-table th:first-child,.deposit-list-card .deposit-table td:first-child{padding-left:16px}.deposit-list-card .deposit-table th:last-child,.deposit-list-card .deposit-table td:last-child{padding-right:16px}}
@media print{.report-paper:before{display:none}.monthly-summary-table tbody tr:nth-child(even){background:#fff!important}}
.deposit-btn-download{gap:6px;padding-left:8px;padding-right:8px;white-space:nowrap;font-size:.82rem;background:#fff;box-shadow:0 5px 14px rgba(24,65,52,.08)}
.deposit-btn-download span{display:grid;place-items:center;min-width:26px;height:26px;padding:0 4px;border-radius:7px;color:#fff;font-size:.72rem;font-weight:700;line-height:1}
.deposit-btn-excel{border:1px solid #9dd6bc;color:#11724f;background:#f2fbf7}.deposit-btn-excel span{background:#168a5d}.deposit-btn-excel:hover{background:#e4f7ee;color:#0d6244}
.deposit-btn-pdf{border:1px solid #efb7b2;color:#a13b32;background:#fff7f6}.deposit-btn-pdf span{background:#c94a40;font-size:.58rem}.deposit-btn-pdf:hover{background:#ffebe9;color:#8e3028}
.report-filter{gap:10px}.report-filter>button.deposit-btn,.report-filter>.deposit-btn-download{box-sizing:border-box;width:168px;min-width:168px;min-height:64px;border-radius:12px}
@media(max-width:620px){.report-filter>button.deposit-btn,.report-filter>.deposit-btn-download{width:100%;min-width:0}.deposit-btn-download{justify-content:flex-start}}
@media print{.deposit-btn-download{display:none!important}}
.deposit-head-actions{display:flex;align-items:center;gap:10px}.deposit-btn-backup{gap:7px;background:#fff5df;border:1px solid #f0d39a;color:#83570a;box-shadow:none}.deposit-btn-backup span{display:grid;place-items:center;width:23px;height:23px;border-radius:7px;background:#e8a82f;color:#fff;font-size:1rem;font-weight:700}.deposit-btn-backup:hover{background:#ffedc8;color:#684404;box-shadow:0 7px 16px rgba(179,122,24,.13)}
@media(max-width:620px){.deposit-head-actions{margin-top:15px;flex-wrap:wrap}.deposit-head-actions .deposit-btn{flex:1}.deposit-head>.deposit-head-actions{margin-top:15px}}
.restore-panel{padding:0!important;margin-bottom:18px;border-left:4px solid #e0a431}.restore-panel summary{display:flex;align-items:center;gap:12px;padding:16px 20px;cursor:pointer;list-style:none}.restore-panel summary::-webkit-details-marker{display:none}.restore-panel summary strong,.restore-panel summary small{display:block}.restore-panel summary strong{color:#5f460f}.restore-panel summary small{margin-top:2px;color:#81745a;font-size:.78rem}.restore-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#fff2d5;color:#9a6812;font-size:1.25rem;font-weight:700}.restore-arrow{margin-left:auto;color:#9a7b3f;font-size:1.2rem}.restore-panel[open] .restore-arrow{transform:rotate(180deg)}.restore-form{display:grid;grid-template-columns:minmax(260px,1fr) auto;align-items:end;gap:14px;padding:18px 20px 20px;border-top:1px solid #eee2c9;background:#fffdf8}.restore-form>label:first-child{display:grid;gap:7px;color:#5b5140;font-weight:600;font-size:.86rem}.restore-form input[type=file]{box-sizing:border-box;width:100%;padding:10px;border:1px dashed #d7bd85;border-radius:10px;background:#fff}.restore-confirm{grid-column:1/-1;display:flex;align-items:center;gap:8px;color:#775b20;font-size:.84rem}.restore-confirm input{width:17px;height:17px}.restore-button{background:#9b6814}.restore-button:hover{background:#80530c}
@media(max-width:620px){.restore-form{grid-template-columns:1fr}.restore-form .deposit-btn{width:100%}}
.daily-stat-card{padding:0!important}.daily-stat-link{display:block;padding:20px 16px 20px 64px;color:inherit;text-decoration:none;position:relative;z-index:1}.daily-stat-link small{display:block;margin-top:4px;color:#168160;font-size:.72rem;font-weight:600}.daily-stat-card:hover{transform:translateY(-2px);border-color:#9fd1bf!important;box-shadow:0 13px 28px rgba(19,111,82,.13)!important}.daily-stat-card:hover .daily-stat-link small{color:#0c6248}.daily-toolbar{display:flex;align-items:end;justify-content:center;gap:10px;margin-bottom:18px}.daily-date-form{display:flex;align-items:end;gap:9px}.daily-date-form label{display:grid;gap:6px;color:#405b52;font-size:.84rem;font-weight:600}.daily-date-form input{min-height:43px;padding:8px 11px;border:1px solid #cadbd4;border-radius:11px;background:#fbfdfc;font:inherit;color:#24463b}.daily-nav-button,.daily-today-button{display:inline-flex;align-items:center;justify-content:center;min-height:43px;box-sizing:border-box;padding:8px 13px;border:1px solid #d0dfd9;border-radius:11px;background:#fff;color:#28614f;text-decoration:none;font-size:.84rem;font-weight:600}.daily-nav-button:hover,.daily-today-button:hover{background:#edf7f3;border-color:#a9cebf}.daily-nav-button.disabled{opacity:.42;cursor:not-allowed}.daily-today-button{background:#e9f5f0;color:#107153}.daily-summary-grid{display:grid;grid-template-columns:1.4fr repeat(3,1fr);gap:13px;margin-bottom:18px}.daily-summary-grid article{padding:18px;border:1px solid #dce9e4;border-radius:17px;background:#fff;box-shadow:0 8px 22px rgba(22,69,55,.05)}.daily-summary-grid span{display:block;color:#72837d;font-size:.8rem}.daily-summary-grid strong{display:block;margin-top:6px;color:#165d47;font-size:1.15rem}.daily-list-card{overflow:hidden}.daily-list-card .deposit-table-wrap{margin:0 -22px -22px}.daily-list-card .daily-table th:first-child,.daily-list-card .daily-table td:first-child{padding-left:22px}.daily-list-card .daily-table th:last-child,.daily-list-card .daily-table td:last-child{padding-right:22px}.daily-table tfoot th{background:#e7f4ef;color:#12694f;font-size:1rem}.daily-empty{text-align:center;padding:48px 20px}.daily-empty>span{display:grid;place-items:center;width:56px;height:56px;margin:0 auto 13px;border-radius:18px;background:#e9f6f1;color:#168160;font-size:1.55rem;font-weight:700}.daily-empty h3{margin:0;color:#315a4d}.daily-empty p{margin:5px 0 0;color:#7b8b85}.daily-head{margin-bottom:20px}
@media(max-width:850px){.daily-toolbar{flex-wrap:wrap}.daily-summary-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:620px){.daily-stat-link{padding:15px 8px 15px 49px}.daily-stat-link small{font-size:.65rem}.daily-toolbar>*{width:100%}.daily-date-form{width:100%}.daily-date-form label{flex:1}.daily-date-form .deposit-btn{width:auto}.daily-summary-grid{grid-template-columns:1fr 1fr;gap:9px}.daily-summary-grid article{padding:14px}.daily-summary-grid strong{font-size:.96rem}.daily-list-card .deposit-table-wrap{margin:0 -16px -16px}.daily-table th:nth-child(1),.daily-table td:nth-child(1),.daily-table th:nth-child(3),.daily-table td:nth-child(3),.daily-table th:nth-child(4),.daily-table td:nth-child(4){display:none}.daily-table tfoot th:first-child{display:table-cell}}
.detail-summary-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:18px}.detail-summary-grid article{padding:19px;border:1px solid #d8e8e1;border-radius:18px;background:linear-gradient(145deg,#fff,#f1f9f5);box-shadow:0 8px 24px rgba(20,73,56,.055)}.detail-summary-grid span{display:block;color:#70817b;font-size:.82rem}.detail-summary-grid strong{display:block;margin-top:6px;color:#135f47;font-size:1.28rem}.detail-list-card{overflow:hidden}.detail-list-card>.deposit-table-wrap{margin:0 -22px}.detail-list-card .deposit-table th:first-child,.detail-list-card .deposit-table td:first-child{padding-left:22px}.detail-list-card .deposit-table th:last-child,.detail-list-card .deposit-table td:last-child{padding-right:22px}.detail-list-card .deposit-table tfoot th{background:#e5f3ed;color:#12684e}.history-filter-card{margin-bottom:16px}.history-filter{display:grid;grid-template-columns:repeat(5,minmax(120px,1fr));gap:11px;align-items:end}.history-filter label{display:grid;gap:6px;color:#405a51;font-size:.8rem;font-weight:600}.history-filter input,.history-filter select{box-sizing:border-box;width:100%;min-height:42px;padding:8px 10px;border:1px solid #cbdcd5;border-radius:10px;background:#fbfdfc;font:inherit;color:#24453a}.history-result{display:flex;justify-content:space-between;align-items:center;margin:0 3px 12px;color:#677b73}.history-result strong{color:#126b50;font-size:1.18rem}.admin-pagination{padding:16px 0}.admin-pagination nav>div:first-child{display:none}.admin-pagination svg{width:18px}.admin-pagination nav>div:last-child{display:flex;justify-content:space-between;align-items:center;gap:10px}.admin-pagination nav span,.admin-pagination nav a{font-size:.78rem}
@media(max-width:1000px){.history-filter{grid-template-columns:repeat(3,1fr)}}
@media(max-width:620px){.detail-summary-grid{grid-template-columns:1fr}.history-filter{grid-template-columns:1fr}.history-result{align-items:flex-start;flex-direction:column;gap:4px}.detail-list-card>.deposit-table-wrap{margin:0 -16px}.history-table th:nth-child(3),.history-table td:nth-child(3),.history-table th:nth-child(4),.history-table td:nth-child(4){display:none}}
.entry-edit-link{display:inline-flex;padding:6px 10px;border:1px solid #cbded6;border-radius:9px;background:#f5faf8;color:#17654e;text-decoration:none;font-size:.76rem;font-weight:600}.entry-edit-link:hover{background:#e7f4ef}.entry-edit-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(260px,.7fr);gap:18px}.entry-danger-card{display:flex;flex-direction:column;justify-content:space-between;border-color:#efcbc7;background:#fffafa}.entry-danger-card h2{margin:0 0 7px;color:#943f36;font-size:1.2rem}.entry-danger-card p{margin:0;color:#826b68;font-size:.86rem;line-height:1.65}.entry-delete-button{width:100%;min-height:44px;margin-top:20px;border:1px solid #d78e87;border-radius:11px;background:#fff;color:#a63f36;font:600 .9rem Prompt,sans-serif;cursor:pointer}.entry-delete-button:hover{background:#b84339;border-color:#b84339;color:#fff}
@media(max-width:720px){.entry-edit-grid{grid-template-columns:1fr}.deposit-list-card .deposit-table th:nth-child(2),.deposit-list-card .deposit-table td:nth-child(2){display:none}}
.backup-state{display:flex;align-items:center;gap:11px;margin-bottom:18px;padding:12px 15px;border:1px solid #c9e5d9;border-radius:14px;background:#eef9f4;color:#245a49}.backup-state>span{display:grid;place-items:center;width:28px;height:28px;border-radius:9px;background:#168460;color:#fff;font-weight:700}.backup-state div{display:grid}.backup-state small{color:#658078}.backup-state>a{margin-left:auto;color:#17684f;font-size:.8rem;font-weight:600;text-decoration:none}.backup-state.warning{border-color:#efd39f;background:#fff8e8}.backup-state.warning>span{background:#d99828}.duplicate-warning{display:grid;gap:8px;padding:12px;border:1px solid #edc477;border-radius:11px;background:#fff7e6;color:#7a5310;font-size:.82rem}.duplicate-warning label{display:flex!important;grid-template-columns:none!important;align-items:center;gap:8px!important}.duplicate-warning input{width:17px!important;height:17px!important;min-height:0!important}.password-card{max-width:560px}.year-card{display:grid;grid-template-columns:1fr 1fr;gap:28px}.year-card h2{margin-top:0;color:#214d3f}.year-card p{color:#6f817a;line-height:1.65}.year-list{grid-column:1/-1;padding-top:15px;border-top:1px solid #e1ebe7;color:#60756d}.activity-badge{display:inline-block;padding:4px 8px;border-radius:8px;background:#e9f5f0;color:#17664f;font-size:.72rem;font-weight:600}
@media(max-width:700px){.backup-state{align-items:flex-start}.backup-state>a{display:none}.year-card{grid-template-columns:1fr}}
.range-filter{display:flex;flex-wrap:wrap;align-items:end;gap:10px}.range-filter label{display:grid;gap:6px;color:#405a51;font-size:.82rem;font-weight:600}.range-filter input{min-height:43px;box-sizing:border-box;padding:8px 11px;border:1px solid #cbdcd5;border-radius:11px;font:inherit}.range-result{margin-top:18px}.range-result .report-title{padding:3px 0 17px}
@media(max-width:620px){.range-filter>*{width:100%}}
.deposit-form textarea{width:100%;box-sizing:border-box;resize:vertical;border:1px solid #cbdcd5;border-radius:12px;background:#fbfdfc;padding:11px 12px;font:inherit;color:#24463b;line-height:1.55;transition:border-color .18s,box-shadow .18s,background .18s}.deposit-form textarea:hover{border-color:#9fc6b7;background:#fff}.deposit-form textarea:focus{outline:0;border-color:#178465;box-shadow:0 0 0 3px rgba(23,132,101,.12)}
.deposit-btn-closing{gap:7px;background:#e8f6f0;border:1px solid #a9d8c5;color:#0d674b;box-shadow:none}.deposit-btn-closing span{display:grid;place-items:center;width:23px;height:23px;border-radius:7px;background:#168a63;color:#fff;font-weight:700}.deposit-btn-closing:hover{background:#d9f0e7;color:#09563f}
.activity-table td{vertical-align:top}.activity-student,.activity-changes{display:block;margin-top:6px;color:#72857e;font-size:.75rem;line-height:1.55}.activity-description{display:block;color:#365149;font-size:.84rem}.activity-table th:nth-child(1){width:145px}.activity-table th:nth-child(2){width:110px}.activity-table th:nth-child(3){width:150px}
.closing-date-card{margin-bottom:16px;padding:16px 20px}.closing-date-card .daily-date-form{justify-content:flex-start}.closing-date-card .daily-date-form label{min-width:260px}.closing-summary-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:13px;margin-bottom:18px}.closing-summary-grid article{padding:18px;border:1px solid #dce9e4;border-radius:18px;background:#fff;box-shadow:0 8px 23px rgba(22,69,55,.055)}.closing-summary-grid span{display:block;color:#71847d;font-size:.8rem}.closing-summary-grid strong{display:block;margin-top:6px;color:#1d5242;font-size:1.12rem}.closing-summary-grid .closing-system-total{background:linear-gradient(145deg,#12765a,#0e6049);border-color:#0e6049}.closing-summary-grid .closing-system-total span{color:#c8eadf}.closing-summary-grid .closing-system-total strong{color:#fff;font-size:1.35rem}.closing-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr);gap:18px;margin-bottom:18px}.closing-form-card{border-top:4px solid #168665}.closing-difference{display:grid;grid-template-columns:1fr auto;align-items:center;padding:15px;border:1px solid #bfe2d4;border-radius:13px;background:#edf8f4;color:#26604f}.closing-difference span{font-size:.82rem}.closing-difference strong{font-size:1.25rem;color:#107153}.closing-difference small{grid-column:1/-1;margin-top:3px;color:#5f7b71}.closing-difference.different{border-color:#efc28e;background:#fff7e9;color:#885a18}.closing-difference.different strong{color:#a35e13}.closing-status-card{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;background:#f8fbfa}.closing-status-icon{display:grid;place-items:center;width:58px;height:58px;border-radius:18px;background:#e1ece8;color:#5e746d;font-size:1.7rem;font-weight:700}.closing-status-card h2{margin:14px 0 6px;color:#36564c}.closing-status-card>strong{color:#174f3e;font-size:1.3rem}.closing-status-card p{margin:7px 0;color:#718079;font-size:.84rem;line-height:1.6}.closing-status-card small{color:#82918c}.closing-status-card.matched{border-color:#b6dfcf;background:#f1faf6}.closing-status-card.matched .closing-status-icon{background:#168763;color:#fff}.closing-status-card.different{border-color:#efc19c;background:#fff8f1}.closing-status-card.different .closing-status-icon{background:#d97724;color:#fff}.closing-history{overflow:hidden}.closing-history .deposit-table-wrap{margin:0 -22px -22px}.closing-history .deposit-table th:first-child,.closing-history .deposit-table td:first-child{padding-left:22px}.closing-history .deposit-table th:last-child,.closing-history .deposit-table td:last-child{padding-right:22px}.closing-history a{color:#137052;font-weight:600;text-decoration:none}.difference-badge{display:inline-flex;padding:5px 8px;border-radius:8px;font-size:.74rem;font-weight:600}.difference-badge.ok{background:#e3f5ed;color:#116f50}.difference-badge.warn{background:#fff0dd;color:#99550e}
@media(max-width:850px){.closing-summary-grid{grid-template-columns:repeat(2,1fr)}.closing-grid{grid-template-columns:1fr}.activity-table th:nth-child(2),.activity-table td:nth-child(2){display:none}}
@media(max-width:620px){.closing-date-card .daily-date-form label{min-width:0}.closing-summary-grid{gap:9px}.closing-summary-grid article{padding:14px}.closing-history .deposit-table-wrap{margin:0 -16px -16px}.closing-history .deposit-table th:first-child,.closing-history .deposit-table td:first-child{padding-left:16px}.closing-history .deposit-table th:last-child,.closing-history .deposit-table td:last-child{padding-right:16px}.closing-history th:nth-child(2),.closing-history td:nth-child(2),.closing-history th:nth-child(5),.closing-history td:nth-child(5){display:none}.activity-table th:nth-child(1),.activity-table td:nth-child(1){display:none}}
