/* Contain flexible tracks at the source; keep all copy and controls visible. */
body #main .recommendations264{min-width:0;max-inline-size:100%;display:block}
body #main .recommendations264>*,body #main .rec-support353>*,body #main .rec-section-head264>div:first-child{min-width:0;max-width:100%}
body #main .rec-support353{box-sizing:border-box;width:100%;grid-template-columns:32px minmax(0,1fr) fit-content(180px);gap:16px;padding:20px 24px;align-items:center}
body #main .rec-support353 h2{font-size:18px;line-height:1.35;margin:0 0 7px;letter-spacing:-.35px;overflow-wrap:anywhere}
body.text-rhythm #main .rec-support353 p{font-size:12px;line-height:1.75;white-space:normal;overflow-wrap:anywhere;max-width:82ch;margin:0}
body #main .rec-support353 button{white-space:normal;line-height:1.45;min-height:44px;max-width:180px;text-align:left}
body #main .rec-tabs318 button{min-width:0;overflow-wrap:anywhere}
body #main .rec-section-head264{flex-wrap:wrap}
body #main .rec-item-copy264 :is(a,p,small){overflow-wrap:anywhere}
body #main .rec-photo323 figcaption{flex-wrap:wrap;max-width:calc(100% - 40px)}
/* Shared cards must shrink within their tracks, including long names and URLs. */
#main :is(.service-copy318,.service-actions318,.profile-center280,.profile-left280,.profile-right280,.account-grid303,.account-stack303,.fil-support353,.switch-reassurance311)>*{min-width:0}
#main :is(.service-copy318,.account-card303,.profile-summary150,.fil-support353) :is(h2,h3,p){overflow-wrap:anywhere}
#main :is(.service-actions318,.account-actions303){flex-wrap:wrap}
#main .service-actions318>a{max-width:100%;white-space:normal;text-align:center}
.support-guide353,.switch-reassurance311,.profile-edit351{overflow-wrap:anywhere}
#main .fil-support353>button{flex:none}
/* A real learning badge, separate from the community support controls. */
body #main #member-profile150 .quest-badge354{display:flex;align-items:center;gap:12px;box-sizing:border-box;width:100%;margin-top:17px;padding:14px 12px;border:1px solid #d3b86c70;border-radius:17px;background:radial-gradient(ellipse at 12% 50%,#cba54428,transparent 65%),#171a1f;color:#fff;text-decoration:none;box-shadow:0 5px 18px #17232b12;transition:border-color .18s,box-shadow .18s}
body #main #member-profile150 .quest-badge354>img{position:static;width:76px;height:84px;max-width:32%;flex:none;object-fit:contain;filter:drop-shadow(0 3px 7px #0005)}
.quest-badge-copy354{display:flex;flex-direction:column;gap:5px;min-width:0;flex:1}
.quest-badge-copy354>small{font-size:8px;line-height:1.5;letter-spacing:.09em;font-weight:650;color:#d5c28f}
.quest-badge-copy354>strong{display:flex;align-items:center;gap:7px;flex-wrap:wrap;font-size:20px;line-height:1.25;letter-spacing:-.4px;color:#fff}
.quest-badge-copy354 em{font-size:8px;font-style:normal;font-weight:700;letter-spacing:.03em;color:#efd584;border:1px solid #c9a75265;border-radius:5px;padding:3px 4px}
.quest-badge-copy354>span{font-size:9px;line-height:1.5;color:#bdc7cc}
.quest-badge-copy354>b{display:flex;align-items:center;gap:8px;font-size:10px;line-height:1.5;color:#f2d989;margin-top:3px}
.quest-badge-copy354 i{font-style:normal;margin-left:auto}
body #main #member-profile150 .quest-badge354:hover{border-color:#e6c76d;box-shadow:0 7px 22px #b6993e22;color:#fff;text-decoration:none}
body #main #member-profile150 .quest-badge354:focus-visible{outline:3px solid #cfb36b;outline-offset:4px}
/* Compact menu header: close, identity, switch, bell, profile. */
body #account-drawer.drawer-app90 .drawer-header90{grid-template-columns:32px minmax(0,1fr) 28px 28px 36px;gap:7px;margin-bottom:17px}
body #account-drawer.drawer-app90 .drawer-header90 #drawer-title{font-size:14px!important;line-height:17px!important;white-space:normal}
body #account-drawer.drawer-app90 .drawer-header90>div>small{font-size:8px!important;line-height:11px!important;white-space:normal}
body #account-drawer.drawer-app90 .drawer-header90 [data-close-account]{width:32px;height:32px;min-width:32px;min-height:32px}
body #account-drawer.drawer-app90 .drawer-header90 .drawer-tool58{width:28px;min-width:28px;height:36px}
body #account-drawer.drawer-app90 .drawer-header90 .drawer-profile58{width:36px;min-width:36px;height:36px;min-height:36px;padding:2px!important;gap:0;border-radius:50%!important}
body #account-drawer.drawer-app90 .drawer-header90 .drawer-profile58>span:last-child{display:none}
body #account-drawer.drawer-app90 .drawer-header90 .drawer-avatar289{width:29px;height:29px;flex-basis:29px}
body #account-drawer.drawer-app90 .drawer-header90 .drawer-notifications354{position:relative;display:grid;place-items:center;width:28px;height:36px;padding:0;background:none;border:0;color:#e6eef1;text-decoration:none;border-radius:9px}
.drawer-notifications354 svg{width:21px;height:21px}
.drawer-notifications354>span{position:absolute;top:2px;right:-3px;min-width:15px;padding:1px 3px;border-radius:10px;background:#cc487b;color:#fff;font:700 8px/13px Montserrat,sans-serif;text-align:center}
body #account-drawer.drawer-app90 .drawer-header90 .drawer-notifications354:hover{background:#ffffff12}
@media(max-width:1000px){body #main .rec-support353{grid-template-columns:30px minmax(0,1fr)}body #main .rec-support353>button{grid-column:2;justify-self:start}}
@media(max-width:650px){body #main .rec-support353{padding:17px;gap:10px 12px;grid-template-columns:26px minmax(0,1fr)}body #main .rec-support353>.icon{width:26px;height:26px;align-self:start}body #main .rec-support353 h2{font-size:16px}body #main .rec-tabs318{gap:8px}body #main .rec-tabs318 button{padding:12px 8px}body #main .rec-section264{padding:15px}body #main .rec-photo323 figcaption{max-width:calc(100% - 28px);left:14px;bottom:14px}}
@media(prefers-reduced-motion:reduce){body #main #member-profile150 .quest-badge354{transition:none}}

body #account-drawer .drawer-notifications354[hidden]{display:none!important}

/* Settings uses the actual visible header, including when embedded in the page shell. */
:is(html,html[data-embedded=true]) body.settings-page338 .settings-sidebar338{min-height:0;align-self:start;overscroll-behavior-y:auto;overflow-anchor:none}
:is(html,html[data-embedded=true]) body.settings-page338 .settings-sidebar338[data-scroll354=ready]{position:sticky;top:var(--settings-inset354,14px);max-height:var(--settings-height354);overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:#93b6bf transparent;scrollbar-gutter:stable;padding:0 3px 16px 0}
:is(html,html[data-embedded=true]) body.settings-page338 .settings-sidebar338[data-scroll354=natural]{position:static;max-height:none;overflow:visible;padding:0;scrollbar-gutter:auto}
body.settings-page338 .settings-sidebar338:focus-visible{outline:2px solid #73a6b6;outline-offset:4px;border-radius:20px}
body.settings-page338 .settings-panel338 h2{scroll-margin-top:var(--settings-top354,110px)}
#notifications .notification-all354{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-top:16px;padding:13px 16px;border:1px solid #7ca8b354;border-radius:22px;background:#365a65;color:#fff;font-size:12px;font-weight:650;text-decoration:none}
#notifications .notification-all354 .icon{width:18px;height:18px;flex:none}
#notifications .notification-preview-note354{font-size:9px;line-height:1.6;margin:13px 0 0;color:#a5b5bc;text-align:center}
#notifications .preview-dot354{width:7px;height:7px;border-radius:50%;background:#d55b87;flex:none;margin-left:auto}
#notifications .notification93-copy{min-width:0;overflow-wrap:anywhere}
