/* Local identity concept: reuse the original palette, type and icon assets. */
.sidebar .menu-disclaimer {
  margin: 0 0 8px;
  padding: 0 10px;
  color: var(--secondary);
  font: 400 11px/17px Saans, Arial, sans-serif;
}
@media (max-width: 900px) {
  .sidebar .menu-disclaimer { display: none; }
}
@media (min-width: 901px) {
  body > main { padding-top: 12px; }
  main > .hero { margin-top: 0; }
}
.sidebar .identity {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  column-gap: 9px;
  align-items: center;
  padding: 0 2px 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  flex: none;
}
.identity > img { width: 30px; height: 30px; grid-row: 1 / 3; }
.identity-title { display: flex; flex-direction: column; }
.identity-title > span { font-size: 15px; line-height: 21px; color: var(--secondary); }
.identity-title > strong { font-size: 20px; line-height: 26px; font-weight: 600; letter-spacing: -.6px; }
.identity-credit { grid-column: 2; margin-top: 2px; font-size: 12px; line-height: 19px; color: var(--secondary); white-space: nowrap; }
.identity-credit strong, .mobile-identity b { color: #35ffff; font-weight: 500; }
.identity-note { grid-column: 2; font-size: 11px; line-height: 17px; color: var(--muted); }
.identity:hover .identity-credit strong, .mobile-identity:hover b { color: #a8ffff; }
.identity:focus-visible, .mobile-identity:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.mobile-identity { display: none; }
@media (min-width: 901px) and (max-width: 1200px) {
  .sidebar .identity { grid-template-columns: 25px minmax(0, 1fr); column-gap: 7px; }
  .identity > img { width: 25px; height: 25px; }
  .identity-title > strong { font-size: 18px; }
}
@media (max-width: 900px) {
  .sidebar .identity { display: flex; justify-content: center; padding-bottom: 18px; }
  .identity-title, .identity-credit, .identity-note { display: none; }
  .mobile-identity { display: flex; align-items: center; gap: 12px; margin: 0 0 22px; padding: 4px 0 18px; border-bottom: 1px solid var(--border); text-decoration: none; color: var(--text); }
  .mobile-identity img { width: 34px; height: 34px; }
  .mobile-identity strong { display: block; font-size: 18px; line-height: 24px; font-weight: 600; letter-spacing: -.3px; }
  .mobile-identity small { display: block; font-size: 12px; line-height: 20px; color: var(--muted); }
}
@media (min-width: 901px) and (max-height: 740px) {
  .sidebar .identity { padding-bottom: 12px; margin-bottom: 12px; }
  .identity-credit { margin-top: 2px; }
}
.sidebar {
  inset: 12px auto 12px 12px;
  width: 196px;
  padding: 20px 12px 14px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 20px;
}
.sidebar .brand.brand-artwork {
  display: flex;
  width: 100%;
  padding: 0 0 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.sidebar .brand-artwork .brand-full { width: 100%; height: auto; max-width: 100%; object-fit: contain; }
.sidebar .brand-artwork .brand-compact { display: none; }
@media (min-width: 601px) and (max-width: 900px) {
  .sidebar .brand-artwork .brand-full { display: none; }
  .sidebar .brand-artwork .brand-compact { display: block; width: 30px; height: 30px; }
}
.sidebar .brand { gap: 9px; padding: 0 4px 12px; }
.sidebar .brand-mark img { width: 26px; height: 26px; }
.sidebar .brand-dashboard {
  color: var(--text);
  font: 500 20px/24px Saans, Arial, sans-serif;
  letter-spacing: -.4px;
  text-transform: none;
}
.sidebar .brand-name { color: var(--secondary); font-size: 15px; line-height: 19px; }
.sidebar .brand::after { display: none; }
.sidebar .brand-credit small { font-size: 11px; line-height: 17px; }
.sidebar-disclaimer {
  margin: 0 4px 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  color: var(--secondary);
  font-size: 11px;
  line-height: 16px;
}
.sidebar .nav-item { height: 36px; padding: 0 12px; border-radius: 9px; }
.sidebar .nav-item:hover { background: var(--hover); }
.sidebar .nav-item.selected { background: var(--control); color: var(--text); }
.sidebar .nav-item:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.sidebar .nav-separator { margin: 9px 12px; }
.sidebar .sidebar-bottom { padding-top: 8px; }
@media (min-width: 901px) and (max-height: 740px) {
  .sidebar .sidebar-bottom { padding-top: 4px; }
  .sidebar .menu-disclaimer { margin-bottom: 4px; }
}
.hero .hero-art { opacity: .22; }
.hero .price-line > strong { font-weight: 600; }
.hero .hero-metrics strong { font-weight: 600; }
@media (max-width: 600px) {
  .hero .hero-art { opacity: .12; }
}
@media (min-width: 901px) and (max-width: 1200px) {
  .sidebar { width: 168px; padding-inline: 8px; }
  .sidebar .brand { gap: 7px; }
  .sidebar .brand-mark img { width: 24px; height: 24px; }
  .sidebar .brand-name { font-size: 15px; }
}
@media (min-width: 601px) and (max-width: 900px) {
  .sidebar { inset: 8px auto 8px 8px; width: 60px; padding: 18px 6px 12px; border-radius: 16px; }
  .sidebar .brand { padding: 0 0 18px; }
  .sidebar-disclaimer { display: none; }
  .sidebar .nav-item { padding: 0; }
  .sidebar .nav-separator { margin-inline: 5px; }
}
@media (max-height: 740px) and (min-width: 901px) {
  .sidebar { padding-top: 14px; }
  .sidebar-disclaimer { margin-bottom: 8px; padding-bottom: 8px; }
  .sidebar .nav-group { gap: 2px; }
  .sidebar .nav-item { height: 30px; }
  .sidebar .nav-separator { margin-block: 4px; }
}
/* A single, balanced brand lockup instead of four unrelated text lines. */
@media (min-width: 901px) {
  .sidebar .brand {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    column-gap: 10px;
    row-gap: 0;
    align-items: center;
    padding: 2px 4px 18px;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--border);
  }
  .sidebar .brand-mark {
    grid-column: 1;
    grid-row: 1 / 3;
    width: 30px;
    height: 40px;
  }
  .sidebar .brand-mark img { width: 30px; height: 30px; }
  .sidebar .brand-credit { display: contents; }
  .sidebar .brand-name { grid-column: 2; grid-row: 1; font-size: 13px; line-height: 18px; }
  .sidebar .brand-dashboard { grid-column: 2; grid-row: 2; font-size: 20px; line-height: 24px; letter-spacing: -.5px; }
  .sidebar .brand-credit small {
    grid-column: 1 / -1;
    grid-row: 3;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    margin-top: 14px;
    text-align: left;
    font-size: 10px;
    line-height: 16px;
    letter-spacing: 0;
  }
  .sidebar-disclaimer {
    text-align: center;
    margin-top: 6px;
    padding-bottom: 18px;
    font-size: 10px;
    line-height: 15px;
    text-wrap: balance;
  }
}
@media (min-width: 901px) and (max-width: 1200px) {
  .sidebar .brand { grid-template-columns: 26px minmax(0, 1fr); column-gap: 8px; padding-inline: 4px; }
  .sidebar .brand-mark { width: 26px; }
  .sidebar .brand-mark img { width: 26px; height: 26px; }
  .sidebar .brand-dashboard { font-size: 19px; }
}
@media (min-width: 901px) and (max-height: 740px) {
  .sidebar .brand-credit small { margin-top: 8px; }
  .sidebar-disclaimer { padding-bottom: 10px; }
}
