/* Shared shell, drawn from /ai/. Namespaced to isolate legacy page styles. */
@font-face{font-family:Unbounded;font-style:normal;font-weight:300;font-display:swap;src:url('/releases/edemium-20261021-polish3/fonts/unbounded-300.ttf') format('truetype')}
.ed-shell-head,.ed-shell-foot{--ed-ink:#101319;--ed-muted:#596273;--ed-surface:#f6f7f9;color:var(--ed-ink);font:400 15px/1.5 Onest,system-ui,sans-serif;letter-spacing:normal;text-transform:none;text-align:left;box-sizing:border-box}
.ed-shell-head *,.ed-shell-foot *{box-sizing:border-box}
.ed-shell-head a,.ed-shell-foot a{color:inherit;text-decoration:none;background-image:none;box-shadow:none}
.ed-shell-head a:focus-visible,.ed-shell-head summary:focus-visible,.ed-shell-head button:focus-visible,.ed-shell-foot a:focus-visible{outline:2px solid #296ad5;outline-offset:4px}
.ed-shell-head{position:fixed;inset:0 0 auto;z-index:100;background:rgba(246,247,249,.97);border-bottom:1px solid rgba(16,19,25,.09)}
.ed-shell-bar{max-width:1320px;margin:auto;padding:0 clamp(20px,4vw,48px);min-height:76px;display:flex;align-items:center;gap:24px}
.ed-shell-brand{display:flex;align-items:baseline;gap:12px;font:500 18px/1.3 Unbounded,sans-serif;white-space:nowrap}
.ed-shell-brand>span{font:400 9px/1.4 'JetBrains Mono',monospace;letter-spacing:.16em;text-transform:uppercase;color:var(--ed-muted)}
.ed-shell-nav{display:flex;align-items:center;gap:4px;margin-left:auto;position:static}
.ed-shell-nav>a,.ed-shell-drop>summary{min-height:44px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px;font:400 12px/1.4 Onest,sans-serif;cursor:pointer;border-radius:8px;white-space:nowrap;list-style:none}
.ed-shell-drop>summary::-webkit-details-marker{display:none}
.ed-shell-drop>summary::after{content:none}
.ed-shell-drop>summary>span{transition:transform .2s ease}
.ed-shell-drop[open]>summary>span{transform:rotate(180deg)}
.ed-shell-nav>a:hover,.ed-shell-drop>summary:hover,.ed-shell-drop[open]>summary{background:rgba(16,19,25,.035)}
.ed-shell-panel{position:absolute;top:calc(100% + 8px);left:50%;transform:translateX(-50%);width:min(640px,calc(100vw - 40px));padding:12px;display:grid;grid-template-columns:1fr 1fr;gap:4px;background:rgba(249,250,252,.94);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);border-radius:14px;box-shadow:0 12px 32px rgba(25,35,60,.1)}
.ed-shell-panel>a{padding:12px;min-height:64px;border-radius:8px;display:flex;flex-direction:column;gap:4px;transition:background-color .18s ease,color .18s ease}
.ed-shell-panel>a:hover,.ed-shell-panel>a:focus-visible{background:rgba(16,19,25,.045)}
.ed-shell-panel span{font-weight:500;font-size:16px}.ed-shell-panel small{color:var(--ed-muted);font:400 13px/1.45 Onest,sans-serif}
.ed-shell-head .ed-shell-cta,.ed-shell-foot .ed-shell-cta{display:inline-flex;align-items:center;justify-content:center;gap:14px;min-height:46px;padding:12px 18px;border-radius:10px;background:#101319;color:#fff;font:600 13px/1.4 Onest,sans-serif;white-space:nowrap;transition:background-color .2s,transform .2s}
.ed-shell-cta:hover{background:#283246!important}.ed-shell-cta:active{transform:scale(.96)}
.ed-shell-spacer{height:76px}.ed-shell-menu{display:none}
.ed-shell-theme{width:44px;height:44px;flex-shrink:0;border:1px solid #d6dce5;background:transparent;border-radius:10px;color:inherit;font-size:20px;cursor:pointer}
.ed-shell-foot{background:var(--ed-surface);padding:64px 0 24px;position:relative;z-index:1}
.ed-shell-wrap{max-width:1320px;margin:auto;padding:0 clamp(20px,4vw,48px)}
.ed-shell-invite{padding:clamp(28px,5vw,64px);border-radius:18px;background:radial-gradient(ellipse at 90% 15%,#efcef0,transparent 65%),linear-gradient(115deg,#c3f0f3,#e6e5fa 65%,#f4e5f5);display:flex;align-items:center;justify-content:space-between;gap:40px}
.ed-shell-foot .ed-shell-label{font:400 11px/1.6 'JetBrains Mono',monospace;letter-spacing:.07em;color:#455063;margin:0 0 22px}
.ed-shell-foot h2{font:300 clamp(25px,3.2vw,42px)/1.18 Unbounded,sans-serif;letter-spacing:-.03em;margin:0;color:#101319;text-wrap:balance}
.ed-shell-foot p{font:400 15px/1.65 Onest,sans-serif;color:var(--ed-muted);margin:22px 0 0}
.ed-shell-actions{display:flex;flex-direction:column;align-items:center;gap:16px;flex-shrink:0}.ed-shell-actions>a{min-height:44px;display:flex;align-items:center}
.ed-shell-directory{display:grid;grid-template-columns:1.35fr repeat(4,1fr);gap:28px;padding:64px 0 44px}
.ed-shell-about>a:not(.ed-shell-brand),.ed-shell-col>a{display:flex;align-items:center;min-height:44px;font-size:13px;color:var(--ed-muted)}
.ed-shell-about p{margin:18px 0}.ed-shell-col h3{font:500 14px/1.5 Onest,sans-serif;margin:0 0 14px;color:var(--ed-ink)}
.ed-shell-foot a:hover{color:#275fc0}.ed-shell-foot .ed-shell-cta:hover{color:#fff}
.ed-shell-bottom{display:flex;align-items:center;flex-wrap:wrap;gap:12px 28px;border-top:1px solid rgba(16,19,25,.12);padding-top:20px;font-size:12px;color:var(--ed-muted)}
.ed-shell-bottom>a{display:flex;align-items:center;min-height:44px}.ed-shell-bottom>span{margin-right:auto}
@media(max-width:1150px){.ed-shell-brand>span{display:none}.ed-shell-bar{gap:14px}}
@media(max-width:900px){.ed-shell-bar{min-height:68px;gap:12px}.ed-shell-spacer{height:68px}.ed-shell-brand{margin-right:auto;font-size:16px}.ed-shell-menu{display:flex;align-items:center;gap:8px;min-height:44px;padding:8px 12px;border:1px solid #d6dce5;border-radius:9px;background:transparent;color:inherit;font:400 13px Onest,sans-serif;cursor:pointer}.ed-shell-nav{display:none;position:absolute;top:100%;left:0;right:0;margin:0;padding:16px 20px 24px;background:#f6f7f9;max-height:calc(100dvh - 68px);overflow-y:auto;box-shadow:0 20px 35px rgba(25,35,60,.12)}.ed-shell-nav.is-open{display:flex;flex-direction:column;align-items:stretch}.ed-shell-nav>a,.ed-shell-drop>summary{font-size:16px;padding:14px 10px}.ed-shell-panel{position:static;transform:none;width:100%;grid-template-columns:1fr;padding:4px;box-shadow:none;background:#fff}.ed-shell-panel>a{min-height:72px}.ed-shell-directory{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px}.ed-shell-about{grid-column:1/-1}.ed-shell-invite{align-items:flex-start;flex-direction:column;gap:28px}.ed-shell-actions{align-items:flex-start}.ed-shell-head .ed-shell-cta{font-size:12px;padding:10px 12px}}
@media(max-width:420px){.ed-shell-head .ed-shell-cta{display:none}.ed-shell-bottom{gap:6px 20px}.ed-shell-directory{gap:28px 18px}.ed-shell-foot h2{font-size:24px}.ed-shell-invite{padding:26px 22px}}
@media(prefers-reduced-motion:reduce){.ed-shell-head *,.ed-shell-foot *{transition:none!important}}
html[data-theme="dark"] .ed-shell-head,html[data-theme="dark"] .ed-shell-foot{--ed-ink:#f5f7fb;--ed-muted:#bbc3d0;--ed-surface:#11151d}
html[data-theme="dark"] .ed-shell-head,html[data-theme="dark"] .ed-shell-nav.is-open,html[data-theme="dark"] .ed-shell-panel{background:#171d27}
html[data-theme="dark"] .ed-shell-nav>a:hover,html[data-theme="dark"] .ed-shell-drop>summary:hover,html[data-theme="dark"] .ed-shell-drop[open]>summary{background:#2a3343}
html[data-theme="dark"] .ed-shell-panel>a:hover,html[data-theme="dark"] .ed-shell-panel>a:focus-visible{background:rgba(255,255,255,.065)}
html[data-theme="dark"] .ed-shell-invite{background:linear-gradient(115deg,#213e48,#332b4c,#442e44)}
html[data-theme="dark"] .ed-shell-foot h2,html[data-theme="dark"] .ed-shell-foot .ed-shell-label{color:#f5f7fb}
