.platform-free-badge { display:inline-flex; align-items:center; justify-content:center; gap:6px; min-height:30px; padding:4px 13px; border:1px solid #9fd8b2; border-radius:999px; background:#e9f8ee; color:#126b37; font-size:15px; font-weight:800; line-height:1.4; white-space:nowrap; vertical-align:middle; }
.platform-free-badge:before { content:''; width:7px; height:7px; border-radius:50%; background:currentColor; }
.dark .platform-free-badge { color:#9af0b7; border-color:#3f7555; background:#183e2a; }
body .header-wallet.header-wallet-free { padding:6px 12px; border-color:#b6dfc4; background:transparent; }
.header-wallet-free .platform-free-badge { font-size:18px; min-height:32px; }
.platform-mode-panel { display:grid; gap:16px; padding:24px; }
.platform-mode-heading { display:flex; align-items:center; gap:14px; }
.platform-mode-heading > div { flex:1; }
.platform-mode-heading h2 { font-size:1.15rem; font-weight:750; }
.platform-mode-heading p,.platform-mode-panel > p { font-size:.875rem; line-height:1.8; color:var(--app-muted); }
.platform-mode-actions { display:flex; flex-wrap:wrap; gap:10px; }
.platform-free-view { display:flex; flex-direction:column; align-items:center; gap:18px; padding:clamp(24px,5vw,60px); text-align:center; }
.platform-free-view > p { max-width:40rem; color:var(--app-muted); line-height:1.8; }
.platform-free-view > a { display:inline-flex; align-items:center; justify-content:center; gap:10px; min-height:44px; padding:12px 22px; background:var(--app-action-bg); color:var(--app-action-ink); border-radius:12px; }
.platform-free-view > a:hover { background:var(--app-action-hover); }
.study-primary .platform-free-badge { margin-inline-start:10px; min-height:24px; padding:2px 10px; font-size:12px; }
html[data-platform-free=true] .brand-public :is(#question-plans,[data-credit-packages],.home-hero .fine,[href^="/wallet"]) { display:none!important; }
html[data-access-pending=true] .brand-public :is(#question-plans,[data-credit-packages],.home-hero .fine) { visibility:hidden; }
@media(max-width:767px) { .platform-mode-panel { padding:16px; } .platform-mode-heading { flex-wrap:wrap; } .platform-mode-actions > button { flex:1; } .header-wallet-free .platform-free-badge { font-size:15px; padding:3px 9px; } body .header-wallet.header-wallet-free { padding:3px; } }
