/* V10.8.1046 (TEST). Scoped to html.v1046 so the off switch removes it. */
/* #4 world picker note on one line */
html.v1046 .wnote.v46one{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13px;margin:8px 0}
/* #5 character studio on phones: buttons in a tidy row under the character, not floating at the side */
@media(max-width:760px){
 html.v1046 .avs2 .avr2{position:static!important;transform:none!important;width:auto!important;display:flex;flex-direction:column;gap:8px;margin:10px 14px 90px;padding:0;background:none;box-shadow:none}
 html.v1046 .avs2 .avr2 :is(.avsave,.avback){width:100%;justify-content:center;margin:0}
 html.v1046 .avs2 .avr2 .avstate,html.v1046 .avs2 .avr2 .avhint{text-align:center;margin:0}
}
/* #9 past sessions: compact rows, the title gets the full width */
html.v1046 .s2tut li[data-ref]{display:grid!important;grid-template-columns:36px 1fr auto;gap:4px 10px;align-items:center;padding:10px 0}
html.v1046 .s2tut li[data-ref]>div{min-width:0}
html.v1046 .s2tut li[data-ref]>div b{display:block;white-space:normal;line-height:1.25}
html.v1046 .s2tut li[data-ref]>:is(.s2chip,a,button){grid-column:2/4;justify-self:start;margin:0}
html.v1046 .s2tut li[data-ref]>.s2chip+:is(a,button){grid-column:3/4;grid-row:2;justify-self:end}
/* #15 Sessions: time zone pill on the same line as the title */
html.v1046 .s2tut .s2hd{position:relative;padding-right:92px}
html.v1046 .s2tut .s2hdr{position:absolute!important;right:0;top:auto;bottom:auto;margin:0}
html.v1046 .s2tut .s2hd h1+.s2sub+.s2hdr,html.v1046 .s2tut .s2hdr{top:calc(1.4rem)}
/* #28 subject tabs on one line */
html.v1046 .prx-tabs{flex-wrap:nowrap!important;overflow-x:auto;scrollbar-width:none;gap:0}
html.v1046 .prx-tabs::-webkit-scrollbar{display:none}
html.v1046 .prx-tabs a{white-space:nowrap;padding:.6rem .7rem;font-size:.92rem}
/* #8 prep: attach button inside the note box */
html.v1046 .v46notebox{position:relative;border:1px solid #d9dcef;border-radius:14px;background:#fff;padding:2px 2px 44px}
html.v1046 .v46notebox textarea{border:0!important;box-shadow:none!important;width:100%;resize:vertical;background:transparent}
html.v1046 .v46notebox .padd{position:absolute;left:8px;bottom:6px;width:auto!important;height:auto!important;min-height:0!important;border:0!important;background:#eef1fb!important;border-radius:999px;padding:6px 12px!important;display:inline-flex!important;flex-direction:row!important;gap:6px;align-items:center;font:600 14px Poppins,sans-serif;color:#1f2a5c;cursor:pointer}
html.v1046 .prep .at581-clip,html.v1046 .v46notebox~.at581-clip,html.v1046 .xc:has(#pnote) .at581-clip{display:none!important}
html.v1046 .v46nophoto{font-size:14px;color:#5a6172;margin:6px 0}
/* #21 math symbol keys */
html.v1046 .v46keys{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0}
html.v1046 .v46keys button{min-width:44px;height:44px;border-radius:12px;border:1px solid #d9dcef;background:#fff;font:700 20px Poppins,sans-serif;color:#1f2a5c;cursor:pointer}
html.v1046 .v46keys button:active{background:#eef1fb}
/* #23 placement: iTutor look, easier for families */
html.v1046 .plx{--v46a:#5b4bd6;font-family:Poppins,Inter,sans-serif}
html.v1046 .plx .xh{background:linear-gradient(135deg,#efeaff,#e6f3ff);border-radius:20px;padding:18px 18px 14px;margin-bottom:12px}
html.v1046 .plx .xh h1{color:#2a1f7a;font-size:26px}
html.v1046 .plx .xh span{color:#4b4f63;font-size:15px}
html.v1046 .plx .sub{font-size:16px;line-height:1.5;color:#2c3142}
html.v1046 .plx .plrow{background:#fff;border:1px solid #e3e0f7;border-radius:16px;padding:14px 16px;margin:10px 0;box-shadow:0 2px 8px #5b4bd60f}
html.v1046 .plx .plrow b{font-size:17px;color:#1f2a5c}
html.v1046 .plx .plrow span{font-size:14px;color:#4b4f63}
html.v1046 .plx :is(.btn-navy,.nbtn){background:var(--v46a)!important;border-color:var(--v46a)!important;color:#fff!important;border-radius:12px}
html.v1046 .plx .bbtn{border-radius:12px;color:var(--v46a)!important;border-color:#cfc8f5!important}
html.v1046 .v46rem{background:#e8f6ec;border:1px solid #bfe3c9;border-radius:14px;padding:12px 14px;margin:0 0 10px;font-size:15px}
html.v1046 .v46cmp{background:#f5f3ff;border:1px solid #ddd6fe;border-radius:14px;padding:12px 14px;margin:0 0 10px;font-size:15px}
html.v1046 .v46cmp ul{margin:6px 0 0;padding-left:18px}
html.v1046 .v46tip{font-size:14px;color:#5a6172;margin:0 0 10px}
/* #18 Simple View: no campus picture at all on phones, the Today card moves up */
/* simplev-fix 1023: Simple View hides only the campus picture + hint; Today card and tiles stay */ html.v1046.simplev .s2cam .s2scene,html.v1046.simplev .cp799e,html.v1046.simplev .s2cam~.hint{display:none!important}
/* #14 announcements list stays on screen */
html.v1046 .an-dd{max-width:min(360px,92vw)}
/* #6 setup hand-off */
.v46bg{position:fixed;inset:0;background:#0d1b3a8c;display:grid;place-items:center;z-index:1400;font-family:Poppins,Inter,sans-serif}
.v46md{width:min(440px,92vw);background:#fff;border-radius:20px;padding:22px;color:#16213a}
.v46md h2{margin:0 0 8px;font:700 22px Poppins,sans-serif}.v46md p{font-size:15px;line-height:1.5}
.v46btn{display:block;width:100%;border:0;border-radius:12px;padding:13px;background:#1f2a5c;color:#fff;font:600 15px Poppins,sans-serif;cursor:pointer;margin-top:8px}
.v46lnk{display:block;margin:10px auto 0;border:0;background:none;color:#5b4bd6;font:600 14px Poppins,sans-serif;cursor:pointer}
.v46hand{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap;background:#f5f3ff;border:1px solid #ddd6fe;border-radius:16px;padding:14px 16px;margin:0 0 14px}
.v46hand b{display:block;font-size:16px}.v46hand span{font-size:14px;color:#4b4f63}.v46hand .v46btn{width:auto;margin:0;padding:11px 16px}
/* #6 guided tours */
.v46tour{position:fixed;left:0;right:0;bottom:calc(84px + env(safe-area-inset-bottom));z-index:1400;display:flex;justify-content:center;pointer-events:none;font-family:Poppins,Inter,sans-serif}
.v46tc{pointer-events:auto;width:min(420px,92vw);background:#1f2a5c;color:#fff;border-radius:18px;padding:14px 16px;box-shadow:0 10px 30px #0d1b3a55}
.v46tc small{opacity:.75;font-size:13px}.v46tc h3{margin:2px 0 4px;font:700 18px Poppins,sans-serif;color:#fff}.v46tc p{margin:0 0 10px;font-size:15px;line-height:1.45;color:#e9ecf8}
.v46tr{display:flex;justify-content:space-between;align-items:center;gap:8px}.v46tr span{display:flex;gap:8px}
.v46btn2{border:0;border-radius:10px;padding:9px 14px;background:#fff;color:#1f2a5c;font:600 14px Poppins,sans-serif;cursor:pointer}
.v46btn2.ghost{background:#ffffff26;color:#fff}
.v46tc .v46lnk{color:#cfc8ff;margin:0;padding:6px 0}
.v46rpc{display:flex;flex-wrap:wrap;gap:6px 12px;align-items:center;margin-top:12px}.v46rpc span{flex:1;font-size:14px;color:#5a6172}
@media(min-width:900px){.v46tour{bottom:28px}}
.v46pp{display:flex;flex-direction:column;gap:6px;margin:0 0 10px}.v46pp input{padding:10px;border-radius:10px;border:0;font-size:16px}
.v46tc a.v46btn2{display:inline-block;text-decoration:none}.v46tc #v46pm{font-size:14px;margin:6px 0 0}
html.v1046 .v44lb{top:calc(8px + env(safe-area-inset-top))!important;right:10px!important;padding:7px 12px;font-size:13px}

/* V1474: tour highlight + card moves to the top when it would cover the highlighted thing */
.v46hl{outline:3px solid #7c5cff!important;outline-offset:4px;border-radius:12px;box-shadow:0 0 0 9999px #0d1b3a33!important;z-index:1300}
.v46hl.v46rel{position:relative}
.v46tour.v46top{bottom:auto;top:calc(12px + env(safe-area-inset-top))}

/* simplev-fix 1023: phone tiles - keep words whole, chip wraps below */
@media (max-width:700px){html.v1046.simplev .s2tile{flex-wrap:wrap;row-gap:.4rem}html.v1046.simplev .s2tile b{overflow-wrap:normal;word-break:normal}html.v1046.simplev .s2tile .s2chip{margin-left:0}}

/* V10.8.1613 (TEST) anchored tour card: sits beside the highlighted target, never on it (positions set by v46aim) */
.v46tour.v46anc{position:fixed;inset:0;bottom:0;display:block;pointer-events:none}
.v46tour.v46anc .v46tc{position:fixed;margin:0;max-height:calc(100vh - 20px);overflow:auto;box-sizing:border-box}
/* V10.8.1613 typed text, placeholders and autofill are dark on white in every tour-popup input */
.v46tc input:not([type=file]),.v46tc select,.v46tc textarea{color:#16213a!important;-webkit-text-fill-color:#16213a!important;caret-color:#16213a;background:#fff!important}
.v46tc input::placeholder,.v46tc textarea::placeholder{color:#5a6172!important;-webkit-text-fill-color:#5a6172!important;opacity:1}
.v46tc input:-webkit-autofill,.v46tc input:-webkit-autofill:focus,.v46tc input:-webkit-autofill:hover{-webkit-text-fill-color:#16213a!important;box-shadow:0 0 0 1000px #fff inset!important;caret-color:#16213a}
/* V10.8.1613 last step: Study Assist+ buttons */
.v46sa{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 10px}
.v46sa .v46btn2{flex:1 1 auto;min-height:44px}
.v46sa .v46btn2:disabled{opacity:.7;cursor:default}
.v46sa #v46pm{flex:1 0 100%;margin:0;font-size:14px}
/* V10.8.1646 flicker fix 2: full-screen dim that stands in while the highlighted target is being redrawn (same colour as the highlight shadow, so the page never flashes light) */
.v46tour.v46dim::before{content:"";position:fixed;inset:0;background:#0d1b3a33;pointer-events:none;z-index:1299}

/* V10.8.1674 tourphone: compact guided-tour card on phones (<=520px). Desktop unchanged. Off: localStorage tp1674=0 (class tp1674off) */
@media (max-width:520px){
html:not(.tp1674off) .v46tc{width:min(calc(100vw - 20px),360px)!important;padding:9px 12px 8px;border-radius:14px;max-height:min(44vh,300px);box-shadow:0 6px 20px #0d1b3a55}
html:not(.tp1674off) .v46tc small{font-size:11px;line-height:1.2;display:block}
html:not(.tp1674off) .v46tc h3{font-size:15px;line-height:1.25;margin:1px 0 2px}
html:not(.tp1674off) .v46tc p{font-size:13px;line-height:1.35;margin:0 0 5px}
html:not(.tp1674off) .v46tc .v46lnk{font-size:13px;padding:3px 0;margin:0 0 2px;text-align:left}
html:not(.tp1674off) .v46tc .v46tr{gap:6px;flex-wrap:nowrap}
html:not(.tp1674off) .v46tc .v46tr span{gap:6px;flex:0 0 auto}
html:not(.tp1674off) .v46tc .v46tr .v46lnk{font-size:12.5px;padding:6px 0;margin:0;white-space:nowrap}
html:not(.tp1674off) .v46tc .v46btn2{padding:6px 12px;font-size:13px;border-radius:9px;min-height:34px;white-space:nowrap}
html:not(.tp1674off) .v46tc .v46sa .v46btn2{min-height:36px;padding:6px 10px;flex:1 1 40%}
html:not(.tp1674off) .v46tc .v46sa,html:not(.tp1674off) .v46tc .v46pp{gap:6px;margin:0 0 6px}
html:not(.tp1674off) .v46tc #v46pm,html:not(.tp1674off) .v46tc .v46sa #v46pm{font-size:12px;margin:4px 0 0}
html:not(.tp1674off) .v46tc input:not([type=file]),html:not(.tp1674off) .v46tc select{padding:7px 9px;font-size:16px}
}

/* V10.8.1679 tourphone2: the "more" button only exists in the slim bar; slim one-line docked bar on phones when the full card would cover what the step is about. Off: localStorage tp1674=0. Desktop unchanged. */
.v46mr{display:none}
@media(max-width:520px){
html:not(.tp1674off) .v46tour.v46slim .v46mr,html:not(.tp1674off) .v46tour.v46open .v46mr{display:inline-flex;align-items:center;justify-content:center;min-width:34px;padding:4px 8px!important;font-size:16px!important;line-height:1}
html:not(.tp1674off) .v46tour.v46slim:not(.v46open) .v46tc{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;column-gap:6px;row-gap:2px;padding:7px 8px 7px 12px;max-height:none;overflow:hidden;border-radius:12px}
html:not(.tp1674off) .v46tour.v46slim:not(.v46open) .v46tc small{display:none}
html:not(.tp1674off) .v46tour.v46slim:not(.v46open) .v46tc h3{grid-area:1/1;margin:0;font-size:13.5px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html:not(.tp1674off) .v46tour.v46slim:not(.v46open) .v46tc h3::before{content:attr(data-st) "  ";font-weight:600;opacity:.65;font-size:12px}
html:not(.tp1674off) .v46tour.v46slim:not(.v46open) .v46tc>p{grid-area:2/1/3/4;margin:0;font-size:12px;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html:not(.tp1674off) .v46tour.v46slim:not(.v46open) .v46tc>p#v46pm,html:not(.tp1674off) .v46tour.v46slim:not(.v46open) .v46tc>#v46ph,html:not(.tp1674off) .v46tour.v46slim:not(.v46open) .v46tc>#v46sp,html:not(.tp1674off) .v46tour.v46slim:not(.v46open) .v46tc>label,html:not(.tp1674off) .v46tour.v46slim:not(.v46open) .v46tc>.v46sa{display:none}
html:not(.tp1674off) .v46tour.v46slim:not(.v46open) .v46tc .v46tr{display:contents}
html:not(.tp1674off) .v46tour.v46slim:not(.v46open) .v46tc .v46tr>.v46lnk{grid-area:1/2;font-size:11.5px;padding:4px 6px;min-height:30px;margin:0}
html:not(.tp1674off) .v46tour.v46slim:not(.v46open) .v46tc .v46tr>span{grid-area:1/3;display:flex;gap:4px;align-items:center}
html:not(.tp1674off) .v46tour.v46slim:not(.v46open) .v46tc .v46tr .v46btn2{min-height:30px;padding:4px 10px;font-size:12px;border-radius:8px}
html:not(.tp1674off) .v46tour.v46open .v46tc{max-height:calc(100vh - 90px);overflow:auto}
}
