/* Portal-only social layout. Existing themes remain the source of every UI color. */
.portal-header-start{display:flex;align-items:center;gap:12px;min-width:0}
.portal-header-menu>summary{list-style:none;cursor:pointer}.portal-header-menu>summary::-webkit-details-marker{display:none}
@layer tk-components {
 body.tk-portal-signed-in{--social-surface:var(--sp-glass-solid);--social-soft:var(--sp-lift);--social-text:var(--sp-text);--social-muted:var(--sp-muted);--social-accent:var(--accent-solid);--social-hover:var(--sp-blue-dim);}
 body.tk-portal-signed-in .portal-topbar{height:68px!important;min-height:68px!important;padding:8px 18px!important;grid-template-columns:minmax(240px,1fr) minmax(280px,620px) minmax(240px,1fr)!important;gap:14px!important;border:0!important;background:var(--social-surface)!important;box-shadow:0 1px 5px color-mix(in srgb,var(--sp-text) 9%,transparent)!important;}
 body.tk-portal-signed-in .portal-header-start{min-width:0;gap:10px;}
 body.tk-portal-signed-in .portal-header-start .tk-pnav-brand{flex:0 0 auto;gap:0;}
 body.tk-portal-signed-in .portal-header-start .tk-pnav-word{display:none!important;}
 body.tk-portal-signed-in .portal-topbar .tk-pnav-logo{width:40px!important;height:44px!important;object-fit:contain;}
 body.tk-portal-signed-in .portal-global-search{display:flex!important;flex:1;flex-basis:auto!important;width:100%;max-width:270px;height:40px!important;margin:0;border:0!important;border-radius:28px!important;background:var(--social-soft)!important;padding:0 12px!important;}
 body.tk-portal-signed-in .portal-global-search input{font-size:14px!important;}
 body.tk-portal-signed-in .portal-header-center{display:block!important;grid-column:2!important;grid-row:1!important;}
 body.tk-portal-signed-in .portal-primary-nav{display:flex!important;justify-content:center;align-items:stretch;gap:8px;height:60px;}
 body.tk-portal-signed-in .portal-primary-nav>button{position:relative;display:grid;place-items:center;flex:1;max-width:106px;min-width:44px;min-height:44px;padding:8px!important;border:0!important;border-radius:8px!important;background:transparent!important;color:var(--social-muted)!important;cursor:pointer;}
 body.tk-portal-signed-in .portal-primary-nav>button:hover{background:var(--social-soft)!important;}
 body.tk-portal-signed-in .portal-primary-nav>button.is-active{color:var(--social-accent)!important;}
 body.tk-portal-signed-in .portal-primary-nav>button.is-active::after{content:'';position:absolute;bottom:-4px;left:4px;right:4px;height:3px;border-radius:3px;background:var(--social-accent);}
 body.tk-portal-signed-in .portal-primary-nav .pw-icon{width:25px;height:25px;stroke-width:1.9;}
 body.tk-portal-signed-in .portal-account{justify-content:flex-end;gap:8px!important;}
 body.tk-portal-signed-in .portal-account .sp-student-hd{display:flex!important;gap:8px!important;}
 body.tk-portal-signed-in :is(.portal-icon-button,.portal-header-menu>summary,.portal-account .tkn-bar>button:first-child){position:relative;display:flex!important;align-items:center;justify-content:center;flex:0 0 auto;width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;padding:9px!important;margin:0;border:0!important;border-radius:50%!important;background:var(--social-soft)!important;color:var(--social-text)!important;box-shadow:none!important;cursor:pointer;}
 body.tk-portal-signed-in :is(.portal-icon-button,.portal-header-menu>summary,.portal-account .tkn-bar>button:first-child):hover{background:var(--social-hover)!important;}
 body.tk-portal-signed-in .portal-icon-button .pw-icon,.portal-header-menu>summary>.pw-icon{width:21px;height:21px;}
 body.tk-portal-signed-in .portal-account-menu>summary{flex:0 0 auto!important;width:auto!important;padding:0!important;gap:8px;background:transparent!important;}
 body.tk-portal-signed-in .portal-account-menu .sp-avatar{width:40px!important;height:40px!important;flex-basis:40px!important;}
 body.tk-portal-signed-in .portal-account-menu .sp-avatar :is(.ak-avatar,img){width:40px!important;height:40px!important;border-radius:50%;object-fit:cover;}
 body.tk-portal-signed-in .portal-account-copy{display:none;min-width:0;}
 body.tk-portal-signed-in .portal-header-dropdown>.portal-account-copy{display:block;grid-column:1/-1;padding:7px 10px;order:-1;}
 body.tk-portal-signed-in .portal-header-dropdown>.portal-account-copy #resStudentName{max-width:none;white-space:normal;font-size:14px!important;}
 body.tk-portal-signed-in .portal-account-copy #resStudentName{max-width:140px;font:650 12px/1.4 system-ui!important;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
 body.tk-portal-signed-in .portal-account-chevron{display:none!important;}
 body.tk-portal-signed-in .portal-header-menu{position:relative;}
 body.tk-portal-signed-in .portal-header-dropdown{position:absolute;right:0;top:calc(100% + 14px);z-index:1450;width:min(330px,calc(100vw - 24px));display:grid!important;gap:6px;padding:12px!important;border:0!important;border-radius:14px;background:var(--social-surface)!important;color:var(--social-text);box-shadow:0 8px 28px color-mix(in srgb,var(--sp-text) 16%,transparent)!important;}
 body.tk-portal-signed-in .portal-header-menu:not([open])>.portal-header-dropdown{display:none!important;}
 body.tk-portal-signed-in .portal-header-dropdown h2{font:750 18px/1.4 system-ui;margin:0 0 5px;grid-column:1/-1;}
 body.tk-portal-signed-in .portal-header-dropdown button{display:flex!important;align-items:center;gap:10px;width:100%!important;min-height:44px!important;padding:10px!important;border:0!important;border-radius:9px!important;background:transparent!important;color:var(--social-text)!important;font:550 14px/1.5 system-ui!important;text-align:left;cursor:pointer;}
 body.tk-portal-signed-in .portal-header-dropdown button:hover{background:var(--social-soft)!important;}
 body.tk-portal-signed-in .portal-app-grid{grid-template-columns:1fr 1fr;}
 body.tk-portal-signed-in .portal-message-count,body.tk-portal-signed-in .portal-account .tkn-count{position:absolute;top:-4px;right:-3px;min-width:18px;padding:2px 4px;border-radius:20px;background:var(--social-accent);color:var(--sp-on-accent);font:700 11px/1.2 system-ui;text-align:center;}
 body.tk-portal-signed-in .portal-message-count[hidden]{display:none!important;}
 body.tk-portal-signed-in #studentResultsArea:not(.hidden){grid-template-columns:230px minmax(0,1fr)!important;gap:20px!important;padding:0 16px!important;min-height:calc(100dvh - 68px);background:transparent!important;}
 body.tk-portal-signed-in #studentResultsArea .sp-portal-sidebar{top:68px!important;height:calc(100dvh - 68px)!important;padding:16px 0!important;gap:18px!important;border:0!important;background:transparent!important;scrollbar-width:thin;}
 body.tk-portal-signed-in #studentResultsArea :is(.sp-sidebar-route,.sp-sidebar-tool){min-height:44px!important;border:0!important;border-radius:9px!important;padding:10px!important;gap:12px!important;font-size:14px!important;}
 body.tk-portal-signed-in #studentResultsArea :is(.sp-sidebar-route,.sp-sidebar-tool)>.pw-icon{width:23px;height:23px;flex-basis:23px;color:var(--social-accent);}
 body.tk-portal-signed-in #studentResultsArea .sp-sidebar-route.is-active{background:var(--social-soft)!important;}
 body.tk-portal-signed-in #studentResultsArea .sp-sidebar-caption{font-size:11px;letter-spacing:.015em;}
 body.tk-portal-signed-in #studentResultsArea :is(.sp-sidebar-filters,.sp-sidebar-footer){border:0!important;}
 body.tk-portal-signed-in #studentResultsArea .sp-select{border:0!important;border-radius:9px;background:var(--social-soft)!important;}
 body.tk-portal-signed-in .sp-workspace-main{width:100%;max-width:1120px!important;min-width:0;}
 body.tk-portal-signed-in .sp-workspace-main>.sp-panel-body{padding:16px 0!important;}
 body.tk-portal-signed-in #studentResultsArea[data-portal-view=home] .sp-learning-overview{position:absolute!important;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);margin:0!important;}
 body.tk-portal-signed-in #studentResultsArea :is(.sp-academic-reminder,#mydayContainer,.ak-card,#portalRecordSection,.sp-grade-card,.sp-mat-card,.sp-metric,.sp-score-chip,.tka-pair>article,.tka-empty,.portal-top-day-views){border:0!important;box-shadow:none!important;}
 body.tk-portal-signed-in #studentResultsArea .sp-academic-reminder{padding:10px 12px;margin:0 0 14px;border-radius:10px;background:var(--social-surface)!important;}
 body.tk-portal-signed-in #studentResultsArea .sp-academic-reminder summary{font-size:13px!important;}
 body.tk-portal-signed-in #studentResultsArea .sp-card-accordion-header{border:0!important;}
 body.tk-portal-signed-in #studentResultsArea .sp-grade-card{background:var(--social-soft)!important;}
 body.tk-portal-signed-in #studentResultsArea #mydayContainer{padding:0!important;background:transparent!important;margin-bottom:16px;}
 body.tk-portal-signed-in #studentResultsArea #mydayContainer>.chat-story-section-heading{padding:0 2px;}
 body.tk-portal-signed-in #mydayContainer>.chat-story-audience{font-size:12px;}
 body.tk-portal-signed-in #mydayContainer>.chat-story-controls{padding:12px;background:var(--social-surface);border-radius:12px;align-items:center;gap:10px;}
 body.tk-portal-signed-in #mydayContainer .portal-create-menu{flex:1;}
 body.tk-portal-signed-in #mydayContainer .portal-create-menu>summary{display:flex;align-items:center;min-height:42px;padding:10px 16px;border:0!important;border-radius:24px;background:var(--social-soft)!important;color:var(--social-text)!important;font-size:14px!important;}
 body.tk-portal-signed-in #mydayContainer .portal-create-menu>div{border:0!important;box-shadow:0 6px 20px color-mix(in srgb,var(--sp-text) 14%,transparent);}
 body.tk-portal-signed-in #mydayContainer .chat-story-controls>button{border:0!important;background:var(--social-soft)!important;border-radius:50%;width:42px;height:42px;padding:10px;font-size:0!important;}
 body.tk-portal-signed-in #mydayContainer .chat-story-controls>button::before{content:'↻';font-size:24px;}
 body.tk-portal-signed-in #studentResultsArea[data-portal-view=home] #mydayContainer .chat-day-layout{display:flex!important;flex-direction:column;gap:18px!important;}
 body.tk-portal-signed-in #mydayContainer .chat-day-latest{width:100%;}
 body.tk-portal-signed-in #studentResultsArea[data-portal-view=home] #mydayContainer .chat-day-latest .chat-story-feed{display:grid!important;grid-template-rows:repeat(2,178px)!important;grid-template-columns:none!important;grid-auto-columns:112px!important;grid-auto-flow:column!important;max-height:none!important;overflow-x:auto!important;overflow-y:hidden!important;gap:9px!important;padding:2px 0 8px!important;scrollbar-width:thin;}
 body.tk-portal-signed-in #studentResultsArea[data-portal-view=home] #mydayContainer .chat-story{height:178px!important;border:0!important;}
 body.tk-portal-signed-in #mydayContainer .portal-day-view-all{border:0!important;background:transparent!important;color:var(--social-accent)!important;}
 body.tk-portal-signed-in #mydayContainer .chat-day-knowledge{width:100%;margin:0;border:0!important;box-shadow:none!important;background:transparent!important;padding:0!important;}
 body.tk-portal-signed-in #mydayContainer .chat-knowledge-preview{padding:16px!important;border:0!important;border-radius:12px!important;background:var(--social-surface)!important;margin:12px 0;display:flex;flex-direction:column;gap:7px;}
 body.tk-portal-signed-in #mydayContainer .chat-knowledge-preview>small:last-child{order:-1;font-size:13px;font-weight:650;color:var(--social-text);}
 body.tk-portal-signed-in #mydayContainer .chat-knowledge-preview>button{font-size:16px!important;text-align:left;line-height:1.4!important;}
 body.tk-portal-signed-in #mydayContainer .chat-knowledge-preview>p{font-size:14px!important;line-height:1.6!important;}
 body.tk-portal-signed-in #studentResultsArea .ak-community-moderators{border:0!important;}
 body.tk-portal-signed-in #studentResultsArea :is(.ak-moderator-card,.ak-card){border:0!important;}
 body.tk-portal-signed-in #studentResultsArea .ak-card{border-radius:12px;background:var(--social-surface)!important;}
 body.tk-portal-signed-in .portal-community-rail{position:sticky;top:84px;align-self:start;max-height:calc(100dvh - 100px);overflow:auto;scrollbar-width:thin;min-width:0;padding:0 0 20px;}
 body.tk-portal-signed-in .portal-community-rail[hidden]{display:none!important;}
 body.tk-portal-signed-in #studentResultsArea .portal-community-rail .portal-top-day-views{padding:0!important;background:transparent!important;}
 body.tk-portal-signed-in .portal-community-rail h4{font:700 15px/1.4 system-ui!important;margin:0 0 7px;color:var(--social-text);}
 body.tk-portal-signed-in .portal-community-rail .chat-day-subtitle{font:12px/1.5 system-ui;color:var(--social-muted);}
 body.tk-portal-signed-in .portal-community-rail .chat-day-ranked{display:grid;gap:3px;}
 body.tk-portal-signed-in .portal-community-rail .chat-day-rank-item{border:0!important;border-radius:9px!important;background:transparent!important;min-height:65px;padding:8px!important;}
 body.tk-portal-signed-in .portal-community-rail .chat-day-rank-item:hover{background:var(--social-soft)!important;}
 body.tk-portal-signed-in .portal-community-rail .chat-day-rank-image{width:42px;height:50px;border-radius:8px;}
 body.tk-portal-signed-in .portal-community-rail .chat-day-rank-copy strong{font-size:12px;}
 body.tk-portal-signed-in .portal-community-rail .chat-day-rank-copy span{font-size:11px;}
 body.tk-portal-signed-in .portal-community-rail .ak-community-moderators{margin-top:22px;padding-top:0!important;}
 body.tk-portal-signed-in .portal-community-rail .ak-moderator-grid{display:grid;grid-template-columns:minmax(0,1fr)!important;gap:4px;}
 body.tk-portal-signed-in .portal-community-rail .ak-moderator-card{display:grid!important;grid-template-columns:42px minmax(0,1fr);text-align:left;gap:2px 10px;align-items:center;background:transparent!important;padding:9px!important;border-radius:9px;}
 body.tk-portal-signed-in .portal-community-rail .ak-moderator-card>.tk-role-portrait{grid-column:1;grid-row:1/3;}
 body.tk-portal-signed-in .portal-community-rail .ak-moderator-avatar{width:40px;height:40px;}
 body.tk-portal-signed-in .portal-community-rail .ak-moderator-card>strong{grid-column:2;grid-row:1;justify-content:flex-start;}
 body.tk-portal-signed-in .portal-community-rail .ak-moderator-card>small{grid-column:2;grid-row:2;}
 body.tk-portal-signed-in .portal-community-rail .ak-moderator-card:hover{background:var(--social-soft)!important;}
 body.tk-portal-signed-in .tk-message-launch{display:none!important;}
 body.tk-portal-signed-in .portal-search-results{border:0!important;}
 body.tk-portal-signed-in [data-portal-status]{max-width:760px;margin:8px auto!important;padding:6px 12px!important;border:0!important;background:transparent!important;font-size:12px!important;}
 body.tk-portal-signed-in #studentResultsArea :is(.portal-top-day-views .chat-day-rank-item,#portalAnnouncements button){border:0!important;}
 body.tk-portal-signed-in :is(.tk-chat,.tk-chat-feature,.ak-dialog,.tka-dialog,.tkn-dialog,.tk-consent){border:0!important;}
 
 @media(min-width:1180px){
  body.tk-portal-signed-in #studentResultsArea[data-portal-view=home]:not(.hidden){grid-template-columns:240px minmax(0,760px) 260px!important;justify-content:space-between;}
  body.tk-portal-signed-in #studentResultsArea[data-sidebar-collapsed=true][data-portal-view=home]{grid-template-columns:68px minmax(0,760px) 260px!important;}
 }
 @media(min-width:881px){body.tk-portal-signed-in #studentResultsArea[data-sidebar-collapsed=true]{grid-template-columns:68px minmax(0,1fr)!important;}}
 @media(max-width:1179px){body.tk-portal-signed-in #studentResultsArea[data-portal-view=home] .sp-workspace-main{max-width:760px!important;}body.tk-portal-signed-in .portal-community-rail{display:none!important;}}
 @media(max-width:1000px){body.tk-portal-signed-in .portal-topbar{grid-template-columns:minmax(150px,1fr) minmax(230px,1.1fr) auto!important;gap:8px!important;padding:8px 12px!important;}body.tk-portal-signed-in .portal-primary-nav{gap:2px;}body.tk-portal-signed-in .portal-account{gap:5px!important;}body.tk-portal-signed-in :is(.portal-icon-button,.portal-header-menu>summary,.portal-account .tkn-bar>button:first-child){width:36px!important;min-width:36px!important;height:36px!important;min-height:36px!important;padding:8px!important;}body.tk-portal-signed-in .portal-account-menu .sp-avatar{width:36px!important;height:36px!important;flex-basis:36px!important;}}
 @media(max-width:880px){
  body.tk-portal-signed-in #studentResultsArea:not(.hidden){display:block!important;padding:0 12px!important;}
  body.tk-portal-signed-in #studentResultsArea .sp-portal-sidebar{height:auto!important;top:0!important;padding:18px 12px!important;background:var(--social-surface)!important;}
  body.tk-portal-signed-in #studentResultsArea .sp-workspace-main>.sp-panel-body{padding:14px 0!important;}
  body.tk-portal-signed-in #portalMenuToggle{border:0!important;}
 }
 @media(max-width:700px){
  body.tk-portal-signed-in .portal-topbar{height:112px!important;grid-template-columns:minmax(80px,1fr) auto!important;grid-template-rows:44px 44px!important;gap:8px!important;padding:8px 10px!important;}
  body.tk-portal-signed-in .portal-header-center{grid-column:1/-1!important;grid-row:2!important;}
  body.tk-portal-signed-in .portal-primary-nav{height:44px;gap:8px;}
  body.tk-portal-signed-in .portal-primary-nav>button.is-active::after{bottom:-8px;}
  body.tk-portal-signed-in .portal-header-start{gap:5px;}
  body.tk-portal-signed-in .portal-header-start .tk-pnav-logo{width:32px!important;height:38px!important;}
  body.tk-portal-signed-in .portal-global-search{padding:0 6px!important;height:36px!important;min-width:36px;}
  body.tk-portal-signed-in .portal-global-search>.pw-icon{width:17px;height:17px;flex-basis:17px;}
  body.tk-portal-signed-in .portal-global-search input{font-size:13px!important;padding:0!important;}
  body.tk-portal-signed-in #studentResultsArea:not(.hidden){padding:0 10px!important;}
  body.tk-portal-signed-in .portal-account{gap:4px!important;}
  body.tk-portal-signed-in .portal-account .sp-student-hd{gap:4px!important;}
  body.tk-portal-signed-in .portal-header-dropdown{position:fixed;top:62px;right:10px;}
  body.tk-portal-signed-in #studentResultsArea .sp-academic-reminder{font-size:12px;margin-bottom:12px;}
  body.tk-portal-signed-in #mydayContainer>.chat-story-section-heading h3{font-size:17px;}
  body.tk-portal-signed-in #mydayContainer .chat-story-audience{font-size:11px;}
  body.tk-portal-signed-in #mydayContainer .chat-story-controls{padding:10px;}
  body.tk-portal-signed-in #portalAnnouncements .tka-section-head h2{font-size:20px;}
  body.tk-portal-signed-in #portalAnnouncements .tka-section-head p{font-size:12px;}
  body.tk-portal-signed-in #portalAnnouncements .tka-section-head button{min-width:35px;padding:6px 8px;font-size:11px;border:0!important;}
 }
 @media(max-width:400px){body.tk-portal-signed-in .portal-global-search input{width:0;flex:1;min-width:0;}body.tk-portal-signed-in .portal-global-search input::placeholder{color:transparent;}body.tk-portal-signed-in #portalAppsMenu>summary{width:32px!important;min-width:32px!important;padding:7px!important;}body.tk-portal-signed-in .portal-search-results{position:fixed;top:61px;left:10px;right:10px;width:auto;}}
}
/* Nonmodal Chats panel is created only on explicit header interaction. */
body.tk-portal-signed-in .portal-chat-preview{position:fixed;z-index:1450;right:16px;top:76px;width:min(360px,calc(100vw - 20px));max-height:calc(100dvh - 92px);box-sizing:border-box;display:flex;flex-direction:column;gap:12px;padding:16px 12px 0;border:0;border-radius:14px;background:var(--sp-glass-solid);color:var(--sp-text);box-shadow:0 8px 28px color-mix(in srgb,var(--sp-text) 16%,transparent);font:14px/1.5 system-ui;}
body.tk-portal-signed-in .portal-chat-preview[hidden]{display:none!important}.portal-chat-preview *{box-sizing:border-box;min-width:0}.portal-chat-preview>header{display:flex;align-items:center;gap:7px}.portal-chat-preview h2{font-size:22px;margin:0;flex:1}.portal-chat-preview button{border:0;border-radius:9px;min-height:40px;padding:8px 10px;background:var(--sp-lift);color:var(--sp-text);font:inherit;cursor:pointer}.portal-chat-preview header>button{font-size:12px;padding:7px}.portal-chat-preview-search{display:grid;gap:4px;padding:0 4px;font-size:12px;color:var(--sp-muted)}.portal-chat-preview-search input{width:100%;border:0;border-radius:22px;padding:11px 13px;background:var(--sp-lift);color:var(--sp-text);font:14px system-ui}.portal-chat-preview-list{overflow:auto;overscroll-behavior:contain;min-height:60px;scrollbar-width:thin}.portal-chat-preview .portal-chat-preview-row{display:flex;align-items:center;gap:10px;width:100%;min-height:76px;background:transparent;text-align:left;}.portal-chat-preview-row:hover{background:var(--sp-lift)!important}.portal-chat-preview-row .chat-avatar{position:relative;display:grid;place-items:center;width:46px;height:46px;flex:0 0 46px;border-radius:50%;background:var(--sp-blue-dim);color:var(--sp-text);font-weight:700;overflow:visible}.portal-chat-preview-row .chat-avatar>img{width:46px;height:46px;object-fit:cover;border-radius:50%}.portal-chat-preview-row .chat-avatar>.tk-moderator-badge{position:absolute;right:-2px;bottom:-2px}.portal-chat-preview-copy{display:grid;gap:2px;flex:1;}.portal-chat-preview-copy>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13px;color:var(--sp-muted)}.portal-chat-preview-copy small{font-size:11px;color:var(--sp-muted)}.portal-chat-unread{border-radius:16px;padding:2px 6px;font-size:11px;background:var(--accent-solid);color:var(--sp-on-accent)}.portal-chat-preview-empty{padding:14px 8px;color:var(--sp-muted)}.portal-chat-preview>footer{flex:0 0 auto;display:grid;padding:10px 0;background:var(--sp-glass-solid)}.portal-chat-preview>footer button{color:var(--sp-text);background:transparent}.portal-chat-preview :focus-visible{outline:2px solid var(--accent-solid);outline-offset:2px}
@media(max-width:700px){body.tk-portal-signed-in .portal-chat-preview{top:120px;right:10px;max-height:calc(100dvh - 130px);}}

@layer tk-components {
 body.tk-portal-signed-in .portal-account-menu{flex:0 0 40px!important;width:40px!important;}
 body.tk-portal-signed-in .portal-account-menu>summary{width:40px!important;max-width:40px!important;overflow:visible;}
 body.tk-portal-signed-in .portal-account-menu .sp-profile-actions{position:fixed!important;inset:76px 14px auto auto!important;width:min(330px,calc(100vw - 24px))!important;min-width:0!important;max-height:calc(100dvh - 92px);height:auto!important;overflow:auto!important;display:grid!important;grid-template-columns:minmax(0,1fr)!important;white-space:normal!important;}
 body.tk-portal-signed-in .portal-account-menu:not([open]) .sp-profile-actions{display:none!important;}
 body.tk-portal-signed-in .portal-header-dropdown>.portal-account-copy{display:block!important;width:100%!important;}
 body.tk-portal-signed-in .portal-header-dropdown>.portal-account-copy #resStudentName{max-width:100%!important;white-space:normal!important;overflow-wrap:anywhere;}
 body.tk-portal-signed-in #portalRecordSection .sp-score-chip.sp-score-chip--failed :is(.sp-score-chip-val,.sp-score-chip-label,.sp-chip-status-lbl),
 body.tk-portal-signed-in #portalRecordSection .sp-grade-card.sp-grade-card--failed .sp-metric-val{color:#b91c1c!important;}
 html[data-theme=dark] body.tk-portal-signed-in #portalRecordSection .sp-score-chip.sp-score-chip--failed :is(.sp-score-chip-val,.sp-score-chip-label,.sp-chip-status-lbl),
 html[data-theme=dark] body.tk-portal-signed-in #portalRecordSection .sp-grade-card.sp-grade-card--failed .sp-metric-val{color:#ff8a80!important;}
 @media(max-width:700px){body.tk-portal-signed-in .portal-account-menu .sp-profile-actions{top:120px!important;max-height:calc(100dvh - 136px);}}
}
