/* v46 focused help guide fixes; no global layout or financial selectors. */
.help46-global-controls{border:1px solid #d7e1ee;background:var(--ui-surface,#fff);padding:16px 20px;border-radius:15px;margin-bottom:17px;max-width:1100px}
.help46-global-controls h2{font-size:17px;margin:0 0 8px}
.help46-toggle-row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:13px 0;border-bottom:1px solid #e4e9f2}
.help46-toggle-row label{display:grid;gap:4px;line-height:1.6;cursor:pointer}.help46-toggle-row label span{font-weight:700}.help46-toggle-row small,.help46-exception{font-size:12px;color:var(--ui-muted,#66768b)}
.help46-toggle-row input{appearance:none;flex:0 0 auto;width:46px;height:26px;border-radius:18px;background:#c6d0df;position:relative;cursor:pointer;transition:background .2s;direction:ltr}
.help46-toggle-row input::after{content:'';position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:white;box-shadow:0 1px 4px #0003;transition:transform .2s}
.help46-toggle-row input:checked{background:#2563eb}.help46-toggle-row input:checked::after{transform:translateX(20px)}
.help46-toggle-row input:focus-visible{outline:3px solid #93c5fd;outline-offset:3px}
.help46-exception{margin:12px 0 2px;line-height:1.7}
#help46SettingsMount{max-width:860px}#help46SettingsMount [data-help46-flags]{display:block}
.help46-inline-list{display:grid;grid-template-columns:minmax(0,1fr);gap:20px;max-width:1050px}
.help46-inline-guide{background:#fff;color:#1c2d49;border:1px solid #d9e2ee;border-radius:17px;box-shadow:0 3px 14px #1427450b;padding:clamp(17px,2.5vw,30px);min-width:0}
.help46-inline-guide h2{font-size:clamp(18px,2vw,22px);line-height:1.65;margin:0 0 7px;color:#1c2d49}
.help46-inline-guide p{font-size:14px;color:#53657c;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.9;margin:4px 0 14px}
.help46-inline-player{max-width:850px;margin:15px 0 0;min-width:0}
.help46-inline-player .ic38-video-box{margin:0!important;max-width:100%!important;width:100%}
.help46-inline-player .ic38-video-box>video,.help46-inline-player .ic38-video-box>.ic38-video-poster{width:100%;height:auto;aspect-ratio:16/9;max-height:none!important;display:block}
.help46-inline-guide .help46-pdf{display:inline-flex;align-items:center;gap:8px;margin-top:16px;background:#215ec2;color:#fff;text-decoration:none;border:0;border-radius:10px;padding:11px 18px;font-size:13px;font-weight:700}
.help46-inline-guide .help46-pdf:focus-visible{outline:3px solid #6ca0ff;outline-offset:3px}
.help46-empty{padding:20px;background:white;border:1px solid #dce4ed;border-radius:12px}
.help46-inline-player .ic38-video-poster>.ic38-video-play,.help46-modal .ic38-video-poster>.ic38-video-play{position:absolute!important;inset:50% auto auto 50%!important;transform:translate(-50%,-50%)!important;margin:0!important;display:grid!important;place-items:center!important;direction:ltr!important}
/* Modal: video adapts to available viewport; no scrolling in dialog on normal screens. */
.help46-modal{width:min(860px,calc(100vw - 24px))!important;max-width:calc(100vw - 24px)!important;max-height:calc(100dvh - 24px)!important;overflow:hidden!important;padding:0!important;margin:auto!important}
.help46-modal .help45-modal-frame{height:auto;max-height:calc(100dvh - 24px);overflow:hidden;display:flex;flex-direction:column;min-height:0}
.help46-modal .help45-modal-header{flex:0 0 auto;min-height:54px;padding:9px 17px}
.help46-modal .help45-modal-body{min-height:0;max-height:calc(100dvh - 85px);overflow:hidden!important;display:flex;flex-direction:column;gap:6px;padding:10px 18px 14px}
.help46-modal .help45-modal-article{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;gap:5px;margin:0;padding:0;border:0;align-items:stretch}
.help46-modal .help45-modal-article h2{font-size:clamp(14px,2.7vw,18px);line-height:1.5;margin:0;flex:0 0 auto}
.help46-modal .help45-modal-article p{font-size:12px;line-height:1.5;margin:0;white-space:pre-wrap;overflow-wrap:anywhere;display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden}
.help46-modal .help46-summary{-webkit-line-clamp:2}.help46-modal .help45-modal-description{-webkit-line-clamp:2}
.help46-modal .help45-modal-video{flex:1 1 auto;min-height:0;display:flex;align-items:center;justify-content:center}
.help46-modal .help45-modal-video .ic38-video-box{width:min(100%,calc((100dvh - 250px)*16/9),760px)!important;max-width:100%!important;max-height:100%;margin:0 auto!important;min-width:0}
.help46-modal .help45-modal-video .ic38-video-poster,.help46-modal .help45-modal-video video{width:100%!important;height:auto!important;aspect-ratio:16/9!important;max-height:calc(100dvh - 250px)!important;object-fit:contain}
.help46-modal .help45-modal-video .ic38-video-poster>img{object-fit:cover!important}
.help46-modal .help45-modal-video .ic38-video-fallback{margin:2px 0 0;font-size:11px;line-height:1.3}
.help46-modal .help45-pdf{flex:0 0 auto;margin:4px 0 0;padding:9px 12px;font-size:12px;align-self:flex-start}
.help46-guide-choice{border:1px solid #d0d9e8;border-radius:9px;padding:6px;font:inherit;max-width:100%;flex:0 0 auto}
.help45-context-button{display:inline-flex;gap:6px;align-items:center;justify-content:center;max-width:100%;line-height:1.4}
.help46-question-icon{width:20px;height:20px;display:grid;place-items:center;border-radius:50%;border:2px solid currentColor;color:#5b34ec;font:bold 14px/1 system-ui,sans-serif;flex:0 0 auto}
@media(max-width:780px){
 #studentDashboard .dashboard-topbar{gap:6px;min-width:0}
 #studentDashboard .dashboard-topbar .sidebar-toggle{flex:0 0 38px;order:0}
 #studentDashboard .dashboard-topbar .help45-context-button{order:1;flex:0 0 40px;width:40px!important;height:40px!important;min-width:40px!important;max-width:40px!important;box-sizing:border-box!important;padding:0!important;border:1px solid #aa9af0!important;background:#f1edff!important;color:#5734db!important;border-radius:11px!important}
 #studentDashboard .dashboard-topbar .help46-help-label{display:none!important}
 #studentDashboard .dashboard-topbar .dashboard-breadcrumb{order:2;flex:1 1 auto;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
 #studentDashboard .dashboard-topbar .dashboard-top-actions{order:3;flex:0 1 auto;min-width:0}
 #studentDashboard .dashboard-topbar .help46-question-icon{width:24px;height:24px;border-width:2px;color:#5030db}
 .help46-modal .help45-modal-body{padding:9px 10px 12px}
 .help46-modal .help45-modal-video .ic38-video-box{width:min(100%,calc((100dvh - 225px)*16/9))!important}
 .help46-modal .help45-modal-video .ic38-video-poster,.help46-modal .help45-modal-video video{max-height:calc(100dvh - 225px)!important}
}
@media(max-height:540px){.help46-modal .help45-modal-header{min-height:42px}.help46-modal .help45-modal-article p{display:none}.help46-modal .help45-modal-video .ic38-video-box{width:min(100%,calc((100dvh - 145px)*16/9))!important}.help46-modal .help45-modal-video .ic38-video-poster,.help46-modal .help45-modal-video video{max-height:calc(100dvh - 145px)!important}}
@media(max-width:550px){#studentDashboard .dashboard-topbar .dashboard-breadcrumb{font-size:10px} .help46-toggle-row label{font-size:13px}.help46-inline-guide{padding:15px}.help46-modal .help45-pdf{font-size:11px}}

[data-v45-guide-student][hidden],.help45-context-button[hidden]{display:none!important}
