/* Home uses the existing shell dimensions; every column scrolls independently. */
body[data-workspace=home] .suite-layout{display:none!important}
.home-dashboard[hidden]{display:none!important}
.home-dashboard{display:grid;grid-template-columns:var(--pe-sidebar-width,300px) minmax(0,1fr) var(--pe-inspector-width,276px);gap:12px;height:100%;min-height:0;color:#dcecf8}
.home-sidebar,.home-main,.home-updates{min-width:0;min-height:0;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:#30546d #08121d;padding:0 3px 12px 0}
.home-sidebar,.home-updates{display:flex;flex-direction:column;gap:10px}
.home-main{display:flex;flex-direction:column;gap:12px}
.home-dashboard button,.home-release-dialog button{font:inherit;cursor:pointer}
.home-dashboard button:disabled{opacity:.5;cursor:default}
.home-panel{border:1px solid #244257;border-radius:7px;background:linear-gradient(135deg,#102a3c80,#091925 80%);box-shadow:0 3px 14px #0003;min-width:0;flex-shrink:0;overflow:hidden}
.home-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:11px 12px;border-bottom:1px solid #24485b88;min-height:40px;background:linear-gradient(90deg,#10304755,transparent)}
.home-panel-heading h2{display:flex;align-items:center;gap:8px;margin:0;font-size:.8125rem;font-weight:600;letter-spacing:.8px;color:#83d6fa;line-height:1.25}
.home-panel-heading h2 svg{width:17px;height:17px;color:#22caff;flex-shrink:0}
.home-panel-heading>button{background:none;border:0;padding:0;color:#2dccff;white-space:nowrap;font-size:.75rem}
.home-dashboard button svg{width:17px;height:17px;flex-shrink:0}
.home-dashboard button:focus-visible,.home-dashboard summary:focus-visible,.home-release-dialog summary:focus-visible{outline:2px solid #52d6ff;outline-offset:-2px}
.home-workspace{display:flex;align-items:center;gap:10px;margin:9px;padding:9px;border:1px solid #28526c;border-radius:4px;background:#092438}
.home-workspace>div{min-width:0;display:grid;gap:2px}
.home-workspace strong{font-size:.875rem;color:#dff3ff}
.home-workspace small{font-size:.75rem;color:#8db3cc}
.home-workspace-icon{display:grid;place-items:center;width:34px;height:34px;border:1px solid #40caff;border-radius:5px;background:linear-gradient(145deg,#176b94,#081f35);color:#a4e8ff;font-size:1.7rem;font-weight:700;font-style:italic}
.home-workspace>i{width:6px;height:6px;border-radius:50%;background:#55dcad;box-shadow:0 0 8px #44d2a333;margin-left:auto}
.home-workspace-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;padding:0 9px 7px}
.home-action{display:flex;align-items:center;gap:10px;width:100%;min-height:41px;border:0;border-bottom:1px solid #23415488;border-radius:0!important;background:transparent;color:#c3ddeb;text-align:left;padding:9px 12px;font-size:.8125rem!important}
.home-action>svg:first-child{color:#60d5ff}
.home-action>svg:last-child{width:12px;margin-left:auto;color:#6e9dbb}
.home-action:hover{background:#12344a;border-color:#3283a8;color:#f0faff}
.home-workspace-actions .home-action{border:1px solid #327896!important;border-radius:4px!important;justify-content:center;font-size:.75rem!important;padding:8px 5px;gap:5px;min-height:38px}
.home-workspace-actions .home-action>svg:last-child{display:none}
.home-action.purple>svg:first-child{color:#c893ff}
.home-action.amber>svg:first-child{color:#ffc268}
.home-dashboard button.cyan{background:linear-gradient(135deg,#04b9ed,#0873ce)!important;border-color:#36d0ff!important;color:white!important;box-shadow:inset 0 1px #c0f5ff44,0 3px 14px #0097eb22}
.home-dashboard button.purple{background:linear-gradient(135deg,#4d2575,#251a40)!important;border-color:#a15fdf!important;color:#eed6ff!important}
.home-search{display:flex;align-items:center;gap:8px;margin:10px 9px;padding:8px 9px;border:1px solid #2d5068;border-radius:4px;background:#071723}
.home-search svg{width:16px;height:16px;color:#72bfe4;flex-shrink:0}
.home-search input{border:0!important;background:transparent!important;padding:0!important;min-width:0;width:100%;font:inherit;font-size:.8125rem!important;color:#d8edf9;outline:none}
.home-search input::placeholder{color:#799cb6}
.home-compact-card{display:flex;align-items:center;gap:9px;padding:10px!important;width:100%;border:0;border-bottom:1px solid #23435688;border-radius:0;background:transparent;text-align:left;min-width:0}
.home-compact-card:hover{background:#163950}
.home-compact-card img{width:60px;height:43px;flex-shrink:0;object-fit:cover;border:1px solid #34556a;border-radius:4px}
.home-compact-card>span{min-width:0;display:grid;gap:4px}
.home-compact-card strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.8125rem;color:#d8eaff;font-weight:600}
.home-compact-card small{font-size:.75rem;color:#7faecc}
.home-local-note{padding:4px 10px;color:#84aec7;font-size:.8125rem;line-height:1.6;margin:0}.home-local-note span{color:#597e99}
.home-hero{position:relative;flex-shrink:0;min-height:310px;border:1px solid #287091;border-radius:8px;overflow:hidden;background:linear-gradient(90deg,#06192df5 0%,#071a2ada 43%,#071a2a05 100%),url('home-arena.png') 65% 62%/cover;box-shadow:inset 0 0 80px #0006,0 5px 22px #0004}
.home-hero-content{position:relative;padding:28px 25px;z-index:1}
.home-eyebrow{color:#f3c779;font-size:.8125rem;letter-spacing:2.8px;font-weight:600}
.home-hero h1{font-size:clamp(2rem,2.5vw,3.8rem);line-height:1.05;letter-spacing:-.5px;font-weight:700;margin:10px 0 14px;max-width:78%;color:#eff7ff;text-shadow:0 3px 15px #000a}
.home-hero h1 em{font-style:normal;color:#16c9f9}
.home-hero p{font-size:clamp(.875rem,1vw,1.125rem);line-height:1.5;color:#a5cde7;margin:0 0 20px;max-width:85%;text-shadow:0 1px 5px #000}
.home-hero-actions{display:flex;gap:10px;max-width:85%}
.home-hero-actions>button{display:flex;align-items:center;gap:14px;justify-content:center;min-height:66px;padding:10px 18px;border:1px solid;border-radius:5px;min-width:0;flex:1;font-size:1rem;box-shadow:0 3px 14px #0003}
.home-hero-actions>button svg{width:27px;height:27px}
.home-hero-actions>button>span{display:grid;gap:3px;text-align:left;white-space:nowrap}
.home-hero-actions small{font-size:.75rem;color:#c6def4;font-weight:400}
.home-version-badge{position:absolute;right:16px;top:28px;z-index:2;padding:13px 16px;border:1px solid #397e9e;border-radius:6px;background:linear-gradient(125deg,#0e273bec,#081a2bf0);box-shadow:0 6px 18px #0007;display:grid;gap:5px}
.home-version-badge>small{color:#70d6ff;font-size:.6875rem;letter-spacing:1.3px}
.home-version-badge>strong{font-size:1.55rem;line-height:1.2;white-space:nowrap;color:#f0f8ff}
.home-version-badge em{font-style:normal;color:#3bd2f4;font-size:.875rem;text-transform:capitalize}
.home-version-badge>span{font-size:.75rem;color:#83afcb}
.home-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;flex-shrink:0}
.home-stat{border:1px solid #24465d;border-radius:6px;display:flex;align-items:center;gap:10px;padding:14px 10px;background:linear-gradient(135deg,#102a3b88,#091925);min-width:0}
.home-stat>span{display:grid;place-items:center;flex-shrink:0;width:38px;height:43px;border-radius:6px;border:1px solid #24608d;background:#0d365a;color:#38caff}
.home-stat>span svg{width:24px;height:24px}
.home-stat>div{display:grid;gap:3px;min-width:0}
.home-stat small{font-size:.625rem;color:#9ec6df;text-transform:uppercase;letter-spacing:.65px}
.home-stat strong{font-size:1.55rem;color:#e2f1ff;line-height:1.2;font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap}
.home-stat em{font-size:.6875rem;color:#6d9bb9;font-style:normal;line-height:1.25}
.home-stat.amber>span{background:#49301b;border-color:#80532d;color:#ffc067}.home-stat.purple>span{background:#33204d;border-color:#5e3c86;color:#d294f4}.home-stat.teal>span{background:#0d3d37;border-color:#1c6e61;color:#5cdbbb}
.home-montage{display:flex;align-items:center;gap:18px;flex-shrink:0;border:1px solid #b3752e;border-radius:7px;padding:20px;background:linear-gradient(110deg,#49260fee,#24190fe8 65%,#39220cce),url('home-arena.png') center/cover;box-shadow:inset 0 1px #f1b15b33,0 0 20px #d17a160b}
.home-feature-icon{color:#ffc168;display:grid;place-items:center;width:45px;flex-shrink:0}.home-feature-icon svg{width:42px;height:42px}
.home-feature-tag{color:#ffc989;background:#9f511f66;border:1px solid #d0863a55;border-radius:3px;padding:3px 7px;letter-spacing:1.5px;font-size:.6875rem}
.home-montage h2{font-size:1.5rem;color:#fff1db;margin:9px 0 5px;line-height:1.1}
.home-montage p{font-size:.875rem;line-height:1.5;color:#d0bcaa;margin:0}
.home-montage>div:last-child{margin-left:auto;display:grid;gap:8px;min-width:180px;text-align:center}
.home-montage button{display:flex;align-items:center;justify-content:center;gap:10px;border:1px solid #ffd076;background:linear-gradient(135deg,#ffb54f,#e88922);color:#2c1807;font-weight:700;font-size:1rem;padding:13px;border-radius:5px;box-shadow:0 0 16px #ff9e2b22,inset 0 1px #ffe1ad55}
.home-montage button:hover{background:linear-gradient(135deg,#ffc675,#ff9d36);box-shadow:0 0 23px #ffa83233}
.home-montage>div:last-child small{font-size:.6875rem;color:#bc9d7f}
.home-lower-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(250px,1fr);gap:12px;flex-shrink:0}
.home-lower-grid>.home-panel:first-child .home-panel-heading h2{font-size:1.125rem;letter-spacing:0;color:#d5ebff}
.home-tabs{display:flex;padding:10px 10px 0;gap:3px;border-bottom:1px solid #23465c}
.home-tabs>button{flex:1;min-width:0;font-size:.75rem;padding:8px 5px;border:1px solid #23465c;border-radius:4px 4px 0 0;background:#0d2134;color:#85abc7;white-space:nowrap}
.home-tabs>button[aria-selected=true]{color:#7ce3ff;border-color:#1a91b4;background:linear-gradient(#104767,#0c2d43);box-shadow:inset 0 -2px #22ccff}
.home-continue{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;padding:12px;max-height:420px;overflow-y:auto;align-content:start}
.home-work-card{padding:0!important;border:1px solid #31526c;border-radius:5px;background:#0b2032;text-align:left;overflow:hidden;min-width:0;display:flex;flex-direction:column}
.home-work-card>img{width:100%;height:90px;object-fit:cover;border-bottom:1px solid #31526c}
.home-work-card>span{padding:9px;display:grid;gap:5px}
.home-work-card strong{font-size:.8125rem;font-weight:600;color:#dfedff;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.home-work-card small{font-size:.6875rem;line-height:1.4;color:#8ab3d1}
.home-work-card em{color:#52c7ee;font-size:.6875rem;font-style:normal;margin-top:3px}
.home-work-card:hover{border-color:#3bbee9;box-shadow:0 4px 17px #0083b51f}
.home-empty{padding:16px 12px;margin:0;color:#7f9fb7;font-size:.8125rem;line-height:1.6;grid-column:1/-1}
.home-activity{padding:2px 12px;max-height:380px;overflow-y:auto}
.home-activity-row{display:flex;gap:9px;padding:13px 0;border-bottom:1px solid #203e5288;align-items:center}
.home-activity-icon{display:grid;place-items:center;width:29px;height:31px;background:#10304b;border:1px solid #1c5b7c;border-radius:4px;color:#35c9f5;flex-shrink:0}.home-activity-icon svg{width:17px;height:17px}
.home-activity-row>div{display:grid;gap:4px;min-width:0}
.home-activity-row strong{font-size:.8125rem;font-weight:500;color:#d9e8f7}
.home-activity-row small{font-size:.6875rem;color:#759db9;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.home-activity-row time{margin-left:auto;flex-shrink:0;align-self:flex-start;font-size:.6875rem;color:#82a7c2}
.home-chip{font-size:.625rem;color:#6c9bb8;letter-spacing:.8px}
.home-release-banner{padding:18px 16px;background:linear-gradient(130deg,#5d311a99,#24202b 75%);border:1px solid #82512e66;border-radius:5px;margin:10px;display:grid;gap:7px;position:relative;overflow:hidden}
.home-release-banner:after{content:'';position:absolute;right:-25px;top:-30px;width:75px;height:220px;transform:rotate(30deg);background:#b37d4812;box-shadow:-25px 0 #b37d480b}
.home-release-banner>small{letter-spacing:1.8px;color:#e1ad75;font-size:.6875rem}
.home-release-banner>strong{color:#ffe8cd;font-size:1.75rem;line-height:1.1;position:relative;z-index:1}
.home-release-banner>span{font-size:.75rem;color:#b6aeb4}
.home-highlights{list-style:none;padding:0 14px;margin:4px 0 8px;display:grid;gap:12px}
.home-highlights li{display:flex;align-items:flex-start;gap:9px;font-size:.8125rem;line-height:1.45;color:#bed4e8}
.home-highlights i{font-style:normal;color:#25ceff;background:#0a4765;border-radius:50%;width:15px;height:15px;line-height:15px;text-align:center;flex-shrink:0;margin-top:2px;font-size:.6875rem}
.home-notes-button{display:flex;align-items:center;gap:8px;margin:5px 12px 12px!important;background:none;border:0;color:#5dd5ff!important;padding:5px 0!important;font-size:.75rem!important;text-align:left}
.home-history{padding:5px 13px}
.home-history details{position:relative;padding:12px 0 12px 17px;border-left:1px solid #2d7194;margin-left:5px}
.home-history details:before{content:'';position:absolute;left:-5px;top:16px;width:9px;height:9px;border-radius:50%;background:#23c9f6;box-shadow:0 0 10px #2abaff55}
.home-history summary{cursor:pointer;display:grid;gap:4px;font-size:.875rem;color:#cdeaff;list-style:none}
.home-history summary:after{content:'+';position:absolute;right:0;top:12px;color:#51bddc}
.home-history details[open] summary:after{content:'−'}
.home-history time{font-size:.6875rem;color:#62b4dd}
.home-history p{font-size:.8125rem;line-height:1.5;color:#7fa9c7;margin:10px 0}
.home-history button{background:none;border:0;padding:0;color:#40cdff;font-size:.75rem}
#home-system-status{padding:3px 12px 10px}
#home-system-status>div{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:10px 0;border-bottom:1px solid #1c3a4d99;font-size:.75rem}
#home-system-status span{display:flex;align-items:center;gap:7px;color:#a6c5dc}
#home-system-status strong{font-size:.6875rem;font-weight:500;color:#8d9fb1;text-align:right}
#home-system-status i{width:6px;height:6px;border-radius:50%;background:#6b7f92}
#home-system-status i.ready{background:#50dcab;box-shadow:0 0 6px #50dcab33}
#home-system-status strong.ready{color:#5bd8b0}
#home-system-status>small{display:block;color:#587f9b;font-size:.625rem;margin-top:9px}
.home-note,.home-update-note{font-size:.75rem;color:#7b9bb5;line-height:1.5;margin:0;padding:0 4px}.home-update-note{padding:2px 9px 10px}
.home-skeleton{height:65px;margin:10px;border:1px solid #1b3c52;border-radius:5px;background:linear-gradient(110deg,#112c3e,#183b51,#112c3e);opacity:.6}
.home-release-dialog{width:min(800px,calc(100vw - 32px));max-height:86vh;overflow-y:auto;padding:24px;background:#0b1c2b;color:#cbdfee;border:1px solid #3a7390;border-radius:9px;box-shadow:0 15px 90px #000a;font:inherit}
.home-release-dialog::backdrop{background:#020811c9;backdrop-filter:blur(4px)}
.home-release-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}
.home-release-heading small{color:#59d1f8;letter-spacing:2px;font-size:.75rem}.home-release-heading h2{font-size:1.75rem;color:#e4f6ff;margin:6px 0 14px}
.home-release-heading button{background:#132d40;color:#c6e3f5;border:1px solid #376079;padding:2px 10px;font-size:1.5rem}
.home-release-dialog details{margin-top:16px;padding:16px;border:1px solid #2d4d64;border-radius:5px;background:#0d2536}
.home-release-dialog summary{display:flex;justify-content:space-between;gap:12px;cursor:pointer;color:#e5f4ff;font-size:1.125rem;list-style:none}
.home-release-dialog summary span{font-size:.8125rem;color:#48d3f6;text-transform:capitalize}.home-release-dialog time{font-size:.8125rem;color:#7fa6c2}
.home-release-dialog h3{font-size:1.4rem;color:#caeafa;margin:18px 0 7px}.home-release-dialog h4{font-size:.875rem;color:#86d2f6;letter-spacing:.6px;margin:20px 0 8px}
.home-release-dialog li,.home-release-dialog p{font-size:.875rem;line-height:1.6}.home-release-dialog li{margin-bottom:6px}
@media(min-width:1800px){.home-dashboard{grid-template-columns:320px minmax(0,1fr) 340px}.home-hero{min-height:340px}.home-continue .home-work-card>img{height:115px}}
@media(max-width:1500px){.studio-suite .suite-nav button{min-width:88px;flex-basis:88px;font-size:.75rem;padding:0 6px}.studio-suite .suite-nav button svg{width:14px;height:14px}.home-dashboard{grid-template-columns:260px minmax(0,1fr) 264px;gap:10px}.home-hero{min-height:280px}.home-hero-content{padding:23px 18px}.home-hero h1{max-width:70%;font-size:2.35rem}.home-hero p{font-size:.875rem;max-width:100%}.home-version-badge{top:20px;right:12px;padding:10px}.home-version-badge strong{font-size:1.25rem}.home-hero-actions{max-width:100%}.home-hero-actions>button{padding:9px 10px;min-height:58px;font-size:.875rem;gap:9px}.home-hero-actions>button svg{width:21px;height:21px}.home-hero-actions small{font-size:.6875rem}.home-stat{padding:11px 7px;gap:7px}.home-stat>span{width:28px;height:35px}.home-stat>span svg{width:19px;height:19px}.home-stat strong{font-size:1.3rem}.home-stat small{font-size:.625rem}.home-montage{padding:16px;gap:10px}.home-feature-icon{display:none}.home-montage h2{font-size:1.25rem}.home-montage p{font-size:.8125rem}.home-montage p br{display:none}.home-montage>div:last-child{min-width:145px}.home-montage button{padding:10px;font-size:.875rem}.home-lower-grid{grid-template-columns:minmax(0,1fr)}.home-hero-content>p br{display:none}}
@media(max-width:1150px) and (min-width:761px){.home-dashboard{grid-template-columns:220px minmax(0,1fr) 240px}.home-hero h1{font-size:2rem;max-width:100%}.home-version-badge{position:static;display:flex;align-items:center;gap:8px;margin:0 16px 16px;padding:9px}.home-version-badge>span{margin-left:auto;font-size:.625rem}.home-hero{min-height:0}.home-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.home-montage{flex-wrap:wrap}.home-montage>div:last-child{margin-left:0;width:100%}.home-continue{grid-template-columns:repeat(2,minmax(0,1fr))}.home-workspace-actions{grid-template-columns:1fr}.home-hero-actions{flex-direction:column}.home-hero-actions button{justify-content:flex-start}.home-hero-content{padding:18px 16px}}
@media(max-width:760px){.home-dashboard{display:flex;flex-direction:column;height:auto;overflow:auto}.home-main{order:0;overflow:visible}.home-sidebar{order:1;overflow:visible}.home-updates{order:2;overflow:visible}.home-hero h1{max-width:100%;font-size:2.2rem}.home-version-badge{position:static;margin:0 18px 18px;display:flex;align-items:center;gap:8px}.home-version-badge>span{margin-left:auto}.home-hero-actions{flex-wrap:wrap}.home-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.home-montage{flex-wrap:wrap}.home-montage>div:last-child{margin-left:0;width:100%}.home-continue{grid-template-columns:repeat(2,minmax(0,1fr))}body[data-workspace=home] .suite-app{overflow-y:auto}}
@media(prefers-reduced-motion:reduce){.home-dashboard *, .home-release-dialog *{transition:none!important;animation:none!important;scroll-behavior:auto!important}.home-work-card,.home-action{transform:none!important}}

.home-hero{background:linear-gradient(110deg,#071d31,#081b2a 70%,#081421)}
.home-hero:before{content:'';position:absolute;inset:0;background:url('home-arena.png') center 62%/cover no-repeat;transform:translateX(22%);opacity:.9;filter:brightness(1.18) saturate(1.08);mask-image:linear-gradient(90deg,transparent 5%,#000 45%);pointer-events:none}
@media(max-width:760px){.home-hero:before{transform:translateX(12%);opacity:.65}}

.studio-launch>[hidden]{display:none!important}
.studio-launch>.suite-app{max-width:none;margin:0;height:calc(100dvh - 62px);padding:12px}
.studio-launch .suite-brand{text-decoration:none}

/* Columns fit the screen: list panels shrink (never stretch) and scroll inside their own
   card when space runs out, never below a usable size. Columns keep their scroll only as a
   fallback for short laptop windows. Phones keep one scrolling page. */
@media(min-width:761px){
.home-updates>.home-panel:has(#home-history),.home-updates>.home-panel:has(#home-system-status),
.home-sidebar>.home-panel:has(#home-side-projects),.home-sidebar>.home-panel:has(#home-side-replays),
.home-lower-grid>.home-panel{flex:0 1 auto;min-height:120px;display:flex;flex-direction:column}
.home-updates>.home-panel:has(#home-history){min-height:150px}
.home-updates>.home-panel:has(#home-system-status){flex-shrink:.25;min-height:140px}
#home-history,#home-system-status,#home-side-projects,#home-side-replays,#home-continue,#home-activity{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#30546d #08121d}
.home-lower-grid{flex:0 1 auto}
}
@media(min-width:761px) and (max-width:1500px){.home-lower-grid{display:flex;flex-direction:column}}
/* Short windows (laptops): tighter fixed blocks so the columns still fit. */
@media(min-width:761px) and (max-height:860px){
.home-hero{min-height:0!important}.home-hero-content{padding:16px 20px!important}
.home-hero h1{font-size:clamp(1.6rem,2vw,2.6rem);margin:6px 0 8px}.home-hero p{margin-bottom:12px}
.home-stat{padding:8px 10px}.home-stat>span{width:32px;height:34px}.home-stat strong{font-size:1.3rem}
.home-montage{padding:12px 16px}.home-montage h2{font-size:1.2rem;margin:4px 0 3px}.home-montage p{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.home-action{min-height:34px}.home-workspace{margin:7px;padding:7px}.home-workspace-actions .home-action{min-height:32px;padding:6px 5px}
.home-local-note{line-height:1.35}
}
