/* SSA Cockpit shared chrome — dressed in the SSA brand (lime header, white ground, Poppins).
   Linked by every cockpit page alongside ssa.css. Page-specific styles stay in each page. */

body { margin: 0; background: #f7faf3; font-family: Poppins, Arial, sans-serif; }

/* Lime header — same language as the live SSA site header */
.ck-header { background: var(--ssa-green); box-shadow: 0 4px 22px rgba(14, 28, 9, 0.12); position: sticky; top: 0; z-index: 10; }
.ck-shell { max-width: 1160px; margin: 0 auto; padding: 0.55rem 1.2rem; display: flex; align-items: center; gap: 1.4rem; min-height: 72px; }
.ck-shell .brand { display: block; flex: 0 0 auto; }
.ck-shell .brand img { height: 50px; width: auto; display: block; }

/* Nav menu — dark text on lime, active item underlined (SSA nav language) */
.ck-nav { display: flex; align-items: center; gap: 0.3rem; flex: 1 1 auto; }
.ck-nav a { color: #16202a; font-weight: 600; font-size: 0.82rem; text-decoration: none; padding: 0.5rem 0.7rem; border-bottom: 4px solid transparent; line-height: 1.1; }
.ck-nav a:hover { border-bottom-color: rgba(22, 32, 42, 0.35); }
.ck-nav a.active { border-bottom-color: #16202a; }
.ck-badge { flex: 0 0 auto; font-weight: 700; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: #16202a; background: rgba(255, 255, 255, 0.6); padding: 0.42rem 0.85rem; border-radius: 999px; }

/* SSA-style intro band (optional per page) */
.ck-hero { padding: 2.4rem 1.2rem 1rem; }
.ck-hero .wrap { max-width: 1160px; margin: 0 auto; }
.ck-hero h1 { font-size: clamp(1.7rem, 3vw, 2.2rem); color: var(--ink); margin: 0.1rem 0 0.6rem; }
.ck-hero p { color: var(--muted); font-size: 0.95rem; line-height: 1.65; max-width: 70ch; margin: 0; }
.ck-hero .rule { margin-top: 0.7rem; color: var(--ssa-green-dark); font-weight: 600; font-size: 0.85rem; }

/* Generic content wrap */
.ck-wrap { max-width: 1160px; margin: 0 auto; padding: 1.4rem 1.2rem 4rem; }

/* Shared section + panel (used by Typography, Brand guide, future reference pages) */
.ck-section { max-width: 1160px; margin: 0 auto; padding: 1.6rem 1.2rem; }
.ck-section > h2 { color: var(--ink); font-size: 1.4rem; margin: 0 0 .3rem; }
.ck-section > .lead { color: var(--muted); font-size: .92rem; line-height: 1.6; margin: 0 0 1rem; max-width: 70ch; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 1.6rem 1.8rem; box-shadow: 0 8px 24px rgba(17,32,42,.05); }

@media (max-width: 680px) {
  .ck-shell { flex-wrap: wrap; gap: 0.6rem 1rem; }
  .ck-nav { order: 3; flex-basis: 100%; flex-wrap: wrap; }
}
