@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap");

:root {
  --bg: #06110d;
  --bg-soft: #0b1b15;
  --panel: rgba(255, 255, 245, 0.94);
  --panel-dark: rgba(13, 28, 22, 0.82);
  --ink: #fffaf0;
  --ink-dark: #14251d;
  --muted: #aeb9b2;
  --muted-dark: #64726a;
  --line: rgba(255, 255, 255, 0.13);
  --line-dark: rgba(20, 37, 29, 0.12);
  --green: #0f5c43;
  --green-2: #0b7a55;
  --green-bright: #11d08a;
  --gold: #f2b84b;
  --cream: #fff6dc;
  --danger: #f87171;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family: "Poppins", sans-serif;
  background:
    radial-gradient(circle at 12% 8%, rgba(17, 208, 138, 0.2), transparent 30rem),
    radial-gradient(circle at 86% 16%, rgba(242, 184, 75, 0.2), transparent 28rem),
    linear-gradient(135deg, #06110d 0%, #0b1813 46%, #152014 100%);
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

.ambient {
  position: fixed;
  z-index: -2;
  width: 24rem;
  height: 24rem;
  border-radius: 999px;
  filter: blur(30px);
  opacity: 0.32;
  pointer-events: none;
}

.ambient-one {
  top: 4%;
  left: -8rem;
  background: rgba(17, 208, 138, 0.42);
}

.ambient-two {
  right: -7rem;
  bottom: 8%;
  background: rgba(242, 184, 75, 0.38);
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 0;
  border-radius: 999px;
  padding: 0.85rem 1.15rem;
  font-weight: 800;
  line-height: 1;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease,
    box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: #06110d;
  background: linear-gradient(135deg, var(--green-bright), #f8cf72);
  box-shadow: 0 20px 44px rgba(17, 208, 138, 0.22);
}

.button.ghost {
  color: var(--ink);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  border: 1px solid rgba(17, 208, 138, 0.24);
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  color: #9ff5ce;
  background: rgba(17, 208, 138, 0.09);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

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

.brand-lockup small {
  color: var(--muted);
  font-size: 0.78rem;
}

.brand-mark {
  display: inline-grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 17px;
  color: #06110d;
  background: linear-gradient(135deg, var(--cream), var(--gold));
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  box-shadow: 0 18px 36px rgba(242, 184, 75, 0.16);
}

.brand-lockup.compact .brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 15px;
}

.auth-screen {
  display: grid;
  width: min(1180px, calc(100% - 32px));
  min-height: 100vh;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.72fr);
  align-items: center;
  gap: 2rem;
  margin: 0 auto;
  padding: 2rem 0;
}

.auth-copy {
  display: grid;
  gap: 1.45rem;
}

.auth-copy h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.8rem, 8vw, 6.8rem);
  line-height: 0.9;
  letter-spacing: -0.09em;
}

.auth-copy p {
  max-width: 650px;
  margin: 0;
  color: #d2dbd5;
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.65;
}

.auth-benefits {
  display: grid;
  max-width: 780px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.auth-benefits div,
.auth-card,
.account-card,
.section-card,
.chat-panel,
.quick-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.auth-benefits div {
  display: grid;
  gap: 0.35rem;
  padding: 1.1rem;
}

.auth-benefits strong {
  color: var(--cream);
}

.auth-benefits span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.auth-card {
  display: grid;
  gap: 1rem;
  padding: clamp(1.2rem, 3vw, 1.8rem);
}

.auth-tabs-card {
  gap: 1.1rem;
  color: var(--ink-dark);
  background:
    radial-gradient(circle at top right, rgba(17, 208, 138, 0.12), transparent 15rem),
    var(--panel);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
}

.auth-tabs-card .auth-card-head {
  color: var(--ink-dark);
}

.auth-tabs-card label {
  color: #68756e;
}

.auth-tabs-card input {
  color: var(--ink-dark);
  border-color: #d8ded8;
  background: #ffffff;
}

.auth-tabs-card input::placeholder {
  color: #9aa49d;
}

.auth-tabs-card input:focus {
  border-color: #111a16;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(17, 208, 138, 0.13);
}

.auth-tabs-card .button.ghost {
  color: #06110d;
  border-color: transparent;
  background: linear-gradient(135deg, var(--green-bright), #f8cf72);
  box-shadow: 0 20px 44px rgba(17, 208, 138, 0.22);
}

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.4rem;
  border: 1px solid #dfe5df;
  border-radius: 999px;
  background: #f4f7f1;
  padding: 0.35rem;
}

.auth-tab {
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  color: #68756e;
  background: transparent;
  font-weight: 900;
}

.auth-tab.active {
  color: #06110d;
  background: linear-gradient(135deg, var(--green-bright), #f8cf72);
  box-shadow: 0 16px 30px rgba(17, 208, 138, 0.2);
}

.auth-panel {
  display: none;
  gap: 1rem;
}

.auth-panel.active {
  display: grid;
}

.auth-card-copy {
  margin: -0.35rem 0 0;
  color: #68756e;
  font-size: 0.9rem;
  line-height: 1.5;
}

.text-link,
.inline-switch {
  width: fit-content;
  border: 0;
  color: var(--green-2);
  background: transparent;
  padding: 0;
  font-weight: 900;
}

.text-link {
  margin-top: -0.35rem;
}

.auth-switch-copy {
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  color: #313d36;
  font-size: 0.92rem;
}

.auth-card-head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: #dce8df;
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--green-bright);
  box-shadow: 0 0 0 8px rgba(17, 208, 138, 0.12);
}

.status-dot.alt {
  background: var(--gold);
  box-shadow: 0 0 0 8px rgba(242, 184, 75, 0.12);
}

label {
  display: grid;
  gap: 0.45rem;
  color: #d6e0d9;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 18px;
  outline: none;
  color: var(--ink);
  background: rgba(3, 11, 8, 0.44);
  padding: 0.95rem 1rem;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

input::placeholder,
textarea::placeholder {
  color: rgba(255, 250, 240, 0.48);
}

input:focus,
textarea:focus {
  border-color: rgba(17, 208, 138, 0.62);
  background: rgba(3, 11, 8, 0.62);
  box-shadow: 0 0 0 4px rgba(17, 208, 138, 0.1);
}

.auth-actions {
  display: grid;
  grid-template-columns: 1fr 0.62fr;
  gap: 0.7rem;
  margin-top: 0.25rem;
}

.form-message {
  min-height: 1.35rem;
  margin: 0;
  color: #cde8d8;
  font-size: 0.9rem;
  line-height: 1.45;
}

#authMessage {
  color: #0f5c43;
  font-weight: 700;
}

#authMessage.is-error {
  color: #b42318;
}

.auth-note {
  border: 1px solid #f2b84b;
  border-radius: 18px;
  padding: 0.95rem;
  color: #5f3b00;
  background: #ffe08a;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.5;
}

.auth-step-card {
  display: grid;
  gap: 1rem;
  margin-top: 0.2rem;
  border: 1px solid rgba(15, 63, 46, 0.13);
  border-radius: 24px;
  padding: 1rem;
  background:
    radial-gradient(circle at top right, rgba(17, 208, 138, 0.12), transparent 10rem),
    rgba(255, 255, 255, 0.5);
}

.auth-step-card .button {
  width: 100%;
}

.install-callout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.9rem;
  border: 1px solid rgba(15, 92, 67, 0.2);
  border-radius: 20px;
  padding: 1rem;
  color: var(--ink-dark);
  background: #eef9ef;
}

.install-callout strong,
.install-callout span {
  display: block;
}

.install-callout strong {
  font-size: 1rem;
  line-height: 1.2;
}

.install-callout span {
  margin-top: 0.25rem;
  color: #506059;
  font-size: 0.86rem;
  line-height: 1.45;
}

.app-shell {
  display: grid;
  min-height: 100vh;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem;
}

.app-sidebar {
  position: sticky;
  top: 1rem;
  display: flex;
  height: calc(100vh - 2rem);
  flex-direction: column;
  gap: 1rem;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: rgba(4, 14, 10, 0.74);
  padding: 1rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.account-card {
  display: grid;
  gap: 0.35rem;
  padding: 1rem;
  box-shadow: none;
}

.account-kicker {
  color: #9ff5ce;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.account-card strong {
  color: var(--cream);
  font-size: 1.05rem;
}

.account-card small {
  color: var(--muted);
  line-height: 1.4;
}

.app-nav {
  display: grid;
  gap: 0.55rem;
}

.nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid transparent;
  border-radius: 19px;
  color: var(--ink);
  background: transparent;
  padding: 0.9rem 1rem;
  text-align: left;
}

.nav-item span {
  font-weight: 900;
}

.nav-item small {
  color: var(--muted);
}

.nav-item.active,
.nav-item:hover {
  border-color: rgba(17, 208, 138, 0.22);
  background: rgba(17, 208, 138, 0.1);
}

.sidebar-logout {
  margin-top: auto;
}

.app-content {
  display: grid;
  min-width: 0;
  align-content: start;
  gap: 1rem;
  padding-bottom: 0.5rem;
}

.app-header {
  display: flex;
  min-height: 114px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.07);
  padding: 1.2rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.app-header h1 {
  margin: 0.7rem 0 0;
  font-size: clamp(1.8rem, 4vw, 3.6rem);
  line-height: 0.95;
  letter-spacing: -0.07em;
}

.header-status {
  min-width: 150px;
  border: 1px solid rgba(17, 208, 138, 0.2);
  border-radius: 22px;
  padding: 1rem;
  background: rgba(17, 208, 138, 0.1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.install-header-button {
  min-width: 140px;
}

.header-status span,
.wallet-card span,
.metric-list span,
.account-details span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.header-status strong {
  display: block;
  margin-top: 0.25rem;
  color: var(--cream);
  font-size: 1.35rem;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.screen-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 1rem;
}

.chat-panel,
.quick-panel,
.section-card {
  padding: 1rem;
}

.panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.panel-head h2 {
  margin: 0.65rem 0 0;
  color: var(--cream);
  font-size: clamp(1.55rem, 3vw, 2.6rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.panel-head p {
  max-width: 440px;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.pill {
  border: 1px solid rgba(242, 184, 75, 0.24);
  border-radius: 999px;
  padding: 0.55rem 0.75rem;
  color: #ffebbd;
  background: rgba(242, 184, 75, 0.1);
  font-size: 0.78rem;
  font-weight: 900;
  white-space: nowrap;
}

.chat-log {
  display: flex;
  min-height: min(55vh, 570px);
  max-height: 62vh;
  flex-direction: column;
  gap: 0.8rem;
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.02)),
    rgba(2, 9, 6, 0.42);
  padding: 1rem;
}

.empty-chat {
  display: grid;
  width: min(440px, 100%);
  gap: 0.45rem;
  margin: auto;
  text-align: center;
}

.empty-chat span {
  color: #9ff5ce;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.empty-chat strong {
  color: var(--cream);
  font-size: 1.4rem;
  line-height: 1.15;
}

.empty-chat p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.chat-log > :not(.empty-chat) {
  max-width: min(78%, 720px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  padding: 0.85rem 1rem;
  color: #eef8f1;
  background: rgba(255, 255, 255, 0.08);
  line-height: 1.55;
  white-space: pre-wrap;
}

.chat-log .user,
.chat-log .message.user,
.chat-log [data-role="user"] {
  align-self: flex-end;
  color: #06110d;
  border-color: transparent;
  background: linear-gradient(135deg, var(--green-bright), #f8cf72);
}

.chat-log .assistant,
.chat-log .message.assistant,
.chat-log [data-role="assistant"] {
  align-self: flex-start;
}

.composer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  margin-top: 0.9rem;
}

.composer textarea {
  min-height: 56px;
  max-height: 160px;
  resize: vertical;
}

.quick-panel {
  display: grid;
  align-content: start;
  gap: 1rem;
}

.wallet-card {
  display: grid;
  gap: 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.07);
  padding: 1rem;
}

.wallet-card strong {
  color: var(--cream);
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -0.05em;
}

.wallet-card small {
  color: var(--muted);
}

.hero-wallet {
  background:
    radial-gradient(circle at top right, rgba(242, 184, 75, 0.22), transparent 12rem),
    rgba(17, 208, 138, 0.09);
}

.metric-list {
  display: grid;
  gap: 0.75rem;
}

.metric-list div {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 0.95rem;
  background: rgba(255, 255, 255, 0.055);
}

.metric-list strong {
  display: block;
  margin-top: 0.25rem;
  color: var(--cream);
  font-size: 1.3rem;
}

.session-actions {
  display: grid;
  gap: 0.7rem;
}

.session-actions.wide {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1rem;
}

.wallet-dashboard {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.7fr);
  gap: 1rem;
}

.wallet-card.large {
  min-height: 220px;
  justify-content: center;
  background:
    radial-gradient(circle at 20% 0%, rgba(17, 208, 138, 0.2), transparent 18rem),
    rgba(255, 255, 255, 0.075);
}

.wallet-card.large strong {
  font-size: clamp(3rem, 8vw, 6.2rem);
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.plan-card {
  position: relative;
  display: grid;
  min-height: 245px;
  align-content: start;
  gap: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 26px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.07);
  padding: 1rem;
  text-align: left;
  text-decoration: none;
  box-shadow: none;
}

.plan-card:hover {
  transform: translateY(-2px);
  border-color: rgba(17, 208, 138, 0.38);
}

.plan-card:focus-visible {
  outline: 3px solid rgba(248, 207, 114, 0.9);
  outline-offset: 4px;
}

.plan-card span {
  font-weight: 900;
}

.plan-card strong {
  font-size: 1.95rem;
  line-height: 1;
  letter-spacing: -0.06em;
}

.plan-card small {
  color: var(--muted);
  line-height: 1.45;
}

.plan-card b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: end;
  width: 100%;
  margin-top: auto;
  border-radius: 999px;
  padding: 0.78rem 0.95rem;
  color: #06110d;
  background: linear-gradient(135deg, var(--green-bright), #f8cf72);
  font-size: 0.82rem;
  font-weight: 900;
  box-shadow: 0 16px 32px rgba(17, 208, 138, 0.16);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.plan-card:hover b {
  transform: translateY(-1px);
  box-shadow: 0 20px 42px rgba(17, 208, 138, 0.24);
}

.plan-card em {
  width: fit-content;
  border-radius: 999px;
  padding: 0.36rem 0.58rem;
  color: #06110d;
  background: var(--gold);
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.plan-card.recommended {
  border-color: rgba(242, 184, 75, 0.42);
  background:
    radial-gradient(circle at top right, rgba(242, 184, 75, 0.18), transparent 11rem),
    rgba(255, 255, 255, 0.08);
}

.account-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.account-details div {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.06);
}

.account-details strong {
  display: block;
  margin-top: 0.4rem;
  color: var(--cream);
  line-height: 1.35;
}

.mobile-tabs {
  display: none;
}

.mobile-logout {
  color: #06110d;
  background: linear-gradient(135deg, #f8cf72, #f2b84b);
}

@media (max-width: 1180px) {
  .plans-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .screen-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 920px) {
  .mobile-tabs {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .mobile-tab {
    min-width: 0;
  }

  body {
    background:
      radial-gradient(circle at top left, rgba(17, 208, 138, 0.22), transparent 22rem),
      linear-gradient(135deg, #06110d, #111b14);
  }

  .auth-screen {
    grid-template-columns: 1fr;
    align-items: start;
    padding: 1rem 0 1.5rem;
  }

  .auth-copy h1 {
    font-size: clamp(3rem, 15vw, 5.5rem);
  }

  .auth-benefits {
    grid-template-columns: 1fr;
  }

  .app-shell {
    display: block;
    padding: 0.75rem 0.75rem 5.8rem;
  }

  .app-sidebar {
    position: static;
    height: auto;
    margin-bottom: 0.75rem;
  }

  .app-nav,
  .sidebar-logout {
    display: none;
  }

  .app-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .header-actions {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
  }

  .header-status {
    width: 100%;
  }

  .quick-panel {
    grid-template-columns: 1fr;
  }

  .wallet-dashboard,
  .account-details {
    grid-template-columns: 1fr;
  }

  .plans-grid {
    grid-template-columns: 1fr;
  }

  .composer {
    grid-template-columns: 1fr;
  }

  .chat-log {
    min-height: 54vh;
    max-height: none;
  }

  .chat-log > :not(.empty-chat) {
    max-width: 92%;
  }

  .mobile-tabs {
    position: fixed;
    right: 0.75rem;
    bottom: 0.75rem;
    left: 0.75rem;
    z-index: 20;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.35rem;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(4, 14, 10, 0.86);
    padding: 0.45rem;
    box-shadow: var(--shadow);
    backdrop-filter: blur(22px);
  }

  .mobile-tab {
    border: 0;
    border-radius: 18px;
    color: var(--muted);
    background: transparent;
    padding: 0.78rem 0.35rem;
    font-size: 0.78rem;
    font-weight: 900;
  }

  .mobile-tab.active {
    color: #06110d;
    background: linear-gradient(135deg, var(--green-bright), #f8cf72);
  }
}

@media (max-width: 560px) {
  .auth-screen {
    width: min(100% - 22px, 1180px);
  }

  .auth-actions,
  .session-actions.wide,
  .install-callout {
    grid-template-columns: 1fr;
  }

  .auth-card,
  .chat-panel,
  .quick-panel,
  .section-card,
  .app-header,
  .app-sidebar {
    border-radius: 24px;
  }

  .panel-head {
    align-items: stretch;
    flex-direction: column;
  }

  .pill {
    width: fit-content;
  }
}
