:root {
  color-scheme: light;
  --ink: #16202a;
  --muted: #5f6f7d;
  --line: #cbd5df;
  --surface: #ffffff;
  --page: #eef2f6;
  --navy: #0f2742;
  --navy-dark: #081827;
  --air-blue: #2f5f8f;
  --steel: #66717a;
  --silver: #d8e0e8;
  --gold: #b88a3d;
  --danger: #9f3434;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(238, 242, 246, 0.96), rgba(238, 242, 246, 1)),
    repeating-linear-gradient(
      135deg,
      rgba(15, 39, 66, 0.04) 0,
      rgba(15, 39, 66, 0.04) 1px,
      transparent 1px,
      transparent 14px
    );
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 32px;
  border-bottom: 3px solid var(--gold);
  background: var(--navy);
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(8, 24, 39, 0.18);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  font-size: 0.95rem;
  color: #ffffff;
  background: var(--navy-dark);
}

.top-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}

.nav-button,
.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 6px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-weight: 700;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.08);
  color: inherit;
  cursor: pointer;
}

.nav-button:hover {
  background: rgba(255, 255, 255, 0.16);
}

.nav-button.locked {
  color: #aeb9c4;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
}

.logout-form {
  margin: 0;
}

.logout-button {
  font: inherit;
}

.page-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 36px 0 56px;
}

.flash,
.error-list {
  margin-bottom: 20px;
  border-radius: 6px;
  padding: 14px 16px;
  background: #edf5f8;
  border: 1px solid #bfd3df;
}

.flash.warning,
.error-list {
  color: var(--danger);
  background: #fff1ef;
  border-color: #edc8c3;
}

.flash.success {
  color: #214f35;
  background: #eff8f1;
  border-color: #bfdfc8;
}

.error-list p {
  margin: 0;
}

.error-list p + p {
  margin-top: 8px;
}

.landing {
  min-height: 560px;
  display: grid;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(8, 24, 39, 0.92), rgba(15, 39, 66, 0.68), rgba(15, 39, 66, 0.22)),
    url("https://upload.wikimedia.org/wikipedia/commons/e/e9/A_right_side_view_of_an_FB-111A_aircraft_of_the_509th_Bombardment_Wing_as_it_takes_off_-_DPLA_-_df0bf7f8d962ae4d1c5a67b6c58aeeab.jpeg");
  background-position: center;
  background-size: cover;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 18px 36px rgba(8, 24, 39, 0.16);
}

.landing-copy {
  max-width: 680px;
  padding: 64px;
  color: #ffffff;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  font-weight: 800;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h1 {
  margin: 0 0 16px;
  font-size: clamp(2.25rem, 5vw, 4.75rem);
  line-height: 1;
  letter-spacing: 0;
}

.landing p {
  max-width: 610px;
  font-size: 1.15rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.primary-action {
  border-color: var(--gold);
  color: #111820;
  background: var(--gold);
}

.primary-action:hover {
  background: #c89a4f;
}

.secondary-action {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.1);
}

.mission-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.mission-strip article,
.form-panel,
.content-view {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(15, 39, 66, 0.08);
}

.mission-strip article {
  padding: 22px;
  border-top: 4px solid var(--air-blue);
}

.mission-strip h2 {
  margin: 0 0 8px;
  font-size: 1.15rem;
}

.mission-strip p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.form-panel,
.content-view {
  max-width: 820px;
  margin: 0 auto;
  padding: 32px;
}

.form-panel h1,
.content-view h1 {
  font-size: 2.25rem;
}

form {
  display: grid;
  gap: 18px;
}

label {
  display: grid;
  gap: 8px;
  font-weight: 700;
}

input {
  min-height: 44px;
  border: 1px solid #b8c5cf;
  border-radius: 6px;
  padding: 0 12px;
  font: inherit;
  background: #ffffff;
}

input:focus {
  outline: 3px solid rgba(47, 95, 143, 0.22);
  border-color: var(--air-blue);
}

.date-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f9fb;
}

.field-heading {
  grid-column: 1 / -1;
  margin: 0;
  font-weight: 800;
  color: var(--navy);
}

.form-submit {
  width: max-content;
  border: 0;
  font: inherit;
}

.timeline-list {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.timeline-item {
  position: relative;
  border-left: 4px solid var(--gold);
  padding: 6px 0 6px 18px;
}

.timeline-item span {
  color: var(--air-blue);
  font-weight: 800;
}

.timeline-item h2,
.photo-tile h2 {
  margin: 8px 0;
  font-size: 1.25rem;
}

.timeline-item p {
  color: var(--muted);
  line-height: 1.55;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.photo-tile {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
}

.photo-placeholder {
  aspect-ratio: 4 / 3;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0)),
    var(--tile-color);
}

.photo-tile h2 {
  padding: 0 14px 14px;
}

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px;
  }

  .top-nav {
    justify-content: flex-start;
  }

  .nav-button {
    min-height: 40px;
    padding: 0 12px;
  }

  .landing {
    min-height: 520px;
  }

  .landing-copy {
    padding: 32px 24px;
  }

  .mission-strip {
    grid-template-columns: 1fr;
  }

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

  .form-panel,
  .content-view {
    padding: 24px;
  }
}
.timeline-view {
  max-width: 1000px;
}

.empty-state {
  margin-top: 20px;
  color: var(--muted);
  line-height: 1.6;
}

.timeline-table {
  display: grid;
  gap: 8px;
  margin-top: 24px;
}

.timeline-row {
  display: grid;
  grid-template-columns: minmax(180px, 1.25fr) repeat(3, minmax(150px, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.timeline-row > div {
  padding: 14px;
  background: #ffffff;
}

.timeline-heading {
  font-weight: 800;
  color: #ffffff;
  background: var(--navy);
  border-color: var(--navy);
}

.timeline-heading > div {
  background: var(--navy);
}

.member-name {
  font-weight: 800;
  color: var(--navy);
}

.tour-dates {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  color: var(--ink);
}

.no-tour {
  color: #9aa6b1;
}

@media (max-width: 820px) {
  .timeline-table {
    gap: 14px;
  }

  .timeline-row,
  .timeline-heading {
    grid-template-columns: 1fr;
  }

  .timeline-heading {
    display: none;
  }

  .timeline-row > div {
    padding: 12px 14px;
  }

  .member-name {
    background: #f3f6f9;
  }

  .tour-cell::before {
    display: block;
    margin-bottom: 4px;
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--air-blue);
    text-transform: uppercase;
    letter-spacing: 0.08em;
  }

  .tour-cell:nth-child(2)::before {
    content: "Tour 1";
  }

  .tour-cell:nth-child(3)::before {
    content: "Tour 2";
  }

  .tour-cell:nth-child(4)::before {
    content: "Tour 3";
  }
}
.timeline-view {
  max-width: 1100px;
}

.empty-state {
  margin-top: 20px;
  color: var(--muted);
  line-height: 1.6;
}

.timeline-scroll {
  margin-top: 24px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.timeline-chart {
  min-width: max(100%, calc(var(--month-count) * 72px));
  padding: 14px;
}

.timeline-months,
.timeline-lane {
  display: grid;
  grid-template-columns: repeat(var(--month-count), minmax(72px, 1fr));
}

.timeline-months {
  position: sticky;
  top: 0;
  z-index: 2;
  border-bottom: 2px solid var(--line);
  background: #f3f6f9;
}

.month-label {
  min-height: 42px;
  padding: 10px 6px;
  border-right: 1px solid var(--line);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 800;
  text-align: center;
  white-space: nowrap;
}

.timeline-lane {
  min-height: 54px;
  align-items: center;
  border-bottom: 1px solid #e4eaf0;
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 71px,
      rgba(15, 39, 66, 0.08) 71px,
      rgba(15, 39, 66, 0.08) 72px
    );
}

.timeline-lane:last-child {
  border-bottom: 0;
}

.tour-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 34px;
  margin: 8px 4px;
  padding: 0 12px;
  border: 1px solid #17385c;
  border-radius: 6px;
  color: #ffffff;
  background: linear-gradient(180deg, var(--air-blue), #17385c);
  box-shadow: 0 4px 10px rgba(15, 39, 66, 0.18);
  overflow: hidden;
}

.tour-name {
  min-width: 0;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tour-range {
  flex: 0 0 auto;
  font-size: 0.8rem;
  opacity: 0.92;
  white-space: nowrap;
}

@media (max-width: 820px) {
  .timeline-chart {
    min-width: calc(var(--month-count) * 86px);
  }

  .timeline-months,
  .timeline-lane {
    grid-template-columns: repeat(var(--month-count), 86px);
  }

  .tour-bar {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    min-height: 44px;
  }

  .tour-range {
    font-size: 0.75rem;
  }
}
.tour-bar {
  border: 1px solid #17385c;
  font: inherit;
  cursor: pointer;
  text-align: left;
}

.tour-bar:hover {
  filter: brightness(1.08);
}

.member-modal[hidden] {
  display: none;
}

.member-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(8, 24, 39, 0.72);
}

.member-modal-card {
  position: relative;
  width: min(760px, 100%);
  border-radius: 8px;
  padding: 24px;
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.member-modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  color: #ffffff;
  background: var(--navy);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.member-modal-card h2 {
  margin: 0 42px 6px 0;
  color: var(--navy);
}

.member-modal-card p {
  margin: 0 0 18px;
  color: var(--muted);
}

.member-photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.member-photo-wrap {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #eef2f6;
}

.photo-label {
  padding: 10px 12px;
  color: #ffffff;
  background: var(--navy);
  font-size: 0.85rem;
  font-weight: 800;
}

.member-photo-wrap img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.member-photo-wrap img[hidden] {
  display: none;
}

.member-photo-empty {
  display: grid;
  place-items: center;
  min-height: 280px;
  padding: 20px;
  color: var(--muted);
  font-weight: 800;
  text-align: center;
}

.member-photo-empty[hidden] {
  display: none;
}

@media (max-width: 720px) {
  .member-photo-grid {
    grid-template-columns: 1fr;
  }
}

.checkbox-field {
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkbox-field input {
  min-height: auto;
  width: 18px;
  height: 18px;
}

.member-phone {
  font-weight: 800;
  color: var(--navy);
}

.profile-panel {
  max-width: 900px;
}

.profile-photo-edit {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.profile-photo-edit > div {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f9fb;
}

.profile-photo-edit img {
  width: 100%;
  max-height: 280px;
  border-radius: 6px;
  object-fit: cover;
}

@media (max-width: 720px) {
  .profile-photo-edit {
    grid-template-columns: 1fr;
  }
}

.password-panel {
  display: grid;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f9fb;
}

.admin-view {
  max-width: 1100px;
}

.admin-table {
  display: grid;
  gap: 8px;
  margin-top: 24px;
}

.admin-row {
  display: grid;
  grid-template-columns: minmax(220px, 1.3fr) minmax(160px, 0.8fr) minmax(180px, 0.9fr) minmax(240px, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.admin-row > div {
  padding: 14px;
  background: #ffffff;
}

.admin-heading {
  font-weight: 800;
  color: #ffffff;
  background: var(--navy);
  border-color: var(--navy);
}

.admin-heading > div {
  background: var(--navy);
}

.admin-row strong,
.admin-row span {
  display: block;
}

.admin-row span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.9rem;
}

.status-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.status-pill {
  display: inline-flex;
  width: max-content;
  margin: 0;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}

.status-pill.approved {
  color: #214f35;
  background: #dcefe3;
}

.status-pill.pending {
  color: #7a4f12;
  background: #fff1cf;
}

.status-pill.admin {
  color: #ffffff;
  background: var(--air-blue);
}

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

.admin-actions form {
  display: inline;
}

.admin-actions button {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 10px;
  font: inherit;
  font-weight: 800;
  background: #f7f9fb;
  cursor: pointer;
}

.admin-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

@media (max-width: 900px) {
  .admin-row,
  .admin-heading {
    grid-template-columns: 1fr;
  }

  .admin-heading {
    display: none;
  }
}

.gallery-view {
  max-width: 1100px;
}

.gallery-upload {
  margin-top: 20px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f9fb;
}

textarea {
  width: 100%;
  border: 1px solid #b8c5cf;
  border-radius: 6px;
  padding: 10px 12px;
  font: inherit;
  resize: vertical;
}

textarea:focus {
  outline: 3px solid rgba(47, 95, 143, 0.22);
  border-color: var(--air-blue);
}

.uploaded-gallery {
  margin-top: 24px;
}

.photo-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 39, 66, 0.08);
}

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

.photo-card-body {
  padding: 14px;
}

.photo-card-body h2 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  color: var(--navy);
}

.photo-card-body p {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.45;
}

.photo-card-body span {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 800;
}
.category-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.category-filter a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--navy);
  background: #ffffff;
  font-weight: 800;
  text-decoration: none;
}

.category-filter a.active {
  color: #ffffff;
  background: var(--air-blue);
  border-color: var(--air-blue);
}

.photo-meta {
  display: grid;
  gap: 4px;
}

.photo-meta span {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 800;
}

.gallery-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.gallery-heading h1 {
  margin: 0;
}

.modal-open-button {
  border: 0;
  font: inherit;
}

.upload-modal[hidden] {
  display: none;
}

.upload-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(8, 24, 39, 0.72);
}

.upload-modal-card {
  position: relative;
  width: min(680px, 100%);
  max-height: min(90vh, 760px);
  overflow-y: auto;
  border-radius: 8px;
  padding: 24px;
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.upload-modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  color: #ffffff;
  background: var(--navy);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.upload-modal-card h2 {
  margin: 0 42px 20px 0;
  color: var(--navy);
}

.upload-modal .gallery-upload {
  margin-top: 0;
}

@media (max-width: 720px) {
  .gallery-heading {
    align-items: flex-start;
    flex-direction: column;
  }
}

.admin-gallery-section {
  margin-top: 36px;
}

.admin-gallery-section h2 {
  margin: 0 0 18px;
  color: var(--navy);
}

.admin-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.admin-photo-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.admin-photo-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #eef2f6;
}

.admin-photo-body {
  display: grid;
  gap: 8px;
  padding: 14px;
}

.admin-photo-body h3 {
  margin: 0;
  color: var(--navy);
}

.admin-photo-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.4;
}

.admin-photo-body span {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 800;
}

.danger-button {
  min-height: 36px;
  border: 1px solid #8f2f2f;
  border-radius: 6px;
  padding: 0 10px;
  color: #ffffff;
  background: #9f3434;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.gallery-image {
  cursor: zoom-in;
}

.image-lightbox[hidden] {
  display: none;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(8, 24, 39, 0.86);
}

.image-lightbox-card {
  position: relative;
  display: grid;
  gap: 14px;
  width: min(1100px, 100%);
  max-height: 92vh;
}

.image-lightbox-card img {
  display: block;
  max-width: 100%;
  max-height: 76vh;
  margin: 0 auto;
  border-radius: 8px;
  object-fit: contain;
  background: #111820;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}

.image-lightbox-close {
  position: absolute;
  top: -12px;
  right: -12px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  color: #ffffff;
  background: var(--navy);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.image-lightbox-details {
  border-radius: 8px;
  padding: 14px 16px;
  color: #ffffff;
  background: rgba(15, 39, 66, 0.92);
}

.image-lightbox-details h2 {
  margin: 0 0 6px;
}

.image-lightbox-details p {
  margin: 0 0 8px;
  line-height: 1.45;
}

.image-lightbox-details span {
  color: #d8e0e8;
  font-size: 0.9rem;
  font-weight: 800;
}

.member-comments {
  padding: 12px;
  border-left: 4px solid var(--gold);
  color: var(--ink);
  background: #f7f9fb;
  line-height: 1.5;
  white-space: pre-wrap;
}

.stories-view {
  max-width: 1000px;
}

.story-list {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.story-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 39, 66, 0.08);
}

.story-card h2 {
  margin: 0 0 8px;
  color: var(--navy);
}

.story-meta {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.story-card p {
  white-space: pre-wrap;
  line-height: 1.6;
}

.story-card audio {
  width: 100%;
  margin-top: 14px;
}

.recorder-panel {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f9fb;
}

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

.recorder-actions button {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 12px;
  font: inherit;
  font-weight: 800;
  background: #ffffff;
  cursor: pointer;
}

.recorder-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.recorder-panel audio {
  width: 100%;
}
