/* V220 role contract: text/nav=ink; primary actions=blue; date/filter=gray;
   purchase=yellow; upload progress=blue; completion check=green.
   Do not replace colors across raw HTML/CSS/JS or infer role from text color. */
:root{--cm-primary220:#0071e3;--cm-primary-hover220:#0066cc;--cm-text220:#1d1d1f;--svm-action:#0071e3;--svm-link:#1d1d1f;--svm-action-hover:#f5f5f7}
html[data-cm-role-palette="220"] [data-cm-role152]{--cmText152:#1d1d1f;--cmBg152:transparent;--cmBorder152:#d2d2d7;--cmDecoration152:none}
html[data-cm-role-palette="220"] [data-cm-role152=primary]{--cmText152:#fff;--cmBg152:#0071e3;--cmBorder152:#0071e3}
html[data-cm-role-palette="220"] [data-cm-role152=primary]:hover:not(:disabled){--cmBg152:#0066cc;--cmBorder152:#0066cc}
html[data-cm-role-palette="220"] [data-cm-role152=secondary]{--cmText152:#333336;--cmBg152:#fff;--cmBorder152:#d2d2d7}
html[data-cm-role-palette="220"] [data-cm-role152=secondary]:hover:not(:disabled){--cmBg152:#f5f5f7}
html[data-cm-role-palette="220"] [data-cm-role152=tab]{--cmText152:#515154;--cmBg152:#f5f5f7;--cmBorder152:#e2e2e5}
html[data-cm-role-palette="220"] [data-cm-role152=tab]:is(.active,.selected,[aria-pressed=true],[aria-selected=true]){--cmText152:#1d1d1f;--cmBg152:#e8e8ed;--cmBorder152:#bfc0c5}
html[data-cm-role-palette="220"] [data-cm-role152=nav]{--cmText152:#424245;--cmBg152:transparent;--cmBorder152:#e2e2e5}
html[data-cm-role-palette="220"] [data-cm-role152=nav]:is(.active,.current,[aria-current=page]){--cmText152:#1d1d1f;--cmBg152:#e8e8ed;--cmBorder152:#d2d2d7}
html:is(#svm-type-root,[data-cm-role-palette="220"])[data-cm-role-palette="220"] body .phone .mode-tabs a.active{color:#1d1d1f!important;-webkit-text-fill-color:#1d1d1f!important;background-color:#e8e8ed!important;border-color:#d2d2d7!important}
html[data-cm-role-palette="220"] [data-cm-role152=footer]{--cmText152:#515154}
/* Static footer navigation has the same semantic color before role hydration. */
html[data-cm-role-palette="220"] body .phone footer :is(nav,.footlinks,.foot-links,.svm-footer-brand) a{color:#515154!important;-webkit-text-fill-color:#515154!important}
html[data-cm-role-palette="220"] [data-cm-role152]:is([data-cm-role152=link],[data-cm-role152=aux]):hover:not(:disabled){--cmText152:#333336;--cmDecoration152:underline}
html[data-cm-role-palette="220"] [data-cm-role152]:is(:disabled,[aria-disabled=true]){--cmText152:#86868b;--cmBg152:#e8e8ed;--cmBorder152:#e2e2e5;--cmDecoration152:none}
html:is(#svm-type-root,[data-cm-role-palette="220"])[data-cm-role-palette="220"] body .phone :is(.primary,.save,.blue-button,.black-button,.new-listing,.search-button,.signup-next,.signup-login,.flow-primary,.flow79-next,.seller-pc-upload,.pc-upload,#authNext,#loginNext,#signupNext,#contact-submit,#smsNext,#flow79Next,.request-submit):not(:disabled):not([aria-disabled=true]):not(.checkout):not(.flow-yellow):not(.danger):not(.remove):not(.stop-button):not(.error):not(.warning):not(.success){background:#0071e3!important;background-image:none!important;border-color:#0071e3!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
html:is(#svm-type-root,[data-cm-role-palette="220"])[data-cm-role-palette="220"] body .phone :is(.primary,.save,.blue-button,.black-button,.new-listing,.search-button,.signup-next,.signup-login,.flow-primary,.flow79-next,.seller-pc-upload,.pc-upload,#authNext,#loginNext,#signupNext,#contact-submit,#smsNext,#flow79Next,.request-submit):not(:disabled):not([aria-disabled=true]):not(.checkout):not(.flow-yellow):not(.danger):not(.remove):not(.stop-button):not(.error):not(.warning):not(.success):hover{background:#0066cc!important;border-color:#0066cc!important}
html:is(#svm-type-root,[data-cm-role-palette="220"])[data-cm-role-palette="220"] body .phone :is(.primary,.save,.signup-next,.search-button,.blue-button,#authNext,#loginNext,#signupNext,#contact-submit,#smsNext,#flow79Next):is(:disabled,[aria-disabled=true]){background:#e8e8ed!important;border-color:#d2d2d7!important;color:#86868b!important;-webkit-text-fill-color:#86868b!important}
html:is(#svm-type-root,[data-cm-role-palette="220"])[data-cm-role-palette="220"] body .phone :is(.date-shortcuts,.buyer-date-shortcuts,.quick-dates) button:not(:disabled){background:#f5f5f7!important;border-color:#d2d2d7!important;color:#515154!important;-webkit-text-fill-color:#515154!important}
html:is(#svm-type-root,[data-cm-role-palette="220"])[data-cm-role-palette="220"] body .phone :is(.date-shortcuts,.buyer-date-shortcuts,.quick-dates) button:is(.active,.selected,[aria-pressed=true],[aria-selected=true]):not(:disabled){background:#e8e8ed!important;border-color:#bfc0c5!important;color:#1d1d1f!important;-webkit-text-fill-color:#1d1d1f!important}
html:is(#svm-type-root,[data-cm-role-palette="220"])[data-cm-role-palette="220"] body .phone :is(.date-shortcuts,.buyer-date-shortcuts,.quick-dates) button:hover:not(:disabled){background:#dedee2!important}
html[data-cm-role-palette="220"] #cm-floating-upload190{--cmText152:#fff;--cmBg152:#0071e3;--cmBorder152:#0071e3;background-color:#0071e3!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
html[data-cm-role-palette="220"] #cm-floating-upload190:hover{background-color:#0066cc!important}
@layer cmPublic148{
 html[data-cm-role-palette="220"][data-cm-public148] [data-cm-role148=link]{color:#1d1d1f!important;-webkit-text-fill-color:#1d1d1f!important}
 html[data-cm-role-palette="220"][data-cm-public148] [data-cm-role148=link]:hover{color:#333336!important;-webkit-text-fill-color:#333336!important}
 html[data-cm-role-palette="220"][data-cm-public148] [data-cm-role148=secondary]{color:#333336!important;-webkit-text-fill-color:#333336!important;border-color:#d2d2d7!important}
}

/* V221: neutralize only the seven audited residual families; preserve all dimensions and semantic colors. */
html:is(#svm-type-root,[data-cm-role-palette="220"])[data-cm-role-palette="220"] body .phone main #tabs.tabs[data-cm-status-tabs180] button.tab[onclick="setTab('draft')"]{background:#f5f5f7!important;border-color:#d2d2d7!important;color:#515154!important;-webkit-text-fill-color:#515154!important}
html:is(#svm-type-root,[data-cm-role-palette="220"])[data-cm-role-palette="220"] body .phone main #tabs.tabs[data-cm-status-tabs180] button.tab[onclick="setTab('draft')"] small{color:#6e6e73!important;-webkit-text-fill-color:#6e6e73!important}
html:is(#svm-type-root,[data-cm-role-palette="220"])[data-cm-role-palette="220"] body .phone .status.draft{background:#f5f5f7!important;border-color:#d2d2d7!important;color:#515154!important;-webkit-text-fill-color:#515154!important}
html:is(#svm-type-root,[data-cm-role-palette="220"])[data-cm-role-palette="220"] body .phone main.signup-flow{border-color:#d2d2d7!important;box-shadow:0 12px 40px #00000006!important}
html:is(#svm-type-root,[data-cm-role-palette="220"])[data-cm-role-palette="220"] body .phone main.signup-flow input:not([type=checkbox]):not([type=radio]):not(:focus):not([aria-invalid=true]){border-color:#d2d2d7!important}
html:is(#svm-type-root,[data-cm-role-palette="220"])[data-cm-role-palette="220"] body .phone main.signup-flow input:not([type=checkbox]):not([type=radio]):focus:not([aria-invalid=true]){border-color:#0071e3!important;outline-color:#0071e3!important}
html:is(#svm-type-root,[data-cm-role-palette="220"])[data-cm-role-palette="220"] body .phone .flow47 :is(#authGuide,.flow-cart-row){border-bottom-color:#d2d2d7!important}
html:is(#svm-type-root,[data-cm-role-palette="220"])[data-cm-role-palette="220"] body .phone #privacyAuth63.cm-auth-note{background:#f5f5f7!important}
html:is(#svm-type-root,[data-cm-role-palette="220"])[data-cm-role-palette="220"] body .phone .ranking .avatar{background:#e8e8ed!important;color:#515154!important}
html:is(#svm-type-root,[data-cm-role-palette="220"])[data-cm-role-palette="220"] body .phone #find .search-card{box-shadow:0 8px 25px rgba(0,0,0,.063)!important}
html:is(#svm-type-root,[data-cm-role-palette="220"])[data-cm-role-palette="220"] body .phone #paymentDemo.flow-yellow{color:#1d1d1f!important;-webkit-text-fill-color:#1d1d1f!important}


/* V224: neutral surfaces/text; one action/progress blue. Geometry is unchanged. */
html[data-cm-role-palette="220"] body .phone :is(.svm-account-trigger,#accountButton)>svg,
html[data-cm-role-palette="220"] body .phone :is(.svm-account-trigger,#accountButton)>svg *{stroke:#6e6e73!important}
html[data-cm-role-palette="220"] body .phone.svm-buyer-purchased .status strong{color:#333336!important}
html[data-cm-role-palette="220"] body .phone.svm-buyer-purchased .status small{color:#86868b!important}
html[data-cm-role-palette="220"] body .phone.svm-buyer-purchased .status-detail{color:#6e6e73!important}
html[data-cm-role-palette="220"] body .phone #tabs.tabs button.tab[onclick="setTab('selling')"]{--cmText152:#333336;--cmBorder152:#d2d2d7;color:#333336!important;border-color:#d2d2d7!important}
html[data-cm-role-palette="220"] body .phone #tabs.tabs button.tab[onclick="setTab('selling')"].active{--cmBg152:#e8e8ed;background:#e8e8ed!important;box-shadow:inset 0 -2px 0 #333336!important}
html[data-cm-role-palette="220"] body .phone #tabs.tabs button.tab[onclick="setTab('selling')"] small{color:#6e6e73!important}
html[data-cm-role-palette="220"] body .phone .status.selling,
html[data-cm-role-palette="220"] body .phone #statusBadge{color:#333336!important;background:#f5f5f7!important;border-color:#d2d2d7!important}
html[data-cm-role-palette="220"] body .success .check{color:#168443!important;background:#e8f7ed!important}
html[data-cm-role-palette="220"] body .success .check svg,
html[data-cm-role-palette="220"] body .success .check svg *{stroke:#168443!important}
html[data-cm-role-palette="220"] body .phone .early79-status{color:#515154!important}
html[data-cm-role-palette="220"] body .phone .early79-status small{color:#6e6e73!important}

/* V225: reading hierarchy in the five reviewed areas only. */
html:is(#svm-type-root,[data-cm-role-palette="220"]) body .phone .svm-notice-card{padding:20px 20px!important;gap:12px!important;background:#fff!important}
html:is(#svm-type-root,[data-cm-role-palette="220"]) body .phone .svm-notice-card.unread{--cm-notice-unread225:#f8f8f9;background:#f8f8f9!important}
html:is(#svm-type-root,[data-cm-role-palette="220"]) body .phone .svm-notice-card .svm-notice-meta{gap:10px!important;margin-bottom:7px!important;flex-wrap:wrap!important}
html:is(#svm-type-root,[data-cm-role-palette="220"]) body .phone .svm-notice-card p{--cm-notice-copy225:#515154;font-size:13px!important;line-height:1.75!important;color:#515154!important;-webkit-text-fill-color:#515154!important}
html:is(#svm-type-root,[data-cm-role-palette="220"]) body .phone .svm-notice-card .svm-notice-meta time{font-size:11px!important;color:#6e6e73!important;-webkit-text-fill-color:#6e6e73!important}
html:is(#svm-type-root,[data-cm-role-palette="220"]) body .phone .svm-notice-card .svm-notice-target{font-size:11px!important;line-height:1.7!important;color:#6e6e73!important;-webkit-text-fill-color:#6e6e73!important;margin-top:7px!important;overflow-wrap:anywhere!important}
html:is(#svm-type-root,[data-cm-role-palette="220"]) body .phone:is(.svm-buyer-purchased,:has(.purchase-info)) .purchase-info .date{font-size:11px!important;line-height:1.6!important;color:#6e6e73!important;-webkit-text-fill-color:#6e6e73!important}
html:is(#svm-type-root,[data-cm-role-palette="220"]) body .phone:is(.svm-buyer-purchased,:has(.purchase-info)) .purchase-info .who{font-size:12px!important;line-height:1.6!important;color:#6e6e73!important;-webkit-text-fill-color:#6e6e73!important}
html:is(#svm-type-root,[data-cm-role-palette="220"]) body .phone:is(.svm-buyer-purchased,:has(.purchase-info)) .purchase-info .video-id{font-size:11px!important;line-height:1.6!important;color:#6e6e73!important;-webkit-text-fill-color:#6e6e73!important;overflow-wrap:anywhere!important}
html:is(#svm-type-root,[data-cm-role-palette="220"]) body .phone:is(.svm-buyer-purchased,:has(.purchase-info)) .status small{font-size:12px!important;color:#6e6e73!important;-webkit-text-fill-color:#6e6e73!important;white-space:nowrap!important}
html:is(#svm-type-root,[data-cm-role-palette="220"]) body .phone:is(.svm-buyer-purchased,:has(.purchase-info)) .status-detail{font-size:13px!important;line-height:1.7!important;color:#333336!important;-webkit-text-fill-color:#333336!important;margin:8px 0 14px!important}
@media(max-width:900px){
html:is(#svm-type-root,[data-cm-role-palette="220"]) body .phone:has(#videoFile) :is(.headline>.intro,.section>.section-lead,.section>.help,.field small,.thumb-note){--cm-reading-size225:13px;--cm-reading-line225:1.75;--cm-reading-ink225:#515154;font-size:13px!important;line-height:1.75!important;color:#515154!important;-webkit-text-fill-color:#515154!important}
html:is(#svm-type-root,[data-cm-role-palette="220"]) body .phone:has(#videoFile) .upload-zone small{font-size:12px!important;line-height:1.7!important;color:#6e6e73!important;-webkit-text-fill-color:#6e6e73!important}
html:is(#svm-type-root,[data-cm-role-palette="220"]) body .phone:has(#videoFile) .period-options small{color:#6e6e73!important;-webkit-text-fill-color:#6e6e73!important}
html:is(#svm-type-root,[data-cm-role-palette="220"]) body .phone:has(#videoFile) #ctaHint{font-size:12px!important;line-height:1.6!important;color:#6e6e73!important;-webkit-text-fill-color:#6e6e73!important;margin-top:8px!important}
html:is(#svm-type-root,[data-cm-role-palette="220"]) body .phone:has(#videoFile) .thumb-note{margin-top:14px!important}
html:is(#svm-type-root,[data-cm-role-palette="220"]) body .phone:has(#videoFile) .section>.section-lead{margin-bottom:16px!important}
html[data-cm-page="story"]:is(#svm-type-root,[data-cm-role-palette="220"]) body .phone .chapter p:not(.lead){font-size:14px!important;line-height:1.9!important;margin-bottom:18px!important}
html[data-cm-page="story"]:is(#svm-type-root,[data-cm-role-palette="220"]) body .phone .chapter{padding-bottom:22px!important}
html[data-cm-page="story"]:is(#svm-type-root,[data-cm-role-palette="220"]) body .phone .chapter+.chapter{padding-top:28px!important}
html[data-cm-page="story"]:is(#svm-type-root,[data-cm-role-palette="220"]) body .phone .story-photo figcaption{font-size:12px!important;line-height:1.7!important;color:#6e6e73!important;-webkit-text-fill-color:#6e6e73!important}
html[data-cm-page="commercial"]:is(#svm-type-root,[data-cm-role-palette="220"]) body .phone>.intro{--svm-title-next-gap:8px;margin-bottom:8px!important;padding-bottom:0!important}
html[data-cm-page="commercial"]:is(#svm-type-root,[data-cm-role-palette="220"]) body .phone main.cm-commercial-page210{padding-top:0!important}
html[data-cm-page="commercial"]:is(#svm-type-root,[data-cm-role-palette="220"]) body .phone main.cm-commercial-page210>.lead{font-size:14px!important;line-height:1.85!important;padding:16px 0 24px!important;margin:0!important;color:#515154!important;-webkit-text-fill-color:#515154!important}
html[data-cm-page="commercial"]:is(#svm-type-root,[data-cm-role-palette="220"]) body .phone main.cm-commercial-page210 :is(section p,section li,.pair dd){font-size:14px!important;line-height:1.85!important}
html[data-cm-page="commercial"]:is(#svm-type-root,[data-cm-role-palette="220"]) body .phone main.cm-commercial-page210 .pair dt{font-size:12px!important;line-height:1.8!important}
html[data-cm-page="commercial"]:is(#svm-type-root,[data-cm-role-palette="220"]) body .phone main.cm-commercial-page210 .minor{font-size:12px!important;line-height:1.8!important}
html:is(#svm-type-root,[data-cm-role-palette="220"]) body .phone .svm-notice-card{padding:18px 12px!important;gap:10px!important}
}


/* V227: FAQ alignment only. Actions keep their existing appearance. */
.cm-faq-actions227{display:contents}
@media(min-width:901px){
html:is(#svm-type-root,[data-cm-role-palette="220"]) body .phone main.content:has(.faq-item)>.related{display:block!important;text-align:center!important;background:#f5f5f7!important}
html:is(#svm-type-root,[data-cm-role-palette="220"]) body .phone main.content:has(.faq-item)>.related>h2{margin:0 0 8px!important}
html:is(#svm-type-root,[data-cm-role-palette="220"]) body .phone main.content:has(.faq-item)>.related>p{margin:0 auto 16px!important}
html:is(#svm-type-root,[data-cm-role-palette="220"]) body .phone main.content:has(.faq-item)>.related>.cm-faq-actions227{display:flex!important;justify-content:center!important;align-items:center!important;flex-wrap:wrap!important;gap:12px!important}
html:is(#svm-type-root,[data-cm-role-palette="220"]) body .phone main.content:has(.faq-item)>.related>.cm-faq-actions227>a{margin:0!important}
}

/* Color-only exceptions for dynamic/home controls and semantic containers. */
html:is(#svm-type-root,[data-cm-role-palette="220"]) body [id^="surf-option-"]{border-bottom-color:#e8e8ed!important}
html:is(#svm-type-root,[data-cm-role-palette="220"]) body .phone .sticky-actions,
html:is(#svm-type-root,[data-cm-role-palette="220"]) body .phone #checkoutBar{border-color:#e2e2e5!important}
html:is(#svm-type-root,[data-cm-role-palette="220"]) body .phone :is(.hero,.success).svm-balanced-title-block{background-color:#f5f5f7!important;border-color:#e2e2e5!important}
html:is(#svm-type-root,[data-cm-role-palette="220"]) body .phone #rankUp{background-color:#f5f5f7!important}
html:is(#svm-type-root,[data-cm-role-palette="220"]) body .phone:has(#videoFile) .section.step-locked{background-color:#f5f5f7!important}
html:is(#svm-type-root,[data-cm-role-palette="220"]) body .phone main #tabs.tabs[data-cm-status-tabs180] button.tab[onclick="setTab('selling')"]{background-color:#f5f5f7!important}
html:is(#svm-type-root,[data-cm-role-palette="220"]) body .phone main #tabs.tabs[data-cm-status-tabs180] button.tab.active[onclick="setTab('selling')"]{background-color:#e8e8ed!important}

/* Native-only aliases and editor/floating controls; no blanket page overrides. */
html[data-cm-role-palette="220"]{--svm-title-ink:#1d1d1f;--svm-small-title-ink:#333336;--svm-helper-ink:#6e6e73;--svm-soft:#f5f5f7;--cm-ink:#1d1d1f;--cm-muted:#6e6e73;--cm-line:#d2d2d7;--cm-teal:#0071e3}
html[data-cm-role-palette="220"] #cmFloatingUpload190{background:#0071e3!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border-color:#0071e3!important}
html[data-cm-role-palette="220"] #cmFloatingUpload190:hover{background:#0066cc!important}
html[data-cm-role-palette="220"] .cm127-footer-actions [data-save]:not(:disabled){background:#0071e3!important;border-color:#0071e3!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
html[data-cm-role-palette="220"] .cm127-footer-actions [data-save]:hover:not(:disabled){background:#0066cc!important;border-color:#0066cc!important}
html[data-cm-role-palette="220"] .cm127-footer-actions [data-save]:disabled{background:#e8e8ed!important;border-color:#d2d2d7!important;color:#86868b!important;-webkit-text-fill-color:#86868b!important}

/* V230: zero cart badges must stay hidden despite shared display rules. */
html body :is(#cartCount,.cart-count,.pc-cart-count,.svm-cart-count):is([hidden],[data-cart-empty="true"]){display:none!important}
