/* Dashboard after login — Figma node 194:774 */
.dashboard-page {
  min-width: 320px;
  min-height: 100vh;
  color: var(--brand);
  background: var(--surface);
}

.dashboard-page button,
.dashboard-page input {
  font-family: var(--font-body);
}

.dashboard-page button:focus-visible,
.dashboard-page a:focus-visible,
.dashboard-page input:focus-visible {
  outline: 3px solid rgba(212, 134, 11, 0.34);
  outline-offset: 3px;
}

.dashboard-sidebar {
  position: fixed;
  z-index: 1200;
  top: 0;
  right: 0;
  width: 320px;
  height: 100vh;
  min-height: 640px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px 16px 28px 16.8px;
  overflow-y: auto;
  background: var(--surface);
  border-left: 0.8px solid rgba(27, 67, 50, 0.1);
  transition: width 0.28s ease, transform 0.28s ease;
}

.sidebar-main {
  width: 100%;
}

.sidebar-brand-row {
  height: 57px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 4px 0 20.8px;
  border-bottom: 0.8px solid rgba(27, 67, 50, 0.08);
}

.sidebar-logo {
  width: 109px;
  height: 52px;
  margin-top: -5px;
  object-fit: contain;
}

.sidebar-collapse {
  width: 48px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--brand);
  background: transparent;
  border: 0;
  border-radius: 12px;
}

.sidebar-collapse img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 20px;
}

.sidebar-nav a,
.sidebar-footer a {
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  color: var(--brand);
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 24px;
  white-space: nowrap;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.sidebar-nav a {
  padding-right: 10px;
}

.sidebar-nav a img,
.sidebar-footer a img {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  object-fit: contain;
}

.sidebar-nav a:hover,
.sidebar-nav a:focus-visible,
.sidebar-footer a:hover,
.sidebar-footer a:focus-visible {
  background: rgba(27, 67, 50, 0.06);
}

.sidebar-nav a.is-active {
  color: var(--surface);
  background: var(--brand);
}

.sidebar-nav a.is-active img {
  filter: brightness(0) invert(1);
}

.sidebar-footer {
  width: 100%;
  padding-top: 16.8px;
  border-top: 0.8px solid rgba(27, 67, 50, 0.08);
}

.sidebar-footer a {
  gap: 12px;
  color: rgba(27, 67, 50, 0.75);
  font-size: 14.5px;
}

.sidebar-footer .logout-link {
  color: var(--accent);
}

.dashboard-app {
  width: calc(100% - 320px);
  min-height: 100vh;
  margin-right: 320px;
  transition: width 0.28s ease, margin 0.28s ease;
}

.dashboard-header {
  position: sticky;
  z-index: 900;
  top: 0;
  width: 100%;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 0.8px solid rgba(27, 67, 50, 0.1);
  transition: box-shadow 0.25s ease;
}

.dashboard-header.is-scrolled {
  box-shadow: 0 12px 30px rgba(27, 67, 50, 0.08);
}

.dashboard-header-title {
  min-width: 83px;
  text-align: right;
}

.dashboard-header-title h1 {
  margin: 0;
  color: var(--brand);
  font-size: 22px;
  font-weight: 700;
  line-height: 33px;
}

.dashboard-header-title p {
  margin: 0;
  color: rgba(27, 67, 50, 0.55);
  font-size: 13px;
  line-height: 20px;
}

.dashboard-header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  direction: ltr;
}

.dashboard-avatar,
.dashboard-language,
.dashboard-new-training {
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
}

.dashboard-avatar {
  width: 40px;
  height: 40px;
  color: var(--surface);
  background: var(--brand);
  border: 0;
  border-radius: 50%;
}

.dashboard-language {
  min-width: 108px;
  padding: 0 24px;
  color: var(--brand);
  background: var(--surface);
  border: 1px solid var(--brand);
}

.dashboard-new-training {
  min-width: 150px;
  padding: 0 24px;
  color: var(--surface);
  background: var(--brand);
}

.dashboard-new-training:hover {
  color: var(--surface);
  background: var(--brand-deep);
}

.dashboard-search {
  width: 240px;
  height: 41px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  direction: rtl;
  background: var(--canvas);
  border-radius: 999px;
}

.dashboard-search input {
  min-width: 0;
  flex: 1;
  padding: 0;
  color: var(--brand);
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 14px;
  line-height: 21px;
}

.dashboard-search input::placeholder {
  color: rgba(27, 67, 50, 0.5);
}

.dashboard-search button {
  width: 27px;
  height: 27px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0;
  background: transparent;
  border: 0;
}

.dashboard-search button img {
  width: 17px;
  height: 17px;
  object-fit: contain;
}

.dashboard-menu-button {
  display: none;
}

.dashboard-main {
  width: 1040px;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 44px;
  margin: 0 auto;
  padding-top: 32px;
}

.dashboard-section {
  width: 100%;
  flex: 0 0 auto;
}

.dashboard-section > h2,
.suggested-panel > h2,
.resume-panel > h2,
.skills-card h2,
.training-chart-card h2,
.dashboard-quick h2 {
  margin: 0;
  color: var(--brand);
  font-size: 22px;
  font-weight: 700;
  line-height: 33px;
}

.dashboard-page .btn {
  min-height: 48px;
  padding: 11px 24px;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
}

.dashboard-welcome {
  height: 312.4px;
  display: grid;
  grid-template-columns: 406.26px 528.14px;
  gap: 32px;
  padding: 32.8px 36.8px;
  direction: ltr;
  background: var(--canvas);
  border: 1px solid rgba(27, 67, 50, 0.1);
  border-radius: 26px;
}

.welcome-activity,
.welcome-copy {
  direction: rtl;
}

.welcome-activity {
  height: 246.8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  padding: 24px;
  background: var(--surface);
  border-radius: 20px;
}

.welcome-next-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  direction: ltr;
}

.welcome-activity-row,
.welcome-next-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  direction: ltr;
}

.welcome-activity-row {
  justify-content: flex-end;
  gap: 12px;
}

.welcome-activity-row > div {
  direction: rtl;
  text-align: right;
}

.welcome-activity-row > div > span,
.welcome-next-copy > div > span {
  display: block;
  margin-bottom: 2px;
  color: rgba(27, 67, 50, 0.5);
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
}

.welcome-activity-row p {
  margin: 0;
  color: var(--brand);
  font-size: 14.5px;
  line-height: 22px;
}

.welcome-activity-row .muted-copy {
  color: rgba(27, 67, 50, 0.75);
  font-size: 14px;
  line-height: 24px;
}

.dashboard-icon-box {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 34px;
  margin: 0;
  border-radius: 10px;
}

.dashboard-icon-box img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.dashboard-icon-box.icon-green {
  background: rgba(27, 67, 50, 0.08);
}

.dashboard-icon-box.icon-gold {
  background: rgba(212, 134, 11, 0.12);
}

.dashboard-icon-box.icon-accent {
  background: rgba(207, 78, 36, 0.1);
}

.welcome-divider {
  height: 1px;
  background: rgba(27, 67, 50, 0.08);
}

.welcome-next-row {
  align-items: center;
}

.welcome-next-row > a {
  color: var(--brand);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 19px;
}

.welcome-next-copy {
  gap: 12px;
}

.welcome-next-copy > div {
  direction: rtl;
}

.welcome-next-copy strong {
  display: block;
  color: var(--brand);
  font-size: 14px;
  line-height: 21px;
}

.welcome-copy {
  height: 245.8px;
  padding-top: 36.28px;
  text-align: right;
}

.welcome-kicker {
  display: block;
  margin-bottom: 11px;
  color: var(--accent);
  font-size: 13px;
  line-height: 20px;
}

.welcome-copy h2 {
  margin: 0 0 11px;
  color: var(--brand);
  font-size: 30px;
  font-weight: 700;
  line-height: 39px;
}

.welcome-copy > p {
  margin: 0;
  color: rgba(27, 67, 50, 0.7);
  font-size: 15px;
  line-height: 27px;
}

.welcome-actions {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.dashboard-resume {
  height: 383.8px;
  display: grid;
  grid-template-columns: 390.77px 625.23px;
  gap: 24px;
  direction: ltr;
}

.suggested-panel,
.resume-panel {
  direction: rtl;
}

.suggested-panel > h2,
.resume-panel > h2 {
  margin-bottom: 16px;
}

.suggested-card {
  height: 244.1px;
  padding: 23.8px;
  background: rgba(212, 134, 11, 0.06);
  border: 1px solid rgba(212, 134, 11, 0.3);
  border-radius: 20px;
}

.suggested-label {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  direction: ltr;
}

.suggested-label > span:first-child {
  direction: rtl;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
}

.suggested-label .dashboard-icon-box {
  width: 36px;
  height: 36px;
  flex-basis: 36px;
  background: rgba(212, 134, 11, 0.16);
}

.suggested-label .dashboard-icon-box img {
  width: 17px;
  height: 17px;
}

.suggested-card h3 {
  margin: 11px 0 4px;
  color: var(--brand);
  font-size: 17px;
  font-weight: 700;
  line-height: 26px;
}

.suggested-card > p {
  height: 46px;
  margin: 0;
  color: rgba(27, 67, 50, 0.7);
  font-size: 13.5px;
  line-height: 23px;
}

.suggested-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 11px;
  padding-top: 16px;
  border-top: 1px solid rgba(212, 134, 11, 0.18);
}

.suggested-actions > a:first-child {
  height: 48px;
  display: inline-flex;
  align-items: center;
  padding: 0 24px;
  color: var(--surface);
  background: var(--brand);
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
}

.suggested-resource {
  color: var(--brand);
  font-size: 12.5px;
  font-weight: 700;
}

.resume-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.resume-card {
  position: relative;
  height: 103.6px;
  display: grid;
  grid-template-columns: 206px 1fr 44px;
  grid-template-areas: "actions copy icon";
  align-items: center;
  gap: 16px;
  padding: 18.8px 20.8px;
  direction: ltr;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.resume-copy {
  grid-area: copy;
  display: flex;
  flex-direction: column;
  gap: 3px;
  direction: rtl;
  text-align: right;
}

.resume-copy .resume-type {
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
}

.accent-text {
  color: var(--accent);
}

.gold-text {
  color: var(--gold);
}

.resume-copy strong {
  color: var(--brand);
  font-size: 15.5px;
  line-height: 23px;
}

.resume-copy small {
  color: rgba(27, 67, 50, 0.55);
  font-size: 12.5px;
  line-height: 19px;
}

.resume-icon {
  grid-area: icon;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--canvas);
  border-radius: 12px;
}

.resume-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.resume-actions {
  grid-area: actions;
  display: flex;
  gap: 8px;
  direction: rtl;
}

.resume-actions .btn {
  min-width: 95px;
  padding-inline: 24px;
}

.resume-single-action {
  justify-content: flex-end;
}

.resume-single-action .btn {
  min-width: 88px;
  min-height: 36px;
  padding: 8px 16px;
  font-size: 12px;
}

.dashboard-start {
  height: 355px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.dashboard-start > h2 {
  height: 36px;
  margin: 0;
  color: var(--brand);
  font-size: 24px;
  font-weight: 700;
  line-height: 36px;
}

.start-cards {
  height: 241px;
  direction: ltr;
}

.start-card {
  position: relative;
  height: 241px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 32px;
  direction: rtl;
  overflow: hidden;
  color: var(--surface);
  background: linear-gradient(134.33deg, #1b4332 0%, #173d2c 60%, #0f2a1e 100%);
  border-radius: 24px;
}

.start-card::after {
  position: absolute;
  bottom: -50px;
  left: -30px;
  width: 180px;
  height: 180px;
  content: "";
  pointer-events: none;
  border-radius: 50%;
}

.start-objection::after {
  background: radial-gradient(circle, rgba(207, 78, 36, 0.22) 0%, rgba(207, 78, 36, 0) 70%);
}

.start-dialogue::after {
  background: radial-gradient(circle, rgba(212, 134, 11, 0.25) 0%, rgba(212, 134, 11, 0) 70%);
}

.start-badge {
  position: absolute;
  z-index: 1;
  top: 24px;
  left: 28px;
  padding: 8px 16px;
  color: var(--surface);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
}

.badge-gold {
  background: var(--gold);
}

.badge-accent {
  background: var(--accent);
}

.start-icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 52px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.08));
  border-radius: 16px;
}

.start-icon img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.start-card > div {
  width: 100%;
  margin-top: 0;
}

.start-card h3 {
  margin: 0 0 8px;
  color: var(--surface);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  line-height: 24px;
}

.start-card p {
  margin: 0;
  color: rgba(247, 242, 236, 0.85);
  font-size: 14px;
  line-height: 25px;
}

.start-card > a {
  position: absolute;
  z-index: 1;
  right: 32px;
  bottom: 32px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  color: var(--brand);
  background: var(--surface);
  border-radius: 12px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
}

.dashboard-pills {
  height: 38px;
  display: flex;
  justify-content: flex-start;
  gap: 10px;
}

.dashboard-pills a,
.quick-tool-options button {
  min-height: 38px;
  padding: 9px 16px;
  color: var(--brand);
  background: var(--canvas);
  border: 0;
  border-radius: 999px;
  font-size: 13px;
  line-height: 20px;
}

.dashboard-pills a:hover,
.dashboard-pills a:focus-visible,
.quick-tool-options button:hover,
.quick-tool-options button:focus-visible,
.quick-tool-options button.is-active {
  color: var(--surface);
  background: var(--brand);
}

.dashboard-summary {
  height: 140px;
}

.dashboard-summary > h2 {
  height: 33px;
  margin: 0 0 16px;
}

.summary-grid {
  height: 91px;
  display: grid;
  grid-template-columns: repeat(4, 248px);
  gap: 16px;
  direction: ltr;
}

.summary-grid article {
  height: 91px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 18px;
  direction: rtl;
  background: var(--canvas);
  border-radius: 16px;
}

.summary-grid strong {
  color: var(--brand);
  font-size: 20px;
  line-height: 30px;
}

.summary-grid span {
  color: rgba(27, 67, 50, 0.6);
  font-size: 12.5px;
  line-height: 19px;
}

.dashboard-activity {
  height: 354.6px;
  display: grid;
  grid-template-columns: 338.68px 677.32px;
  gap: 24px;
  direction: ltr;
}

.skills-card,
.training-chart-card {
  height: 340px;
  direction: rtl;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
}

.skills-card {
  padding: 24.8px;
}

.skills-card header {
  margin-bottom: 14px;
}

.skills-card h2 {
  font-size: 18px;
  line-height: 27px;
}

.skills-card header p,
.chart-header p {
  margin: 2px 0 0;
  color: rgba(27, 67, 50, 0.55);
  font-size: 12px;
  line-height: 18px;
}

.skills-table {
  width: 100%;
}

.skills-row {
  min-height: 52px;
  display: grid;
  grid-template-columns: 69px repeat(3, minmax(0, 1fr));
  align-items: center;
  border-top: 0.8px solid rgba(27, 67, 50, 0.08);
}

.skills-row:first-child {
  min-height: 26px;
  border-top: 0;
}

.skills-row > * {
  min-width: 0;
  text-align: center;
}

.skills-row strong {
  padding: 6px 4px;
  color: var(--brand);
  font-size: 12.5px;
  font-weight: 400;
  line-height: 17px;
  text-align: right;
}

.skills-head span {
  color: rgba(27, 67, 50, 0.5);
  font-size: 12px;
}

.status {
  justify-self: center;
  padding: 4px 9px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  line-height: 16px;
  white-space: nowrap;
}

.status.good {
  color: var(--brand);
  background: var(--line);
}

.status.improving {
  color: var(--gold);
  background: rgba(212, 134, 11, 0.16);
}

.status.needs {
  color: var(--accent);
  background: rgba(207, 78, 36, 0.12);
}

.status.no-data {
  color: rgba(27, 67, 50, 0.55);
  background: var(--canvas);
  font-weight: 400;
}

.training-chart-card {
  padding: 26.8px 26.8px 20px;
}

.chart-header {
  height: 48px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.chart-header h2 {
  font-size: 19px;
  line-height: 28px;
}

.chart-filters {
  display: flex;
  gap: 2px;
  padding: 3px;
  direction: rtl;
  background: var(--canvas);
  border-radius: 10px;
}

.chart-filters button {
  min-height: 36px;
  padding: 6px 12px;
  color: rgba(27, 67, 50, 0.6);
  background: transparent;
  border: 0;
  border-radius: 8px;
  font-size: 12px;
}

.chart-filters button.is-active {
  padding-inline: 16px;
  color: var(--surface);
  background: var(--brand);
  border-radius: 12px;
  font-weight: 700;
}

.training-chart {
  height: 170px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 0 4px;
  margin-top: 28px;
  direction: ltr;
}

.chart-week {
  height: 170px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.chart-bars {
  width: 56px;
  height: 140px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
}

.bar {
  width: 16px;
  display: block;
  border-radius: 4px 4px 0 0;
  transition: height 0.35s ease;
}

.bar-brand {
  background: var(--brand);
}

.bar-accent {
  background: var(--accent);
}

.bar-gold {
  background: var(--gold);
}

.h-0 { height: 0; }
.h-47 { height: 46.66px; }
.h-93 { height: 93.33px; }
.h-140 { height: 140px; }

.chart-week > span {
  color: rgba(27, 67, 50, 0.55);
  font-size: 11.5px;
  line-height: 18px;
}

.chart-footer {
  min-height: 43px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-top: 14.8px;
  border-top: 0.8px solid rgba(27, 67, 50, 0.08);
}

.chart-footer > button {
  padding: 0;
  color: var(--brand);
  background: transparent;
  border: 0;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: underline;
}

.chart-legend {
  display: flex;
  gap: 18px;
}

.chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted-brand);
  font-size: 12.5px;
}

.chart-legend i {
  width: 10px;
  height: 10px;
  border-radius: 3px;
}

.legend-brand { background: var(--brand); }
.legend-accent { background: var(--accent); }
.legend-gold { background: var(--gold); }

.chart-data-table {
  margin-top: 12px;
}

.chart-data-table table {
  width: 100%;
  border-collapse: collapse;
  color: var(--brand);
  font-size: 12px;
}

.chart-data-table th,
.chart-data-table td {
  padding: 7px;
  text-align: center;
  border: 1px solid var(--line);
}

.last-session {
  height: 465.5px;
}

.last-session > h2 {
  height: 33px;
  margin: 0 0 16px;
}

.last-session-card {
  height: 416.5px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26.8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.last-session-card header {
  height: 44px;
}

.last-session-card header span {
  display: block;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
}

.last-session-card header h3 {
  margin: 2px 0 0;
  color: var(--brand);
  font-size: 17px;
  font-weight: 700;
  line-height: 24px;
}

.session-notes {
  height: 103.5px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.session-notes div {
  min-width: 0;
}

.session-notes span,
.session-skills-title {
  display: block;
  margin: 0 0 2.3px;
  color: rgba(27, 67, 50, 0.5);
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
}

.session-notes p {
  margin: 0;
  color: var(--brand);
  font-size: 13.5px;
  line-height: 23px;
}

.session-notes div:last-child p {
  color: rgba(27, 67, 50, 0.75);
}

.session-skills {
  height: 120px;
  padding-top: 16.8px;
  border-top: 0.8px solid rgba(27, 67, 50, 0.08);
}

.session-skills-title {
  margin-bottom: 10px;
}

.session-skill {
  height: 19px;
  display: grid;
  grid-template-columns: 120px 1fr 120px;
  align-items: center;
  gap: 12px;
  margin-bottom: 9px;
}

.session-skill > span {
  color: var(--brand);
  font-size: 12.5px;
}

.session-skill > div {
  height: 8px;
  overflow: hidden;
  direction: rtl;
  background: var(--canvas);
  border-radius: 999px;
}

.session-skill i {
  height: 8px;
  display: block;
  border-radius: 999px;
}

.skill-good {
  width: 85%;
  background: var(--brand);
}

.skill-needs {
  width: 35%;
  background: var(--accent);
}

.skill-improving {
  width: 60%;
  background: var(--gold);
}

.session-skill strong {
  font-size: 11.5px;
  line-height: 17px;
  text-align: left;
}

.good-text { color: var(--brand); }
.needs-text { color: var(--accent); }
.improving-text { color: var(--gold); }

.last-session-card footer {
  height: 52px;
  display: flex;
  justify-content: flex-start;
  gap: 10px;
  padding-top: 4px;
}

.dashboard-library {
  height: 391px;
}

.dashboard-library-heading {
  height: 82px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-direction: row-reverse;
  margin-bottom: 20px;
}

.dashboard-library-heading > a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--brand);
  font-size: 13.5px;
  font-weight: 700;
  line-height: 20px;
}

.dashboard-library-heading > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.dashboard-library-heading > div > span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
}

.dashboard-library-heading h2 {
  margin: 0;
  color: var(--brand);
  font-size: 24px;
  font-weight: 700;
  line-height: 36px;
}

.dashboard-library-heading p {
  margin: 0;
  color: rgba(27, 67, 50, 0.6);
  font-size: 13px;
  line-height: 20px;
}

.dashboard-library-grid {
  height: 289px;
  display: grid;
  grid-template-columns: repeat(2, 510px);
  gap: 20px;
  direction: ltr;
}

.dashboard-library-list,
.dashboard-featured-book {
  direction: rtl;
}

.dashboard-library-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.library-list-item {
  width: 510px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12.8px;
  direction: ltr;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.library-list-item > div {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  direction: rtl;
}

.library-list-item span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  line-height: 17px;
}

.library-list-item strong {
  color: var(--brand);
  font-size: 14.5px;
  line-height: 20px;
}

.library-list-item small {
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
}

.library-video-item {
  height: 91.6px;
}

.library-video-item > img {
  width: 78px;
  height: 52px;
  object-fit: cover;
  border-radius: 12px;
}

.library-question-item {
  height: 91px;
  padding: 14px 16px;
  background: var(--canvas);
  border: 0;
}

.library-question-item > div {
  gap: 4px;
}

.library-question-item strong {
  font-size: 13.5px;
  line-height: 21px;
}

.library-question-item .library-small-icon {
  width: 17px;
  height: 17px;
  object-fit: contain;
}

.library-audio-item {
  height: 77.6px;
}

.library-audio-play {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  order: 3;
  padding: 0;
  background: var(--brand);
  border: 0;
  border-radius: 50%;
}

.library-audio-play img {
  width: 13px;
  height: 13px;
}

.library-audio-item > img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 10px;
}

.library-audio-item strong {
  font-size: 13.5px;
  line-height: 20px;
}

.dashboard-featured-book {
  height: 289px;
  display: grid;
  grid-template-columns: 278px 170px;
  gap: 18px;
  padding: 22px;
  direction: ltr;
  background: var(--canvas);
  border-radius: 22px;
}

.featured-book-copy {
  position: relative;
  height: 245px;
  direction: rtl;
}

.featured-book-copy > span {
  position: absolute;
  top: 26px;
  right: 0;
  padding: 3px 10px;
  color: var(--gold);
  background: rgba(212, 134, 11, 0.12);
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
}

.featured-book-copy h3 {
  position: absolute;
  top: 57px;
  right: 0;
  margin: 0;
  color: var(--brand);
  font-size: 19px;
  font-weight: 700;
  line-height: 28.5px;
}

.featured-book-copy p {
  position: absolute;
  top: 121px;
  right: 0;
  margin: 0;
  color: var(--muted-brand);
  font-size: 12.5px;
  line-height: 21px;
}

.featured-book-copy small {
  position: absolute;
  top: 151px;
  right: 0;
  color: rgba(27, 67, 50, 0.5);
  font-size: 11px;
}

.featured-book-copy > a {
  position: absolute;
  right: 0;
  bottom: 0;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  color: var(--surface);
  background: var(--brand);
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 700;
}

.dashboard-featured-book > img {
  width: 170px;
  height: 245px;
  object-fit: cover;
  border-radius: 14px;
}

.dashboard-quick {
  height: 225.725px;
  display: grid;
  grid-template-columns: repeat(2, 508px);
  gap: 24px;
  direction: ltr;
}

.dashboard-help-card,
.dashboard-tools-card {
  direction: rtl;
  border-radius: 20px;
}

.dashboard-help-card {
  height: 216.6px;
  padding: 24px;
  background: var(--canvas);
}

.dashboard-help-card h2,
.dashboard-tools-card h2 {
  font-size: 18px;
  line-height: 27px;
}

.dashboard-help-card nav {
  margin-top: 14px;
}

.dashboard-help-card a {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 4px;
  color: var(--brand);
  border-bottom: 0.8px solid rgba(27, 67, 50, 0.1);
  font-size: 13.5px;
  line-height: 20px;
}

.dashboard-help-card a:last-child {
  border-bottom: 0;
}

.dashboard-tools-card {
  height: 225.725px;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.quick-tool-options {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.dashboard-tools-card > p {
  margin: 12px 0 0;
  color: var(--muted-brand);
  font-size: 13.5px;
  line-height: 23px;
}

.dashboard-tools-card footer {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 11px;
}

.dashboard-tools-card .btn {
  min-height: 48px;
}

.quick-analyses-link {
  padding: 0;
  color: var(--brand);
  background: transparent;
  border: 0;
  font-size: 13px;
  font-weight: 700;
}

.dashboard-toast {
  position: fixed;
  z-index: 1500;
  bottom: 28px;
  left: 28px;
  max-width: min(360px, calc(100% - 32px));
  padding: 14px 18px;
  color: var(--surface);
  background: var(--brand);
  border-radius: 12px;
  box-shadow: var(--shadow-card);
  font-size: 14px;
}

.dashboard-toast.is-error {
  background: var(--accent);
}

.dashboard-activity.has-chart-table {
  height: auto;
}

.dashboard-activity.has-chart-table .training-chart-card {
  height: auto;
}

.dashboard-page.sidebar-collapsed .dashboard-sidebar {
  width: 88px;
}

.dashboard-page.sidebar-collapsed .dashboard-app {
  width: calc(100% - 88px);
  margin-right: 88px;
}

.dashboard-page.sidebar-collapsed .sidebar-logo {
  width: 42px;
  object-position: right;
}

.dashboard-page.sidebar-collapsed .sidebar-brand-row {
  justify-content: center;
}

.dashboard-page.sidebar-collapsed .sidebar-brand-row > a {
  display: none;
}

.dashboard-page.sidebar-collapsed .sidebar-collapse img {
  transform: rotate(180deg);
}

.dashboard-page.sidebar-collapsed .sidebar-nav a,
.dashboard-page.sidebar-collapsed .sidebar-footer a {
  justify-content: center;
  padding-inline: 10px;
}

.dashboard-page.sidebar-collapsed .sidebar-nav span,
.dashboard-page.sidebar-collapsed .sidebar-footer span {
  display: none;
}

@media (max-width: 1199.98px) {
  .dashboard-sidebar {
    width: 320px;
    transform: translateX(100%);
    box-shadow: -18px 0 42px var(--line);
  }

  .dashboard-page.menu-open .dashboard-sidebar {
    transform: translateX(0);
  }

  .dashboard-app,
  .dashboard-page.sidebar-collapsed .dashboard-app {
    width: 100%;
    min-height: 100vh;
    margin-right: 0;
  }

  .dashboard-header {
    padding-inline: 24px;
  }

  .dashboard-menu-button {
    width: 44px;
    height: 44px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0;
    background: var(--canvas);
    border: 0;
    border-radius: 12px;
  }

  .dashboard-menu-button span {
    width: 20px;
    height: 2px;
    background: var(--brand);
    border-radius: 99px;
  }

  .dashboard-header-title {
    margin-left: auto;
  }

  .dashboard-main {
    width: min(1040px, calc(100% - 32px));
    min-height: 0;
    padding-bottom: 80px;
  }

  .dashboard-welcome,
  .dashboard-resume,
  .dashboard-start,
  .dashboard-summary,
  .dashboard-activity,
  .last-session,
  .dashboard-library,
  .dashboard-quick {
    height: auto;
  }

  .dashboard-welcome {
    grid-template-columns: minmax(330px, 0.9fr) minmax(420px, 1.1fr);
  }

  .dashboard-resume {
    grid-template-columns: minmax(330px, 0.85fr) minmax(500px, 1.15fr);
  }

  .summary-grid,
  .dashboard-activity,
  .dashboard-library-grid,
  .dashboard-quick {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .start-cards,
  .dashboard-library-grid {
    height: auto;
  }

  .start-card,
  .library-list-item {
    width: 100%;
  }

  .dashboard-activity {
    align-items: start;
  }

  .skills-card,
  .training-chart-card {
    width: 100%;
  }

  .dashboard-library-grid {
    align-items: stretch;
  }

  .dashboard-featured-book {
    width: 100%;
    grid-template-columns: minmax(0, 1fr) 170px;
  }
}

@media (max-width: 991.98px) {
  .dashboard-header-actions {
    gap: 8px;
  }

  .dashboard-search {
    width: 190px;
  }

  .dashboard-language {
    min-width: 88px;
    padding-inline: 16px;
  }

  .dashboard-new-training {
    min-width: 132px;
    padding-inline: 16px;
  }

  .dashboard-welcome,
  .dashboard-resume,
  .dashboard-activity,
  .dashboard-library-grid,
  .dashboard-quick {
    grid-template-columns: 1fr;
  }

  .dashboard-welcome {
    padding: 28px;
  }

  .welcome-activity,
  .welcome-copy {
    width: 100%;
    height: auto;
  }

  .welcome-copy {
    padding-top: 0;
  }

  .dashboard-resume {
    direction: rtl;
  }

  .suggested-panel {
    order: 2;
  }

  .summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-pills {
    height: auto;
    flex-wrap: wrap;
  }

  .skills-card,
  .training-chart-card,
  .last-session-card,
  .dashboard-library-grid,
  .dashboard-featured-book,
  .dashboard-quick,
  .dashboard-help-card,
  .dashboard-tools-card {
    height: auto;
  }

  .training-chart-card {
    min-height: 340px;
  }

  .dashboard-library-list {
    order: 2;
  }

  .dashboard-featured-book {
    order: 1;
  }
}

@media (max-width: 767.98px) {
  .dashboard-header {
    height: 72px;
    gap: 10px;
    padding-inline: 16px;
  }

  .dashboard-header-title h1 {
    font-size: 19px;
    line-height: 28px;
  }

  .dashboard-header-title p {
    font-size: 11.5px;
  }

  .dashboard-header-actions {
    margin-right: auto;
  }

  .dashboard-language,
  .dashboard-search {
    display: none;
  }

  .dashboard-new-training {
    min-width: 0;
    height: 42px;
    padding-inline: 13px;
    font-size: 12px;
  }

  .dashboard-avatar {
    width: 38px;
    height: 38px;
  }

  .dashboard-main {
    gap: 36px;
    padding-top: 20px;
  }

  .dashboard-welcome {
    gap: 24px;
    padding: 20px;
    border-radius: 20px;
  }

  .welcome-activity {
    padding: 18px;
  }

  .welcome-copy h2 {
    font-size: 25px;
    line-height: 35px;
  }

  .welcome-actions {
    flex-direction: column;
  }

  .dashboard-resume {
    gap: 28px;
  }

  .resume-card {
    height: auto;
    grid-template-columns: 1fr 44px;
    grid-template-areas:
      "copy icon"
      "actions actions";
    padding: 18px;
  }

  .resume-actions {
    grid-column: auto;
  }

  .resume-actions .btn {
    min-width: 0;
    flex: 1;
  }

  .summary-grid {
    grid-template-columns: 1fr;
  }

  .start-card {
    height: 230px;
    padding: 26px;
  }

  .start-card > a {
    right: 26px;
    bottom: 26px;
  }

  .summary-grid {
    height: auto;
  }

  .chart-header,
  .chart-footer {
    height: auto;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .training-chart-card {
    padding: 20px;
    overflow-x: auto;
  }

  .training-chart {
    min-width: 560px;
  }

  .chart-footer {
    padding-top: 14px;
  }

  .session-notes {
    height: auto;
    grid-template-columns: 1fr;
  }

  .last-session-card {
    padding: 20px;
  }

  .session-skills {
    height: auto;
  }

  .session-skill {
    grid-template-columns: 86px 1fr 92px;
  }

  .last-session-card footer {
    height: auto;
    flex-wrap: wrap;
  }

  .dashboard-library-heading {
    height: auto;
    align-items: flex-start;
    flex-direction: column-reverse;
    gap: 14px;
  }

  .dashboard-library-heading > div {
    align-items: flex-start;
  }

  .dashboard-library-heading p {
    max-width: 100%;
  }

  .dashboard-featured-book {
    grid-template-columns: minmax(0, 1fr) 130px;
    padding: 18px;
  }

  .featured-book-copy,
  .dashboard-featured-book > img {
    height: 218px;
  }

  .dashboard-featured-book > img {
    width: 130px;
  }

  .library-list-item {
    min-height: 78px;
  }

  .dashboard-quick {
    gap: 18px;
  }
}

@media (max-width: 479.98px) {
  .dashboard-sidebar {
    width: min(320px, 88vw);
  }

  .dashboard-header-title p {
    display: none;
  }

  .dashboard-new-training {
    display: none;
  }

  .dashboard-main {
    width: calc(100% - 24px);
  }

  .welcome-activity-row p {
    font-size: 13px;
  }

  .welcome-next-row,
  .welcome-next-copy {
    align-items: flex-start;
  }

  .welcome-next-row {
    gap: 12px;
  }

  .suggested-card {
    height: auto;
  }

  .suggested-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .suggested-actions > a:first-child {
    justify-content: center;
  }

  .start-card p {
    max-width: 92%;
  }

  .dashboard-pills a {
    font-size: 12px;
  }

  .skills-card {
    padding: 16px 12px;
    overflow-x: auto;
  }

  .skills-table {
    min-width: 420px;
  }

  .chart-filters {
    flex-wrap: wrap;
  }

  .dashboard-featured-book {
    grid-template-columns: 1fr;
  }

  .featured-book-copy {
    height: 235px;
    grid-row: 2;
  }

  .dashboard-featured-book > img {
    width: 100%;
    height: 220px;
    grid-row: 1;
  }

  .library-list-item {
    padding: 10px;
  }

  .library-list-item strong {
    font-size: 12.5px;
  }

  .quick-tool-options {
    flex-wrap: wrap;
  }

  .dashboard-tools-card footer {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dashboard-sidebar,
  .dashboard-app,
  .sidebar-collapse img,
  .bar {
    transition: none;
  }
}
