/* file: public/css/layout.css */

.container { width: 100%; max-width: var(--content-max); margin: 0 auto; padding: 0 28px; }
.app-header {
  position: sticky; top: 0; z-index: 100;
  min-height: var(--header-height);
  background: rgba(255, 255, 255, 0.84);
  border-bottom: 1px solid rgba(220, 229, 239, 0.92);
  backdrop-filter: blur(18px);
}
.header-inner { min-height: var(--header-height); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand-lockup { display: flex; align-items: center; gap: 12px; color: var(--text-strong); }
.brand-lockup:hover { text-decoration: none; }
.brand-mark { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; color: #fff; font-weight: 900; background: linear-gradient(145deg, #1687d4, var(--brand)); box-shadow: 0 12px 24px rgba(0, 104, 183, 0.22); }
.brand-copy strong { display: block; font-size: 15px; line-height: 1.25; letter-spacing: .01em; }
.brand-copy span { display: block; color: var(--muted); font-size: 11px; }
.global-nav { display: flex; align-items: center; gap: 4px; }
.global-nav a { color: #405269; font-weight: 750; font-size: 13px; padding: 9px 12px; border-radius: 999px; }
.global-nav a:hover, .global-nav a[aria-current="page"] { text-decoration: none; color: var(--brand-dark); background: var(--brand-soft); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.demo-banner { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 34px; padding: 6px 16px; color: #7c2d12; background: #fff7ed; border-bottom: 1px solid #fed7aa; font-size: 12px; font-weight: 800; }
.demo-dot { width: 8px; height: 8px; border-radius: 50%; background: #f97316; box-shadow: 0 0 0 4px rgba(249,115,22,.12); }
.page-shell { padding: 30px 0 64px; }
.workspace { display: grid; grid-template-columns: var(--sidebar-width) minmax(0, 1fr); gap: 24px; align-items: start; }
.sidebar { position: sticky; top: calc(var(--header-height) + 50px); padding: 16px; background: rgba(255,255,255,.86); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.sidebar-title { margin: 0 0 12px; padding: 4px 8px; color: var(--muted); font-size: 11px; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.sidebar-nav { display: grid; gap: 6px; }
.sidebar-nav button { width: 100%; display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 10px 12px; border: 0; border-radius: 12px; background: transparent; color: #43546a; text-align: left; cursor: pointer; font-weight: 800; }
.sidebar-nav button:hover { background: #f4f8fc; }
.sidebar-nav button.is-active { color: var(--brand-dark); background: var(--brand-soft); box-shadow: inset 3px 0 0 var(--brand); }
.workspace-main { min-width: 0; }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; animation: fade-in .18s ease; }
@keyframes fade-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.footer { padding: 26px 0 40px; color: var(--muted); font-size: 12px; border-top: 1px solid var(--line); background: rgba(255,255,255,.72); }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
