/* Available before the application bundle; fast starts never reveal the shell. */
body:has([data-site-loading]) { margin: 0; background: #fafafa; }
[data-site-loading] {
  min-height: 100vh;
  background: #fafafa;
  visibility: hidden;
  animation: startup-reveal 0s linear 200ms forwards;
}
[data-site-loading][hidden] { display: none; }
[data-site-loading] * { box-sizing: border-box; }
.startup-status {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.startup-nav { height: 65px; background: #fff; border-bottom: 1px solid #e4e4e7; }
.startup-nav-inner { max-width: 1280px; height: 100%; margin: auto; padding: 0 32px; display: flex; align-items: center; gap: 32px; }
.startup-brand { display: flex; align-items: center; gap: 8px; }
.startup-block { display: block; height: 12px; border-radius: 5px; background: #e4e4e7; animation: startup-pulse 1.8s ease-in-out 200ms infinite; }
.startup-logo { width: 32px; height: 32px; border-radius: 8px; }
.startup-name { width: 88px; height: 16px; }
.startup-menu { display: flex; flex: 1; gap: 24px; }
.startup-menu .startup-block { width: 64px; }
.startup-account { margin-left: auto; width: 64px; height: 32px; }
.startup-main { max-width: 1280px; margin: auto; padding: 40px 32px; }
.startup-heading { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 32px; }
.startup-title { width: 160px; height: 32px; }
.startup-action { width: 112px; height: 36px; }
.startup-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr); gap: 20px; }
.startup-card { min-width: 0; overflow: hidden; border: 1px solid #e4e4e7; border-radius: 12px; background: #fff; }
.startup-card-heading { padding: 24px; border-bottom: 1px solid #f4f4f5; }
.startup-card-heading .startup-block { width: 96px; height: 16px; }
.startup-rows { padding: 0 24px; }
.startup-row { padding: 24px 0; }
.startup-row + .startup-row { border-top: 1px solid #f4f4f5; }
.startup-row .startup-block:first-child { width: 55%; height: 16px; margin-bottom: 16px; }
.startup-row .startup-block:last-child { width: 85%; }
[data-layout="content"] .startup-grid, [data-layout="management"] .startup-grid { grid-template-columns: minmax(0, 1fr); }
[data-layout="content"] .startup-sidebar, [data-layout="management"] .startup-sidebar { display: none; }
[data-layout="management"] .startup-nav { display: none; }
[data-layout="management"] .startup-main { max-width: 1200px; }
[data-layout="auth"] .startup-main { max-width: 480px; padding-top: 64px; }
[data-layout="auth"] .startup-grid { grid-template-columns: minmax(0, 1fr); }
[data-layout="auth"] .startup-sidebar, [data-layout="auth"] .startup-action,
[data-layout="auth"] .startup-card-heading, [data-layout="auth"] .startup-row:last-child { display: none; }
[data-layout="auth"] .startup-row + .startup-row { border-top: 0; }
[data-layout="auth"] .startup-row .startup-block:first-child { width: 72px; height: 12px; }
[data-layout="auth"] .startup-row .startup-block:last-child { width: 100%; height: 40px; }
@keyframes startup-reveal { to { visibility: visible; } }
@keyframes startup-pulse { 50% { opacity: .5; } }
@media (max-width: 1023px) {
  .startup-menu { display: none; }
  .startup-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 639px) {
  .startup-nav-inner { padding: 0 16px; }
  .startup-main { padding: 32px 16px; }
  .startup-title { width: 128px; height: 28px; }
  .startup-action { width: 80px; }
}
@media (prefers-reduced-motion: reduce) {
  .startup-block { animation: none; }
}
