:root{--ds-text:#0f2a3a;--ds-muted:#5b707c;--ds-subtle:#8597a1;--ds-line:#e3ebee;--ds-line-strong:#d2dee2;--ds-bg:#f5f8f9;--ds-surface:#fff;--ds-hover:#f7fafb;--ds-accent:#087d75;--ds-accent-hover:#06665f;--ds-accent-soft:#e6f4f2;--ds-green:#0b7a5c;--ds-green-soft:#e5f5ef;--ds-amber:#94600a;--ds-amber-soft:#fdf3dc;--ds-red:#b4332f;--ds-red-soft:#fdeceb;--ds-blue:#245ba8;--ds-blue-soft:#e9f1fc;--ds-grey:#5f6f78;--ds-grey-soft:#eef2f4;--ds-r-card:14px;--ds-r-control:10px;--ds-focus:0 0 0 3px #087d752e;--ds-shadow-pop:0 12px 32px #082f4924,0 2px 6px #082f490f}.app-shell{background:var(--ds-bg);color:var(--ds-text)}.app-shell .sidebar nav{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#ffffff2e transparent;flex:1;min-height:0;margin-right:-6px;padding-right:6px;overflow-y:auto}.app-shell .sidebar .user-card{flex:none}.app-shell .topbar{border-bottom:1px solid var(--ds-line);background:#fffffff0;height:60px}.app-shell .topbar>div{flex-direction:column;justify-content:center;min-width:0;line-height:1.25;display:flex}.app-shell .topbar small{color:var(--ds-subtle);letter-spacing:0;font-size:12px;font-weight:600}.app-shell .topbar b{color:var(--ds-text);white-space:nowrap;text-overflow:ellipsis;font-size:15px;font-weight:700;overflow:hidden}.app-shell .role-badge{letter-spacing:.02em;background:var(--ds-accent-soft);color:var(--ds-accent);border-radius:999px;margin-left:auto;padding:4px 10px;font-size:11.5px;font-weight:700}@media (min-width:821px){.app-shell .topbar>div{flex-direction:row;align-items:baseline;gap:8px}.app-shell .topbar small:after{content:"/";color:var(--ds-line-strong);margin-left:8px}.app-shell .topbar b{color:var(--ds-muted);font-size:13.5px;font-weight:600}}.app-shell .app-content{max-width:1320px;padding-top:28px}@media (min-width:821px){.app-shell .app-content{padding-left:max(32px,env(safe-area-inset-left));padding-right:max(32px,env(safe-area-inset-right))}}.app-shell h1,.app-shell h2,.app-shell h3{color:var(--ds-text);letter-spacing:-.025em}.app-shell .page-head{align-items:flex-end;gap:16px;margin-bottom:20px}.app-shell .head-actions{flex-wrap:wrap;justify-content:flex-end;min-width:0}.app-shell .page-head h1{font-size:28px;font-weight:800;line-height:1.15}.app-shell .page-head p{color:var(--ds-muted);max-width:62ch;margin:6px 0 0;font-size:14px}.app-shell .panel h2,.app-shell .card-head h2{font-size:18px;font-weight:750}.app-shell .muted{color:var(--ds-muted)}.app-shell .panel{background:var(--ds-surface);border:1px solid var(--ds-line);border-radius:var(--ds-r-card);box-shadow:none}.app-shell .class-card{border-top:1px solid var(--ds-line)}.app-shell .button{border-radius:var(--ds-r-control);min-height:40px;box-shadow:none;padding:9px 16px;font-size:14px;font-weight:650;line-height:1.2}.app-shell .button.primary{background:var(--ds-accent);color:#fff;box-shadow:0 1px 2px #082f491f}.app-shell .button.primary:hover{background:var(--ds-accent-hover);transform:none}.app-shell .button.secondary{color:var(--ds-text);border:1px solid var(--ds-line-strong);background:#fff}.app-shell .button.secondary:hover{background:var(--ds-hover);border-color:#c3d3d8}.app-shell .button:focus-visible,.app-shell .row-actions button:focus-visible,.app-shell .row-more summary:focus-visible{box-shadow:var(--ds-focus);outline:0}.app-shell .danger-button{color:var(--ds-red);background:#fff;border:1px solid #f1c9c6}.app-shell .danger-button:hover{background:var(--ds-red-soft)}.app-shell .icon-button{border-color:var(--ds-line-strong);border-radius:var(--ds-r-control)}.app-shell .row-actions{flex-wrap:wrap;align-items:center;gap:6px}.app-shell .panel table .row-actions{flex-wrap:nowrap}.app-shell .row-actions button,.app-shell .row-actions a.small-link{border:1px solid var(--ds-line-strong);height:32px;color:var(--ds-text);white-space:nowrap;background:#fff;border-radius:8px;align-items:center;gap:6px;padding:0 11px;font-size:13px;font-weight:600;display:inline-flex}.app-shell .row-actions button:hover{background:var(--ds-hover);border-color:#c3d3d8}.app-shell .row-actions button.danger{color:var(--ds-red);background:#fff;border-color:#0000}.app-shell .row-actions button.danger:hover{background:var(--ds-red-soft)}.app-shell .row-actions button.primary-action{background:var(--ds-accent);border-color:var(--ds-accent);color:#fff}.app-shell .row-actions button.primary-action:hover{background:var(--ds-accent-hover)}.app-shell .row-more{position:relative}.app-shell .row-more summary{border:1px solid var(--ds-line-strong);width:34px;height:32px;color:var(--ds-muted);cursor:pointer;background:#fff;border-radius:8px;place-items:center;list-style:none;display:grid}.app-shell .row-more summary::-webkit-details-marker{display:none}.app-shell .row-more summary:hover,.app-shell .row-more[open] summary{background:var(--ds-hover);color:var(--ds-text)}.app-shell .row-more-menu{z-index:40;border:1px solid var(--ds-line);min-width:184px;box-shadow:var(--ds-shadow-pop);background:#fff;border-radius:12px;gap:2px;padding:6px;display:grid;position:absolute;top:calc(100% + 6px);right:0}.app-shell .row-more:not([open]) .row-more-menu{display:none}.app-shell .row-more-menu button,.app-shell .row-more-menu a{all:unset;box-sizing:border-box;color:var(--ds-text);cursor:pointer;white-space:nowrap;border-radius:8px;align-items:center;gap:8px;padding:9px 10px;font-size:13.5px;font-weight:550;display:flex}.app-shell .row-more-menu button:hover,.app-shell .row-more-menu a:hover,.app-shell .row-more-menu button:focus-visible,.app-shell .row-more-menu a:focus-visible{background:var(--ds-hover)}.app-shell .row-more-menu .danger{color:var(--ds-red)}.app-shell .row-more-menu .danger:hover{background:var(--ds-red-soft)}.app-shell .row-more-menu hr{border:0;border-top:1px solid var(--ds-line);margin:4px 2px}.app-shell .status{background:var(--ds-grey-soft);color:var(--ds-grey);border-radius:999px;gap:6px;padding:3px 9px 3px 8px;font-size:12px;font-weight:650;line-height:1.5}.app-shell .status:before{content:"";background:currentColor;border-radius:50%;flex:none;width:6px;height:6px}.app-shell .status.active,.app-shell .status.present,.app-shell .status.completed,.app-shell .status.paid{background:var(--ds-green-soft);color:var(--ds-green)}.app-shell .status.partial,.app-shell .status.late,.app-shell .status.unconfirmed,.app-shell .status.needs-attendance,.app-shell .status.due-soon{background:var(--ds-amber-soft);color:var(--ds-amber)}.app-shell .status.overdue,.app-shell .status.absent{background:var(--ds-red-soft);color:var(--ds-red)}.app-shell .status.scheduled,.app-shell .status.unpaid,.app-shell .status.replacement{background:var(--ds-blue-soft);color:var(--ds-blue)}.app-shell .status.inactive,.app-shell .status.cancelled,.app-shell .status.cancelled_invoice,.app-shell .status.draft,.app-shell .status.excused,.app-shell .status.postponed{background:var(--ds-grey-soft);color:var(--ds-grey)}.app-shell .status.group,.app-shell .status.individual{color:var(--ds-muted);border:1px solid var(--ds-line-strong);background:#fff}.app-shell .status.group:before,.app-shell .status.individual:before{content:none}.app-shell .panel table th{color:var(--ds-subtle);letter-spacing:.04em;border-bottom:1px solid var(--ds-line);white-space:nowrap;background:#fafcfc;padding:11px 16px;font-size:11.5px;font-weight:700}.app-shell .panel table td{color:var(--ds-text);border-top:1px solid #edf2f4;padding:12px 16px;font-size:14px}.app-shell .panel table tbody tr:first-child td{border-top:0}.app-shell .panel table tbody tr:hover td{background:var(--ds-hover)}.app-shell .panel table td b{font-weight:650}.app-shell .panel table td small{color:var(--ds-muted);font-size:12.5px}.app-shell .panel table tfoot td{color:var(--ds-muted);background:#fafcfc;font-size:13px}.app-shell .panel table td.num,.app-shell .panel table th.num{text-align:right;font-variant-numeric:tabular-nums}.app-shell .panel table td.actions-cell{text-align:right;white-space:nowrap;width:1%}.app-shell .panel table td.actions-cell .row-actions{justify-content:flex-end}.app-shell .panel table th.actions-cell{text-align:right}.app-shell .table-scroll{position:relative;overflow-x:auto}@media (max-width:600px),(min-width:1120px){.app-shell .table-scroll:has(.row-more[open]){overflow:visible}}.app-shell .search{border-color:var(--ds-line-strong);border-radius:var(--ds-r-control);height:40px}.app-shell .search:focus-within{border-color:var(--ds-accent);box-shadow:var(--ds-focus)}.app-shell .search svg{width:17px;color:var(--ds-subtle)}.app-shell .page-head select,.app-shell .head-actions>select{border-color:var(--ds-line-strong);border-radius:var(--ds-r-control);min-height:40px;font-size:14px}.app-shell .form-grid label{color:var(--ds-text);font-size:13px;font-weight:650}.app-shell .form-grid label>small{color:var(--ds-muted);font-size:12px;font-weight:450}.app-shell .form-grid input:not([type=checkbox]):not([type=radio]),.app-shell .form-grid select,.app-shell .form-grid textarea{border-color:var(--ds-line-strong);min-height:42px;font-size:14.5px}.app-shell .form-grid input:not([type=checkbox]):not([type=radio]):focus,.app-shell .form-grid select:focus,.app-shell .form-grid textarea:focus{border-color:var(--ds-accent);box-shadow:var(--ds-focus)}.app-shell .form-error{font-size:13.5px}.app-shell .modal{border-radius:16px;box-shadow:0 30px 80px #082f4938}.app-shell .modal>header{z-index:2;border-bottom:1px solid var(--ds-line);background:#fff;padding:16px 22px;position:sticky;top:0}.app-shell .modal>header h2{font-size:18px}.app-shell .modal .form-actions{border-top:1px solid var(--ds-line);background:#fff;justify-content:flex-end;gap:10px;margin:4px -22px -23px;padding:14px 22px;display:flex;position:sticky;bottom:0}.app-shell .toast{background:var(--ds-text);border-radius:12px;padding:12px 16px;font-size:13.5px;font-weight:600}.app-shell .skeletons i{border-radius:12px;height:56px}.app-shell .skeletons i:first-child{width:40%;height:44px}.app-shell .state{border:1px dashed var(--ds-line-strong);border-radius:var(--ds-r-card);background:#fff;gap:6px;min-height:260px;padding:32px 20px}.app-shell .state>svg{width:28px;height:28px;color:var(--ds-accent);margin-bottom:6px}.app-shell .state b{color:var(--ds-text);font-size:16px}.app-shell .state span{color:var(--ds-muted);max-width:46ch;font-size:14px}.app-shell .state .button{margin-top:10px}.app-shell .state.error{border-style:solid;border-color:#f1c9c6}.app-shell .state.error>svg{color:var(--ds-red)}.app-shell .app-content>.plan-notice{border-radius:12px;gap:12px 16px;margin-bottom:12px;padding:11px 14px 11px 16px}.app-shell .app-content>.plan-notice b{font-size:13.5px}.app-shell .app-content>.plan-notice span{margin-top:1px;font-size:13px;line-height:1.45}.app-shell .app-content>.plan-notice .button{min-height:34px;padding:6px 12px;font-size:13px}@media (max-width:600px){.app-shell .app-content>.plan-notice .button{width:auto}}@media (max-width:820px){.app-shell .topbar{height:calc(56px + env(safe-area-inset-top))}.app-shell .app-content{padding-top:18px}.app-shell .page-head{align-items:stretch;gap:12px;margin-bottom:16px}.app-shell .page-head h1{font-size:24px}.app-shell .page-head p{font-size:13.5px}.app-shell .head-actions{gap:8px}.app-shell .head-actions .button.primary{order:-1}}.app-shell .panel-title{border-bottom:1px solid var(--ds-line);align-items:center;padding:18px 20px 14px}.app-shell .panel-title h2{font-size:17px}.app-shell .panel-title p{color:var(--ds-muted);margin:3px 0 0;font-size:12.5px}.app-shell .panel-title .text-link{font-size:13.5px}.app-shell .list{padding:4px 20px 8px}.app-shell .list-row{color:inherit;border-bottom:1px solid #edf2f4;gap:14px;padding:12px 0}.app-shell a.list-row:hover .grow b{color:var(--ds-accent)}.app-shell .list-row>i{width:4px;height:34px}.app-shell .date-box b,.app-shell .grow b{font-size:14px;font-weight:650}.app-shell .date-box small,.app-shell .grow small{margin-top:2px;font-size:12.5px}.app-shell .list-row>svg{color:var(--ds-subtle);width:18px}.app-shell .state.compact{border:0;min-height:0;padding:28px 20px}.app-shell .state.compact .button{margin-top:8px}.app-shell .dash-attention{margin-bottom:16px;padding:18px 20px}.app-shell .dash-attention h2{margin-bottom:10px;font-size:15px;font-weight:750}.app-shell .dash-attention ul{gap:8px;margin:0;padding:0;list-style:none;display:grid}.app-shell .dash-attention li a{border:1px solid var(--ds-line);color:inherit;border-radius:12px;grid-template-columns:auto 1fr auto;align-items:center;gap:14px;padding:12px 14px;display:grid}.app-shell .dash-attention li a:hover{border-color:var(--ds-line-strong);background:var(--ds-hover)}.app-shell .dash-attention li b{font-size:14.5px;font-weight:650;display:block}.app-shell .dash-attention li small{color:var(--ds-muted);margin-top:1px;font-size:12.5px;display:block}.app-shell .attention-icon{border-radius:10px;place-items:center;width:36px;height:36px;display:grid}.app-shell .attention-icon.amber{background:var(--ds-amber-soft);color:var(--ds-amber)}.app-shell .attention-icon.red{background:var(--ds-red-soft);color:var(--ds-red)}.app-shell .attention-icon.blue{background:var(--ds-blue-soft);color:var(--ds-blue)}.app-shell .attention-go{color:var(--ds-accent);white-space:nowrap;align-items:center;gap:6px;font-size:13.5px;font-weight:650;display:inline-flex}.app-shell .attention-clear{color:var(--ds-green);align-items:center;gap:10px;margin:0;font-size:14px;display:flex}.app-shell .kpi-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px;display:grid}.app-shell .kpi{border:1px solid var(--ds-line);border-radius:var(--ds-r-card);background:#fff;align-content:start;gap:4px;min-width:0;padding:16px 18px;display:grid}.app-shell .kpi small{color:var(--ds-muted);font-size:12.5px;font-weight:650}.app-shell .kpi b{font:800 24px var(--font-display),sans-serif;letter-spacing:-.02em;color:var(--ds-text);font-variant-numeric:tabular-nums;line-height:1.25}.app-shell .kpi b.owing{color:var(--ds-red)}.app-shell .kpi span{color:var(--ds-muted);overflow-wrap:anywhere;font-size:12.5px;line-height:1.45}.app-shell .kpi .text-link{font-size:12.5px}.app-shell .dash-columns{grid-template-columns:minmax(0,1fr) 300px;align-items:start;gap:16px;margin-bottom:16px;display:grid}.app-shell .dash-columns>.dash-upcoming:only-child{grid-column:1/-1}.app-shell .plan-mini{gap:4px;padding:18px 20px;display:grid}.app-shell .plan-mini small{color:var(--ds-subtle);text-transform:uppercase;letter-spacing:.05em;font-size:12px;font-weight:700}.app-shell .plan-mini b{font-size:17px;font-weight:750}.app-shell .plan-mini span{color:var(--ds-muted);font-size:13px}.app-shell .plan-mini .button{justify-self:start;margin-top:10px}.app-shell .plan-meter{background:var(--ds-grey-soft);border-radius:99px;height:6px;margin-top:8px;display:block;overflow:hidden}.app-shell .plan-meter>i{background:var(--ds-accent);border-radius:99px;height:100%;display:block}@media (max-width:1100px){.app-shell .kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.app-shell .dash-columns{grid-template-columns:1fr}}@media (max-width:600px){.app-shell .dash-attention{padding:16px}.app-shell .dash-attention li a{grid-template-columns:auto 1fr;gap:12px}.app-shell .attention-go{grid-column:2;font-size:13px}.app-shell .kpi{padding:14px}.app-shell .kpi b{font-size:20px}.app-shell .list{padding:2px 16px 6px}.app-shell .panel-title{padding:16px}}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;position:absolute!important}.app-shell .panel table td.table-count{color:var(--ds-muted);padding:12px 16px;font-size:13px;font-weight:500}@media (max-width:600px){.app-shell table:has(td[data-label]) tbody tr{border-color:var(--ds-line);border-radius:12px;margin-bottom:8px;padding:14px 14px 12px}.app-shell table:has(td[data-label]) tbody tr:after{content:none}.app-shell .panel table:has(td[data-label]) tbody tr:hover td{background:0 0}.app-shell .panel table:has(td[data-label]) td{color:var(--ds-text);border:0;padding:3px 0;font-size:13.5px}.app-shell table:has(td[data-label]) td:before{text-transform:none;letter-spacing:0;color:var(--ds-muted);font-size:12.5px;font-weight:550}.app-shell table:has(td[data-label]) td:first-child:not(.row-no){padding:0 96px 8px 0}.app-shell table:has(td[data-label]) td.row-no+td{padding:0 96px 8px 0}.app-shell table:has(td[data-label]) td:first-child:not(.row-no) b{font-size:15.5px;font-weight:700}.app-shell table:has(td[data-label]) td.row-no+td b{font-size:15.5px;font-weight:700}.app-shell table:has(td[data-label]) td:has(>.status:only-child){padding:0;display:block;position:absolute;top:12px;right:12px}.app-shell table:has(td[data-label]) td:has(>.status:only-child):before{content:none}.app-shell table:has(td[data-label]) td.actions-cell{border-top:1px solid #edf2f4;margin-top:8px;padding:10px 0 0;display:block}.app-shell table:has(td[data-label]) td:has(>.row-actions){border-top:1px solid #edf2f4;margin-top:8px;padding:10px 0 0;display:block}.app-shell table:has(td[data-label]) td.actions-cell:before{content:none}.app-shell table:has(td[data-label]) td:has(>.row-actions):before{content:none}.app-shell table:has(td[data-label]) td .row-actions{flex-wrap:wrap;justify-content:flex-start;margin:0}.app-shell table:has(td[data-label]) td .row-more{margin-left:auto}.app-shell table:has(td[data-label]) td .row-more-menu{right:0}.app-shell table:has(td[data-label]) tfoot tr{padding:10px 4px}.app-shell .panel.table-scroll:has(td[data-label]){background:0 0;border:0}}.app-shell .row-actions a.row-action-link{border:1px solid var(--ds-line-strong);height:32px;color:var(--ds-text);white-space:nowrap;background:#fff;border-radius:8px;align-items:center;padding:0 11px;font-size:13px;font-weight:600;display:inline-flex}.app-shell .row-actions a.row-action-link:hover{background:var(--ds-hover)}.app-shell .panel table td small.due-late{color:var(--ds-red);font-weight:600}.app-shell .panel table td b.owing{color:var(--ds-red)}.app-shell .panel table td b.to-mark{color:var(--ds-amber);font-weight:650}@media (min-width:601px){.app-shell .panel table tr.needs-marking td:first-child{box-shadow:inset 3px 0 #e7b35c}}.app-shell .settings-nav-row>svg:first-child{background:var(--ds-accent-soft);width:38px;height:38px;color:var(--ds-accent);border-radius:10px;padding:9px}.app-shell .settings-nav-row{padding:14px 18px}.app-shell .settings-nav-text b{font-size:14.5px}.app-shell .settings-nav-text small{color:var(--ds-muted);font-size:12.5px}.app-shell .settings-grid{align-items:start;gap:16px}.app-shell .day-group .card-grid,.app-shell .card-grid{grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:14px}.app-shell .entity-card.class-card{border-radius:var(--ds-r-card);border-top-width:3px}.app-shell .entity-card h2{font-size:17px}.app-shell .entity-card dl dt{color:var(--ds-muted);font-size:12px}.app-shell .entity-card dl dd{font-size:13.5px}.app-shell .chips span{background:var(--ds-grey-soft);color:var(--ds-text);font-size:12px;font-weight:600}.app-shell .attendance-hint{color:var(--ds-muted);font-size:13.5px}.app-shell .import-panel{margin-top:16px}.app-shell .attendance-total{font-variant-numeric:tabular-nums}.app-shell .panel-title{justify-content:space-between;align-items:center;gap:16px;display:flex}.app-shell .panel table td:is([data-label=Date],[data-label=Due\ date],[data-label=Tarikh],[data-label="Tarikh Akhir Bayaran"]){white-space:nowrap}.app-shell .panel table td small.due-soon{color:var(--ds-amber);font-weight:600}@media (max-width:600px){.app-shell .panel table:has(td[data-label]) td.actions-cell{text-align:left;white-space:normal;width:auto}.app-shell table:has(td[data-label]) td.actions-cell>.row-actions{justify-self:stretch;width:100%}.app-shell .panel table td:is([data-label=Date],[data-label=Due\ date],[data-label=Tarikh],[data-label="Tarikh Akhir Bayaran"]){white-space:normal}}.app-shell .form-grid input:not([type=checkbox]):not([type=radio]),.app-shell .form-grid select,.app-shell .form-grid textarea{font-weight:450}@media (max-width:600px){.app-shell table:has(td[data-label]) tbody tr{flex-wrap:wrap;align-items:baseline;gap:2px 14px;display:flex}.app-shell table:has(td[data-label]) tbody tr>td{text-align:left;flex:none;align-items:baseline;gap:5px;max-width:100%;padding:2px 0;display:inline-flex}.app-shell table:has(td[data-label]) tbody tr>td:before{grid-row:auto}.app-shell table:has(td[data-label]) tbody tr>td>*{justify-self:auto}.app-shell table:has(td[data-label]) td:first-child:not(.row-no){flex-basis:100%;padding:0 96px 6px 0;display:block}.app-shell table:has(td[data-label]) td.row-no+td{flex-basis:100%;padding:0 96px 6px 0;display:block}.app-shell table:has(td[data-label]) td.actions-cell{flex-basis:100%;display:block}.app-shell table:has(td[data-label]) td:has(>.row-actions){flex-basis:100%;display:block}.app-shell table:has(td[data-label]) td.row-no{display:none}}.app-shell .toast{pointer-events:none;max-width:min(560px,100vw - 32px);left:50%;right:auto;transform:translate(-50%)}@media (min-width:821px){.app-shell .toast{left:calc(50% + 126px)}}@media (max-width:820px){.app-shell .page-head .search{align-self:stretch;width:100%;min-width:0}}.app-shell input[type=checkbox],.app-shell input[type=radio]{width:18px;min-width:0;height:18px;min-height:0;accent-color:var(--ds-accent);box-shadow:none;flex:none;margin:0;padding:0}.app-shell .checkbox-row{color:var(--ds-text);align-items:flex-start;gap:10px;font-size:14px;font-weight:600}.app-shell .checkbox-row input{margin-top:2px}.app-shell .checkbox-row small{font-size:12.5px}.app-shell .checkbox-row{flex-wrap:wrap;row-gap:2px}.app-shell .checkbox-row>small{flex:1 0 100%;margin-top:0;padding-left:28px}.app-shell .list-row{align-items:center;gap:14px;display:flex}.app-shell .list-row>.date-box{flex:0 0 96px;min-width:0}.app-shell .list-row>i{flex:none}.app-shell .list-row>.grow{overflow-wrap:anywhere;flex:auto;min-width:0}.app-shell .list-row>svg,.app-shell .list-row>button,.app-shell .list-row>.row-actions,.app-shell .list-row>.button{flex:none}.app-shell .list-row>svg:first-child{width:20px;height:20px;color:var(--ds-amber);align-self:flex-start;margin-top:2px}@media (max-width:600px){.app-shell .list-row>.date-box{flex-basis:80px}.app-shell .list-row>svg:first-child{display:block}}.app-shell .card-grid>*{min-width:0}.app-shell .entity-card.class-card{flex-direction:column;display:flex}.app-shell .entity-card.class-card>.row-actions{margin-top:auto;padding-top:14px}.app-shell .class-tutor{letter-spacing:.04em;color:var(--ds-muted);margin-top:14px;padding-top:14px;font-size:12px}.app-shell .class-tutor select{border-color:var(--ds-line-strong);border-radius:var(--ds-r-control);text-overflow:ellipsis;width:100%;min-width:0;max-width:100%;min-height:40px;font-size:14px;font-weight:550}.app-shell .conflict-panel{background:#fffaf0;border-color:#f0dcae;margin:0 0 16px;padding:0}.app-shell .conflict-panel>summary{cursor:pointer;align-items:center;gap:12px;padding:14px 18px;list-style:none;display:flex}.app-shell .conflict-panel>summary::-webkit-details-marker{display:none}.app-shell .conflict-panel>summary>svg{color:var(--ds-amber);flex:none}.app-shell .conflict-panel>summary h2{margin:0;font-size:15px}.app-shell .conflict-panel>summary p{color:var(--ds-muted);margin:2px 0 0;font-size:13px}.app-shell .conflict-panel>summary .conflict-toggle{color:var(--ds-accent);white-space:nowrap;margin-left:auto;font-size:13px;font-weight:650}.app-shell .conflict-panel .list{border-top:1px solid #f0dcae;max-height:360px;padding:2px 18px 8px;overflow:auto}.app-shell .review-panel .stars{gap:2px;display:inline-flex}.app-shell .review-panel .stars svg{width:15px;height:15px}.app-shell .review-score{justify-items:end;gap:2px;display:grid}.app-shell .review-score b{font-size:26px}.app-shell .review-tutors{margin:12px 20px 4px}.app-shell .review-tutors>div{gap:10px}.app-shell .review-tutors>div>b{font-variant-numeric:tabular-nums;text-align:right;min-width:2.2em}.app-shell .review-row .grow{gap:4px;display:grid}.app-shell .review-row .review-comment{margin:0;font-size:14px;font-weight:550;line-height:1.5}.app-shell .plan-current{gap:16px;margin-bottom:16px;padding:20px 22px;display:grid}.app-shell .plan-current-head{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.app-shell .plan-current-head>svg{background:var(--ds-accent-soft);width:38px;height:38px;color:var(--ds-accent);border-radius:10px;flex:none;padding:9px}.app-shell .plan-current-head small{color:var(--ds-subtle);font-size:12px;font-weight:650}.app-shell .plan-current-head h2{margin:2px 0 0;font-size:20px}.app-shell .plan-current-price{align-items:baseline;gap:4px;margin-left:auto;display:flex}.app-shell .plan-current-price b{font-variant-numeric:tabular-nums;font-size:22px;font-weight:750}.app-shell .plan-current-price small{color:var(--ds-muted);font-size:13px}.app-shell .plan-facts{border-block:1px solid var(--ds-line);grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px 24px;margin:0;padding:14px 0;display:grid}.app-shell .plan-facts div{gap:2px;display:grid}.app-shell .plan-facts dt{color:var(--ds-subtle);font-size:12px;font-weight:650}.app-shell .plan-facts dd{margin:0;font-size:14px;font-weight:600}.app-shell .usage-grid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px 24px;display:grid}.app-shell .usage-head{color:var(--ds-muted);justify-content:space-between;gap:10px;font-size:13px;display:flex}.app-shell .usage-head b{color:var(--ds-text);font-variant-numeric:tabular-nums;font-weight:650}.app-shell .usage.near .plan-meter>i{background:var(--ds-amber)}.app-shell .usage.full .plan-meter>i{background:var(--ds-red)}.app-shell .plan-included b{font-size:13px}.app-shell .plan-included ul{grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:6px 20px;margin:8px 0 0;padding:0;list-style:none;display:grid}.app-shell .plan-included li,.app-shell .plan-column li{align-items:flex-start;gap:8px;font-size:13.5px;line-height:1.4;display:flex}.app-shell .plan-included svg,.app-shell .plan-column li svg{color:var(--ds-green);flex:none;margin-top:2px}.app-shell .plan-compare{margin-bottom:16px;padding:20px 22px}.app-shell .plan-compare .panel-title{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:16px;padding:0;display:flex}.app-shell .segmented{background:var(--ds-grey-soft);border-radius:10px;padding:3px;display:inline-flex}.app-shell .segmented button{color:var(--ds-muted);cursor:pointer;background:0 0;border:0;border-radius:8px;padding:6px 14px;font-size:13px;font-weight:650}.app-shell .segmented button.on{color:var(--ds-text);background:#fff;box-shadow:0 1px 2px #082f491f}.app-shell .plan-columns{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.app-shell .plan-column{border:1px solid var(--ds-line);border-radius:12px;flex-direction:column;gap:10px;min-width:0;padding:16px;display:flex}.app-shell .plan-column.current{border-color:var(--ds-accent);box-shadow:inset 0 0 0 1px var(--ds-accent)}.app-shell .plan-column header{justify-content:space-between;align-items:center;gap:8px;display:flex}.app-shell .plan-column h3{margin:0;font-size:17px}.app-shell .plan-price{flex-wrap:wrap;align-items:baseline;gap:4px;margin:0;display:flex}.app-shell .plan-price b{font-variant-numeric:tabular-nums;font-size:22px;font-weight:750}.app-shell .plan-price small{color:var(--ds-muted);font-size:13px}.app-shell .plan-price-note{min-height:18px;color:var(--ds-muted);margin:-6px 0 0;font-size:12.5px}.app-shell .plan-column ul{border-top:1px solid var(--ds-line);flex:1;gap:7px;margin:0;padding:10px 0 0;list-style:none;display:grid}.app-shell .plan-column li.no{color:var(--ds-subtle)}.app-shell .plan-column li.no svg{color:var(--ds-line-strong)}.app-shell .plan-cta{gap:8px;margin-top:4px;display:grid}.app-shell .plan-cta .button{justify-content:center;width:100%}.app-shell .plan-cta-note{color:var(--ds-muted);text-align:center;padding:9px 0;font-size:12.5px}.app-shell .plan-foot{margin:14px 0 0;font-size:13px}.app-shell .plan-how{margin-bottom:16px;padding:20px 22px}.app-shell .plan-how h2{margin:0 0 10px;font-size:17px}.app-shell .plan-how ul{color:var(--ds-muted);gap:8px;margin:0;padding-left:18px;font-size:14px;line-height:1.5;display:grid}.app-shell .plan-how b{color:var(--ds-text)}@media (max-width:1100px){.app-shell .plan-columns{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:600px){.app-shell .plan-columns{grid-template-columns:1fr}.app-shell .plan-current,.app-shell .plan-compare,.app-shell .plan-how{padding:16px}.app-shell .plan-current-price{width:100%;margin-left:0}}.app-shell .integration-alert.info{background:var(--ds-blue-soft);color:var(--ds-text);border:1px solid #cfe0f6;font-size:13.5px;font-weight:500;line-height:1.5}.app-shell .integration-alert.info b{font-weight:700}.app-shell .usage:not(.near):not(.full) .plan-meter>i{background:var(--ds-accent)}.app-shell .back-link{color:var(--ds-muted);align-items:center;gap:4px;margin-bottom:10px;font-size:13px;font-weight:600;display:inline-flex}.app-shell .profile-sections{scrollbar-width:none;gap:6px;margin:-8px 0 16px;padding-bottom:4px;display:flex;overflow-x:auto}.app-shell .profile-sections a{border:1px solid var(--ds-line);color:var(--ds-text);white-space:nowrap;background:#fff;border-radius:999px;flex:none;padding:6px 12px;font-size:13px;font-weight:600}.app-shell .profile-overview,.app-shell .profile-panel{scroll-margin-top:76px}.app-shell .profile-panel{margin-bottom:16px}.app-shell .profile-panel .panel-title{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.app-shell .profile-panel .panel-title a{font-size:13px;font-weight:600}.app-shell .profile-panel>.muted,.app-shell .profile-panel>.table-count,.app-shell .profile-panel>h3{margin:0;padding:14px 20px;font-size:13.5px}.app-shell .profile-list{margin:0;padding:0;list-style:none}.app-shell .profile-list li{border-top:1px solid #edf2f4;justify-content:space-between;align-items:flex-start;gap:12px;padding:12px 20px;display:flex}.app-shell .profile-list li:first-child{border-top:0}.app-shell .profile-list li>div{min-width:0}.app-shell .profile-list small{color:var(--ds-muted);overflow-wrap:anywhere;margin-top:2px;font-size:12.5px;display:block}.app-shell .profile-list b+small{margin-left:6px;display:inline}.app-shell .profile-list p{white-space:pre-line;overflow-wrap:anywhere;margin:6px 0 0;font-size:14px}@media (max-width:420px){.app-shell .profile-overview{grid-template-columns:1fr}}.app-shell .form-grid>.full.form-note{grid-column:1/-1}.app-shell .profile-row-end{flex:none;align-items:center;gap:8px;display:flex}.app-shell .billing-history{border-top:1px solid var(--ds-line);padding:12px 22px 18px}.app-shell .billing-history h3{margin:0 0 4px;font-size:14px}.app-shell .billing-history .profile-list li{padding:8px 0}.app-shell .form-grid>small.full{grid-column:1/-1}@media (min-width:601px){.app-shell .attendance-row:has(>select+input+select){grid-template-columns:1.1fr .8fr 1.3fr .9fr}}.app-shell .family-invoices{margin-bottom:16px}.app-shell .family-invoices .panel-title{border-bottom:0;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.app-shell .invoice-records{margin-bottom:16px;padding:12px 16px}.app-shell .record-filters{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.app-shell .record-filters select{min-width:0;max-width:220px}.app-shell .record-groups{gap:8px;margin:12px 0 0;padding:0 0 4px;list-style:none;display:flex;overflow-x:auto}.app-shell .record-groups button{text-align:left;border:1px solid var(--ds-line);cursor:pointer;min-width:150px;color:var(--ds-text);background:#fff;border-radius:12px;gap:2px;padding:10px 12px;display:grid}.app-shell .record-groups button.on{border-color:var(--ds-accent,#0f766e);box-shadow:0 0 0 1px var(--ds-accent,#0f766e) inset}.app-shell .record-groups b{font-size:13px}.app-shell .record-groups span{font-variant-numeric:tabular-nums;font-weight:750}.app-shell .record-groups small{color:var(--ds-muted);font-size:12px}@media (max-width:600px){.app-shell .record-filters select{flex:45%;max-width:none}}.app-shell .schedule-preview{background:var(--ds-grey-soft,#f1f5f6);border-radius:10px;grid-column:1/-1;gap:4px;padding:10px 12px;font-size:13px;display:grid}.app-shell .schedule-preview b{font-size:12.5px}.app-shell .schedule-preview .lesson-past{color:var(--muted)}.app-shell .schedule-preview small{color:var(--muted);font-size:12px;line-height:1.45}.app-shell .schedule-preview label.check{gap:8px;margin-top:4px;font-weight:600}.app-shell .moved-from{color:var(--ds-muted);margin-top:3px;font-size:11.5px;display:block}.app-shell .scope-choice{border:0;gap:4px;margin:0;padding:0;display:grid}.app-shell .scope-choice legend{color:var(--ds-muted);margin-bottom:4px;font-size:12px;font-weight:700}.upload-status{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.upload-status progress{min-width:120px;height:8px;accent-color:var(--ds-teal,#0f766e);flex:1}.upload-status.failed small{color:var(--ds-danger,#b42318)}.upload-status.done small{color:var(--ds-teal-dark,#0f766e)}.file-chosen{align-items:center;gap:8px;min-width:0;margin-top:6px;font-size:13px;display:flex}.file-chosen span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.file-chosen .icon-button{width:30px;height:30px}.note-files{border:1px solid var(--line);border-radius:12px;gap:10px;padding:12px;display:grid}.note-files legend{padding:0 6px;font-weight:700}.note-file-links{flex-wrap:wrap;gap:6px 12px;display:flex}.note-file-links a{overflow-wrap:anywhere;text-decoration:underline}.form-grid>.upload-status,.form-grid>.note-files,.form-grid>p.full{grid-column:1/-1}.reminder-channels{border:1px solid var(--line);border-radius:12px;gap:10px;margin:10px 0;padding:12px;display:grid}.reminder-channels legend{padding:0 6px;font-weight:700}.parent-push{justify-items:start;gap:6px;display:grid}.parent-push small{overflow-wrap:anywhere}.profile-gaps{border-left:4px solid var(--ds-amber,#b7791f);gap:6px;padding:14px 16px;display:grid}.profile-gaps ul{gap:4px;margin:0;padding-left:18px;display:grid}.profile-gaps a{text-decoration:underline}.feedback-more summary{cursor:pointer;padding:6px 0;font-weight:600}.feedback-more summary small{color:var(--muted);font-weight:400}.feedback-more[open] summary{margin-bottom:10px}
