/* Partner presentation shared by purchase, activation and the in-page account journeys. */
.dok-flow-c-page .dok-c-brand img.dok-partner-logo {
 width:auto; height:auto; max-height:62px; max-width:280px; object-fit:contain; filter:none;
}
@media(max-width:600px) {
 .dok-flow-c-page .dok-c-header { padding-inline:16px; gap:8px; }
 .dok-flow-c-page .dok-c-brand img.dok-partner-logo { max-width:min(52vw,220px); max-height:54px; }
}

html[data-dok-brand="trusted"] {
 --brand-primary:#c41230; --brand-hover:#a20f28; --brand-ink:#fff; --brand-focus:#c41230;
 --brand-panel:#1a1a1a; --brand-text-on-light:#a20f28;
 --theme-canvas:#faf9f8; --theme-surface:#fff; --theme-soft:#f2eff0;
 --theme-text:#1a1a1a; --theme-muted:#5f5659; --theme-secondary:#443c3f;
 --theme-border:#d6cdd0; --theme-input-border:#9d8e93; --theme-hover:#f7e9ed;
 --theme-selected:#fae4e9; --theme-green:#a20f28; --theme-green-border:#c41230;
 --theme-art:#6d5359; --theme-glass:rgba(250,249,248,.65);
}
html[data-dok-brand="trusted"][data-dok-theme="dark"] {
 --brand-focus:#ff9dad;
 --theme-canvas:#1a1a1a; --theme-surface:#292527; --theme-soft:#342c2f;
 --theme-text:#fff; --theme-muted:#ded3d6; --theme-secondary:#e7dee1;
 --theme-border:#665359; --theme-input-border:#a48d95; --theme-hover:#493038;
 --theme-selected:#532632; --theme-green:#ff9dad; --theme-green-border:#ef7087;
 --theme-art:#d3b5be; --theme-glass:rgba(26,26,26,.65);
}
html[data-dok-brand="covercloud"] {
 --brand-primary:#007ca8; --brand-hover:#006689; --brand-ink:#fff; --brand-focus:#007397;
 --brand-panel:#163d50; --brand-text-on-light:#006b90;
 --theme-canvas:#f3f9fc; --theme-surface:#fff; --theme-soft:#eaf4f9;
 --theme-text:#163746; --theme-muted:#466474; --theme-secondary:#2a5265;
 --theme-border:#c0d6e0; --theme-input-border:#789faf; --theme-hover:#e0f1f9;
 --theme-selected:#d9f0fc; --theme-green:#006b90; --theme-green-border:#0085b2;
 --theme-art:#207997; --theme-glass:rgba(243,249,252,.65);
}
html[data-dok-brand="covercloud"][data-dok-theme="dark"] {
 --brand-focus:#7dd7f3;
 --theme-canvas:#163d50; --theme-surface:#1d4558; --theme-soft:#264f62;
 --theme-text:#f5fbff; --theme-muted:#cee2eb; --theme-secondary:#d9edf6;
 --theme-border:#507b90; --theme-input-border:#82acbe; --theme-hover:#305f73;
 --theme-selected:#245d75; --theme-green:#7dd7f3; --theme-green-border:#59c4e8;
 --theme-art:#a5ddec; --theme-glass:rgba(22,61,80,.65);
}

html:is([data-dok-brand="trusted"],[data-dok-brand="covercloud"]) .dok-flow-c-page {
 --dok-panel:var(--brand-panel); --dok-accent:var(--brand-primary); --dok-accent-ink:var(--brand-ink);
}
/* White navigation/action rails are retained in both colour modes. */
html:is([data-dok-brand="trusted"],[data-dok-brand="covercloud"]) :is(.dok-c-header,.dok-step-actions,.p-cover-actions) {
 --theme-text:#202b31; --theme-secondary:#374a54; --theme-muted:#4c626b;
 --theme-green:var(--brand-text-on-light); --theme-green-border:var(--brand-primary);
}
html:is([data-dok-brand="trusted"],[data-dok-brand="covercloud"]) :is(#flowC,#welcomeC,#myPolicyC) :is(.c-button-primary,.p-button-primary,.w-buy-button) {
 color:var(--brand-ink); background:var(--brand-primary); border-color:var(--brand-primary);
}
html:is([data-dok-brand="trusted"],[data-dok-brand="covercloud"]) :is(#flowC,#welcomeC,#myPolicyC) :is(.c-button-primary,.p-button-primary,.w-buy-button):hover:not(:disabled):not([aria-disabled="true"]) {
 color:var(--brand-ink); background:var(--brand-hover); border-color:var(--brand-hover);
}
html:is([data-dok-brand="trusted"],[data-dok-brand="covercloud"]) :is(#flowC,#welcomeC,#myPolicyC) :is(.c-button-primary,.p-button-primary):disabled {
 background:#e8ecee; border-color:#e8ecee; color:#5b6870;
}
html:is([data-dok-brand="trusted"],[data-dok-brand="covercloud"]) :is(#flowC,#welcomeC,#myPolicyC) .dok-cart {
 background:var(--brand-panel); border-color:var(--brand-primary); color:#fff;
}
html:is([data-dok-brand="trusted"],[data-dok-brand="covercloud"]) .dok-calendar-day[aria-pressed="true"],
html:is([data-dok-brand="trusted"],[data-dok-brand="covercloud"]) .dok-spotlight-guide button {
 background:var(--brand-primary); border-color:var(--brand-primary); color:var(--brand-ink);
}
html:is([data-dok-brand="trusted"],[data-dok-brand="covercloud"]) :is(#flowC,#welcomeC,#myPolicyC) input[type="checkbox"] { accent-color:var(--brand-primary); }
html:is([data-dok-brand="trusted"],[data-dok-brand="covercloud"]) :is(#flowC,#welcomeC,#myPolicyC) :focus-visible { outline-color:var(--brand-focus); }
html:is([data-dok-brand="trusted"],[data-dok-brand="covercloud"]) :is(#flowC,#welcomeC) .dok-welcome-cloud::before,
html:is([data-dok-brand="trusted"],[data-dok-brand="covercloud"]) :is(#flowC,#welcomeC) .dok-welcome-explanation { background:var(--theme-glass); }
html[data-dok-brand="trusted"][data-dok-theme="dark"] :is(#welcomeC .w-hero,#flowC .dok-activation) {
 background:linear-gradient(135deg,#1a1a1a 0%,#2d2d2d 60%,#3d1017 100%);
}
html[data-dok-brand="trusted"]:not([data-dok-theme="dark"]) .dok-welcome-logo { filter:brightness(0); }
/* Trusted uses the same proportionate shield for the backdrop and cover summary. */
html[data-dok-brand="trusted"] :is(#welcomeC,#flowC) .dok-welcome-cloud {
 align-self:center; max-width:420px; aspect-ratio:102 / 122; padding:70px 40px 105px; justify-content:center; gap:16px;
}
html[data-dok-brand="trusted"] :is(#welcomeC,#flowC) .dok-welcome-cloud::before {
 -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-1 -1 102 122' preserveAspectRatio='xMidYMid meet'%3E%3Cpath fill='white' d='M4 4C18 12 36 12 50 2C64 12 82 12 96 4L94 66C94 77 89 85 80 93L50 118L20 93C11 85 6 77 6 66Z'/%3E%3C/svg%3E");
 mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-1 -1 102 122' preserveAspectRatio='xMidYMid meet'%3E%3Cpath fill='white' d='M4 4C18 12 36 12 50 2C64 12 82 12 96 4L94 66C94 77 89 85 80 93L50 118L20 93C11 85 6 77 6 66Z'/%3E%3C/svg%3E");
}
html[data-dok-brand="trusted"] :is(#welcomeC,#flowC) .dok-welcome-cloud::after {
 -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-1 -1 102 122' preserveAspectRatio='xMidYMid meet'%3E%3Cpath fill='none' stroke='white' stroke-width='2.5' vector-effect='non-scaling-stroke' d='M4 4C18 12 36 12 50 2C64 12 82 12 96 4L94 66C94 77 89 85 80 93L50 118L20 93C11 85 6 77 6 66Z'/%3E%3C/svg%3E");
 mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-1 -1 102 122' preserveAspectRatio='xMidYMid meet'%3E%3Cpath fill='none' stroke='white' stroke-width='2.5' vector-effect='non-scaling-stroke' d='M4 4C18 12 36 12 50 2C64 12 82 12 96 4L94 66C94 77 89 85 80 93L50 118L20 93C11 85 6 77 6 66Z'/%3E%3C/svg%3E");
}
html[data-dok-brand="trusted"] :is(#welcomeC,#flowC) .dok-cloud-trails { display:none; }
@media(max-width:480px) {
 html[data-dok-brand="trusted"] :is(#welcomeC,#flowC) .dok-welcome-cloud { padding:50px 30px 110px; }
}
html:is([data-dok-brand="trusted"],[data-dok-brand="covercloud"]) #welcomeC .w-landing .w-cta-panel {
 background:var(--theme-soft); color:var(--theme-text);
}
html:is([data-dok-brand="trusted"],[data-dok-brand="covercloud"]) :is(.p-auth-icon,.p-document-icon,.dok-feature-icon,.dok-search-loader-centre) {
 color:var(--theme-green); background:var(--theme-selected); border-color:var(--theme-green-border);
}
html:is([data-dok-brand="trusted"],[data-dok-brand="covercloud"]) :is(.p-auth-icon,.p-document-icon) svg [stroke] { stroke:currentColor; }
html:is([data-dok-brand="trusted"],[data-dok-brand="covercloud"]) :is(.p-code-digit,.dok-code-digit).is-filled { border-color:var(--theme-green-border); }

/* Decorative holiday photographs use the same shield silhouette as the cover summary. */
html[data-dok-brand="trusted"] :is(#welcomeC .w-hero-inner,#flowC .dok-activation > .dok-step-scroll)::before {
 -webkit-mask:none; mask:none;
 background:url('/Styles/BackgroundImages/Trusted-Holiday-Shields.svg') right bottom / auto 100% no-repeat;
 opacity:.26;
}
html[data-dok-brand="trusted"][data-dok-theme="dark"] :is(#welcomeC .w-hero-inner,#flowC .dok-activation > .dok-step-scroll)::before { opacity:.38; }
@media(max-width:800px) {
 html[data-dok-brand="trusted"][data-dok-theme] :is(#welcomeC .w-hero-inner,#flowC .dok-activation > .dok-step-scroll)::before { background-size:auto 75%; opacity:.12; }
}
html[data-dok-brand="trusted"] :is(#welcomeC,#flowC) .dok-welcome-cloud h2 { font-size:clamp(1.5rem,2.3vw,2rem); }


/* The taller association artwork needs more space than the old horizontal logo. */
html[data-dok-brand="trusted"] { --dok-header-height:112px; }
html[data-dok-brand="trusted"] .dok-c-brand img.dok-partner-logo { height:96px; max-height:96px; max-width:300px; }
html[data-dok-brand="trusted"] :is(#welcomeC,#flowC) .dok-welcome-cloud :is(.w-hero-price,.dok-activation-benefit) {
 font-size:clamp(2rem,3.5vw,3.5rem); white-space:nowrap;
}
html[data-dok-brand="trusted"] :is(#welcomeC,#flowC) .dok-welcome-cloud :is(p,.w-hero-tax) {
 max-width:270px; margin-inline:auto; font-size:1.125rem; line-height:1.5;
}
@media(max-width:600px) {
 html[data-dok-brand="trusted"] { --dok-header-height:88px; }
 html[data-dok-brand="trusted"] .dok-c-brand img.dok-partner-logo { height:72px; max-height:72px; max-width:52vw; }
}

@media(max-width:480px) {
 html[data-dok-brand="trusted"] :is(#welcomeC,#flowC) .dok-welcome-cloud :is(p,.w-hero-tax) { max-width:200px; }
}
