:root {
  color-scheme: light;
  --ink: #142f36;
  --muted: #4c6367;
  --paper: #f4f7f6;
  --line: #cdd9d8;
  --teal: #00645e;
  --pale: #deefeb;
  --white: #fff;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    16px/1.5 "Source Sans 3",
    "Segoe UI",
    sans-serif;
}
header,
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1rem max(calc((100vw - 1120px) / 2), 5vw);
  background: white;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 650;
}
.brand img {
  width: 112px;
  height: 38px;
  object-fit: contain;
}
.brand span {
  border-left: 1px solid var(--line);
  padding-left: 1rem;
}
nav {
  display: flex;
  gap: 1.3rem;
  align-items: center;
}
nav a {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
}
nav a[aria-current] {
  color: var(--teal);
  border-bottom: 2px solid var(--teal);
}
main {
  max-width: 1152px;
  min-height: 75vh;
  margin: auto;
  padding: clamp(1.5rem, 4vw, 3.5rem) 1.5rem;
}
footer {
  font-size: 0.85rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  border-bottom: 0;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-size: clamp(2rem, 4.3vw, 3.25rem);
  letter-spacing: -0.055em;
  line-height: 1.08;
  margin: 0.5rem 0 1.4rem;
  font-weight: 650;
}
h2 {
  font-size: 1.3rem;
  font-weight: 650;
  letter-spacing: -0.025em;
  margin-bottom: 0.65rem;
}
h3 {
  font-size: 1.05rem;
}
.subtitle,
.meta,
small {
  color: var(--muted);
}
small {
  font-size: 0.84rem;
}
.panel,
.action,
.hero,
details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.4rem;
}
.hero {
  background: #e3efec;
  padding: clamp(1.5rem, 3.3vw, 2.7rem);
  border-color: #c3d8d3;
}
.hero h1 {
  margin-top: 0;
}
.actions,
.cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.2rem 0 2rem;
}
.action {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 650;
  font-size: 1.2rem;
}
.action:hover,
.row:hover {
  background: #f1f8f5;
}
.glyph {
  width: 2.6rem;
  height: 2.6rem;
  display: grid;
  place-items: center;
  color: var(--teal);
  background: var(--pale);
  border-radius: 7px;
  font-size: 1.5rem;
}
.section {
  margin: 1.5rem 0;
}
.panel + .panel,
details + details,
.stack > * + * {
  margin-top: 1rem;
}
a {
  color: var(--teal);
  text-underline-offset: 0.18em;
}
button,
.btn {
  background: var(--teal);
  color: white;
  border: 1px solid var(--teal);
  border-radius: 6px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  padding: 0.62rem 1rem;
  text-decoration: none;
  display: inline-block;
}
.secondary {
  background: white;
  border-color: var(--line);
  color: var(--ink);
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid #da8e00;
  outline-offset: 3px;
}
input,
select,
textarea {
  font: inherit;
  padding: 0.65rem 0.75rem;
  border: 1px solid #99aeae;
  border-radius: 5px;
  color: var(--ink);
  background: white;
  min-width: 0;
  width: 100%;
}
input[type="checkbox"] {
  width: auto;
}
.field {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
}
.field input,
.field select,
.field textarea {
  font-weight: 400;
}
form {
  max-width: 770px;
  display: grid;
  gap: 1rem;
}
form > button {
  justify-self: start;
}
.hero input {
  max-width: 680px;
  padding: 0.9rem 1rem;
}
.row {
  padding: 0.8rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid #e0e7e5;
}
.row:last-child {
  border-bottom: 0;
}
.row span:first-child {
  min-width: 0;
}
.row small {
  display: block;
}
.tag {
  font-size: 0.86rem;
  color: #235b50;
  background: #e4f2ea;
  border-radius: 20px;
  padding: 0.21rem 0.7rem;
  white-space: nowrap;
}
.notice,
.error {
  padding: 0.75rem 1rem;
  border-left: 3px solid var(--teal);
  background: #e4f1ec;
}
.error {
  color: #852517;
  background: #fff0ed;
  border-color: #bd493a;
}
.quiet {
  color: var(--muted);
  padding: 0.4rem 0;
}
.narrow {
  max-width: 640px;
  margin: 1rem auto;
}
.toolbar {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}
.toolbar > * {
  flex: 0 1 auto;
}
.toolbar select {
  max-width: 25rem;
}
summary {
  font-weight: 650;
  cursor: pointer;
}
details[open] > summary {
  margin-bottom: 1rem;
}
.sectionhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}
.back {
  display: inline-block;
  margin-bottom: 0.75rem;
}
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font: inherit;
}
.tablewrap {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
}
th,
td {
  text-align: left;
  padding: 0.6rem;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
th {
  font-size: 0.88rem;
  color: var(--muted);
}
.links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.step {
  font-size: 0.92rem;
  color: var(--muted);
  font-weight: 600;
}
fieldset {
  border: 1px solid var(--line);
  border-radius: 6px;
  margin: 0;
  padding: 1rem;
}
legend {
  font-weight: 600;
}
.answer {
  margin: 0.7rem 0;
}
.answer a {
  font-weight: 650;
}
.auth {
  max-width: 490px;
  margin: 2.5rem auto;
}
.auth h1 {
  font-size: 2.4rem;
}
button.link {
  background: none;
  border: 0;
  padding: 0;
  color: var(--teal);
  font: inherit;
}
.list {
  max-height: 30rem;
  overflow-y: auto;
}
@media (max-width: 750px) {
  .cols {
    grid-template-columns: 1fr;
  }
  header {
    gap: 0.65rem;
  }
  nav {
    gap: 1rem;
    flex-wrap: wrap;
  }
  main {
    padding: 1.4rem 1rem;
  }
  .actions {
    margin: 1rem 0;
    gap: 0.6rem;
  }
  .action {
    padding: 0.85rem;
    font-size: 1rem;
  }
  .glyph {
    display: none;
  }
  footer {
    align-items: flex-start;
    flex-direction: column;
  }
  .panel {
    padding: 1rem;
  }
  .brand img {
    width: 90px;
  }
}
[hidden] {
  display: none !important;
}
.company-layout {
  display: grid;
  grid-template-columns: minmax(12rem, 23%) minmax(0, 1fr);
  align-items: start;
  gap: 1.25rem;
}
.company-picker { position: sticky; top: 1rem; padding: 1rem; }
.company-list { max-height: 52vh; overflow-y: auto; margin-top: .75rem; }
.company-list a { display: block; padding: .4rem .5rem; color: var(--ink); text-decoration: none; }
.company-list a:hover, .company-list a[aria-current] { background: var(--pale); color: var(--teal); }
.company-detail { min-width: 0; }
.company-detail h1 { margin: 0; }
.company-detail .panel { padding: .9rem 1rem; }
.company-detail .panel > * + * { margin-top: .4rem; }
.company-detail .quiet { padding: 0; }
@media (max-width: 750px) {
  .company-layout { grid-template-columns: minmax(0, 1fr); }
  .company-picker { position: static; }
  .company-list { max-height: 6rem; }
}
