.event-tabs{display:flex;flex:none;gap:6px;padding:10px 14px;border-bottom:1px solid var(--line);background:var(--field,#fff);overflow-x:auto;scrollbar-width:thin}
.event-tabs button{flex:1 0 145px;display:flex;flex-direction:column;align-items:flex-start;gap:5px;padding:10px 12px;border-radius:10px;background:transparent;color:var(--muted);text-align:left;white-space:nowrap}
.event-tabs strong{font-size:13px;font-weight:650}.event-tabs button span{font-size:11px;font-variant-numeric:tabular-nums}
.event-tabs button[aria-current=page]{color:var(--ink);border-color:var(--accent,#3182f6);background:var(--ui-1c2c44,#eef5ff)}
#pendingBooth:not([hidden]){width:100%;min-height:380px;align-self:stretch;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:40px 20px;text-align:center;color:var(--ink)}
#pendingBooth h2{font-size:24px;font-weight:650;margin:0}#pendingBooth p{margin:0;color:var(--muted);font-size:14px;font-variant-numeric:tabular-nums}
.pending-booth-tag{font-size:11px;letter-spacing:.05em;color:var(--muted)}#pendingBooth .pending-booth-note{margin-top:20px;padding:7px 12px;border:1px solid var(--line);border-radius:20px;font-size:12px}
body.event-pending #workspace{grid-template-columns:minmax(0,1fr)}
body.event-pending #workspace>.products,body.event-pending #workspace>.inspector,body.event-pending #artboard,body.event-pending .canvas-toolbar,body.event-pending #orbitControls,body.event-pending #eventNote{display:none!important}
body.event-pending #viewport{background:var(--field,#f5f6f8);background-image:none;min-height:400px}
@media(min-width:851px){body>header .event-picker{display:none}}
@media(max-width:850px){.event-tabs{display:none}body.event-pending #mobileDock{display:none!important}body.event-pending #viewport{display:flex;min-height:0;padding:0}#pendingBooth:not([hidden]){min-height:0;height:100%;padding:24px}body.mobile-mode>header .event-picker{max-width:none}body.mobile-mode>header .event-picker select{max-width:none;font-size:12px}}
/* Header tools form two groups instead of being spaced across the entire window. */
@media(min-width:851px){
 body>header{justify-content:flex-start;gap:12px;flex-wrap:nowrap;padding:10px 16px;min-height:64px}
 body>header .brand{margin-right:16px}
 body>header .workspace-switch{margin:0}
 body>header .header-library{margin-left:0;margin-right:auto;flex-shrink:0}
 body>header .file-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px;margin-left:0;flex-shrink:0;flex-wrap:nowrap}
 body>header .file-actions button,body>header .file-actions summary{white-space:nowrap}
 body>header #themeToggle{margin-left:0;flex-shrink:0}
 body>header .mockup-actions{margin-left:0}
 .event-tabs{gap:6px;padding:8px 12px}
 .event-tabs button{gap:4px;padding:8px 10px}
}
@media(min-width:851px) and (max-width:1200px){
 body>header{gap:8px;flex-wrap:wrap}
 body>header .brand{margin-right:6px}
 body>header .file-actions{margin-left:auto;flex-wrap:wrap}
 body>header .workspace-switch button{padding:8px 12px}
}

.booth-save-status{flex:0 0 auto;padding:6px 16px;border-bottom:1px solid var(--line);background:var(--field,#fff);color:var(--muted);font-size:11px;line-height:1.5;font-variant-numeric:tabular-nums}.booth-save-status[hidden]{display:none!important}@media(max-width:850px){.booth-save-status{padding:5px 12px}}
