/*
Theme Name: HPS Lightframe
Theme URI: https://hiddenpointstudio.com/
Author: Hidden Point Studio
Author URI: https://hiddenpointstudio.com/
Description: Ultra-light standard WordPress theme for Hidden Point Studio. Designed to render normal page content, shortcodes, plugin output, and custom HTML without route interception or template hijacking.
Version: 1.28.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 8.2
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hps-lightframe
Tags: custom-logo, custom-menu, featured-images, blog, one-column, accessibility-ready
*/

:root {
  --hps-bg: #07111f;
  --hps-bg-soft: #0b1728;
  --hps-surface: #101d30;
  --hps-surface-2: #142238;
  --hps-text: #eef5ff;
  --hps-muted: #b7c5d8;
  --hps-link: #7cc7ff;
  --hps-link-hover: #a8dcff;
  --hps-border: rgba(184, 205, 230, 0.2);
  --hps-focus: #7cffea;
  --hps-max: 1160px;
}

* { box-sizing: border-box; }

html {
  min-height: 100%;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  background: radial-gradient(circle at top left, rgba(47, 107, 255, 0.12), transparent 34rem), var(--hps-bg);
  color: var(--hps-text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
}

img, svg, video, canvas, iframe {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--hps-link);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover,
a:focus {
  color: var(--hps-link-hover);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--hps-focus);
  outline-offset: 3px;
}

p { margin: 0 0 1rem; }

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.75rem;
  color: #ffffff;
  line-height: 1.15;
}

h1 { font-size: clamp(2rem, 4vw, 3.25rem); }
h2 { font-size: clamp(1.65rem, 3vw, 2.35rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); }

ul, ol { margin: 0 0 1rem 1.25rem; padding: 0; }

hr {
  border: 0;
  border-top: 1px solid var(--hps-border);
  margin: 2rem 0;
}

pre, code, kbd, samp {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

pre {
  overflow-x: auto;
  padding: 1rem;
  border: 1px solid var(--hps-border);
  border-radius: 0.75rem;
  background: rgba(0, 0, 0, 0.22);
}

blockquote {
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  border-left: 3px solid var(--hps-link);
  background: rgba(255, 255, 255, 0.04);
  color: var(--hps-muted);
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1rem;
}

th, td {
  padding: 0.65rem;
  border: 1px solid var(--hps-border);
  text-align: left;
}

input,
select,
textarea {
  width: 100%;
  max-width: 100%;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--hps-border);
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.06);
  color: var(--hps-text);
  font: inherit;
}

input[type="checkbox"],
input[type="radio"] {
  width: auto;
}

button,
input[type="button"],
input[type="submit"],
.wp-block-button__link {
  display: inline-block;
  width: auto;
  min-height: 2.5rem;
  padding: 0.68rem 1rem;
  border: 1px solid rgba(124, 199, 255, 0.45);
  border-radius: 999px;
  background: rgba(47, 107, 255, 0.22);
  color: #ffffff;
  font: inherit;
  font-weight: 700;
  line-height: 1.1;
  cursor: pointer;
  text-decoration: none;
}

button:hover,
input[type="button"]:hover,
input[type="submit"]:hover,
.wp-block-button__link:hover {
  background: rgba(47, 107, 255, 0.35);
  color: #ffffff;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 9999;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0.75rem 1rem;
  clip: auto;
  background: #ffffff;
  color: #07111f;
  border-radius: 0.5rem;
}

.site-header {
  border-bottom: 1px solid var(--hps-border);
  background: rgba(7, 17, 31, 0.9);
}

.site-header__inner,
.site-footer__inner,
.site-main {
  width: min(calc(100% - 2rem), var(--hps-max));
  margin: 0 auto;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 76px;
  padding: 1rem 0;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.custom-logo-link {
  display: inline-flex;
  flex: 0 0 auto;
}

.custom-logo {
  max-height: 52px;
  width: auto;
}

.site-title {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.site-title a {
  color: #ffffff;
  text-decoration: none;
}

.site-description {
  margin: 0.12rem 0 0;
  color: var(--hps-muted);
  font-size: 0.92rem;
}

.primary-navigation ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-navigation a {
  display: inline-flex;
  padding: 0.45rem 0.2rem;
  color: var(--hps-muted);
  text-decoration: none;
}

.primary-navigation a:hover,
.primary-navigation a:focus,
.primary-navigation .current-menu-item > a,
.primary-navigation .current_page_item > a {
  color: #ffffff;
}

.site-main {
  padding: clamp(2rem, 4vw, 4rem) 0;
}

.hps-entry {
  margin-bottom: 2.5rem;
}

.entry-header {
  margin-bottom: 1.5rem;
}

.entry-title a {
  color: #ffffff;
  text-decoration: none;
}

.entry-meta,
.entry-footer,
.archive-description,
.no-results .page-content {
  color: var(--hps-muted);
}

.entry-content,
.page-content {
  color: var(--hps-text);
}

.entry-content > *:last-child,
.page-content > *:last-child {
  margin-bottom: 0;
}

.wp-caption,
.gallery-caption {
  max-width: 100%;
  color: var(--hps-muted);
}

.wp-caption-text {
  margin-top: 0.35rem;
  font-size: 0.9rem;
}

.alignleft { float: left; margin: 0.35rem 1rem 1rem 0; }
.alignright { float: right; margin: 0.35rem 0 1rem 1rem; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }

.bypostauthor { outline: 1px solid transparent; }

.post-navigation,
.posts-navigation,
.pagination {
  margin-top: 2rem;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

.site-footer {
  border-top: 1px solid var(--hps-border);
  background: rgba(7, 17, 31, 0.86);
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0;
  color: var(--hps-muted);
  font-size: 0.95rem;
}

.site-footer a {
  color: var(--hps-link);
}

@media (max-width: 760px) {
  .site-header__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .primary-navigation ul {
    justify-content: flex-start;
  }

  .site-main,
  .site-header__inner,
  .site-footer__inner {
    width: min(calc(100% - 1.25rem), var(--hps-max));
  }
}

/* --------------------------------------------------------------------------
 * Lightframe Pro Phase 1 Runtime Foundation
 * -------------------------------------------------------------------------- */
:root {
  --hps-max: var(--lf-max, 1240px);
  --hps-link: var(--lf-link, #7cc7ff);
  --hps-link-hover: var(--lf-link-hover, #a8dcff);
  --hps-focus: var(--lf-focus, #7cffea);
}

.site-header__inner,
.site-footer__inner,
.site-main {
  width: min(calc(100% - 2rem), var(--lf-max, 1240px));
}

.site-main {
  margin-inline: auto;
}

.hps-entry.lf-layout--content {
  max-width: var(--lf-content, 840px);
}

.hps-entry.lf-layout--wide {
  max-width: var(--lf-max, 1240px);
}

.hps-entry.lf-layout--full,
.hps-entry.lf-layout--portal {
  max-width: var(--lf-max-wide, 1440px);
}

.lf-card {
  position: relative;
  overflow: hidden;
  padding: clamp(1rem, 2vw, 1.65rem);
  border: 1px solid var(--lf-border, rgba(184, 205, 230, 0.20));
  border-radius: var(--lf-radius-lg, 1.5rem);
  background: linear-gradient(145deg, var(--lf-card, rgba(16, 29, 48, 0.78)), rgba(20, 34, 56, 0.54));
  box-shadow: var(--lf-shadow, 0 24px 80px rgba(0, 0, 0, 0.28));
}

.lf-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at top left, rgba(124, 255, 234, 0.12), transparent 26rem);
}

.lf-card > * {
  position: relative;
  z-index: 1;
}

.lf-card__title {
  font-size: clamp(1.25rem, 2vw, 1.85rem);
}

.lf-grid {
  display: grid;
  gap: var(--lf-space-6, 1.5rem);
}

.lf-grid--1 { grid-template-columns: 1fr; }
.lf-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lf-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lf-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.lf-button,
.entry-content .lf-button,
.entry-content a.lf-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.72rem 1rem;
  border: 1px solid var(--lf-border-strong, rgba(184, 205, 230, 0.34));
  border-radius: var(--lf-radius-sm, 0.65rem);
  background: linear-gradient(135deg, var(--lf-accent, #2f6bff), var(--lf-accent-2, #00c2b8));
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--lf-glow, 0 0 34px rgba(124, 255, 234, 0.16));
  transition: transform var(--lf-motion, 220ms) ease, border-color var(--lf-motion, 220ms) ease, filter var(--lf-motion, 220ms) ease;
}

.lf-button:hover,
.entry-content a.lf-button:hover {
  color: #fff;
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.lf-button--secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--lf-text, #eef5ff);
}

.lf-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  width: fit-content;
  padding: 0.28rem 0.6rem;
  border: 1px solid var(--lf-border, rgba(184, 205, 230, 0.20));
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--lf-text, #eef5ff);
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.02em;
}

.lf-status::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: currentColor;
}

.lf-status--ok { color: #7cffb4; }
.lf-status--warn { color: #ffd36f; }
.lf-status--error { color: #ff8b8b; }
.lf-status--info { color: var(--lf-focus, #7cffea); }

.lf-portal-nav {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.lf-container {
  width: min(calc(100% - 2rem), var(--lf-max, 1240px));
  margin-inline: auto;
}

.lf-container--wide {
  width: min(calc(100% - 2rem), var(--lf-max-wide, 1440px));
}

.lf-container--content {
  width: min(calc(100% - 2rem), var(--lf-content, 840px));
}

.lightframe-js-ready .lf-reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity var(--lf-motion-slow, 420ms) ease, transform var(--lf-motion-slow, 420ms) ease;
}

.lightframe-js-ready .lf-reveal.lf-is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .lf-button,
  .lightframe-js-ready .lf-reveal {
    transition: none;
  }

  .lf-button:hover,
  .entry-content a.lf-button:hover {
    transform: none;
  }
}

@media (max-width: 900px) {
  .lf-grid--3,
  .lf-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .lf-grid--2,
  .lf-grid--3,
  .lf-grid--4 {
    grid-template-columns: 1fr;
  }

  .site-header__inner,
  .site-footer__inner,
  .site-main,
  .lf-container,
  .lf-container--wide,
  .lf-container--content {
    width: min(calc(100% - 1rem), var(--lf-max, 1240px));
  }
}

/* --------------------------------------------------------------------------
 * Lightframe Pro Phase 2 Component + SaaS Surface Bundle
 * -------------------------------------------------------------------------- */
.lf-template,
.lf-module-surface {
  display: grid;
  gap: var(--lf-space-8, 2rem);
}

.lf-eyebrow {
  margin: 0 0 0.65rem;
  color: var(--lf-focus, #7cffea);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lf-section-header {
  max-width: 860px;
}

.lf-section-header h1,
.lf-section-header h2,
.lf-hero h1 {
  margin: 0;
  color: var(--lf-text, #eef5ff);
  letter-spacing: -0.05em;
}

.lf-section-header h1,
.lf-hero h1 {
  font-size: var(--lf-font-display, clamp(2.5rem, 7vw, 5.75rem));
  line-height: 0.96;
}

.lf-section-header p,
.lf-hero__lead {
  max-width: 760px;
  color: var(--lf-muted, #b7c5d8);
  font-size: var(--lf-font-lead, clamp(1.05rem, 1.6vw, 1.28rem));
  line-height: 1.65;
}

.lf-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  padding: clamp(2rem, 6vw, 5rem);
  border: 1px solid var(--lf-border, rgba(184, 205, 230, 0.2));
  border-radius: clamp(1.5rem, 3vw, 2.35rem);
  background:
    radial-gradient(circle at 10% 0%, rgba(124, 255, 234, 0.16), transparent 28rem),
    radial-gradient(circle at 90% 10%, rgba(47, 107, 255, 0.24), transparent 26rem),
    linear-gradient(145deg, rgba(16, 29, 48, 0.84), rgba(7, 17, 31, 0.82));
  box-shadow: var(--lf-shadow, 0 24px 80px rgba(0, 0, 0, 0.28));
  overflow: hidden;
}

.lf-hero__panel {
  position: relative;
  min-height: 320px;
  border: 1px solid var(--lf-border, rgba(184, 205, 230, 0.2));
  border-radius: var(--lf-radius-lg, 1.5rem);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.03), var(--lf-glow, 0 0 34px rgba(124, 255, 234, 0.16));
}

.lf-hero__panel span {
  position: absolute;
  left: 12%;
  right: 12%;
  height: 0.85rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--lf-accent, #2f6bff), var(--lf-accent-2, #00c2b8));
  opacity: 0.78;
}

.lf-hero__panel span:nth-child(1) { top: 24%; width: 62%; }
.lf-hero__panel span:nth-child(2) { top: 46%; width: 78%; opacity: 0.5; }
.lf-hero__panel span:nth-child(3) { top: 68%; width: 48%; opacity: 0.32; }

.lf-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.35rem;
}

.lf-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: var(--lf-space-5, 1.25rem);
}

.lf-feature-card,
.lf-portal-link,
.lf-module-surface {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--lf-border, rgba(184, 205, 230, 0.2));
  border-radius: var(--lf-radius-lg, 1.5rem);
  background: linear-gradient(145deg, rgba(255,255,255,0.07), rgba(255,255,255,0.025));
  box-shadow: 0 18px 55px rgba(0,0,0,0.18);
}

.lf-feature-card {
  padding: 1.25rem;
}

.lf-feature-card__icon {
  display: inline-flex;
  width: 2.35rem;
  height: 2.35rem;
  margin-bottom: 1rem;
  border-radius: 0.9rem;
  background: linear-gradient(135deg, var(--lf-accent, #2f6bff), var(--lf-accent-2, #00c2b8));
  box-shadow: var(--lf-glow, 0 0 34px rgba(124, 255, 234, 0.16));
}

.lf-feature-card h3 {
  margin: 0 0 0.55rem;
  color: var(--lf-text, #eef5ff);
  font-size: 1.05rem;
}

.lf-feature-card p {
  margin: 0;
  color: var(--lf-muted, #b7c5d8);
  font-size: 0.95rem;
}

.lf-portal-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.2rem;
  color: var(--lf-text, #eef5ff);
  text-decoration: none;
  transition: transform var(--lf-motion, 220ms) ease, border-color var(--lf-motion, 220ms) ease, background var(--lf-motion, 220ms) ease;
}

.lf-portal-link:hover {
  color: var(--lf-text, #eef5ff);
  transform: translateY(-2px);
  border-color: var(--lf-border-strong, rgba(184, 205, 230, 0.34));
  background: rgba(255, 255, 255, 0.08);
}

.lf-portal-link em {
  color: var(--lf-focus, #7cffea);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lf-release-timeline {
  padding: clamp(1.2rem, 3vw, 2rem);
  border: 1px solid var(--lf-border, rgba(184, 205, 230, 0.2));
  border-radius: var(--lf-radius-lg, 1.5rem);
  background: rgba(255,255,255,0.04);
}

.lf-release-timeline ol {
  display: grid;
  gap: 0.85rem;
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
}

.lf-release-timeline li {
  padding: 0.95rem 1rem;
  border-left: 3px solid var(--lf-focus, #7cffea);
  border-radius: 0.8rem;
  background: rgba(255,255,255,0.045);
  color: var(--lf-muted, #b7c5d8);
}

.lf-metric-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.lf-metric {
  padding: 1rem;
  border: 1px solid var(--lf-border, rgba(184, 205, 230, 0.2));
  border-radius: var(--lf-radius, 1rem);
  background: rgba(255,255,255,0.055);
}

.lf-metric strong,
.lf-metric span {
  display: block;
}

.lf-metric strong {
  color: var(--lf-text, #eef5ff);
  font-size: 0.92rem;
}

.lf-metric span {
  margin-top: 0.25rem;
  color: var(--lf-focus, #7cffea);
  font-weight: 800;
}

.lf-module-surface {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  padding: clamp(1rem, 2.5vw, 1.6rem);
}

.lf-module-surface__content {
  grid-column: 1 / -1;
  color: var(--lf-muted, #b7c5d8);
}

@media (max-width: 860px) {
  .lf-hero,
  .lf-module-surface {
    grid-template-columns: 1fr;
  }

  .lf-hero__panel {
    min-height: 220px;
  }
}


/* --------------------------------------------------------------------------
 * Lightframe Pro Phase 3 Dynamic Contract Surfaces
 * -------------------------------------------------------------------------- */
.lf-contract-panel,
.lf-data-surface,
.lf-module-console {
  display: grid;
  gap: var(--lf-space-6, 1.5rem);
}

.lf-contract-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: var(--lf-space-4, 1rem);
}

.lf-contract-card,
.lf-data-surface {
  border: 1px solid var(--lf-border, rgba(184, 205, 230, 0.2));
  border-radius: var(--lf-radius-lg, 1.5rem);
  background: linear-gradient(145deg, rgba(255,255,255,0.065), rgba(255,255,255,0.025));
  box-shadow: 0 18px 55px rgba(0,0,0,0.18);
}

.lf-contract-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
}

.lf-contract-card strong,
.lf-contract-card span {
  display: block;
}

.lf-contract-card strong {
  color: var(--lf-text, #eef5ff);
}

.lf-contract-card span,
.lf-contract-note {
  color: var(--lf-muted, #b7c5d8);
  font-size: 0.92rem;
}

.lf-contract-card--active {
  border-color: rgba(124, 255, 234, 0.36);
}

.lf-data-surface {
  padding: clamp(1rem, 2.5vw, 1.5rem);
}

.lf-data-surface__header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
}

.lf-data-surface__header h2 {
  margin: 0;
}

.lf-contract-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.lf-contract-list span {
  display: inline-flex;
  align-items: center;
  min-height: 2.1rem;
  padding: 0.45rem 0.7rem;
  border: 1px solid var(--lf-border, rgba(184, 205, 230, 0.2));
  border-radius: 999px;
  background: rgba(255,255,255,0.045);
  color: var(--lf-muted, #b7c5d8);
  font-size: 0.88rem;
  font-weight: 700;
}

.lf-console-stack {
  display: grid;
  gap: var(--lf-space-5, 1.25rem);
}

@media (max-width: 720px) {
  .lf-contract-card,
  .lf-data-surface__header {
    align-items: stretch;
    flex-direction: column;
  }
}


/* Lightframe Pro Phase 4: motion and premium visual runtime */
:root {
  --lf-motion-fast: 160ms;
  --lf-motion-base: 260ms;
  --lf-motion-slow: 560ms;
  --lf-ease-out: cubic-bezier(.16,1,.3,1);
  --lf-glow-blue: rgba(47, 107, 255, .34);
  --lf-glow-teal: rgba(0, 194, 184, .26);
  --lf-glow-ice: rgba(124, 255, 234, .18);
}

.lf-motion-enabled .lf-reveal {
  opacity: 0;
  transform: translateY(18px) scale(.985);
  transition: opacity var(--lf-motion-slow) var(--lf-ease-out), transform var(--lf-motion-slow) var(--lf-ease-out), filter var(--lf-motion-slow) var(--lf-ease-out);
  filter: blur(8px);
}

.lf-motion-enabled .lf-reveal.is-visible,
.lf-motion-enabled .lf-reveal.lf-visible,
.lf-motion-enabled .lf-reveal:first-child {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.lf-hover-lift,
.lf-card,
.lf-feature-card,
.lf-portal-link,
.lf-module-surface {
  transition: transform var(--lf-motion-base) var(--lf-ease-out), border-color var(--lf-motion-base) var(--lf-ease-out), box-shadow var(--lf-motion-base) var(--lf-ease-out), background var(--lf-motion-base) var(--lf-ease-out);
}

.lf-hover-lift:hover,
.lf-card:hover,
.lf-feature-card:hover,
.lf-portal-link:hover,
.lf-module-surface:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .24), 0 0 34px var(--lf-glow-blue);
}

.lf-motion-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--hps-border);
  border-radius: 28px;
  padding: clamp(1.25rem, 3vw, 2.25rem);
  background:
    radial-gradient(circle at 16% 12%, var(--lf-glow-blue), transparent 28rem),
    radial-gradient(circle at 84% 20%, var(--lf-glow-teal), transparent 24rem),
    linear-gradient(145deg, rgba(16, 29, 48, .96), rgba(7, 17, 31, .92));
  box-shadow: 0 30px 90px rgba(0, 0, 0, .28);
  isolation: isolate;
}

.lf-motion-panel::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,.16) 36%, transparent 52%);
  transform: translateX(-120%);
  animation: lf-sheen 7s ease-in-out infinite;
  z-index: -1;
}

.lf-motion-panel__chrome {
  position: absolute;
  inset: 1rem 1rem auto auto;
  display: flex;
  gap: .45rem;
}

.lf-motion-panel__chrome span {
  width: .65rem;
  height: .65rem;
  border-radius: 999px;
  background: rgba(230, 240, 255, .42);
  box-shadow: 0 0 18px var(--lf-glow-ice);
}

.lf-motion-panel__body { max-width: 760px; }
.lf-motion-panel__body h2 { font-size: clamp(1.8rem, 4vw, 3.2rem); }
.lf-motion-panel__content { color: var(--hps-muted); font-size: 1.05rem; }

.lf-glow-band {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, .8fr);
  gap: 1.5rem;
  align-items: center;
  margin: 1.5rem 0;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid rgba(124, 255, 234, .24);
  border-radius: 24px;
  background: linear-gradient(120deg, rgba(47, 107, 255, .18), rgba(0, 194, 184, .10), rgba(16, 29, 48, .88));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 24px 70px rgba(0,0,0,.2);
}

.lf-command-panel {
  overflow: hidden;
  border: 1px solid var(--hps-border);
  border-radius: 22px;
  background: rgba(7, 17, 31, .82);
  box-shadow: 0 22px 60px rgba(0,0,0,.26);
}

.lf-command-panel__search {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid var(--hps-border);
  background: rgba(230, 240, 255, .05);
}

.lf-command-panel__search span {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(124, 255, 234, .28);
  border-radius: .75rem;
  color: var(--hps-focus);
}

.lf-command-panel ul { list-style: none; margin: 0; padding: .5rem; }
.lf-command-panel li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: .75rem;
  align-items: center;
  padding: .85rem .9rem;
  border-radius: 14px;
  color: var(--hps-muted);
}
.lf-command-panel li:hover { background: rgba(230, 240, 255, .06); color: var(--hps-text); }
.lf-command-panel li > span { width: .55rem; height: .55rem; border-radius: 999px; background: var(--hps-focus); box-shadow: 0 0 14px var(--hps-focus); }
.lf-command-panel em { font-style: normal; font-size: .78rem; color: var(--hps-muted); }

.lf-loading-state {
  display: grid;
  gap: .75rem;
  padding: 1rem;
  border: 1px solid var(--hps-border);
  border-radius: 18px;
  background: rgba(16, 29, 48, .74);
}
.lf-loading-state span {
  height: .95rem;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(230,240,255,.08), rgba(230,240,255,.22), rgba(230,240,255,.08));
  background-size: 220% 100%;
  animation: lf-loading 1.35s ease-in-out infinite;
}
.lf-loading-state span:nth-child(2n) { width: 72%; }
.lf-loading-state span:nth-child(3n) { width: 88%; }

.lf-pulse-soft { animation: lf-pulse-soft 3s ease-in-out infinite; }
.lf-depth-stack { box-shadow: 0 18px 0 rgba(124,255,234,.04), 0 36px 70px rgba(0,0,0,.24); }

@keyframes lf-sheen { 0%, 42% { transform: translateX(-120%); } 62%, 100% { transform: translateX(120%); } }
@keyframes lf-loading { 0% { background-position: 120% 0; } 100% { background-position: -120% 0; } }
@keyframes lf-pulse-soft { 0%,100% { box-shadow: 0 0 0 rgba(124,255,234,0); } 50% { box-shadow: 0 0 34px rgba(124,255,234,.22); } }

@media (prefers-reduced-motion: reduce) {
  .lf-motion-enabled .lf-reveal,
  .lf-motion-panel::before,
  .lf-loading-state span,
  .lf-pulse-soft {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

@media (max-width: 760px) {
  .lf-glow-band { grid-template-columns: 1fr; }
  .lf-motion-panel { border-radius: 22px; }
}

/* Lightframe Pro Phase 5: connected customer surfaces */
.lf-connected-header{display:flex;align-items:flex-start;justify-content:space-between;gap:1.25rem;margin-bottom:1.25rem}.lf-connected-header h2{margin:.15rem 0 0}.lf-download-panel,.lf-release-feed,.lf-entitlement-section{border:1px solid var(--lf-border);border-radius:var(--lf-radius-lg);padding:clamp(1.25rem,3vw,2rem);background:linear-gradient(135deg,rgba(255,255,255,.08),rgba(255,255,255,.025));box-shadow:var(--lf-shadow-soft);margin:1.25rem 0}.lf-download-list{display:grid;gap:1rem}.lf-download-card{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:1rem;border:1px solid var(--lf-border);border-radius:var(--lf-radius-md);background:rgba(255,255,255,.045)}.lf-download-card strong,.lf-download-card span,.lf-download-card code{display:block}.lf-download-card span{opacity:.78;margin-top:.2rem}.lf-download-card code{max-width:100%;margin-top:.45rem;font-size:.78rem;white-space:normal;word-break:break-all;opacity:.72}.lf-button--disabled{opacity:.62;cursor:not-allowed;filter:saturate(.65)}.lf-entitlement-section--fallback{border-style:dashed}.lf-entitlement-body{font-size:1rem;line-height:1.65;color:var(--lf-text)}.lf-release-feed .lf-feed-list{list-style:none;margin:0;padding:0;display:grid;gap:.8rem}.lf-feed-list li{display:grid;grid-template-columns:minmax(6rem,.6fr) 1.6fr auto;gap:1rem;align-items:center;padding:1rem;border:1px solid var(--lf-border);border-radius:var(--lf-radius-md);background:rgba(255,255,255,.04)}.lf-feed-list em{font-style:normal;opacity:.68}.lf-customer-hub{display:grid;gap:1rem}.lf-customer-hub .lf-hero{margin-bottom:.25rem}@media (max-width:720px){.lf-connected-header,.lf-download-card{display:grid}.lf-feed-list li{grid-template-columns:1fr}.lf-download-card .lf-button,.lf-download-card .lf-button--disabled{justify-self:start}}


/* Lightframe Pro Phase 6: admin governance + template profiles */
.lightframe-profile-wide .site-main,
.lightframe-profile-portal .site-main{--hps-max:1440px}.lightframe-profile-docs .entry-content{max-width:880px;margin-inline:auto}.lightframe-profile-blank .site-header,.lightframe-profile-blank .site-footer{display:none}.lightframe-motion-pref-reduced .lf-reveal,.lightframe-motion-pref-reduced .lf-motion-panel::before{animation:none!important;transition:none!important;opacity:1!important;transform:none!important}.lf-operator-console{border:1px solid var(--lf-border);border-radius:var(--lf-radius-lg);padding:clamp(1.25rem,3vw,2rem);background:linear-gradient(135deg,rgba(16,29,48,.9),rgba(16,29,48,.58));box-shadow:var(--lf-shadow);margin:1.25rem 0}.lf-operator-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.lf-operator-grid article{padding:1rem;border:1px solid var(--lf-border);border-radius:var(--lf-radius-md);background:rgba(255,255,255,.045)}.lf-operator-grid strong,.lf-operator-grid span{display:block}.lf-operator-grid span{font-size:1.35rem;color:var(--lf-focus);margin-top:.25rem}.lf-operator-integrations{display:flex;flex-wrap:wrap;gap:.65rem;margin-top:1rem}.lf-operator-integrations span{border:1px solid var(--lf-border);border-radius:999px;padding:.45rem .7rem;color:var(--lf-muted);background:rgba(255,255,255,.04)}@media(max-width:760px){.lf-operator-grid{grid-template-columns:1fr}}

/* Lightframe Pro Phase 7 — operations, diagnostics, and surface governance */
.lf-system-health,
.lf-surface-controls-wrap {
	margin: clamp(2rem, 4vw, 4rem) auto;
}
.lf-health-grid,
.lf-surface-controls {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 1rem;
}
.lf-health-grid article,
.lf-surface-control {
	position: relative;
	display: grid;
	gap: .55rem;
	padding: 1rem;
	border: 1px solid var(--lf-border, rgba(148,163,184,.24));
	border-radius: var(--lf-radius-lg, 18px);
	background: var(--lf-surface, rgba(15,23,42,.72));
	box-shadow: var(--lf-shadow-soft, 0 16px 40px rgba(2,6,23,.18));
}
.lf-health-grid article strong,
.lf-surface-control strong { font-size: 1rem; }
.lf-health-grid article p,
.lf-surface-control p { margin: 0; color: var(--lf-muted, #94a3b8); }
.lf-health-pass,
.lf-surface-active span { color: #22c55e; }
.lf-health-warn,
.lf-surface-ready span { color: #f59e0b; }
.lf-surface-control code {
	width: max-content;
	padding: .2rem .45rem;
	border-radius: 999px;
	background: rgba(148,163,184,.14);
}
.lf-ops-log {
	padding: .75rem 1rem;
	border-radius: 10px;
	background: #f0f6fc;
	border: 1px solid #c5d9ed;
}


/* Lightframe Pro Phase 8: release readiness, profile bundles, and safe fallback UI */
.lf-phase8-panel {
  width: min(100%, var(--hps-max));
  margin: 2rem auto;
  padding: clamp(1rem, 2vw, 1.5rem);
  border: 1px solid var(--hps-border);
  border-radius: 1.25rem;
  background: linear-gradient(135deg, rgba(255,255,255,.075), rgba(255,255,255,.025));
  box-shadow: 0 24px 80px rgba(0,0,0,.18);
}
.lf-section-kicker {
  display: inline-flex;
  width: fit-content;
  margin-bottom: .85rem;
  padding: .32rem .68rem;
  border: 1px solid rgba(124,255,234,.3);
  border-radius: 999px;
  color: var(--hps-focus);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.lf-readiness-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.lf-readiness-card {
  display: grid;
  gap: .55rem;
  padding: 1rem;
  border: 1px solid var(--hps-border);
  border-radius: 1rem;
  background: rgba(255,255,255,.05);
}
.lf-readiness-card code,
.lf-bundle-summary code {
  width: fit-content;
  padding: .18rem .45rem;
  border-radius: 999px;
  background: rgba(124,255,234,.12);
  color: var(--hps-focus);
  font-size: .78rem;
}
.lf-state-warn code { background: rgba(255,203,107,.14); color: #ffd27a; }
.lf-state-fail code { background: rgba(255,107,107,.14); color: #ff9b9b; }
.lf-bundle-summary dl {
  display: grid;
  grid-template-columns: minmax(120px, .35fr) 1fr;
  gap: .6rem 1rem;
  margin: 0;
}
.lf-bundle-summary dt { color: var(--hps-muted); font-weight: 700; }
.lf-bundle-summary dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
body[class*="safe-fallback"] .lf-connected-warning,
.lf-safe-fallback-note {
  border-color: rgba(255,203,107,.32);
  background: rgba(255,203,107,.08);
}


/* Phase 9: release channels, stability reports, and integration status views */
.lf-channel-wrap select {
  width: 100%;
  max-width: 26rem;
  margin: .45rem 0 1rem;
}

.lf-admin-check {
  display: block;
  margin: .6rem 0;
}

.lf-channel-badge,
.lf-release-channel-badge {
  display: grid;
  gap: .35rem;
  padding: 1rem;
  border: 1px solid var(--hps-border);
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(124, 255, 234, .12), rgba(47, 107, 255, .08));
}

.lf-channel-badge strong,
.lf-release-channel-badge strong {
  font-size: 1.25rem;
  color: #fff;
}

.lf-release-channel-badge {
  margin: 1.5rem 0;
}

.lf-integration-grid-admin,
.lf-integration-status-grid .lf-grid {
  gap: 1rem;
}

.lf-integration-state,
.lf-integration-card {
  border: 1px solid var(--hps-border);
  border-radius: 1rem;
  padding: 1rem;
  background: rgba(255,255,255,.045);
}

.lf-integration-state code,
.lf-integration-card code,
.lf-readiness-card code {
  display: inline-flex;
  width: fit-content;
  margin: .5rem 0;
  padding: .2rem .5rem;
  border-radius: 999px;
  border: 1px solid var(--hps-border);
  background: rgba(0,0,0,.2);
}

.lf-state-connected code,
.lf-state-pass code,
.lf-qa-pass code {
  border-color: rgba(124,255,234,.45);
}

.lf-state-fallback code,
.lf-state-warn code,
.lf-qa-warn code {
  border-color: rgba(255,210,120,.45);
}

.lf-template-stability-report,
.lf-integration-status-grid {
  margin: 2rem 0;
}


/* Phase 10: onboarding and RC hardening frontend surfaces */
.lf-onboarding-status,
.lf-compat-report {
	border: 1px solid color-mix(in srgb, var(--lf-border, #d9e1ef) 80%, transparent);
	border-radius: var(--lf-radius-xl, 24px);
	padding: clamp(1rem, 2vw, 1.5rem);
	background: color-mix(in srgb, var(--lf-surface, #ffffff) 92%, transparent);
	box-shadow: var(--lf-shadow-soft, 0 18px 45px rgba(10, 20, 40, .08));
}
.lf-onboarding-status {
	display: inline-flex;
	align-items: baseline;
	gap: .75rem;
}
.lf-onboarding-status strong {
	font-size: clamp(2rem, 4vw, 3.5rem);
	line-height: 1;
}
.lf-onboarding-status span {
	color: var(--lf-muted, #64748b);
}
.lf-compat-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 1rem;
	margin-top: 1rem;
}
.lf-compat-item {
	border: 1px solid var(--lf-border, #d9e1ef);
	border-left: 5px solid var(--lf-accent, #2f6bff);
	border-radius: var(--lf-radius-lg, 18px);
	padding: 1rem;
	background: color-mix(in srgb, var(--lf-surface, #ffffff) 95%, transparent);
}
.lf-compat-item span {
	display: block;
	margin-top: .35rem;
	color: var(--lf-muted, #64748b);
}
.lf-compat-pass { border-left-color: #00a32a; }
.lf-compat-notice { border-left-color: #dba617; }
.lf-compat-fail { border-left-color: #d63638; }


/* Phase 11: production readiness surfaces */
.lf-shortcode-examples,
.lf-production-checklist {
  margin: 2rem 0;
}

.lf-check-card {
  position: relative;
  border-left: 4px solid var(--hps-link);
}

.lf-check-card code {
  display: inline-flex;
  width: fit-content;
  margin-top: 0.75rem;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  border: 1px solid var(--hps-border);
  color: var(--hps-muted);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

.lf-check-pass { border-left-color: #35d07f; }
.lf-check-notice { border-left-color: #f5b84b; }
.lf-check-fail { border-left-color: #ff6b6b; }

.lf-production-stable .lf-section-heading span::after,
.lf-production-candidate .lf-section-heading span::after,
.lf-production-internal .lf-section-heading span::after {
  content: "";
  display: inline-block;
  width: .45rem;
  height: .45rem;
  margin-left: .45rem;
  border-radius: 999px;
  background: currentColor;
  vertical-align: middle;
}

.lf-fallback-safe .lf-notice-panel {
  border-style: solid;
}


/* Phase 12 — Commercial UX + Template Expansion */
.lf-commercial{position:relative;margin:clamp(2rem,5vw,5rem) auto;padding:clamp(1.25rem,3vw,2.5rem);border:1px solid rgba(148,163,184,.22);border-radius:28px;background:linear-gradient(135deg,rgba(15,23,42,.92),rgba(30,41,59,.78));box-shadow:0 24px 80px rgba(2,6,23,.24);overflow:hidden}.lf-commercial:before{content:"";position:absolute;inset:-40% -10% auto auto;width:320px;height:320px;border-radius:999px;background:radial-gradient(circle,rgba(47,107,255,.3),transparent 68%);pointer-events:none}.lf-commercial-hero{max-width:920px;position:relative;z-index:1}.lf-commercial-hero h1,.lf-section-head h2{font-size:clamp(2rem,5vw,4.25rem);line-height:1.02;margin:.35rem 0 1rem}.lf-commercial-hero p,.lf-section-head p{max-width:780px;color:rgba(230,240,255,.82);font-size:clamp(1rem,2vw,1.18rem)}.lf-section-head{position:relative;z-index:1;margin-bottom:1.35rem}.lf-commercial-module-grid,.lf-docs-grid,.lf-pricing-grid,.lf-status-dashboard-grid,.lf-template-index-grid{position:relative;z-index:1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}.lf-commercial-card,.lf-docs-card,.lf-pricing-card,.lf-status-dashboard-grid article,.lf-template-index-grid article{border:1px solid rgba(148,163,184,.2);border-radius:22px;background:rgba(255,255,255,.055);padding:1.15rem;backdrop-filter:blur(14px);transition:transform .2s ease,border-color .2s ease,background .2s ease}.lf-commercial-card:hover,.lf-docs-card:hover,.lf-pricing-card:hover,.lf-template-index-grid article:hover{transform:translateY(-3px);border-color:rgba(124,255,234,.42);background:rgba(255,255,255,.075)}.lf-commercial-card h3,.lf-docs-card h3,.lf-pricing-card h3,.lf-status-dashboard-grid h3,.lf-template-index-grid h3{margin:.6rem 0 .45rem;font-size:1.08rem}.lf-commercial-card p,.lf-docs-card p,.lf-pricing-card p,.lf-status-dashboard-grid p,.lf-template-index-grid p{color:rgba(230,240,255,.75);font-size:.95rem}.lf-commercial-link{display:inline-flex;margin-top:.65rem;color:#7CFFEA;font-weight:700;font-size:.85rem}.lf-docs-card span{display:block;width:42px;height:42px;border-radius:14px;background:linear-gradient(135deg,rgba(47,107,255,.8),rgba(0,194,184,.72));box-shadow:0 10px 30px rgba(0,194,184,.18)}.lf-pricing-card strong{display:block;font-size:2rem;margin:.5rem 0;color:#E6F0FF}.lf-pricing-card--featured{border-color:rgba(124,255,234,.52);background:linear-gradient(180deg,rgba(47,107,255,.18),rgba(255,255,255,.06))}.lf-status-dashboard-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.lf-commercial-timeline{position:relative;z-index:1;display:grid;gap:1rem}.lf-commercial-timeline article{border-left:3px solid rgba(124,255,234,.55);padding:1rem 1rem 1rem 1.2rem;background:rgba(255,255,255,.05);border-radius:0 18px 18px 0}.lf-commercial-timeline span{display:inline-flex;padding:.2rem .55rem;border-radius:999px;background:rgba(47,107,255,.22);color:#E6F0FF;font-weight:800;font-size:.78rem}.lf-template-index-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.lf-template-index-grid code{display:inline-flex;max-width:100%;white-space:normal;word-break:break-word;padding:.35rem .5rem;border-radius:10px;background:rgba(2,6,23,.38);color:#7CFFEA;font-size:.82rem}.lf-actions{display:flex;gap:.75rem;flex-wrap:wrap;margin-top:1.25rem}@media (max-width:1100px){.lf-commercial-module-grid,.lf-docs-grid,.lf-pricing-grid,.lf-status-dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.lf-template-index-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:720px){.lf-commercial{border-radius:22px;padding:1rem}.lf-commercial-module-grid,.lf-docs-grid,.lf-pricing-grid,.lf-status-dashboard-grid,.lf-template-index-grid{grid-template-columns:1fr}.lf-commercial-hero h1,.lf-section-head h2{font-size:2rem}}


/* Lightframe Pro Phase 13: commercial polish, variants, widgets, and responsive hardening. */
.lf-launch-page,
.lf-feature-matrix,
.lf-account-overview,
.lf-module-showcase,
.lf-support-gateway,
.lf-responsive-audit {
  margin-inline: auto;
  width: min(100%, 1240px);
}

.lf-launch-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  gap: clamp(1.25rem, 3vw, 3rem);
  align-items: stretch;
  padding: clamp(1.5rem, 4vw, 3.25rem);
  border: 1px solid rgba(124, 199, 255, 0.24);
  border-radius: 34px;
  background:
    radial-gradient(circle at 85% 20%, rgba(124, 255, 234, 0.16), transparent 24rem),
    linear-gradient(135deg, rgba(16, 29, 48, 0.96), rgba(7, 17, 31, 0.9));
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.32);
}

.lf-launch-hero h1 {
  max-width: 920px;
  font-size: clamp(2.35rem, 7vw, 5.75rem);
  letter-spacing: -0.075em;
  line-height: 0.93;
}

.lf-launch-hero p:not(.lf-eyebrow) {
  max-width: 780px;
  font-size: clamp(1rem, 1.5vw, 1.22rem);
  color: var(--hps-muted);
}

.lf-launch-proof {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.45rem;
  min-height: 260px;
  padding: clamp(1rem, 2vw, 1.5rem);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(124, 199, 255, 0.16), rgba(124, 255, 234, 0.07));
}

.lf-launch-proof strong {
  font-size: clamp(2.25rem, 5vw, 4rem);
  line-height: 0.95;
  color: #fff;
}

.lf-launch-proof span {
  color: #fff;
  font-weight: 800;
}

.lf-launch-proof small {
  color: var(--hps-muted);
}

.lf-showcase-grid,
.lf-account-grid,
.lf-support-steps,
.lf-audit-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.85rem, 2vw, 1.25rem);
}

.lf-showcase-grid article,
.lf-account-grid article,
.lf-support-steps article,
.lf-audit-list article {
  min-height: 100%;
  padding: clamp(1rem, 2vw, 1.4rem);
  border: 1px solid rgba(184, 205, 230, 0.18);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(20, 34, 56, 0.85), rgba(11, 23, 40, 0.72));
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16);
}

.lf-showcase-grid h3,
.lf-account-grid h3,
.lf-support-steps h3,
.lf-audit-list h3 {
  margin-top: 0.7rem;
}

.lf-showcase-grid strong,
.lf-account-grid strong {
  display: block;
  margin-bottom: 0.55rem;
  color: #fff;
  font-size: 1.25rem;
}

.lf-module-showcase--compact {
  margin-top: clamp(1rem, 2vw, 1.5rem);
}

.lf-module-showcase--compact .lf-section-head {
  display: none;
}

.lf-module-showcase--compact .lf-showcase-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lf-matrix-wrap {
  overflow-x: auto;
  border: 1px solid rgba(184, 205, 230, 0.18);
  border-radius: 24px;
  background: rgba(11, 23, 40, 0.72);
}

.lf-matrix {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.lf-matrix th,
.lf-matrix td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(184, 205, 230, 0.12);
}

.lf-matrix th {
  color: #fff;
  background: rgba(124, 199, 255, 0.08);
}

.lf-matrix td:not(:first-child) {
  color: var(--hps-muted);
}

.lf-support-steps article > span {
  display: inline-grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  color: #06111f;
  background: var(--hps-focus);
  font-weight: 900;
}

.lf-account-grid article > span {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--hps-muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.lf-audit-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lightframe-pro-polish-enabled .lf-button {
  text-decoration: none;
}

@media (max-width: 980px) {
  .lf-launch-hero,
  .lf-showcase-grid,
  .lf-account-grid,
  .lf-support-steps,
  .lf-audit-list,
  .lf-module-showcase--compact .lf-showcase-grid {
    grid-template-columns: 1fr;
  }

  .lf-launch-proof {
    min-height: 190px;
  }
}

@media (max-width: 640px) {
  .lf-launch-hero {
    border-radius: 24px;
    padding: 1rem;
  }

  .lf-launch-hero h1 {
    font-size: clamp(2.1rem, 13vw, 3.35rem);
  }

  .lf-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .lf-actions .lf-button {
    justify-content: center;
    width: 100%;
  }
}

/* Lightframe Pro Phase 14: commercial surfaces */
.lf-surface{max-width:1180px;margin:clamp(2rem,5vw,5rem) auto;padding:clamp(1.25rem,3vw,2.25rem);border:1px solid color-mix(in srgb,var(--lf-border,#d8e1ef) 75%,transparent);border-radius:28px;background:linear-gradient(135deg,color-mix(in srgb,var(--lf-surface,#ffffff) 94%,transparent),color-mix(in srgb,var(--lf-accent,#2f6bff) 7%,transparent));box-shadow:0 24px 70px rgba(11,18,32,.10)}
.lf-surface__hero{max-width:780px;margin-bottom:1.4rem}.lf-surface__hero h2{font-size:clamp(2rem,4vw,3.25rem);line-height:1.02;margin:.35rem 0 .75rem}.lf-surface__hero p:not(.lf-eyebrow){font-size:1.06rem;opacity:.82}.lf-eyebrow{text-transform:uppercase;letter-spacing:.16em;font-weight:800;font-size:.76rem;color:var(--lf-accent,#2f6bff);margin:0}.lf-card-grid{display:grid;gap:1rem}.lf-card-grid--3{grid-template-columns:repeat(3,minmax(0,1fr))}.lf-card{padding:1.15rem;border:1px solid color-mix(in srgb,var(--lf-border,#d8e1ef) 85%,transparent);border-radius:22px;background:color-mix(in srgb,var(--lf-surface,#fff) 90%,transparent);box-shadow:0 14px 42px rgba(11,18,32,.07)}.lf-card h3{margin:.35rem 0 .45rem;font-size:1.08rem}.lf-card p{margin:0;opacity:.78}.lf-card__meta{display:inline-flex;border-radius:999px;padding:.22rem .6rem;font-size:.72rem;font-weight:800;background:color-mix(in srgb,var(--lf-accent,#2f6bff) 12%,transparent);color:var(--lf-accent,#2f6bff)}.lf-metric-row{display:grid;grid-template-columns:repeat(3,1fr);gap:.8rem;margin:0 0 1rem}.lf-metric-row strong{display:block;text-align:center;border-radius:18px;padding:.9rem;border:1px solid color-mix(in srgb,var(--lf-border,#d8e1ef) 70%,transparent);background:rgba(255,255,255,.54)}.lf-checklist{display:grid;gap:.75rem;padding:0;margin:0;list-style:none;counter-reset:lfstep}.lf-checklist li{counter-increment:lfstep;display:flex;gap:.8rem;align-items:flex-start;padding:1rem;border-radius:20px;border:1px solid color-mix(in srgb,var(--lf-border,#d8e1ef) 80%,transparent);background:rgba(255,255,255,.56)}.lf-checklist li span::before{content:counter(lfstep);display:grid;place-items:center;width:1.8rem;height:1.8rem;border-radius:999px;background:var(--lf-accent,#2f6bff);color:#fff;font-weight:800}.lf-table-wrap{overflow-x:auto;border-radius:22px;border:1px solid color-mix(in srgb,var(--lf-border,#d8e1ef) 85%,transparent);background:rgba(255,255,255,.62)}.lf-product-table{width:100%;border-collapse:collapse}.lf-product-table th,.lf-product-table td{text-align:left;padding:1rem;border-bottom:1px solid color-mix(in srgb,var(--lf-border,#d8e1ef) 70%,transparent)}.lf-product-table th{font-size:.78rem;text-transform:uppercase;letter-spacing:.12em;color:var(--lf-accent,#2f6bff)}.lf-product-table tr:last-child td{border-bottom:0}@media(max-width:760px){.lf-card-grid--3,.lf-metric-row{grid-template-columns:1fr}.lf-surface{border-radius:22px}}


/* Lightframe Pro Phase 15: premium UX consolidation runtime hooks are loaded via HPS_Lightframe_Premium_UX. */


/* Lightframe Pro Phase 16: UX refinement layer loads command palette, empty states, typography, and elevation via HPS_Lightframe_UX_Refinement. */


/* Lightframe Pro Phase 18: Admin Cohesion */
.lf-admin-command-shell{margin:20px 0;padding:18px;border:1px solid #dcdcde;border-radius:18px;background:linear-gradient(135deg,#fff,#f6f8ff);box-shadow:0 12px 30px rgba(11,18,32,.06)}
.lf-admin-command-shell__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}.lf-admin-command-tile{display:block;padding:14px;border:1px solid #dcdcde;border-radius:14px;background:#fff;text-decoration:none;color:#1d2327}.lf-admin-command-tile strong{display:block;margin-bottom:4px}.lf-admin-command-tile span{color:#646970;font-size:13px}.lf-admin-command-tile:hover{border-color:#2f6bff;box-shadow:0 10px 26px rgba(47,107,255,.14);text-decoration:none}.lf-admin-badge{display:inline-flex;align-items:center;gap:6px;border-radius:999px;padding:4px 9px;background:#eef3ff;color:#1d4ed8;font-weight:700;font-size:12px}.lf-admin-scorebar{height:10px;overflow:hidden;border-radius:999px;background:#edf0f5}.lf-admin-scorebar span{display:block;height:100%;background:linear-gradient(90deg,#2f6bff,#00c2b8)}


/* Phase 19 — Customer Experience Layer */
.lf-customer-welcome,
.lf-customer-steps,
.lf-guided-experience,
.lf-empty-state-panel {
  border: 1px solid var(--hps-border);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(124, 199, 255, 0.09), rgba(124, 255, 234, 0.055)), rgba(16, 29, 48, 0.84);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.22);
}

.lf-customer-welcome .lf-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.25rem;
}

.lf-customer-steps .lf-timeline,
.lf-guided-experience .lf-timeline {
  display: grid;
  gap: 1rem;
}

.lf-timeline__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1rem;
  border: 1px solid var(--hps-border);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.045);
}

.lf-timeline__item > span {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: rgba(124, 255, 234, 0.16);
  color: var(--hps-focus);
  font-weight: 800;
}

.lf-empty-state-panel {
  padding: clamp(1.5rem, 4vw, 3rem);
  text-align: center;
}

.lf-empty-state-panel__icon {
  display: inline-grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 1rem;
  border-radius: 1.25rem;
  background: rgba(124, 199, 255, 0.12);
  color: var(--hps-focus);
  font-size: 1.5rem;
}

.lf-customer-mode-concierge .lf-customer-welcome,
.lf-empty-state-operator .lf-empty-state-panel {
  outline: 1px solid rgba(124, 255, 234, 0.35);
  box-shadow: 0 30px 80px rgba(47, 107, 255, 0.18);
}


/* Phase 20 — RC UX Finish Layer */
.lf-rc-summary,
.lf-polish-checklist,
.lf-accessibility-panel {
  border: 1px solid var(--hps-border);
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(124, 199, 255, 0.1), rgba(124, 255, 234, 0.06)), rgba(16, 29, 48, 0.88);
  box-shadow: 0 28px 75px rgba(0, 0, 0, 0.24);
}

.lf-rc-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(1.25rem, 4vw, 3rem);
  align-items: center;
}

.lf-rc-score {
  display: grid;
  place-items: center;
  min-width: 9rem;
  min-height: 9rem;
  border: 1px solid rgba(124, 255, 234, 0.28);
  border-radius: 999px;
  background: radial-gradient(circle, rgba(124, 255, 234, 0.18), rgba(47, 107, 255, 0.08));
}

.lf-rc-score strong {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1;
}

.lf-rc-score span {
  color: var(--hps-muted);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lf-polish-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.lf-polish-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  padding: 1rem;
  border: 1px solid var(--hps-border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
}

.lf-polish-item span {
  display: inline-grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  background: rgba(124, 255, 234, 0.16);
  color: var(--hps-focus);
  font-weight: 900;
}

.lf-polish-item.is-warn span {
  background: rgba(255, 193, 7, 0.16);
  color: #ffd166;
}

.lf-accessibility-panel ul {
  display: grid;
  gap: 0.75rem;
  margin: 1.25rem 0 0;
  padding-left: 1.2rem;
  color: var(--hps-muted);
}

@media (max-width: 720px) {
  .lf-rc-summary { grid-template-columns: 1fr; }
  .lf-rc-score { min-width: 7rem; min-height: 7rem; justify-self: start; }
}


/* Phase 21: Dynamic dashboard foundation */
.lf-dashboard {
	width: min(1180px, calc(100% - 32px));
	margin: 48px auto;
	display: grid;
	gap: 24px;
}
.lf-dashboard__header {
	padding: clamp(24px, 4vw, 48px);
	border: 1px solid rgba(148, 163, 184, 0.24);
	border-radius: 28px;
	background: linear-gradient(135deg, rgba(15, 23, 42, 0.94), rgba(15, 23, 42, 0.76));
	box-shadow: 0 24px 70px rgba(2, 6, 23, 0.26);
}
.lf-dashboard__header h2 {
	margin: 0 0 12px;
	font-size: clamp(2rem, 4vw, 4rem);
	line-height: 0.98;
}
.lf-dashboard__header p:last-child {
	max-width: 760px;
	margin: 0;
	color: rgba(226, 232, 240, 0.78);
}
.lf-dashboard__metrics,
.lf-token-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}
.lf-dashboard__split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 20px;
}
.lf-dashboard__split--wide {
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}
.lf-panel,
.lf-metric-card {
	border: 1px solid rgba(148, 163, 184, 0.20);
	border-radius: 24px;
	background: rgba(15, 23, 42, 0.80);
	box-shadow: 0 18px 50px rgba(2, 6, 23, 0.18);
}
.lf-panel {
	padding: 22px;
}
.lf-panel__head {
	margin-bottom: 18px;
}
.lf-panel__head h3 {
	margin: 0 0 6px;
	font-size: 1.1rem;
}
.lf-panel__head p {
	margin: 0;
	color: rgba(226, 232, 240, 0.66);
	font-size: 0.94rem;
}
.lf-metric-card {
	padding: 20px;
	display: grid;
	gap: 8px;
	position: relative;
	overflow: hidden;
}
.lf-metric-card::before,
.lf-status-item::before,
.lf-activity-item::before,
.lf-timeline-item::before {
	content: "";
	position: absolute;
	inset: 0 auto 0 0;
	width: 4px;
	background: rgba(148, 163, 184, 0.58);
}
.lf-metric-card span,
.lf-status-item span,
.lf-activity-item > span,
.lf-timeline-item > span {
	font-size: 0.76rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(226, 232, 240, 0.62);
}
.lf-metric-card strong {
	font-size: clamp(1.4rem, 2.6vw, 2.2rem);
	line-height: 1;
}
.lf-metric-card p,
.lf-status-item p,
.lf-activity-item p,
.lf-timeline-item p {
	margin: 0;
	color: rgba(226, 232, 240, 0.66);
	font-size: 0.92rem;
}
.lf-status-list,
.lf-activity-list,
.lf-timeline-list {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.lf-status-item,
.lf-activity-item,
.lf-timeline-item {
	position: relative;
	display: flex;
	gap: 14px;
	justify-content: space-between;
	align-items: flex-start;
	padding: 16px 16px 16px 20px;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.045);
	border: 1px solid rgba(255, 255, 255, 0.08);
	overflow: hidden;
}
.lf-activity-item,
.lf-timeline-item {
	justify-content: flex-start;
}
.lf-status-item span:last-child {
	padding: 6px 10px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	white-space: nowrap;
}
.lf-tone-good::before { background: #00c2b8; }
.lf-tone-warn::before { background: #f59e0b; }
.lf-tone-danger::before { background: #ef4444; }
.lf-tone-neutral::before { background: #2f6bff; }
@media (max-width: 900px) {
	.lf-dashboard__metrics,
	.lf-token-grid,
	.lf-dashboard__split,
	.lf-dashboard__split--wide {
		grid-template-columns: 1fr;
	}
}


/* Lightframe Pro Phase 22: data visualization layer */
.lf-visual-dashboard { display: grid; gap: clamp(1.25rem, 2vw, 2rem); }
.lf-visual-dashboard__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.35rem); }
.lf-chart-panel, .lf-release-visuals, .lf-entitlement-visuals, .lf-ops-heatmap, .lf-donut-panel { border: 1px solid var(--hps-border); border-radius: 24px; background: linear-gradient(135deg, rgba(255,255,255,.055), rgba(255,255,255,.025)); box-shadow: 0 24px 70px rgba(0,0,0,.22); }
.lf-bar-chart, .lf-progress-list, .lf-entitlement-list { display: grid; gap: .85rem; }
.lf-bar-row { display: grid; grid-template-columns: minmax(7rem, 1fr) minmax(10rem, 2fr) auto; align-items: center; gap: .75rem; }
.lf-bar-row__label { color: var(--hps-muted); font-weight: 700; }
.lf-bar-row__track, .lf-progress-track { display: block; min-height: .72rem; border-radius: 999px; overflow: hidden; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.08); }
.lf-bar-row__track > span, .lf-progress-track > span { display: block; min-height: inherit; border-radius: inherit; background: linear-gradient(90deg, rgba(124,255,234,.75), rgba(124,199,255,.95)); }
.lf-tone-warn .lf-bar-row__track > span, .lf-tone-warn .lf-progress-track > span { background: linear-gradient(90deg, rgba(255,209,102,.72), rgba(255,247,174,.9)); }
.lf-tone-bad .lf-bar-row__track > span, .lf-tone-bad .lf-progress-track > span { background: linear-gradient(90deg, rgba(255,111,145,.78), rgba(255,160,172,.92)); }
.lf-progress-item, .lf-entitlement-item { display: grid; grid-template-columns: minmax(8rem, 1.2fr) minmax(8rem, 1fr) auto; align-items: center; gap: .85rem; padding: .9rem; border: 1px solid rgba(255,255,255,.08); border-radius: 18px; background: rgba(0,0,0,.12); }
.lf-progress-item strong, .lf-entitlement-item strong { display: block; color: var(--hps-text); }
.lf-progress-item p, .lf-entitlement-item span { margin: .18rem 0 0; color: var(--hps-muted); font-size: .9rem; }
.lf-heatmap-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .7rem; }
.lf-heat-cell { min-height: 7rem; padding: .8rem; border-radius: 18px; border: 1px solid rgba(255,255,255,.08); background: rgba(124,199,255, calc(.08 + (var(--lf-heat) * .24))); }
.lf-heat-cell strong, .lf-heat-cell span { display: block; }
.lf-heat-cell span { font-size: 1.35rem; font-weight: 900; margin-top: .35rem; }
.lf-heat-cell p { margin: .45rem 0 0; font-size: .78rem; color: var(--hps-muted); }
.lf-donut-panel { display: flex; align-items: center; gap: 1rem; padding: 1.25rem; }
.lf-donut { width: 8rem; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(rgba(124,255,234,.9) calc(var(--lf-donut) * 1%), rgba(255,255,255,.08) 0); position: relative; flex: 0 0 auto; }
.lf-donut::after { content: ''; position: absolute; inset: .75rem; border-radius: inherit; background: var(--hps-surface); border: 1px solid rgba(255,255,255,.08); }
.lf-donut span { position: relative; z-index: 1; font-size: 1.35rem; font-weight: 900; }
@media (max-width: 860px) { .lf-visual-dashboard__grid { grid-template-columns: 1fr; } .lf-bar-row, .lf-progress-item, .lf-entitlement-item { grid-template-columns: 1fr; } .lf-heatmap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Phase 23 — Operational Timeline & Incident Surfaces */
.lfp23-timeline-wrap,
.lfp23-event-stream,
.lfp23-deploy,
.lfp23-incidents {
  max-width: var(--hps-max);
  margin: clamp(2rem, 5vw, 4rem) auto;
  padding: clamp(1.25rem, 3vw, 2.5rem);
  border: 1px solid rgba(124, 255, 234, 0.18);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(16, 29, 48, 0.94), rgba(7, 17, 31, 0.96));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.lfp23-section-head {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 1.5rem;
}

.lfp23-section-head.compact { margin-bottom: 1rem; }

.lfp23-section-head p,
.lfp23-stream-head span {
  margin: 0;
  color: var(--hps-focus);
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.72rem;
  font-weight: 800;
}

.lfp23-section-head h2,
.lfp23-deploy h2 {
  margin: 0;
  color: var(--hps-text);
  font-size: clamp(1.7rem, 4vw, 2.75rem);
  line-height: 1.05;
}

.lfp23-section-head span {
  color: var(--hps-muted);
  max-width: 760px;
}

.lfp23-timeline {
  position: relative;
  display: grid;
  gap: 1rem;
  padding-left: 1.25rem;
}

.lfp23-timeline::before {
  content: "";
  position: absolute;
  left: 0.25rem;
  top: 0.4rem;
  bottom: 0.4rem;
  width: 2px;
  background: linear-gradient(var(--hps-focus), rgba(124, 255, 234, 0.08));
}

.lfp23-timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 1rem minmax(0, 1fr);
  gap: 0.85rem;
  align-items: start;
}

.lfp23-pin,
.lfp23-status-dot {
  width: 0.8rem;
  height: 0.8rem;
  margin-top: 0.55rem;
  border-radius: 999px;
  background: var(--hps-focus);
  box-shadow: 0 0 0 7px rgba(124, 255, 234, 0.1), 0 0 22px rgba(124, 255, 234, 0.55);
}

.lfp23-timeline-card,
.lfp23-stream-row,
.lfp23-deploy-step,
.lfp23-incident {
  border: 1px solid rgba(184, 205, 230, 0.16);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.045);
  padding: 1rem;
}

.lfp23-timeline-card h3,
.lfp23-deploy-step h3,
.lfp23-incident strong,
.lfp23-stream-row b {
  color: var(--hps-text);
}

.lfp23-timeline-card p,
.lfp23-deploy-step p,
.lfp23-incident p,
.lfp23-stream-row small {
  color: var(--hps-muted);
  margin-bottom: 0;
}

.lfp23-timeline-meta,
.lfp23-stream-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-bottom: 0.45rem;
  color: var(--hps-muted);
  font-size: 0.82rem;
}

.lfp23-timeline-meta strong {
  color: var(--hps-focus);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
}

.lfp23-event-stream {
  display: grid;
  gap: 0.8rem;
}

.lfp23-stream-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.85rem;
  align-items: start;
}

.lfp23-status-dot {
  display: inline-block;
  margin-top: 0.35rem;
}

.is-watch .lfp23-pin,
.lfp23-status-dot.is-watch,
.lfp23-deploy-step.is-watch,
.lfp23-incident.is-watch {
  border-color: rgba(255, 211, 106, 0.35);
}

.is-watch .lfp23-pin,
.lfp23-status-dot.is-watch { background: #ffd36a; box-shadow: 0 0 0 7px rgba(255, 211, 106, 0.1), 0 0 22px rgba(255, 211, 106, 0.42); }
.is-complete .lfp23-pin,
.lfp23-status-dot.is-complete { background: #7cc7ff; box-shadow: 0 0 0 7px rgba(124, 199, 255, 0.1), 0 0 22px rgba(124, 199, 255, 0.42); }

.lfp23-deploy-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.lfp23-deploy-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  color: #07111f;
  background: var(--hps-focus);
  font-weight: 900;
  margin-bottom: 0.75rem;
}

.lfp23-incidents {
  display: grid;
  gap: 0.8rem;
}

.lfp23-incident {
  border-left: 4px solid var(--hps-focus);
}

.lfp23-incident.is-watch { border-left-color: #ffd36a; }
.lfp23-incident.is-critical { border-left-color: #ff7a90; }

@media (max-width: 860px) {
  .lfp23-deploy-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .lfp23-deploy-grid { grid-template-columns: 1fr; }
  .lfp23-timeline { padding-left: 0; }
  .lfp23-timeline::before { display: none; }
  .lfp23-timeline-item { grid-template-columns: 1fr; }
  .lfp23-pin { display: none; }
}


/* Lightframe Pro Phase 24: health monitor and live operations layer */
.lfp24-health-monitor,
.lfp24-command-center {
  width: min(100%, 1180px);
  margin: 2rem auto;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid rgba(184, 205, 230, 0.16);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(124, 255, 234, 0.08), rgba(47, 107, 255, 0.08)), rgba(255,255,255,0.035);
  box-shadow: 0 28px 70px rgba(0,0,0,0.22);
}

.lfp24-head p,
.lfp24-command-center p {
  margin: 0 0 0.4rem;
  color: var(--hps-focus);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.76rem;
  font-weight: 800;
}

.lfp24-head h2,
.lfp24-command-center h2 {
  margin-bottom: 0.4rem;
  font-size: clamp(1.7rem, 4vw, 3rem);
}

.lfp24-head span,
.lfp24-command-center span {
  color: var(--hps-muted);
}

.lfp24-service-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.lfp24-service-card,
.lfp24-sync-panel {
  border: 1px solid rgba(184, 205, 230, 0.14);
  border-radius: 22px;
  background: rgba(7, 17, 31, 0.52);
  padding: 1rem;
}

.lfp24-service-card h3 {
  font-size: 1rem;
  margin-bottom: 0.45rem;
}

.lfp24-service-card p,
.lfp24-service-card small,
.lfp24-sync-row small {
  color: var(--hps-muted);
}

.lfp24-service-top,
.lfp24-sync-head,
.lfp24-sync-row,
.lfp24-command-center,
.lfp24-command-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.lfp24-service-top {
  justify-content: flex-start;
  margin-bottom: 0.65rem;
  color: var(--hps-focus);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.68rem;
}

.lfp24-state-dot {
  width: 0.68rem;
  height: 0.68rem;
  border-radius: 999px;
  background: var(--hps-focus);
  box-shadow: 0 0 18px rgba(124,255,234,0.55);
}

.lfp24-service-card.is-standby .lfp24-state-dot,
.lfp24-service-card.is-provider-ready .lfp24-state-dot { background: #ffd36a; box-shadow: 0 0 18px rgba(255,211,106,0.42); }
.lfp24-service-card.is-offline .lfp24-state-dot { background: #ff7a90; box-shadow: 0 0 18px rgba(255,122,144,0.42); }

.lfp24-score {
  overflow: hidden;
  height: 0.55rem;
  margin: 1rem 0 0.45rem;
  border-radius: 999px;
  background: rgba(184, 205, 230, 0.14);
}

.lfp24-score span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--hps-focus), var(--hps-link));
}

.lfp24-sync-panel {
  margin-top: 1rem;
}

.lfp24-sync-head {
  padding-bottom: 0.75rem;
  color: var(--hps-text);
}

.lfp24-sync-head span {
  color: var(--hps-muted);
  font-size: 0.82rem;
}

.lfp24-sync-row {
  padding: 0.9rem 0;
  border-top: 1px solid rgba(184, 205, 230, 0.12);
}

.lfp24-sync-row b,
.lfp24-sync-row small {
  display: block;
}

.lfp24-sync-row > span {
  color: var(--hps-focus);
  font-weight: 800;
  text-align: right;
}

.lfp24-command-center {
  align-items: flex-start;
}

.lfp24-command-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.lfp24-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.8rem 1rem;
  background: var(--hps-focus);
  color: #07111f;
  font-weight: 900;
  text-decoration: none;
}

.lfp24-action.is-secondary {
  background: rgba(255,255,255,0.08);
  color: var(--hps-text);
  border: 1px solid rgba(184, 205, 230, 0.16);
}

@media (max-width: 1040px) {
  .lfp24-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .lfp24-service-grid { grid-template-columns: 1fr; }
  .lfp24-command-center,
  .lfp24-sync-row { display: grid; }
  .lfp24-command-actions { justify-content: flex-start; }
  .lfp24-sync-row > span { text-align: left; }
}

/* Phase 25 — Live Operations Cockpit Layer */
.lfp25-live-ops,
.lfp25-panel,
.lfp25-snapshot {
  border: 1px solid rgba(184, 205, 230, 0.16);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(16, 29, 48, 0.94), rgba(7, 17, 31, 0.96));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.26);
  color: var(--hps-text);
}

.lfp25-live-ops {
  padding: clamp(1.25rem, 3vw, 2rem);
  overflow: hidden;
}

.lfp25-hero {
  max-width: 900px;
  margin-bottom: 1.2rem;
}

.lfp25-hero p,
.lfp25-panel header span {
  margin: 0 0 0.35rem;
  color: var(--hps-focus);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lfp25-hero h2 {
  margin: 0 0 0.45rem;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.02;
}

.lfp25-hero > span,
.lfp25-alert p,
.lfp25-kpi small,
.lfp25-provider small,
.lfp25-snapshot span {
  color: var(--hps-muted);
}

.lfp25-kpi-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 1.2rem 0;
}

.lfp25-kpi {
  border: 1px solid rgba(184, 205, 230, 0.14);
  border-radius: 22px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.045);
}

.lfp25-kpi span,
.lfp25-kpi small {
  display: block;
}

.lfp25-kpi strong {
  display: block;
  margin: 0.3rem 0;
  font-size: clamp(1.8rem, 3vw, 2.45rem);
  letter-spacing: -0.05em;
}

.lfp25-kpi.is-good strong { color: var(--hps-focus); }
.lfp25-kpi.is-warn strong { color: #ffd78a; }
.lfp25-kpi.is-info strong { color: var(--hps-link); }

.lfp25-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: start;
}

.lfp25-panel,
.lfp25-snapshot {
  padding: 1rem;
}

.lfp25-panel header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.8rem;
}

.lfp25-panel header strong,
.lfp25-snapshot > strong {
  font-size: 1.1rem;
}

.lfp25-alert,
.lfp25-provider,
.lfp25-snapshot p {
  border-top: 1px solid rgba(184, 205, 230, 0.12);
  padding: 0.85rem 0;
}

.lfp25-alert:first-of-type,
.lfp25-provider:first-of-type,
.lfp25-snapshot p:first-child {
  border-top: 0;
}

.lfp25-alert b,
.lfp25-alert small,
.lfp25-provider b,
.lfp25-provider small {
  display: block;
}

.lfp25-alert p {
  margin: 0.45rem 0 0;
}

.lfp25-alert.is-notice { border-left: 3px solid var(--hps-focus); padding-left: 0.75rem; }
.lfp25-alert.is-info { border-left: 3px solid var(--hps-link); padding-left: 0.75rem; }
.lfp25-alert.is-warning,
.lfp25-alert.is-warn { border-left: 3px solid #ffd78a; padding-left: 0.75rem; }
.lfp25-alert.is-critical { border-left: 3px solid #ff8a8a; padding-left: 0.75rem; }

.lfp25-provider {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.75rem;
  align-items: center;
}

.lfp25-provider > span {
  width: 0.68rem;
  height: 0.68rem;
  border-radius: 999px;
  background: rgba(184, 205, 230, 0.4);
  box-shadow: 0 0 0 4px rgba(184, 205, 230, 0.08);
}

.lfp25-provider.is-online > span { background: var(--hps-focus); }
.lfp25-provider.is-provider-ready > span { background: var(--hps-link); }
.lfp25-provider em {
  color: var(--hps-muted);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
}

.lfp25-snapshot {
  margin-top: 1rem;
}

.lfp25-snapshot div {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 0.8rem;
}

.lfp25-snapshot p {
  margin: 0;
  border: 1px solid rgba(184, 205, 230, 0.12);
  border-radius: 18px;
  padding: 0.85rem;
  background: rgba(255,255,255,0.035);
}

.lfp25-snapshot span,
.lfp25-snapshot b {
  display: block;
}

.lfp25-snapshot b {
  margin-top: 0.25rem;
  font-size: 0.92rem;
}

@media (max-width: 1040px) {
  .lfp25-kpi-strip,
  .lfp25-snapshot div { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lfp25-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .lfp25-kpi-strip,
  .lfp25-snapshot div { grid-template-columns: 1fr; }
  .lfp25-provider { grid-template-columns: auto 1fr; }
  .lfp25-provider em { grid-column: 2; }
  .lfp25-panel header { align-items: flex-start; flex-direction: column; }
}


/* Phase 26 — Incident Response Layer */
.lfp26-incident,
.lfp26-panel,
.lfp26-sla-strip {
  --lfp26-line: rgba(184, 205, 230, 0.14);
}

.lfp26-incident {
  display: grid;
  gap: 1rem;
}

.lfp26-hero,
.lfp26-panel,
.lfp26-sla,
.lfp26-lane {
  border: 1px solid var(--lfp26-line);
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(16, 29, 48, 0.92), rgba(7, 17, 31, 0.78));
  box-shadow: 0 18px 60px rgba(0,0,0,0.22);
}

.lfp26-hero {
  padding: clamp(1.3rem, 3vw, 2rem);
}

.lfp26-hero p,
.lfp26-panel header span,
.lfp26-runbook small,
.lfp26-sla span,
.lfp26-sla small {
  color: var(--hps-muted);
}

.lfp26-hero p,
.lfp26-panel header span,
.lfp26-sla span {
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lfp26-hero h2 {
  margin: 0.25rem 0;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 0.95;
}

.lfp26-sla-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.lfp26-sla {
  padding: 1rem;
}

.lfp26-sla strong,
.lfp26-sla span,
.lfp26-sla small {
  display: block;
}

.lfp26-sla strong {
  margin: 0.3rem 0;
  font-size: 1.35rem;
}

.lfp26-sla.is-tracking { border-color: rgba(124, 255, 234, 0.42); }

.lfp26-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 1rem;
}

.lfp26-panel {
  padding: 1rem;
}

.lfp26-panel header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-bottom: 0.9rem;
}

.lfp26-runbook,
.lfp26-escalation-row {
  border-top: 1px solid var(--lfp26-line);
  padding: 1rem 0 0.9rem;
}

.lfp26-runbook:first-of-type,
.lfp26-escalation-row:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.lfp26-runbook > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
}

.lfp26-runbook ol {
  margin: 0.65rem 0 0;
  padding-left: 1.2rem;
  color: var(--hps-muted);
}

.lfp26-runbook.is-high b { color: #ffdda6; }
.lfp26-runbook.is-medium b { color: var(--hps-link); }

.lfp26-escalation-row {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 0.85rem;
}

.lfp26-escalation-row > b {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  background: rgba(124, 199, 255, 0.12);
  color: var(--hps-link);
}

.lfp26-escalation-row p {
  margin: 0.3rem 0 0;
  color: var(--hps-muted);
}

.lfp26-lanes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.lfp26-lane {
  padding: 0.9rem;
  min-height: 11rem;
}

.lfp26-lane b {
  display: block;
  margin-bottom: 0.65rem;
}

.lfp26-lane p {
  margin: 0.5rem 0 0;
  border: 1px solid rgba(184, 205, 230, 0.1);
  border-radius: 15px;
  padding: 0.7rem;
  color: var(--hps-muted);
  background: rgba(255,255,255,0.035);
}

@media (max-width: 1080px) {
  .lfp26-grid,
  .lfp26-lanes { grid-template-columns: 1fr 1fr; }
  .lfp26-sla-strip { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .lfp26-grid,
  .lfp26-lanes { grid-template-columns: 1fr; }
  .lfp26-runbook > div,
  .lfp26-panel header { align-items: flex-start; flex-direction: column; }
  .lfp26-escalation-row { grid-template-columns: 1fr; }
}


/* Phase 27 — Telemetry Insights Layer */
.lfp27-telemetry {
  --lfp27-line: rgba(184, 205, 230, 0.14);
  --lfp27-panel: rgba(10, 22, 38, 0.78);
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(1rem, 2vw, 2rem);
}

.lfp27-hero,
.lfp27-panel,
.lfp27-signal,
.lfp27-retention-card {
  border: 1px solid var(--lfp27-line);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255,255,255,0.07), rgba(255,255,255,0.025));
  box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.lfp27-hero {
  padding: clamp(1.2rem, 3vw, 2.2rem);
  margin-bottom: 1rem;
}

.lfp27-hero p,
.lfp27-panel header span,
.lfp27-signal span,
.lfp27-anomaly small,
.lfp27-retention-card span {
  margin: 0;
  color: var(--hps-link);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  font-weight: 800;
}

.lfp27-hero h2 {
  margin: 0.3rem 0;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 0.98;
}

.lfp27-hero span,
.lfp27-signal p,
.lfp27-anomaly p,
.lfp27-retention-card p,
.lfp27-trend-row small {
  color: var(--hps-muted);
}

.lfp27-signals,
.lfp27-retention-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.lfp27-signal,
.lfp27-retention-card {
  padding: 1rem;
}

.lfp27-signal strong,
.lfp27-retention-card strong {
  display: block;
  margin: 0.4rem 0 0.15rem;
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.lfp27-signal small {
  display: inline-flex;
  border-radius: 999px;
  padding: 0.22rem 0.55rem;
  background: rgba(124, 255, 234, 0.1);
  color: var(--hps-link);
  font-weight: 800;
}

.lfp27-signal.is-watch,
.lfp27-retention-card.is-watch { border-color: rgba(255, 221, 166, 0.38); }
.lfp27-signal.is-good,
.lfp27-retention-card.is-good { border-color: rgba(124, 255, 234, 0.35); }

.lfp27-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 1rem;
  margin-bottom: 1rem;
}

.lfp27-panel {
  padding: 1rem;
}

.lfp27-panel header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.lfp27-trend-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(120px, 0.9fr) 3.25rem;
  gap: 0.8rem;
  align-items: center;
  border-top: 1px solid var(--lfp27-line);
  padding: 0.85rem 0;
}

.lfp27-trend-row:first-of-type { border-top: 0; }
.lfp27-trend-row b,
.lfp27-trend-row small { display: block; }
.lfp27-trend-row em { font-style: normal; color: var(--hps-link); font-weight: 800; }

.lfp27-meter {
  height: 0.7rem;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(184, 205, 230, 0.12);
}

.lfp27-meter i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(47,107,255,0.85), rgba(124,255,234,0.95));
}

.lfp27-anomaly {
  border-top: 1px solid var(--lfp27-line);
  padding: 0.9rem 0;
}

.lfp27-anomaly:first-of-type { border-top: 0; }
.lfp27-anomaly b { display: block; margin: 0.25rem 0; }
.lfp27-anomaly.is-watch b { color: #ffdda6; }
.lfp27-anomaly.is-good b { color: var(--hps-link); }
.lfp27-anomaly p { margin: 0; }

.lfp27-retention { margin-top: 0; }
.lfp27-retention-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; }

@media (max-width: 1080px) {
  .lfp27-signals { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lfp27-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .lfp27-signals,
  .lfp27-retention-grid { grid-template-columns: 1fr; }
  .lfp27-trend-row { grid-template-columns: 1fr; }
  .lfp27-panel header { align-items: flex-start; flex-direction: column; }
}


/* Phase 28 — Dashboard summary and export layer */
.lfp28-summary {
  --lfp28-line: rgba(184, 205, 230, 0.18);
  --lfp28-panel: rgba(11, 23, 40, 0.78);
  --lfp28-strong: #eef5ff;
  --lfp28-muted: #b7c5d8;
  margin: clamp(1.5rem, 3vw, 3rem) auto;
  max-width: min(1280px, calc(100vw - 2rem));
}

.lfp28-hero,
.lfp28-panel,
.lfp28-scorecard {
  border: 1px solid var(--lfp28-line);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(16, 29, 48, 0.86), rgba(7, 17, 31, 0.74));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.lfp28-hero {
  padding: clamp(1.5rem, 4vw, 3.5rem);
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
}

.lfp28-hero::after {
  content: "";
  position: absolute;
  inset: auto -12% -42% 42%;
  height: 16rem;
  background: radial-gradient(circle, rgba(124,255,234,0.16), transparent 70%);
  pointer-events: none;
}

.lfp28-hero p,
.lfp28-panel header span,
.lfp28-scorecard span,
.lfp28-ready-row em,
.lfp28-milestones em {
  color: var(--hps-link);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lfp28-hero h2 {
  margin: 0.35rem 0;
  color: var(--lfp28-strong);
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
}

.lfp28-hero span,
.lfp28-scorecard p,
.lfp28-ready-row p,
.lfp28-export dd {
  color: var(--lfp28-muted);
}

.lfp28-scorecards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.lfp28-scorecard {
  padding: 1rem;
}

.lfp28-scorecard strong {
  display: block;
  color: var(--lfp28-strong);
  font-size: clamp(1.55rem, 2.6vw, 2.4rem);
  margin: 0.35rem 0 0.7rem;
}

.lfp28-score-meter {
  height: 0.65rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(184, 205, 230, 0.12);
}

.lfp28-score-meter i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(47,107,255,0.86), rgba(124,255,234,0.96));
}

.lfp28-scorecard.is-good { border-color: rgba(124, 255, 234, 0.34); }
.lfp28-scorecard.is-stable { border-color: rgba(124, 199, 255, 0.3); }
.lfp28-scorecard.is-watch { border-color: rgba(255, 221, 166, 0.35); }

.lfp28-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(380px, 1.05fr);
  gap: 1rem;
  margin-bottom: 1rem;
}

.lfp28-panel {
  padding: 1rem;
}

.lfp28-panel header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.lfp28-panel header strong {
  color: var(--lfp28-strong);
  font-size: 1.05rem;
}

.lfp28-ready-row {
  border-top: 1px solid var(--lfp28-line);
  padding: 0.85rem 0;
}

.lfp28-ready-row:first-of-type { border-top: 0; }
.lfp28-ready-row b { color: var(--lfp28-strong); display: block; }
.lfp28-ready-row em { display: inline-block; margin: 0.25rem 0; font-style: normal; }
.lfp28-ready-row.is-pass em { color: var(--hps-focus); }
.lfp28-ready-row.is-deferred em { color: #ffdda6; }

.lfp28-export dl {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 0.45rem 0.8rem;
  margin: 0 0 1rem;
}

.lfp28-export dt { color: var(--lfp28-strong); font-weight: 800; }
.lfp28-export pre {
  max-height: 21rem;
  overflow: auto;
  border: 1px solid var(--lfp28-line);
  border-radius: 18px;
  padding: 1rem;
  background: rgba(0,0,0,0.24);
  color: var(--lfp28-muted);
  font-size: 0.82rem;
  white-space: pre-wrap;
}

.lfp28-milestones {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.lfp28-milestones article {
  border: 1px solid var(--lfp28-line);
  border-radius: 18px;
  padding: 0.9rem;
  background: rgba(255,255,255,0.035);
}

.lfp28-milestones span {
  display: inline-flex;
  width: 2.15rem;
  height: 2.15rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(124,255,234,0.12);
  color: var(--hps-focus);
  font-weight: 900;
}

.lfp28-milestones b {
  display: block;
  margin: 0.6rem 0 0.2rem;
  color: var(--lfp28-strong);
}

.lfp28-milestones em { font-style: normal; }

@media (max-width: 1100px) {
  .lfp28-scorecards,
  .lfp28-milestones { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lfp28-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .lfp28-scorecards,
  .lfp28-milestones { grid-template-columns: 1fr; }
  .lfp28-panel header { align-items: flex-start; flex-direction: column; }
  .lfp28-export dl { grid-template-columns: 1fr; }
}
