/* Put the playable sheet ahead of transfer tools. */
main{max-width:1280px}
.workspace{grid-template-columns:minmax(0,1fr)}
.guest-builder{display:inline-block;margin-top:16px;color:var(--gold);text-decoration:underline;text-underline-offset:4px}
.is-connected main{padding-top:28px}
.is-connected .intro{max-width:none;text-align:left;margin-bottom:24px}
.is-connected .intro h1{font-size:38px;margin:4px 0}
.is-connected .intro>p:not(.eyebrow),.is-connected .guest-builder{display:none}
.is-connected .account-bar{justify-content:flex-start;margin-top:16px;padding:10px 12px;box-shadow:none}
.char-list{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));max-height:240px;overflow:auto}
.selected-card{font-size:13px;border-left:0;background:transparent;padding:8px 0;margin:4px 0;color:var(--muted)}
.selected-card b,.selected-card br:first-of-type{display:none}
.sheet-view{padding:22px;margin-top:6px}
.sheet-hero h3{font-size:32px;overflow-wrap:anywhere}.sheet-hero p{font-size:15px}
.sheet-actions .button,.button-row.compact .button{font-size:14px;min-height:42px}
.sheet-stat{padding:14px 6px}.sheet-stat b{font-size:12px}.sheet-stat strong{font-size:30px}.sheet-stat button{font-size:14px;min-height:36px}
.sheet-vital{padding:12px}.sheet-vital span{font-size:12px}.sheet-vital b{font-size:20px}
.sheet-sections{gap:16px;align-items:start}.sheet-block{padding:18px;scroll-margin-top:100px}
.sheet-block h4{font-size:20px;margin-bottom:12px}.sheet-block p,.sheet-row{font-size:15px;line-height:1.55}
.sheet-row{padding:10px 0}.sheet-row button,.sheet-skill-checks button{font-size:14px;min-height:38px;flex-shrink:0}
.sheet-row select{font-size:13px;padding:7px}.sheet-skill-checks{gap:7px}.sheet-skill-checks button{padding:7px 10px}
.sheet-resource-tools label{font-size:14px}.sheet-resource-tools button,.sheet-slots button{font-size:14px;min-height:38px}
.sheet-resource-tools small,.sheet-resource-list .sheet-row small,.sheet-shop label,.sheet-shop small{font-size:12px}
.sheet-shop{grid-template-columns:minmax(0,1fr) 76px auto;padding:12px}.sheet-shop select,.sheet-shop input{font-size:14px}
.sheet-slots{font-size:14px;padding:10px;background:#1d2726}
.sheet-output{position:sticky;top:8px;z-index:2;font-size:15px;line-height:1.5;padding:12px 15px;box-shadow:0 4px 16px #0005;margin:12px 0}
.sheet-section-nav{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 18px}.sheet-section-nav a{padding:7px 12px;border:1px solid #5d5d4e;border-radius:3px;font-size:14px;color:var(--gold)}
.server-share summary,.sync-panel summary{cursor:pointer;color:var(--gold)}
.server-share summary{font-size:18px;padding:4px 0}.sync-panel summary{margin-bottom:0}.sync-panel[open] summary{margin-bottom:18px}
.sync-panel summary h2{font-size:22px}.sync-panel textarea{min-height:150px}
button:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid var(--blue);outline-offset:4px}
@media(max-width:700px){.sheet-sections{grid-template-columns:1fr}.sheet-view{padding:12px}.sheet-block{padding:14px}.sheet-hero h3{font-size:26px}.sheet-output{position:static}.panel-heading{align-items:flex-start;flex-wrap:wrap}.panel-heading .button-row.compact{flex-direction:row;justify-content:flex-start}.panel-heading .button-row.compact .button{width:auto}.is-connected .account-bar>div{justify-content:flex-start}.sheet-shop{grid-template-columns:minmax(0,1fr) 64px}.sheet-shop button{grid-column:1/-1;min-height:40px}.sync-panel summary{display:block}.sync-panel .version-pill{display:inline-block;margin-top:10px}}
