:root {
  color-scheme: light;
  --ink: #192e42;
  --muted: #4e6071;
  --blue: #104c88;
  --line: #cbd4db;
  --paper: #fff;
  --page: #efede6;
  --tint: #f3f5f6;
  --focus: #075eac;
  --dark: #123451;
  --accent: #f5df89;
  font-family: "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--page); line-height: 1.5; }
[hidden] { display: none !important; }
a { color: var(--blue); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.wrap { width: min(1570px, calc(100% - 56px)); margin-inline: auto; }

.masthead { background: var(--dark); color: #fff; border-bottom: 1px solid #36564e; }
.masthead-inner { min-height: 68px; display: flex; gap: 24px; align-items: center; }
.brand, .download { display: inline-flex; align-items: center; gap: 10px; }
.brand { color: #f7fbf8; font-size: 17px; white-space: nowrap; text-decoration: none; }
.top-nav { display: flex; gap: 20px; margin-left: auto; }
.top-nav a { color: #e2eee9; font-size: 13px; font-weight: 600; text-decoration: none; }
.top-nav a:hover { color: var(--accent); text-decoration: underline; }
.masthead-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.download { color: var(--dark); background: var(--accent); border: 1px solid var(--accent); padding: 8px 12px; border-radius: 6px; text-decoration: none; font-size: 13px; font-weight: 700; white-space: nowrap; }
.download:hover { background: #f8e9ae; }
.admin-login { color: var(--blue); background: transparent; border-color: var(--line); }
.admin-login:hover { background: var(--tint); }
.masthead :focus-visible { outline-color: var(--accent); }

.intro { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); align-items: center; gap: 13px 24px; margin: 20px 0 14px; padding: 20px 24px 14px; border: 1px solid #36574b; border-radius: 12px; background: linear-gradient(110deg, #123451 15%, #21473a 100%); color: #f6faf6; }
.hero-copy { min-width: 0; padding: 10px 0 10px 6px; }
.hero-graphic { display: block; width: 100%; height: clamp(150px, 18vw, 238px); object-fit: contain; object-position: right center; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.hse-pillars { display: flex; flex-wrap: wrap; gap: 6px; margin: 13px 0; padding: 0; list-style: none; }
.hse-pillars li { display: flex; align-items: center; gap: 5px; border: 1px solid #537368; border-radius: 5px; padding: 3px 7px; color: #e8f4ed; font-size: 12px; font-weight: 650; }
.hse-pillars .icon { color: var(--accent); width: 15px; height: 15px; }
.eyebrow, .section-label { margin: 0 0 8px; color: var(--blue); font-size: 12px; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 8px; }
.eyebrow { color: var(--accent); }
.eyebrow span { height: 6px; width: 6px; border-radius: 50%; background: var(--accent); }
h1, h2, h3 { margin: 0; line-height: 1.12; }
h1 { font-size: clamp(33px, 5vw, 59px); letter-spacing: -.05em; font-weight: 760; overflow-wrap: anywhere; }
h2 { font-size: clamp(21px, 2.5vw, 27px); letter-spacing: -.028em; }
h3 { font-size: 20px; letter-spacing: -.012em; }
.description { margin: 8px 0 0; font-size: 15px; color: #d7e6dd; }
.date-line { margin: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 5px 11px; color: #cfdfd5; font-size: 12px; }
#as-of { background: var(--accent); color: #183026; font-weight: 750; border-radius: 4px; padding: 3px 6px; }
#as-of:empty { display: none; }

.metrics { grid-column: 1 / -1; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); border: 1px solid #5b786c; border-radius: 8px; overflow: hidden; background: rgb(11 34 28 / .59); }
.metric { min-width: 0; display: flex; gap: 9px; flex-direction: row-reverse; justify-content: flex-end; align-items: baseline; padding: 10px 14px; }
.metric + .metric { border-left: 1px solid #a9bbc9; }
.metric dt { color: #d2e2d8; font-size: 12px; font-weight: 650; }
.metric dd { margin: 0; color: var(--accent); font-size: clamp(25px, 2.5vw, 34px); font-weight: 740; letter-spacing: -.045em; line-height: 1; font-variant-numeric: tabular-nums; }

.panel { min-width: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; margin-bottom: 14px; }
.filter-panel { padding-bottom: 16px; }
.filter-panel .panel-heading { padding-bottom: 11px; }
.filter-panel h2 { font-size: 18px; }
.workbench { display: grid; grid-template-columns: minmax(330px, .92fr) minmax(0, 2.4fr); gap: 14px; align-items: start; }
.panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 17px 18px; }
.panel-heading h2 { display: flex; align-items: center; gap: 8px; }
.section-icon { width: 26px; height: 26px; padding: 4px; border-radius: 5px; color: #205b49; background: #e2efe6; }
.panel-heading p:not(.section-label) { margin: 7px 0 0; color: var(--muted); font-size: 14px; }
.map-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; font-size: 13px; margin-top: 5px; white-space: nowrap; }
.filters { display: grid; grid-template-columns: minmax(0, 1.45fr) repeat(2, minmax(0, 1fr)) minmax(108px, .65fr) auto; gap: 10px; align-items: end; margin-inline: 18px; }
.filters label { display: grid; gap: 6px; min-width: 0; font-size: 13px; font-weight: 700; }
.filters input, .filters select, .reset { min-width: 0; width: 100%; min-height: 41px; color: var(--ink); background: var(--tint); border: 1px solid #c6d5cd; border-radius: 6px; font: inherit; font-size: 14px; padding: 8px 11px; }
.filters input, .filters select { font-weight: 400; }
.filters input::placeholder { color: #597282; }
.reset { width: auto; background: white; font-weight: 650; cursor: pointer; }
.reset:hover { background: #e8f0e9; }
.results { min-height: 21px; margin: 0 18px 10px; font-size: 13px; font-weight: 700; color: var(--blue); }
.table-wrap { overflow: auto; max-height: 610px; border-block: 1px solid var(--line); margin: 0 0 12px; }
table { border-collapse: separate; border-spacing: 0; min-width: 1420px; width: 100%; font-size: 13px; }
thead th { text-align: left; padding: 11px; position: sticky; top: 0; background: #1b4037; color: white; z-index: 1; font-size: 12px; white-space: nowrap; }
thead th:first-child, tbody th { padding-left: 18px; }
tbody th, td { padding: 11px; vertical-align: top; text-align: left; border-bottom: 1px solid #e3ebe5; }
tbody th { min-width: 230px; max-width: 280px; font-weight: 700; }
td:nth-child(2) { min-width: 151px; }
td:nth-child(3) { min-width: 141px; }
td:nth-child(4) { min-width: 120px; font-variant-numeric: tabular-nums; }
td:nth-child(5), td:nth-child(8), td:nth-child(9) { min-width: 143px; }
td:nth-child(6), td:nth-child(7) { min-width: 167px; }
tbody tr:nth-child(even) { background: var(--tint); }
tbody tr:hover { background: #ebf3e9; }
.project-meta { display: block; margin-top: 5px; color: var(--muted); font-size: 11px; font-weight: 600; }
.role { display: inline-block; background: #e5f1e8; border: 1px solid #d1e4d5; border-radius: 4px; padding: 2px 6px; font-size: 12px; color: #254d3f; font-weight: 680; }
.empty { padding: 15px 24px 24px; margin: 0; color: var(--muted); }
.map-image { display: block; margin: 0 24px 24px; max-width: 1000px; border: 1px solid var(--line); border-radius: 7px; overflow: hidden; }
.map-image img { display: block; width: 100%; height: auto; }
.interactive-map { display: grid; gap: 12px; padding: 0 18px 17px; }
.map-frame { background-color: #e7eff6; background-image: linear-gradient(90deg, rgb(79 127 111 / .08) 1px, transparent 1px), linear-gradient(rgb(79 127 111 / .08) 1px, transparent 1px); background-size: 24px 24px; border: 1px solid var(--line); border-radius: 7px; overflow: hidden; position: relative; }
.map-frame svg { width: 100%; height: auto; display: block; }
.map-frame svg.is-zoomed { cursor: grab; touch-action: none; }
.map-frame svg.is-dragging { cursor: grabbing; }
.map-controls { display: flex; gap: 5px; padding: 7px 8px; background: #f6faf7; border-bottom: 1px solid var(--line); }
.map-controls button { min-height: 35px; min-width: 35px; font: inherit; font-size: 13px; font-weight: 700; color: var(--ink); background: #fff; border: 1px solid #b8cfd9; border-radius: 5px; cursor: pointer; padding: 4px 8px; }
.map-controls button:hover:not(:disabled) { background: #d7edf4; }
.map-controls button:disabled { opacity: .55; cursor: default; }
#map-outline { fill: #fafcf7; stroke: #577c9c; stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.marker-leader { stroke: #527496; stroke-width: 1; pointer-events: none; }
.map-marker { cursor: pointer; }
.map-marker circle { fill: #105491; stroke: #fff; stroke-width: 1.8; }
.map-marker text { fill: #fff; font-family: inherit; font-size: 11px; font-weight: 750; pointer-events: none; }
.map-marker:focus-visible circle, .map-marker[aria-pressed="true"] circle { stroke: #152a39; stroke-width: 2.8; fill: #087a9a; }
.map-key { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin: 12px 0 6px; font-size: 12px; color: var(--muted); }
.map-dot { width: 10px; height: 10px; border-radius: 50%; background: #105491; display: inline-block; }
.map-credit { margin: 0; color: var(--muted); font-size: 11px; }
.map-sidebar { min-width: 0; background: var(--tint); border: 1px solid var(--line); border-radius: 7px; padding: 12px; align-self: start; }
.map-sidebar label { display: grid; gap: 5px; margin-bottom: 17px; font-size: 13px; font-weight: 700; }
.map-sidebar select { min-width: 0; width: 100%; min-height: 43px; font: inherit; font-weight: 400; color: var(--ink); border: 1px solid #b8cfd9; border-radius: 6px; background: #fff; padding: 6px 8px; }
#map-results, .map-instruction, .map-place-count { font-size: 13px; color: var(--muted); }
#map-results { margin: 9px 0 12px; font-weight: 650; }
.map-place-count { margin: 5px 0 7px; }
.map-project-list { list-style: none; margin: 0; padding: 0; }
.map-project-list li { border-top: 1px solid var(--line); padding: 10px 0; font-size: 13px; }
.map-role-list { font-size: 12px; color: #204e64; margin: 4px 0 0; }
footer { padding: 0 0 35px; font-size: 13px; color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 1000px) {
  .wrap { width: calc(100% - 44px); }
  .workbench { grid-template-columns: minmax(0,1fr); gap: 0; }
  .interactive-map { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
  .intro { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 17px; gap: 12px; }
}
@media (max-width: 700px) {
  .top-nav { display: none; }
  .masthead-actions { margin-left: auto; }
  .intro { grid-template-columns: 1fr; }
  .filters { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .search-label { grid-column: 1 / -1; }
  .reset { justify-self: start; }
  .interactive-map { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 28px); }
  .masthead-inner { min-height: 54px; gap: 8px; }
  .brand { font-size: 14px; gap: 7px; }
  .download { font-size: 11px; gap: 5px; padding-inline: 7px; }
  .intro { margin-top: 12px; padding: 17px 14px; gap: 14px; }
  .hero-copy { padding: 0; }
  .metrics { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .metric { padding: 8px 10px; gap: 6px; }
  .metric dt { font-size: 11px; overflow-wrap: anywhere; }
  .metric:nth-child(3) { border-left: 0; }
  .metric:nth-child(n + 3) { border-top: 1px solid #a9bbc9; }
  .metric dd { font-size: 27px; }
  .panel-heading { flex-wrap: wrap; gap: 6px; padding: 14px; }
  .filters, .map-image { margin-inline: 14px; }
  .filters { gap: 9px; }
  .results { margin-inline: 14px; }
  .interactive-map { padding-inline: 14px; }
  thead th:first-child, tbody th { padding-left: 14px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* The page uses the original annotated drawing as its plan sheet. */
body { background-image: repeating-linear-gradient(0deg, transparent 0 27px, rgb(35 77 112 / .055) 27px 28px); }
.masthead { background: #fffdf7; border-top: 5px solid var(--blue); border-bottom: 1px solid var(--line); }
.management-logo { display: block; width: clamp(140px, 18vw, 215px); height: auto; }
.top-nav a { color: var(--blue); }
.top-nav a:hover { color: var(--dark); }
.masthead :focus-visible { outline-color: var(--focus); }
.download { border-radius: 0; }
.intro { grid-template-columns: minmax(0, .75fr) minmax(0, 1.65fr); gap: 20px; margin-top: 24px; padding: clamp(16px, 2.4vw, 34px); align-items: start; overflow: visible; border: 1px solid #bdc8cf; border-radius: 0; color: var(--ink); background: #fffdf7; box-shadow: 4px 4px 0 #d8dce0; }
.hero-copy { align-self: center; padding: 0; }
.eyebrow { color: var(--blue); font-family: Consolas, monospace; letter-spacing: .14em; }
h1 { color: var(--blue); font-size: clamp(31px, 4vw, 61px); letter-spacing: -.055em; }
.description, .date-line { color: var(--muted); }
.hse-pillars { display: grid; margin: 18px 0; gap: 3px; }
.hse-pillars li { border: 0; color: var(--dark); padding: 2px 0; }
.hse-pillars .icon { color: var(--blue); }
.plan-note { background: var(--accent); border-bottom: 1px solid #dbc575; padding: 12px 15px; width: fit-content; box-shadow: 2px 3px 0 rgb(59 47 12 / .12); }
.plan-note a { display: inline-block; margin-top: 6px; font-size: 13px; font-weight: 700; }
#as-of { background: none; padding: 0; color: var(--ink); }
.plan-sheet { min-width: 0; margin: 0; border: 1px solid #a4b7c8; background: #f6f5ef; }
.plan-sheet > a { display: block; }
.hero-graphic { display: block; width: 100%; height: auto; }
.plan-sheet figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; padding: 7px 10px; border-top: 1px solid #a4b7c8; color: var(--dark); font: 12px/1.4 Consolas, monospace; }
.metrics { border: 1px solid #a9bbc9; border-radius: 0; background: #edf3f8; }
.metric dt, .metric dd { color: var(--dark); }
.panel { border-radius: 0; border-top: 3px solid var(--blue); }
.panel-heading h2 { color: var(--blue); }
.site-footer { display: flex; align-items: center; gap: 18px; padding: 18px 0 32px; border-top: 1px solid #a9bbc9; }
.site-footer img { width: 76px; height: auto; flex: none; }
.table-wrap { container-type: inline-size; }
.project-row:nth-child(4n + 3) { background: var(--tint); }
.project-toggle {
  display: flex;
  align-items: baseline;
  gap: 7px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--blue);
  cursor: pointer;
  font: inherit;
  text-align: left;
}
.project-toggle::before { content: "▸"; }
.project-toggle[aria-expanded="true"]::before { content: "▾"; }
.project-toggle:hover, .project-disclosure summary:hover { text-decoration: underline; }
.project-detail-row > td { padding: 0; background: #edf3f8; }
.project-detail-row .project-details {
  position: sticky;
  left: 0;
  width: min(100cqw, 850px);
  padding: 16px clamp(14px, 2vw, 24px);
}
.project-disclosure summary { color: var(--blue); cursor: pointer; font-weight: 700; }
.project-disclosure summary .project-meta { margin: 3px 0 0 15px; }
.project-status {
  display: inline-block;
  margin-inline-start: 7px;
  padding: 1px 6px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 700;
}
.status-active { color: #155b37; background: #dcefe1; }
.status-inactive { color: #424a55; background: #e6e8eb; }
.status-placed { color: #104c88; background: #dceaf8; }
.status-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 14px;
  margin: 12px 18px 0;
  padding: 0;
  color: var(--muted);
  font-size: 12px;
  list-style: none;
}
.status-legend .project-status { margin-inline: 0 3px; }
.project-row:has(.status-inactive) .project-title,
.project-disclosure summary:has(.status-inactive) .project-title {
  color: #505a66;
  text-decoration: line-through;
}
.project-disclosure[open] .project-details { margin-top: 12px; }
.project-details { overflow-wrap: anywhere; }
.project-details h4 { color: var(--dark); font-size: 14px; margin: 12px 0 4px; }
.project-details h4:first-child { margin-top: 0; }
.project-details p, .project-details ul { margin: 0 0 7px; }
.project-details ul { padding-inline-start: 19px; }
.project-details .project-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  gap: 8px 16px;
  margin: 10px 0 0;
}
.project-facts dt { color: var(--muted); font-size: 12px; font-weight: 700; }
.project-facts dd { margin: 1px 0 0; font-size: 13px; }
.map-project-list .project-details li { border: 0; padding: 0; }
.project-contact { display: inline-block; margin-top: 14px; padding: 8px 12px; background: var(--accent); color: var(--dark); font-weight: 700; }
@media (max-width: 850px) {
  .intro { grid-template-columns: minmax(0, 1fr); }
  .hse-pillars { display: flex; gap: 6px 14px; }
}
@media (max-width: 560px) {
  .intro { gap: 16px; }
}
