/* Cartdini native customer surfaces. Load after native styles and the shared site shell.
   Only own response-marked bodies participate; no administrative/API selectors. */

body[data-cd-service]{--cd-native-ink:#193f33;--cd-native-muted:#52675c;--cd-native-paper:#f7f8f2;--cd-native-line:#d8e1d4;--cd-native-lime:#c5fb78;background:var(--cd-native-paper);color:var(--cd-native-ink);font-family:"Cartdini Manrope",Arial,sans-serif;font-size:16px;line-height:1.65}
body[data-cd-service] :is(main,.cd-account-help,.cd-native-context>footer){box-sizing:border-box}
body[data-cd-service] :is(main,.cd-account-help) :is(h1,h2,h3,p,li,label,input,select,textarea,button){font-family:inherit}
body[data-cd-service] main :is(h1,h2,h3){color:var(--cd-native-ink);text-wrap:balance;line-height:1.15;letter-spacing:-.04em}
body[data-cd-service] main h1{font-size:clamp(2rem,4.2vw,3.6rem);font-weight:750;margin:0 0 1.2rem}
body[data-cd-service] main h2{font-size:clamp(1.25rem,2vw,1.7rem);font-weight:700;margin:0 0 1rem}
body[data-cd-service] main h3{font-size:1.12rem;font-weight:700}
body[data-cd-service] main :is(.eyebrow,.login-eyebrow,.panel-nav-label){font-size:.72rem;font-weight:750;letter-spacing:.15em;line-height:1.5;color:var(--cd-native-muted)}
body[data-cd-service] main :is(.lede,.portal-lede,.purchase-heading>p:not(.eyebrow)){max-width:46rem;font-size:1.125rem;line-height:1.65;color:var(--cd-native-muted)}
body[data-cd-service] main :is(.hint,.muted,.purchase-secure,.purchase-help){font-size:.875rem;line-height:1.65;color:var(--cd-native-muted)}
body[data-cd-service] main a:not(.button):not(.primary):not(.secondary){color:var(--cd-native-ink);text-underline-offset:.2em}
body[data-cd-service] main :is(input:not([type=hidden]):not([type=checkbox]):not([type=radio]),textarea,select){box-sizing:border-box;width:100%;max-width:100%;min-height:50px;background:#fff;color:var(--cd-native-ink);border:1px solid #9dae9f;border-radius:10px;padding:.8rem .9rem;font:inherit;line-height:1.5;box-shadow:none}
body[data-cd-service] main textarea{min-height:190px;resize:vertical}
body[data-cd-service] main :is(input[type=checkbox],input[type=radio]){accent-color:var(--cd-native-ink);flex-shrink:0}
body[data-cd-service] main label{color:var(--cd-native-ink);font-size:.9rem;line-height:1.6;font-weight:650}
body[data-cd-service] main label :is(input,textarea,select){margin-top:.5rem}
body[data-cd-service] main :where(button[type=submit],form button:not([type]),.purchase-submit,button.primary,.button:not(.secondary):not(.danger)){min-height:48px;border:1px solid var(--cd-native-ink);border-radius:10px;background:var(--cd-native-ink);color:#fff;padding:.8rem 1.2rem;font:700 .95rem/1.5 "Cartdini Manrope",Arial,sans-serif;box-shadow:none;text-decoration:none}
body[data-cd-service] main :is(button.secondary,.button.secondary){min-height:44px;border:1px solid #a9b8aa;border-radius:10px;background:#fff;color:var(--cd-native-ink);padding:.7rem 1rem;font:650 .9rem/1.5 "Cartdini Manrope",Arial,sans-serif}
body[data-cd-service] main :is(button,input,textarea,select,a,summary):focus-visible,body[data-cd-service] .cd-account-help a:focus-visible{outline:3px solid #517e3d;outline-offset:4px}
body[data-cd-service] main :is(button:disabled,input:disabled){opacity:.6}
body[data-cd-service] main :is(.card,.panel,.checkout-card){border:1px solid var(--cd-native-line);border-radius:18px;background:#fff;box-shadow:none;padding:clamp(1.25rem,3vw,2rem)}
body[data-cd-service] main :is(.notice,.notice-box){border:1px solid #c7d7ba;border-left:3px solid #5c793e;border-radius:8px;background:#f1f6e9;color:#2a4836;padding:1rem 1.2rem;line-height:1.6}
body[data-cd-service] main :is(.error,.portal-error,.notice.error){color:#8c2b28;border-color:#e6beb9;background:#fff4f1}
body[data-cd-service] main :is(.check,.check-label,.purchase-agreement){display:flex;align-items:flex-start;gap:.7rem;line-height:1.65}
body[data-cd-service] main :is(.check,.check-label,.purchase-agreement)>input{width:18px;height:18px;margin:.3rem 0 0}
body[data-cd-service] main :is(.check,.check-label,.purchase-agreement)>span{min-width:0}
body[data-cd-service] main :is(details,summary){font-size:.9rem}
body[data-cd-service] main summary{min-height:44px;display:list-item;align-content:center;cursor:pointer;color:var(--cd-native-ink)}
body[data-cd-service] main :is(.table-wrap,.details){max-width:100%;overflow-x:auto}
body[data-cd-service] main :is(td,th,code,pre){overflow-wrap:anywhere}
body[data-cd-service] main :is(.honey,[hidden]){display:none!important}
/* The original contextual footer is retained ahead of the shared marketing footer. */
body[data-cd-service] .cd-native-context>footer{width:min(1160px,calc(100% - 48px));max-width:none;margin:0 auto;padding:1.5rem 0 2rem;border:0;border-top:1px solid var(--cd-native-line);border-radius:0;background:transparent;color:var(--cd-native-muted);font-size:.8rem;line-height:1.8;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.7rem 2rem}
body[data-cd-service] .cd-native-context>footer :is(p,nav,span){margin:0}
body[data-cd-service] .cd-native-context>footer a{color:var(--cd-native-ink);text-underline-offset:.2em}
body[data-cd-service] .cd-native-context>footer nav{display:flex;flex-wrap:wrap;gap:.6rem 1.3rem}
body[data-cd-service] .cd-native-context>footer button{font:inherit;color:var(--cd-native-ink)}
/* Account sign-in and recovery: the native form is unchanged. */
body[data-cd-service="account"].login-page .login-layout{width:min(1160px,calc(100% - 48px));max-width:none;display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,.8fr);gap:clamp(3rem,7vw,7rem);align-items:start;margin:4rem auto 5rem;padding:0}
body[data-cd-service="account"].login-page .login-layout>main{max-width:520px;width:100%;padding:1rem 0;margin:0}
body[data-cd-service="account"] .portal-auth{max-width:none;padding:0}
body[data-cd-service="account"] .portal-auth-form{display:block;margin-top:2rem}
body[data-cd-service="account"] .portal-auth-form>label{margin:0 0 1.4rem}
body[data-cd-service="account"] .portal-auth-form>button{width:100%;background:var(--cd-native-lime);color:var(--cd-native-ink);border-color:var(--cd-native-lime)}
body[data-cd-service="account"] .portal-auth-form>p{text-align:left;margin-top:1.1rem}
body[data-cd-service="account"] #customer-signin-help{margin-top:1.5rem;padding-top:1rem;border-top:1px solid var(--cd-native-line)}
body[data-cd-service="account"] .cd-account-help{background:#eaf0e3;border:1px solid #d7e3cc;border-radius:22px;padding:clamp(1.5rem,4vw,2.5rem);color:var(--cd-native-ink)}
body[data-cd-service="account"] .cd-account-help .eyebrow{font-size:.7rem;font-weight:750;letter-spacing:.15em;color:#526a4f;margin:0 0 1.3rem}
body[data-cd-service="account"] .cd-account-help h2{font-size:clamp(1.65rem,2.8vw,2.4rem);line-height:1.15;letter-spacing:-.045em;margin:0 0 1.2rem;color:var(--cd-native-ink)}
body[data-cd-service="account"] .cd-account-help>p{font-size:.95rem;line-height:1.7;color:var(--cd-native-muted)}
body[data-cd-service="account"] .cd-account-help nav{display:grid;margin-top:1.8rem;border-top:1px solid #cad9c0}
body[data-cd-service="account"] .cd-account-help nav a{display:grid;gap:.2rem;padding:1rem 0;border-bottom:1px solid #cad9c0;color:var(--cd-native-ink);text-decoration:none;font-weight:700;line-height:1.5}
body[data-cd-service="account"] .cd-account-help nav a:hover{text-decoration:underline;text-underline-offset:.2em}
body[data-cd-service="account"] .cd-account-help nav span{font-size:.83rem;font-weight:450;color:var(--cd-native-muted)}
body[data-cd-service="account"] .cd-account-help .cd-account-free{margin-top:1.5rem;margin-bottom:0;font-size:.8rem}
body[data-cd-service="account"].customer-portal .portal-layout{width:min(1240px,calc(100% - 48px));margin:2.5rem auto 4rem;gap:2rem;padding:0;grid-template-columns:250px minmax(0,1fr)}
body[data-cd-service="account"].customer-portal .portal-main{padding:0;min-width:0}
body[data-cd-service="account"].customer-portal .portal-sidebar{border:1px solid var(--cd-native-line);border-radius:16px;background:#edf2e7;color:var(--cd-native-ink);padding:1.5rem;top:7rem;height:fit-content}
body[data-cd-service="account"] .portal-sidebar :is(a,p,button){color:var(--cd-native-ink)}
body[data-cd-service="account"] .panel-navigation a[aria-current]{background:#d9ebc7;color:var(--cd-native-ink)}
/* Purchase review, access, cancellation/withdrawal and terms share one calm content grid. */
body[data-cd-service="checkout"] .checkout-main{width:min(1160px,calc(100% - 48px));max-width:none;margin:3.5rem auto 4.5rem;padding:0}
body[data-cd-service="checkout"] .purchase-heading{margin:1.75rem 0 2rem}
body[data-cd-service="checkout"] .purchase-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:2rem;align-items:start}
body[data-cd-service="checkout"] :is(.purchase-summary,.purchase-payment){border:1px solid var(--cd-native-line);border-radius:20px;background:#fff;box-shadow:none;padding:clamp(1.5rem,3vw,2.5rem);color:var(--cd-native-ink)}
body[data-cd-service="checkout"] .purchase-summary{background:#eaf0e3}
body[data-cd-service="checkout"] .purchase-price{color:var(--cd-native-ink);font-size:clamp(2.3rem,4vw,3.5rem);letter-spacing:-.055em;line-height:1.2}
body[data-cd-service="checkout"] .purchase-price span{font-size:.85rem;letter-spacing:0;line-height:1.7}
body[data-cd-service="checkout"] :is(.purchase-sites,.purchase-frequency,.purchase-tax,.purchase-includes,.purchase-details,.purchase-renewal){color:var(--cd-native-ink);font-size:.9rem;line-height:1.7}
body[data-cd-service="checkout"] .purchase-access{background:#f3f6ed;border:1px solid #dce7d2;border-radius:12px;padding:1.2rem;margin:1.4rem 0}
body[data-cd-service="checkout"] .purchase-access :is(strong,p){color:var(--cd-native-ink)}
body[data-cd-service="checkout"] .purchase-renewal{background:#f5f7ef;border-left:3px solid #9cb878;padding:1rem;margin:1rem 0}
body[data-cd-service="checkout"] .purchase-submit{width:100%;background:var(--cd-native-lime);border-color:var(--cd-native-lime);color:var(--cd-native-ink)}
body[data-cd-service="checkout"] .checkout-currency{margin:1.5rem 0;align-items:end;gap:.7rem}
body[data-cd-service="checkout"] .brand-legal-text{font:400 1rem/1.85 "Cartdini Manrope",Arial,sans-serif;background:transparent;color:var(--cd-native-ink);border:0;border-radius:0;padding:0;white-space:pre-wrap;margin:0}
body[data-cd-service="checkout"] .checkout-main:has(.brand-legal-text){max-width:900px}
body[data-cd-service="checkout"] .checkout-main>.card:has(.brand-legal-text){padding:clamp(1.5rem,4vw,3rem)}
/* Public support request, privacy, unlock and native error pages. */
body[data-cd-service="support"] main.shell{width:min(1160px,calc(100% - 48px));max-width:none;margin:3.5rem auto 4rem;padding:0}
body[data-cd-service="support"] main>.lede{margin-bottom:1.6rem}
body[data-cd-service="support"] main>.hint{margin:0 0 1.4rem}
body[data-cd-service="support"] .columns{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(280px,.8fr);gap:2rem;align-items:start}
body[data-cd-service="support"] .columns>.card{margin:0}
body[data-cd-service="support"] .columns>aside>.card{background:#eaf0e3;border-color:#d5e0cc}
body[data-cd-service="support"] .field-pair{gap:1.1rem}
body[data-cd-service="support"] .card h2{margin-bottom:1.3rem}
body[data-cd-service="support"] .card .hint{margin:.8rem 0 1.2rem}
body[data-cd-service="support"] .card ol{padding-left:1.4rem}
body[data-cd-service="support"] .card ol li{padding:0 0 .9rem .35rem}
body[data-cd-service="support"] .card ol p{font-size:.9rem;color:var(--cd-native-muted)}
body[data-cd-service="support"] .card .notice{font-size:.875rem}
body[data-cd-service="support"] .contact-email-trigger{display:inline-flex;align-items:center;min-height:36px;border:1px solid #b9cbae;border-radius:8px;background:#edf3e3;padding:.3rem .7rem;color:var(--cd-native-ink);text-decoration:none;font-size:.875rem;font-weight:700}
/* Existing newsletter consent/privacy and operator details retain every word/form. */
body[data-cd-service="newsletter"] .checkout-shell,body[data-cd-service="company"] .checkout-shell{width:min(900px,calc(100% - 48px));max-width:none;margin:3.5rem auto 4rem;padding:0}
body[data-cd-service="newsletter"] .checkout-card,body[data-cd-service="company"] .checkout-card{box-sizing:border-box;width:100%;max-width:none;padding:clamp(1.5rem,4vw,3rem);border:1px solid var(--cd-native-line);border-radius:20px;background:#fff}
body[data-cd-service="newsletter"] .checkout-card>h1,body[data-cd-service="company"] .checkout-card>h1{margin-top:1.2rem;font-size:clamp(1.8rem,3.7vw,3rem)}
body[data-cd-service="newsletter"] .checkout-card h2,body[data-cd-service="company"] .checkout-card h2{margin-top:2rem}
@media(max-width:900px){
 body[data-cd-service="account"].login-page .login-layout{gap:2.5rem;grid-template-columns:minmax(0,1fr);max-width:680px;margin-top:2.5rem}
 body[data-cd-service="account"].login-page .login-layout>main{max-width:none}
 body[data-cd-service="account"].customer-portal .portal-layout{grid-template-columns:minmax(0,1fr)}
 body[data-cd-service="account"].customer-portal .portal-sidebar{position:static}
 body[data-cd-service="support"] .columns,body[data-cd-service="checkout"] .purchase-grid{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:560px){
 body[data-cd-service] main h1{font-size:2rem;letter-spacing:-.04em}
 body[data-cd-service] .cd-native-context>footer{width:calc(100% - 40px);display:block;padding:1.2rem 0 2rem}
 body[data-cd-service] .cd-native-context>footer nav{margin-top:.8rem}
 body[data-cd-service="account"].login-page .login-layout,body[data-cd-service="account"].customer-portal .portal-layout,body[data-cd-service="checkout"] .checkout-main,body[data-cd-service="support"] main.shell,body[data-cd-service="newsletter"] .checkout-shell,body[data-cd-service="company"] .checkout-shell{width:calc(100% - 40px);margin-top:2rem;margin-bottom:3rem}
 body[data-cd-service="support"] .field-pair{grid-template-columns:minmax(0,1fr);gap:0}
 body[data-cd-service="support"] .columns{gap:1.5rem}
 body[data-cd-service="checkout"] .checkout-currency{display:flex;flex-direction:column;align-items:stretch}
 body[data-cd-service] main :is(.card,.panel,.checkout-card){padding:1.25rem}
 body[data-cd-service="checkout"] :is(.purchase-summary,.purchase-payment){padding:1.3rem}
}

/* Resolve native family overrides without changing native state attributes. */
body[data-cd-service][data-site="cartdini"],body[data-cd-service="newsletter"],body[data-cd-service="company"]{background:#f7f8f2;color:#193f33}
body[data-cd-service="support"] .steps li{display:list-item;padding:.2rem 0 1rem .3rem}
body[data-cd-service="support"] .steps li strong,body[data-cd-service="support"] .steps li span{display:block}
body[data-cd-service="support"] .steps li span{margin:.3rem 0 0;font-size:.9rem;color:var(--cd-native-muted)}
