.student-white{background:var(--surface);color:var(--navy);text-decoration:none}
.cal-ev.ev-forecast{background:var(--lilac)!important;color:var(--navy);outline:1px dashed var(--navy);outline-offset:-2px}
.class-info{position:relative}
.class-info summary{list-style:none;cursor:pointer;width:36px;height:36px;border-radius:50%;display:grid;place-items:center;color:var(--navy);font-size:24px}
.class-info div{position:absolute;right:0;top:40px;z-index:30;min-width:165px;background:var(--surface);color:var(--ink);padding:14px;border-radius:16px;box-shadow:var(--shadow-pop)}
.student-photo{object-fit:cover}
.notice-link{display:flex;flex-direction:column;align-items:flex-start;text-align:left;white-space:normal}
.notice-title{display:block;font-size:13px;font-weight:700;letter-spacing:0;white-space:normal;overflow-wrap:anywhere}
.notice-detail{display:block;font-size:13px;font-weight:400;color:var(--ink-2);margin-top:4px;white-space:normal;overflow-wrap:anywhere}
.notice-link.btn{background:transparent!important;border-radius:0;box-shadow:none!important;padding:0;min-height:0;height:auto;width:100%;color:var(--ink)!important}
.page-head:has(h1[data-greeting])>.grow{display:flex;flex-direction:column;min-width:0}
.page-head h1[data-greeting]{order:-1;letter-spacing:0}
.student-shell:has(h1[data-greeting]) .top-title{display:none!important}
.student-shell .page-head h1.title{display:block!important;overflow-wrap:anywhere;letter-spacing:0}
.student-month-overview{display:flex;align-items:center;justify-content:flex-start;gap:16px 28px;flex-wrap:wrap;margin-bottom:22px}
.student-month-metrics{display:flex;align-items:center;gap:20px;flex-wrap:wrap;color:var(--ink-2)}
.student-month-metrics>span{display:grid;gap:4px;font-size:13px}
.student-month-metrics b{font-size:24px;color:var(--navy)}
.student-month-overview .month-bar{margin:0;flex-wrap:wrap;max-width:100%}
.student-shell .page-head{min-width:0}
@media(max-width:900px){
 .student-shell .page-head{flex-wrap:wrap;gap:16px}
 .student-shell .page-head>.grow{flex-basis:100%}
 .student-shell .page-head>div:not(.grow),.student-shell .page-head>.btn{margin-left:auto;max-width:100%;justify-content:flex-end}
 .student-shell .panel-head .right,.student-shell .portal-actions{margin-left:auto;justify-content:flex-end;flex-wrap:wrap}
 .student-month-overview{flex-direction:column;align-items:stretch}
 .student-month-metrics{display:grid;grid-template-columns:1fr;text-align:center;width:100%}
 .student-month-overview .month-bar{justify-content:flex-start;width:100%}
 .student-shell .lrow{display:grid;grid-template-columns:48px minmax(0,1fr);gap:10px 14px;align-items:center}
 .student-shell .lrow-side{grid-column:2;justify-content:flex-end;min-width:0}
 .student-shell .lrow-side .chip{white-space:normal;text-align:right;max-width:100%;overflow-wrap:anywhere}
 body:has(.student-shell) .modal{width:min(640px,calc(100vw - 24px));max-width:calc(100vw - 24px);min-width:0}
 body:has(.student-shell) .modal :is(.form-grid,.field,.modal-body,.modal-foot){min-width:0;max-width:100%;overflow-wrap:anywhere}
 body:has(.student-shell) .modal :is(input,select,textarea){min-width:0;max-width:100%}
 body:has(.student-shell) .modal :is(.modal-foot,.toolbar){flex-wrap:wrap;justify-content:flex-end;gap:10px}
 body:has(.student-shell) .modal .btn{max-width:100%;white-space:normal;height:auto;min-height:40px}
}
#invoice-year{width:160px;margin-left:auto}
@media(min-width:901px){.student-burger{display:none!important}}
@media(max-width:640px){.inv-sum{flex-wrap:wrap!important}.inv-sum>div{flex-basis:40%!important}}
.student-shell .page-head.stu-classes-head{flex-wrap:nowrap;align-items:center}
.student-shell .page-head.stu-classes-head>.grow{flex:1 1 auto;min-width:0}
.student-shell .page-head.stu-classes-head>.btn{margin-left:auto;flex:none}
.student-shell .lrow{display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:10px 14px;align-items:center;flex-wrap:nowrap}
.student-shell .lrow-side{grid-column:3;flex-wrap:nowrap;justify-content:flex-end;min-width:0}
@media(max-width:900px){
 .student-month-metrics{display:flex!important;flex-direction:row;justify-content:space-between;gap:12px;text-align:center;width:100%}
 .student-shell .lrow{grid-template-columns:48px minmax(0,1fr) auto}
 .student-shell .lrow-side{grid-column:3}
}
@media(max-width:520px){
 .student-shell .lrow-side{flex-wrap:wrap}
}

.student-month-metrics.stu-line{display:flex!important;flex-direction:row!important;flex-wrap:wrap;align-items:center;gap:6px 8px;font-size:13px;color:var(--ink-2);width:auto;text-align:left}
.student-month-metrics.stu-line>span{display:inline;font-size:13px}
.student-month-metrics.stu-line b{font-size:13px;font-weight:600;color:var(--navy)}
.student-month-metrics.stu-line .pink,.student-month-metrics.stu-line .pink b{color:#F21DAE}
.student-month-metrics.stu-line .dot{opacity:.5}
@media(max-width:900px){.student-month-metrics.stu-line{justify-content:flex-start;width:100%}}
