@charset "utf-8";
/* CSS Document */

:root{
    --blue:#38A8BF;
    --green:#36A73C;
    --orange:#DD680E;
    --ink:#004B6A;
    --bg:#C8EDF9;
    --card-radius:8px;
    --gap:16px;
    --navy:#0b3550; /* deep navy */
  }

  /* Base & layout */
  *{ box-sizing:border-box; }
  html,body{ height:100%; }
  body{
    margin:0;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    background: var(--bg);
    color:#0b1b22;
    line-height:1.45;
  }
  .wrapper{
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 16px 48px;
  }
  header h1{
    margin: 0 0 12px;
    font-size: clamp(28px, 3.5vw, 44px);
    color: var(--ink);
    text-align:center;
  }
  header p{
    text-align:center;
    font-size: clamp(16px, 2.2vw, 21px);
    color:#00384f;
    margin: 8px 0 0;
  }

  /* ADA: Skip link styles (hidden until focus) */
  .skip-link{ /* ADA */
    position:absolute; left:-9999px; top:auto; width:1px; height:1px; overflow:hidden;
  }
  .skip-link:focus{ /* ADA */
    position:static; width:auto; height:auto; padding:8px 12px; background:#fff; color:#000;
    outline:2px solid #000; border-radius:4px;
  }
  
  .center {
	  text-align:center;
  }

  /* Buttons */
  .btn{
    padding:6px 14px;
    border:0;
    border-radius:4px;
    font-weight:700;
    cursor:pointer;
    /* ADA: minimum tap target sizes */
    min-height:40px; /* ADA */
    min-width:44px;  /* ADA */
  }
  .btn:focus-visible{ outline: 2px solid #111; outline-offset:2px; }

  /* Cards grid */
  .cards{
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--gap);
    margin: 8px 0 24px;
  }
  .card{
    border-radius: var(--card-radius);
    overflow: clip;
  }
  .card__header{
    padding: 10px 14px;
    color:#fff;
    text-align:center;
    font-size: clamp(18px, 2.3vw, 24px);
    font-weight:800;
  }
  /* ADA: Option A – improve contrast by using dark text on light-blue header */
  .card--blue .card__header{ background: var(--blue); color:#08313f; } /* ADA */
  .card--green .card__header{ background: var(--green); }
  .card--orange .card__header{ background: var(--orange); }
  .card--navy .card__header{ background: var(--navy); }
  .card--navy .card__body{   background: var(--navy); }

  .card__body{
    padding: 12px 14px 14px;
    background: #0b6a80;
    color:#fff;
  }
  .card--green .card__body{ background:#1f7f24; }
  .card--orange .card__body{ background:#b35410; }

  /* Fixed 300px width, centered even outside the grid */
  .card--fixed-300{
    width:300px;
    margin: 0 auto 16px;  /* centers the card */
  }
  /* Center a single card on its own row (keeps width intact) — use if you move it into .cards */
  .card--center-row {
    grid-column: 1 / -1;
    justify-self: center;
  }

  /* JDN inline row */
  .jdn-row{
    display:flex;
    align-items:center;
    justify-content:center; /* center the whole row */
    gap:8px;
    flex-wrap:nowrap;
  }
  .jdn-row label{ color:#fff; font-weight:700; margin:0; }
  .jdn-input{ width:12ch; }                                /* base width */
  .jdn-row .jdn-input{ width:12ch; flex:0 0 auto; }        /* higher specificity to beat global widths */

  /* Forms */
  fieldset{
    border:0;
    padding:0;
    margin:0;
  }
  legend{
    font-weight:700;
    color:#fff;
    margin-bottom:8px;
    text-align:center;
  }
  .form-grid{
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .form-grid .full{ grid-column: 1 / -1; }
  .form-grid label{
    display:grid;
    grid-template-columns: auto 1fr;
    align-items:center;
    gap:8px;
  }
  label{ color:#fff; font-size: 0.95rem; }
  select, input[type="text"]{
    width:100%;
    padding:6px 8px;
    border:0;
    border-radius:4px;
  }
  .actions{ display:flex; justify-content:center; margin-top:8px; }
  .btn--light{ background:#fff; color:#08313f; }

  /* "All Remaining Fields" */
  .section-title{
    text-align:center;
    color: var(--ink);
    font-size: clamp(20px, 2.5vw, 30px);
    margin: 18px 0 10px;
  }
  .triplet{
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
    gap: var(--gap);
  }
  .info{
    border-radius: var(--card-radius);
    padding: 12px 14px;
    color:#fff;
  }
  .info--blue{ background: var(--blue); }
  .info--green{ background: var(--green); }
  .info--orange{ background: var(--orange); }
  .list{ list-style:none; padding:0; margin:0; display:grid; gap:6px; }
  .list li{
    display:flex;
    justify-content:space-between;
    gap: 8px;
    border-bottom: 1px dashed rgba(255,255,255,0.4);
    padding: 6px 0;
    font-size: 1rem;
  }
  .list li span{ font-weight:700; }

  /* ADA: broaden visible focus to include links */
  a:focus-visible, /* ADA */
  button:focus-visible,
  input:focus-visible,
  select:focus-visible{
    outline:2px solid #fff; outline-offset:2px; /* ADA */
  }

  /* ADA: mobile wrap for JDN row */
  @media (max-width: 420px){ /* ADA */
    .jdn-row{ flex-wrap:wrap; gap:10px; }       /* ADA */
    .jdn-input{ width:100%; max-width:14ch; }   /* ADA */
    .jdn-row .btn{ width:100%; }                /* ADA */
  }

  /* ADA: screen-reader-only utility */
  .sr-only{ /* ADA */
    position:absolute; width:1px; height:1px; padding:0; margin:-1px;
    overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0;
  }
  .sr-group{ border:0; padding:0; margin:0; } /* ADA */