:root{--theme-primary:#234e7d;--theme-primary-mid:#2d6094;--theme-primary-strong:#234e7d;--theme-primary-deep:#234e7d;--theme-primary-soft:#e4eef8;--theme-primary-border:#e6eef1;--theme-text:#16232d;--theme-text-muted:#60758d;--theme-surface:#fff;--tone-line:#e5edf1;--tone-soft:#f6f9fc;--tone-green:#0f9f5b;--tone-green-soft:#eaf8f1;--tone-amber:#d98710;--tone-amber-soft:#fff6e7;--tone-red:#c94a57;--tone-red-soft:#fff0f1;--portal-nav-sidebar-width:264px;--portal-nav-mobile-height:88px;--portal-nav-radius:16px;font-family:"Outfit",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--theme-text);background:#f6f8fb}*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:#f6f8fb;color:var(--theme-text);font-family:inherit}button,input,select,textarea{font:inherit}button{touch-action:manipulation}a{color:inherit}.hidden{display:none!important}svg{display:block;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.auth-screen{min-height:100dvh;display:grid;place-items:center;padding:24px;isolation:isolate;overflow:hidden;background:radial-gradient(circle at 16% 8%,rgba(103,177,218,.22),transparent 31rem),radial-gradient(circle at 90% 88%,rgba(7,142,232,.13),transparent 27rem),#f6faff}.auth-card{width:min(100%,600px);position:relative;border-radius:30px;background:rgba(255,255,255,.88);backdrop-filter:blur(18px);padding:28px}.back-link{display:inline-flex;align-items:center;color:#526985;text-decoration:none;font-size:13px;font-weight:700;margin-bottom:16px}.back-link:hover{color:var(--theme-primary-mid)}.auth-brand{display:flex;justify-content:center;align-items:center;margin:2px 0 8px;background:transparent}.auth-brand img{width:clamp(180px,48vw,228px);max-height:68px;height:auto;object-fit:contain;background:transparent;display:block}.auth-title-wrap{text-align:center;margin-bottom:20px}.auth-title-wrap>span{display:block;color:var(--theme-primary-mid);font-size:11px;font-weight:900;letter-spacing:.16em;margin-bottom:7px}.auth-title-wrap h1{margin:0;color:#11243f;font-size:28px;line-height:1.15;letter-spacing:-.02em}.auth-title-wrap p{margin:9px auto 0;max-width:470px;color:var(--theme-text-muted);font-size:14px;line-height:1.65}.role-switch{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;padding:5px;margin:0 0 18px;border-radius:16px;background:#edf4fb}.role-switch button{min-height:48px;display:flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:12px;background:transparent;color:#60748d;font-weight:800;cursor:pointer;transition:.18s ease}.role-switch button svg{width:19px;height:19px}.role-switch button.active{color:var(--theme-primary-strong);background:#fff;box-shadow:0 5px 15px rgba(8,48,110,.10)}.form-stack{display:grid;gap:13px}.form-grid.two{display:grid;grid-template-columns:1fr 1fr;gap:13px}.form-stack label,.cash-modal-body label:not(.exception-toggle){display:grid;gap:7px;color:#45566e;font-size:13px;font-weight:800}.form-stack label small{font-size:11px;color:#8291a5;font-weight:700}.form-stack input:not([type="checkbox"]),.form-stack select,.form-stack textarea,.cash-modal-body input:not([type="checkbox"]):not([type="hidden"]),.cash-modal-body select{width:100%;min-height:46px;border:1px solid #cbd9e7;border-radius:14px;background:#fff;padding:12px 14px;color:#11243f;outline:none;transition:.18s ease}.form-stack input:focus,.form-stack select:focus,.form-stack textarea:focus{border-color:var(--theme-primary);box-shadow:0 0 0 3px rgba(7,142,232,.13)}.auth-helper{padding:11px 13px;border:1px solid #e1ebf4;border-radius:13px;background:#f7faff;color:#6a7d93;font-size:12px;line-height:1.55}button.primary{min-height:46px;border:0;border-left:5px solid var(--theme-primary-strong);border-radius:14px;background:linear-gradient(135deg,#234e7d,#2d6094);color:#fff;font-weight:800;cursor:pointer;box-shadow:0 10px 24px rgba(7,142,232,.16);transition:.18s ease}button.primary:hover{transform:translateY(-1px);box-shadow:0 13px 28px rgba(7,142,232,.22)}.form-login-error{margin:14px 0 0;padding:11px 13px;border:1px solid #ffd7dc;border-radius:13px;background:#fff4f5;color:#b72f41;font-size:12px;font-weight:700;line-height:1.55;text-align:center}.auth-footer-note{display:flex;justify-content:center;align-items:center;gap:8px;margin-top:16px;color:#7890a5;font-size:11px;font-weight:700}.secure-dot{width:8px;height:8px;border-radius:50%;background:#16a365;box-shadow:0 0 0 4px rgba(22,163,101,.10)}.cashflow-app{min-height:100dvh;display:grid;grid-template-columns:var(--portal-nav-sidebar-width) minmax(0,1fr);background:#f6f8fb}.cashflow-app>.portal-sidebar{height:100dvh;position:sticky;top:0;z-index:40;display:flex;flex-direction:column;padding:18px 14px 14px;background:#fff;border-right:1px solid #dbe5f0}.portal-sidebar .brand{display:grid;justify-items:center;gap:6px;padding:0 8px 18px}.portal-sidebar .brand img{width:174px;max-height:52px;object-fit:contain}.portal-sidebar .brand small{color:#7a8ca3;font-size:9.5px;font-weight:900;letter-spacing:.15em}.portal-nav{display:flex;flex:1 1 auto;min-height:0;flex-direction:column;align-items:stretch;gap:4px;overflow-y:auto;overflow-x:hidden;padding:0 3px 5px 0;scrollbar-width:thin;scrollbar-color:#e6eef1 transparent}.portal-nav::-webkit-scrollbar{width:5px}.portal-nav::-webkit-scrollbar-thumb{border-radius:999px;background:#e6eef1}.portal-nav button{position:relative;display:flex;align-items:center;justify-content:flex-start;gap:11px;width:100%;min-height:46px;margin:0;padding:9px 11px;font-size:13px;font-weight:650;line-height:1.3;text-align:left;cursor:pointer;border:1px solid #dce7ec;border-radius:10px;background:#f3f7fc;color:#234e7d;box-shadow:none;transition:background-color .15s,color .15s}.portal-nav button:is(.active,[aria-selected="true"],[aria-current="page"]){background:#234e7d!important;color:#fff!important;border-color:#2d6094!important;box-shadow:0 4px 10px rgba(12,58,111,.14)!important}.portal-nav button:hover{background:#1b3d63!important;color:#fff!important;border-color:#234e7d!important;box-shadow:0 4px 10px rgba(20,83,45,.14)!important}.portal-nav .nav-icon{flex:0 0 19px;width:19px;height:19px;padding:0;background:transparent;color:currentColor}.portal-nav button.active .nav-badge{background:#fff;color:#194c80}.sidebar-bottom .logout{position:relative;display:flex;align-items:center;justify-content:flex-start;gap:11px;width:100%;min-height:46px;margin:0;padding:9px 11px;border:0;border-radius:10px;background:#fff5f5;color:#a92920;font-size:13px;font-weight:650;line-height:1.3;cursor:pointer;transition:.17s ease;text-align:left}.sidebar-bottom .nav-icon{flex:0 0 29px;width:29px;height:29px;padding:5px;border-radius:9px;background:#edf5fc;color:#71839b}.sidebar-bottom{display:grid;gap:4px;margin-top:auto;padding-top:7px}.sidebar-domain{padding:10px 13px;color:#8494a8;font-size:10px;font-weight:800;letter-spacing:.03em}.sidebar-bottom .logout:hover{color:#fff;background:#c92121}.sidebar-bottom .logout .nav-icon{background:transparent;color:inherit}.cashflow-app>main{min-width:0;min-height:100dvh;display:flex;flex-direction:column}.portal-header{position:sticky;top:0;z-index:30;height:88px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 30px;border-bottom:1px solid #e5edf1;background:rgba(255,255,255,.94);backdrop-filter:blur(16px)}.header-title small{display:block;color:var(--theme-primary-mid);font-size:11px;font-weight:800;letter-spacing:.11em}.header-title h2{margin:4px 0 0;font-size:26px;line-height:1.15;letter-spacing:-.02em;color:#0d294a}.header-actions{position:relative;display:flex;align-items:center;gap:10px}.icon-button{display:grid;place-items:center;width:48px;height:48px;padding:0;border:1px solid rgba(0,52,125,.10);border-radius:15px;background:#fff;color:#46617e;box-shadow:0 8px 22px rgba(17,42,76,.04);cursor:pointer}.icon-button:hover{color:var(--theme-primary-mid);border-color:#bcd7ed;background:#f5faff}.icon-button svg{width:21px;height:21px}.profile{display:grid;grid-template-columns:minmax(0,auto) 42px;align-items:center;gap:10px;min-height:56px;padding:6px 9px 6px 15px;border:1px solid rgba(0,52,125,.12);border-radius:18px;background:rgba(255,255,255,.88);box-shadow:0 9px 25px rgba(20,49,65,.08);color:#182932;cursor:pointer}.profile>div{text-align:right;min-width:0}.profile b{display:block;max-width:190px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.profile small{display:block;max-width:190px;margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#70849b;font-size:10.5px}.profile>span{display:grid;place-items:center;width:42px;height:42px;border-radius:14px;background:linear-gradient(145deg,#e4f2ff,#f3f8ff);color:var(--theme-primary-strong);font-weight:900}.school-switch{height:48px;display:flex;align-items:center;gap:8px;padding:0 10px;border:1px solid rgba(0,52,125,.10);border-radius:15px;background:#fff;box-shadow:0 8px 22px rgba(17,42,76,.04)}.school-switch svg{width:19px;height:19px;color:var(--theme-primary-mid)}.school-switch select{max-width:190px;border:0;background:transparent;color:#385570;font-weight:800;outline:none}.content{width:100%;max-width:1520px;margin:0 auto;padding:30px;min-width:0}.page-intro{display:none}.cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:17px}.metric-card,.panel{background:#fff;border:1px solid #e5edf1;border-radius:22px;box-shadow:0 8px 28px rgba(15,23,42,.04)}.metric-card{position:relative;min-height:142px;padding:19px;overflow:hidden}.metric-card::after{content:"";position:absolute;right:-28px;bottom:-42px;width:106px;height:106px;border-radius:50%;background:rgba(7,142,232,.06)}.metric-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:13px}.metric-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:15px;background:#edf6ff;color:var(--theme-primary-mid)}.metric-icon svg{width:23px;height:23px}.metric-label{padding:6px 9px;border-radius:999px;background:#f4f8fc;color:#76899f;font-size:10px;font-weight:800}.metric-card h3{margin:0 0 6px;color:#64798f;font-size:12px;font-weight:800}.metric-card .value{font-size:27px;font-weight:900;letter-spacing:-.035em;color:#102b4d}.metric-card .meta{margin-top:5px;color:#7d90a6;font-size:11px;font-weight:600}.panel{overflow:hidden;margin-bottom:17px}.panel-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(310px,.65fr);gap:17px}.panel-head{min-height:74px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:17px 20px;border-bottom:1px solid #edf2f6;background:#fff}.panel-head h3{margin:0;color:#173554;font-size:17px;line-height:1.2}.panel-head p{margin:5px 0 0;color:#74879c;font-size:12px;line-height:1.5}.panel-body{padding:18px 20px}.panel-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.table-wrap{width:100%;overflow:auto}table{width:100%;border-collapse:collapse;min-width:760px;background:#fff}th,td{padding:14px 16px;border-bottom:1px solid #edf2f6;text-align:left;vertical-align:middle}th{background:#f8fafc;color:#6d8198;font-size:11px;font-weight:900;letter-spacing:.02em}td{color:#38516c;font-size:12px}tbody tr:hover{background:#fbfdff}tbody tr:last-child td{border-bottom:0}.bill-title{font-size:13px;font-weight:800;color:#173554;margin-bottom:4px}.muted{color:#8191a3;font-size:11px;line-height:1.45}.status-pill{display:inline-flex;align-items:center;gap:6px;padding:7px 10px;border-radius:999px;font-size:10.5px;font-weight:900;white-space:nowrap}.status-published{background:#eaf4ff;color:#2665b4}.status-overdue{background:var(--tone-amber-soft);color:#b86c0c}.status-paid{background:var(--tone-green-soft);color:#128451}.status-cancelled{background:var(--tone-red-soft);color:#bb3f4d}.empty-state{display:grid;place-items:center;min-height:130px;padding:28px;border:1px dashed #d8e4ee;border-radius:17px;background:#fafcff;color:#7c8fa3;text-align:center;font-size:12px;font-weight:700}.simple-list{display:grid;gap:10px}.simple-item{padding:13px 14px;border:1px solid #e4edf5;border-radius:15px;background:#f9fbfd}.simple-item strong{display:block;margin-bottom:3px;color:#244462;font-size:12px}.footer-note{margin-top:13px;padding:12px 13px;border:1px solid #ddeaf4;border-radius:14px;background:#f5faff;color:#657e94;font-size:11px;line-height:1.55}.form-panel{max-width:980px}.form-stack.portal-form{gap:15px}.form-stack.portal-form label{font-size:12px}.form-stack.portal-form input,.form-stack.portal-form select,.form-stack.portal-form textarea{min-height:44px;border-radius:13px;background:#fbfdff}.form-stack.portal-form textarea{min-height:104px;resize:vertical}.form-actions{display:flex;gap:9px;flex-wrap:wrap}.button-primary,.button-secondary,.button-ghost,.button-danger{min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:9px 14px;border-radius:13px;font-size:11.5px;font-weight:900;cursor:pointer;transition:.17s ease}.button-primary{border:0;background:linear-gradient(145deg,#234e7d,#2d6094);color:#fff;box-shadow:0 8px 18px rgba(7,142,232,.19)}.button-primary:hover{transform:translateY(-1px)}.button-danger{border:1px solid #efb4b4;background:#fff2f2;color:#a62424}.button-secondary{border:1px solid #cbdbea;background:#fff;color:#315b81}.button-secondary:hover{border-color:#a9cbe6;background:#f5faff;color:#124c7e}.button-ghost{border:0;background:#edf5fc;color:#436687}.button-sm{min-height:36px;padding:7px 11px;border-radius:11px;font-size:10.5px}.student-bills{display:grid;gap:11px}.student-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;align-items:center;padding:16px;border:1px solid #e4edf5;border-radius:17px;background:#fff}.student-card:hover{border-color:#cadfed;box-shadow:0 8px 20px rgba(15,23,42,.035)}.student-card .left{min-width:0}.student-card .right{display:grid;justify-items:end;gap:8px;text-align:right}.student-card .amount{font-size:17px;font-weight:900;color:#11345b}.toast{position:fixed;right:22px;bottom:22px;z-index:12000;max-width:380px;padding:13px 16px;border:1px solid #d7e4ee;border-radius:14px;background:#fff;color:#29455f;box-shadow:0 18px 48px rgba(15,23,42,.16);font-size:12px;font-weight:800}.toast.success{border-color:#cbe9d9;background:#f3fbf7;color:#107646}.toast.error{border-color:#f1cfd3;background:#fff6f6;color:#a93342}.loading{position:fixed;inset:0;z-index:11000;display:grid;place-items:center;align-content:center;gap:10px;background:rgba(239,246,248,.76);backdrop-filter:blur(3px);color:#234e7d}.loading span{width:34px;height:34px;border:4px solid rgba(7,142,232,.18);border-top-color:#234e7d;border-radius:50%;animation:spin .8s linear infinite}.loading b{font-size:12px}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:1100px){.cashflow-app{grid-template-columns:250px minmax(0,1fr)}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.panel-grid{grid-template-columns:1fr}.profile>div{display:none}.profile{grid-template-columns:42px;padding:6px}}.mobile-topbar{display:none}.mobile-bottomnav{display:none}.burger-overlay{display:none}.sidebar-profile{display:none}.burger-btn{display:none}.drawer-school-wrap{display:none}@media(max-width:760px){body:has(.cashflow-app:not(.hidden)){padding-bottom:0;overflow-x:hidden}.auth-screen{padding:13px}.auth-card{padding:22px 17px;border-radius:27px}.auth-brand img{width:clamp(168px,52vw,210px);max-height:62px;height:auto}.auth-title-wrap h1{font-size:24px}.form-grid.two{grid-template-columns:1fr}.role-switch button{min-height:44px;padding:7px 4px;font-size:11px}.role-switch button svg{width:17px;height:17px}.cashflow-app{display:block;position:relative;padding-bottom:0;background:#f6f8fb}.cashflow-app>main{width:100%;min-height:0;overflow:visible;padding-bottom:calc(84px + env(safe-area-inset-bottom))}.portal-header{display:none}.mobile-topbar{position:sticky;top:0;z-index:40;display:flex;align-items:center;gap:8px;padding:10px 12px calc(10px + env(safe-area-inset-top));padding-top:calc(10px + env(safe-area-inset-top));background:rgba(246,248,251,.92);backdrop-filter:blur(14px)}.burger-btn{display:flex;flex-direction:column;justify-content:center;gap:4px;width:46px;height:46px;flex:0 0 46px;padding:0 12px;border:0;border-radius:15px;background:#fff;box-shadow:0 6px 18px rgba(15,23,42,.06);cursor:pointer}.burger-btn span{display:block;width:22px;height:2.4px;border-radius:3px;background:#234e7d;transition:.2s ease}.cashflow-app.drawer-open .burger-btn span:nth-child(1){transform:translateY(6.4px) rotate(45deg)}.cashflow-app.drawer-open .burger-btn span:nth-child(2){opacity:0}.cashflow-app.drawer-open .burger-btn span:nth-child(3){transform:translateY(-6.4px) rotate(-45deg)}.mobile-title-pill{flex:1 1 auto;min-width:0;height:46px;display:flex;flex-direction:column;justify-content:center;padding:0 14px;border-radius:15px;background:#fff;box-shadow:0 6px 18px rgba(15,23,42,.06);overflow:hidden}.mobile-title-pill small{display:block;color:#2d6094;font-size:8.5px;font-weight:900;letter-spacing:.1em;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mobile-title-pill b{display:block;color:#0d294a;font-size:14px;font-weight:800;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mobile-top-actions{display:flex;align-items:center;gap:7px;flex:0 0 auto}.mobile-icon-btn{position:relative;display:grid;place-items:center;width:46px;height:46px;padding:0;border:0;border-radius:15px;background:#fff;color:#46617e;box-shadow:0 6px 18px rgba(15,23,42,.06);cursor:pointer}.mobile-icon-btn svg{width:21px;height:21px}.mobile-icon-btn:active{transform:scale(.94)}.mobile-badge{position:absolute;top:-4px;right:-4px;display:grid;place-items:center;min-width:19px;height:19px;padding:0 5px;border-radius:999px;background:#e53935;color:#fff;font-size:9.5px;font-weight:900;box-shadow:0 2px 6px rgba(229,57,53,.4)}.mobile-avatar{display:grid;place-items:center;width:46px;height:46px;padding:0;border:0;border-radius:15px;background:linear-gradient(145deg,#e4f2ff,#f3f8ff);color:#234e7d;font-weight:900;font-size:15px;cursor:pointer;box-shadow:0 6px 18px rgba(15,23,42,.06)}.cashflow-app>.portal-sidebar{position:fixed;top:0;left:0;z-index:60;width:min(300px,84vw);height:100dvh;max-height:100dvh;padding:22px 14px calc(18px + env(safe-area-inset-bottom));border:0;border-right:1px solid #dbe5f0;border-radius:0 22px 22px 0;background:#fff;box-shadow:12px 0 40px rgba(15,23,42,.18);transform:translateX(-105%);transition:transform .28s cubic-bezier(.22,.9,.3,1);overflow:hidden;display:flex;flex-direction:column}.cashflow-app.drawer-open>.portal-sidebar{transform:translateX(0)}.portal-sidebar .brand{display:grid;justify-items:center;gap:6px;padding:0 8px 14px}.portal-sidebar .brand img{width:150px;max-height:44px}.sidebar-profile{display:grid;grid-template-columns:44px minmax(0,1fr);gap:11px;align-items:center;margin:0 2px 14px;padding:12px;border-radius:16px;background:#f4f9ff;border:1px solid #e0edfa}.sidebar-profile>span{display:grid;place-items:center;width:44px;height:44px;border-radius:13px;background:linear-gradient(145deg,#e4f2ff,#f3f8ff);color:#234e7d;font-weight:900;font-size:16px}.sidebar-profile>div{min-width:0}.sidebar-profile b{display:block;color:#0d294a;font-size:13px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sidebar-profile small{display:block;margin-top:2px;color:#70849b;font-size:10.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.drawer-school-wrap{display:flex;align-items:center;gap:8px;margin:0 2px 12px;padding:10px 12px;border:1px solid #dce7ec;border-radius:12px;background:#f3f7fc}.drawer-school-wrap svg{width:19px;height:19px;color:#2d6094;flex:0 0 19px}.drawer-school-wrap select{flex:1 1 auto;min-width:0;border:0;background:transparent;color:#385570;font-weight:800;font-size:12px;outline:none}.portal-nav{display:flex;flex:1 1 auto;min-height:0;flex-direction:column;align-items:stretch;gap:4px;padding:0 3px 5px 0;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin}.portal-nav::-webkit-scrollbar{width:4px}.portal-nav button{width:100%;min-height:48px;display:flex;align-items:center;justify-content:flex-start;gap:11px;padding:9px 11px;border:1px solid #dce7ec;border-radius:10px;background:#f3f7fc;color:#234e7d;font-size:13px;font-weight:650;line-height:1.3;text-align:left;box-shadow:none}.portal-nav button:is(.active,[aria-selected="true"],[aria-current="page"]){background:#234e7d!important;color:#fff!important;border-color:#2d6094!important;box-shadow:0 4px 10px rgba(12,58,111,.14)!important}.portal-nav .nav-icon{width:22px;height:22px;flex:0 0 22px}.portal-nav button span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.portal-nav .nav-badge{margin-left:auto;min-width:20px;height:20px;padding:0 6px;font-size:9px}.sidebar-bottom{display:grid;gap:7px;margin-top:10px;padding-top:10px}.sidebar-domain{padding:6px 13px;font-size:9.5px}.sidebar-bottom .logout{min-height:46px;border-radius:12px}.burger-overlay{display:block;position:fixed;inset:0;z-index:55;background:rgba(10,25,47,.42);backdrop-filter:blur(2px);opacity:0;pointer-events:none;transition:opacity .25s ease}.cashflow-app.drawer-open .burger-overlay{opacity:1;pointer-events:auto}.mobile-bottomnav{position:fixed;left:0;right:0;bottom:0;z-index:45;display:grid;grid-template-columns:repeat(4,1fr);gap:6px;padding:8px 10px calc(8px + env(safe-area-inset-bottom));background:rgba(255,255,255,.97);backdrop-filter:blur(16px);border-top:1px solid #e5edf1;box-shadow:0 -8px 30px rgba(15,23,42,.08)}.mobile-bottomnav button{display:grid;place-items:center;align-content:center;gap:4px;min-height:60px;padding:6px 4px;border:0;border-radius:16px;background:transparent;color:#7a8ca3;font-size:10px;font-weight:800;line-height:1.15;cursor:pointer;transition:.18s ease}.mobile-bottomnav button svg{width:24px;height:24px}.mobile-bottomnav button span{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mobile-bottomnav button.active{background:#234e7d;color:#fff;box-shadow:0 8px 20px rgba(23,63,112,.28)}.mobile-bottomnav button.active svg{color:#fff}.content{padding:14px 13px 20px;max-width:100%}.cards{grid-template-columns:1fr 1fr;gap:10px;margin-bottom:13px}.metric-card{min-height:122px;padding:14px;border-radius:18px}.metric-icon{width:38px;height:38px;border-radius:12px}.metric-icon svg{width:19px;height:19px}.metric-label{font-size:9px;padding:5px 8px}.metric-card h3{font-size:11px}.metric-card .value{font-size:21px;letter-spacing:-.02em}.metric-card .meta{font-size:10px}.panel{border-radius:18px;margin-bottom:13px}.panel-head{padding:14px 16px;min-height:64px;flex-wrap:wrap;gap:10px}.panel-head h3{font-size:15px}.panel-head p{font-size:11px}.panel-body{padding:14px 16px}.table-wrap{margin:0 -16px;padding:0 16px;-webkit-overflow-scrolling:touch}table{min-width:680px}th,td{padding:11px 12px;font-size:11px}.student-card{grid-template-columns:1fr;gap:12px;padding:14px}.student-card .right{justify-items:start;text-align:left}.button-primary,.button-secondary,.button-ghost,.button-danger{min-height:40px;font-size:11px;padding:8px 12px;border-radius:12px}.form-actions .button-primary,.form-actions .button-secondary{flex:1 1 auto}.toast{left:13px;right:13px;bottom:calc(96px + env(safe-area-inset-bottom));max-width:none;text-align:center}.profile-menu{top:auto;bottom:calc(84px + env(safe-area-inset-bottom));right:12px;left:12px;width:auto}}@media(max-width:440px){.cards{grid-template-columns:1fr}.mobile-title-pill small{font-size:8px}.mobile-title-pill b{font-size:13px}.mobile-bottomnav button{font-size:9.5px}.mobile-bottomnav button svg{width:22px;height:22px}}.profile-menu{position:absolute;top:64px;right:0;z-index:120;width:min(330px,calc(100vw - 28px));padding:12px;border:1px solid #dfe8f0;border-radius:18px;background:rgba(255,255,255,.98);box-shadow:0 22px 55px rgba(15,23,42,.16);backdrop-filter:blur(16px)}.profile-menu-head{display:grid;grid-template-columns:44px minmax(0,1fr);gap:11px;align-items:center;padding:7px 7px 11px;border-bottom:1px solid #eef2f6}.profile-menu-head>span{display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:#edf6ff;color:var(--theme-primary-strong);font-weight:900}.profile-menu-head small{display:block;color:var(--theme-primary-mid);font-size:9px;font-weight:900;letter-spacing:.1em}.profile-menu-head b{display:block;margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#1b3854;font-size:13px}.profile-menu-head em{display:block;margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#7b8da0;font-size:10.5px;font-style:normal}.profile-menu-status{display:flex;align-items:center;gap:8px;padding:11px 9px;color:#637b91;font-size:11px;font-weight:700}.profile-menu-status i{width:8px;height:8px;border-radius:50%;background:#15a35f;box-shadow:0 0 0 4px rgba(21,163,95,.1)}.profile-menu button{width:100%;display:flex;align-items:center;gap:9px;min-height:42px;padding:10px 12px;border:0;border-radius:12px;background:#fff4f4;color:#a72f38;font-size:11.5px;font-weight:900;cursor:pointer;text-align:left}.profile-menu button:hover{background:#c92121;color:#fff}.profile-menu button svg{width:19px;height:19px}.wide-form{max-width:1120px}.cashflow-step{display:flex;align-items:center;gap:11px;margin:3px 0 0;padding:12px 14px;border:1px solid #dce8f2;border-radius:15px;background:#f0f4f9}.cashflow-step>span{display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;border-radius:10px;background:linear-gradient(145deg,#234e7d,#2d6094);color:#fff;font-size:12px;font-weight:900}.cashflow-step b{display:block;color:#234e7d;font-size:12px}.cashflow-step small{display:block;margin-top:2px;color:#75899e;font-size:10.5px;font-weight:600;line-height:1.4}.pricing-box,.relief-box{padding:15px;border:1px solid #dce8f2;border-radius:17px;background:linear-gradient(180deg,#fbfdff,#f6faff)}.pricing-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px}.pricing-head b{display:block;color:#234e7d;font-size:13px}.pricing-head small{display:block;margin-top:3px;color:#7a8ea3;font-size:10.5px;font-weight:600}.pricing-badge{padding:6px 9px;border-radius:999px;background:#eaf4ff;color:#2665b4;font-size:9px;font-weight:900;letter-spacing:.05em}label.exception-toggle{display:flex;grid-template-columns:none;align-items:flex-start;gap:11px;padding:13px 14px;border:1px solid #dce8f2;border-radius:15px;background:#fff;cursor:pointer}.form-stack.portal-form .exception-toggle input,.cash-modal-body .exception-toggle input{flex:0 0 auto;width:18px;height:18px;min-height:18px;margin:2px 0 0;padding:0;accent-color:#234e7d;box-shadow:none}.exception-toggle span{display:block}.exception-toggle b{display:block;color:#234e7d;font-size:12px}.exception-toggle small{display:block;margin-top:3px;color:#7a8ea3;font-size:10.5px;font-weight:600;line-height:1.45}.relief-box{border-color:#dcdff6;background:#f8f8ff}.pricing-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.pricing-summary>div{padding:13px 14px;border:1px solid #e0e9f1;border-radius:15px;background:#fff}.pricing-summary span{display:block;color:#7a8da0;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.03em}.pricing-summary b{display:block;margin-top:5px;color:#234e7d;font-size:16px}.pricing-summary .final{border-color:#bfdbf2;background:#eef8ff}.pricing-summary .final b{color:#234e7d}.report-panel{max-width:none}.report-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.report-actions button:disabled{opacity:.45;cursor:not-allowed;transform:none;box-shadow:none}.report-filter{display:grid;grid-template-columns:minmax(210px,280px) minmax(260px,1fr) auto;gap:12px;align-items:end;margin-bottom:16px;padding:14px;border:1px solid #e1eaf2;border-radius:16px;background:#f8fbfe}.report-filter label{display:grid;gap:7px;color:#536a82;font-size:11px;font-weight:900}.report-filter input,.report-filter select{width:100%;min-height:42px;border:1px solid #cddbe7;border-radius:12px;background:#fff;padding:9px 12px;color:#173554;outline:none}.report-filter input:focus,.report-filter select:focus{border-color:#234e7d;box-shadow:0 0 0 3px rgba(7,142,232,.10)}.report-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;margin-bottom:16px}.report-summary>div{padding:14px;border:1px solid #e1eaf2;border-radius:16px;background:#fff}.report-summary span{display:block;color:#74879c;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.035em}.report-summary b{display:block;margin-top:6px;color:#234e7d;font-size:17px}.report-summary small{display:block;margin-top:4px;color:#8a99aa;font-size:10px;font-weight:700}.report-title-line{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 2px 11px}.report-title-line b{display:block;color:#173554;font-size:13px}.report-title-line span{display:block;margin-top:2px;color:#7b8ea2;font-size:11px}.report-title-line>small{color:#7f90a2;font-size:10.5px;font-weight:800}.report-placeholder{display:grid;place-items:center;min-height:160px;padding:26px;border:1px dashed #cfdeea;border-radius:17px;background:#fbfdff;color:#72869b;text-align:center;font-size:12px}.report-table table{min-width:1120px}.report-table th,.report-table td{padding:12px 13px}@media(max-width:900px){.pricing-summary,.report-summary{grid-template-columns:1fr 1fr}.report-filter{grid-template-columns:1fr 1fr}.report-filter .button-primary{grid-column:1/-1}}@media(max-width:560px){.pricing-summary,.report-summary,.report-filter{grid-template-columns:1fr}.pricing-head,.report-title-line{align-items:flex-start;flex-direction:column}.report-filter .button-primary{grid-column:auto}}.target-fields{display:grid;gap:12px}.target-summary,.target-preview-note{border:1px solid var(--tone-line);background:#f7faff;border-radius:16px;padding:14px 16px;color:var(--theme-text-muted);line-height:1.55}.target-summary{display:grid;gap:4px}.target-summary b,.target-preview-note b{color:var(--theme-text)}.student-picker{display:grid;gap:10px}.student-search-item{width:100%;border:1px solid var(--tone-line);background:#fff;border-radius:14px;padding:12px 14px;display:grid;gap:3px;text-align:left;color:var(--theme-text);cursor:pointer;transition:.18s}.student-search-item:hover{border-color:#9ebcff;background:#f3f7fc;transform:translateY(-1px)}.student-search-item span,.student-check-row small,.student-chosen span{font-size:.86rem;color:var(--theme-text-muted)}.form-stack .student-check-row{display:flex;gap:12px;align-items:flex-start;border:1px solid var(--tone-line);background:#fff;border-radius:14px;padding:11px 13px;cursor:pointer}.student-check-row:hover{background:#f3f7fc}.student-check-row input[type="checkbox"]{flex:0 0 17px;width:17px;min-width:17px;max-width:17px;height:17px;min-height:17px;max-height:17px;margin:2px 0 0;padding:0;accent-color:#234e7d;box-shadow:none}.student-check-row span{display:grid;gap:3px}.picker-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--theme-text-muted);font-size:.9rem}.button-link{border:0;background:transparent;color:var(--theme-primary-mid);font-weight:700;cursor:pointer;padding:6px 2px}.button-link:hover{text-decoration:underline}.settings-panel .panel-body{display:grid;gap:16px}.settings-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.settings-summary>div{border:1px solid var(--tone-line);background:#f3f7fc;border-radius:18px;padding:15px 16px;display:grid;gap:4px}.settings-summary span{font-size:.8rem;color:var(--theme-text-muted);font-weight:700}.settings-summary b{font-size:1.35rem;color:var(--theme-text)}.settings-filters{display:grid;grid-template-columns:minmax(260px,1.5fr) repeat(3,minmax(150px,.6fr));gap:12px;align-items:end}.settings-filters label{display:grid;gap:7px;font-size:.82rem;font-weight:700;color:var(--theme-text-muted)}.settings-filters input,.settings-filters select{width:100%;border:1px solid var(--tone-line);background:#fff;border-radius:14px;padding:11px 13px;color:var(--theme-text);outline:none}.settings-filters input:focus,.settings-filters select:focus{border-color:#8fb2ff;box-shadow:0 0 0 3px rgba(47,107,255,.1)}.settings-toolbar{display:flex;align-items:center;gap:16px;flex-wrap:wrap;padding:10px 12px;border:1px solid var(--tone-line);border-radius:15px;background:#f3f7fc;color:var(--theme-text-muted);font-size:.88rem}.select-visible{display:flex;align-items:center;gap:8px;font-weight:700;color:var(--theme-text)}.settings-toolbar .button-link{margin-left:auto}.settings-panel>.panel-head{flex-wrap:wrap}.settings-panel>.panel-head>div:first-child{flex:1 1 320px}.settings-table-wrap table{min-width:1080px}.check-col{width:44px;text-align:center}.check-col input{width:17px;height:17px}.group-chip{display:inline-flex;padding:7px 10px;border-radius:999px;background:#eef4ff;color:#315bcc;font-weight:700;font-size:.84rem}.status-waived{background:#efeaff;color:#7048bf}.cash-modal{position:fixed;inset:0;z-index:10050;background:rgba(246,249,252,.84);backdrop-filter:blur(5px);display:grid;place-items:center;padding:22px;overflow:auto}.cash-modal-card{width:min(760px,100%);max-height:calc(100dvh - 44px);overflow:auto;background:#fff;border:1px solid var(--tone-line);border-radius:24px;box-shadow:0 28px 70px rgba(32,66,130,.22)}.cash-modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:24px 26px 20px;border-bottom:1px solid var(--tone-line)}.cash-modal-head small{display:block;color:var(--theme-primary-mid);font-size:.72rem;letter-spacing:.09em;font-weight:800;margin-bottom:6px}.cash-modal-head h3{margin:0;color:var(--theme-text);font-size:1.28rem}.cash-modal-head p{margin:7px 0 0;color:var(--theme-text-muted);line-height:1.5}.cash-modal-close{flex:0 0 auto;width:38px;height:38px;border:1px solid var(--tone-line);background:#f7faff;border-radius:12px;color:var(--theme-text);font-size:1.5rem;line-height:1;cursor:pointer}.cash-modal-body{padding:24px 26px 26px;display:grid;gap:16px}.cash-modal-actions{padding-top:4px}.pricing-selected-summary{display:grid;gap:4px;padding:13px 15px;border-radius:15px;background:#f2f6ff;border:1px solid #cbdcff}.pricing-selected-summary span{color:var(--theme-text-muted);font-size:.9rem}body.modal-open{overflow:hidden}@media(max-width:1050px){.settings-summary{grid-template-columns:repeat(2,1fr)}.settings-filters{grid-template-columns:1fr 1fr}.search-wide{grid-column:1/-1}}@media(max-width:700px){.settings-summary{grid-template-columns:1fr 1fr}.settings-filters{grid-template-columns:1fr}.search-wide{grid-column:auto}.cash-modal{padding:12px}.cash-modal-head{padding:20px 18px 16px}.cash-modal-body{padding:18px}.picker-meta{align-items:flex-start;flex-direction:column}.settings-toolbar .button-link{margin-left:0}}.academic-year-note{min-height:44px;display:flex;flex-direction:column;justify-content:center;padding:10px 13px;border:1px solid #dce8f2;border-radius:13px;background:#f0f4f9}.academic-year-note b{color:#234e7d;font-size:11.5px}.academic-year-note span{margin-top:2px;color:#71869d;font-size:10.5px;line-height:1.4}.bill-year-filter{display:flex;align-items:center;gap:8px;color:#60758d;font-size:10.5px;font-weight:800;white-space:nowrap}.bill-year-filter select{min-height:36px;width:auto;max-width:190px;padding:6px 30px 6px 10px;border:1px solid #cbdbea;border-radius:11px;background:#fff;color:#315b81;font-size:10.5px;font-weight:800}.cashflow-school-bills>.panel-head{flex-wrap:wrap}.school-bill-filters{display:grid;grid-template-columns:repeat(3,minmax(150px,1fr)) minmax(220px,1.6fr);gap:12px;align-items:end;padding:15px 20px;border-bottom:1px solid #edf2f6;background:#fafcff}.school-bill-filters label{display:grid;min-width:0;gap:6px;color:#59728d;font-size:11px;font-weight:800}.school-bill-filters input,.school-bill-filters select,.school-bill-filters .bill-year-filter select{display:block;box-sizing:border-box;width:100%;max-width:none;min-height:40px;margin:0;padding:8px 12px;border:1px solid #cbdbea;border-radius:11px;background:#fff;color:#173b65;font:700 12px "Outfit",sans-serif}.school-bill-filters input:focus,.school-bill-filters select:focus{border-color:#234e7d;outline:3px solid rgba(7,142,232,.12)}.bill-results-head{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:10px 20px;color:#486883;font-size:12px;font-weight:700}.bill-results-head small{font-size:11px;color:#8395a9}.school-bill-pagination{display:flex;align-items:center;justify-content:center;gap:16px;padding:15px 20px;border-top:1px solid #edf2f6;color:#486883;font-size:12px;font-weight:800}.school-bill-pagination[hidden]{display:none}.school-bill-pagination button:disabled{opacity:.45;cursor:not-allowed}@media(max-width:1050px){.school-bill-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.school-bill-filters{grid-template-columns:minmax(0,1fr);padding:13px 16px}.bill-results-head{padding:10px 16px}.school-bill-pagination{gap:9px;padding:13px 12px}.school-bill-pagination button{font-size:10px}}.notification-layout{display:grid;gap:17px}.notification-list{display:grid;gap:10px}.notification-item,.sent-info-item{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:12px;align-items:start;padding:14px;border:1px solid #e2ebf3;border-radius:17px;background:#fff}.notification-item.unread{border-color:#9dcef0;background:#f0f4f9;box-shadow:none}.notification-mark{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:#eaf4ff;color:#2d6094}.notification-mark svg{width:21px;height:21px}.notification-copy{min-width:0}.notification-copy h4,.sent-info-item h4{margin:4px 0 4px;color:#173554;font-size:13px}.notification-copy p,.sent-info-item p{margin:0 0 6px;color:#5f758c;font-size:11.5px;line-height:1.55;white-space:pre-wrap}.notification-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.notification-top span{color:#2d6094;font-size:9.5px;font-weight:900;text-transform:uppercase;letter-spacing:.05em}.notification-top small,.notification-copy>small,.sent-info-item small{color:#8798aa;font-size:10px}.sent-info-item{grid-template-columns:1fr}.nav-badge{margin-left:auto;display:grid;place-items:center;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:#dff1ff;color:#075da7;font-size:9px;font-weight:900}@media(max-width:760px){.notification-item{grid-template-columns:38px minmax(0,1fr)}.notification-item>.button-secondary{grid-column:2;justify-self:start}.bill-year-filter{width:100%;justify-content:space-between}.panel-head>.panel-actions{width:100%}}.ledger-student{margin:24px 0 16px}.ledger-student h3{margin:0 0 6px}.ledger-student p{margin:0;color:var(--theme-text-muted);font-size:13px}.ledger-attempts{margin-top:12px;font-size:12px;overflow-wrap:anywhere}.ledger-attempts summary{cursor:pointer;color:var(--theme-primary-strong)}.ledger-attempts>div{padding:10px 0;border-bottom:1px solid var(--tone-line);line-height:1.6}.ledger-pagination{justify-content:space-between;align-items:center;margin-top:18px;font-size:12px}.checkout-toolbar{display:flex;justify-content:space-between;gap:12px;margin-bottom:18px}.checkout-toolbar svg{width:18px;height:18px}.checkout-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(290px,.8fr);gap:22px;align-items:start}.checkout-invoice,.checkout-payment{min-width:0;background:#fff;border:1px solid var(--tone-line);border-radius:22px;overflow:hidden;box-shadow:0 8px 26px rgba(23,63,112,.04)}.checkout-payment{padding:26px}.checkout-payment h3{margin:0 0 10px;font-size:19px;color:#234e7d}.checkout-subtitle{font-size:12px;line-height:1.6;color:#60758d;margin:0 0 18px}.checkout-full{width:100%;margin:8px 0 16px}.checkout-qr{display:block;width:min(100%,290px);height:auto;margin:20px auto;object-fit:contain}.checkout-code{display:grid;justify-items:start;gap:10px;padding:17px;margin:15px 0;border:1px solid #e6eef1;border-radius:14px;background:#f0f4f9}.checkout-code small{font-size:11px;color:#60758d}.checkout-code strong{font-size:23px;line-height:1.4;letter-spacing:.035em;overflow-wrap:anywhere;max-width:100%;user-select:all}.checkout-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:20px}.checkout-actions button{flex:1 1 160px}.checkout-message,.checkout-sandbox{padding:13px 15px;background:#fff7e8;color:#895713;border:1px solid #f2dfb9;border-radius:12px;font-size:12px;line-height:1.6;margin:0 0 16px}.checkout-sandbox{font-weight:800;font-size:10px}.checkout-notice{font-size:12px;line-height:1.6;color:#315b81;overflow-wrap:anywhere;margin:14px 0 0}.checkout-notice:empty{display:none}.checkout-result{text-align:center;padding:20px 0}.checkout-result svg{width:48px;height:48px;margin:0 auto 18px;color:#128451}.checkout-result p{font-size:13px;line-height:1.7;color:#60758d}.checkout-security{display:flex;align-items:center;justify-content:center;gap:12px;padding:24px 10px;color:#60758d}.checkout-security svg{flex:0 0 28px;width:28px;height:28px;color:#17674c}.checkout-security b{display:block;font-size:12px;color:#315b66}.checkout-security span{display:block;margin-top:4px;font-size:10px;line-height:1.5}button:disabled{cursor:not-allowed;opacity:.55;transform:none}button:focus-visible,a:focus-visible{outline:3px solid #74baf0;outline-offset:3px}@media(max-width:1000px){.checkout-layout{grid-template-columns:1fr}.checkout-payment{max-width:none;grid-row:1}}@media(max-width:560px){.checkout-payment{padding:22px 19px}.checkout-toolbar button{font-size:10px;padding:9px 11px}.checkout-toolbar{gap:8px;align-items:flex-start;flex-wrap:wrap}.checkout-security{align-items:flex-start}}@media print{@page{size:A4;margin:14mm}body:has(#checkoutSection:not(.hidden)){padding:0;background:#fff}body:has(#checkoutSection:not(.hidden)) .portal-sidebar,body:has(#checkoutSection:not(.hidden)) .portal-header,.checkout-toolbar,.checkout-payment,.toast,.loading{display:none!important}body:has(#checkoutSection:not(.hidden)) .cashflow-app,body:has(#checkoutSection:not(.hidden)) main,body:has(#checkoutSection:not(.hidden)) .content{display:block;min-height:0;width:100%;padding:0;margin:0;overflow:visible}.checkout-layout{display:block}.checkout-invoice{border:1px solid #e6eef1;box-shadow:none;overflow:visible}.checkout-security{justify-content:flex-start}}.school-invoice-head{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:30px 30px 24px;border-top:5px solid #142f4a;border-bottom:1px solid #e1e7ed;background:#fff}.school-invoice-brand{display:grid;gap:13px}.school-invoice-brand img{width:145px;height:43px;object-fit:contain}.school-invoice-brand>span{font-size:8px;letter-spacing:.22em;color:#788799;font-weight:800}.school-invoice-number{text-align:right}.school-invoice-number h2{font-family:Georgia,"Times New Roman",serif;font-size:40px;font-weight:400;letter-spacing:-.045em;color:#142f4a;margin:0 0 8px}.school-invoice-number b{font-size:10px;font-weight:700;color:#62778a;letter-spacing:.05em}.school-invoice-body{padding:27px 30px}.school-invoice-issuer>span,.school-invoice-student>div>span{font-size:8px;color:#a28450;font-weight:800;letter-spacing:.1em}.school-invoice-issuer h3{font-size:20px;line-height:1.35;margin:8px 0 5px;color:#142f4a}.school-invoice-issuer p{font-size:11px;color:#758497;margin:0}.school-invoice-statusline{display:flex;justify-content:space-between;gap:15px;align-items:center;margin:23px 0;padding:18px 0;border-top:1px solid #e7ecf1;border-bottom:1px solid #e7ecf1}.school-invoice-status{display:flex;gap:9px;align-items:center;padding:12px 14px;background:#fff7e8;border-radius:10px;color:#976418;flex-shrink:0}.school-invoice-status i{width:7px;height:7px;background:currentColor;border-radius:50%}.school-invoice-status b{font-size:11px;display:block;letter-spacing:.04em}.school-invoice-status small{font-size:8px;display:block;margin-top:3px;letter-spacing:.13em;opacity:.8}.invoice-paid .school-invoice-status{background:#edf7f1;color:#1d6a4f}.invoice-cancelled .school-invoice-status,.invoice-review .school-invoice-status{background:#fff0f1;color:#a74450}.invoice-waived .school-invoice-status{background:#f1effc;color:#715297}.school-invoice-dates{display:grid;grid-template-columns:1fr 1fr;gap:18px}.school-invoice-dates span{display:block;font-size:9px;color:#758497}.school-invoice-dates b{font-size:10px;display:block;margin-top:6px}.school-invoice-student h4{font-size:17px;line-height:1.4;margin:8px 0 16px;color:#142f4a;overflow-wrap:anywhere}.school-invoice-student dl{display:grid;grid-template-columns:1fr 1fr 1fr;gap:16px;margin:0 0 25px}.school-invoice-student dt{font-size:9px;color:#758497;margin-bottom:6px}.school-invoice-student dd{font-size:11px;line-height:1.5;margin:0;font-weight:700;overflow-wrap:anywhere}.school-invoice-items-head{display:flex;justify-content:space-between;gap:15px;background:#142f4a;color:#fff;padding:12px 14px;border-radius:8px;font-size:8px;letter-spacing:.08em;font-weight:700}.school-invoice-item{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:20px;padding:20px 0 17px;border-bottom:1px solid #e7ecf1}.school-invoice-item h4{margin:0 0 7px;color:#142f4a;font-size:13px;line-height:1.5;overflow-wrap:anywhere}.school-invoice-item p,.school-invoice-discount p{font-size:10px;color:#758497;margin:0;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}.school-invoice-item>b{font-size:12px;white-space:nowrap}.school-invoice-discount{display:flex;justify-content:space-between;gap:20px;padding:16px 0 22px;font-size:11px}.school-invoice-discount p{margin-top:5px}.school-invoice-discount>span{white-space:nowrap}.school-invoice-total{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:19px 20px;background:#142f4a;border-radius:12px;color:#fff}.school-invoice-total span{display:block;font-size:9px;font-weight:800;letter-spacing:.06em;color:#e7d6b5}.school-invoice-total small{display:block;font-size:8px;color:#adc0d1;margin-top:6px}.school-invoice-total strong{font-size:26px;letter-spacing:-.03em;white-space:nowrap}.school-invoice-paid-summary{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:14px 0;color:#1d6a4f;font-size:10px}.school-invoice-paid-summary>span{display:flex;align-items:center;gap:6px}.school-invoice-paid-summary svg{width:16px;height:16px}.school-invoice-note{margin:22px 0}.school-invoice-note h5{font-size:8px;letter-spacing:.1em;color:#a28450;margin:0 0 8px}.school-invoice-note p{font-size:11px;line-height:1.7;color:#62778a;white-space:pre-wrap;margin:0;overflow-wrap:anywhere}.school-invoice-reference{display:grid;gap:9px;margin:18px 0;font-size:9px}.school-invoice-reference>div{display:grid;grid-template-columns:100px minmax(0,1fr);gap:12px}.school-invoice-reference dt{color:#758497}.school-invoice-reference dd{margin:0;font-weight:700;overflow-wrap:anywhere;line-height:1.5}.school-invoice-foot{border-top:1px solid #d9c59d;padding-top:14px;margin-top:24px}.school-invoice-foot p{font-size:9px;line-height:1.6;color:#758497;margin:0 0 10px}.school-invoice-foot>span{font-size:7px;letter-spacing:.12em;font-weight:700;color:#142f4a}.bill-manager{padding:24px;margin-bottom:20px;border:1px solid #ded0b3;border-radius:18px;background:#fffdf9;scroll-margin-top:100px}.bill-manager h3{margin:8px 0;font-size:18px}.bill-manager small{color:#976418;letter-spacing:.08em;font-weight:800;font-size:10px}.bill-manager p{font-size:12px;line-height:1.6;color:#62778a}.bill-manager form{display:grid;gap:16px;margin-top:20px}.bill-manager label{display:grid;gap:8px;font-size:12px;font-weight:700}.bill-manager input:not([type="hidden"]){padding:12px;border:1px solid #cbd9e7;border-radius:10px;background:#fff;min-width:0;width:100%}@media(max-width:560px){.school-invoice-head{padding:22px 19px}.school-invoice-brand img{width:115px;height:35px}.school-invoice-number h2{font-size:34px}.school-invoice-number b{font-size:9px}.school-invoice-body{padding:23px 19px}.school-invoice-issuer h3{font-size:18px}.school-invoice-statusline{align-items:flex-start;flex-direction:column;gap:17px}.school-invoice-dates{width:100%;grid-template-columns:1fr 1fr}.school-invoice-student dl{grid-template-columns:1fr 1fr;gap:15px}.school-invoice-item{gap:12px}.school-invoice-total{padding:17px 14px}.school-invoice-total strong{font-size:22px}.school-invoice-paid-summary{align-items:flex-start;flex-direction:column}.school-invoice-reference>div{grid-template-columns:1fr;gap:4px}}@media print{.school-invoice-head,.school-invoice-items-head,.school-invoice-total,.school-invoice-status{print-color-adjust:exact}.school-invoice-statusline{flex-direction:row;align-items:center}.school-invoice-student dl{grid-template-columns:1fr 1fr 1fr}.school-invoice-dates{width:auto}.school-invoice-head,.school-invoice-student,.school-invoice-item,.school-invoice-discount,.school-invoice-total,.school-invoice-statusline,.school-invoice-foot{break-inside:avoid}}.followup-panel .panel-head{gap:16px;flex-wrap:wrap}.followup-count{display:inline-block;vertical-align:middle;margin-left:7px;padding:3px 9px;border-radius:9px;background:#e9f2ff;color:#1659a0;font-size:13px}.followup-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:18px}.followup-summary>div{display:flex;flex-direction:column;gap:6px;padding:15px 17px;border:1px solid #deebf6;border-radius:14px;background:#f0f4f9}.followup-summary small{font-size:12px;font-weight:700;color:#53708f}.followup-summary strong{font-size:22px;color:#153d69}.followup-school{margin-bottom:16px;max-width:480px}.followup-filters{display:grid;grid-template-columns:minmax(190px,2fr) minmax(130px,1fr) minmax(170px,1fr);gap:12px;margin-bottom:12px;align-items:end}.followup-info{font-size:12px;color:#607890;margin:7px 0 12px}.followup-status{display:inline-flex;align-items:center;border-radius:99px;font-size:11px;line-height:1.4;padding:6px 10px;font-weight:800;white-space:normal}.followup-status.pending{color:#966218;background:#fff2d9}.followup-status.done{color:#126549;background:#e8f7ef}.followup-actions{display:flex;flex-wrap:wrap;gap:7px;align-items:center}.followup-actions .button-sm{white-space:nowrap}.followup-actions .button-sm:disabled{opacity:.46;cursor:not-allowed}.followup-table td{vertical-align:middle}.followup-pager{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:14px;font-size:12px;color:#51718f}@media(max-width:740px){.followup-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.followup-filters{grid-template-columns:minmax(0,1fr)}.followup-actions{flex-direction:column;align-items:stretch}.followup-table{overflow-x:auto}}.student-search-results{max-height:320px;overflow:auto;padding-right:3px;display:grid;gap:6px;margin-top:6px}.student-result-item{display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:10px 13px;border:1px solid #e0ebf5;border-radius:12px;background:#f9fcff;cursor:pointer;text-align:left}.student-result-item:hover{border-color:#9dcef0;background:#e4eef8}.student-result-item b{color:#173554;font-size:13px}.student-result-item small{color:#70849b;font-size:11px}.student-search-empty{background:#fafcff;padding:12px;border:1px dashed #d8e4ee;border-radius:12px;color:#7c8fa3;font-size:12px;text-align:center}.student-chosen{display:grid;gap:4px;padding:12px 14px;border:1px solid #bfe3c8;border-radius:14px;background:#f0fbf3;color:#1d6a4f;font-size:12px;font-weight:700}.student-chosen span{display:block;margin-top:3px;color:#5a7a68;font-size:11px;font-weight:600}.manual-pay-methods{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.pay-method{position:relative;display:block;margin:0;cursor:pointer}.pay-method input{position:absolute;opacity:0;inset:0;cursor:pointer}.pay-method span{display:flex;flex-direction:column;gap:3px;min-height:64px;justify-content:center;padding:10px 12px;border:1.5px solid #dce7ec;border-radius:14px;background:#f3f7fc;transition:.15s ease}.pay-method b{color:#234e7d;font-size:12px;font-weight:800}.pay-method small{color:#7a8ca3;font-size:10px;font-weight:600;line-height:1.3}.pay-method input:checked+span{border-color:#234e7d;background:#eaf4ff;box-shadow:0 0 0 3px rgba(7,142,232,.12)}.manual-pay-result{margin-top:18px}.manual-pay-success{padding:22px;border:1px solid #bfe3c8;border-radius:18px;background:#f0fbf3;text-align:center}.manual-pay-success-icon{display:grid;place-items:center;width:52px;height:52px;margin:0 auto 12px;border-radius:50%;background:#16a365;color:#fff;font-size:26px;font-weight:900}.manual-pay-success h4{margin:0 0 8px;color:#1b3d63;font-size:16px}.manual-pay-success p{margin:0 0 14px;color:#3d6b52;font-size:12.5px;line-height:1.6}@media(max-width:760px){.manual-pay-methods{grid-template-columns:1fr}.pay-method span{min-height:52px;flex-direction:row;align-items:center;gap:10px}}.cashflow-app .summary-grid>article,.cashflow-app .metric-card,.cashflow-app .stat-card{border:1px solid #d6e6f5;border-top:3px solid #234e7d;border-radius:16px;background:linear-gradient(180deg,#ffffff 0%,#f9fcff 100%);box-shadow:0 8px 22px -6px rgba(12,52,96,.07),0 2px 6px -1px rgba(12,52,96,.04)}.cashflow-app .panel,.cashflow-app .card{border:1px solid #d8e6f4;border-radius:16px;background:#fff;box-shadow:0 8px 24px -8px rgba(12,52,96,.06)}.cashflow-app table th{background:#f1f7fe;color:#133860;font-weight:800;border-bottom:1.5px solid #d5e5f4}.cashflow-app table tbody tr:hover td{background-color:#f6faff}.auth-card{border:1px solid #d6e6f5;box-shadow:0 20px 50px rgba(12,52,96,.10),0 4px 12px rgba(12,52,96,.04)}.payment-filter-tabs{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.payment-filter-tab{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:6px 12px;border:1px solid #dce7ec;border-radius:999px;background:#f3f7fc;color:#385570;font-size:11.5px;font-weight:800;cursor:pointer;transition:.15s ease}.payment-filter-tab span{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:#e2edf8;color:#234e7d;font-size:10px;font-weight:900}.payment-filter-tab.active{background:#234e7d;color:#fff;border-color:#234e7d}.payment-filter-tab.active span{background:rgba(255,255,255,.2);color:#fff}.payment-filter-tab.is-paid.active{background:#16a34a;border-color:#15803d;color:#fff}.payment-filter-tab.is-failed.active{background:#dc2626;border-color:#b91c1c;color:#fff}.payment-filter-tab.is-pending.active{background:#d97706;border-color:#b45309;color:#fff}.status-history-paid,.status-paid{background:#dcfce7!important;color:#15803d!important;border:1px solid #86efac!important;font-weight:900!important}.status-history-pending{background:#fef3c7!important;color:#b45309!important;border:1px solid #fcd34d!important;font-weight:900!important}.status-history-failed{background:#fee2e2!important;color:#b91c1c!important;border:1px solid #fca5a5!important;font-weight:900!important}.payment-id-link-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:5px}.payment-domain-link{display:inline-flex;align-items:center;gap:4px;padding:3px 9px;border-radius:7px;background:#eff6ff;border:1px solid #bfdbfe;color:#1d4ed8;font-size:11px;font-weight:800;text-decoration:none;transition:.15s ease}.payment-domain-link:hover{background:#dcfce7;border-color:#86efac;color:#15803d}.copy-invoice-link-btn{padding:3px 8px;border-radius:7px;border:1px solid #cbd5e1;background:#fff;color:#475569;font-size:10.5px;font-weight:800;cursor:pointer}.copy-invoice-link-btn:hover{border-color:#16a34a;color:#15803d;background:#f0fdf4}