/* styles/tokens/color.css */
:root {
  --hub-grid-columns: 4;
  --hub-project-card-ratio: 4 / 3;
  --hub-card-shell-inset: 8px;
  --hub-card-info-min-height: 56px;
  --bg: #0b0b0c;
  --panel: rgba(28, 28, 29, 0.96);
  --panel-2: rgba(36, 36, 38, 0.96);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #f4f5f7;
  --muted: rgba(255, 255, 255, 0.55);
  --blue: #2da7ff;
  --shadow-tight: 0 10px 24px rgba(0, 0, 0, 0.16);
  --shadow-soft: 0 16px 38px rgba(0, 0, 0, 0.2);
  --shadow-float: 0 22px 52px rgba(0, 0, 0, 0.24);
  --shadow-dialog: 0 28px 72px rgba(0, 0, 0, 0.28);
}

/* styles/foundation/base.css */
html {
  color-scheme: dark;
}
html,
body {
  margin: 0;
  min-height: 100%;
}
* {
  box-sizing: border-box;
}
body {
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background: var(--bg);
  color: var(--text);
}
button,
input,
textarea {
  font: inherit;
}
button {
  border: 0;
}

/* styles/foundation/app.css */
.app-root {
  min-height: 100vh;
  outline: none;
}
.screen {
  display: none;
}
.screen.active {
  display: block;
}
.empty-state {
  display: grid;
  place-items: center;
  color: var(--muted);
}

/* styles/foundation/accessibility.css */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 300;
  padding: 10px 14px;
  border-radius: 12px;
  background: #ffffff;
  color: #111111;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform 160ms ease;
}
.skip-link:focus-visible {
  transform: translateY(0);
}
button,
input,
textarea {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
button:focus-visible {
  outline: 2px solid rgba(45, 167, 255, 0.95);
  outline-offset: 2px;
}
input:focus-visible,
textarea:focus-visible {
  outline: none;
}
.project-search::placeholder,
.workspace-title-input::placeholder,
.project-inline-rename-input::placeholder,
.hub-dialog-input::placeholder,
#promptInput::placeholder {
  color: rgba(255, 255, 255, 0.48);
}
.hub-dialog-back:focus-visible,
.hub-settings-entry:focus-visible,
.hub-settings-accordion-summary:focus-visible,
.hub-dialog-button:focus-visible,
.team-panel-item:focus-visible,
.project-tool-icon:focus-visible,
.top-nav-button:focus-visible,
.scope-switch-button:focus-visible,
.hub-selection-close:focus-visible,
.hub-selection-icon:focus-visible,
.tool-chip:focus-visible,
.small-chip:focus-visible,
.project-inline-rename:focus-visible,
.filter-option:focus-visible {
  outline: none;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.hub-dialog-overlay,
.context-menu {
  overscroll-behavior: contain;
}
body.shadowless-ui *,
body.shadowless-ui *::before,
body.shadowless-ui *::after {
  box-shadow: none !important;
}

/* styles/layout/topbar.css */
.project-topbar,
.project-subbar,
.project-topbar-left,
.project-topbar-right,
.project-tabs,
.brand-lockup,
.top-nav,
.project-tools-right {
  --hub-shell-padding-x: clamp(20px, 2.4vw, 36px);
  --hub-topbar-height: clamp(54px, 4vw, 58px);
  --hub-subbar-height: clamp(56px, 4.2vw, 62px);
  --hub-toolbar-gap: clamp(10px, 1.1vw, 16px);
  --hub-topbar-right-gap: clamp(10px, 1vw, 14px);
  --hub-brand-gap: clamp(6px, 0.8vw, 8px);
  --hub-brand-size: clamp(15px, 1.2vw, 17px);
}
.project-topbar,
.project-subbar,
.project-topbar-left,
.project-topbar-right,
.project-tabs,
.brand-lockup,
.top-nav,
.project-tools-right {
  display: flex;
  align-items: center;
}
.project-topbar,
.project-subbar {
  justify-content: space-between;
  padding: 0 var(--hub-shell-padding-x);
}
.project-topbar {
  min-height: var(--hub-topbar-height);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  z-index: 60;
}
.project-subbar {
  min-height: var(--hub-subbar-height);
  position: relative;
  z-index: 40;
  overflow: visible;
}
.project-topbar-left,
.project-topbar-right,
.project-tabs,
.brand-lockup,
.top-nav,
.project-tools-right {
  gap: var(--hub-toolbar-gap);
}
.project-topbar-right {
  gap: var(--hub-topbar-right-gap);
}
.brand-lockup strong {
  font-size: var(--hub-brand-size);
  line-height: 1;
  letter-spacing: 0.01em;
}
.brand-lockup {
  gap: var(--hub-brand-gap);
}
.hub-brand-copy {
  display: flex;
  align-items: center;
  margin-left: 0;
}
.top-nav span,
.project-topbar-right span {
  color: var(--muted);
}
.top-nav .active {
  color: white;
  font-weight: 600;
}

/* styles/components/banners.css */
.status-banner {
  position: fixed;
  left: 50%;
  top: 18px;
  transform: translateX(-50%);
  z-index: 100;
  min-width: 160px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(20, 20, 20, 0.9);
  border: 1px solid var(--line);
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  pointer-events: none;
  opacity: 0;
  transition: opacity 160ms ease;
}
.status-banner.visible {
  opacity: 1;
}
.app-update-banner {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%) translateY(18px);
  z-index: 160;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 320px;
  max-width: calc(100vw - 32px);
  padding: 10px 12px 10px 14px;
  border-radius: 14px;
  background: rgba(18, 18, 20, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
  color: #f4f5f6;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}
.app-update-banner.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.app-update-copy {
  font-size: 13px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.82);
}
.app-update-button {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid rgba(184, 232, 255, 0.2);
  background: rgba(120, 185, 214, 0.14);
  color: #d8f3ff;
  font-size: 13px;
  font-weight: 600;
}
.app-update-button:hover,
.app-update-button:focus-visible {
  background: rgba(120, 185, 214, 0.22);
  border-color: rgba(184, 232, 255, 0.32);
}

/* styles/components/account.css */
.account-overlay {
  position: fixed;
  inset: 0;
  z-index: 1400;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}
.account-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}
.account-scrim {
  position: absolute;
  inset: 0;
  background: rgba(6, 7, 9, 0.58);
}
.account-quick-menu {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1401;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, -6px, 0) scale(0.985);
  transform-origin: top right;
  transition: opacity 180ms ease, transform 180ms cubic-bezier(0.22, 1, 0.36, 1);
}
.account-quick-menu.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(0, 0, 0) scale(1);
}
.account-quick-card {
  width: 192px;
  border-radius: 14px;
  padding: 8px;
  background:
    linear-gradient(
      180deg,
      rgba(35, 35, 38, 0.985),
      rgba(27, 27, 30, 0.985));
  border: 1px solid rgba(137, 145, 168, 0.26);
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(20px);
}
.account-quick-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 2px 2px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.account-quick-avatar,
.account-console-member-avatar,
.account-profile-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background:
    linear-gradient(
      135deg,
      #6be5b1,
      #6f79ff 55%,
      #ffb774);
  color: #fff;
  font-weight: 700;
}
.account-quick-avatar {
  width: 30px;
  height: 30px;
  border: 1.5px solid rgba(255, 255, 255, 0.48);
}
.account-quick-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.account-quick-copy strong {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.96);
}
.account-quick-copy span {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.46);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.account-quick-list {
  display: grid;
  gap: 4px;
  padding-top: 8px;
}
.account-quick-item {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 8px;
  border-radius: 10px;
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
  text-align: left;
  font-size: 13px;
  font-weight: 700;
  transition:
    background-color 160ms ease,
    color 160ms ease,
    border-color 160ms ease;
}
.account-quick-item-icon {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.88);
}
.account-quick-item.active {
  background: rgba(255, 255, 255, 0.12);
}
.account-quick-divider {
  height: 1px;
  margin-top: 4px;
  background: rgba(255, 255, 255, 0.08);
}
.account-quick-item.danger {
  color: #ff8f8f;
}
.account-console {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(1040px, calc(100vw - 108px));
  height: min(680px, calc(100vh - 108px));
  border-radius: 26px;
  background:
    linear-gradient(
      180deg,
      rgba(20, 20, 22, 0.99),
      rgba(13, 13, 15, 0.99));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 38px 90px rgba(0, 0, 0, 0.44);
  display: grid;
  grid-template-columns: 214px minmax(0, 1fr);
  overflow: hidden;
}
.account-console-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.82);
  z-index: 2;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
}
.account-console-sidebar {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 14px 8px 12px;
  background: rgba(31, 31, 33, 0.98);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}
.account-console-sidebar-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 2px 8px 0;
}
.account-console-sidebar-avatar {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background:
    linear-gradient(
      135deg,
      #6be5b1,
      #6f79ff 55%,
      #ffb774);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}
.account-console-sidebar-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.account-console-sidebar-copy strong {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.96);
}
.account-console-sidebar-copy span {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.account-console-nav-groups {
  display: grid;
  gap: 10px;
}
.account-console-nav-group {
  display: grid;
  gap: 6px;
}
.account-console-nav-group-label {
  padding: 0 10px;
  font-size: 10px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.36);
}
.account-console-nav {
  display: grid;
  gap: 4px;
}
.account-console-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 0 10px;
  border-radius: 12px;
  background: transparent;
  color: rgba(255, 255, 255, 0.84);
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}
.account-console-nav-item.active {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  box-shadow: inset 2px 0 0 rgba(255, 255, 255, 0.82);
}
.account-console-nav-icon {
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.account-console-nav-item.danger {
  color: #ff6767;
}
.account-console-sidebar-footer {
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.account-console-main {
  padding: 16px 18px 16px;
  overflow: auto;
}
.account-console-section {
  display: grid;
  gap: 12px;
}
.account-console-page-head {
  display: grid;
  gap: 4px;
}
.account-console-page-head h3 {
  margin: 0;
  font-size: 20px;
  color: rgba(255, 255, 255, 0.98);
}
.account-console-page-head p {
  margin: 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.48);
}
.account-console-balance-card {
  min-width: 0;
  display: grid;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.032);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.account-console-balance-card span,
.account-console-team-meta-card span {
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}
.account-console-balance-card strong,
.account-console-team-meta-card strong {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.98);
}
.account-console-balance-card em {
  font-style: normal;
  color: rgba(255, 255, 255, 0.48);
}
.account-console-plan-tabs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  min-height: 40px;
  padding: 4px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.account-console-plan-tab {
  min-height: 30px;
  padding: 0 12px;
  border-radius: 10px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.68);
}
.account-console-plan-tab.active {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.account-console-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.account-console-plan-card {
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 284px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.94);
  text-align: left;
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}
.account-console-plan-card.featured {
  background:
    radial-gradient(
      circle at top right,
      rgba(91, 175, 255, 0.18),
      transparent 34%),
    rgba(255, 255, 255, 0.05);
}
.account-console-plan-kicker {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}
.account-console-plan-price {
  font-size: 24px;
  font-weight: 700;
}
.account-console-plan-meta {
  color: rgba(255, 255, 255, 0.56);
}
.account-console-plan-action {
  margin-top: auto;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 12px;
  background: rgba(255, 255, 255, 0.92);
  color: #0d0f12;
  font-weight: 700;
}
.account-model-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
.account-model-grid.compact {
  gap: 8px;
}
.account-model-panel {
  display: grid;
  gap: 0;
  padding: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
.account-model-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  list-style: none;
  cursor: pointer;
}
.account-model-panel-head::-webkit-details-marker {
  display: none;
}
.account-model-panel-head strong {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.96);
}
.account-model-panel-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.account-model-caret {
  width: 8px;
  height: 8px;
  border-right: 1.4px solid rgba(255, 255, 255, 0.6);
  border-bottom: 1.4px solid rgba(255, 255, 255, 0.6);
  transform: rotate(45deg) translateY(-1px);
  transition: transform 160ms ease;
}
.account-model-panel[open] .account-model-caret {
  transform: rotate(225deg) translateY(-1px);
}
.account-model-panel-body {
  padding: 0 12px 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.account-model-status {
  min-height: 20px;
  padding: 0 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
}
.account-model-status.ready {
  background: rgba(74, 180, 125, 0.16);
  color: #8ef0b1;
}
.account-model-status.idle {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.62);
}
.account-model-form-grid {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}
.account-model-form-grid.two-column {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.account-model-field {
  display: grid;
  gap: 4px;
}
.account-model-field.full {
  grid-column: 1 / -1;
}
.account-model-label {
  font-size: 10px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
}
.account-model-input {
  width: 100%;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.94);
}
.account-model-input:focus-visible {
  outline: 1px solid rgba(255, 255, 255, 0.22);
  outline-offset: 0;
}
.account-model-actions {
  display: flex;
  justify-content: flex-start;
}
.account-model-actions.compact {
  display: flex;
  justify-content: flex-end;
}
.account-credit-overview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.account-credit-stat-card {
  min-width: 0;
  display: grid;
  gap: 5px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.032);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.account-credit-stat-card.compact {
  background: rgba(255, 255, 255, 0.026);
}
.account-credit-stat-card.emphasis {
  background:
    radial-gradient(
      circle at top right,
      rgba(88, 156, 255, 0.18),
      transparent 58%),
    rgba(255, 255, 255, 0.04);
}
.account-credit-stat-card span {
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}
.account-credit-stat-card strong {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.98);
}
.account-credit-stat-card em {
  font-style: normal;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.48);
}
.account-credit-config-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  gap: 8px;
}
.account-credit-panel {
  display: grid;
  gap: 10px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.account-credit-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.account-credit-panel-head strong {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.95);
}
.account-credit-panel-head span {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.44);
}
.account-credit-member-list,
.account-credit-ledger-list {
  display: grid;
  gap: 6px;
}
.account-credit-member-row,
.account-credit-ledger-row {
  display: grid;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.028);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.account-credit-member-row,
.account-credit-ledger-row {
  grid-template-columns: minmax(0, 1fr) auto;
}
.account-credit-member-main {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.account-credit-member-avatar {
  width: 32px;
  height: 32px;
  font-size: 12px;
  flex: 0 0 auto;
}
.account-credit-member-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}
.account-credit-member-copy strong,
.account-credit-ledger-row strong {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.95);
}
.account-credit-member-copy span,
.account-credit-ledger-row span {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.46);
}
.account-credit-input {
  width: 108px;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.94);
  text-align: right;
  font-size: 12px;
}
.account-credit-input:focus-visible {
  outline: 1px solid rgba(255, 255, 255, 0.18);
  outline-offset: 0;
}
.account-credit-badge {
  min-height: 28px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.account-credit-badge.fixed {
  color: rgba(255, 255, 255, 0.88);
}
.account-credit-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 2px;
}
.account-credit-hint {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.46);
}
.account-credit-ledger-row em {
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  color: #8fd0ff;
}
.account-credit-ledger-empty {
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.42);
  font-size: 12px;
}
.account-profile-layout {
  display: none;
}
.account-profile-panel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.account-profile-avatar-block {
  display: flex;
  align-items: center;
  justify-content: center;
}
.account-profile-avatar {
  width: 52px;
  height: 52px;
  font-size: 18px;
}
.account-profile-identity {
  display: grid;
  gap: 6px;
}
.account-profile-identity strong {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.98);
}
.account-profile-identity span {
  color: rgba(255, 255, 255, 0.48);
}
.account-profile-fields,
.account-profile-fields.bind {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.account-console-field-group {
  display: grid;
  gap: 6px;
}
.account-console-label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}
.account-console-field.readonly,
.account-console-search.readonly {
  min-height: 34px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 10px;
  font-size: 12px;
  background: rgba(255, 255, 255, 0.028);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
}
.account-console-input {
  min-height: 34px;
  width: 100%;
  padding: 0 10px;
  border-radius: 10px;
  font-size: 12px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.92);
}
.account-console-inline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}
.account-console-role-chip {
  min-height: 30px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 11px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.74);
}
.account-session-panel {
  display: grid;
  gap: 12px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.028);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.account-session-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.account-session-panel-head strong {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.96);
}
.account-session-panel-head span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}
.account-session-list {
  display: grid;
  gap: 10px;
}
.account-session-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.account-session-row.current {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
}
.account-session-main {
  min-width: 0;
  display: grid;
  gap: 6px;
}
.account-session-copy,
.account-session-meta {
  display: grid;
  gap: 4px;
}
.account-session-copy strong {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.96);
}
.account-session-copy span,
.account-session-meta span,
.account-session-meta em {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.52);
}
.account-session-meta em {
  font-style: normal;
  color: rgba(255, 255, 255, 0.72);
}
.account-session-badge {
  min-height: 32px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  font-weight: 600;
}
.account-console-team-headline,
.account-console-team-switch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.account-console-team-switch span {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.46);
}
.account-console-team-brand,
.account-console-member-toolbar-actions {
  display: flex;
  align-items: center;
}
.account-console-team-brand,
.account-console-member-main {
  gap: 10px;
}
.account-console-team-badge {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background:
    linear-gradient(
      135deg,
      rgba(111, 163, 194, 0.92),
      rgba(71, 117, 224, 0.9));
  color: white;
  font-size: 18px;
  font-weight: 700;
}
.account-console-team-brand-copy {
  display: grid;
  gap: 4px;
}
.account-console-team-brand-copy strong {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.96);
}
.account-console-team-brand-copy span {
  color: rgba(255, 255, 255, 0.44);
}
.account-console-primary {
  min-height: 32px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex: 0 0 auto;
  min-width: max-content;
  border-radius: 10px;
  font-size: 12px;
  background: #31a9ef;
  color: white;
  font-weight: 700;
  white-space: nowrap;
}
.account-console-primary svg {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
}
.account-console-primary.ghost {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.92);
}
.account-console-team-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(140px, 1fr));
  gap: 8px;
}
.account-console-invite-panel {
  display: grid;
  gap: 12px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.032);
  border: 1px solid rgba(255, 255, 255, 0.07);
}
.account-console-invite-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.account-console-invite-head strong {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.94);
}
.account-console-invite-head span {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.48);
}
.account-console-invite-controls {
  display: grid;
  grid-template-columns: minmax(180px, 220px) minmax(0, 1fr) minmax(160px, 200px);
  gap: 10px;
  align-items: end;
}
.account-console-invite-link {
  word-break: break-all;
  white-space: normal;
}
.account-console-team-meta-card {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.account-console-member-panel {
  display: grid;
  gap: 8px;
}
.account-console-member-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 6px;
}
.account-console-member-toolbar strong {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.92);
}
.account-console-member-toolbar span {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.46);
}
.account-console-member-table {
  display: grid;
  gap: 6px;
}
.account-console-member-row {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.92fr) minmax(150px, auto);
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.account-console-member-avatar {
  width: 36px;
  height: 36px;
  font-size: 14px;
}
.account-console-member-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.account-console-member-copy strong {
  font-size: 15px;
  line-height: 1.15;
  color: rgba(255, 255, 255, 0.96);
}
.account-console-member-copy span,
.account-console-member-metric span {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
}
.account-console-member-metric {
  display: grid;
  gap: 4px;
  justify-items: start;
}
.account-console-member-metric strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #4ec5ff;
  font-size: 13px;
}
.account-console-member-metric strong svg {
  width: 24px;
  height: 24px;
}
.account-console-member-quota {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.account-console-member-quota em {
  font-style: normal;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.64);
}
.account-console-member-quota-inline {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.account-console-member-quota-inline.single {
  gap: 8px;
}
.account-console-member-mini-input,
.account-console-member-mini-select {
  min-height: 28px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.9);
  font-size: 11px;
}
.account-console-member-mini-input {
  width: 60px;
  padding: 0 8px;
}
.account-console-member-mini-input.amount {
  width: 82px;
}
.account-console-member-mini-select,
.account-console-member-select {
  appearance: none;
  background-repeat: no-repeat;
}
.account-console-member-mini-select {
  padding: 0 24px 0 8px;
  background-image:
    linear-gradient(
      45deg,
      transparent 50%,
      rgba(255, 255, 255, 0.62) 50%),
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.62) 50%,
      transparent 50%);
  background-position: calc(100% - 14px) 11px, calc(100% - 9px) 11px;
  background-size: 5px 5px, 5px 5px;
}
.account-console-member-mini-input:focus-visible,
.account-console-member-mini-select:focus-visible,
.account-console-member-select:focus-visible {
  outline: 1px solid rgba(255, 255, 255, 0.2);
  outline-offset: 0;
}
.account-console-member-quota-unit {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.54);
}
.account-console-member-role-wrap {
  justify-self: end;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.account-console-member-select {
  min-width: 132px;
  min-height: 32px;
  padding: 0 32px 0 10px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background-color: rgba(255, 255, 255, 0.035);
  color: rgba(255, 255, 255, 0.9);
  font-size: 11px;
  background-image:
    linear-gradient(
      45deg,
      transparent 50%,
      rgba(255, 255, 255, 0.62) 50%),
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.62) 50%,
      transparent 50%);
  background-position: calc(100% - 18px) 13px, calc(100% - 12px) 13px;
  background-size: 6px 6px, 6px 6px;
}
.account-console-member-select:disabled {
  opacity: 0.72;
  cursor: not-allowed;
  border-color: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.52);
}
.account-console-member-select.role {
  min-width: 140px;
}
.account-console-member-role {
  min-height: 28px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 11px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.76);
}
.account-console-empty {
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.48);
}
.account-console-primary:focus-visible,
.account-console-nav-item:focus-visible,
.account-console-plan-card:focus-visible,
.account-quick-item:focus-visible,
.account-console-close:focus-visible {
  outline: 1px solid rgba(255, 255, 255, 0.2);
  outline-offset: 0;
}
.account-console-primary:hover,
.account-console-plan-card:hover,
.account-quick-item:hover,
.account-console-close:hover {
  background-color: rgba(255, 255, 255, 0.08);
}
.account-console-nav-item:hover {
  background-color: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.98);
}
.account-console-nav-item.active:hover {
  background-color: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.account-console-plan-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.18);
}
@media (max-width: 980px) {
  .account-console-invite-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .account-console-invite-controls {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* styles/components/auth.css */
.auth-screen {
  display: none;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  background: #06070a;
}
.auth-screen.active {
  display: flex;
}
.auth-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(420px, 0.65fr);
  width: 100%;
  min-height: 100vh;
}
.auth-wallpaper-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  background:
    radial-gradient(
      circle at 18% 24%,
      rgba(255, 154, 56, 0.15),
      transparent 30%),
    radial-gradient(
      circle at 76% 28%,
      rgba(94, 126, 255, 0.15),
      transparent 32%),
    linear-gradient(
      140deg,
      #0b0a10 0%,
      #0f1222 44%,
      #09090d 100%);
}
.auth-showcase,
.auth-side {
  position: relative;
  min-width: 0;
}
.auth-showcase {
  overflow: hidden;
}
.auth-background-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(6, 8, 13, 0.08) 0%,
      rgba(6, 8, 13, 0.14) 30%,
      rgba(6, 8, 13, 0.28) 72%,
      rgba(6, 8, 13, 0.42) 100%),
    linear-gradient(
      180deg,
      rgba(6, 8, 13, 0.06),
      rgba(6, 8, 13, 0.24));
}
.auth-showcase-copy {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: center;
  gap: 14px;
  min-height: 100%;
  padding: clamp(48px, 6vw, 82px);
  padding-right: clamp(36px, 4vw, 72px);
}
.auth-showcase-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(12, 14, 22, 0.34);
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.auth-showcase-copy h2 {
  margin: 0;
  max-width: 640px;
  font-size: clamp(34px, 4.6vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.055em;
  font-weight: 700;
  text-wrap: balance;
}
.auth-showcase-copy p {
  margin: 0;
  max-width: 520px;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(16px, 1.35vw, 22px);
  line-height: 1.45;
}
.auth-side {
  display: grid;
  align-items: center;
}
.auth-side::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at top left,
      rgba(255, 255, 255, 0.04),
      transparent 22%),
    linear-gradient(
      180deg,
      rgba(6, 8, 13, 0.56) 0%,
      rgba(6, 8, 13, 0.76) 100%),
    linear-gradient(
      90deg,
      rgba(6, 8, 13, 0.18) 0%,
      rgba(6, 8, 13, 0.46) 100%);
  pointer-events: none;
}
.auth-shell {
  position: relative;
  z-index: 2;
  width: min(100%, 468px);
  margin-inline: auto;
  background: transparent;
}
.auth-panel-stack {
  position: relative;
  min-height: 548px;
}
.auth-panel {
  display: grid;
  gap: 18px;
  padding: 34px 34px 28px;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.auth-panel-register {
  padding-top: 12px;
}
.auth-panel-page {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(26px, 0, 0);
  transition: opacity 260ms cubic-bezier(0.22, 1, 0.36, 1), transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}
.auth-panel-page.active {
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
}
.auth-panel-head,
.auth-copy,
.auth-form,
.auth-field-group,
.auth-identity-card,
.auth-code-row,
.auth-identity-card-row {
  display: grid;
}
.auth-panel-head {
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 32px;
}
.auth-panel-head-spacer {
  width: 24px;
  height: 24px;
}
.auth-panel-brand {
  display: inline-flex;
  align-items: center;
  justify-self: center;
  gap: 10px;
  justify-self: center;
  font-size: 15px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.82);
}
.auth-panel-brand-mark {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  border-radius: 10px;
  background:
    linear-gradient(
      180deg,
      rgba(22, 36, 47, 0.94),
      rgba(12, 20, 28, 0.96));
  border: 1px solid rgba(181, 229, 255, 0.18);
  color: #dff4ff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.auth-panel-brand-mark svg {
  width: 16px;
  height: 16px;
}
.auth-copy {
  gap: 10px;
  text-align: center;
  padding: 6px 18px 2px;
}
.auth-copy h2 {
  margin: 0;
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 700;
}
.auth-copy p,
.auth-inline-hint,
.auth-invite-copy span {
  color: rgba(255, 255, 255, 0.56);
}
.auth-copy p {
  margin: 0;
  font-size: 15px;
  line-height: 1.35;
}
.auth-form {
  gap: 14px;
}
.auth-panel-login .auth-form {
  gap: 12px;
  margin-top: 2px;
}
.auth-field-group {
  gap: 8px;
}
.auth-label {
  padding: 0 2px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.74);
}
.auth-legal-links,
.auth-divider,
.auth-lead-actions {
  display: grid;
}
.auth-divider {
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  color: rgba(255, 255, 255, 0.28);
  font-size: 13px;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}
.auth-input,
.auth-submit,
.auth-secondary-button,
.auth-code-button,
.auth-back-button,
.auth-close-button,
.auth-text-button {
  border-radius: 999px;
}
.auth-input {
  min-height: 46px;
  width: 100%;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.96);
  font-size: 14px;
}
.auth-input::placeholder {
  color: rgba(255, 255, 255, 0.28);
}
.auth-input-wrap {
  position: relative;
}
.auth-input-wrap .auth-input {
  padding-right: 42px;
}
.auth-input-suffix {
  position: absolute;
  right: 14px;
  top: 50%;
  width: 20px;
  height: 20px;
  transform: translateY(-50%);
  background: transparent;
  color: rgba(255, 255, 255, 0.42);
  display: grid;
  place-items: center;
}
.auth-input-suffix::before {
  content: "";
  width: 16px;
  height: 10px;
  border: 1.5px solid currentColor;
  border-radius: 999px;
  display: block;
}
.auth-input-suffix::after {
  content: "";
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: currentColor;
}
.auth-input-suffix.visible {
  color: rgba(255, 255, 255, 0.76);
}
.auth-identity-card {
  padding: 8px 14px;
  gap: 6px;
}
.auth-identity-card-row {
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
}
.auth-identity-card strong {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.03em;
}
.auth-identity-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.56);
}
.auth-inline-action,
.auth-text-button,
.auth-back-button,
.auth-close-button {
  background: transparent;
  color: rgba(255, 255, 255, 0.62);
  padding: 0;
  font-size: 16px;
}
.auth-back-button {
  justify-self: start;
}
.auth-close-button {
  justify-self: end;
  font-size: 32px;
  line-height: 1;
}
.auth-code-row {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}
.auth-code-button {
  min-width: 128px;
  min-height: 46px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  font-weight: 500;
}
.auth-submit,
.auth-secondary-button {
  min-height: 46px;
  font-size: 15px;
  font-weight: 600;
}
.auth-submit {
  margin-top: 4px;
  background: #f7f7f7;
  color: #121212;
}
.auth-secondary-button {
  background: transparent;
  border: 0;
  color: rgba(255, 255, 255, 0.76);
  min-height: auto;
  font-size: 14px;
  font-weight: 500;
  justify-self: end;
}
.auth-text-button {
  justify-self: start;
  font-size: 14px;
  font-weight: 500;
}
.auth-panel-switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: -2px;
}
.auth-panel-register .auth-copy {
  padding-top: 0;
  padding-bottom: 0;
}
.auth-panel-register .auth-panel-switch-row {
  margin-top: -12px;
}
.auth-panel-register .auth-form {
  margin-top: -2px;
}
.auth-panel-switch-spacer {
  min-width: 84px;
  min-height: 1px;
}
.auth-inline-switch {
  color: rgba(255, 255, 255, 0.82);
}
.auth-form-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 20px;
  margin-top: -2px;
}
.auth-legal-links {
  grid-auto-flow: column;
  justify-content: center;
  gap: 6px;
}
.auth-legal-link {
  background: transparent;
  color: rgba(255, 255, 255, 0.44);
  font-size: 12px;
  padding: 0;
}
.auth-inline-hint {
  min-height: 18px;
  padding: 0 4px;
  font-size: 13px;
  text-align: center;
}
.auth-invite-card {
  display: none;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.auth-invite-card.visible {
  display: grid;
}
.auth-invite-copy {
  display: grid;
  gap: 4px;
}
.auth-invite-code {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.76);
}
.auth-input:focus-visible,
.auth-submit:focus-visible,
.auth-secondary-button:focus-visible,
.auth-provider-button:focus-visible,
.auth-code-button:focus-visible,
.auth-back-button:focus-visible,
.auth-close-button:focus-visible,
.auth-inline-action:focus-visible,
.auth-text-button:focus-visible {
  outline: 1px solid rgba(255, 255, 255, 0.2);
  outline-offset: 0;
}
.auth-submit:hover,
.auth-secondary-button:hover,
.auth-provider-button:hover,
.auth-code-button:hover {
  background-color: rgba(255, 255, 255, 0.08);
}
.auth-submit:hover {
  background: #e8e8e8;
}
.auth-provider-button:hover,
.auth-code-button:hover {
  background-color: rgba(255, 255, 255, 0.14);
}
.auth-secondary-button:hover,
.auth-back-button:hover,
.auth-close-button:hover,
.auth-inline-action:hover,
.auth-text-button:hover,
.auth-legal-link:hover {
  color: rgba(255, 255, 255, 0.92);
  background: transparent;
}

/* styles/components/brand.css */
.brand-mark {
  width: var(--hub-brand-mark-size);
  height: var(--hub-brand-mark-size);
  border-radius: 14px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(
      180deg,
      rgba(24, 40, 52, 0.98),
      rgba(14, 22, 30, 0.98));
  color: #d9f1ff;
  border: 1px solid rgba(173, 225, 255, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 8px 20px rgba(0, 0, 0, 0.18);
}
.brand-mark svg {
  width: 72%;
  height: 72%;
}
.brand-mark.small {
  width: 26px;
  height: 26px;
  border-radius: 9px;
  font-size: 12px;
}

/* styles/components/chips.css */
.top-chip,
.tool-chip,
.small-chip {
  height: var(--hub-control-height);
  padding: 0 clamp(12px, 1vw, 16px);
  border-radius: var(--hub-control-radius);
  background: rgba(255, 255, 255, 0.08);
  color: #f1f1f1;
  cursor: pointer;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    color 160ms ease;
}
.icon-chip {
  width: 36px;
  height: 36px;
  padding: 0;
  font-size: 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.tool-chip.strong {
  background: rgba(255, 255, 255, 0.12);
}
.tool-chip.strong:hover,
.tool-chip.strong:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

/* styles/components/navigation.css */
.project-search {
  width: 100%;
  height: var(--hub-control-height);
  padding: 0 clamp(12px, 0.9vw, 14px);
  padding-left: clamp(34px, 2.8vw, 40px);
  border-radius: var(--hub-control-radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
  color: white;
  font-size: var(--hub-nav-size);
}
.top-nav-button {
  height: clamp(34px, 2.6vw, 36px);
  padding: 0 clamp(12px, 0.9vw, 14px);
  border-radius: clamp(10px, 0.9vw, 12px);
  background: transparent;
  color: rgba(255, 255, 255, 0.48);
  cursor: pointer;
  transition:
    color 240ms cubic-bezier(0.22, 1, 0.36, 1),
    background-color 180ms ease,
    transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  z-index: 1;
  font-size: var(--hub-nav-size);
}
.top-nav-button.active {
  color: white;
}
.top-nav-button:hover,
.top-nav-button:focus-visible {
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.05);
}
.top-nav-button:active {
  transform: scale(0.98);
}
.top-nav-button::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  transform: translateX(-50%);
  transition: width 220ms cubic-bezier(0.22, 1, 0.36, 1), opacity 160ms ease;
  opacity: 0;
}
.top-nav-button.active::after {
  width: 22px;
  opacity: 1;
}
#workspaceNavButton {
  min-width: clamp(82px, 6.4vw, 92px);
  justify-content: center;
}
.top-nav {
  position: relative;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  overflow: visible;
  gap: clamp(4px, 0.45vw, 6px);
}
.top-nav-indicator {
  display: none;
}
.scope-switch {
  height: clamp(34px, 2.6vw, 36px);
  padding: 3px;
  border-radius: clamp(10px, 0.85vw, 11px);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: inline-flex;
  align-items: center;
  gap: clamp(3px, 0.3vw, 4px);
  position: relative;
  --scope-indicator-left: 0px;
  --scope-indicator-width: 60px;
}
.scope-switch-button {
  height: clamp(26px, 2vw, 28px);
  padding: 0 clamp(12px, 0.9vw, 14px);
  border-radius: clamp(8px, 0.7vw, 9px);
  color: rgba(255, 255, 255, 0.42);
  background: transparent;
  font-size: var(--hub-meta-size);
  font-weight: 500;
  transition: color 220ms cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  z-index: 1;
}
.scope-switch-button:hover,
.scope-switch-button:focus-visible {
  color: #fff;
}
.scope-switch-button.active {
  color: #fff;
}
.scope-switch:hover,
.scope-switch:focus-within {
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.03);
}
.scope-switch-indicator {
  position: absolute;
  top: 3px;
  left: 0;
  height: calc(100% - 6px);
  width: var(--scope-indicator-width);
  transform: translateX(var(--scope-indicator-left));
  border-radius: clamp(8px, 0.7vw, 9px);
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.15),
      rgba(255, 255, 255, 0.08));
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1), width 220ms cubic-bezier(0.22, 1, 0.36, 1);
}
.team-switch-trigger {
  min-width: clamp(144px, 12vw, 164px);
  height: clamp(32px, 2.5vw, 34px);
  padding: 0 clamp(8px, 0.8vw, 10px) 0 clamp(6px, 0.55vw, 7px);
  border-radius: clamp(10px, 0.9vw, 12px);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.92);
  display: inline-flex;
  align-items: center;
  gap: clamp(6px, 0.6vw, 8px);
  cursor: pointer;
  opacity: 1;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}
.team-switch-trigger:disabled {
  opacity: 1;
  cursor: pointer;
}
.team-switch-trigger:hover,
.team-switch-trigger.open {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}
.team-switch-trigger-badge,
.team-switch-trigger-icon {
  flex: 0 0 auto;
}
.team-switch-trigger-name {
  display: block;
  text-align: left;
  font-weight: 600;
  font-size: var(--hub-meta-size);
  line-height: 1;
}
.team-switch-trigger-copy {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  text-align: left;
}
.team-switch-trigger-subline {
  color: rgba(255, 255, 255, 0.42);
  font-size: clamp(10px, 0.75vw, 11px);
}
.team-switch-trigger-icon {
  width: clamp(12px, 0.95vw, 14px);
  height: clamp(12px, 0.95vw, 14px);
  color: rgba(255, 255, 255, 0.5);
  transition: transform 180ms ease;
}
.team-switch-trigger.open .team-switch-trigger-icon {
  transform: rotate(180deg);
}
.project-search-wrap {
  position: relative;
  width: var(--hub-search-width);
  transition: width 220ms cubic-bezier(0.22, 1, 0.36, 1);
  flex: 0 0 auto;
}
.project-tools-right {
  gap: clamp(10px, 0.8vw, 12px);
  justify-content: flex-end;
  flex: 0 0 auto;
  min-width: max-content;
  margin-left: auto;
}
.project-tools-right.folder-mode {
  gap: clamp(10px, 0.8vw, 12px);
}
.project-search-wrap:focus-within {
  width: var(--hub-search-width-focus);
  z-index: 2;
}
.project-search-wrap:hover .project-search,
.project-search-wrap:focus-within .project-search {
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.03);
}
.project-search-icon {
  position: absolute;
  left: clamp(12px, 0.9vw, 14px);
  top: 50%;
  width: clamp(14px, 1vw, 16px);
  height: clamp(14px, 1vw, 16px);
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.42);
  pointer-events: none;
}
.project-search-icon svg {
  width: 100%;
  height: 100%;
}
.project-tool-icon {
  width: var(--hub-control-height);
  height: var(--hub-control-height);
  border-radius: clamp(10px, 0.85vw, 11px);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.68);
  position: relative;
  z-index: 8;
}
.project-tool-icon:hover,
.project-tool-icon:focus-visible {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.03);
}
.project-tool-icon.tool-icon-button::after {
  content: none;
  display: none;
}
.project-tool-icon.tool-icon-button:hover,
.project-tool-icon.tool-icon-button:focus-visible {
  transform: none;
}
.tool-group {
  display: flex;
  align-items: center;
  gap: 0;
  min-height: var(--hub-control-height);
}

/* styles/components/tooltips.css */
.tool-icon-button {
  position: relative;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition:
    transform 180ms cubic-bezier(0.22, 1, 0.36, 1),
    background-color 180ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 180ms cubic-bezier(0.22, 1, 0.36, 1),
    color 180ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 180ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 180ms cubic-bezier(0.22, 1, 0.36, 1);
}
.tool-icon-button svg {
  width: 17px;
  height: 17px;
  display: block;
  margin: auto;
  flex: 0 0 auto;
}
.tool-icon-button::after {
  content: attr(data-tooltip);
  position: absolute;
  left: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) scale(0.96);
  transform-origin: left center;
  padding: 7px 10px;
  border-radius: 10px;
  background: rgba(18, 18, 19, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-tight);
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  letter-spacing: 0.1px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  z-index: 60;
  transition: opacity 160ms cubic-bezier(0.22, 1, 0.36, 1), transform 160ms cubic-bezier(0.22, 1, 0.36, 1);
}
.tool-icon-button:hover::after,
.tool-icon-button:focus-visible::after {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}
.tool-icon-button:hover,
.tool-icon-button:focus-visible {
  transform: none;
}

/* styles/motion.css */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
  .project-card:hover,
  .tool-icon-button:hover,
  .workspace-bottom-left .tool-icon-button:hover,
  .project-card:hover .project-card-cover {
    transform: none !important;
  }
}

/* styles/themes/dark.css */
html[data-ui-theme=dark] {
  color-scheme: dark;
}

/* styles/theme.css */

/* styles.css */
