
.studio-layout{display:grid;grid-template-columns:184px minmax(0,1fr);width:100%;max-width:1600px;margin:0 auto;min-height:calc(100dvh - 64px);gap:0;align-items:start}
.studio-rail{position:sticky;top:78px;padding:24px 12px 28px 18px;max-height:calc(100dvh - 86px);overflow:auto;border-right:1px solid var(--edge,var(--border));font-size:.85rem}.studio-rail-title{display:flex;align-items:center;gap:8px;padding:0 12px 20px;font-size:.86rem;font-weight:650;letter-spacing:-.02em}.studio-rail-title span{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--accent)}.studio-nav a{display:block;padding:10px 12px;min-height:42px;margin:3px 0;color:var(--fg2);text-decoration:none;border-radius:6px;border:1px solid transparent;font-size:.84rem}.studio-nav a:hover{background:var(--surface);color:var(--fg)}.studio-nav a[aria-current]{background:var(--surface);border-color:var(--edge);color:var(--accent);font-weight:600}.studio-nav details{margin-top:15px;border-top:1px solid var(--edge);padding-top:10px}.studio-nav summary{cursor:pointer;list-style-position:inside;padding:10px 12px;min-height:42px;font-size:.78rem;color:var(--fg2)}.studio-nav details a{font-size:.78rem}.studio-nav .studio-privacy{margin-top:14px;font-size:.73rem;color:var(--dim)}.studio-mobile-menu{display:none}.studio-content{min-width:0;width:100%;padding:0 10px}.studio-content .aw-layout{display:block}.studio-content .aw,.studio-content .lab-wrap,.studio-content .xp{padding:32px 26px 60px;max-width:1280px}.studio-content .aw-heading,.studio-content .lab-heading{margin-bottom:24px}.studio-content .comm-wrap{max-width:100%;margin:0;padding:30px 22px}.studio-content .comm-layout{gap:22px}.studio-content .comm-sidebar-right{max-width:260px}.studio-content .comm-welcome{border-radius:0;border-width:0 0 1px;background:transparent}.studio-content .thread-card{border-radius:2px;border-width:0 0 1px;background:transparent}.studio-content .feed-card{border-radius:10px;background:var(--bg2);padding:24px}.studio-content .showcase-card{border-top:3px solid var(--accent)}
.studio-intro{max-width:1060px;margin:0 auto;padding:60px 28px 80px}.studio-intro h1{font-family:var(--font-display,Georgia,serif);font-size:clamp(2.1rem,5vw,3.5rem);font-weight:400;letter-spacing:-.035em;line-height:1.12;max-width:16ch;margin:12px 0 20px}.studio-eyebrow{font:500 .71rem var(--font-code,monospace);text-transform:uppercase;letter-spacing:.09em;color:var(--accent)}.studio-lede{max-width:64ch;font-size:1.06rem;color:var(--fg2);line-height:1.8}.studio-small{font-size:.79rem;line-height:1.7;color:var(--dim);max-width:75ch;margin:14px 0}.studio-cta{display:flex;flex-wrap:wrap;gap:10px;margin:26px 0}.studio-cta .btn{min-height:44px}.studio-intro-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px;margin-top:52px;padding-top:26px;border-top:1px solid var(--edge)}.studio-intro-grid h2{font-size:1.04rem;margin:12px 0}.studio-intro-grid p{font-size:.86rem;color:var(--fg2);line-height:1.8;margin:0 0 14px}.studio-glyph{font:500 1.45rem var(--font-code);color:var(--accent)}.studio-home-invitation{max-width:960px;margin:48px auto 70px;padding:30px 32px;border-top:1px solid var(--edge);border-bottom:1px solid var(--edge);display:grid;grid-template-columns:minmax(0,1fr) auto;gap:32px;align-items:center}.studio-home-invitation h2{font-family:var(--font-display);font-size:1.9rem;font-weight:400;line-height:1.2;margin:8px 0 12px}.studio-home-invitation p{line-height:1.8;color:var(--fg2);font-size:.92rem}.studio-home-invitation .studio-cta{flex-direction:column;margin:0}
/* Research has its own reading width, board structure and paper-like writing surface. */
.rd{padding:36px 26px 70px;min-width:0;max-width:1300px;margin:auto}.rd-head{display:flex;justify-content:space-between;align-items:center;gap:18px;padding-bottom:24px;border-bottom:1px solid var(--edge);margin-bottom:22px}.rd-head h1{font:400 clamp(2rem,4vw,3rem)/1.1 var(--font-display,Georgia);letter-spacing:-.04em;margin:8px 0 10px}.rd-head p{font-size:.86rem;color:var(--fg2);max-width:64ch;line-height:1.75}.rd-views{display:flex;gap:3px;align-items:center;flex-wrap:wrap;margin-bottom:22px;border-bottom:1px solid var(--edge);padding-bottom:6px}.rd-views button{min-height:42px;background:none;border:0;border-bottom:2px solid transparent;padding:8px 15px;font:500 .85rem var(--font-ui);color:var(--fg2);cursor:pointer}.rd-views button[aria-selected=true]{color:var(--fg);border-bottom-color:var(--accent)}.rd-views button:disabled{opacity:.6;cursor:default}.rd-status{font-size:.78rem;color:var(--fg2);margin:0 0 16px;min-height:24px;line-height:1.65}.rd-feedback{border-left:3px solid var(--red);padding:14px 18px;background:var(--surface);margin-bottom:16px;line-height:1.7;font-size:.88rem}.rd-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:16px 0 22px}.rd-toolbar input{font-size:1rem;font-weight:600;background:transparent;min-width:120px;flex:1;min-height:44px}.rd-toolbar .btn{min-height:40px;font-size:.8rem}.rd-layout{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(220px,1fr);gap:30px}.rd-layout h2{font:400 1.55rem var(--font-display);margin:8px 0 14px}.rd-search{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:end;margin:20px 0}.rd-field{display:flex;flex-direction:column;gap:6px;min-width:0}.rd-field label{font-size:.83rem;font-weight:600}.rd-field input,.rd-field textarea,.rd-field select{min-height:44px;width:100%}.rd-field textarea{min-height:125px;font-family:inherit;line-height:1.8;resize:vertical}.rd-checkbox{display:flex;gap:10px;align-items:flex-start;font-size:.83rem;line-height:1.7;margin:12px 0}.rd-checkbox input{width:20px;height:20px;flex:none;margin-top:3px;accent-color:var(--accent)}.rd-source{padding:18px 0;border-bottom:1px solid var(--edge);overflow-wrap:anywhere}.rd-source h3{font:400 1.25rem/1.3 var(--font-display);margin:6px 0 10px}.rd-source p{font-size:.87rem;line-height:1.8;color:var(--fg2)}.rd-source-meta{font:500 .69rem/1.6 var(--font-code);color:var(--dim);overflow-wrap:anywhere}.rd-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:12px}.rd-actions .btn{font-size:.77rem;min-height:38px}.rd-actions details summary{min-height:38px;cursor:pointer;padding:8px;border:1px solid var(--edge);border-radius:6px;font-size:.77rem}.rd-empty{padding:30px 20px;border:1px dashed var(--control-border);border-radius:8px;margin:16px 0;line-height:1.8;color:var(--fg2);font-size:.9rem}.rd-books{padding:20px;background:var(--surface);border-radius:8px;align-self:start}.rd-books button.rd-book{display:block;width:100%;background:var(--bg2);color:var(--fg);border:1px solid var(--edge);border-radius:6px;padding:16px;margin-top:12px;text-align:left;font:600 .9rem var(--font-ui);cursor:pointer}.rd-books .rd-book small{display:block;margin-top:7px;font-weight:400;color:var(--fg2);font-size:.75rem}.rd-board{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;min-width:0;align-items:start}.rd-column{background:var(--surface);border-radius:8px;padding:14px;min-width:0;min-height:260px}.rd-column h2{font:500 .74rem var(--font-code);text-transform:uppercase;letter-spacing:.05em;margin:4px 0 18px}.rd-block{background:var(--bg2);border:1px solid var(--edge);border-radius:6px;padding:15px;margin:0 0 12px;overflow-wrap:anywhere;box-shadow:0 2px 3px rgba(0,0,0,.035);transition:transform 140ms ease,box-shadow 140ms ease}.rd-block.dragging{opacity:.6;transform:rotate(-1deg)}.rd-block.drop-target{outline:2px solid var(--accent);outline-offset:3px}.rd-block h3{font-size:.95rem;margin:8px 0 10px;line-height:1.45}.rd-block p{font-size:.83rem;line-height:1.7;white-space:pre-wrap}.rd-block blockquote{font:400 1rem/1.65 var(--font-display);border-left:2px solid var(--accent);padding-left:12px}.rd-block pre{font: .77rem/1.7 var(--font-code);white-space:pre-wrap;overflow-wrap:anywhere}.rd-block-kind{font:500 .66rem var(--font-code);text-transform:uppercase;color:var(--dim);letter-spacing:.06em}.rd-block-top{display:flex;justify-content:space-between;gap:8px;align-items:center}.rd-drag{border:0;background:transparent;color:var(--fg2);cursor:grab;min-width:34px;min-height:34px;font-size:1rem}.rd-move{display:flex;flex-wrap:wrap;gap:5px;margin-top:12px}.rd-move button{border:1px solid var(--edge);background:transparent;color:var(--fg2);border-radius:5px;min-width:35px;min-height:36px;font-size:.77rem;cursor:pointer}.rd-move select{width:100%;min-height:36px;font-size:.79rem;margin-top:6px}.rd-writing{display:grid;grid-template-columns:minmax(0,1fr) 240px;gap:24px;align-items:start}.rd-paper{background:var(--bg2);border:1px solid var(--edge);padding:28px;border-radius:4px;box-shadow:0 5px 22px rgba(0,0,0,.03);min-width:0}.rd-paper textarea{border:0;outline-offset:4px;background:transparent;width:100%;min-height:450px;padding:0;font:1.02rem/1.95 var(--font-display,Georgia);color:var(--fg);resize:vertical}.rd-paper label{font-size:.75rem;display:block;color:var(--dim);margin-bottom:18px}.rd-outline{border-left:1px solid var(--edge);padding-left:20px;font-size:.8rem;line-height:1.7;color:var(--fg2)}.rd-outline h2{font-size:.85rem;margin-bottom:14px}.rd-reader pre{font: .96rem/1.85 var(--font-ui);white-space:pre-wrap;overflow-wrap:anywhere;max-height:52vh;overflow:auto;padding:20px;background:var(--bg2);border-radius:5px;margin:16px 0;user-select:text}.rd-reader .site-modal-panel{max-width:850px!important}.rd-view-tools{display:flex;gap:8px;align-items:center}.studio-report{max-width:780px;margin:0 auto;padding:52px 24px 80px}.studio-report h1{font:400 clamp(2rem,5vw,3.3rem)/1.14 var(--font-display);margin:16px 0 22px;overflow-wrap:anywhere}.studio-byline{font-size:.83rem;color:var(--fg2);margin:0 0 32px}.studio-prose{font:1.07rem/1.95 var(--font-display);white-space:normal;overflow-wrap:anywhere}.studio-prose p{margin:0 0 18px}.studio-prose h2,.studio-prose h3,.studio-prose h4{font-family:var(--font-ui);font-size:1.15em;line-height:1.4;margin:26px 0 12px}.studio-prose ul,.studio-prose ol{padding-left:24px;margin:12px 0 22px}.studio-prose pre{font: .84rem/1.65 var(--font-code,monospace);white-space:pre-wrap;background:var(--surface2);padding:16px;border:1px solid var(--edge);border-radius:6px;overflow-wrap:anywhere;margin:16px 0}.studio-prose code{font-family:var(--font-code,monospace);font-size:.86em}.studio-prose blockquote{border-left:3px solid var(--accent);padding:12px 18px;color:var(--fg2);margin:18px 0}.studio-prose a{text-decoration:underline;text-underline-offset:3px}.rd-reader-text{max-height:52vh;overflow:auto;padding:20px}.studio-citations{border-top:1px solid var(--edge);padding-top:22px;margin-top:34px;font-size:.88rem;line-height:1.8}.studio-citations h2{font-size:1rem;margin-bottom:12px}.studio-citations ol{padding-left:22px}.studio-profile-hero{display:flex;align-items:center;flex-wrap:wrap;gap:22px;padding:30px 0;margin-bottom:25px;border-bottom:1px solid var(--edge)}.studio-profile-hero .aw-avatar{width:86px;height:86px;border-radius:18px;flex:none;background:var(--surface2);color:var(--accent);font:400 2.5rem var(--font-display);display:grid;place-items:center}.studio-profile-modules{display:flex;flex-direction:column;gap:26px}.studio-profile-module{padding:18px 0 26px;border-bottom:1px solid var(--edge)}.studio-profile-module>h2{font:400 1.65rem var(--font-display);margin-bottom:20px}.studio-profile-module .aw-card{border-top:2px solid var(--accent)}.studio-profile-note{font:1.03rem/1.9 var(--font-display);max-width:68ch;white-space:pre-wrap;overflow-wrap:anywhere}.studio-layout-row{padding:16px;background:var(--surface);border:1px solid var(--edge);border-radius:7px;display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:10px 0}.studio-layout-row label{display:flex;gap:12px;align-items:center;flex:1}.studio-layout-row input{width:20px;height:20px}.studio-layout-row .btn{min-height:38px;font-size:.77rem}.studio-layout-preview{border-left:3px solid var(--accent);padding:20px;background:var(--bg2);margin:24px 0}
.rd[data-working] .rd-head{align-items:center;flex-direction:row;padding-bottom:12px;margin-bottom:10px}.rd[data-working] .rd-head h1{font-size:1.6rem;margin:4px 0}.rd[data-working] .rd-head p:not(.studio-eyebrow){display:none}.rd[data-working] .rd-head .btn{font-size:.78rem;padding:8px 12px}.rd[data-working] .rd-views{margin-bottom:8px}.rd[data-working] .rd-toolbar{gap:8px;margin:8px 0 12px}.rd[data-working] .rd-toolbar .btn{min-height:38px;font-size:.8rem}.rd[data-working] .rd-toolbar .rd-field{min-width:190px}.rd[data-working] .rd-status{margin:6px 0 14px}.rd-column>h2{position:sticky;top:72px;z-index:1;background:var(--surface);padding:10px 0;min-height:36px}.rd[data-working] .rd-head .studio-eyebrow{font-size:.64rem}
/* Explicitly replace the legacy three-column forum grid, not only its container. */
.studio-content .comm-three-col{grid-template-columns:minmax(0,1fr) 248px;gap:28px;width:100%;min-width:0}.studio-content .comm-three-col>main,.studio-content .comm-three-col>.comm-main{min-width:0}.studio-content .comm-sidebar{min-width:0;max-width:248px}.studio-guide-short{display:none}.rd-paper>.rd-actions{margin:0 0 22px;padding-bottom:14px;border-bottom:1px solid var(--edge)}
@media(max-width:1100px){.studio-content .comm-three-col{grid-template-columns:minmax(0,1fr)}.studio-content .comm-sidebar{position:static;max-width:none;width:100%;grid-column:1}.studio-content .comm-sidebar .sidebar-widget{margin-top:16px}}
@media(max-width:700px){.studio-content .lab-wrap[data-mode=project]{padding-top:10px}.studio-content .lab-wrap[data-mode=project] .lab-heading{gap:8px;flex-wrap:nowrap;margin-bottom:10px;align-items:center}.studio-content .lab-wrap[data-mode=project] .lab-heading h1{font-size:1.35rem}.studio-content .lab-wrap[data-mode=project] .lab-heading .btn{font-size:.75rem;padding:7px 10px;min-height:36px;white-space:nowrap}.studio-content .lab-wrap[data-mode=project] .studio-guide-wide{display:none}.studio-content .lab-wrap[data-mode=project] .studio-guide-short{display:inline}.studio-content .lab-back{font-size:.75rem;margin-bottom:8px}.studio-content .lab-trust{margin-bottom:6px}.studio-content .lab-tabs{margin-bottom:4px}.studio-content .community-heading .eyebrow{display:none}.studio-content .community-heading{margin-bottom:14px!important;padding-top:0!important}}
@media(max-width:1100px){.studio-layout{grid-template-columns:164px minmax(0,1fr)}.studio-content .comm-sidebar-right{display:none}.rd-board{gap:10px}.rd-column{padding:10px}.rd-block{padding:12px}.rd-writing{grid-template-columns:minmax(0,1fr) 190px}.studio-content .aw-search{grid-template-columns:minmax(100px,1fr) 140px auto}.studio-content .aw-search>div:nth-child(3){grid-column:auto}}
@media(max-width:800px){.studio-layout{display:block}.studio-rail{position:static;max-height:none;border-right:0;padding:0 14px 8px}.studio-rail-title{display:none}.studio-mobile-menu{display:flex;justify-content:space-between;align-items:center;width:100%;min-height:44px;background:var(--bg2);color:var(--fg);border:1px solid var(--edge);border-radius:6px;padding:10px 12px;font:500 .85rem var(--font-ui);margin:12px 0 0;cursor:pointer}.has-js .studio-nav:not([data-open]){display:none}.studio-nav{padding:10px;border:1px solid var(--edge);border-radius:6px;background:var(--bg2);margin-top:8px}.studio-content{padding:0}.studio-content .aw,.studio-content .lab-wrap,.studio-content .xp,.studio-content .comm-wrap,.rd{padding:22px 16px 50px}.studio-content .lab-heading{margin-bottom:14px}.rd-layout{grid-template-columns:1fr}.rd-books{order:1}.rd-head{align-items:flex-start;flex-direction:column;gap:8px;margin-bottom:18px;padding-bottom:18px}.rd-views{margin-bottom:14px}.rd-toolbar{margin:12px 0 18px}.rd-board{grid-template-columns:1fr}.rd-column{min-height:100px;padding:14px}.rd-writing{grid-template-columns:1fr}.rd-outline{border-left:0;border-top:1px solid var(--edge);padding:18px 0}.rd-paper{padding:22px 18px}.rd-paper textarea{min-height:420px;font-size:1rem}.studio-intro{padding:32px 18px 60px}.studio-intro-grid{grid-template-columns:1fr;gap:24px;margin-top:32px}.studio-home-invitation{grid-template-columns:1fr;padding:26px 20px;margin:28px 16px 50px;gap:18px}.studio-home-invitation .studio-cta{flex-direction:row}.studio-profile-hero{padding:20px 0}.studio-content .aw-grid{grid-template-columns:1fr}.rd-search{grid-template-columns:1fr auto}.rd-views button{padding:8px 12px}.studio-content .aw-heading{flex-wrap:wrap}.studio-content .aw-search{grid-template-columns:1fr 1fr}.rd-toolbar input{flex-basis:100%}.studio-report{padding:32px 18px 60px}}
@media(prefers-reduced-motion:reduce){.rd-block{transition:none;transform:none!important}}
@media print{.header,.studio-rail,.site-footer,.rd-head,.rd-toolbar,.rd-views,.rd-outline,.rd-feedback,.rd-status{display:none!important}.studio-layout,.rd-writing{display:block}.studio-content,.rd,.rd-paper{padding:0!important;border:0!important;box-shadow:none!important}.rd-paper textarea{height:auto!important}.studio-prose{font-size:12pt}}
@media(max-width:700px){.studio-content .lab-wrap[data-mode=project]{padding-top:10px}.studio-content .lab-wrap[data-mode=project] .lab-heading{margin-bottom:10px}.studio-content .comm-wrap{padding-top:14px}}

@media(max-width:700px){.studio-content .lab-wrap[data-mode=project]{padding-top:6px}.studio-content .lab-wrap[data-mode=project] .lab-heading{margin-bottom:6px}.studio-content .lab-wrap[data-mode=project] .lab-trust{padding-top:7px;padding-bottom:7px}.studio-content .lab-wrap[data-mode=project] .lab-file-toolbar{margin:4px 0}}

.studio-content .community-heading .profile-dd-wrap{display:none}
@media(max-width:700px){.studio-content .community-heading:has(#authLoggedIn[style*="flex"]){display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;align-items:center}.studio-content .community-heading:has(#authLoggedIn[style*="flex"])>div:first-child{display:contents}.studio-content .community-heading:has(#authLoggedIn[style*="flex"]) h1{grid-column:1;grid-row:1;font-size:1.75rem}.studio-content .community-heading:has(#authLoggedIn[style*="flex"]) p:not(.eyebrow){grid-column:1/-1;grid-row:2;margin-top:0}.studio-content .community-heading:has(#authLoggedIn[style*="flex"]) .auth-bar{grid-column:2;grid-row:1}.studio-content .community-heading:has(#authLoggedIn[style*="flex"]) #authName{display:none}}

@media(max-width:700px){.studio-content .community-controls{margin-bottom:12px}}


/* Shared tokens, three distinct rooms. No external fonts, thumbnails or invented activity. */
.rd-editorial{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(220px,1fr);gap:24px;margin:12px 0 32px;border-block:1px solid var(--edge);padding:26px 0;align-items:stretch}
.rd-editorial .rd-featured-book{background:var(--surface);border:0;border-radius:4px;padding:28px;width:100%;text-align:left;display:flex;flex-direction:column;justify-content:center;gap:12px;color:var(--fg);cursor:pointer;min-height:180px}
.rd-editorial .rd-featured-book strong{font:400 clamp(1.4rem,3vw,2.25rem)/1.2 var(--font-display,Georgia);overflow-wrap:anywhere}
.rd-editorial small{font-size:.8rem;color:var(--fg2);line-height:1.6}.rd-editorial .rd-featured-book:hover{box-shadow:inset 3px 0 var(--accent)}
.rd-editorial .rd-source{border:0;padding:12px 0 12px 20px;border-left:1px solid var(--edge);margin:0;background:none;border-radius:0;align-self:center}
.rd-editorial .rd-source h3{font:400 1.5rem/1.35 var(--font-display,Georgia)}
.rd-editorial-label{font:600 .68rem var(--font-code,monospace);text-transform:uppercase;letter-spacing:.09em;color:var(--accent)}
.rd-library-search{border-bottom:1px solid var(--edge);padding-bottom:24px;margin-bottom:26px}
.rd-layout .rd-books{background:transparent;border-left:1px solid var(--edge);padding-left:22px}.rd-layout .rd-books>.rd-book{border-inline:0}
.rd-source h3{font-family:var(--font-display,Georgia);font-weight:500}.rd-source .rd-actions{margin-top:14px}.rd-source-meta{letter-spacing:.03em;overflow-wrap:anywhere}
.rd-workbench{display:grid;grid-template-columns:minmax(0,1fr);gap:18px;align-items:start}.rd-workbench[data-inspecting]{grid-template-columns:minmax(0,1fr) 210px}
.rd-inspector{padding:18px;background:var(--bg2);border:1px solid var(--edge);border-radius:8px;position:sticky;top:82px;font-size:.83rem;min-width:0;overflow-wrap:anywhere}
.rd-inspector h2{font-size:1rem;margin:12px 0}.rd-inspector p{white-space:pre-wrap;line-height:1.7;margin:12px 0}.rd-inspector .rd-actions{gap:8px}.rd-inspector .btn{font-size:.8rem;min-height:38px}
.rd-block[data-selected]{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}
.rd-block[data-kind=quote]{border-left:3px solid var(--accent)}.rd-block[data-kind=question]{background:var(--surface2)}.rd-block[data-kind=code]{background:var(--bg);font-family:var(--font-code,monospace)}
.rd-notebook-map{border-bottom:1px solid var(--edge);padding:10px 0;margin-bottom:16px}.rd-notebook-map summary{font-size:.85rem;cursor:pointer;min-height:36px;display:list-item}
.rd-notebook-map nav{display:flex;flex-wrap:wrap;gap:6px;padding:10px 0}.rd-notebook-map button{font-size:.77rem;text-align:left;max-width:100%;overflow-wrap:anywhere}
.rd-paper{border-top:3px solid var(--accent);box-shadow:0 7px 30px rgba(0,0,0,.025)}.rd-paper>.rd-actions{position:sticky;top:64px;background:var(--bg2);padding-top:10px;z-index:2}.rd-paper textarea{line-height:1.85}
.sg-profile-root{position:relative}.sg-profile-cover{height:132px;border:1px solid var(--edge);border-radius:12px 12px 0 0;position:relative;background:var(--surface);overflow:hidden;color:var(--accent)}
.sg-profile-cover:before{content:'';position:absolute;inset:0;background-image:radial-gradient(currentColor .7px,transparent .8px);background-size:18px 18px;opacity:.22;mask-image:linear-gradient(110deg,transparent 10%,#000)}
.sg-profile-cover span{position:absolute;right:26px;top:32px;font:400 2rem/1.4 var(--font-code,monospace);letter-spacing:.3em;opacity:.5;user-select:none}
.sg-profile-root .studio-profile-hero{border:1px solid var(--edge);border-top:0;border-radius:0 0 12px 12px;padding:24px 28px;margin:0 0 18px;gap:24px;background:var(--bg2);align-items:flex-start}
.sg-profile-root .studio-profile-hero .aw-avatar{margin-top:-56px;width:96px;height:96px;border:5px solid var(--bg2);border-radius:50%;position:relative;background:var(--surface2);overflow:hidden}
.sg-profile-root .studio-profile-hero .aw-avatar img{width:100%!important;height:100%!important;border-radius:50%!important}
.sg-profile-root .studio-profile-hero strong{font:600 .86rem var(--font-ui);color:var(--fg2)}.sg-profile-root .studio-profile-hero h1{font:600 clamp(1.4rem,3vw,2rem)/1.25 var(--font-ui);margin:6px 0 8px;overflow-wrap:anywhere}
.sg-profile-root>.studio-cta{padding:0 0 20px;border-bottom:1px solid var(--edge)}
.sg-profile-root .studio-profile-module[data-profile-module=projects] .aw-card{border-top:0;border-left:3px solid var(--accent);padding:22px}
.sg-profile-root .studio-profile-module[data-profile-module=research] .rd-source{border:0;border-bottom:1px solid var(--edge);border-radius:0;padding:12px 0}
.sg-profile-root .studio-profile-module[data-profile-module=code] .aw-grid{grid-template-columns:1fr}.sg-profile-root .studio-profile-module[data-profile-module=code] .aw-card{border:0;border-bottom:1px solid var(--edge);border-radius:0;box-shadow:none;background:transparent;padding:12px 0}
.sg-profile-root .studio-profile-module[data-profile-module=discussions] .aw-row{border-left:2px solid var(--border);padding-left:18px;margin:12px 0;line-height:1.6}
.sg-profile-customizer{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px;align-items:start}.sg-profile-customizer>p,.sg-profile-customizer>.rd-actions{grid-column:1/-1}.sg-profile-customizer .studio-layout-preview{position:sticky;top:84px;margin:10px 0;background:var(--bg2);border:1px solid var(--edge);border-radius:12px;padding:24px}
.sg-profile-customizer .studio-layout-preview ol{list-style:none!important;padding:0!important}.sg-profile-customizer .studio-layout-preview li{margin:12px 0;padding:15px 16px;border:1px solid var(--edge);border-left:3px solid var(--accent);border-radius:6px;font:500 .9rem var(--font-ui)}
.sg-profile-customizer .studio-layout-row{padding:12px;gap:8px}.sg-profile-customizer .studio-layout-row label{min-width:120px}
.studio-content .comm-wrap .quick-compose{border-radius:12px;box-shadow:none;background:var(--bg2);padding:16px;min-height:78px}
.studio-content .comm-wrap .comm-sidebar .sidebar-widget{background:transparent;border:0;border-bottom:1px solid var(--edge);border-radius:0;box-shadow:none;padding:8px 0 22px}
.studio-content .comm-wrap .thread-card{box-shadow:none;border-radius:8px;border:1px solid var(--edge);padding:18px;margin-bottom:12px;background:var(--bg2)}
.studio-content .comm-wrap .feed-card{border:1px solid var(--edge);border-radius:12px;padding:22px;margin-bottom:24px;box-shadow:none;background:var(--bg2)}
.studio-content .comm-wrap .feed-body{font-size:1rem;line-height:1.75;margin:14px 0}.studio-content .comm-wrap .showcase-card{border-top:3px solid var(--accent)}
.studio-content .comm-wrap .community-heading>div:first-child>p:last-child{font-family:var(--font-display,Georgia);font-size:1.05rem}
@media(max-width:1399px){.rd-workbench[data-inspecting]{grid-template-columns:minmax(0,1fr)}.rd-inspector{position:static}.rd-workbench .rd-board{min-width:0}}
@media(max-width:800px){.rd-editorial{grid-template-columns:1fr;gap:18px;padding:18px 0;margin-bottom:24px}.rd-editorial .rd-featured-book{padding:22px;min-height:150px}.rd-editorial .rd-source{border-left:0;border-top:1px solid var(--edge);padding:18px 0 0}.rd-layout .rd-books{border-left:0;padding-left:0}.sg-profile-customizer{grid-template-columns:1fr}.sg-profile-customizer .studio-layout-preview{position:static}.sg-profile-cover{height:108px}.sg-profile-root .studio-profile-hero{padding:20px 18px;gap:16px;flex-direction:column}.sg-profile-root .studio-profile-hero .aw-avatar{width:80px;height:80px;margin-top:-58px}.sg-profile-root .studio-profile-hero h1{font-size:1.5rem}.sg-profile-cover span{font-size:1.4rem;right:15px;top:25px}.rd-paper>.rd-actions{position:static}.studio-content .comm-wrap .thread-card{padding:14px}.studio-content .comm-wrap .feed-card{padding:16px}}
@media(prefers-reduced-motion:reduce){.rd-block,.sg-profile-root *{animation:none!important;transition:none!important}}

.sg-profile-customizer .studio-layout-row{scroll-margin-top:96px;transition:background 120ms ease;}
.sg-profile-customizer .studio-layout-row.is-dragging{opacity:.7}
.sg-profile-customizer .studio-layout-row.is-drop-target{outline:2px solid var(--accent);outline-offset:2px;background:var(--surface2)}
@media(max-width:800px){.studio-content .comm-wrap .quick-compose{min-height:54px;padding:8px 12px}.studio-content .comm-wrap .quick-compose button{min-height:44px}}
@media(max-width:800px){.studio-content .comm-wrap .community-heading>div:first-child>p:last-child{font-size:.875rem;line-height:1.5;margin-top:8px}}
