/* Owner page (OWNER_INTELLIGENCE.md "Owner page"). It wears the project
   page's frame (project-page.css: hero, sections, cards, gauge) and adds the
   owner's own figures and charts here. Charts are plain HTML sized with
   custom properties, like the project page's gauge and contract lanes. */
.owner-page {
  --owner-mark: #126d67;
  --owner-mark-soft: #cfe5e1;
  --owner-pending: #b06f1c;
  --owner-track: #edf3f0;
}

/* Header: the owner pages' own gradient under the shared hero layout. */
.owner-page .project-page-hero::before {
  background: #eef7fb url("/assets/project_intelligence/owner-gradient-desktop-011055a6.webp") center top / 100% 100% no-repeat;
}
/* The owner page keeps the wide desktop frame it has always had (John,
   November 19, 2026): 1,356px of content, not the project page's 960px. */
.owner-page .project-page-hero-inner { width: min(1356px, 100%); }
.owner-page .project-page-body { width: min(1356px, calc(100% - 32px)); }
/* The name and its sentence read as one block beside the Right now card. */
.owner-page .project-page-hero-grid { align-items: start; margin-top: 22px; }
.owner-page-hero-lead { min-width: 0; }
.owner-page .project-page-hero h1 { margin: 0; }
.owner-page .project-page-sentence { max-width: 560px; margin-top: 18px; }

/* Headline figures. */
.owner-page-figures { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin: 0; }
.owner-page-figures > div { min-width: 0; padding: 16px 20px 18px; border: 1px solid var(--project-line); border-radius: 12px; background: #fff; }
.owner-page-figures dt { color: var(--project-copy); font-size: 13px; }
.owner-page-figures dd { display: grid; gap: 2px; margin: 4px 0 0; }
.owner-page-figures strong { font-family: Georgia, "Times New Roman", serif; font-size: 32px; font-weight: 400; line-height: 1.1; letter-spacing: -.01em; }
.owner-page-figures small { color: var(--project-muted); font-size: 12.5px; }

.owner-page-subhead { margin: 22px 0 8px !important; color: var(--project-copy); font-size: 12px !important; font-weight: 700 !important; letter-spacing: .08em; text-transform: uppercase; }
.project-page-section-header + .owner-page-subhead { margin-top: 10px !important; }
.owner-page-lede { max-width: 720px; margin-bottom: 10px !important; color: #2e4c4d; }

/* Work over time. */
.owner-page-chart { position: relative; margin-top: 14px; padding-left: 156px; }
.owner-page-chart-today { position: absolute; top: 0; bottom: 22px; left: calc(156px + (100% - 156px) * var(--today) / 100); border-left: 1px dashed var(--project-teal); pointer-events: none; }
.owner-page-chart-lane { position: relative; border-bottom: 1px solid #edf1ef; }
.owner-page-chart-lane h3 { position: absolute; top: 50%; left: -156px; width: 148px; transform: translateY(-50%); font-size: 13px; font-weight: 600; }
.owner-page-chart-lane h3 small { margin-left: 4px; color: var(--project-muted); font-size: 12px; font-weight: 400; }
.owner-page-chart-lane ol { position: relative; height: 40px; margin: 0; padding: 0; list-style: none; }
.owner-page-chart-lane.is-award ol { height: 66px; }
.owner-page-mark { position: absolute; top: 50%; left: var(--at); display: block; box-sizing: border-box; transform: translate(-50%, -50%); text-decoration: none !important; cursor: pointer; }
.owner-page-chart-lane.is-solicitation .owner-page-mark { width: 5px; height: 18px; border-radius: 3px; background: #7f9a95; }
.owner-page-chart-lane.is-solicitation .owner-page-mark.is-pending { height: 24px; background: var(--owner-pending); }
.owner-page-chart-lane.is-award .owner-page-mark { width: var(--size); height: var(--size); border: 1.5px solid var(--owner-mark); border-radius: 50%; background: rgba(18, 109, 103, .28); }
.owner-page-chart-lane.is-award .owner-page-mark.is-pending { border: 1.5px dashed var(--owner-pending); background: rgba(197, 138, 43, .14); }
.owner-page-chart-lane.is-checkpoint .owner-page-mark { width: 12px; height: 12px; border: 1.5px solid var(--owner-mark); border-radius: 2px; background: #fff; transform: translate(-50%, -50%) rotate(45deg); }
.owner-page-chart-lane.is-checkpoint .owner-page-mark.is-pending { border-style: dashed; border-color: var(--owner-pending); }
.owner-page-mark:hover, .owner-page-mark:focus-visible { z-index: 3; outline: 2px solid var(--project-ink) !important; outline-offset: 2px; }
.owner-page-mark::after { position: absolute; bottom: calc(100% + 9px); left: 50%; z-index: 4; display: none; width: max-content; max-width: 280px; padding: 7px 10px; transform: translateX(-50%); border-radius: 7px; background: #15383a; color: #fff; font-size: 12px; font-weight: 500; line-height: 1.4; white-space: normal; content: attr(data-tip); pointer-events: none; }
.owner-page-mark.is-right::after { left: auto; right: -8px; transform: none; }
.owner-page-chart-lane.is-checkpoint .owner-page-mark::after { transform: rotate(-45deg) translateX(-50%); transform-origin: bottom left; }
.owner-page-mark:hover::after, .owner-page-mark:focus-visible::after { display: block; }
.owner-page-chart-axis { position: relative; height: 22px; margin: 0; padding: 0; list-style: none; color: #5f716f; font-size: 12px; }
.owner-page-chart-axis li { position: absolute; top: 5px; left: var(--at); padding-left: 5px; border-left: 1px solid #d5e0dc; line-height: 1.3; }
.owner-page-chart-axis li.is-today { padding: 0 0 0 5px; border-left: 0; color: var(--project-teal); font-weight: 600; }
.owner-page-chart-axis li:nth-last-child(2) { display: var(--owner-last-year, list-item); }

.owner-page-chart-lane.is-quarter ol { height: 74px; }
.owner-page-chart-lane.is-quarter .owner-page-mark.is-bar { top: auto; bottom: 0; width: calc(var(--width) - 2px); min-width: 4px; height: calc(var(--height) * .7px); transform: none; border-radius: 3px 3px 0 0; background: var(--owner-mark); cursor: default; }
.owner-page-chart-lane.is-quarter .owner-page-mark.is-bar::after { left: 0; transform: none; }
.owner-page-chart-lane.is-quarter .owner-page-mark.is-bar.is-right::after { left: auto; right: 0; }
.owner-page-chart-lane.is-quarter .owner-page-mark.is-pending { top: 50%; width: 16px; height: 16px; border: 1.5px dashed var(--owner-pending); border-radius: 50%; background: rgba(197, 138, 43, .14); }

/* Solicitation rows. */
.owner-page-rows li p.owner-page-row-outcome { margin-top: 2px; color: var(--project-ink); font-weight: 600; }
.owner-page-rows { margin: 0; padding: 0; list-style: none; }
.owner-page-rows > li { display: grid; grid-template-columns: 190px minmax(0, 1fr) auto; gap: 6px 16px; align-items: center; padding: 12px 0; border-top: 1px solid #edf1ef; }
.owner-page-rows .project-page-pill { justify-self: start; white-space: nowrap; }
.owner-page-rows h3 { font-size: 15px; font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.owner-page-rows h3 a { color: var(--project-ink); }
.owner-page-rows li p { color: var(--project-copy); font-size: 13px; }
.owner-page-row-date { display: grid; justify-items: end; color: var(--project-ink) !important; font-size: 14px !important; font-weight: 600; white-space: nowrap; }
.owner-page-row-date small { color: var(--project-muted); font-size: 12px; font-weight: 400; }

/* Projects: the project page's portfolio cards in a grid. */
.owner-page-project-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 14px; margin: 6px 0 0; padding: 0; list-style: none; }
.owner-page .owner-page-project-grid a.project-page-owner-card { min-height: 0; background: #fbfcfb; box-shadow: none; }
.owner-page-project-sentence { color: var(--project-copy); font-size: 13.5px; line-height: 1.45; }

/* How the owner buys. */
.owner-page-panels { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 10px; }
.owner-page-panel { grid-column: span 2; min-width: 0; padding: 16px 18px; border: 1px solid #e4ebe8; border-radius: 10px; background: #fbfcfb; }
.owner-page-panel.is-wide { grid-column: 1 / -1; }
.owner-page-panel h3 { margin-bottom: 10px !important; color: var(--project-copy); font-size: 13px; font-weight: 600; }
.owner-page-panel-figure { font-family: Georgia, "Times New Roman", serif; font-size: 26px; line-height: 1.15; }
.owner-page-panel-note { margin-top: 4px !important; color: var(--project-muted); font-size: 12.5px; }
.owner-page-stack { display: flex; gap: 2px; height: 14px; overflow: hidden; border-radius: 4px; }
.owner-page-stack i, .owner-page-legend i { background: var(--owner-mark); }
.owner-page .is-tone-1 { background: #c58a2b; }
.owner-page .is-tone-2 { background: #4d6f99; }
.owner-page .is-tone-3 { background: #8a8fa0; }
.owner-page .is-tone-4 { background: #b9c7c3; }
.owner-page-legend { display: grid; gap: 0; margin: 12px 0 0; padding: 0; list-style: none; font-size: 13px; }
.owner-page .owner-page-legend a { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto 14px; gap: 8px; align-items: center; margin: 0 -8px; padding: 4px 8px; border-radius: 6px; color: var(--project-ink); font-weight: 400; text-decoration: none; }
.owner-page .owner-page-legend a:hover, .owner-page .owner-page-legend a:focus-visible { background: #eef5f3; color: var(--project-ink); }
.owner-page-legend img { width: 14px; height: 14px; opacity: .45; }
.owner-page-legend a:hover img, .owner-page-legend a:focus-visible img { opacity: 1; }
.owner-page-legend i { width: 10px; height: 10px; border-radius: 3px; }
.owner-page-legend b { font-weight: 600; }
.owner-page-compare { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 5px 10px; align-items: center; margin-top: 12px; }
.owner-page-compare small { font-size: 12px; }
.owner-page-compare span { display: block; height: 8px; border-radius: 4px; background: var(--owner-track); }
.owner-page-compare i { display: block; height: 100%; border-radius: 4px; background: var(--owner-mark); }
.owner-page-compare .is-reference i { background: #9fb3ae; }
.owner-page-months { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 6px; margin: 0; padding: 0; list-style: none; }
.owner-page-months li { display: grid; gap: 4px; justify-items: center; }
.owner-page-months li > span { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 3px; width: 100%; height: 84px; border-bottom: 1px solid #d5e0dc; }
.owner-page-months b { font-size: 12px; font-weight: 600; line-height: 1; }
.owner-page-months i { display: block; width: 100%; border-radius: 3px 3px 0 0; background: var(--owner-mark); }
.owner-page-months small { font-size: 12px; }

/* Who wins the work. */
.owner-page-award-charts { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 8px 40px; }
.owner-page-award-charts .owner-page-subhead { margin-top: 10px !important; }
.owner-page-winner-bars, .owner-page-year-bars { display: grid; gap: 9px; margin: 6px 0 0; padding: 0; list-style: none; }
.owner-page-year-bars li { display: grid; grid-template-columns: 44px minmax(0, 1fr) 122px; gap: 12px; align-items: center; font-size: 14px; }
.owner-page-year-bars strong { font-weight: 600; }
.owner-page-year-bars li > span:last-child { color: var(--project-copy); font-size: 13px; text-align: right; white-space: nowrap; }
.owner-page-year-bars .owner-page-bar i { background: #7fa8a2; }
.owner-page-winner-bars li { display: grid; grid-template-columns: minmax(0, 190px) minmax(0, 1fr) 122px; gap: 14px; align-items: center; font-size: 14px; }
.owner-page-winner-bars strong { font-weight: 600; overflow-wrap: anywhere; }
.owner-page-winner-bars li > span:last-child { color: var(--project-copy); font-size: 13px; text-align: right; white-space: nowrap; }
.owner-page-bar { display: block; height: 10px; border-radius: 5px; background: var(--owner-track); }
.owner-page-bar i { display: block; height: 100%; border-radius: 5px; background: var(--owner-mark); }
.owner-page-table { overflow-x: auto; }
.owner-page-table table { width: 100%; border-collapse: collapse; font-size: 14px; }
.owner-page-table th, .owner-page-table td { padding: 10px 14px 10px 0; border-top: 1px solid #edf1ef; text-align: left; vertical-align: top; }
.owner-page-table thead th { border-top: 0; color: #5f716f; font-size: 12px; font-weight: 600; white-space: nowrap; }
.owner-page-table tbody th { font-weight: 600; }
.owner-page-table tbody th a { color: var(--project-ink); }
.owner-page-table td:first-child { color: var(--project-copy); white-space: nowrap; }
.owner-page-table .is-number { text-align: right; white-space: nowrap; }
.owner-page-table td:last-child, .owner-page-table th:last-child { padding-right: 0; }
.owner-page-spread { white-space: nowrap; color: var(--project-copy); font-size: 13px; }
.owner-page-spread span { display: inline-block; width: 72px; height: 8px; margin-right: 8px; border-radius: 4px; background: var(--owner-track); vertical-align: middle; }
.owner-page-spread i { display: block; height: 100%; border-radius: 4px; background: #c58a2b; }
.owner-page-reveal { padding: 0; border: 0; background: none; color: var(--project-teal); font: inherit; font-size: 14px; font-weight: 600; text-decoration: underline; text-decoration-color: rgba(18, 109, 103, .35); text-underline-offset: 3px; cursor: pointer; }

.owner-page-newcomers { margin-top: 6px; }
.owner-page-newcomers ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.owner-page-newcomers li, .owner-page-key span { box-sizing: border-box; width: 16px; height: 16px; border: 1.5px solid var(--owner-mark); border-radius: 50%; background: var(--owner-mark); }
.owner-page-newcomers li.is-new, .owner-page-key span.is-new { border-color: var(--owner-pending); background: #fff4d8; }
.owner-page-key { display: flex; align-items: center; gap: 6px; margin-top: 8px !important; color: var(--project-muted); font-size: 12.5px; }
.owner-page-key span { width: 10px; height: 10px; }
.owner-page-key span + span, .owner-page-key span:not(:first-child) { margin-left: 10px; }
.owner-page-month-short { display: none; }

/* People, changes, sources. */
/* Business cards, three to a row on the wide frame. */
.owner-page-people-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(380px, 100%), 1fr)); gap: 12px; margin: 10px 0 0; padding: 0; list-style: none; }
.owner-page-changes small { display: block; margin-top: 2px; }
.owner-page-changes small a { font-weight: 500; }
.owner-page-source-names { max-width: 760px; color: var(--project-copy); font-size: 14px; }
.owner-page-sources details { margin-top: 12px; font-size: 14px; }
.owner-page-sources summary { color: var(--project-teal); font-weight: 600; cursor: pointer; }
.owner-page-facts { display: grid; gap: 14px; margin: 14px 0 0; padding: 0; list-style: none; }
.owner-page-facts li { display: grid; gap: 3px; padding-top: 12px; border-top: 1px solid #edf1ef; }
.owner-page-facts strong { font-weight: 600; }
.owner-page-facts blockquote { margin: 2px 0; padding-left: 12px; border-left: 2px solid #d5e0dc; color: var(--project-copy); font-size: 13.5px; }
.owner-page-facts span { color: var(--project-muted); font-size: 12.5px; }
.owner-page-related { margin-top: 14px !important; color: var(--project-copy); font-size: 13px; }
.owner-page .discovery-related { margin: 0; }

@media (max-width: 900px) {
  .owner-page-award-charts { grid-template-columns: minmax(0, 1fr); }
  .owner-page-winner-bars li { grid-template-columns: minmax(0, 1fr) 122px; }
  .owner-page-winner-bars .owner-page-bar { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 680px) {
  .owner-page .project-page-hero::before { background-image: url("/assets/project_intelligence/owner-gradient-mobile-2134605e.webp"); }
  .owner-page-figures { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .owner-page-figures strong { font-size: 26px; }
  .owner-page-chart { padding-left: 0; }
  .owner-page-chart-today { left: calc(100% * var(--today) / 100); }
  .owner-page-chart-lane h3 { position: static; width: auto; padding-top: 8px; transform: none; }
  .owner-page-rows > li { grid-template-columns: minmax(0, 1fr) auto; }
  .owner-page-rows .project-page-pill { grid-column: 1 / -1; }
  .owner-page-project-grid, .owner-page-panels { grid-template-columns: minmax(0, 1fr); }
  .owner-page-panel { grid-column: auto; }
  .owner-page-month-short { display: inline; }
  .owner-page-month-long { display: none; }
  .owner-page-months { gap: 3px; }
  .owner-page-table thead { display: none; }
  .owner-page-table tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 10px 0; border-top: 1px solid #edf1ef; }
  .owner-page-table th, .owner-page-table td { padding: 0; border: 0; }
  .owner-page-table tbody th { grid-column: 1 / -1; grid-row: 1; }
  .owner-page-table .is-number { text-align: left; }
  .owner-page-table td:empty { display: none; }
}

/* The free page (OwnersController): what is held back is one blurred shape
   with one way in, as on the free project page. */
.owner-page-veil-caption { margin: 14px 0 0; color: var(--project-copy); font-size: 13.5px; }
.owner-page-veil-caption + .owner-page-veil { margin-top: 8px; }
.owner-page-veil-benefit { margin: 8px 0 0; color: var(--project-copy); font-size: 13px; line-height: 1.5; }
.owner-page-source-list { display: grid; gap: 6px; margin: 4px 0 0; padding: 0; list-style: none; font-size: 14px; }
.owner-page .owner-page-closing { display: block; margin: 28px 0 0; padding: 0; background: none; }
.owner-page .owner-page-closing .owner-research-closing { margin: 0; }
.owner-page-people-list > li[hidden] { display: none; }
/* The latest notice that names the person: one line, so every card keeps a card's shape. */
.owner-page-people-list > li, .owner-page-people-list .person-body, .owner-page-people-list .person-meta { min-width: 0; }
.owner-page-people-list .person-meta a.owner-page-people-notice { display: block; overflow: hidden; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.owner-page-people-list > li.is-earlier .person-avatar { box-sizing: border-box; border: 1.5px solid #b9cbc6; background: #fff; color: var(--project-copy); }
.owner-page-source-list li[hidden] { display: none; }
.owner-page-veil.is-none + .owner-page-veil-benefit { display: none; }
.owner-page .owner-page-veil .owner-research-unlock { max-width: 100%; white-space: normal; }
@media (max-width: 680px) {
  .owner-page-table td[data-label]::before { content: attr(data-label) " "; color: #5f716f; font-size: 12px; }
  .owner-page-table tr { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .owner-page-table td { min-width: 0; white-space: normal !important; overflow-wrap: anywhere; }
  .owner-page-table td.owner-page-spread, .owner-page-table td:last-child { grid-column: 1 / -1; }
}
@media (hover: none) { .owner-page-timeline > .project-page-note { display: none; } }
/* A contractor's name the free page holds back: the shape of a name, blurred. */
.owner-page-held-name i { display: block; width: var(--held, 120px); max-width: 100%; height: 10px; border-radius: 999px; background: #c9d8d4; filter: blur(3px); }
