/* Tuition landing + sign-in from the image-service Tuition and Sign-in screens (2026-11-21). Real data only. */
/* ---------- tuition landing ---------- */
.tu-page .s-hero h1{font-size:clamp(40px,4.6vw,60px)!important;line-height:1.06}
.tu-page .s-hero .s-wrap{padding-block:26px}@media(min-width:861px){.tu-page .s-hero .s-wrap{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr)}}
.tu-page .s-hero-photo{border-radius:22px;aspect-ratio:16/9;-webkit-mask:linear-gradient(90deg,transparent 0,#000 18%);mask:linear-gradient(90deg,transparent 0,#000 18%)}
.tu-page .s-actions{display:flex;flex-wrap:wrap;gap:14px}
.tu-page .s-actions .s-btn{font-family:Georgia,"Times New Roman",serif;font-size:19px;padding:14px 26px;border-radius:12px;background:#ff8a6b;color:#1d2b28;border:0}
.tu-page .s-actions .s-btn:hover{background:#ff654f}
.tu-page .s-actions .s-btn.ghost{background:transparent;border:2px solid #17695a;color:#17463c}
.tu-page .s-actions .s-btn.ghost:hover{background:#e3f1e6}
.tu-page .s-steps{border:1.5px solid #cfe3d6;background:#fffdf9}
.tu-page .s-step{padding:20px 24px;align-items:center}
.tu-page .s-step .s-ico{width:60px;height:60px;padding:14px;background:#e3f1e6;color:#17695a}
.tu-page .s-step h3{font-size:22px}
.tu-page .s-step p{font-size:15.5px;color:#33433e}
.tu-page .section-head h2,.tu-page #publicTeachers~h2,.tu-page main>section>h2{font-family:Georgia,"Times New Roman",serif;color:#17463c;font-size:clamp(26px,2.6vw,34px)}
.tu-page .section-head a::after{content:" \2192"}
.tu-cards{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px}
.tu-cards>.empty,.tu-cards>.loading{grid-column:1/-1;max-width:560px}
.tu-card{display:grid;grid-template-columns:96px minmax(0,1fr);gap:12px;align-items:start;background:#fffdf9;border:1.5px solid #cfe3d6;border-radius:16px;padding:12px;min-width:0}
.tu-ava{width:96px;height:96px;border-radius:12px;background:#d7ecdf;color:#17463c;display:flex;align-items:center;justify-content:center;font-family:Georgia,serif;font-size:32px}
.tu-card h3{font-family:Georgia,serif;font-weight:400;color:#17463c;font-size:21px;margin:6px 0 4px;line-height:1.15}
.tu-card p{margin:0 0 4px;font-size:14px;color:#33433e}
.tu-pill{display:inline-block;background:#d7ecdf;color:#17463c;border-radius:8px;padding:2px 10px;font-size:14px}
.tu-by{grid-column:1/-1;font-size:13.5px;color:#4f5d58;margin:0}
.tu-foot{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:10px}
.tu-price{font-family:Georgia,serif;font-size:19px;color:#1d2b28}
.tu-go{display:inline-flex;background:#ff8a6b;color:#1d2b28!important;text-decoration:none!important;border-radius:10px;padding:8px 14px;font-size:14.5px;white-space:nowrap}
.tu-go:hover{background:#ff654f}
.tu-teacher h3::after{content:"";display:inline-block;width:18px;height:18px;margin-left:8px;vertical-align:-2px;border-radius:50%;background:#1f9d55 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m7 12.5 3 3 7-7' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat}
.tu-teacher .tu-bio{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
@media(max-width:1100px){.tu-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:860px){.tu-page .s-hero .s-wrap{grid-template-columns:1fr}.tu-page .s-hero-photo{-webkit-mask:none;mask:none}}
@media(max-width:600px){.tu-cards{grid-template-columns:1fr!important}.tu-page .s-actions .s-btn{font-size:17px;padding:12px 18px}}

/* ---------- sign-in ---------- */
body[data-page=portal] #authArea:not([hidden]){display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.95fr);grid-template-areas:"sign photo" "student photo";gap:20px;align-items:start}
body[data-page=portal] #authArea .auth-grid{grid-area:sign;max-width:none;display:block}
body[data-page=portal] #authArea .auth-photo{grid-area:photo;margin:0;align-self:stretch;border-radius:22px;overflow:hidden;min-height:420px;background:#e3f1e6}
body[data-page=portal] #authArea .auth-photo img{width:100%;height:100%!important;object-fit:cover;display:block}
body[data-page=portal] #authArea #studentAccess{grid-area:student}
body[data-page=portal] #signIn{border:1.5px solid #9fcfb5!important;border-radius:18px!important;padding:30px 34px!important}
body[data-page=portal] #signIn h2{font-family:Georgia,"Times New Roman",serif;color:#17463c;font-size:clamp(28px,2.8vw,36px);margin:0 0 10px;line-height:1.1}
body[data-page=portal] #signIn>p:first-of-type{font-size:17px;color:#1d2b28;margin:0 0 18px}
body[data-page=portal] .google-signin{display:flex;justify-content:center;min-height:44px}
body[data-page=portal] #codeRequestForm label,body[data-page=portal] #codeVerifyForm label{font-weight:600;color:#17463c;font-size:16px}
body[data-page=portal] #codeRequestForm input,body[data-page=portal] #codeVerifyForm input{border:1.5px solid #9fcfb5;border-radius:10px;min-height:48px;font-size:16px;padding:8px 14px}
body[data-page=portal] .auth-grid form button[type=submit]{font-family:Georgia,"Times New Roman",serif;font-size:19px;font-weight:400;background:#ff8a6b;min-height:52px}
body[data-page=portal] .auth-grid form button[type=submit]:hover{background:#ff654f}
body[data-page=portal] #studentAccess{position:relative;border:1.5px solid #cfe3d6;border-radius:18px;padding:18px 20px 18px 92px;background:#fffdf9}
body[data-page=portal] #studentAccess::before{content:"";position:absolute;left:20px;top:22px;width:56px;height:48px;border-right:1.5px solid #cfe3d6;background:#17695a;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='8' cy='8' r='3.5'/%3E%3Ccircle cx='17' cy='9.5' r='2.8'/%3E%3Cpath d='M1.5 20a6.5 6.5 0 0 1 13 0zM13.5 20a5 5 0 0 1 9 0z'/%3E%3C/svg%3E") left center/40px no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='8' cy='8' r='3.5'/%3E%3Ccircle cx='17' cy='9.5' r='2.8'/%3E%3Cpath d='M1.5 20a6.5 6.5 0 0 1 13 0zM13.5 20a5 5 0 0 1 9 0z'/%3E%3C/svg%3E") left center/40px no-repeat}
body[data-page=portal] #studentAccess h2{font-family:Georgia,"Times New Roman",serif;color:#17463c;font-size:24px;margin:0 0 4px}
body[data-page=portal] #studentAccess p{margin:0 0 10px;font-size:15px}
body[data-page=portal] #studentForm{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 10px;align-items:end}
body[data-page=portal] #studentForm label{grid-column:1/-1;font-size:14px;color:#17463c}
body[data-page=portal] #studentForm input{min-height:44px;border:1.5px solid #9fcfb5;border-radius:10px;margin:0}
body[data-page=portal] #studentForm .form-actions{margin:0}
body[data-page=portal] #studentForm button[type=submit]{width:auto;background:#d7ecdf;border:1.5px solid #9fcfb5;color:#17463c;font-family:Georgia,serif;font-size:16px;font-weight:400;min-height:44px;padding:8px 16px;border-radius:10px}
body[data-page=portal] #studentForm button[type=submit]:hover{background:#c5e3cf}
body[data-page=portal] #studentForm .form-status{grid-column:1/-1}
@media(max-width:860px){body[data-page=portal] #authArea:not([hidden]){grid-template-columns:1fr;grid-template-areas:"photo" "sign" "student"}body[data-page=portal] #authArea .auth-photo{min-height:200px;max-height:240px}body[data-page=portal] #signIn{padding:22px 18px!important}body[data-page=portal] #studentAccess{padding-left:20px}body[data-page=portal] #studentAccess::before{display:none}}
body[data-page=portal][data-entry=student] #authArea:not([hidden]){grid-template-areas:"student photo" "sign photo"}
.tu-page .s-hero h1{font-size:clamp(36px,3.9vw,52px)!important}
@media(min-width:861px){.tu-page .s-hero .s-wrap{grid-template-columns:minmax(0,1fr) minmax(0,1.1fr)}}
.tu-foot{flex-wrap:wrap}.tu-price{font-size:15.5px;line-height:1.3;flex:1 1 140px}
body[data-page=portal] article#studentAccess{padding:18px 20px 18px 92px!important}
body[data-page=portal] #signIn h2{font-size:clamp(30px,3vw,40px)!important}
@media(max-width:860px){body[data-page=portal] article#studentAccess{padding:18px 20px!important}}
body[data-page=portal] .auth-grid form#codeRequestForm button[type=submit],body[data-page=portal] .auth-grid form#codeVerifyForm button[type=submit]{background:#ff8a6b!important}
@media(max-width:860px){.tu-page .s-hero .s-wrap{grid-template-columns:minmax(0,1fr)!important}}

/* 2026-11-27: sections opened from a link or the nav scroll clear of the sticky site header */
#workspaceContent{scroll-margin-top:80px}
@media(max-width:900px){.hl-workspace #workspaceContent{min-height:calc(100vh - 96px)}}
.class-rooms-caps .class-rooms-na{color:#4f5d58}

/* new-account role choice on the portal (2026-11-27) */
body[data-page=portal] .hl-role-choice{border:1.5px solid #cfe3d6;border-radius:12px;padding:8px 14px 10px;margin:0 0 14px;display:flex;flex-wrap:wrap;gap:6px 22px;align-items:center}
body[data-page=portal] .hl-role-choice legend{padding:0 6px;color:#17463c;font-size:14.5px}
body[data-page=portal] .hl-role-opt{display:inline-flex;align-items:center;gap:6px;font-size:16px;color:#1d2b28;cursor:pointer}
body[data-page=portal] .hl-role-opt input{width:18px;height:18px;accent-color:#17695a;margin:0}

.hl-workspace button.hl-join-session{background:#ff8a6b!important;color:#1d2b28!important;border:0!important;border-radius:10px!important;font-size:16px;padding:10px 20px;min-height:44px}
.hl-workspace button.hl-join-session:hover{background:#ff654f!important}

/* Owner walkthrough 2026-11-27: every workspace menu item has its own icon (not the plain circle). */
.hl-workspace .workspace-nav button[data-view="class-recordings"]{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M10 8l6 4-6 4z'/%3E%3C/svg%3E")}
.hl-workspace .workspace-nav button[data-view="learning-messages"]{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5h16v11H8l-4 4z'/%3E%3C/svg%3E")}
.hl-workspace .workspace-nav button[data-view="learning-tools"]{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 6l4 4-9 9H5v-4z'/%3E%3Cpath d='M12 8l4 4'/%3E%3C/svg%3E")}
.hl-workspace .workspace-nav button[data-view="learning-board"]{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='12' rx='1'/%3E%3Cpath d='M8 20l4-4 4 4'/%3E%3C/svg%3E")}
.hl-workspace .workspace-nav button[data-view="class-calendar"]{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='5' width='16' height='15' rx='2'/%3E%3Cpath d='M4 10h16M8 3v4M16 3v4'/%3E%3Cpath d='M8 14h2M14 14h2'/%3E%3C/svg%3E")}
.hl-workspace .workspace-nav button[data-view="class-reminders"]{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 16V11a6 6 0 0 1 12 0v5l2 2H4z'/%3E%3Cpath d='M10 20a2 2 0 0 0 4 0'/%3E%3C/svg%3E")}
.hl-workspace .workspace-nav button[data-view="teacher-operations"]{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6h10M4 12h16M4 18h10'/%3E%3Ccircle cx='18' cy='6' r='2'/%3E%3Ccircle cx='18' cy='18' r='2'/%3E%3C/svg%3E")}
.hl-workspace .workspace-nav button[data-view="teacher-onboarding"]{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='4' width='16' height='16' rx='2'/%3E%3Cpath d='M8 12l3 3 5-6'/%3E%3C/svg%3E")}
.hl-workspace .workspace-nav button[data-view="teacher-earnings"]{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='6' width='18' height='12' rx='2'/%3E%3Ccircle cx='12' cy='12' r='2.5'/%3E%3C/svg%3E")}
.hl-workspace .workspace-nav button[data-view="teacher-promotions"]{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 10v4h3l7 4V6L7 10z'/%3E%3Cpath d='M18 9a4 4 0 0 1 0 6'/%3E%3C/svg%3E")}
.hl-workspace .workspace-nav button[data-view="teacher-meetings"]{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='7' width='12' height='10' rx='2'/%3E%3Cpath d='M15 11l6-3v8l-6-3'/%3E%3C/svg%3E")}
.hl-workspace .workspace-nav button[data-view="paid-trials"]{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 12v8H4v-8'/%3E%3Cpath d='M2 8h20v4H2z'/%3E%3Cpath d='M12 8v12'/%3E%3C/svg%3E")}
.hl-workspace .workspace-nav button[data-view="support"]{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M9.5 9.5a2.5 2.5 0 1 1 3.5 2.3c-.6.3-1 .8-1 1.5V14'/%3E%3Cpath d='M12 17h.01'/%3E%3C/svg%3E")}
.hl-workspace .workspace-nav button[data-view="class-rooms"]{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20V5l8-2 8 2v15'/%3E%3Cpath d='M10 20v-5h4v5'/%3E%3C/svg%3E")}
.hl-workspace .workspace-nav button[data-view="learning-community"]{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='9' r='3'/%3E%3Ccircle cx='17' cy='10' r='2.5'/%3E%3Cpath d='M3 19c0-3 3-5 6-5s6 2 6 5'/%3E%3Cpath d='M15 15c3 0 6 1.5 6 4'/%3E%3C/svg%3E")}
.hl-workspace .workspace-nav button[data-view="learning-progress"]{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20V10M10 20V4M16 20v-7M22 20H2'/%3E%3C/svg%3E")}
.hl-workspace .workspace-nav button[data-view="admin-overview"]{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7'/%3E%3Crect x='14' y='3' width='7' height='7'/%3E%3Crect x='3' y='14' width='7' height='7'/%3E%3Crect x='14' y='14' width='7' height='7'/%3E%3C/svg%3E")}
/* The content panel is focused for screen readers after each menu click; no visible ring on that container. */
.hl-workspace .workspace-body[tabindex="-1"]:focus{outline:none!important;box-shadow:none!important}
/* Tables on phones: wrap at word boundaries, never mid-word. */
.hl-workspace .workspace-body table td,.hl-workspace .workspace-body table th{word-break:normal;overflow-wrap:normal;hyphens:manual}
@media(max-width:600px){.hl-workspace .workspace-body table{min-width:520px}.hl-workspace .workspace-body .table-wrap,.hl-workspace .workspace-body :has(>table){overflow-x:auto}}
/* Empty status boxes (no message yet) take no space. */
.hl-workspace .workspace-body .notice:empty,.hl-workspace .workspace-body [role=status]:empty{display:none}
/* Signed-in users must not see the sign-in form flash while the account is checked. It appears once the check says
   signed out, and in any case after 1.5 s so sign-in can never stay hidden (email sign-in fail-safe rule). */
body:not(.hl-auth-known) #authArea{animation:hl-auth-wait 1.5s steps(1,end) both}
@keyframes hl-auth-wait{from{visibility:hidden}to{visibility:visible}}
/* Join session: clear space from the agenda box above and the note below (owner screenshot 2026-11-27). */
.hl-workspace .data-card > .hl-join-session,.data-card > .hl-join-session{display:inline-flex;margin:14px 0 6px!important}
.data-card > .hl-join-session + div > .help,.data-card > .hl-join-closed{margin-top:6px}
.data-card > details + details,.data-card > details + .notice,.data-card > .notice + details{margin-top:12px}
