/* Red Seal Practice UI V6 — final polish layer loaded last on every public view. */
:root{
  --rsp6-blue:#155eef;
  --rsp6-blue-dark:#0b4acb;
  --rsp6-navy:#0b1830;
  --rsp6-text:#15233d;
  --rsp6-muted:#61708a;
  --rsp6-line:#dfe7f2;
  --rsp6-soft:#f5f8fd;
  --rsp6-white:#fff;
  --rsp6-shadow:0 12px 34px rgba(17,37,75,.09);
}
html{scroll-behavior:smooth;scroll-padding-top:120px}
body{overflow-x:hidden}
#site-navbar{position:sticky!important;top:0!important;z-index:99999!important;width:100%!important}
#site-navbar .rspx-notice{background:#fff9e9!important;color:#5d4714!important;border-color:#ead79b!important}
#site-navbar .rspx-header{background:#fff!important;border-bottom:1px solid var(--rsp6-line)!important;box-shadow:0 8px 26px rgba(13,31,65,.08)!important}
#site-navbar .rspx-header-inner{background:#fff!important;min-height:76px!important}
#site-navbar .rspx-logo,#site-navbar .rspx-logo-copy strong{color:var(--rsp6-navy)!important}
#site-navbar .rspx-nav>a,#site-navbar .rspx-dropdown-button{color:var(--rsp6-text)!important;background:transparent!important;border:0!important;box-shadow:none!important}
#site-navbar .rspx-nav>a:hover,#site-navbar .rspx-dropdown-button:hover,#site-navbar .rspx-nav>a.rspx-active{color:var(--rsp6-blue)!important;background:#eef4ff!important}
#site-navbar .rspx-login{color:var(--rsp6-blue)!important;background:#fff!important;border:1px solid #b9cdf3!important}
#site-navbar .rspx-signup{color:#fff!important;background:linear-gradient(135deg,#155eef,#6647e8)!important;border:0!important}
#site-navbar .rspx-signup:hover{color:#fff!important;background:linear-gradient(135deg,#0b4acb,#5536d8)!important}
#site-navbar .rspx-dropdown-button{gap:7px}
#site-navbar .rspx-chevron{width:14px;height:14px;display:inline-grid;place-items:center;transition:transform .18s ease}
#site-navbar .rspx-chevron svg{width:12px;height:12px;stroke:currentColor;stroke-width:2.2;fill:none}
#site-navbar .rspx-dropdown.rspx-expanded .rspx-chevron{transform:rotate(180deg)}
#site-navbar .rspx-dropdown-menu{padding:10px!important;border:1px solid #dce5f2!important;border-radius:16px!important;background:#fff!important;box-shadow:0 20px 55px rgba(14,33,70,.16)!important;min-width:250px!important;gap:2px!important}
#site-navbar .rspx-dropdown-menu:before{content:"";position:absolute;top:-7px;left:28px;width:12px;height:12px;background:#fff;border-left:1px solid #dce5f2;border-top:1px solid #dce5f2;transform:rotate(45deg)}
#site-navbar .rspx-dropdown-menu-right:before{left:auto;right:28px}
#site-navbar .rspx-dropdown-menu a{position:relative;z-index:1;display:flex!important;align-items:center!important;min-height:42px!important;padding:10px 12px!important;border-radius:10px!important;color:#263753!important;background:#fff!important;font-weight:750!important}
#site-navbar .rspx-dropdown-menu a:hover,#site-navbar .rspx-dropdown-menu a.rspx-active{color:var(--rsp6-blue)!important;background:#eef4ff!important}

/* Consistent, high-contrast action buttons. */
.rspx-force-contrast{color:#fff!important;text-shadow:none!important}
.rspx-force-contrast:hover,.rspx-force-contrast:focus{color:#fff!important}
.trade-start-actions a,.trade-start-actions a:visited{color:#164fae!important}
.trade-start-actions a.email,.trade-start-actions a.email:visited{color:#172033!important}
.rspx-trade-buy,.rspx-trade-buy:visited,.finder-next,.finder-next:visited,.rspx-footer-cta.rspx-force-contrast{color:#fff!important}

/* Dark callout panels always have readable copy. */
.trade-start-help h1,.trade-start-help h2,.trade-start-help h3,
.seo-cta-panel h1,.seo-cta-panel h2,.seo-cta-panel h3,
.journey-support-card h1,.journey-support-card h2,.journey-support-card h3,
[class*="journey-support"] h1,[class*="journey-support"] h2,[class*="journey-support"] h3,
.finder-top h1,.finder-top h2{color:#fff!important;text-shadow:none!important}
.trade-start-help p,.seo-cta-panel p,.journey-support-card p,[class*="journey-support"] p,.finder-top p{color:#e6eeff!important}
.trade-start-help{overflow:hidden!important}

/* Trade listing: stable equal cards, sane titles, classic action hierarchy. */
body.page-trades .page-wrap{width:min(1120px,calc(100% - 32px))!important;margin-inline:auto!important}
body.page-trades #tradesGrid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:22px!important;align-items:stretch!important}
body.page-trades .rspx-trade-card{height:100%!important;min-height:590px!important;padding:24px!important;border-radius:18px!important;border:1px solid #dbe5f2!important;background:#fff!important;box-shadow:0 10px 28px rgba(17,37,75,.07)!important;overflow:hidden!important}
body.page-trades .rspx-trade-head{min-width:0!important}
body.page-trades .rspx-trade-heading{min-width:0!important;max-width:100%!important}
body.page-trades .rspx-trade-title{font-size:clamp(1.25rem,1.55vw,1.65rem)!important;line-height:1.18!important;letter-spacing:-.025em!important;overflow-wrap:normal!important;word-break:normal!important;hyphens:none!important;white-space:normal!important;max-width:100%!important}
body.page-trades .rspx-trade-description{font-size:13.5px!important;line-height:1.65!important;display:-webkit-box!important;-webkit-line-clamp:5!important;-webkit-box-orient:vertical!important;overflow:hidden!important;min-height:112px!important}
body.page-trades .rspx-trade-features{font-size:12.5px!important;line-height:1.4!important;min-height:60px!important}
body.page-trades .rspx-trade-price{margin-top:auto!important;background:#f7f9fd!important;border-color:#dce5f1!important}
body.page-trades .rspx-trade-primary{border:1px solid #aec7f5!important;background:#fff!important;color:#155eef!important;box-shadow:none!important;border-radius:10px!important}
body.page-trades .rspx-trade-primary:hover{background:#eef4ff!important;color:#0b4acb!important}
body.page-trades .rspx-trade-links{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important}
body.page-trades .rspx-trade-links a{min-height:42px!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:8px 6px!important;border:1px solid #e1e8f2!important;border-radius:9px!important;background:#f7f9fc!important;color:#34445f!important;font-size:11px!important;line-height:1.2!important}
body.page-trades .rspx-trade-links a:hover{background:#eef4ff!important;color:#0b4acb!important;border-color:#c7d8f7!important}
body.page-trades .rspx-trade-buy{min-height:48px!important;border-radius:10px!important;background:var(--rsp6-blue)!important;color:#fff!important;box-shadow:0 8px 18px rgba(21,94,239,.2)!important}
body.page-trades .rspx-trade-buy:hover{background:var(--rsp6-blue-dark)!important;color:#fff!important;transform:translateY(-1px)!important}
body.page-trades .trade-start-help h2{color:#fff!important}
body.page-trades .trade-start-help p{color:#dbe8ff!important}

/* Finder is self-contained so it cannot lose styling when older files fail. */
.finder-shell{width:min(1120px,calc(100% - 32px));margin:34px auto 0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--rsp6-text)}
.finder-top{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:42px;border-radius:22px 22px 0 0;background:linear-gradient(135deg,#12397f,#155eef);color:#fff}
.finder-top h1{margin:0 0 8px;font-size:clamp(2.2rem,5vw,3.6rem);line-height:1.05;letter-spacing:-.04em}
.finder-top p{margin:0;font-size:16px;line-height:1.6}
.finder-top-badges{white-space:nowrap;color:#fff!important;font-weight:750}
.finder-main{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:22px;padding:28px;background:#f5f8fd;border:1px solid #dbe5f2;border-top:0;border-radius:0 0 22px 22px}
.finder-card,.finder-side-card,.finder-results{background:#fff;border:1px solid #dce5f1;border-radius:18px;box-shadow:0 8px 24px rgba(17,37,75,.05)}
.finder-card{padding:24px}.finder-step-row{display:flex;justify-content:space-between;gap:16px;align-items:center}.finder-progress-line{height:7px;margin:12px 0 24px;border-radius:999px;background:#e8eef7;overflow:hidden}.finder-progress-line span{display:block;height:100%;background:#155eef;border-radius:999px;transition:width .2s ease}
.finder-question{border:0!important;padding:0!important;margin:0!important}.finder-question legend,.finder-question h2,.finder-question h3{font-size:20px!important;color:#14223d!important;margin:0 0 16px!important}
.finder-option{display:grid!important;grid-template-columns:22px 34px 1fr!important;gap:10px!important;align-items:center!important;padding:14px 16px!important;margin:10px 0!important;border:1px solid #dce5f1!important;border-radius:13px!important;background:#fff!important;cursor:pointer!important;transition:.16s ease!important}
.finder-option:hover{border-color:#9bbcf5!important;background:#f7faff!important}.finder-option:has(input:checked){border-color:#155eef!important;background:#eef4ff!important;box-shadow:0 0 0 3px rgba(21,94,239,.1)!important}
.finder-option strong{display:block;color:#17243d!important}.finder-option small,.finder-option p{display:block;margin-top:3px;color:#65748d!important}
.finder-nav{display:flex;justify-content:space-between;gap:12px;margin-top:20px}.finder-nav button{min-height:44px;padding:0 18px;border-radius:10px;font-weight:800;cursor:pointer}.finder-prev{border:0;background:#eef2f7;color:#42516b}.finder-next{border:0;background:#155eef;color:#fff!important}
.finder-side{display:grid;gap:14px;align-content:start}.finder-side-card{padding:19px}.finder-side-card h3{margin:0 0 14px;font-size:19px;color:#17243d}.finder-stat{display:flex;justify-content:space-between;gap:10px;padding:7px 0;color:#65748d;font-size:13px}.finder-stat strong{color:#52617a}.finder-note p{margin:0;color:#65748d;line-height:1.65}.finder-results{padding:24px;margin-top:18px}.trade-results{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.trade-result-card{display:flex;flex-direction:column;min-width:0;padding:20px;border:1px solid #dce5f1;border-radius:15px;background:#fff}.trade-result-card h3{font-size:18px!important;line-height:1.25!important;word-break:normal!important;overflow-wrap:normal!important}.trade-result-card a{margin-top:auto;display:flex;align-items:center;justify-content:center;min-height:42px;padding:9px 12px;border-radius:10px;background:#155eef;color:#fff!important;text-decoration:none;font-weight:800}

/* FAQ: one polished accordion pattern. */
body.faq-page .faq-list{display:grid!important;gap:14px!important}
body.faq-page .faq-item{padding:0!important;border:1px solid #dce5f1!important;border-radius:16px!important;background:#fff!important;box-shadow:0 7px 22px rgba(17,37,75,.055)!important;overflow:hidden!important}
body.faq-page .faq-item>h3{position:relative!important;margin:0!important;padding:20px 58px 20px 22px!important;color:#17243d!important;font-size:17px!important;line-height:1.45!important;cursor:pointer!important}
body.faq-page .faq-item>h3:after{content:"+"!important;position:absolute!important;right:18px!important;top:50%!important;transform:translateY(-50%)!important;width:30px!important;height:30px!important;display:grid!important;place-items:center!important;border-radius:50%!important;background:#eef4ff!important;color:#155eef!important;font-size:20px!important;font-weight:500!important}
body.faq-page .faq-item.is-open>h3:after{content:"−"!important}
body.faq-page .faq-item>p{display:none!important;margin:0!important;padding:0 22px 20px!important;color:#61708a!important;font-size:15px!important;line-height:1.75!important;border-top:1px solid transparent!important}
body.faq-page .faq-item.is-open>p{display:block!important;padding-top:18px!important;border-top-color:#edf1f6!important}
body.faq-page .faq-category-heading{align-items:flex-start!important}

/* Generic mobile and scattered-layout repairs. */
@media(max-width:1100px){
  #site-navbar .rspx-nav{top:0!important}
  #site-navbar .rspx-dropdown-menu:before{display:none!important}
  body.page-trades #tradesGrid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .trade-results{grid-template-columns:1fr 1fr}
}
@media(max-width:760px){
  html{scroll-padding-top:105px}
  #site-navbar .rspx-notice{font-size:9.5px!important;line-height:1.35!important;min-height:30px!important}
  #site-navbar .rspx-header-inner{min-height:64px!important;padding-inline:13px!important}
  #site-navbar .rspx-logo-copy strong{font-size:15px!important}
  #site-navbar .rspx-nav{width:min(92vw,380px)!important;padding:78px 16px 24px!important}
  #site-navbar .rspx-dropdown-menu{min-width:0!important;border:0!important;background:#f6f8fc!important;box-shadow:none!important}
  .finder-shell{width:100%;margin:0}.finder-top{border-radius:0;padding:28px 18px;align-items:flex-start;flex-direction:column}.finder-top h1{font-size:2.35rem}.finder-top-badges{font-size:13px}.finder-main{grid-template-columns:1fr;padding:16px;border-radius:0}.finder-card{padding:17px}.finder-side{grid-template-columns:1fr}.finder-step-row{font-size:14px}.finder-option{grid-template-columns:20px 30px 1fr!important;padding:13px 12px!important}.finder-nav{position:sticky;bottom:8px;padding:10px;background:rgba(255,255,255,.94);border:1px solid #e2e8f1;border-radius:12px;backdrop-filter:blur(8px)}.finder-nav button{flex:1;padding:0 10px}.trade-results{grid-template-columns:1fr}
  body.page-trades .page-wrap{width:min(100% - 24px,1120px)!important}
  body.page-trades #tradesGrid{grid-template-columns:1fr!important;gap:16px!important}
  body.page-trades .hero-card{padding:24px 18px!important;border-radius:18px!important}
  body.page-trades .hero-card h1{font-size:clamp(2rem,10vw,2.75rem)!important;line-height:1.05!important}
  body.page-trades .hero-badges{display:grid!important;grid-template-columns:1fr!important;gap:9px!important}
  body.page-trades .hero-badges span{width:100%!important;justify-content:center!important;text-align:center!important}
  body.page-trades .trade-start-help{grid-template-columns:1fr!important;padding:22px 18px!important;border-radius:18px!important}
  body.page-trades .trade-start-actions{width:100%!important;min-width:0!important}
  body.page-trades .trade-start-actions a{width:100%!important}
  body.page-trades .trade-search-panel{padding:20px 16px!important;border-radius:16px!important}
  body.page-trades .trade-search-controls{grid-template-columns:1fr!important;width:100%!important}
  body.page-trades .rspx-trade-card{min-height:0!important;padding:20px!important}
  body.page-trades .rspx-trade-description{min-height:0!important;-webkit-line-clamp:unset!important}
  body.page-trades .rspx-trade-links{grid-template-columns:1fr!important}
  body.page-trades .rspx-trade-title{font-size:1.45rem!important}
  .trade-start-help h2,.seo-cta-panel h2,[class*="journey-support"] h2{font-size:clamp(1.65rem,8vw,2.2rem)!important;line-height:1.12!important}
  body.faq-page .faq-item>h3{padding:17px 52px 17px 16px!important;font-size:15.5px!important}
  body.faq-page .faq-item>p{padding:0 16px 17px!important;font-size:14.5px!important}
}
@media(max-width:430px){
  #site-navbar .rspx-logo-mark{width:29px!important;height:35px!important}
  #site-navbar .rspx-menu-button{width:41px!important;height:41px!important}
  .finder-top h1{font-size:2rem}.finder-card{padding:14px}.finder-option{grid-template-columns:18px 1fr!important}.finder-option .finder-option-icon{display:none!important}
}
