/*!
 * Nexus Observatory Consent: banner, preference centre, privacy centre, embed placeholders, cookie policy table.
 * GPL-2.0-or-later. Built on nexus-observatory-ui (style handle nxo-ui): tokens (--nxo-*), IBM Plex and the shared
 * components (.nxo-btn, .nxo-switch, .nxo-dialog, .nxo-toast, .nxo-overlay, .nxo-close). This file only places
 * them. Colours are tokens only; dark is the default, html[data-theme] or the device decides, and a site setting can
 * pin the consent UI to one theme (data-theme on .nxo-root). No colour literals (checked by test).
 */
.nxo-ui[data-theme="light"] { color-scheme: light; }
.nxo-ui[data-theme="dark"] { color-scheme: dark; }
.nxo-root[hidden], .nxo-root [hidden], .nxo-floating[hidden], .nxo-ui [hidden] { display: none !important; }
.nxo-root, .nxo-floating, .nxo-embed, .nxo-centre { font: 400 14px/1.5 var(--nxo-sans); color: var(--nxo-t1); }
.nxo-root *, .nxo-root *::before, .nxo-root *::after, .nxo-embed *, .nxo-floating * { box-sizing: border-box; }
.nxo-visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; margin: -1px !important; padding: 0 !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; clip-path: inset(50%) !important; white-space: nowrap !important; border: 0 !important; }
html.nxo-dialog-open { overflow: hidden; }
.nxo-root .nxo-banner {
	position: fixed; left: 20px; bottom: 20px; z-index: var(--nxo-z-consent);
	width: min(408px, calc(100vw - 40px)); max-height: calc(100vh - 40px); overflow: auto;
	padding: 18px 18px 16px; border: 1px solid var(--nxo-hair2); border-radius: 10px;
	background: var(--nxo-elev, var(--nxo-bg)); background-image: none; color: var(--nxo-t1);
	box-shadow: var(--nxo-shadow-menu);
}
@media (prefers-reduced-motion: no-preference) {
	.nxo-root .nxo-banner:not([hidden]) { animation: nxo-rise .28s cubic-bezier(.2, 0, 0, 1) both; }
	@keyframes nxo-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
}
.nxo-root .nxo-banner__inner { display: grid; gap: 8px; }
.nxo-root .nxo-banner .nxo-eyebrow { display: none; }
.nxo-root .nxo-eyebrow { margin: 0; display: flex; align-items: center; gap: 8px; font: 500 11px/1.4 var(--nxo-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--nxo-t3); }
.nxo-root .nxo-title { margin: 0; padding-right: 28px; display: flex; align-items: center; gap: 10px; font: 600 15px/1.3 var(--nxo-sans); letter-spacing: -.005em; color: var(--nxo-t1); }
.nxo-root .nxo-banner .nxo-title::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--nxo-accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--nxo-accent) 18%, transparent); }
.nxo-root .nxo-notice { color: var(--nxo-t2); font-size: 13px; line-height: 1.55; }
.nxo-root .nxo-notice p { margin: 0; }
.nxo-root .nxo-notice a { color: var(--nxo-t1); text-decoration: underline; text-decoration-color: var(--nxo-hair2); text-underline-offset: .2em; }
.nxo-root .nxo-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0 14px; margin: 0; }
.nxo-root .nxo-links a, .nxo-root .nxo-links a:visited {
	display: inline-flex; align-items: center; min-height: 24px; margin: 0; padding: 0 !important;
	border: 0 !important; border-radius: 0 !important; background: none !important; box-shadow: none !important;
	font: 500 12.5px/1.2 var(--nxo-sans); letter-spacing: 0; text-transform: none; color: var(--nxo-t2);
	text-decoration: underline; text-decoration-color: var(--nxo-hair2); text-underline-offset: .25em;
}
.nxo-root .nxo-links a:hover { color: var(--nxo-t1); text-decoration-color: var(--nxo-accent); }
.nxo-root .nxo-banner .nxo-actions { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 8px; margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--nxo-hair); }
.nxo-root .nxo-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 6px; }
.nxo-root .nxo-actions .nxo-btn { width: 100%; min-height: 36px; padding: 0 14px; border-radius: 6px; white-space: nowrap; text-align: center; line-height: 1.2; font: 500 13px/1 var(--nxo-sans); }
.nxo-root .nxo-banner .nxo-btn[data-nxo-action="accept"], .nxo-root .nxo-banner .nxo-btn[data-nxo-action="reject"] { background: var(--nxo-t1); color: var(--nxo-bg); border: 1px solid var(--nxo-t1); }
.nxo-root .nxo-banner .nxo-btn[data-nxo-action="accept"]:hover, .nxo-root .nxo-banner .nxo-btn[data-nxo-action="reject"]:hover { opacity: .88; }
.nxo-root .nxo-banner .nxo-btn[data-nxo-action="customise"] { order: -1; width: auto; padding: 0 10px 0 0; background: none; border: 0; color: var(--nxo-t2); text-decoration: underline; text-decoration-color: var(--nxo-hair2); text-underline-offset: .25em; }
.nxo-root .nxo-banner .nxo-btn[data-nxo-action="customise"]:hover { color: var(--nxo-t1); }
.nxo-root .nxo-banner .nxo-btn:focus-visible { outline: 2px solid var(--nxo-accent); outline-offset: 2px; }
.nxo-root .nxo-banner > .nxo-close { position: absolute; top: 12px; right: 12px; width: 28px; height: 28px; border-radius: 6px; }
.nxo-root .nxo-overlay { z-index: calc(var(--nxo-z-consent) + 1); }
.nxo-root .nxo-dialog { z-index: calc(var(--nxo-z-consent) + 2); }
html.nxo-dialog-open .nxo-root .nxo-banner, html.nxo-dialog-open .nxo-floating { visibility: hidden; }
.nxo-root .nxo-dialog__head .nxo-title { margin: 0; }
.nxo-root .nxo-dialog__body .nxo-links { margin-top: -4px; }
.nxo-root .nxo-dialog__foot .nxo-actions { width: 100%; margin: 0; }
.nxo-root .nxo-gpc { margin: 0; padding: 10px 12px; border: 1px solid var(--nxo-hair2); border-left: 3px solid var(--nxo-accent); color: var(--nxo-t1); font-size: 13px; }
.nxo-root .nxo-purposes { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--nxo-hair); }
.nxo-root .nxo-purpose { margin: 0; padding: 14px 0; border-bottom: 1px solid var(--nxo-hair); }
.nxo-root .nxo-purpose__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.nxo-root .nxo-purpose__label { margin: 0; font: 600 14px/1.35 var(--nxo-sans); color: var(--nxo-t1); }
.nxo-root .nxo-purpose__label label { cursor: pointer; }
.nxo-root .nxo-purpose__always { font: 500 11px var(--nxo-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--nxo-t2); }
.nxo-root .nxo-purpose__desc { margin: 6px 0 0; color: var(--nxo-t2); font-size: 13px; line-height: 1.5; max-width: 60ch; }
.nxo-root .nxo-services { margin-top: 8px; }
.nxo-root .nxo-services summary { display: inline-flex; align-items: center; min-height: 28px; font: 500 11px var(--nxo-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--nxo-t2); cursor: pointer; }
.nxo-root .nxo-services summary:hover { color: var(--nxo-t1); }
.nxo-root .nxo-services ul { margin: 6px 0 0; padding: 0; list-style: none; border: 1px solid var(--nxo-hair); }
.nxo-root .nxo-services li { display: flex; flex-wrap: wrap; gap: 4px 12px; padding: 8px 12px; border-top: 1px solid var(--nxo-hair); font-size: 13px; }
.nxo-root .nxo-services li:first-child { border-top: 0; }
.nxo-root .nxo-services strong { font-weight: 600; color: var(--nxo-t1); }
.nxo-root :is(.nxo-services__provider, .nxo-services__duration) { color: var(--nxo-t3); font-family: var(--nxo-mono); font-size: 12px; }
.nxo-root .nxo-consent-id { margin: 0; font-size: 12.5px; color: var(--nxo-t3); }
.nxo-root .nxo-consent-id code { font: 12px var(--nxo-mono); color: var(--nxo-t1); word-break: break-all; }
.nxo-root .nxo-toast { bottom: 64px; left: 20px; max-width: min(408px, calc(100vw - 40px)); border-radius: 8px; }
.nxo-floating { position: fixed; left: 20px; bottom: 20px; z-index: calc(var(--nxo-z-consent) - 1); }
.nxo-floating__btn { display: inline-flex; align-items: center; gap: 8px; min-height: 30px; margin: 0; padding: 0 12px; border: 1px solid var(--nxo-hair2); border-radius: 999px; background: var(--nxo-elev, var(--nxo-bg)); color: var(--nxo-t2); font: 500 12px/1 var(--nxo-sans); letter-spacing: 0; box-shadow: var(--nxo-shadow-menu); cursor: pointer; }
.nxo-floating__btn::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--nxo-accent); }
.nxo-floating__btn:hover { color: var(--nxo-t1); border-color: var(--nxo-t3); }
.nxo-floating__btn:focus-visible, .nxo-choices-link:focus-visible { outline: 2px solid var(--nxo-accent); outline-offset: 2px; }
.nxo-choices-link { display: inline-block; min-height: 24px; padding: 2px 0; cursor: pointer; }
.nxo-embed { display: flex; align-items: center; justify-content: center; min-height: 200px; margin: 0 0 1.5em; padding: 24px; border: 1px dashed var(--nxo-hair2); border-radius: var(--nxo-r); background: var(--nxo-surface); }
.nxo-embed__placeholder { max-width: 560px; text-align: center; }
.nxo-embed__text { margin: 0 0 12px; color: var(--nxo-t2); }
.nxo-embed__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.nxo-embed__actions .nxo-btn { flex: 1 1 180px; }
.nxo-embed__link { margin: 12px 0 0; }
.nxo-embed a { color: var(--nxo-t1); text-decoration: underline; text-decoration-color: var(--nxo-accent); text-underline-offset: .2em; }
.nxo-policy__purpose { margin: 0 0 2em; }
.nxo-policy__scroll { overflow-x: auto; }
.nxo-policy__table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.nxo-policy__table th { padding: 0 12px 10px 0; text-align: left; border-bottom: 1px solid var(--nxo-hair2); font: 500 10.5px var(--nxo-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--nxo-t3); }
.nxo-policy__table td { padding: 10px 12px 10px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--nxo-hair); color: var(--nxo-t2); }
.nxo-policy__table code { font: 12px var(--nxo-mono); word-break: break-word; }
.nxo-policy__service-desc { display: block; margin-top: 4px; font-weight: 400; }
.nxo-centre__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--nxo-hair); border: 1px solid var(--nxo-hair); }
.nxo-centre__card { padding: 20px; background: var(--nxo-bg); min-width: 0; }
.nxo-centre__wide { grid-column: 1 / -1; }
.nxo-centre h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font: 500 11px/1.4 var(--nxo-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--nxo-t3); }
.nxo-centre h3::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--nxo-accent); }
.nxo-centre__list { margin: 0 0 16px; padding: 0; list-style: none; }
.nxo-centre__list li { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--nxo-hair); }
.nxo-centre__list b { font: 500 12px var(--nxo-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--nxo-t3); }
.nxo-centre__list b[data-on="1"] { color: var(--nxo-t1); }
.nxo-centre__list b[data-on="1"]::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: var(--nxo-accent); vertical-align: 1px; }
.nxo-centre code { font: 12.5px var(--nxo-mono); }
.nxo-centre__id code { word-break: break-all; }
.nxo-centre__scroll { overflow-x: auto; }
.nxo-centre table { width: 100%; border-collapse: collapse; font-size: 13px; }
.nxo-centre :is(th, td) { padding: 8px 10px 8px 0; text-align: left; border-bottom: 1px solid var(--nxo-hair); vertical-align: top; }
.nxo-centre th { font: 500 10.5px var(--nxo-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--nxo-t3); }
.nxo-centre a { color: var(--nxo-t1); text-decoration: underline; text-decoration-color: var(--nxo-accent); text-underline-offset: .2em; }
.nxo-centre .nxo-links a { margin-right: 16px; }
@media (max-width: 600px) {
	.nxo-root .nxo-banner { left: 0; right: 0; bottom: 0; width: 100%; max-height: 70vh; padding: 16px 16px calc(14px + env(safe-area-inset-bottom)); border-width: 1px 0 0; border-radius: 12px 12px 0 0; }
	.nxo-root .nxo-banner .nxo-actions { grid-template-columns: 1fr 1fr; }
	.nxo-root .nxo-banner .nxo-btn[data-nxo-action="customise"] { order: 3; grid-column: 1 / -1; justify-self: center; padding: 0; }
	.nxo-root .nxo-actions .nxo-btn { min-height: 44px; }
	.nxo-root .nxo-dialog .nxo-actions { grid-template-columns: 1fr; }
	.nxo-root .nxo-dialog { top: auto; bottom: 0; left: 0; transform: none; width: 100%; max-height: 92vh; border-width: 1px 0 0; }
	.nxo-centre__grid { grid-template-columns: 1fr; }
	.nxo-floating { left: 8px; bottom: 8px; }
}
@media (prefers-reduced-motion: reduce) { .nxo-root *, .nxo-embed * { transition: none !important; animation: none !important; } }
@media (forced-colors: active) {
	.nxo-root .nxo-banner, .nxo-root .nxo-dialog, .nxo-floating__btn { border-color: CanvasText; }
	.nxo-ui .nxo-switch__input:checked + .nxo-switch__track { background: Highlight; border-color: Highlight; }
}
.nexus-consent:not(.nexus-consent-inline), .nexus-consent__banner, .nexus-consent__prefs { display: none !important; }
.nexus-consent-inline { display: none !important; }
