.ocres,
.ocres * {
  box-sizing: border-box;
  letter-spacing: 0;
}

.ocres {
  --ocres-green: #23a455;
  --ocres-green-dark: #18783c;
  --ocres-blue: #0a7aa5;
  --ocres-orange: #ea7628;
  --ocres-ink: #151a17;
  --ocres-text: #39413c;
  --ocres-muted: #68736c;
  --ocres-line: #d8e2dc;
  --ocres-soft: #f5f8f6;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 40px 28px 64px;
  color: var(--ocres-text);
  background: #ffffff;
  font-family: inherit;
  font-size: 16px;
}

.ocres h1,
.ocres h2,
.ocres h3,
.ocres p,
.ocres label,
.ocres input,
.ocres select,
.ocres button,
.ocres a,
.ocres legend,
.ocres small {
  font-family: inherit;
  letter-spacing: 0;
}

.ocres-intro {
  max-width: 930px;
  padding-bottom: 34px;
}

.ocres-kicker {
  margin: 0 0 9px;
  color: var(--ocres-green-dark);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  text-transform: uppercase;
}

.ocres h1 {
  margin: 0;
  color: #000000;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.16;
  overflow-wrap: anywhere;
}

.ocres-lead {
  max-width: 880px;
  margin: 18px 0 0;
  color: #3b443f;
  font-size: 19px;
  line-height: 1.58;
}

.ocres-status {
  display: inline-grid;
  grid-template-columns: 11px auto;
  gap: 2px 10px;
  align-items: center;
  margin-top: 20px;
  padding: 10px 14px;
  border: 1px solid var(--ocres-line);
  border-radius: 6px;
  background: var(--ocres-soft);
}

.ocres-status > span {
  grid-row: 1 / span 2;
  width: 10px;
  height: 10px;
  background: var(--ocres-green);
  border-radius: 50%;
}

.ocres-status strong {
  color: var(--ocres-ink);
  font-size: 14px;
  line-height: 1.3;
}

.ocres-status small {
  color: var(--ocres-muted);
  font-size: 12px;
  line-height: 1.35;
}

.ocres-status.is-paused {
  border-color: #efc9ae;
  background: #fff7f1;
}

.ocres-status.is-paused > span {
  background: var(--ocres-orange);
}

.ocres-how {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--ocres-line);
}

.ocres .ocres-how h2 {
  margin: 0 0 16px;
  color: var(--ocres-ink);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}

.ocres-how ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ocres-how li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  min-width: 0;
}

.ocres-how li > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: #ffffff;
  background: var(--ocres-green);
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.ocres-how p {
  margin: 0;
  color: var(--ocres-muted);
  font-size: 14px;
  line-height: 1.55;
}

.ocres-how strong {
  color: var(--ocres-ink);
}

.ocres-tabs {
  display: flex;
  gap: 4px;
  align-items: flex-end;
  min-height: 48px;
  border-bottom: 1px solid #bfcfc5;
}

.ocres .ocres-tabs button {
  min-height: 46px;
  margin: 0;
  padding: 12px 20px;
  color: #536059;
  background: transparent;
  border: 0;
  border-bottom: 3px solid transparent;
  border-radius: 6px 6px 0 0;
  box-shadow: none;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  text-transform: none;
  cursor: pointer;
}

.ocres .ocres-tabs button:hover,
.ocres .ocres-tabs button:focus-visible {
  color: var(--ocres-blue);
  background: #f4f8fa;
}

.ocres .ocres-tabs button[aria-selected="true"] {
  color: var(--ocres-ink);
  background: #f2faf5;
  border-bottom-color: var(--ocres-green);
}

.ocres-panel {
  padding: 30px;
  border: 1px solid #c8d7ce;
  border-top: 0;
  background: #ffffff;
  border-radius: 0 0 6px 6px;
}

.ocres-panel[hidden] {
  display: none;
}

.ocres-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 24px;
}

.ocres-form-grid.is-compact {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--ocres-line);
}

.ocres-field {
  display: grid;
  min-width: 0;
  gap: 7px;
  margin: 0;
}

.ocres-field > span {
  color: #26302a;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

.ocres-field input,
.ocres-field select {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  margin: 0;
  padding: 10px 12px;
  color: #171c19;
  background: #ffffff;
  border: 1px solid #afbeb5;
  border-radius: 5px;
  box-shadow: none;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.35;
}

.ocres-field input:focus,
.ocres-field select:focus {
  outline: 3px solid rgba(10, 122, 165, 0.16);
  outline-offset: 0;
  border-color: var(--ocres-blue);
}

.ocres-field input::placeholder {
  color: #89938d;
  opacity: 1;
}

.ocres-frequency {
  min-width: 0;
  margin: 26px 0 0;
  padding: 22px;
  border: 1px solid var(--ocres-line);
  background: var(--ocres-soft);
  border-radius: 6px;
}

.ocres-frequency legend {
  padding: 0 7px;
  color: var(--ocres-ink);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
}

.ocres-frequency > p {
  margin: 0 0 18px;
  color: var(--ocres-muted);
  font-size: 14px;
  line-height: 1.5;
}

.ocres-frequency-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.ocres-inline-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 76px;
}

.ocres-inline-control input {
  border-radius: 5px 0 0 5px;
}

.ocres-inline-control select {
  border-left: 0;
  border-radius: 0 5px 5px 0;
}

.ocres-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.ocres button.ocres-button,
.ocres a.ocres-button {
  display: inline-flex;
  width: auto;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 7px;
  box-shadow: none;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  text-transform: none;
  white-space: normal;
  cursor: pointer;
}

.ocres-button.is-primary {
  color: #ffffff;
  background: var(--ocres-green);
  border-color: var(--ocres-green);
}

.ocres-button.is-primary:hover,
.ocres-button.is-primary:focus-visible {
  color: #ffffff;
  background: var(--ocres-green-dark);
  border-color: var(--ocres-green-dark);
}

.ocres-button.is-secondary,
.ocres a.ocres-button.is-secondary {
  color: #ffffff;
  background: var(--ocres-blue);
  border-color: var(--ocres-blue);
}

.ocres-button.is-secondary:hover,
.ocres-button.is-secondary:focus-visible,
.ocres a.ocres-button.is-secondary:hover,
.ocres a.ocres-button.is-secondary:focus-visible {
  color: #ffffff;
  background: #075f80;
  border-color: #075f80;
}

.ocres-button.is-quiet {
  color: #435048;
  background: #ffffff;
  border-color: #afbeb5;
}

.ocres-button.is-quiet:hover,
.ocres-button.is-quiet:focus-visible {
  color: var(--ocres-ink);
  background: var(--ocres-soft);
  border-color: #899b90;
}

.ocres-assessment {
  margin-top: 28px;
}

.ocres-result {
  padding: 25px 26px;
  border: 1px solid var(--ocres-line);
  border-left-width: 5px;
  border-radius: 5px;
  background: #ffffff;
}

.ocres-result.is-positive {
  border-left-color: var(--ocres-green);
  background: #f5fbf7;
}

.ocres-result.is-review {
  border-left-color: var(--ocres-blue);
  background: #f4f9fb;
}

.ocres-result.is-alert {
  border-left-color: var(--ocres-orange);
  background: #fff7f1;
}

.ocres-result.is-neutral {
  border-left-color: #829088;
}

.ocres-result-label {
  margin: 0 0 7px;
  color: var(--ocres-green-dark);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  text-transform: uppercase;
}

.ocres-result h2 {
  margin: 0;
  color: var(--ocres-ink);
  font-size: 25px;
  font-weight: 600;
  line-height: 1.25;
}

.ocres-result-summary {
  margin: 12px 0 0;
  color: #354039;
  font-size: 17px;
  line-height: 1.58;
}

.ocres-result-details {
  display: grid;
  gap: 7px;
  margin: 16px 0 0;
  padding-left: 21px;
}

.ocres-result-details li {
  color: #455048;
  font-size: 15px;
  line-height: 1.5;
}

.ocres-result-warnings {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.ocres-warning {
  padding: 14px 16px;
  border-left: 3px solid var(--ocres-orange);
  background: #ffffff;
}

.ocres-warning strong {
  display: block;
  color: #352b24;
  font-size: 15px;
  line-height: 1.4;
}

.ocres-warning p {
  margin: 5px 0 0;
  color: #594a40;
  font-size: 14px;
  line-height: 1.5;
}

.ocres-warning a {
  display: inline-block;
  margin-top: 7px;
  color: var(--ocres-blue);
  font-size: 14px;
  font-weight: 700;
}

.ocres-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.ocres-result-note {
  margin: 18px 0 0;
  padding-top: 15px;
  color: var(--ocres-muted);
  border-top: 1px solid var(--ocres-line);
  font-size: 13px;
  line-height: 1.5;
}

.ocres-field.is-search {
  max-width: 720px;
}

.ocres-field.is-search input {
  min-height: 52px;
  padding: 12px 15px;
  font-size: 17px;
}

.ocres-search-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.ocres-search-card {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--ocres-line);
  border-radius: 5px;
  background: #ffffff;
}

.ocres-search-kind {
  display: block;
  margin-bottom: 6px;
  color: var(--ocres-green-dark);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  text-transform: uppercase;
}

.ocres-search-card h3 {
  margin: 0;
  color: var(--ocres-ink);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.32;
}

.ocres-search-card p {
  margin: 8px 0 0;
  color: #48544c;
  font-size: 15px;
  line-height: 1.5;
}

.ocres-search-card small {
  display: block;
  margin-top: 10px;
  color: var(--ocres-blue);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.ocres-empty {
  grid-column: 1 / -1;
  padding: 24px;
  color: var(--ocres-muted);
  border: 1px dashed #b9c8bf;
  border-radius: 5px;
  background: var(--ocres-soft);
}

.ocres-empty strong {
  color: var(--ocres-ink);
  font-size: 17px;
}

.ocres-empty p {
  margin: 5px 0 0;
  font-size: 15px;
  line-height: 1.5;
}

.ocres-scope,
.ocres-registry-links {
  padding: 52px 0 0;
}

.ocres-section-heading {
  max-width: 760px;
}

.ocres-section-heading h2,
.ocres-registry-links h2 {
  margin: 0;
  color: var(--ocres-ink);
  font-size: 30px;
  font-weight: 600;
  line-height: 1.25;
}

.ocres-section-heading > p:last-child {
  margin: 12px 0 0;
  color: var(--ocres-muted);
  font-size: 16px;
  line-height: 1.55;
}

.ocres-scope-list {
  margin-top: 24px;
  border-top: 1px solid var(--ocres-line);
}

.ocres-scope-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.45fr);
  gap: 28px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--ocres-line);
}

.ocres-scope-row h3 {
  margin: 0;
  color: var(--ocres-ink);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.35;
}

.ocres-scope-row div p {
  margin: 6px 0 0;
  color: var(--ocres-muted);
  font-size: 15px;
  line-height: 1.5;
}

.ocres-code-list {
  margin: 0;
  color: var(--ocres-blue);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.ocres-link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.ocres-link-grid > a {
  display: grid;
  min-width: 0;
  gap: 7px;
  padding: 19px;
  color: var(--ocres-ink);
  border: 1px solid #c5d5cb;
  border-radius: 5px;
  background: #ffffff;
  text-decoration: none;
}

.ocres-link-grid > a:hover,
.ocres-link-grid > a:focus-visible {
  color: var(--ocres-ink);
  border-color: var(--ocres-blue);
  box-shadow: 0 0 0 3px rgba(10, 122, 165, 0.12);
}

.ocres-link-grid strong {
  color: var(--ocres-blue);
  font-size: 16px;
  line-height: 1.4;
}

.ocres-link-grid span {
  color: var(--ocres-muted);
  font-size: 14px;
  line-height: 1.48;
}

.ocres-legal {
  display: flex;
  gap: 26px;
  align-items: flex-start;
  justify-content: space-between;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid var(--ocres-line);
}

.ocres-legal p {
  max-width: 760px;
  margin: 0;
  color: var(--ocres-muted);
  font-size: 13px;
  line-height: 1.55;
}

.ocres-legal a {
  flex: 0 0 auto;
  color: var(--ocres-blue);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

@media (max-width: 900px) {
  .ocres-frequency-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ocres-link-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 680px) {
  .ocres {
    padding: 32px 18px 48px;
  }

  .ocres h1 {
    font-size: 30px;
    line-height: 1.2;
  }

  .ocres-lead {
    font-size: 17px;
    line-height: 1.52;
  }

  .ocres-status {
    width: 100%;
  }

  .ocres-how ol {
    grid-template-columns: minmax(0, 1fr);
  }

  .ocres-tabs {
    align-items: stretch;
  }

  .ocres .ocres-tabs button {
    flex: 1 1 0;
    min-width: 0;
    min-height: 50px;
    padding: 12px 10px;
    font-size: 14px;
    white-space: normal;
  }

  .ocres-panel {
    padding: 22px 16px;
  }

  .ocres-form-grid,
  .ocres-frequency-grid,
  .ocres-search-results {
    grid-template-columns: minmax(0, 1fr);
  }

  .ocres-frequency {
    padding: 18px 14px;
  }

  .ocres-form-actions,
  .ocres-result-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .ocres button.ocres-button,
  .ocres a.ocres-button {
    width: 100%;
  }

  .ocres-result {
    padding: 21px 18px;
  }

  .ocres-result h2 {
    font-size: 22px;
  }

  .ocres-result-summary {
    font-size: 16px;
  }

  .ocres-scope,
  .ocres-registry-links {
    padding-top: 42px;
  }

  .ocres-section-heading h2,
  .ocres-registry-links h2 {
    font-size: 25px;
  }

  .ocres-scope-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 11px;
    padding: 19px 0;
  }

  .ocres-legal {
    display: grid;
    gap: 14px;
  }
}
