/* OT Security Report – IC Cyber FlexCo. Same look for the overview and every monthly report.
   Brand guide (November 2026): white reading surface, Substation Mist for secondary surfaces,
   Grid Slate headings, Signal Teal for active states, IBM Plex Sans (self-hosted, SIL OFL 1.1). */
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("fonts/IBMPlexSans-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("fonts/IBMPlexSans-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --slate: #16324F;
  --teal: #0E7C7B;
  --ink: #1B2026;
  --muted: #52606D;
  --mist: #F4F6F8;
  --line: #D5DCE2;
  --white: #FFFFFF;
  --sep: #FFFFFF;          /* gap between chart slices */
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-padding-top: 1rem; }
body { font-family: "IBM Plex Sans", sans-serif; background: var(--white); color: var(--ink);
       line-height: 1.65; font-size: 18px; min-height: 100vh; display: flex; flex-direction: column; }
.rp { flex: 1; width: 100%; }
a { color: var(--teal); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }

.rp-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem;
          flex-wrap: wrap; padding: 1.1rem clamp(1rem, 4vw, 2.5rem); background: var(--white);
          border-bottom: 1px solid var(--line); }
.rp-mark { display: block; line-height: 0; }
.rp-mark img { width: clamp(170px, 16vw, 230px); height: auto; display: block; }
.rp-bar nav { display: flex; gap: 1.5rem; font-size: 0.98rem; }
.rp-bar nav a { color: var(--slate); text-decoration: none; font-weight: 500; }
.rp-bar nav a:hover, .rp-bar nav a:focus-visible { color: var(--teal); }

.rp { max-width: 800px; margin: 0 auto; padding: clamp(2.5rem, 6vw, 4.5rem) 1.25rem 4rem; }
.rp-kicker { color: var(--teal); font-weight: 600; font-size: 1rem; margin-bottom: 0.9rem; }
.rp h1 { font-weight: 600; color: var(--slate); font-size: clamp(2rem, 4.6vw, 3rem); line-height: 1.08;
         letter-spacing: -0.03em; margin-bottom: 1.4rem; text-wrap: balance; }
.rp-lead { font-size: clamp(1.15rem, 1.8vw, 1.32rem); line-height: 1.55; color: var(--ink); margin-bottom: 1.2rem; }
.rp-meta { color: var(--muted); font-size: 0.9rem; margin-bottom: 2.2rem; }

.rp-figs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; margin-bottom: 3rem; }
.rp-figs div { background: var(--mist); padding: 1.15rem 1.25rem; border-top: 4px solid var(--slate); }
.rp-figs div:first-child { border-top-color: var(--teal); }
.rp-figs dt { font-weight: 600; font-size: clamp(1.8rem, 3.6vw, 2.5rem); color: var(--slate); line-height: 1.05;
              letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.rp-figs dd { font-size: 0.92rem; color: var(--muted); line-height: 1.35; margin-top: 0.35rem; }

.rp-sec { margin-top: 3rem; }
.rp h2 { color: var(--slate); font-weight: 600; font-size: clamp(1.4rem, 2.5vw, 1.75rem); line-height: 1.2;
         letter-spacing: -0.02em; margin-bottom: 1rem; text-wrap: balance; }
.rp-sector { display: block; font-size: 0.9rem; font-weight: 600; color: var(--teal); letter-spacing: 0;
             margin-bottom: 0.3rem; }
.rp p { margin-bottom: 1.05rem; }
.rp ul { margin: 0 0 1.1rem 1.2rem; }
.rp li { margin-bottom: 0.45rem; }
.ref { font-size: 0.7em; line-height: 0; margin-left: 0.12em; white-space: nowrap; }
.ref a { text-decoration: none; font-weight: 700; padding: 0 0.08em; }
.ref a:hover, .ref a:focus-visible { text-decoration: underline; }

.rp-assess { margin-top: 3.5rem; background: var(--slate); color: var(--white);
             padding: 2.1rem clamp(1.2rem, 3vw, 2.2rem); }
.rp-assess h2 { color: var(--white); }
.rp-assess a { color: #9FE0DF; }
.rp-point { margin-top: 1.4rem; }
.rp-point h3 { color: var(--white); font-weight: 600; font-size: 1.14rem; line-height: 1.35; margin-bottom: 0.4rem; }
.rp-point p { color: #E6EBF0; }

.rp-about { margin-top: 3rem; color: var(--muted); font-size: 0.95rem; }
.rp-about h2 { font-size: 1.1rem; }
.rp-sources { margin-top: 2.5rem; font-size: 0.92rem; }
.rp-sources h2 { font-size: 1.1rem; }
.rp-sources ol { padding-left: 1.6rem; }
.rp-sources li { margin-bottom: 0.6rem; color: var(--muted); }
.rp-sources li:target { background: var(--mist); }
.rp-sources a { word-break: break-word; }
.rp-dom, .rp-lang { color: var(--muted); }
.rp-inc { display: block; color: var(--muted); font-size: 0.85em; }

.rp-list { list-style: none; margin-top: 2.5rem; display: grid; gap: 0.6rem; }
.rp-list a { display: block; background: var(--mist); padding: 1.4rem 1.5rem; text-decoration: none;
             color: var(--ink); border-left: 4px solid var(--slate); transition: background-color 0.2s ease, border-color 0.2s ease; }
.rp-list a:hover, .rp-list a:focus-visible { background: #E9EDF1; border-left-color: var(--teal); }
.rp-month { display: block; font-weight: 600; color: var(--teal); font-size: 0.95rem; }
.rp-ttl { display: block; color: var(--slate); font-weight: 600; font-size: 1.28rem; line-height: 1.3; margin: 0.35rem 0;
          letter-spacing: -0.015em; }
.rp-lede { display: block; color: var(--ink); font-size: 0.98rem; }

.rp-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.8rem;
           padding: 1.6rem clamp(1rem, 4vw, 2.5rem); background: var(--slate); color: #D5DCE2; font-size: 0.88rem; }
.rp-foot a { color: var(--white); text-decoration: none; margin-left: 1.1rem; }
.rp-foot a:first-child { margin-left: 0; }
.rp-foot a:hover { text-decoration: underline; }

@media (max-width: 560px) {
  body { font-size: 17px; }
  .rp-figs { grid-template-columns: 1fr; }
  .rp-bar nav { gap: 1rem; font-size: 0.92rem; }
  .rp-foot { justify-content: center; text-align: center; }
}

/* ---- charts (incidents by industry, cyberattacks by kind, incidents per month) ---- */
.rp-note { color: var(--muted); font-size: 0.9rem; margin: -1.6rem 0 2.4rem; }
.rp-chart { margin-top: 3rem; }
.rp-chart h2 { margin-bottom: 0.4rem; }
.rp-chart-sub { color: var(--muted); font-size: 0.95rem; margin-bottom: 1.4rem; }
.rp-pie-wrap { display: grid; grid-template-columns: minmax(220px, 300px) 1fr; gap: 2rem; align-items: center; }
.rp-pie svg { width: 100%; height: auto; display: block; }
.rp-pie path:hover, .rp-pie circle:hover { opacity: 0.85; }
.rp-pie .pv { fill: #fff; font: 700 13px "IBM Plex Sans", sans-serif; text-anchor: middle; dominant-baseline: middle; pointer-events: none; }
.rp-pie .pv.dk { fill: var(--ink); }
.rp-pie .pc-n { fill: var(--slate); font: 600 34px "IBM Plex Sans", sans-serif; text-anchor: middle; }
.rp-pie .pc-l { fill: var(--muted); font: 500 14px "IBM Plex Sans", sans-serif; text-anchor: middle; }
.rp-legend { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.rp-legend th { text-align: left; color: var(--muted); font-weight: 600; font-size: 0.82rem; padding: 0 0.5rem 0.5rem 0; }
.rp-legend td { padding: 0.4rem 0.5rem 0.4rem 0; color: var(--ink); }
.rp-legend tbody tr + tr td { border-top: 1px solid var(--line); }
.rp-legend td:nth-child(n+2), .rp-legend th:nth-child(n+2) { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sw { display: inline-block; width: 12px; height: 12px; margin-right: 0.6rem; vertical-align: -1px; }

.rp-trends { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.rp-trend { margin: 0; background: var(--mist); padding: 1rem 1rem 0.6rem; }
.rp-trend figcaption { color: var(--slate); font-weight: 600; font-size: 1rem; margin-bottom: 0.4rem; }
.rp-trend svg { width: 100%; height: auto; display: block; overflow: visible; }
.rp-trend .gl { stroke: var(--line); stroke-width: 1; }
.rp-trend .ax { fill: var(--muted); font: 500 11px "IBM Plex Sans", sans-serif; }
.rp-trend .lv { fill: var(--slate); font: 700 13px "IBM Plex Sans", sans-serif; }
.rp-trend circle:hover { r: 7; }
.rp-chart .rp-note { margin: 0.8rem 0 0; }
.rp-table { margin-top: 1rem; color: var(--ink); font-size: 0.92rem; }
.rp-table summary { cursor: pointer; color: var(--teal); font-weight: 600; }
.rp-table table { width: 100%; border-collapse: collapse; margin-top: 0.6rem; }
.rp-table th, .rp-table td { text-align: right; padding: 0.4rem 0.4rem; font-variant-numeric: tabular-nums;
                             border-bottom: 1px solid var(--line); }
.rp-table th:first-child, .rp-table td:first-child { text-align: left; }
.rp-table th { color: var(--muted); font-weight: 600; }
.rp-list-h { margin-top: 3rem; }
.rp-list-h + .rp-list { margin-top: 1rem; }
@media (max-width: 760px) {
  .rp-pie-wrap { grid-template-columns: 1fr; }
  .rp-pie svg { max-width: 280px; margin: 0 auto; }
  .rp-trends { grid-template-columns: 1fr; }
}
