/* Final visual consistency pass: loaded after page/account styles. */
html[data-theme="dark"] body .upp-account-shell .upp-account-sidebar,
html[data-theme="dark"] body .upp-account-shell .upp-page-account > form,
html[data-theme="dark"] body .upp-account-shell .coupon-form-v126,
html[data-theme="dark"] body .upp-account-shell .usm-card {
  background:#151b24!important;
  border-color:#2d3845!important;
  color:#edf2f8!important;
  box-shadow:none!important;
}
html[data-theme="dark"] body .upp-account-shell .upp-account-profile .kabin-user-info strong,
html[data-theme="dark"] body .upp-account-shell .page-title,
html[data-theme="dark"] body .upp-account-shell .upp-page-hero h1 {color:#f3f6fa!important}
html[data-theme="dark"] body .upp-account-shell .upp-account-profile img {background:#111820!important;border-color:#34404e!important}
html[data-theme="dark"] body .upp-account-shell .upp-account-nav > a:hover,
html[data-theme="dark"] body .upp-account-shell .upp-account-nav > a:focus-visible,
html[data-theme="dark"] body .upp-account-shell .upp-account-nav > a.active {
  background:#29201c!important;border-color:#5b392a!important;color:#fff!important;box-shadow:none!important;
}
html[data-theme="dark"] body .upp-account-shell .upp-account-nav > a:hover span,
html[data-theme="dark"] body .upp-account-shell .upp-account-nav > a:focus-visible span,
html[data-theme="dark"] body .upp-account-shell .upp-account-nav > a.active span {color:#fff!important}
html[data-theme="dark"] body .upp-account-shell .upp-account-nav > a:hover i,
html[data-theme="dark"] body .upp-account-shell .upp-account-nav > a:focus-visible i,
html[data-theme="dark"] body .upp-account-shell .upp-account-nav > a.active i {color:#ff8650!important}
html[data-theme="dark"] body .upp-account-shell .upp-account-help,
html[data-theme="dark"] body .upp-account-shell .file-upload-btn,
html[data-theme="dark"] body .upp-account-shell .usm-info-grid > div,
html[data-theme="dark"] body .upp-account-shell .usm-email-list > div,
html[data-theme="dark"] body .upp-account-shell .lc-stats > div {background:#111820!important;border-color:#303b49!important;color:#dce4ed!important}
html[data-theme="dark"] body .upp-account-shell .upp-account-help strong {color:#e8edf4!important}

html[data-theme="dark"] body .upp-account-shell :is(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),textarea,select),
html[data-theme="dark"] body .idx :is(input,textarea,select) {
  color-scheme:dark!important;background:#0f151d!important;border-color:#354150!important;color:#f5f7fa!important;-webkit-text-fill-color:#f5f7fa!important;
}
html[data-theme="dark"] body select option,
html[data-theme="dark"] body select optgroup {background:#111820!important;color:#f5f7fa!important;-webkit-text-fill-color:#f5f7fa!important}

html[data-theme="dark"] body .upp-account-shell .coupon-shell-v126,
html[data-theme="dark"] body .upp-account-shell .coupon-form-v126 {background:#151b24!important;border-color:#2d3845!important}
html[data-theme="dark"] body .upp-account-shell .coupon-input-v126 {background:#0f151d!important;border-color:#354150!important}
html[data-theme="dark"] body .upp-account-shell .coupon-input-v126 input {background:transparent!important;color:#f5f7fa!important;-webkit-text-fill-color:#f5f7fa!important}

html[data-theme="dark"] body .upp-account-shell .usm-ajax-form,
html[data-theme="dark"] body .upp-account-shell .lc-request {background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}
html[data-theme="dark"] body .upp-account-shell .usm-two {margin:0 0 9px!important}
html[data-theme="dark"] body .upp-account-shell .usm-card-title b,
html[data-theme="dark"] body .upp-account-shell .usm-info-grid strong {color:#edf2f8!important}

.ticket-closed-notice{padding:20px;text-align:center;background:#fff0f2;color:#c62828;font-weight:800;border-top:1px solid #ffcdd2}
html[data-theme="dark"] body .upp-page-support-chat .chat-messages{background:#111820!important;color:#dce4ed!important}
html[data-theme="dark"] body .upp-page-support-chat .ticket-closed-notice{background:#29191d!important;color:#ff9aa6!important;border-color:#61313a!important}

/* Public domain/search cards and native drop-downs. */
html[data-theme="dark"] body .idx :is(.dom-result,.domain-result-card,.domain-result,.dom-found,.dom-transfer,.domain-search-result) {background:#151b24!important;border-color:#354150!important;color:#edf2f8!important}
html[data-theme="dark"] body .idx :is(.dom-result,.domain-result-card,.domain-result,.dom-found,.dom-transfer,.domain-search-result) :is(h3,h4,strong,b,span,p) {color:inherit!important}

/* Buttons keep readable labels on every hover state. */
body :is(.btn,.upp-ui-btn,.pkg-btn,.svc-btn,.coupon-submit-v126,.usm-btn,.domain-search-btn,.domain-result-actions a):hover,
body :is(.btn,.upp-ui-btn,.pkg-btn,.svc-btn,.coupon-submit-v126,.usm-btn,.domain-search-btn,.domain-result-actions a):focus-visible {color:#fff!important;-webkit-text-fill-color:#fff!important}

@media (min-width:901px) {
  .upp-account-shell {width:min(1320px,calc(100% - 40px))!important;margin-top:22px!important}
  .upp-account-shell .kabin-body {grid-template-columns:260px minmax(0,1fr)!important;gap:20px!important}
  .upp-account-sidebar {border-radius:20px!important;padding:12px!important}
  .upp-account-nav > a {min-height:42px!important;margin:2px 0!important}
  .upp-page-account > form {padding:18px!important}
  .upp-coupon-v126 .coupon-shell-v126 {max-width:980px!important}
}

@media (max-width:700px) {
  .upp-account-shell {width:calc(100% - 20px)!important}
  .upp-coupon-v126 .coupon-shell-v126 {border-radius:18px!important}
  .coupon-form-v126 {padding:18px!important}
  .usm-card {padding:15px!important}
}
