:root {
  --orange: #ef623f;
  --orange-dark: #d94d2d;
  --orange-soft: #fff0e9;
  --ink: #17283f;
  --text: #34445a;
  --muted: #8490a1;
  --line: #e8ecf1;
  --canvas: #f7f6f2;
  --white: #fff;
  --green: #259b7d;
  --blue: #5579d6;
  --purple: #8d70c7;
  --shadow: 0 6px 22px rgba(35, 50, 73, 0.045);
  --radius: 15px;
}

* {
  box-sizing: border-box;
}
html {
  min-width: 320px;
}
body {
  margin: 0;
  color: var(--text);
  background: var(--canvas);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", sans-serif;
  font-size: 13px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
a {
  text-decoration: none;
  color: inherit;
}
button,
input,
textarea,
select {
  outline: none;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #ef623f55;
  outline-offset: 3px;
}
input:focus,
select:focus,
textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px #ef623f12;
}
input,
select,
textarea {
  width: 100%;
  background: #fff;
  border: 1px solid #dde3ea;
  border-radius: 9px;
  color: var(--ink);
  padding: 10px 12px;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
textarea {
  resize: vertical;
  min-height: 105px;
}
input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--orange);
}
input::placeholder,
textarea::placeholder {
  color: #a3acb8;
}
input[type="file"] {
  font-size: 12px;
}
[hidden] {
  display: none !important;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
h1,
h2,
h3,
h4 {
  color: var(--ink);
  font-weight: 650;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 11px;
}
.nowrap {
  white-space: nowrap;
}
.mono {
  font-family: Consolas, monospace;
  font-size: 12px;
}
.eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--orange);
}
.eyebrow.light {
  color: #ffc4aa;
}
.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
  background: var(--green);
}
.button {
  border: 1px solid #e0e5eb;
  background: var(--white);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 15px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 12px;
  transition: 0.15s;
  min-height: 36px;
}
.button:hover {
  border-color: #c5ced9;
  background: #fafbfd;
}
.button.primary {
  background: var(--orange);
  color: white;
  border-color: var(--orange);
}
.button.primary:hover {
  background: var(--orange-dark);
}
.button.soft {
  background: var(--orange-soft);
  color: var(--orange-dark);
  border-color: transparent;
}
.button.danger {
  color: #cd4f53;
  background: #fff6f6;
  border-color: #f1d8da;
}
.button.sm {
  min-height: 30px;
  font-size: 11px;
  padding: 5px 11px;
}
.button.wide {
  width: 100%;
}
.text-button {
  background: none;
  border: 0;
  color: var(--orange);
  padding: 3px 0;
  font-size: 12px;
}
.icon-button {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: #6c7a8b;
  border-radius: 8px;
  font-size: 19px;
}
.icon-button:hover {
  background: #f2f5f8;
}
.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--ink);
  font-size: 18px;
  font-weight: 750;
}
.brand-mark {
  width: 48px;
  height: 48px;
  display: block;
  flex: 0 0 48px;
  object-fit: contain;
}
.brand-opc {
  margin-left: 4px;
  font-size: 10px;
  letter-spacing: 0.5px;
  color: var(--orange);
}
.brand small {
  display: block;
  font-size: 9px;
  line-height: 1.3;
  letter-spacing: 2px;
  font-weight: 400;
  color: #8b96a6;
}
.brand-light {
  color: white;
}
.brand-light .brand-opc {
  color: #ffbb95;
}
.login-mobile-brand {
  display: none;
}

/* Authentication */
.login-screen {
  display: grid;
  grid-template-columns: 51% 49%;
  min-height: 100vh;
  background: white;
}
.login-story {
  background: #192c44;
  padding: 42px 8%;
  color: white;
  position: relative;
  overflow: hidden;
}
.login-story::before {
  content: "";
  position: absolute;
  width: 550px;
  height: 550px;
  left: -280px;
  bottom: -160px;
  background: radial-gradient(circle, #ef623f25, transparent 65%);
}
.login-story-content {
  margin-top: 68px;
  position: relative;
  z-index: 1;
}
.login-story-content h1 {
  font-size: clamp(29px, 3vw, 44px);
  color: white;
  line-height: 1.55;
  margin: 16px 0 21px;
  letter-spacing: 1px;
}
.login-story-content p {
  color: #adbdce;
  font-size: 14px;
  line-height: 2;
}
.login-path {
  display: flex;
  gap: 12px;
  align-items: center;
  color: #c8d2df;
  font-size: 10px;
  margin-top: 24px;
}
.login-path i {
  color: #ec987e;
  font-style: normal;
}
.orbit-art {
  position: relative;
  height: 280px;
  margin-top: 20px;
}
.orbit-ring {
  position: absolute;
  border: 1px solid #ffffff14;
  border-radius: 50%;
  left: 50%;
  top: 50%;
}
.ring-one {
  width: 270px;
  height: 190px;
  transform: translate(-50%, -50%) rotate(-23deg);
}
.ring-two {
  width: 360px;
  height: 235px;
  transform: translate(-50%, -50%) rotate(23deg);
}
.orbit-center {
  position: absolute;
  inset: 80px 0 auto;
  text-align: center;
  font-size: 43px;
  font-weight: 750;
  letter-spacing: 5px;
  color: #ffb18e;
}
.orbit-center span {
  display: block;
  font-size: 9px;
  letter-spacing: 2px;
  color: #9cacbf;
  font-weight: 400;
}
.orbit-chip {
  position: absolute;
  background: #263b53;
  border: 1px solid #ffffff15;
  padding: 8px 15px;
  border-radius: 10px;
  font-size: 11px;
  box-shadow: 0 8px 25px #0002;
}
.chip-learn {
  top: 27px;
  left: 12%;
  color: #ffd9b0;
}
.chip-work {
  top: 95px;
  right: 1%;
  color: #bbd8ff;
}
.chip-service {
  top: 190px;
  left: 22%;
  color: #a8e0d4;
}
.login-copyright {
  font-size: 10px;
  color: #6d8098;
  position: absolute;
  bottom: 22px;
}
.login-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 45px;
}
.login-card {
  width: 390px;
  max-width: 100%;
}
.login-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  color: #687789;
  background: #f5f7fa;
  padding: 5px 11px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.login-card h2 {
  font-size: 27px;
  margin-bottom: 7px;
}
.login-card > p {
  font-size: 12px;
}
#login-form {
  margin-top: 30px;
}
#login-form label {
  display: block;
  margin: 17px 0 7px;
  font-size: 12px;
  font-weight: 600;
}
#login-form input {
  min-height: 46px;
}
.password-field {
  position: relative;
}
.password-field input {
  padding-right: 56px;
}
.password-field button {
  position: absolute;
  right: 12px;
  top: 12px;
  padding: 0;
  background: none;
  border: 0;
  color: #8d98a7;
  font-size: 11px;
}
.form-error {
  color: #cb4651;
  font-size: 12px;
  min-height: 21px;
  margin: 7px 0;
}
.login-submit {
  width: 100%;
  min-height: 46px;
  justify-content: space-between;
  padding: 10px 18px;
}
.demo-account-section {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  margin-top: 31px;
}
.section-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  margin-bottom: 12px;
}
.section-label b {
  font-size: 9px;
  background: #f4f6f9;
  color: #8d97a6;
  border-radius: 4px;
  padding: 2px 6px;
  font-weight: 400;
}
.demo-account-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}
.demo-account {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: white;
  color: #6a788a;
  font-size: 11px;
  padding: 8px 4px;
}
.demo-account:hover,
.demo-account.selected {
  color: var(--orange);
  border-color: #f6b49f;
  background: #fff8f4;
}
.login-bottom {
  text-align: center;
  margin-top: 30px;
  color: #a0aab6;
  font-size: 11px;
}

/* Workspace shell */
.app-shell {
  display: flex;
  min-height: 100vh;
}
.sidebar {
  width: 236px;
  flex: 0 0 236px;
  background: white;
  border-right: 1px solid var(--line);
  padding: 27px 17px 0;
  position: fixed;
  top: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  z-index: 20;
  overflow-y: auto;
}
.sidebar .brand {
  margin: 0 6px 21px;
  font-size: 18px;
}
.workspace-badge {
  font-size: 9px;
  color: #8d97a5;
  padding: 8px 8px 17px;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 7px;
  align-items: center;
}
.workspace-badge .status-dot {
  background: #84b99b;
  width: 5px;
  height: 5px;
}
.main-nav {
  margin-top: 13px;
}
.nav-group-label {
  padding: 15px 14px 6px;
  color: #a3abb6;
  font-size: 9px;
  letter-spacing: 1px;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  border-radius: 8px;
  margin: 3px 0;
  font-size: 11px;
  color: #68768a;
  position: relative;
  transition: 0.15s;
}
.nav-link:hover {
  background: #f7f8fb;
  color: var(--ink);
}
.nav-link.active {
  color: #d95332;
  background: var(--orange-soft);
  font-weight: 600;
}
.nav-link.active::before {
  content: "";
  width: 3px;
  height: 16px;
  border-radius: 3px;
  position: absolute;
  left: -17px;
  background: var(--orange);
}
.nav-icon {
  font-size: 15px;
  width: 20px;
  text-align: center;
  font-weight: 400;
}
.nav-count {
  margin-left: auto;
  font-size: 9px;
  color: #b2bbc6;
  font-weight: 400;
}
.sidebar-foot {
  background: #f8f9fc;
  border: 1px solid #edf0f4;
  border-radius: 12px;
  padding: 16px 14px;
  margin-top: 22px;
}
.sidebar-help-icon {
  color: var(--orange);
  font-size: 23px;
  line-height: 1;
  margin-bottom: 9px;
}
.sidebar-foot strong {
  color: #52627a;
  font-size: 11px;
  font-weight: 600;
}
.sidebar-foot p {
  color: #9ba5b3;
  font-size: 10px;
  margin-top: 6px;
  line-height: 1.9;
}
.sidebar-foot a {
  font-size: 10px;
  color: var(--orange);
  display: flex;
  justify-content: space-between;
  margin-top: 11px;
}
.version-line {
  font-size: 8px;
  color: #b3bbc5;
  display: flex;
  justify-content: space-between;
  padding: 17px 3px;
  margin-top: auto;
}
.main-shell {
  margin-left: 236px;
  width: calc(100% - 236px);
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.topbar {
  height: 76px;
  padding: 0 34px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.breadcrumb-wrap {
  display: flex;
  gap: 12px;
  align-items: center;
  color: #617188;
  font-size: 11px;
  min-width: 0;
}
.breadcrumb-root {
  color: #98a3b2;
}
.breadcrumb-divider {
  color: #cbd2db;
}
#route-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-shrink: 0;
}
.handbook-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  border: 1px solid #f0d6cb;
  border-radius: 7px;
  background: #fff7f2;
  color: var(--orange);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.handbook-link:hover {
  border-color: var(--orange);
  background: #ffefe5;
}
.handbook-link:focus-visible,
.handbook-context:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}
.login-handbook-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 13px;
  color: #b45e43;
  font-size: 12px;
  text-decoration: none;
}
.login-handbook-link:hover { text-decoration: underline; }
.example-badge {
  font-size: 9px;
  color: #af8051;
  background: #fbf4e9;
  border: 1px solid #f3e6d1;
  padding: 3px 8px;
  border-radius: 5px;
}
.notification-button {
  position: relative;
  font-size: 23px;
}
#notification-count {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 5px;
  height: 5px;
  background: var(--orange);
  border-radius: 50%;
}
.user-button {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 0;
  background: transparent;
  text-align: left;
  color: var(--ink);
  padding: 0;
}
.avatar {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: #ffe2d5;
  color: #cc6744;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 600;
}
.user-button strong {
  display: block;
  font-size: 11px;
  font-weight: 550;
  line-height: 1.5;
}
.user-button small {
  font-size: 9px;
  color: #9aa5b3;
  display: block;
}
.user-chevron {
  margin-left: 10px;
  color: #a3adb9;
}
.menu-toggle {
  display: none;
}
.main-content {
  padding: 29px 34px 35px;
  flex: 1;
  min-width: 0;
}
.app-footer {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: #a1acb9;
  padding: 0 34px 20px;
  gap: 10px;
}
.assistant-float {
  display: flex;
  align-items: center;
  gap: 8px;
  position: fixed;
  right: 24px;
  bottom: 22px;
  background: var(--ink);
  color: white;
  border: 1px solid #ffffff33;
  box-shadow: 0 7px 25px #1b2e482c;
  border-radius: 25px;
  padding: 11px 16px;
  z-index: 15;
}
.assistant-float span {
  color: #ffc9ad;
  font-size: 19px;
  line-height: 1;
}
.assistant-float b {
  font-size: 10px;
  font-weight: 500;
}

/* Shared product components */
.page-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 23px;
}
.page-head h1 {
  font-size: 24px;
  line-height: 1.5;
  letter-spacing: 0.5px;
}
.page-head p {
  color: #8c98a8;
  font-size: 11px;
  margin-top: 7px;
  max-width: 760px;
}
.page-head .eyebrow {
  display: block;
  margin-bottom: 5px;
  font-size: 8px;
}
.head-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 8px;
  flex-shrink: 0;
  flex-wrap: wrap;
}
.date-pill {
  font-size: 10px;
  color: #8d9bab;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 6px 10px;
  white-space: nowrap;
}
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 20px 22px 16px;
}
.panel-head h2 {
  font-size: 14px;
}
.panel-head p {
  font-size: 10px;
  color: #a0a9b6;
  margin-top: 3px;
}
.panel-body {
  padding: 0 22px 22px;
}
.panel-kicker {
  font-size: 9px;
  letter-spacing: 1px;
  color: #a9b1bd;
}
.section-gap {
  margin-top: 20px;
}
.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 26px 0 13px;
}
.section-title h2 {
  font-size: 15px;
}
.section-title p {
  font-size: 10px;
  color: #9ea7b4;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 21px;
}
.stat-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 17px 19px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-height: 106px;
}
.stat-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  font-size: 17px;
  background: #fff0e9;
  color: var(--orange);
  flex-shrink: 0;
}
.stat-card:nth-child(2) .stat-icon {
  background: #eef3ff;
  color: var(--blue);
}
.stat-card:nth-child(3) .stat-icon {
  background: #eaf8f3;
  color: var(--green);
}
.stat-card:nth-child(4) .stat-icon {
  background: #f2effa;
  color: var(--purple);
}
.stat-label {
  color: #8b98a8;
  font-size: 10px;
}
.stat-value {
  color: var(--ink);
  font-size: 25px;
  font-weight: 650;
  line-height: 1.6;
  letter-spacing: 0.3px;
}
.stat-foot {
  font-size: 9px;
  color: #b0b8c3;
}
.grid-two {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 1fr);
  gap: 20px;
}
.grid-equal {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.grid-three {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px;
}
.notice {
  border-radius: 9px;
  display: flex;
  gap: 10px;
  padding: 12px 15px;
  font-size: 11px;
  line-height: 1.9;
  background: #fff7ec;
  color: #a8783c;
  border: 1px solid #f3e6d0;
  margin-bottom: 20px;
}
.notice.blue {
  background: #f0f5ff;
  color: #5b7aab;
  border-color: #e0e9fb;
}
.notice.green {
  background: #edf8f3;
  color: #4f8e77;
  border-color: #dcefe6;
}
.notice strong {
  color: inherit;
  font-weight: 600;
}
.notice-icon {
  font-size: 16px;
  line-height: 1.5;
}
.tag {
  display: inline-flex;
  align-items: center;
  border-radius: 5px;
  padding: 2px 7px;
  font-size: 9px;
  line-height: 1.7;
  color: #8190a2;
  background: #f1f4f8;
  white-space: nowrap;
  max-width: 100%;
}
.tag.green {
  background: #eaf7f1;
  color: #3c9a77;
}
.tag.orange {
  background: #fff0e8;
  color: #d87a4b;
}
.tag.blue {
  background: #edf2fd;
  color: #6f8fca;
}
.tag.red {
  background: #fff0f1;
  color: #c96a73;
}
.tag.purple {
  background: #f2eefb;
  color: #9675c0;
}
.tag-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
}
.empty-state {
  padding: 45px 25px;
  text-align: center;
  color: #9eabba;
}
.empty-symbol {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  font-size: 26px;
  background: #f4f6f9;
  color: #aeb9c7;
  margin: 0 auto 15px;
}
.empty-state h3 {
  font-size: 14px;
  color: #7b8b9f;
  margin-bottom: 7px;
}
.empty-state p {
  font-size: 11px;
  max-width: 450px;
  margin: auto;
}
.empty-state .button {
  margin-top: 17px;
}
.skeleton {
  padding: 25px;
  min-height: 280px;
}
.skeleton-line {
  height: 15px;
  border-radius: 5px;
  background: linear-gradient(90deg, #e9edf3, #f3f5f8, #e9edf3);
  margin: 18px 0;
  animation: skeleton-shimmer 1.2s ease infinite;
}
.skeleton-line:nth-child(2n) {
  width: 75%;
}
@keyframes skeleton-shimmer {
  50% {
    opacity: 0.45;
  }
}
.error-panel {
  padding: 30px;
  border: 1px solid #f0d4d7;
  border-radius: 12px;
  background: #fff8f8;
  color: #b0676e;
}
.error-panel h2 {
  color: #ad5863;
  font-size: 18px;
  margin-bottom: 10px;
}

/* Overview and journey */
.welcome-banner {
  border-radius: 16px;
  background: #1d324c;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 30px;
  margin-bottom: 23px;
  position: relative;
  overflow: hidden;
}
.welcome-banner::after {
  content: "";
  width: 230px;
  height: 230px;
  border: 30px solid #ffffff03;
  border-radius: 50%;
  position: absolute;
  right: -10px;
  top: -90px;
}
.welcome-banner h2 {
  color: white;
  font-size: 21px;
  font-weight: 550;
  margin: 5px 0;
}
.welcome-banner p {
  color: #a9b9cc;
  font-size: 11px;
}
.welcome-banner .eyebrow {
  font-size: 8px;
  color: #ffb393;
}
.welcome-next {
  z-index: 1;
  display: flex;
  gap: 20px;
  align-items: center;
  border-left: 1px solid #ffffff18;
  padding-left: 30px;
}
.welcome-next strong {
  color: #f8d3b9;
  font-size: 12px;
  font-weight: 500;
}
.welcome-next small {
  color: #8d9fb6;
  display: block;
  font-size: 9px;
}
.welcome-next .button {
  background: #fff1e4;
  border-color: #fff1e4;
  color: #a85d33;
}
.journey-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
}
.journey-step {
  padding: 16px 15px 20px;
  position: relative;
}
.journey-step:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -4px;
  top: 28px;
  color: #cbd3df;
}
.journey-num {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #d8805b;
  background: #fff1e8;
  font-size: 11px;
  font-weight: 650;
  margin-bottom: 11px;
}
.journey-step:nth-child(2) .journey-num {
  background: #eef3fd;
  color: #7190c9;
}
.journey-step:nth-child(3) .journey-num {
  background: #eaf7f0;
  color: #67a685;
}
.journey-step:nth-child(4) .journey-num {
  background: #f3effa;
  color: #a184c2;
}
.journey-step:nth-child(5) .journey-num {
  background: #fff4df;
  color: #c7a060;
}
.journey-step:nth-child(6) .journey-num {
  background: #edf4f7;
  color: #7fa0b5;
}
.journey-step h3 {
  font-size: 11px;
}
.journey-step p {
  color: #a1abb8;
  font-size: 9px;
  margin-top: 3px;
}
.module-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
}
.module-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  transition: 0.16s;
  min-height: 147px;
  position: relative;
}
.module-card:hover {
  border-color: #f3bda9;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px #24395509;
}
.module-symbol {
  width: 31px;
  height: 31px;
  border-radius: 10px;
  background: #fff0e8;
  color: #d5825d;
  display: grid;
  place-items: center;
  font-size: 16px;
  margin-bottom: 12px;
}
.module-card:nth-child(4n + 2) .module-symbol {
  background: #edf2fd;
  color: #7999cf;
}
.module-card:nth-child(4n + 3) .module-symbol {
  background: #e9f7f1;
  color: #76a995;
}
.module-card:nth-child(4n) .module-symbol {
  background: #f4effb;
  color: #aa8aca;
}
.module-card h3 {
  font-size: 12px;
  margin-bottom: 4px;
  padding-right: 10px;
}
.module-card p {
  font-size: 9px;
  color: #a1adba;
  line-height: 1.8;
}
.module-card .card-arrow {
  position: absolute;
  top: 19px;
  right: 17px;
  color: #c0c8d3;
}
.activity-list {
  padding: 0 22px 15px;
}
.activity-item {
  display: flex;
  gap: 11px;
  padding: 12px 0;
  border-bottom: 1px solid #f1f3f6;
}
.activity-item:last-child {
  border-bottom: 0;
}
.activity-dot {
  margin-top: 6px;
  width: 6px;
  height: 6px;
  background: #e8a589;
  border: 2px solid #fff3ec;
  border-radius: 50%;
  box-sizing: content-box;
  flex-shrink: 0;
}
.activity-item strong {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: #607086;
}
.activity-item p {
  font-size: 9px;
  color: #a6afbb;
  margin-top: 3px;
}
.activity-item time {
  margin-left: auto;
  font-size: 9px;
  color: #b5bdc8;
  white-space: nowrap;
}
.connector-row {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 0;
  border-bottom: 1px solid #f0f3f6;
}
.connector-row:last-child {
  border-bottom: 0;
}
.connector-mark {
  width: 31px;
  height: 31px;
  border-radius: 10px;
  background: #f2f5fa;
  display: grid;
  place-items: center;
  color: #96a8bd;
}
.connector-row strong {
  display: block;
  color: #65768d;
  font-size: 11px;
  font-weight: 500;
}
.connector-row small {
  color: #abb4c1;
  display: block;
  font-size: 9px;
}
.connector-row .tag {
  margin-left: auto;
}

/* Module pages and resources */
.module-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(250px, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}
.module-story {
  min-height: 155px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 25px;
  position: relative;
  overflow: hidden;
}
.module-story::after {
  content: "";
  position: absolute;
  right: -35px;
  top: -65px;
  width: 180px;
  height: 180px;
  border: 30px solid #fff5ef;
  border-radius: 50%;
}
.module-story h2 {
  font-size: 19px;
  margin: 7px 0;
  position: relative;
  z-index: 1;
}
.module-story p {
  font-size: 11px;
  color: #8e9bab;
  max-width: 85%;
  position: relative;
  z-index: 1;
  line-height: 1.9;
}
.module-mini-stats {
  display: flex;
  gap: 24px;
  margin-top: 14px;
}
.module-mini-stat strong {
  font-size: 18px;
  line-height: 1.5;
  display: block;
  color: #63758d;
  font-weight: 550;
}
.module-mini-stat span {
  color: #a7b0bc;
  font-size: 9px;
}
.action-panel {
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.action-panel h3 {
  font-size: 12px;
  margin-bottom: 3px;
}
.action-panel p {
  color: #a1acb9;
  font-size: 10px;
  margin-bottom: 13px;
}
.quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.quick-action {
  background: #f8f9fc;
  border: 1px solid #edf0f5;
  border-radius: 7px;
  font-size: 10px;
  color: #6d7f95;
  padding: 7px 11px;
  transition: 0.15s;
}
.quick-action:hover {
  border-color: #efb7a3;
  background: #fff7f1;
  color: #d47750;
}
.resource-tabs {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding-bottom: 3px;
  margin-bottom: 17px;
  scrollbar-width: thin;
}
.resource-tab {
  white-space: nowrap;
  font-size: 11px;
  padding: 8px 13px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #8491a3;
  background: transparent;
}
.resource-tab:hover {
  background: white;
}
.resource-tab.active {
  background: white;
  color: #d57450;
  border-color: #ebd5ca;
  box-shadow: 0 3px 8px #2d405206;
}
.resource-tab small {
  margin-left: 6px;
  color: #b1bac5;
  font-size: 9px;
}
.data-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}
.data-toolbar h2 {
  font-size: 14px;
}
.data-toolbar .toolbar-info {
  font-size: 10px;
  color: #9da8b6;
  margin-top: 2px;
}
.toolbar-controls {
  display: flex;
  gap: 8px;
  align-items: center;
}
.search-field {
  position: relative;
  width: 220px;
}
.search-field input {
  font-size: 11px;
  padding: 8px 11px 8px 31px;
  min-height: 35px;
  background: #fafbfd;
  border-color: #e9edf2;
}
.search-field span {
  position: absolute;
  top: 6px;
  left: 11px;
  color: #a1adbb;
  font-size: 16px;
}
.status-filter {
  width: 120px;
  font-size: 11px;
  min-height: 35px;
  padding: 7px 9px;
  background: #fafbfd;
  border-color: #e9edf2;
}
.table-wrap {
  overflow-x: auto;
  max-width: 100%;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
  text-align: left;
}
.data-table th {
  background: #fafbfd;
  color: #9ba6b5;
  font-size: 9px;
  font-weight: 500;
  padding: 12px 17px;
  border-bottom: 1px solid #eef1f5;
  white-space: nowrap;
}
.data-table td {
  padding: 15px 17px;
  border-bottom: 1px solid #f0f3f6;
  color: #7d8b9d;
  vertical-align: middle;
  max-width: 230px;
}
.data-table tbody tr:last-child td {
  border-bottom: 0;
}
.data-table tbody tr:hover {
  background: #fffcfa;
}
.table-title {
  color: #53657b;
  font-weight: 550;
  display: block;
  max-width: 280px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.table-sub {
  display: block;
  color: #b2bac6;
  font-size: 9px;
  margin-top: 3px;
}
.table-link {
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
}
.table-actions {
  display: flex;
  gap: 12px;
  white-space: nowrap;
}
.table-actions button {
  font-size: 10px;
  border: 0;
  padding: 0;
  background: none;
  color: #8c9bb0;
}
.table-actions button:hover {
  color: var(--orange);
}
.pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  color: #a5aebc;
  padding: 15px 20px;
  border-top: 1px solid var(--line);
}
.pagination-buttons {
  display: flex;
  gap: 7px;
}
.pagination .button {
  min-height: 27px;
  padding: 3px 9px;
  font-size: 10px;
}
.record-grid {
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.record-card {
  border: 1px solid #e8edf3;
  border-radius: 12px;
  background: white;
  overflow: hidden;
  transition: 0.15s;
}
.record-card:hover {
  border-color: #edc0ae;
  box-shadow: 0 5px 13px #22334406;
}
.record-cover {
  min-height: 100px;
  padding: 20px;
  background: #f6ece3;
  position: relative;
  overflow: hidden;
}
.record-cover::after {
  content: "";
  position: absolute;
  width: 130px;
  height: 130px;
  border: 22px solid #ffffff33;
  border-radius: 50%;
  right: -20px;
  top: -30px;
}
.record-cover .cover-kicker {
  font-size: 8px;
  letter-spacing: 1px;
  opacity: 0.7;
  position: relative;
  z-index: 1;
}
.record-cover .cover-title {
  color: #9e7454;
  font-size: 21px;
  line-height: 1.5;
  font-weight: 600;
  margin-top: 5px;
  position: relative;
  z-index: 1;
}
.record-card:nth-child(3n + 2) .record-cover {
  background: #e8eff8;
}
.record-card:nth-child(3n + 2) .cover-title {
  color: #6587ac;
}
.record-card:nth-child(3n) .record-cover {
  background: #e7f1ed;
}
.record-card:nth-child(3n) .cover-title {
  color: #629182;
}
.record-content {
  padding: 16px;
}
.record-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}
.record-content h3 {
  font-size: 12px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.record-summary {
  font-size: 10px;
  color: #9da8b8;
  margin-top: 6px;
  line-height: 1.9;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 38px;
}
.record-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  padding: 11px 0;
  font-size: 9px;
  color: #a1adbd;
}
.record-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #f0f3f6;
  margin-top: 8px;
  padding-top: 12px;
  gap: 8px;
}
.record-footer .button {
  min-height: 28px;
  padding: 4px 11px;
  font-size: 10px;
}
.record-footer small {
  color: #b4bdc9;
  font-size: 9px;
}
.field-compact {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 10px;
  padding: 5px 0;
}
.field-compact span:first-child {
  color: #a5afbc;
}
.field-compact span:last-child {
  color: #708197;
  text-align: right;
  overflow-wrap: anywhere;
}

/* Dedicated visual summaries */
.assessment-overview {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 24px;
  align-items: center;
  padding: 10px 25px 20px;
}
.radar-chart {
  width: 100%;
  max-width: 300px;
  height: 230px;
  display: block;
  margin: auto;
}
.radar-chart text {
  fill: #91a0b2;
  font-size: 9px;
}
.score-head {
  font-size: 10px;
  color: #a4afbd;
}
.score-number {
  font-size: 45px;
  color: #dc7955;
  line-height: 1.5;
  font-weight: 600;
}
.score-number small {
  font-size: 12px;
  margin-left: 5px;
  font-weight: 400;
  color: #a6b1bf;
}
.ability-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0;
}
.ability-bar label {
  width: 60px;
  flex-shrink: 0;
  font-size: 10px;
  color: #9aa7b6;
}
.ability-track {
  height: 5px;
  border-radius: 4px;
  background: #f3f5f8;
  flex: 1;
  overflow: hidden;
}
.ability-track span {
  height: 100%;
  display: block;
  background: #e9a084;
  border-radius: 4px;
}
.ability-bar b {
  width: 25px;
  font-size: 10px;
  color: #8e9caf;
  font-weight: 500;
  text-align: right;
}
.growth-timeline {
  padding: 8px 24px 22px;
  display: flex;
  gap: 14px;
}
.growth-stage {
  flex: 1;
  position: relative;
  background: #fafbfd;
  border: 1px solid #edf0f5;
  border-radius: 10px;
  padding: 16px;
  min-width: 0;
}
.growth-stage.active {
  background: #fff8f3;
  border-color: #f1d1c2;
}
.stage-index {
  font-size: 9px;
  color: #c0c9d5;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.growth-stage.active .stage-index {
  color: #df9775;
}
.growth-stage h3 {
  font-size: 12px;
  margin-bottom: 6px;
}
.growth-stage p {
  font-size: 10px;
  color: #a4afbd;
  line-height: 1.9;
}
.growth-stage .tag {
  margin-top: 13px;
}
.kanban {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
  padding: 0 20px 20px;
  overflow-x: auto;
}
.kanban-column {
  border-radius: 10px;
  background: #f8f9fc;
  padding: 11px;
  min-width: 150px;
}
.kanban-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  color: #8391a5;
  margin: 0 2px 12px;
}
.kanban-title b {
  font-weight: 500;
  background: #e9edf3;
  border-radius: 4px;
  padding: 1px 5px;
  color: #a1adbd;
  font-size: 9px;
}
.kanban-item {
  border: 1px solid #e9edf4;
  background: white;
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 9px;
}
.kanban-item h4 {
  font-size: 10px;
  margin-bottom: 8px;
  line-height: 1.8;
}
.kanban-item p {
  color: #aab4c2;
  font-size: 9px;
}
.kanban-item .tag-row {
  margin-top: 9px;
}
.certificate-preview {
  border: 1px solid #d9cba8;
  background: #fffef9;
  padding: 24px;
  margin: 5px 22px 22px;
  text-align: center;
  position: relative;
}
.certificate-preview::before {
  content: "";
  inset: 6px;
  position: absolute;
  border: 1px solid #e9ddc6;
  pointer-events: none;
}
.certificate-preview .eyebrow {
  color: #b7a175;
  font-size: 8px;
}
.certificate-preview h3 {
  color: #8b7759;
  letter-spacing: 4px;
  margin: 12px 0;
  font-size: 19px;
}
.certificate-preview p {
  font-size: 10px;
  color: #b2a185;
}
.certificate-preview strong {
  display: block;
  font-size: 14px;
  margin: 16px 0 8px;
  color: #9e8660;
}
.certificate-preview small {
  font-size: 9px;
  color: #c1b299;
}
.membership-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
  margin-bottom: 20px;
}
.membership-card {
  padding: 20px;
  border-radius: 13px;
  border: 1px solid var(--line);
  background: white;
  position: relative;
  overflow: hidden;
}
.membership-card:nth-child(2) {
  background: #f3f7fd;
  border-color: #dfe9f8;
}
.membership-card:nth-child(3) {
  background: #fffbf0;
  border-color: #ede1bf;
}
.membership-card:nth-child(4) {
  background: #24374d;
  border-color: #24374d;
}
.membership-card h3 {
  font-size: 13px;
}
.membership-card:nth-child(4) h3 {
  color: #e8d3af;
}
.membership-price {
  color: #6e8096;
  font-size: 25px;
  margin: 14px 0 12px;
  font-weight: 650;
}
.membership-price small {
  font-size: 9px;
  color: #a4afbd;
  font-weight: 400;
}
.membership-card:nth-child(4) .membership-price {
  color: #d6c39f;
}
.membership-card p {
  font-size: 10px;
  color: #9eabb9;
  line-height: 2;
}
.agent-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}
.agent-card {
  border: 1px solid var(--line);
  background: white;
  border-radius: 12px;
  padding: 19px 14px;
  position: relative;
}
.agent-avatar {
  width: 37px;
  height: 37px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 21px;
  color: #b0785c;
  background: #fff1e8;
  margin-bottom: 12px;
}
.agent-card:nth-child(2) .agent-avatar {
  color: #8186bd;
  background: #f0effc;
}
.agent-card:nth-child(3) .agent-avatar {
  color: #689994;
  background: #edf7f3;
}
.agent-card:nth-child(4) .agent-avatar {
  color: #6d91b9;
  background: #edf4fc;
}
.agent-card:nth-child(5) .agent-avatar {
  color: #b99f5e;
  background: #faf6e9;
}
.agent-card h3 {
  font-size: 12px;
  margin-bottom: 6px;
}
.agent-card p {
  font-size: 9px;
  color: #a2aebb;
  line-height: 1.9;
  min-height: 34px;
}
.agent-card .tag {
  margin-top: 12px;
}
.progress-line {
  height: 5px;
  background: #f2f4f7;
  border-radius: 3px;
  overflow: hidden;
  margin: 10px 0 6px;
}
.progress-line span {
  height: 100%;
  display: block;
  background: #e8a17d;
  border-radius: 3px;
}
.result-callout {
  padding: 17px;
  background: #f7f9fc;
  border: 1px solid #e8edf4;
  border-radius: 10px;
  color: #71839a;
  font-size: 12px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.9;
}
.result-callout.warning {
  background: #fff9ee;
  border-color: #f0e0be;
  color: #aa8554;
}
.result-key {
  color: #9ba8b8;
  font-size: 10px;
  margin: 14px 0 5px;
  font-weight: 500;
}
.result-object {
  border: 1px solid #e9edf3;
  border-radius: 8px;
  padding: 12px 15px;
  margin: 8px 0;
}
.result-object .field-compact {
  border-bottom: 1px solid #f2f4f7;
}
.result-object .field-compact:last-child {
  border: 0;
}
.result-object details {
  margin: 8px 0;
}
.result-object summary {
  color: #8d9baf;
  cursor: pointer;
  font-size: 10px;
}

/* Dialogs, forms, and record details */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: #13233866;
  backdrop-filter: blur(3px);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px;
  z-index: 70;
}
.modal {
  background: white;
  width: 640px;
  max-width: 100%;
  max-height: calc(100vh - 48px);
  border-radius: 17px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 70px #0c1e3830;
}
.modal.large {
  width: 850px;
}
.modal.small-modal {
  width: 450px;
}
.modal-head {
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.modal-head h2 {
  font-size: 18px;
}
.modal-head p {
  font-size: 11px;
  color: #99a5b5;
  margin-top: 5px;
}
.modal-body {
  padding: 23px 25px;
  overflow-y: auto;
  min-height: 0;
}
.modal-foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  padding: 16px 24px;
  border-top: 1px solid var(--line);
  background: #fcfdfe;
}
.modal-foot .modal-foot-note {
  margin-right: auto;
  color: #adb7c5;
  font-size: 9px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 17px;
}
.form-field {
  min-width: 0;
}
.form-field.full {
  grid-column: 1 / -1;
}
.form-field label {
  display: block;
  color: #75859a;
  font-size: 11px;
  font-weight: 500;
  margin-bottom: 6px;
}
.form-field label .required {
  color: var(--orange);
  margin-left: 3px;
}
.form-field small {
  display: block;
  font-size: 9px;
  color: #a9b4c2;
  margin-top: 5px;
}
.form-field input,
.form-field textarea,
.form-field select {
  font-size: 12px;
}
.form-field input[type="checkbox"] {
  margin: 10px 7px 10px 0;
}
.checkbox-row {
  display: flex;
  align-items: center;
  color: #8392a7;
  font-size: 11px;
}
.form-section-title {
  grid-column: 1 / -1;
  font-size: 11px;
  color: #b0b9c6;
  border-bottom: 1px solid var(--line);
  padding-bottom: 7px;
  margin-top: 3px;
}
.upload-help {
  font-size: 10px;
  color: #a5b0be;
  padding: 10px 12px;
  border: 1px dashed #dce3ed;
  border-radius: 8px;
  background: #fafbfd;
}
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: #13233844;
  backdrop-filter: blur(2px);
  z-index: 55;
}
.drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: 730px;
  max-width: 92vw;
  background: white;
  z-index: 56;
  display: flex;
  flex-direction: column;
  box-shadow: -12px 0 50px #13233818;
}
.drawer-head {
  padding: 25px 28px 20px;
  border-bottom: 1px solid var(--line);
}
.drawer-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.drawer-head h2 {
  font-size: 21px;
  line-height: 1.6;
  padding-right: 10px;
  overflow-wrap: anywhere;
}
.drawer-head .tag-row {
  margin-top: 12px;
}
.drawer-body {
  overflow-y: auto;
  padding: 24px 28px;
  flex: 1;
}
.drawer-section {
  margin-bottom: 25px;
}
.drawer-section h3 {
  font-size: 13px;
  margin-bottom: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.drawer-section h3::before {
  content: "";
  width: 3px;
  height: 13px;
  background: #eeab8e;
  border-radius: 2px;
}
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
}
.detail-field dt {
  color: #a6b0be;
  font-size: 10px;
  margin-bottom: 6px;
}
.detail-field dd {
  margin: 0;
  color: #677b93;
  font-size: 12px;
  line-height: 1.9;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
.detail-field.full {
  grid-column: 1 / -1;
}
.drawer-foot {
  padding: 16px 28px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  background: #fcfdfe;
}
.drawer-foot .danger {
  margin-left: auto;
}
.video-panel {
  background: #192d44;
  border-radius: 11px;
  overflow: hidden;
  min-height: 215px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}
.video-panel video {
  display: block;
  width: 100%;
  max-height: 330px;
}
.video-empty {
  text-align: center;
  color: #768ba5;
  padding: 30px;
  font-size: 11px;
}
.video-empty span {
  display: block;
  font-size: 32px;
  color: #c29276;
  margin-bottom: 10px;
}
.related-record {
  border: 1px solid #e8edf4;
  border-radius: 8px;
  padding: 12px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin: 8px 0;
  background: #fcfdfe;
}
.related-record strong {
  font-size: 11px;
  font-weight: 500;
  color: #71839a;
}
.related-record p {
  font-size: 9px;
  color: #adb7c4;
  margin-top: 3px;
}
.related-record .button {
  flex-shrink: 0;
}
.toast-root {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}
.toast {
  background: #22364c;
  color: white;
  border-radius: 10px;
  padding: 12px 22px;
  font-size: 12px;
  box-shadow: 0 7px 25px #1e33462b;
  max-width: 80vw;
  pointer-events: auto;
  animation: toast-in 0.2s ease;
}
.toast.error {
  background: #b45b60;
}
@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
}
.user-menu-info {
  display: flex;
  gap: 14px;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
}
.user-menu-info .avatar {
  width: 47px;
  height: 47px;
  font-size: 17px;
}
.user-menu-info strong {
  font-size: 15px;
  color: var(--ink);
  display: block;
}
.user-menu-info small {
  color: #9da9b9;
  font-size: 10px;
}
.identity-switch-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px;
  margin: 15px 0;
}
.identity-switch-list button {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 12px;
  font-size: 11px;
  color: #7f8fa4;
  text-align: left;
}
.identity-switch-list button:hover {
  background: #fff7f2;
  border-color: #f0c4b2;
  color: #d08461;
}
.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
}
.assessment-choices {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.assessment-choice {
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid #e7ecf3;
  padding: 10px 13px;
  border-radius: 9px;
  font-size: 12px;
  color: #7b8da4;
  cursor: pointer;
}
.assessment-choice:has(input:checked) {
  border-color: #eebaa2;
  background: #fff8f3;
  color: #c87c55;
}
.assessment-choice input {
  width: 15px;
  height: 15px;
  accent-color: var(--orange);
  margin: 0;
}
.choice-number {
  background: #f2f5f9;
  border-radius: 6px;
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  font-size: 10px;
  color: #94a3b6;
}
.chapter-learning-controls {
  padding: 15px 0;
  display: flex;
  align-items: center;
  gap: 15px;
  justify-content: space-between;
}
.chapter-learning-controls .small {
  max-width: 65%;
}
.quiz-question {
  margin: 15px 0 22px;
}
.quiz-question strong {
  font-size: 12px;
  color: #6c8099;
  font-weight: 500;
  display: block;
  margin-bottom: 10px;
}
.quiz-option {
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #91a0b3;
  border: 1px solid #edf1f6;
  border-radius: 7px;
  margin: 7px 0;
  cursor: pointer;
}
.quiz-option input {
  width: 14px;
  height: 14px;
  accent-color: var(--orange);
}
.quiz-option:has(input:checked) {
  color: #c38564;
  border-color: #edc7b5;
  background: #fff9f5;
}
.all-actions-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.action-choice {
  border: 1px solid #e8edf4;
  border-radius: 10px;
  background: white;
  padding: 16px;
  text-align: left;
  transition: 0.15s;
}
.action-choice:hover {
  background: #fff9f5;
  border-color: #ebc5b3;
}
.action-choice strong {
  display: block;
  font-size: 12px;
  color: #6f829b;
  font-weight: 500;
}
.action-choice small {
  font-size: 9px;
  color: #bd9b85;
  display: block;
  margin: 5px 0;
}
.action-choice span {
  color: #a7b2c1;
  font-size: 10px;
}
.setting-card {
  padding: 19px;
  border: 1px solid var(--line);
  border-radius: 11px;
}
.setting-card h3 {
  font-size: 12px;
  margin-bottom: 8px;
}
.setting-card p {
  font-size: 10px;
  color: #a0aebe;
  line-height: 1.9;
  margin-bottom: 12px;
}
.setting-card .tag {
  margin-bottom: 10px;
}
.setting-card label {
  font-size: 10px;
  color: #8b9aad;
  display: block;
  margin: 9px 0 4px;
}
.setting-card input {
  font-size: 11px;
}

/* Responsive workspace */
@media (min-width: 1650px) {
  .main-content {
    max-width: 1550px;
    width: 100%;
    margin: auto;
  }
  .sidebar {
    width: 252px;
    flex-basis: 252px;
  }
  .main-shell {
    margin-left: 252px;
    width: calc(100% - 252px);
  }
  .nav-link {
    padding: 10px 13px;
    font-size: 12px;
  }
}
@media (max-height: 850px) and (min-width: 1000px) {
  .sidebar {
    padding-top: 20px;
  }
  .sidebar .brand {
    margin-bottom: 13px;
  }
  .nav-link {
    padding-top: 7px;
    padding-bottom: 7px;
  }
  .nav-group-label {
    padding-top: 9px;
  }
  .sidebar-foot {
    padding: 12px;
    margin-top: 15px;
  }
  .sidebar-foot p {
    display: none;
  }
  .login-story-content {
    margin-top: 45px;
  }
  .orbit-art {
    height: 235px;
  }
}
@media (max-width: 1280px) {
  .sidebar {
    width: 215px;
    flex-basis: 215px;
    padding-left: 13px;
    padding-right: 13px;
  }
  .main-shell {
    margin-left: 215px;
    width: calc(100% - 215px);
  }
  .main-content {
    padding: 25px;
  }
  .topbar {
    padding: 0 25px;
  }
  .module-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .record-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .agent-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .agent-card p {
    min-height: auto;
  }
  .grid-two {
    grid-template-columns: 1.35fr 1fr;
  }
  .growth-timeline {
    flex-wrap: wrap;
  }
  .growth-stage {
    flex-basis: 40%;
  }
  .membership-card {
    padding: 15px;
  }
  .stat-card {
    gap: 10px;
    padding: 15px;
  }
  .stat-icon {
    width: 31px;
    height: 31px;
  }
}
@media (max-width: 1020px) {
  .main-content {
    padding: 22px;
  }
  .stats-grid {
    gap: 11px;
  }
  .stat-icon {
    display: none;
  }
  .module-intro {
    grid-template-columns: 1fr;
    gap: 13px;
  }
  .module-story {
    min-height: auto;
  }
  .grid-two {
    grid-template-columns: 1fr;
  }
  .membership-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .journey-step {
    padding: 13px 8px 16px;
  }
  .welcome-next {
    display: none;
  }
  .page-head h1 {
    font-size: 21px;
  }
  .search-field {
    width: 180px;
  }
  .login-story {
    padding-left: 9%;
    padding-right: 9%;
  }
  .login-story-content h1 {
    font-size: 30px;
  }
  .login-path {
    flex-wrap: wrap;
    gap: 7px;
  }
  .orbit-art {
    margin-left: -12px;
    margin-right: -12px;
  }
}
@media (max-width: 850px) {
  .login-mobile-brand {
    display: flex;
    margin-bottom: 22px;
  }
  .sidebar {
    transform: translateX(-100%);
    transition: 0.2s;
    box-shadow: 10px 0 40px #1d304633;
    width: 236px;
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .main-shell {
    width: 100%;
    margin-left: 0;
  }
  .menu-toggle {
    display: inline-grid;
  }
  .topbar {
    height: 65px;
    padding: 0 20px;
  }
  .main-content {
    padding: 22px 20px;
  }
  .app-footer {
    padding-left: 20px;
    padding-right: 20px;
  }
  .topbar-actions {
    gap: 8px;
  }
  .login-screen {
    grid-template-columns: 1fr;
  }
  .login-story {
    display: none;
  }
  .login-panel {
    min-height: 100vh;
    background: linear-gradient(165deg, #fff6ef, #fff 35%);
  }
}
@media (max-width: 620px) {
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
  }
  .stat-card {
    min-height: 95px;
  }
  .stat-icon {
    display: grid;
    width: 31px;
    height: 31px;
  }
  .stat-value {
    font-size: 23px;
  }
  .page-head {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 17px;
  }
  .page-head h1 {
    font-size: 22px;
  }
  .head-actions {
    padding-top: 0;
  }
  .page-head p {
    font-size: 10px;
  }
  .welcome-banner {
    padding: 22px;
  }
  .welcome-banner h2 {
    font-size: 18px;
  }
  .welcome-banner p {
    font-size: 10px;
  }
  .module-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
  }
  .module-card {
    padding: 15px;
    min-height: 145px;
  }
  .module-card h3 {
    font-size: 11px;
  }
  .module-card p {
    font-size: 9px;
  }
  .journey-strip {
    grid-template-columns: repeat(3, 1fr);
  }
  .journey-step:nth-child(3)::after {
    content: "";
  }
  .record-grid {
    grid-template-columns: 1fr;
    padding: 15px;
  }
  .record-cover {
    min-height: 86px;
  }
  .data-toolbar {
    padding: 15px;
    align-items: flex-start;
  }
  .toolbar-controls {
    width: 100%;
    flex-wrap: wrap;
  }
  .search-field {
    flex: 1;
    min-width: 130px;
  }
  .status-filter {
    width: 95px;
  }
  .resource-tabs {
    margin-bottom: 13px;
  }
  .grid-equal,
  .grid-three {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .agent-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .agent-card:last-child {
    grid-column: 1 / -1;
  }
  .agent-card {
    padding: 16px;
  }
  .assessment-overview {
    grid-template-columns: 1fr;
    gap: 5px;
  }
  .radar-chart {
    height: 220px;
  }
  .growth-timeline {
    padding: 7px 17px 17px;
    gap: 10px;
  }
  .growth-stage {
    flex-basis: 100%;
  }
  .kanban {
    grid-template-columns: repeat(4, 190px);
    padding: 0 15px 15px;
  }
  .membership-card {
    padding: 16px;
  }
  .membership-price {
    font-size: 22px;
  }
  .user-button strong,
  .user-button small,
  .user-chevron {
    display: none;
  }
  .topbar-actions {
    gap: 7px;
  }
  .notification-button {
    display: none;
  }
  .breadcrumb-wrap {
    gap: 7px;
  }
  .breadcrumb-root,
  .breadcrumb-divider {
    display: none;
  }
  .example-badge {
    font-size: 8px;
    padding: 2px 6px;
  }
  .user-button .avatar {
    width: 30px;
    height: 30px;
  }
  .app-footer {
    flex-direction: column;
    font-size: 8px;
    gap: 3px;
  }
  .assistant-float {
    right: 15px;
    bottom: 15px;
    padding: 11px 13px;
  }
  .assistant-float b {
    display: none;
  }
  .modal-overlay {
    padding: 10px;
  }
  .modal {
    max-height: calc(100dvh - 20px);
    border-radius: 13px;
  }
  .modal-head {
    padding: 17px;
  }
  .modal-head h2 {
    font-size: 17px;
  }
  .modal-body {
    padding: 18px;
  }
  .modal-foot {
    padding: 14px 18px;
  }
  .modal-foot-note {
    display: none;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .drawer {
    max-width: 100%;
    width: 100%;
  }
  .drawer-head {
    padding: 20px;
  }
  .drawer-body {
    padding: 20px;
  }
  .drawer-foot {
    padding: 14px 20px;
  }
  .detail-grid {
    gap: 15px;
  }
  .settings-grid {
    grid-template-columns: 1fr;
  }
  .login-panel {
    padding: 35px 25px;
  }
  .login-card h2 {
    font-size: 25px;
  }
}

/* Product demonstration: original scene artwork and a guided business journey. */
.login-story { overflow: hidden; }
.login-story-content { position: relative; z-index: 1; }
.login-story-content .eyebrow { letter-spacing: 2px; }
.login-scene-art { margin: 30px -45px 28px; border-radius: 22px; overflow: hidden; box-shadow: 0 20px 80px #07152226; transform: rotate(-2deg); }
.login-scene-art img { width: 100%; display: block; }
.demo-enter { margin-top: 28px; width: 100%; min-height: 51px; justify-content: space-between; padding: 12px 19px; font-size: 14px; border-radius: 11px; box-shadow: 0 8px 24px #ef623f24; }
.login-demo-note { font-size: 11px; color: #9a8b7f; margin-top: 10px; }
.login-account-details { margin-top: 21px; border: 1px solid var(--line); padding: 11px 14px; border-radius: 10px; }
.login-account-details summary { color: #738096; font-size: 12px; cursor: pointer; }
.login-account-details #login-form { margin-top: 8px; }
.demo-account-section { margin-top: 24px; }
.demo-account { min-height: 42px; font-size: 12px; }
.login-card { width: 420px; }
.demo-context { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; padding: 7px 34px; background: #fff9ef; color: #9a7d58; font-size: 10px; border-bottom: 1px solid #efe7d8; }
.demo-context-dot { width: 5px; height: 5px; border-radius: 50%; background: #cfac6f; margin-right: 2px; }
.demo-context-extra { opacity: .8; }
.example-badge { background: #fff0e8; border-color: #f6d6c5; color: #d66b45; font-size: 10px; }
.demo-tour { margin: 22px 34px 0; border: 1px solid #ead8c8; border-radius: 13px; background: #fffcf7; padding: 15px 18px; }
.demo-tour-head { display: flex; justify-content: space-between; gap: 15px; }
.tour-label { font-size: 10px; color: #bf8763; padding-right: 12px; }
.demo-tour-head strong { color: var(--ink); font-size: 13px; }
.demo-tour-head p { margin-top: 4px; font-size: 11px; color: #8e8a85; }
.demo-tour-head .icon-button { margin: -7px -8px 0 0; flex-shrink: 0; }
.demo-tour-bottom { margin-top: 13px; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.demo-tour-steps { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.demo-tour-steps a { display: inline-flex; align-items: center; gap: 6px; font-size: 10px; color: #a7a29b; padding: 3px 0; }
.demo-tour-steps a span { display: grid; place-items: center; border: 1px solid #e6ddd4; width: 18px; height: 18px; border-radius: 50%; font-size: 9px; }
.demo-tour-steps a.active { color: #d75b37; font-weight: 600; }
.demo-tour-steps a.active span { background: #ef623f; border-color: #ef623f; color: white; }
.demo-tour-bottom > .button { white-space: nowrap; flex-shrink: 0; }
.promo-hero { position: relative; isolation: isolate; min-height: 344px; margin-bottom: 23px; border-radius: 19px; background: #fcf1df; border: 1px solid #eee2d1; overflow: hidden; }
.promo-hero-art-wrap { position: absolute; inset: 0 0 0 auto; width: 55%; overflow: hidden; z-index: -2; }
.promo-hero-art { position: absolute; right: 0; top: 0; width: 156%; max-width: none; height: 100%; object-fit: contain; object-position: right center; }
.promo-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #fff8eaf5 0%, #fff8ead9 25%, #fff8ea24 57%, transparent 75%); z-index: -1; }
.promo-hero-content { padding: 31px 35px 26px; width: 61%; }
.hero-pill { display: inline-flex; align-items: center; gap: 7px; font-size: 10px; color: #9d7151; padding: 4px 9px; border: 1px solid #dfc8ac; border-radius: 20px; background: #fffcf6a6; }
.hero-pill span { width: 5px; height: 5px; border-radius: 50%; background: var(--orange); }
.promo-hero h2 { margin-top: 13px; font-size: clamp(26px, 2.6vw, 38px); letter-spacing: 1px; line-height: 1.4; font-weight: 750; }
.promo-hero-content > p { margin-top: 12px; font-size: 11px; color: #897666; line-height: 1.95; }
.hero-actions { margin-top: 20px; display: flex; gap: 10px; align-items: center; }
.hero-actions .button { padding: 9px 16px; }
.hero-secondary { color: #5f625e; border-color: #d8d1c2; background: #fffcf4d4; }
.hero-greeting { font-size: 9px; color: #a59b8a; margin-top: 17px; }
.hero-scene-tag { position: absolute; bottom: 24px; right: 22px; background: #17283fe8; color: #f8e6d0; padding: 10px 14px; border: 1px solid #ffffff3b; border-radius: 11px; max-width: 40%; backdrop-filter: blur(8px); }
.hero-scene-tag span { display: block; color: #efa788; font-size: 8px; letter-spacing: 2px; }
.hero-scene-tag strong { display: block; font-size: 10px; margin-top: 2px; font-weight: 400; }
.featured-section { margin: 25px 0 27px; }
.featured-section .section-title { align-items: flex-end; }
.featured-section .section-title h2 { margin-top: 3px; }
.featured-section .eyebrow { letter-spacing: 1px; font-size: 9px; }
.featured-courses { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; }
.featured-course { border: 1px solid #e6e5df; border-radius: 13px; padding: 0; background: white; text-align: left; min-width: 0; overflow: hidden; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.featured-course:hover { transform: translateY(-4px); box-shadow: 0 12px 27px #17283f13; }
.featured-course > img { width: 100%; aspect-ratio: 1.75; object-fit: cover; display: block; border-bottom: 1px solid #f0ece3; }
.featured-course > div { padding: 13px 14px 12px; }
.featured-course div > span { color: #c18c65; font-size: 9px; }
.featured-course h3 { font-size: 12px; margin-top: 4px; min-height: 41px; line-height: 1.7; }
.featured-course p { color: #9b9fa6; font-size: 10px; margin-top: 6px; height: 34px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.featured-course b { margin-top: 12px; display: flex; justify-content: space-between; color: #d46c45; font-size: 10px; font-weight: 500; }
.featured-course b i { font-style: normal; }
.module-story.with-art { padding-right: 36%; }
.module-story.with-art::after { display: none; }
.module-story-art { position: absolute; right: -28px; bottom: 0; width: 43%; height: 100%; object-fit: cover; object-position: 65% center; opacity: .88; mask-image: linear-gradient(90deg, transparent, #000 25%); }
.module-story.with-art > :not(img) { position: relative; z-index: 1; }
.module-story.with-art h2 { font-size: 20px; max-width: 430px; }
.module-story.with-art p { max-width: 440px; }
.record-cover.illustrated { height: 158px; padding: 0; background: #fbf0e1 !important; }
.record-cover.illustrated::after { display: none; }
.record-cover.illustrated > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.record-cover.illustrated .cover-kicker { position: absolute; z-index: 1; right: 10px; bottom: 10px; font-size: 8px; letter-spacing: 1px; padding: 3px 6px; background: #fffcf2e8; border-radius: 4px; color: #8d795e; }
.record-cover.illustrated .cover-title { display: none; }
.record-content h3 { font-size: 14px; }
.record-summary { font-size: 11px; }
.detail-scene-art { width: 100%; max-height: 230px; object-fit: cover; border-radius: 12px; margin: 2px 0 20px; display: block; }
.agent-demo-note { display: flex; align-items: center; gap: 17px; background: #fffbf3; border: 1px solid #ede3d1; border-radius: 12px; padding: 12px 20px; margin-bottom: 20px; }
.agent-demo-note > img { width: 86px; height: 90px; object-fit: contain; flex-shrink: 0; }
.agent-demo-note h3 { font-size: 13px; margin-top: 3px; }
.agent-demo-note p { font-size: 11px; color: #968c7e; margin-top: 5px; max-width: 740px; }
.agent-question-list { display: grid; gap: 8px; margin-top: 16px; }
.agent-question-list button { display: flex; justify-content: space-between; gap: 12px; border: 1px solid #e4e9ed; background: #f9fafb; border-radius: 8px; text-align: left; padding: 10px 12px; color: #687a8e; font-size: 12px; }
.agent-question-list button:hover { border-color: #e9b59e; color: #d46b42; }
.record-technical > summary { cursor: pointer; font-size: 13px; font-weight: 600; color: #79879a; padding-bottom: 8px; }
.record-technical[open] > summary { margin-bottom: 8px; }
.module-grid .module-card h3 { font-size: 13px; }
.module-grid .module-card p { font-size: 10px; }
.sidebar-foot { background: #fffaf1; border-color: #f0e7da; }
@media (min-width: 1650px) {
  .demo-tour { margin-left: 45px; margin-right: 45px; }
  .promo-hero { min-height: 385px; }
  .promo-hero-content { padding-top: 39px; }
}
@media (max-width: 1280px) {
  .demo-context { padding-left: 25px; padding-right: 25px; }
  .demo-tour { margin: 20px 25px 0; }
  .demo-tour-steps { gap: 6px 11px; }
  .promo-hero-content { width: 70%; padding-left: 26px; }
  .promo-hero { min-height: 330px; }
  .featured-courses { gap: 11px; }
  .featured-course > div { padding: 11px; }
  .featured-course h3 { font-size: 11px; }
  .hero-scene-tag { max-width: 33%; }
}
@media (max-width: 1020px) {
  .featured-courses { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .featured-course h3 { min-height: 0; font-size: 13px; }
  .demo-tour-bottom { align-items: flex-start; }
  .demo-tour-steps { gap: 7px 10px; }
  .demo-tour-steps a { font-size: 9px; }
  .promo-hero-content { width: 73%; }
  .promo-hero-art-wrap { width: 50%; }
  .promo-hero h2 { font-size: 30px; }
  .hero-scene-tag { display: none; }
}
@media (max-width: 850px) {
  .demo-context { padding-left: 20px; padding-right: 20px; }
  .demo-tour { margin: 18px 20px 0; }
  .promo-hero-content { width: 66%; }
  .login-screen { grid-template-columns: minmax(0, 1fr); }
  .login-panel { min-height: 100svh; min-width: 0; width: 100%; }
  .login-card { width: 100%; max-width: 420px; min-width: 0; }
  .tour-reopen { font-size: 10px; }
}
@media (max-width: 620px) {
  .demo-context { font-size: 9px; padding-top: 6px; padding-bottom: 6px; }
  .demo-context-extra { display: none; }
  .demo-tour { padding: 13px 14px; }
  .demo-tour-head p { font-size: 10px; line-height: 1.8; }
  .demo-tour-bottom { flex-direction: column; align-items: stretch; gap: 10px; }
  .demo-tour-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px 4px; }
  .demo-tour-steps a { font-size: 10px; }
  .demo-tour-bottom > .button { align-self: flex-end; }
  .promo-hero { min-height: 405px; }
  .promo-hero-content { width: 100%; padding: 23px 22px; }
  .promo-hero h2 { font-size: 29px; }
  .promo-hero-content > p { font-size: 10px; max-width: 80%; }
  .promo-hero-art-wrap { width: 100%; height: 48%; top: auto; bottom: 0; }
  .promo-hero-art { object-position: right bottom; }
  .promo-hero::before { background: linear-gradient(180deg, #fff8ea 0%, #fff8eaed 36%, #fff8ea44 70%, transparent); }
  .hero-actions { margin-top: 17px; gap: 8px; }
  .hero-actions .button { font-size: 11px; padding: 8px 12px; }
  .hero-greeting { margin-top: 12px; max-width: 60%; font-size: 8px; }
  .featured-section .section-title { gap: 12px; }
  .featured-section .section-title h2 { font-size: 14px; }
  .featured-section .text-button { white-space: nowrap; font-size: 10px; }
  .featured-courses { gap: 11px; }
  .featured-course > div { padding: 11px; }
  .featured-course > img { aspect-ratio: 1.45; }
  .featured-course h3 { font-size: 12px; min-height: 40px; }
  .featured-course p { display: none; }
  .record-cover.illustrated { height: 175px; }
  .module-story.with-art { padding-right: 28%; }
  .module-story-art { width: 39%; opacity: .55; }
  .module-story.with-art h2 { font-size: 18px; }
  .module-story.with-art p { font-size: 11px; }
  .agent-demo-note { align-items: flex-start; gap: 10px; padding: 13px; }
  .agent-demo-note > img { width: 52px; height: 64px; }
  .agent-demo-note h3 { font-size: 12px; }
  .agent-demo-note p { font-size: 10px; }
  .tour-reopen { display: none; }
  .login-card h2 { font-size: 24px; }
  .demo-enter { min-height: 49px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
@media (max-width: 380px) {
  html { min-width: 280px; }
  .main-content { padding: 19px 14px; }
  .topbar { padding-left: 14px; padding-right: 14px; }
  .demo-context { padding-left: 14px; padding-right: 14px; }
  .demo-tour { margin-left: 14px; margin-right: 14px; }
  .stat-card { padding: 12px; gap: 7px; min-width: 0; }
  .stat-icon { display: none; }
  .stat-card > div { min-width: 0; }
  .stat-value { font-size: 23px; white-space: nowrap; }
  .stat-label, .stat-foot { overflow-wrap: anywhere; }
  .hero-actions { flex-wrap: wrap; gap: 7px; }
  .hero-actions .button { font-size: 10px; padding: 7px 10px; }
  .promo-hero-content { padding: 21px 19px; }
  .promo-hero h2 { font-size: 27px; }
  .promo-hero-content > p { max-width: 100%; }
  .featured-courses { gap: 9px; }
  .featured-course > div { padding: 9px; }
  .featured-course h3 { font-size: 11px; }
  .featured-section .section-title h2 { font-size: 13px; }
  .module-grid { gap: 9px; }
  .module-grid .module-card { padding: 13px; }
  .module-grid .module-card h3 { font-size: 12px; }
  .module-story.with-art { padding-right: 22%; }
  .head-actions { max-width: 100%; }
  .toolbar-controls { min-width: 0; }
  .search-field { min-width: 105px; }
  .date-pill { white-space: normal; }
  .handbook-link { font-size: 10px; padding: 5px 7px; }
  .topbar-actions .example-badge { display: none; }
}

/* Public customer sandbox */
.sandbox-clock {color:#4c5d6b;font-variant-numeric:tabular-nums;white-space:nowrap}
.sandbox-clock.expiring {color:#bf4c24}
.public-readonly-tag {font-size:12px;color:#7b8693;white-space:nowrap}
.public-form-notice {background:#fff8ef;border:1px solid #f4dfc0;border-radius:10px;padding:12px 14px;color:#775337;font-size:12px;line-height:1.8}
.sandbox-info p {margin:0 0 14px;line-height:1.9;color:#53606e}
body[data-public-demo] .login-demo-note {line-height:1.9}
body[data-public-demo] .demo-account-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:760px){.sandbox-clock{font-size:11px}.topbar-actions{gap:7px}.public-readonly-tag{display:none}}
