/* Shared public surfaces: same geometry in both palettes. */
html.dp-public .stamp-user-rating{color:var(--dp-text,#19212f)!important}
html.dp-public .stamp-user-rating .ti-star-filled{color:#ecb447}
html.dp-public .widget-shops-item-link{display:block;height:100%;color:var(--dp-text,#19212f)}
html.dp-public .widget-shops-item{height:100%;padding:24px 18px;border:1px solid var(--dp-line,#e1e5ef);border-radius:20px;background:var(--dp-panel,#fff);transition:border-color .18s,transform .18s,box-shadow .18s}
html.dp-public .widget-shops-item-content-title{color:var(--dp-text,#19212f)}
html.dp-public .widget-shops-item-content-count{color:var(--dp-muted,#637089)}
html.dp-public .params-buttons-sticky{background:transparent!important}
/* Tariff markup has its own fixed light colours; bind every text role to the palette. */
html.dp-public .pricing-card{background:var(--dp-panel,#fff)!important;border-color:var(--dp-line,#e1e5ef)!important;color:var(--dp-text,#19212f)!important}
html.dp-public .pricing-card.featured{border-color:var(--dp-accent,#3565eb)!important}
html.dp-public .pricing-card :is(.plan-name,.plan-price,.tariffs-list-item-price-now,.plan-features li,.plan-features li>div){color:var(--dp-text,#19212f)!important}
html.dp-public .pricing-card :is(.plan-desc,.tariffs-list-item-price-title,.tariffs-list-item-text){color:var(--dp-muted,#637089)!important}
html.dp-public[data-dp-theme] body:has(.promo-trial-banner) .promo-left h3{color:#f7f9ff!important}
html.dp-public[data-dp-theme] body:has(.promo-trial-banner) .promo-left p{color:#cbd4e4!important}
/* Listing detail: compact, readable properties and a clear purchase hierarchy. */
html.dp-public .ad-card-list-properties{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px}
html.dp-public .ad-card-list-properties>.list-properties-item{min-width:0;display:flex;flex-wrap:wrap;align-items:baseline;gap:5px 12px;padding:12px 0;color:var(--dp-text,#19212f)}
html.dp-public .ad-card-list-properties>.list-properties-item>span{color:var(--dp-muted,#637089);font-size:13px;min-width:100px}
html.dp-public .ad-card-content-item .text-break-word{color:var(--dp-text,#19212f);line-height:1.75;margin-bottom:0}
html.dp-public .ad-card-content-item .text-break-word :is(p,span,div,font){color:inherit!important;background-color:transparent!important}
html.dp-public .ad-card-content-item .text-break-word a{color:var(--dp-link,#3565eb)!important}
html.dp-public .ad-card-content-item .text-break-word :is(pre,code){background:var(--dp-panel-raised,#f0f3fa)!important;color:var(--dp-text,#19212f)!important;max-width:100%;overflow:auto}
html.dp-public .ad-card-content-item .text-break-word img{max-width:100%;height:auto}
html.dp-public .ad-card-content-item .text-break-word table{display:block;max-width:100%;overflow-x:auto}
html.dp-public .ad-card-prices{font-variant-numeric:tabular-nums;margin-bottom:18px}
html.dp-public .ad-card-action-buttons{display:grid;gap:10px}
html.dp-public .ad-card-action-buttons>*{margin:0!important;border-radius:12px;min-height:44px}
html.dp-public .ad-card-buy-now{display:flex;flex-direction:column;justify-content:center;gap:5px;padding:12px 14px;line-height:1.3}
html.dp-public .ad-card-buy-now>span{position:static!important;display:flex;align-items:center;justify-content:center;gap:5px;transform:none!important;margin:0!important;padding:0!important;background:transparent!important;color:#fff!important;font-size:11px;font-weight:400;opacity:.85}
html.dp-public .ad-card-action-buttons>.actionAddToCart{background:var(--dp-panel-raised,#f0f3fa)!important;color:var(--dp-text,#19212f)!important;border:1px solid var(--dp-line,#e1e5ef)}
html.dp-public :is(.ad-card-media-slider-nav-left,.ad-card-media-slider-nav-right){background:var(--dp-panel,#fff)!important;color:var(--dp-text,#19212f)!important;border:1px solid var(--dp-line,#e1e5ef)}
html.dp-public .ad-card-user-content .stamp-user-rating i{color:#ecb447}
html.dp-public :is(.form-control,.form-select,textarea):focus-visible{outline:2px solid var(--dp-accent,#3565eb);outline-offset:2px}
@media(hover:hover) and (pointer:fine){html.dp-public .widget-shops-item-link:hover .widget-shops-item{transform:translateY(-3px);border-color:var(--dp-accent,#3565eb);box-shadow:0 10px 26px #10264b15}html.dp-public .ad-card-action-buttons>.actionAddToCart:hover{border-color:var(--dp-accent,#3565eb);color:var(--dp-link,#3565eb)!important}}
@media(max-width:767px){html.dp-public .ad-card-list-properties{grid-template-columns:minmax(0,1fr);gap:0}html.dp-public .widget-shops-item{padding:18px 12px}html.dp-public .ad-card-action-buttons>*{min-height:46px}}
@media(prefers-reduced-motion:reduce){html.dp-public .widget-shops-item{transition:none;transform:none!important}}

html.dp-public[data-dp-theme] body:has(.shield-card) .shield-card h3{color:#fff!important}
html.dp-public[data-dp-theme] body:has(.shield-card) .shield-card p{color:#e1eaff!important}

/* Profile verification should retain its green confirmation mark in both modes. */
html.dp-public .dp-verification-card__icon{background:color-mix(in srgb,#2bb981 14%,var(--dp-panel,#fff))!important;color:#249d70!important;border:1px solid #2bb98135!important}
html.dp-public .dp-verification-card__icon .ti{color:#249d70!important;font-size:26px}
html.dp-public[data-dp-theme] body:has(a.button-main) a.button-main{color:#fff!important}
/* Wallet labels and separators must not inherit fixed light-palette ink. */
html.dp-public .payment-card{border:1px solid var(--dp-line,#e1e5ef)!important;background:var(--dp-panel,#fff)!important;color:var(--dp-text,#19212f)}
html.dp-public .payment-card .card-title{color:var(--dp-text,#19212f)!important}
html.dp-public .payment-card :is(.field-label,.card-description){color:var(--dp-muted,#637089)!important}
html.dp-public .amount-input{background:var(--dp-panel-raised,#f0f3fa)!important;border-color:var(--dp-line,#e1e5ef)!important;color:var(--dp-text,#19212f)!important}
html.dp-public .amount-input input{color:var(--dp-text,#19212f)!important;background:transparent!important}
html.dp-public .catalog-section{background:transparent!important}
/* Help centre custom markup shares the same palette as the public template. */
html.dp-public body:has(.help-card) .hero__links a{background:var(--dp-panel-raised,#f0f3fa)!important;border:1px solid var(--dp-line,#e1e5ef);color:var(--dp-text,#19212f)!important}
html.dp-public body:has(.help-card) :is(.help-card,.faq-item){background:var(--dp-panel,#fff)!important;border-color:var(--dp-line,#e1e5ef)!important;color:var(--dp-text,#19212f)!important}
html.dp-public body:has(.help-card) :is(.faq-question,.faq-question span,.contact-info__item,.contact-info__item a){color:var(--dp-text,#19212f)!important}
html.dp-public body:has(.help-card) :is(.help-card p,.faq-answer,.section-desc,.section-eyebrow,.contact-info__item p){color:var(--dp-muted,#637089)!important}
html.dp-public body:has(.help-card) .hero__links a:is(:hover,:focus-visible){border-color:var(--dp-accent,#3565eb);color:var(--dp-link,#3565eb)!important}
html.dp-public body:has(.help-card) .faq-section{background:transparent!important}
html.dp-public body:has(.help-card) :is(.contact-card--info,.faq-note){background:var(--dp-panel,#fff)!important;border-color:var(--dp-line,#e1e5ef)!important;color:var(--dp-text,#19212f)!important}
html.dp-public body:has(.help-card) .faq-note strong{color:var(--dp-link,#3565eb)!important}
html.dp-public body:has(.help-card) .faq-note p{color:var(--dp-muted,#637089)!important}
html.dp-public[data-dp-theme] body:has(.help-card) .contact-card--main :is(h2,h3,p,.messenger){color:#fff!important}
html.dp-public body:has(.help-card) .messenger *{color:inherit!important}
html.dp-public body:has(.help-card) :is(.help-card__link,.faq-note strong){color:color-mix(in srgb,var(--dp-accent,#3565eb) 65%,var(--dp-text,#19212f))!important}
html.dp-public body:has(.help-card) :is(.section__heading p,.section__eyebrow){color:var(--dp-muted,#637089)!important}
html.dp-public body:has(.help-card) .faq-section{border-color:var(--dp-line,#e1e5ef)!important}

/* Page audit 2026-11-07: text roles follow the selected palette, without layout changes. */
html.dp-public[data-dp-theme] .dp-statistics,
html.dp-public[data-dp-theme] .dp-statistics__number{color:var(--dp-text,#19212f)!important}
html.dp-public[data-dp-theme] .dp-statistics :is(dt,.dp-statistics__period,.dp-statistics__live){color:var(--dp-muted,#637089)!important}
html.dp-public .dp-statistics,html.dp-public .dp-statistics__item{border-color:var(--dp-line,#e1e5ef)!important}
html.dp-public .dp-statistics__delta{background:#dcf5e8!important;color:#146342!important}
html.dp-public.dp-timeweb .dp-statistics__delta{background:#183b30!important;color:#96e5bc!important}
html.dp-public .market-footer__copyright,html.dp-public .market-footer__copyright>div{color:var(--dp-muted,#637089)!important}
html.dp-public[data-dp-theme] .section-promo-download-app :is(p,.title-h2){color:var(--dp-text,#19212f)!important}
/* Public shop and seller pages used custom light-only panels. */
html.dp-public .info-card,html.dp-public .profile-container-shop-list-item{background:var(--dp-panel,#fff)!important;color:var(--dp-text,#19212f)!important;border-color:var(--dp-line,#e1e5ef)!important}
html.dp-public .info-card p{color:var(--dp-muted,#637089)!important}
html.dp-public .info-card .contact a{color:var(--dp-link,var(--dp-accent,#3565eb))!important}
html.dp-public :is(.rating-score,.stat-block__value){color:var(--dp-text,#19212f)!important}
html.dp-public :is(.profile-info__meta,.stat-block__label,.shop-meta,.plan-card__date,.plan-card__label){color:var(--dp-muted,#637089)!important}
/* Filters: label, expanded list, search field and selection use the same surfaces. */
html.dp-public :is(.uni-select-name,.uni-select-content){background:var(--dp-panel,#fff)!important;color:var(--dp-text,#19212f)!important;border:1px solid var(--dp-line,#e1e5ef)}
html.dp-public :is(.uni-select-content-search,.uni-select-content-input) input{background:var(--dp-panel-raised,#f0f3fa)!important;color:var(--dp-text,#19212f)!important;border-color:var(--dp-line,#e1e5ef)!important}
html.dp-public .uni-select-content-item{color:var(--dp-text,#19212f)!important}
html.dp-public .uni-select-content-item:is(:hover,.uni-select-item-active){background:var(--dp-panel-raised,#f0f3fa)!important}
html.dp-public .uni-select-name::after{content:"";width:8px;height:8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);top:18px;right:18px}
html.dp-public .switch-label{color:var(--dp-muted,#637089)!important}
/* Custom FAQ sections on auctions, secure deals and help must share the palette. */
html.dp-public[data-dp-theme] .faq-section{background:transparent!important;border-color:var(--dp-line,#e1e5ef)!important}
html.dp-public[data-dp-theme] .faq-item{background:var(--dp-panel,#fff)!important;border-color:var(--dp-line,#e1e5ef)!important}
html.dp-public[data-dp-theme] :is(.faq-question,.faq-question span,.section-title-box h2){color:var(--dp-text,#19212f)!important}
html.dp-public[data-dp-theme] .faq-answer{color:var(--dp-muted,#637089)!important}
html.dp-public[data-dp-theme] .protection-content h2{color:#f7f9ff!important}
html.dp-public[data-dp-theme] .protection-content p{color:#d8e3f3!important}
html.dp-public[data-dp-theme] body:has(.help-card) .contact-info__item strong{color:var(--dp-text,#19212f)!important}
html.dp-public[data-dp-theme] body:has(.help-card) .contact-info__item span{color:var(--dp-muted,#637089)!important}
html.dp-public .article-lead{color:var(--dp-muted,#637089)!important}
html.dp-public:not(.dp-timeweb) .article-heading .category-label{color:#2451bd!important}
html.dp-public .tariffs-list-item-price-old{color:var(--dp-muted,#637089)!important}
html.dp-public:not(.dp-timeweb) :is(.step-num,.step-number b,.step .tag){color:#2451bd!important}
/* Settings selected state needs button ink, rather than the ordinary link colour. */
html.dp-public[data-dp-theme] .profile-settings-sections>a.active,
html.dp-public[data-dp-theme] .profile-settings-sections>a.active :is(div,i),
html.dp-public[data-dp-theme] .dp-profile-language__option[aria-current="true"],
html.dp-public[data-dp-theme] .dp-profile-language__option[aria-current="true"] i{color:#fff!important}
html.dp-public .profile-referral-container{background:var(--dp-panel,#fff)!important;border:1px solid var(--dp-line,#e1e5ef);color:var(--dp-text,#19212f)!important;overflow-wrap:anywhere}
html.dp-public .profile-referral-container :is(p,strong,span){color:inherit!important}
html.dp-public[data-dp-theme] .profile-referral-container a{color:var(--dp-link,var(--dp-accent,#3565eb))!important}
html.dp-public :is(.option-payment-item-name span,.container-item-grid-content-additionally>span,.chat-dialogues-item-content-message){color:var(--dp-muted,#637089)!important}
html.dp-public :is(.dp-favorites-count,.chat-dialogues-item-content-count-messages){background:#ce294b!important;color:#fff!important}
html.dp-public:not(.dp-timeweb) .card-item-price-old{color:#c6284b!important}
/* Overlay text remains readable on both actual media and CSS placeholders. */
html.dp-public .card-story-preview>.position-absolute.bottom-0{background:linear-gradient(transparent,rgba(8,13,35,.93));padding-top:38px!important}
html.dp-public[data-dp-theme] .card-story-preview .fw-bold{color:#fff!important}
html.dp-public .card-story-preview .text-white-70{color:#d9e1f2!important}
html.dp-public .card-img-wrapper>.position-absolute.bottom-0.text-light{color:#fff!important;background:linear-gradient(transparent,rgba(8,13,35,.88));padding-top:30px!important;width:100%}
html.dp-public .dp-category-arrow{color:var(--dp-muted,#637089)!important}
/* Lower sections and expanded states found during the second pass. */
html.dp-public .profile-container-shop-list{background:var(--dp-panel,#fff)!important;border-color:var(--dp-line,#e1e5ef)!important}
html.dp-public :is(.profile-container-shop-list-content-category,.store-meta>span){color:var(--dp-muted,#637089)!important}
html.dp-public .versus-section{background:transparent!important}
html.dp-public[data-dp-theme] :is(.section-header p,.section-head p){color:var(--dp-muted,#637089)!important}
html.dp-public[data-dp-theme] .btn.btn-accent{color:#fff!important}
html.dp-public.dp-timeweb :is(.step-num,.bento-icon){color:#c4d4ff!important}
html.dp-public .filter-button-item{background:var(--dp-panel,#fff)!important;border-color:var(--dp-line,#e1e5ef)!important;color:var(--dp-text,#19212f)!important}
html.dp-public .filter-button-item span{color:inherit!important}
html.dp-public .filter-button-item:has(input:checked){background:var(--dp-panel-raised,#f0f3fa)!important;border-color:var(--dp-accent,#3565eb)!important}
html.dp-public.dp-timeweb :is(.info-card .contact a,.profile-referral-container a){color:color-mix(in srgb,var(--dp-accent,#3565eb) 40%,var(--dp-text,#f5f7ff))!important}
html.dp-public .amount-input>span{color:var(--dp-text,#19212f)!important}
html.dp-public .badge-custom-article{background:#3155ae!important;color:#fff!important}
html.dp-public:not(.dp-timeweb) .float-card>span{color:#14774e!important}
/* Trust/demonstration cards and review labels on listing details. */
html.dp-public.dp-timeweb .ad-card-content-info-box{background:#16392e!important;color:#e1ffef!important;box-shadow:inset 0 0 0 1px #32634f}
html.dp-public.dp-timeweb .ad-card-content-info-box :is(strong,p,span){color:inherit!important}
html.dp-public .label-info-rating-by-color.color-rating-green{background:#187348!important;color:#fff!important}
html.dp-public .label-info-rating-by-color.color-rating-green span{color:#fff!important}
html.dp-public .avatar-count{background:var(--dp-panel-raised,#f0f3fa)!important;color:var(--dp-text,#19212f)!important;border-color:var(--dp-line,#e1e5ef)!important}
html.dp-public.dp-timeweb .my-tabs-item.active,
html.dp-public.dp-timeweb .my-tabs-item.active span{color:color-mix(in srgb,var(--dp-accent,#3565eb) 40%,var(--dp-text,#f5f7ff))!important}
html.dp-public[data-dp-theme] .label-info-rating-by-color.color-rating-green{background-color:#187348!important;color:#fff!important}
/* Muted dividers keep the store summary consistent with the rest of the site. */
html.dp-public :is(.store-card,.store-statistics,.store-rating,.store-stat){border-color:var(--dp-line,#e1e5ef)!important}
html.dp-public .chat-dialogues-item-date{color:var(--dp-muted,#637089)!important}

/* Only page-level section wrappers reveal the background; content panels keep their surfaces. */
html.dp-public[data-dp-theme] .flex-wrapper>section.section,
html.dp-public[data-dp-theme] :is(.faq-section,.catalog-section,.versus-section){background:transparent!important;box-shadow:none!important}

/* Compact header; retain space for the publication bonus above its button. */
html.dp-public[data-dp-theme] .dp-site-header{padding-block-start:14px!important}
@media(min-width:992px){html.dp-public .dp-site-header .dp-header-inner{padding-block:4px!important;min-height:56px!important}}
@media(max-width:991px){html.dp-public[data-dp-theme] .dp-site-header{padding-block-start:8px!important}html.dp-public .dp-site-header .dp-header-inner{padding-block:8px!important}}

/* Refine only the compact public header; all palette values remain theme driven. */
html.dp-public .dp-site-header{box-shadow:0 1px 0 var(--dp-header-line,#dfe4ed),0 8px 24px #06132b08}
html.dp-public .dp-site-header .dp-header-search .live-search-form-input{
 background:color-mix(in srgb,var(--dp-header-field,#f0f3fa) 60%,var(--dp-header-bg,#f7f8fc))!important;
 border-color:color-mix(in srgb,var(--dp-header-line,#dfe4ed) 80%,var(--dp-header-field,#f0f3fa))!important;
 border-radius:12px;transition:border-color .16s ease,box-shadow .16s ease,background-color .16s ease;
}
html.dp-public .dp-site-header .dp-header-search .live-search-form-input:focus{
 border-color:var(--dp-accent,#3565eb)!important;
 box-shadow:0 0 0 3px color-mix(in srgb,var(--dp-accent,#3565eb) 13%,transparent)!important;outline:none;
}
html.dp-public .dp-site-header .live-search-form-icon{color:var(--dp-header-blue,#3565eb)}
html.dp-public .dp-site-header .dp-header-catalog{
 background:color-mix(in srgb,var(--dp-header-field,#f0f3fa) 45%,var(--dp-header-bg,#f7f8fc));
 border-radius:12px;box-shadow:inset 0 1px 0 #ffffff08;
 transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease;
}
html.dp-public .dp-site-header .dp-header-catalog>i{color:var(--dp-header-blue,#3565eb)}
html.dp-public .dp-site-header .dp-header-add{box-shadow:inset 0 1px 0 #ffffff35,0 3px 10px color-mix(in srgb,var(--dp-accent,#3565eb) 18%,transparent);transition:box-shadow .16s ease,filter .16s ease}
html.dp-public .dp-site-header :is(.dp-header-icon,.dp-burger-trigger,.dp-header-signin){border-radius:11px;transition:color .16s ease,background-color .16s ease,border-color .16s ease}
html.dp-public .dp-site-header .dp-header-signin{border-color:var(--dp-header-line,#dfe4ed);font-weight:500}
html.dp-public .dp-site-header :is(.dp-header-icon,.dp-burger-trigger,.dp-header-signin,.dp-header-catalog):focus-visible{outline:2px solid var(--dp-accent,#3565eb);outline-offset:3px}
@media(hover:hover) and (pointer:fine){
 html.dp-public .dp-site-header :is(.dp-header-icon,.dp-burger-trigger,.dp-header-signin):hover{background:color-mix(in srgb,var(--dp-accent,#3565eb) 9%,transparent);color:var(--dp-header-blue,#3565eb)}
 html.dp-public .dp-site-header .dp-header-catalog:hover{border-color:color-mix(in srgb,var(--dp-accent,#3565eb) 55%,var(--dp-header-line,#dfe4ed));background:color-mix(in srgb,var(--dp-accent,#3565eb) 8%,var(--dp-header-bg,#f7f8fc))}
 html.dp-public .dp-site-header .dp-header-add:hover{filter:brightness(1.05);box-shadow:inset 0 1px 0 #ffffff35,0 4px 14px color-mix(in srgb,var(--dp-accent,#3565eb) 28%,transparent)}
}
@media(prefers-reduced-motion:reduce){html.dp-public .dp-site-header *{transition:none!important}}
