/* UK AI BUSINESS UNIVERSE additions (same tokens as the Government copy) */
.biz-ul{margin:4px 0 8px 18px;padding:0;font-size:12.5px;line-height:1.45}.biz-ul li{margin:2px 0}
.biz-corr li{color:var(--muted,#555)}.gbp{font-weight:600}.rel.lab{display:flex;flex-wrap:wrap;gap:4px}
.lab-link{display:inline-block;padding:2px 7px;border-radius:999px;background:rgba(127,127,127,.14);color:var(--muted,#666);font-size:11.5px}
.kv.one-line{font-weight:500}.biz-disc p{margin:0 0 10px;line-height:1.55}.biz-disc b{font-weight:700}
.map-layers{display:flex;flex-wrap:wrap;gap:6px;margin:6px 0}.map-layer[hidden]{display:none}
.tm-svg text{font-size:11px;fill:currentColor}.tm-svg .tm-l{stroke-opacity:.45;fill:none}
.stk-key{display:flex;flex-wrap:wrap;gap:8px;font-size:11.5px;margin:4px 0}.stk-key i{display:inline-block;width:10px;height:10px;border-radius:2px;margin-right:4px;vertical-align:-1px}
.credit-list{font-size:12px;line-height:1.5}.region-tiles .uni-btn .ks span{white-space:nowrap}

/* edit1 (Alex 30 Oct 11:11): Upcoming events = pastel blue card, firmer blue header (white on #1D4F91 = 8.4:1) */
.gov-home #hub-events{--pb:#E8F1FC;--hd:#1D4F91}
html.dark .gov-home #hub-events{background:color-mix(in srgb,#1D4F91 34%,#0E1729)!important}
/* heat map: names only in the hover/focus tooltip */
.ukmap-heat a:focus{outline:none}.ukmap-heat a:focus .dot,.ukmap-heat a:hover .dot{stroke:#0E1729;stroke-width:2.5;fill-opacity:1}
html.dark .ukmap-heat a:focus .dot,html.dark .ukmap-heat a:hover .dot{stroke:#FFFFFF}

/* edit1b (Alex 30 Oct 11:12): topic pages: frozen header stops at the white page strip, as on Government department pages (4deb6a2) */
body.gov-unit .site-header{padding-bottom:0!important;background-origin:padding-box!important;box-shadow:0 1px 0 rgba(31,47,79,.18),0 4px 10px -6px rgba(0,0,0,.25)}
body.gov-unit .site-header::after{bottom:0;height:auto;top:0}
body.gov-unit .site-header>.gov-bar{position:relative;margin:0;padding-right:96px}
body.gov-unit .site-header>.theme-switch{position:absolute!important;right:24px!important;left:auto!important;top:auto!important;bottom:19px!important;margin:0!important}
html.dark body.gov-unit .site-header{box-shadow:0 1px 0 rgba(255,255,255,.12),0 4px 10px -6px rgba(0,0,0,.6)}
body.gov-unit>.news-bar#news-bar{margin-top:10px}
@media (max-width:700px){body.gov-unit .site-header>.gov-bar{padding-right:84px}body.gov-unit .site-header>.theme-switch{right:10px!important;bottom:8px!important}}

/* edit2 (Alex 30 Oct 11:18): top-20 rounds in one compact column; heat map beside it, sized to the list */
#chart-top20 svg.t20-compact .lbl{font-size:11px}
.gov-home .gov-charts>#chart-top20{align-self:stretch}
.gov-home .gov-charts>#chart-map.map-beside{align-self:stretch;display:flex;flex-direction:column}
#chart-map.map-beside .sub{font-size:.8rem}
#chart-map.map-beside .map-layer{flex:1 1 0;min-height:430px;display:flex;flex-direction:column}
#chart-map.map-beside .map-layer[hidden]{display:none}
#chart-map.map-beside svg.ukmap{flex:1 1 0;width:100%;height:auto;min-height:430px;max-height:none}
@media (max-width:900px){#chart-map.map-beside svg.ukmap{flex:none;height:min(110vw,560px)}}

/* edit5 (30 Oct 12:32): 'UK BUSINESS AI UNIVERSE' in the page header links to the Business home */
.site-header h1 .lozenge a.brand-home{color:inherit;text-decoration:none;cursor:pointer;transition:filter .15s}
.site-header h1 .lozenge a.brand-home:hover,.site-header h1 .lozenge a.brand-home:focus-visible{filter:brightness(1.35);text-decoration:underline;text-underline-offset:3px;outline:none}

/* Alex 30 Oct 21:46 (pt38u): umbrella site removed, so the section switch has no ALL button (3 pills, UNIVERSITIES first).
   Shared Gov/top CSS still hard-codes repeat(4,auto), which left an empty 4th column and pushed the pills 1px off centre;
   3 columns as on the Universities hub (repeat(3,auto); repeat(3,minmax(0,1fr)) on phones) so 'THE UK AI UNIVERSE' and the Experimental-site note centre on the pills. */
.header-credit #uni-switch.sec-switch,body #uni-switch.sec-switch{grid-template-columns:repeat(3,auto)!important}
@media (max-width:700px){.header-credit #uni-switch.sec-switch,body #uni-switch.sec-switch{grid-template-columns:repeat(3,minmax(0,1fr))!important;width:max-content;max-width:100%}}


/* Business copy of Gov's kicker-link CSS (build/gov_assets/gov-whitehall.css, Alex 30 Oct 22:02/22:03), kept identical so Business and Gov match */
/* Alex 30 Oct 22:02: "make the text above the switch box that says 'THE UK AI UNIVERSE' link to the UK AI UNIVERSE page."
   The kicker is now a real link (<a class="uk-ai-kicker">, first child of the switch nav, which gets class has-kicker-link) instead of
   the ::before pseudo-element; same look and position: centred above the lozenge, colour Union Jack at its left, white with shadow.
   Scoped to .has-kicker-link so pages still using ::before (Business, until it switches) are unaffected. */
#uni-switch.sec-switch.has-kicker-link::before{content:none!important;display:none!important}
#uni-switch.sec-switch.has-kicker-link{position:relative;overflow:visible;grid-template-columns:repeat(3,auto)!important}
#uni-switch.sec-switch .uk-ai-kicker,#uni-switch.sec-switch .uk-ai-kicker:visited{position:absolute;left:50%;right:auto;bottom:calc(100% + 3px);transform:translateX(-50%);display:block;margin:0;padding:0 0 0 1.32em;border:0;border-radius:0;box-shadow:none;min-width:0;width:auto;height:auto;background:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMiAzMiIgcm9sZT0iaW1nIiBhcmlhLWxhYmVsPSJVSyBBSSI+CiAgPHRpdGxlPlVLIEFJPC90aXRsZT4KICA8ZGVmcz48Y2xpcFBhdGggaWQ9ImMiPjxjaXJjbGUgY3g9IjE2IiBjeT0iMTYiIHI9IjE1Ii8+PC9jbGlwUGF0aD48L2RlZnM+CiAgPGcgY2xpcC1wYXRoPSJ1cmwoI2MpIj4KICAgIDxyZWN0IHdpZHRoPSIzMiIgaGVpZ2h0PSIzMiIgZmlsbD0iIzAxMjE2OSIvPgogICAgPHBhdGggZD0iTTAgMCBMMzIgMzIgTTMyIDAgTDAgMzIiIHN0cm9rZT0iI2ZmZiIgc3Ryb2tlLXdpZHRoPSI1LjUiLz4KICAgIDxwYXRoIGQ9Ik0wIDAgTDMyIDMyIE0zMiAwIEwwIDMyIiBzdHJva2U9IiNDODEwMkUiIHN0cm9rZS13aWR0aD0iMi4yIi8+CiAgICA8cGF0aCBkPSJNMTYgMCBWMzIgTTAgMTYgSDMyIiBzdHJva2U9IiNmZmYiIHN0cm9rZS13aWR0aD0iNyIvPgogICAgPHBhdGggZD0iTTE2IDAgVjMyIE0wIDE2IEgzMiIgc3Ryb2tlPSIjQzgxMDJFIiBzdHJva2Utd2lkdGg9IjQiLz4KICAgIDxyZWN0IHg9IjE1IiB5PSIwIiB3aWR0aD0iMTciIGhlaWdodD0iMzIiIGZpbGw9IiMwMTIxNjkiIG9wYWNpdHk9Ii41Ii8+CiAgICA8ZyBmb250LWZhbWlseT0idWktbW9ub3NwYWNlLE1lbmxvLG1vbm9zcGFjZSIgZm9udC1zaXplPSI1LjUiIGZvbnQtd2VpZ2h0PSI3MDAiIGZpbGw9IiNGNEY3RkIiPgogICAgICA8dGV4dCB4PSIxNi41IiB5PSI4Ij4xIDAgMTwvdGV4dD4KICAgICAgPHRleHQgeD0iMTYuNSIgeT0iMTUiPjAgMSAwPC90ZXh0PgogICAgICA8dGV4dCB4PSIxNi41IiB5PSIyMiI+MSAxIDA8L3RleHQ+CiAgICAgIDx0ZXh0IHg9IjE2LjUiIHk9IjI5Ij4wIDEgMTwvdGV4dD4KICAgIDwvZz4KICA8L2c+Cjwvc3ZnPgo=") no-repeat 0 50%/1em 1em;font-size:max(8px,.8em);font-weight:700;letter-spacing:.14em;line-height:1;color:#fff;text-align:center;white-space:nowrap;text-decoration:none;text-shadow:0 1px 2px rgba(0,0,0,.9),0 0 1px rgb(0,0,0);opacity:1;cursor:pointer;z-index:3}
.site-header.has-photo #uni-switch.sec-switch .uk-ai-kicker{text-shadow:0 0 2px rgba(10,16,30,.95),0 0 6px rgba(10,16,30,.85),0 1px 2px rgba(10,16,30,.9)}
#uni-switch.sec-switch .uk-ai-kicker:hover{color:#fff;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:2px}
#uni-switch.sec-switch .uk-ai-kicker:focus-visible{outline:2px solid #fff;outline-offset:2px;border-radius:2px;box-shadow:0 0 0 4px rgb(0,0,0)}
/* 3 equal columns on phones as on Business and Universities; the lozenge still ends at its last pill */
@media (max-width:700px){#uni-switch.sec-switch.has-kicker-link,.header-credit #uni-switch.sec-switch.has-kicker-link{grid-template-columns:repeat(3,minmax(0,1fr))!important;width:max-content;max-width:100%}}

/* Alex 31 Oct 08:19 (pt56u), Business pages only: the part of the top-left title after the colon in capitals (UK BUSINESS AI UNIVERSE: LABS) */
.site-header h1 .lozenge.brand-split{text-transform:uppercase}
/* the disclaimer's black box fully covers its text: horizontal padding (width set by the fit script in build/biz_pages.py gen_note_fit) */
.site-header>#gov-gen-note.gen-note.gov-gen{padding:2px 8px}
