/* Student Portal 1.1: scoped, readable controls and responsive layout. */
.edp-app{--muted:#596b83!important;--line:#dce4ed!important;--navy:#102b50!important;--navy-deep:#0b203d!important;grid-template-columns:248px minmax(0,1fr)!important;font-size:15px!important}
.edp-app *{text-wrap:pretty}
.edp-app :is(button,a,input):focus-visible,.edp-auth-wrap :is(button,a,input):focus-visible{outline:3px solid #387ccc!important;outline-offset:3px!important}
.edp-app button:disabled{opacity:.65;cursor:wait}
.edp-app .edp-sidebar{padding:22px 14px;background:#102b50!important}
.edp-app .edp-brand{gap:10px;margin-bottom:22px}
.edp-app .edp-brand-text strong{font-size:15px}.edp-app .edp-brand-text span{font-size:11px;color:#c1d0e3}
.edp-app .edp-menu{gap:5px}.edp-app .edp-menu button,.edp-app .edp-menu a,.edp-app .edp-sidebar-logout{font-size:14px;min-height:47px;border-radius:10px}
.edp-app .edp-menu button.active{background:#d92345!important;box-shadow:none!important}
.edp-app .edp-menu button:hover,.edp-app .edp-menu a:hover{transform:none}
.edp-app .edp-workspace{padding:24px;scrollbar-gutter:stable}
.edp-app .edp-topbar{background:#fff;backdrop-filter:none}.edp-app .edp-usertext strong{font-size:13px}.edp-app .edp-usertext span{font-size:12px}
.edp-app .edp-heading h1{font-size:28px}.edp-app .edp-heading h2{font-size:24px}.edp-app .edp-heading p{font-size:14px;line-height:1.5}
.edp-app :is(.edp-card,.edp-course,.edp-mini,.edp-expiry-card,.edp-recent-card){border-radius:12px!important;box-shadow:0 3px 12px #102b5006!important}
.edp-app .edp-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.edp-app .edp-metric{min-height:92px;background:#fff!important;border-radius:12px;padding:15px;box-shadow:none}.edp-app .edp-metric:after{display:none}
.edp-app .edp-metric-value{font-size:24px}.edp-app .edp-metric-value.compact{font-size:14px}.edp-app .edp-metric-label{font-size:12px;color:#596b83}
.edp-app .edp-phase1-top{grid-template-columns:minmax(0,1.7fr) minmax(230px,.8fr)}
.edp-app .edp-continue-card{background:#102b50!important;border-radius:12px;padding:22px}.edp-app .edp-continue-card:after{display:none}
.edp-app .edp-continue-card h3{font-size:22px}.edp-app .edp-phase-kicker{font-size:11px}.edp-app .edp-continue-step{font-size:14px;line-height:1.5}.edp-app .edp-continue-stats{font-size:12px}
.edp-app .edp-expiry-card h3,.edp-app .edp-recent-card h3,.edp-app .edp-card-title{font-size:16px}.edp-app .edp-expiry-label{font-size:11px}.edp-app .edp-expiry-course{font-size:14px}.edp-app .edp-expiry-date{font-size:12px;line-height:1.5}
.edp-app .edp-grid-main{grid-template-columns:minmax(0,1fr)}.edp-app .edp-right-stack{grid-template-columns:1fr 1fr}.edp-app .edp-course-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.edp-app .edp-course{padding:18px}.edp-app .edp-course:hover{transform:none}.edp-app .edp-course-title{font-size:16px;min-height:0;line-height:1.45;margin-top:8px}
.edp-app .edp-course-steps{margin-top:7px;font-size:12px;color:#596b83;font-weight:700}
.edp-app .edp-status-badge,.edp-app .edp-course-badge{font-size:11px!important;padding:5px 9px;letter-spacing:0;text-transform:none}
.edp-app .edp-status-badge.unavailable{background:#fff5df;color:#80540c}
.edp-app .edp-progress-row,.edp-app .edp-course-meta{font-size:13px}.edp-app .edp-course-meta{line-height:1.5;gap:7px}
.edp-app .edp-detail-box span{font-size:11px;color:#596b83}.edp-app .edp-detail-box strong{font-size:13px;line-height:1.4}.edp-app .edp-course-detail-title{font-size:13px}
.edp-app .edp-primary,.edp-app .edp-secondary{font-size:13px!important;min-height:44px!important;background-image:none!important;box-shadow:none!important}.edp-app .edp-primary{background-color:#d92345}
.edp-app .edp-quick{background:#fff!important;min-height:85px}.edp-app .edp-quick strong{font-size:14px!important}.edp-app .edp-quick span{font-size:12px!important}
.edp-app .edp-mini-title{font-size:15px!important}.edp-app .edp-mini p{font-size:13px!important;line-height:1.5}.edp-app .edp-bottom-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.edp-app .edp-recent-course{font-size:11px}.edp-app .edp-recent-title{font-size:14px}.edp-app .edp-recent-time{font-size:12px}.edp-app .edp-recent-open{font-size:13px;min-height:40px}
.edp-app .edp-recent-card{min-width:0;overflow:hidden}.edp-app .edp-recent-empty{font-size:13px;color:#596b83;padding:4px 0;line-height:1.5}.edp-app .edp-status-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;min-width:0;border-bottom:1px solid #eef2f6;padding-bottom:8px}.edp-app .edp-status-copy{min-width:0}.edp-app .edp-status-course-title{font-size:13px;font-weight:800;color:#2b3953;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.edp-app .edp-status-course-progress{font-size:12px;color:#596b83;margin-top:3px}.edp-app .edp-status-row .edp-status-badge{width:auto;max-width:100%;justify-content:center;text-align:center;white-space:normal;line-height:1.25;overflow-wrap:anywhere}.edp-app .edp-expiry-summary-row{font-size:13px;line-height:1.45;border-bottom:1px solid #eef2f6;padding-bottom:8px}
.edp-app .edp-p2-ticker{height:56px;margin-bottom:16px;border-color:#d8e1ec;background:#fff;box-shadow:0 2px 10px #102b5008}.edp-app .edp-p2-ticker-label{min-width:142px;padding:0 12px;background:#b81732;font-size:9px;line-height:1.25;letter-spacing:.04em;text-align:center}.edp-app .edp-p2-live-dot{width:6px;height:6px;box-shadow:0 0 0 3px #ffffff24}.edp-app .edp-p2-ticker-window{background:#fff}.edp-app .edp-p2-ticker-track{animation-duration:28s}.edp-app .edp-p2-ticker-set{gap:0}.edp-app .edp-p2-ticker-item{display:inline-flex;align-items:center;gap:8px;min-height:54px;padding:0 18px;color:#243750;font-size:11.5px;line-height:1.35;white-space:nowrap}.edp-app .edp-p2-ticker-item strong{display:-webkit-box;flex:0 1 auto;width:max-content;max-width:min(52vw,620px);overflow:hidden;color:#243750;font-weight:750;line-height:1.35;white-space:normal;-webkit-box-orient:vertical;-webkit-line-clamp:2}.edp-app .edp-p2-ticker-item:after{color:#c7d1dd;margin-left:10px}.edp-app .edp-p2-ticker-item a{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;min-height:26px;padding:0 9px;border:1px solid #d6e0eb;border-radius:999px;background:#f4f7fb;color:#174a83!important;font-size:9.5px;font-weight:800;white-space:nowrap}.edp-app .edp-p2-ticker-item a:hover{border-color:#adc0d5;background:#e9f1fa;color:#102b50!important}
.edp-app .edp-p2-ticker:focus-within .edp-p2-ticker-track{animation-play-state:paused}
.edp-app .edp-p2-panel{width:min(430px,calc(100vw - 24px));border-radius:12px}.edp-app .edp-p2-panel-head{padding:11px 14px;font-size:13px}.edp-app .edp-p2-panel-head button{min-height:28px;padding:0 9px;border:1px solid #d9e3ee;border-radius:999px;background:#f5f8fc;font-size:9.5px;font-weight:800}.edp-app .edp-p2-note{grid-template-columns:8px minmax(0,1fr);gap:10px;min-height:59px;padding:10px 14px}.edp-app .edp-p2-note i{width:6px;height:6px;margin-top:5px}.edp-app .edp-p2-note strong{display:-webkit-box;overflow:hidden;color:#243750;font-size:12px;font-weight:800;line-height:1.35;-webkit-box-orient:vertical;-webkit-line-clamp:2}.edp-app .edp-p2-note small{display:-webkit-box;margin-top:3px;overflow:hidden;color:#68778b;font-size:10.5px;line-height:1.35;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.edp-app .edp-p2-toast{width:min(390px,calc(100vw - 24px));padding:12px 13px;border-radius:12px}.edp-app .edp-p2-toast-icon{width:30px;height:30px;border-radius:8px;font-size:13px}.edp-app .edp-p2-toast-copy strong{display:-webkit-box;overflow:hidden;font-size:12px;font-weight:800;line-height:1.35;-webkit-box-orient:vertical;-webkit-line-clamp:2}.edp-app .edp-p2-toast-copy span{display:-webkit-box;margin-top:3px;overflow:hidden;font-size:10.5px;line-height:1.35;-webkit-box-orient:vertical;-webkit-line-clamp:2}.edp-app .edp-p2-toast-action{min-height:28px;margin:9px 0 0 40px;padding:0 11px;border-radius:999px;background:#174a83;font-size:9.5px;font-weight:800}.edp-app .edp-p2-toast-close{min-width:28px;min-height:28px;font-size:16px}
.edp-app .edp-p2-filters button{font-size:13px;min-height:42px}.edp-app .edp-p2-resource-list .edp-p2-resource h4{font-size:15px!important;line-height:1.5}.edp-app .edp-p2-resource-list .edp-p2-desc{font-size:13px!important;line-height:1.5!important}.edp-app .edp-p2-resource-list .edp-p2-type{font-size:11px!important}
.edp-app .edp-p2-resource-list .edp-p2-resource-actions>a{font-size:13px!important;min-height:44px!important}.edp-app .edp-p2-resource-list .edp-p2-save{min-width:44px!important;min-height:44px!important;font-size:20px!important}
.edp-app [hidden],.edp-app .edp-p2-resource[hidden],.edp-app .edp-resource[hidden]{display:none!important}
.edp-app .edp-resource-main strong{font-size:14px}.edp-app .edp-resource-main span{font-size:13px}.edp-app .edp-download{font-size:13px}.edp-app .edp-legacy-heading{font-size:16px;margin-top:22px}
.edp-app .edp-p3-heading strong{font-size:16px}.edp-app .edp-p3-heading span{font-size:13px}.edp-app .edp-p3-extension-row{grid-template-columns:1fr;gap:12px;padding:16px}
.edp-app .edp-p3-extension-course strong{font-size:15px}.edp-app .edp-p3-extension-course span{font-size:12px}.edp-app .edp-p3-extension-stats small{font-size:11px}.edp-app .edp-p3-extension-stats strong{font-size:13px}.edp-app .edp-p3-extension-btn{font-size:13px;min-height:42px;width:max-content}
.edp-app .edp-orders-wrap{overflow:auto}.edp-app .edp-orders{min-width:680px}.edp-app .edp-orders th{font-size:11px}.edp-app .edp-orders td{font-size:13px}.edp-app .edp-p3-order-status{font-size:12px}
.edp-order-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:16px;font-size:13px}
.edp-app .edp-profile-item span,.edp-app .edp-field label{font-size:13px}.edp-app .edp-profile-item strong{font-size:15px}.edp-app .edp-input{font-size:16px;min-height:44px}.edp-app .edp-form-msg{font-size:14px}
.edp-app .edp-receipt-info span,.edp-app .edp-receipt-products th{font-size:11px}.edp-app .edp-receipt-info strong,.edp-app .edp-receipt-products,.edp-app .edp-receipt-total-row{font-size:13px}.edp-app .edp-receipt-billing p{font-size:13px}.edp-app .edp-invoice-policy p,.edp-app .edp-policy-links a{font-size:12px}.edp-app .edp-studio{min-height:0;height:calc(100dvh - 110px)}.edp-app .edp-studio-frame{min-height:0;flex:1}
.edp-app .edp-studio-note{font-size:12px;color:#596b83;line-height:1.45}
.edp-app .edp-slide{pointer-events:none;visibility:hidden}.edp-app .edp-slide.active{pointer-events:auto;visibility:visible}.edp-app .edp-slide-sub{font-size:14px}.edp-app .edp-slide-btn{font-size:13px}
.edp-slider-pause{position:absolute;bottom:10px;right:10px;z-index:4;background:#fff;color:#102b50;border:0;border-radius:6px;font-size:12px;padding:7px 10px;cursor:pointer}
.edp-feedback{display:none;position:fixed;bottom:18px;left:50%;transform:translateX(-50%);z-index:2147483200;max-width:calc(100vw - 32px);background:#102b50;color:#fff;border-radius:10px;padding:14px 20px;font-size:14px;box-shadow:0 8px 30px #0002}.edp-feedback.show{display:block}
.edp-menu-close,.edp-menu-backdrop{display:none}.edp-app.sidebar-collapsed{grid-template-columns:88px minmax(0,1fr)!important}
@media(max-width:1100px){.edp-app .edp-phase1-top{grid-template-columns:1fr}.edp-app .edp-continue-card{grid-template-columns:1fr}.edp-app .edp-course-grid{grid-template-columns:1fr}.edp-app .edp-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.edp-app .edp-phase1-grid{grid-template-columns:1fr}}
@media(max-width:900px){.edp-app,.edp-app.sidebar-collapsed{grid-template-columns:1fr!important}.edp-app .edp-sidebar{width:280px;max-width:88vw;overflow:auto}.edp-app .edp-workspace{padding:18px}.edp-app .edp-menu-close{display:block;width:100%;background:#ffffff12;color:#fff;border:1px solid #ffffff40;padding:10px;margin-bottom:14px;border-radius:8px;font-size:14px}.edp-app.menu-open .edp-menu-backdrop{display:block;position:fixed;inset:0;background:#07193680;border:0;z-index:10000010}.edp-app .edp-p2-panel{right:12px!important;width:min(380px,calc(100vw - 24px))}}
@media(max-width:600px){.edp-app .edp-workspace{padding:14px}.edp-app .edp-heading h1{font-size:24px}.edp-app .edp-heading h2{font-size:22px}.edp-app .edp-right-stack,.edp-app .edp-bottom-grid{grid-template-columns:1fr}.edp-app .edp-metric{display:block;min-height:110px}.edp-app .edp-metric-icon{display:none}.edp-app .edp-metric-value{font-size:22px}.edp-app .edp-metric-value.compact{font-size:13px}.edp-app .edp-status-row{grid-template-columns:minmax(0,1fr);gap:6px}.edp-app .edp-status-row .edp-status-badge{justify-self:start}.edp-app .edp-p2-ticker{height:58px}.edp-app .edp-p2-ticker-label{min-width:94px;max-width:94px;padding:7px;font-size:8px}.edp-app .edp-p2-ticker-item{min-height:56px;padding:0 14px;font-size:10.5px}.edp-app .edp-p2-ticker-item strong{max-width:68vw}.edp-app .edp-p2-ticker-item a{min-height:24px;padding:0 8px;font-size:9px}.edp-app .edp-p2-panel-head{font-size:12px}.edp-app .edp-p2-note{padding:10px 12px}.edp-app .edp-p3-extension-stats{grid-template-columns:1fr}.edp-app .edp-receipt-products{font-size:12px}.edp-app .edp-studio-bar{gap:6px}.edp-app .edp-studio{height:calc(100dvh - 100px)}}
@media(prefers-reduced-motion:reduce){.edp-app *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media print{.edp-app .edp-p2-toast,.edp-app .edp-p2-panel,.edp-feedback,.edp-menu-backdrop,.edp-slider-pause{display:none!important}.edp-app{display:block!important}}

/* v1.5.3: persistent expiry notice (outside view panels) */
.edp-expiry-header-notice{display:flex;align-items:center;gap:10px;width:calc(100% - 40px);margin:12px 20px 0;padding:12px 16px;border:1px solid #fca5a5;border-radius:12px;background:#fef2f2;color:#991b1b;text-align:left;font:inherit;font-weight:700;cursor:pointer;box-sizing:border-box;overflow-wrap:anywhere;line-height:1.45}
.edp-expiry-header-notice:hover,.edp-expiry-header-notice:focus-visible{background:#fee2e2;outline:2px solid #dc2626;outline-offset:2px}
.edp-expiry-header-icon{flex:none;font-size:19px}.edp-expiry-header-action{margin-left:auto;white-space:nowrap;font-size:12px;text-decoration:underline}
@media(max-width:700px){.edp-expiry-header-notice{width:calc(100% - 24px);margin:10px 12px 0;padding:10px 12px;flex-wrap:wrap;font-size:13px}.edp-expiry-header-action{margin-left:28px;white-space:normal}}
