/* NexStepia | Premium Gold Card Borders V1 — all sixteen page types.
   Accent content cards only; leave navigation, fields, tables and language controls intact. */
:root {
  --nx-card-gold:#D4B06A;
  --nx-card-gold-subtle:rgba(212,176,106,.76);
  --nx-card-gold-inner:rgba(212,176,106,.55);
  --nx-card-gold-hover:#BA8E47;
  --nx-card-gold-shadow:0 9px 28px rgba(30,43,36,.055),0 1px 3px rgba(103,77,30,.035);
  --nx-card-gold-shadow-hover:0 14px 34px rgba(30,43,36,.085),0 0 0 1px rgba(212,176,106,.12);
}
/* White or tinted backgrounds are intentionally preserved. */
html body :is(
  .nx-service-card,.country-choice,.country-plan-context,.country-plan-step,
  .specialty-card,.path-card,.path-choice,.journey-map-card,.info-card,.route-card,
  .mini-card,.crs-form,.panel,.job-card,.city-card,.next-step-card,
  .card,.step,.notice,.sources,.sourcebox,.source-card,.source-box,
  .geo-answer,.geo-questions,.summary,.tax-summary,.result,.estimate,
  .metric,.callout,.route-result,.alert,.fit-panel,.pick-panel,.specialty-panel,
  .compare-sources,.start-planner-output,.form,.calculator,.controls,
  .fee-card,.document-card,.resource-card,.section-card,.update-card,
  .highlight-card,.summary-card,.compare-card,.country-card,.calculator-card,
  .box-card,.panel-card
):not(:is(.danger,.error,.urgent,.critical,[role="alert"])) {
  border:1px solid var(--nx-card-gold-subtle)!important;
  box-shadow:var(--nx-card-gold-shadow);
  box-sizing:border-box;
  transition:border-color 180ms ease,box-shadow 180ms ease,transform 180ms ease;
}
html body :is(
  .nx-service-card,.country-choice,.specialty-card,.path-card,.journey-map-card,
  .info-card,.route-card,.crs-form,.panel,.job-card,.city-card,
  .next-step-card,.card,.sources,.sourcebox,.geo-answer,.geo-questions,
  .summary,.tax-summary,.result,.fit-panel,.pick-panel,.specialty-panel,
  .compare-sources,.start-planner-output,.calculator,.controls,
  .fee-card,.document-card,.resource-card,.section-card,.update-card
) {border-radius:20px;}
html body :is(
  .country-plan-context,.country-plan-step,.mini-card,.step,.notice,.estimate,
  .metric,.callout,.route-result,.alert
):not(:is(.danger,.error,.urgent,.critical,[role="alert"])) {
  border-color:var(--nx-card-gold-inner)!important;
  border-radius:16px;
}
/* Do not replace semantic danger/error/urgent borders with decorative gold. */
@media(hover:hover) {
  html body :is(
    a.nx-service-card,a.journey-map-card,a.next-step-card,a.path-card,
    button.country-choice,.city-card,.job-card,.card,.info-card,
    .country-plan-step,.route-card
  ):hover {
    border-color:var(--nx-card-gold-hover)!important;
    box-shadow:var(--nx-card-gold-shadow-hover);
  }
}
html body :is(
  .nx-service-card,.country-choice,.specialty-card,.path-card,
  .journey-map-card,.info-card,.route-card,.panel,.city-card,
  .job-card,.next-step-card,.card
) {min-width:0;}
@media(max-width:680px) {
  html body :is(.nx-service-card,.country-choice,.panel,.city-card,
    .job-card,.next-step-card,.card,.geo-answer,.geo-questions) {
    border-radius:18px;
  }
}
@media(prefers-reduced-motion:reduce) {
  html body :is(
    .nx-service-card,.country-choice,.panel,.city-card,.job-card,
    .next-step-card,.card,.journey-map-card,.info-card,.route-card
  ) {transition:none!important;}
}
/* RTL/LTR reading order remains owned by Design System V1. */


/* Gold V1.1: unmistakable 1.5px edge on prominent visible cards.
   Soft inset highlight makes the border readable against warm ivory. */
html body main :is(.nx-service-card,.country-choice,.journey-map-card,.info-card,
 .route-card,.specialty-card,.path-card,.city-card,.job-card,.next-step-card,
 .panel,.card,.summary,.sources,.sourcebox,.notice,.geo-answer,.geo-questions) {
 border:1.5px solid #C49A55!important;
 box-shadow:inset 0 0 0 1px rgba(212,176,106,.22),
   0 9px 28px rgba(30,43,36,.055)!important;
}
html body main :is(.nx-service-card,.country-choice,.journey-map-card,.info-card,
 .route-card,.specialty-card,.path-card,.city-card,.job-card,.next-step-card,
 .panel,.card,.summary,.sources,.sourcebox,.notice,.geo-answer,.geo-questions):not(:is(.danger,.error,.urgent,.critical,[role="alert"])):hover{
 border-color:#B8893D!important;
 box-shadow:inset 0 0 0 1px rgba(212,176,106,.3),
   0 13px 30px rgba(30,43,36,.10)!important;
}
