/* Load after current CSS. Only applies following explicit owner-renderer invocation. */
.phase49-study,.phase49-forum{--p49-panel:#141d29;--p49-edge:#344255;--p49-muted:#b8c6d7;--p49-cyan:#82e7ec;font-family:Inter,system-ui,sans-serif}
.phase49-study :is(h1,h2,h3),.phase49-forum :is(h1,h2,h3){font-family:'Space Grotesk',Inter,system-ui,sans-serif}
.phase49-study .page-head{margin-bottom:16px}.phase49-study .page-head h1{font-size:clamp(1.65rem,3vw,2.4rem);line-height:1.15}.phase49-study .page-head .lede{font-size:.94rem;max-width:72ch}.phase49-study .study-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:20px;align-items:start}.phase49-study :is(.study-chat,.study-side .card,.study-focus){background:var(--p49-panel);border:1px solid var(--p49-edge);border-radius:14px;padding:20px}.phase49-study .study-chat{border-top:3px solid var(--p49-cyan)}.phase49-study .study-chat__head{margin-bottom:14px}.phase49-study .study-form{margin:0}.phase49-study #study-input{min-height:84px;max-height:none;resize:vertical}.phase49-study .quick-prompts{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}.phase49-study .quick-prompts button{min-height:44px;padding:7px 10px;font-size:.86rem}.phase49-study .study-messages{min-height:0;max-height:none;overflow:visible;border-top:1px solid var(--p49-edge);padding-top:16px;margin-top:20px}.phase49-study .study-side{display:grid;gap:16px}.phase49-study .study-focus{display:block;margin:0}.phase49-study .study-focus>img{display:none}.phase49-study .study-focus h2{font-size:1.1rem}.phase49-study .study-form__actions{display:flex;flex-wrap:wrap;gap:12px}.phase49-study #study-status{color:var(--p49-cyan)}
.phase49-forum .feed-v10-layout{display:block}.phase49-forum .feed-stream{max-width:900px;margin-inline:auto}.phase49-forum .feed-compose-toggle{margin:0 0 14px;border:1px solid var(--p49-edge);background:var(--p49-panel);border-radius:14px}.phase49-forum .feed-compose-toggle summary{min-height:48px;padding:14px 18px;color:var(--p49-cyan)}.phase49-forum .feed-compose-toggle #thread-form{border:0;background:transparent;padding:18px}.phase49-forum .conversation-guide{padding:16px;margin-bottom:16px}.phase49-forum .conversation-guide h2{font-size:1.2rem}.phase49-forum .feed-filters{background:var(--p49-panel);border:1px solid var(--p49-edge);padding:16px;border-radius:14px}.phase49-forum .thread{background:var(--p49-panel);border-color:var(--p49-edge);border-radius:14px;padding:20px}
:is(.phase49-study,.phase49-forum) :focus-visible{outline:3px solid var(--p49-cyan);outline-offset:4px}:is(.phase49-study,.phase49-forum) *{min-width:0;overflow-wrap:anywhere}
@media(max-width:980px){.phase49-study .study-layout{grid-template-columns:minmax(0,1fr)}.phase49-study .study-side{grid-template-columns:minmax(0,1fr)}}
@media(max-width:600px){.phase49-study :is(.study-chat,.study-side .card,.study-focus){padding:14px}.phase49-study .page-head h1{font-size:1.65rem}.phase49-study .study-form__actions #study-submit{width:100%;min-height:44px}.phase49-study .study-chat__head .chip{display:none}.phase49-forum .conversation-guide{padding:12px}.phase49-forum .thread{padding:16px}}
@media(prefers-reduced-motion:reduce){:is(.phase49-study,.phase49-forum) *{transition:none!important;animation:none!important;scroll-behavior:auto!important}}

.phase49-study .study-history-label{margin:20px 0 0;font-size:1rem}.phase49-study .study-form{padding:0;border:0}.phase49-study .study-chat__head{padding-bottom:0;border:0}.phase49-study .quick-prompts button{display:inline-flex;width:auto;flex:0 1 auto}.phase49-study .study-privacy summary{min-height:44px;cursor:pointer;font-weight:650}.phase49-study .study-privacy h2{font-size:1rem;margin-top:10px}.phase49-study .study-messages{padding:10px 0;margin-top:8px}.phase49-study #study-recover[hidden]{display:none}.phase49-study #study-input{margin:0;line-height:1.4}.phase49-study .study-form__actions{margin-top:10px}.phase49-study .page-head{margin-bottom:14px}.phase49-study .page-head .lede{margin-bottom:0}
@media(max-width:600px){.phase49-study .page-head h1{font-size:1.55rem}.phase49-study .page-head .lede{font-size:.88rem;line-height:1.4}.phase49-study .study-chat__head h2{font-size:1.2rem;margin:0 0 12px}.phase49-study .quick-prompts{gap:6px}.phase49-study .quick-prompts button{font-size:.78rem;padding:6px 8px;min-height:44px}.phase49-study .study-layout{gap:14px}.phase49-study .study-form small{font-size:.8rem}.phase49-study .study-chat{padding:14px}.phase49-study .study-form__actions{gap:8px}}

/* NAV09 compact return; no large card or extra context paragraph. */
.phase49-study>.study-route-return{margin:0 0 6px;padding:0}
.phase49-study>.study-route-return a{display:inline-flex;align-items:center;min-height:44px;line-height:1.4;padding:0 .25rem;color:var(--p49-cyan)}
