/* On Friday ops: plain, readable, large targets for use on a phone during a call. */

:root {
  --bg: #fbfcfb;
  --surface: #ffffff;
  --text: #1a2421;
  --muted: #4d5a56;
  --primary: #0f6b5c;
  --primary-dark: #0a4f44;
  --border: #6b7774;
  --line: #d5dcda;
  --error: #b42318;
  --focus: #f4b942;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 100%;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
}

* { box-sizing: border-box; }
body { margin: 0; }
.wrap { max-width: 72rem; margin: 0 auto; padding: 0 1rem; }
main { padding-top: 1.5rem; padding-bottom: 3rem; }
main:focus { outline: none; }

a { color: var(--primary); text-underline-offset: 0.15em; }
a:hover { color: var(--primary-dark); }
:focus-visible { outline: 3px solid var(--text); outline-offset: 2px; box-shadow: 0 0 0 6px var(--focus); }

.skip { position: absolute; left: -999rem; }
.skip:focus { left: 1rem; top: 1rem; background: var(--surface); padding: 0.5rem 1rem; z-index: 10; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.top { background: var(--surface); border-bottom: 1px solid var(--line); }
.top-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1.5rem; padding-top: 0.5rem; padding-bottom: 0.5rem; }
.brand { margin: 0; font-weight: 700; font-size: 1.125rem; }
.brand a { color: var(--text); text-decoration: none; display: inline-block; padding: 0.5rem 0; }
.nav, .filters { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; }
.nav a, .filters a { display: inline-block; padding: 0.625rem 0.25rem; min-height: 44px; }
.filters { margin: 1rem 0; }
.filters a[aria-current="page"] { font-weight: 700; color: var(--text); text-decoration-thickness: 3px; }

h1 { font-size: 1.75rem; line-height: 1.2; margin: 0 0 1rem; }
h2 { font-size: 1.25rem; margin: 2rem 0 0.75rem; }
.muted { color: var(--muted); }

.button {
  display: inline-block; min-height: 44px; padding: 0.625rem 1.25rem; border: 2px solid var(--primary);
  border-radius: 0.375rem; background: var(--primary); color: #ffffff; font: inherit; font-weight: 600;
  text-decoration: none; cursor: pointer;
}
.button:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #ffffff; }

form { max-width: 40rem; }
.field { margin: 0 0 1.5rem; }
fieldset.field { border: 0; padding: 0; }
label, legend { display: block; font-weight: 600; margin-bottom: 0.25rem; }
.hint { color: var(--muted); margin: 0 0 0.5rem; }
input[type="text"], input[type="email"], input[type="url"], textarea, select {
  display: block; width: 100%; min-height: 44px; padding: 0.5rem 0.625rem; font: inherit; color: var(--text);
  background: var(--surface); border: 2px solid var(--border); border-radius: 0.25rem;
}
.choice { display: flex; align-items: center; gap: 0.625rem; margin: 0.5rem 0; }
.choice input { width: 1.5rem; height: 1.5rem; margin: 0; flex: none; accent-color: var(--primary); }
.choice label { font-weight: 400; margin: 0; padding: 0.5rem 0; }

.has-error { border-left: 4px solid var(--error); padding-left: 0.75rem; }
.has-error input[type="text"] { border-color: var(--error); }
.field-error { color: var(--error); font-weight: 600; margin: 0 0 0.5rem; }
.error-summary { border: 3px solid var(--error); padding: 1rem 1.25rem; margin: 0 0 1.5rem; max-width: 40rem; }
.error-summary h2 { margin-top: 0; }
.error-summary a { color: var(--error); font-weight: 600; }

.table-scroll { overflow-x: auto; }
.pipeline { border-collapse: collapse; width: 100%; min-width: 48rem; }
.pipeline caption { text-align: left; color: var(--muted); padding-bottom: 0.5rem; }
.pipeline th, .pipeline td { text-align: left; vertical-align: top; padding: 0.625rem 0.75rem 0.625rem 0; border-bottom: 1px solid var(--line); }
.pipeline thead th { border-bottom: 2px solid var(--text); }

.summary { display: grid; gap: 0.5rem; margin: 0 0 1.5rem; }
.summary div { display: grid; grid-template-columns: minmax(7rem, 12rem) 1fr; gap: 1rem; }
.summary dt { font-weight: 600; }
.summary dd { margin: 0; }
.events { padding-left: 1.25rem; }

.foot { border-top: 1px solid var(--line); color: var(--muted); padding: 1rem 0; }

@media (max-width: 37.5rem) {
  .summary div { grid-template-columns: 1fr; gap: 0; }
}
