:root {
  --topbar-min: 104px;
  --composer-min: 116px;
  --bg: #f7faf8;
  --surface: #ffffff;
  --surface-strong: #0b132b;
  --ink: #0b132b;
  --muted: #66717f;
  --line: #e1e7ec;
  --accent: #00bfa6;
  --accent-dark: #008d81;
  --accent-soft: #e6faf7;
  --sage: #b9d8d3;
  --clay: #a6adb7;
  --sky: #eef6f8;
  --shadow: 0 18px 44px rgba(11, 19, 43, 0.12);
}

html {
  min-width: 320px;
  min-height: 100%;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at top left, rgba(0, 191, 166, 0.12), transparent 34rem),
    radial-gradient(circle at bottom right, rgba(11, 19, 43, 0.08), transparent 28rem),
    linear-gradient(135deg, #f7faf8 0%, #f1f7f6 55%, #ffffff 100%);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

@media (max-height: 780px) {
  :root {
    --topbar-min: 86px;
    --composer-min: 104px;
  }
}

@media (max-width: 1180px) {
  :root {
    --topbar-min: 104px;
  }
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(21, 23, 28, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 23, 28, 0.035) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 70%);
}

button,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.app-shell {
  display: grid;
  grid-template-columns: clamp(250px, 20vw, 300px) minmax(0, 1fr);
  height: 100vh;
  min-height: 0;
  overflow: hidden;
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px;
  max-height: 100vh;
  overflow-y: auto;
  background: rgba(255, 253, 248, 0.8);
  border-right: 1px solid var(--line);
  backdrop-filter: blur(20px);
  z-index: 1;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 42px;
}

.brand-mark {
  display: grid;
  place-items: center;
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(95, 141, 122, 0.96), rgba(38, 53, 47, 0.98)),
    var(--surface-strong);
  color: #fff;
  font-weight: 800;
}

.brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 24px rgba(11, 19, 43, 0.16);
}

.brand-mark::after {
  content: "";
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #d9bd8b;
  box-shadow: 0 0 0 4px rgba(217, 189, 139, 0.22);
}

.brand strong,
.brand span {
  display: block;
}

.brand span,
.status-panel span,
.history-heading,
.eyebrow {
  color: var(--muted);
  font-size: 0.78rem;
}

.primary-action,
.ghost-action,
.composer button {
  min-height: 36px;
  border: 0;
  border-radius: 8px;
  font-weight: 750;
}

.mobile-toggle,
.tools-toggle,
.mobile-account-actions {
  display: none;
}

.sidebar-menu {
  display: grid;
  gap: 14px;
}

.primary-action,
.composer button {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: white;
  box-shadow: 0 12px 24px rgba(22, 124, 128, 0.18);
}

.primary-action:hover,
.composer button:hover {
  background: var(--accent-dark);
}

.ghost-action {
  padding: 0 12px;
  background: #fffdf8;
  border: 1px solid var(--line);
  color: var(--ink);
}

.ghost-action:hover {
  border-color: #b9c8cb;
  background: #f8fbfb;
}

.mode-panel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(86px, 1fr));
  gap: 6px;
  padding: 6px;
  background: rgba(255, 253, 248, 0.86);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.mode-button {
  min-height: 38px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
}

.mode-button.active {
  background: var(--surface-strong);
  color: #fff;
  box-shadow: 0 8px 18px rgba(21, 23, 28, 0.14);
}

.panel,
.status-panel,
.history-panel,
.settings-panel {
  padding: 10px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.history-panel {
  display: grid;
  gap: 10px;
  min-height: 220px;
}

.history-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #30343d;
  font-size: 0.82rem;
  font-weight: 800;
}

.history-heading strong {
  display: grid;
  min-width: 26px;
  height: 24px;
  place-items: center;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.history-list {
  display: grid;
  align-content: start;
  gap: 8px;
  max-height: min(58vh, 520px);
  overflow-y: auto;
  padding-right: 2px;
}

.history-item {
  display: grid;
  gap: 4px;
  width: 100%;
  min-height: 54px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--ink);
  text-align: left;
  box-shadow: none;
}

.history-item.active {
  border-color: rgba(95, 141, 122, 0.42);
  background: var(--accent-soft);
}

.history-item strong,
.history-item span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.history-item span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 750;
}

.history-list:empty::before {
  content: "No saved chats yet.";
  padding: 12px 6px;
  color: var(--muted);
  font-size: 0.86rem;
}

.settings-panel {
  display: grid;
  gap: 10px;
}

.settings-toggle {
  min-height: 34px;
  border: 0;
  border-radius: 6px;
  background: var(--accent-soft);
  color: var(--surface-strong);
  font-weight: 850;
}

.settings-toggle.active {
  background: var(--surface-strong);
  color: white;
}

.settings-body {
  display: none;
  gap: 10px;
}

.settings-body.open {
  display: grid;
}

.settings-body textarea {
  min-height: 110px;
  max-height: 170px;
  font-size: 0.86rem;
}

.privacy-row {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.35;
}

.privacy-row input {
  margin: 2px 0 0;
}

.settings-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.settings-actions .ghost-action {
  min-height: 34px;
  padding: 0 8px;
  font-size: 0.76rem;
}

.danger-action {
  color: #8f2f2f;
}

.settings-status {
  min-height: 16px;
  margin: 0;
  color: var(--muted);
  font-size: 0.74rem;
}

.privacy-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.35;
}

label {
  display: block;
  margin-bottom: 8px;
  color: #30343d;
  font-size: 0.82rem;
  font-weight: 750;
}

textarea {
  width: 100%;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 10px;
  background: #fffefb;
  color: var(--ink);
  line-height: 1.42;
  outline: none;
  scrollbar-width: thin;
}

textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(95, 141, 122, 0.18);
}

.status-panel {
  display: grid;
  gap: 12px;
}

.status-panel div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.status-panel strong {
  max-width: 145px;
  overflow: hidden;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copyright {
  margin: auto 0 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.4;
}

.mobile-copyright {
  display: none;
}

.chat-area {
  display: grid;
  grid-template-rows: minmax(var(--topbar-min), auto) minmax(0, 1fr) minmax(var(--composer-min), auto);
  min-width: 0;
  height: 100vh;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.guest-mode .chat-area {
  grid-template-rows: minmax(var(--topbar-min), auto) auto minmax(0, 1fr) minmax(var(--composer-min), auto);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: var(--topbar-min);
  padding: 14px clamp(18px, 2.4vw, 30px);
  background: rgba(246, 248, 244, 0.72);
  border-bottom: 1px solid rgba(219, 227, 220, 0.92);
  backdrop-filter: blur(18px);
}

.account-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  justify-content: flex-end;
  min-width: 430px;
}

.account-bar span {
  max-width: 230px;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.guest-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px 14px;
  background: rgba(231, 241, 236, 0.94);
  border-bottom: 1px solid rgba(95, 141, 122, 0.24);
  color: var(--accent-dark);
  font-size: 0.8rem;
  font-weight: 750;
  text-align: center;
}

.guest-banner a,
.login-cta a {
  display: inline-grid;
  min-height: 30px;
  place-items: center;
  padding: 0 12px;
  border: 1px solid rgba(95, 141, 122, 0.28);
  border-radius: 999px;
  background: #fffdf8;
  color: var(--surface-strong);
  font-size: 0.78rem;
  font-weight: 850;
  text-decoration: none;
}

.guest-mode .settings-panel textarea,
.guest-mode .privacy-row,
.guest-mode .privacy-note,
.guest-mode .settings-actions {
  display: none;
}

.guest-mode .settings-panel::after {
  content: "Sign up to save chats, business memory, preferences, export, and delete account data.";
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.4;
}

.eyebrow {
  margin: 0 0 5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
}

h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(1.08rem, 1.35vw, 1.34rem);
  line-height: 1.15;
  white-space: nowrap;
}

.messages {
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow-y: auto;
  min-height: 0;
  padding: 18px clamp(18px, 2.4vw, 30px);
}

.empty-state {
  display: block;
  min-height: 100%;
  max-width: none;
}

.empty-state h2 {
  display: none;
}

.empty-state p {
  max-width: 620px;
  margin: 0;
  padding: 2px 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.message {
  display: grid;
  gap: 7px;
  max-width: min(740px, 100%);
}

.message.user {
  align-self: end;
}

.message.assistant {
  align-self: start;
}

.message small {
  color: var(--muted);
  font-weight: 750;
}

.source-note {
  justify-self: start;
  padding: 4px 8px;
  border: 1px solid rgba(95, 141, 122, 0.28);
  border-radius: 999px;
  background: rgba(231, 241, 236, 0.8);
  color: var(--accent-dark);
  font-size: 0.72rem;
  font-weight: 800;
}

.bubble {
  padding: 12px 14px;
  border-radius: 8px;
  line-height: 1.5;
  white-space: pre-wrap;
  box-shadow: 0 8px 28px rgba(31, 34, 40, 0.08);
}

.user .bubble {
  background: var(--surface-strong);
  color: #fff;
}

.assistant .bubble {
  background: var(--surface);
  border: 1px solid var(--line);
}

.image-card {
  display: block;
  overflow: hidden;
  width: min(520px, 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.image-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.image-card.loading {
  display: grid;
  min-height: 220px;
  place-items: center;
  color: var(--muted);
  font-weight: 800;
  text-decoration: none;
}

.image-card.error {
  display: grid;
  min-height: 120px;
  place-items: center;
  padding: 16px;
  color: var(--muted);
  text-decoration: none;
}

.message-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.message-actions button {
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.86);
  color: #354047;
  font-size: 0.78rem;
  font-weight: 800;
}

.message-actions button:hover {
  background: var(--accent-soft);
  border-color: rgba(95, 141, 122, 0.34);
}

.thinking .bubble {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 74px;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
  animation: pulse 900ms infinite ease-in-out;
}

.pulse-dot:nth-child(2) {
  animation-delay: 120ms;
}

.pulse-dot:nth-child(3) {
  animation-delay: 240ms;
}

.composer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 74px;
  gap: 12px;
  min-height: var(--composer-min);
  padding: 10px clamp(18px, 2.4vw, 30px) 12px;
  background: rgba(246, 248, 244, 0.8);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.composer-inner {
  display: grid;
  gap: 8px;
}

.prompt-tools {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  grid-column: 1 / -1;
  order: -1;
}

.prompt-tools button {
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.86);
  color: #354047;
  font-size: 0.78rem;
  font-weight: 800;
  box-shadow: none;
}

.prompt-tools button:hover {
  background: var(--accent-soft);
  border-color: rgba(95, 141, 122, 0.34);
}

.composer textarea {
  min-height: 42px;
  max-height: 86px;
  resize: none;
  background: white;
}

.composer > button {
  align-self: end;
  height: 42px;
  min-height: 42px;
  padding: 0 10px;
}

.composer button:disabled {
  cursor: wait;
  opacity: 0.7;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.35;
    transform: translateY(0);
  }

  50% {
    opacity: 1;
    transform: translateY(-2px);
  }
}

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

  .topbar {
    align-items: flex-start;
  }

  .account-bar {
    min-width: 360px;
    max-width: 360px;
  }

  .account-bar span {
    width: auto;
    max-width: 150px;
    text-align: right;
  }
}

@media (max-width: 1080px) and (min-width: 981px) {
  .account-bar {
    min-width: 310px;
    max-width: 310px;
  }

  .account-bar span {
    max-width: 125px;
  }

  .ghost-action {
    padding: 0 9px;
  }
}

@media (max-width: 980px) {
  .app-shell {
    grid-template-columns: 1fr;
    min-height: 100vh;
    overflow: visible;
  }

  .sidebar {
    max-height: none;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .chat-area {
    height: auto;
    min-height: 78vh;
    overflow: visible;
  }

  .messages {
    min-height: 48vh;
  }
}

@media (max-height: 760px) and (min-width: 981px) {
  .sidebar {
    gap: 10px;
    padding: 12px;
  }

  .brand {
    min-height: 40px;
  }

  .primary-action {
    min-height: 36px;
  }

  .panel textarea {
    max-height: 82px;
  }

  .status-panel {
    gap: 6px;
  }

  label {
    margin-bottom: 6px;
  }

  .topbar {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .messages {
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .composer {
    padding-top: 8px;
    padding-bottom: 10px;
  }

  .copyright {
    display: none;
  }
}

@media (max-width: 860px) {
  .topbar {
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 14px;
  }

  .app-shell {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }

  .chat-area {
    display: contents;
  }

  .sidebar {
    display: contents;
  }

  .copyright {
    display: none;
  }

  .mobile-copyright {
    order: 6;
    display: block;
    margin: 0;
    padding: 10px 12px 14px;
    color: var(--muted);
    font-size: 0.76rem;
    line-height: 1.4;
    text-align: center;
    background: rgba(246, 248, 244, 0.86);
    border-top: 1px solid var(--line);
  }

  .sidebar .brand {
    display: none;
  }

  .primary-action {
    order: 2;
    width: 100%;
    min-height: 38px;
    margin: 0 12px 8px;
    width: calc(100% - 24px);
  }

  .mobile-toggle,
  .tools-toggle {
    display: block;
    width: 100%;
    min-height: 34px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 253, 248, 0.92);
    color: var(--surface-strong);
    font-size: 0.88rem;
    font-weight: 850;
  }

  .sidebar > .mobile-toggle {
    order: 1;
    width: auto;
    min-width: 104px;
    min-height: 34px;
    padding: 0 18px;
    justify-self: end;
    margin: 0;
    position: absolute;
    top: 14px;
    right: 12px;
    z-index: 4;
  }

  .mobile-toggle.active,
  .tools-toggle.active {
    background: var(--surface-strong);
    color: white;
  }

  .sidebar-menu {
    display: none;
    order: 3;
    margin: 0 12px 8px;
  }

  .sidebar-menu.open {
    display: grid;
    gap: 10px;
  }

  .mode-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
  }

  .mobile-account-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .history-panel {
    min-height: 0;
    max-height: 210px;
    overflow: hidden;
  }

  .history-list {
    max-height: 154px;
  }

  .settings-panel {
    padding: 8px;
  }

  .settings-body textarea {
    min-height: 92px;
    max-height: 124px;
  }

  .topbar {
    order: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 60px;
    padding: 21px 130px 16px 12px;
  }

  .guest-banner {
    order: 3;
    flex-wrap: wrap;
    gap: 6px;
    padding: 8px 12px;
    font-size: 0.76rem;
  }

  h1 {
    display: none;
  }

  .eyebrow {
    margin: 0;
    font-size: 0.68rem;
  }

  .account-bar {
    display: none;
  }

  .composer {
    order: 5;
    grid-template-columns: 1fr;
    position: sticky;
    bottom: 0;
    gap: 8px;
    padding: 8px 10px;
  }

  .composer-inner {
    order: 1;
  }

  .composer > button {
    order: 2;
  }

  .composer > .tools-toggle {
    order: 3;
  }

  .prompt-tools {
    display: none;
    order: 4;
    grid-column: auto;
  }

  .prompt-tools.open {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .composer textarea {
    min-height: 58px;
    max-height: 96px;
  }

  .composer > button {
    width: 100%;
    height: 40px;
    min-height: 40px;
  }

  .messages {
    order: 4;
    padding: 14px 12px 16px;
    gap: 12px;
    flex: 1 1 auto;
    min-height: 48vh;
  }

  .message,
  .message.user,
  .message.assistant {
    align-self: stretch;
  }

  .message-actions {
    gap: 6px;
  }

  .message-actions button {
    min-width: 72px;
    min-height: 34px;
    padding: 0 10px;
  }

  .message-actions button:nth-child(n + 5) {
    display: none;
  }

  .bubble {
    width: 100%;
    font-size: 0.96rem;
    overflow-wrap: anywhere;
  }

  .image-card {
    width: 100%;
  }

  .empty-state {
    display: block;
    min-height: 34vh;
    max-width: none;
  }

  .empty-state h2,
  .empty-state p {
    display: none;
  }
}

@media (max-width: 380px) {
  .mode-panel {
    grid-template-columns: 1fr;
  }

  .prompt-tools button {
    flex-basis: 100%;
  }

  .account-bar {
    gap: 8px;
  }

  .topbar,
  .messages,
  .composer {
    padding-left: 10px;
    padding-right: 10px;
  }
}

.login-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 20px;
}

.login-shell {
  width: min(100%, 520px);
}

.login-panel {
  display: grid;
  gap: 16px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.login-panel h1 {
  display: block;
  margin: 4px 0 0;
  font-size: clamp(2rem, 8vw, 3rem);
  line-height: 1;
  white-space: normal;
}

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

.landing-brand {
  padding-bottom: 4px;
}

.landing-logo {
  width: min(100%, 330px);
  height: auto;
  margin: 0 auto 2px;
}

.auth-step h2 {
  margin: -4px 0 0;
  color: var(--accent-dark);
  font-size: 1.05rem;
  line-height: 1.25;
}

.google-action {
  display: grid;
  min-height: 46px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-strong);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.guest-action {
  display: grid;
  min-height: 46px;
  place-items: center;
  border: 1px solid rgba(95, 141, 122, 0.36);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  font-weight: 850;
  text-decoration: none;
}

.login-inline {
  justify-self: center;
  min-height: 34px;
  padding: 0 12px;
}

.install-panel {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(0, 191, 166, 0.2);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(230, 250, 247, 0.86), rgba(255, 255, 255, 0.94));
}

.install-panel strong {
  color: var(--surface-strong);
}

.install-panel span,
.install-panel small {
  color: var(--muted);
  line-height: 1.4;
}

.install-panel .email-action {
  background: #fff;
}

.login-note {
  font-size: 0.78rem;
}

.auth-panel {
  gap: 16px;
}

.auth-step {
  display: none;
  gap: 14px;
}

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

.auth-form {
  gap: 12px;
}

.auth-form label {
  margin: 0;
}

.auth-form input[type="email"],
.auth-form input[type="password"],
.auth-form input[type="text"] {
  width: 100%;
  min-height: 44px;
  margin-top: 6px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffefb;
  color: var(--ink);
  font: inherit;
}

.email-action {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
  color: var(--ink);
  font-weight: 800;
}

.link-button {
  border: 0;
  background: transparent;
  color: var(--accent-dark);
  font-weight: 800;
}

.auth-status {
  min-height: 20px;
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}
