/* Federation payment UI: existing site fonts, palette and square editorial geometry. */
.monthly-support,.monthly-redirect{--monthly-ink:#171717;--monthly-muted:#606060;--monthly-gold:#101010;--monthly-paper:#f0f0ee;--monthly-panel:#e3e3e0;--monthly-line:#bfbfbb;color:var(--monthly-ink);font:14px/1.65 var(--font-body,'Manrope','Segoe UI',sans-serif);text-align:left;min-width:0}
.monthly-support *,.monthly-redirect *{box-sizing:border-box}
.monthly-support[hidden],.monthly-support [hidden]{display:none!important}
.monthly-support{padding:clamp(18px,2.5vw,32px);background:#ededeb;border:0;box-shadow:none}
.monthly-header{max-width:760px;margin:0 0 26px;padding:0}
.monthly-support h2,.monthly-support h3,.monthly-support h4,.monthly-redirect h1{font-family:var(--font-display,'IBM Plex Sans Condensed','Manrope',sans-serif);color:var(--monthly-ink);font-weight:800;letter-spacing:-.035em}
.monthly-support h2{font-size:clamp(32px,3.6vw,48px);line-height:1.03;text-transform:uppercase;margin:0 0 12px}
.monthly-support h3{font-size:clamp(26px,2.7vw,34px);line-height:1.1;text-transform:uppercase;margin:0 0 22px}
.monthly-kicker,.monthly-section-label{display:block;margin:0 0 9px;color:var(--monthly-gold);font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;line-height:1.4}
.monthly-lead{max-width:680px;color:var(--monthly-muted);font-size:14px;line-height:1.7;margin:0}
.monthly-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:30px;max-width:920px}
.monthly-form-card,.monthly-management{min-width:0;padding:0;border:0;background:transparent;box-shadow:none}
.monthly-support form{padding:0!important;margin:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
.monthly-support label{display:block;font:800 14px/1.3 var(--font-display,'IBM Plex Sans Condensed',sans-serif)}
.monthly-amount-field{position:relative;margin:10px 0 12px}
.monthly-support input[type=text]{display:block;width:100%;min-width:0;max-width:100%;margin:0;padding:15px 114px 15px 16px;background:var(--monthly-paper);border:1px solid var(--monthly-line);color:var(--monthly-ink);font:700 40px/1.1 var(--font-display,'IBM Plex Sans Condensed',sans-serif);box-shadow:none;letter-spacing:-.025em}
.monthly-amount-field>span{position:absolute;top:50%;right:16px;transform:translateY(-50%);font-size:12px;color:var(--monthly-muted);pointer-events:none}
.monthly-amounts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:12px 0}
.monthly-amounts button{min-width:0;min-height:44px;padding:9px 4px;border:1px solid var(--monthly-line);background:transparent;color:var(--monthly-ink);font:800 15px/1.3 var(--font-display,'IBM Plex Sans Condensed',sans-serif);cursor:pointer}
.monthly-summary{padding:14px 16px;margin:16px 0;background:#d6d6d2;border:1px solid #b3b3ae}
.monthly-summary .monthly-section-label{margin-bottom:5px}
.monthly-summary output{display:block;font:800 clamp(23px,2.5vw,30px)/1.2 var(--font-display,'IBM Plex Sans Condensed',sans-serif);letter-spacing:-.025em}
.monthly-summary-note{display:block;margin-top:6px;font-size:12px;color:var(--monthly-muted)}
.monthly-help{font-size:12px;line-height:1.65;color:var(--monthly-muted);margin:10px 0 16px}
.monthly-payment-note{margin-bottom:18px}
.monthly-support details{margin:9px 0;padding:0;background:transparent;border:0}
.monthly-support summary{padding:9px 0;cursor:pointer;font:700 14px/1.5 var(--font-body,'Manrope',sans-serif)}
.monthly-terms{font-size:12px;line-height:1.7;max-height:300px;overflow:auto;overscroll-behavior:contain;padding:8px 12px;background:var(--monthly-paper)}
.monthly-terms p{margin:0 0 10px}
#contentContainer .monthly-support .monthly-terms p{overflow-wrap:anywhere!important;word-break:normal!important}
.monthly-support .monthly-consent{display:flex;align-items:flex-start;gap:10px;margin:18px 0;font:400 13px/1.65 var(--font-body,'Manrope',sans-serif);background:transparent}
.monthly-consent span{min-width:0;flex:1}
.monthly-consent strong{font-weight:750;white-space:nowrap}
.monthly-consent input[type=checkbox]{display:block;width:20px!important;height:20px!important;min-width:20px!important;max-width:20px!important;flex:0 0 20px;margin:2px 0 0!important;padding:0!important;accent-color:#101010}
.monthly-primary,.monthly-secondary,.monthly-detach{display:inline-flex;justify-content:center;align-items:center;min-height:44px;min-width:0;max-width:100%;padding:11px 18px;border:1px solid var(--monthly-line);font:800 14px/1.4 var(--font-display,'IBM Plex Sans Condensed',sans-serif);text-align:center;text-decoration:none;white-space:normal;cursor:pointer;box-shadow:none}
.monthly-primary{background:#101010;color:#fff;width:100%;min-height:50px}
.monthly-secondary{background:transparent;color:var(--monthly-ink)}
.monthly-detach{background:transparent;color:var(--monthly-ink)}
.monthly-form-actions{display:flex;align-items:center;flex-wrap:wrap;gap:14px;margin-top:20px}
.monthly-form-actions>a{font-size:12px;color:var(--monthly-ink);text-decoration:underline;text-underline-offset:3px}
.monthly-hold,.monthly-feedback{font-size:12px;line-height:1.65;margin:12px 0 0}
.monthly-feedback:empty{display:none}
.monthly-feedback[data-error=true]{color:var(--fmr-service-error,#b42335)}
.monthly-operation-feedback{padding:12px 14px;background:var(--monthly-panel);color:var(--monthly-ink)}
.monthly-loading{font-size:13px;color:var(--monthly-muted);padding:8px 0}
.monthly-empty{padding:0}
.monthly-empty h4{font-size:18px;line-height:1.3;margin:0 0 5px}
.monthly-empty>p{font-size:12px;line-height:1.6;color:var(--monthly-muted);margin:0}
.monthly-empty-mark{display:none}
.monthly-empty>.monthly-help{margin-top:12px}
.monthly-empty>.monthly-detach:disabled{display:none}
.monthly-list-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}
.monthly-plan{padding:0;border:0}
.monthly-plan+.monthly-plan{margin-top:20px}
.monthly-plan h4{font-size:28px;line-height:1.1;margin:0;letter-spacing:-.025em}
.monthly-plan-top{display:flex;align-items:center;flex-wrap:wrap;gap:5px 14px;margin-bottom:7px}
.monthly-badge{display:inline-flex;align-items:center;gap:7px;font-size:11px;font-weight:700;line-height:1.5;color:var(--monthly-gold);background:transparent;border:0;padding:0}
.monthly-badge::before{content:'';width:6px;height:6px;flex:0 0 6px;background:currentColor}
.monthly-badge[data-status=active]{color:var(--fmr-service-success,#2f7d59)}
.monthly-badge[data-status=failed]{color:var(--fmr-service-error,#b42335)}
.monthly-badge[data-status=canceled]{color:var(--monthly-muted)}
.monthly-card-status{margin:0 0 7px;padding:0;background:transparent;border:0}
.monthly-card-status strong{font-size:12px;font-weight:600}
.monthly-card-status p{font-size:12px;color:var(--monthly-muted);margin:5px 0 0}
.monthly-plan dl{display:grid;grid-template-columns:auto minmax(0,1fr);gap:3px 12px;margin:0}
.monthly-plan dt,.monthly-plan dd{font-size:12px;line-height:1.6;margin:0}
.monthly-plan dt{color:var(--monthly-muted)}
.monthly-plan dd{font-weight:650;color:var(--monthly-ink)}
.monthly-plan>.monthly-detach{margin:10px 0 0;padding:10px 14px;font-size:13px}
.monthly-pagination{display:flex;align-items:center;flex-wrap:wrap;gap:10px;font-size:12px;margin-top:10px}
.monthly-return-link{font-size:11px;line-height:1.6;color:var(--monthly-muted);max-width:760px;margin:24px 0 0}
.monthly-return-link a{color:var(--monthly-ink);text-underline-offset:3px}
.monthly-account-summary{--monthly-ink:#f2f2ef;--monthly-muted:#cececa;--monthly-gold:#d4d4cf;--monthly-panel:#111111;--monthly-paper:#242424;--monthly-line:#4b4b47;padding:16px 18px;background:var(--monthly-panel)}
.monthly-account-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}
.monthly-account-heading .monthly-section-label{font-size:10px;letter-spacing:.08em;margin:0 0 3px}
.monthly-account-heading h3{font-size:22px;line-height:1.15;margin:0;text-transform:uppercase}
.monthly-account-heading>button{flex:0 0 auto;padding:7px 12px;border:1px solid #666661;text-decoration:none;font-size:12px}
.monthly-account-summary .monthly-plan h4{font-size:25px}
.monthly-account-summary .monthly-empty>.monthly-secondary{padding:7px 0;border:0;text-decoration:underline;text-underline-offset:3px;font-size:12px}
.monthly-account-summary .monthly-plan-details,.monthly-account-summary .monthly-history{margin-top:8px}
.monthly-account-summary .monthly-plan-details>summary,.monthly-account-summary .monthly-history>summary{font-size:12px;padding:5px 0;color:var(--monthly-muted)}
.monthly-account-summary .monthly-history>.monthly-plan{margin:12px 0}
.monthly-account-summary [data-monthly-list-feedback]:not([data-error=true]){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.monthly-account-summary .monthly-operation-feedback{background:var(--monthly-paper)}
/* Keep the existing rule that prevents a second monthly connection form. */
[data-monthly-root]:has(.monthly-plan:is([data-status=active],[data-status=pending])) .monthly-form-card{display:none}
.monthly-confirm{box-sizing:border-box;width:520px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);overflow:auto;padding:28px;border:1px solid var(--monthly-line);background:var(--monthly-paper);color:var(--monthly-ink);font:14px/1.7 var(--font-body,'Manrope',sans-serif);box-shadow:0 20px 70px #05060533}
.monthly-confirm::backdrop{background:#05060599}
.monthly-confirm h3{font:800 30px/1.1 var(--font-display,'IBM Plex Sans Condensed',sans-serif);margin:8px 0 18px;letter-spacing:-.025em}
.monthly-confirm p{margin:12px 0 18px}
.monthly-confirm .monthly-form-actions{display:grid;gap:10px}
.monthly-confirm .monthly-form-actions>button{width:100%}
.monthly-redirect-page{box-sizing:border-box;max-width:100%;margin:0;padding:24px 16px;background:#ededeb}
.monthly-redirect{max-width:760px;margin:8vh auto;padding:clamp(24px,5vw,48px);background:var(--monthly-paper);border:0}
.monthly-redirect h1{font-size:clamp(34px,5vw,54px);line-height:1.02;text-transform:uppercase;margin:12px 0 22px}
.monthly-redirect p{margin:16px 0 22px}
.monthly-redirect a:not(.monthly-primary){color:var(--monthly-ink);text-underline-offset:3px}
@media(max-width:480px){.monthly-redirect h1{font-size:clamp(26px,8vw,34px);line-height:1.06}}
.monthly-diagnostic{margin-top:24px}
.monthly-diagnostic .monthly-header{margin-bottom:18px}
.monthly-diagnostic h2{font-size:clamp(28px,3vw,38px)}
.monthly-diagnostic .monthly-management{padding:18px;background:var(--monthly-panel)}
.monthly-diagnostic .monthly-plan dl{margin:12px 0}
.monthly-diagnostic .monthly-summary{padding:0;margin:0 0 14px}
/* Scope necessary control overrides; match the site's final palette guard. */
#contentContainer .monthly-support{background:#ededeb!important}
#contentContainer .monthly-support .monthly-form-card{background:var(--monthly-panel)!important;box-shadow:none!important;padding:22px}
#contentContainer .monthly-support .monthly-form-card{border:1px solid var(--monthly-line)!important}
#contentContainer .monthly-support .monthly-management{background:transparent!important;box-shadow:none!important}
#contentContainer .monthly-support .monthly-account-summary,#contentContainer .monthly-diagnostic .monthly-management{background:var(--monthly-panel)!important}
#contentContainer :is([data-monthly-root],[data-daily-root]).monthly-support :is(.monthly-plan,.monthly-plan-top,.monthly-card-status,.monthly-plan-details,.monthly-history){background:transparent!important;border:0!important;box-shadow:none!important}
#contentContainer .monthly-support,#contentContainer .monthly-support :is(section,article,div,details,button,input),#monthly-redirect{border-radius:0!important}
#contentContainer .monthly-support :is(h2,h3,h4){color:var(--monthly-ink)!important;font-family:var(--font-display,'IBM Plex Sans Condensed',sans-serif)!important}
#contentContainer .monthly-support button,#monthly-redirect .monthly-primary{font-family:var(--font-display,'IBM Plex Sans Condensed',sans-serif)!important;min-height:44px!important;box-shadow:none!important;border-radius:0!important}
#contentContainer .monthly-support #monthly-amount{background:var(--monthly-paper)!important;border:1px solid var(--monthly-line)!important;border-radius:0!important;padding:15px 114px 15px 16px!important;font:700 40px/1.1 var(--font-display,'IBM Plex Sans Condensed',sans-serif)!important;color:var(--monthly-ink)!important}
#contentContainer .monthly-support #monthly-amount[aria-invalid=true]{border-color:var(--fmr-service-error,#b42335)!important}
#contentContainer .monthly-support .monthly-primary,#monthly-redirect .monthly-primary{background:#101010!important;color:#fff!important;border-color:#101010!important}
#contentContainer .monthly-support .monthly-secondary,#contentContainer .monthly-support .monthly-detach,#contentContainer .monthly-support .monthly-amounts button{background:transparent!important;color:var(--monthly-ink)!important;border-color:var(--monthly-line)!important}
#contentContainer .monthly-support .monthly-amounts button{font-size:15px!important;padding:9px 4px!important;white-space:nowrap}
#contentContainer .monthly-support .monthly-amounts [aria-pressed=true]{background:#101010!important;color:#fff!important;border-color:#101010!important}
#contentContainer .monthly-support button:hover:not(:disabled),#contentContainer .monthly-support button:focus-visible,#monthly-redirect .monthly-primary:hover{background:#353535!important;color:#fff!important;border-color:#353535!important}
#contentContainer .monthly-support button:disabled{background:#d2d2ce!important;color:#606060!important;border-color:#bbbbb6!important;opacity:1;cursor:default}
#contentContainer .monthly-support :is(button,a,input,summary):focus-visible,#monthly-redirect a:focus-visible{outline:3px solid #353535!important;outline-offset:3px!important}
.monthly-support a{overflow-wrap:anywhere}
@media(max-width:540px){.monthly-support{padding:18px 14px}.monthly-header{margin-bottom:22px}.monthly-support h2{font-size:34px}.monthly-support h3{font-size:27px}.monthly-grid{gap:26px}.monthly-account-summary{padding:14px}.monthly-account-heading h3{font-size:22px}.monthly-account-summary .monthly-plan h4{font-size:24px}.monthly-plan dl{grid-template-columns:minmax(0,1fr);gap:1px}.monthly-amounts{gap:6px}.monthly-amount-field>span{right:12px;font-size:11px}.monthly-form-actions>*{width:100%}.monthly-form-actions>a{padding:5px 0}.monthly-confirm{padding:24px 18px}.monthly-confirm h3{font-size:28px}.monthly-redirect{margin:3vh auto;padding:24px 18px}.monthly-diagnostic .monthly-management{padding:14px}#contentContainer .monthly-support .monthly-amounts button{font-size:13px!important;padding:9px 2px!important}#contentContainer .monthly-support #monthly-amount{font-size:36px!important;padding:15px 94px 15px 14px!important}}
@media(prefers-reduced-motion:reduce){.monthly-support *,.monthly-redirect *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
/* The shared mobile layer uses !important; keep legal URLs readable there. */
@layer fmrMobile{@media(max-width:1023px){#contentContainer .monthly-support .monthly-terms p{overflow-wrap:anywhere!important;word-break:normal!important}}}

/* Strong rectangles group account status, method, timing and consent controls. */
#contentContainer .monthly-support :is(.monthly-summary output,label,.monthly-return-link a){color:var(--monthly-ink)!important}
#contentContainer .monthly-support :is(.monthly-lead,.monthly-help,.monthly-return-link){color:var(--monthly-muted)!important}
#contentContainer .monthly-support :is(.monthly-kicker,.monthly-section-label){color:var(--monthly-gold)!important}
#contentContainer .monthly-support .monthly-account-summary{border:1px solid #111111!important}
#contentContainer .monthly-support .monthly-account-summary :is(p,dt,.monthly-plan-details>summary,.monthly-history>summary){color:var(--monthly-muted)!important}
#contentContainer .monthly-support .monthly-account-summary :is(h3,h4,dd,strong,.monthly-secondary,.monthly-detach){color:var(--monthly-ink)!important}
#contentContainer .monthly-support .monthly-account-summary .monthly-section-label{color:#d4d4cf!important}
#contentContainer .monthly-support .monthly-account-summary .monthly-badge[data-status=active]{color:#a6dbba!important}
#contentContainer .monthly-support .monthly-account-summary .monthly-badge[data-status=failed]{color:#ffb8b8!important}
#contentContainer .monthly-support .monthly-account-summary .monthly-badge[data-status=canceled]{color:#cececa!important}
#contentContainer .monthly-support .monthly-account-summary .monthly-card-status{display:inline-block;background:#242424!important;border:1px solid #4b4b47!important;padding:6px 9px;margin:0 0 8px}
#contentContainer .monthly-support .monthly-account-summary .monthly-plan>dl{background:#1d1d1d!important;border:1px solid #4b4b47!important;padding:7px 10px}
#contentContainer .monthly-support .monthly-account-summary :is(.monthly-secondary,.monthly-detach){border-color:#666661!important}
#contentContainer .monthly-support .monthly-amounts button:not([aria-pressed=true]){background:var(--monthly-paper)!important}
#contentContainer .monthly-support .monthly-consent{background:#ebebe8!important;border:1px solid #bfbfbb!important;padding:11px 12px}
#contentContainer .monthly-diagnostic .monthly-management{border:1px solid #bfbfbb!important;padding:16px}
@media(max-width:540px){#contentContainer .monthly-support .monthly-form-card{padding:16px 12px}#contentContainer .monthly-support .monthly-consent{padding:10px 8px}.monthly-summary{padding:12px}}

/* Account status is the headline; stopped plans show amounts only in history. */
#contentContainer [data-monthly-root].monthly-support .monthly-account-summary .monthly-status-panel{--status-bg:#4b1e27;--status-ink:#ffdae1;--status-line:#d88798;display:block;background:var(--status-bg)!important;border:1px solid var(--status-line)!important;border-left-width:5px!important;padding:12px 14px;margin:0 0 10px;width:100%}
#contentContainer [data-monthly-root].monthly-support .monthly-account-summary .monthly-status-panel[data-status=active]{--status-bg:#143c2b;--status-ink:#c3f1d5;--status-line:#78bd96}
#contentContainer [data-monthly-root].monthly-support .monthly-account-summary .monthly-status-panel:is([data-status=pending],[data-status=review],[data-status=unconfirmed]){--status-bg:#43361d;--status-ink:#fff0bd;--status-line:#c5a15b}
#contentContainer [data-monthly-root].monthly-support .monthly-account-summary .monthly-status-panel h4{font-size:26px;line-height:1.12;margin:0!important;color:var(--status-ink)!important}
#contentContainer [data-monthly-root].monthly-support .monthly-account-summary .monthly-status-panel .monthly-status-description{font-size:13px!important;line-height:1.5!important;margin:7px 0 0!important;color:var(--status-ink)!important}
#contentContainer [data-monthly-root].monthly-support .monthly-account-summary .monthly-plan-amount{font-size:24px!important;font-weight:800;line-height:1.2!important;margin:10px 0!important;color:#f2f2ef!important}
#contentContainer [data-monthly-root].monthly-support .monthly-account-summary .monthly-card-status{padding:8px 11px;margin:0 0 8px!important}
#contentContainer [data-monthly-root].monthly-support .monthly-account-summary .monthly-card-status strong{font-size:14px;line-height:1.4}
#contentContainer [data-monthly-root].monthly-support .monthly-account-summary .monthly-card-status[data-method=detached]{background:#143c2b!important;border-color:#78bd96!important}
#contentContainer [data-monthly-root].monthly-support .monthly-account-summary .monthly-card-status[data-method=detached] strong{color:#c3f1d5!important}
#contentContainer [data-monthly-root].monthly-support .monthly-account-summary .monthly-card-status[data-method=attached]{background:#292929!important;border-color:#777!important}
#contentContainer [data-monthly-root].monthly-support .monthly-account-summary .monthly-plan[data-status=failed] .monthly-card-status[data-method=attached]{background:#43361d!important;border-color:#c5a15b!important}
#contentContainer [data-monthly-root].monthly-support .monthly-account-summary .monthly-plan[data-status=failed] .monthly-card-status[data-method=attached] strong{color:#fff0bd!important}
#contentContainer [data-monthly-root].monthly-support .monthly-account-summary .monthly-plan-warning{padding:9px 11px;margin:8px 0!important;background:#43361d!important;border:1px solid #c5a15b!important;color:#fff0bd!important;font-size:12px!important;line-height:1.5!important}
#contentContainer [data-monthly-root].monthly-support .monthly-account-summary .monthly-feedback[data-error=true]{padding:9px 11px;background:#4b1e27!important;border:1px solid #d88798!important;color:#ffdae1!important}
@media(max-width:540px){#contentContainer [data-monthly-root].monthly-support .monthly-account-summary .monthly-status-panel{padding:10px 11px}#contentContainer [data-monthly-root].monthly-support .monthly-account-summary .monthly-status-panel h4{font-size:24px}}
