.osh-atp {
  --ink: #102c43;
  --accent: #076a71;
  --muted: #4c6271;
  --line: #d9e5eb;
  --paper: #f4f8f8;
  max-width: 1180px;
  margin: 2rem auto 4rem;
  padding-inline: clamp(1rem, 3vw, 2.5rem);
  color: var(--ink);
  font: 1rem/1.58 system-ui, sans-serif;
}

.osh-atp *,
.osh-atp *::before,
.osh-atp *::after { box-sizing: border-box; }

.osh-atp nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: .8rem 0;
  border-bottom: 1px solid var(--line);
}

.osh-atp nav div { display: flex; flex-wrap: wrap; gap: .45rem 1rem; }
.osh-atp a { color: var(--accent); text-underline-offset: .2em; }
.osh-atp nav a[aria-current] { font-weight: 750; }
.osh-atp nav .osh-atp-brand { color: var(--ink); font-size: 1.15rem; font-weight: 800; text-decoration: none; }

.osh-atp-hero {
  background: linear-gradient(120deg, #122c43 25%, #086570);
  color: #fff;
  border-radius: 1rem;
  padding: clamp(1.7rem, 5vw, 4rem);
  margin-bottom: 1.3rem;
}

.osh-atp .osh-atp-hero :is(h1, h2) {
  max-width: 19ch;
  color: inherit;
  font: 750 clamp(1.9rem, 4.4vw, 3.4rem)/1.1 system-ui, sans-serif;
  margin: 0 0 .8rem;
  letter-spacing: -.035em;
}

.osh-atp-hero p { max-width: 45ch; margin: 0; color: #e5f5f8; }
.osh-atp-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 1.3rem; align-items: start; }

.osh-atp-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: .9rem;
  padding: clamp(1rem, 3vw, 2rem);
  margin-bottom: 1.3rem;
}

.osh-atp-card h3,
.osh-atp-card h4 { color: var(--ink); margin: 0 0 .7rem; line-height: 1.25; }
.osh-atp-card ol { padding-inline-start: 1.25rem; margin: 0; }
.osh-atp-card li + li { margin-top: .6rem; }
.osh-atp-grid aside { background: var(--paper); }
.osh-atp-narrow { max-width: 38rem; }
.osh-atp-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1rem; }
.osh-atp-fields label:has(textarea) { grid-column: 1 / -1; }
.osh-atp form label { display: block; color: var(--ink); font-weight: 650; }
.osh-atp form small { color: var(--muted); font-weight: 400; }
.osh-atp form input:not([type="hidden"], [type="submit"]),
.osh-atp form select,
.osh-atp form textarea {
  display: block;
  width: 100%;
  min-height: 2.8rem;
  padding: .55rem .7rem;
  margin: .3rem 0 0;
  color: var(--ink);
  background: #fff;
  border: 1px solid #a8bac4;
  border-radius: .4rem;
  font: inherit;
}

.osh-atp form textarea { resize: vertical; }
.osh-atp form button,
.osh-atp form input[type="submit"] {
  background: var(--accent);
  color: #fff;
  padding: .72rem 1.1rem;
  border: 1px solid transparent;
  border-radius: .45rem;
  cursor: pointer;
  font: 700 1rem/1.25 system-ui, sans-serif;
}

.osh-atp form button:focus-visible,
.osh-atp input:focus-visible,
.osh-atp a:focus-visible,
.osh-atp select:focus-visible,
.osh-atp textarea:focus-visible { outline: 3px solid #1d80a3; outline-offset: 3px; }
.osh-atp-narrow form button { margin-top: .8rem; }
.osh-atp-pill { display: inline-block; padding: .22rem .7rem; background: #e5f1f1; color: #075458; border-radius: 1rem; font-weight: 700; }
.osh-atp-message { background: var(--paper); border-inline-start: 4px solid var(--accent); padding: .8rem 1rem; }
.osh-atp dt { font-weight: 700; }
.osh-atp dd { margin: 0 0 .6rem; overflow-wrap: anywhere; }
.osh-atp-table { overflow-x: auto; }
.osh-atp table { width: 100%; border-collapse: collapse; text-align: start; }
.osh-atp table th,
.osh-atp table td { text-align: start; padding: .6rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.osh-atp table th { background: var(--paper); }
.osh-atp .osh-atp-member-list { list-style: none; padding: 0; }
.osh-atp-member-list li { display: flex; gap: 1rem; justify-content: space-between; align-items: center; padding: .75rem; border-bottom: 1px solid var(--line); }

@media (max-width: 680px) {
  .osh-atp-grid,
  .osh-atp-fields { grid-template-columns: 1fr; }
}
