/* Shikkha responsive UI refresh. Presentation only; scoped to known page structures. */
:root{--ui-gap:16px;--ui-radius:14px;--ui-border:var(--md-outline-variant,#dedfea);--ui-ink:var(--md-on-surface,#20213b);--ui-muted:var(--md-on-surface-variant,#606477);--ui-panel:var(--md-surface-container-lowest,#fff)}
html{scroll-padding-top:72px}body{overflow-wrap:break-word}
:where(button,a,input,select,textarea):focus-visible{outline:3px solid #857de7!important;outline-offset:3px}
:where(button,a,input,select,textarea){touch-action:manipulation}
:where(input,select,textarea){max-width:100%}
:where(.dashboard-container,.main-content,.content-body,.dash-main,.dash-side){min-width:0}
.dashboard-container>.main-content>.content-body{padding:12px 24px 24px!important}
.dashboard-container>.main-content>.mini-topbar{padding:4px 24px!important;min-height:44px}
.dashboard-container .mini-topbar :is(.theme-toggle-btn,.menu-icon){min-width:44px!important;min-height:44px!important;align-items:center;justify-content:center}
.dashboard-container>.main-content>.header{padding:10px 24px!important;min-height:56px}
.dashboard-container .content-body> :is(h1,h2){margin-top:0;margin-bottom:8px}
.dashboard-container .sidebar-header{padding:16px 20px!important;min-height:80px!important;height:auto!important}
.dashboard-container .sidebar-menu{padding-top:8px!important}
.dashboard-container .sidebar-menu>li>a{padding-top:11px!important;padding-bottom:11px!important;min-height:44px}
.dashboard-container .sidebar-group-label{padding-top:16px!important;padding-bottom:6px!important}
.dashboard-container .sidebar{overscroll-behavior:contain}
.dashboard-home .dashboard-hero{padding:20px 24px!important;border-radius:var(--ui-radius)!important;margin-bottom:16px!important;min-height:0!important;gap:16px!important}
.dashboard-home .dashboard-hero h1{font-size:clamp(23px,2.1vw,32px)!important;margin:6px 0!important;line-height:1.35}
.dashboard-home .dashboard-hero p{margin:4px 0!important;font-size:14px!important;line-height:1.65}
.dashboard-home .hero-date{padding:12px 16px!important;min-width:160px!important}
.dashboard-home .quick-actions{gap:12px!important;margin:0 0 16px!important}
.dashboard-home .quick-action{padding:12px 16px!important;min-height:64px!important;border-radius:12px!important}
.dashboard-home .summary-cards{gap:12px!important;margin-bottom:16px!important}
.dashboard-home .summary-cards>.card{padding:16px!important;min-height:112px!important;border-radius:14px!important}
.dashboard-home .card-info h3{font-size:14px!important;line-height:1.55!important;margin:0 0 6px!important}
.dashboard-home .card-info p{font-size:24px!important;line-height:1.3!important}
.dashboard-home .card-icon{width:44px!important;height:44px!important;font-size:22px!important;flex-shrink:0}
.dashboard-home .section-card{margin-bottom:16px!important;border-radius:14px!important}
.dashboard-home .section-heading{padding:16px!important}
:where(.application-tools,.filter-actions,.table-actions-bar,.dashboard-filter,.funnel-filter,.lc-actions){gap:10px!important}
:where(.application-tools,.dashboard-filter,.funnel-filter){padding:12px!important}
:where(.filter-actions,.table-actions-bar){flex-wrap:wrap}
:where(.filter-submit,.filter-reset,.filter-export,.filter-button){min-height:44px;display:inline-flex;align-items:center;justify-content:center}
[data-theme="dark"] :is(.filter-reset,a.filter-reset){color:#fff!important;background:#4942b7!important;border-color:#7972da!important}
[data-theme="dark"] :is(.filter-submit,.filter-button){color:#17143f!important;background:#c1bcf5!important}
:where(.table-responsive,.table-container,.dept-table-wrap,.ui-table-scroll){max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
.ui-table-scroll{border-radius:12px}.ui-table-scroll:focus-visible{outline:3px solid #857de7;outline-offset:2px}
:where(.content-body,.lc-wrap) table :is(th,td){padding-top:12px;padding-bottom:12px}
:where(.content-body,.lc-wrap) table th{line-height:1.5}
.dept-page .dept-toolbar{margin-bottom:12px!important}.dept-page .dept-intro{margin-bottom:12px!important}
.dept-page .dept-table-wrap td:last-child form{flex-wrap:nowrap;align-items:center}
.dept-page .dept-table-wrap td:last-child select{min-width:180px;flex:1}.dept-page .dept-table-wrap td:last-child button{flex-shrink:0}
.lc-wrap{padding:12px 24px 24px!important}.lc-grid{grid-template-columns:minmax(230px,280px) minmax(0,1fr)!important;gap:16px!important}.lc-grid>*{min-width:0}
.lc-card{padding:16px!important;border-radius:14px!important;margin-bottom:14px!important}.lc-course-list{max-height:65vh!important}.lc-course{padding:10px 12px!important}.lc-card h2{font-size:22px;margin-top:0}
:where(.mp-hero,.welcome-card){padding:20px!important;margin-bottom:16px!important}
:where(.mp-stats,.dash-grid){gap:14px!important}.mp-stat{padding:14px!important}
:where(.form-group,.lc-field) label{line-height:1.6}
:where(.custom-modal,.modal-overlay) :where(.modal-body){overscroll-behavior:contain}
:where(.custom-modal,.modal-overlay) :where(.modal-header,.modal-footer){padding:16px 20px}
:where(.custom-modal,.modal-overlay) :where(.modal-content){max-height:calc(100dvh - 32px);overflow-y:auto}
/* Public landing, catalog and application pages retain their own visual hierarchy. */
.lp-sec{padding-top:48px!important;padding-bottom:48px!important}.lp-sec-head{margin-bottom:24px!important}
.lp-hero{padding-top:96px!important;padding-bottom:44px!important;min-height:0!important}
.lp-hero-h1{font-size:clamp(32px,4vw,56px)!important;line-height:1.25!important}
.lp-hero-body{line-height:1.75!important}.lp-hero-ctas{gap:12px!important}
:where(.lp-features-grid,.lp-courses-grid,.lp-steps-grid,.course-grid){gap:20px!important}
.application-page-container{padding-bottom:40px!important}.application-form-wrapper .form-section{margin-bottom:24px!important}
@media(min-width:1100px){.dashboard-home .summary-cards{grid-template-columns:repeat(auto-fit,minmax(170px,1fr))!important}}
@media(max-width:1024px){
.dashboard-home .summary-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.dashboard-home .dashboard-hero{flex-wrap:wrap}.dashboard-home .hero-date{min-width:0!important}
:where(.application-tools,.dashboard-filter,.funnel-filter){grid-template-columns:repeat(2,minmax(0,1fr))!important}
.lc-grid{grid-template-columns:1fr!important}.lc-course-list{display:flex!important;overflow-x:auto;max-height:none!important;gap:8px}.lc-course{min-width:210px;flex:0 0 210px}
}
@media(max-width:768px){
.dashboard-container>.main-content>.content-body,.lc-wrap{padding:8px 14px 24px!important}
.dashboard-container>.main-content>.mini-topbar,.dashboard-container>.main-content>.header{padding:4px 14px!important;min-height:48px!important}
.dashboard-container .sidebar{max-width:calc(100vw - 48px)}
.dashboard-container .content-body> :is(h1,h2){font-size:24px!important;line-height:1.4}
.dashboard-home .dashboard-hero{padding:16px!important}.dashboard-home .hero-date{display:none}
.dashboard-home .quick-actions{display:flex!important;overflow-x:auto;padding-bottom:4px}.dashboard-home .quick-action{flex:0 0 auto;padding:10px 12px!important;min-height:48px!important}
.dashboard-home .summary-cards>.card{padding:12px!important;min-height:104px!important;gap:10px!important}
.dashboard-home .card-icon{width:36px!important;height:36px!important;font-size:18px!important}.dashboard-home .card-info p{font-size:22px!important}
:where(.application-tools,.dashboard-filter,.funnel-filter,.lc-fields){grid-template-columns:1fr!important}
:where(.application-tools,.table-actions-bar,.filter-actions)>*{min-width:0;max-width:100%}
:where(.application-tools,.table-actions-bar) input,:where(.application-tools,.table-actions-bar) select{width:100%!important}
:where(input[type="text"],input[type="search"],input[type="email"],input[type="password"],input[type="tel"],input[type="number"],select,textarea){font-size:16px!important}
:where(.filter-actions,.lc-actions){display:flex;flex-wrap:wrap}.filter-actions>*{flex:1 1 auto}
:where(button,.btn,.filter-reset,.filter-export){min-height:44px}
:where(.modal-content,.custom-modal-content){max-width:calc(100vw - 24px)!important}
.lp-sec{padding:32px 0!important}.lp-hero{padding-top:88px!important;padding-bottom:28px!important}.lp-hero-h1{font-size:34px!important}
:where(.lp-features-grid,.lp-courses-grid,.lp-steps-grid,.course-grid){grid-template-columns:1fr!important;gap:14px!important}
.lp-hero-ctas{flex-wrap:wrap}.lp-hero-ctas>a{min-height:48px}
:where(.mp-stats,.dash-grid){gap:12px!important}.mp-hero{padding:16px!important}
body:has(.bottom-nav) .main-content{padding-bottom:calc(76px + env(safe-area-inset-bottom))!important}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}
@media print{.mini-topbar,.ui-skip-link{display:none!important}.ui-table-scroll{overflow:visible}}
.ui-skip-link{position:fixed;left:16px;top:-100px;z-index:100000;background:#4942b7;color:white;padding:12px 18px;border-radius:8px}.ui-skip-link:focus{top:12px}

/* Before selecting a live course, use the full canvas as a course picker. */
.lc-grid.lc-picker-mode{grid-template-columns:minmax(0,1fr)!important}
.lc-picker-mode .lc-course-list{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));max-height:none!important;overflow:visible;gap:12px}
.lc-picker-mode .lc-course{min-width:0;min-height:94px;display:flex;flex-direction:column;justify-content:center}
.lc-picker-mode>section{display:none}
@media(max-width:600px){.lc-picker-mode .lc-course-list{grid-template-columns:1fr 1fr}.lc-picker-mode .lc-course{font-size:14px;padding:12px!important}}
