/* WCCA Robotics - Custom Theme */

/* === Variables === */
:root {
  --navy: #1B2A4A;
  --ocean-blue: #2E6DB4;
  --light-blue: #C5E0F0;
  --sand: #E8D5A0;
  --white: #FFFFFF;
  --gray: #6B7B8D;
  --light-gray: #F4F6F8;
  --dark-text: #2C3E50;
  --max-width: 1100px;
}

/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--dark-text);
  line-height: 1.6;
  background: var(--white);
}

a { color: var(--ocean-blue); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; }

/* === Layout === */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* === Header / Nav === */
.site-header {
  background: var(--navy);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-title {
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 700;
  padding: 1rem 0;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.nav-logo {
  height: 36px;
  width: auto;
}
.site-title:hover { text-decoration: none; color: var(--light-blue); }

.nav-links {
  list-style: none;
  display: flex;
  gap: 0.25rem;
}

.nav-links a {
  color: var(--light-blue);
  padding: 1rem 0.85rem;
  display: block;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s, background 0.2s;
  border-radius: 4px 4px 0 0;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(255,255,255,0.1);
  text-decoration: none;
}

/* Nav dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--navy);
  list-style: none;
  padding: 0.25rem 0;
  min-width: 160px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  border-radius: 0 0 6px 6px;
  z-index: 200;
}

.nav-dropdown:hover .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-menu a {
  padding: 0.6rem 1rem;
  white-space: nowrap;
  border-radius: 0;
  font-size: 0.9rem;
}

/* Mobile nav toggle */
.nav-toggle { display: none; background: none; border: none; color: var(--white); font-size: 1.5rem; cursor: pointer; padding: 1rem 0; }

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 0.5rem 1rem 1rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.75rem 1rem; border-radius: 4px; }

  .nav-dropdown-menu {
    position: static;
    box-shadow: none;
    padding: 0;
    min-width: 0;
    display: none;
  }
  .nav-dropdown.open .nav-dropdown-menu {
    display: block;
  }
  .nav-dropdown-menu a {
    padding-left: 2rem;
  }

  .page-content img[style*="float"] {
    float: none !important;
    max-width: 100% !important;
    margin: 1rem 0 !important;
  }
}

/* === Hero === */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--ocean-blue) 100%);
  color: var(--white);
  padding: 4rem 1.5rem;
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 800;
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 2rem;
  opacity: 0.9;
}

.hero a:not(.btn) {
  color: var(--white);
  text-decoration: underline;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .hero h1 { font-size: 1.8rem; }
  .hero p { font-size: 1rem; }
  .hero { padding: 3rem 1.5rem; }
}

/* === Buttons === */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,0.2); text-decoration: none; }

.btn-primary { background: var(--sand); color: var(--navy); }
.btn-secondary { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-blue { background: var(--ocean-blue); color: var(--white); }
.btn-gold-outline { border: 2px solid #d4a017; }

/* === Team Cards === */
.team-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 2rem 0;
}

.team-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}
.team-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.12); }

.team-card img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  background: var(--light-gray);
  padding: 1rem;
}

.team-card-body {
  padding: 1.5rem;
}

.team-card h3 {
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.team-number {
  color: #888;
  font-size: 0.85rem;
}

.team-card .badge {
  display: inline-block;
  background: var(--light-blue);
  color: var(--navy);
  padding: 0.2rem 0.6rem;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

/* === Section styles === */
.section {
  padding: 3rem 0;
}

.section-alt {
  background: var(--light-gray);
}

.section h2 {
  color: var(--navy);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.section-center {
  text-align: center;
}

/* === Highlight / Trophy === */
.highlight-box {
  background: linear-gradient(135deg, #f0d98c 0%, #f6ebbf 100%);
  border: 2px solid #d4a017;
  padding: 1.5rem 2rem;
  border-radius: 12px;
  margin: 1.5rem 0;
}

.highlight-box h3 { color: var(--navy); margin-bottom: 0.5rem; }

/* === Content Pages === */
.page-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.page-content h1 {
  color: var(--navy);
  font-size: 2rem;
  margin-bottom: 0.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 3px solid var(--ocean-blue);
}

.page-content h2 {
  color: var(--navy);
  font-size: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.page-content h3 {
  color: var(--ocean-blue);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.page-content p {
  margin-bottom: 1rem;
}

.page-content ul, .page-content ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.page-content li {
  margin-bottom: 0.4rem;
}

.page-content img {
  border-radius: 8px;
  margin: 1rem 0;
}

/* === Logo display === */
.team-logo {
  max-width: min(400px, 100%);
  margin: 1rem 0;
}

/* === Photo grid === */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
  align-items: start;
}

.photo-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
}

/* === Innovation page images === */
.page-content img.portrait {
  max-width: min(400px, 100%);
  display: block;
  margin: 1rem auto;
}

.page-content img.portrait-sm {
  max-width: min(300px, 100%);
  display: block;
  margin: 1rem auto;
}

/* === Video embed === */
.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  margin: 1.5rem 0;
  border-radius: 8px;
}

.video-container iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
}

.video-container-vertical {
  position: relative;
  padding-bottom: 177.78%; /* 9:16 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: 8px;
}

.video-container-vertical iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 768px) {
  .video-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
}

/* === CTA Section === */
.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--ocean-blue) 100%);
  color: var(--white);
  padding: 3rem 1.5rem;
  text-align: center;
  margin-top: 2rem;
}

.cta-section h2 { color: var(--white); margin-bottom: 1rem; }
.cta-section p { max-width: 600px; margin: 0 auto 1.5rem; opacity: 0.9; }

/* === Support page cards === */
.support-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

@media (max-width: 768px) {
  .support-grid {
    grid-template-columns: 1fr;
  }
}

.support-card {
  background: var(--white);
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
}

.support-card .icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.support-card h3 {
  color: var(--navy);
  margin-bottom: 0.75rem;
}

/* === Tables (tournament match data) === */
.page-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: 0.92rem;
}

.page-content th {
  background: var(--navy);
  color: var(--white);
  padding: 0.6rem 0.75rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  user-select: none;
}

.page-content th.sort-asc::after,
.page-content th.sort-desc::after {
  margin-left: 0.35em;
  font-size: 0.7em;
}

.page-content th.sort-asc::after {
  content: "▲";
}

.page-content th.sort-desc::after {
  content: "▼";
}

.page-content td {
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid #e2e8f0;
}

.page-content tbody tr:nth-child(even) {
  background: var(--light-gray);
}

.page-content tbody tr:hover {
  background: var(--light-blue);
}

@media (max-width: 768px) {
  .page-content table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    font-size: 0.82rem;
  }
  .page-content th, .page-content td {
    padding: 0.4rem 0.5rem;
    white-space: nowrap;
  }
}

/* === Team highlight (tournament pages) === */
.team-ref {
  cursor: pointer;
  border-radius: 3px;
  padding: 0 2px;
  transition: background 0.15s;
}

.team-ref:hover {
  background: rgba(232, 213, 160, 0.5);
}

.team-highlight {
  background: #f0a030;
  color: #1B2A4A;
  border-radius: 3px;
}

td.team-cell-highlight {
  background: rgba(240, 160, 48, 0.3) !important;
}

/* === Tournament listing cards === */
.tournament-list {
  display: grid;
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.tournament-card {
  background: var(--white);
  border: 1px solid #e2e8f0;
  border-left: 4px solid var(--ocean-blue);
  border-radius: 0 8px 8px 0;
  padding: 1.5rem 2rem;
}

.tournament-card h3 {
  color: var(--navy);
  margin: 0 0 0.5rem;
}

.tournament-card h3 a {
  color: var(--navy);
}

.tournament-card p {
  margin-bottom: 0.4rem;
  color: var(--gray);
}

/* === Playoff Bracket === */
.bracket-tree {
  position: relative;
  display: flex;
  gap: 3.5rem;
  overflow-x: auto;
  padding: 1rem 0.5rem 1.5rem;
  min-height: 360px;
  align-items: stretch;
}
.bracket-col {
  display: flex;
  flex-direction: column;
  min-width: 230px;
  flex: 0 0 auto;
}
.bracket-col.bc-semi { justify-content: space-between; }
.bracket-col.bc-final { justify-content: flex-start; padding-top: 56px; }
.bracket-col.bc-champ { justify-content: center; }
.bracket-lines {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 0;
  overflow: visible;
}
.bracket-line {
  fill: none;
  stroke: var(--ocean-blue);
  stroke-width: 2;
  opacity: 0.55;
}
.bracket-line-dot {
  fill: var(--ocean-blue);
  opacity: 0.7;
}
.bracket-col > * { position: relative; z-index: 1; }
.bracket-col-title {
  font-weight: 700;
  color: var(--ocean-blue);
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-align: center;
  margin-bottom: 0.25rem;
}
.matchup-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--gray);
  text-align: center;
  margin-bottom: 0.3rem;
}
.matchup .alliance-teams {
  display: block;
}
.matchup {
  background: var(--white);
  border: 1px solid #e2e8f0;
  border-left: 4px solid var(--ocean-blue);
  border-radius: 0 8px 8px 0;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(27, 42, 74, 0.08);
}
.matchup .bracket-team {
  padding: 0.6rem 0.85rem;
  font-size: 0.9rem;
  line-height: 1.3;
}
.matchup .bracket-team + .bracket-team {
  border-top: 1px solid #e2e8f0;
}
.matchup .alliance-name {
  display: block;
  font-weight: 600;
  color: var(--navy);
  font-size: 0.82rem;
}
.matchup .alliance-teams {
  color: var(--gray);
  font-size: 0.85rem;
}
.matchup .bracket-team.tbd {
  color: var(--gray);
  font-style: italic;
}
.matchup .bracket-team.winner {
  background: var(--light-blue);
}
.matchup .vs {
  text-align: center;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gray);
  background: var(--light-gray);
  padding: 0.12rem;
}
.matchup.final {
  border-left-color: #d4a017;
}
.matchup.final .vs {
  color: #9a7b12;
}
.bracket-games {
  text-align: center;
  font-size: 0.75rem;
  color: var(--gray);
  margin-top: 0.5rem;
}
.bracket-games span {
  display: inline-block;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  padding: 0.1rem 0.5rem;
  margin: 0 0.15rem;
}

/* === Footer === */
.site-footer {
  background: var(--navy);
  color: var(--light-blue);
  padding: 2rem 1.5rem;
  text-align: center;
}

.footer-links {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.footer-links a { color: var(--light-blue); }
.footer-links a:hover { color: var(--white); }

.footer-icon {
  width: 1.1rem;
  height: 1.1rem;
  margin-right: 0.35rem;
  vertical-align: -0.18rem;
}

.footer-copy {
  font-size: 0.85rem;
  color: rgba(197, 224, 240, 0.7);
}

.footer-copy a {
  color: var(--light-blue);
}

/* === 404 Marcus Splash === */
.not-found {
  padding: 2rem 0;
  text-align: center;
}

.marcus-splash-zone {
  position: relative;
  display: inline-block;
  isolation: isolate;
}

.marcus-splash-button {
  position: relative;
  z-index: 1;
  display: block;
  width: min(300px, 75vw);
  margin: 0 auto 1.5rem;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.marcus-splash-button:focus-visible {
  outline: 3px solid var(--ocean-blue);
  outline-offset: 6px;
  border-radius: 12px;
}

.marcus-splash-button img {
  display: block;
  width: 100%;
}

.marcus-splash-button.is-shaking img {
  animation: marcus-shake 0.55s ease-in-out;
}

.marcus-splash-button.is-swimming-away {
  z-index: 3;
  animation: marcus-swim-away 1.3s cubic-bezier(0.45, 0, 0.8, 0.55) forwards;
}

.water-splash {
  position: absolute;
  top: 42%;
  left: 50%;
  z-index: 0;
  pointer-events: none;
  font-size: var(--splash-size);
  animation: water-splash 0.85s ease-out forwards;
}

@keyframes marcus-shake {
  0%, 100% { transform: translateX(0) rotate(0); }
  15% { transform: translateX(-9px) rotate(-7deg); }
  30% { transform: translateX(8px) rotate(6deg); }
  45% { transform: translateX(-7px) rotate(-5deg); }
  60% { transform: translateX(6px) rotate(4deg); }
  75% { transform: translateX(-3px) rotate(-2deg); }
}

@keyframes water-splash {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.4) rotate(0);
  }
  15% { opacity: 1; }
  100% {
    opacity: 0;
    transform: translate(
      calc(-50% + var(--splash-x)),
      calc(-50% + var(--splash-y))
    ) scale(1.2) rotate(var(--splash-rotation));
  }
}

@keyframes marcus-swim-away {
  0% { transform: translateX(0) rotate(0); }
  20% { transform: translateX(-15vw) translateY(-10px) rotate(-8deg); }
  45% { transform: translateX(-45vw) translateY(10px) rotate(6deg); }
  70% { transform: translateX(-80vw) translateY(-12px) rotate(-7deg); }
  100% { transform: translateX(-140vw) translateY(8px) rotate(4deg); }
}

body.site-swimming-away {
  overflow: hidden;
  background: #102f5c;
  isolation: isolate;
}

body.site-swimming-away::before,
body.site-swimming-away::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-repeat: repeat;
}

body.site-swimming-away::before {
  opacity: 0.28;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='90' viewBox='0 0 160 90'%3E%3Cpath d='M0 45 Q40 15 80 45 T160 45' fill='none' stroke='%23ffffff' stroke-width='4'/%3E%3C/svg%3E");
  background-size: 160px 90px;
  animation: ocean-waves 7s linear infinite;
}

body.site-swimming-away::after {
  opacity: 0.2;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='130' viewBox='0 0 220 130'%3E%3Cpath d='M0 65 Q55 25 110 65 T220 65' fill='none' stroke='%237cc9f2' stroke-width='5'/%3E%3C/svg%3E");
  background-size: 220px 130px;
  animation: ocean-waves-wide 11s linear infinite;
}

body.site-swimming-away > .site-header,
body.site-swimming-away > main,
body.site-swimming-away > .site-footer {
  position: relative;
  z-index: 1;
  animation: site-swim-away 1.5s cubic-bezier(0.55, 0, 0.85, 0.45) forwards;
}

body.site-swimming-away > .site-header { animation-delay: 0.15s; }
body.site-swimming-away > .site-footer { animation-delay: 0.3s; }

@keyframes site-swim-away {
  0% { transform: translateX(0) rotate(0); }
  100% { transform: translateX(-125vw) rotate(-3deg); }
}

@keyframes ocean-waves {
  0% { background-position: 0 0; }
  13% { background-position: -21px 8px; }
  31% { background-position: -50px -6px; }
  48% { background-position: -77px 12px; }
  67% { background-position: -107px -9px; }
  84% { background-position: -134px 5px; }
  100% { background-position: -160px 0; }
}

@keyframes ocean-waves-wide {
  0% { background-position: 0 0; }
  17% { background-position: 37px -10px; }
  36% { background-position: 79px 7px; }
  54% { background-position: 119px -5px; }
  73% { background-position: 161px 11px; }
  89% { background-position: 196px -7px; }
  100% { background-position: 220px 0; }
}

.rickroll-left-behind {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 200;
  border: 2px solid #d4a017;
  font-family: inherit;
  cursor: pointer;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.6);
}

.rickroll-left-behind.is-visible {
  animation: reveal-rickroll 0.45s ease-out forwards;
}

.marcus-orbit-ring {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 190;
  width: min(440px, 94vw);
  aspect-ratio: 1;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.marcus-orbit-ring.is-visible {
  opacity: 1;
  animation: marcus-orbit-counterclockwise 8s linear infinite;
}

.orbiting-marcus {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 88px;
  transform:
    translate(-50%, -50%)
    rotate(var(--orbit-angle))
    translateX(min(195px, 42vw))
    rotate(90deg);
}

@keyframes reveal-rickroll {
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes marcus-orbit-counterclockwise {
  from { transform: translate(-50%, -50%) rotate(0); }
  to { transform: translate(-50%, -50%) rotate(-360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .marcus-splash-button.is-shaking img,
  .water-splash {
    animation: none;
  }

  .marcus-splash-button.is-swimming-away,
  body.site-swimming-away > .site-header,
  body.site-swimming-away > main,
  body.site-swimming-away > .site-footer {
    animation-duration: 0.01ms;
  }

  .rickroll-left-behind.is-visible {
    animation-duration: 0.01ms;
  }

  .marcus-orbit-ring.is-visible {
    animation: none;
  }

  body.site-swimming-away::before,
  body.site-swimming-away::after {
    animation: none;
  }
}

/* === Scouting form === */
.scouting-page {
  padding: 8px 12px;
  margin-bottom: 4px;
  font-size: 11px;
  line-height: 1.4;
  font-family: 'Segoe UI', system-ui, sans-serif;
}

.scouting-page h2 {
  font-size: 14px;
  margin: 0 0 6px 0;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--navy);
  color: var(--navy);
}

.scouting-page h3 {
  font-size: 11px;
  margin: 8px 0 3px 0;
  color: var(--ocean-blue);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-row {
  display: flex;
  align-items: baseline;
  padding: 2px 0;
  border-bottom: 1px dotted #ddd;
  gap: 6px;
}
.form-row:last-child { border-bottom: none; }
.form-row:has(+ .form-spacer),
.form-row:has(+ .form-spacer-lg) { border-bottom: none; }

.form-spacer { height: 30px; }
.form-spacer-lg { height: 74px; }

.form-label {
  flex: 0 0 auto;
  font-weight: 600;
  white-space: nowrap;
}

.form-value {
  flex: 1;
  min-width: 0;
}

.form-line {
  border-bottom: 1px solid #999;
  display: inline-block;
}

.form-checks {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  white-space: nowrap;
}

.form-divider {
  border: none;
  border-top: 2px solid var(--navy);
  margin: 12px 0;
}
