:root {
  --customer-bg: #080c0f;
  --customer-surface: #11171d;
  --customer-surface-strong: #161d24;
  --customer-surface-soft: #0d1319;
  --customer-line: rgba(200, 169, 90, 0.26);
  --customer-line-soft: rgba(200, 169, 90, 0.14);
  --customer-gold: #c8a95a;
  --customer-gold-soft: #e8d095;
  --customer-text: #f4efe3;
  --customer-muted: #c5c0b4;
  --customer-ok: #8cc8a8;
  --customer-shadow: 0 22px 46px rgba(0, 0, 0, 0.35);
  --customer-radius-lg: 22px;
  --customer-radius-md: 16px;
  --customer-radius-sm: 12px;
}

body.customer-shell {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 8% 12%, rgba(200, 169, 90, 0.16), transparent 38%),
    radial-gradient(circle at 84% 6%, rgba(200, 169, 90, 0.11), transparent 33%),
    linear-gradient(160deg, #06090c 0%, #0b1116 45%, #101922 100%);
  color: var(--customer-text);
}

body.customer-shell::after {
  animation: none;
}

.skip-link {
  position: fixed;
  top: -56px;
  left: 14px;
  z-index: 220;
  border-radius: 999px;
  border: 1px solid rgba(200, 169, 90, 0.72);
  background: rgba(9, 13, 17, 0.96);
  color: var(--customer-gold-soft);
  padding: 10px 14px;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: top 0.22s ease;
}

.skip-link:focus {
  top: 12px;
}

.customer-shell-wrap {
  min-height: 100vh;
}

.customer-header {
  position: sticky;
  top: 0;
  z-index: 90;
  display: grid;
  grid-template-columns: 260px 1fr 260px;
  align-items: center;
  gap: 14px;
  min-height: 78px;
  padding: 10px 20px;
  border-bottom: 1px solid var(--customer-line);
  backdrop-filter: blur(11px);
  background: rgba(8, 12, 15, 0.82);
}

.customer-brand {
  display: inline-flex;
  align-items: center;
  width: 160px;
  max-width: 100%;
}

.customer-brand img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 0 12px rgba(200, 169, 90, 0.3));
}

.customer-identity {
  margin: 0;
  text-align: center;
  color: var(--customer-gold-soft);
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.1rem, 2.4vw, 1.7rem);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.customer-identity-divider {
  margin: 0 6px;
  opacity: 0.85;
}

.customer-profile {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}

.customer-profile-button {
  border: 1px solid var(--customer-line);
  background: rgba(17, 23, 29, 0.86);
  color: var(--customer-text);
  width: 48px;
  height: 48px;
  padding: 0;
  overflow: hidden;
  line-height: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.customer-profile-button:hover,
.customer-profile-button:focus-visible {
  transform: translateY(-1px);
  border-color: var(--customer-gold);
}

.customer-profile-button img {
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  display: block;
}

.customer-profile-initials {
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.customer-profile-menu {
  position: absolute;
  top: 66px;
  right: 18px;
  width: min(240px, calc(100vw - 28px));
  padding: 12px;
  border-radius: var(--customer-radius-md);
  border: 1px solid var(--customer-line);
  background: rgba(11, 16, 22, 0.96);
  box-shadow: var(--customer-shadow);
  display: grid;
  gap: 8px;
}

.customer-profile-menu[hidden] {
  display: none;
}

.customer-profile-menu-name {
  margin: 0;
  font-weight: 600;
  font-size: 0.95rem;
}

.customer-profile-menu-plan {
  margin: 0;
  color: var(--customer-muted);
  font-size: 0.82rem;
}

.customer-shell-grid {
  display: grid;
  grid-template-columns: 252px minmax(0, 1fr);
  min-height: calc(100vh - 78px);
}

.customer-sidebar {
  position: sticky;
  top: 78px;
  height: calc(100vh - 78px);
  padding: 22px 16px;
  border-right: 1px solid var(--customer-line-soft);
  background: linear-gradient(180deg, rgba(11, 16, 22, 0.92), rgba(10, 14, 19, 0.84));
  overflow-x: hidden;
  overflow-y: auto;
}

.customer-sidebar-note {
  display: none;
}

.customer-sidebar-nav {
  display: grid;
  gap: 10px;
}

.customer-sidebar-home-cta {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}

.customer-nav-section {
  display: grid;
  gap: 10px;
}

.customer-nav-section + .customer-nav-section {
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid var(--customer-line-soft);
}

.customer-nav-section-title {
  display: none;
}

.customer-nav-link {
  border: 1px solid transparent;
  border-radius: 14px;
  padding: 12px 14px;
  color: var(--customer-muted);
  display: grid;
  gap: 4px;
  transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.customer-nav-link-label {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.customer-nav-link-meta {
  font-size: 0.76rem;
  opacity: 0.83;
}

.customer-nav-link:hover,
.customer-nav-link:focus-visible {
  color: var(--customer-text);
  border-color: var(--customer-line);
  background: rgba(200, 169, 90, 0.08);
  transform: translateX(1px);
}

.customer-nav-link.is-active {
  border-color: rgba(200, 169, 90, 0.62);
  color: var(--customer-text);
  background: linear-gradient(135deg, rgba(200, 169, 90, 0.2), rgba(200, 169, 90, 0.06));
}

.customer-main {
  padding: clamp(18px, 2.6vw, 30px);
  display: grid;
  gap: 18px;
  align-content: start;
}

.customer-panel {
  border-radius: var(--customer-radius-lg);
  border: 1px solid var(--customer-line-soft);
  background: linear-gradient(180deg, rgba(18, 25, 33, 0.88), rgba(14, 20, 27, 0.78));
  box-shadow: var(--customer-shadow);
  padding: clamp(14px, 2vw, 24px);
}

.customer-panel h1,
.customer-panel h2,
.customer-panel h3,
.customer-panel h4 {
  margin: 0;
}

.customer-panel p {
  margin: 0;
}

.customer-section-head {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.customer-section-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--customer-gold-soft);
}

.customer-section-subtext {
  color: var(--customer-muted);
  line-height: 1.58;
  max-width: 72ch;
}

.customer-grid-2,
.customer-grid-3,
.customer-grid-4 {
  display: grid;
  gap: 12px;
}

.customer-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.customer-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.customer-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.customer-card {
  border-radius: var(--customer-radius-md);
  border: 1px solid var(--customer-line-soft);
  background: rgba(12, 18, 24, 0.88);
  padding: 14px;
  display: grid;
  gap: 8px;
  align-content: start;
}

.customer-card-title {
  font-size: 1.03rem;
  line-height: 1.3;
}

.customer-card-meta {
  color: var(--customer-muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.customer-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  border-radius: 999px;
  border: 1px solid var(--customer-line);
  color: var(--customer-gold-soft);
  padding: 3px 9px;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.customer-btn,
.customer-btn-link {
  border-radius: 999px;
  border: 1px solid rgba(200, 169, 90, 0.64);
  background: rgba(200, 169, 90, 0.16);
  color: var(--customer-gold-soft);
  min-height: 40px;
  padding: 9px 16px;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.2s ease, background 0.25s ease, color 0.25s ease;
}

.customer-btn:hover,
.customer-btn:focus-visible,
.customer-btn-link:hover,
.customer-btn-link:focus-visible {
  transform: translateY(-1px);
  background: rgba(200, 169, 90, 0.24);
  color: #fff2d1;
}

.customer-btn.secondary,
.customer-btn-link.secondary {
  border-color: var(--customer-line);
  background: rgba(17, 24, 31, 0.85);
  color: var(--customer-muted);
}

.customer-btn.ghost,
.customer-btn-link.ghost {
  background: transparent;
  border-color: var(--customer-line-soft);
}

.customer-input,
.customer-textarea,
.customer-select {
  width: 100%;
  border: 1px solid var(--customer-line-soft);
  border-radius: 12px;
  background: rgba(9, 14, 18, 0.92);
  color: var(--customer-text);
  font: inherit;
  padding: 11px 12px;
}

.customer-textarea {
  resize: vertical;
  min-height: 92px;
}

.customer-input::placeholder,
.customer-textarea::placeholder {
  color: #9d988d;
}

.customer-input:focus,
.customer-textarea:focus,
.customer-select:focus {
  outline: none;
  border-color: rgba(200, 169, 90, 0.66);
}

.customer-status {
  min-height: 1.15rem;
  font-size: 0.82rem;
  color: var(--customer-muted);
}

.customer-status.ok {
  color: var(--customer-ok);
}

.customer-menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--customer-line);
  background: rgba(16, 22, 29, 0.82);
  color: var(--customer-gold-soft);
}

.customer-sidebar-backdrop {
  position: fixed;
  inset: 0;
  border: 0;
  padding: 0;
  margin: 0;
  background: rgba(0, 0, 0, 0.56);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease;
  z-index: 80;
}

body.customer-nav-open .customer-sidebar-backdrop {
  opacity: 1;
  pointer-events: auto;
}

.dashboard-welcome {
  display: grid;
  gap: 16px;
}

.dashboard-welcome-main {
  text-align: center;
  padding: clamp(16px, 2.5vw, 30px);
  border-radius: var(--customer-radius-lg);
  border: 1px solid var(--customer-line);
  background:
    radial-gradient(circle at 18% 14%, rgba(200, 169, 90, 0.24), transparent 40%),
    radial-gradient(circle at 82% 22%, rgba(200, 169, 90, 0.14), transparent 36%),
    linear-gradient(150deg, rgba(19, 27, 35, 0.98), rgba(13, 18, 25, 0.9));
}

.dashboard-welcome-main h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4.6vw, 3.25rem);
  margin-bottom: 8px;
}

.dashboard-welcome-main p {
  color: var(--customer-muted);
  max-width: 62ch;
  margin: 0 auto;
  line-height: 1.55;
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.dashboard-focus-grid,
.dashboard-area-grid,
.dashboard-quickstart-grid,
.dashboard-trace-grid,
.learning-path-grid,
.support-overview-grid,
.support-service-grid {
  display: grid;
  gap: 12px;
}

.dashboard-focus-grid,
.learning-path-grid,
.support-overview-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.dashboard-area-grid,
.dashboard-quickstart-grid,
.support-service-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.dashboard-trace-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.dashboard-focus-card,
.dashboard-area-card,
.learning-path-card,
.support-metric-card,
.support-service-card {
  min-height: 190px;
}

.dashboard-area-card {
  height: 100%;
  min-height: 232px;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  gap: 12px;
  padding: 16px;
  background: linear-gradient(180deg, rgba(13, 19, 25, 0.94), rgba(10, 15, 20, 0.9));
}

.dashboard-card-value,
.learning-path-value,
.support-metric-value {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.45rem, 2.9vw, 2.1rem);
  line-height: 1.08;
  color: var(--customer-gold-soft);
}

.dashboard-area-copy {
  display: grid;
  gap: 7px;
}

.dashboard-area-summary {
  margin: 0;
  color: var(--customer-text);
  font-size: 0.96rem;
  line-height: 1.46;
}

.dashboard-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-content: flex-start;
  min-height: 64px;
}

.dashboard-card-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(200, 169, 90, 0.24);
  background: rgba(200, 169, 90, 0.08);
  color: var(--customer-gold-soft);
  padding: 4px 10px;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dashboard-card-tag.is-muted {
  border-color: rgba(197, 192, 180, 0.16);
  background: rgba(197, 192, 180, 0.06);
  color: var(--customer-muted);
}

.dashboard-focus-card .customer-btn-link,
.dashboard-area-card .customer-btn-link,
.learning-path-card .customer-btn-link,
.support-service-card .customer-btn-link {
  margin-top: auto;
}

.dashboard-area-card .customer-btn-link {
  width: 100%;
}

.quickstart-card {
  min-height: 100%;
  padding: 0;
  overflow: hidden;
  gap: 0;
  background: linear-gradient(180deg, rgba(14, 20, 27, 0.96), rgba(10, 15, 20, 0.92));
}

.quickstart-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.quickstart-body {
  min-height: 100%;
  padding: 11px 13px 13px;
  display: grid;
  gap: 7px;
  align-content: start;
}

.quickstart-body .customer-card-title {
  font-size: 0.98rem;
  line-height: 1.25;
}

.quickstart-body .customer-card-meta {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(1.45em * 2);
}

.quickstart-card .customer-btn-link {
  width: 100%;
  margin-top: auto;
}

.dashboard-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: 10px;
}

.dashboard-summary-item {
  border-radius: 12px;
  border: 1px solid var(--customer-line-soft);
  background: rgba(9, 14, 18, 0.78);
  padding: 10px;
  display: grid;
  gap: 4px;
}

.dashboard-summary-label {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--customer-muted);
}

.dashboard-summary-value {
  font-size: 1.05rem;
  line-height: 1.2;
  color: var(--customer-text);
}

.dashboard-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.dashboard-activity-list {
  display: grid;
  gap: 10px;
  margin-top: 6px;
}

.dashboard-activity-item {
  text-decoration: none;
  color: inherit;
  display: grid;
  gap: 6px;
  padding-top: 10px;
  border-top: 1px solid var(--customer-line-soft);
}

.dashboard-activity-item:first-child {
  padding-top: 0;
  border-top: 0;
}

.dashboard-activity-item strong {
  font-size: 0.95rem;
  line-height: 1.35;
}

.dashboard-activity-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--customer-muted);
}

.dashboard-stat-card {
  padding: 14px;
  text-align: center;
}

.dashboard-stat-value {
  font-family: 'Cormorant Garamond', serif;
  color: var(--customer-gold-soft);
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
}

.notification-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

.notification-card {
  position: relative;
  overflow: hidden;
  min-height: 0;
  padding: 0;
  background: linear-gradient(180deg, rgba(15, 20, 26, 0.96), rgba(10, 15, 20, 0.9));
  transition: transform 0.28s ease, opacity 0.28s ease, border-color 0.24s ease;
}

.notification-card.is-entering {
  animation: notificationCardIn 0.36s ease both;
}

.notification-card.is-removing {
  opacity: 0;
  transform: scale(0.96) translateY(8px);
  pointer-events: none;
}

.notification-link {
  display: grid;
  grid-template-columns: 152px minmax(0, 1fr);
  gap: 16px;
  padding: 14px 18px 14px 14px;
  min-height: 100%;
  color: inherit;
  align-items: start;
}

.notification-media {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(9, 14, 18, 0.78);
  border: 1px solid rgba(200, 169, 90, 0.14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.notification-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.notification-content {
  min-height: 100%;
  padding: 4px 0 2px;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  gap: 9px;
  align-content: start;
}

.notification-content .customer-card-title {
  font-size: 1.05rem;
  line-height: 1.24;
}

.notification-content .customer-card-meta {
  line-height: 1.42;
}

.notification-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.notification-close {
  position: absolute;
  top: 14px;
  right: 14px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(8, 10, 13, 0.88);
  color: #f2efe5;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.notification-close:hover,
.notification-close:focus-visible {
  transform: scale(1.04);
  background: rgba(18, 23, 29, 0.96);
  border-color: rgba(200, 169, 90, 0.44);
}

.notification-link-hint {
  color: var(--customer-gold-soft);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: auto;
}

.notification-empty-card {
  min-height: 220px;
  align-content: center;
  justify-items: center;
  text-align: center;
  gap: 12px;
  padding: 28px;
  background:
    radial-gradient(circle at 12% 14%, rgba(200, 169, 90, 0.16), transparent 35%),
    linear-gradient(170deg, rgba(14, 20, 27, 0.95), rgba(11, 16, 22, 0.88));
}

.widget-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 16px;
}

.widget-toolbar .customer-card-meta {
  max-width: 58ch;
}

.widget-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

.widget-add-card {
  min-height: 228px;
  display: grid;
  place-items: center;
  text-align: center;
  gap: 10px;
  background: linear-gradient(180deg, rgba(14, 20, 27, 0.86), rgba(10, 15, 20, 0.82));
}

.widget-add-button {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 1px solid var(--customer-line);
  background: rgba(200, 169, 90, 0.14);
  color: var(--customer-gold-soft);
  font-size: 2rem;
  cursor: pointer;
}

.widget-card {
  position: relative;
  min-height: 228px;
  padding: 16px;
  gap: 12px;
  background: linear-gradient(180deg, rgba(14, 20, 27, 0.94), rgba(10, 15, 20, 0.9));
}

.widget-card-remove {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--customer-line);
  background: rgba(9, 14, 18, 0.92);
  color: var(--customer-gold-soft);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.widget-card-remove:hover,
.widget-card-remove:focus-visible {
  transform: scale(1.04);
  border-color: rgba(200, 169, 90, 0.56);
  background: rgba(14, 20, 27, 0.98);
}

.widget-mini-list {
  display: grid;
  gap: 7px;
  margin-top: 3px;
}

.widget-answer-box {
  min-height: 98px;
  padding: 12px 13px;
  border-radius: 14px;
  border: 1px solid var(--customer-line-soft);
  background: rgba(9, 14, 18, 0.72);
  display: grid;
  align-content: center;
}

.widget-inline-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.widget-task-item {
  text-decoration: none;
  color: inherit;
  display: grid;
  gap: 6px;
  padding: 11px 12px;
  border-radius: 14px;
  border: 1px solid var(--customer-line-soft);
  background: rgba(10, 15, 20, 0.72);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.widget-task-item:hover,
.widget-task-item:focus-visible {
  transform: translateY(-1px);
  border-color: var(--customer-line);
  background: rgba(15, 21, 28, 0.9);
}

.widget-task-item strong {
  font-size: 0.92rem;
  line-height: 1.35;
}

.widget-mini-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--customer-muted);
  font-size: 0.84rem;
}

.widget-mini-meter {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: rgba(200, 169, 90, 0.12);
  overflow: hidden;
}

.widget-mini-meter > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(200, 169, 90, 0.35), rgba(232, 208, 149, 0.82));
}

.widget-picker {
  position: fixed;
  inset: 0;
  background: rgba(3, 5, 8, 0.66);
  display: grid;
  justify-items: center;
  align-items: start;
  padding: 18px;
  overflow-y: auto;
  z-index: 200;
}

.widget-picker[hidden] {
  display: none;
}

.widget-picker-panel {
  width: min(760px, calc(100vw - 26px));
  max-height: calc(100vh - 36px);
  border-radius: var(--customer-radius-lg);
  border: 1px solid var(--customer-line);
  background: rgba(11, 16, 22, 0.98);
  box-shadow: var(--customer-shadow);
  padding: 20px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 12px;
  overflow: hidden;
}

.widget-option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-height: min(58vh, 620px);
  overflow-y: auto;
  align-content: start;
  padding-right: 4px;
}

.widget-option {
  border: 1px solid var(--customer-line-soft);
  border-radius: 12px;
  padding: 11px;
  display: grid;
  gap: 10px;
  background: rgba(15, 21, 28, 0.88);
  align-content: start;
}

.widget-option input {
  margin-right: 8px;
}

.widget-option-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.widget-option-head > span {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.widget-option-preview {
  border-radius: 12px;
  border: 1px solid rgba(200, 169, 90, 0.14);
  background: linear-gradient(180deg, rgba(10, 15, 20, 0.92), rgba(13, 19, 25, 0.86));
  min-height: 108px;
  padding: 10px;
}

.widget-option-preview-card {
  display: grid;
  gap: 8px;
  align-content: start;
}

.widget-option-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 24px;
  border-radius: 999px;
  border: 1px solid rgba(200, 169, 90, 0.28);
  background: rgba(200, 169, 90, 0.1);
  color: var(--customer-gold-soft);
  padding: 2px 8px;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.widget-option-stat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--customer-muted);
  font-size: 0.78rem;
}

.widget-option-stat-row strong {
  color: var(--customer-text);
  font-size: 0.88rem;
}

.widget-option-preview-score {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  min-height: 52px;
}

.widget-option-bar {
  flex: 1 1 0;
  border-radius: 999px 999px 8px 8px;
  background: linear-gradient(180deg, rgba(232, 208, 149, 0.86), rgba(200, 169, 90, 0.2));
}

.widget-option-preview-answer,
.widget-option-preview-net,
.widget-option-preview-checklist {
  display: grid;
  gap: 8px;
  align-content: center;
}

.widget-option-bubble {
  padding: 9px 10px;
  border-radius: 12px;
  border: 1px solid rgba(200, 169, 90, 0.16);
  background: rgba(9, 14, 18, 0.78);
  color: var(--customer-text);
  font-size: 0.76rem;
  line-height: 1.42;
}

.widget-option-line {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: rgba(197, 192, 180, 0.18);
  width: 62%;
}

.widget-option-line.wide {
  width: 92%;
}

.widget-option-pills {
  display: flex;
  gap: 6px;
}

.widget-option-pills span,
.widget-option-check {
  display: inline-flex;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid rgba(200, 169, 90, 0.26);
  background: rgba(200, 169, 90, 0.12);
}

.widget-option-preview-checklist {
  grid-template-columns: auto 1fr;
  align-items: center;
}

.widget-option-preview-checklist .widget-option-preview-cta {
  grid-column: 1 / -1;
}

.widget-option-preview-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 26px;
  border-radius: 999px;
  border: 1px solid rgba(200, 169, 90, 0.28);
  background: rgba(200, 169, 90, 0.12);
  color: var(--customer-gold-soft);
  padding: 3px 9px;
  font-size: 0.68rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.widget-option-actions {
  display: flex;
  gap: 8px;
}

.widget-option-actions span {
  display: inline-flex;
  flex: 1 1 0;
  min-height: 24px;
  border-radius: 999px;
  border: 1px solid rgba(200, 169, 90, 0.18);
  background: rgba(200, 169, 90, 0.08);
}

.widget-picker-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 4px;
}

.learning-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.learning-strip-card {
  color: inherit;
  text-decoration: none;
  min-height: 106px;
}

.learning-strip-card:hover {
  border-color: var(--customer-line);
}

.learning-active-grid,
.learning-discover-grid,
.learning-practice-grid,
.learning-reco-grid,
.learning-seminar-grid,
.learning-history-grid,
.support-topic-grid,
.support-contact-grid,
.support-request-grid {
  display: grid;
  gap: 12px;
}

.learning-active-grid,
.learning-discover-grid,
.learning-practice-grid,
.support-topic-grid,
.support-contact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.learning-reco-grid,
.learning-seminar-grid,
.support-request-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.support-service-grid {
  margin-top: 12px;
}

.learning-media-card {
  padding: 0;
  overflow: hidden;
  gap: 0;
}

.learning-media-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.learning-media-body {
  padding: 12px;
  display: grid;
  gap: 8px;
  align-content: start;
}

.learning-icon-title,
.support-topic-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.learning-icon {
  width: 31px;
  height: 31px;
  border-radius: 50%;
  background: rgba(200, 169, 90, 0.16);
  border: 1px solid var(--customer-line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.learning-history-toggle {
  border-radius: var(--customer-radius-md);
  border: 1px solid var(--customer-line-soft);
  background: rgba(13, 18, 24, 0.82);
  padding: 12px;
}

.learning-history-toggle summary {
  cursor: pointer;
  font-weight: 600;
}

.learning-history-body {
  margin-top: 11px;
  display: grid;
  gap: 10px;
}

.support-hera-scope {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.support-scope-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 5px;
  color: var(--customer-muted);
  font-size: 0.86rem;
}

.support-topic-button {
  width: 100%;
  text-align: left;
  border: 1px solid var(--customer-line-soft);
  border-radius: 12px;
  background: rgba(12, 18, 24, 0.88);
  color: var(--customer-text);
  padding: 12px;
  display: grid;
  gap: 5px;
  cursor: pointer;
}

.support-topic-button:hover,
.support-topic-button:focus-visible {
  border-color: var(--customer-line);
  background: rgba(18, 24, 31, 0.94);
}

.support-topic-explain {
  margin-top: 10px;
  color: var(--customer-muted);
  font-size: 0.88rem;
  min-height: 1.1rem;
}

.support-request-card {
  cursor: pointer;
}

.support-request-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--customer-muted);
}

.support-request-status {
  border-radius: 999px;
  border: 1px solid var(--customer-line-soft);
  padding: 2px 8px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.support-request-status.ok {
  border-color: rgba(140, 200, 168, 0.52);
  color: var(--customer-ok);
}

.support-request-detail {
  margin-top: 8px;
  color: var(--customer-muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

.support-service-card.is-highlighted {
  border-color: rgba(200, 169, 90, 0.54);
  background: linear-gradient(180deg, rgba(28, 36, 45, 0.92), rgba(15, 21, 28, 0.88));
}

.support-context-panel {
  border-left: 3px solid rgba(200, 169, 90, 0.54);
}

.customer-page-hero {
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 16%, rgba(200, 169, 90, 0.14), transparent 30%),
    radial-gradient(circle at 84% 20%, rgba(200, 169, 90, 0.1), transparent 24%),
    linear-gradient(155deg, rgba(16, 23, 30, 0.98), rgba(11, 16, 22, 0.86));
}

.customer-hero-layout,
.customer-detail-grid,
.customer-option-grid,
.customer-form-grid,
.customer-hero-grid,
.customer-info-stack,
.seminar-catalog-grid,
.customer-record-list,
.customer-timeline,
.customer-action-row,
.customer-note-list,
.customer-result-analysis-list,
.customer-result-reco-list,
.customer-side-nav-list,
.customer-progress-legend,
.customer-test-nav {
  display: grid;
  gap: 12px;
}

.customer-hero-layout,
.customer-detail-grid.customer-detail-grid-2,
.customer-detail-grid.customer-detail-grid-top {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.customer-hero-layout {
  align-items: start;
  gap: clamp(14px, 2vw, 26px);
}

.customer-hero-copy,
.customer-media-panel,
.customer-test-stage,
.customer-result-panel {
  display: grid;
  gap: 12px;
  align-content: start;
}

.customer-hero-copy h1,
.customer-card-title-xl {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.04;
}

.customer-card-title-xl {
  margin: 0;
}

.customer-hero-grid,
.seminar-catalog-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.customer-hero-grid > .customer-card,
.customer-metric-card {
  min-height: 140px;
}

.customer-metric-card h3,
.customer-hero-grid .customer-card-title {
  font-size: clamp(1.06rem, 1.6vw, 1.26rem);
}

.customer-detail-grid {
  align-items: start;
}

.customer-detail-grid-top {
  align-items: stretch;
}

.customer-media-panel {
  padding: 0;
  overflow: hidden;
}

.customer-detail-image {
  width: 100%;
  height: 100%;
  min-height: min(54vh, 430px);
  object-fit: cover;
  display: block;
}

.customer-record-list,
.customer-timeline {
  gap: 14px;
}

.customer-record-item,
.customer-timeline-item,
.seminar-catalog-card,
.customer-option-card,
.customer-highlight-panel,
.customer-empty-state,
.customer-info-item,
.customer-test-question,
.customer-test-nav-item,
.customer-result-reco-item,
.customer-result-analysis-item {
  border-radius: var(--customer-radius-md);
  border: 1px solid var(--customer-line-soft);
  background: rgba(12, 18, 24, 0.88);
}

.customer-record-item,
.customer-timeline-item,
.customer-highlight-panel,
.customer-empty-state,
.customer-test-question,
.customer-result-reco-item,
.customer-result-analysis-item {
  padding: 14px;
}

.customer-record-head,
.customer-record-side,
.customer-option-card,
.customer-info-item,
.customer-action-row,
.customer-result-score-shell,
.customer-result-summary-block {
  display: flex;
}

.customer-record-head,
.customer-record-side {
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.customer-record-head {
  margin-bottom: 8px;
}

.customer-record-side {
  flex-direction: column;
  align-items: flex-end;
}

.customer-record-badge {
  border-radius: 999px;
  border: 1px solid var(--customer-line-soft);
  color: var(--customer-gold-soft);
  padding: 3px 8px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.customer-option-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.customer-option-card {
  width: 100%;
  min-height: 176px;
  text-align: left;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 14px;
  color: var(--customer-text);
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.25s ease, background 0.25s ease;
}

.customer-option-card:hover,
.customer-option-card:focus-visible {
  transform: translateY(-1px);
  border-color: var(--customer-line);
  background: rgba(18, 25, 33, 0.95);
}

.customer-option-card.is-selected {
  border-color: rgba(200, 169, 90, 0.58);
  background: linear-gradient(160deg, rgba(200, 169, 90, 0.16), rgba(16, 23, 30, 0.96));
}

.customer-option-card[disabled] {
  cursor: default;
  opacity: 0.72;
}

.customer-highlight-panel {
  display: grid;
  gap: 8px;
  background:
    radial-gradient(circle at 14% 16%, rgba(200, 169, 90, 0.14), transparent 28%),
    rgba(12, 18, 24, 0.92);
}

.customer-form-grid {
  align-content: start;
}

.customer-form-grid label {
  display: grid;
  gap: 8px;
  color: var(--customer-muted);
  font-size: 0.84rem;
}

.customer-action-row {
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.customer-info-stack {
  gap: 10px;
}

.customer-info-item {
  padding: 11px 12px;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.customer-info-item strong {
  font-size: 0.95rem;
  line-height: 1.35;
}

.customer-info-item span,
.customer-info-item p {
  margin: 0;
  color: var(--customer-muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.customer-note-list {
  margin: 0;
  padding-left: 18px;
  color: var(--customer-muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.seminar-catalog-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.seminar-catalog-card {
  overflow: hidden;
  display: grid;
  gap: 0;
}

.seminar-catalog-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.seminar-catalog-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.seminar-catalog-badge {
  position: absolute;
  top: 10px;
  left: 10px;
}

.seminar-catalog-body {
  padding: 14px;
  display: grid;
  gap: 10px;
}

.seminar-catalog-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.seminar-catalog-meta span {
  border-radius: 12px;
  border: 1px solid var(--customer-line-soft);
  background: rgba(9, 14, 18, 0.74);
  padding: 8px 10px;
  color: var(--customer-muted);
  font-size: 0.8rem;
}

.seminar-catalog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}

.seminar-catalog-card.is-booked {
  border-color: rgba(140, 200, 168, 0.34);
}

.seminar-catalog-card.is-locked {
  background: linear-gradient(170deg, rgba(14, 18, 22, 0.95), rgba(11, 14, 18, 0.92));
}

.seminar-catalog-card.is-locked .seminar-catalog-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(5, 7, 9, 0.4);
}

.customer-progress-shell {
  display: grid;
  gap: 10px;
}

.customer-progress-bar,
.customer-result-bar {
  width: 100%;
  height: 12px;
  border-radius: 999px;
  background: rgba(200, 169, 90, 0.12);
  overflow: hidden;
}

.customer-progress-bar > span,
.customer-result-bar > span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(200, 169, 90, 0.52), rgba(232, 208, 149, 0.94));
  transition: width 0.22s ease;
}

.customer-progress-legend {
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
}

.customer-test-form {
  display: grid;
  gap: 14px;
}

.customer-test-question {
  display: grid;
  gap: 12px;
}

.customer-test-question-head {
  display: grid;
  gap: 6px;
}

.customer-test-question-count {
  color: var(--customer-gold-soft);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.customer-test-question-title {
  margin: 0;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.35;
}

.customer-test-options {
  display: grid;
  gap: 8px;
}

.customer-test-option {
  border-radius: 14px;
  border: 1px solid var(--customer-line-soft);
  background: rgba(10, 15, 20, 0.86);
  padding: 12px 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  transition: border-color 0.25s ease, transform 0.2s ease, background 0.25s ease;
}

.customer-test-option:hover,
.customer-test-option:focus-within {
  border-color: var(--customer-line);
  transform: translateY(-1px);
}

.customer-test-option.is-selected {
  border-color: rgba(200, 169, 90, 0.56);
  background: linear-gradient(160deg, rgba(200, 169, 90, 0.12), rgba(10, 15, 20, 0.92));
}

.customer-test-option input {
  margin-top: 3px;
}

.customer-test-nav {
  grid-template-columns: repeat(auto-fit, minmax(44px, 1fr));
}

.customer-test-nav-item {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--customer-muted);
  background: rgba(9, 14, 18, 0.76);
  cursor: pointer;
}

.customer-test-nav-item.is-current {
  border-color: rgba(200, 169, 90, 0.56);
  color: var(--customer-text);
}

.customer-test-nav-item.is-complete {
  color: var(--customer-ok);
  border-color: rgba(140, 200, 168, 0.38);
}

.customer-side-nav-list {
  display: grid;
  gap: 10px;
}

.customer-result-panel {
  gap: 14px;
}

.customer-result-score {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.3rem, 5vw, 4rem);
  line-height: 0.95;
  color: var(--customer-gold-soft);
}

.customer-result-percent {
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--customer-muted);
}

.customer-result-recommendations {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}

.customer-result-reco-item,
.customer-result-analysis-item {
  display: grid;
  gap: 6px;
}

.customer-result-reco-item strong,
.customer-result-analysis-item strong {
  font-size: 0.95rem;
}

.customer-empty-state {
  min-height: 180px;
  align-content: center;
  text-align: center;
}

.customer-fade-in {
  animation: customerFadeIn 0.45s ease both;
}

body.customer-shell-legacy .app-topbar {
  position: sticky;
  top: 0;
  z-index: 90;
  display: grid;
  grid-template-columns: auto 170px 1fr auto;
  align-items: center;
  gap: 10px;
  min-height: 78px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--customer-line);
  backdrop-filter: blur(11px);
  background: rgba(8, 12, 15, 0.82);
}

body.customer-shell-legacy .app-layout {
  display: grid;
  grid-template-columns: 252px minmax(0, 1fr);
  min-height: calc(100vh - 78px);
}

body.customer-shell-legacy .app-sidebar {
  position: sticky;
  top: 78px;
  height: calc(100vh - 78px);
  padding: 22px 16px;
  border-right: 1px solid var(--customer-line-soft);
  background: linear-gradient(180deg, rgba(11, 16, 22, 0.92), rgba(10, 14, 19, 0.84));
  overflow-x: hidden;
  overflow-y: auto;
}

body.customer-shell-legacy .app-main {
  padding: clamp(18px, 2.6vw, 30px);
  display: grid;
  gap: 18px;
  align-content: start;
}

body.customer-shell-legacy .app-main > .app-section {
  border-radius: var(--customer-radius-lg);
  border: 1px solid var(--customer-line-soft);
  background: linear-gradient(180deg, rgba(18, 25, 33, 0.88), rgba(14, 20, 27, 0.78));
  box-shadow: var(--customer-shadow);
  padding: clamp(14px, 2vw, 24px);
}

body.customer-shell-legacy .app-main > .app-section.net-tabs-shell,
body.customer-shell-legacy .app-main > .app-section.net-chat-bottom,
body.customer-shell-legacy .app-main > .app-section.net-post-bottom-input,
body.customer-shell-legacy[data-page="messages"] .app-main > .app-section.net-panel,
body.customer-shell-legacy[data-page="playlist-info"] .app-main > .app-section.playlist-shell {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

body.customer-shell-legacy[data-page="playlist-info"] .video-stage,
body.customer-shell-legacy[data-page="playlist-info"] .playlist-panel {
  border: 1px solid var(--customer-line-soft);
  border-radius: var(--customer-radius-lg);
  background: linear-gradient(180deg, rgba(18, 25, 33, 0.9), rgba(14, 20, 27, 0.82));
  box-shadow: var(--customer-shadow);
}

body.customer-shell-legacy[data-page="playlist-info"] .video-stage {
  padding: 14px;
}

body.customer-shell-legacy[data-page="playlist-info"] .video-frame {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(200, 169, 90, 0.26);
}

body.customer-shell-legacy[data-page="playlist-info"] .video-frame video {
  width: 100%;
  min-height: min(52vh, 420px);
  background: #05080c;
}

body.customer-shell-legacy[data-page="playlist-info"] .player-controls {
  border-radius: 16px;
  border: 1px solid var(--customer-line-soft);
  background: rgba(9, 13, 17, 0.82);
  padding: 12px;
}

body.customer-shell-legacy[data-page="playlist-info"] .playlist-video-item {
  grid-template-columns: 114px minmax(0, 1fr);
  align-items: stretch;
  gap: 10px;
}

.playlist-video-thumb {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(200, 169, 90, 0.26);
  min-height: 74px;
}

.playlist-video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.playlist-video-copy {
  display: grid;
  gap: 4px;
  text-align: left;
}

.playlist-video-progress {
  color: var(--customer-gold-soft);
}

.player-help {
  margin: 2px 0 0;
  color: var(--customer-muted);
  font-size: 0.75rem;
}

.customer-legacy-brand {
  display: inline-flex;
  align-items: center;
  width: 160px;
  max-width: 100%;
}

.customer-legacy-brand img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 0 12px rgba(200, 169, 90, 0.3));
}

.customer-legacy-identity {
  margin: 0;
  text-align: center;
  color: var(--customer-gold-soft);
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.08rem, 2.1vw, 1.55rem);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.customer-legacy-divider {
  margin: 0 6px;
  opacity: 0.85;
}

.customer-legacy-profile-wrap {
  position: relative;
  justify-self: end;
}

.customer-legacy-profile-btn {
  border: 1px solid var(--customer-line);
  background: rgba(17, 23, 29, 0.86);
  color: var(--customer-text);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.customer-legacy-profile-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.customer-legacy-profile-initials {
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.customer-legacy-profile-menu {
  position: absolute;
  top: 58px;
  right: 0;
  width: min(240px, calc(100vw - 28px));
  padding: 12px;
  border-radius: var(--customer-radius-md);
  border: 1px solid var(--customer-line);
  background: rgba(11, 16, 22, 0.96);
  box-shadow: var(--customer-shadow);
  display: grid;
  gap: 8px;
}

.customer-legacy-profile-name {
  margin: 0;
  font-weight: 600;
  font-size: 0.95rem;
}

.customer-legacy-profile-plan {
  margin: 0;
  color: var(--customer-muted);
  font-size: 0.82rem;
}

body.customer-shell-legacy .app-menu {
  display: grid;
  gap: 10px;
  margin: 0;
}

body.customer-shell-legacy .app-menu a {
  text-decoration: none;
}

body.customer-shell-legacy .app-sidebar .app-sidebar-close {
  display: none;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--customer-line);
  background: rgba(15, 21, 28, 0.9);
  color: var(--customer-gold-soft);
  margin: 0 0 10px auto;
}

body.customer-shell-legacy .app-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--customer-line);
  background: rgba(16, 22, 29, 0.82);
  color: var(--customer-gold-soft);
  cursor: pointer;
}

body.customer-shell-legacy .app-sidebar-backdrop {
  position: fixed;
  inset: 0;
  border: 0;
  padding: 0;
  margin: 0;
  background: rgba(0, 0, 0, 0.56);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease;
  z-index: 80;
}

body.customer-shell-legacy.app-sidebar-open .app-sidebar-backdrop {
  opacity: 1;
  pointer-events: auto;
}

@keyframes customerFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes notificationCardIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 1180px) {
  body.customer-shell-legacy .app-topbar {
    grid-template-columns: auto 130px 1fr auto;
    gap: 8px;
    padding: 10px 12px;
  }

  body.customer-shell-legacy .app-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  body.customer-shell-legacy .app-nav-toggle {
    display: inline-flex;
  }

  body.customer-shell-legacy .app-sidebar {
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    width: min(84vw, 320px);
    height: 100vh;
    transform: translateX(-103%);
    transition: transform 0.27s ease;
    padding-top: 92px;
    border-right: 1px solid var(--customer-line);
  }

  body.customer-shell-legacy.app-sidebar-open .app-sidebar {
    transform: translateX(0);
  }

  body.customer-shell-legacy .app-sidebar .app-sidebar-close {
    display: inline-flex;
  }

  .customer-header {
    grid-template-columns: auto 1fr auto;
  }

  .customer-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .customer-shell-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .customer-sidebar {
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    width: min(84vw, 320px);
    height: 100vh;
    transform: translateX(-103%);
    transition: transform 0.27s ease;
    padding-top: 92px;
    border-right: 1px solid var(--customer-line);
  }

  .customer-sidebar-nav {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 120px);
  }

  .customer-sidebar-home-cta {
    margin-top: auto;
  }

  body.customer-nav-open .customer-sidebar {
    transform: translateX(0);
  }
}

@media (max-width: 960px) {
  .customer-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.customer-shell-legacy[data-page="playlist-info"] .playlist-video-item {
    grid-template-columns: minmax(0, 1fr);
  }

  .widget-grid,
  .learning-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .notification-link {
    grid-template-columns: 136px minmax(0, 1fr);
  }

  .widget-picker-panel {
    width: min(720px, calc(100vw - 22px));
  }

  .support-hera-scope,
  .customer-grid-3,
  .customer-detail-grid.customer-detail-grid-2,
  .customer-detail-grid.customer-detail-grid-top,
  .learning-active-grid,
  .learning-discover-grid,
  .learning-practice-grid,
  .learning-reco-grid,
  .learning-seminar-grid,
  .support-topic-grid,
  .support-contact-grid,
  .support-request-grid,
  .customer-option-grid,
  .customer-hero-layout,
  .seminar-catalog-grid,
  .widget-option-grid,
  .notification-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  body.customer-shell-legacy .app-topbar {
    min-height: 72px;
    grid-template-columns: auto 110px 1fr auto;
  }

  .customer-legacy-identity {
    display: none;
  }

  body.customer-shell-legacy .app-main {
    padding: 12px;
    gap: 12px;
  }

  .customer-legacy-profile-menu {
    right: -6px;
  }

  .customer-header {
    min-height: 72px;
    padding: 10px 12px;
    gap: 8px;
  }

  .customer-identity {
    display: none;
  }

  .customer-brand {
    width: 120px;
  }

  .customer-identity {
    font-size: 1.03rem;
  }

  .customer-main {
    padding: 12px;
    gap: 12px;
  }

  .dashboard-stats,
  .customer-grid-2,
  .customer-grid-4,
  .seminar-catalog-meta,
  .widget-grid,
  .dashboard-area-grid,
  .dashboard-quickstart-grid,
  .learning-strip {
    grid-template-columns: minmax(0, 1fr);
  }

  .widget-toolbar {
    flex-direction: column;
  }

  .widget-picker {
    padding: 10px;
  }

  .widget-picker-panel {
    width: min(100%, calc(100vw - 20px));
    max-height: calc(100vh - 20px);
    padding: 14px;
  }

  .widget-option-grid {
    max-height: min(62vh, 560px);
  }

  .notification-link {
    grid-template-columns: minmax(0, 1fr);
    padding: 12px;
  }

  .notification-media {
    aspect-ratio: 16 / 10;
  }

  .notification-content {
    padding: 2px 2px 0;
  }

  .customer-panel {
    border-radius: 16px;
    padding: 13px;
  }

  body.customer-shell-legacy[data-page="playlist-info"] .video-frame video {
    min-height: min(44vh, 320px);
  }

  .customer-profile-menu {
    top: 62px;
    right: 10px;
  }

  .customer-detail-image {
    min-height: 260px;
  }
}

@media (max-width: 680px) {
  .dashboard-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
}

@media (max-width: 640px) {
  .customer-header {
    padding-left: max(12px, env(safe-area-inset-left));
    padding-right: max(12px, env(safe-area-inset-right));
  }

  .customer-input,
  .customer-textarea,
  .customer-select {
    min-height: 44px;
  }

  .customer-menu-toggle,
  .notification-close,
  .widget-card-remove {
    min-width: 44px;
    min-height: 44px;
  }
}

@media (max-width: 480px) {
  .dashboard-summary-grid {
    grid-template-columns: 1fr;
  }

  .dn-profile-head {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .dn-avatar {
    width: 72px;
    height: 72px;
  }
}

@media (max-width: 560px) {
  .customer-main,
  body.customer-shell-legacy .app-main {
    padding: 10px;
    gap: 10px;
  }

  .customer-panel,
  body.customer-shell-legacy .app-main > .app-section {
    padding: 12px;
    border-radius: 14px;
  }

  .customer-profile-button {
    width: 44px;
    height: 44px;
  }

  .customer-btn,
  .customer-btn-link {
    width: 100%;
    justify-content: center;
    min-height: 44px;
  }

  .customer-action-row {
    width: 100%;
    align-items: stretch;
  }

  .customer-nav-link {
    padding: 11px 12px;
  }

  .customer-section-subtext {
    max-width: 100%;
  }
}

/* ── Dein NANIES Page ── */
.dn-profile-head {
  display: flex;
  align-items: center;
  gap: 24px;
}

.dn-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}

.dn-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(200, 169, 90, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(200, 169, 90, 0.24);
}

.dn-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.dn-avatar-initials {
  font-size: 2rem;
  font-weight: 700;
  color: #e8d095;
}

.dn-avatar-upload-label {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(200, 169, 90, 0.9);
  color: #0b1016;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.dn-avatar-upload-label:hover {
  background: #e8d095;
}

.dn-profile-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dn-stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 14px;
}

.dn-stat-card {
  text-align: center;
  padding: 18px 14px;
}

.dn-stat-value {
  font-size: 1.6rem;
  font-weight: 700;
  color: #e8d095;
  display: block;
  line-height: 1.2;
}

.dn-settings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}

.dn-settings-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  text-decoration: none;
  color: inherit;
  transition: background 0.25s ease, transform 0.25s ease;
}

.dn-settings-card:hover {
  background: rgba(200, 169, 90, 0.06);
  transform: translateY(-1px);
}

.dn-settings-card-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(200, 169, 90, 0.1);
  color: #e8d095;
}

.dn-settings-card-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

@media (max-width: 640px) {
  .dn-profile-head {
    flex-direction: column;
    text-align: center;
  }

  .dn-avatar {
    width: 80px;
    height: 80px;
  }

  .dn-settings-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 360px) {
  .dn-settings-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
  }

  .dn-settings-card-body {
    align-items: center;
  }
}

.dn-dogs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 768px) {
  .dn-dogs-grid {
    grid-template-columns: 1fr;
  }
}
