@font-face{font-family:Vazir;src:url('Vazirmatn.woff2') format('woff2');font-display:swap}*{box-sizing:border-box}body{margin:0;background:#f4f6f9;color:#183047;font:14px/1.8 Vazir,Tahoma,Arial,sans-serif}button,input,select,textarea{font:inherit}button,a,input,select,textarea{touch-action:manipulation}button,a{cursor:pointer}button{border:0;border-radius:12px;padding:10px 17px;background:#e9eef4;color:#15334e;min-height:44px}button:hover{filter:brightness(.97)}button:disabled{opacity:.5;cursor:wait}a{color:#1c6d87}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #d6a74b;outline-offset:3px}.primary{background:#146c73;color:white}.gold{background:#e9b65c;color:#182d42;font-weight:700}.danger{color:#a4333d;background:#fdeef0}.subtle{background:transparent;color:#738195}.muted{color:#708093;font-size:12px}.ltr{direction:ltr;text-align:left}h1,h2,h3,p{margin:0 0 12px}h1{font-size:24px}h2{font-size:19px}h3{font-size:16px}.login{min-height:100dvh;display:grid;grid-template-columns:1fr 1fr;background:#fff}.login-brand{background:#10283f;padding:70px;color:white;display:flex;flex-direction:column;justify-content:center;position:relative;overflow:hidden}.login-brand:after{content:'';width:400px;height:400px;border:1px solid #ffffff12;border-radius:50%;position:absolute;left:-160px;bottom:-140px}.logo{width:82px;height:82px;object-fit:contain;border-radius:22px;background:white;padding:5px}.eyebrow{letter-spacing:4px;color:#e5b45c;font-size:12px;margin:24px 0 8px}.login-brand h1{font-size:36px}.login-brand p{color:#bed0dd;max-width:360px}.login-area{display:flex;align-items:center;justify-content:center;padding:44px 25px;position:relative}.login-box{width:100%;max-width:350px}.admin-entry{position:absolute;top:18px;left:20px;font-size:12px;min-height:36px;padding:5px 10px}.role-options{display:grid;gap:12px;margin:24px 0}.student-entry{padding:21px;background:#146c73;color:#fff;font-size:19px;box-shadow:0 8px 24px #146c7329}.parent-entry{background:#edf4f6;color:#235966;padding:14px}.field{display:flex;flex-direction:column;gap:6px;margin-bottom:14px}.field label{font-size:12px;color:#5a6a7b}.field input,.field select,.field textarea{width:100%;border:1px solid #d9e1e9;border-radius:10px;padding:11px 12px;background:white;color:#183047;min-height:45px}.field textarea{min-height:110px;resize:vertical}.full{width:100%}.error{color:#a4333d;margin:10px 0}.app{display:grid;grid-template-columns:240px 1fr;min-height:100dvh}.sidebar{background:#10283f;color:#c9d7e2;padding:25px 16px;position:sticky;top:0;height:100dvh;overflow:auto;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:12px;margin-bottom:27px}.brand .logo{width:48px;height:48px;border-radius:14px}.brand b{display:block;font-size:19px;color:white}.brand small{font-size:11px;color:#a5b9ca}.nav-label{font-size:11px;color:#7891a4;margin:18px 12px 7px}.nav{display:flex;flex-direction:column;gap:4px}.nav button{text-align:right;background:transparent;color:#b5c8d8;display:flex;gap:12px;align-items:center;border-radius:10px;padding:10px 14px;font-size:13px;min-height:42px}.nav button.active{background:#ffffff12;color:#efbe6a;border-right:3px solid #eab45b}.nav button span:first-child{width:20px;text-align:center;font-size:18px}.credit{font-size:10px;color:#839bac;margin-top:auto;padding:24px 8px 4px}.main{padding:0 38px 40px;min-width:0}.topbar{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #e2e8ef;min-height:90px;gap:12px}.topbar-actions{display:flex;gap:9px;align-items:center}.avatar{width:38px;height:38px;background:#e7bd70;border-radius:13px;display:grid;place-items:center}.badge{background:#c4484e;color:white;border-radius:20px;padding:1px 6px;font-size:10px}.page-head{display:flex;justify-content:space-between;gap:15px;align-items:center;margin:28px 0 22px}.page-head p{font-size:12px;color:#7a8795;margin:3px 0}.hero{background:#102e45;color:#fff;border-radius:22px;padding:27px 30px;display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:22px}.hero p{color:#b6cbd9;margin:0}.hero h2{font-size:24px}.hero .pill{background:#ffffff12;color:#f1c67f;border:1px solid #ffffff18}.pill{display:inline-block;border-radius:8px;padding:4px 10px;background:#eef3f7;font-size:11px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:20px 0}.stat{padding:22px;border:1px solid #e4eaf0;border-radius:16px;background:#fff}.stat .number{font-size:27px;font-weight:bold;margin:7px 0}.stat .label{color:#6c7b8a;font-size:12px}.stat .icon{color:#b5873c;font-size:19px}.grid2{display:grid;grid-template-columns:1.2fr 1fr;gap:20px}.card{background:white;border:1px solid #e3e9ef;border-radius:17px;padding:23px;margin-bottom:20px;min-width:0}.card-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.card-title h3{margin:0}.quick{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.quick button{background:#f4f7fa;padding:18px 10px;display:flex;flex-direction:column;align-items:center;gap:8px;font-size:12px}.quick button span{font-size:25px;color:#307578}.empty{padding:32px 16px;text-align:center;color:#8190a0}.empty strong{display:block;color:#40576b;margin-bottom:7px}.toolbar{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:16px;align-items:center}.toolbar input,.toolbar select{border:1px solid #dce4ec;border-radius:10px;padding:9px 12px;font:inherit;background:white;min-height:44px}.toolbar input[type=search]{flex:1;min-width:180px}.table-wrap{overflow-x:auto;border:1px solid #e2e9ef;border-radius:13px}table{width:100%;border-collapse:collapse;background:#fff;white-space:nowrap;text-align:right;font-size:12px}th{background:#f7f9fb;color:#708093;font-weight:400;padding:13px 15px}td{padding:13px 15px;border-top:1px solid #edf0f4;max-width:260px;overflow:hidden;text-overflow:ellipsis}td button{min-height:34px;padding:3px 10px;font-size:11px;margin:0 2px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 15px}.form-grid .wide{grid-column:1/-1}.dialog-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}dialog{border:0;border-radius:20px;padding:26px;max-width:620px;width:calc(100% - 30px);max-height:90dvh;color:#183047;box-shadow:0 30px 90px #0003}dialog::backdrop{background:#0b2039a6;backdrop-filter:blur(3px)}.form-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:15px}.check{display:flex;align-items:center;gap:8px}.check input{accent-color:#146c73;width:18px;height:18px}.permission-grid{max-height:300px;overflow:auto;border:1px solid #e3e9ef;border-radius:12px;padding:12px}.permission-row{display:flex;gap:10px;align-items:center;justify-content:space-between;border-bottom:1px solid #edf1f4;padding:8px 0;font-size:11px}.permission-row label{display:flex;align-items:center;gap:3px}.permission-row b{min-width:110px}.list-row{padding:13px 0;border-bottom:1px solid #edf1f4;display:flex;align-items:center;justify-content:space-between;gap:10px}.list-row:last-child{border:0}.list-row small{display:block;color:#8593a2}.message{padding:18px;background:#fff;border:1px solid #e1e8ef;border-radius:14px;margin-bottom:12px}.message.unread{border-right:4px solid #d9a451}.message p{white-space:pre-wrap}.message small{color:#8694a3}.notice{padding:12px 16px;border-radius:12px;background:#fff3d9;color:#816029;margin:15px 0;font-size:12px}.success{background:#e8f5ef;color:#28654e}.calendar{display:grid;grid-template-columns:repeat(7,1fr);gap:5px}.day{padding:9px 5px;min-height:66px;border-radius:10px;background:#f8fafc;text-align:center;font-size:12px}.day.today{background:#e5f2f0;color:#146c73;font-weight:bold}.day small{display:block;font-size:9px;color:#a57522;white-space:normal}.mobile-menu{display:none}.mobile-bottom{display:none}#toast{position:fixed;bottom:26px;left:50%;transform:translateX(-50%);z-index:100;background:#17364b;color:white;padding:12px 23px;border-radius:12px;display:none;max-width:90%;box-shadow:0 5px 25px #0002}.loading{padding:25vh 20px;text-align:center}.chart{width:100%;height:190px}.chart text{font:10px Tahoma;fill:#77899b}.children{display:flex;gap:8px;margin-bottom:18px;flex-wrap:wrap}.children .selected{background:#146c73;color:#fff}.status-dot{width:7px;height:7px;display:inline-block;background:#3d9c74;border-radius:50%;margin-left:5px}.offline{background:#ba8b38}.footer-note{margin-top:25px;font-size:11px;color:#8b98a6}.print-only{display:none}
@media(max-width:1100px){.main{padding:0 22px 30px}.app{grid-template-columns:210px 1fr}.stats{gap:10px}.stat{padding:17px}.grid2{grid-template-columns:1fr}.login-brand{padding:40px}.quick{grid-template-columns:repeat(4,1fr)}}
@media(max-width:760px){.app{display:block}.sidebar{display:none;position:fixed;right:0;top:0;z-index:40;width:260px;box-shadow:-30px 0 100px #10283f55}.sidebar.open{display:flex}.main{padding:0 16px 100px}.topbar{min-height:72px}.mobile-menu{display:block;padding:4px 11px}.topbar .date-label{display:none}.page-head{margin:22px 0 17px}.page-head h1{font-size:21px}.hero{padding:22px;border-radius:17px}.hero h2{font-size:21px}.hero .pill{display:none}.stats{grid-template-columns:1fr 1fr}.stat{padding:16px}.stat .number{font-size:24px}.quick{grid-template-columns:repeat(2,1fr)}.card{padding:17px}.mobile-bottom{display:flex;position:fixed;bottom:0;right:0;left:0;z-index:30;background:#fff;border-top:1px solid #e0e7ef;justify-content:space-around;padding:7px 5px calc(7px + env(safe-area-inset-bottom))}.mobile-bottom button{background:transparent;font-size:10px;display:flex;flex-direction:column;padding:4px 10px;align-items:center;gap:1px}.mobile-bottom button span{font-size:20px}.mobile-bottom button.active{color:#13777a}.login{grid-template-columns:1fr}.login-brand{padding:32px 25px 25px;min-height:210px}.login-brand .logo{width:58px;height:58px}.login-brand h1{font-size:25px}.login-brand .eyebrow{margin:12px 0 3px}.login-brand p{font-size:12px}.login-area{padding:54px 25px 35px;align-items:flex-start}.login-box{max-width:440px}.form-grid{grid-template-columns:1fr}.toolbar input,.toolbar select{max-width:100%}dialog{padding:20px}.permission-row{flex-wrap:wrap}.day{min-height:54px;font-size:11px}.toolbar .primary{flex:1}#toast{bottom:90px}.hero p{font-size:12px}}
@media print{body{background:white}.sidebar,.topbar,.mobile-bottom,.toolbar,.page-head button,button,.footer-note{display:none!important}.app{display:block}.main{padding:0}.card{border:0;padding:5px}.print-only{display:block}table{white-space:normal}td{max-width:none}th,td{padding:6px;border:1px solid #ddd}.stats{grid-template-columns:repeat(4,1fr)}.hero{background:white;color:black}.hero p{color:black}.table-wrap{overflow:visible}}
/* Kayan 6.1 — blue club identity, shared component system */
:root{--blue:#145da0;--blue-deep:#103957;--line:#e0e9f3;--ink:#17324e;--shadow:0 8px 28px #153e6c0a}body{background:#f2f6fb;color:var(--ink)}button{transition:background .18s,box-shadow .18s,transform .18s}button:active{transform:translateY(1px)}.primary{background:var(--blue);box-shadow:0 4px 12px #145da01c}.ui-icon{width:23px;height:23px;display:inline-block;vertical-align:middle;flex-shrink:0}.main{max-width:1500px;width:100%;margin:0 auto;align-self:start;padding-inline:32px}.sidebar{background:linear-gradient(170deg,#103957,#0c253d);padding:28px 15px}.brand{padding:0 9px 23px;border-bottom:1px solid #ffffff15}.brand .logo{width:52px;height:52px}.nav{gap:6px}.nav button{min-height:46px}.nav button.active{background:#236aa8;border:0;color:#fff;box-shadow:0 5px 18px #0001}.nav button span:first-child{width:24px;display:grid;place-items:center}.nav button:hover{background:#ffffff12}.topbar{min-height:82px;border:0}.topbar-actions>b{font-size:16px}.avatar{border-radius:50%;background:#e2ecf7;color:#145da0;border:3px solid white;font-weight:700}.page-head{margin:17px 0 20px}.page-head h1{font-size:25px;font-weight:800}.page-head p{color:#657c91}.hero{position:relative;overflow:hidden;background:linear-gradient(115deg,#0c497d,#145da0 55%,#178bc3);padding:28px 30px;border-radius:24px;box-shadow:0 12px 28px #145da021;min-height:168px}.hero:before{content:'';position:absolute;inset:auto auto -125px -45px;width:330px;height:330px;border:40px solid #ffffff07;border-radius:50%;pointer-events:none}.hero-kicker{font-size:11px;color:#cae9ff;display:block;margin-bottom:8px;letter-spacing:.5px}.hero h2{font-size:24px;font-weight:800}.hero p{color:#d1e9fb;font-size:13px}.hero-seal{position:relative;display:flex;flex-direction:column;align-items:center;gap:8px;flex-shrink:0}.hero-seal img{width:76px;height:76px;padding:7px;background:white;border-radius:24px;box-shadow:0 0 0 6px #ffffff15;object-fit:contain}.hero-seal span{font-size:10px;color:#e2f2ff}.stats{gap:13px;margin:20px 0 24px}.stat{position:relative;padding:18px 20px;border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow)}.stat .icon{width:37px;height:37px;border-radius:12px;display:grid;place-items:center;color:#145da0;background:#edf5ff;margin-bottom:4px}.stat:nth-child(2) .icon{background:#fff4e4;color:#a76a13}.stat:nth-child(3) .icon{background:#e8f7f1;color:#178461}.stat:nth-child(4) .icon{background:#f0edfc;color:#7652ad}.stat .number{font-size:25px;margin:4px 0;line-height:1.5;overflow-wrap:anywhere}.stat .number small{font-weight:400;font-size:10px}.stat .label{color:#5f748b}.card{border:1px solid var(--line);box-shadow:var(--shadow);border-radius:20px;padding:22px}.card-title h3{font-weight:800;font-size:16px}.card-title .subtle{color:#145da0}.quick{grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.quick button{position:relative;background:white;border:1px solid #e3ebf4;border-radius:17px;min-height:114px;font-weight:600;font-size:13px;gap:11px;box-shadow:0 4px 10px #16395b04;padding:15px 8px}.quick button:hover{border-color:#a8c9e8;background:#f8fbff;box-shadow:0 7px 20px #145da014;transform:translateY(-2px)}.quick button>span{width:48px;height:48px;display:grid;place-items:center;color:#145da0;background:#eaf3fe;border-radius:16px}.quick button .ui-icon{width:27px;height:27px}.quick button:nth-child(4n+2)>span{background:#fff3df;color:#a36a14}.quick button:nth-child(4n+3)>span{background:#e7f6f0;color:#178461}.quick button:nth-child(4n+4)>span{background:#f0eefa;color:#7455b0}.list-row{padding:15px 0}.list-row b{font-weight:600}.pill{border-radius:20px}.empty{background:linear-gradient(180deg,#f7faff,#fff);border:1px dashed #dfe9f3;border-radius:15px;padding:28px 15px}.empty strong{font-size:13px}.empty p{font-size:12px}.field input,.field select,.field textarea{border-color:#dce5ef;background:#fbfdff;border-radius:12px;min-height:48px}.field input:focus,.field select:focus,.field textarea:focus{background:#fff;outline:2px solid #b6d9f6;outline-offset:1px}.field label{font-weight:600;color:#4d647a}.toolbar button{font-size:12px}.table-wrap{border-color:var(--line)}th{background:#eef5fc;color:#46627d}tbody tr:hover{background:#f8fbff}.message{box-shadow:var(--shadow);border-color:var(--line)}.children .selected{background:var(--blue)}.day.today{background:var(--blue);color:white}.day.today small{color:white}.check input{accent-color:var(--blue)}dialog{border:1px solid #dce7f1;border-radius:22px}.dialog-title{padding-bottom:12px;border-bottom:1px solid var(--line)}.login{background:linear-gradient(140deg,#e8f3ff,#f5f8fc 65%);grid-template-columns:minmax(300px,.9fr) minmax(420px,1.1fr)}.login-brand{background:linear-gradient(145deg,#0e3d66,#145da0 65%,#1785b8);align-items:center;text-align:center;padding:50px}.login-brand .logo{width:108px;height:108px;border-radius:30px;box-shadow:0 0 0 10px #ffffff12,0 12px 35px #002d5030}.login-brand h1{font-size:32px;margin-top:10px}.login-brand .eyebrow{letter-spacing:3px;color:#cceaff}.login-brand p{color:#d9ecfc}.login-area{padding:65px 35px}.login-box{max-width:410px;background:#fff;border:1px solid #e1eaf5;border-radius:27px;padding:28px;box-shadow:0 18px 60px #145da00d}.login-box h2{font-size:23px}.login-box>p.muted{margin-bottom:5px}.role-options{gap:9px;margin:18px 0}.student-entry{background:linear-gradient(110deg,#145da0,#1687c0);padding:16px;border-radius:15px;box-shadow:0 6px 16px #145da025;font-size:18px;font-weight:700}.parent-entry{background:#edf5fe;color:#145da0;padding:10px;border:1px solid #d9e9f8}.admin-entry{color:#325b7b;background:#ffffffb0;border:1px solid #dce8f2;top:18px;left:24px;border-radius:10px}.role-options button[aria-pressed=true]{outline:2px solid #145da0;outline-offset:3px}.admin-entry[aria-pressed=true]{background:#145da0;color:white}.login-box h3{font-size:14px;margin:19px 0 12px}.login-box .footer-note{text-align:center;margin:18px 0 0;font-size:10px}.login-box .check{font-size:10px}.login-box .check input{flex-shrink:0}.error:empty{display:none}.login-box .error{font-size:12px}.login-box .full{margin-top:10px;min-height:48px}.footer-note{font-size:10px;color:#71869b}
@media(max-width:1100px){.main{padding-inline:22px}.login-brand{padding:30px}.login-brand h1{font-size:26px}}
@media(max-width:760px){.main{padding:0 16px 105px}.topbar{min-height:72px}.page-head{margin:8px 0 16px}.page-head h1{font-size:22px}.hero{padding:23px 20px;min-height:155px;border-radius:22px;margin-bottom:16px;gap:10px}.hero h2{font-size:20px;margin-bottom:6px}.hero p{max-width:215px;font-size:11px}.hero-kicker{font-size:10px;margin-bottom:7px}.hero-seal img{width:58px;height:58px;border-radius:18px}.hero-seal span{font-size:9px}.stats{gap:10px;margin:16px 0 19px}.stat{padding:13px 14px;border-radius:16px;min-height:125px}.stat .number{font-size:22px}.stat .label{font-size:11px}.stat .icon{width:32px;height:32px;border-radius:10px}.stat .icon svg{width:20px;height:20px}.card{padding:16px;border-radius:19px;margin-bottom:16px}.card-title{margin-bottom:14px}.card-title h3{font-size:15px}.card-title>span{font-size:10px}.quick{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.quick button{min-height:91px;font-size:10px;padding:12px 3px;gap:8px;border-radius:13px;line-height:1.5}.quick button>span{width:39px;height:39px;border-radius:13px}.quick button .ui-icon{width:23px;height:23px}.quick button[data-page=accounts]{font-size:9px}.mobile-bottom{left:12px;right:12px;bottom:9px;border:1px solid #dce6f2;border-radius:22px;box-shadow:0 8px 30px #133a6520;padding:7px 4px calc(7px + env(safe-area-inset-bottom));background:#fffffffa;backdrop-filter:blur(12px)}.mobile-bottom button{border-radius:14px;min-width:49px;padding:5px 9px;gap:3px;font-size:10px;color:#667d93}.mobile-bottom button.active{background:#eaf3ff;color:#145da0}.mobile-bottom button span{line-height:1.2}.mobile-bottom .ui-icon{width:21px;height:21px}.sidebar{width:min(285px,85vw)}.login{display:block;padding:0 0 22px;background:#f2f7fd}.login-brand{min-height:0;padding:27px 20px 46px;display:block;border-radius:0 0 32px 32px}.login-brand .logo{width:70px;height:70px;padding:5px;border-radius:21px;box-shadow:0 0 0 6px #ffffff12}.login-brand .eyebrow{font-size:9px;letter-spacing:2px;margin:11px 0 3px}.login-brand h1{font-size:23px;margin:5px 0}.login-brand p{font-size:12px;margin:0;max-width:none}.login-area{padding:0 17px;display:block;margin-top:-22px}.login-box{max-width:440px;margin:auto;padding:23px 22px;border-radius:24px;position:relative}.login-box h2{font-size:20px;padding-left:65px}.admin-entry{z-index:2;top:24px;left:calc(max(17px,(100% - 440px)/2) + 16px);font-size:10px;padding:4px 7px;min-height:31px;background:#f5f8fc}.login-box .field{margin-bottom:12px}.login-box .field input{min-height:46px}.login-box h3{margin:15px 0 10px}.role-options{margin:15px 0;gap:8px}.student-entry{padding:13px;font-size:17px}.parent-entry{padding:8px;min-height:39px}.login-box>p.muted{font-size:11px}.login-box p[style]{font-size:10px}.form-grid{gap:0}.toolbar input[type=search]{min-width:0;width:100%;flex-basis:100%}.grid2{gap:0}.hero-seal{max-width:80px}}
@media(max-width:350px){.quick{grid-template-columns:repeat(3,minmax(0,1fr))}.hero-seal{display:none}.stat .number{font-size:19px}.login-box{padding:22px 17px}.login-box h2{font-size:18px}}
@media(prefers-reduced-motion:reduce){button{transition:none!important}}
@media print{.hero{background:white!important;color:black!important;box-shadow:none}.hero-kicker,.hero-seal{display:none}.card,.stat{box-shadow:none}.hero p{color:black}}

/* Kayan 6.2 — shared navy / turquoise design, matching the approved screen family. */
:root{--navy:#06253f;--ink:#08253b;--accent:#00bfb4;--teal:#007b7f;--line:#c9dce7;--muted:#627a8d;--page:#eff6fd;--shadow:0 5px 10px #173e5c20,0 1px 2px #24587922;--radius:22px}
body{background:radial-gradient(ellipse at top,#fff 0,#eff6fd 65%);color:var(--ink);line-height:1.8;font-weight:500}
button,input,textarea,select{font:inherit}button{border-radius:13px;min-height:44px;transition:background .12s,box-shadow .12s}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #008c9b;outline-offset:3px}button:hover{transform:none}button:disabled{opacity:.55;cursor:wait}button.primary,.gold{background:linear-gradient(110deg,#008c92,#006e7d);border:1px solid #00737b;color:white;box-shadow:0 3px 0 #044b5c20}
[hidden]{display:none!important}input,select,textarea{background:#fff;border:1px solid #b4cddc;border-radius:12px;min-width:0;max-width:100%;min-height:46px}input:focus,textarea:focus,select:focus{border-color:#008d9a;outline:2px solid #03c6bc2a}.muted{color:#637483}.error{color:#a52f3e}.positive{color:#087d61}.debt{color:#ac3540}.preserve{white-space:pre-wrap;overflow-wrap:anywhere}.ltr,code{direction:ltr;unicode-bidi:embed}.secret{display:block;font:700 24px monospace;letter-spacing:2px;overflow-wrap:anywhere;background:#e8fbf7;border:1px solid #77c6bc;border-radius:14px;padding:16px;margin:12px 0;text-align:center}
.app{max-width:1700px;margin:auto}.sidebar{background:linear-gradient(155deg,#04263d,#061d32);color:#ebf6ff;border-left:1px solid #0ac5b760}.sidebar .brand{color:#fff;border-bottom:1px solid #496277}.sidebar .brand small,.sidebar .credit{color:#9cb6c7}.sidebar .nav button{color:#e9f2f8;border-radius:12px}.sidebar .nav button:hover,.sidebar .nav button.active{background:linear-gradient(100deg,#008b84,#096478);color:white;box-shadow:inset 0 0 0 1px #45d5c768}.sidebar .nav .ui-icon{width:23px;height:23px}.credit{font-size:10px}.main{padding:0 28px 28px;background:transparent}.topbar.sports-header{min-height:128px;display:flex;flex-wrap:wrap;gap:12px;margin:0 -28px 22px;padding:18px 28px 21px;border-radius:0 0 25px 25px;background:radial-gradient(ellipse at 18% -20%,#2b6389,#05253f 52%,#031b30);border-bottom:4px solid #04cabc;color:#fff;box-shadow:0 5px 0 #04778d,0 9px 15px #15354b2a;position:relative;overflow:hidden}.topbar.sports-header:after{content:'';position:absolute;bottom:0;right:18%;width:44%;height:20px;transform:skew(-55deg);border-top:2px solid #00cbd2;border-radius:100% 0;pointer-events:none}.header-brand{display:flex;align-items:center;gap:14px;margin-inline-end:auto}.header-brand img{width:75px;height:75px;border-radius:19px;box-shadow:0 2px 8px #0006}.header-brand span{font-size:20px;font-weight:850}.topbar .muted{color:#c6d9e8;font-size:11px}.topbar .avatar{display:none}.topbar button{color:#fff;border-color:#6b9bad;background:#ffffff0c}.topbar .date-label{display:none}.topbar-actions{gap:8px}.topbar-actions b{font-size:13px}.status-dot{background:#00e0aa}.page-head{margin:24px 0 16px;align-items:center}.page-head h1{font-size:26px;color:var(--ink)}.page-head p{font-size:13px}.card,.stat,.message,.student-card,.chart-card{background:linear-gradient(130deg,#fff,#f7faff 65%,#eff5fc);border:1px solid #d1dfeb;border-radius:var(--radius);box-shadow:var(--shadow)}.card{padding:22px;margin-bottom:18px}.card h3{font-size:18px}.card-title{align-items:center;gap:12px}.toolbar{gap:10px}.full{width:100%}.section-heading{display:flex;align-items:center;justify-content:center;gap:18px;font-size:25px;margin:24px 0 18px}.section-heading:before,.section-heading:after{content:'';width:65px;height:3px;border-radius:50%;background:linear-gradient(90deg,transparent,#00bb9e)}.quick-primary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.quick-primary .service-tile{position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:7px;min-height:174px;border-radius:24px;background:linear-gradient(130deg,#fff,#f2f6fc);border:1px solid #c9d9e4;box-shadow:0 8px 10px #123e5b26,inset 0 0 0 2px #fff9;padding:18px;color:#071d31}.service-tile:after{content:'';position:absolute;width:72%;height:45%;bottom:-30%;left:-8%;transform:rotate(22deg);background:linear-gradient(100deg,#02d5c787,#9df4ed36);border-radius:70% 0 0;pointer-events:none}.service-tile b{font-size:23px;font-weight:850;z-index:1}.tile-icon{width:85px;height:82px;display:flex;align-items:center;justify-content:center;background:linear-gradient(140deg,#edffff,#c9edf0);border-radius:22px;box-shadow:inset 2px 2px 3px white,inset -3px -4px 5px #0c496039,0 6px 5px #07395328;transform:rotate(-4deg);color:#07334d}.tile-icon .ui-icon{width:58px;height:58px;stroke-width:1.6;filter:drop-shadow(0 3px 0 #18d3c6);fill:#ffffff9c}.tile-arrow{position:absolute;left:20px;top:50%;font-size:32px;color:#00ad90}.quick-secondary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:26px 0;gap:0}.quick-secondary button{display:flex;align-items:center;flex-direction:column;gap:6px;background:transparent;border:0;border-left:1px solid #c6d7e5;border-radius:0;padding:8px 4px;color:#07253a}.quick-secondary button:last-child{border-left:0}.quick-secondary .ui-icon{height:41px;width:41px;color:#093d56;filter:drop-shadow(0 3px 0 #31d9c7);fill:#e8f6f8}.quick-secondary b{font-size:15px;white-space:normal}.followups{background:linear-gradient(125deg,#c0fff4,#25cbbd 35%,#a7f1ee 85%);padding:0 12px 12px;border:1px solid #a1e6dd;border-radius:24px;box-shadow:var(--shadow);margin-bottom:22px}.followups h2{font-size:22px;padding:12px 14px 8px;margin:0}.follow-row{position:relative;display:flex;align-items:center;gap:14px;width:100%;padding:13px 16px;margin-top:9px;border:1px solid #c4d8e7;background:linear-gradient(125deg,#fff,#edf4fc);border-radius:17px;box-shadow:0 4px 5px #18577627;color:#08263c;min-height:78px;text-align:right}.follow-row b{font-size:18px}.follow-row .follow-icon .ui-icon{width:39px;height:39px;stroke:#07344e;fill:#defffa;filter:drop-shadow(0 2px 0 #21cdb4)}.follow-row .chevron{margin-right:auto;font-size:29px;color:#08b998}.badge{background:#e45c4d;color:white;font-size:12px;font-style:normal;padding:1px 8px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;min-width:22px}.dashboard-summary summary{cursor:pointer;font-weight:700}.dashboard-summary .stats{margin-top:12px}.stats{gap:14px;margin:18px 0;grid-template-columns:repeat(auto-fit,minmax(130px,1fr))}.stats .stat{padding:18px;display:flex;flex-direction:column;gap:4px}.stat b{font-size:25px}.stat small{font-size:11px}.stat .icon{width:30px}.footer-note{font-size:10px;color:#60798e;margin-top:25px}
.student-directory{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.student-card{display:flex;align-items:center;gap:14px;padding:18px;min-width:0}.student-card h3{font-size:18px;margin:0}.student-card>div:nth-child(2){flex:1;min-width:0}.student-card .toolbar{gap:6px;margin:6px 0 0}.student-mark{flex-shrink:0;display:flex;align-items:center;justify-content:center;background:linear-gradient(130deg,#d6fff4,#d9e4f2);border:1px solid #b0d5d9;border-radius:18px;width:58px;height:65px;color:#07516c;box-shadow:inset 0 2px 2px #fff}.student-mark .ui-icon{width:39px;height:39px;fill:#fff8}.student-card>button{font-size:12px;min-width:0;padding:6px 10px}.profile-top{margin-bottom:20px}.profile-top h2{font-size:25px;margin:0}.profile-summary .balance{font-size:28px}.profile-summary .card h3{font-size:17px}.stats-mini{display:flex;gap:12px}.stats-mini>span{flex:1;text-align:center;background:#e5faf3;border-radius:16px;padding:10px}.stats-mini>.debt{background:#ffecec}.stats-mini b{display:block;font-size:30px}.section-details>summary{display:flex;align-items:center;gap:14px;font-size:20px;font-weight:750;cursor:pointer;list-style:none}.section-details>summary:after{content:'‹';margin-right:auto;color:#00a88b;font-size:27px}.section-details[open]>summary:after{transform:rotate(-90deg)}.section-details>summary .ui-icon{width:35px;height:35px;stroke:#075067}.section-details>summary small{font-weight:500;font-size:11px}.section-details dl{display:grid;grid-template-columns:1fr 1fr;gap:10px}.section-details dd{margin:0}.section-details dt{color:#728596}.pill{font-size:11px;border-radius:10px;background:#e9eff5;border:1px solid #d5e1e8;color:#21425b;padding:3px 10px}.state-pending{background:#fff0bd;border-color:#f5ce66;color:#845511}.state-approved{background:#d5f7e7;border-color:#8cdbc2;color:#116d50}.state-rejected{background:#ffebeb;border-color:#f3bfc0;color:#9e3434}.belt-chip{font-size:11px;display:inline-block;padding:3px 12px;border-radius:10px;border:1px solid #bdc8ce;color:#172b39;background:#fff}.belt-yellow{background:#ffe89f}.belt-green{background:#d1f0c4}.belt-blue{background:#c9eaff}.belt-red{background:#ffd3d3}.belt-poom{background:linear-gradient(0deg,#132c42 0 28%,#ffd1cd 28%);padding-bottom:7px}.belt-black{background:#243a4d;color:white;border-color:#243a4d}.segmented{display:flex;gap:4px;background:#e0e9f3;padding:5px;border-radius:17px;margin:18px 0;overflow:auto}.segmented button{flex:1;min-width:max-content;background:transparent;border:0;color:#607487}.segmented button.selected{background:#073349;color:#fff;box-shadow:0 0 0 2px #05c5c3;border-radius:12px}.receipt-amount{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#f0f6fb;border-radius:14px;padding:13px}.receipt-amount b{font-size:20px}.receipt-image{display:block;max-height:460px;max-width:100%;width:auto;margin:12px auto;border-radius:12px;object-fit:contain}.overflow-menu{position:relative}.overflow-menu summary{cursor:pointer;font-size:24px;list-style:none;min-width:44px;text-align:center}.overflow-menu>div{position:absolute;left:0;top:100%;z-index:8;background:white;border:1px solid #c4d7e4;border-radius:15px;box-shadow:var(--shadow);padding:8px;min-width:200px;display:grid;gap:6px}.overflow-menu button{text-align:right;background:#f5f9fd}.weekdays{display:flex;gap:6px;flex-wrap:wrap;margin:18px 0}.weekdays button{flex:1 0 85px;padding:8px 10px;background:#f4f8fc;color:#163349}.weekdays button.selected{background:#06394d;color:white;border:2px solid #07cec1}.class-card .time{font-size:25px;color:#008986}.steps{display:flex;gap:20px;padding:12px 0;margin-bottom:12px;border-bottom:2px solid #19bfae}.choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0 18px}.choice-grid .check{background:#f1f7fc;border:1px solid #d1e1ea;border-radius:12px;padding:10px}.steps span{color:#738897}.form-grid fieldset{border:1px solid #cfdfeb;border-radius:13px}.chart-card{padding:20px;min-width:0}.chart-card .chart text{font-size:11px;fill:#305469}.radar{max-width:400px;display:block;margin:auto}.radar text{font-family:inherit;font-size:10px;fill:#234a64}.chat-thread{display:flex;flex-direction:column;gap:12px;max-height:45vh;overflow-y:auto;padding:12px;background:#f0f6fc;border-radius:15px}.chat-bubble{background:white;border:1px solid #d6e3ec;border-radius:15px 15px 2px 15px;padding:10px 16px;max-width:85%;align-self:flex-start}.chat-bubble.mine{background:#c7f8ef;border-color:#96e5d9;border-radius:15px 15px 15px 2px;align-self:flex-end}.chat-bubble p{white-space:pre-wrap;margin:0}.chat-bubble small{font-size:9px;color:#617d8d}.modal-open{overflow:hidden;overscroll-behavior:none}dialog{max-height:calc(100dvh - 40px);overflow:auto;overscroll-behavior:contain;border:1px solid #b6d2df;border-radius:22px;padding:22px;box-shadow:0 20px 75px #032c4a66}dialog::backdrop{background:#021c32a8;backdrop-filter:blur(3px)}.dialog-title{position:sticky;top:-22px;background:#f9fcff;z-index:3;padding:13px 0;border-bottom:2px solid #19c9ba;margin-bottom:18px}.dialog-title h2{font-size:20px}.form-error{white-space:pre-wrap}.permission-row{background:#f3f8fc;border:1px solid #d0dfe8;border-radius:12px}details>summary{cursor:pointer}#public-news article{padding:14px 0;border-top:1px solid #668ba84d;text-align:right;font-size:13px}#public-news article p{font-size:12px;white-space:pre-wrap}.login-brand{background:radial-gradient(at 20% 0,#20597c,#03263c 65%);border-bottom:3px solid #04c6b4}.login-brand .logo{width:120px;height:120px;border-radius:25px}.login-box{border-radius:24px;border:1px solid #c9dce7;background:linear-gradient(140deg,#fff,#f3f8fc);box-shadow:var(--shadow)}.student-entry{background:linear-gradient(110deg,#08c7b9,#008e96)!important;min-height:66px!important;font-weight:850;font-size:22px!important;border:1px solid #008c8c!important;box-shadow:0 4px 0 #004b5a22;color:white!important}.parent-entry{border:1px solid #adcbd7!important;background:#eef8fc!important;color:#173a50!important}.admin-entry{font-size:11px!important;min-height:34px!important;padding:3px 10px!important;box-shadow:none!important}
@media(min-width:1100px){#content{max-width:1000px;margin:auto}.quick-primary .service-tile{min-height:190px}.quick-primary .tile-icon{width:95px;height:90px}.quick-primary .service-tile b{font-size:25px}.followups{max-width:none}.main{min-height:100vh}}
@media(max-width:899px){.main{padding:0 16px 100px}.topbar.sports-header{margin:0 -16px 20px;min-height:104px;padding:12px 16px 16px;border-radius:0 0 20px 20px;gap:10px}.header-brand{gap:10px}.header-brand img{width:54px;height:54px;border-radius:14px}.header-brand span{font-size:16px}.topbar-actions b{font-size:10px}.topbar-actions .muted{font-size:9px}.topbar-actions:last-child{display:none}.topbar-actions:first-of-type{margin:0}.mobile-menu{padding:3px 9px;min-height:34px}.topbar .status-dot{width:6px;height:6px}.page-head{margin:18px 0 12px;gap:8px}.page-head h1{font-size:23px}.page-head p{font-size:11px}.student-directory{grid-template-columns:1fr}.section-heading{font-size:22px;margin:17px 0}.quick-primary{gap:13px}.quick-primary .service-tile{min-height:153px;padding:14px 6px;border-radius:20px;gap:10px}.tile-icon{width:66px;height:63px;border-radius:17px}.tile-icon .ui-icon{width:45px;height:45px}.service-tile b{font-size:18px}.tile-arrow{left:10px;top:45%;font-size:25px}.quick-secondary{margin:20px 0}.quick-secondary b{font-size:11px}.quick-secondary .ui-icon{width:33px;height:33px}.followups{padding:0 9px 10px;border-radius:21px}.followups h2{font-size:19px}.follow-row{min-height:66px;padding:10px 12px;gap:10px}.follow-row b{font-size:16px}.follow-row .follow-icon .ui-icon{width:33px;height:33px}.card{padding:17px}.card h3{font-size:16px}.stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.stats .stat{padding:13px 8px;min-width:0}.stat b{font-size:17px}.stat span{font-size:11px}.profile-summary.grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.profile-summary .card{padding:13px 10px}.profile-summary .card h3{font-size:13px}.profile-summary .balance{font-size:21px}.stats-mini{gap:7px}.stats-mini>span{font-size:11px;padding:7px}.stats-mini b{font-size:22px}.section-details>summary{font-size:17px}.section-details>summary .ui-icon{width:29px;height:29px}.profile-top h2{font-size:22px}.student-card{padding:15px;gap:12px}.student-card h3{font-size:17px}.mobile-bottom{position:fixed;bottom:0;left:0;right:0;z-index:20;background:linear-gradient(130deg,#fff,#f3f7fe);box-shadow:0 -3px 15px #173b5329;border-top:2px solid #1fd9c5;border-radius:24px 24px 0 0;padding:7px 16px calc(7px + env(safe-area-inset-bottom));gap:12px;display:flex;align-items:center;min-height:72px}.mobile-bottom button{min-height:55px;font-size:12px;border:0;background:transparent;flex:1;color:#072a41}.mobile-bottom button.active{background:linear-gradient(120deg,#9bfff1,#00ccbd);border-radius:17px;box-shadow:0 3px 4px #07595420}.mobile-bottom .ui-icon{width:25px;height:25px}.mobile-bottom button[data-action=menu]{order:1}.mobile-bottom button[data-page=settings]{order:2}.mobile-bottom button[data-page=home]{order:0}.footer-note{font-size:9px}.form-grid{grid-template-columns:1fr 1fr}.form-grid .field{min-width:0}dialog{width:calc(100% - 24px);padding:18px;max-height:calc(100dvh - 28px)}.dialog-title{top:-18px}.choice-grid{grid-template-columns:1fr 1fr}.receipt-amount b{font-size:17px}.receipt-amount small{font-size:11px}.login-brand{padding:25px 16px!important}.login-brand .logo{width:90px;height:90px}.login-brand h1{font-size:26px}.login-area{padding:28px 18px}.login-box{padding:25px 20px}.section-heading:before,.section-heading:after{width:40px}}
@media(max-width:359px){.main{padding-inline:12px}.topbar.sports-header{margin-inline:-12px;padding-inline:12px}.header-brand span{font-size:14px}.header-brand img{width:45px;height:45px}.service-tile b{font-size:16px}.quick-primary .service-tile{min-height:142px}.follow-row b{font-size:14px}.form-grid,.choice-grid{grid-template-columns:1fr}.profile-summary .balance{font-size:17px}.student-card h3{font-size:15px}.student-mark{width:45px;height:55px}.student-card{gap:8px}.quick-secondary b{font-size:10px}}
@media print{body{background:white!important}.sports-header,.mobile-bottom,.sidebar,.page-head button,.toolbar button,.overflow-menu{display:none!important}.main{margin:0!important;padding:0!important}.card,.student-card,.stat{box-shadow:none!important;break-inside:avoid}.modal-open #root{display:none!important}dialog[open]{position:static;max-height:none;overflow:visible;border:0;box-shadow:none;width:100%;max-width:none}dialog button{display:none!important}.dialog-title{position:static}.chart,.radar{max-height:300px}.footer-note{display:block!important}}
.fighter-mark{display:inline-flex;width:38px;height:42px;align-items:center;justify-content:center;vertical-align:middle;margin-inline-start:5px;border-radius:11px;background:#eef4f7;color:#244052}.fighter-mark svg{width:31px;height:36px;fill:currentColor}.fighter-mark .fighter-belt{fill:#fff;stroke:#667887;stroke-width:1}.fighter-mark.belt-yellow{background:#fff3ca;color:#9a7312}.fighter-mark.belt-yellow .fighter-belt{fill:#f3cf45}.fighter-mark.belt-green{background:#e4f5dc;color:#397d36}.fighter-mark.belt-green .fighter-belt{fill:#53a94b}.fighter-mark.belt-blue{background:#e1f2ff;color:#27699b}.fighter-mark.belt-blue .fighter-belt{fill:#287fce}.fighter-mark.belt-red{background:#ffebeb;color:#9a3b3b}.fighter-mark.belt-red .fighter-belt{fill:#d94d4d}.fighter-mark.belt-black{background:#e9eef2;color:#142b3d}.fighter-mark.belt-black .fighter-belt{fill:#152d40}.fighter-mark.belt-poom{background:#fff0ee;color:#24394c}.fighter-mark.belt-poom .fighter-belt{fill:#182f45;stroke:#f0b7b1;stroke-width:2}.nav-logout{margin-top:10px!important;justify-content:flex-start!important;background:#ffffff12!important;color:#ffd9d9!important;border:1px solid #ffffff1f!important}.dialog-title button[data-action=close]{width:44px;height:44px;min-width:44px;padding:0;border-radius:50%;font-size:27px;line-height:1;background:#edf2f6;color:#294258;display:grid;place-items:center}.login-action{object-fit:contain;background:#041b2b;object-position:center center}.mobile-bottom{padding-bottom:calc(7px + env(safe-area-inset-bottom))}
.upgrade-screen{max-width:520px;margin:8vh auto;padding:26px;background:white;border:1px solid #c9dbe8;border-radius:24px;box-shadow:var(--shadow)}.upgrade-screen>img{border-radius:20px}.upgrade-screen h1{font-size:25px}.upgrade-screen>small{display:block;margin-top:25px}@media(max-width:550px){.upgrade-screen{margin:28px 16px;padding:22px}}

/* Approved Kayan home screen and shared role entry */
.login-page{max-width:1100px;margin:0 auto;background:#fff;min-height:100dvh;color:#071f38;padding-bottom:20px}
.public-header{height:118px;padding:16px 36px;display:flex;align-items:center;justify-content:space-between;background:#fff;position:relative;z-index:2}
.public-brand{display:flex;align-items:center;gap:16px;font-size:26px;font-weight:850}
.public-brand img{width:90px;height:90px;object-fit:contain;padding:5px;border-radius:22px;background:#fff;box-shadow:0 3px 16px #071f3820}
.manager-entry{background:#fff;color:#09253d;border-radius:0;padding:8px 4px;min-height:42px;font-size:16px;font-weight:700}
.login-hero{height:auto;background:#041b2b;position:relative;overflow:hidden;border-bottom:7px solid #00c7b5}
.login-action{width:100%;height:auto;aspect-ratio:1895/830;object-fit:contain;object-position:center;display:block}
.login-hero:after{display:none}
.hero-copy{position:relative;padding:12px 16px;text-align:center;color:white;text-shadow:0 2px 12px #001326}
.hero-copy h1{font-size:40px;font-weight:900;margin:0}
.hero-underline{display:block;width:230px;height:8px;border-top:6px solid #00c5b2;border-radius:50%;margin:12px auto 0}
.public-updates{padding:22px 36px 4px}
.public-updates>h2{text-align:center;font-size:32px;font-weight:900;margin:0 0 18px;display:flex;justify-content:center;align-items:center;gap:22px}
.public-updates>h2:before,.public-updates>h2:after{content:'';height:3px;width:90px;background:#00bba9}
.public-news-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.public-news-list article{padding:15px 18px;background:#fff;border:1px solid #d2e1e8;border-radius:17px;box-shadow:var(--shadow);min-width:0}
.public-news-list article b{font-size:16px}
.public-news-list article p{font-size:12px;color:#536c7e;margin:8px 0}
.public-news-list article small{color:#718595;font-size:10px}
.login-access{padding:14px 38px 0}
.access-notice{display:flex;align-items:center;justify-content:flex-start;gap:14px;padding:13px 18px;background:linear-gradient(100deg,#c8f8f1,#d5f7f7);border-radius:18px;margin:4px 0 17px;color:#09263f}
.access-notice .ui-icon{width:36px;height:36px}
.access-notice b{font-size:19px;border-right:2px solid #00b8a9;padding-right:15px}
.role-options{display:grid;grid-template-columns:1fr;gap:12px;margin:0}
.role-options button{display:flex;align-items:center;justify-content:center;position:relative;gap:12px;width:100%;min-height:76px;border-radius:18px;font-size:25px;font-weight:850}
.role-icon{position:absolute;right:22px;font-size:34px;line-height:1}
.role-arrow{position:absolute;left:22px;font-size:34px;font-weight:400;line-height:1}
.student-entry{background:linear-gradient(100deg,#08cdbb,#00bda9)!important;color:#061e35!important;border:1px solid #00ad9e!important;box-shadow:none!important}
.parent-entry{background:#fff!important;color:#08243c!important;border:2px solid #102c43!important}
.login-form-panel{max-width:560px;margin:18px auto 0;padding:22px;border:1px solid #cbdde7;border-radius:19px;box-shadow:var(--shadow);background:#fff}
.login-form-panel h2{font-size:21px}
.login-form-panel .login-help{margin-top:14px}
.login-footer{text-align:center;border-top:7px solid #06243c;background:#06243c;color:#fff;margin-top:20px;padding:12px;font-size:12px}
.login-form-panel[hidden]{display:none}
@media(max-width:760px){
 .login-page{padding-bottom:14px}
 .public-header{height:82px;padding:10px 16px}
 .public-brand{gap:9px;font-size:17px}
 .public-brand img{width:58px;height:58px;border-radius:15px}
 .manager-entry{font-size:13px;min-height:36px}
 .login-hero{height:auto;border-bottom-width:5px}
 .hero-copy{padding:12px 16px}
 .hero-copy h1{font-size:27px}
 .hero-underline{width:165px;border-top-width:5px;height:6px;margin-top:8px}
 .public-updates{padding:14px 16px 2px}
 .public-updates>h2{font-size:22px;gap:12px;margin-bottom:12px}
 .public-updates>h2:before,.public-updates>h2:after{width:38px}
 .public-news-list{grid-template-columns:1fr;gap:8px}
 .public-news-list article{padding:11px 14px;border-radius:13px}
 .public-news-list article b{font-size:14px}
 .public-news-list article p{font-size:11px;margin:5px 0}
 .login-access{padding:10px 16px 0}
 .access-notice{padding:10px 13px;margin-bottom:11px}
 .access-notice b{font-size:16px}
 .access-notice .ui-icon{width:30px;height:30px}
 .role-options{gap:9px}
 .role-options button{min-height:61px;border-radius:15px;font-size:20px}
 .role-icon{right:16px;font-size:27px}
 .role-arrow{left:16px;font-size:29px}
 .login-form-panel{padding:18px 16px;margin-top:13px}
}
@media(max-width:360px){
 .public-brand{font-size:15px}
 .public-brand img{width:50px;height:50px}
 .manager-entry{font-size:11px}
 .login-hero{height:auto}
 .hero-copy h1{font-size:23px}
 .public-updates>h2{font-size:19px}
 .role-options button{font-size:18px}
}
.public-featured{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:0 0 16px}
.featured-tile{position:relative;overflow:hidden;display:flex;align-items:center;gap:12px;min-height:110px;padding:12px 16px;background:#fff;border:1px solid #d2e1e8;border-radius:17px;box-shadow:var(--shadow)}
.featured-tile img{width:125px;height:86px;object-fit:cover;border-radius:12px}
.featured-tile b{font-size:18px;flex:1}
.featured-icon{font-size:27px;color:#09283f}
.updates-tile img{object-fit:contain;padding:7px;background:#f4fbfc}
@media(max-width:760px){.public-featured{gap:10px;margin-bottom:12px}.featured-tile{min-height:94px;padding:9px;gap:8px;border-radius:13px}.featured-tile img{width:85px;height:72px;border-radius:9px}.featured-tile b{font-size:13px}.featured-icon{font-size:20px}.public-news-list:empty{display:none}}
@media(max-width:360px){.featured-tile{flex-wrap:wrap;justify-content:center;text-align:center}.featured-tile img{width:100%;height:65px}.featured-tile b{font-size:11px}}
/* One visual system across manager, student and parent panels */
.main{color:var(--ink)}
.page-head{padding-bottom:11px;border-bottom:1px solid #d6e5ec}
.page-head h1{position:relative;display:inline-block}
.page-head h1:after{content:'';display:block;width:46%;height:4px;border-radius:4px;background:linear-gradient(90deg,#00c5b4,#8cece3);margin-top:5px}
.dashboard-banner{position:relative;min-height:142px;overflow:hidden;border-radius:22px;margin:0 0 20px;background:var(--navy);color:#fff;box-shadow:var(--shadow);display:flex;align-items:center}
.dashboard-banner>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 47%;opacity:.45}
.dashboard-banner:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#041d33e8,#062b48b8 65%,#062b4870);pointer-events:none}
.dashboard-banner>div{position:relative;z-index:1;padding:20px 24px}
.dashboard-banner small{color:#8ef4e8;font-size:11px}
.dashboard-banner h2{font-size:21px;margin:3px 0 2px}
.dashboard-banner p{font-size:12px;color:#e4f3f8;margin:0}
.nav button.active{background:linear-gradient(100deg,#00a99e,#0c6276);color:white;box-shadow:inset 0 0 0 1px #6be3d5}
.card-title{border-bottom:1px solid #e7eff3;padding-bottom:10px}
.stat{border-top:3px solid #08bdae}
.quick-primary .service-tile:focus-visible,.quick-primary .service-tile:hover{border-color:#57dacf;box-shadow:0 8px 20px #006a7520}
.quick-primary .service-tile:nth-child(even){background:linear-gradient(140deg,#fff,#edfffd)}
.quick-secondary button:hover,.quick-secondary button:focus-visible{color:#007c82;background:#e8fbf7}
.children .selected{background:linear-gradient(110deg,#00bcae,#007d89);box-shadow:0 3px 8px #007d8925}
@media(max-width:760px){
 .dashboard-banner{min-height:122px;border-radius:18px;margin-bottom:16px}
 .dashboard-banner>div{padding:15px 17px}
 .dashboard-banner h2{font-size:18px}
 .dashboard-banner p{font-size:10px;max-width:82%}
 .page-head{padding-bottom:8px}
 .page-head h1:after{height:3px}
}

/* Date controls and enrollment flow fixes */
.date-picker{margin-top:7px;border:1px solid #d5e2eb;border-radius:13px;padding:9px 11px;background:#f8fbfd}
.date-picker>summary{list-style:none;display:flex;align-items:center;min-height:36px}
.date-picker>summary::-webkit-details-marker{display:none}
.date-picker>summary:after{content:'⌄';margin-right:auto;color:#168c8a;font-size:18px}
.date-picker[open]>summary:after{transform:rotate(180deg)}
.date-picker-controls{display:grid;grid-template-columns:44px minmax(90px,1fr) minmax(110px,1fr) 44px;align-items:end;gap:8px;margin:10px 0}
.date-picker-controls label{display:grid;gap:3px;min-width:0;color:#607487;font-size:11px}
.date-picker-controls select,.date-picker-controls input{width:100%;min-width:0;min-height:42px;padding:7px 9px;border:1px solid #cbdbe5;border-radius:10px;background:#fff;color:#17324e}
.date-picker-controls button{min-width:42px;min-height:42px;padding:6px;font-size:22px}
.date-picker .calendar{grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;margin-top:8px}
.date-picker .calendar button{min-width:0;padding:5px 2px;min-height:40px}
.register-back-button{width:100%;margin:0 0 14px;border:1px solid #cbdbe5;background:#f2f7fb}
.steps{position:sticky;top:-18px;z-index:2;background:#fff;padding:12px 4px}
@media(max-width:430px){.date-picker-controls{grid-template-columns:38px minmax(75px,1fr) minmax(90px,1fr) 38px;gap:5px}.date-picker-controls button{min-width:36px;padding:4px}.date-picker-controls select,.date-picker-controls input{padding:6px;font-size:13px}.date-picker .calendar{gap:3px}.date-picker .calendar button{min-height:38px;padding:4px 0}.steps{gap:8px;font-size:12px}.choice-grid{grid-template-columns:1fr}}
@media(max-width:430px){.form-grid{grid-template-columns:minmax(0,1fr)}.form-grid .field{min-width:0}.field input,.field select,.field textarea{font-size:16px}.form-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.form-actions button{width:100%;min-width:0;padding-inline:8px}.date-picker-controls{grid-template-columns:36px minmax(0,1fr) minmax(0,1fr) 36px}.date-picker .calendar button{min-height:42px}.register-back-button{min-height:46px}.mobile-bottom{padding-bottom:calc(7px + env(safe-area-inset-bottom))}}

/* Drawer groups stay compact; the backdrop receives outside taps. */
.nav-group{border-bottom:1px solid #ffffff20;padding:4px 0}
.nav-group>summary{padding:12px 8px;color:#e0edf7;font-size:13px;font-weight:700;min-height:48px}
.nav-group>button{width:100%}
.menu-scrim{display:none}
.student-mark .fighter-mark{width:100%;height:100%;margin:0}
.student-mark .fighter-mark svg{width:80%;height:80%}
@media(max-width:899px){
 .menu-open{overflow:hidden}
 .sidebar{z-index:50;max-width:calc(100vw - 64px);height:100dvh;overscroll-behavior:contain}
 .sidebar .nav{flex-shrink:0}
 .sidebar .credit{margin-top:16px}
 .menu-scrim:not([hidden]){display:block;position:fixed;inset:0;border-radius:0;background:#09223866;z-index:45;padding:0}
 .hero-copy h1{font-size:22px}
 .hero-underline{margin-bottom:0}
 .featured-tile{flex-wrap:wrap;text-align:center;justify-content:center}
 .featured-tile img{width:100%;height:74px;object-fit:contain}
 .featured-icon{display:none}
 .sports-header .header-brand{min-width:0}
 .sports-header .header-brand span{font-size:15px}
 .form-actions{flex-wrap:wrap}
 .card-title{flex-wrap:wrap}
}

/* Registration and parent verification forms on narrow screens. */
.fr-registration-form{font-family:inherit;text-align:start;line-height:1.65}
.fr-registration-form :is(fieldset,.field,.fr-parent-matches){min-inline-size:0}
.fr-registration-form :is(button,select){min-block-size:44px;font-family:inherit}
.fr-registration-form input[dir=ltr]{direction:ltr;text-align:left}
.fr-parent-review .check{align-items:flex-start;margin-block-start:.85rem}
.fr-parent-matches>div:not([hidden]){padding:.6rem .85rem;margin-block:.65rem;border:1px solid currentColor;border-radius:.65rem;overflow-wrap:anywhere}
.fr-parent-matches ul{padding-inline-start:1.3rem;margin-block:.3rem 0}
.fr-parent-matches p{margin-block:.25rem 0}
.fr-parent-matches [hidden]{display:none!important}
@media(max-width:480px){.fr-registration-form .form-grid{grid-template-columns:minmax(0,1fr)}}
