.logout-form { margin:0; }
.workspace-heading .logout-button, .app-menu .logout-button { min-width:0; min-height:0; padding:0; background:transparent; color:var(--muted); border:0; border-radius:0; font:inherit; text-decoration:underline; text-underline-offset:3px; white-space:nowrap; cursor:pointer; }
.workspace-heading .logout-button:hover, .app-menu .logout-button:hover { background:transparent; color:var(--text); }
.menu-heading .site-identity { flex-direction:row; gap:22px; text-align:left; }
.menu-heading .repository-mark { width:34px; height:34px; }
.site-identity { display:flex; flex-direction:column; align-items:center; gap:20px; text-align:center; }
.repository-mark { display:block; width:96px; height:96px; filter:drop-shadow(0 12px 24px #0003); }
.app-menu .menu-heading h1 { margin:0; }
.workspace-brand { display:flex; align-items:center; gap:22px; margin-right:auto; min-width:0; }
.workspace-brand > img { display:block; width:210px; height:auto; }
.back-link { display:grid; place-items:center; width:34px; height:34px; flex-shrink:0; border:1px solid var(--border); border-radius:8px; color:var(--muted); transition:background .15s,color .15s; }
.back-link span { width:18px; height:18px; background:currentColor; mask:url('../img/ui-back.svg') center/contain no-repeat; -webkit-mask:url('../img/ui-back.svg') center/contain no-repeat; }
.back-link:hover { color:var(--text); background:var(--surface-raised); }
.workspace-heading { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; flex-shrink:0; gap:24px; width:100%; padding:40px; max-width:1800px; margin:0 auto; }
.workspace-heading h1 { font-size:30px; font-weight:600; letter-spacing:-1px; line-height:1.25; margin:0; }
@media (max-width:760px) {
    .menu-heading .site-identity { gap:12px; grid-column:1; grid-row:1; min-width:0; }
    .workspace-heading { display:grid; grid-template-columns:minmax(0,1fr) auto; padding:28px 20px; gap:20px 12px; }
    .workspace-heading h1 { font-size:clamp(20px,6vw,26px); }
    .workspace-brand { grid-column:1; grid-row:1; gap:12px; }
    .workspace-heading > .logout-form, .workspace-heading > .logout-button { grid-column:2; grid-row:1; }
    .workspace-actions, .save-actions { grid-column:1 / -1; grid-row:2; width:100%; }
}
