/* Cabinet desktop sidebar — Canva-style rail + flyout blocks */

:root {
  --csb-rail: 88px;
  --csb-flyout: 300px;
  --csb-accent: #6366F1;
  --csb-active-bg: #EDE9FE;
  --csb-bg: #F7F6FC;
  --csb-card: #fff;
  --csb-ink: #4338CA;
}

.cab-shell {
  min-height: 100vh;
  background: var(--csb-bg);
  padding: 14px;
  box-sizing: border-box;
}
.cab-body {
  padding: 16px;
  border-radius: 20px;
  background: var(--csb-card);
  margin-top: 18px;
  box-shadow:  0px 0px 16px rgb(67 56 202 / 12%);
}

/* Заголовок раздела: эталон ДЗ .hw-header, чтобы при переключении рельса не прыгал */
.cab-body > .hw-header,
.cab-body > .ms-header,
.cab-body > .ht-header,
.cab-body > .sp-header,
.cab-body > .rv-topbar,
.cab-body > .page-header-with-no-selector,
.cab-body > .page-header,
.cab-body > .mgmt-header,
.cab-body > .tel-header,
.cab-body > .kb-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 0px 10px;
  margin: 0;
  box-sizing: border-box;
  background: transparent;
  border-bottom: none;
}
.cab-body > .hw-header h1,
.cab-body > .ms-header h1,
.cab-body > .ht-header h1,
.cab-body > .page-header-with-no-selector h1,
.cab-body > .page-header h1,
.cab-body > .sp-header .sp-name,
.cab-body > .rv-topbar .rv-title,
.cab-body > .mgmt-header .mgmt-title,
.cab-body > .tel-header .tel-title,
.cab-body > .kb-top .kb-title {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0;
  color: #111;
}
.cab-body .page-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.cabinet-sidebar {
  display: none;
}

@media (min-width: 1024px) {
  body.cabinet-page.has-cabinet-sidebar {
    padding-left: var(--csb-rail) !important;
    padding-bottom: 0 !important;
  }
  body.cabinet-page.has-cabinet-sidebar.csb-flyout-pinned {
    padding-left: calc(var(--csb-rail) + var(--csb-flyout)) !important;
  }

  body.cabinet-page.has-cabinet-sidebar .lms-tabbar {
    display: none !important;
  }

  .cabinet-sidebar {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 850;
    width: var(--csb-rail);
    pointer-events: none;
  }
  body.cabinet-page.has-cabinet-sidebar.csb-flyout-pinned .cabinet-sidebar {
    width: calc(var(--csb-rail) + var(--csb-flyout));
  }

  .csb-rail {
    pointer-events: auto;
    width: var(--csb-rail);
    height: 100%;
    background: var(--csb-bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 34px 0 18px;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
  }

  .csb-toggle {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    border: none;
    background: #f7f6fd;;
    color: var(--csb-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex: none;
    margin-bottom: 30px;
  }
  .csb-toggle:hover {
    background: #DDD6FE;
    color: var(--csb-accent);
  }
  .csb-toggle.is-open {
    background: var(--csb-accent);
    color: #fff;
  }

  .csb-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    flex: 0 1 auto;
    width: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0 6px;
    scrollbar-width: none;
  }
  .csb-nav::-webkit-scrollbar { display: none; }

  .csb-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    width: 100%;
    min-height: 0;
    padding: 2px 2px 0;
    border: none;
    background: transparent;
    color: var(--csb-ink);
    text-decoration: none;
    cursor: pointer;
    font-family: inherit;
    border-radius: 14px;
    transition: color 0.15s;
  }
  .csb-item:hover { background: transparent; }
  .csb-item:hover .csb-icon-wrap {
    background: var(--csb-active-bg);
  }
  .csb-item.is-active {
    color: var(--csb-accent);
  }
  .csb-item.is-active .csb-icon-wrap {
    background: var(--csb-active-bg);
    color: var(--csb-accent);
  }

  .csb-icon-wrap {
    width: 38px;
    height: 38px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: inherit;
    position: relative;
    transition: background 0.15s;
  }
  .csb-icon-wrap svg {
    width: 28px;
    height: 28px;
    stroke-width: 1.45;
  }
  .csb-item.is-active .csb-icon-wrap svg {
    stroke-width: 1.85;
  }

  .csb-label {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
    font-size: 10px;
    font-weight: 300;
    letter-spacing: 0.05em;
    line-height: 1.1;
    text-align: center;
    color: inherit;
    max-width: 80px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-font-smoothing: antialiased;
    margin-top: 3px;
  }

  .csb-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    background: #EF4444;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
  }
  .csb-badge--amber { background: #F59E0B; }

  .csb-more-wrap {
    position: relative;
    width: 100%;
    flex: none;
    z-index: 5;
    padding: 0 6px;
    margin-top: 16px;
    box-sizing: border-box;
  }

  .csb-more-pop {
    display: none;
    position: absolute;
    left: calc(100% + 0px);
    top: -150px;
    min-width: 220px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 8px 28px rgba(17, 24, 39, 0.14);
    padding: 6px;
    z-index: 20;
  }
  .csb-more-wrap.is-open .csb-more-pop,
  .csb-more-wrap:hover .csb-more-pop {
    display: block;
  }

  .csb-more-link {
    display: flex;
    align-items: center;
    gap: 10px;
    width: auto;
    padding: 10px 12px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--csb-ink);
    font-size: 13.5px;
    font-weight: 600;
    position: relative;
  }
  .csb-more-link:hover {
    background: #EEF2FF;
    color: var(--csb-accent);
  }
  .csb-more-link svg {
    width: 18px;
    height: 18px;
    flex: none;
  }
  .csb-more-link .csb-badge {
    position: static;
    margin-left: auto;
  }

  .csb-bottom {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding-top: 16px;
    width: 100%;
  }

  .csb-item--icon {
    min-height: 0;
    padding: 4px 2px;
    gap: 0;
  }

  .csb-bell {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .csb-bell #bell-wrap,
  .csb-bell #bell-btn {
    width: 44px !important;
    height: 44px !important;
  }

  .csb-profile {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--csb-accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    overflow: hidden;
    flex: none;
  }
  .csb-profile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .csb-flyout {
    pointer-events: none;
    position: absolute;
    left: var(--csb-rail);
    top: 0;
    bottom: 0;
    width: var(--csb-flyout);
    background: var(--csb-bg);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 16px 14px 24px;
    box-sizing: border-box;
    transform: translateX(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
    z-index: 1;
  }
  .cabinet-sidebar.is-flyout-open .csb-flyout,
  .cabinet-sidebar.is-flyout-pinned .csb-flyout {
    pointer-events: auto;
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
  }

  /* Режим: репетитор / директор — радиальный свитч */
  .csb-mode {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin: 4px 0 18px;
  }
  .csb-mode-label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #111;
    line-height: 1.2;
  }
  .csb-mode-help {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    border-radius: 999px;
    border: 1px solid #c4c0b8;
    background: #f3f1ec;
    color: #6b7280;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
    line-height: 1;
    cursor: help;
    user-select: none;
    flex-shrink: 0;
  }
  .csb-mode-help:hover,
  .csb-mode-help:focus-visible,
  .csb-mode-help.is-open {
    color: #111;
    border-color: #9ca3af;
  }
  .csb-mode-help:focus-visible {
    outline: 2px solid #6366F1;
    outline-offset: 1px;
  }
  .csb-mode-help-tip {
    display: none;
    position: absolute;
    left: 0;
    top: calc(100% + 8px);
    width: 220px;
    padding: 8px 10px;
    border-radius: 8px;
    background: #1f2937;
    color: #fff;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    line-height: 1.45;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 40;
    pointer-events: none;
  }
  .csb-mode-help-tip::before {
    content: '';
    position: absolute;
    left: 4px;
    top: -5px;
    border: 5px solid transparent;
    border-bottom-color: #1f2937;
    border-top: none;
  }
  .csb-mode-help:hover .csb-mode-help-tip,
  .csb-mode-help:focus-visible .csb-mode-help-tip,
  .csb-mode-help.is-open .csb-mode-help-tip {
    display: block;
  }
  .csb-mode-status {
    font-size: 15px;
    font-weight: 600;
    color: #059669;
    line-height: 1.25;
  }
  .csb-mode-switch-wrap {
    display: inline-flex;
    align-items: center;
    margin: 2px 0 0;
    cursor: pointer;
  }
  .csb-mode-switch.nt-switch {
    width: 48px;
    height: 28px;
  }
  .csb-mode-switch .nt-slider {
    background: #6366F1;
  }
  .csb-mode-switch .nt-slider::before {
    height: 22px;
    width: 22px;
    left: 3px;
    top: 3px;
  }
  .csb-mode-switch input:checked + .nt-slider {
    background: #6366F1;
  }
  .csb-mode-switch input:checked + .nt-slider::before {
    transform: translateX(20px);
  }
  .csb-mode-switch input:focus-visible + .nt-slider {
    outline: 2px solid #6366F1;
    outline-offset: 2px;
  }

  /* Сжатие pv-блоков в узком flyout */
  .csb-flyout .pv-tg-connect,
  .csb-flyout .pv-ribbon,
  .csb-flyout .pv-card,
  .csb-flyout .pv-alert {
    margin-top: 18px;
  }
  .csb-flyout .pv-status-row { margin-top: 16px; }
  .csb-flyout .pv-status-row .pv-card { margin-top: 0; }
  .csb-flyout-foot {
    margin-top: auto;
    padding-top: 18px;
  }
  .csb-flyout .pv-bug-row {
    margin-top: 0;
    margin-bottom: 0;
    flex-direction: column;
    align-items: stretch;
  }
  .csb-flyout-foot .pv-admin-btn {
    margin-top: 10px;
  }
  .csb-flyout .pv-bug-btn {
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
  }
}

/* Panel block styles (shared mobile panel + desktop flyout) */
:root {
  --pv-accent: #F59E0B;
  --pv-accent-deep: #C87A0A;
  --pv-accent-tint: #FFF3DC;
  --pv-accent-soft: #FFF8EC;
  --pv-accent-border: #FBE3B8;
  --pv-green: #2E8B57;
  --pv-green-bg: #E6F5EB;
  --pv-muted: #9C948C;
  --pv-shadow: 0 1px 2px rgba(20,16,10,0.04), 0 4px 10px rgba(20,16,10,0.03);
}

.pv-alert {
  background: var(--pv-accent-soft);
  border: 1px solid var(--pv-accent-border);
  border-radius: 16px;
  padding: 12px 14px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 14px;
}
.pv-alert-icon {
  width: 28px; height: 28px; border-radius: 8px;
  background: var(--pv-accent-tint);
  color: var(--pv-accent-deep);
  display: flex; align-items: center; justify-content: center;
  flex: none;
}
.pv-alert-text { font-size: 13px; line-height: 1.4; color: #5C4A2A; flex: 1; }
.pv-alert-link { font-size: 12px; font-weight: 600; color: var(--pv-accent-deep); text-decoration: none; margin-top: 6px; display: inline-block; }
.pv-alert-link:hover { text-decoration: underline; }

.pv-status-row { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.pv-card {
  background: #fff;
  border-radius: 16px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: var(--pv-shadow);
  border: none;
}
.pv-status-row .pv-card {
  flex-direction: row;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 12px;
  min-height: 44px;
  box-sizing: border-box;
}
.pv-card-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pv-card-top {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.pv-card-sub {
  margin: 0;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--pv-muted);
}
.pv-card.tg-card {
  overflow: visible;
  background: #fff;
}
.pv-card-header { display: flex; align-items: center; gap: 6px; }
.pv-badge-ok {
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--pv-green-bg);
  color: var(--pv-green);
  display: flex; align-items: center; justify-content: center;
  flex: none;
}
.pv-card-label { font-size: 11px; color: var(--pv-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; flex: none; }
.pv-card-value { font-size: 13px; font-weight: 600; line-height: 1.2; color: #1A1A1A; white-space: nowrap; }
.pv-card-top .pv-card-value,
.pv-card-top .pv-lic-days { margin-left: auto; }
.pv-status-row .pv-card-chevron { margin-left: 0; }
.pv-card-value--alert { color: #ef4444; }
.pv-card-value--soft { color: #6366F1; }
.pv-lic-bar { height: 4px; background: #F0ECE5; border-radius: 999px; overflow: hidden; }
.pv-lic-bar-fill { height: 100%; background: var(--pv-accent); border-radius: 999px; }
.pv-card-link { font-size: 12px; font-weight: 600; color: var(--pv-accent-deep); text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }
.pv-card-link:hover { text-decoration: underline; }
.tg-btn-small { background: var(--pv-accent-tint); color: var(--pv-accent-deep); width: 32px; height: 32px; padding: 0; border-radius: 8px; justify-content: center; flex: none; }
.tg-btn-small:hover { background: var(--pv-accent-border); text-decoration: none; }

a.pv-clickable {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: box-shadow 0.15s ease;
}
a.pv-clickable:hover {
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 8px rgba(20,16,10,0.08), 0 8px 18px rgba(20,16,10,0.05);
}
a.pv-clickable:focus-visible {
  outline: 2px solid #6366F1;
  outline-offset: 2px;
}
.pv-card-chevron {
  margin-left: auto;
  color: var(--pv-accent-deep);
  display: flex;
  align-items: center;
  flex: none;
  transition: transform 0.15s ease;
}
a.pv-clickable:hover .pv-card-chevron { transform: translateX(2px); }
.pv-ribbon-urgent .pv-card-chevron { color: #fff; }

.pv-lic-days { display: flex; align-items: baseline; gap: 4px; flex: none; }
.pv-lic-days-num { font-size: 15px; font-weight: 700; color: #1A1A1A; }
.pv-lic-days-unit { font-size: 12px; color: var(--pv-muted); font-weight: 500; }

.pv-tg-connect {
  background: #fff;
  border-radius: 12px;
  padding: 8px 12px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  box-shadow: var(--pv-shadow);
  margin-top: 14px;
  border: none;
  overflow: hidden;
  min-height: 44px;
  box-sizing: border-box;
}
.pv-tg-icon {
  width: 28px; height: 28px; border-radius: 8px;
  background: #E8F4FB;
  display: flex; align-items: center; justify-content: center;
  flex: none;
}
.pv-tg-icon svg { width: 18px; height: 18px; }
.pv-tg-text {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  line-height: 1.3;
  color: #4338CA;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pv-tg-btn {
  background: #229ED9; color: #fff;
  border-radius: 8px; padding: 8px 12px;
  text-decoration: none; font-weight: 600; font-size: 13px;
  white-space: nowrap; flex: none;
  min-height: 32px; display: flex; align-items: center;
  pointer-events: none;
  margin-top: 0;
}
a.pv-tg-connect.pv-clickable:hover .pv-tg-btn { filter: brightness(1.06); }

.pv-ribbon {
  background: #fff;
  border-radius: 16px;
  padding: 12px 14px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: var(--pv-shadow);
  margin-top: 14px;
  position: relative;
}
.pv-ribbon-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--pv-accent-tint); color: var(--pv-accent-deep);
  display: flex; align-items: center; justify-content: center;
  flex: none;
}
.pv-ribbon-body { flex: 1; min-width: 0; }
.pv-ribbon-title { font-size: 14px; font-weight: 600; color: #1A1A1A; line-height: 1.2; }
.pv-ribbon-sub { font-size: 11.5px; color: var(--pv-muted); margin-top: 2px; }
.pv-ribbon-go { font-size: 13px; font-weight: 600; color: var(--pv-accent-deep); text-decoration: none; display: flex; align-items: center; gap: 4px; flex: none; white-space: nowrap; }
.pv-ribbon-go:hover { text-decoration: underline; }
.pv-ribbon-urgent {
  background: linear-gradient(135deg, #ff9800, #f57c00);
  box-shadow: 0 4px 12px rgba(255,152,0,0.3);
}
.pv-ribbon-urgent .pv-ribbon-icon { background: rgba(255,255,255,0.25); color: #fff; }
.pv-ribbon-urgent .pv-ribbon-title { color: #fff; }
.pv-ribbon-urgent .pv-ribbon-sub { color: rgba(255,255,255,0.85); }
.pv-ribbon-urgent-btn {
  background: #fff; color: #f57c00;
  padding: 10px 16px; border-radius: 8px;
  text-decoration: none; font-weight: 600; font-size: 13px;
  white-space: nowrap; flex: none;
  display: flex; align-items: center;
}
.pv-ribbon-urgent-btn:hover { opacity: 0.92; }

.pv-bug-row { margin-top: 28px; margin-bottom: 8px; display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.pv-bug-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px;
  background: #fff; border: 1px solid #E8E2DA;
  border-radius: 12px;
  color: var(--pv-muted); font-size: 13px; font-weight: 500;
  text-decoration: none;
  box-shadow: var(--pv-shadow);
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
  font-family: inherit;
}
.pv-bug-btn:hover { background: #F0ECE5; color: #5C4A2A; }
.pv-bug-btn img { width: 16px; height: 16px; object-fit: contain; }

.pv-admin-btn {
  display: block; text-align: center;
  padding: 12px; border-radius: 12px;
  background: #fee2e2; color: #b91c1c;
  text-decoration: none; font-weight: 600; font-size: 14px;
  margin-top: 14px;
}

.subscription-loading-overlay {
  display: none; position: absolute; inset: 0;
  background: rgba(0,0,0,0.3); border-radius: 16px;
  align-items: center; justify-content: center; z-index: 10;
}
.subscription-loading-overlay.show { display: flex !important; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.subscription-loading-spinner { animation: spin 1s linear infinite; }
.subscription-card-btn.loading { pointer-events: none; opacity: 0.7; }
.subscription-card.loading { opacity: 0.6; pointer-events: none; }

.pv-training-card {
  background: #fff; border-radius: 18px;
  padding: 16px 16px 8px;
  display: flex; flex-direction: column; gap: 10px;
  box-shadow: var(--pv-shadow);
  margin-top: 8px;
}
.pv-training-head { display: flex; align-items: flex-start; gap: 10px; }
.pv-training-head-icon {
  width: 28px; height: 28px; border-radius: 8px;
  background: var(--pv-accent-tint); color: var(--pv-accent-deep);
  display: flex; align-items: center; justify-content: center; flex: none;
}
.pv-training-title-text { font-size: 14px; font-weight: 600; line-height: 1.35; color: #1A1A1A; flex: 1; }
.pv-progress-row { display: flex; align-items: center; gap: 10px; }
.pv-progress-bar { height: 6px; background: #F0ECE5; border-radius: 999px; overflow: hidden; flex: 1; }
.pv-progress-fill { height: 100%; background: var(--pv-accent); border-radius: 999px; }
.pv-progress-pct { font-size: 12px; font-weight: 700; color: var(--pv-accent-deep); min-width: 36px; text-align: right; }
.pv-training-sec { display: flex; flex-direction: column; }
.pv-training-sec-title {
  font-size: 11px; font-weight: 600; color: var(--pv-muted);
  text-transform: uppercase; letter-spacing: 0.06em;
  padding: 8px 0 4px;
}
.pv-training-sec--adv .pv-training-sec-title { color: #C8C0B6; }
.pv-training-item { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid #F4F0EA; }
.pv-check {
  width: 22px; height: 22px; border-radius: 7px;
  border: 1.5px solid #D4CDC4; background: #fff;
  display: flex; align-items: center; justify-content: center; flex: none;
}
.pv-check.done { border: none; background: var(--pv-green); }
.pv-check svg { display: block; }
.pv-item-link { font-size: 13.5px; line-height: 1.35; color: #1A1A1A; flex: 1; text-decoration: none; }
.pv-item-link:hover { text-decoration: underline; }
.pv-item-link.done { color: #A8A097; text-decoration: line-through; }
.pv-item-link.done:hover { text-decoration: line-through underline; }
.pv-training-skip-row { padding: 8px 0 4px; text-align: right; border-top: 1px solid #F4F0EA; }
.pv-training-skip-btn { background: none; border: none; color: #C8C0B6; font-size: 13px; cursor: pointer; padding: 4px 0; }
.pv-training-skip-btn:hover { color: var(--pv-muted); }

.rm-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.45); z-index: 1000;
  align-items: flex-end; justify-content: center;
}
.rm-overlay.open { display: flex; }
.rm-sheet {
  position: relative;
  background: #F5F3EE; border-radius: 20px 20px 0 0;
  width: 100%; max-width: 600px;
  max-height: 85vh; display: flex; flex-direction: column;
  animation: rm-slide-up 0.25s ease;
}
@keyframes rm-slide-up { from { transform: translateY(40px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.rm-close {
  position: absolute; top: 14px; right: 14px;
  width: 32px; height: 32px; border-radius: 50%;
  border: none; background: #EDE8E0; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: #5A5A5A; z-index: 1;
}
.rm-close:hover { background: #E0D9CF; }
.rm-body { overflow-y: auto; padding: 20px 20px 32px; flex: 1; }
.rm-body .pc-card { border: none; padding: 0; margin: 0; background: transparent; }
.rm-body .pc-card-title-lg { font-size: 15px; }
.rm-body .pc-roadmap-badge { min-width: 90px; text-align: center; align-self: center; flex-shrink: 0; }
