/* Scope the smartboard layout to signed-in sessions. */
.dashboard-only,.dashboard-dock-icon,.dashboard-dock-label,.dashboard-lesson-pill {display:none}
.signed-in-dashboard {
  --dashboard-navy:#0c2042;
  --dashboard-sky:#eaf7ff;
  --dashboard-gold:#f9b80d;
  --dashboard-line:#c6daed;
  --dashboard-edge:clamp(14px,2vw,38px);
  --dashboard-gap:clamp(12px,1.5vw,26px);
  --dock-clearance:90px;
  max-width:2048px;
  padding:clamp(12px,1.65vh,22px) var(--dashboard-edge) var(--dock-clearance);
}
body:has(.signed-in-dashboard) {
  background:radial-gradient(ellipse at 76% 90%,#d7e8fb 0,transparent 62%),linear-gradient(150deg,#f4f8fc,var(--dashboard-sky,#eaf7ff));
}
.signed-in-dashboard .dashboard-only {display:block}
.signed-in-dashboard .top-navbar {
  display:flex;
  align-items:center;
  flex-wrap:nowrap;
  justify-content:initial;
  gap:clamp(8px,1.35vw,24px);
  background:var(--dashboard-navy);
  min-height:62px;
  padding:7px clamp(10px,1.2vw,22px);
  border:1px solid #1b3659;
  border-radius:16px;
  box-shadow:0 4px 14px #10284a15;
  margin:0 0 var(--dashboard-gap);
}
.signed-in-dashboard .brand-cluster {flex:none}
.signed-in-dashboard .brand-cluster .climb-mark {width:clamp(36px,3.5vw,58px);height:auto}
.signed-in-dashboard .brand-cluster h1 {color:#fff;font-size:clamp(1.15rem,1.9vw,2rem);white-space:nowrap}
.signed-in-dashboard .toolbar-cluster {
  margin-inline-start:auto;
  margin-inline-end:0;
  width:auto;
  flex:none;
  justify-content:flex-end;
  align-items:center;
  gap:clamp(6px,.7vw,15px);
}
.signed-in-dashboard .top-navbar :is(.dashboard-header-button,#teacherMenuToggle,#muteToggleBtn) {
  padding:7px 10px;
  min-height:40px;
  background:#193759;
  border:1px solid #335b85;
  color:#f7fbff;
  font-size:.9rem;
  line-height:1;
  white-space:nowrap;
  box-shadow:none;
}
.signed-in-dashboard .top-navbar :is(.dashboard-header-button,#teacherMenuToggle,#muteToggleBtn):hover,
.signed-in-dashboard .top-navbar [aria-expanded="true"] {background:#244c75}
.signed-in-dashboard .top-navbar #muteToggleBtn {min-width:40px;padding-inline:7px}
.signed-in-dashboard .top-navbar #muteLabel,
.signed-in-dashboard .top-navbar #syncStatus,
.signed-in-dashboard #activeLessonLabel {
  position:absolute;
  width:1px;height:1px;
  padding:0;margin:-1px;
  overflow:hidden;
  clip-path:inset(50%);
  white-space:nowrap;
  border:0;
}
.signed-in-dashboard .dashboard-class-slot {min-width:0}
.signed-in-dashboard #classBar {
  display:flex;
  flex-wrap:nowrap;
  align-items:center;
  gap:8px;
  margin:0;
  padding:3px 9px 3px 4px;
  background:#153455;
  border:1px solid #325b83;
  border-radius:11px;
  box-shadow:none;
  color:#f7fbff;
  min-width:0;
  z-index:auto;
}
.signed-in-dashboard #teacherClassActions {display:none!important}
.signed-in-dashboard #classSelector {
  width:auto;
  min-width:0;
  min-height:36px;
  max-width:min(23vw,215px);
  border:0;
  border-radius:7px;
  box-shadow:none;
  color:#fff;
  background:#153455;
  padding:5px 4px;
  font-size:.92rem;
  text-overflow:ellipsis;
}
.signed-in-dashboard #classSelector:disabled {opacity:.92}
.signed-in-dashboard .dashboard-lesson-pill {
  display:block;
  flex:none;
  padding-inline-start:8px;
  border-inline-start:1px solid #577696;
  color:#ddecff;
  font-size:.84rem;
  font-weight:750;
  white-space:nowrap;
}
.signed-in-dashboard .dashboard-save-slot {
  display:flex;
  align-items:center;
  gap:6px;
  color:#b7cce3;
  font-size:.84rem;
  font-weight:750;
  white-space:nowrap;
}
.dashboard-save-slot [data-save-label] {display:none}
.dashboard-save-icon {
  display:grid;place-items:center;
  width:17px;height:17px;
  flex:none;border-radius:50%;
  border:1px solid currentColor;
  line-height:1;
}
.dashboard-save-icon::before {content:'·'}
.dashboard-save-slot[data-status="saved"] {color:#72dc9f}
.dashboard-save-slot[data-status="saved"] .dashboard-save-icon {background:#65d393;border-color:#65d393;color:#0c2042}
.dashboard-save-slot[data-status="saved"] .dashboard-save-icon::before {content:'✓'}
.dashboard-save-slot:is([data-status="warning"],[data-status="error"]) {color:#ffcf72}
.dashboard-save-slot:is([data-status="warning"],[data-status="error"]) .dashboard-save-icon::before {content:'!'}
.dashboard-save-slot[data-status="saving"] .dashboard-save-icon::before {content:'…'}
.dashboard-save-slot:is([data-status="idle"],:not([data-status])) [data-save-label="ready"],
.dashboard-save-slot[data-status="saving"] [data-save-label="saving"],
.dashboard-save-slot[data-status="saved"] [data-save-label="saved"],
.dashboard-save-slot:is([data-status="warning"],[data-status="error"]) [data-save-label="error"] {display:inline}
.dashboard-menu {position:relative}
.signed-in-dashboard .dashboard-dock-icon {display:block;width:22px;height:22px;flex:none}
.signed-in-dashboard #dashboardPlannerToggle .dashboard-dock-icon {width:17px;height:17px}
.dashboard-caret {color:#c8dff6}
#dashboardReminderDot {width:8px;height:8px;border-radius:50%;background:#f9b80d;box-shadow:0 0 0 2px #f9b80d33}
.signed-in-dashboard :is(.dashboard-panel,.menu-panel,#quickToolsPanel) {
  position:absolute;
  inset-inline-end:0;
  inset-inline-start:auto;
  inset-block-start:calc(100% + 10px);
  inset-block-end:auto;
  width:min(290px,calc(100vw - 24px));
  max-height:min(62dvh,510px);
  overflow:auto;
  overscroll-behavior:contain;
  color:#0c2042;
  background:#fafdff;
  border:1px solid #bddaf4;
  border-radius:16px;
  padding:9px;
  box-shadow:0 14px 32px #0c204233;
  z-index:100;
  text-align:start;
}
.signed-in-dashboard .dashboard-panel h2 {font-size:1.04rem;margin:4px 6px 8px}
.signed-in-dashboard .dashboard-panel {transform:translateX(var(--dock-menu-shift,0px))}
.signed-in-dashboard .dashboard-panel p {margin:5px 6px;color:#466384}
.signed-in-dashboard :is(.dashboard-panel,.menu-panel) :is(button, a.btn) {
  justify-content:flex-start;
  text-align:start;
  color:#18385d;
  background:transparent;
  box-shadow:none;
  border:0;
  border-radius:9px;
  min-height:36px;
  padding:7px 9px;
  font-size:.91rem;
}
.signed-in-dashboard :is(.dashboard-panel,.menu-panel) :is(button,a.btn):hover:not(:disabled) {background:#e4f1fd}
.signed-in-dashboard .menu-panel button.danger {color:#a9213d}
.signed-in-dashboard #dashboardPlannerPanel {display:flex;flex-direction:column;gap:5px}
.signed-in-dashboard #timetableStrip {
  display:grid;
  order:-1;
  gap:4px;
  margin:0;
  padding:3px;
  background:transparent;
  border:0;
}
.signed-in-dashboard #timetableMode {font-weight:800;padding:3px 6px}
.signed-in-dashboard #lessonScheduleText {color:#4a6784;font-size:.85rem;padding-inline:6px}
.signed-in-dashboard #lessonScheduleText:empty,.signed-in-dashboard #lessonBoardOpen {display:none!important}
.signed-in-dashboard #dashboardPlannerActions,.signed-in-dashboard #dashboardAccountPreferences,
.signed-in-dashboard #dashboardFilesPanel {display:grid;gap:3px}
.signed-in-dashboard #dashboardAccountPreferences {padding:2px 0 5px;border-block-end:1px solid #dbe8f4}
.signed-in-dashboard #dashboardAccountPreferences #dashboardLanguage {
  background:#edf6ff;color:#173659;margin:3px 8px;min-height:36px;border-color:#c7def4
}
.signed-in-dashboard #dashboardFilesPanel #driveShortcutLinks {display:grid;gap:3px}
.signed-in-dashboard #siteInformation {margin:0;padding:0;border:0;box-shadow:none;background:transparent}
.dashboard-help {
  width:min(740px,calc(100% - 24px));max-height:85dvh;overflow:auto;
  border:1px solid #bed6ed;border-radius:18px;background:#f7fbff;color:#0c2042;
  padding:16px 20px;
}
.dashboard-help::backdrop {background:#0c204299}
.dashboard-help-header {display:flex;align-items:center;justify-content:space-between;margin:0 0 8px}
.dashboard-help-header h2 {margin:0;font-size:1.25rem}
.dashboard-help-header button {padding:5px 12px;font-size:1.25rem}
.dashboard-help #helpInfo > summary {display:none}
.signed-in-dashboard #dashboardDock {
  position:fixed;
  inset-block-end:max(14px,env(safe-area-inset-bottom));
  left:50%;
  transform:translateX(-50%);
  display:grid;
  grid-template-columns:repeat(5,minmax(78px,1fr));
  width:min(490px,calc(100% - 20px));
  z-index:40;
  padding:5px 8px;
  gap:2px;
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(14px);
  border:1px solid #bddaf4;
  border-radius:20px;
  box-shadow:0 12px 32px rgba(9,29,80,.16);
}
.signed-in-dashboard .dashboard-dock-slot {position:relative;min-width:0}
.signed-in-dashboard #dashboardDock #quickTools {
  position:relative;inset:auto;z-index:auto;pointer-events:auto;direction:inherit;
}
.signed-in-dashboard #dashboardDock :is(.dashboard-dock-slot > button,#practiceBtn,#classMenuToggle,#quickToolsToggle) {
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  color:#13365e;background:transparent;border:0;border-radius:13px;
  width:100%;max-width:none;min-height:55px;gap:3px;padding:3px 2px;
  box-shadow:none;font-size:clamp(.71rem,1.2vw,.9rem);font-weight:800;line-height:1.15;
  text-align:center;
}
.signed-in-dashboard #dashboardDock #quickToolsToggle {position:static}
.signed-in-dashboard #dashboardDock :is(.dashboard-dock-slot > button,#practiceBtn,#classMenuToggle,#quickToolsToggle):hover:not(:disabled),
.signed-in-dashboard #dashboardDock [aria-expanded="true"] {background:#e5f1ff}
.signed-in-dashboard #dashboardDock :is(.dashboard-dock-slot > button,#practiceBtn,#classMenuToggle,#quickToolsToggle):disabled {opacity:.48}
.signed-in-dashboard #dashboardDock .dashboard-dock-label {display:block;max-width:100%}
.signed-in-dashboard #dashboardDock :is(#quickToolsToggleLabel,.quick-tools-chevron,#classMenuToggle .dashboard-original-label,#classMenuToggle .menu-chevron),
.signed-in-dashboard #quickToolsToggle > svg:not(.dashboard-dock-icon) {display:none}
.signed-in-dashboard #dashboardDock :is(.dashboard-panel,.menu-panel,#quickToolsPanel) {
  inset-block-start:auto;inset-block-end:calc(100% + 12px);
}
.signed-in-dashboard #dashboardDock #quickToolsPanel {inset-inline-start:0;inset-inline-end:auto}
.signed-in-dashboard :is(.top-navbar,#dashboardDock) :is(button,a,select):focus-visible {
  outline:3px solid var(--dashboard-gold);outline-offset:2px;
}
.signed-in-dashboard .workspace-grid {
  grid-template-columns:minmax(0,1.28fr) minmax(0,1fr);
  gap:var(--dashboard-gap);
}
.signed-in-dashboard .workspace-grid > .card-panel {
  padding-block-end:0;
  border-radius:21px;
  border:1px solid #d3e3f2;
  background:linear-gradient(155deg,#fff,#f5faff);
  box-shadow:0 8px 20px #193f6015,0 2px 5px #193f6010;
}
.signed-in-dashboard .workspace-grid .panel-heading,
.signed-in-dashboard .workspace-grid .stage-heading {
  padding:clamp(10px,1.5vh,22px) clamp(12px,1.45vw,24px) 7px;
}
.signed-in-dashboard .workspace-grid :is(.panel-heading h3,.stage-heading h2) {
  margin:0 0 4px;
  color:#0c2042;
  font-size:clamp(1.22rem,2vw,2rem);
  line-height:1.14;
}
.signed-in-dashboard .workspace-grid .panel-heading p {margin:3px 0 0}
.signed-in-dashboard .workspace-grid .stage-progress {margin-block-start:4px}
.signed-in-dashboard .workspace-grid .progress-meter {background:#dcebfc}
.signed-in-dashboard .workspace-grid .progress-meter i {background:linear-gradient(#ffda59,#f9b80d)}
.signed-in-dashboard .workspace-grid .mountain-canvas {margin:0 clamp(10px,1.1vw,18px) clamp(10px,1.1vw,18px);padding:0}
.signed-in-dashboard .workspace-grid .reward-image-area {padding:4px 12px 9px}
.signed-in-dashboard .workspace-grid .goals-list {padding:0 clamp(10px,1.2vw,20px);gap:7px}
.signed-in-dashboard .workspace-grid .goal-row {gap:9px}
.signed-in-dashboard .workspace-grid .goal-card {border-radius:13px;padding:8px 10px;border-color:#d2e3f4}
.signed-in-dashboard .workspace-grid .goal-title {font-size:clamp(.92rem,1.15vw,1.18rem);line-height:1.2}
.signed-in-dashboard .workspace-grid .goal-description {font-size:clamp(.78rem,.94vw,.97rem)}
.signed-in-dashboard .workspace-grid .goal-actions {gap:8px}
.signed-in-dashboard .workspace-grid .goal-actions .btn {min-width:0;font-size:.84rem;padding:7px 9px}
.signed-in-dashboard .workspace-grid .lesson-controls {
  padding:8px clamp(10px,1.2vw,20px) 10px;
  gap:8px;
  flex-wrap:wrap;
}
.signed-in-dashboard .workspace-grid .lesson-controls .btn {padding:7px 12px;font-size:.88rem}
.signed-in-dashboard #lessonPracticeBanner {margin:0 0 7px;padding:4px 10px}
.signed-in-dashboard .sync-notice {margin-block-end:8px;max-height:25dvh;overflow:auto}
@media (min-width:1000px) and (min-height:620px) {
  .signed-in-dashboard {height:100dvh;display:flex;flex-direction:column}
  .signed-in-dashboard > .top-navbar {flex:none}
  .signed-in-dashboard #mainWorkspace {flex:1;min-height:0}
  .signed-in-dashboard .workspace-grid {height:100%;min-height:0;align-items:stretch}
  .signed-in-dashboard .workspace-grid > .card-panel {display:flex;flex-direction:column;min-height:0}
  .signed-in-dashboard .mountain-canvas {flex:1;min-height:0}
  .signed-in-dashboard #mountainSvg {height:100%!important;width:100%;max-height:none}
  .signed-in-dashboard .reward-panel :is(.stage-heading,.lesson-controls) {flex:none}
  .signed-in-dashboard .reward-panel .lesson-controls {margin-block-start:auto}
  .signed-in-dashboard .dashboard-stage-content {min-height:0;overflow:auto;overscroll-behavior:contain;padding-block-end:3px}
  .signed-in-dashboard .dashboard-stage-content:focus-visible {outline:3px solid var(--dashboard-gold);outline-offset:-3px}
  .signed-in-dashboard .interactive-artwork-wrap {width:min(100%,34dvh,430px);max-width:none}
  .signed-in-dashboard .interactive-artwork-wrap svg {display:block}
  .signed-in-dashboard #mainWorkspace:has(#summitCelebrationBanner[style*="block"]) {
    display:flex!important;flex-direction:column;
  }
  .signed-in-dashboard #mainWorkspace:has(#summitCelebrationBanner[style*="block"]) .workspace-grid {flex:1}
}
@media (min-width:1000px) and (min-height:620px) and (max-height:820px) {
  .signed-in-dashboard .interactive-artwork-wrap {width:min(100%,30dvh,310px)}
  .signed-in-dashboard .reward-panel:has(.goal-card:nth-child(3)) .interactive-artwork-wrap {width:min(100%,23dvh,245px)}
  .signed-in-dashboard .reward-panel:has(.goal-card:nth-child(4)) .dashboard-stage-content {
    display:grid;grid-template-columns:minmax(0,26%) minmax(0,1fr);align-items:start;
  }
  .signed-in-dashboard .reward-panel:has(.goal-card:nth-child(4)) .reward-image-area {grid-area:1/1;padding-block-start:4px}
  .signed-in-dashboard .reward-panel:has(.goal-card:nth-child(4)) #stageGoalsContainer {grid-area:1/2;padding-inline-start:0}
  .signed-in-dashboard .reward-panel:has(.goal-card:nth-child(4)) #unlockedPrivilegeCard {grid-column:1/-1}
  .signed-in-dashboard .reward-panel:has(.goal-card:nth-child(4)) .interactive-artwork-wrap {width:100%}
  .signed-in-dashboard .reward-panel:has(.goal-card:nth-child(4)) .goal-card {padding-block:5px}
  .signed-in-dashboard .reward-panel:has(.goal-card:nth-child(4)) .goal-actions .btn {min-height:36px}
}
@media (min-width:1000px) and (min-height:900px) {
  .signed-in-dashboard .interactive-artwork-wrap {width:min(100%,39dvh,430px)}
  .signed-in-dashboard .workspace-grid .reward-image-area {padding-block:8px 15px}
  .signed-in-dashboard .workspace-grid .goal-card {padding:13px 14px}
  .signed-in-dashboard .workspace-grid .goals-list {gap:10px}
}
/* Use the browser viewport so maximized and resized windows share the same layout. */
@media (min-width:1800px) and (min-height:700px) {
  .app-shell.signed-in-dashboard {
    max-width:none;
    --dashboard-edge:clamp(24px,2vw,88px);
    --dashboard-gap:clamp(18px,1.25vw,44px);
  }
  .signed-in-dashboard .workspace-grid {grid-template-columns:minmax(0,1.18fr) minmax(0,1fr)}
  .signed-in-dashboard.day-one-dashboard .workspace-grid {grid-template-columns:minmax(0,1.18fr) minmax(0,1fr)}
  .signed-in-dashboard .workspace-grid .mountain-canvas {background:transparent}
  .signed-in-dashboard .workspace-grid :is(.panel-heading h3,.stage-heading h2) {font-size:clamp(2rem,1.42vw,3rem)}
  .signed-in-dashboard .workspace-grid .goal-title {font-size:clamp(1.18rem,.78vw,1.55rem)}
  .signed-in-dashboard .workspace-grid .goal-description {font-size:clamp(.97rem,.65vw,1.18rem);max-inline-size:65ch}
  .signed-in-dashboard .workspace-grid .goal-actions .btn {font-size:clamp(.84rem,.57vw,1.02rem)}
  .signed-in-dashboard #dayOneWelcome :is(.day-one-intro,.day-one-footer-note) {max-inline-size:58ch}
  .signed-in-dashboard #dayOneWelcome .day-one-action {padding:clamp(15px,1.25vw,32px)}
  .signed-in-dashboard #dayOneWelcome .day-one-action strong {font-size:clamp(1.25rem,.88vw,1.7rem)}
  .signed-in-dashboard #dayOneWelcome .day-one-action small {font-size:clamp(1rem,.65vw,1.2rem)}
}
@media (max-width:999px) {
  .signed-in-dashboard .top-navbar {flex-wrap:wrap;justify-content:space-between}
  .signed-in-dashboard .dashboard-class-slot {order:3;width:100%}
  .signed-in-dashboard #classBar {width:max-content;max-width:100%}
  .signed-in-dashboard #classSelector {max-width:60vw}
}
@media (max-width:760px) {
  .signed-in-dashboard {--dashboard-edge:9px;--dashboard-gap:11px;--dock-clearance:calc(79px + env(safe-area-inset-bottom))}
  .signed-in-dashboard .top-navbar {display:grid;grid-template-columns:minmax(0,1fr) auto;padding:7px 8px;gap:6px;min-height:0}
  .signed-in-dashboard .dashboard-class-slot {grid-column:1/-1}
  .signed-in-dashboard .brand-cluster {gap:4px;min-width:0}
  .signed-in-dashboard .brand-cluster .climb-mark {width:31px}
  .signed-in-dashboard .brand-cluster h1 {font-size:clamp(.9rem,3.8vw,1.16rem);line-height:1.05;white-space:normal}
  .signed-in-dashboard .toolbar-cluster {gap:3px}
  .signed-in-dashboard .top-navbar :is(.dashboard-header-button,#teacherMenuToggle,#muteToggleBtn) {min-height:36px;font-size:.78rem;padding:5px 6px}
  .signed-in-dashboard .top-navbar #muteToggleBtn {min-width:32px}
  .signed-in-dashboard .top-navbar :is(#teacherMenuToggle .menu-chevron,#teacherAvatar,.dashboard-save-slot [data-save-label],#dashboardPlannerToggle .dashboard-dock-icon) {display:none}
  .signed-in-dashboard #dashboardDock {grid-template-columns:repeat(5,minmax(0,1fr));inset-block-end:max(9px,env(safe-area-inset-bottom))}
  .signed-in-dashboard #dashboardDock .dashboard-dock-icon {width:20px;height:20px}
  .signed-in-dashboard #dashboardDock #classMenuPanel {
    inset-inline-start:auto;
    inset-inline-end:0;
    max-width:var(--menu-max-width,calc(100vw - 24px));
  }
  .signed-in-dashboard .workspace-grid {grid-template-columns:1fr}
  .signed-in-dashboard .workspace-grid .lesson-controls {justify-content:center}
  .signed-in-dashboard #dashboardFilesPanel {inset-inline-end:-15px}
}
@media (max-width:365px) {
  .signed-in-dashboard .dashboard-save-slot {display:none}
}
@media (prefers-reduced-motion:no-preference) {
  .signed-in-dashboard #dashboardDock :is(.dashboard-dock-slot > button,#practiceBtn,#classMenuToggle,#quickToolsToggle) {
    transition:background .18s ease,transform .18s ease;
  }
  .signed-in-dashboard #dashboardDock :is(.dashboard-dock-slot > button,#practiceBtn,#classMenuToggle,#quickToolsToggle):hover:not(:disabled) {
    transform:translateY(-2px);
  }
}
