:root {
  color-scheme: light;
  --ops-bg: #f1f4ed;
  --ops-paper: #fbfcf8;
  --ops-text: #122e26;
  --ops-muted: #455b50;
  --ops-green: #245b45;
  --ops-line: #ccd8ce;
  --ops-tint: #e1ece3;
  --ops-dark: #17362c;
  --ops-anchor: 200px;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ops-text); background: var(--ops-bg); }
[hidden] { display: none !important; }
button, input, select { font: inherit; }
a { color: var(--ops-green); text-underline-offset: .2em; }
:focus-visible { outline: 3px solid #347a5a; outline-offset: 4px; }
.ops-skip { position: fixed; z-index: 120; left: 16px; top: -90px; padding: 12px 16px; background: white; }
.ops-skip:focus { top: 12px; }
.ops-main { width: min(1200px, calc(100% - clamp(32px, 8vw, 112px))); margin-inline: auto; padding-bottom: 68px; }
.ops-main [id] { scroll-margin-top: var(--ops-anchor); }

.ops-intro { max-width: 780px; padding: clamp(36px, 4.3vw, 60px) 0 25px; }
.ops-intro h1, .ops-procedure h1 {
  margin: 0;
  font-size: clamp(3.2rem, 7vw, 6.6rem);
  font-weight: 560;
  line-height: 1;
  letter-spacing: -.074em;
}

.ops-intro p, .ops-lead { max-width: 59ch; margin: 15px 0 0; color: var(--ops-muted); font-size: clamp(1rem, 1.8vw, 1.28rem); line-height: 1.6; }
.ops-jump { display: inline-block; margin-top: 14px; font-size: .9rem; font-weight: 650; }
.ops-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ops-feature {
  position: relative;
  min-height: clamp(213px, 20vw, 300px);
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  border-radius: 9px;
  background: var(--ops-dark);
  color: #fff;
  overflow: hidden;
}

.ops-feature img, .ops-feature::before { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.ops-feature img { display: block; object-fit: cover; object-position: center 48%; }
.ops-feature::before { z-index: -1; background: linear-gradient(180deg, #0819151c 8%, #07191467 37%, #061b16f5 91%); content: ""; }
.ops-feature-copy { width: 100%; padding: clamp(14px, 3vw, 35px); padding-right: clamp(44px, 6vw, 80px); }
.ops-meta { margin: 0; color: var(--ops-green); font-size: .75rem; font-weight: 670; line-height: 1.4; }
.ops-meta span, .ops-procedure-phase span { margin-inline: .24em; }
.ops-feature .ops-meta { color: #c8ead9; }
.ops-feature h2 { margin: 7px 0 8px; font-size: clamp(1.65rem, 3.5vw, 2.85rem); font-weight: 580; letter-spacing: -.05em; line-height: 1.04; }
.ops-feature h2 a { color: #fff; text-decoration: none; }
.ops-feature h2 a::after { position: absolute; inset: 0; content: ""; }
.ops-feature:focus-within { outline: 3px solid #347a5a; outline-offset: 3px; }
.ops-feature:hover h2 a { text-decoration: underline; }
.ops-feature-copy > p:last-child { margin: 0; color: #edf5ef; font-size: .91rem; line-height: 1.5; }
.ops-feature-arrow { position: absolute; right: clamp(14px, 3vw, 33px); bottom: clamp(16px, 3vw, 36px); width: 10px; height: 10px; border: solid #def5e9; border-width: 2px 2px 0 0; transform: rotate(45deg); }

.ops-library { margin-top: clamp(30px, 4vw, 47px); }
.ops-library-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 6px 18px; }
.ops-library-head h2, .ops-group h3 { margin: 0; font-weight: 585; letter-spacing: -.045em; line-height: 1.13; }
.ops-library-head h2 { font-size: clamp(1.7rem, 4vw, 2.75rem); }
.ops-library-head p { margin: 0; color: var(--ops-muted); font-size: .89rem; min-width: 7rem; }
.ops-filters { display: grid; gap: 18px; padding: clamp(14px, 2.2vw, 23px); margin: 15px 0 34px; background: var(--ops-paper); border: 1px solid var(--ops-line); border-radius: 8px; }
.ops-programmes { display: flex; flex-wrap: wrap; gap: 6px; min-inline-size: 0; margin: 0; padding: 0; border: 0; }
.ops-filters legend, .ops-filter-fields label { color: var(--ops-muted); font-size: .79rem; font-weight: 650; }
.ops-filters legend { margin-bottom: 6px; padding: 0; }
.ops-programmes label { position: relative; display: flex; }
.ops-programmes input { position: absolute; opacity: 0; inset: 0 auto auto 0; }
.ops-programmes label span { display: flex; align-items: center; min-height: 40px; padding: 6px 13px; border: 1px solid var(--ops-line); border-radius: 5px; color: var(--ops-green); cursor: pointer; font-size: .87rem; }
.ops-programmes input:checked + span { border-color: var(--ops-green); background: var(--ops-green); color: white; }
.ops-programmes input:focus-visible + span { outline: 3px solid #347a5a; outline-offset: 3px; }
.ops-filter-fields { display: grid; grid-template-columns: minmax(0, 1.25fr) repeat(2, minmax(0, 1fr)) auto; align-items: end; gap: 11px; }
.ops-filter-fields label { display: grid; gap: 5px; min-width: 0; }
.ops-filter-fields input, .ops-filter-fields select, .ops-reset { min-height: 43px; min-width: 0; max-width: 100%; padding: 7px 9px; border: 1px solid var(--ops-line); border-radius: 5px; color: var(--ops-text); background: var(--ops-paper); font-size: .88rem; }
.ops-reset { padding-inline: 12px; color: var(--ops-green); cursor: pointer; }
.ops-reset:hover, .ops-programmes label:hover span { border-color: var(--ops-green); }
.ops-empty { margin: 22px 0 0; color: var(--ops-muted); }
.ops-group { border-top: 1px solid var(--ops-line); padding-top: 13px; margin-top: 30px; }
.ops-group h3 { font-size: clamp(1.2rem, 3vw, 1.65rem); }
.ops-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.ops-card { position: relative; display: flex; flex-direction: column; gap: 8px; padding: clamp(13px, 2vw, 21px); border: 1px solid var(--ops-line); border-radius: 7px; background: var(--ops-paper); }
.ops-card:hover, .ops-card:focus-within { border-color: #6b9b80; }
.ops-card h4 { margin: 0; font-size: 1.08rem; font-weight: 655; line-height: 1.19; letter-spacing: -.022em; }
.ops-card h4 a { color: var(--ops-text); text-decoration: none; }
.ops-card h4 a::after { position: absolute; inset: 0; content: ""; }
.ops-card h4 a:hover { text-decoration: underline; }
.ops-card > p:not(.ops-meta) { margin: 0; color: var(--ops-muted); font-size: .9rem; line-height: 1.5; }
.ops-format { align-self: flex-start; margin-top: auto; padding: 4px 8px; border-radius: 4px; color: var(--ops-green); background: var(--ops-tint); font-size: .74rem; font-weight: 640; }

.ops-procedure { padding-top: clamp(24px, 4vw, 45px); }
.ops-back { color: var(--ops-green); font-size: .88rem; font-weight: 640; }
.ops-procedure-intro { padding: clamp(23px, 4vw, 44px) 0 clamp(20px, 4vw, 37px); }
.ops-procedure h1 { max-width: 20ch; margin-top: 9px; font-size: clamp(2.45rem, 6vw, 5.4rem); line-height: 1.035; letter-spacing: -.062em; }
.ops-procedure-phase { margin: 15px 0 0; color: var(--ops-green); font-size: .83rem; font-weight: 630; }
.ops-procedure-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); align-items: start; gap: clamp(16px, 3vw, 34px); }
.ops-procedure section { min-width: 0; }
.ops-procedure h2 { margin: 0 0 10px; font-size: clamp(1.3rem, 2.1vw, 1.8rem); font-weight: 610; line-height: 1.15; letter-spacing: -.036em; }
.ops-procedure section p { margin: 0; color: var(--ops-muted); font-size: .97rem; line-height: 1.65; }
.ops-start, .ops-hold, .ops-references, .ops-decision { padding: clamp(15px, 2.8vw, 24px); border-radius: 8px; border: 1px solid var(--ops-line); background: var(--ops-paper); }
.ops-start { margin-bottom: clamp(17px, 3vw, 29px); }
.ops-hold { background: var(--ops-tint); }
.ops-side { display: grid; gap: 13px; }
.ops-figure { margin: 0; border-radius: 8px; border: 1px solid var(--ops-line); overflow: hidden; background: var(--ops-paper); }
.ops-figure img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: contain; background: #eaf0e9; }
.ops-figure figcaption { padding: 10px 13px 13px; color: var(--ops-muted); font-size: .84rem; line-height: 1.55; }
.ops-sequence ol { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.ops-sequence li { display: grid; grid-template-columns: 31px minmax(0, 1fr); column-gap: 10px; position: relative; counter-increment: step; padding-bottom: 9px; }
.ops-sequence li::before { display: grid; place-items: center; width: 30px; height: 30px; z-index: 1; color: #fff; background: var(--ops-green); border-radius: 50%; content: counter(step); font-size: .79rem; font-weight: 700; }
.ops-sequence li:not(:last-child)::after { position: absolute; inset: 28px auto 0 14px; width: 2px; background: #b9cfc0; content: ""; }
.ops-sequence li > div { padding: 11px 14px 12px; border: 1px solid var(--ops-line); border-radius: 6px; background: var(--ops-paper); }
.ops-sequence li h3 { margin: 0 0 3px; font-size: 1rem; line-height: 1.3; }
.ops-decision { margin-top: 15px; }
.ops-cases { display: grid; gap: 8px; margin-top: 10px; }
.ops-cases details { padding: 9px 11px; background: var(--ops-tint); border-radius: 4px; }
.ops-cases summary { color: var(--ops-green); cursor: pointer; font-size: .9rem; font-weight: 670; line-height: 1.5; }
.ops-event-log { display: grid; gap: 7px; margin: 8px 0 4px; padding-left: 1.3em; color: var(--ops-muted); font-size: .89rem; line-height: 1.5; }
.ops-action { display: inline-block; padding: 9px 12px; border-radius: 5px; background: var(--ops-green); color: white; font-size: .9rem; font-weight: 650; text-decoration: none; line-height: 1.4; }
.ops-action:hover { text-decoration: underline; }
.ops-references ul { display: grid; gap: 8px; margin: 13px 0 0; padding-left: 16px; color: var(--ops-muted); font-size: .88rem; line-height: 1.5; }
.ops-note, .ops-scope { color: var(--ops-muted); font-size: .85rem; line-height: 1.55; }
.ops-note { margin: 0; }
.ops-scope { margin-top: 23px; }

@media (max-width: 850px) {
  .ops-filter-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ops-reset { justify-self: start; }
  .ops-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
  :root { --ops-anchor: 92px; }
}
@media (max-width: 630px) {
  .ops-features, .ops-procedure-grid { grid-template-columns: minmax(0, 1fr); }
  .ops-feature { min-height: 213px; }
}
@media (max-width: 490px) {
  .ops-filter-fields, .ops-grid { grid-template-columns: minmax(0, 1fr); }
  .ops-programmes label span { padding-inline: 8px; }
}
@media print {
  .ops-filters, .ops-back, .ops-skip { display: none !important; }
  .ops-main { width: 100%; }
  .ops-sequence li, .ops-figure, .ops-hold { break-inside: avoid; }
}
