/* Landing shell only. Product control declarations remain in scoped Product CSS. */
.x-g .pf-intro h1 strong,.x-g .pf-intro h1 em{display:block}.x-g .pf-intro h1{font-size:clamp(27px,3.1vw,44px);line-height:1.5;letter-spacing:0}.x-g .pf-intro h1 em{font-size:.82em;font-weight:500;color:var(--text-2)}.pf-exploration{margin-top:32px}.pf-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:18px}.pf-heading h2{font-size:20px}.pf-heading p{font-size:12px;color:var(--text-2)}.pf-workbench{display:grid;grid-template-columns:250px minmax(0,1fr);gap:8px 22px;align-items:stretch}.pf-tool{display:contents}.pf-choice{grid-column:1;display:flex;align-items:center;gap:12px;text-align:start;border:1px solid var(--border);border-radius:12px;padding:13px;background:var(--bg-elev);color:var(--text);cursor:pointer;min-height:78px;width:100%}.pf-choice>span:nth-child(2){flex:1;min-width:0}.pf-choice strong,.pf-choice small{display:block}.pf-choice strong{font-size:15px;font-weight:600}.pf-choice small{font-size:11px;line-height:1.7;color:var(--text-2);margin-top:3px}.pf-number{display:grid;place-items:center;width:26px;height:26px;flex:none;border-radius:8px;background:var(--bg-sunk);color:var(--text-2);font-size:12px}.pf-marker{font-size:10px;color:var(--text-2)}.pf-choice[aria-expanded=true]{border-color:var(--brand);background:var(--brand-soft)}.pf-choice[aria-expanded=true] strong{font-weight:800}.pf-choice[aria-expanded=true] .pf-number{background:var(--brand);color:var(--action-primary-ink)}.pf-panel{grid-column:2;grid-row:1/span 5;min-width:0;min-height:420px;background:var(--bg-elev);border:1px solid var(--border);border-radius:18px;padding:18px}.pf-panel[hidden]{display:none!important}.pf-choice:focus-visible{outline:3px solid var(--action-focus-ring);outline-offset:3px}
/* Content containment: omitted columns and fewer displayed days/cards; no new control shapes. */
.p54{min-width:0}.p54 .attendance-01c__row{grid-template-columns:30px minmax(0,1fr);gap:8px}.p54 .attendance-01c__status-options{grid-column:1/-1}.p54 .attendance-01c__progress{grid-template-columns:1fr}.p54 .ql-grid{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:16px}.p54 .grades-01c__direct-row{grid-template-columns:30px minmax(0,1fr) 102px;gap:7px;padding:9px 10px}.p54 .grades-01c__direct-row>.rollno{display:block}.p54 .grades-01c__direct-row .gradein{inline-size:58px}.p54 .groups-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.p54 .week{grid-template-columns:minmax(0,1fr)}.p54 .page--schedule .schedule-day-tabs{display:flex;position:static;gap:6px;margin-bottom:12px;background:transparent;box-shadow:none}.p54 .page--schedule .schedule-day-tab{display:inline-flex;align-items:center;justify-content:center;min-height:44px;gap:4px;padding:6px 13px;border:1px solid var(--border);border-radius:var(--r-full);background:var(--bg-elev);color:var(--text-2);cursor:pointer;font-size:13px;font-weight:750}.p54 .page--schedule .schedule-day-tab.is-active{background:var(--brand);border-color:var(--brand);color:var(--brand-ink)}.p54 .page--schedule .schedule-day-tab .tabular{display:inline}
@media(min-width:760px) and (max-width:1000px){.pf-workbench{grid-template-columns:200px minmax(0,1fr);gap:8px 14px}.pf-panel{padding:14px}.pf-choice{padding:10px;gap:8px}}
@media(max-width:759px){.pf-workbench{display:block}.pf-tool{display:block;margin-bottom:10px}.pf-panel{margin-top:8px;min-height:0;padding:12px;border-radius:14px}.pf-heading{display:block}.pf-heading p{margin-top:6px;font-size:11px}.pf-exploration{margin-top:25px}.pf-choice{padding:12px;min-height:74px}.p54 .groups-grid{grid-template-columns:minmax(0,1fr)}.p54 .grades-01c__direct-row{grid-template-columns:minmax(0,1fr) 94px}.p54 .grades-01c__direct-row>.rollno{display:none}}

/* Scoped contrast corrections: keep newer Product attendance status tones above its legacy root rule; use existing readable text token on tinted surfaces. */
html[data-theme] .p54 .attendance-01c__status[data-color="present"].is-on{color:var(--present)}
html[data-theme] .p54 .attendance-01c__status[data-color="late"].is-on{color:var(--late)}
html[data-theme] .p54 .attendance-01c__status[data-color="excused"].is-on{color:var(--excused)}
html[data-theme] .p54 .attendance-01c__status[data-color="absent"].is-on{color:var(--absent)}
.p54 .slot__time,.p54 .attendance-01c__progress-copy>span{color:var(--text-2)}
/* 0355: lighter hero and better content use; Product controls retain their styles. */
.x-g .pf-intro{max-width:780px;margin:28px auto 0;text-align:center}.x-g .pf-intro h1{max-width:740px;margin:0 auto;font-size:clamp(27px,3vw,42px);font-weight:800;line-height:1.5}.x-g .pf-intro>p{margin:14px auto 22px;font-size:16px;line-height:1.8;color:var(--text-2)}.x-g .pf-intro .x-actions{max-width:600px;margin:0 auto;gap:12px}.x-g .pf-intro .x-actions>button{min-height:76px;padding:13px 20px}.x-g .pf-exploration{margin-top:30px}.x-g .pf-heading{margin-bottom:16px}.x-g .pf-choice{min-height:74px}.x-g .pf-panel{min-height:420px}.x-g .p54 .grades-01c__score-panel{margin-top:14px}.x-g .p54 .groups-setup{padding:14px}.x-g .p54 .groups-grid{gap:12px}.x-g .p54 .week.has-day-filter{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.x-g .p54 .week.has-day-filter .week__day{display:block;padding:12px;min-width:0}.x-g .p54 .page--schedule .schedule-day-tabs{display:none}.x-g .p54 .slot__main-col{min-width:0}.x-g .p54 .slot__grade-sec strong{white-space:normal}.x-g .p54 .slot__time-row{flex-wrap:wrap}
@media(min-width:760px){.x-g .p54 .ql-grid{gap:12px}.x-g .pf-workbench{align-items:start}.x-g .pf-choice{height:78px}.x-g .pf-panel{align-self:stretch}.x-g .p54 .attendance-01c__row{padding-block:8px}}
@media(max-width:759px){.x-g .pf-intro{margin-top:24px}.x-g .pf-intro h1{font-size:clamp(27px,6.9vw,32px);line-height:1.55}.x-g .pf-intro>p{font-size:14px;max-width:330px;margin-top:13px;margin-bottom:20px}.x-g .pf-intro .x-actions{gap:10px}.x-g .pf-intro .x-actions>button{min-height:72px;padding:12px 16px}.x-g .pf-exploration{margin-top:28px}.x-g .pf-panel{min-height:0}.x-g .p54 .week.has-day-filter{grid-template-columns:minmax(0,1fr)}.x-g .p54 .week.has-day-filter .week__day:not(.is-selected-day){display:none}.x-g .p54 .page--schedule .schedule-day-tabs{display:flex}.x-g .p54 .groups-setup{padding:12px}}

.x-g .pf-intro h1>span{display:inline-block;white-space:nowrap}
@media(min-width:1000px){.x-g .p54 .attendance-01c__row{grid-template-columns:26px minmax(100px,1fr) minmax(280px,1.25fr);min-block-size:66px}.x-g .p54 .attendance-01c__status-options{grid-column:auto}}
