/* Permanent Criterion button and title rules. Preserve each control's geometry. */
html:root :is(body,#criterion-root) :is(h1,h2,h3,h4,h5,h6,[role="heading"],.eyebrow,.wf-eyebrow,.submission-access-notice strong,summary,legend,button,input[type="submit"],input[type="button"],input[type="reset"],a[role="button"],a.primary-action,a.secondary-action,a.action,a.primary-button,a.secondary-button,a.wf-primary,.wf-actions a,.primary-navigation a,.primary-navigation summary,.utility-actions>a,.mobile-navigation-panel a,.submission-access-notice a,.criterion-submission-links a) {
  text-transform:none!important;
}
html:root :is(body,#criterion-root) :is(h1,h2,h3,h4,h5,h6,[role="heading"],.eyebrow,.wf-eyebrow,.submission-access-notice strong,summary,legend,button,a.primary-action,a.secondary-action,a.wf-primary) :is(span,small,strong) {
  text-transform:inherit!important;
}
html:root:not([data-contrast="on"]) :is(body,#criterion-root) :is(button,input[type="submit"],input[type="button"],input[type="reset"],a[role="button"],a.primary-action,a.secondary-action,a.action,a.primary-button,a.secondary-button,a.wf-primary,.criterion-popup-action,.atlas-details-button,.atlas-profile-link,.vault-documents-button) {
  background:#70531e!important;
  color:#fff!important;
  border-color:#aa8745!important;
  box-shadow:none!important;
}
html:root:not([data-contrast="on"]) :is(body,#criterion-root) :is(button,input[type="submit"],input[type="button"],input[type="reset"],a[role="button"],a.primary-action,a.secondary-action,a.action,a.primary-button,a.secondary-button,a.wf-primary,.criterion-popup-action,.atlas-details-button,.atlas-profile-link,.vault-documents-button):hover:not(:disabled) {
  background:#563f15!important;
  color:#fff!important;
}
html:root:not([data-contrast="on"]) :is(body,#criterion-root) :is(button,a.primary-action,a.secondary-action,a.wf-primary) :is(h1,h2,h3,h4,h5,h6,p,span,small,strong,b,dt,dd) {color:inherit!important;}
html:root:not([data-contrast="on"]) :is(body,#criterion-root) button:is([aria-pressed="true"],[aria-current="page"],[aria-selected="true"],[aria-checked="true"]) {box-shadow:inset 0 -3px #e4c985!important;}
html:root:not([data-contrast="on"]) :is(body,#criterion-root) .mobile-menu-button>span {background:#fff!important;}
html:root :is(body,#criterion-root) :is(button,a.primary-action,a.secondary-action,a.wf-primary):focus-visible {outline:3px solid #b39250;outline-offset:3px;}

/* Heading metadata and emphasis inherit Title Case instead of forcing capitals. */
html:root :is(body,#criterion-root) :is(h1,h2,h3,h4,h5,h6,[role="heading"]) * {text-transform:inherit!important;}

/* Empty hit-area overlays must never cover the visible metal reference. */
html:root:not([data-contrast="on"]) :is(body,#criterion-root) button.melt-v3-price-selector,
html:root:not([data-contrast="on"]) :is(body,#criterion-root) button.melt-v3-price-selector:hover {background:transparent!important;border-color:transparent!important;box-shadow:none!important;}
html:root:not([data-contrast="on"]) .melt-v2-reference-prices>div {background:#70531e;color:#fff;border:1px solid #aa8745;}
html:root:not([data-contrast="on"]) .melt-v2-reference-prices>div :is(span,strong,small) {color:#fff!important;}
html:root :is(body,#criterion-root) :is(button.text-action,button.vault-mode,button.build-link,.build-group-actions button,.atlas-breadcrumb button,.melt-v3-details-link,.melt-v3-composition) {padding:9px 13px;min-height:44px;line-height:1.35;display:inline-flex;align-items:center;justify-content:center;gap:6px;}
html:root :is(body,#criterion-root) button:disabled {opacity:.55;cursor:not-allowed;}
html:root:not([data-contrast="on"]) .vault-access :is(.eyebrow,.vault-access-note) {color:#e4c985;}
html:root .vault-access {align-items:start;}
html:root .vault-access-copy {order:2;}
html:root .vault-access form {order:1;}
html:root .my-criterion-page .account-portal-intro {padding:24px 0;margin:0 0 20px;}
html:root .my-criterion-page .account-portal-intro h1 {font-size:clamp(28px,3vw,42px);}
html:root .criterion-submission-links {margin:10px 0;padding:10px 14px;}
html:root .criterion-submission-links p {display:none;}
html:root .submission-access-notice {padding:12px 4%;gap:12px;}
html:root .submission-access-notice>div {display:block;flex:1;}
html:root .submission-access-notice strong {display:inline-block;margin-right:10px;}
html:root .submission-access-notice span {font-size:13px;line-height:1.55;}
html:root .submission-access-notice nav {gap:16px;}

/* Make the submission path visible at a glance on every page. */
html:root .submission-access-notice {
  background:linear-gradient(105deg,#ead49a 0%,#d8b96e 56%,#c49d50 100%);
  border-block:1px solid #a77d32;
  color:#211b11;
  box-shadow:0 3px 10px rgba(43,30,10,.13);
  padding-block:11px;
}
html:root .submission-access-notice strong {
  color:#4e3918;
  font-size:13px;
  letter-spacing:.08em;
}
html:root .submission-access-notice span {color:#2d2519;font-size:13px;}
html:root .submission-access-notice nav {align-items:center;gap:17px;}
html:root .submission-access-notice nav a {
  color:#332719;
  font-size:12px;
  font-weight:750;
  text-decoration-color:#65471a;
}
html:root .submission-access-notice nav a:first-child {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:10px 18px;
  border:1px solid #aa8745;
  background:#70531e;
  color:#fff;
  text-decoration:none;
  white-space:nowrap;
}
html:root .submission-access-notice nav a:first-child:hover {background:#563f15;color:#fff;}
html:root .submission-access-notice nav a:focus-visible {outline:3px solid #211b11;outline-offset:3px;}
html:root .criterion-task-links {display:flex;gap:16px;flex-wrap:wrap;margin:16px 0;padding:12px 0;border-block:1px solid #d8d2c5;}
html:root .criterion-task-links a {font-weight:650;color:#70531e;text-underline-offset:4px;min-height:32px;display:inline-flex;align-items:center;}
html:root .criterion-customer-summary {padding:18px;border:1px solid #c8b78f;background:#faf7ef;margin:22px 0;}
html:root .criterion-customer-summary h2 {font-size:24px;margin:0 0 8px;}
html:root .criterion-customer-summary p {margin:8px 0;}
html:root .criterion-customer-summary ul {margin:8px 0;padding-left:20px;}
html:root.criterion-task-page :is(.ebay-marketplace-rail,.ebay-marketplace,.criterion-ebay-rail,.market-reference,.market-section,.market-ticker-section) {display:none!important;}
html:root.criterion-task-page [data-cx-distraction] {display:none!important;}
html:root .criterion-build-services [role="radio"][aria-checked="true"] {outline:3px solid #aa8745;outline-offset:3px;}
html:root .criterion-build-services [role="radio"][aria-checked="true"]>span {font-weight:750;}
html:root .criterion-build-services .build-tier-price small {margin-left:6px;}
html:root .criterion-build-summary .build-summary-continuation {margin-top:16px;}
html:root .criterion-cost-note {font-size:14px;line-height:1.5;}
html:root .legal-updated {position:static!important;display:block!important;transform:none!important;margin:16px 0!important;font:13px/1.5 system-ui,sans-serif!important;letter-spacing:normal!important;}
@media(max-width:700px){
 html:root .submission-access-notice {padding:10px 16px;display:block;}
 html:root .submission-access-notice strong {font-size:12px;}
 html:root .submission-access-notice span {font-size:12px;}
 html:root .submission-access-notice nav {margin-top:8px;display:flex;gap:12px;justify-content:flex-start;}
 html:root .submission-access-notice nav a {font-size:11px;padding:5px 0;min-height:32px;flex:none;border:0;}
 html:root .criterion-submission-links {padding:6px 12px;gap:8px 16px;}
 html:root .criterion-submission-links a {font-size:13px;}
 html:root .vault-access {display:flex;flex-direction:column;padding:20px;gap:28px;}
 html:root .vault-access form {width:100%;padding:20px;}
 html:root .vault-access-copy {width:100%;}
 html:root .vault-access-copy h2 {font-size:28px;}
 html:root .my-criterion-page .account-portal-intro {padding:16px 0;margin-bottom:12px;}
 html:root .my-criterion-page .account-portal-intro .text-action {display:none;}
 html:root.criterion-task-page :is(.section-heading,.page-hero,.contact-intro) {padding-block:24px;}
 html:root.criterion-task-page h1 {font-size:clamp(30px,9vw,42px);line-height:1.12;}
 html:root.criterion-task-page main {padding-top:16px;}
 html:root .build-public-layout {padding-top:16px;}
 html:root .build-public-main>h1 {font-size:36px;margin-block:10px;}
 html:root .build-public-main>p:not(.eyebrow) {font-size:16px;line-height:1.5;}
 html:root .criterion-build-tiers {gap:12px;}
 html:root .criterion-customer-summary {padding:14px;}
 html:root .wf-actions {gap:10px;}
}

html:root .service-availability-cards[hidden] {display:none!important;}
@media(max-width:700px){html:root.criterion-task-page .account-portal-intro{padding:12px 0;margin:0 0 12px;}html:root.criterion-task-page .account-portal-intro h1{font-size:30px;margin:10px 0;}html:root.criterion-task-page .account-portal-intro .text-action{display:none;}html:root.criterion-task-page .vault-access form h2{font-size:30px;margin:12px 0 20px;}}

html:root #criterion-submission-process [hidden] {display:none!important;}
html:root .wf-search[hidden],html:root #wf-search[hidden] {display:none!important;}

html:root .wf-shell [hidden]{display:none!important;}

/* One action size across customer forms; keep navigation and icon controls intact. */
html:root :is(body,#criterion-root) :is(a.primary-action,a.secondary-action,button.primary-action,button.secondary-action,a.wf-primary,button.wf-primary) {box-sizing:border-box;min-height:48px;padding:12px 18px!important;font-family:inherit!important;font-size:14px!important;font-weight:700!important;line-height:1.35!important;letter-spacing:.06em!important;text-align:center;display:inline-flex;align-items:center;justify-content:center;gap:8px;white-space:normal;}
html:root :is(body,#criterion-root) .vault-access form>:is(button,a.primary-action,a.secondary-action) {box-sizing:border-box;display:flex;width:100%;min-height:48px!important;height:48px!important;margin:12px 0 0;padding:12px 18px!important;border:1px solid #aa8745;border-radius:0;font-family:inherit!important;font-size:14px!important;font-weight:700!important;line-height:1.35!important;letter-spacing:.06em!important;align-items:center;justify-content:center;text-align:center;white-space:normal;text-decoration:none;}

@media(max-width:700px){html:root :is(body,#criterion-root) .vault-access form>:is(button,a.primary-action,a.secondary-action){min-height:64px!important;height:64px!important;}}

/* Footer privacy utilities retain text-link presentation and their original hit areas. */
html:root:not([data-contrast="on"]) :is(body,#criterion-root) .site-footer .footer-policy-links button.footer-privacy-choice,
html:root:not([data-contrast="on"]) :is(body,#criterion-root) .site-footer .footer-policy-links button.footer-privacy-choice:is(:hover,:active){background:transparent!important;background-image:none!important;border-color:transparent!important;color:#c8ccd0!important;box-shadow:none!important;text-decoration:none}

/* Your Privacy Choices already opens the same panel as the redundant legacy cookie button. */
html:root .site-footer .footer-policy-links>button.footer-privacy-choice:nth-of-type(2),
html:root .site-footer .footer-policy-links>button.footer-privacy-choice:nth-of-type(2)+span{display:none!important}

/* Keep guarantee introductions close to their buyback panel. */
html:root .page-hero:has(+ .guarantee-promise) {padding-bottom:32px;}

html:root .membership-page .membership-terms-summary {
  border-color:#b28b45;
  background:linear-gradient(112deg,#f5e6b8 0%,#e6c983 50%,#caa357 100%);
  box-shadow:0 14px 36px rgba(91,65,22,.12);
}
html:root .membership-page .membership-terms-summary :is(h2,p,.eyebrow) {color:#2c2418;}
html:root .membership-page .membership-terms-summary .text-action {color:#4c3615;border-color:#65471a;font-weight:750;}

@media(max-width:860px) {
  html:root .submission-access-notice {display:grid;grid-template-columns:1fr;gap:10px;padding:14px 20px;}
  html:root .submission-access-notice nav {display:grid;grid-template-columns:minmax(0,1.5fr) repeat(2,minmax(0,1fr));gap:10px;margin:0;}
  html:root .submission-access-notice nav a {min-height:44px;padding:8px;text-align:center;}
}
@media(max-width:540px) {
  html:root .submission-access-notice {padding:14px 16px;}
  html:root .submission-access-notice strong {display:block;margin:0 0 3px;}
  html:root .submission-access-notice nav {grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
  html:root .submission-access-notice nav a:first-child {grid-column:1/-1;}
}
