:root {
  --de-workbench-blue: var(--p-primary, #007aff);
  --de-workbench-ink: #172033;
  --de-workbench-muted: #687287;
  --de-workbench-line: #e3e9f2;
  --de-workbench-surface: #fff;
  --de-workbench-bg: #f3f6fa;
}

.de-workbench-page {
  width: min(1160px, calc(100% - 32px));
  margin: 32px auto 0;
  color: var(--de-workbench-ink);
}

.de-workbench-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding: 34px 38px;
  border-radius: 24px;
  color: #fff;
  background:
    radial-gradient(circle at 85% 12%, rgba(255,255,255,.24), transparent 25%),
    linear-gradient(135deg, #076fd7, #2c9bff);
  box-shadow: 0 20px 54px rgba(0, 94, 193, .18);
}
.de-workbench-hero span,
.de-launchpad-head > div > span,
.de-data-card > header span {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
}
.de-workbench-hero h1 { margin: 6px 0 8px; font-size: clamp(26px, 3vw, 38px); line-height: 1.12; }
.de-workbench-hero p { margin: 0; color: rgba(255,255,255,.86); line-height: 1.65; }
.de-workbench-hero > a {
  flex: 0 0 auto;
  padding: 11px 16px;
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 12px;
  color: #fff;
  background: rgba(255,255,255,.1);
  font-weight: 700;
}

.de-data-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0;
}
.de-data-stats > * {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--de-workbench-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(24, 40, 68, .06);
  text-align: left;
}
.de-data-stats button,
.de-data-stat-link { cursor: pointer; transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease; }
.de-data-stats button:hover,
.de-data-stats button:focus-visible,
.de-data-stat-link:hover,
.de-data-stat-link:focus-visible {
  transform: translateY(-2px);
  border-color: #8dc9ff;
  box-shadow: 0 14px 32px rgba(8, 124, 240, .11);
}
.de-data-stat-link { color: inherit; text-decoration: none; }
.de-data-stat-link:hover { color: inherit; }
.de-data-stat-link.is-homework { background: linear-gradient(145deg, #fff, var(--p-primary-soft, #eef6ff)); }
.de-data-stats span,
.de-data-stats small { display: block; color: var(--de-workbench-muted); }
.de-data-stats span { font-size: 13px; font-weight: 700; }
.de-data-stats b { display: block; margin: 7px 0 4px; color: var(--de-workbench-blue); font-size: 32px; line-height: 1; }
.de-data-stats small { overflow: hidden; font-size: 11px; line-height: 1.45; text-overflow: ellipsis; white-space: nowrap; }

.de-data-card {
  padding: 26px;
  border: 1px solid var(--de-workbench-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 38px rgba(24, 40, 68, .06);
}
.de-data-card > header h2 { margin: 4px 0 5px; font-size: 23px; }
.de-data-card > header span { color: var(--de-workbench-blue); }
.de-data-card > header p { margin: 0; color: var(--de-workbench-muted); line-height: 1.6; }
.de-data-card > header { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.de-data-card > header > a { display: inline-flex; min-height: 40px; flex: 0 0 auto; align-items: center; padding: 0 4px; color: var(--de-workbench-blue); font-size: 12px; font-weight: 750; }
.de-data-identity { display: flex; align-items: center; flex-wrap: wrap; gap: 9px 12px; }
.de-data-identity > b { font: inherit; }
.de-data-identity > a { color: inherit; text-decoration: none; }
.de-data-identity > a:hover { color: inherit; text-decoration: underline; text-decoration-color: rgba(255,255,255,.48); text-underline-offset: 5px; }
.de-data-identity > small { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.de-data-identity > small > em {
  padding: 5px 9px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 999px;
  color: var(--badge-fg, #fff);
  background: var(--badge-bg, rgba(255,255,255,.18));
  box-shadow: 0 4px 14px rgba(19,35,60,.14);
  font-size: 11px;
  font-style: normal;
  font-weight: 750;
  line-height: 1;
}
.de-data-hero-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.de-data-hero-actions a { display: inline-flex; align-items: center; gap: 6px; padding: 9px 12px; border: 1px solid rgba(255,255,255,.38); border-radius: 10px; background: rgba(255,255,255,.1); color: #fff; font-size: 12px; font-weight: 700; backdrop-filter: blur(12px); }
.de-data-hero-actions a:hover { background: rgba(255,255,255,.2); color: #fff; }
.de-data-hero-actions i { margin: 0 !important; }
.de-data-dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, .85fr); gap: 16px; margin: 16px 0; }
.de-data-star-card,
.de-data-achievement-card { min-width: 0; }
.de-data-star-summary { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; margin: 18px 0 10px; color: var(--de-workbench-muted); font-size: 11px; }
.de-data-star-summary span { display: inline-flex; align-items: baseline; gap: 4px; }
.de-data-star-summary b { color: var(--de-workbench-blue); font-size: 17px; }
.de-data-star-summary small { margin-left: auto; }
.learn-graph.de-data-star-map { min-height: 330px; height: 330px; overflow: hidden; border: 1px solid var(--de-workbench-line); border-radius: 18px; background: radial-gradient(circle at 50% 45%, var(--p-primary-soft, #eef6ff), #fbfdff 68%); }
.de-data-star-map canvas { display: block; width: 100%; height: 100%; }
.de-recent-achievements { display: grid; gap: 9px; margin-top: 18px; }
.de-recent-achievements article { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 11px; align-items: center; padding: 12px; border: 1px solid var(--de-workbench-line); border-radius: 14px; background: #fbfcfe; }
.de-recent-achievements article > i { display: grid; width: 38px; height: 38px; margin: 0; place-items: center; border-radius: 12px; color: var(--tier, var(--de-workbench-blue)); background: color-mix(in srgb, var(--tier, var(--de-workbench-blue)) 12%, white); font-size: 18px; }
.de-recent-achievements strong,
.de-recent-achievements span { display: block; min-width: 0; }
.de-recent-achievements strong { font-size: 13px; }
.de-recent-achievements span { margin-top: 3px; overflow: hidden; color: var(--de-workbench-muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.de-data-achievement-card > footer { display: flex; align-items: center; gap: 9px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--de-workbench-line); color: var(--de-workbench-muted); font-size: 11px; }
.de-data-achievement-card > footer b { color: var(--de-workbench-blue); font-size: 16px; }
.de-data-reflection { margin: 16px 0; background: linear-gradient(150deg, #fff, #fbfcfe); }
.de-reflection-evidence { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; margin: 20px 0; }
.de-reflection-evidence span { display: grid; gap: 3px; padding: 12px 14px; border: 1px solid var(--de-workbench-line); border-radius: 13px; color: var(--de-workbench-muted); background: rgba(255,255,255,.76); font-size: 10px; }
.de-reflection-evidence b { color: var(--de-workbench-blue); font-size: 18px; }
.de-reflection-copy { max-width: 900px; color: #3e4859; font-size: 14px; line-height: 1.85; }
.de-reflection-copy p { margin: 0 0 10px; }
.de-reflection-copy strong { color: var(--de-workbench-ink); }
.de-reflection-copy blockquote { margin: 18px 0 0; padding: 12px 16px; border-left: 3px solid var(--de-workbench-blue); color: var(--de-workbench-muted); background: var(--p-primary-soft, #f0f7ff); font-family: ui-serif, "Songti SC", "STSong", serif; font-size: 14px; }
.de-homework-list { display: grid; gap: 12px; margin-top: 20px; }
.de-homework-item {
  display: block;
  padding: 17px 18px;
  border: 1px solid var(--de-workbench-line);
  border-radius: 15px;
  color: inherit;
  background: #fbfcfe;
  transition: border-color .16s ease, transform .16s ease;
}
.de-homework-item:hover { transform: translateY(-1px); border-color: #a8d6ff; color: inherit; }
.de-homework-item__head,
.de-homework-item footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.de-homework-item__head strong,
.de-homework-item__head span { display: block; }
.de-homework-item__head strong { font-size: 15px; }
.de-homework-item__head span,
.de-homework-item footer { margin-top: 4px; color: var(--de-workbench-muted); font-size: 11px; }
.de-homework-item__head > b { color: var(--de-workbench-blue); font-size: 24px; }
.de-homework-progress { height: 8px; margin: 13px 0 10px; overflow: hidden; border-radius: 99px; background: #eaf0f7; }
.de-homework-progress i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #087cf0, #42c788); }
.de-homework-item footer { justify-content: flex-start; margin: 0; }
.de-homework-item footer em { margin-left: auto; color: var(--de-workbench-blue); font-style: normal; font-weight: 700; }
.de-homework-records { padding-bottom: 110px; }
.de-homework-overview { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 18px 0; }
.de-homework-overview > div { display: grid; gap: 5px; padding: 19px; border: 1px solid var(--de-workbench-line); border-radius: 18px; background: #fff; box-shadow: 0 8px 28px rgba(24,40,68,.06); }
.de-homework-overview span,
.de-homework-overview small { color: var(--de-workbench-muted); font-size: 11px; }
.de-homework-overview b { color: var(--de-workbench-blue); font-size: 28px; line-height: 1.1; }
.de-homework-groups { display: grid; gap: 12px; }
.de-homework-group { overflow: clip; border: 1px solid var(--de-workbench-line); border-radius: 20px; background: rgba(255,255,255,.92); box-shadow: 0 10px 32px rgba(24,40,68,.055); }
.de-homework-group > summary { display: grid; grid-template-columns: 48px minmax(0,1fr) auto auto; gap: 13px; align-items: center; padding: 17px 19px; cursor: pointer; list-style: none; }
.de-homework-group > summary::-webkit-details-marker { display: none; }
.de-homework-group > summary:focus-visible { outline: 2px solid var(--de-workbench-blue); outline-offset: -2px; }
.de-homework-group-icon { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 13px; color: var(--de-workbench-blue); background: var(--p-primary-soft, #eef6ff); }
.de-homework-group-icon > i { width: auto; height: auto; margin: 0; }
.de-homework-group summary strong,
.de-homework-group summary small { display: block; }
.de-homework-group summary strong { font-size: 15px; }
.de-homework-group summary small { margin-top: 3px; color: var(--de-workbench-muted); font-size: 10px; }
.de-homework-group summary > b { color: var(--de-workbench-blue); font-size: 23px; }
.de-homework-group summary > em { color: var(--de-workbench-muted); font-size: 10px; font-style: normal; }
.de-homework-group[open] summary > em { color: var(--de-workbench-blue); }
.de-homework-group-body { display: grid; gap: 10px; padding: 0 18px 18px 79px; border-top: 1px solid var(--de-workbench-line); }
.de-homework-group-body .de-homework-item:first-child { margin-top: 14px; }
.de-data-empty { padding: 48px 16px; color: var(--de-workbench-muted); text-align: center; }
.de-data-empty strong { color: var(--de-workbench-ink); font-size: 18px; }
.de-data-empty p { margin: 8px 0 14px; }

.de-data-drawer { position: fixed; z-index: 2600; inset: 0; display: grid; grid-template-columns: 1fr min(520px, 92vw); }
.de-data-drawer[hidden] { display: none; }
.de-data-drawer__backdrop { grid-column: 1; border: 0; background: rgba(14, 23, 39, .42); backdrop-filter: blur(3px); }
.de-data-drawer > aside {
  grid-column: 2;
  min-width: 0;
  overflow: hidden;
  background: #fff;
  box-shadow: -20px 0 56px rgba(13, 27, 48, .2);
}
.de-data-drawer__panel { height: 100%; overflow: auto; }
.de-data-drawer__panel > header {
  position: sticky;
  z-index: 2;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  border-bottom: 1px solid var(--de-workbench-line);
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
}
.de-data-drawer__panel > header span { color: var(--de-workbench-blue); font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.de-data-drawer__panel > header h2 { margin: 4px 0 0; font-size: 22px; }
.de-data-drawer__panel > header button { width: 36px; height: 36px; border: 0; border-radius: 50%; color: #435069; background: #eef2f7; font-size: 24px; cursor: pointer; }
.de-problem-search { display: block; padding: 18px 24px 8px; }
.de-problem-search span { display: block; margin-bottom: 7px; color: var(--de-workbench-muted); font-size: 11px; }
.de-problem-search input { width: 100%; height: 40px; padding: 0 12px; border: 1px solid var(--de-workbench-line); border-radius: 10px; }
.de-problem-list { margin: 0; padding: 10px 24px 32px; list-style: none; }
.de-problem-list li { border-bottom: 1px solid #edf1f6; }
.de-problem-list li[hidden] { display: none; }
.de-problem-list a { display: grid; grid-template-columns: 76px minmax(0,1fr) auto; align-items: center; gap: 12px; padding: 14px 0; color: inherit; }
.de-problem-list > li > a > strong { color: var(--de-workbench-blue); font-size: 14px; }
.de-problem-list a span,
.de-problem-list a span b,
.de-problem-list a span small { display: block; min-width: 0; }
.de-problem-list a span b { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.de-problem-list a span small { margin-top: 3px; color: var(--de-workbench-muted); font-size: 10px; }
.de-problem-list a em { color: var(--de-workbench-muted); font-size: 10px; font-style: normal; text-align: right; line-height: 1.5; }
.de-data-record-tabs { display: flex; gap: 8px; margin: 18px 0; }
.de-data-record-tabs a { padding: 9px 15px; border: 1px solid var(--de-workbench-line); border-radius: 999px; color: var(--de-workbench-muted); background: #fff; font-size: 12px; font-weight: 750; }
.de-data-record-tabs a[aria-current="page"] { border-color: #8dc9ff; color: var(--de-workbench-blue); background: var(--p-primary-soft, #eef6ff); }
.de-data-record-more { padding: 0 24px 24px; text-align: center; }
.de-data-record-more a { display: inline-flex; padding: 9px 16px; border-radius: 999px; color: #fff; background: var(--de-workbench-blue); font-size: 12px; font-weight: 750; }
.de-drawer-open { overflow: hidden; }

.de-launchpad-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 8px 4px 16px;
}
.de-launchpad-head h1 { margin: 0; font-size: clamp(28px, 4vw, 42px); line-height: 1.05; }
.de-launchpad-head > div > span { color: var(--de-workbench-blue); }
.de-launchpad-head p { margin: 0; color: var(--de-workbench-muted); font-size: 15px; }
.de-admin-account { position: relative; display: flex; align-items: center; gap: 7px; padding: 8px 11px; border: 1px solid var(--de-workbench-line); border-radius: 999px; color: var(--de-workbench-ink); background: rgba(255,255,255,.86); }
.de-admin-account > i.icon { width: auto; height: auto; margin: 0; color: var(--de-workbench-blue); font-size: 18px; }
.de-admin-account strong { max-width: 160px; overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.de-launchpad-group { margin-top: 20px; }
.de-launchpad-group > header { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin: 0 8px 8px; }
.de-launchpad-group > header h2 { margin: 0; color: #3b4658; font-size: 14px; font-weight: 750; }
.de-launchpad-group > header p { margin: 4px 0 0; color: var(--de-workbench-muted); font-size: 12px; }
.de-launchpad-group > header > span { color: var(--de-workbench-muted); font-size: 11px; white-space: nowrap; }
.de-launchpad-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px 10px; }
.de-app-tile {
  position: relative;
  display: flex;
  min-height: 116px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 8px;
  overflow: visible;
  border: 1px solid transparent;
  border-radius: 20px;
  color: var(--de-workbench-ink);
  background: transparent;
  box-shadow: none;
  text-align: center;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.de-app-tile::after { content: none; }
a.de-app-tile:hover,
a.de-app-tile:focus-visible { transform: translateY(-3px); border-color: rgba(8,124,240,.12); color: var(--de-workbench-ink); background: rgba(255,255,255,.72); box-shadow: 0 14px 34px rgba(31, 75, 126, .1); outline: 0; }
.de-app-tile.is-integrating { opacity: .62; filter: saturate(.72); }
.de-app-icon,
.de-dock-app-icon {
  position: relative;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.38);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 10px 24px rgba(28,55,92,.15);
}
.de-app-icon { z-index: 1; width: 62px; height: 62px; border-radius: 18px; }
.de-app-tile.is-blue .de-app-icon,
.de-dock-app-icon.is-blue { background: linear-gradient(145deg, #1266d7, #278fff); }
.de-app-tile.is-cyan .de-app-icon,
.de-dock-app-icon.is-cyan { background: linear-gradient(145deg, #087f9c, #1ab9c7); }
.de-app-tile.is-violet .de-app-icon,
.de-dock-app-icon.is-violet { background: linear-gradient(145deg, #6750cf, #9c6cf3); }
.de-app-tile.is-green .de-app-icon,
.de-dock-app-icon.is-green { background: linear-gradient(145deg, #268657, #42bf79); }
.de-app-tile.is-orange .de-app-icon,
.de-dock-app-icon.is-orange { background: linear-gradient(145deg, #d56a1a, #f5a143); }
.de-app-tile.is-indigo .de-app-icon,
.de-dock-app-icon.is-indigo { background: linear-gradient(145deg, #3446a8, #6177e8); }
.de-app-tile.is-rose .de-app-icon,
.de-dock-app-icon.is-rose { background: linear-gradient(145deg, #bd4776, #ec78a4); }
.de-app-icon > i.icon { width: auto; height: auto; margin: 0; font-size: 31px; line-height: 1; }
.de-app-name { position: relative; z-index: 1; display: block; max-width: 100%; margin-top: 9px; overflow: hidden; font-size: 13px; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.de-delayed-tooltip {
  position: absolute;
  z-index: 20;
  right: auto;
  bottom: calc(100% + 7px);
  left: 50%;
  width: max-content;
  max-width: 230px;
  padding: 7px 9px;
  border-radius: 9px;
  color: #fff;
  background: rgba(24,31,43,.9);
  box-shadow: 0 8px 22px rgba(10,20,35,.2);
  font-size: 11px;
  font-weight: 650;
  line-height: 1.35;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 5px);
  transition: opacity .14s ease, transform .14s ease;
}
.de-app-tile:hover .de-delayed-tooltip,
.de-admin-account:hover .de-delayed-tooltip {
  opacity: 1;
  transform: translate(-50%, 0);
  transition-delay: .7s;
}
.de-app-tile:focus-visible .de-delayed-tooltip,
.de-admin-account:focus-visible .de-delayed-tooltip {
  opacity: 1;
  transform: translate(-50%, 0);
}
.de-app-tile > em { position: relative; z-index: 1; margin-top: auto; padding-top: 14px; color: var(--de-workbench-blue); font-size: 11px; font-style: normal; font-weight: 700; }
.de-launchpad-note { margin: 18px 4px 0; color: var(--de-workbench-muted); font-size: 11px; }

.de-workbench-dock-space { height: var(--de-global-dock-safe-bottom, 118px); }
.de-workbench-dock {
  position: fixed;
  z-index: 2000;
  box-sizing: border-box;
  left: 50%;
  bottom: max(14px, env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: calc(100% - 24px);
  min-height: 88px;
  padding: 9px 14px 8px;
  overflow: visible;
  border: 1px solid rgba(255,255,255,.68);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(255,255,255,.64), rgba(235,242,252,.46));
  box-shadow: 0 22px 64px rgba(25,39,64,.22), inset 0 1px 0 rgba(255,255,255,.82), inset 0 -1px 0 rgba(110,130,158,.08);
  -webkit-backdrop-filter: blur(28px) saturate(1.5);
  backdrop-filter: blur(28px) saturate(1.5);
  transform: translateX(-50%);
}
.de-dock-core,
.de-dock-running {
  display: flex;
  align-items: flex-end;
  gap: 3px;
}
.de-dock-running:empty { width: 0; }
.de-dock-item {
  --dock-scale: 1;
  --dock-lift: 0px;
  position: relative;
  display: flex;
  width: 62px;
  height: 70px;
  min-width: 0;
  flex: 0 0 62px;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
  padding: 0 3px 3px;
  border: 0;
  border-radius: 16px;
  color: #314057;
  background: transparent;
  cursor: pointer;
  transform: translateY(var(--dock-lift)) scale(var(--dock-scale));
  transform-origin: 50% 100%;
  transition: color .16s ease, transform .18s cubic-bezier(.2,.78,.2,1), filter .18s ease;
  will-change: transform;
  box-sizing: border-box;
  font-family: inherit;
  text-decoration: none;
}
.de-dock-item:hover,
.de-dock-item:focus-visible { color: var(--de-workbench-blue); filter: saturate(1.06); }
.de-dock-item:focus-visible {
  outline: 3px solid rgba(0,122,255,.28);
  outline-offset: 2px;
}
.de-dock-icon {
  position: relative;
  display: grid;
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  place-items: center;
  border-radius: 16px;
}
.de-dock-icon img { display: block; width: 100%; height: 100%; object-fit: contain; user-select: none; -webkit-user-drag: none; }
.de-dock-label {
  display: block;
  max-width: 100%;
  overflow: hidden;
  font-size: 10px;
  font-weight: 750;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.de-dock-tooltip {
  position: absolute;
  z-index: 2;
  top: -38px;
  left: 50%;
  width: max-content;
  max-width: 150px;
  padding: 6px 9px;
  border-radius: 8px;
  color: #fff;
  background: rgba(24,31,43,.88);
  box-shadow: 0 7px 18px rgba(10,20,35,.18);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 5px);
  transition: opacity .14s ease, transform .14s ease;
}
.de-dock-item:hover .de-dock-tooltip { opacity: 1; transform: translate(-50%, 0); transition-delay: .7s; }
.de-dock-item:focus-visible .de-dock-tooltip { opacity: 1; transform: translate(-50%, 0); }
.de-dock-item.is-active .de-dock-label { color: var(--de-workbench-blue); }
.de-dock-item.is-active .de-dock-icon { box-shadow: 0 11px 24px rgba(28,51,83,.16); }
.de-dock-item.is-active::after,
.de-dock-running-dot {
  position: absolute;
  bottom: -3px;
  left: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--de-workbench-blue);
  content: '';
  transform: translateX(-50%);
}
.de-dock-item--xiaotian .de-dock-icon { width: 54px; height: 54px; border-radius: 16px; }
.de-dock-item--xiaotian .de-dock-icon img { width: 88%; height: 88%; filter: drop-shadow(0 5px 7px rgba(26,106,192,.22)); }
.de-dock-assistant-icon { background: linear-gradient(145deg, #dff3ff, #78c5ff); }
.de-dock-item--xiaotian.is-interacting .de-dock-icon { box-shadow: 0 10px 24px rgba(37,137,232,.2); }
.de-dock-item--xiaotian.is-interacting img { animation: de-xiaotian-wave .72s ease-in-out infinite alternate; }
.de-dock-separator { width: 1px; height: 54px; flex: 0 0 1px; background: rgba(96,111,133,.22); }
.de-dock-running-app { position: relative; display: block; }
.de-dock-item--running { width: 58px; flex-basis: 58px; }
.de-dock-item--running .de-dock-icon { width: 49px; height: 49px; flex-basis: 49px; }
.de-dock-app-icon { border-radius: 16px; box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 8px 18px rgba(28,55,92,.15); }
.de-dock-app-icon > i.icon { width: auto; height: auto; margin: 0; font-size: 23px; line-height: 1; }
.de-dock-app-icon.is-management {
  color: #fff;
}
.de-dock-app-icon.is-management > i.icon {
  display: grid;
  width: 100%;
  height: 100%;
  margin: 0;
  place-items: center;
  color: inherit;
  font-size: 28px;
  line-height: 1;
  opacity: 1;
  -webkit-text-fill-color: currentColor;
  text-shadow: 0 1px 2px rgba(22,31,91,.24);
}
.de-dock-app-icon.is-management > i.icon::before { display: block; line-height: 1; }
.de-dock-item[data-workbench-manage].is-active .de-dock-app-icon.is-management {
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.32), 0 11px 24px rgba(52,70,168,.28);
}
.de-dock-item[data-workbench-manage].is-active .de-dock-app-icon.is-management > i.icon {
  text-shadow: 0 1px 2px rgba(0,44,86,.32);
}
.de-dock-item[data-workbench-manage]:focus-visible .de-dock-app-icon.is-management {
  outline: 3px solid rgba(0,122,255,.28);
  outline-offset: 2px;
}
.de-dock-running-dot { bottom: -4px; }
.de-dock-context-menu {
  position: fixed;
  z-index: 2400;
  display: grid;
  width: 178px;
  padding: 7px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 13px;
  background: rgba(248,251,255,.82);
  box-shadow: 0 18px 48px rgba(20,35,57,.24), inset 0 1px 0 rgba(255,255,255,.86);
  -webkit-backdrop-filter: blur(22px) saturate(1.45);
  backdrop-filter: blur(22px) saturate(1.45);
}
.de-dock-context-menu strong { padding: 7px 9px 6px; overflow: hidden; color: #637085; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.de-dock-context-menu button { padding: 8px 9px; border: 0; border-radius: 8px; color: #28364b; background: transparent; font-size: 12px; text-align: left; cursor: pointer; }
.de-dock-context-menu button:hover,
.de-dock-context-menu button:focus-visible { color: #fff; background: var(--de-workbench-blue); outline: 0; }

@keyframes de-xiaotian-wave {
  0% { transform: translateY(0) rotate(-2deg); }
  100% { transform: translateY(-4px) rotate(3deg); }
}

@media (max-width: 900px) {
  .de-data-stats,
  .de-launchpad-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .de-data-dashboard-grid { grid-template-columns: 1fr; }
  .learn-graph.de-data-star-map { height: 310px; min-height: 310px; }
}
@media (min-width: 641px) and (max-width: 1100px) {
  .de-workbench-dock { width: calc(100% - 24px); justify-content: flex-start; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
  .de-workbench-dock::-webkit-scrollbar { display: none; }
  .de-dock-core,
  .de-dock-running { flex: 0 0 auto; gap: 0; }
  .de-dock-item { width: 56px; height: 63px; flex-basis: 56px; transform: none !important; }
  .de-dock-icon { width: 46px; height: 46px; flex-basis: 46px; }
  .de-dock-item--xiaotian .de-dock-icon { width: 46px; height: 46px; }
  .de-dock-item--running { width: 54px; flex-basis: 54px; }
  .de-dock-item--running .de-dock-icon { width: 43px; height: 43px; flex-basis: 43px; }
  .de-dock-label { font-size: 9px; }
}
@media (max-width: 640px) {
  .de-workbench-page { width: min(100% - 20px, 1160px); margin-top: 14px; }
  .de-workbench-hero { display: block; padding: 24px 20px; border-radius: 18px; }
  .de-workbench-hero > a { display: inline-block; margin-top: 18px; }
  .de-data-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .de-data-stats > * { padding: 15px; border-radius: 14px; }
  .de-data-stats b { font-size: 26px; }
  .de-data-stats small { white-space: normal; }
  .de-data-card { padding: 18px 14px; border-radius: 18px; }
  .de-homework-item { padding: 14px; }
  .de-homework-item footer { flex-wrap: wrap; }
  .de-homework-overview,
  .de-reflection-evidence { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .de-data-card > header { align-items: flex-start; flex-direction: column; }
  .de-data-star-summary small { width: 100%; margin-left: 0; }
  .de-homework-group-body { padding-right: 14px; padding-left: 14px; }
  .de-data-drawer { grid-template-columns: 1fr; }
  .de-data-drawer__backdrop { display: none; }
  .de-data-drawer > aside { grid-column: 1; width: 100%; }
  .de-problem-list a { grid-template-columns: 64px minmax(0,1fr); }
  .de-problem-list a em { grid-column: 2; text-align: left; }
  .de-launchpad-head { display: block; padding: 6px 2px 20px; }
  .de-admin-account { min-height: 44px; margin-top: 16px; }
  .de-delayed-tooltip { display: none; }
  .de-data-card > header > a { min-height: 44px; margin: -8px -4px; padding: 8px 4px; }
  .de-launchpad-grid { gap: 10px; }
  .de-app-tile { min-height: 108px; padding: 9px 6px; border-radius: 17px; }
  .de-app-icon { width: 52px; height: 52px; border-radius: 15px; }
  .de-app-icon > i.icon { font-size: 27px; }
  .de-app-name { margin-top: 7px; font-size: 12px; }
  .de-workbench-dock { width: calc(100% - 18px); min-height: 72px; justify-content: flex-start; gap: 8px; padding: 7px 9px 6px; overflow-x: auto; overflow-y: hidden; border-radius: 22px; scrollbar-width: none; }
  .de-workbench-dock::-webkit-scrollbar { display: none; }
  .de-dock-core,
  .de-dock-running { flex: 0 0 auto; gap: 0; }
  .de-dock-item { width: min(56px, 16vw); height: 59px; flex-basis: min(56px, 16vw); transform: none !important; }
  .de-dock-icon { width: 45px; height: 45px; flex-basis: 45px; }
  .de-dock-item--xiaotian .de-dock-icon { width: 45px; height: 45px; }
  .de-dock-item--running .de-dock-icon { width: 42px; height: 42px; flex-basis: 42px; }
  .de-dock-label { font-size: 9px; }
  .de-dock-tooltip { display: none; }
  .de-dock-separator { height: 44px; }
}
@media (max-width: 480px) {
  .de-homework-group > summary { grid-template-columns: 42px minmax(0,1fr) auto; padding: 14px; }
  .de-homework-group summary > em { display: none; }
  .learn-graph.de-data-star-map { height: 270px; min-height: 270px; }
}
@media (max-width: 390px) {
  .de-launchpad-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .de-dock-label { display: none; }
  .de-dock-item { height: 47px; }
}
@media (prefers-reduced-motion: reduce) {
  .de-data-stats button,
  .de-app-tile,
  .de-dock-item,
  .de-dock-tooltip { transition: none !important; animation: none !important; }
}

/* Standalone apps do not load Hydro's theme bundle. This small companion file
   is served together with workbench.css and keeps their dock self-contained. */
@font-face {
  font-family: hydro-icons;
  src: url('hydro-icons.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: block;
}
.de-workbench-dock .icon {
  font-family: hydro-icons !important;
  font-style: normal;
  font-variant: normal;
  font-weight: 400;
  line-height: 1;
  text-transform: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.de-workbench-dock .icon-award::before { content: '\ea03'; }
.de-workbench-dock .icon-code::before { content: '\ea0f'; }
.de-workbench-dock .icon-comparison::before { content: '\ea12'; }
.de-workbench-dock .icon-copy::before { content: '\ea13'; }
.de-workbench-dock .icon-crown::before { content: '\ea14'; }
.de-workbench-dock .icon-debug::before { content: '\ea15'; }
.de-workbench-dock .icon-edit::before { content: '\ea18'; }
.de-workbench-dock .icon-settings::before { content: '\ea4f'; }
.de-workbench-dock .icon-stack::before { content: '\ea52'; }
.de-workbench-dock .icon-stopwatch::before { content: '\ea56'; }

body.de-external-dock-visible {
  scroll-padding-bottom: var(--de-global-dock-safe-bottom, 118px);
}
body.de-external-dock-visible [data-de-dock-offset-self] {
  height: calc(100dvh - var(--de-global-dock-safe-bottom, 118px)) !important;
}
body.de-external-dock-visible [data-de-dock-offset-children] > * {
  height: calc(100dvh - var(--de-global-dock-safe-bottom, 118px)) !important;
  max-height: calc(100dvh - var(--de-global-dock-safe-bottom, 118px));
}
body.de-external-dock-visible .de-workbench-dock-space--external { display: none; }
