/* Airsup-only styles. Do not put these in public/css/style.css. */

.airsup-banner {
  margin: 0;
  background: #6E1623;
  color: #EFE8DC;
}

.airsup-banner-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0.55rem 2rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.airsup-banner-name {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.55rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: #4C0E16;
  text-shadow:
    0 0 18px rgba(148, 30, 47, 0.85),
    0 0 6px rgba(180, 70, 80, 0.4),
    0 1px 0 rgba(255, 214, 206, 0.2),
    0 -1px 1px rgba(18, 0, 6, 0.55);
}

.airsup-banner-name:hover {
  color: #4C0E16;
}

.airsup-banner .theme-toggle {
  color: rgba(239, 232, 220, 0.38);
}

.airsup-banner .theme-toggle:hover {
  color: rgba(239, 232, 220, 0.78);
}

@media (max-width: 768px) {
  .airsup-banner-inner {
    padding: 0.5rem 1rem;
  }

  .airsup-banner-name {
    font-size: 1.35rem;
  }
}

.airsup-page .airsup-shell {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding-top: 1.6rem;
  padding-bottom: 2.5rem;
}

body.airsup-start .airsup-shell {
  min-height: calc(100dvh - 3.1rem);
}

body.airsup-start .airsup-production {
  margin-top: auto;
}

.airsup-main {
  flex: 1;
}

.airsup-main-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 2rem;
  padding: 2rem 0 4rem;
}

.airsup-welcome {
  max-width: 36rem;
  padding: 1rem 0 3rem;
}

.airsup-bracket {
  font-size: clamp(1.45rem, 3.2vw, 2rem);
  font-weight: 400;
  margin: 0 0 1.25rem;
  letter-spacing: 0.01em;
}

.airsup-lead {
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  line-height: 1.4;
  margin: 0 0 1.25rem;
  max-width: 22ch;
}

.airsup-lead em {
  font-style: italic;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.airsup-dir {
  margin: 0 0 0.85rem;
  line-height: 1.5;
}

.airsup-can {
  margin: 0 0 1.25rem;
  padding-left: 1.2rem;
  line-height: 1.55;
}

.airsup-can li {
  margin-bottom: 0.35rem;
}

.airsup-start-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 0.5rem;
}

.airsup-headline {
  font-size: clamp(1.6rem, 4.5vw, 2.6rem);
  line-height: 1.25;
  font-weight: 400;
  max-width: 18ch;
  margin: 0;
}

.airsup-headline em {
  font-style: italic;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.airsup-title {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 400;
  margin: 0 0 1rem;
}

.airsup-block-title {
  font-size: 1.15rem;
  font-weight: 400;
  margin: 1.75rem 0 0.5rem;
}

.airsup-sub {
  margin: 0 0 1.5rem;
  max-width: 38rem;
  line-height: 1.5;
  opacity: 0.85;
}

.airsup-start-btn,
.airsup-gmail,
.airsup-finish,
.airsup-copy {
  display: inline-block;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1rem;
  color: var(--text-color);
  background: transparent;
  border: 1px solid var(--text-color);
  padding: 0.45rem 1.1rem;
  text-decoration: none;
  cursor: pointer;
  line-height: 1.4;
}

.airsup-start-btn:hover,
.airsup-gmail:hover,
.airsup-finish:hover,
.airsup-copy:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.airsup-production {
  margin: 0;
  font-size: 0.75rem;
  opacity: 0.45;
  text-align: center;
}

.airsup-account {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin: 0 0 1.5rem;
}

.airsup-email {
  margin: 0;
}

.airsup-text-btn {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 0.9rem;
  color: var(--text-color);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  opacity: 0.55;
  text-decoration: none;
}

.airsup-text-btn:hover {
  opacity: 1;
  color: var(--accent-color);
}

.airsup-note {
  font-size: 0.95rem;
  opacity: 0.7;
  margin: 1rem 0 0;
}

.airsup-note-error {
  opacity: 1;
  color: var(--accent-color);
  margin: 0 0 1rem;
}

.airsup-group {
  font-size: 1.05rem;
  font-weight: 400;
  margin: 1.75rem 0 0.75rem;
}

.airsup-form .airsup-group:first-child {
  margin-top: 0;
}

.airsup-questions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.airsup-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.airsup-field span {
  font-size: 0.95rem;
  line-height: 1.3;
  color: var(--accent-color);
}

.airsup-questions .airsup-field {
  display: grid;
  grid-template-rows: 3.9em auto;
  row-gap: 0.3rem;
}

.airsup-questions .airsup-field span {
  align-self: end;
}

.airsup-q-vis {
  font-size: 0.8rem;
  font-style: normal;
  font-weight: 400;
  opacity: 0.45;
  color: var(--text-color);
  margin-left: 0.25rem;
}

.airsup-field textarea,
.airsup-prompt-text {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1rem;
  line-height: 1.6;
  width: 100%;
  padding: 0.7rem 0.8rem;
  background: var(--entry-bg);
  border: 1px solid var(--border-color);
  color: var(--text-color);
  border-radius: 0;
  resize: vertical;
}

.airsup-field textarea:focus,
.airsup-prompt-text:focus {
  outline: none;
  border-color: var(--accent-color);
}

.airsup-prompt .airsup-prompt-text {
  height: 28vh;
  max-height: 14rem;
  min-height: 8rem;
}

.airsup-finish,
.airsup-copy {
  margin-top: 0.5rem;
}

.airsup-prompt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 0.75rem;
}

.airsup-prompt-actions .airsup-copy {
  margin-top: 0;
}

.airsup-save-status {
  min-height: 1.2em;
  font-size: 0.9rem;
  opacity: 0.55;
  margin: 0 0 0.75rem;
}

.airsup-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin: 0 0 1.25rem;
  max-width: 36rem;
  line-height: 1.45;
  font-size: 0.95rem;
}

.airsup-consent input {
  margin-top: 0.35rem;
}

.airsup-card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin: 0 0 1.5rem;
  padding-top: 0.5rem;
}

.airsup-card-title {
  font-size: 1.15rem;
  font-weight: 400;
  margin: 0;
}

.airsup-mcp {
  margin: 0 0 1.25rem;
}

.airsup-mcp code {
  font-size: 0.9rem;
  word-break: break-all;
}

.airsup-setup {
  padding-left: 1.2rem;
  margin: 0 0 1.5rem;
  line-height: 1.6;
}

.airsup-setup li {
  margin-bottom: 0.75rem;
}

.airsup-setup code {
  font-size: 0.85rem;
  word-break: break-all;
}

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

@media (min-width: 720px) {
  .airsup-questions {
    grid-template-columns: 1fr 1fr;
    align-items: start;
    column-gap: 2rem;
    row-gap: 1.6rem;
  }

  .airsup-questions .airsup-field:nth-child(even) {
    margin-top: 1.45rem;
  }
}
