/* Brand guidelines corrections: functional contrast and calm commerce surfaces. */
.site-branding .dsl-brand-logo-link:has(.dsl-approved-logo) { width:90px; height:90px; }
.site-branding .dsl-brand-logo-link img.dsl-approved-logo { width:90px; height:90px; max-height:none; object-fit:contain; }
@media(max-width:880px) {
    .site-branding .dsl-brand-logo-link:has(.dsl-approved-logo) { width:64px; height:64px; }
    .site-branding .dsl-brand-logo-link img.dsl-approved-logo { width:64px; height:64px; }
}
:root {
    --dsl-gold-text:#876600; --dsl-control-border:#737b6c;
    --dsl-radius-field:8px; --dsl-radius-image:12px; --dsl-radius-card:16px;
}
/* Plugin surfaces inherit the same identity without changing financial logic. */
.dsl-affiliate-shell, .dsl-news-shell {
    --dsl-aff-green:var(--dsl-primary); --dsl-aff-deep:var(--dsl-primary-deep,#1f2a16);
    --dsl-aff-muted:var(--dsl-muted); --dsl-aff-radius:var(--dsl-radius-card);
    font-family:var(--dsl-font-body,Inter,sans-serif);
}
.dsl-affiliate-shell .dsl-aff-access {
    width:min(100%,480px); border-radius:var(--dsl-radius-card);
    background:#fff; box-shadow:0 8px 24px rgba(31,42,22,.10);
}
.dsl-affiliate-shell .dsl-aff-form input:not([type=checkbox]):not([type=radio]),
.dsl-affiliate-shell .dsl-aff-form select {
    font-size:16px; border-color:var(--dsl-control-border); border-radius:var(--dsl-radius-field);
}
.dsl-affiliate-shell .dsl-aff-phone-field { border-radius:var(--dsl-radius-field); }
.dsl-affiliate-shell .dsl-aff-button { font-weight:600; border-radius:var(--dsl-radius-field); }
.dsl-affiliate-shell .dsl-aff-profile-form label small { font-size:14px; }
.dsl-affiliate-shell .dsl-aff-program-grid article { border-radius:var(--dsl-radius-card); background:#fff; }
.dsl-affiliate-shell .dsl-aff-program-overview { background:var(--dsl-cream,#f5f2e9); }
.dsl-news-shell .dsl-aff-kicker { color:var(--dsl-gold-text); }
.dsl-affiliate-shell .dsl-aff-access-intro h1,
.dsl-affiliate-shell .dsl-aff-dashboard-head h1 { font-size:clamp(30px,4vw,46px); line-height:1.15; }
.dsl-affiliate-shell .dsl-aff-access h2 { font-size:clamp(24px,3vw,30px); line-height:1.2; }
.dsl-affiliate-shell .dsl-aff-metrics strong { font-family:var(--dsl-font-body,Inter,sans-serif); font-variant-numeric:tabular-nums; }
/* Affiliate operational hierarchy, per the dedicated portal guidelines. */
.dsl-affiliate-shell:not(.dsl-affiliate-shell-guest) { padding-inline:16px; }
.dsl-affiliate-shell .dsl-aff-dashboard-head h1 { font-family:var(--dsl-font-body,Inter,sans-serif); font-size:clamp(28px,3vw,36px); line-height:1.2; overflow-wrap:anywhere; }
.dsl-affiliate-shell .dsl-aff-profile-card h2,
.dsl-affiliate-shell .dsl-aff-payout-card h2,
.dsl-affiliate-shell .dsl-aff-table-section h2,
.dsl-affiliate-shell .dsl-aff-program-copy h2 { font-family:var(--dsl-font-body,Inter,sans-serif); font-size:clamp(24px,2.5vw,30px); line-height:1.25; }
.dsl-affiliate-shell .dsl-aff-metrics { grid-template-columns:repeat(3,minmax(0,1fr)); }
.dsl-affiliate-shell .dsl-aff-metrics article:nth-child(n) { grid-column:auto; min-width:0; }
.dsl-affiliate-shell .dsl-aff-metrics strong { font-size:clamp(24px,2.5vw,36px); overflow-wrap:anywhere; }
.dsl-affiliate-shell .dsl-aff-metrics span,
.dsl-affiliate-shell .dsl-aff-metrics small,
.dsl-affiliate-shell .dsl-aff-phone-field > small,
.dsl-affiliate-shell .dsl-aff-program-grid span,
.dsl-affiliate-shell .dsl-aff-program-note,
.dsl-affiliate-shell .dsl-aff-terms p,
.dsl-affiliate-shell .dsl-aff-linkbox span { font-size:14px; line-height:1.5; }
.dsl-affiliate-shell .dsl-aff-linkbox strong { white-space:normal; overflow-wrap:anywhere; text-overflow:clip; }
.dsl-affiliate-shell .dsl-aff-table-wrap { max-width:100%; overscroll-behavior-x:contain; }
.dsl-affiliate-shell .dsl-aff-table-wrap th { font-size:14px; text-transform:none; font-weight:600; }
.dsl-affiliate-shell .dsl-aff-table-wrap td { font-size:14px; line-height:1.5; }
.dsl-affiliate-shell .dsl-aff-tabs button,
.dsl-affiliate-shell .dsl-aff-status,
.dsl-affiliate-shell .dsl-aff-terms summary { font-weight:600; }
.dsl-affiliate-shell .dsl-aff-head-actions { flex-wrap:wrap; }
.dsl-affiliate-shell .dsl-aff-user-intro > div { min-width:0; }
.dsl-affiliate-shell .dsl-aff-notice { overflow-wrap:anywhere; }
.dsl-affiliate-shell .dsl-aff-program-overview::after { display:none; }
.dsl-affiliate-shell :is(button,a,input,select,summary):focus-visible { outline:2px solid var(--dsl-aff-green); outline-offset:3px; }
.dsl-affiliate-shell .dsl-aff-dashboard-head a:focus-visible { outline-color:var(--dsl-gold-light,#e0c878); }
@media(max-width:900px) { .dsl-affiliate-shell .dsl-aff-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:640px) { .dsl-affiliate-shell .dsl-aff-metrics { grid-template-columns:1fr; } }
@media(max-width:480px) {
    .dsl-affiliate-shell-guest { padding-inline:16px; }
    .dsl-news-shell { padding-inline:16px; }
}
.dslx-section-label span,
.dslx-story-heading .dslx-eyebrow,
.dslx-purpose-card .dslx-eyebrow,
.dslx-offer-number,
.dslh-label span,
.dslf-label,
.dslf-topic-card > span,
.dslf-faq-item summary > span,
.dsl-404-kicker,
.is-style-dslush-kicker { color:var(--dsl-gold-text); }
.woocommerce .star-rating,
.woocommerce .star-rating span::before,
.woocommerce p.stars a::before,
.dsl-rev-bar-label i,
.dsl-review-stars { color:var(--dsl-gold-text)!important; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible, summary:focus-visible { outline:2px solid var(--dsl-primary); outline-offset:3px; }
.site-footer a:focus-visible, .dsl-announcement a:focus-visible { outline-color:var(--dsl-gold-light); }
.woocommerce form input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=submit]),
.woocommerce form select, .woocommerce form textarea,
.dsl-form-card input:not([type=checkbox]):not([type=radio]), .dsl-form-card select, .dsl-form-card textarea {
    border-color:var(--dsl-control-border); border-radius:8px; font-size:16px; min-height:44px;
}
.dsl-field-hint, .dslp-custom-intro, .dslp-reference-help, .dslp-reference-heading span,
.dsl-slots-note, .dslp-meta, .dslp-variation-note { font-size:14px; }
.dslp-file-trigger { font-size:14px; min-height:44px; }
.dsl-form-card,
.woocommerce div.product .summary,
.woocommerce div.product .woocommerce-product-gallery,
.woocommerce-cart .cart_totals,
.woocommerce-checkout form.checkout,
.woocommerce-account .woocommerce-MyAccount-content {
    animation:none!important; translate:none!important; will-change:auto;
    backdrop-filter:none!important; -webkit-backdrop-filter:none!important;
}
.woocommerce div.product .dslp-summary, .dsl-form-card { background:#fff; border-radius:16px; }
.woocommerce-product-gallery__wrapper { border-radius:12px; }
.woocommerce div.product .dslp-summary .product_title { font-size:clamp(34px,3.4vw,46px); line-height:1.15; }
.woocommerce .button { min-height:44px; }
@media(max-width:880px) {
    html { overflow-x:clip; }
    .main-navigation { visibility:hidden; pointer-events:none; transition:transform .3s ease,visibility 0s .3s; }
    .main-navigation.dsl-open { visibility:visible; pointer-events:auto; transition-delay:0s; }
}
@media(prefers-reduced-motion:reduce) {
    .main-navigation, .main-navigation.dsl-open { transition:none; }
}
