/* The concentrator page. Tokens: plan §3.9 (the Velixo design system values the mocks use). */

:root {
  --navy: #243261;
  --on-navy-2: #c7d0e8;
  --royal: #3769ff;
  --royal-text: #2148c2;
  --mint: #58ddb1;
  --periwinkle: #87a5ff;
  --pale-blue: #dbeafe;
  --page: #f7f9fc;
  --neutral: #eef3fb;
  --white: #ffffff;
  --text-2: #4a5781;
  --border: #e3e8f2;
  --border-input: #cfd7e6;
  --warning-bg: #fff3da;
  --warning-text: #8a5a06;
  --success-bg: #e0f8ee;
  --success-text: #0b6b49;
  --danger-bg: #fce3e4;
  --danger-text: #a4151b;
  --radius-card: 14px;
  --radius-input: 10px;
  --radius-pill: 999px;
  --shadow: 0 1px 2px rgba(36, 50, 97, 0.06);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: ui-monospace, SFMono-Regular, Consolas, monospace;
  color-scheme: light;
}

/* ---- Base ---- */

* {
  box-sizing: border-box;
}

html {
  background: var(--neutral);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--neutral);
  color: var(--navy);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.45;
}

a {
  color: var(--navy);
}

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

button {
  cursor: pointer;
}

button:disabled {
  cursor: default;
}

:focus-visible {
  outline: 2px solid var(--royal);
  outline-offset: 2px;
}

p {
  margin: 0;
}

.icon {
  flex-shrink: 0;
}

/* ---- Layout: phone first, a column of up to 1100 px on a desktop ---- */

.app {
  max-width: 1100px;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  background: var(--page);
}

@media (min-width: 1101px) {
  .app {
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
  }
}

.app-top {
  position: sticky;
  top: 0;
  z-index: 10;
}

#slot-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding-top: env(safe-area-inset-top);
}

.app-main {
  flex: 1 0 auto;
  padding: 16px 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.app-footer {
  position: sticky;
  bottom: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 16px calc(22px + env(safe-area-inset-bottom));
  background: var(--white);
  border-top: 1px solid var(--border);
}

.app-footer:empty {
  display: none;
}

/* Home and the hour plan: the list shows through the footer's fade (§3.9's one gradient). */
.app-footer:has(> .footer-fade) {
  padding-bottom: calc(24px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(247, 249, 252, 0) 0%, var(--page) 40%);
  border-top: 0;
  pointer-events: none;
}

.footer-fade {
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: auto;
}

.footer-buttons {
  display: flex;
  gap: 10px;
}

.footer-buttons > * {
  flex: 1 1 0;
  min-width: 0;
}

.footer-buttons > .button-outline {
  height: 48px;
  font-size: 15px;
}

.footer-caption {
  text-align: center;
}

/* ---- Headers ---- */

.brand-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 16px 12px;
}

.velixo-mark {
  flex-shrink: 0;
}

.header-text {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  min-width: 0;
}

.brand-title {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.header-caption {
  font-size: 12px;
  line-height: 1.3;
  color: var(--text-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-pill);
  background: var(--navy);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.detail-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 12px 12px 8px;
}

.detail-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-pill);
  color: var(--navy);
  text-decoration: none;
}

/* ---- Tones: the colour pairs of §3.9 ---- */

.tone-warning {
  background: var(--warning-bg);
  color: var(--warning-text);
}

.tone-danger {
  background: var(--danger-bg);
  color: var(--danger-text);
}

.tone-success {
  background: var(--success-bg);
  color: var(--success-text);
}

.tone-royal {
  background: var(--pale-blue);
  color: var(--royal-text);
}

.tone-neutral {
  background: var(--neutral);
  color: var(--text-2);
}

/* ---- Strip and chips ---- */

.strip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
}

.strip-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chips {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  overflow-x: auto;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  scrollbar-width: none;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  padding: 6px 12px;
  border: 0;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.chip:disabled {
  opacity: 0.55;
}

.chip-count {
  font-weight: 700;
}

/* ---- Sections and cards ---- */

.group,
.section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.section {
  gap: 8px;
}

.section-heading {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-2);
}

.card {
  padding: 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card-title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
}

.caption {
  font-size: 12px;
  line-height: 1.45;
  color: var(--text-2);
}

.mono {
  font-family: var(--mono);
}

.body-text {
  font-size: 14px;
  line-height: 1.55;
}

.secondary-text {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-2);
}

.spacer {
  flex-grow: 1;
}

/* ---- Task cards ---- */

.task-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.task-card-link {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--navy);
  text-decoration: none;
}

/* The link covers the whole card, its kind pill too; the card's button sits above it. */
.task-card-link::after {
  content: '';
  position: absolute;
  inset: 0;
}

.task-card-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.task-card-foot > .pill {
  white-space: nowrap;
}

.task-card-foot > .button-small {
  position: relative;
  margin-left: auto;
}

.task-card-top {
  display: flex;
  align-items: center;
  gap: 8px;
}

.age {
  font-size: 12px;
  color: var(--text-2);
  white-space: nowrap;
}

.task-card-heading {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.task-card-heading .caption {
  overflow-wrap: anywhere;
}

.task-card-summary {
  font-size: 14px;
  line-height: 1.45;
  color: var(--text-2);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
}

/* ---- Compact rows: Running, Idle, Stale, tokens ---- */

.list-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}

.item-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  color: var(--navy);
  text-decoration: none;
}

.item-row + .item-row {
  border-top: 1px solid var(--border);
}

.item-row-link {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  min-width: 0;
  color: var(--navy);
  text-decoration: none;
}

.item-title {
  flex-grow: 1;
  min-width: 0;
  font-size: 14px;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.item-caption {
  flex-shrink: 0;
  font-size: 12px;
  color: var(--text-2);
  white-space: nowrap;
}

.item-row-link .item-caption {
  overflow: hidden;
  text-overflow: ellipsis;
}

.dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: var(--radius-pill);
  background: var(--border-input);
}

.dot-busy,
.dot-running {
  background: var(--royal);
  animation: pulse 1.6s ease-out infinite;
}

.dot-lost {
  background: transparent;
  border: 1.5px solid var(--danger-text);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(55, 105, 255, 0.45);
  }
  70% {
    box-shadow: 0 0 0 6px rgba(55, 105, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(55, 105, 255, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .dot-busy,
  .dot-running {
    animation: none;
  }
}

/* ---- Empty state, loading ---- */

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 24px 18px;
  text-align: center;
}

.empty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 4px;
  border-radius: var(--radius-pill);
  background: var(--success-bg);
  color: var(--success-text);
}

.empty-icon.is-royal {
  background: var(--pale-blue);
  color: var(--royal-text);
}

.empty-state-action {
  margin-top: 8px;
}

.loading {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-2);
}

.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid var(--border);
  border-top-color: var(--royal);
  border-radius: var(--radius-pill);
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ---- Notes ---- */

.note {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--radius-input);
}

.note-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.note-title {
  font-size: 14px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.note-caption {
  font-size: 12px;
  overflow-wrap: anywhere;
}

.notice-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.you-said {
  padding: 0 2px;
  font-size: 13px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}

.you-said-text {
  font-style: italic;
}

.lock-note {
  display: flex;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--neutral);
  color: var(--text-2);
}

.lock-note p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--navy);
}

/* ---- Chat sections ---- */

.question-text {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.option {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  border: 1.5px solid var(--border-input);
  border-radius: var(--radius-input);
  background: var(--white);
}

.option-label {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
}

.option-hint {
  font-size: 12px;
  color: var(--text-2);
}

.prompt-text {
  font-size: 14px;
  line-height: 1.55;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.tag {
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 600;
}

.code-block {
  margin: 0;
  padding: 12px;
  border-radius: var(--radius-input);
  background: var(--navy);
  color: var(--white);
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-word;
}

.selectable {
  user-select: all;
  -webkit-user-select: all;
}

/* ---- Triage: its own card on chats and runs ---- */

.triage-field {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.triage-draft-field {
  gap: 6px;
}

.triage-text {
  font-size: 14px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.triage-draft {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-input);
  background: var(--page);
}

.triage-draft-text {
  flex-grow: 1;
  min-width: 0;
  font-size: 14px;
  line-height: 1.5;
  font-style: italic;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.triage-meta {
  font-size: 11px;
  color: var(--text-2);
}

/* ---- Markdown ---- */

.markdown {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.markdown ul,
.markdown ol {
  margin: 0;
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.markdown li > p {
  margin: 0;
}

.markdown li > ul,
.markdown li > ol {
  margin-top: 6px;
}

.markdown .md-heading {
  margin: 4px 0 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
}

.markdown h5.md-heading {
  font-size: 14px;
}

.markdown code {
  padding: 1px 5px;
  border-radius: 4px;
  background: var(--neutral);
  font-family: var(--mono);
  font-size: 13px;
}

.markdown .md-code {
  margin: 0;
  padding: 12px;
  border-radius: var(--radius-input);
  background: var(--navy);
  color: var(--white);
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.5;
  overflow-x: auto;
}

.markdown .md-code code {
  padding: 0;
  background: none;
  font-size: inherit;
  color: inherit;
}

.markdown blockquote {
  margin: 0;
  padding: 2px 0 2px 12px;
  border-left: 3px solid var(--border-input);
  color: var(--text-2);
}

.markdown hr {
  width: 100%;
  margin: 2px 0;
  border: 0;
  border-top: 1px solid var(--border);
}

.markdown a {
  color: var(--royal-text);
}

.md-table {
  overflow-x: auto;
}

.md-table table {
  border-collapse: collapse;
  font-size: 13px;
}

.md-table th,
.md-table td {
  padding: 6px 10px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.md-table th {
  color: var(--text-2);
  font-weight: 600;
  white-space: nowrap;
}

.context-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 12px;
  border-radius: var(--radius-input);
  background: var(--page);
}

/* ---- Run ---- */

.stage-track {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 12px 14px;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}

.stage-pill {
  flex-shrink: 0;
  padding: 4px 9px;
  border-radius: var(--radius-pill);
  background: var(--neutral);
  color: var(--text-2);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.stage-pill.is-done {
  background: var(--success-bg);
  color: var(--success-text);
}

.stage-pill.is-current {
  background: var(--navy);
  color: var(--white);
}

.failure-text {
  margin: 0;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.5;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.actions-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

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

.link-card {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  text-decoration: none;
}

/* ---- Hour plan ---- */

.short-version {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px;
  border-radius: var(--radius-card);
  background: var(--navy);
  color: var(--white);
}

.short-version-heading {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-navy-2);
}

.short-version-text {
  font-size: 15px;
  line-height: 1.5;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.plan-item {
  display: flex;
  gap: 12px;
  color: var(--navy);
  text-decoration: none;
}

.plan-item.is-done,
.can-wait-row.is-done {
  opacity: 0.6;
}

.plan-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-pill);
  background: var(--navy);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
}

.plan-number.is-phone {
  background: var(--royal);
}

.plan-item-text {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 4px;
  min-width: 0;
  overflow-wrap: anywhere;
}

.plan-why {
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-2);
}

.plan-item-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}

.plan-item-meta .pill {
  padding: 3px 8px;
  font-size: 11px;
}

.plan-reach {
  font-size: 11px;
  color: var(--text-2);
}

.can-wait-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 14px;
  color: var(--navy);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.can-wait-row + .can-wait-row {
  border-top: 1px solid var(--border);
}

.can-wait-title {
  font-size: 14px;
  font-weight: 500;
}

.can-wait-why {
  font-size: 12px;
  color: var(--text-2);
}

/* ---- Fields ---- */

.field-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.textarea,
.text-input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border-input);
  border-radius: var(--radius-input);
  background: var(--white);
  color: var(--navy);
  font-size: 15px;
  line-height: 1.4;
}

/* iOS zooms into a field whose text is under 16 px: phones get 16 px instead of the mock's 15. */
@media (pointer: coarse) {
  .textarea,
  .text-input {
    font-size: 16px;
  }
}

.textarea {
  resize: vertical;
  min-height: 48px;
  max-height: 40vh;
}

.textarea:disabled {
  resize: none;
  border-color: var(--border);
  background: var(--page);
  color: var(--text-2);
  font-size: 14px;
}

.reply-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.counter {
  flex-grow: 1;
  min-width: 0;
  font-size: 12px;
  color: var(--text-2);
}

.counter.is-over {
  color: var(--danger-text);
  font-weight: 600;
}

.token-form {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.inline-form-row {
  display: flex;
  gap: 8px;
}

.inline-form-row .text-input {
  flex-grow: 1;
  min-width: 0;
}

.created-token {
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--page);
}

.snippet {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.snippet .code-block {
  width: 100%;
}

/* A switch: the whole row is the button, its state is aria-checked. */
.switch-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
}

.switch-label {
  flex-grow: 1;
  min-width: 0;
  font-size: 15px;
  font-weight: 600;
}

.switch-track {
  position: relative;
  flex-shrink: 0;
  width: 48px;
  height: 28px;
  border-radius: var(--radius-pill);
  background: var(--border-input);
  transition: background-color 0.15s ease;
}

.switch-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: var(--radius-pill);
  background: var(--white);
  box-shadow: 0 1px 2px rgba(36, 50, 97, 0.2);
  transition: transform 0.15s ease;
}

.switch-row[aria-checked='true'] .switch-track {
  background: var(--royal);
}

.switch-row[aria-checked='true'] .switch-thumb {
  transform: translateX(20px);
}

.switch-row:disabled {
  opacity: 0.55;
}

@media (prefers-reduced-motion: reduce) {
  .switch-track,
  .switch-thumb {
    transition: none;
  }
}

/* ---- Buttons: 48 px primary, 44 px secondary, pills ---- */

.button-primary,
.button-send,
.button-outline,
.button-ghost,
.button-danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.button-primary {
  height: 48px;
  padding: 0 20px;
  border: 0;
  background: var(--royal);
  color: var(--white);
  font-size: 15px;
}

.button-send {
  flex-shrink: 0;
  height: 44px;
  padding: 0 20px;
  border: 0;
  background: var(--royal);
  color: var(--white);
  font-size: 15px;
}

.button-primary:disabled,
.button-send:disabled {
  background: var(--pale-blue);
  color: var(--text-2);
}

.button-lifted {
  box-shadow: 0 6px 18px -4px rgba(36, 50, 97, 0.18);
}

.button-lifted:disabled {
  box-shadow: none;
}

.button-outline {
  height: 44px;
  padding: 0 18px;
  border: 1.5px solid var(--navy);
  background: var(--white);
  color: var(--navy);
  font-size: 14px;
}

.button-outline:disabled {
  border-color: var(--border-input);
  color: var(--text-2);
}

.button-compact {
  flex-shrink: 0;
  height: 34px;
  padding: 0 12px;
  gap: 6px;
  font-size: 12px;
}

.button-ghost {
  height: 44px;
  padding: 0 16px;
  border: 0;
  background: transparent;
  color: var(--navy);
  font-size: 14px;
}

.button-danger {
  height: 44px;
  padding: 0 16px;
  border: 0;
  background: var(--danger-bg);
  color: var(--danger-text);
  font-size: 14px;
}

.button-ghost:disabled,
.button-danger:disabled {
  opacity: 0.55;
}

.button-small {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  padding: 6px 12px;
  border: 1.5px solid var(--navy);
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--navy);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.button-small:disabled {
  opacity: 0.55;
}

.button-small-danger {
  border-color: var(--danger-text);
  background: var(--danger-bg);
  color: var(--danger-text);
}

.button-text {
  flex-shrink: 0;
  padding: 6px 4px;
  border: 0;
  background: none;
  color: var(--text-2);
  font-size: 12px;
  font-weight: 600;
}
