/* Wave C extends the approved Wave A/B system. No token overrides or network imports. */
.fpd-c-access { min-height:100dvh; display:flex; flex-direction:column; }
.fpd-c-access-head { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:24px 20px; border-bottom:1px solid var(--fpd-line-soft); }
.fpd-c-access-head>.fpd-link { white-space:nowrap; font-size:.875rem; }
.fpd-c-access .fpd-brand { font-size:1.05rem; }
.fpd-c-auth { display:grid; grid-template-columns:minmax(0,1fr); flex:1; }
.fpd-c-aside { display:none; }
.fpd-c-panel-wrap { padding:32px 20px 40px; display:flex; align-items:center; justify-content:center; min-width:0; }
.fpd-c-panel { width:100%; max-width:600px; padding:24px; }
.fpd-c-panel-head { margin-bottom:28px; }
.fpd-c-panel-head>.fpd-eyebrow { color:var(--fpd-gold); margin-bottom:14px; }
.fpd-c-panel-head h1 { font-size:clamp(1.75rem,2.6vw,2.25rem); margin:0 0 12px; }
.fpd-c-panel-head p { font-size:.9375rem; line-height:1.75; }
.fpd-c-access .fpd-b-form { gap:20px; }
.fpd-c-access .fpd-b-fields { gap:20px; }
.fpd-c-access .fpd-b-field { position:relative; }
.fpd-c-access .fpd-b-field>label { font-size:.875rem; font-weight:500; }
.fpd-c-access .fpd-b-field small { font-size:.8125rem; line-height:1.65; }
.fpd-c-access .fpd-b-field input { min-height:50px; }
.fpd-c-password { position:relative; }
.fpd-c-access .fpd-c-password>input { padding-right:78px; }
.fpd-c-reveal { position:absolute; right:5px; top:3px; min-width:62px; min-height:44px; padding:8px; border:0; border-radius:7px; background:transparent; color:var(--fpd-gold); font-size:.8125rem!important; font-weight:500; }
.fpd-c-reveal:hover { background:#e5c7890b; }
.fpd-c-forgot { text-align:right; margin-top:-4px; }
.fpd-app .fpd-c-submit { width:100%; min-height:50px; font-size:.9375rem; }
.fpd-c-switch { text-align:center; font-size:.875rem; line-height:1.8; }
.fpd-c-switch a { white-space:nowrap; }
.fpd-c-checks { display:grid; gap:20px; padding-top:4px; }
.fpd-c-check { display:grid; grid-template-columns:20px minmax(0,1fr); gap:0 12px; align-items:start; }
.fpd-c-check input { width:20px; height:20px; min-height:0; margin:4px 0 0; accent-color:var(--fpd-gold-deep); }
.fpd-c-check label { font-size:.875rem; color:var(--fpd-muted); line-height:1.7; margin:0; cursor:pointer; }
.fpd-c-check label a { color:var(--fpd-gold); text-decoration:underline; text-underline-offset:3px; }
.fpd-c-optional { display:block; margin-top:4px; color:var(--fpd-dim); }
.fpd-c-check>.invalid-feedback { grid-column:2; }
.fpd-c-access .invalid-feedback { display:none; font-size:.875rem; margin-top:8px; color:var(--fpd-red); line-height:1.6; }
.fpd-c-access .was-validated .fpd-b-field:has(input:invalid)>.invalid-feedback,
.fpd-c-access .fpd-b-field:has(.is-invalid)>.invalid-feedback,
.fpd-c-access .was-validated .fpd-c-check:has(input:invalid)>.invalid-feedback { display:block; }
.fpd-c-access .was-validated input:invalid,.fpd-c-access input.is-invalid { border-color:var(--fpd-red); }
.fpd-c-access .fpd-b-message { margin:0; line-height:1.7; }
.fpd-c-access .alert { padding:16px; border:1px solid var(--fpd-line); border-radius:10px; font-size:.875rem; }
.fpd-c-access .alert-success { color:var(--fpd-mint); border-color:#8bd6b744; background:#8bd6b707; }
.fpd-c-access .alert-danger { color:var(--fpd-red); border-color:#ff9d9d44; background:#ff9d9d07; }
.fpd-c-access #responseMessage:empty { display:none; }
.fpd-c-access #responseMessage .material-symbols-outlined { display:none; }
.fpd-c-strength { padding:16px; border:1px solid var(--fpd-line); border-radius:10px; background:var(--fpd-bg); }
.fpd-c-strength-head { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:baseline; gap:6px 12px; font-size:.8125rem; color:var(--fpd-muted); }
.fpd-c-strength-head strong { color:var(--fpd-gold); font-weight:500; }
.fpd-c-strength-bars { display:grid; grid-template-columns:repeat(4,1fr); gap:6px; margin:12px 0; }
.fpd-c-strength-bars>span { height:4px; border-radius:2px; background:var(--fpd-line); }
.fpd-c-strength[data-score="1"] .fpd-c-strength-bars>span:first-child,
.fpd-c-strength[data-score="2"] .fpd-c-strength-bars>span:nth-child(-n+2),
.fpd-c-strength[data-score="3"] .fpd-c-strength-bars>span:nth-child(-n+3),
.fpd-c-strength[data-score="4"] .fpd-c-strength-bars>span { background:var(--fpd-gold); }
.fpd-c-strength p { font-size:.8125rem; line-height:1.7; }
.fpd-c-access .iti { width:100%; --iti-border-color:var(--fpd-line); --iti-dropdown-bg:var(--fpd-raised); --iti-hover-color:#e5c78915; --iti-text-gray:var(--fpd-muted); --iti-dialcode-color:var(--fpd-muted); }
.fpd-c-access .iti__dropdown-content { max-width:calc(100vw - 64px); border-radius:10px; background:var(--fpd-raised); color:var(--fpd-text); }
.fpd-c-access .iti__search-input { background:var(--fpd-bg); color:var(--fpd-text); }
.fpd-c-access .iti__country-list { max-height:240px; }
.fpd-c-access .iti__selected-country { min-height:48px; }
.fpd-c-footer { padding:24px 20px; border-top:1px solid var(--fpd-line-soft); display:grid; gap:12px; }
.fpd-c-footer p { font-size:.8125rem; line-height:1.7; }
.fpd-c-footer>div { display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap; font-size:.8125rem; color:var(--fpd-dim); }
.fpd-c-footer a { color:var(--fpd-muted); }
.fpd-c-centred { flex:1; display:grid; place-items:center; padding:40px 20px; }
.fpd-c-result { padding:32px 24px; text-align:center; max-width:620px; width:100%; display:grid; justify-items:center; gap:20px; }
.fpd-c-result>.fpd-eyebrow { color:var(--fpd-gold); }
.fpd-c-result>h1 { font-size:clamp(1.75rem,3.4vw,2.5rem); }
.fpd-c-result>p { max-width:470px; font-size:.9375rem; line-height:1.8; }
.fpd-c-result>.fpd-button { width:100%; margin-top:4px; }
.fpd-c-result-actions { display:grid; gap:12px; width:100%; }
.fpd-c-status { display:grid; place-items:center; width:64px; height:64px; border:1px solid var(--fpd-line); border-radius:18px; font-size:2rem; margin-bottom:4px; }
.fpd-c-status--success { color:var(--fpd-mint); background:#8bd6b709; border-color:#8bd6b744; }
.fpd-c-status--error { color:var(--fpd-red); background:#ff9d9d09; border-color:#ff9d9d44; }
.fpd-c-404 { color:var(--fpd-gold); font-size:clamp(5.5rem,11vw,8.5rem); line-height:1; letter-spacing:-.08em; font-weight:500; }
.fpd-c-market { min-width:0; }
.fpd-c-market-nav { display:flex; gap:6px; flex-wrap:wrap; padding:0 0 24px; margin-bottom:4px; }
.fpd-c-market-nav a { min-height:44px; display:flex; align-items:center; padding:9px 14px; border:1px solid var(--fpd-line); border-radius:9px; font-size:.875rem; color:var(--fpd-muted); }
.fpd-c-market-nav a[aria-current=page] { color:var(--fpd-gold); border-color:#e5c78955; background:#e5c7890b; }
.fpd-c-market-grid { display:grid; grid-template-columns:minmax(0,1fr); gap:20px; margin-bottom:24px; }
.fpd-c-widget-card { overflow:hidden; }
.fpd-c-widget-card .fpd-card-head { padding:20px; }
.fpd-c-widget-card h2 { font-size:1rem; }
.fpd-c-widget { width:100%; min-width:0; padding:12px; height:430px; background:var(--fpd-bg); }
.fpd-c-widget--mini { height:210px; }
.fpd-c-widget--news { height:640px; }
.fpd-c-widget--advanced { height:600px; }
.fpd-c-widget>.tradingview-widget-container { width:100%!important; height:100%!important; }
.fpd-c-widget .tradingview-widget-container__widget { height:calc(100% - 32px); width:100%; }
.fpd-c-widget iframe { max-width:100%; border:0; }
.fpd-c-widget .tradingview-widget-copyright { font-size:.75rem; text-align:center; line-height:2; color:var(--fpd-dim); }
.fpd-c-widget-help { padding:14px 20px; border-top:1px solid var(--fpd-line-soft); font-size:.875rem; }
.fpd-c-widget-help>summary { cursor:pointer; color:var(--fpd-muted); min-height:32px; padding:4px 0; }
.fpd-c-widget-help p { margin:12px 0 16px; font-size:.875rem; }
.fpd-c-source-note { font-size:.8125rem; line-height:1.7; padding-top:20px; }
.fpd-c-range-tools { display:grid; gap:16px; align-items:end; margin-bottom:16px; }
.fpd-c-range-scroll { max-height:720px; overscroll-behavior:contain; }
.fpd-c-range-scroll thead th { position:sticky; top:0; background:var(--fpd-surface); z-index:1; }
.fpd-c-range-scroll td:nth-child(3),.fpd-c-range-scroll td:nth-child(4) { font-variant-numeric:tabular-nums; }
.fpd-c-archive-info>summary { padding:20px 24px; font-size:.9375rem; color:var(--fpd-muted); cursor:pointer; }
.fpd-c-archive-info .fpd-card-body { border-top:1px solid var(--fpd-line); }
.fpd-c-archive-info p { margin-bottom:20px; font-size:.875rem; }
.fpd-c-sr { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
@media(min-width:600px) {
  .fpd-c-access-head { padding:28px 36px; }
  .fpd-c-panel-wrap { padding:40px 36px 48px; }
  .fpd-c-panel { padding:36px; }
  .fpd-c-footer { padding:24px 36px; }
  .fpd-c-result { padding:44px; }
  .fpd-c-result-actions { grid-template-columns:1fr 1fr; }
  .fpd-c-range-tools { grid-template-columns:minmax(0,1fr) minmax(0,1fr); }
  .fpd-c-range-tools>button { justify-self:start; }
}
@media(min-width:1100px) {
  .fpd-c-access-head { padding:28px 48px; }
  .fpd-c-auth { grid-template-columns:minmax(340px,.86fr) minmax(0,1.14fr); }
  .fpd-c-aside { display:flex; flex-direction:column; gap:48px; justify-content:space-between; padding:64px 48px 48px; background:linear-gradient(125deg,#161611,var(--fpd-bg) 75%); border-right:1px solid var(--fpd-line-soft); }
  .fpd-c-aside .fpd-eyebrow { color:var(--fpd-gold); font-size:.75rem; }
  .fpd-c-aside h2 { font-size:clamp(2.6rem,4vw,4rem); font-weight:500; letter-spacing:-.06em; margin:22px 0; line-height:1.13; }
  .fpd-c-aside>div>p { max-width:350px; font-size:.9375rem; line-height:1.9; }
  .fpd-c-route { display:grid; gap:24px; }
  .fpd-c-route>div { display:flex; gap:16px; align-items:start; }
  .fpd-c-route-icon { display:grid; place-items:center; flex:none; width:40px; height:40px; border-radius:10px; border:1px solid #e5c78933; color:var(--fpd-gold); }
  .fpd-c-route h3 { font-size:.9375rem; margin:0 0 5px; }
  .fpd-c-route p { font-size:.8125rem; line-height:1.8; }
  .fpd-c-aside-note { padding-top:24px; border-top:1px solid var(--fpd-line); }
  .fpd-c-aside-note>p { margin-top:8px; font-size:.8125rem!important; }
  .fpd-c-panel-wrap { padding:48px; }
  .fpd-c-footer { padding:24px 48px; grid-template-columns:minmax(0,1fr) auto; gap:32px; align-items:center; }
  .fpd-c-footer>div { gap:28px; }
  .fpd-c-market-grid { grid-template-columns:minmax(0,1.65fr) minmax(250px,1fr); }
  .fpd-c-market-grid>.fpd-c-widget-card { display:flex; flex-direction:column; }
  .fpd-c-market-grid>.fpd-c-widget-card .fpd-c-widget--overview { flex:1; height:auto; min-height:430px; }
  .fpd-c-range-tools { grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) auto; }
}
@media(max-width:599px) {
  .fpd-c-access .fpd-brand small { font-size:.5rem; }
  .fpd-c-access .fpd-brand { font-size:1rem; gap:8px; }
  .fpd-c-access-head { padding:20px; }
  .fpd-c-panel-wrap { padding:24px 16px 32px; }
  .fpd-c-panel { padding:24px 20px; }
  .fpd-c-market-nav { gap:6px; }
  .fpd-c-market-nav a { padding:9px 12px; flex:1 0 auto; justify-content:center; }
  .fpd-c-widget { padding:6px; }
  .fpd-c-widget--news { height:620px; }
  .fpd-c-widget--advanced { height:540px; }
  .fpd-c-range-scroll { max-height:680px; }
}
@media(prefers-reduced-motion:reduce) { .fpd-c-access *,.fpd-c-market * { animation:none!important; transition:none!important; scroll-behavior:auto!important; } }
