/* Opportunities, Hiring, Who said it first, Clients: the pine band of the other topic pages,
   each with one chart in it; quiet panels below. Dots are competitors (blue); chartreuse is twentyfifty.
   Colours checked with the dataviz validator on #0b3832 (5 October 2026): blue #4a8fc6 against
   chartreuse passes CVD (protan dE 26.7) and normal vision (28.1); chartreuse sits above the dark
   lightness band by design (it is the one highlighted firm, and carries a ring as a second cue).
   Hiring ramp: one hue (OKLCH h 142), L 0.52-0.92, light end 2.44:1 against the pine. */
:root { --rival: #4a8fc6; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sg-band { background: radial-gradient(110% 120% at 10% -20%, #14524a 0%, var(--pine) 50%, #072823 100%); color: #e6efe9; }
.sg-band .in { max-width: 1240px; margin: 0 auto; padding: 30px 20px 30px; }
.sg-band h1 { color: #fff; font-size: clamp(2.2rem, 4.4vw, 3.2rem); margin: 0 0 10px; letter-spacing: -0.02em; }
.sg-band a { color: #e6efe9; }
.sg-band a:hover { color: var(--chartreuse); }
.sg-lede { font-family: var(--serif); font-size: 1.18rem; line-height: 1.55; color: #dce9e1; max-width: 46em; margin: 0 0 24px; }
.sg-empty { color: #b9cfc4; font-family: var(--serif); font-size: 1.05rem; }
.sg-key { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 14px 0 0; font-size: 0.8rem; color: #a9c2b7; }
.sg-key span { display: inline-flex; align-items: center; gap: 7px; }
.sg-key i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; }
.sg-key .k-c { background: var(--rival); }
.sg-key .k-us { background: var(--chartreuse); box-shadow: 0 0 0 2px rgba(183, 201, 88, .35); }
.sg-key .k-ramp { width: 46px; height: 10px; border-radius: 3px; background: linear-gradient(90deg, #457740, #7aa675, #b2d6ad, #cfefcb); }

.sg-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 0 22px; align-items: start; }
.sg-rows li { display: grid; grid-template-columns: 8.6em minmax(0, 1fr); gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.sg-rows li:last-child { border-bottom: 0; }
.sg-rows li > span:only-child { grid-column: 1 / -1; }
.sg-rows .small { display: block; margin-top: 2px; }
.sg-date { color: var(--muted); font-size: 0.84rem; padding-top: 1px; }
.op-all summary { cursor: pointer; color: var(--accent); margin-top: 8px; }
.sg-how { max-width: 60em; margin: 4px 0 30px; }
.sg-tip { position: absolute; z-index: 20; max-width: 320px; background: #fff; color: var(--ink); border-radius: 8px; padding: 7px 10px; font-size: 0.82rem; line-height: 1.4; box-shadow: 0 12px 34px rgba(2, 20, 17, .35); pointer-events: none; opacity: 0; transition: opacity .12s; }
.sg-tip.on { opacity: 1; }

/* ------------------------------------------------------------ opportunities: the crowd */
.op-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(162, 205, 156, .22); }
.op-item { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 340px); gap: 8px 28px; align-items: center; padding: 14px 0; border-bottom: 1px solid rgba(162, 205, 156, .22); }
.op-kind { display: inline-block; font-size: 0.72rem; font-weight: 600; padding: 1px 8px; border-radius: 999px; margin-right: 8px; vertical-align: 2px; }
.op-kind.tender { background: rgba(162, 205, 156, .18); color: var(--sage); }
.op-kind.regulation { background: rgba(140, 180, 220, .18); color: #a8c8e4; }
.op-title { font-family: var(--serif); font-size: 1.08rem; font-weight: 600; text-decoration: none; }
.op-meta { margin: 4px 0 0; font-size: 0.84rem; color: #a9c2b7; }
.op-crowd { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.op-dots { display: inline-flex; flex-wrap: wrap; gap: 3px; max-width: 220px; }
.op-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--rival); }
.op-dots i.us { background: var(--chartreuse); opacity: 1; box-shadow: 0 0 0 2px rgba(183, 201, 88, .35); }
.op-more { font-size: 0.78rem; color: var(--sage); }
.op-read { flex-basis: 100%; font-size: 0.82rem; color: #c9dbd1; }
@media (max-width: 700px) { .op-item { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ hiring: the heatmap */
.hr-wrap { overflow-x: auto; margin: 0 -4px; padding: 0 4px; }
.hr-grid { border-collapse: separate; border-spacing: 2px; min-width: 640px; width: 100%; font-size: 0.86rem; }
.hr-grid thead th { font-weight: 600; color: #c9dbd1; font-size: 0.78rem; text-align: center; padding: 0 4px 6px; vertical-align: bottom; }
.hr-grid thead th small { display: block; font-weight: 400; color: #8fb0a3; }
.hr-grid thead th:first-child { text-align: left; }
.hr-grid tbody th { text-align: left; font-weight: 600; white-space: nowrap; padding: 0 12px 0 0; }
.hr-grid tbody th a { text-decoration: none; }
.hr-grid td { text-align: center; height: 32px; min-width: 56px; border-radius: 4px; font-weight: 600; background: rgba(162, 205, 156, .06); color: #fff; }
.hr-grid td.s1 { background: #457740; }
.hr-grid td.s2 { background: #608e5a; }
.hr-grid td.s3 { background: #7aa675; color: var(--pine); }
.hr-grid td.s4 { background: #96be91; color: var(--pine); }
.hr-grid td.s5 { background: #b2d6ad; color: var(--pine); }
.hr-grid td.s6 { background: #cfefcb; color: var(--pine); font-weight: 600; }
.hr-grid td.all { background: none; color: #dce9e1; font-weight: 600; text-align: right; padding-left: 10px; }
.hr-moves, .hr-roles, .cl-alone, .sg-rows, .tm-dim ul { list-style: none; padding-left: 0; }
.hr-moves > li { border-bottom: 1px solid var(--line); padding: 10px 0; }
.hr-moves > li:last-child { border-bottom: 0; }
.hr-moves summary { cursor: pointer; }
.hr-note { display: inline-block; margin-left: 8px; font-size: 0.78rem; background: var(--accent-soft); color: var(--pine-deep); padding: 1px 8px; border-radius: 999px; }
.hr-roles { margin: 8px 0 4px 18px; columns: 2 320px; column-gap: 28px; }
.hr-roles li { break-inside: avoid; padding: 2px 0; font-size: 0.9rem; }

/* ------------------------------------------------------------ who said it first */
.tm { display: grid; gap: 0; }
.tm-head, .tm-row { display: grid; grid-template-columns: 200px repeat(var(--cols, 1), minmax(0, 1fr)) 48px; gap: 0 14px; align-items: center; }
.tm-head { font-size: 0.74rem; color: #8fb0a3; padding-bottom: 6px; border-bottom: 1px solid rgba(162, 205, 156, .25); }
.tm-head span:last-child { text-align: right; }
.tm-row { padding: 7px 0; border-bottom: 1px solid rgba(162, 205, 156, .12); }
.tm-term { font-family: var(--serif); font-weight: 600; font-size: 1rem; color: #fff; }
.tm-term em { display: block; font-family: var(--sans); font-style: normal; font-weight: 400; font-size: 0.74rem; color: #e0b56a; }
.tm-cell { display: flex; flex-wrap: wrap; gap: 3px; min-height: 12px; }
.tm-cell.base .tm-dot { opacity: .7; }
.tm-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--rival); }
.tm-dot:hover, .tm-dot:focus-visible { opacity: 1 !important; background: #fff; outline: none; }
.tm-dot.us, .tm-cell.base .tm-dot.us { background: var(--chartreuse); opacity: 1; box-shadow: 0 0 0 2px rgba(183, 201, 88, .35); }
.tm-n { text-align: right; color: #dce9e1; font-weight: 600; }
@media (max-width: 700px) { .tm-head, .tm-row { grid-template-columns: 110px repeat(var(--cols, 1), minmax(0, 1fr)) 30px; } }
.tm-mirror { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 6px 26px; }
.tm-dim h3 { font-size: 1rem; margin: 1rem 0 0.3rem; }
.tm-dim li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px; align-items: baseline; padding: 3px 0; border-bottom: 1px dotted var(--line); }
.tm-dim li .small { color: var(--muted); }
.tm-dim li em { font-style: normal; font-size: 0.72rem; color: var(--amber); background: var(--amber-soft); padding: 0 6px; border-radius: 999px; }
.tm-dim li.ours span:first-child { color: var(--ink-soft); }

/* ------------------------------------------------------------ clients: the grid */
.cl-wrap { overflow-x: auto; margin: 0 -4px; padding: 0 4px; }
.cl-grid { border-collapse: separate; border-spacing: 0; font-size: 0.86rem; }
.cl-grid th.rot { height: 150px; vertical-align: bottom; padding: 0; width: 26px; min-width: 26px; }
.cl-grid th.rot span { display: block; writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; font-weight: 600; font-size: 0.76rem; color: #c9dbd1; padding: 6px 0; margin: 0 auto; }
.cl-grid th.rot.us span { color: var(--chartreuse); }
.cl-grid thead th:first-child { }
.cl-grid tbody th { text-align: left; font-weight: 600; white-space: nowrap; padding: 3px 14px 3px 0; }
.cl-grid tbody th a { text-decoration: none; }
.cl-grid td { width: 26px; height: 24px; text-align: center; border-bottom: 1px solid rgba(162, 205, 156, .1); }
.cl-grid td.us { background: rgba(183, 201, 88, .08); }
.cl-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--rival); vertical-align: middle; }
.cl-dot.us { background: var(--chartreuse); }
.cl-dot:hover, .cl-dot:focus-visible { background: #fff; outline: none; transform: scale(1.3); }
.cl-grid tbody tr:hover th a { color: var(--chartreuse); }
.cl-find { display: flex; gap: 8px; margin: 6px 0 10px; }
.cl-find input { flex: 1; font: inherit; padding: 7px 10px; border: 1px solid var(--line); border-radius: 8px; }
.cl-find button { font: inherit; padding: 7px 14px; border: 0; border-radius: 8px; background: var(--pine-deep); color: #fff; cursor: pointer; }
.cl-alone > li { padding: 7px 0; border-bottom: 1px solid var(--line); }
.cl-alone > li:last-child { border-bottom: 0; }
.cl-two { columns: 2 300px; column-gap: 28px; }
.cl-two li { break-inside: avoid; padding: 3px 0; }
