.ocd-page {
  --ocd-ink: #17283a;
  --ocd-muted: #486078;
  --ocd-border: #d4e1ea;
  --ocd-tint: #edf7f4;
  --ocd-accent: #07685e;
  color: var(--ocd-ink);
  min-width: 0;
}
.ocd-page [hidden] { display: none !important; }
.ocd-box { margin: 1.75rem 0; padding: clamp(1rem, 3vw, 1.8rem); border: 1px solid var(--ocd-border); border-radius: 14px; background: #fff; }
.ocd-box h2 { font-size: clamp(1.35rem, 3vw, 1.85rem); line-height: 1.45; margin: 0 0 .65rem; }
.ocd-box h3 { font-size: 1.15rem; margin: 1.25rem 0 .4rem; }
.ocd-box p { margin: 0 0 .85rem; line-height: 1.7; }
.ocd-page :is(section, h2)[id] { scroll-margin-top: 2rem; }
.ocd-page :is(a, button, input, textarea, summary):focus-visible { outline: 3px solid #057568; outline-offset: 3px; }
.ocd-facts { color: var(--ocd-accent); font-weight: 700; }
.ocd-muted, .ocd-bin-labels { color: var(--ocd-muted); }
.ocd-note { background: var(--ocd-tint); border-left: 3px solid var(--ocd-accent); padding: .8rem .95rem; margin-bottom: .9rem; }
.ocd-jump, .ocd-actions, .ocd-domains { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; }
.ocd-jump { margin-top: 1rem; }
.ocd-jump a, .ocd-page button { min-height: 44px; box-sizing: border-box; padding: .55rem .9rem; border-radius: 8px; line-height: 1.4; font-size: .95rem; font-weight: 700; letter-spacing: normal; white-space: normal; text-decoration: none; box-shadow: none; }
.ocd-jump a, .ocd-page button.ocd-secondary { display: inline-flex; align-items: center; color: var(--ocd-ink); border: 1px solid var(--ocd-border); background: #fff; }
.ocd-page button { color: #fff; background: var(--ocd-accent); border: 1px solid var(--ocd-accent); cursor: pointer; }
.ocd-page button:not(:disabled):hover, .ocd-jump a:hover { filter: brightness(.93); }
.ocd-page button:disabled { opacity: .65; cursor: default; }
.ocd-page button.ocd-link { border: 0; background: transparent; color: var(--ocd-muted); text-decoration: underline; margin-top: .4rem; padding-left: 0; }
.ocd-page .ocd-domains { list-style: none; padding: 0; margin: .65rem 0 1rem; }
.ocd-domains li { padding: .2rem .62rem; border-radius: 20px; background: #f2f6f9; font-size: .86rem; }
.ocd-check { display: flex; min-height: 44px; align-items: center; gap: .55rem; margin: .4rem 0 .55rem; color: var(--ocd-ink); }
.ocd-page :is(.ocd-check, .ocd-choice) input { appearance: auto; position: static; width: 1.15rem; height: 1.15rem; margin: 0; opacity: 1; flex: none; accent-color: var(--ocd-accent); }
.ocd-progress-label { color: var(--ocd-muted); font-weight: 600; font-size: .91rem; margin-bottom: .25rem; }
.ocd-page progress { display: block; accent-color: var(--ocd-accent); width: 100%; height: .7rem; margin: 0 0 1.25rem; }
.ocd-choices { display: grid; gap: .5rem; }
.ocd-page fieldset { min-width: 0; padding: 0; margin: 0; border: 0; }
.ocd-page .ocd-choice { display: flex; align-items: center; min-height: 46px; gap: .65rem; box-sizing: border-box; margin: 0; padding: .5rem .78rem; font-size: 1rem; font-weight: 600; color: var(--ocd-ink); border: 1px solid var(--ocd-border); border-radius: 8px; cursor: pointer; }
.ocd-choice:hover, .ocd-choice:focus-within, .ocd-choice:has(:checked) { background: var(--ocd-tint); border-color: var(--ocd-accent); }
.ocd-choice input:checked + span { color: var(--ocd-accent); font-weight: 750; }
.ocd-box .ocd-error { min-height: 1.5em; margin: .35rem 0; color: #8a331f; }
.ocd-box .ocd-status { margin: .6rem 0 0; color: var(--ocd-accent); }
.ocd-impact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; }
.ocd-impact div, .ocd-distribution-row { padding: .7rem .85rem; border: 1px solid var(--ocd-border); border-radius: 9px; }
.ocd-impact dt { font-size: .86rem; color: var(--ocd-muted); }
.ocd-impact dd { margin: .15rem 0 0; font-weight: 700; }
#ocd-distribution { display: grid; gap: .55rem; }
.ocd-distribution-row h4 { font-size: .96rem; margin: 0 0 .45rem; }
.ocd-bar { display: flex; overflow: hidden; border-radius: 10px; height: .6rem; gap: 1px; }
.ocd-bar span { flex-basis: 0; }
.ocd-bin-0 { background: #d1e1ea; }
.ocd-bin-1 { background: #a7c7cf; }
.ocd-bin-2 { background: #78aaad; }
.ocd-bin-3 { background: #3c887d; }
.ocd-bin-4 { background: #165e54; }
.ocd-page .ocd-bin-labels { display: flex; flex-wrap: wrap; gap: .18rem .75rem; list-style: none; padding: 0; margin: .45rem 0 0; font-size: .82rem; }
#ocd-details { margin-bottom: .9rem; }
.ocd-page details { border-bottom: 1px solid var(--ocd-border); }
.ocd-page details summary { cursor: pointer; padding: .65rem 0; line-height: 1.5; font-weight: 700; }
#ocd-copy-panel { margin-top: 1rem; }
#ocd-copy-text { width: 100%; min-height: 8rem; margin: .35rem 0 .65rem; }
.ocd-guide h2:not(:first-child) { border-top: 1px solid var(--ocd-border); padding-top: 1rem; margin-top: 1.4rem; }
.ocd-guide a { overflow-wrap: anywhere; }
@media (max-width: 480px) {
  .ocd-impact { grid-template-columns: minmax(0, 1fr); }
  .ocd-page .ocd-actions > button { width: auto; flex: 1 1 auto; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .ocd-page, .ocd-page * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
