:root {
  --navy: #0c1f33;
  --navy-2: #163049;
  --page: #f5f7f9;
  --panel: #ffffff;
  --text: #17222d;
  --soft: #536273;
  --rule: #d9e0e7;
  --teal: #0f766e;
  --star: #e3a008;
  --neg: #b42318;
}

@media (prefers-color-scheme: dark) {
  :root {
    --page: #0f1720;
    --panel: #16212c;
    --text: #e6edf3;
    --soft: #9fb0c0;
    --rule: #2a3946;
    --teal: #3cc4b6;
    --neg: #f07167;
  }
}

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font: 16px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.25;
}
h1 { font-size: clamp(28px, 4.4vw, 40px); margin: 0 0 10px; }
h2 { font-size: 24px; margin: 0 0 12px; padding-bottom: 6px; border-bottom: 1px solid var(--rule); }
h3 { font-size: 18px; margin: 18px 0 6px; }
p { margin: 0 0 12px; }
a { color: var(--teal); }

#page { min-height: 100vh; }

.mast { background: var(--navy); color: #eef3f8; }
.mast-in { max-width: 980px; margin: 0 auto; padding: 0 18px; }
.mast-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 20px;
  padding: 12px 0;
  border-bottom: 1px solid var(--navy-2);
}
.mast-name { color: #fff; text-decoration: none; font-family: Georgia, serif; font-size: 20px; font-weight: 700; }
.mast-nav a { color: #b9c9d8; text-decoration: none; font-size: 14px; margin-right: 16px; }
.mast-nav a:last-child { margin-right: 0; }
.mast-nav a:hover, .mast-nav a.on { color: #fff; text-decoration: underline; }
.mast-head { padding: 30px 0 26px; }
.mast-head p { color: #c6d3df; max-width: 700px; }
.mast-head a { color: #7fe0d5; }
.mast-date { font-size: 13px; color: #8fa5b8; text-transform: uppercase; letter-spacing: 0.06em; }

.kpis { display: flex; flex-wrap: wrap; gap: 0; margin-top: 18px; border: 1px solid var(--navy-2); }
.kpi { flex: 1 1 160px; padding: 12px 16px; border-right: 1px solid var(--navy-2); }
.kpi:last-child { border-right: 0; }
.kpi b { display: block; font-size: 26px; font-family: Georgia, serif; color: #fff; font-variant-numeric: tabular-nums; }
.kpi span { font-size: 13px; color: #a9bccc; }

.body { max-width: 980px; margin: 0 auto; padding: 8px 18px 30px; }
.blk { background: var(--panel); border: 1px solid var(--rule); border-radius: 2px; padding: 22px 22px 12px; margin: 22px 0; }

.tbl-wrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: 15px; margin-bottom: 14px; }
.tbl th, .tbl td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.tbl th { font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--soft); font-weight: 600; }
.tbl td.n, .tbl th.n { text-align: right; }
.tbl tfoot td { font-weight: 700; }

.q { border-left: 3px solid var(--teal); margin: 0 0 18px; padding: 2px 0 2px 16px; }
.q blockquote { margin: 0 0 4px; }
.q .st { color: var(--star); letter-spacing: 1px; }
.q .src { font-size: 13px; color: var(--soft); }

.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0 28px; }

.ul { padding-left: 20px; }
.ul li { margin-bottom: 7px; }

.neg { color: var(--neg); }
.small { font-size: 14px; color: var(--soft); }

.dl dt { font-weight: 700; margin-top: 14px; }
.dl dd { margin: 4px 0 0; }

.end { border-top: 1px solid var(--rule); font-size: 14px; color: var(--soft); }
.end-in { max-width: 980px; margin: 0 auto; padding: 20px 18px 34px; }
.end-in a { margin-right: 14px; }
