/* ============================================================
   ATMOSLY — PROVISIONING CORE PAGES (catalog/console layout)
   Third distinct UI/UX — different from Operations (split hero)
   and CI/CD (centered + pipeline flow):
     · left-aligned hero  · full-width CATALOG BROWSER
     · GUARDRAIL decision panel (request → checks → decision)
     · resource-type grid
   Loads AFTER page-core.css. Teal-green accent.
   ============================================================ */

body.pg-prov { --pg-1: #0D9488; --pg-2: #2DD4BF; --pg-soft: #DEF3EF; --pg-ink: #0B6E63; }

/* ---------- LEFT-ALIGNED HERO ---------- */
.pp-hero { position: relative; padding: 72px 0 52px; overflow: hidden; background: var(--bg); border-bottom: 1px solid var(--line-2); }
.pp-hero-bg { position: absolute; inset: 0; pointer-events: none; }
.pp-hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(13,148,136,0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(13,148,136,0.06) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(110% 90% at 18% 0%, #000 30%, transparent 76%);
          mask-image: radial-gradient(110% 90% at 18% 0%, #000 30%, transparent 76%);
}
.pp-hero-glow { position: absolute; top: -220px; left: -120px; width: 700px; height: 560px; border-radius: 50%; filter: blur(30px); opacity: 0.5; background: radial-gradient(closest-side, color-mix(in oklch, var(--pg-1) 26%, transparent), transparent); }
.pp-hero-inner { position: relative; z-index: 1; max-width: 720px; }
.pp-h1 { font-size: clamp(38px, 4.8vw, 58px); font-weight: 800; letter-spacing: -0.027em; line-height: 1.04; color: var(--ink-1); margin: 0 0 20px; text-wrap: balance; }
.pp-h1 em { font-style: normal; color: var(--pg-1); }
.pp-lede { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.6; color: var(--ink-3); max-width: 40em; margin: 0 0 28px; text-wrap: pretty; }
.pp-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.pp-hero-micro { display: flex; gap: 18px; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; }
.pp-hero-micro li { display: flex; align-items: center; gap: 7px; font-size: 13.5px; color: var(--ink-3); font-weight: 500; }
.pp-hero-micro .ck { color: var(--pg-1); font-weight: 800; }

/* ---------- FULL-WIDTH CATALOG BROWSER ---------- */
.pp-catalog { position: relative; z-index: 1; margin-top: 44px; background: var(--card,#fff); border: 1px solid var(--line-1); border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden; }
.pp-cat-bar { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-bottom: 1px solid var(--line-2); background: rgba(13,148,136,0.03); flex-wrap: wrap; }
.pp-cat-search { display: inline-flex; align-items: center; gap: 8px; flex: 1; min-width: 180px; padding: 8px 14px; border: 1px solid var(--line-1); border-radius: 999px; background: var(--bg,#fff); color: var(--ink-4); font-size: 13px; }
.pp-cat-search svg { width: 14px; height: 14px; }
.pp-cat-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.pp-chip { font-family: var(--font-mono); font-size: 11.5px; padding: 6px 11px; border-radius: 999px; border: 1px solid var(--line-1); color: var(--ink-3); background: var(--bg,#fff); }
.pp-chip.active { background: var(--pg-1); border-color: var(--pg-1); color: #fff; }
.pp-cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-2); }
@media (max-width: 820px) { .pp-cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .pp-cat-grid { grid-template-columns: 1fr; } }
.pp-cat-item { background: var(--card,#fff); padding: 18px; display: flex; flex-direction: column; gap: 4px; }
.pp-cat-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.pp-cat-ic { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--pg-soft); color: var(--pg-1); }
.pp-cat-ic svg { width: 18px; height: 18px; }
.pp-provision { font-family: var(--font-mono); font-size: 10.5px; font-weight: 700; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--pg-1); color: var(--pg-1); background: transparent; }
.pp-cat-item h4 { font-size: 14px; font-weight: 700; color: var(--ink-1); margin: 2px 0 2px; letter-spacing: -0.01em; }
.pp-cat-meta { font-family: var(--font-mono); font-size: 11px; color: var(--ink-4); }

/* ---------- GUARDRAIL DECISION PANEL (signature) ---------- */
.pp-guard { display: grid; grid-template-columns: 0.85fr 1.25fr 0.9fr; background: var(--card,#fff); border: 1px solid var(--line-1); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-md); }
@media (max-width: 820px) { .pp-guard { grid-template-columns: 1fr; } }
.pp-guard-col { padding: 24px; border-right: 1px solid var(--line-2); }
.pp-guard-col:last-child { border-right: none; }
@media (max-width: 820px) { .pp-guard-col { border-right: none; border-bottom: 1px solid var(--line-2); } }
.pp-guard-h { font-family: var(--font-mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.07em; color: var(--ink-4); margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.pp-guard-h .n { width: 18px; height: 18px; border-radius: 5px; background: var(--pg-soft); color: var(--pg-1); display: grid; place-items: center; font-size: 10px; }
.pp-req-line { font-size: 13px; color: var(--ink-3); margin-bottom: 9px; display: grid; grid-template-columns: 62px 1fr; gap: 12px; align-items: baseline; }
.pp-req-line .v { font-family: var(--font-mono); font-size: 12px; color: var(--ink-1); }
.pp-check { display: flex; align-items: flex-start; gap: 9px; font-size: 13px; color: var(--ink-2); padding: 8px 0; border-bottom: 1px solid var(--line-3); }
.pp-check:last-child { border-bottom: none; }
.pp-check .mk { width: 16px; height: 16px; flex-shrink: 0; margin-top: 1px; }
.pp-check .mk.ok { color: #0E9F6E; }
.pp-check .mk.warn { color: #D97706; }
.pp-decision { display: flex; flex-direction: column; gap: 10px; justify-content: center; height: 100%; }
.pp-verdict { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; font-weight: 700; font-size: 14px; padding: 8px 14px; border-radius: 999px; }
.pp-verdict.approve { background: #E6F7F0; color: #0B7A53; }
.pp-verdict.escalate { background: #FFF7E6; color: #B45309; }
.pp-decision p { font-size: 12.5px; line-height: 1.5; color: var(--ink-3); margin: 0; }
.pg-dark .pp-verdict.approve { background: rgba(16,185,129,0.16); color: #6EE7B7; }
.pg-dark .pp-verdict.escalate { background: rgba(217,119,6,0.18); color: #FCD34D; }

/* ---------- RESOURCE-TYPE / DETAIL GRID ---------- */
.pp-types { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 860px) { .pp-types { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .pp-types { grid-template-columns: 1fr; } }
.pp-type { background: var(--card,#fff); border: 1px solid var(--line-1); border-radius: 14px; padding: 22px; }
.pp-type-ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--pg-soft); color: var(--pg-1); margin-bottom: 14px; }
.pp-type-ic svg { width: 19px; height: 19px; }
.pp-type h3 { font-size: 16px; font-weight: 700; color: var(--ink-1); margin: 0 0 8px; letter-spacing: -0.01em; }
.pp-type p { font-size: 13.5px; line-height: 1.5; color: var(--ink-3); margin: 0; }
