:root {
  color-scheme: dark;
  --zinc-950: #09090b;
  --zinc-900: #18181b;
  --zinc-800: #27272a;
  --zinc-500: #71717a;
  --zinc-400: #a1a1aa;
  --zinc-300: #d4d4d8;
  --zinc-200: #e4e4e7;
  --zinc-100: #f4f4f5;
  --teal-300: #e879f9;
  --teal-200: #f0abfc;
  --red-500: #ef4444;
  --red-400: #f87171;
  --red-300: #fca5a5;
  --red-200: #fecaca;
  --red-100: #fee2e2;
  --red-950: #450a0a;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background:
    radial-gradient(circle at 18% 12%, rgb(217 70 239 / 0.13), transparent 24rem),
    radial-gradient(circle at 84% 18%, rgb(216 180 254 / 0.08), transparent 26rem),
    #08080a;
  color: var(--zinc-50, #fafafa);
}

body::before,
body::after {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: "";
}

body::before {
  z-index: 0;
  opacity: 0.72;
  background-image:
    radial-gradient(circle, rgb(255 255 255 / 0.76) 0 1px, transparent 1.7px),
    radial-gradient(circle, rgb(232 121 249 / 0.46) 0 1px, transparent 1.7px),
    radial-gradient(circle, rgb(255 255 255 / 0.44) 0 1px, transparent 1.7px);
  background-position: 0 0, 38px 52px, 74px 22px;
  background-size: 126px 126px, 184px 184px, 238px 238px;
}

body::after {
  z-index: 0;
  width: 180px;
  height: 1px;
  margin: 14vh 0 0 76vw;
  opacity: 0;
  transform: rotate(-24deg) translateX(0);
  background: linear-gradient(90deg, transparent, rgb(240 171 252 / 0.82), transparent);
  filter: drop-shadow(0 0 8px rgb(232 121 249 / 0.46));
  animation: shooting-star 9s ease-in-out infinite;
}

@keyframes shooting-star {
  0%,
  78% {
    opacity: 0;
    transform: rotate(-24deg) translateX(0);
  }

  81% {
    opacity: 0.85;
  }

  88% {
    opacity: 0;
    transform: rotate(-24deg) translateX(-58vw);
  }

  100% {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  body::after {
    animation: none;
  }
}

body > main {
  position: relative;
  z-index: 1;
}

.landing-page {
  background: transparent;
}

.landing-grid {
  align-items: start;
  padding: clamp(34px, 6vh, 54px) 0 30px;
}

.landing-title {
  max-width: 640px;
  margin: 0;
  font-size: clamp(2.55rem, 4.5vw, 3.9rem);
  line-height: 1.04;
}

.landing-summary {
  margin-top: 18px;
}

.landing-value-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.landing-value-line span {
  border: 1px solid rgb(217 70 239 / 0.22);
  border-radius: 999px;
  background: rgb(217 70 239 / 0.08);
  color: var(--teal-200);
  font-size: 0.76rem;
  font-weight: 780;
  padding: 7px 10px;
}

.landing-panel p {
  margin-bottom: 0;
}

.landing-panel {
  backdrop-filter: blur(12px);
}

.landing-product-preview {
  display: grid;
  gap: 18px;
}

.landing-preview-wheel {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  width: min(100%, 360px);
  margin: 0 auto;
  border: 1px solid rgb(217 70 239 / 0.2);
  border-radius: 18px;
  background: #07101e;
  box-shadow: 0 24px 80px rgb(0 0 0 / 0.32);
  overflow: hidden;
}

.landing-preview-wheel img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.landing-preview-chat {
  border-top: 1px solid rgb(255 255 255 / 0.1);
  padding-top: 16px;
}

.landing-preview-chat h2 {
  max-width: 360px;
  margin: 0;
  color: #fff;
  font-size: clamp(1.35rem, 3vw, 1.8rem);
  line-height: 1.12;
}

.landing-chat-bubble {
  max-width: 390px;
  margin-top: 12px;
  border-radius: 14px;
  color: var(--zinc-100);
  font-size: 0.88rem;
  line-height: 1.45;
  padding: 12px 13px;
}

.landing-chat-bubble.is-user {
  margin-left: auto;
  background: rgb(255 255 255 / 0.08);
}

.landing-chat-bubble.is-assistant {
  border: 1px solid rgb(217 70 239 / 0.18);
  background: rgb(217 70 239 / 0.08);
}

.landing-points p {
  margin: 0;
  border-top: 1px solid rgb(255 255 255 / 0.08);
  padding-top: 11px;
  line-height: 1.45;
}

.landing-sections {
  display: grid;
  gap: 22px;
  padding: 20px 0 54px;
}

.landing-section {
  max-width: 760px;
  border-top: 1px solid rgb(255 255 255 / 0.1);
  padding-top: 30px;
}

.landing-section h2,
.landing-closing h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  line-height: 1.05;
}

.landing-section p,
.landing-closing p {
  max-width: 700px;
  margin: 16px 0 0;
  color: var(--zinc-300);
  line-height: 1.65;
}

.landing-feature-grid {
  display: grid;
  gap: 12px;
}

.landing-feature-grid article,
.landing-closing {
  border: 1px solid rgb(255 255 255 / 0.085);
  border-radius: 14px;
  background: rgb(255 255 255 / 0.035);
  backdrop-filter: blur(10px);
}

.landing-feature-grid article {
  padding: 16px;
}

.landing-feature-grid span {
  color: var(--teal-300);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.landing-feature-grid h3 {
  margin: 12px 0 0;
  color: #fff;
  font-size: 1.05rem;
}

.landing-feature-grid p {
  margin: 9px 0 0;
  color: var(--zinc-400);
  font-size: 0.9rem;
  line-height: 1.55;
}

.landing-closing {
  padding: clamp(22px, 5vw, 34px);
}

.landing-closing a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: 20px;
  border-radius: 11px;
  background: var(--teal-300);
  color: var(--zinc-950);
  font-size: 0.9rem;
  font-weight: 820;
  padding: 0 18px;
}

@media (min-width: 768px) {
  .landing-grid {
    padding-top: clamp(48px, 9vh, 68px);
  }

  .landing-feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.auth-page {
  display: grid;
  min-height: 100dvh;
  background:
    linear-gradient(135deg, rgb(16 16 16 / 0.82), rgb(8 8 10 / 0.72)),
    transparent;
  color: #fff;
}

.auth-shell {
  display: flex;
  flex-direction: column;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0;
}

.auth-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  color: #fff;
}

.auth-brand strong,
.auth-brand small {
  display: block;
}

.auth-brand strong {
  font-size: 0.95rem;
}

.auth-brand small {
  margin-top: 2px;
  color: var(--zinc-400);
  font-size: 0.72rem;
}

.auth-panel {
  display: grid;
  gap: 20px;
  align-items: stretch;
  margin: auto 0;
  padding: 34px 0;
}

.auth-copy,
.auth-form-card {
  border: 1px solid rgb(255 255 255 / 0.09);
  border-radius: 18px;
  background: rgb(255 255 255 / 0.025);
}

.auth-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 300px;
  padding: 28px;
}

.auth-kicker {
  margin: 0 0 14px;
  color: var(--teal-300);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.auth-copy h1 {
  max-width: 520px;
  margin: 0;
  color: #fff;
  font-size: clamp(2.1rem, 5vw, 4.8rem);
  line-height: 0.96;
}

.auth-copy p:last-child {
  max-width: 520px;
  margin: 20px 0 0;
  color: var(--zinc-300);
  font-size: 1rem;
  line-height: 1.65;
}

.auth-form-card {
  align-self: center;
  width: 100%;
  padding: 22px;
}

.auth-form {
  display: grid;
  gap: 14px;
}

.auth-form label {
  display: grid;
  gap: 8px;
}

.auth-form span {
  color: var(--zinc-300);
  font-size: 0.84rem;
  font-weight: 650;
}

.auth-form .auth-password-label {
  align-items: center;
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.auth-password-label a {
  color: var(--teal-200);
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
}

.auth-password-label a:hover {
  text-decoration: underline;
}

.auth-form input {
  width: 100%;
  height: 46px;
  border: 1px solid rgb(255 255 255 / 0.11);
  border-radius: 12px;
  background: #191919;
  color: #fff;
  outline: none;
  padding: 0 13px;
}

.auth-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  border: 0;
  border-radius: 12px;
  background: var(--teal-300);
  color: var(--zinc-950);
  cursor: pointer;
  font-weight: 800;
}

.checkout-link {
  display: block;
  width: 100%;
  border-radius: 6px;
  background: #75ddd1;
  padding: 13px 16px;
  color: #101415;
  text-align: center;
  font-size: 0.96rem;
  font-weight: 700;
}

.checkout-link:hover {
  background: #99e9df;
}

.auth-switch,
.auth-legal {
  color: var(--zinc-400);
}

.auth-switch {
  margin: 18px 0 0;
  font-size: 0.92rem;
}

.auth-legal {
  margin: 14px 0 0;
  font-size: 0.75rem;
  line-height: 1.55;
}

.auth-switch a,
.auth-legal a {
  color: var(--teal-200);
  font-weight: 700;
}

.auth-alert {
  margin-bottom: 14px;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 0.86rem;
  line-height: 1.45;
}

.auth-alert.is-error {
  border: 1px solid rgb(248 113 113 / 0.3);
  background: rgb(69 10 10 / 0.45);
  color: var(--red-100);
}

.auth-alert.is-notice {
  border: 1px solid rgb(217 70 239 / 0.24);
  background: rgb(217 70 239 / 0.08);
  color: var(--teal-100);
}

@media (min-width: 840px) {
  .auth-panel {
    grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  }

  .auth-form-card {
    padding: 28px;
  }
}

.guide-page {
  min-height: 100dvh;
  background:
    linear-gradient(135deg, rgb(16 16 16 / 0.88), rgb(10 10 12 / 0.78)),
    transparent;
  color: var(--zinc-100);
  padding: 20px max(18px, calc((100% - 1160px) / 2));
}

.guide-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid rgb(255 255 255 / 0.08);
  padding-bottom: 16px;
}

.guide-header-actions {
  display: flex;
  gap: 8px;
}

.guide-header-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  border: 1px solid rgb(255 255 255 / 0.11);
  border-radius: 11px;
  color: var(--zinc-200);
  font-size: 0.86rem;
  font-weight: 700;
  padding: 0 14px;
}

.guide-header-actions a:hover {
  background: rgb(255 255 255 / 0.07);
}

.guide-header-actions .is-primary {
  border-color: var(--teal-300);
  background: var(--teal-300);
  color: var(--zinc-950);
}

.guide-intro {
  max-width: 740px;
  padding: clamp(42px, 8vw, 76px) 0 42px;
}

.guide-kicker {
  margin: 0 0 12px;
  color: var(--teal-300);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.guide-intro h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(2.3rem, 6vw, 4.2rem);
  font-weight: 730;
  line-height: 1.02;
}

.guide-intro > p:last-child {
  margin: 20px 0 0;
  color: var(--zinc-300);
  font-size: 1.04rem;
  line-height: 1.65;
}

.guide-layout {
  display: grid;
  gap: 34px;
  align-items: start;
}

.guide-toc {
  display: none;
}

.guide-article {
  display: grid;
  gap: 44px;
  min-width: 0;
  padding-bottom: 56px;
}

.app-guide-article {
  max-width: 980px;
  padding-bottom: 32px;
}

.guide-section {
  scroll-margin-top: 20px;
}

.guide-section h2 {
  margin: 0 0 15px;
  color: #fff;
  font-size: clamp(1.35rem, 3vw, 1.7rem);
  line-height: 1.18;
}

.guide-section h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 1.05rem;
}

.guide-section > p:not(.guide-kicker),
.guide-section li {
  color: var(--zinc-300);
  font-size: 0.95rem;
  line-height: 1.62;
}

.guide-formula {
  display: grid;
  gap: 10px;
}

.guide-formula div,
.guide-grid div,
.guide-aspects div {
  border: 1px solid rgb(255 255 255 / 0.085);
  border-radius: 10px;
  background: rgb(255 255 255 / 0.025);
  padding: 13px 14px;
}

.guide-formula > span {
  display: none;
}

.guide-formula strong,
.guide-grid strong,
.guide-aspects strong {
  color: #fff;
  font-size: 0.91rem;
}

.guide-formula p,
.guide-grid p,
.guide-aspects p {
  margin: 7px 0 0;
  color: var(--zinc-400);
  font-size: 0.84rem;
  line-height: 1.48;
}

.guide-example {
  margin: 16px 0 0;
  border-left: 2px solid var(--teal-300);
  padding: 2px 0 2px 16px;
}

.guide-example strong {
  color: #fff;
}

.guide-definitions {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
}

.guide-definitions div {
  display: grid;
  gap: 4px;
  border-top: 1px solid rgb(255 255 255 / 0.08);
  padding-top: 12px;
}

.guide-definitions dt {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
}

.guide-definitions dd {
  margin: 0;
  color: var(--zinc-400);
  font-size: 0.86rem;
  line-height: 1.5;
}

.guide-grid,
.guide-aspects,
.guide-two-column {
  display: grid;
  gap: 10px;
}

.guide-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.guide-grid-houses strong {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: rgb(217 70 239 / 0.11);
  color: var(--teal-200);
}

.guide-aspects {
  margin-top: 20px;
}

.guide-two-column {
  margin-top: 22px;
}

.guide-two-column p {
  margin: 0;
  color: var(--zinc-300);
  font-size: 0.92rem;
  line-height: 1.62;
}

.guide-method ol {
  display: grid;
  gap: 13px;
  margin: 20px 0;
  padding-left: 19px;
}

.guide-method li strong {
  color: #fff;
}

.guide-disclosure {
  border: 1px solid rgb(217 70 239 / 0.2);
  border-radius: 10px;
  background: rgb(217 70 239 / 0.055);
  padding: 14px 15px;
}

.guide-callout {
  border-top: 1px solid rgb(255 255 255 / 0.1);
  padding: 34px 0 0;
}

.guide-callout h2 {
  margin: 0;
  color: #fff;
  font-size: 1.55rem;
}

.guide-callout p {
  max-width: 650px;
  margin: 14px 0 22px;
  color: var(--zinc-300);
  line-height: 1.65;
}

.guide-callout a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  border-radius: 11px;
  background: var(--teal-300);
  color: var(--zinc-950);
  font-size: 0.9rem;
  font-weight: 800;
  padding: 0 18px;
}

@media (min-width: 680px) {
  .guide-formula {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
  }

  .guide-formula > span {
    display: block;
    color: var(--zinc-500);
    font-size: 1.25rem;
  }

  .guide-grid-planets,
  .guide-grid-signs,
  .guide-grid-houses {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .guide-aspects {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guide-two-column {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
  }
}

@media (min-width: 920px) {
  .guide-layout {
    grid-template-columns: 184px minmax(0, 780px);
  }

  .guide-toc {
    position: sticky;
    top: 22px;
    display: grid;
    gap: 4px;
    border-left: 1px solid rgb(255 255 255 / 0.1);
    padding: 8px 0 8px 16px;
  }

  .guide-toc a {
    border-radius: 8px;
    color: var(--zinc-400);
    font-size: 0.84rem;
    padding: 7px 8px;
  }

  .guide-toc a:hover {
    background: rgb(255 255 255 / 0.06);
    color: #fff;
  }
}

.app-shell {
  display: grid;
  height: 100dvh;
  min-height: 100dvh;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgb(16 16 16 / 0.78), rgb(10 10 12 / 0.68)),
    transparent;
  color: var(--zinc-50, #fafafa);
}

.tray-state {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.app-sidebar {
  display: none;
  min-height: 0;
  border-right: 1px solid rgb(255 255 255 / 0.08);
  background: rgb(34 34 34 / 0.82);
  backdrop-filter: blur(14px);
  padding: 16px 12px;
}

.app-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 6px 8px 18px;
  color: #fff;
}

.app-brand-mark {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--teal-300);
  color: var(--zinc-950);
  font-weight: 850;
}

.app-brand strong,
.app-brand small {
  display: block;
}

.app-brand strong {
  font-size: 0.92rem;
  line-height: 1.1;
}

.app-brand small {
  margin-top: 2px;
  color: var(--zinc-400);
  font-size: 0.68rem;
}

.app-nav {
  display: grid;
  gap: 4px;
  margin-top: 8px;
}

.app-nav a,
.app-sidebar-footer a,
.app-sidebar-footer button {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--zinc-300);
  cursor: pointer;
  font-size: 0.9rem;
  padding: 8px 10px;
  text-align: left;
}

.app-nav a:hover,
.app-sidebar-footer a:hover,
.app-sidebar-footer button:hover,
.app-nav a[aria-current="page"] {
  background: rgb(255 255 255 / 0.08);
  color: #fff;
}

.app-nav span {
  display: inline-grid;
  place-items: center;
  width: 18px;
  color: var(--zinc-400);
}

.app-sidebar-footer {
  align-self: end;
  margin-top: auto;
  padding-top: 18px;
}

.app-sidebar-footer p {
  overflow: hidden;
  margin: 0 0 8px;
  color: var(--zinc-500);
  font-size: 0.78rem;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 0 10px;
}

.app-workspace {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100dvh;
  min-height: 100dvh;
  overflow: hidden;
}

.app-topbar {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 62px;
  border-bottom: 1px solid rgb(255 255 255 / 0.08);
  background: rgb(18 18 18 / 0.78);
  backdrop-filter: blur(14px);
  padding: 10px 14px;
}

.app-tray-button {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgb(255 255 255 / 0.12);
  border-radius: 10px;
  background: rgb(255 255 255 / 0.04);
  color: var(--zinc-300);
  cursor: pointer;
  font-size: 0.9rem;
}

.app-tray-button:hover {
  background: rgb(255 255 255 / 0.08);
  color: #fff;
}

.app-title-group {
  flex: 1 1 auto;
  min-width: 0;
}

.app-title-group p {
  margin: 0 0 3px;
  color: var(--zinc-500);
  font-size: 0.68rem;
  font-weight: 760;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.app-title-group h1 {
  overflow: hidden;
  margin: 0;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 680;
  line-height: 1.18;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-topbar-actions {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 8px;
}

.app-action,
.app-action-danger,
.app-action-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  border: 1px solid rgb(255 255 255 / 0.12);
  border-radius: 11px;
  background: rgb(255 255 255 / 0.04);
  color: var(--zinc-100);
  font-size: 0.84rem;
  font-weight: 700;
  padding: 0 12px;
}

button.app-action {
  cursor: pointer;
  font-family: inherit;
}

.app-action:hover,
.app-action-danger:hover {
  background: rgb(255 255 255 / 0.08);
}

.app-action-primary {
  border-color: rgb(217 70 239 / 0.42);
  background: var(--teal-300);
  color: var(--zinc-950);
}

.app-action-danger {
  color: var(--red-200);
}

.app-content {
  display: grid;
  flex: 1 1 auto;
  grid-template-rows: minmax(0, 1fr) auto;
  min-height: 0;
}

.app-main-panel,
.app-context-panel,
.app-context-panel-wrap {
  min-width: 0;
  min-height: 0;
}

.app-main-panel {
  overflow-y: auto;
  padding: 16px;
}

.app-context-panel-wrap {
  border-top: 1px solid rgb(255 255 255 / 0.08);
  background: rgb(21 21 21 / 0.82);
  backdrop-filter: blur(14px);
}

.app-context-panel {
  max-height: min(58dvh, 440px);
  overflow-y: auto;
  padding: 14px;
}

.mobile-chart-nav {
  display: flex;
  flex-shrink: 0;
  gap: 7px;
  overflow-x: auto;
  border-bottom: 1px solid rgb(255 255 255 / 0.08);
  background: rgb(15 15 16 / 0.78);
  backdrop-filter: blur(14px);
  padding: 8px 10px;
  scrollbar-width: none;
}

.mobile-chart-nav::-webkit-scrollbar {
  display: none;
}

.mobile-chart-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.04);
  color: var(--zinc-300);
  flex: 0 0 auto;
  font-size: 0.78rem;
  font-weight: 760;
  padding: 0 12px;
}

.mobile-chart-nav a[aria-current="page"],
.mobile-chart-nav a:hover {
  border-color: rgb(217 70 239 / 0.34);
  background: rgb(217 70 239 / 0.13);
  color: #fff;
}

.workspace-card,
.context-card {
  border: 1px solid rgb(255 255 255 / 0.085);
  border-radius: 14px;
  background: rgb(255 255 255 / 0.035);
  backdrop-filter: blur(10px);
}

.workspace-card {
  padding: 14px;
}

.context-card {
  padding: 14px;
}

.new-chart-card {
  display: grid;
  gap: 18px;
  max-width: 760px;
}

.new-chart-intro h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.08;
}

.new-chart-intro p:last-child {
  max-width: 620px;
  margin: 10px 0 0;
  color: var(--zinc-400);
  line-height: 1.55;
}

.new-chart-form {
  display: grid;
  gap: 14px;
}

.new-chart-form label {
  display: grid;
  gap: 7px;
  color: var(--zinc-300);
  font-size: 0.84rem;
  font-weight: 650;
}

.new-chart-form input,
.new-chart-form select,
.new-chart-form textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: 10px;
  background: rgb(24 24 27 / 0.78);
  color: #fff;
  font: inherit;
  outline: none;
  padding: 0 12px;
}

.new-chart-form input:focus,
.new-chart-form select:focus,
.new-chart-form textarea:focus {
  border-color: rgb(217 70 239 / 0.42);
  box-shadow: 0 0 0 3px rgb(217 70 239 / 0.12);
}

.form-grid-2 {
  display: grid;
  gap: 14px;
}

.current-location-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid rgb(255 255 255 / 0.08);
  border-radius: 12px;
  background: rgb(24 24 27 / 0.48);
  padding: 12px;
}

.current-location-card p {
  margin: 0;
  color: #fff;
  font-weight: 760;
}

.current-location-card small {
  display: block;
  margin-top: 4px;
  color: var(--zinc-400);
  line-height: 1.4;
}

.current-location-card button,
.new-chart-form > button[type="submit"] {
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.current-location-card button {
  flex: 0 0 auto;
  min-height: 42px;
  background: rgb(255 255 255 / 0.12);
  color: #fff;
  padding: 0 14px;
}

.new-chart-form > button[type="submit"] {
  min-height: 44px;
  background: var(--teal-300);
  color: var(--zinc-950);
}

.credits-workspace {
  display: grid;
  gap: 14px;
  max-width: 920px;
}

.credits-hero,
.credit-purchase-card,
.credit-cost-strip {
  border: 1px solid rgb(255 255 255 / 0.085);
  border-radius: 14px;
  background: rgb(255 255 255 / 0.03);
}

.credits-hero {
  padding: clamp(20px, 4vw, 30px);
}

.credits-hero h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(2.4rem, 8vw, 5.3rem);
  line-height: 0.95;
}

.credits-hero p:not(.context-kicker) {
  max-width: 680px;
  margin: 16px 0 0;
  color: var(--zinc-300);
  font-size: 1rem;
  line-height: 1.6;
}

.credit-purchase-card {
  display: grid;
  gap: 18px;
  align-items: center;
  padding: clamp(18px, 3vw, 24px);
}

.credit-purchase-card h2,
.credit-purchase-card p {
  margin: 0;
}

.credit-purchase-card h2 {
  color: #fff;
  font-size: clamp(1.3rem, 3vw, 1.7rem);
}

.credit-purchase-card p:not(.context-kicker),
.credit-unavailable {
  color: var(--zinc-400);
  line-height: 1.55;
}

.credit-purchase-card p:not(.context-kicker) {
  margin-top: 8px;
}

.credit-buy-button {
  width: 100%;
  min-height: 48px;
  border-radius: 13px;
  font-size: 0.95rem;
}

.credit-buy-button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.credit-unavailable {
  margin: -8px 0 0;
  font-size: 0.86rem;
}

.credit-cost-strip {
  display: grid;
  gap: 0;
  overflow: hidden;
}

.credit-cost-strip div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid rgb(255 255 255 / 0.07);
  padding: 13px 15px;
}

.credit-cost-strip div:first-child {
  border-top: 0;
}

.credit-cost-strip span {
  color: var(--zinc-400);
  font-size: 0.84rem;
}

.credit-cost-strip strong {
  color: #fff;
  font-size: 0.92rem;
}

@media (min-width: 760px) {
  .credit-purchase-card {
    grid-template-columns: minmax(0, 1fr) minmax(190px, 0.36fr);
  }

  .credit-cost-strip {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .credit-cost-strip div {
    display: grid;
    align-content: start;
    border-top: 0;
    border-left: 1px solid rgb(255 255 255 / 0.07);
    min-height: 92px;
  }

  .credit-cost-strip div:first-child {
    border-left: 0;
  }
}

.context-card + .context-card {
  margin-top: 12px;
}

.context-kicker {
  margin: 0 0 8px;
  color: var(--zinc-500);
  font-size: 0.68rem;
  font-weight: 760;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.context-card h2,
.context-card h3 {
  margin: 0;
  color: #fff;
  font-size: 0.95rem;
}

.context-card p,
.context-list {
  color: var(--zinc-400);
  font-size: 0.84rem;
  line-height: 1.55;
}

.context-card p {
  margin: 8px 0 0;
}

.context-list {
  display: grid;
  gap: 8px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.chart-workspace-grid {
  display: grid;
  gap: 14px;
}

.chart-wheel-card {
  overflow: hidden;
}

.chart-wheel-frame {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 0.08);
  border-radius: 12px;
  background: #07101d;
}

.chart-wheel-frame img,
.chart-wheel-frame svg {
  display: block;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.chart-wheel-frame img {
  width: 172%;
  transform: translateX(-24%);
}

.chart-wheel-frame svg {
  width: 100%;
  max-width: 100%;
  transform: none;
  transform-origin: left center;
}

.library-header {
  margin-bottom: 16px;
}

.library-header p {
  margin: 0;
  color: var(--zinc-400);
  font-size: 0.9rem;
}

.library-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  align-items: start;
  justify-content: start;
}

.library-card {
  width: 100%;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 0.085);
  border-radius: 12px;
  background: rgb(255 255 255 / 0.025);
}

.library-card > a {
  display: block;
  padding: 8px;
}

.library-card > a:hover {
  background: rgb(255 255 255 / 0.03);
}

.library-chart-preview {
  aspect-ratio: 1 / 0.82;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 0.09);
  border-radius: 10px;
  background: #07101d;
}

.library-chart-preview img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transform: none;
}

.library-card-body {
  padding: 9px 2px 0;
}

.library-card h2 {
  overflow: hidden;
  margin: 0;
  color: #fff;
  font-size: 0.9rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.library-card p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  margin: 7px 0 0;
  color: var(--zinc-400);
  font-size: 0.74rem;
  line-height: 1.45;
}

.library-card small {
  display: block;
  margin-top: 6px;
  color: var(--zinc-500);
  font-size: 0.66rem;
}

.library-card-kicker {
  margin: 0 0 6px !important;
  color: var(--teal-300) !important;
  font-size: 0.68rem !important;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.library-card-actions {
  display: flex;
  justify-content: flex-end;
  gap: 4px;
  border-top: 1px solid rgb(255 255 255 / 0.07);
  padding: 7px 8px 8px;
}

.library-card-actions a,
.library-card-actions button {
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--zinc-300);
  cursor: pointer;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 6px 7px;
}

.library-card-actions a:hover,
.library-card-actions button:hover {
  background: rgb(255 255 255 / 0.08);
  color: #fff;
}

.library-card-actions .is-danger,
.library-card-actions button.is-danger {
  color: var(--red-200);
}

.library-section {
  margin-top: 22px;
}

.library-section-heading {
  margin-bottom: 10px;
}

.library-section-heading h2 {
  margin: 2px 0 0;
  font-size: 1rem;
}

.reading-library-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  background: #07101d;
  color: var(--teal-300);
  font-size: 2rem;
  font-weight: 850;
}

.empty-library {
  max-width: 520px;
}

.empty-library h2 {
  margin: 0;
}

.empty-library p {
  color: var(--zinc-400);
  line-height: 1.6;
}

.app-account-link {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--zinc-300);
  font-size: 0.8rem;
  text-decoration: none;
}

.app-account-link:hover {
  color: #fff;
}

.account-card {
  display: grid;
  gap: 12px;
  max-width: 680px;
  margin-bottom: 16px;
}

.account-card h2,
.account-card p {
  margin: 0;
}

.account-card p:not(.context-kicker) {
  color: var(--zinc-300);
  line-height: 1.6;
}

.account-card .app-action-danger {
  justify-self: start;
  margin-top: 8px;
}

.account-delete-page {
  display: grid;
  min-height: 100dvh;
  padding: 24px;
  place-items: center;
  background:
    linear-gradient(135deg, rgb(16 16 16 / 0.86), rgb(10 10 12 / 0.78)),
    transparent;
  color: #fff;
}

.account-delete-card {
  display: grid;
  gap: 16px;
  width: min(100%, 540px);
  border: 1px solid rgb(248 113 113 / 0.32);
  border-radius: 14px;
  background: rgb(21 21 21 / 0.86);
  padding: clamp(22px, 5vw, 32px);
}

.account-delete-card h1,
.account-delete-card p {
  margin: 0;
}

.account-delete-card > p:not(.context-kicker) {
  color: var(--zinc-300);
  line-height: 1.62;
}

.account-delete-card form,
.account-delete-card label {
  display: grid;
  gap: 10px;
}

.account-delete-card label span {
  color: var(--zinc-300);
  font-size: 0.85rem;
  font-weight: 700;
}

.account-delete-card input {
  border: 1px solid rgb(255 255 255 / 0.14);
  border-radius: 10px;
  background: rgb(255 255 255 / 0.03);
  color: #fff;
  font: inherit;
  padding: 13px 14px;
}

.account-delete-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.reading-card {
  display: grid;
  gap: 12px;
}

.reading-card h2 {
  margin: 0;
  color: #fff;
  font-size: 1rem;
}

.reading-card p,
.reading-card li {
  color: var(--zinc-300);
  font-size: 0.9rem;
  line-height: 1.6;
}

.reading-card p {
  margin: 0;
}

.reading-columns {
  display: grid;
  gap: 12px;
}

.reading-mini-panel {
  border: 1px solid rgb(255 255 255 / 0.08);
  border-radius: 12px;
  background: rgb(0 0 0 / 0.16);
  padding: 12px;
}

.reading-mini-panel h3 {
  margin: 0 0 8px;
  color: var(--teal-300);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.reading-mini-panel ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 17px;
}

.natal-reference-card {
  overflow: hidden;
  padding: 10px;
}

.natal-reference-heading {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
}

.natal-reference-heading .context-kicker {
  margin: 0;
}

.natal-reference-heading h2 {
  font-size: 0.86rem;
}

.natal-reference-card .chart-wheel-frame {
  width: min(100%, 340px);
  margin: 0 auto;
}

.natal-reference-card .chart-wheel-frame img {
  width: 100%;
  max-width: 100%;
  object-fit: contain;
  transform: none;
}

.natal-delete-action {
  color: var(--red-200);
  font-size: 0.74rem;
  font-weight: 650;
  padding: 6px 3px;
}

.natal-delete-action:hover {
  color: #fff;
}

.natal-workspace .app-topbar {
  min-height: 46px;
  padding-top: 6px;
  padding-bottom: 6px;
}

.natal-workspace .app-title-group {
  display: flex;
  align-items: baseline;
  gap: 9px;
}

.natal-workspace .app-title-group p {
  margin: 0;
  font-size: 0.62rem;
}

.natal-workspace .app-title-group h1 {
  font-size: 0.96rem;
}

.natal-chat-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.natal-chat-heading h2 {
  margin: 0;
  color: #fff;
  font-size: 1rem;
}

.subtle-text-button {
  border: 0;
  background: transparent;
  color: var(--zinc-400);
  cursor: pointer;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 4px;
}

.subtle-text-button:hover {
  color: var(--teal-300);
}

.natal-reading-preview {
  display: -webkit-box;
  overflow: hidden;
  color: var(--zinc-300);
  font-size: 0.8rem;
  line-height: 1.45;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
}

.derived-reference-card {
  padding: 12px;
}

.derived-reference-heading {
  margin-bottom: 10px;
}

.derived-reference-heading .context-kicker,
.derived-reading .context-kicker {
  margin: 0;
}

.derived-reading {
  display: grid;
  gap: 7px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgb(255 255 255 / 0.08);
}

.derived-reading .natal-reading-preview {
  max-height: 4.2rem;
  font-size: 0.76rem;
  line-height: 1.42;
  -webkit-line-clamp: 3;
}

.derived-wheel-frame {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1 / 1;
  border: 1px solid rgb(255 255 255 / 0.08);
  border-radius: 12px;
  background: #07101d;
}

.derived-wheel-frame img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transform: none;
}

.transit-adjust-card {
  margin-top: 12px;
}

.transit-adjust-card summary {
  cursor: pointer;
  color: var(--zinc-300);
  font-size: 0.84rem;
  font-weight: 700;
  list-style: none;
}

.transit-adjust-card summary::-webkit-details-marker {
  display: none;
}

.transit-adjust-card summary::after {
  content: "+";
  float: right;
  color: var(--zinc-500);
}

.transit-adjust-card[open] summary {
  margin-bottom: 12px;
}

.transit-adjust-card[open] summary::after {
  content: "-";
}

.natal-chat-card {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
  padding: 0;
}

.natal-chat-heading {
  flex: 0 0 auto;
  border-bottom: 1px solid rgb(255 255 255 / 0.08);
  padding: 12px 14px;
}

.natal-chat-heading .context-kicker {
  margin-bottom: 4px;
}

.natal-chat-heading a,
.chat-panel-icon-button {
  color: var(--zinc-400);
  font-size: 0.78rem;
  font-weight: 700;
}

.chat-panel-icon-button {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.04);
  cursor: pointer;
  font-family: inherit;
}

.natal-chat-heading a:hover,
.chat-panel-icon-button:hover {
  color: var(--teal-300);
}

.inline-reference-panel {
  display: none;
  flex: 0 0 auto;
  border-bottom: 1px solid rgb(255 255 255 / 0.08);
  padding: 12px 14px;
  background: rgb(255 255 255 / 0.025);
}

.natal-chat-card.is-reference-open .inline-reference-panel {
  display: block;
}

.inline-reference-frame {
  display: grid;
  place-items: center;
  width: min(100%, 520px);
  max-height: min(46dvh, 420px);
  margin: 0 auto;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid rgb(217 70 239 / 0.16);
  border-radius: 14px;
  background: #07101d;
}

.inline-reference-frame img,
.inline-reference-frame svg {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  transform: none;
}

.natal-chat-scroll {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
  overflow-y: auto;
  padding: 14px 16px 10px;
  scrollbar-color: rgb(255 255 255 / 0.22) transparent;
}

.natal-chat-scroll .conversation-message {
  padding: 9px 11px;
}

.natal-chat-scroll .conversation-message-content {
  font-size: 0.86rem;
  line-height: 1.48;
  white-space: pre-line;
}

.natal-opening-message {
  border: 1px solid rgb(217 70 239 / 0.16);
  border-radius: 12px;
  background: rgb(217 70 239 / 0.035);
  padding: 10px 12px !important;
}

.natal-opening-header {
  justify-content: space-between;
  margin-bottom: 7px;
}

.natal-opening-prompt {
  margin: 9px 0 0;
  color: var(--teal-200);
  font-size: 0.82rem;
  line-height: 1.42;
}

.natal-chat-empty {
  display: grid;
  align-content: center;
  flex: 1 1 auto;
  color: var(--zinc-400);
  text-align: center;
  padding: 24px;
}

.natal-chat-empty h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 1rem;
}

.natal-chat-empty p {
  margin: 0 auto;
  max-width: 330px;
  font-size: 0.84rem;
  line-height: 1.55;
}

.natal-chat-scroll .conversation-empty {
  margin: auto 0;
}

.natal-composer {
  flex: 0 0 auto;
  margin: 0 12px 12px;
  padding: 10px 12px;
}

.natal-composer textarea {
  min-height: 46px;
  max-height: 82px;
  font-size: 0.88rem;
}

.chat-workspace {
  overflow: hidden;
}

.chat-workspace .app-content {
  overflow: hidden;
}

.chat-workspace .app-main-panel {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
}

.chat-workspace .app-context-panel {
  overflow-y: auto;
}

.app-chat-panel {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
  background: rgb(21 21 21 / 0.82);
  backdrop-filter: blur(10px);
}

.app-chat-scroll {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 14px;
  min-height: 0;
  overflow-y: auto;
  padding: 18px clamp(16px, 4vw, 46px) 12px;
  scrollbar-color: rgb(255 255 255 / 0.22) transparent;
}

.chat-reference-drawer {
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 0.085);
  border-radius: 14px;
  background: rgb(255 255 255 / 0.035);
}

.chat-reference-drawer summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  list-style: none;
  padding: 12px 14px;
}

.chat-reference-drawer summary::-webkit-details-marker {
  display: none;
}

.chat-reference-drawer strong,
.chat-reference-drawer small {
  display: block;
}

.chat-reference-drawer strong {
  color: #fff;
  font-size: 0.88rem;
}

.chat-reference-drawer small {
  margin-top: 2px;
  color: var(--zinc-400);
  font-size: 0.72rem;
}

.chat-reference-body {
  display: grid;
  gap: 10px;
  border-top: 1px solid rgb(255 255 255 / 0.08);
  padding: 12px;
}

.chat-reference-body .chart-wheel-frame {
  max-width: 420px;
}

.chat-reference-body .chart-wheel-frame img {
  width: 100%;
  max-width: 100%;
  object-fit: contain;
  transform: none;
}

.chat-reference-body p {
  margin: 0;
  color: var(--zinc-400);
  font-size: 0.8rem;
  line-height: 1.42;
}

.chat-side-reference .chart-wheel-frame {
  margin-top: 12px;
}

.chat-side-reference .chart-wheel-frame img {
  width: 172%;
  transform: translateX(-24%);
}

.session-list {
  display: grid;
  gap: 6px;
  margin-top: 10px;
}

.session-list a {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  border-radius: 10px;
  color: var(--zinc-300);
  font-size: 0.82rem;
  padding: 8px 9px;
}

.session-list a:hover,
.session-list a[aria-current="page"] {
  background: rgb(255 255 255 / 0.08);
  color: #fff;
}

.session-list small {
  color: var(--zinc-500);
}

@media (min-width: 900px) {
  .app-shell {
    grid-template-columns: 232px minmax(0, 1fr);
  }

  .app-shell:has(#app-left-tray:not(:checked)) {
    grid-template-columns: minmax(0, 1fr);
  }

  .app-shell:has(#app-left-tray:not(:checked)) .app-sidebar {
    display: none;
  }

  .app-sidebar {
    display: flex;
    flex-direction: column;
  }

  .mobile-chart-nav {
    display: none;
  }

  .app-content {
    grid-template-columns: minmax(0, 1fr) 304px;
    grid-template-rows: minmax(0, 1fr);
  }

  .app-workspace:has(#app-right-tray:not(:checked)) .app-content {
    grid-template-columns: minmax(0, 1fr);
  }

  .app-workspace:has(#app-right-tray:not(:checked)) .app-context-panel-wrap {
    display: none;
  }

  .app-context-panel-wrap {
    border-top: 0;
    border-left: 1px solid rgb(255 255 255 / 0.08);
    overflow-y: auto;
  }

  .app-context-panel {
    display: block;
    max-height: none;
    overflow-y: visible;
  }

  .reading-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .library-grid {
    gap: 14px;
    grid-template-columns: repeat(auto-fill, minmax(220px, 280px));
  }

  .library-card {
    width: min(100%, 280px);
    border-radius: 14px;
  }

  .library-card > a {
    padding: 12px;
  }

  .library-chart-preview {
    aspect-ratio: 1.24 / 1;
    border-radius: 12px;
  }

  .library-card-body {
    padding: 12px 2px 2px;
  }

  .library-card h2 {
    font-size: 1rem;
  }

  .library-card p {
    display: block;
    overflow: visible;
    font-size: 0.84rem;
  }

  .library-card small {
    margin-top: 8px;
    font-size: 0.75rem;
  }

  .library-card-actions {
    gap: 8px;
    padding: 9px 12px 12px;
  }

  .library-card-actions a,
  .library-card-actions button {
    font-size: 0.78rem;
    padding: 7px 9px;
  }

  .form-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .natal-workspace .app-content,
  .natal-workspace .app-main-panel,
  .has-transit-reading .app-content,
  .has-transit-reading .app-main-panel,
  .has-synastry-reading .app-content,
  .has-synastry-reading .app-main-panel {
    overflow: hidden;
  }

  .natal-workspace .app-main-panel,
  .has-transit-reading .app-main-panel,
  .has-synastry-reading .app-main-panel {
    display: flex;
    flex-direction: column;
  }

  .natal-workspace .app-content {
    grid-template-columns: minmax(0, 1fr) 356px;
  }

  .natal-workspace .chart-inspector-panel {
    padding: 12px;
  }

  .natal-workspace .chart-inspector-panel h2 {
    font-size: 0.86rem;
  }

  .natal-workspace .chart-inspector-panel p:last-child {
    margin-top: 6px;
    font-size: 0.74rem;
    line-height: 1.42;
  }

  .has-transit-reading .app-content,
  .has-synastry-reading .app-content {
    grid-template-columns: minmax(0, 1fr) 312px;
  }

  .natal-chat-card {
    flex: 1 1 auto;
    height: 100%;
  }

  .chat-reference-drawer {
    display: none;
  }
}

@media (min-width: 1200px) {
  .natal-workspace .app-content {
    grid-template-columns: minmax(0, 1fr) 380px;
  }

  .has-transit-reading .app-content,
  .has-synastry-reading .app-content {
    grid-template-columns: minmax(0, 1fr) 330px;
  }
}

@media (max-width: 899px) {
  .app-shell {
    grid-template-columns: minmax(0, 1fr);
  }

  .app-sidebar {
    position: fixed;
    z-index: 30;
    inset: 0 auto 0 0;
    width: min(82vw, 290px);
    transform: translateX(-100%);
    transition: transform 180ms ease;
    box-shadow: 24px 0 80px rgb(0 0 0 / 0.38);
  }

  .app-shell:has(#app-left-tray:checked) .app-sidebar {
    display: flex;
    flex-direction: column;
    transform: translateX(0);
  }

  .app-workspace {
    height: 100dvh;
  }

  .app-workspace:has(#app-right-tray:not(:checked)) .app-content {
    grid-template-rows: minmax(0, 1fr);
  }

  .app-workspace:has(#app-right-tray:not(:checked)) .app-context-panel-wrap {
    display: none;
  }

  .app-topbar {
    min-height: 50px;
    padding: 7px 10px;
  }

  .app-title-group p {
    font-size: 0.62rem;
  }

  .app-title-group h1 {
    font-size: 0.96rem;
  }

  .app-topbar-actions {
    gap: 5px;
  }

  .app-action,
  .app-action-danger,
  .app-action-primary {
    min-height: 32px;
    border-radius: 10px;
    font-size: 0.74rem;
    padding: 0 9px;
  }

  .app-tray-button {
    width: 32px;
    height: 32px;
    border-radius: 10px;
  }

  .current-location-card {
    align-items: stretch;
    flex-direction: column;
  }

  .chat-workspace .app-content {
    min-height: 0;
  }

  .chat-workspace .app-main-panel {
    min-height: 0;
  }

  .app-main-panel {
    padding: 12px;
  }

  .app-chat-scroll {
    gap: 10px;
    padding: 10px 10px 8px;
  }

  .conversation-composer {
    margin: 0 10px 10px;
  }

  .natal-workspace .app-content,
  .has-transit-reading .app-content,
  .has-synastry-reading .app-content {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
  }

  .natal-chat-card,
  .has-transit-reading .natal-chat-card,
  .has-synastry-reading .natal-chat-card {
    min-height: 0;
  }

  .natal-workspace .app-main-panel,
  .has-transit-reading .app-main-panel,
  .has-synastry-reading .app-main-panel {
    flex: 0 0 calc(100dvh - 62px);
    min-height: 420px;
    overflow: hidden;
    padding: 10px;
  }

  .natal-workspace .app-context-panel-wrap,
  .has-transit-reading .app-context-panel-wrap,
  .has-synastry-reading .app-context-panel-wrap {
    flex: 0 0 auto;
    overflow: visible;
  }

  .natal-chat-card {
    height: 100%;
  }

  .natal-workspace .app-topbar {
    min-height: 48px;
    gap: 8px;
    padding: 7px 10px;
  }

  .natal-workspace .app-topbar-actions {
    gap: 5px;
  }

  .natal-workspace .app-action,
  .natal-workspace .app-action-danger {
    min-height: 32px;
    padding: 0 9px;
    font-size: 0.76rem;
  }
}

.chart-preview,
.chart-detail-preview {
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: 0.5rem;
  background: #07101d;
}

.chart-preview {
  aspect-ratio: 1.56 / 1;
}

.chart-detail-preview {
  aspect-ratio: 1.56 / 1;
}

.chart-preview img,
.chart-detail-preview img,
.chart-detail-preview svg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.chart-inspector-layout {
  display: grid;
  gap: 14px;
}

.chart-inspector-panel {
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: 0.5rem;
  background: rgb(255 255 255 / 0.03);
  height: 186px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 16px;
  scrollbar-color: rgb(255 255 255 / 0.22) transparent;
}

.chart-inspector-kicker {
  margin: 0 0 8px;
  color: var(--teal-300);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.chart-inspector-panel h2 {
  margin: 0;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
}

.chart-inspector-panel p:last-child {
  margin: 10px 0 0;
  color: var(--zinc-300);
  font-size: 0.9rem;
  line-height: 1.65;
  white-space: pre-line;
}

.svg-inspector-hotspot {
  cursor: pointer;
  outline: none;
  transition: filter 140ms ease, opacity 140ms ease, transform 140ms ease;
}

.svg-inspector-hotspot:hover,
.svg-inspector-hotspot:focus,
.svg-inspector-hotspot.is-active {
  filter: drop-shadow(0 0 6px rgb(217 70 239 / 0.95));
  opacity: 1;
}

.generated-reading-prose {
  white-space: pre-wrap;
  color: var(--zinc-200);
  font-size: 1rem;
  line-height: 1.75;
}

.generated-reading-prose :where(h1, h2, h3) {
  margin: 1.2rem 0 0.5rem;
  color: #fff;
  font-weight: 700;
}

.transit-workspace .app-main-panel {
  overflow-y: auto;
}

.transit-workspace.has-transit-reading .app-main-panel {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.synastry-workspace.has-synastry-reading .app-main-panel {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.transit-workspace.has-transit-reading .natal-chat-card,
.synastry-workspace.has-synastry-reading .natal-chat-card {
  flex: 1 1 0;
  height: auto;
  min-height: 0;
}

.transit-layout {
  display: grid;
  gap: 14px;
}

.transit-form-card {
  display: grid;
  gap: 12px;
}

.transit-form-card h2,
.transit-card-heading h2,
.transit-empty-state h2 {
  margin: 0;
  color: #fff;
  font-size: 1rem;
}

.transit-form-card p,
.transit-empty-state p {
  margin: 6px 0 0;
  color: var(--zinc-400);
  font-size: 0.84rem;
  line-height: 1.55;
}

.transit-form {
  display: grid;
  gap: 10px;
}

.credit-preflight {
  display: grid;
  gap: 12px;
  border: 1px solid rgb(217 70 239 / 0.18);
  border-radius: 12px;
  background: rgb(217 70 239 / 0.06);
  padding: 13px;
}

.credit-preflight p {
  margin: 0;
  color: var(--zinc-300);
  font-size: 0.84rem;
  line-height: 1.55;
}

.credit-preflight .app-action-primary {
  justify-content: center;
  width: fit-content;
  min-height: 40px;
}

.transit-form label {
  display: grid;
  gap: 7px;
}

.transit-form span {
  color: var(--zinc-300);
  font-size: 0.78rem;
  font-weight: 700;
}

.transit-form input {
  width: 100%;
  min-height: 40px;
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: 10px;
  background: #191919;
  color: #fff;
  outline: none;
  padding: 0 11px;
}

.transit-form select {
  width: 100%;
  min-height: 40px;
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: 10px;
  background: #191919;
  color: #fff;
  outline: none;
  padding: 0 11px;
}

.transit-form input:focus,
.transit-form select:focus {
  border-color: rgb(217 70 239 / 0.52);
  box-shadow: 0 0 0 3px rgb(217 70 239 / 0.13);
}

.transit-form button {
  min-height: 40px;
  border: 0;
  border-radius: 10px;
  background: var(--teal-300);
  color: var(--zinc-950);
  cursor: pointer;
  font-weight: 850;
}

.transit-result-grid {
  display: grid;
  gap: 14px;
  min-height: 0;
}

.transit-chart-card,
.transit-reading-card {
  display: grid;
  gap: 12px;
  min-height: 0;
}

.transit-chart-preview,
.transit-empty-preview {
  width: 100%;
  height: clamp(220px, 38vh, 360px);
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 0.08);
  border-radius: 12px;
  background: #07101d;
}

.transit-chart-preview img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  object-position: center;
}

.transit-empty-preview {
  display: grid;
  place-items: center;
  color: var(--teal-300);
  font-size: 2rem;
  font-weight: 850;
}

.transit-reading-card .app-action-primary {
  width: 100%;
}

.transit-reading-scroll {
  max-height: min(34vh, 300px);
  overflow-y: auto;
  padding-right: 6px;
  font-size: 0.9rem;
  line-height: 1.65;
  scrollbar-color: rgb(255 255 255 / 0.22) transparent;
}

.transit-empty-state {
  max-width: 680px;
}

@media (min-width: 1180px) {
  .transit-result-grid {
    grid-template-columns: minmax(340px, 0.95fr) minmax(360px, 1fr);
    align-items: stretch;
  }
}

@media (min-width: 900px) {
  .chart-inspector-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    align-items: stretch;
  }
}

.chat-page {
  height: 100vh;
  overflow: hidden;
}

.chat-shell {
  height: 100vh;
  min-height: 0;
}

.chat-grid {
  min-height: 0;
}

.chat-sidebar,
.chat-context {
  min-height: 0;
  overflow-y: auto;
}

.chat-panel {
  min-height: 0;
}

.chat-messages {
  min-height: 0;
  overscroll-behavior: contain;
  scroll-behavior: smooth;
}

.conversation-page {
  height: 100dvh;
  overflow: hidden;
  background: #151515;
}

.conversation-shell {
  display: flex;
  flex-direction: column;
  height: 100dvh;
  min-height: 0;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 16px 14px;
}

.conversation-topbar {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 46px;
  padding: 0 0 8px;
}

.conversation-heading {
  display: flex;
  align-items: baseline;
  gap: 12px;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
}

.conversation-kicker {
  flex-shrink: 0;
  margin: 0;
  color: var(--zinc-400);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.conversation-title {
  margin: 0;
  min-width: 0;
  overflow: hidden;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 650;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.conversation-top-meta {
  flex-shrink: 0;
  margin: 0;
  color: var(--zinc-500);
  font-size: 0.78rem;
}

.conversation-actions {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 6px;
}

.conversation-icon-link,
.conversation-icon-button,
.conversation-tts-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgb(255 255 255 / 0.12);
  border-radius: 11px;
  background: rgb(255 255 255 / 0.04);
  color: var(--zinc-100);
  font-size: 0.98rem;
  font-weight: 650;
  line-height: 1;
  width: 36px;
  height: 36px;
  padding: 0;
}

.conversation-icon-link:hover,
.conversation-icon-button:hover,
.conversation-tts-button:hover {
  background: rgb(255 255 255 / 0.08);
}

.conversation-icon-link.is-primary,
.conversation-icon-button.is-primary {
  border-color: rgb(217 70 239 / 0.45);
  background: var(--teal-300);
  color: var(--zinc-950);
}

.conversation-icon-button.is-danger {
  color: var(--red-200);
}

.conversation-icon-button.is-danger:hover {
  background: rgb(239 68 68 / 0.12);
}

.conversation-chat-select {
  max-width: 190px;
  height: 36px;
  border: 1px solid rgb(255 255 255 / 0.12);
  border-radius: 11px;
  background: #202020;
  color: var(--zinc-200);
  font-size: 0.78rem;
  font-weight: 650;
  outline: none;
  padding: 0 32px 0 12px;
}

.conversation-card {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 0.12);
  border-radius: 16px;
  background: #171717;
  box-shadow: 0 14px 56px rgb(0 0 0 / 0.30);
}

.conversation-scroll {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 14px;
  min-height: 0;
  overflow-y: auto;
  padding: 18px 34px 12px;
  scrollbar-color: rgb(255 255 255 / 0.22) transparent;
}

.conversation-message {
  width: min(900px, 96%);
  border-radius: 18px;
  padding: 14px 18px;
}

.conversation-message.is-user {
  align-self: flex-end;
  background: #2d2d2d;
  color: #fff;
}

.conversation-message.is-assistant {
  align-self: flex-start;
  background: transparent;
  color: #fff;
  padding: 2px 0 2px;
  width: min(980px, 100%);
}

.conversation-message.is-pending {
  color: var(--zinc-300);
}

.conversation-message-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin-bottom: 6px;
  color: var(--zinc-400);
  font-size: 0.64rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.conversation-message-content {
  margin: 0;
  white-space: pre-wrap;
  color: inherit;
  font-size: 0.95rem;
  line-height: 1.55;
}

.conversation-thinking-dots {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-right: 8px;
  vertical-align: middle;
}

.conversation-thinking-dots span {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--teal-300);
  opacity: 0.35;
  animation: conversation-thinking 1.05s ease-in-out infinite;
}

.conversation-thinking-dots span:nth-child(2) {
  animation-delay: 0.16s;
}

.conversation-thinking-dots span:nth-child(3) {
  animation-delay: 0.32s;
}

@keyframes conversation-thinking {
  0%,
  80%,
  100% {
    opacity: 0.35;
    transform: translateY(0);
  }

  40% {
    opacity: 1;
    transform: translateY(-3px);
  }
}

.conversation-message-footer {
  display: flex;
  justify-content: flex-start;
  margin-top: 8px;
}

.conversation-tts-button {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  color: var(--zinc-300);
  font-size: 0.76rem;
  letter-spacing: 0;
  padding: 0;
  text-transform: none;
}

.conversation-empty {
  margin: auto;
  max-width: 520px;
  border: 1px dashed rgb(255 255 255 / 0.16);
  border-radius: 16px;
  color: var(--zinc-300);
  line-height: 1.7;
  padding: 22px;
  text-align: center;
}

.conversation-composer {
  flex-shrink: 0;
  margin: 0 20px 18px;
  border: 1px solid rgb(255 255 255 / 0.12);
  border-radius: 20px;
  background: #2b2b2b;
  padding: 12px 16px 10px;
  box-shadow: 0 12px 40px rgb(0 0 0 / 0.28);
}

.conversation-composer textarea {
  display: block;
  width: 100%;
  min-height: 42px;
  max-height: 140px;
  resize: vertical;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 0.92rem;
  line-height: 1.45;
  outline: none;
}

.conversation-composer.is-submitting {
  border-color: rgb(217 70 239 / 0.28);
}

.conversation-composer.is-submitting textarea {
  color: var(--zinc-300);
}

.conversation-composer textarea::placeholder {
  color: var(--zinc-400);
}

.conversation-composer-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
  color: var(--zinc-400);
  font-size: 0.76rem;
}

.conversation-composer-footer button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #111;
  font-size: 1.45rem;
  line-height: 1;
}

.conversation-composer-footer button:hover {
  background: var(--teal-200);
}

.conversation-composer-footer button:disabled {
  cursor: progress;
  background: var(--zinc-300);
  color: var(--zinc-700);
}

@media (max-width: 1279px) {
  .chat-page {
    height: auto;
    min-height: 100vh;
    overflow: auto;
  }

  .chat-shell {
    height: auto;
    min-height: 100vh;
  }

  .chat-panel {
    min-height: 70vh;
  }

  .chat-sidebar,
  .chat-context {
    overflow: visible;
  }
}

@media (max-width: 760px) {
  .conversation-shell {
    padding: 10px 10px 12px;
  }

  .conversation-topbar {
    align-items: stretch;
    flex-direction: column;
  }

  .conversation-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
    white-space: normal;
  }

  .conversation-actions {
    flex-wrap: wrap;
  }

  .conversation-chat-select {
    max-width: none;
    flex: 1 1 100%;
  }

  .conversation-title {
    white-space: normal;
  }

  .conversation-scroll {
    padding: 14px 16px 10px;
  }

  .conversation-message {
    width: 100%;
  }

  .conversation-composer {
    margin: 0 10px 12px;
    padding: 12px;
  }
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.mx-auto { margin-left: auto; margin-right: auto; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.ml-auto { margin-left: auto; }
.mr-auto { margin-right: auto; }
.block { display: block; }
.inline-flex { display: inline-flex; }
.flex { display: flex; }
.grid { display: grid; }
.hidden { display: none; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.aspect-square { aspect-ratio: 1 / 1; }
.h-auto { height: auto; }
.h-full { height: 100%; }
.h-screen { height: 100vh; }
.min-h-0 { min-height: 0; }
.min-h-screen { min-height: 100vh; }
.min-h-\[70vh\] { min-height: 70vh; }
.w-full { width: 100%; }
.max-w-2xl { max-width: 42rem; }
.max-w-xl { max-width: 36rem; }
.max-w-6xl { max-width: 72rem; }
.max-w-7xl { max-width: 80rem; }
.max-w-\[82\%\] { max-width: 82%; }
.max-w-\[92\%\] { max-width: 92%; }
.min-w-0 { min-width: 0; }
.flex-1 { flex: 1 1 0%; }
.shrink-0 { flex-shrink: 0; }
.resize-none { resize: none; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.overflow-auto { overflow: auto; }
.overflow-hidden { overflow: hidden; }
.overflow-y-auto { overflow-y: auto; }
.break-all { word-break: break-all; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.whitespace-pre-wrap { white-space: pre-wrap; }
.rounded-md { border-radius: 0.375rem; }
.rounded-lg { border-radius: 0.5rem; }
.border { border-width: 1px; border-style: solid; }
.border-b { border-bottom-width: 1px; border-bottom-style: solid; }
.border-r { border-right-width: 1px; border-right-style: solid; }
.border-t { border-top-width: 1px; border-top-style: solid; }
.border-dashed { border-style: dashed; }
.border-white\/10 { border-color: rgb(255 255 255 / 0.1); }
.border-white\/15 { border-color: rgb(255 255 255 / 0.15); }
.border-red-300\/40 { border-color: rgb(252 165 165 / 0.4); }
.border-red-400\/30 { border-color: rgb(248 113 113 / 0.3); }
.border-teal-300 { border-color: var(--teal-300); }
.bg-zinc-950 { background-color: var(--zinc-950); }
.bg-zinc-900 { background-color: var(--zinc-900); }
.bg-zinc-900\/70 { background-color: rgb(24 24 27 / 0.7); }
.bg-white { background-color: #fff; }
.bg-white\/10 { background-color: rgb(255 255 255 / 0.1); }
.bg-white\/\[0\.03\] { background-color: rgb(255 255 255 / 0.03); }
.bg-teal-300 { background-color: var(--teal-300); }
.bg-teal-300\/10 { background-color: rgb(217 70 239 / 0.1); }
.bg-red-950\/20 { background-color: rgb(69 10 10 / 0.2); }
.bg-red-950\/40 { background-color: rgb(69 10 10 / 0.4); }
.bg-red-400 { background-color: var(--red-400); }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.pb-4 { padding-bottom: 1rem; }
.pr-4 { padding-right: 1rem; }
.pt-1 { padding-top: 0.25rem; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.uppercase { text-transform: uppercase; }
.leading-6 { line-height: 1.5rem; }
.leading-7 { line-height: 1.75rem; }
.leading-tight { line-height: 1.12; }
.tracking-wide { letter-spacing: 0.025em; }
.tracking-\[0\.12em\] { letter-spacing: 0.12em; }
.tracking-\[0\.14em\] { letter-spacing: 0.14em; }
.tracking-\[0\.18em\] { letter-spacing: 0.18em; }
.text-white { color: #fff; }
.text-zinc-50 { color: #fafafa; }
.text-zinc-950 { color: var(--zinc-950); }
.text-zinc-500 { color: var(--zinc-500); }
.text-zinc-400 { color: var(--zinc-400); }
.text-zinc-300 { color: var(--zinc-300); }
.text-zinc-200 { color: var(--zinc-200); }
.text-zinc-100 { color: var(--zinc-100); }
.text-teal-300 { color: var(--teal-300); }
.text-teal-200 { color: var(--teal-200); }
.text-teal-100 { color: #fae8ff; }
.text-red-300 { color: var(--red-300); }
.text-red-200 { color: var(--red-200); }
.text-red-100 { color: var(--red-100); }
.opacity-70 { opacity: 0.7; }
.outline-none { outline: 2px solid transparent; outline-offset: 2px; }
.ring-teal-300\/40 { --focus-ring: rgb(217 70 239 / 0.4); }
.object-contain { object-fit: contain; }

.hover\:bg-white\/10:hover { background-color: rgb(255 255 255 / 0.1); }
.hover\:bg-teal-200:hover { background-color: var(--teal-200); }
.hover\:bg-zinc-200:hover { background-color: #e4e4e7; }
.hover\:bg-red-300:hover { background-color: var(--red-300); }
.hover\:bg-red-400\/10:hover { background-color: rgb(248 113 113 / 0.1); }
.hover\:bg-red-500\/10:hover { background-color: rgb(239 68 68 / 0.1); }
.hover\:opacity-90:hover { opacity: 0.9; }

input,
textarea {
  border-style: solid;
}

input:focus,
textarea:focus {
  box-shadow: 0 0 0 2px var(--focus-ring, rgb(217 70 239 / 0.4));
}

button[disabled] {
  cursor: wait;
  opacity: 0.72;
}

@media (min-width: 640px) {
  .sm\:px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
  .sm\:px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
  .sm\:p-5 { padding: 1.25rem; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 768px) {
  .md\:flex-row { flex-direction: row; }
  .md\:items-start { align-items: flex-start; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-\[1\.05fr_0\.95fr\] { grid-template-columns: 1.05fr 0.95fr; }
  .md\:max-w-\[82\%\] { max-width: 82%; }
  .md\:truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .md\:text-lg { font-size: 1.125rem; line-height: 1.75rem; }
  .md\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
  .md\:text-5xl { font-size: 3rem; line-height: 1; }
  .md\:text-6xl { font-size: 3.75rem; line-height: 1; }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-\[240px_minmax\(0\,1fr\)\] { grid-template-columns: 240px minmax(0, 1fr); }
  .lg\:grid-cols-\[minmax\(0\,0\.7fr\)_minmax\(320px\,0\.4fr\)\] { grid-template-columns: minmax(0, 0.7fr) minmax(320px, 0.4fr); }
  .lg\:grid-cols-\[minmax\(0\,0\.9fr\)_minmax\(320px\,0\.55fr\)\] { grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.55fr); }
  .lg\:col-span-2 { grid-column: span 2 / span 2; }
  .lg\:min-h-0 { min-height: 0; }
  .lg\:overflow-y-auto { overflow-y: auto; }
}

@media (min-width: 1280px) {
  .xl\:h-screen { height: 100vh; }
  .xl\:min-h-0 { min-height: 0; }
  .xl\:overflow-hidden { overflow: hidden; }
  .xl\:overflow-y-auto { overflow-y: auto; }
  .xl\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .xl\:grid-cols-\[240px_minmax\(0\,1fr\)_300px\] { grid-template-columns: 240px minmax(0, 1fr) 300px; }
  .xl\:col-span-1 { grid-column: span 1 / span 1; }
}
