/* Shared FPL DYM finishing layer for registration, operations and Trends. */
.dym-polished{--ui-purple:#27002e;--ui-green:#00ef91;--ui-surface:var(--white,#fff);--ui-tint:#f2edf5;--ui-border:var(--line,#ded3e2);--ui-text:var(--ink,#171019);--ui-muted:var(--muted,#6d6670)}
.dym-polished main{color:var(--ui-text)}.dym-polished main :is(h1,h2,h3){font-family:'League Spartan','DM Sans',sans-serif;letter-spacing:-.035em;line-height:1.15}.dym-polished main h2{font-size:clamp(25px,3vw,36px)}.dym-polished main h3{font-size:21px}.dym-polished main p{line-height:1.8}.dym-polished main :is(button,.button){min-height:44px;border-radius:10px;font-weight:700;font-size:13px;cursor:pointer}.dym-polished main :is(button,.button):focus-visible,.dym-polished main :is(a,input,select,textarea,summary):focus-visible{outline:3px solid #00ac6a;outline-offset:3px}.dym-polished main :is(input:not([type=checkbox]):not([type=radio]),select,textarea){max-width:100%;min-height:46px;border:1px solid #bcaec2;border-radius:9px;padding:11px 12px;background:var(--ui-surface);color:var(--ui-text);font:inherit;font-size:13px}.dym-polished main input[type=checkbox]{accent-color:#732780;width:19px;height:19px}.dym-polished main :is(.workflow-card,.roster-card,.master-card,.health-card,.access-plan,.trend-card,.round-insight-card,.leaders-filters,.portal-card){border-radius:16px;border-color:var(--ui-border);box-shadow:0 5px 18px #27002e05}.dym-polished main :is(button:disabled,.button[aria-disabled=true]){cursor:default;opacity:.55}.dym-polished main :is(.workflow-notice,.workflow-reason,.master-message,.trends-message){border-radius:12px;line-height:1.8}.dym-polished main table{border-collapse:collapse;font-size:13px;font-variant-numeric:tabular-nums}.dym-polished main th{background:#27002e;color:#fff;padding:13px 15px;text-align:left}.dym-polished main td{padding:12px 15px;border-bottom:1px solid var(--ui-border)}
.workflow-brand-hero{border-radius:22px;padding:36px;background:radial-gradient(ellipse at 95% 0,#64006c,transparent 65%),#27002e;color:#fff;margin:18px 0 28px}.workflow-brand-hero h1{font-size:clamp(34px,5vw,53px);margin:10px 0 18px}.workflow-brand-hero>p:not(.workflow-kicker){color:#e1d4e5;max-width:65ch;font-size:15px}.workflow-kicker{font-size:10px;font-weight:800;letter-spacing:.16em;color:#00ef91;margin:0}.workflow-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;list-style:none;padding:22px 0 0;margin:22px 0 0;border-top:1px solid #ffffff26}.workflow-steps li{font-size:12px;color:#e6d8e9}.workflow-steps b{display:block;color:#00ef91;font-size:20px;margin-bottom:8px}.dym-polished-next .workflow-shell{max-width:1000px;padding-bottom:80px}.dym-polished-next .workflow-card{padding:28px;background:var(--ui-surface);border:1px solid var(--ui-border)}.dym-polished-next form{display:grid;gap:16px}.dym-polished-next form label{display:grid;gap:8px;font-size:13px;font-weight:700;margin:0}.dym-polished-next :is(#application-status,#application-review,#application-wait,#application-identity){font-size:13px;color:var(--ui-muted)}.dym-polished-next #application-submit{background:#00ef91;color:#10291d;border:0;justify-self:start;padding:13px 23px}.dym-polished-next :is(#application-edit,#application-cancel-edit){border:1px solid #8d6498;background:var(--ui-surface);color:var(--ui-text);padding:11px 18px;margin:12px 5px 12px 0}.dym-polished-next #application-confirmation{border-left:4px solid #00ad6b;background:var(--ui-tint);padding:20px}.dym-polished-next #application-withdraw-area{margin-top:30px;padding-top:20px;border-top:1px solid var(--ui-border)}.dym-polished-next #application-withdraw{border:1px solid #bc7085;color:#9c2c49;background:transparent;padding:10px 16px}
.dym-polished-admin :is(.master-hero,.roster-hero){background:radial-gradient(ellipse at 90% 5%,#64006c,transparent 65%),#27002e;color:#fff}.dym-polished-admin :is(.master-hero,.roster-hero) h1 em{color:#00ef91;font-style:normal}.dym-polished-admin main :is(.master-card,.workflow-card,.roster-card,.health-card){background:var(--ui-surface);border:1px solid var(--ui-border);padding:24px;min-width:0;overflow-x:auto}.dym-polished-admin .master-card:hover{border-color:#9e6eaa;box-shadow:0 10px 28px #27002e12}.dym-polished-admin .master-card b{color:#773285}.dym-polished-admin .master-icon{background:var(--ui-tint);border-radius:12px;color:#713080}.dym-polished-admin .master-metrics{gap:16px}.dym-polished-admin .master-metrics article{border-radius:14px;border:1px solid var(--ui-border);background:var(--ui-surface);padding:22px}.dym-polished-admin .master-metrics strong{color:#783087}.dym-polished-admin main label{font-size:13px;font-weight:600;line-height:1.7}.dym-polished-admin main button{padding:10px 17px;border:1px solid #8b5b98;background:#27002e;color:#fff}.dym-polished-admin main button:hover:not(:disabled){background:#592064}.dym-polished-admin main :is(button[type=submit],.button-primary){background:#00ef91;border-color:#00ef91;color:#10291d}.dym-polished-admin main :is(.season-actions,.workflow-actions,.roster-actions){gap:10px;flex-wrap:wrap}.dym-polished-admin main details{border:1px solid var(--ui-border);border-radius:12px;padding:14px 18px;margin-block:18px}.dym-polished-admin main summary{cursor:pointer;font-size:13px;font-weight:700}
.dym-polished-trends :is(.trends-hero,.access-hero){background:radial-gradient(ellipse at 95% 0,#65006e,transparent 60%),#27002e}.dym-polished-trends .trends-hero h1 em{color:#00ef91;font-style:normal}.dym-polished-trends :is(.trends-discovery-grid,.tool-explain-grid){gap:18px}.dym-polished-trends :is(.trends-discovery-grid article,.tool-explain-grid article,.access-plan){padding:26px;border:1px solid var(--ui-border);border-radius:17px;background:var(--ui-surface)}.dym-polished-trends .access-plan-pro{border-top:4px solid #00d37f}.dym-polished-trends .access-plan li{padding-block:8px;line-height:1.65}.pro-custom-benefit{border:1px solid #b8e3d0;background:#eefbf4;border-radius:10px;padding:15px!important;list-style:none;margin:10px 0}.pro-custom-benefit :is(strong,span,a){display:block}.pro-custom-benefit strong{font-size:15px;color:#27002e}.pro-custom-benefit span{font-size:12px;color:#345446;margin-top:6px}.pro-custom-benefit a{font-size:12px;font-weight:700;margin-top:10px;color:#345446;text-decoration:underline}.dym-polished-trends .trends-tabs{gap:8px;padding:8px;background:var(--ui-surface);border:1px solid var(--ui-border);border-radius:14px;flex-wrap:wrap}.dym-polished-trends .trends-tabs button{padding:11px 17px;border:1px solid transparent;border-radius:9px;background:var(--ui-tint);color:var(--ui-text)}.dym-polished-trends .trends-tabs button.is-active{background:#27002e;color:#fff}.dym-polished-trends :is(.trend-card,.round-insight-card,.fixture-row,.leader-row){border:1px solid var(--ui-border);border-radius:13px;background:var(--ui-surface)}.dym-polished-trends :is(.trend-card,.round-insight-card){padding:22px}.dym-polished-trends .fixture-row{margin-block:12px;padding:18px}.dym-polished-trends summary{cursor:pointer}.dym-polished-trends .fixture-detail summary{font-weight:700;padding:10px 0;color:#763585}
.mydym-custom-launch{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px 30px;background:radial-gradient(ellipse at 100% 0,#62006b,transparent 65%),#27002e;color:#fff;border-radius:18px;padding:28px;margin:24px 0}.mydym-custom-launch .portal-kicker{color:#00ef91}.mydym-custom-launch h2{color:#fff;margin:8px 0 12px}.mydym-custom-launch p{color:#e5d6e8;margin:0;font-size:13px}.mydym-custom-launch .portal-actions{align-content:center;align-items:center;justify-content:end;max-width:340px;flex-wrap:wrap;margin:0}.mydym-custom-launch .button-outline{color:#fff;border-color:#c2a0cd}.mydym-custom-launch small{grid-column:1/-1;color:#c6aecf;font-size:11px}
html[data-theme=dark] .dym-polished{--ui-tint:#302336;--ui-border:#4d3b55;--ui-muted:#c6b8ce}html[data-theme=dark] .dym-polished-admin .master-card b,html[data-theme=dark] .dym-polished-admin .master-metrics strong,html[data-theme=dark] .dym-polished-trends .fixture-detail summary{color:#dba3ec}html[data-theme=dark] .pro-custom-benefit{background:#19372c;border-color:#41765d}html[data-theme=dark] .pro-custom-benefit :is(strong,span,a){color:#d2f7e4}html[data-theme=dark] .dym-polished-next #application-withdraw{color:#ffb6c9}html[data-theme=dark] .dym-polished main :is(input:not([type=checkbox]):not([type=radio]),select,textarea){background:#211a2b;color:#f3edf6;border-color:#796582}
@media(max-width:760px){.dym-polished main :is(.section,.trends-discovery){padding-block:40px}.workflow-brand-hero{padding:26px 22px}.workflow-steps{grid-template-columns:1fr;gap:12px}.workflow-steps li{display:flex;align-items:center;gap:12px}.workflow-steps b{margin:0;font-size:16px}.dym-polished-next .workflow-card{padding:20px}.dym-polished-next :is(#application-submit,#application-edit,#application-withdraw){width:100%}.dym-polished-admin :is(.master-metrics,.master-grid,.season-layout){grid-template-columns:1fr}.dym-polished-admin main :is(.master-card,.workflow-card,.roster-card,.health-card){padding:20px}.dym-polished-trends :is(.trends-tabs,.trends-toolbar,.leaders-filters){gap:10px}.dym-polished-trends .trends-tabs button{flex:1}.mydym-custom-launch{grid-template-columns:1fr;padding:24px}.mydym-custom-launch .portal-actions{max-width:none;justify-content:start}.mydym-custom-launch .button{width:100%}.dym-polished main table{font-size:12px}}
@media(prefers-reduced-motion:reduce){.dym-polished main *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.dym-polished-next #application-annual{display:grid;gap:18px}.dym-polished-next #application-annual[hidden]{display:none!important}
.dym-polished-admin :is(.master-hero,.roster-hero){padding-block:42px}.dym-polished-admin :is(.master-hero,.roster-hero) h1{font-size:clamp(36px,4.6vw,62px);line-height:1.08;margin:12px 0 20px}.dym-polished-admin :is(.master-hero,.roster-hero)>p{font-size:15px}.dym-polished-trends .trends-hero h1{font-size:clamp(38px,5vw,66px)}

/* 1.65.3: explicit Pro surface/text pair; no white-on-white inheritance. */
html[data-theme] body.dym-polished.dym-polished-trends main .access-plan-pro{background:linear-gradient(145deg,#27002e,#54215d);color:#fff;border:1px solid #7e4c87;border-top:4px solid #00d889}
.dym-polished-trends .access-plan-pro :is(h2,.access-price,p,li){color:#fff}
.dym-polished-trends .access-plan-pro .access-plan-label{color:#80ffbd}
.dym-polished-trends .access-plan-pro .pro-custom-benefit{background:#eafff2;border-color:#9ddebc;color:#27002e}
.dym-polished-trends .access-plan-pro .pro-custom-benefit strong{color:#27002e}
.dym-polished-trends .access-plan-pro .pro-custom-benefit :is(span,a){color:#244c3a}
.dym-polished-trends .access-plan-pro .button{background:#00e68a;color:#16271f;border-color:#00e68a;white-space:normal;text-align:center;max-width:100%}
.dym-polished-trends .access-plan-pro .button:hover{background:#79ffc0;color:#16271f}
.dym-polished-trends .access-plan-grid{align-items:start}
.dym-polished-trends .access-plan ul{padding-left:20px}
.dym-polished-trends .access-plan .pro-custom-benefit{margin-left:-20px}
.current-status{font-weight:700;color:var(--ui-text)}.current-success{padding:20px;border:1px solid var(--ui-border);border-radius:12px;background:var(--ui-tint)}.current-evidence{white-space:pre-wrap;overflow-wrap:anywhere}.current-check{display:flex!important;align-items:start;gap:10px}.current-check input{flex:none;margin-top:4px}.dym-polished .workflow-notice.is-error{border-left:4px solid #b82b4b}.dym-polished .portal-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-top:18px}
@media(max-width:600px){.dym-polished-trends .access-plan{padding:22px 20px}.dym-polished-trends .access-plan h2{font-size:28px}.dym-polished-trends .access-price{font-size:clamp(25px,7vw,36px)}.dym-polished .workflow-card{overflow-wrap:anywhere}}

.current-field-error{color:#9d1737;font-weight:700;margin-top:6px;line-height:1.6}.current-form-feedback{margin:18px 0;scroll-margin-block:100px}.current-form-feedback:empty{display:none}.dym-polished [aria-invalid=true]{border-color:#b82b4b!important}.current-form-feedback:focus{outline:3px solid #008052;outline-offset:4px}html[data-theme=dark] .current-field-error{color:#ffb6c9}
