:root {
  color-scheme: dark;
  --bg: var(--strgo-bg,#070b10);
  --panel: var(--strgo-surface,#0e151c);
  --panel2: var(--strgo-surface-raised);
  --line: var(--strgo-border);
  --text: var(--strgo-text);
  --muted: var(--strgo-muted);
  --mint: var(--strgo-accent,#79f8cb);
  --mint2: #9bffde;
  --nav: 200px;
  font: 13px/1.65 var(--strgo-font);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: radial-gradient(ellipse at 70% 0,#14212744,transparent 55%),var(--bg);
  color: var(--text);
}

button,input,textarea,select {
  font: inherit;
  color: inherit;
}

button,a,input,textarea,select {
  -webkit-tap-highlight-color: transparent;
}

button,select {
  cursor: pointer;
}

button,a {
  touch-action: manipulation;
}

button {
  line-height: 1.4;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  border: 1px solid var(--line);
  background: #1b262e;
  border-radius: 8px;
  padding: 9px 14px;
  transition: background .2s,border-color .2s,transform .2s;
}

button:hover {
  background: #253740;
  border-color: #4d6867;
}

button:disabled {
  opacity: .45;
  cursor: wait;
}

button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
}

button svg,a svg {
  pointer-events: none;
}

svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

h1,h2,h3,p {
  margin-top: 0;
}

h1,h2,h3 {
  letter-spacing: -.025em;
}

h1 {
  font-size: 34px;
  line-height: 1.3;
  font-weight: 680;
}

h2 {
  font-size: 20px;
  font-weight: 640;
  margin-bottom: 14px;
}

h3 {
  font-size: 14px;
  font-weight: 590;
  margin-bottom: 7px;
}

p {
  margin-bottom: 12px;
}

.muted {
  color: var(--muted);
}

.mint {
  color: var(--mint);
}

.small {
  font-size: 12px;
}

.eyebrow {
  color: #80959e;
  letter-spacing: .18em;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 16px;
}

.full {
  width: 100%;
  justify-content: center;
}

.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #8aefcd;
  border-radius: 8px;
  background: linear-gradient(115deg,#83f4ce,#6fe2bc);
  color: #09201b;
  padding: 11px 17px;
  font-weight: 650;
  box-shadow: 0 0 20px #79f8cb08;
}

.primary:hover {
  background: var(--mint2);
  border-color: var(--mint2);
  box-shadow: 0 0 20px #79f8cb10;
}

.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid #34454f;
  border-radius: 8px;
  background: linear-gradient(140deg,#1b2932,#151f27);
  padding: 9px 14px;
  font-weight: 450;
}

.secondary:hover {
  background: #23333c;
  border-color: #526963;
}

.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 6px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: #a5b2c1;
}

.icon-button:hover {
  color: var(--mint);
  background: #223038;
}

.text-button {
  border: 0;
  background: none;
  color: var(--mint);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 0;
  font-size: 12px;
}

.text-button:hover {
  background: none;
  color: var(--mint2);
}

.error {
  font-size: 12px;
  color: #f1b3a1;
  white-space: pre-wrap;
}

.error:empty {
  display: none;
}

.danger {
  background: #522d2c;
  border: 1px solid #91625b;
  color: #ffe3da;
}

.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #75ecc0;
  box-shadow: 0 0 8px #79f8cb30;
  vertical-align: middle;
  flex-shrink: 0;
}

.muted-dot {
  background: #8c9aa2;
  box-shadow: none;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 20px;
  background: #29323a;
  color: #b5c2ce;
  font-size: 12px;
  white-space: nowrap;
}

.status.success {
  background: #173c32;
  color: #83e4c4;
}

.status.success .dot {
  width: 5px;
  height: 5px;
}

.skip {
  position: fixed;
  left: 20px;
  top: -60px;
  z-index: 100;
  padding: 10px 20px;
  background: var(--mint);
  color: #0c211b;
  border-radius: 8px;
}

.skip:focus {
  top: 12px;
}

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--nav);
  background: linear-gradient(150deg,#10191e,#0c1318);
  border-right: 1px solid #27343e;
  display: flex;
  flex-direction: column;
  padding: 20px 12px 14px;
  z-index: 20;
}

.brand {
  font-size: 31px;
  line-height: 1.1;
  letter-spacing: -1.5px;
  font-weight: 750;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 11px;
}

.brand>span {
  font-size: 46px;
  line-height: 1;
  color: var(--mint);
  font-weight: 500;
  letter-spacing: 0;
}

.brand-caption {
  font-size: 12px;
  letter-spacing: 3px;
  color: #8e9da9;
  padding: 10px 13px 0;
}

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

.nav-link {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 47px;
  padding: 10px 14px;
  color: #aab6c6;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 13px;
  transition: all .2s;
}

.nav-link svg {
  width: 21px;
  height: 21px;
}

.nav-link:hover {
  background: #1d2a30;
  color: #e6f4ee;
}

.nav-link.active {
  border-color: #508f7b;
  background: linear-gradient(100deg,#1c4039,#213e39);
  color: #96f4d7;
  box-shadow: inset 0 0 20px #8bf3ca05;
}

.tiny-arrow {
  margin-left: auto;
  color: #657b82;
}

.nav-divider {
  height: 1px;
  background: #26353e;
  margin: 15px 4px 6px;
}

.image-link {
  margin-top: 4px;
}

.account {
  margin-top: auto;
  padding: 12px 6px 9px;
  display: flex;
  align-items: center;
  gap: 11px;
}

.account>span:nth-child(2) {
  font-size: 12px;
}

.account small {
  display: block;
  color: #7d919c;
  font-size: 12px;
  margin-top: 2px;
}

.account>span:last-child {
  margin-left: auto;
  font-size: 22px;
  color: #8b9eab;
}

.account-avatar {
  width: 35px;
  height: 35px;
  border: 1px solid #a2afc1;
  border-radius: 50%;
  background: linear-gradient(140deg,#424b60,#202936);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #d5deeb;
  padding: 0;
  flex-shrink: 0;
}

.back-home {
  font-size: 12px;
  padding: 11px 7px 0;
  color: #667d89;
}

.back-home:hover {
  color: var(--mint);
}

.workspace {
  margin-left: var(--nav);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.topbar {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 31px;
  flex-shrink: 0;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 12px;
  color: #9caaba;
}

.breadcrumb>span {
  color: #566a78;
}

.breadcrumb strong {
  color: #dce5ee;
  font-weight: 500;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.quota-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #244c43;
  background: #12261f70;
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 12px;
  color: #bfdbd1;
}

.quota-pill svg {
  color: var(--mint);
  width: 17px;
  height: 17px;
}

.node-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #8fa1b0;
  font-size: 12px;
}

.top-actions .account-avatar {
  width: 36px;
  height: 36px;
}

#mobile-nav {
  display: none;
}

#main {
  padding: 0 25px 20px;
  flex: 1;
  min-width: 0;
}

.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 7px 20px;
}

.page-heading>div {
  display: flex;
  align-items: baseline;
  gap: 20px;
  flex-wrap: wrap;
}

.page-heading h1 {
  margin: 0;
}

.page-heading p {
  font-size: 13px;
  color: #a5b1bd;
  margin: 0;
  letter-spacing: .02em;
}

.page-heading>.assistant-toggle {
  display: none;
}

.panel {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 19px;
  background: linear-gradient(130deg,#141e25cc,#10191fbf);
  min-width: 0;
}

.panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 13px;
}

.panel-title h2 {
  margin: 0;
  font-size: 19px;
}

.panel-title p {
  margin: 5px 0 0;
}

.workspace-footer {
  margin: 0 31px;
  padding: 0 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  letter-spacing: .14em;
  color: #4f6570;
}

.workspace-footer span {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  letter-spacing: 0;
}

.workspace-footer svg {
  width: 11px;
  height: 11px;
}

.service-banner {
  font-size: 12px;
  padding: 8px 30px;
  background: #3a321c;
  color: #dacb9c;
  border-bottom: 1px solid #65532c;
}

.initial-loading {
  display: grid;
  place-content: center;
  text-align: center;
  min-height: 100vh;
  color: var(--muted);
}

.initial-loading span {
  font-size: 50px;
  color: var(--mint);
}

.music-grid {
  display: grid;
  grid-template-columns: minmax(310px,1.05fr) minmax(295px,1fr) minmax(305px,.85fr);
  gap: 10px;
  align-items: stretch;
}

.music-grid>.panel {
  padding: 17px;
}

.saved-label {
  color: #8c9eab;
  font-size: 12px;
  white-space: nowrap;
}

.saved-label:first-letter {
  color: var(--mint);
}

label {
  display: block;
  font-size: 12px;
  color: #c8d2d9;
  margin: 0 0 12px;
}

input,textarea,select {
  width: 100%;
  border: 1px solid #33434e;
  background: linear-gradient(145deg,#172128,#10191f);
  border-radius: 8px;
  padding: 9px 11px;
  font-size: 12px;
  min-height: 37px;
  outline: 0;
}

input::placeholder,textarea::placeholder {
  color: #607882;
  opacity: 1;
}

input:hover,textarea:hover,select:hover {
  border-color: #48605f;
}

input:focus,textarea:focus,select:focus {
  border-color: #72c5a8;
}

label>input,label>textarea,label>select {
  display: block;
  margin-top: 4px;
}

textarea {
  resize: vertical;
  line-height: 1.7;
}

fieldset {
  border: 0;
  padding: 0;
  margin: 13px 0 12px;
  min-width: 0;
}

legend {
  font-size: 12px;
  padding: 0;
  margin-bottom: 7px;
  color: #ced7df;
}

.segmented {
  display: flex;
  border-radius: 12px;
  background: #1c2a32;
  margin: 2px 0 13px;
}

.segmented button {
  flex: 1;
  border: 1px solid transparent;
  border-radius: 12px;
  background: none;
  color: #aeb9c5;
  padding: 8px 3px;
  font-size: 12px;
}

.segmented button[aria-pressed=true] {
  border-color: #83e7c6;
  background: linear-gradient(120deg,#1c3733,#192d2b);
  color: #e8fcf7;
}

.counted {
  position: relative;
  margin-top: 4px;
}

.counted input {
  padding-right: 65px;
}

.counted>span {
  position: absolute;
  right: 12px;
  top: 10px;
  color: #879bab;
  font-size: 12px;
}

.field-count {
  font-size: 12px;
  color: #869aa9;
  display: block;
  text-align: right;
  line-height: 1;
  margin-top: 5px;
}

.music-composer label:has(textarea) {
  position: relative;
  margin-bottom: 12px;
}

.music-composer label:has(textarea)>textarea {
  padding-bottom: 18px;
}

.music-composer label:has(textarea)>.field-count {
  position: absolute;
  right: 11px;
  bottom: 8px;
}

.lyrics-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px;
  margin-bottom: 5px;
}

.lyrics-label label {
  margin: 0;
}

.lyrics-label .text-button {
  font-size: 12px;
  padding: 0;
}

.music-composer #lyrics {
  font-family: inherit;
  min-height: 207px;
}

.music-composer #lyrics:disabled {
  opacity: .35;
  resize: none;
}

.duration-options {
  display: flex;
  border: 1px solid #2c3e47;
  border-radius: 9px;
  background: #1b272f;
  overflow: hidden;
}

.duration-options button {
  padding: 7px 4px;
  flex: 1;
  border: 0;
  border-right: 1px solid #2b3c46;
  border-radius: 0;
  background: transparent;
  color: #cbd2dc;
  font-size: 12px;
}

.duration-options button:last-child {
  border-right: 0;
}

.duration-options button[aria-pressed=true] {
  border: 1px solid #7bdabb;
  border-radius: 9px;
  color: #91f0d2;
  background: #17362f;
}

.model-row {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  margin-top: 13px;
  margin-bottom: 7px;
}

.model-row select {
  margin-top: 0;
  flex: 1;
  min-width: 0;
  font-size: 12px;
}

.advanced {
  border: 1px solid #2e414a;
  border-radius: 8px;
  padding: 6px 11px;
  font-size: 12px;
  color: #abbcc7;
}

.advanced summary {
  cursor: pointer;
  list-style: none;
}

.advanced summary::-webkit-details-marker {
  display: none;
}

.advanced summary>span {
  float: right;
}

.advanced-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 8px;
  padding-top: 12px;
}

.advanced-grid label {
  font-size: 12px;
}

.advanced-grid input,.advanced-grid select {
  padding: 6px;
  font-size: 12px;
}

.advanced p {
  margin-bottom: 4px;
  font-size: 12px;
}

.generate {
  font-size: 15px;
  margin-top: 10px;
  padding: 10px;
}

.composer-note {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 7px;
  margin-top: 8px;
  font-size: 12px;
  color: #93a6b2;
}

.composer-note>span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.composer-note svg {
  width: 12px;
  height: 12px;
}

.view-switch {
  display: flex;
  gap: 1px;
  border: 1px solid #2b3a42;
  border-radius: 9px;
  padding: 1px;
}

.view-switch .icon-button {
  width: 28px;
  height: 26px;
}

.music-results {
  min-height: 700px;
}

#music-results {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.music-card {
  border: 1px solid #2c3b43;
  border-radius: 11px;
  padding: 12px;
  background: linear-gradient(145deg,#19262c,#121c22);
  min-width: 0;
}

.cover {
  aspect-ratio: 1.34;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 12px;
  background: #07181c;
}

.cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s;
}

.music-card:hover .cover img {
  transform: scale(1.025);
}

.track-heading {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.track-heading h3 {
  font-size: 19px;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 620;
  line-height: 1.5;
}

.track-heading .status {
  font-size: 12px;
  padding: 2px 7px;
}

.track-heading .icon-button {
  margin-left: auto;
  flex-shrink: 0;
  width: 22px;
  height: 26px;
  font-size: 18px;
}

.track-meta {
  font-size: 12px;
  color: #a0b0bc;
  margin: 3px 0 9px;
}

.track-actions {
  display: flex;
  gap: 9px;
  margin-top: 9px;
}

.track-actions>* {
  flex: 1;
  font-size: 12px;
  padding: 7px 4px;
}

.track-actions svg {
  width: 14px;
  height: 14px;
}

audio {
  width: 100%;
  height: 38px;
  border-radius: 30px;
  display: block;
  margin: 8px 0;
  accent-color: var(--mint);
  color-scheme: dark;
}

audio::-webkit-media-controls-panel {
  background: #1a3633;
}

.compact {
  display: flex;
  gap: 11px;
  align-items: center;
  padding: 10px;
}

.mini-cover {
  width: 66px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.compact .track-info {
  flex: 1;
  min-width: 0;
}

.compact .track-heading h3 {
  font-size: 13px;
}

.compact .track-meta {
  font-size: 12px;
  margin: 1px 0;
}

.compact audio {
  height: 30px;
  margin: 3px 0;
}

.compact .track-actions {
  margin: 4px 0 0;
  gap: 7px;
}

.compact .track-actions>* {
  font-size: 12px;
  padding: 3px;
}

.task-track {
  display: flex;
  gap: 12px;
  align-items: center;
  border: 1px solid #293c43;
  border-radius: 10px;
  padding: 12px;
  background: #142128;
}

.task-track>div {
  flex: 1;
  min-width: 0;
}

.task-track h3 {
  font-size: 12px;
  margin: 0;
}

.task-track p {
  font-size: 12px;
  color: #94a5ae;
  margin: 4px 0;
  overflow-wrap: anywhere;
}

.task-track button {
  font-size: 12px;
  padding: 5px 10px;
}

.mini-wave {
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  flex-shrink: 0;
  background: radial-gradient(ellipse,#224b3e,#12221e);
  color: var(--strgo-accent,#79f8cb);
  font-size: 35px;
  border-radius: 8px;
}

.privacy-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 12px;
  color: #8396a3;
  padding-top: 9px;
  margin: 0;
}

.privacy-note svg {
  width: 13px;
  height: 13px;
}

.assistant-column {
  min-width: 0;
}

.assistant-column strgo-assistant {
  min-height: 100%;
  height: calc(100vh - 148px);
}

.assistant-collapsed .assistant-column {
  display: none;
}

.assistant-collapsed .music-grid {
  grid-template-columns: minmax(300px,.9fr) minmax(330px,1.1fr);
  max-width: 1150px;
  margin: auto;
}

.assistant-collapsed .assistant-toggle {
  display: inline-flex;
}

.empty {
  text-align: center;
  padding: 75px 15px;
  color: #7e939f;
  min-width: 0;
}

.empty-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 22px;
  border: 1px solid #2d4e47;
  border-radius: 20px;
  background: radial-gradient(ellipse,#1b3c33,#10211d);
  color: #75dfb8;
}

.empty-icon svg {
  width: 28px;
  height: 28px;
}

.empty h3 {
  font-size: 15px;
  font-weight: 450;
  color: #c2d0d6;
}

.empty p {
  font-size: 12px;
  max-width: 300px;
  margin: 9px auto;
  line-height: 1.8;
}

.music-results .empty {
  padding: 125px 10px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
}

.chat-main {
  padding: 0 !important;
  display: flex;
  min-height: 650px;
}

.chat-layout {
  display: grid;
  grid-template-columns: 245px minmax(0,1fr);
  width: 100%;
  border-top: 1px solid #26343c;
  min-height: calc(100vh - 107px);
}

.history {
  border-right: 1px solid #26343c;
  padding: 20px 17px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #10181e55;
}

.history>.primary {
  font-size: 12px;
}

.search-field {
  position: relative;
  margin: 18px 0 25px;
}

.search-field input {
  padding-left: 30px;
  background: #141e25;
  font-size: 12px;
}

.search-field>span {
  position: absolute;
  left: 11px;
  top: 6px;
  color: #8fa1b0;
  font-size: 20px;
}

.history .eyebrow {
  font-size: 12px;
  color: #6f8694;
  margin-bottom: 12px;
}

.history-row {
  display: flex;
  border: 1px solid transparent;
  border-radius: 8px;
  margin-bottom: 6px;
  min-width: 0;
}

.history-row.active {
  background: #1e3335;
  border-color: #33504c;
}

.history-open {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: 1;
  min-width: 0;
  padding: 10px 8px;
  border: 0;
  background: none;
  color: #9caebb;
  font-size: 12px;
  text-align: left;
}

.history-open svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.history-open>span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.history-open:hover {
  background: #223039;
}

.history-delete {
  padding: 4px 7px;
  border: 0;
  background: none;
  color: #70848e;
  font-size: 14px;
}

.history-foot {
  margin-top: auto;
  padding-top: 30px;
  font-size: 12px;
  color: #637c89;
  line-height: 2;
}

.history-foot svg {
  width: 12px;
  height: 12px;
  display: inline;
  vertical-align: middle;
}

.chat-content {
  min-width: 0;
  width: 100%;
  max-width: 1100px;
  margin: auto;
  height: calc(100vh - 110px);
  min-height: 650px;
}

.chat-content strgo-assistant {
  height: 100%;
}

.overview-heading {
  margin: 30px 7px 32px;
}

.overview-heading .eyebrow {
  font-size: 12px;
  color: #7a9b95;
  margin-bottom: 14px;
}

.overview-heading h1 {
  font-size: 42px;
  letter-spacing: -1.5px;
  margin-bottom: 12px;
  font-weight: 620;
}

.overview-heading h1 span {
  color: var(--mint);
}

.overview-heading>p:last-child {
  font-size: 13px;
  color: #95a8b5;
}

.overview-cards {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 18px;
}

.overview-card {
  position: relative;
  border: 1px solid #30464d;
  border-radius: 17px;
  min-height: 330px;
  overflow: hidden;
  background: #13232b;
}

.overview-card>div:last-child {
  position: relative;
  z-index: 2;
  padding: 115px 29px 26px;
}

.overview-card h2 {
  font-size: 27px;
  margin: 8px 0;
  color: #f4f8f7;
}

.overview-card p {
  font-size: 12px;
  color: #b1c4c8;
}

.overview-card .card-index {
  position: absolute;
  z-index: 2;
  left: 28px;
  top: 24px;
  font-size: 12px;
  letter-spacing: .14em;
  color: #b6c6c9;
}

.overview-card img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .65;
  inset: 0;
  object-position: center 30%;
  transition: transform .7s;
}

.overview-card:before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg,#08181ff5,transparent);
  z-index: 1;
}

.overview-card:hover img {
  transform: scale(1.04);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-size: 12px;
  color: var(--mint);
  margin-top: 13px;
}

.card-link svg {
  width: 16px;
}

.chat-entry {
  background: radial-gradient(ellipse at 80% 0,#1a4343,#14252c 50%,#101d24);
}

.chat-art {
  position: absolute;
  right: 30px;
  top: 10px;
  width: 180px;
  height: 180px;
  border: 1px solid #4783723b;
  border-radius: 45px;
  transform: rotate(-15deg);
  display: grid;
  place-items: center;
  background: radial-gradient(ellipse,#73f4c91c,#091b1f00);
  box-shadow: 0 0 100px #81efc70a;
}

.chat-art>span {
  font-size: 135px;
  color: #81efc7;
  font-weight: 350;
  line-height: 1;
  opacity: .8;
}

.chat-art>i {
  position: absolute;
  inset: -25px;
  border: 1px solid #6fe4b41a;
  border-radius: 70px;
}

.chat-art>i:nth-child(3) {
  inset: -50px;
  border-radius: 95px;
}

.chat-art>i:nth-child(4) {
  inset: -75px;
  border-radius: 120px;
}

.overview-bottom {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 18px;
  margin-top: 22px;
}

.recent-panel .empty {
  padding: 25px 10px;
}

.recent-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #27363e;
}

.recent-row:last-child {
  border: 0;
}

.recent-row>svg {
  color: #84bbaa;
  width: 21px;
  height: 21px;
}

.recent-row>span:nth-child(2) {
  flex: 1;
  font-size: 12px;
}

.recent-row small {
  display: block;
  font-size: 12px;
  color: #7c94a2;
  margin-top: 3px;
}

.quota-card {
  padding: 25px;
}

.quota-card h2 {
  font-size: 19px;
  font-weight: 500;
}

.quota-metrics {
  display: flex;
  gap: 40px;
  margin: 25px 0 30px;
}

.quota-metrics>div {
  display: flex;
  flex-direction: column;
}

.quota-metrics strong {
  font-size: 42px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -2px;
  color: #bdf2dc;
}

.quota-metrics strong small {
  font-size: 12px;
  margin-left: 7px;
  color: #8faca4;
}

.quota-metrics>div>span {
  color: #8c9faa;
  font-size: 12px;
  margin-top: 12px;
}

.quota-card .secondary {
  font-size: 12px;
}

.asset-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 18px;
}

.asset-grid .music-card {
  padding: 13px;
}

.asset-grid .track-heading h3 {
  font-size: 17px;
}

.table-panel {
  padding: 18px 0 0;
}

.table-panel>.panel-title {
  padding: 0 20px;
}

.table-wrap {
  overflow-x: auto;
  max-width: 100%;
  scrollbar-width: thin;
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 12px;
}

th {
  padding: 11px 20px;
  background: #1a252c;
  color: #849ba9;
  font-weight: 400;
  font-size: 12px;
  white-space: nowrap;
}

td {
  padding: 15px 20px;
  border-top: 1px solid #26343d;
  color: #b1c3cc;
  font-size: 12px;
  vertical-align: middle;
}

td strong {
  font-weight: 540;
  color: #e5edef;
}

.table-note {
  font-size: 12px;
  color: #7e97a3;
  padding: 15px 20px;
  border-top: 1px solid #293940;
  margin: 0;
}

.task-error {
  display: block;
  max-width: 260px;
  font-size: 12px;
  color: #c4a285;
}

.settings-grid {
  display: grid;
  grid-template-columns: minmax(250px,.8fr) minmax(350px,1.2fr);
  gap: 20px;
  max-width: 1100px;
}

.settings-grid>.panel {
  padding: 25px;
}

.settings-grid .full {
  margin-top: 15px;
}

.settings-panel {
  max-width: 600px;
  margin: 50px auto;
}

.permission-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid #263840;
}

.permission-row+.small {
  margin-top: 20px;
}

.usage-block {
  padding: 20px 0;
}

.usage-block>div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.usage-block strong {
  font-size: 12px;
  font-weight: 400;
  color: #8ceac8;
}

.usage-block p {
  font-size: 12px;
  color: #7f99a6;
  margin-top: 6px;
}

progress {
  width: 100%;
  height: 5px;
  appearance: none;
  border: 0;
  border-radius: 8px;
  overflow: hidden;
  margin: 15px 0 0;
  background: #23343c;
}

progress::-webkit-progress-bar {
  background: #23343c;
}

progress::-webkit-progress-value {
  background: var(--strgo-accent,#79f8cb);
}

progress::-moz-progress-bar {
  background: var(--strgo-accent,#79f8cb);
}

hr {
  border: 0;
  border-top: 1px solid #2a3c45;
  margin: 22px 0;
}

.admin-heading {
  margin-bottom: 24px;
}

.admin-heading>div {
  display: block;
}

.admin-heading h1 {
  font-size: 30px;
  margin-bottom: 9px;
}

.admin-heading p {
  font-size: 12px;
}

.admin-tabs {
  display: flex;
  gap: 25px;
  border-bottom: 1px solid #2a3c45;
  margin-bottom: 22px;
  padding: 0 8px;
  overflow: auto;
  scrollbar-width: none;
}

.admin-tabs button {
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  padding: 0 4px 14px;
  white-space: nowrap;
  font-size: 12px;
  background: none;
  color: #98acb9;
}

.admin-tabs button[aria-selected=true] {
  color: #8aeccd;
  border-bottom-color: #83e8c3;
}

.admin-tabs button:hover {
  color: #d7f4e7;
  background: none;
}

.verified {
  border-color: #4a9a7a;
  color: #82e9c0;
}

.model-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}

.provider-logo {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border: 1px solid #35534a;
  border-radius: 10px;
  font-size: 26px;
  color: #8ae5c3;
  background: #19332c;
}

.provider-logo.cloud {
  border-color: #3e4d6e;
  background: #212a42;
  color: #a4baf8;
}

.model-cell strong {
  font-size: 12px;
  display: block;
  white-space: nowrap;
}

.model-cell small {
  font-size: 12px;
  color: #7d94a3;
  display: block;
  margin-top: 2px;
  max-width: 210px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.deployment {
  font-size: 12px;
  color: #a6c6ba;
}

.admin-lower {
  display: grid;
  grid-template-columns: minmax(340px,1.5fr) minmax(270px,1fr);
  gap: 18px;
  margin-top: 20px;
}

.admin-lower>.panel {
  padding: 22px;
}

.form-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.saved-key {
  float: right;
  font-size: 12px;
  color: #7a9e8f;
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 12px 0;
  font-size: 12px;
  cursor: pointer;
}

.checkbox input {
  width: 15px;
  height: 15px;
  min-height: 0;
  padding: 0;
  flex-shrink: 0;
  accent-color: #75ebbb;
  margin: 0;
}

.checkbox span small {
  display: block;
  color: #7e98a2;
  font-size: 12px;
  margin-top: 2px;
}

.form-help {
  font-size: 12px;
  color: #8ba0ad;
  padding: 10px 12px;
  border: 1px solid #2a4146;
  border-radius: 8px;
  background: #14272a;
}

.button-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.button-row>* {
  font-size: 12px;
}

.admin-side>.eyebrow {
  font-size: 12px;
  margin-bottom: 8px;
}

.admin-side>h2 {
  font-size: 18px;
}

.node-summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 0;
}

.node-device {
  width: 55px;
  height: 55px;
  border: 1px solid #37544c;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-size: 29px;
  color: #92d0b9;
  background: #1b302c;
  flex-shrink: 0;
}

.node-summary h3 {
  font-size: 13px;
}

.node-summary p {
  font-size: 12px;
  color: #95b4a7;
  margin: 0 0 3px;
  overflow-wrap: anywhere;
}

.node-summary small {
  font-size: 12px;
  color: #718e9c;
}

.info-note {
  font-size: 12px;
  color: #a8b8b3;
  line-height: 1.9;
  padding: 13px 14px;
  border: 1px solid #365247;
  border-radius: 8px;
  background: #172b24;
  margin: 15px 0;
}

.node-row {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
  border-bottom: 1px solid #2a3e45;
}

.node-row button {
  font-size: 12px;
  white-space: nowrap;
}

.node-row .node-summary {
  min-width: 0;
}

.node-row .node-summary>div {
  min-width: 0;
}

.node-row .node-summary p {
  font-size: 12px;
}

.node-row .node-device {
  width: 43px;
  height: 46px;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: #0005;
  z-index: 29;
  backdrop-filter: blur(1px);
}

.member-drawer {
  position: fixed;
  right: 0;
  inset-block: 0;
  width: 350px;
  z-index: 30;
  background: linear-gradient(125deg,#17232b,#10191f);
  border-left: 1px solid #394c56;
  padding: 25px 22px;
  box-shadow: -20px 0 80px #0006;
  overflow: auto;
}

.member-drawer h2 {
  font-size: 22px;
}

.member-drawer h3 {
  font-size: 12px;
  margin: 24px 0 11px;
  color: #c2d0d7;
}

.member-drawer .eyebrow {
  font-size: 12px;
}

.member-identity {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid #2e434c;
  border-bottom: 1px solid #2e434c;
  padding: 17px 0;
}

.member-identity strong {
  display: block;
  font-weight: 500;
}

.member-identity small {
  display: block;
  font-size: 12px;
  color: #7f9da7;
}

.permission-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 10px;
  background: #152a28;
  border: 1px solid #34544b;
  border-radius: 8px;
  cursor: pointer;
}

.permission-check input {
  width: 14px;
  height: 14px;
  min-height: 0;
  flex-shrink: 0;
  accent-color: var(--mint);
  margin: 3px 0;
}

.permission-check>span {
  font-size: 12px;
}

.permission-check small {
  display: block;
  font-size: 12px;
  color: #86a69c;
  margin-top: 4px;
}

.model-grants {
  border: 1px solid #2e444c;
  border-radius: 8px;
  padding: 4px 11px;
}

.model-grants .checkbox {
  padding: 3px 0;
}

.reconcile-panel {
  margin-top: 20px;
}

.reconcile-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid #293d45;
  flex-wrap: wrap;
  font-size: 12px;
}

.reconcile-row>span {
  color: #91a7b3;
}

.reconcile-row>button {
  margin-left: auto;
}

.request-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 20px 0;
  border-bottom: 1px solid #293e46;
}

.request-row p {
  font-size: 12px;
  margin: 4px 0;
}

.request-row h3 {
  font-size: 13px;
}

.request-row .status {
  margin-left: 8px;
}

.request-row>div:first-child {
  min-width: 0;
  overflow-wrap: anywhere;
}

td code {
  font-size: 12px;
  white-space: normal;
  overflow-wrap: anywhere;
}

code {
  color: #91bcaf;
  font-family: ui-monospace,SFMono-Regular,monospace;
}

#mfa-secret code {
  display: block;
  padding: 10px;
  border: 1px solid #3b5d51;
  border-radius: 7px;
  background: #11251e;
  font-size: 13px;
  overflow-wrap: anywhere;
  letter-spacing: .08em;
}

dialog {
  position: fixed;
  border: 1px solid #3a5359;
  border-radius: 15px;
  padding: 30px;
  background: linear-gradient(140deg,#1a2b33,#101c23);
  color: var(--text);
  width: min(570px,calc(100% - 28px));
  max-height: 90dvh;
  box-shadow: 0 30px 120px #0008;
}

dialog::backdrop {
  background: #0009;
  backdrop-filter: blur(5px);
}

dialog h2 {
  font-size: 25px;
  margin-right: 25px;
}

dialog p.muted {
  font-size: 12px;
  line-height: 1.9;
}

dialog .eyebrow {
  font-size: 12px;
  margin-bottom: 10px;
}

.dialog-x {
  position: absolute;
  right: 12px;
  top: 12px;
  border: 0;
  background: none;
  color: #92acb6;
  font-size: 22px;
  padding: 4px 8px;
}

.dialog-x:hover {
  color: #bff4df;
  background: #32443e;
}

dialog label {
  margin-top: 14px;
}

.quote-summary {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 15px 25px;
  background: #12252a;
  border: 1px solid #34544c;
  border-radius: 10px;
  padding: 18px;
  margin: 25px 0;
  font-size: 12px;
}

.quote-summary>span {
  color: #86a29c;
}

.quote-summary>strong {
  text-align: right;
  font-weight: 450;
}

#auth-switch {
  margin-top: 12px;
}

.error-panel {
  max-width: 700px;
  margin: 60px auto;
  text-align: center;
}

#toast {
  position: fixed;
  bottom: 24px;
  left: calc(50% + var(--nav)/2);
  transform: translate(-50%,15px);
  opacity: 0;
  pointer-events: none;
  padding: 11px 20px;
  border: 1px solid #4c7666;
  border-radius: 10px;
  background: #20372f;
  color: #c7f5df;
  font-size: 12px;
  z-index: 100;
  max-width: min(600px,calc(100% - 30px));
  box-shadow: 0 10px 40px #0008;
  transition: opacity .2s,transform .2s;
}

#toast.visible {
  opacity: 1;
  transform: translate(-50%,0);
}

[hidden] {
  display: none !important;
}

@media (min-width:1700px) {
  :root {
    --nav: 220px;
  }
  .music-grid {
    grid-template-columns: minmax(390px,1.05fr) minmax(380px,1fr) minmax(355px,.85fr);
    gap: 16px;
  }
  #main {
    padding-inline: 30px;
  }
  .music-grid>.panel {
    padding: 20px;
  }
  .music-composer #lyrics {
    min-height: 260px;
  }
  .cover {
    aspect-ratio: 1.35;
  }
  .page-heading {
    margin-bottom: 22px;
  }
  .panel-title h2 {
    font-size: 21px;
  }
}

@media (max-width:1320px) {
  :root {
    --nav: 180px;
  }
  .sidebar {
    padding-inline: 9px;
  }
  .brand {
    font-size: 29px;
  }
  .nav-link {
    padding: 10px;
    gap: 11px;
    font-size: 12px;
  }
  .brand-caption {
    font-size: 12px;
    letter-spacing: 2.5px;
  }
  .topbar {
    padding-inline: 23px;
  }
  .top-actions {
    gap: 14px;
  }
  #main {
    padding-inline: 18px;
  }
  .music-grid {
    grid-template-columns: minmax(290px,1fr) minmax(285px,1fr);
    gap: 14px;
  }
  .assistant-column {
    grid-column: 1/-1;
  }
  .assistant-column strgo-assistant {
    height: 600px;
    min-height: 0;
  }
  .page-heading>.assistant-toggle {
    display: inline-flex;
    font-size: 12px;
  }
  .assistant-collapsed .music-grid {
    grid-template-columns: 1fr 1fr;
  }
  .page-heading>div {
    gap: 8px 17px;
  }
  .page-heading h1 {
    font-size: 31px;
  }
  .page-heading p {
    font-size: 12px;
  }
  .music-results {
    min-height: 0;
  }
  .cover {
    aspect-ratio: 1.1;
  }
  .node-indicator {
    display: none;
  }
  .asset-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .admin-tabs {
    gap: 20px;
  }
  .admin-lower {
    grid-template-columns: minmax(300px,1.3fr) minmax(250px,1fr);
  }
  .admin-lower>.panel {
    padding: 18px;
  }
  .chat-layout {
    grid-template-columns: 215px minmax(0,1fr);
  }
  .history {
    padding-inline: 12px;
  }
  .overview-card h2 {
    font-size: 23px;
  }
  .overview-card>div:last-child {
    padding-inline: 22px;
  }
  .chat-art {
    right: -20px;
  }
  .overview-bottom {
    grid-template-columns: 1.4fr 1fr;
  }
}

@media (min-width:1440px) and (max-width:1699px) {
  .music-grid {
    grid-template-columns: minmax(325px,1.05fr) minmax(315px,1fr) minmax(305px,.85fr);
  }
  .cover {
    aspect-ratio: 1.15;
  }
}

@media (max-width:1050px) {
  :root {
    --nav: 165px;
  }
  .sidebar {
    padding-inline: 8px;
  }
  .brand {
    font-size: 27px;
    gap: 5px;
    padding-inline: 5px;
  }
  .brand>span {
    font-size: 39px;
  }
  .brand-caption {
    padding-inline: 7px;
    letter-spacing: 2px;
    font-size: 12px;
  }
  .nav-link {
    font-size: 12px;
    gap: 9px;
  }
  .nav-link svg {
    width: 18px;
  }
  .account {
    gap: 7px;
  }
  .account>span:nth-child(2) {
    font-size: 12px;
  }
  .account small {
    font-size: 12px;
  }
  .account-avatar {
    width: 29px;
    height: 29px;
  }
  .back-home {
    font-size: 12px;
  }
  .topbar {
    height: 70px;
    padding: 0 18px;
  }
  .top-actions {
    gap: 10px;
  }
  .breadcrumb {
    gap: 12px;
    font-size: 12px;
  }
  .quota-pill {
    padding: 7px 9px;
    font-size: 12px;
  }
  .top-actions .account-avatar {
    width: 29px;
    height: 29px;
  }
  .page-heading {
    margin-inline: 0;
    margin-bottom: 15px;
  }
  .page-heading h1 {
    font-size: 28px;
  }
  .page-heading>div {
    display: block;
  }
  .page-heading p {
    margin-top: 6px;
  }
  .admin-lower {
    grid-template-columns: 1fr;
  }
  .overview-heading {
    margin-top: 22px;
  }
  .overview-heading h1 {
    font-size: 34px;
  }
  .overview-cards {
    grid-template-columns: 1fr 1fr;
    gap: 13px;
  }
  .overview-card {
    min-height: 310px;
  }
  .overview-card h2 {
    font-size: 20px;
  }
  .overview-card p {
    font-size: 12px;
  }
  .overview-card>div:last-child {
    padding: 125px 18px 20px;
  }
  .overview-card .card-index {
    left: 20px;
  }
  .overview-bottom {
    grid-template-columns: 1fr;
  }
  .quota-card {
    display: block;
  }
  .quota-metrics {
    gap: 70px;
  }
  .chat-layout {
    grid-template-columns: 185px minmax(0,1fr);
  }
  .history-open {
    font-size: 12px;
    padding-inline: 6px;
  }
  .settings-grid {
    grid-template-columns: 1fr 1.2fr;
    gap: 14px;
  }
  .settings-grid>.panel {
    padding: 18px;
  }
  .admin-tabs {
    gap: 17px;
  }
  .admin-tabs button {
    font-size: 12px;
  }
  .workspace-footer {
    margin-inline: 20px;
  }
  .table-wrap th,.table-wrap td {
    padding-inline: 14px;
  }
}

@media (max-width:780px) {
  :root {
    --nav: 0px;
  }
  .sidebar {
    width: 220px;
    transform: translateX(-100%);
    transition: transform .2s;
    padding: 24px 14px;
    box-shadow: 20px 0 50px #0007;
  }
  .nav-open .sidebar {
    transform: translateX(0);
  }
  .nav-open .workspace::after {
    content: '';
    position: fixed;
    inset: 66px 0 0 220px;
    background: #0008;
    z-index: 19;
  }
  .brand {
    font-size: 31px;
    gap: 10px;
  }
  .brand-caption {
    font-size: 12px;
    letter-spacing: 3px;
  }
  .nav-link {
    font-size: 13px;
    gap: 15px;
  }
  .nav-link svg {
    width: 22px;
  }
  .account>span:nth-child(2) {
    font-size: 13px;
  }
  .account small {
    font-size: 12px;
  }
  .account-avatar {
    width: 35px;
    height: 35px;
  }
  .back-home {
    font-size: 12px;
  }
  .workspace {
    margin: 0;
  }
  .topbar {
    height: 66px;
    padding-inline: 15px;
    gap: 10px;
  }
  #mobile-nav {
    display: flex;
    flex-shrink: 0;
    color: #b3c9cf;
  }
  .breadcrumb {
    margin-right: auto;
  }
  .breadcrumb>a,.breadcrumb>span {
    display: none;
  }
  .top-actions {
    gap: 10px;
  }
  .quota-pill {
    font-size: 12px;
    padding: 5px 9px;
    border-radius: 8px;
  }
  .quota-pill svg {
    width: 14px;
  }
  .top-actions .account-avatar {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }
  #main {
    padding-inline: 15px;
  }
  .music-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .music-grid>.panel {
    padding: 14px;
  }
  .music-composer label {
    font-size: 12px;
  }
  .music-composer input,.music-composer textarea {
    font-size: 12px;
  }
  .panel-title h2 {
    font-size: 17px;
  }
  .page-heading {
    margin-bottom: 18px;
  }
  .page-heading h1 {
    font-size: 28px;
  }
  .page-heading p {
    font-size: 12px;
  }
  .saved-label {
    font-size: 12px;
  }
  .music-composer #lyrics {
    min-height: 190px;
  }
  .track-heading h3 {
    font-size: 16px;
  }
  .track-heading .status {
    font-size: 12px;
    padding: 2px 5px;
  }
  .compact .track-heading {
    flex-wrap: wrap;
    gap: 3px;
  }
  .compact .track-heading .icon-button {
    position: absolute;
    right: 5px;
    top: 6px;
  }
  .compact {
    position: relative;
    gap: 7px;
  }
  .compact .mini-cover {
    width: 50px;
    height: 76px;
  }
  .composer-note {
    font-size: 12px;
  }
  .cover {
    aspect-ratio: 1;
  }
  .track-meta {
    font-size: 12px;
  }
  .duration-options button {
    font-size: 12px;
  }
  .segmented button {
    font-size: 12px;
  }
  .model-row select {
    font-size: 12px;
    padding: 9px 5px;
  }
  .model-row {
    font-size: 12px;
    gap: 7px;
  }
  .track-actions {
    gap: 5px;
  }
  .track-actions>* {
    font-size: 12px;
  }
  .overview-heading {
    margin: 20px 2px 28px;
  }
  .overview-heading h1 {
    font-size: 34px;
  }
  .overview-cards {
    gap: 13px;
  }
  .overview-card {
    min-height: 310px;
  }
  .overview-card>div:last-child {
    padding-inline: 20px;
  }
  .overview-card h2 {
    font-size: 21px;
  }
  .overview-bottom {
    margin-top: 16px;
    gap: 16px;
  }
  .asset-grid {
    gap: 14px;
  }
  .admin-heading {
    margin-top: 8px;
  }
  .admin-heading h1 {
    font-size: 27px;
  }
  .admin-heading .secondary {
    font-size: 12px;
    white-space: nowrap;
    padding: 8px 10px;
  }
  .admin-tabs {
    padding-inline: 0;
    gap: 20px;
    margin-bottom: 17px;
  }
  .admin-tabs button {
    font-size: 12px;
  }
  .admin-lower {
    margin-top: 16px;
    gap: 16px;
  }
  .service-banner {
    padding-inline: 16px;
    font-size: 12px;
  }
  .chat-layout {
    grid-template-columns: 190px minmax(0,1fr);
  }
  .history {
    padding: 16px 12px;
  }
  .chat-content {
    min-height: 600px;
    height: calc(100dvh - 96px);
  }
  .workspace-footer {
    font-size: 12px;
    margin-inline: 16px;
  }
  .workspace-footer span {
    font-size: 12px;
  }
  #toast {
    left: 50%;
  }
  .member-drawer {
    width: min(355px,100%);
  }
  .request-row {
    align-items: flex-start;
    flex-direction: column;
  }
  .request-row .button-row {
    width: 100%;
    justify-content: flex-end;
  }
  .settings-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width:580px) {
  .music-grid {
    grid-template-columns: 1fr;
  }
  .assistant-column {
    grid-column: auto;
  }
  .assistant-column strgo-assistant {
    height: 590px;
  }
  .music-composer #lyrics {
    min-height: 200px;
  }
  .music-results .empty {
    padding: 65px 10px;
  }
  .music-results {
    min-height: 350px;
  }
  .cover {
    aspect-ratio: 1.35;
  }
  .music-grid>.panel {
    padding: 17px;
  }
  .music-composer label {
    font-size: 12px;
  }
  .music-composer input,.music-composer textarea {
    font-size: 12px;
  }
  .music-grid .panel-title h2 {
    font-size: 19px;
  }
  .saved-label {
    font-size: 12px;
  }
  .segmented button {
    font-size: 12px;
  }
  .duration-options button {
    font-size: 12px;
  }
  .model-row select {
    font-size: 12px;
  }
  .composer-note {
    font-size: 12px;
  }
  .page-heading h1 {
    font-size: 27px;
  }
  .page-heading p {
    font-size: 12px;
    max-width: 230px;
  }
  .page-heading>.assistant-toggle {
    font-size: 12px;
    padding: 8px 9px;
    white-space: nowrap;
  }
  .track-heading h3 {
    font-size: 21px;
  }
  .track-heading .status {
    font-size: 12px;
  }
  .track-meta {
    font-size: 12px;
  }
  .track-actions>* {
    font-size: 12px;
    padding: 9px;
  }
  .compact .track-heading h3 {
    font-size: 14px;
  }
  .mini-cover {
    width: 70px;
    height: 70px;
  }
  .compact .mini-cover {
    width: 64px;
    height: 78px;
  }
  .compact .track-heading {
    flex-wrap: nowrap;
  }
  .compact .track-heading .icon-button {
    position: static;
  }
  .compact .track-meta {
    font-size: 12px;
  }
  .assistant-mobile-open .assistant-column {
    display: block;
    position: fixed;
    inset: 75px 10px 12px;
    z-index: 21;
    box-shadow: 0 0 0 100vw #0009;
    border-radius: 12px;
  }
  .assistant-mobile-open .assistant-column strgo-assistant {
    height: 100%;
  }
  .assistant-mobile-open.assistant-collapsed .assistant-column {
    display: block;
  }
  .assistant-collapsed .music-grid {
    grid-template-columns: 1fr;
  }
  .overview-heading .eyebrow {
    font-size: 12px;
    letter-spacing: .14em;
  }
  .overview-heading h1 {
    font-size: 31px;
  }
  .overview-heading>p:last-child {
    font-size: 12px;
  }
  .overview-cards {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .overview-card {
    min-height: 285px;
  }
  .overview-card>div:last-child {
    padding-top: 115px;
  }
  .overview-card h2 {
    font-size: 25px;
  }
  .overview-card p {
    font-size: 12px;
  }
  .chat-art {
    right: 25px;
    top: -5px;
    width: 170px;
    height: 170px;
  }
  .overview-bottom {
    gap: 14px;
  }
  .quota-card {
    padding: 21px;
  }
  .quota-metrics strong {
    font-size: 38px;
  }
  .asset-grid {
    grid-template-columns: 1fr;
  }
  .settings-grid {
    grid-template-columns: 1fr;
  }
  .settings-grid>.panel {
    padding: 22px;
  }
  .table-panel>.panel-title {
    padding-inline: 15px;
  }
  .table-panel>.panel-title p {
    font-size: 12px;
    max-width: 160px;
  }
  .model-cell {
    gap: 9px;
  }
  .provider-logo {
    width: 29px;
    height: 31px;
    font-size: 22px;
  }
  .model-cell small {
    max-width: 130px;
  }
  .model-cell strong {
    font-size: 12px;
  }
  .form-columns {
    gap: 10px;
  }
  .admin-lower>.panel {
    padding: 17px;
  }
  .admin-tabs {
    gap: 20px;
  }
  .admin-heading h1 {
    font-size: 25px;
  }
  .admin-heading p {
    font-size: 12px;
  }
  .admin-heading>.secondary {
    font-size: 12px;
    padding: 7px;
  }
  .admin-heading>.secondary svg {
    width: 12px;
  }
  .button-row>* {
    font-size: 12px;
    padding: 9px 10px;
  }
  .button-row>.text-button {
    padding: 6px 0;
  }
  .node-device {
    width: 48px;
    height: 48px;
  }
  .chat-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    min-height: calc(100dvh - 95px);
  }
  .history {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    border-right: 0;
    border-bottom: 1px solid #263b43;
    padding: 10px 15px;
    background: #111d23;
  }
  .history>.primary {
    width: auto;
    font-size: 12px;
    padding: 8px 12px;
    flex-shrink: 0;
  }
  .history>.primary svg {
    width: 13px;
  }
  .history .search-field,.history>.eyebrow,.history-foot {
    display: none;
  }
  #conversation-list {
    display: flex;
    overflow: auto;
    scrollbar-width: none;
    min-width: 0;
    gap: 7px;
  }
  .history-row {
    margin: 0;
    flex-shrink: 0;
    max-width: 170px;
  }
  .history-open {
    font-size: 12px;
    padding: 7px;
  }
  .history-open svg {
    width: 12px;
  }
  .history-delete {
    font-size: 12px;
    padding: 4px;
  }
  .chat-content {
    height: calc(100dvh - 150px);
    min-height: 530px;
  }
  .chat-main {
    min-height: 0;
  }
  .workspace-footer {
    padding-top: 10px;
    font-size: 12px;
  }
  .workspace-footer span {
    font-size: 12px;
  }
  .topbar {
    gap: 8px;
    padding-inline: 12px;
  }
  .quota-pill {
    display: none;
  }
  .breadcrumb {
    font-size: 12px;
    min-width: 0;
    flex: 1;
  }
  .breadcrumb strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .top-actions {
    gap: 9px;
    flex-shrink: 0;
  }
  .workspace-footer {
    flex-wrap: wrap;
    gap: 8px;
  }
  .top-actions .account-avatar {
    width: 25px;
    height: 25px;
    font-size: 12px;
  }
  .privacy-note {
    font-size: 12px;
  }
  .service-banner {
    font-size: 12px;
    padding: 7px 14px;
  }
  dialog {
    padding: 25px 20px;
  }
  dialog h2 {
    font-size: 22px;
  }
  .quote-summary {
    gap: 14px 16px;
    font-size: 12px;
    padding: 15px;
  }
  .workspace-footer svg {
    width: 10px;
  }
  .reconcile-row {
    font-size: 12px;
    gap: 9px;
  }
}

@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}
