/* Hero Demo Dashboard — интерактивный mockup LMS на главной */

.hero-demo-section {
  width: 100%;
  max-width: 100%;
  margin-bottom: 48px;
  scroll-margin-top: 100px;
  padding: 0 0 24px;
  box-sizing: border-box;
}

#product.hero-demo-section > .hdd-look-slot {
  width: 100%;
  margin: 0 auto;
  padding: 0 0 12px;
  box-sizing: border-box;
}

@media (min-width: 640px) {
  #product.hero-demo-section > .hdd-look-slot {
    padding: 0 0 16px;
  }
}

.hdd-tagline {
  margin: 10px 0 0;
  padding: 0 16px;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 500;
  color: #000000;
  text-align: center;
}

.hero-demo-section *,
.hero-demo-section *::before,
.hero-demo-section *::after {
  box-sizing: border-box;
}

.hdd-wrap {
  width: 100%;
  max-width: 100%;
  margin: 0;
  min-width: 0;
}

.hdd-shell {
  background: #f4f6fc;
  border-radius: 0;
  padding: 12px 12px 14px;
  box-shadow: none;
}

.hdd-layout {
  --hdd-bar-h: 48px;
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  min-height: 720px;
  background: #fff;
  border-radius: 24px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.hdd-mobile-bar,
.hdd-nav-scrim {
  display: none;
}

.hdd-demo-hint-mob {
  display: none;
}

/* ── Sidebar ── */
.hdd-sidebar {
  display: flex;
  flex-direction: column;
  padding: 20px 12px 16px;
  border-right: 1px solid #f0f1f5;
  background: #fafbff;
}

.hdd-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 8px 18px;
}

.hdd-brand-name {
  font-size: 15px;
  font-weight: 700;
  color: #4361ee;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.hdd-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.hdd-nav-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
  padding: 8px 10px;
  border: none;
  border-radius: 12px;
  background: transparent;
  color: #111827;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, transform 0.1s;
  font-family: inherit;
}

.hdd-nav-item > span:not(.hdd-badge-count) {
  flex: 1;
  min-width: 0;
}

.hdd-nav-item:hover {
  background: #f3f4f6;
  color: #111827;
}

.hdd-nav-item:active {
  transform: scale(0.98);
}

.hdd-nav-item.is-active {
  background: #eef2ff;
  color: #4361ee;
}

.hdd-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 1px;
}

.hdd-nav-item .hdd-badge-count {
  align-self: center;
}

.hdd-badge-count {
  margin-left: auto;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #4361ee;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 999px;
}

.hdd-sidebar-bottom {
  margin-top: auto;
}

.hdd-training-card {
  position: relative;
  margin-top: 14px;
  padding: 16px 14px;
  background: linear-gradient(145deg, #1e2a5e 0%, #2d3a7a 100%);
  border-radius: 16px;
  overflow: hidden;
}

.hdd-training-text {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
  position: relative;
  z-index: 1;
}

.hdd-training-waves {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background:
    radial-gradient(ellipse 80% 60% at 100% 100%, rgba(0, 0, 0, 0.8), transparent),
    repeating-linear-gradient(135deg, transparent, transparent 8px, rgba(255,255,255,0.06) 8px, rgba(255,255,255,0.06) 9px);
}

/* ── Stage ── */
.hdd-stage {
  min-width: 0;
  min-height: 0;
  overflow: auto;
  background: #F5F3EE;
  pointer-events: none;
  user-select: none;
}

.hdd-screen {
  display: none !important;
  min-height: 100%;
}

.hdd-screen.is-active:not([hidden]) {
  display: block !important;
}

.hdd-screen-title {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #111827;
}

.hdd-screen-kicker {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  color: #000000;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hdd-split {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(240px, 0.9fr);
  gap: 16px;
  padding: 20px 18px;
  align-items: start;
}

.hdd-split-main,
.hdd-split-side {
  min-width: 0;
}

.hdd-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 20px 18px;
}

/* Analytics */
.hdd-an {
  padding: 20px 18px;
}

.hdd-an-period,
.hdd-an-filters,
.hdd-cli-filters,
.hdd-ms-chips,
.hdd-hw-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 14px 0 16px;
}

.hdd-an-period span,
.hdd-an-filters span,
.hdd-cli-filters span,
.hdd-ms-chips span,
.hdd-hw-pills span {
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  background: #fff;
  color: #111827;
  border: 1.5px solid #E5E7EB;
}

.hdd-an-period span.is-on,
.hdd-an-filters span.is-on {
  background: #111827;
  color: #fff;
  border-color: #111827;
}

.hdd-an-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 12px;
}

.hdd-an-metric,
.hdd-an-section {
  background: #fff;
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.hdd-an-label {
  font-size: 12px;
  font-weight: 600;
  color: #000000;
  line-height: 1.3;
  margin-bottom: 8px;
}
.hdd-an-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hdd-an-icon {
  display: flex;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: #111827;
}
.hdd-an-icon svg { width: 100%; height: 100%; display: block; }
.hdd-an-val { font-size: 22px; font-weight: 800; color: #111827; line-height: 1; }

.hdd-an-engage-one {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #fff;
  border-radius: 14px;
  padding: 14px 0;
  margin-bottom: 12px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.hdd-an-engage-stat { padding: 0 14px; min-width: 0; }
.hdd-an-engage-stat + .hdd-an-engage-stat { border-left: 1px solid #F3F4F6; }
.hdd-an-engage-label { font-size: 13px; font-weight: 700; color: #111827; margin-top: 6px; }
.hdd-an-sub { font-size: 11px; color: #000000; margin-top: 4px; }

.hdd-an-section { margin-top: 4px; }
.hdd-an-section-title { font-size: 14px; font-weight: 700; color: #374151; margin-bottom: 8px; }

.hdd-an-table { width: 100%; border-collapse: collapse; }
.hdd-an-table th {
  font-size: 11px; color: #9CA3AF; font-weight: 700; text-align: left;
  padding: 6px 8px; border-bottom: 1px solid #F3F4F6; text-transform: uppercase; letter-spacing: .04em;
}
.hdd-an-table td {
  padding: 12px 8px; border-bottom: 1px solid #F9FAFB; font-size: 13px; color: #374151; vertical-align: middle;
}
.hdd-an-name { font-weight: 600; color: #111827; }
.hdd-an-bar {
  width: 72px; height: 6px; background: #F3F4F6; border-radius: 3px;
  overflow: hidden; display: inline-block; vertical-align: middle; margin-right: 6px;
}
.hdd-an-bar i { display: block; height: 100%; background: #000000; }
.hdd-an-bar i.is-warn { background: #F59E0B; }
.hdd-an-bar i.is-danger { background: #EF4444; }
.hdd-an-badge {
  display: inline-flex; font-size: 11px; font-weight: 700;
  padding: 2px 7px; border-radius: 10px; margin-top: 4px;
}
.hdd-an-badge.is-risk { background: #FEF2F2; color: #DC2626; }
.hdd-an-badge.is-inactive { background: #FFFBEB; color: #B45309; }
.hdd-an-badge.is-stuck { background: #F5F3FF; color: #6D28D9; }

/* Clients / abonements */
.hdd-cli-filters span.is-on,
.hdd-ms-chips span.is-on,
.hdd-hw-pills span.is-on {
  background: #FFF3DC;
  color: #C87A0A;
  border-color: #FBE3B8;
}

.hdd-cli-list { display: flex; flex-direction: column; gap: 6px; margin-top: 14px; }
.hdd-cli-row {
  display: flex; align-items: center; gap: 12px;
  background: #fff; border-radius: 16px; padding: 12px 14px;
  box-shadow: 0 1px 2px rgba(20,16,10,0.04);
}
.hdd-cli-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: #FFF3DC; color: #C87A0A;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; flex: none;
}
.hdd-cli-info { flex: 1; min-width: 0; }
.hdd-cli-name { font-size: 15px; font-weight: 700; color: #1A1A1A; }
.hdd-cli-phone,
.hdd-cli-phone a,
.hdd-cli-phone a[x-apple-data-detectors] {
  font-size: 12px;
  color: #000000 !important;
  -webkit-text-fill-color: #000000;
  text-decoration: none !important;
  margin-top: 2px;
}

.hdd-abo-list {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
}
.hdd-abo-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-bottom: 1px solid #f3f4f6;
}
.hdd-abo-row:last-child { border-bottom: none; }
.hdd-abo-count {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 48px;
  flex: none;
}
.hdd-abo-num {
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #111827;
  font-variant-numeric: tabular-nums;
}
.hdd-abo-of {
  margin-top: 3px;
  font-size: 11px;
  font-weight: 600;
  color: #000000;
}
.hdd-abo-row.is-warn .hdd-abo-num { color: #C2410C; }
.hdd-abo-row.is-warn .hdd-abo-of { color: #EA580C; }
.hdd-abo-main { flex: 1; min-width: 0; }
.hdd-abo-who {
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  line-height: 1.25;
}
.hdd-abo-meta {
  margin-top: 3px;
  font-size: 12px;
  font-weight: 600;
  color: #000000;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hdd-abo-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex: none;
}
.hdd-abo-dot.is-ok { background: #22c55e; }
.hdd-abo-soon {
  flex: none;
  font-size: 12px;
  font-weight: 700;
  color: #9A3412;
  background: #FFEDD5;
  border-radius: 6px;
  padding: 4px 8px;
  letter-spacing: -0.01em;
}

.hdd-report-card {
  background: #fff;
  border-radius: 14px;
  padding: 14px 16px;
  margin: 12px 0 10px;
  box-shadow: 0 1px 2px rgba(20,16,10,0.04);
}
.hdd-report-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
  color: #000000;
}
.hdd-report-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 10px;
}
.hdd-report-photo {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
  background: #F5F3EE;
}
.hdd-report-body {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: #111827;
}
.hdd-report-cta {
  display: inline-flex;
  margin-top: 12px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #111827;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

/* Goals */
.hdd-goals { padding: 20px 18px 28px; }
.hdd-goals .goal-card-wrapper-new-design { margin-top: 16px; }

/* Schedule */
.hdd-sc { padding: 8px 0 16px; }
.hdd-sc-head { padding: 16px 18px 4px; }
.hdd-sc-week {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 18px; background: #fff; border-bottom: 1px solid #E5E7EB; border-top: 1px solid #E5E7EB;
}
.hdd-sc-week-label { flex: 1; text-align: center; font-weight: 600; font-size: 14px; }
.hdd-sc-week-btn {
  width: 36px; height: 36px; border: 1px solid #E5E7EB; border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center; color: #111827; background: #fff;
}
.hdd-sc-day {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  color: #000000; letter-spacing: .06em; padding: 14px 18px 6px;
}
.hdd-sc-slot {
  display: flex; gap: 12px; align-items: flex-start;
  background: #fff; margin: 0 16px 8px; padding: 12px 14px;
  border-radius: 12px; box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.hdd-sc-time { min-width: 48px; text-align: center; font-size: 13px; font-weight: 700; color: #000000; line-height: 1.2; }
.hdd-sc-time span { display: block; font-size: 11px; font-weight: 400; color: #000000; }
.hdd-sc-title { font-weight: 600; font-size: 14px; margin-bottom: 2px; }
.hdd-sc-meta { font-size: 12px; color: #000000; }
.hdd-sc-badge {
  display: inline-flex; margin-top: 6px; font-size: 11px; font-weight: 600;
  padding: 3px 9px; border-radius: 999px; background: #f3f4f6; color: #000000;
}
.hdd-sc-slot.is-live .hdd-sc-badge { background: #000000; color: #fff; }
.hdd-sc-badge.is-done { background: #D1FAE5; color: #047857; }
.hdd-sc-badge.is-mark { background: #FEF3C7; color: #B45309; }

.hdd-sc-grid {
  overflow-x: auto;
  overflow-y: auto;
  max-height: 640px;
  background: #fff;
}
.hdd-sc-grid-inner { min-width: 720px; }
.hdd-sc-list { display: none; }
.hdd-sc-grid-head {
  display: flex;
  position: sticky;
  top: 0;
  z-index: 2;
  background: #fff;
  border-bottom: 1px solid #E5E7EB;
}
.hdd-sc-grid-gutter { width: 52px; flex-shrink: 0; }
.hdd-sc-grid-day {
  flex: 1;
  min-width: 88px;
  padding: 6px 4px;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  border-right: 1px solid #F3F4F6;
  color: #6B7280;
  background: #fff;
  text-transform: lowercase;
}
.hdd-sc-grid-day span {
  font-size: 14px;
  font-weight: 700;
  color: #1F2937;
}
.hdd-sc-grid-day.is-today,
.hdd-sc-grid-day.is-today span { color: #000000; }
.hdd-sc-grid-body {
  display: flex;
  position: relative;
  padding-top: 10px;
  padding-bottom: 10px;
}
.hdd-sc-grid-times {
  width: 52px;
  flex-shrink: 0;
  position: relative;
  height: var(--hdd-sc-h);
}
.hdd-sc-grid-mark {
  position: absolute;
  left: 0;
  right: 4px;
  text-align: right;
  font-size: 10px;
  font-weight: 400;
  color: #D1D5DB;
  transform: translateY(-50%);
  white-space: nowrap;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.hdd-sc-grid-mark.is-hour { font-size: 11px; font-weight: 600; color: #9CA3AF; }
.hdd-sc-grid-mark.is-right { left: 4px; right: 0; text-align: left; }
.hdd-sc-grid-col {
  flex: 1;
  min-width: 88px;
  position: relative;
  height: var(--hdd-sc-h);
  border-right: 1px solid #F3F4F6;
  background: #fff;
}
.hdd-sc-grid-line {
  position: absolute;
  left: 0;
  right: 0;
  border-top: 1px dashed #F3F4F6;
  pointer-events: none;
  z-index: 1;
}
.hdd-sc-grid-line.is-hour { border-top: 1px solid #E5E7EB; }
.hdd-sc-now {
  position: absolute;
  left: 0;
  right: 0;
  border-top: 1.5px solid #EF4444;
  z-index: 5;
  pointer-events: none;
}
.hdd-sc-now i {
  position: absolute;
  left: -3px;
  top: -3.5px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #EF4444;
}
.hdd-sc-grid-event {
  position: absolute;
  left: 2px;
  right: 2px;
  border-radius: 6px;
  overflow: hidden;
  z-index: 3;
  box-shadow: 0 2px 6px rgba(0,0,0,0.18);
  display: flex;
  flex-direction: column;
}
.hdd-sc-grid-event-hdr {
  padding: 2px 5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 20px;
  flex-shrink: 0;
}
.hdd-sc-grid-event-hdr span {
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hdd-sc-grid-event-hdr svg { flex-shrink: 0; margin-left: 3px; }
.hdd-sc-grid-event-bdy {
  padding: 2px 5px;
  flex: 1;
  overflow: hidden;
  font-size: 10px;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* Messenger */
.hdd-ms {
  display: block;
  background: #F7F5F0;
}
.hdd-ms-list { padding: 0 0 16px; }
.hdd-ms-head { padding: 16px 16px 0; font-size: 18px; font-weight: 700; }
.hdd-ms-chips { padding: 0 16px; }
.hdd-ms-dialog {
  display: flex; align-items: center; gap: 12px;
  background: #fff; margin: 0 12px 8px; padding: 12px 14px;
  border: 1px solid #E7E2D8; border-radius: 14px;
}
.hdd-ms-dialog.is-on { background: #F0FDFA; }
.hdd-ms-avatar {
  width: 44px; height: 44px; border-radius: 12px; background: #CCFBF1;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: #0F766E; flex-shrink: 0;
}
.hdd-ms-info { flex: 1; min-width: 0; }
.hdd-ms-name { font-weight: 650; font-size: 14px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.hdd-ms-preview { font-size: 13px; color: #000000; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.hdd-ms-chan { font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 6px; background: #f3f4f6; color: #000000; }
.hdd-ms-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex-shrink: 0; }
.hdd-ms-time { font-size: 11px; color: #000000; }
.hdd-ms-unread { background: #DC2626; color: #fff; border-radius: 10px; padding: 1px 7px; font-size: 11px; font-weight: 700; }
.hdd-ms-wait { font-size: 10px; font-weight: 700; color: #B45309; text-transform: uppercase; }
.hdd-ms-chat { display: flex; flex-direction: column; background: #F7F5F0; min-height: 720px; }
.hdd-ms-chat-head { padding: 14px 16px; background: #fff; border-bottom: 1px solid #E7E2D8; }
.hdd-ms-chat-title { font-weight: 700; font-size: 15px; }
.hdd-ms-chat-sub { font-size: 11px; color: #000000; font-weight: 600; }
.hdd-ms-bubbles { flex: 1; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.hdd-ms-msg { display: flex; flex-direction: column; max-width: 78%; }
.hdd-ms-msg.in { align-self: flex-start; }
.hdd-ms-msg.out { align-self: flex-end; align-items: flex-end; }
.hdd-ms-bubble { padding: 10px 14px; border-radius: 16px; font-size: 14px; line-height: 1.45; }
.hdd-ms-msg.in .hdd-ms-bubble { background: #fff; border: 1px solid #E7E2D8; color: #1F2937; border-bottom-left-radius: 4px; }
.hdd-ms-msg.out .hdd-ms-bubble { background: #0F766E; color: #fff; border-bottom-right-radius: 4px; }
.hdd-ms-msg-time { font-size: 10px; color: #000000; margin-top: 4px; }
.hdd-ms-compose {
  display: flex; gap: 8px; padding: 12px 16px; background: #fff;
  border-top: 1px solid #E7E2D8; align-items: center;
}
.hdd-ms-compose-ph {
  flex: 1; border: 1px solid #E7E2D8; border-radius: 22px;
  padding: 10px 16px; font-size: 14px; color: #000000; background: #fff;
}
.hdd-ms-send {
  width: 42px; height: 42px; border-radius: 50%; background: #0F766E; color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
}

/* Homework */
.hdd-hw { padding: 8px 0 16px; }
.hdd-hw-head { display: flex; align-items: flex-start; justify-content: space-between; padding: 16px 18px 0; gap: 12px; }
.hdd-hw-sub { font-size: 13px; color: #000000; margin-top: 4px; }
.hdd-hw-ghost {
  height: 36px; padding: 0 13px; border-radius: 12px; background: #fff;
  box-shadow: 0 1px 2px rgba(20,16,10,0.04); color: #5A5A5A;
  font-size: 13px; font-weight: 600; display: inline-flex; align-items: center;
}
.hdd-hw-pills { padding: 0 16px; }
.hdd-hw-pills i {
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; font-style: normal; margin-left: 4px;
  background: #F59E0B; color: #3b2f18;
}
.hdd-hw-pills span:not(.is-on) i { background: #F0ECE5; color: #9C948C; }
.hdd-hw-card {
  background: #fff; border-radius: 16px; padding: 14px; margin: 0 16px 10px;
  box-shadow: 0 1px 2px rgba(20,16,10,0.04);
}
.hdd-hw-top { display: flex; align-items: center; gap: 12px; }
.hdd-hw-avatar {
  width: 42px; height: 42px; border-radius: 50%; background: #FFF3DC;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: #C87A0A; flex-shrink: 0;
}
.hdd-hw-name { font-size: 15px; font-weight: 700; color: #111827; }
.hdd-hw-course { font-size: 12px; color: #000000; margin-top: 2px; }
.hdd-hw-badge {
  margin-left: auto; padding: 3px 8px; border-radius: 20px;
  font-size: 11px; font-weight: 600; background: #FEF3C7; color: #92400E; flex: none;
}
.hdd-hw-badge.is-rev { background: #FEE2E2; color: #991B1B; }
.hdd-hw-task { font-size: 14px; font-weight: 600; color: #111827; margin: 12px 0 6px; }
.hdd-hw-meta { font-size: 12px; color: #000000; }
.hdd-hw-foot { display: flex; justify-content: flex-end; margin-top: 12px; padding-top: 12px; border-top: 1px solid #F4F0EA; }
.hdd-hw-check, .hdd-hw-open {
  border-radius: 999px; padding: 8px 14px; font-size: 13px; font-weight: 600;
}
.hdd-hw-check { background: #F59E0B; color: #3b2f18; }
.hdd-hw-open { background: #F0ECE5; color: #5A5A5A; }

/* Branches / employees */
.hdd-screen[data-hdd-screen="branches"] .hdd-screen-title {
  margin-bottom: 16px;
}
.hdd-br-list,
.hdd-emp-list {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
}
.hdd-br-item,
.hdd-emp-row {
  padding: 14px 16px;
  border-bottom: 1px solid #F3F4F6;
}
.hdd-br-item:last-child,
.hdd-emp-row:last-child { border-bottom: none; }
.hdd-br-name,
.hdd-emp-name { font-size: 15px; font-weight: 700; color: #1A1A1A; }
.hdd-br-line { font-size: 13px; color: #000000; margin-top: 4px; }
.hdd-br-meta { font-size: 12px; color: #000000; margin-top: 8px; }
.hdd-emp-sub { font-size: 13px; color: #000000; margin-top: 2px; }

/* Video classroom mock */
.hdd-screen[data-hdd-screen="video"].is-active:not([hidden]) {
  display: flex !important;
  flex-direction: column;
  min-height: 100%;
  height: 100%;
}
.hdd-vr {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  min-height: 720px;
  height: 100%;
  background: #FFFEFB;
  color: #111827;
}
.hdd-vr-chrome {
  flex: 0 0 48px;
  height: 48px; display: flex; align-items: center; gap: 8px;
  padding: 0 12px; background: #111827; border-bottom: 1px solid rgba(255,255,255,.08);
  color: #fff;
}
.hdd-vr-title { font-size: 13px; font-weight: 600; flex: 1; min-width: 0; }
.hdd-vr-leave {
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,.2); border-radius: 8px;
  padding: 7px 12px; font-size: 12px; font-weight: 600;
}
.hdd-vr-body {
  flex: 1;
  min-height: 0;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 200px;
}
.hdd-vr-board {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background-color: #FFFEFB;
  background-image: radial-gradient(#E4E1D8 1.1px, transparent 1.2px);
  background-size: 24px 24px;
}
.hdd-wb {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 20px 20px 72px 52px;
  text-align: left;
}
.hdd-wb-title {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -.02em;
  color: #111827;
  display: inline-block;
  max-width: 100%;
  border-bottom: 3px solid #000000;
  padding-bottom: 4px;
  line-height: 1.2;
}
.hdd-wb-rule {
  margin: 0 0 6px;
  font-size: 15px;
  line-height: 1.4;
  color: #000000;
}
.hdd-wb-mark {
  display: inline;
  font-style: normal;
  font-weight: 600;
  color: #111827;
  border-bottom: 2px solid #F59E0B;
  padding: 0 1px;
}
.hdd-wb-card {
  margin-top: 16px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid #E8E6DF;
  border-radius: 12px;
  max-width: 100%;
}
.hdd-wb-kicker {
  font-size: 11px;
  font-weight: 600;
  color: #000000;
  margin-bottom: 8px;
}
.hdd-wb-card p {
  margin: 0 0 6px;
  font-size: 15px;
  color: #1F2937;
  line-height: 1.35;
}
.hdd-wb-card p:last-child {
  margin-bottom: 0;
  padding-bottom: 2px;
  box-shadow: inset 0 -7px 0 #f3f4f6;
  display: inline-block;
}
.hdd-wb-fix {
  margin-top: 12px;
  padding: 12px 14px;
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  border-radius: 12px;
  max-width: 100%;
}
.hdd-wb-wrong {
  margin: 0 0 6px;
  font-size: 15px;
  color: #B45309;
  text-decoration: line-through;
  text-decoration-color: #DC2626;
}
.hdd-wb-right {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #047857;
}
.hdd-wb-tools {
  position: absolute;
  left: 8px;
  top: 8px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hdd-wb-tool {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d9dde3;
  border-radius: 2px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.08);
}
.hdd-wb-tool.is-on {
  border-color: #abc6c6;
  background: #f2f7f5;
  box-shadow: 0 0 0 1px rgba(171, 198, 198, 0.38), 0 2px 6px rgba(16, 24, 40, 0.1);
}
.hdd-wb-tool svg {
  width: 18px;
  height: 18px;
  display: block;
}
.hdd-vr-video {
  min-width: 0;
  background: #0B0F19; border-left: 1px solid #E5E7EB;
  display: flex; flex-direction: column; gap: 8px; padding: 8px;
}
.hdd-vr-tile {
  flex: 1; border-radius: 10px; background: #1f2937;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  color: #fff;
}
.hdd-vr-tile.is-teacher { background: #1e1b4b; }
.hdd-vr-face {
  width: 48px; height: 48px; border-radius: 50%;
  background: #312e81; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 13px;
}
.hdd-vr-tile-name { font-size: 11px; color: #d1d5db; }
.hdd-vr-dock {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px;
  background: rgba(17, 24, 39, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
}
.hdd-vr-dock span {
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  background: transparent;
  white-space: nowrap;
}
.hdd-vr-dock span.is-on { background: #fff; color: #111827; }

/* Lesson builder mock */
.hdd-lb { padding: 20px 18px 28px; background: #F5F3EE; min-height: 720px; }
.hdd-lb-canvas {
  max-width: 640px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 16px;
}
.hdd-lb-h1 {
  margin: 0;
  font-size: 22px; font-weight: 700; letter-spacing: -.01em; color: #111827;
}
.hdd-lb-lead {
  margin: 0; font-size: 15px; line-height: 1.55; color: #000000;
}
.hdd-lb-figure { margin: 0; }
.hdd-lb-figure svg { width: 100%; height: auto; display: block; }
.hdd-lb-card { background: #fff; border-radius: 14px; padding: 16px; }
.hdd-lb-ex { font-size: 15px; font-weight: 600; color: #111827; }
.hdd-lb-opts { display: flex; gap: 8px; flex-wrap: nowrap; margin-top: 12px; overflow-x: auto; }
.hdd-lb-opts span {
  flex: 1; text-align: center;
  padding: 10px 12px; border-radius: 10px; border: 1px solid #E5E7EB;
  background: #fff; font-size: 14px;
}
.hdd-lb-opts span.is-ok { background: #D1FAE5; border-color: #6EE7B7; color: #065F46; font-weight: 600; }
.hdd-lb-vocab {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  width: fit-content;
  background: #fff;
  border-radius: 14px;
  padding: 10px 12px 12px;
}
.hdd-lb-vocab img {
  width: 72px;
  height: 72px;
  display: block;
}
.hdd-lb-vocab figcaption {
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.01em;
}

/* FAQ */
.hdd-faq { padding: 20px 18px 28px; max-width: 720px; }
.hdd-faq .hdd-screen-title { margin-bottom: 16px; }
.hdd-faq-item {
  background: #fff; border-radius: 14px; padding: 14px 16px;
  margin-bottom: 8px; box-shadow: 0 1px 2px rgba(20,16,10,0.04);
}
.hdd-faq-q { font-size: 15px; font-weight: 700; color: #111827; }
.hdd-faq-a { margin-top: 8px; font-size: 14px; line-height: 1.55; color: #000000; }
.hdd-faq-cta {
  pointer-events: auto;
  margin-top: 12px;
  border: none;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  background: #F59E0B;
  color: #3b2f18;
  cursor: pointer;
}

.hdd-demo-hint {
  text-align: center;
  font-size: 13px;
  color: #000000;
  margin: 16px 0 0;
}

@media (max-width: 1100px) {
  .hdd-layout { grid-template-columns: 200px minmax(0, 1fr); }
  .hdd-an-metrics { grid-template-columns: repeat(2, 1fr); }
  .hdd-split { grid-template-columns: 1fr; }
  .hdd-vr-body { grid-template-columns: 1fr; }
  .hdd-vr-video { flex-direction: row; border-left: none; border-top: 1px solid #E5E7EB; min-height: 120px; }
}

@media (max-width: 768px) {
  .hdd-shell { padding: 0; }
  .hdd-layout {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: var(--hdd-bar-h) minmax(0, 1fr);
    height: 520px;
    min-height: 520px;
    max-height: 520px;
    border-radius: 10px;
    overflow: hidden;
  }

  .hdd-mobile-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    height: var(--hdd-bar-h);
    padding: 0 8px 0 4px;
    border-bottom: 1px solid #f0f1f5;
    background: #fafbff;
    z-index: 45;
  }

  .hdd-burger {
    position: relative;
    z-index: 1;
    width: 40px;
    height: 40px;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 10px;
    background: transparent;
    cursor: pointer;
    flex-shrink: 0;
    font-family: inherit;
    overflow: visible;
  }
  .hdd-burger:hover { background: #f3f4f6; }

  .hdd-burger-waves {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
  }

  .hdd-burger-wave {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border-radius: 10px;
    border: 2px solid rgba(0, 0, 0, 0.5);
    opacity: 0;
    animation: hdd-burger-wave 2s ease-out infinite;
  }

  .hdd-burger-wave--mid { animation-delay: 0.65s; }
  .hdd-burger-wave--late { animation-delay: 1.3s; }

  .hdd-burger.is-touched .hdd-burger-wave {
    animation: none;
    opacity: 0;
  }

  @keyframes hdd-burger-wave {
    0% {
      transform: scale(1);
      opacity: 0.55;
    }
    100% {
      transform: scale(1.45);
      opacity: 0;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .hdd-burger-wave {
      animation: none;
      opacity: 0;
    }
  }

  .hdd-burger-bars,
  .hdd-burger-bars::before,
  .hdd-burger-bars::after {
    position: absolute;
    left: 11px;
    width: 18px;
    height: 1.5px;
    background: #111827;
    border-radius: 1px;
    transition: transform 0.2s, opacity 0.2s, top 0.2s;
  }
  .hdd-burger-bars {
    top: 50%;
    margin-top: -0.75px;
    z-index: 1;
  }
  .hdd-burger-bars::before {
    content: "";
    top: -5px;
    left: 0;
  }
  .hdd-burger-bars::after {
    content: "";
    top: 5px;
    left: 0;
  }
  .hdd-layout.is-nav-open .hdd-burger-bars {
    background: transparent;
  }
  .hdd-layout.is-nav-open .hdd-burger-bars::before {
    top: 0;
    transform: rotate(45deg);
  }
  .hdd-layout.is-nav-open .hdd-burger-bars::after {
    top: 0;
    transform: rotate(-45deg);
  }

  .hdd-mobile-title {
    min-width: 0;
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    letter-spacing: -0.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hdd-nav-scrim {
    position: absolute;
    inset: var(--hdd-bar-h) 0 0;
    z-index: 35;
    border: none;
    padding: 0;
    margin: 0;
    background: rgba(17, 24, 39, 0.28);
    cursor: pointer;
  }
  .hdd-layout.is-nav-open .hdd-nav-scrim {
    display: block;
  }

  .hdd-sidebar {
    position: absolute;
    top: var(--hdd-bar-h);
    left: 0;
    bottom: 0;
    width: min(260px, 86%);
    z-index: 40;
    flex-direction: column;
    overflow-y: auto;
    border-right: 1px solid #f0f1f5;
    border-bottom: none;
    transform: translateX(-100%);
    transition: transform 0.2s ease;
  }
  .hdd-layout.is-nav-open .hdd-sidebar {
    transform: translateX(0);
  }

  .hdd-brand { display: none; }
  .hdd-nav { flex-direction: column; }
  .hdd-training-card { display: none; }

  .hdd-stage {
    min-height: 0;
    height: 100%;
    overflow: hidden;
  }
  .hdd-screen.is-active {
    height: 100%;
    overflow: hidden;
  }
  .hdd-screen-title { display: none; }
  .hdd-an,
  .hdd-goals,
  .hdd-faq,
  .hdd-lb,
  .hdd-stack {
    padding: 10px 12px 12px;
    gap: 10px;
  }
  .hdd-an-period,
  .hdd-hw-pills {
    margin: 0 0 10px;
  }
  .hdd-an-period span:nth-child(n+3),
  .hdd-hw-pills span:nth-child(n+3) {
    display: none;
  }
  .hdd-an-metrics { margin-bottom: 8px; gap: 8px; }
  .hdd-an-metric { padding: 10px; }
  .hdd-an-val { font-size: 18px; }
  .hdd-an-sub { display: none; }
  .hdd-an-engage-one { grid-template-columns: repeat(3, 1fr); margin-bottom: 0; padding: 10px 0; }

  .hdd-cli-phone { display: none; }
  .hdd-cli-row { padding: 10px 12px; }
  .hdd-abo-row { padding: 10px 12px; gap: 12px; }
  .hdd-abo-count { min-width: 40px; }
  .hdd-abo-num { font-size: 20px; }
  .hdd-abo-meta { white-space: normal; }
  .hdd-screen-kicker { margin-bottom: 8px; }

  .hdd-goals .goal-card-wrapper-new-design { margin-top: 0; }
  .hdd-goals .lt-ministack li.todo { display: none; }
  .hdd-goals .lt-ministack li { padding: 6px 0; }
  .hdd-goals .lt-ministack li.done .ms-name,
  .hdd-goals .ms-val.muted { color: #000000; }
  .hdd-report-card { margin-top: 8px; margin-bottom: 0; padding: 12px; }
  .hdd-report-photo { width: 56px; height: 56px; }
  .hdd-report-cta { margin-top: 8px; }

  .hdd-sc-head { display: none; }
  .hdd-sc-week { display: none; }
  .hdd-sc-grid { display: none; }
  .hdd-sc-list { display: block; padding-bottom: 8px; }
  .hdd-sc-day { padding: 10px 12px 4px; }
  .hdd-sc-slot { margin: 0 12px 8px; padding: 10px 12px; }
  .hdd-sc-slot:last-child { margin-bottom: 0; }

  .hdd-ms { display: block; }
  .hdd-ms, .hdd-vr, .hdd-lb { min-height: 0; height: 100%; }
  .hdd-ms-list { display: block; padding-top: 4px; }
  .hdd-ms-head { padding: 10px 12px 8px; font-size: 16px; }
  .hdd-ms-dialog { margin: 0 12px 8px; padding: 10px 12px; }

  .hdd-wb-tools {
    flex-direction: row;
    flex-wrap: nowrap;
    left: 8px;
    right: 8px;
    top: 8px;
    width: auto;
  }
  .hdd-wb {
    padding: 48px 12px 64px;
  }
  .hdd-wb-title { font-size: 18px; margin-bottom: 8px; }
  .hdd-wb-card { margin-top: 10px; padding: 10px 12px; }
  .hdd-wb-fix { display: none; }
  .hdd-vr-video { min-height: 72px; padding: 6px; gap: 6px; }
  .hdd-vr-tile:last-child { display: none; }
  .hdd-vr-face { width: 36px; height: 36px; font-size: 11px; }
  .hdd-vr-dock { left: 8px; right: 8px; bottom: 8px; gap: 4px; padding: 4px; }
  .hdd-vr-dock span { padding: 6px 10px; font-size: 11px; }

  .hdd-hw { padding: 10px 0 12px; }
  .hdd-hw-head { display: none; }
  .hdd-hw-pills { padding: 0 12px; }
  .hdd-hw-card { margin: 0 12px 8px; padding: 12px; }
  .hdd-hw-card ~ .hdd-hw-card { display: none; }
  .hdd-hw-foot { margin-top: 8px; padding-top: 8px; }

  .hdd-lb-h1 { font-size: 18px; }
  .hdd-lb-lead {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .hdd-lb-canvas { gap: 10px; padding: 12px; }
  .hdd-lb-card { padding: 12px; }
  .hdd-lb-vocab { padding: 8px 10px 10px; }
  .hdd-lb-vocab img { width: 56px; height: 56px; }

  .hdd-br-item,
  .hdd-emp-row { padding: 10px 12px; }
  .hdd-br-item:nth-child(n+2) { display: none; }
  .hdd-emp-row:nth-child(n+3) { display: none; }
  .hdd-br-meta { display: none; }

  .hdd-faq { padding-bottom: 12px; }
  .hdd-faq-item { padding: 12px 14px; margin-bottom: 6px; }
  .hdd-faq-item:nth-child(n+4) { display: none; }
  .hdd-faq-cta { margin-top: 8px; padding: 6px 12px; }

  .hdd-demo-hint-desk { display: none; }
  .hdd-demo-hint-mob { display: inline; }
}

@media (max-width: 767px) {
  .hdd-sc-grid .hdd-sc-grid-event,
  .hdd-sc-grid .sc-grid-event {
    left: 2px !important;
    right: 2px !important;
    transform: translate(
      calc(var(--gs-stack, 0) * 10px),
      calc(var(--gs-stack, 0) * 10px)
    );
  }

  .hdd-demo-hint {
    margin: 12px 16px 0;
  }
}
