body{display:flex;flex-direction:column;min-height:100vh;min-height:100dvh}
body>#main{flex:1 0 auto;min-width:0}
body:not([data-cabinet-workspace])>#main{min-height:calc(100dvh - var(--space-8))}
body>#topbar,body>#service-footer{flex:none}
@media(max-width:390px){
  #topbar .header{gap:var(--space-1);padding-inline:var(--space-2)}
  #topbar .header>.preferences{gap:var(--space-1)}
}
.account-avatar{display:inline-grid;place-items:center;flex:none;width:32px;height:32px;border:1px solid var(--line);border-radius:50%;overflow:hidden;color:var(--ink);background:var(--surface);font-size:12px;font-weight:650;line-height:1}
.account-avatar img{display:block;width:100%;height:100%;object-fit:cover}
.account-avatar svg{display:block;width:56%;height:56%}
/* Static architectural 32 px grid + Variant 1 retro 4x4 paper-colored pixel checkerboard punched through violet & blue radial glows (user choice 23.11.2026). */
#pixel-background{
  position:fixed;inset:0;width:100%;height:100%;pointer-events:none;z-index:-1;
  --brief-grid-line:rgb(137 164 206 / .085);--grid-glow:rgb(150 128 255);--grid-glow-blue:rgb(84 166 255);--grid-glow-strong:rgb(178 160 255);--grid-glow-teal:rgb(70 226 204);
  --grid-hex:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='38' height='66'%3E%3Cpath d='M0.5 11L19.5 0L38.5 11M0.5 11V33L19.5 44L38.5 33M19.5 44V66' fill='none' stroke='%2389a4ce' stroke-opacity='.085'/%3E%3C/svg%3E");
  --brief-glow-v-core:rgb(148 120 245 / .44);
  --brief-glow-v-mid:rgb(143 116 238 / .20);
  --brief-glow-b-core:rgb(75 161 241 / .36);
  --brief-glow-b-mid:rgb(75 161 241 / .16);
  --brief-glow-bottom:rgb(34 196 178 / .38);
  background-color:var(--paper);
  background-image:
    var(--grid-hex),
    repeating-conic-gradient(var(--paper) 0% 25%,transparent 0% 50%),
    /* The brief's own spots (user request 24.11.2026), keeping their shape at any width; the blue spot cut in half by both side
       edges is the storefront's too (styles.css), so the pages' backgrounds join while they slide; the others stay clear of the edges. */
    radial-gradient(min(640px,60vw) min(420px,40vw) at 0% var(--seam-left,44%),var(--brief-glow-b-core) 0%,var(--brief-glow-b-mid) 36%,transparent 68%),
    radial-gradient(min(640px,60vw) min(420px,40vw) at 100% var(--seam-right,44%),var(--brief-glow-b-core) 0%,var(--brief-glow-b-mid) 36%,transparent 68%),
    radial-gradient(min(520px,44vw) min(340px,30vw) at 64% 12%,var(--brief-glow-v-core) 0%,var(--brief-glow-v-mid) 36%,transparent 68%),
    radial-gradient(min(520px,44vw) min(340px,30vw) at 40% 92%,var(--brief-glow-bottom) 0%,transparent 68%);
  background-size:38px 66px,4px 4px,100% 100%,100% 100%,100% 100%,100% 100%;
}
:root[data-theme=light] #pixel-background{
  --brief-grid-line:rgb(36 63 107 / .075);--grid-glow:rgb(98 72 222);--grid-glow-blue:rgb(30 116 214);--grid-glow-strong:rgb(80 48 212);--grid-glow-teal:rgb(8 142 132);--grid-hex:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='38' height='66'%3E%3Cpath d='M0.5 11L19.5 0L38.5 11M0.5 11V33L19.5 44L38.5 33M19.5 44V66' fill='none' stroke='%23243f6b' stroke-opacity='.075'/%3E%3C/svg%3E");
  --brief-glow-v-core:rgb(124 98 232 / .34);
  --brief-glow-v-mid:rgb(124 98 232 / .14);
  --brief-glow-b-core:rgb(58 146 230 / .28);
  --brief-glow-b-mid:rgb(58 146 230 / .12);
  --brief-glow-bottom:rgb(16 156 146 / .26);
}
html{background:var(--paper)}body{background:transparent}
/* The pointer's glow on the grid, as on the storefront (styles.css, pixel-background.mjs; user request 24.11.2026). */
.grid-glow{position:fixed;inset:0;width:100%;height:100%;pointer-events:none;z-index:-1;mix-blend-mode:screen}
.grid-glow[data-mode=light]{mix-blend-mode:multiply}
@media (prefers-reduced-motion:reduce),(hover:none),(pointer:coarse){.grid-glow{display:none}}

/* The cabinet supplies the surrounding profile and site navigation. */
html:has([data-cabinet-workspace]),[data-cabinet-workspace]{background:transparent}
[data-cabinet-workspace] #topbar,[data-cabinet-workspace] .ui-project-actions-slot{display:none}
[data-cabinet-workspace] .ui-project-tabs-row{width:100%}
[data-cabinet-workspace] .site-container{width:100%;max-width:none;padding-inline:0}
[data-cabinet-workspace] :is(#pixel-background,.grid-glow,#service-footer),
[data-cabinet-workspace][data-workspace-empty] #main{display:none}
.direct-launch[hidden]{display:none}
.direct-launch{
  position:fixed;right:0;bottom:var(--space-4);z-index:39;width:var(--action-height);min-height:var(--space-7);
  display:grid;place-content:center;justify-items:center;gap:var(--space-1);padding:var(--space-1);
  border:var(--action-border) solid var(--line);border-inline-end:0;border-radius:var(--panel-radius) 0 0 var(--panel-radius);
  background:var(--surface);color:var(--subhead);cursor:pointer;
}
body:has(.project-trash:not([hidden])) > .direct-launch{bottom:calc(var(--space-4) + var(--space-7) + var(--space-2))}
.direct-launch:hover{background:var(--selected)}
.direct-count{font-size:var(--text-eyebrow);font-weight:700;line-height:1}
.direct-launch svg{width:var(--action-icon);height:var(--action-icon)}
