/* Shared platform presentation. Loaded only outside public radio pages and widgets. */
body:is([data-platform-ui],.pd-admin,.uh-shell:has(.uh-header[data-layout="v2"])){
 --ui-bg:#eef9ff;--ui-surface:#fff;--ui-ink:#173653;--ui-muted:#52738a;--ui-line:#b6d8ec;--ui-accent:#007fa7;
 --bg:var(--ui-bg);--surface:var(--ui-surface);--text:var(--ui-ink);--line:var(--ui-line);--accent:var(--ui-accent);
 --pd-ink:var(--ui-ink);--pd-muted:var(--ui-muted);--pd-line:var(--ui-line);
 margin:0;background:var(--ui-bg)!important;color:var(--ui-ink)!important;color-scheme:light!important;font-family:Inter,"Segoe UI",Arial,sans-serif!important;line-height:1.5;
}
body:is([data-platform-ui],.pd-admin,.uh-shell:has(.uh-header[data-layout="v2"])) :is(input:not([type=range]):not([type=checkbox]):not([type=radio]):not([type=color]):not([type=hidden]),select,textarea){background:#f7fcff!important;color:#173653!important;border-color:#a8cfe6!important;border-radius:9px;color-scheme:light;max-width:100%;font:inherit;min-height:42px}
body:is([data-platform-ui],.pd-admin,.uh-shell:has(.uh-header[data-layout="v2"])) :is(option,optgroup){background:#fff!important;color:#173653!important}
body:is([data-platform-ui],.pd-admin,.uh-shell:has(.uh-header[data-layout="v2"])) :is(input,textarea)::placeholder{color:#607e94!important;opacity:1}
body:is([data-platform-ui],.pd-admin,.uh-shell:has(.uh-header[data-layout="v2"])) :focus-visible{outline:3px solid #0088b4!important;outline-offset:3px}
body:is([data-platform-ui],.pd-admin,.uh-shell:has(.uh-header[data-layout="v2"])) :is(button,a.button,.cn-button){touch-action:manipulation}
body:is([data-platform-ui],.pd-admin) :is(.card,.cn-card,.pd-card,.pm-card,.pd-context-switch,.m2-history,.m2-admin,.onp-article,.side,.tabs,.post){background:#fff!important;color:#173653!important;border:1px solid #b6d8ec!important;border-radius:14px;box-shadow:0 3px 14px #16527a09!important}
body:is([data-platform-ui],.pd-admin) :is(.muted,.cn-muted,.pd-muted,.pm-description){color:#52738a!important}
body:is([data-platform-ui],.pd-admin) :is(.button,button[type=submit],.cn-primary,.pd-primary){background:linear-gradient(110deg,#008eae,#007ba6)!important;color:#fff!important;border:1px solid #007da6!important;border-radius:10px;min-height:42px}
body:is([data-platform-ui],.pd-admin) :is(.subtle,.cn-button:not(.cn-primary)){background:#f0f9ff!important;color:#006b91!important;border-color:#a8cfe6!important}
body:is([data-platform-ui],.pd-admin) button:disabled{opacity:.55;cursor:default}
body:is([data-platform-ui],.pd-admin) :is(table,fieldset){border-color:#b6d8ec!important;max-width:100%}
body:is([data-platform-ui],.pd-admin) :is(th,td){border-color:#cce3f0!important}
body:is([data-platform-ui],.pd-admin) th{background:#eaf6fd!important;color:#173653!important}
body:is([data-platform-ui],.pd-admin) :is(dialog,.pd-dropdown,.pd-search-dialog){background:white!important;color:#173653!important;border:1px solid #b6d8ec!important;border-radius:14px;box-shadow:0 14px 40px #244f7230!important}
body:is([data-platform-ui],.pd-admin) dialog::backdrop{background:#082b4666;backdrop-filter:blur(3px)}
body:is([data-platform-ui],.pd-admin) :is(.pd-topbar,.m2-top,.fc-header),body[data-platform-ui="profile"]>header,body[data-platform-ui="legacy"]>.shell>header{background:linear-gradient(110deg,#008ec3,#005485)!important;color:#fff!important;border-color:#63bedc!important;box-shadow:0 3px 12px #003c6220!important}
body:is([data-platform-ui],.pd-admin) :is(.pd-topbar,.m2-top,.fc-header) a,body[data-platform-ui="profile"]>header a{color:#fff!important}
body.pd-admin .pd-app{border:0!important;box-shadow:none!important}
body.pd-admin :is(.pd-main,.pd-workspace,.pm-module){background:transparent!important;color:#173653!important}
body.pd-admin :is(.pd-resource-card,.pm-resource,.pd-service,.pm-module-card){background:#fff!important;color:#173653!important;border-color:#b6d8ec!important;border-radius:14px;box-shadow:0 3px 14px #16527a09!important}
body.pd-admin :is(.pd-profile small,.pd-icon-button,.pd-profile>summary){color:#fff!important}
body.pd-admin .pd-search-trigger{background:#ffffff!important;color:#416980!important;border-color:#c9eaf5!important;box-shadow:none!important}
body.pd-admin :is(.pd-banner,.pd-hero){background:linear-gradient(110deg,#007fa7,#005485)!important;color:#fff!important}
body.pd-admin :is(.pd-banner,.pd-hero) :is(h1,h2,p,small){color:#fff!important}
body.pd-admin .pd-dropdown :is(a,button){color:#173653!important}
body[data-platform-ui="profile"] .tabs a{color:#173653}
body[data-platform-ui="profile"] .tabs a.active{color:#fff}
body[data-platform-ui="legacy"] .heading{color:#173653!important}
body[data-platform-ui="legacy"] .public-shell{max-width:1600px;margin:auto;padding:clamp(16px,3vw,32px)}
@media(max-width:600px){body:is([data-platform-ui],.pd-admin) :is(.pd-main,.public-shell){padding-left:12px!important;padding-right:12px!important}body:is([data-platform-ui],.pd-admin) :is(.pd-card,.pm-card,.cn-card){max-width:100%;min-width:0}body:is([data-platform-ui],.pd-admin) :is(h1,h2,h3,p,label){overflow-wrap:anywhere}}
/* Catalog cards retain the transparent presentation requested for FROO Cards. */
body:is([data-platform-ui],.pd-admin) :is([data-fc-card],.fc-info){background:transparent!important;box-shadow:none!important}
body:is([data-platform-ui],.pd-admin) :is(label,legend){color:#173653!important}
body:is([data-platform-ui],.pd-admin) :is(.card,.cn-card,.pd-card,.pm-card,.pm-module-card,.login) :is(p,label,small,input,button,a){font-family:Inter,"Segoe UI",Arial,sans-serif!important}
body:is([data-platform-ui],.pd-admin) :is(.login,.public-shell) a:not(.button){color:#006b91!important}
body.pd-admin button.pd-nav-button{background:transparent!important;color:#173653!important;border:0!important;box-shadow:none!important}
body.pd-admin button.pd-nav-button:hover{background:#eaf7ff!important}
body.pd-admin .pm-profile-hero{background:linear-gradient(110deg,#007fa7,#005485)!important;color:#fff!important;border-color:#007da6!important}
body.pd-admin .pm-profile-hero :is(h2,p,small,strong,.pd-nav-button){color:#fff!important}
body.pd-admin .pm-profile-hero button.pd-nav-button{color:#fff!important;background:#ffffff17!important;border:1px solid #aadbea!important}
body.pd-admin .pm-module-card .pd-icon{color:#007fa7!important}
html body.pd-modular.pd-admin .pd-banner{background:linear-gradient(110deg,#007fa7,#005485)!important;color:#fff!important;padding:18px 22px!important;border-radius:14px!important;margin-bottom:20px!important}
html body.pd-modular.pd-admin .pd-banner h1{color:white!important}
html body.pd-modular.pd-admin .pd-banner .pd-icon{color:white!important}
body:is([data-platform-ui],.pd-admin) :is(p,label,legend,h1,h2,h3,button,input,textarea,select){font-family:Inter,"Segoe UI",Arial,sans-serif!important}
body[data-platform-ui="profile"] .profile-wallets a{background:#eaf8ff!important;color:#006b91!important;border-color:#8dcce5!important}
body[data-platform-ui="profile"] .tabs :is(a.active,button.active){color:#fff!important}
body[data-platform-ui="cards"] .fc-header nav a{display:inline-flex;align-items:center;min-height:42px;padding:8px 14px;border:1px solid #93d5ed;border-radius:10px;text-decoration:none}

body[data-platform-ui="standalone"] :is(header,main>header){background:linear-gradient(110deg,#008ec3,#005485)!important;color:#fff!important;border-color:#63bedc!important;border-radius:12px;padding:18px 22px}
body[data-platform-ui="standalone"] header a{color:white!important}
body[data-platform-ui="standalone"] a{color:#006b91}
body[data-platform-ui="standalone"] .hero{background:#fff!important;color:#173653!important;border:1px solid #b6d8ec!important;border-radius:14px}
body[data-platform-ui="standalone"] .hero :is(h1,h2,p){color:#173653!important}
body:is([data-platform-ui],.pd-admin) :is(button.danger,a.button.danger,.pd-danger,.cn-danger){background:#b42332!important;color:#fff!important;border-color:#982330!important}
body:is([data-platform-ui],.pd-admin) :is(.notice,.pd-success){background:#e8f8ef!important;color:#1b6342!important;border-color:#9cd7b6!important}
body:is([data-platform-ui],.pd-admin) :is(.error,.pd-error,[role=alert]){color:#9f2634!important}
