/* Fixed, accessible consent control for self-contained AI experiences. */
.tp-ai-consent{position:fixed;z-index:99999;left:16px;right:16px;bottom:16px;max-width:740px;margin-inline:auto;background:#102c23;color:#f2faed;border:1px solid #86b29a;box-shadow:0 18px 54px #001b17a6;font:13px/1.55 Arial,Helvetica,sans-serif;padding:17px 19px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.tp-ai-consent[hidden]{display:none!important}
.tp-ai-consent p{margin:0;color:#d7e9dc;flex:1;min-width:0}
.tp-ai-consent a{color:#dcf5d4;text-decoration:underline;text-underline-offset:3px}
.tp-ai-consent-actions{display:flex;gap:8px;flex-shrink:0}
.tp-ai-consent button{appearance:none;border:1px solid #bfd6c5;background:transparent;color:#f8fcf5;cursor:pointer;font:700 12px/1.35 Arial,Helvetica,sans-serif;padding:11px 13px;min-height:42px}
.tp-ai-consent button[data-ai-consent="granted"]{color:#113529;background:#e4f2de;border-color:#e4f2de}
.tp-ai-consent button:hover{filter:brightness(1.12)}
.tp-ai-consent button:focus-visible,.tp-ai-consent a:focus-visible{outline:3px solid #baf6b2;outline-offset:3px}
@media(max-width:600px){.tp-ai-consent{left:9px;right:9px;bottom:9px;padding:14px;display:block}.tp-ai-consent-actions{margin-top:12px}.tp-ai-consent button{flex:1}}
@media(prefers-reduced-motion:reduce){.tp-ai-consent,.tp-ai-consent *{transition:none!important;animation:none!important}}


/* Corporate mastheads only; never style the product interface's own marks. */
header.mast .mast-inner > a.logo,header.nav .wrap > a.brand,header.site-nav .wrap > a.wordmark,header.shell.nav > .brand{position:relative;flex:0 0 auto;display:block;width:152px;height:48px;font-size:0;letter-spacing:0;background:url('/assets/img/logo-full-white.png') center/contain no-repeat}
header.mast .mast-inner > a.logo span,header.nav .wrap > a.brand span,header.site-nav .wrap > a.wordmark span,header.shell.nav > .brand small{position:absolute;width:1px;height:1px;padding:0;margin:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
header > .wrap.nav > .logo{font-size:0;letter-spacing:0;gap:10px}
header > .wrap.nav > .logo::before{content:"";flex:0 0 152px;width:152px;height:48px;background:url('/assets/img/logo-full-white.png') center/contain no-repeat}
@media(max-width:500px){header > .wrap.nav > .logo::before{flex-basis:34px;width:34px;height:34px;background-image:url('/assets/img/icon-colour.png');background-size:contain}header > .wrap.nav > .logo{gap:7px}header.mast .mast-inner > a.logo,header.nav .wrap > a.brand,header.site-nav .wrap > a.wordmark,header.shell.nav > .brand{width:132px;height:42px}}
@media(forced-colors:active),print{header.mast .mast-inner > a.logo,header.nav .wrap > a.brand,header.site-nav .wrap > a.wordmark,header.shell.nav > .brand{background:none;width:auto;height:auto;font-size:16px;letter-spacing:normal}header.mast .mast-inner > a.logo span,header.nav .wrap > a.brand span,header.site-nav .wrap > a.wordmark span,header.shell.nav > .brand small{position:static;width:auto;height:auto;clip-path:none;overflow:visible}header > .wrap.nav > .logo{font-size:16px}header > .wrap.nav > .logo::before{display:none}}

/* FA-016: matching mobile choice prominence and compact footprint. */
@media(max-width:600px){.tp-ai-consent{padding:10px 12px;max-height:40dvh;overflow:auto;font-size:12px;line-height:1.4}.tp-ai-consent-actions{margin-top:8px}.tp-ai-consent button{min-height:44px;padding:8px 10px}.tp-ai-consent button[data-ai-consent="granted"]{background:transparent;color:#f8fcf5;border-color:#bfd6c5}}

/* WP02: equivalent visual weight for both analytics choices. */
.tp-ai-consent button[data-ai-consent="granted"]{background:transparent;color:#f8fcf5;border-color:#bfd6c5}
.tp-ai-consent button{min-height:44px}

/* Final consent presentation: one corporate design, no change to choice or storage.
   Equal choices, opaque readable surface and a compact mobile footprint. */
#tap-ai-consent{
 box-sizing:border-box;position:fixed;left:16px;right:16px;bottom:16px;
 width:auto;max-width:440px;min-width:0;margin:0 0 0 auto;
 display:grid;grid-template-columns:minmax(0,1fr);align-items:start;justify-content:normal;
 gap:12px;padding:18px 20px;background:#14211b;color:#edf4ef;
 border:1px solid #60766a;border-top:2px solid #37b878;border-radius:12px;
 box-shadow:0 14px 38px rgba(0,0,0,.38);
 font:500 14px/1.5 Manrope,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
 letter-spacing:normal;text-align:left;text-transform:none;
 max-height:calc(100dvh - 32px);overflow:auto;
}
#tap-ai-consent[hidden]{display:none!important}
#tap-ai-consent p{margin:0;min-width:0;color:#dce7df;font:inherit;letter-spacing:normal;text-transform:none;overflow-wrap:anywhere}
#tap-ai-consent a{color:#b3ffa0;text-decoration:underline;text-underline-offset:3px;white-space:normal}
#tap-ai-consent .tp-ai-consent-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0;min-width:0;align-items:stretch}
#tap-ai-consent button[data-ai-consent]{
 appearance:none;display:flex;align-items:center;justify-content:center;box-sizing:border-box;
 width:100%;min-width:0;min-height:44px;margin:0;padding:10px 12px;
 background:#23362b;color:#f0f5f1;border:1px solid #819789;border-radius:7px;
 font:600 13px/1.3 Manrope,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
 letter-spacing:normal;text-transform:none;text-align:center;white-space:normal;
 cursor:pointer;filter:none;transition:none;
}
#tap-ai-consent button[data-ai-consent]:hover{background:#30493a;color:#f0f5f1;border-color:#b3ffa0;filter:none}
#tap-ai-consent button:focus-visible,#tap-ai-consent a:focus-visible{outline:2px solid #b3ffa0;outline-offset:2px}
@media(max-width:600px){
 #tap-ai-consent{left:8px;right:8px;bottom:8px;max-width:none;padding:12px 14px;gap:10px;
 font-size:13px;line-height:1.4;max-height:40dvh;overflow:auto}
 #tap-ai-consent button[data-ai-consent]{padding:8px 10px}
}
@media(forced-colors:active){
 #tap-ai-consent,#tap-ai-consent button[data-ai-consent]{border:1px solid CanvasText;box-shadow:none}
 #tap-ai-consent a{color:LinkText}
 #tap-ai-consent button:focus-visible,#tap-ai-consent a:focus-visible{outline-color:Highlight}
}
