body.landing-body { display: flex; flex-direction: column; }
.landing-body > main { flex: 1; width: 100%; }
.landing-header-inner { gap: 20px; }
.landing-brand, .landing-nav-link, .landing-header-actions { white-space: nowrap; }
.dynamic-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.dynamic-terms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dynamic-terms .stat-label { margin: 8px 0 20px; }
.cat-logo-floating { aspect-ratio: 1; object-fit: contain; }
.landing-body .dashboard {
  position: relative; z-index: 1; max-width: 1100px; margin: 0 auto; padding: 50px 24px 72px;
}
.page-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 28px; }
.page-heading h1 { font-size: clamp(28px, 4vw, 44px); line-height: 1.15; letter-spacing: -.03em; }
.eyebrow { color: var(--muted); font-size: 12px; letter-spacing: .08em; margin: 0 0 8px; }
.dashboard .panel {
  display: block; padding: 32px; margin: 0 0 20px; min-width: 0; border-radius: 24px;
  background: #060608; border: 1px solid var(--line); box-shadow: 0 20px 50px rgba(0,0,0,.6);
}
.dashboard .panel[hidden] { display: none !important; }
.dashboard .narrow { width: min(100%, 480px); margin-inline: auto; padding: 42px 38px; background: #08080c; }
.dashboard h2 { font-size: 24px; letter-spacing: -.02em; margin-bottom: 12px; line-height: 1.2; }
.dashboard p { margin: 7px 0 12px; }
.dashboard .muted, .dashboard label, .dashboard ol { color: var(--muted); }
.dashboard .tag { color: #e6e6eb; font-size: 13px; }
.dashboard-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.dashboard form { display: grid; gap: 14px; margin-top: 14px; }
.dashboard label { display: grid; gap: 7px; font-size: 14px; }
.dashboard input, .dashboard select {
  width: 100%; min-width: 0; padding: 12px 14px; color: var(--ink); background: #0e0e14;
  border: 1px solid var(--line); border-radius: 12px; font: inherit;
}
.dashboard input:focus, .dashboard select:focus { outline: 1px solid #a4a9f4; }
.dashboard .button {
  display: inline-flex; justify-content: center; align-items: center; min-height: 40px; padding: 9px 18px;
  border: 1px solid var(--line); border-radius: 9999px; background: #101016;
  color: #fff; font: inherit; font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: background .2s, transform .2s, box-shadow .2s;
}
.dashboard .button:hover { background: #191921; }
.dashboard .button.primary { color: #000; background: #fff; border-color: #fff; }
.dashboard .button.primary:hover { background: #ebebed; transform: translateY(-1px); box-shadow: 0 4px 20px #ffffff40; }
.dashboard .button:disabled { opacity: .55; cursor: wait; }
.dashboard .danger, .dashboard .notice.error { color: #ffa7a7; }
.dashboard form .button { justify-self: start; }
.dashboard .inline-form, .dashboard .actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-block: 12px; }
.dashboard .inline-form { align-items: end; }
.dashboard .inline-form label { flex: 0 1 180px; }
.dashboard .entry { border-top: 1px solid var(--line); padding: 14px 0; display: grid; gap: 5px; overflow-wrap: anywhere; }
.dashboard .entry .actions { margin: 4px 0; }
.dashboard .notice, .dashboard output { display: block; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; overflow-wrap: anywhere; }
.dashboard .mono, .dashboard output { font-family: Consolas, monospace; overflow-wrap: anywhere; }
.dashboard ol { padding-left: 22px; }
@media (max-width: 768px) {
  .landing-body .landing-header-inner { gap: 8px 16px; }
  .landing-body .landing-header-actions { width: auto; }
  .landing-body .landing-main { padding-inline: 20px; }
  .landing-body .landing-hero { min-height: auto; padding-block: 46px; }
  .landing-body .cat-logo-floating { max-width: min(270px, 72vw); }
  .dashboard-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .landing-body .dashboard { padding-inline: 18px; }
  .dashboard .panel, .dashboard .narrow { padding: 23px; }
}
@media (max-width: 420px) {
  .dynamic-terms { grid-template-columns: minmax(0, 1fr); }
  .landing-header-actions .landing-btn-white { padding-inline: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .landing-body, .cat-logo-floating { animation: none; }
}
