.horizon-tool { --panel:#fbfaf7;--white:#fff;--ink:#16181a;--muted:#51575b;--rule:#d9d5cc;--control-border:#85837a;--h1:#2e8e9b;--h2:#697ac0;--h3:#ae5d9e;--horizon-gradient:linear-gradient(95deg,#248994,#6d75b9 53%,#a65d99) }
.horizon-tool button, .horizon-tool input, .horizon-tool select { font:inherit;color:inherit }
.horizon-tool button { cursor:pointer }
.horizon-tool :focus-visible { outline:2px solid var(--h1);outline-offset:3px }
.horizon-tool h1, .horizon-tool h2, .horizon-tool h3, .horizon-tool p { margin:0 }
.horizon-tool h1, .horizon-tool h2 { font-variation-settings:"opsz" 144,"SOFT" 30 }
.horizon-tool h3 { font-variation-settings:"opsz" 48;letter-spacing:-.015em }
.horizon-tool .horizon-main { width:min(1360px,calc(100% - 32px));margin-inline:auto;padding-bottom:58px }
.horizon-tool .horizon-hero { text-align:center;padding:64px 4px 38px;border:0 }
.horizon-tool .eyebrow { font:600 12px/1 var(--sans);letter-spacing:.16em;text-transform:uppercase;color:var(--grey);margin-bottom:18px }
.horizon-tool .horizon-hero h1 { font-size:clamp(40px,5.4vw,68px);line-height:1.04;max-width:13em;margin:0 auto 24px }
.horizon-tool .horizon-hero em { font-style:italic;background:var(--horizon-gradient);background-clip:text;color:transparent;padding-right:.04em }
@media (forced-colors:active) {
  .horizon-tool .horizon-hero em { background:none;color:CanvasText }
}
.horizon-tool .horizon-lead { font-size:clamp(18px,1.5vw,20px);line-height:1.6;color:var(--ink2);max-width:36em;margin:0 auto;text-wrap:balance }
.horizon-tool .workspace { padding:22px 0 0;border-top:1px solid var(--rule) }
.horizon-tool .session { display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:14px }
.horizon-tool .session strong { font-weight:650 }
.horizon-tool .session .period { color:var(--muted);font-size:13px }
.horizon-tool .grid { display:grid;grid-template-columns:minmax(0,1.22fr) minmax(0,1fr);gap:18px;align-items:start }
.horizon-tool .panel { background:var(--panel);border:1px solid var(--rule);border-radius:10px;overflow:hidden }
.horizon-tool .panel-top { padding:21px 22px 16px }
.horizon-tool .panel-heading { display:flex;justify-content:space-between;align-items:start;gap:10px }
.horizon-tool h2 { font-size:clamp(28px,3.2vw,40px);line-height:1.1 }
.horizon-tool .panel p.sub { font-size:13px;color:var(--muted);margin-top:5px }
.horizon-tool .button { padding:9px 13px;font-size:13px;font-weight:650;border:1px solid var(--ink);border-radius:5px;background:var(--ink);color:white;white-space:nowrap;display:inline-flex;align-items:center;justify-content:center;gap:5px }
.horizon-tool .button:hover { background:#343637 }
.horizon-tool .button.secondary { color:var(--ink);background:transparent;border-color:var(--control-border) }
.horizon-tool .button.secondary:hover { background:#efede6 }
.horizon-tool .button:disabled { opacity:.55;cursor:default }
.horizon-tool .filters { display:flex;gap:5px;flex-wrap:wrap;margin-top:15px }
.horizon-tool .chip { border:1px solid var(--control-border);background:transparent;border-radius:99px;padding:4px 10px;font-size:12px;font-weight:650 }
.horizon-tool .chip[aria-pressed=true] { color:white;background:var(--ink);border-color:var(--ink) }
.horizon-tool table { border:0;border-collapse:collapse;width:100%;font-size:13px;table-layout:fixed }
.horizon-tool caption { position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden;white-space:nowrap }
.horizon-tool th, .horizon-tool td { border-bottom:0;overflow-wrap:anywhere;line-height:1.4 }
.horizon-tool th { text-align:left;font-weight:600;color:var(--muted);font-size:11px;text-transform:uppercase;letter-spacing:.07em;background:#f1efe8;padding:8px 0 }
.horizon-tool td { border-top:1px solid #e9e5dc;padding:9px 0;font-size:13px }
.horizon-tool td:first-child { white-space:normal;font-family:inherit;font-size:13px;padding-right:0 }
.horizon-tool th:first-child, .horizon-tool td:first-child { padding-left:22px }
.horizon-tool th:last-child, .horizon-tool td:last-child { padding-right:22px;text-align:right;font-variant-numeric:tabular-nums }
.horizon-tool th:nth-child(2) { width:22% }
.horizon-tool th:last-child { width:28% }
.horizon-tool td:nth-child(2), .horizon-tool th:nth-child(2) { padding-inline:8px }
.horizon-tool .item { background:transparent;border:0;padding:0;text-align:left;line-height:1.28;font-weight:650 }
.horizon-tool .item:hover { text-decoration:underline }
.horizon-tool .flag { display:block;font-size:11px;color:#854274;font-weight:600;margin-top:2px }
.horizon-tool .tag { display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:620;white-space:nowrap }
.horizon-tool .dot { display:inline-block;width:8px;height:8px;flex:0 0 8px;border-radius:50%;background:var(--colour) }
.horizon-tool [data-h="1"] { --colour:var(--h1) }
.horizon-tool [data-h="2"] { --colour:var(--h2) }
.horizon-tool [data-h="3"] { --colour:var(--h3) }
.horizon-tool .empty { padding:20px 22px;color:var(--muted) }
.horizon-tool [hidden] { display:none!important }
.horizon-tool .launch { max-width:1180px;padding:25px;margin-inline:auto }
.horizon-tool .launch p { color:var(--muted);margin-top:6px }
.horizon-tool .launch-actions, .horizon-tool .session-actions { display:flex;flex-wrap:wrap;align-items:center;gap:8px }
.horizon-tool .launch-actions { margin-top:16px }
.horizon-tool .session-title { display:grid;gap:1px }
.horizon-tool .session-actions .button { min-height:38px }
.horizon-tool .currency-setting { display:flex;align-items:center;gap:7px;font-size:13px;font-weight:650 }
.horizon-tool .currency-setting select { max-width:100%;min-height:38px;padding:5px 7px;border:1px solid var(--control-border);background:var(--panel);border-radius:5px }
.horizon-tool #initiative-status:empty, .horizon-tool #support-funding-summary:empty { display:none }
.horizon-tool #empty-workspace { padding:20px 22px;margin-bottom:28px }
.horizon-tool #empty-workspace p { color:var(--muted);margin-top:8px }
.horizon-tool #empty-workspace ul { margin:12px 0 0;padding-left:20px }
.horizon-tool #remove-initiative { color:#8b3659;border-color:#ccaaba;margin-right:auto }
@media (max-width:460px) {
  .horizon-tool .launch, .horizon-tool #empty-workspace { padding:16px }
  .horizon-tool .launch-actions button { min-height:42px }
  .horizon-tool .session-actions { margin-top:3px }
}
.horizon-tool .summary-head { display:flex;justify-content:space-between;align-items:baseline;gap:12px;flex-wrap:wrap }
.horizon-tool .meter { display:flex;min-width:0;height:20px;overflow:hidden;border-radius:5px;background:#e7e3db }
.horizon-tool .meter div { background:var(--colour) }
.horizon-tool .meter div+div { box-shadow:inset 2px 0 var(--panel) }
.horizon-tool .status { font-size:13px;color:var(--muted);margin-top:7px }
.horizon-tool dialog { border:1px solid var(--rule);background:var(--panel);border-radius:10px;color:var(--ink);width:min(460px,calc(100% - 30px));max-height:calc(100% - 30px);margin:auto;padding:22px }
.horizon-tool dialog::backdrop { background:#1d1c1a60 }
.horizon-tool dialog form { display:grid;gap:12px }
.horizon-tool dialog label { font-size:13px;font-weight:650;display:grid;gap:4px }
.horizon-tool dialog input:not([type=checkbox]), .horizon-tool dialog select { min-width:0;width:100%;padding:8px;border:1px solid var(--control-border);background:white;border-radius:4px }
.horizon-tool dialog label.check { display:flex;align-items:center;justify-content:flex-start;gap:8px;min-height:28px;cursor:pointer }
.horizon-tool dialog label.check input { inline-size:1rem;block-size:1rem;flex:none;padding:0;margin:0;accent-color:var(--ink) }
.horizon-tool .actions { display:flex;flex-wrap:wrap;justify-content:end;gap:8px }
.horizon-tool .form-error { color:#8b3659;margin:0 }
.horizon-tool [aria-invalid=true] { outline:2px solid #8b3659;outline-offset:1px }
.horizon-tool #storage-note { font-size:13px;color:var(--muted);margin:16px auto 0;max-width:1180px }
@media (max-width:820px) {
  .horizon-tool .grid { grid-template-columns:1fr }

}
@media (max-width:460px) {
  .horizon-tool .panel-top { padding-inline:14px }
  .horizon-tool th:first-child, .horizon-tool td:first-child { padding-left:14px }
  .horizon-tool th:last-child, .horizon-tool td:last-child { padding-right:14px }
  .horizon-tool th:nth-child(2) { width:23%;padding-inline:4px;white-space:nowrap;letter-spacing:.025em }
  .horizon-tool th:last-child { width:32% }
  .horizon-tool .long { display:none }
  .horizon-tool .panel-heading { align-items:center }
  .horizon-tool .button { padding:8px 9px }
}
.horizon-tool .horizon-map, .horizon-tool .portfolio-grid > .panel { padding:0 }
.horizon-tool .horizon-map, .horizon-tool .funding { width:100%;margin:0 0 20px }
.horizon-tool .initiative-rows { max-height:390px;overflow-y:auto }
.horizon-tool .initiative-rows thead th { position:sticky;top:0;z-index:1 }
.horizon-tool .initiative-rows tr { scroll-margin-top:34px }
.horizon-tool .horizon-map .panel-top { display:flex;justify-content:space-between;align-items:baseline;gap:10px;flex-wrap:wrap;padding-bottom:12px }
.horizon-tool .horizon-map .panel-top p { font-size:13px;color:var(--muted) }
.horizon-tool .horizon-lanes { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-block:1px solid var(--rule) }
.horizon-tool .lane { position:relative;isolation:isolate;overflow:hidden;min-width:0;padding:19px 20px 18px;--lift:65% }
.horizon-tool .lane+.lane { border-left:1px solid var(--rule) }
.horizon-tool .lane[data-h="2"] { --lift:53% }
.horizon-tool .lane[data-h="3"] { --lift:41% }
.horizon-tool .lane::before { content:"";position:absolute;z-index:-1;inset:var(--lift) -18% -100% -18%;border-radius:50% 50% 0 0;background:color-mix(in srgb,var(--colour) 9%,transparent);border-top:1px solid color-mix(in srgb,var(--colour) 27%,transparent) }
.horizon-tool .lane h3 { display:flex;align-items:center;gap:8px;font-size:19px;line-height:1.2 }
.horizon-tool .lane h3 small { font:700 11px/1 var(--sans);border-radius:4px;padding:5px 6px;background:color-mix(in srgb,var(--colour) 13%,white);letter-spacing:0 }
.horizon-tool .lane.is-filtered::before { opacity:.55 }
.horizon-tool .bubbles { display:flex;align-items:center;align-content:center;flex-wrap:wrap;gap:8px;min-height:244px;margin-top:8px }
.horizon-tool .bubbles p { color:var(--muted);font-size:13px }
.horizon-tool .bubble { display:grid;place-items:center;min-width:44px;min-height:44px;padding:3px;border:0;border-radius:50%;background:transparent }
.horizon-tool .bubble-mark { display:block;width:var(--size);height:var(--size);border-radius:50%;background:var(--colour) }
.horizon-tool .bubble[data-zero] .bubble-mark { background:transparent;border:1px solid var(--colour) }
.horizon-tool .bubble.is-highlighted .bubble-mark { opacity:1;outline:2px solid var(--ink);outline-offset:3px }
.horizon-tool .horizon-readout { padding:9px 22px;min-height:40px;color:var(--muted);font-size:13px }
.horizon-tool tr.is-highlighted td { background:color-mix(in srgb,var(--colour) 15%,var(--panel)) }
.horizon-tool tr.is-highlighted td:first-child { box-shadow:inset 3px 0 var(--colour) }
@media (max-width:740px) {
  .horizon-tool .horizon-lanes { grid-template-columns:1fr }
  .horizon-tool .lane+.lane { border-left:0;border-top:1px solid var(--rule) }
  .horizon-tool .lane { padding:12px 14px 8px }
  .horizon-tool .bubbles { min-height:120px;gap:6px }
  .horizon-tool .lane::before { inset-block-start:48% }
  .horizon-tool .horizon-readout { padding-inline:14px }
}
.horizon-tool .map-heading { display:grid;gap:5px }
.horizon-tool .horizon-map .panel-top { align-items:center }
.horizon-tool .map-footer { display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 14px;padding:8px 22px }
.horizon-tool .map-footer .horizon-readout { padding:0;min-height:auto;flex:1 1 220px }
.horizon-tool .map-footer .status { width:100%;margin:0;min-height:auto }
.horizon-tool .map-footer .status:empty { display:none }
.horizon-tool .map-actions { display:flex;flex-wrap:wrap;align-items:center;gap:9px }
.horizon-tool .map-actions[hidden] { display:none }
.horizon-tool .map-actions a { font-size:13px }
.horizon-tool .bubble[data-review] .bubble-mark { outline:2px dashed #77355f;outline-offset:2px }
.horizon-tool .bubble[data-review].is-highlighted .bubble-mark { outline:2px dashed #77355f;outline-offset:3px }
.horizon-tool .bubble[data-review].is-highlighted { outline:1px solid var(--ink);outline-offset:4px }
.horizon-tool .bubble.is-highlighted .bubble-mark { outline:2px solid var(--ink);outline-offset:3px }
.horizon-tool .delta { display:inline-block;font-size:12px;font-weight:700;padding:3px 7px;margin:7px 0 0;border-radius:4px;background:#f1eee7;color:#4d4b47 }
.horizon-tool .delta[data-direction="in"] { color:#1e615f;background:#e3f0eb }
.horizon-tool .delta[data-direction="out"] { color:#873e68;background:#f6eaf1 }
.horizon-tool .lane-meta { margin-top:6px;color:var(--muted);font-size:13px }
.horizon-tool .review-reason { display:block }
.horizon-tool td .review-reason { color:var(--muted);font-size:11px }
@media (max-width:740px) {
  .horizon-tool .map-footer { padding-inline:14px }
}
.horizon-tool .funding { padding:22px }
.horizon-tool .profile { display:grid;gap:4px;font-size:13px;font-weight:650;max-width:100% }
.horizon-tool .profile select { padding:8px 30px 8px 9px;border:1px solid var(--control-border);background:white;border-radius:4px;max-width:100% }
.horizon-tool .reference-note { color:var(--muted);font-size:12px;margin:9px 0 16px }
.horizon-tool .funding-bars { display:grid;gap:9px;margin:0 0 19px }
.horizon-tool .funding-bar { display:grid;grid-template-columns:105px minmax(0,1fr);gap:10px;align-items:center;font-size:13px;font-weight:650 }
.horizon-tool .funding-bar:first-child .meter { height:12px }
.horizon-tool .funding-bar:first-child .meter div { opacity:.7 }
.horizon-tool .comparison { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px }
.horizon-tool .horizon-funding { background:var(--white);border:1px solid var(--rule);border-top:3px solid var(--colour);border-radius:6px;padding:12px;min-width:0 }
.horizon-tool .horizon-funding h3 { font-size:19px;line-height:1.2 }
.horizon-tool .horizon-funding dl { margin:10px 0 0 }
.horizon-tool .horizon-funding dl div { display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;font-size:13px;padding:5px 0 }
.horizon-tool .horizon-funding dt { color:var(--muted) }
.horizon-tool .horizon-funding dd { margin:0;text-align:right;font-weight:650;font-variant-numeric:tabular-nums;overflow-wrap:anywhere }
.horizon-tool .horizon-funding .change { border-top:1px solid var(--rule);margin-top:3px }
.horizon-tool .horizon-funding .gap { font-size:12px;color:var(--muted);margin-top:6px }
.horizon-tool .funding-actions, .horizon-tool .scenario-switch { display:flex;align-items:center;flex-wrap:wrap;gap:8px }
.horizon-tool .funding-actions { border-top:1px solid var(--rule);margin-top:16px;padding-top:14px }
.horizon-tool .scenario-switch .chip { min-height:34px }
.horizon-tool .review-panel .sub { margin-bottom:13px }
.horizon-tool .discussion-list { margin:0;padding:0;list-style:none }
.horizon-tool .discussion-list li { padding:11px 0;border-top:1px solid var(--rule) }
.horizon-tool .discussion-list p { color:var(--muted);font-size:13px;margin-top:3px;overflow-wrap:anywhere }
.horizon-tool .discussion-list .button { margin-top:8px }
.horizon-tool #status:empty, .horizon-tool #funding-status:empty { display:none }
.horizon-tool .funding-bar p, .horizon-tool .horizon-funding h3, .horizon-tool .item { overflow-wrap:anywhere }
@media (max-width:740px) {
  .horizon-tool .funding { padding:15px }
  .horizon-tool .funding-bar { grid-template-columns:84px minmax(0,1fr) }
  .horizon-tool .comparison { grid-template-columns:1fr;gap:8px }
  .horizon-tool .profile { width:100% }
  .horizon-tool .funding-actions .button { white-space:normal;min-height:40px }
}
@media (max-width:640px) {
  .horizon-tool .horizon-hero { padding-top:44px }
  .horizon-tool .profile select { width:100% }
}

.horizon-tool .budget-share-heading,
.horizon-tool .budget-share { display:block;color:var(--muted);font-size:11px }
.horizon-tool .budget-share-heading { font-weight:600;letter-spacing:normal;text-transform:none }
.horizon-tool .budget-share { font-weight:650;margin-top:2px }
.horizon-tool .capital-summary { display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-top:16px;padding:14px;background:#efece5;border-radius:6px }
.horizon-tool .capital-summary dl { display:flex;flex-wrap:wrap;gap:8px 24px;font-size:13px }
.horizon-tool .capital-summary dt { color:var(--muted) }
.horizon-tool .capital-summary dd { font-weight:650;overflow-wrap:anywhere }
.horizon-tool .capital-link { display:inline-block;font-size:13px;font-weight:650;margin-bottom:12px }
.horizon-tool .review-actions { display:flex;flex-wrap:wrap;gap:8px;margin-top:8px }
.horizon-tool .review-actions .button { margin:0 }
.horizon-tool .meter .unallocated-segment { background:#827f76 }
@media (max-width:460px) {
  .horizon-tool .capital-summary dl { flex-direction:column;gap:7px }
  .horizon-tool .capital-summary dl div { display:flex;justify-content:space-between;gap:10px }
  .horizon-tool .capital-summary dl { width:100% }
  .horizon-tool .capital-summary dd { text-align:right }
}
