:root {
  --orbit-grain: none;
}
html[data-orbit-ambient="true"] {
  --orbit-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' opacity='.035' filter='url(%23n)'/%3E%3C/svg%3E");
}
html body {
  background: var(--bg);
}
html body::before,
html body::after {
  content: none;
}
html body .page > main {
  background: none;
  border: 0;
  padding: 0;
  box-shadow: none;
  animation: none;
}
html
  body
  :is(
    .home-card,
    .module-card,
    .vpn-card,
    .server-manager,
    .settings-card,
    .settings-sidebar,
    .article-card,
    .project-card,
    .activity-card,
    .rt-panel,
    .pulse-panel,
    .pulse-stat,
    .balance-panel,
    .signal-panel,
    .kb-column,
    .anime-panel,
    .trophy-panel,
    .security-panel,
    .chat-panel,
    .storage-folder-card,
    .storage-row
  ) {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow:
    inset 0 1px #ffffff05,
    0 6px 20px #00000016;
}
html
  body
  :is(
    .content-toolbar,
    .anime-toolbar,
    .trophy-toolbar,
    .reader-toolbar,
    .storage-toolbar,
    .kb-tools,
    .projects-toolbar,
    .rt-toolbar
  ) {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
html body :is(.module-card, .home-card, .project-card, .storage-row, .article-card):hover {
  transform: none;
}
html body .section-line {
  margin-bottom: 20px;
  padding: 0;
  border: 0;
}
html body .section-line h1 {
  font-family: var(--display);
  font-size: 23px;
  font-weight: 500;
  letter-spacing: -0.7px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
html body :is(.muted, small) {
  color: var(--muted);
}
html
  body
  :is(dialog, .core-select-menu, .storage-menu[open], #wavePlayer, #waveTransfer, #waveRestore) {
  background: var(--surface-solid);
  box-shadow: 0 16px 48px #0005;
}
html body dialog::backdrop {
  background: #09090bc7;
}
html body :is(button, input, select, textarea) {
  border-color: var(--line);
}
html body :is(.reader-book, .cinema-card, .gallery-card, .anime-card, .trophy-card) {
  border-color: var(--line);
  box-shadow: none;
}
html body :is(.reader-book, .cinema-card) {
  background-color: var(--surface);
}
html body .settings-nav a[aria-current] {
  background: var(--accent-soft);
  border-color: transparent;
  box-shadow: none;
}
html body .settings-heading {
  padding-bottom: 16px;
  margin-bottom: 20px;
}
html body .settings-layout {
  grid-template-columns: 180px minmax(0, 1fr);
  gap: var(--space-7);
}
html body .settings-sidebar {
  padding: 10px 6px;
}
html body #settingsContent .settings-appearance {
  display: block;
  max-width: 680px;
}
html body #settingsContent .settings-appearance #appearanceForm {
  display: block;
}
html body #settingsContent .settings-appearance .settings-card {
  padding: var(--card-padding-y) var(--card-padding-x);
}
.orbit-accents {
  border: 0;
  padding: 0;
  margin: var(--space-4) 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 110px), 1fr));
  gap: var(--space-3);
}
.orbit-accents legend {
  margin-bottom: var(--card-heading-gap);
  font-weight: 500;
}
html body #settingsContent label.orbit-accent {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: var(--space-2);
  min-width: 0;
  min-height: 32px;
  margin: 0;
  padding: 5px 8px;
  overflow-wrap: anywhere;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}
.orbit-accent input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.orbit-accent > span {
  display: grid;
  place-items: center;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  color: #101113;
  font-size: 13px;
  line-height: 1;
  border-radius: 50%;
  background: var(--swatch);
}
.orbit-accent[data-accent="jade"] {
  --swatch: rgb(182, 217, 141);
}
.orbit-accent[data-accent="emerald"] {
  --swatch: rgb(117, 218, 161);
}
.orbit-accent[data-accent="mint"] {
  --swatch: rgb(164, 233, 203);
}
.orbit-accent[data-accent="teal"] {
  --swatch: rgb(120, 215, 207);
}
.orbit-accent[data-accent="cyan"] {
  --swatch: rgb(0, 255, 255);
}
.orbit-accent[data-accent="blue"] {
  --swatch: rgb(154, 194, 224);
}
.orbit-accent[data-accent="indigo"] {
  --swatch: rgb(164, 178, 245);
}
.orbit-accent[data-accent="violet"] {
  --swatch: rgb(192, 174, 226);
}
.orbit-accent[data-accent="pink"] {
  --swatch: rgb(238, 170, 206);
}
.orbit-accent[data-accent="coral"] {
  --swatch: rgb(245, 169, 153);
}
.orbit-accent[data-accent="amber"] {
  --swatch: rgb(222, 193, 139);
}
.orbit-accent[data-accent="silver"] {
  --swatch: rgb(211, 217, 226);
}
html body #settingsContent .orbit-accent:has(:checked) {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.orbit-accent:has(:checked) > span::after {
  content: "✓";
}
.orbit-accent:has(:focus-visible) {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.appearance-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: 20px;
}
html[data-orbit-reduced="true"] *,
html[data-orbit-reduced="true"] *::before,
html[data-orbit-reduced="true"] *::after {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}
html body.wave-shell {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  grid-template-rows: 64px minmax(0, 1fr);
  padding: 0;
  height: calc(100dvh - 32px);
  width: calc(100% - 32px);
  max-width: 1480px;
  margin: 16px auto;
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  min-height: 0;
  overflow: hidden;
}
.workspace-sidebar {
  grid-column: 1;
  grid-row: 1/-1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 28px 16px 18px;
  border-right: 1px solid var(--line);
  background:
    var(--orbit-grain), linear-gradient(125deg, #ffffff03, transparent 65%), var(--surface);
}
.workspace-sidebar > .brand {
  gap: 10px;
  padding: 0 6px;
  margin-bottom: 24px;
  border-radius: 6px;
  flex: none;
}
.workspace-sidebar .brand-name {
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.15em;
}
.workspace-sidebar .brand-mark {
  width: 44px;
  height: 44px;
}
.workspace-sidebar > nav {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: thin;
  padding-right: 3px;
}
.workspace-sidebar nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  padding: 7px 10px;
  text-decoration: none;
  color: var(--muted);
  border-radius: 6px;
  font-size: 14px;
}
.workspace-sidebar a span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.workspace-sidebar a[aria-current] {
  color: var(--text);
  background: linear-gradient(100deg, rgba(var(--accent-rgb), 0.19), rgba(var(--accent-rgb), 0.07));
  box-shadow:
    inset 2px 0 rgba(var(--accent-rgb), 0.65),
    inset 0 1px #ffffff06;
}
.workspace-sidebar a[aria-current] .ui-icon {
  color: var(--accent);
}
.workspace-sidebar .ui-icon {
  width: 20px;
  height: 20px;
  flex: none;
  stroke-width: 1.5;
}
.workspace-nav-group {
  margin-top: 14px;
}
.workspace-sidebar nav a.workspace-group-title {
  min-height: 28px;
  padding: 4px 10px;
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--muted);
}
html body.wave-shell > .workspace-header {
  grid-column: 2;
  grid-row: 1;
  height: 64px;
  min-height: 64px;
  padding: 0 22px;
  background: var(--bg);
  border: 0;
  border-bottom: 1px solid var(--line-soft);
  box-shadow: none;
}
body.wave-shell .workspace-header > .brand {
  display: none;
}
html body .workspace-header a.workspace-section {
  border: 0;
  padding: 0;
  margin-right: auto;
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
  gap: var(--space-3);
  width: auto;
}
html body .workspace-header .workspace-search {
  display: flex;
  align-items: center;

  flex: 0 1 240px;
  width: 240px;
  min-width: 120px;
  min-height: 36px;
  height: 36px;

  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-size: 12px;
  text-decoration: none;
}
.workspace-header .workspace-search .ui-icon {
  display: block;
  width: 16px;
  height: 16px;
  flex: none;
}
html body .workspace-user {
  display: grid;
  place-items: center;
  flex: none;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--text);
  background: radial-gradient(circle at 30% 20%, var(--accent-soft), transparent), var(--surface);
}
html body.wave-shell > .workspace-body {
  grid-column: 2;
  grid-row: 2;
  min-width: 0;
  min-height: 0;
}
html body.wave-shell > .workspace-mobile {
  display: none;
}
html body.wave-shell #hubFrame {
  width: 100%;
  min-width: 0;
  min-height: 0;
  flex: 1 1 0;
  border: 0;
}
html.embedded-page:not(.chat-widget) body:not(:has(#chatPage)) {
  padding: 24px 22px;
}
html[data-orbit-ambient="true"] body.dashboard-page {
  background:
    var(--orbit-grain),
    radial-gradient(ellipse at 100% 0, rgba(var(--accent-rgb), 0.035), transparent 55%), var(--bg);
}
body.wave-shell.reader-focus,
body.wave-shell.dialog-focus,
body.wave-shell.wave-focus {
  width: 100%;
  max-width: none;
  height: 100dvh;
  margin: 0;
  border: 0;
  border-radius: 0;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
}
body.wave-shell:is(.reader-focus, .dialog-focus, .wave-focus)
  > :is(.workspace-sidebar, .workspace-header, .workspace-mobile) {
  display: none;
}
html body.wave-shell:is(.reader-focus, .dialog-focus, .wave-focus) > .workspace-body {
  grid-column: 1;
  grid-row: 1;
}
html body #homeDashboard .home-heading {
  position: relative;
  width: auto;
  height: auto;
  overflow: visible;
  clip-path: none;
  white-space: normal;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 18px;
}
.home-heading h1 {
  margin: 4px 0 8px;
  font-family: var(--display);
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -1.1px;
  line-height: 1.3;
}
.home-heading #homeDate {
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0.4px;
}
.home-eyebrow {
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--muted);
}
.core-emblem {
  display: block;
  position: relative;
  flex: none;
  width: 194px;
  height: 100px;
  color: var(--accent);
  pointer-events: none;
}
html body #homeDashboard .home-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-4);
  align-items: stretch;
}
html body #homeDashboard .home-grid > .home-card {
  grid-column: span 4;
  padding: 14px;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  order: 10;
}
html body #homeDashboard .home-grid > [data-home-card="pulse"] {
  grid-column: 1/-1;
  order: 0;
  padding: 14px 0;
}
html body #homeDashboard .home-grid > .home-media {
  grid-column: span 8;
  order: 1;
}
html body #homeDashboard .home-grid > [data-home-card="kanban"] {
  grid-column: span 4;
  order: 2;
}
html body #homeDashboard .home-grid > [data-home-card="wave"] {
  grid-column: span 6;
  order: 3;
}
html body #homeDashboard .home-grid > [data-home-card="vpn"] {
  grid-column: span 6;
  order: 4;
}
html body #homeDashboard .home-grid > [data-home-card="storage"] {
  grid-column: 1/-1;
}
html body #homeDashboard .home-card-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  padding: 0;
  min-height: 24px;
  border: 0;
  background: none;
}
html body #homeDashboard .home-card-title h2 {
  font-size: 18px;
  font-weight: 650;
  line-height: 1.3;
  margin: 0;
}
html body #homeDashboard .home-card-title .ui-icon {
  width: 18px;
  height: 18px;
  color: var(--accent);
}
html body #homeDashboard .home-card-title a {
  text-decoration: none;
  color: var(--text);
}
html body #homeDashboard .home-card-title .home-all {
  margin-left: auto;
  color: var(--muted);
  font-size: 12px;
  flex: none;
}
html body #homeDashboard [data-home-card="pulse"] > .home-card-title {
  display: none;
}
html body #homeDashboard .home-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
}
html body #homeDashboard .home-metric:nth-child(n) {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-column: auto;
  padding: 0 20px;
  gap: 6px 12px;
  border: 0;
  border-right: 1px solid var(--line);
}
html body #homeDashboard .home-metric:last-child {
  border-right: 0;
}
html body #homeDashboard .home-metric-label {
  grid-column: 1/-1;
  font-size: 11px;
  color: var(--muted);
}
html body #homeDashboard .home-metric strong {
  grid-column: 1;
  grid-row: 2;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.6px;
  display: block;
}
html body #homeDashboard .home-metric small {
  display: none;
}
html body #homeDashboard .home-metric meter {
  grid-column: 2;
  grid-row: 2;
  align-self: center;
}
html body #homeDashboard .metric-spark {
  grid-column: 2;
  grid-row: 2;
  height: 24px;
}
html body #homeDashboard .home-task {
  min-height: 60px;
  padding: 13px 0;
  gap: var(--space-4);
}
html body #homeDashboard .home-task a {
  font-size: 14px;
}
html body #homeDashboard .home-task input {
  border-color: var(--muted);
  background: var(--control-bg);
}
html body #homeDashboard .home-task input:checked {
  background: var(--accent);
}
html body #homeDashboard .home-empty {
  margin: 8px 0;
  padding: 12px 0;
  color: var(--muted);
  font-size: 12px;
}
#homeMedia {
  --resume-cover-height: 200px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  padding: 0 0 4px;
}
#homeMedia .home-media-item {
  flex: 0 0 auto;
  width: calc(var(--resume-cover-height) * 2 / 3);
  scroll-snap-align: start;
}
#homeMedia .home-media-item[data-kind="wave"] {
  width: var(--resume-cover-height);
}
#homeMedia .home-media-art {
  height: var(--resume-cover-height);
  max-height: none;
  aspect-ratio: auto;
  background: var(--control-bg);
}
#homeMedia .home-media-art img {
  object-fit: contain;
  object-position: center;
}
#homeMedia:has(.home-resume-empty) {
  display: block;
}
.home-media-item {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: var(--space-1);
  text-decoration: none;
  color: var(--text);
}
.home-media-art {
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  width: 100%;
  aspect-ratio: 1;
  max-height: 200px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(145deg, var(--accent-soft), var(--control-bg));
  overflow: hidden;
}
.home-media-art img {
  grid-area: 1/1;
  min-width: 0;
  min-height: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.home-media-art .ui-icon {
  width: 40px;
  height: 40px;
  color: var(--accent);
}
.home-media-item strong {
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  display: block;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.home-media-item small {
  color: var(--muted);
  font-size: 11px;
  line-height: 16px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.home-media-item progress {
  width: 100%;
  height: 3px;
  margin-top: 4px;
  accent-color: var(--accent);
}
.home-media-item:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 8px;
}
.home-track,
.home-vpn-row {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  min-height: 62px;
  padding: 10px 0;
  color: var(--text);
  border-bottom: 1px solid var(--line-soft);
  text-decoration: none;
}
.home-track:last-child,
.home-vpn-row:last-child {
  border-bottom: 0;
}
.home-track .home-media-art {
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 5px;
}
.home-track .home-media-art .ui-icon {
  width: 23px;
  height: 23px;
}
.home-track > div,
.home-vpn-row > div {
  min-width: 0;
  flex: 1;
}
.home-track strong,
.home-vpn-row strong {
  font-size: 13px;
  font-weight: 500;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.home-track small,
.home-vpn-row small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 3px;
}
.home-track > span {
  flex: none;
  font-size: 11px;
  color: var(--muted);
}
.home-vpn-symbol {
  width: 30px;
  flex: none;
  font-size: 25px;
  color: var(--accent);
  text-align: center;
}
.home-vpn-row > span:last-child {
  color: var(--muted);
  font-size: 11px;
}
html body #homeDashboard .module-stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
}
html body #homeDashboard .module-stat {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
html body #homeDashboard .module-stat strong {
  font-size: 22px;
}
html body #homeDashboard .module-stat span {
  font-size: 12px;
  color: var(--muted);
}
html body #homeDashboard #homeFiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
html body.wave-shell #wavePlayer:not(.expanded) {
  background: var(--surface);
  border-top: 1px solid var(--line);
  box-shadow: none;
  padding: 10px 24px;
}
html body.wave-shell #wavePlayer:not(.expanded) .wave-player-art {
  border-radius: 6px;
}
html body.wave-shell #wavePlayer.expanded {
  background: var(--bg);
}
html body #wavePlayer.expanded #waveToggle {
  border-radius: 50%;
  box-shadow: none;
}
@media (min-width: 1100px) {
  html body.wave-shell #wavePlayer:not(.expanded):not([hidden]) {
    display: grid;
    grid-template-columns: minmax(340px, 1fr) minmax(160px, 1fr);
    align-items: center;
    gap: 12px 24px;
  }
  html body.wave-shell #wavePlayer:not(.expanded) .wave-player-row {
    display: flex;
    min-width: 0;
  }
  html body.wave-shell #wavePlayer:not(.expanded) .wave-player-progress {
    display: flex;

    min-width: 0;
  }
  html body.wave-shell #wavePlayer:not(.expanded) #wavePlayerStatus {
    grid-column: 1/-1;
  }
}
@media (max-width: 1100px) {
  html body.wave-shell {
    grid-template-columns: 176px minmax(0, 1fr);
  }
  .workspace-sidebar {
    padding: 18px 10px 10px;
  }
  .workspace-sidebar .brand-name {
    font-size: 15px;
    letter-spacing: 0.15em;
  }
  html body #homeDashboard .home-grid > .home-card {
    grid-column: span 6;
  }
  html
    body
    #homeDashboard
    .home-grid
    > :is([data-home-card="pulse"], .home-media, [data-home-card="storage"]) {
    grid-column: 1/-1;
  }
  html body #homeDashboard .home-metric:nth-child(n) {
    padding-inline: 12px;
  }
  html body #homeDashboard .home-metric strong {
    font-size: 19px;
  }
}
@media (max-width: 800px) {
  html body.wave-shell {
    display: flex;
    flex-direction: column;
    height: 100dvh;
    width: 100%;
    max-width: none;
    margin: 0;
    border: 0;
    border-radius: 0;
  }
  .workspace-sidebar {
    display: none;
  }
  html body.wave-shell > .workspace-header {
    display: flex;

    padding: 0 12px;
    gap: var(--space-3);
  }
  body.wave-shell .workspace-header > .brand {
    display: flex;
    flex: 1;
    gap: var(--space-3);
  }
  html body .workspace-header .workspace-section {
    display: none !important;
  }
  html body .workspace-header .workspace-search {
    flex: 0 0 32px;
    width: 32px;
    min-width: 32px;
    height: 32px;
    min-height: 32px;
    padding: 0;
    justify-content: center;
    border: 0;
  }
  .workspace-search input {
    display: none;
  }
  html body.wave-shell > .workspace-body {
    flex: 1;
    width: 100%;
  }
  html body.wave-shell > .workspace-mobile {
    display: flex;
    flex: none;
    width: 100%;
    background: var(--surface);
    box-shadow: none;
    border-top: 1px solid var(--line);
  }
  html body .workspace-mobile a {
    flex: 1;
    min-width: 0;
  }
  html body .workspace-mobile [aria-current="page"] {
    background: var(--accent-soft);
  }
  html body .workspace-mobile [aria-current="page"]::after {
    content: none;
  }
  html.embedded-page:not(.chat-widget) body:not(:has(#chatPage)) {
    padding: 14px 12px;
  }
  html body .section-line {
    margin-bottom: 14px;
  }

  html body .settings-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
  html body .settings-sidebar {
    background: none;
    padding: 0;
    border: 0;
  }
  html body #settingsContent .settings-appearance .settings-card {
    padding: var(--card-padding-y) var(--card-padding-x);
  }
  .orbit-accents {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  html body.wave-shell #wavePlayer:not(.expanded) {
    padding: 6px 10px;
  }
  html
    body.wave-shell:is(.reader-focus, .dialog-focus, .wave-focus)
    > :is(.workspace-header, .workspace-mobile) {
    display: none;
  }
}
@media (max-height: 500px) and (pointer: coarse), (max-width: 650px) {
  html body.wave-shell.chat-focus > :is(.workspace-sidebar, .workspace-header, .workspace-mobile) {
    display: none;
  }
  html body.wave-shell.chat-focus {
    display: flex;
  }
}

html {
  background: #0d0d0f;
}
html body.dashboard-page .page {
  max-width: 1160px;
}
html body #homeDashboard .home-grid > .home-card {
  background:
    var(--orbit-grain), linear-gradient(125deg, #ffffff03, transparent 65%), var(--surface);
}
html body #homeDashboard .home-card-title > a:first-child .ui-icon {
  display: none;
}
.home-eyebrow {
  display: none;
}
.home-heading {
  min-height: 64px;
}
.home-media-progress {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}
.home-media-progress progress {
  flex: 1;
  min-width: 0;
  margin: 0;
}
.home-media-progress span {
  flex: 0 0 5ch;
  white-space: nowrap;
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-size: 11px;
  line-height: 12px;
  color: var(--muted);
}
.home-task-motto {
  margin-top: auto;
  padding-top: 22px;
  color: var(--muted);
  font-size: 13px;
  font-style: italic;
  line-height: 1.5;
  letter-spacing: 0.3px;
  opacity: 0.75;
}
.is-empty .home-task-motto {
  display: none;
}
.home-task-empty {
  display: flex;
  min-height: 170px;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-direction: column;
  gap: 10px;
  padding: 20px 6px;
}
.home-task-empty .ui-icon {
  width: 36px;
  height: 36px;
  color: var(--accent);
  opacity: 0.7;
}
.home-task-empty strong {
  font-size: 15px;
  font-weight: 500;
}
.home-task-empty p,
.home-task-empty a {
  font-size: 12px;
  color: var(--muted);
}
.home-task-empty a {
  margin-top: 4px;
  text-decoration: none;
  color: var(--accent);
}
#homeVPN:has(.home-vpn-row) {
  border-top: 1px solid var(--line-soft);
}
html[data-orbit-ambient="true"] body.wave-shell {
  box-shadow: 0 16px 90px #0008;
}
html[data-orbit-ambient="true"] .workspace-sidebar {
  background:
    radial-gradient(ellipse at 10% 20%, rgba(255, 255, 255, 0.02), transparent 60%), var(--surface);
}
@media (min-width: 1300px) {
  .core-emblem {
    position: absolute;
    right: 0;
    top: -24px;
    pointer-events: none;
    opacity: 0.7;
  }
  html body.wave-shell #wavePlayer:not(.expanded) .wave-player-art {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }
  html body.wave-shell #wavePlayer:not(.expanded) #waveToggle {
    border: 1px solid var(--text);
    border-radius: 50%;
    width: 44px;
    height: 44px;
  }
}
@media (max-width: 1100px) and (min-width: 801px) {
  html body.wave-shell {
    width: 100%;
    height: 100dvh;
    margin: 0;
    border: 0;
    border-radius: 0;
  }
  .home-heading h1 {
    font-size: 30px;
  }
}

@media (min-width: 1000px) {
  .core-emblem {
    position: absolute;
    right: 0;
    top: -24px;
    pointer-events: none;
    opacity: 0.7;
  }
}

#homeActionStatus:not(:empty) {
  padding: 8px 0;
  color: var(--amber);
}
.home-resume-empty {
  grid-column: 1/-1;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-4);
  color: var(--muted);
}
.home-resume-empty strong {
  color: var(--text);
  font-size: 18px;
  font-weight: 500;
}
.home-track-info,
.home-vpn-info {
  min-width: 0;
  flex: 1;
  color: var(--text);
  text-decoration: none;
}
.home-play-glyph {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: #0006;
  color: white;
  font-size: 18px;
  border-radius: 5px;
  opacity: 0;
}
.home-track-play:hover .home-play-glyph,
.home-track-play:focus-visible .home-play-glyph {
  opacity: 1;
}
html body #homeDashboard .home-grid > :is([data-home-card="wave"], [data-home-card="vpn"]) {
  overflow: visible;
}
.home-actions-menu {
  position: relative;
  flex: none;
}
.home-actions-menu summary {
  list-style: none;
  cursor: pointer;
  width: 30px;
  height: 32px;
  display: grid;
  place-items: center;
  font-size: 22px;
  color: var(--muted);
  border-radius: 5px;
}
.home-actions-menu summary::-webkit-details-marker {
  display: none;
}
.home-actions-popover {
  position: absolute;
  z-index: 30;
  right: 0;
  bottom: 100%;
  width: 200px;
  max-width: 70vw;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-solid);
  box-shadow: 0 10px 30px #0008;
}
.home-actions-popover :is(button, a) {
  display: block;
  width: 100%;
  padding: 8px;
  text-align: left;
  font-size: 12px;
  text-decoration: none;
  border: 0;
  background: none;
  color: var(--text);
}
.home-actions-popover :is(button, a):hover {
  background: var(--accent-soft);
}
.home-vpn-state {
  flex: none !important;
  text-align: right;
  max-width: 145px;
  font-size: 11px;
}
.home-vpn-state {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.home-vpn-state > * {
  display: inline-block;
}
.home-vpn-state > span::before {
  content: "●";
  color: var(--muted);
}
.home-vpn-state > [data-state="applied"]::before {
  color: var(--green);
}
.home-vpn-state
  > :is([data-state="rejected"], [data-state="stopped"], [data-state="expired"])::before {
  color: var(--red);
}
.home-vpn-state small {
  font-size: 10px;
}
.home-task.is-overdue small {
  color: var(--amber);
  font-size: 10px;
  margin-left: auto;
}
html body .workspace-header .workspace-search {
  margin: 0;
}
html body .workspace-header .workspace-search input {
  display: block;
  flex: 1 1 0;
  min-width: 0;
  width: 100%;
  min-height: 0;
  height: 24px;
  margin: 0;
  line-height: 24px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  background: none;
  font-size: 12px;
  color: var(--text);
}

html body .workspace-user {
  position: relative;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
}
.workspace-user img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
#profileSettings .profile-preview {
  width: 96px;
  height: 96px;
  object-fit: contain;
  margin: 12px 0;
}
#profileSettings .profile-avatar {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
#profileSettings label {
  display: grid;
  gap: var(--space-3);
  margin: 16px 0 8px;
}
#profileSettings .profile-theme {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
}
#profileSettings .profile-theme input {
  flex: 0 0 auto;
}
#profileSettings input[type="file"] {
  max-width: 100%;
  min-width: 0;
}
#profileSettings p {
  font-size: 12px;
  margin: 8px 0;
}
@media (min-width: 1100px) {
  html body.wave-shell #wavePlayer:not(.expanded):not([hidden]) {
    grid-template-columns: 48px minmax(60px, 1fr) 32px 120px minmax(90px, 1.5fr) auto 28px 28px;

    padding: 10px 16px;
  }
  html body.wave-shell #wavePlayer:not(.expanded) .wave-player-row {
    display: contents;
  }
  html body.wave-shell #wavePlayer:not(.expanded) .wave-player-art {
    grid-column: 1;
    grid-row: 1;
    width: 48px;
    height: 48px;
  }
  html body.wave-shell #wavePlayer:not(.expanded) .wave-player-info {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    width: auto;
  }
  html body.wave-shell #wavePlayer:not(.expanded) #waveFavorite {
    grid-column: 3;
    grid-row: 1;
    min-width: 32px;
    width: 32px;
  }
  html body.wave-shell #wavePlayer:not(.expanded) .wave-transport {
    grid-column: 4;
    grid-row: 1;
  }
  html body.wave-shell #wavePlayer:not(.expanded) .wave-player-progress {
    grid-column: 5;
    grid-row: 1;
  }
  html body.wave-shell #wavePlayer:not(.expanded) .wave-player-extra {
    display: flex;
    grid-column: 6;
    grid-row: 1;
    margin: 0;
    gap: var(--space-1);
  }
  html body.wave-shell #wavePlayer:not(.expanded) .wave-volume-row {
    width: 90px;
  }
  html body.wave-shell #wavePlayer:not(.expanded) #waveVolume {
    width: 60px;
  }
  html body.wave-shell #wavePlayer:not(.expanded) #waveQueueToggle {
    font-size: 10px;
    padding: 4px;
  }
  html body.wave-shell #wavePlayer:not(.expanded) :is(#waveShuffle, #waveRepeat, #waveQueueCount) {
    display: none;
  }
  html body.wave-shell #wavePlayer:not(.expanded) #waveExpand {
    grid-column: 7;
    grid-row: 1;
    min-width: 28px;
    width: 28px;
  }
  html body.wave-shell #wavePlayer:not(.expanded) #waveMinimize {
    grid-column: 8;
    grid-row: 1;
    min-width: 28px;
    width: 28px;
  }
}
@media (max-width: 800px) {
  .home-vpn-state {
    max-width: 110px;
  }
  .home-vpn-row {
    gap: var(--space-2);
  }
  .home-vpn-row .home-vpn-symbol {
    width: 22px;
    font-size: 21px;
  }
  .home-track-play .home-play-glyph {
    opacity: 1;
  }
  .home-resume-empty {
    min-height: 100px;
    font-size: 12px;
  }
  .home-resume-empty strong {
    font-size: 15px;
  }
}

.home-media-progress progress {
  appearance: none;
  height: 4px;
  border: 0;
  border-radius: 3px;
  overflow: hidden;
  background: var(--track);
}
.home-media-progress progress::-webkit-progress-bar {
  background: var(--track);
  border-radius: 3px;
}
.home-media-progress progress::-webkit-progress-value {
  background: var(--accent);
  border-radius: 3px;
}
.home-media-progress progress::-moz-progress-bar {
  background: var(--accent);
  border-radius: 3px;
}

@media (max-width: 800px) {
  html body.wave-shell > .workspace-header {
    height: 48px;
    min-height: 48px;
    padding-inline: 12px;
    gap: var(--space-2);
    border-bottom: 0;
    background: var(--bg);
  }
  html body.wave-shell > .workspace-header > a[aria-label="Настройки"],
  html body.wave-shell > .workspace-header > form:not(.workspace-search) {
    display: flex;
    flex: none;
  }
  html body.wave-shell .workspace-header .brand-name {
    letter-spacing: 2px;
  }
  html body.wave-shell .workspace-header .brand-mark {
    width: 26px;
    height: 26px;
  }
  html body.wave-shell > .workspace-mobile {
    padding: 4px max(10px, env(safe-area-inset-right)) max(4px, env(safe-area-inset-bottom))
      max(10px, env(safe-area-inset-left));
    background: var(--bg);
  }
  html body .workspace-mobile > a {
    min-height: 44px;
    gap: 3px;
    border-radius: 0;
  }
  html body .workspace-mobile [aria-current="page"] {
    background: none;
    color: var(--accent);
  }
  html body .workspace-mobile .ui-icon {
    width: 20px;
    height: 20px;
  }
  html body .workspace-mobile span {
    font-size: 10px;
  }
  html.embedded-page:not(.chat-widget) body.dashboard-page:not(:has(#chatPage)) {
    padding: 4px 16px 16px;
  }
  html.embedded-page:has(body.dashboard-page) {
    scrollbar-width: none;
  }
  html.embedded-page:has(body.dashboard-page)::-webkit-scrollbar {
    display: none;
  }
  html body #homeDashboard .home-heading {
    min-height: 0;
    margin: 0 0 12px;
    padding: 0;
  }
  .home-heading h1 {
    font-size: 22px;
    line-height: 28px;
    margin: 0 0 2px;
    letter-spacing: 0;
  }
  .home-heading #homeDate {
    font-size: 12px;
    line-height: 18px;
    letter-spacing: 0;
    margin: 0;
  }
  .core-emblem {
    display: none;
  }
  #homeActionStatus:empty {
    display: none;
  }
  html body #homeDashboard .home-grid {
    gap: 14px;
    grid-template-columns: minmax(0, 1fr);
  }
  html body #homeDashboard .home-grid > .home-card {
    grid-column: 1;
    padding: 0 0 12px;
    background: none;
    border: 0;
    border-bottom: 1px solid var(--line-soft);
    border-radius: 0;
    box-shadow: none;
  }
  html body #homeDashboard .home-grid > [data-home-card="pulse"] {
    grid-column: 1;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
  }
  html body #homeDashboard .home-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  html body #homeDashboard .home-metric:nth-child(n) {
    grid-column: auto;
    padding: 9px 12px;
    gap: 4px 10px;
    border: 0;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
  html body #homeDashboard .home-metric:nth-child(even) {
    border-right: 0;
  }
  html body #homeDashboard .home-metric:nth-child(n + 3) {
    border-bottom: 0;
  }
  html body #homeDashboard .home-metric-label {
    font-size: 10px;
    line-height: 12px;
  }
  html body #homeDashboard .home-metric strong {
    font-size: 18px;
    line-height: 22px;
    letter-spacing: -0.3px;
  }
  html body #homeDashboard .metric-spark {
    height: 20px;
  }
  html body #homeDashboard .home-card-title {
    margin: 0 0 8px;
    min-height: 22px;
    gap: var(--space-3);
  }
  html body #homeDashboard .home-card-title h2 {
    font-size: 16px;
    line-height: 22px;
    font-weight: 600;
  }
  html body #homeDashboard .home-card-title .home-all {
    font-size: 10px;
  }
  #homeMedia {
    --resume-cover-height: 144px;
    gap: 10px;
    scrollbar-width: none;
    padding: 0 0 2px;
  }
  #homeMedia::-webkit-scrollbar {
    display: none;
  }
  #homeMedia > * {
    scroll-snap-align: start;
    min-width: 0;
  }
  #homeMedia .home-media-item {
    gap: 3px;
  }
  #homeMedia .home-media-art {
    border-radius: 6px;
  }
  #homeMedia .home-media-art .ui-icon {
    width: 32px;
    height: 32px;
  }
  #homeMedia .home-media-item strong {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    white-space: normal;
    font-size: 12px;
    line-height: 16px;
    height: 32px;
    overflow: hidden;
  }
  #homeMedia .home-media-item small {
    font-size: 10px;
    line-height: 14px;
  }
  #homeMedia .home-media-progress {
    margin-top: 2px;
    gap: var(--space-2);
  }
  #homeMedia .home-media-progress span {
    font-size: 10px;
  }
  html body #homeDashboard .home-task {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr) auto;
    gap: var(--space-3);
    align-items: center;
    min-height: 36px;
    padding: 6px 0;
  }
  html body #homeDashboard .home-task a {
    font-size: 12px;
    line-height: 18px;
    white-space: normal;
  }
  html body #homeDashboard .home-task input {
    width: 18px;
    height: 18px;
    margin: 0;
  }
  .home-task.is-overdue small {
    font-size: 9px;
    margin: 0;
    width: auto;
    padding: 0;
  }
  #homeTasksCount {
    font-size: 10px;
    line-height: 15px;
    margin: 5px 0 0;
  }
  .home-task-motto {
    display: none;
  }
  .home-task-empty {
    min-height: 0;
    padding: 8px 0;
    gap: var(--space-1);
    align-items: flex-start;
    text-align: left;
  }
  .home-task-empty .ui-icon {
    display: none;
  }
  .home-task-empty strong {
    font-size: 13px;
  }
  .home-task-empty p,
  .home-task-empty a {
    font-size: 11px;
    margin: 0;
  }
  .home-resume-empty {
    min-height: 88px;
    gap: var(--space-2);
  }
  html body #homeDashboard .home-grid > [data-home-card="vpn"] {
    order: 3;
  }
  html body #homeDashboard .home-grid > [data-home-card="wave"] {
    order: 4;
  }
  #homeVPN:has(.home-vpn-row) {
    border: 0;
  }
  .home-vpn-row,
  .home-track {
    gap: var(--space-3);
    min-height: 46px;
    padding: 6px 0;
  }
  .home-vpn-row .home-vpn-symbol {
    width: 24px;
    font-size: 24px;
  }
  .home-vpn-row strong {
    font-size: 12px;
  }
  .home-vpn-state {
    max-width: 100px;
    font-size: 10px;
  }
  .home-vpn-state small {
    font-size: 9px;
  }
  .home-vpn-row small {
    font-size: 10px;
    margin-top: 2px;
  }
  .home-actions-menu summary {
    width: 28px;
    height: 32px;
  }
  html body #homeDashboard #homeFiles {
    grid-template-columns: 1fr;
    gap: 0;
  }
  html body.wave-shell #wavePlayer:not(.expanded) {
    width: 100%;
    margin: 0;
    border: 0;
    border-top: 1px solid var(--line);
    border-radius: 0;
    padding: 7px 14px;
    background: var(--surface);
    box-shadow: none;
  }
  html body.wave-shell #wavePlayer:not(.expanded) .wave-player-row {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) 32px 36px 32px;
    gap: var(--space-3);
  }
  html
    body.wave-shell
    #wavePlayer:not(.expanded)
    :is(.wave-player-art, .wave-player-info, #waveFavorite, #waveToggle, #waveNext) {
    height: 36px !important;
    min-height: 36px !important;
    padding: 0 !important;
  }
  html body.wave-shell #wavePlayer:not(.expanded) .wave-player-art {
    width: 36px !important;
    min-width: 36px !important;
  }
  html body.wave-shell #wavePlayer:not(.expanded) .wave-player-info strong {
    font-size: 12px;
  }

  html body.wave-shell #wavePlayer:not(.expanded) #waveNext {
    display: inline-flex !important;
    grid-column: 5;
    grid-row: 1;
    width: 32px !important;
    min-width: 32px !important;
  }
  html body.wave-shell #wavePlayer:not(.expanded) #waveToggle {
    width: 36px !important;
    min-width: 36px !important;
    border: 1px solid var(--muted);
    border-radius: 50%;
  }
  html body.wave-shell #wavePlayer:not(.expanded) #waveFavorite {
    width: 32px !important;
    min-width: 32px !important;
  }
}
@media (min-width: 540px) and (max-width: 800px) {
  #homeMedia {
    --resume-cover-height: 180px;
  }
}
.workspace-sidebar nav a.workspace-group-title[aria-current="page"] {
  color: var(--accent);
  background: none;
}

.home-vpn-state > a {
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
  color: var(--accent);
}
.home-vpn-state > a:hover {
  text-decoration: underline;
}
html body {
  font-optical-sizing: auto;
}
.brand-mark {
  flex: none;
  filter: drop-shadow(0 2px 6px rgba(var(--accent-rgb), 0.1));
  color: var(--accent);
}
html body .brand-name {
  font-family: var(--mono);
  font-weight: 400;
  font-style: normal;
  font-feature-settings: "zero" 1;
  font-variant-numeric: slashed-zero;
  letter-spacing: 0.17em;
  color: var(--accent);
  text-shadow: 0 0 12px rgba(var(--accent-rgb), 0.12);
}
html body .workspace-sidebar .brand-name {
  font-size: 15px;
  letter-spacing: 0.15em;
}
html body .home-heading h1 {
  text-wrap: balance;
}
html body .brand-name > span {
  color: var(--accent);
}
html body .login-brand .brand-name {
  font-size: 26px;
  letter-spacing: 0.22em;
}
html body .login-brand .brand-mark {
  width: 96px;
  height: 96px;
}
html body :is(.home-card-title, .settings-card h2) {
  letter-spacing: -0.25px;
}
html body .workspace-sidebar nav a:not(.workspace-group-title) {
  font-weight: 450;
}
html body :is(.home-metric strong, .module-stat strong, .home-value) {
  font-variant-numeric: tabular-nums;
}
.home-vpn-symbol {
  display: flex;
  align-items: center;
  justify-content: center;
}
.home-vpn-symbol .ui-icon {
  width: 28px;
  height: 28px;
  stroke-width: 1.5;
  color: var(--muted);
}
.home-actions-menu > summary .ui-icon {
  width: 19px;
  height: 19px;
}
html body .workspace-user:not(:has(img:not([hidden]))) {
  background:
    radial-gradient(circle at 32% 20%, rgba(var(--accent-rgb), 0.23), transparent 70%),
    var(--surface);
}
html body .workspace-header .workspace-search {
  border-color: var(--line);
  box-shadow: inset 0 1px 2px #0002;
}
html body #homeDashboard .home-media-progress progress::-webkit-progress-value {
  background: var(--accent);
}
html body #homeDashboard .home-media-progress progress::-moz-progress-bar {
  background: var(--accent);
}
@media (max-width: 800px) {
  html body.wave-shell .workspace-header .brand-name {
    font-size: 13px;
    letter-spacing: 0.14em;
    font-weight: 400;
  }
  html body.wave-shell .workspace-header .brand-mark {
    width: 32px;
    height: 32px;
  }
  .home-vpn-symbol .ui-icon {
    width: 23px;
    height: 23px;
  }
  html body .workspace-mobile .ui-icon {
    stroke-width: 1.5;
  }
  html body .workspace-mobile span {
    font-size: 9px;
    letter-spacing: 0.1px;
  }
}

@media (max-width: 380px) {
  html body.wave-shell .workspace-header .brand-name {
    font-size: 12px;
    letter-spacing: 0.12em;
  }
  html body.wave-shell .workspace-header > .brand {
    gap: 5px;
  }
}

.home-vpn-row .home-vpn-name {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}
.home-vpn-name > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.home-vpn-flag {
  width: 20px;
  height: 15px;
  object-fit: cover;
  border-radius: 3px;
  flex: none;
}
.home-vpn-health {
  flex: none;
  font-size: 9px;
}
.home-vpn-state > .home-vpn-latency {
  white-space: nowrap;
  font-size: 12px;
}
@media (max-width: 600px) {
  .home-vpn-state {
    gap: var(--space-1);
  }
  .home-vpn-state > .home-vpn-latency {
    font-size: 10px;
  }
}

@media (max-width: 800px) {
  html body .home-heading h1 {
    font-size: 21px;
    letter-spacing: -0.6px;
    line-height: 1.4;
  }
  html body .section-line h1 {
    font-size: 20px;
    letter-spacing: -0.5px;
  }
}
@media (max-width: 380px) {
  html body .home-heading h1 {
    font-size: 19px;
  }
  html body .section-line h1 {
    font-size: 18px;
  }
}

@media (max-width: 800px) {
  html body .workspace-header .workspace-search input {
    display: none;
  }
}

html body .ui-action-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 36px;
  width: 36px;
  min-width: 36px;
  height: 36px;
  min-height: 36px;
  padding: 7px;
  vertical-align: middle;
}
.ui-action-icon svg {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
html body :is(.reader-toolbar, .storage-toolbar, .projects-toolbar, .content-toolbar, .kb-tools) {
  gap: var(--space-2);
  align-items: center;
}
html
  body
  :is(.reader-toolbar, .storage-toolbar, .projects-toolbar, .content-toolbar, .kb-tools)
  > input[type="search"] {
  flex: 1 1 140px;
  width: auto;
  min-width: 0;
}
html body #waveQueueToggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  min-width: 36px;
  padding: 6px;
}
@media (max-width: 800px) {
  html.embedded-page:not(.chat-widget) body:not(:has(#chatPage)) {
    padding: 8px 10px;
  }
  html body #homeDashboard {
    position: relative;
  }
  html body #homeDashboard .home-heading {
    padding-right: 42px;
  }
  html body .section-line {
    gap: var(--space-2);
    margin-bottom: 10px;
  }
  html body .section-line h1,
  html body .settings-heading h1 {
    font-size: 18px;
    line-height: 1.3;
  }
  html body .settings-heading {
    margin-bottom: 12px;
    padding-bottom: 8px;
  }
  html body :is(.settings-section-heading h2, .wave-section-head h3, .profile-heading h2) {
    font-size: 16px;
  }
  html body #settingsContent .settings-appearance .settings-card {
    padding: 10px;
  }
  html body #wavePage .wave-hero h2 {
    font-size: 18px;
    line-height: 1.3;
  }
  html body #wavePage .wave-section-head h3 {
    font-size: 16px;
  }
  html body #wavePage .wave-hero > .wave-art {
    width: 80px;
    flex-basis: 80px;
  }
  html body #wavePage .wave-sidebar #waveNav {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    gap: var(--space-1);
    scrollbar-width: thin;
    padding-bottom: 4px;
  }
  html body #wavePage .wave-sidebar #waveNav > * {
    flex: none;
  }
  html body #wavePage .wave-sidebar #waveNav a {
    white-space: nowrap;
  }
  html body #wavePage #waveNav .wave-playlist-heading {
    width: auto;
  }
  html body .ui-action-icon {
    width: 36px !important;
    min-width: 36px !important;
    height: 36px !important;
    min-height: 36px !important;
    padding: 7px !important;
  }
  html
    body
    :is(.reader-toolbar, .storage-toolbar, .projects-toolbar, .content-toolbar, .kb-tools)
    > input[type="search"] {
    flex: 1 1 120px;
    width: 0;
  }
  html
    body
    :is(.reader-toolbar, .storage-toolbar, .projects-toolbar, .content-toolbar, .kb-tools)
    > .ui-action-icon {
    flex: 0 0 36px;
  }
  html body #settingsContent .balance-row .balance-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-1);
    width: auto;
  }
  html body #settingsContent .balance-row .balance-actions button {
    width: auto;
  }
  html body #articleEditor .article-action-bar {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-1);
  }
  html body #articleEditor .article-action-bar > button {
    width: auto;
    flex: 1 1 auto;
  }
  html body.wave-shell #wavePlayer:not(.expanded) {
    padding: 5px 10px;
  }
  html body.wave-shell #wavePlayer:not(.expanded) .wave-player-row {
    grid-template-columns: 32px minmax(0, 1fr) 32px 36px 32px;
    gap: 5px;
  }
  html body.wave-shell #wavePlayer:not(.expanded) .wave-player-art {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
  }
  html body.wave-shell #wavePlayer:not(.expanded) .wave-player-info strong {
    font-size: 11px;
    line-height: 16px;
  }
  html body.wave-shell #wavePlayer:not(.expanded) .wave-player-info span {
    font-size: 10px;
    line-height: 14px;
  }
  html body.wave-shell #wavePlayer:not(.expanded) .wave-control-icon {
    width: 20px;
    height: 20px;
  }
  html body #wavePlayer.expanded .wave-player-info strong {
    font-size: 18px;
    line-height: 1.3;
  }
  html body #wavePlayer.expanded .wave-player-info span {
    font-size: 13px;
  }
  html body #wavePlayer.expanded #waveQueueToggle {
    padding: 6px !important;
  }
  html body :is(.home-card, .settings-card, .article-card, .project-card, .storage-row) {
    box-shadow: none;
  }
}
@supports (content-visibility: auto) {
  #wavePage .wave-track {
    content-visibility: auto;
    contain-intrinsic-size: auto 52px;
  }
}

html body .workspace-header .workspace-search {
  gap: var(--space-3);
  padding: 0 10px;
}
.workspace-search-icon {
  display: flex;
  align-items: center;
  flex: none;
  color: var(--muted);
  pointer-events: none;
}
html body .workspace-header .workspace-search:focus-within {
  border-color: var(--accent);
}
@media (max-width: 800px) {
  html body .workspace-header > .brand {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
  }
  html body .workspace-header .workspace-search {
    display: none;
  }
}
@media (min-width: 1100px) {
  html body.wave-shell #wavePlayer:not(.expanded):not([hidden]) {
    grid-template-columns:
      40px minmax(120px, 220px) var(--ui-control-size) auto minmax(100px, 1fr)
      auto var(--ui-control-size) var(--ui-control-size);
    gap: var(--space-3);
    padding: 8px 12px;
  }
  html body.wave-shell #wavePlayer:not(.expanded) .wave-player-art {
    width: 40px;
    height: 40px;
  }
  html body.wave-shell #wavePlayer:not(.expanded) .wave-transport {
    gap: var(--space-2);
  }
  html body.wave-shell #wavePlayer:not(.expanded) .wave-player-extra {
    gap: var(--space-3);
  }
  html body.wave-shell #wavePlayer:not(.expanded) .wave-player-progress {
    margin: 0;
    padding: 0;
  }
  html body.wave-shell #wavePlayer:not(.expanded) .wave-volume-row {
    gap: var(--space-2);
    width: 86px;
  }
}

html body .brand-label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  min-width: 0;
  overflow: visible;
}
html body .brand-version {
  display: block;
  font: 10px/1.2 var(--mono);
  letter-spacing: 0.04em;
  color: var(--muted);
  overflow: visible;
}
html body .workspace-sidebar .brand-name {
  font-size: 14px;
  letter-spacing: 0.08em;
}
html body .login-brand .brand-label {
  align-items: center;
}
html body #homeDashboard .home-grid > .home-card {
  grid-column: span 6;
}
html body #homeDashboard .home-grid > :is([data-home-card="pulse"], [data-home-card="storage"]) {
  grid-column: 1/-1;
}
html body #homeDashboard #homeMedia {
  --resume-cover-height: 128px;
}
html body #homeDashboard [data-home-card="connections"] .home-card-title > a {
  margin-left: auto;
  font-size: 12px;
  color: var(--muted);
}
@media (max-width: 800px) {
  html body #homeDashboard .home-grid > .home-card {
    grid-column: 1/-1;
  }
}
@media (max-width: 600px) {
  html body.wave-shell > .workspace-header {
    gap: var(--space-2);
    padding-inline: 10px;
  }
  html body.wave-shell .workspace-header > .brand {
    flex-direction: row;
    gap: var(--space-2);
    min-width: 0;
  }
  html body.wave-shell .workspace-header .brand-mark {
    width: 24px;
    height: 24px;
  }
  html body.wave-shell .workspace-header .brand-label {
    align-items: flex-start;
  }
  html body.wave-shell .workspace-header .brand-name {
    display: block;
    font-size: 12px;
    letter-spacing: 0.04em;
    white-space: nowrap;
  }
  html body.wave-shell .workspace-header .brand-version {
    font-size: 8px;
    line-height: 10px;
    letter-spacing: 0;
  }
}
