html, body, #app { min-height: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); }
#app > .ne-shell { min-height: 100vh; }
.ne-shell .ne-sidebar { position: sticky; top: 0; height: 100vh; }
.ne button { font-family: inherit; }
.app-2col { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: var(--space-4); align-items: start; }
@media (max-width: 900px) { .app-2col { grid-template-columns: 1fr; } }
.ne-page { margin: 0 auto; }
.ne-page-head .ne-row { justify-content: flex-end; }
.site-card, .report-card { text-align: left; font: inherit; color: inherit; cursor: pointer; transition: border-color .12s, transform .12s; }
.site-card:hover, .report-card:hover { border-color: var(--primary); }
.report-card { display: flex; align-items: center; gap: 12px; padding: 14px 16px; }
.report-card[aria-pressed="true"] { border-color: var(--primary); background: var(--primary-soft); }
.site-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border); }
.site-stats div { display: flex; flex-direction: column; gap: 2px; }
.ne-stat[role="button"]:hover { border-color: var(--primary); }
.ne-modal-foot { flex-wrap: wrap; }

/* public site */
.pub { background: var(--bg); min-height: 100vh; }
.pub-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; }
.pub-logo { all: unset; display: inline-flex; align-items: center; gap: 10px; cursor: pointer; }
.pub-logo:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; border-radius: 4px; }
.pub-burger { display: none; }
.pub-mobile-nav { display: flex; flex-direction: column; background: var(--surface); border-bottom: 1px solid var(--border); padding: 8px 16px; position: sticky; top: 60px; z-index: 29; }
.pub-mobile-nav button { all: unset; padding: 12px 4px; font-weight: 500; border-bottom: 1px solid var(--border); cursor: pointer; }
.pub-mobile-nav button[aria-current] { color: var(--primary); }
.pub-wrap { max-width: var(--content-max); margin: 0 auto; padding-inline: var(--space-8); }
.ne-hero .pub-wrap, .pub-sec .pub-wrap { padding-inline: var(--space-8); }
.ne-hero { padding-inline: 0; }
.pub-sec { padding-block: 64px; }
.pub-alt { background: var(--surface); border-block: 1px solid var(--border); }
.pub-h2 { margin: 6px 0 12px; font-size: 28px; line-height: 36px; font-weight: 600; letter-spacing: -.01em; text-wrap: balance; }
.pub-lead { margin: 0 0 28px; font-size: 16px; line-height: 26px; color: var(--ink-muted); max-width: 64ch; }
.pub-prose p { font-size: 16px; line-height: 26px; max-width: 64ch; color: var(--ink-muted); }
.pub-list { padding-left: 20px; line-height: 28px; }
.pub-hero-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.pub-hero-panel { background: var(--sidebar-active); border-radius: var(--radius-lg); padding: 24px; }
.pub-hero-row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.08); color: var(--sidebar-ink-muted); }
.pub-hero-row:last-child { border-bottom: 0; }
.pub-hero-row b { color: var(--sidebar-ink); font-size: 18px; }
.pub-pagehero { padding-block: 56px; }
.pub-pagehero h1 { font-size: 36px; line-height: 44px; margin-top: 8px; }
.pub-fact { display: flex; flex-direction: column; gap: 4px; padding: 20px 0; border-top: 2px solid var(--warning-fill); }
.pub-fact b { font: 600 34px/40px var(--font-mono); color: var(--primary); }
.pub-fact span { color: var(--ink-muted); }
.pub-cta { padding-block: 48px; }
.pub-cta p { margin: 0; font-size: 15px; }
.pub-detail { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.pub-map { min-height: 180px; border-radius: var(--radius-md); border: 1px dashed var(--border-strong); background: repeating-linear-gradient(45deg, var(--surface-sunken) 0 12px, var(--bg) 12px 24px); display: flex; flex-direction: column; gap: 6px; align-items: center; justify-content: center; color: var(--primary); text-align: center; padding: 16px; }
.pub-foot { background: var(--sidebar); color: var(--sidebar-ink-muted); padding-top: 48px; font-size: 14px; line-height: 24px; }
.pub-foot a { display: block; color: var(--sidebar-ink-muted); text-decoration: none; }
.pub-foot a:hover { color: var(--sidebar-ink); }
.pub-foot-h { font: 600 12px/16px var(--font-sans); letter-spacing: .06em; text-transform: uppercase; color: var(--sidebar-ink); margin-bottom: 10px; }
.pub-foot-bar { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding-block: 20px; margin-top: 36px; border-top: 1px solid rgba(255,255,255,.08); font-size: 13px; }
#app:has(.demo-bar) .pub-foot-bar { padding-bottom: 72px; }
@media (max-width: 1080px) { .ne-pub-nav { display: none; } .pub-burger { display: inline-flex; } }
@media (max-width: 800px) { .pub-hero-grid, .pub-detail { grid-template-columns: 1fr; } .pub-wrap, .ne-hero .pub-wrap, .pub-sec .pub-wrap { padding-inline: var(--space-4); } .pub-sec { padding-block: 44px; } .pub-pagehero h1 { font-size: 28px; line-height: 36px; } .pub-h2 { font-size: 24px; line-height: 32px; } }

/* auth */
.auth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); min-height: 100vh; }
.auth-side { padding: 40px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.auth-main { background: var(--surface); padding: 40px 24px; display: flex; justify-content: center; align-items: center; }
@media (max-width: 800px) { .auth { grid-template-columns: 1fr; } .auth-side { padding: 24px 16px; } .auth-side h1 { font-size: 24px !important; line-height: 32px !important; } .auth-main { padding: 24px 16px 96px; } }

/* worker (mobile first) */
.worker { min-height: 100vh; background: var(--bg); max-width: 560px; margin: 0 auto; display: flex; flex-direction: column; border-inline: 1px solid var(--border); }
.w-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 12px 0 16px; background: var(--sidebar); color: var(--sidebar-ink); }
.w-head .ne-btn-ghost { color: var(--sidebar-ink); }
.w-head .ne-btn-ghost:hover { background: var(--sidebar-active); color: var(--sidebar-ink); }
.w-title { font-size: 14px; letter-spacing: .04em; }
.w-main { flex: 1; padding: 20px 16px 110px; }
.w-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; max-width: 560px; margin: 0 auto; padding-bottom: env(safe-area-inset-bottom, 0px); background: var(--surface); }
.w-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.w-tiles-3 { grid-template-columns: repeat(3, 1fr); }
.w-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.w-links { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.w-links button { all: unset; box-sizing: border-box; width: 100%; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--border); cursor: pointer; min-height: 48px; }
.w-links button:last-child { border-bottom: 0; }
.w-links button span { flex: 1; font-weight: 500; }
.w-links button:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; }
.w-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--border); }
.w-row:last-child { border-bottom: 0; }
.w-h { margin: 4px 0 0; font-size: 18px; line-height: 26px; }
.w-slip .ne-slip-cols { grid-template-columns: 1fr; }
.w-slip .ne-slip-cols > div + div { border-left: 0; border-top: 1px solid var(--border); }
.worker .ne-toasts { bottom: 90px; }

/* demo switcher */
.demo-bar { position: fixed; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 150; }
.worker ~ .demo-bar, .demo-bar.up { bottom: 84px; }
.demo-fab { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: var(--radius-pill); border: 0; background: var(--warning-fill); color: var(--on-warning); font: 600 13px var(--font-sans); cursor: pointer; box-shadow: var(--shadow-md); }
.demo-menu { position: absolute; bottom: 44px; left: 0; width: 250px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-lg); padding: 6px; }
.demo-menu button { all: unset; box-sizing: border-box; display: flex; gap: 10px; align-items: center; width: 100%; padding: 9px 10px; border-radius: var(--radius-sm); cursor: pointer; font-size: 14px; }
.demo-menu button:hover, .demo-menu button:focus-visible { background: var(--surface-sunken); }
.demo-menu button[aria-current] { background: var(--primary-soft); color: var(--primary); font-weight: 600; }

@media print {
  .demo-bar, .ne-toasts, .ne-modal-head, .ne-modal-foot, .ne-sidebar, .ne-topbar { display: none !important; }
  body * { visibility: hidden; }
  .print-area, .print-area * { visibility: visible; }
  .print-area { position: absolute; left: 0; top: 0; }
}
@media (prefers-reduced-motion: reduce) { .ne *, .ne *::before { animation: none !important; transition: none !important; } }

.ne-stat-value { font-size: 22px; line-height: 28px; overflow-wrap: anywhere; }
.ne-stat { padding: 16px; gap: 12px; }

/* =====================================================================
   POLISH LAYER v2 — app shell, public site, login, dashboards
   ===================================================================== */
/* page transition + staggered sections (runs once per route mount) */
.ne-page > * { animation: ne-in-up 260ms var(--ease) both; }
.ne-page > *:nth-child(1) { animation-delay: 0ms; }
.ne-page > *:nth-child(2) { animation-delay: 60ms; }
.ne-page > *:nth-child(3) { animation-delay: 120ms; }
.ne-page > *:nth-child(4) { animation-delay: 180ms; }
.ne-page > *:nth-child(5) { animation-delay: 230ms; }
.ne-page > *:nth-child(n+6) { animation-delay: 270ms; }
.ne-page > .ne-grid > * { animation: ne-in-up 260ms var(--ease) both; }
.ne-page > .ne-grid > *:nth-child(2) { animation-delay: 40ms; } .ne-page > .ne-grid > *:nth-child(3) { animation-delay: 80ms; } .ne-page > .ne-grid > *:nth-child(4) { animation-delay: 120ms; } .ne-page > .ne-grid > *:nth-child(n+5) { animation-delay: 160ms; }
.pub-main, .w-main > * { animation: ne-in-up 260ms var(--ease) both; }
.ne-page { padding-block: 28px 48px; }
.ne-page-head { margin-bottom: 28px; }
.ne-page-head .ne-muted { margin-top: 2px; }

/* attention strip */
.attn { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 12px 14px; margin-bottom: 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.attn-label { display: inline-flex; gap: 8px; align-items: center; font: 600 12px/16px var(--font-sans); letter-spacing: .05em; text-transform: uppercase; color: var(--ink-subtle); }
.attn-items { display: flex; flex-wrap: wrap; gap: 8px; }
.attn-item { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px 0 12px; border-radius: var(--radius-pill); border: 1px solid transparent; font: 500 13px var(--font-sans); cursor: pointer; transition: transform var(--dur-1) var(--ease), border-color var(--dur-2), background-color var(--dur-2); }
.attn-item b { font-family: var(--font-mono); }
.attn-item:hover { transform: translateY(-1px); border-color: currentColor; }
.attn-item .ne-icon[data-i="chevron-right"] { opacity: .6; }
.attn-warning { background: var(--warning-soft); color: var(--warning); } .attn-info { background: var(--info-soft); color: var(--info); } .attn-danger { background: var(--danger-soft); color: var(--danger); } .attn-accent { background: var(--accent-soft); color: var(--accent); }
.attn-clear { color: var(--success); font-weight: 500; }

/* supervisor quick actions */
.quick-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 12px; margin-bottom: 20px; }
.qa { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); cursor: pointer; text-align: left; font: inherit; color: inherit; box-shadow: var(--shadow-sm); transition: transform var(--dur-2) var(--ease), border-color var(--dur-2), box-shadow var(--dur-2); }
.qa:hover { transform: translateY(-2px); border-color: var(--primary); box-shadow: var(--shadow-md); }
.qa:active { transform: scale(.99); }
.qa-text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.qa-text span { font-size: 12px; color: var(--ink-muted); }
.qa > .ne-icon { color: var(--ink-subtle); }

/* hover lifts on navigable cards */
.site-card:hover, .report-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.site-card:active, .report-card:active, .ne-tile:active { transform: scale(.99); }

/* ---------- public site ---------- */
.pub-head { transition: box-shadow var(--dur-3) var(--ease), background-color var(--dur-3); background: color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter: saturate(1.4) blur(8px); }
.pub-head.is-scrolled { box-shadow: 0 6px 20px rgba(15, 28, 46, .08); }
.pub-logo { gap: 10px; }
.pub-logo-img { width: 36px; height: 36px; object-fit: contain; flex: none; }
.pub-logo-name { font: 700 16px/20px var(--font-sans); color: var(--brand); letter-spacing: .01em; white-space: nowrap; }
.ne-pub-nav { margin-left: auto; }
.ne-pub-nav a { position: relative; padding: 6px 0; transition: color var(--dur-2) var(--ease); }
.ne-pub-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--warning-fill); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform var(--dur-3) var(--ease); }
.ne-pub-nav a:hover { color: var(--ink); }
.ne-pub-nav a:hover::after, .ne-pub-nav a[aria-current]::after { transform: scaleX(1); }
.ne-pub-nav a[aria-current] { color: var(--brand); font-weight: 600; }
.pub-head-actions { margin-left: 24px; }
.pub-mobile-nav { display: flex; position: sticky; top: calc(60px + env(safe-area-inset-top, 0px)); z-index: 29; background: var(--surface); border-bottom: 1px solid var(--border); padding: 0 16px; max-height: 0; overflow: hidden; visibility: hidden; transition: max-height var(--dur-4) var(--ease), visibility 0s linear var(--dur-4), box-shadow var(--dur-3); }
.pub-mobile-nav.is-open { max-height: 480px; visibility: visible; transition: max-height var(--dur-4) var(--ease), visibility 0s; box-shadow: var(--shadow-md); padding-block: 6px; }
.pub-mobile-nav button { display: flex; justify-content: space-between; align-items: center; min-height: 48px; opacity: 0; transform: translateY(-4px); transition: opacity var(--dur-2) var(--ease), transform var(--dur-2) var(--ease); }
.pub-mobile-nav.is-open button { opacity: 1; transform: none; }
.pub-mobile-nav.is-open button:nth-child(2) { transition-delay: 25ms; } .pub-mobile-nav.is-open button:nth-child(3) { transition-delay: 50ms; } .pub-mobile-nav.is-open button:nth-child(4) { transition-delay: 75ms; } .pub-mobile-nav.is-open button:nth-child(5) { transition-delay: 100ms; } .pub-mobile-nav.is-open button:nth-child(6) { transition-delay: 125ms; } .pub-mobile-nav.is-open button:nth-child(7) { transition-delay: 150ms; }
.pub-mobile-nav button[aria-current] { color: var(--brand); font-weight: 600; }

/* hero */
.pub-hero { position: relative; min-height: min(78vh, 720px); display: flex; align-items: stretch; overflow: hidden; background: #0b1726; color: #fff; isolation: isolate; }
.pub-hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transform: scale(1.04); transition: opacity 1s var(--ease), transform 6s linear; z-index: -2; }
.pub-hero-slide.is-active { opacity: 1; transform: scale(1); }
.pub-hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 18, 34, .88) 0%, rgba(8, 18, 34, .66) 45%, rgba(8, 18, 34, .18) 100%), linear-gradient(0deg, rgba(8, 18, 34, .55) 0%, transparent 35%); }
.pub-hero-inner { display: flex; flex-direction: column; justify-content: space-between; width: 100%; padding-block: 88px 32px; gap: 48px; }
.pub-hero-copy { max-width: 640px; }
.pub-hero-kicker { display: inline-flex; align-items: center; gap: 10px; font: 600 12px/16px var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .78); padding: 6px 12px; border: 1px solid rgba(255, 255, 255, .22); border-radius: var(--radius-pill); background: rgba(255, 255, 255, .06); }
.pub-hero-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--warning-fill); box-shadow: 0 0 0 4px rgba(232, 130, 12, .25); }
.pub-hero-title { margin: 20px 0 0; font-size: clamp(36px, 5.2vw, 60px); line-height: 1.05; font-weight: 700; letter-spacing: -0.025em; text-wrap: balance; color: #fff; }
.pub-hero-sub { margin: 18px 0 32px; font-size: 18px; line-height: 28px; color: rgba(255, 255, 255, .82); max-width: 54ch; }
.pub-btn-ghost { background: rgba(255, 255, 255, .06); color: #fff; border: 1.5px solid rgba(255, 255, 255, .7); }
.pub-btn-ghost:hover { background: rgba(255, 255, 255, .14); border-color: #fff; }
.pub-cta .pub-btn-ghost { color: var(--sidebar-ink); border-color: var(--sidebar-ink-muted); }
.ne-hero-cta { box-shadow: 0 6px 18px rgba(232, 130, 12, .28); }
.ne-hero-cta:hover { filter: brightness(1.05); }
.ne-hero-cta .ne-icon { transition: transform var(--dur-2) var(--ease); }
.ne-hero-cta:hover .ne-icon { transform: translateX(3px); }
.pub-hero-foot { display: flex; align-items: center; gap: 16px; }
.pub-hero-dots { display: flex; gap: 8px; }
.pub-hero-dots button { width: 36px; height: 20px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; align-items: center; }
.pub-hero-dots button::before { content: ""; grid-area: 1 / 1; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .35); }
.pub-hero-dots button span { grid-area: 1 / 1; height: 3px; border-radius: 2px; background: #fff; transform: scaleX(0); transform-origin: left; }
.pub-hero-dots button.is-active span { animation: ne-progress 5s linear forwards !important; }
@keyframes ne-progress { to { transform: scaleX(1); } }
.pub-hero-caption { font-size: 13px; color: rgba(255, 255, 255, .72); }
.pub-in { animation: ne-in-up 520ms var(--ease) 80ms both; }

/* stats band */
.pub-eyebrow-dark { color: var(--sidebar-ink-muted) !important; }
.pub-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 32px; margin-top: 44px; }
.pub-stat { display: flex; flex-direction: column; gap: 8px; padding-top: 18px; border-top: 2px solid var(--warning-fill); }
.pub-stat b { font: 600 38px/44px var(--font-mono); color: var(--sidebar-ink); letter-spacing: -0.02em; }
.pub-stat span { color: var(--sidebar-ink-muted); font-size: 14px; }

/* cards on public site */
.pub-card { display: flex; flex-direction: column; gap: 10px; }
.pub-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--primary) 30%, var(--border)); }
.pub-card-title { margin: 6px 0 0; font-size: 16px; line-height: 24px; font-weight: 600; }
.pub-industry { position: relative; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow-sm); transition: transform var(--dur-2) var(--ease), box-shadow var(--dur-2); }
.pub-industry:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.pub-industry-img { height: 140px; background-size: cover; background-position: center; transition: transform 600ms var(--ease); }
.pub-industry:hover .pub-industry-img { transform: scale(1.04); }
.pub-industry-body { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--surface); position: relative; }
.pub-checks { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 12px 24px; }
.pub-check { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); font-weight: 500; }
.pub-check .ne-stat-icon { width: 28px; height: 28px; }

/* legacy band */
.pub-legacy { position: relative; min-height: 460px; display: grid; place-items: center; padding: 64px 16px; overflow: hidden; isolation: isolate; }
.pub-legacy-img { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: -2; }
.pub-legacy-card .pub-lead { margin-inline: auto; }
.pub-legacy-logo { width: 72px; height: 72px; object-fit: contain; }

/* CTA */
.pub-cta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.pub-cta-title { margin: 0; font-size: 28px; line-height: 36px; font-weight: 650; letter-spacing: -0.015em; color: var(--sidebar-ink); }
.pub-cta p { margin: 8px 0 0; }

/* inner page hero with photo */
.pub-pagehero { position: relative; overflow: hidden; isolation: isolate; padding-block: 72px; }
.pub-pagehero-img { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: -2; opacity: .35; }
.pub-pagehero.has-img::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--sidebar) 30%, color-mix(in srgb, var(--sidebar) 70%, transparent)); }
.pub-pagehero h1 { text-wrap: balance; max-width: 22ch; letter-spacing: -0.02em; }

/* footer */
.pub-foot-grid { display: grid; gap: 32px; grid-template-columns: 1.4fr repeat(3, 1fr); }
.pub-foot-brand { color: var(--sidebar-ink); letter-spacing: .02em; }
.pub-foot a { padding: 3px 0; transition: color var(--dur-2); }
@media (max-width: 800px) { .pub-foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .pub-foot-grid { grid-template-columns: 1fr; } }

/* scroll reveal (only applied by JS to below-the-fold sections) */
[data-reveal].rv { opacity: 0; transform: translateY(14px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
[data-reveal].rv.is-in { opacity: 1; transform: none; }

/* ---------- login ---------- */
.auth { background: var(--surface); }
.auth-side-inner { position: relative; height: 100%; min-height: 100vh; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: 40px 48px; }
.auth-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.auth-points .ne-icon { color: var(--warning-fill); }
.auth-main { display: grid; place-items: center; padding: 40px 24px; background: var(--bg); }
.auth-card { width: 100%; max-width: 440px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 32px; animation: ne-pop-in 320ms var(--ease) 60ms both; }
.auth-form { gap: 18px; }
.auth-title { margin: 6px 0 0; font-size: 26px; line-height: 32px; letter-spacing: -0.015em; }
.auth-mobile-logo { display: none; width: 44px; height: 44px; object-fit: contain; margin-bottom: 12px; }
.auth-roles { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 8px; } /* 7Q: Admin · Manager · Security */
.auth-role { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px; border: 1px solid var(--border-strong); border-radius: var(--radius-md); cursor: pointer; transition: border-color var(--dur-2) var(--ease), background-color var(--dur-2), box-shadow var(--dur-2); }
.auth-role .ne-icon { color: var(--ink-subtle); margin-bottom: 6px; transition: color var(--dur-2); }
.auth-role b { font-size: 14px; }
.auth-role span { font-size: 12px; color: var(--ink-muted); }
.auth-role:hover { border-color: var(--primary); }
.auth-role.is-on { border-color: var(--primary); background: var(--primary-soft); box-shadow: 0 0 0 1px var(--primary); }
.auth-role.is-on .ne-icon { color: var(--primary); }
.auth-role:focus-within { box-shadow: 0 0 0 3px var(--focus-ring); }
.auth-link { color: var(--primary); font-size: 13px; font-weight: 500; text-decoration: none; }
.auth-link:hover { text-decoration: underline; }
.auth-note { display: flex; align-items: center; gap: 6px; margin: 0; }
@media (max-width: 900px) {
  .auth { grid-template-columns: 1fr; }
  .auth-side { display: none; }
  .auth-main { min-height: 100vh; padding: 24px 16px 96px; align-items: start; }
  .auth-card { padding: 24px 20px; margin-top: 24px; }
  .auth-mobile-logo { display: block; }
}
@media (max-width: 420px) { .auth-roles { grid-template-columns: 1fr; } .auth-role { flex-direction: row; align-items: center; gap: 10px; } .auth-role .ne-icon { margin: 0; } .auth-role span { margin-left: auto; } }

/* ---------- worker ---------- */
.w-head img.ne-brand-mark { background: #fff; border-radius: 8px; padding: 3px; object-fit: contain; }
.ne-tile { min-height: 116px; transition: transform var(--dur-2) var(--ease), border-color var(--dur-2), box-shadow var(--dur-2); }
.w-links button { transition: background-color var(--dur-1) var(--ease); }
.w-links button:hover { background: var(--row-hover); }
.w-links button:active { background: var(--surface-sunken); }
.w-actions .ne-btn { min-height: 48px; }
@media (max-width: 640px) { .w-main > * { animation-duration: 180ms; } }

/* ---------- responsive fixes ---------- */
@media (max-width: 1180px) { .pub-head-actions { margin-left: auto; } }
@media (max-width: 640px) {
  .ne-page-head { flex-direction: column; align-items: stretch; }
  .ne-page-head .ne-row { justify-content: flex-start; }
  .pub-hero { min-height: 560px; }
  .pub-hero-inner { padding-block: 56px 24px; }
  .pub-hero-sub { font-size: 16px; line-height: 25px; }
  .pub-logo-name { font-size: 15px; }
  .attn { align-items: flex-start; flex-direction: column; }
  .pub-legacy-card { padding: 28px 20px; }
  .ne-modal-foot { justify-content: stretch; } .ne-modal-foot .ne-btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
  .ne-page > *, .ne-page > .ne-grid > *, .pub-main, .w-main > *, .pub-in, .auth-card { animation: none !important; }
  .pub-hero-slide { transition: opacity .8s ease !important; transform: none !important; }
  [data-reveal].rv { opacity: 1; transform: none; }
}
.w-actions .ne-btn { min-width: 0; white-space: normal; padding: 0 12px; line-height: 18px; }
.pub-checks { grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); }
.pub .ne-card-pad > .ne-row:first-child { flex-wrap: nowrap; align-items: flex-start; }
.pub .ne-card-pad > .ne-row:first-child > b { min-width: 0; }
.pub .ne-card-pad > .ne-row:first-child > .ne-badge { flex: none; }
@media (max-width: 640px) { .pub-hero-kicker { font-size: 11px; letter-spacing: .06em; } }
@media (max-width: 800px) { .pub-hero-shade { background: linear-gradient(0deg, rgba(8, 18, 34, .8) 0%, rgba(8, 18, 34, .64) 55%, rgba(8, 18, 34, .56) 100%); } }
/* phones and small tablets: service-style cards put the icon and title on one row and the text below, so the page is not a long stack of tall cards */
@media (max-width: 700px) {
  .pub-svc { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; row-gap: 8px; align-items: center; padding: var(--space-4); }
  .pub-svc .pub-card-title { margin: 0; }
  .pub-svc > p { grid-column: 1 / -1; }
}
.demo-bar { left: auto; right: 16px; }
.demo-menu { left: auto; right: 0; }
.ne-toasts { bottom: 72px; }
.worker .ne-toasts { bottom: 136px; }
.pub-mobile-nav button { padding: 0 4px; min-height: 50px; }
.ne-table td { white-space: nowrap; }
.ne-table td:has(.ne-textarea) { white-space: normal; }

/* ===== Brand: one logo + one wordmark style everywhere (white on navy) ===== */
.ne-wordmark { font-family: var(--font-sans); font-weight: 700; font-size: 17px; line-height: 22px; letter-spacing: .01em; color: #fff; white-space: nowrap; text-transform: none; }
.ne-wordmark-ink { color: var(--brand); }
.ne-brand .ne-wordmark { font-size: 17px; }
.pub-logo-img { width: 36px; height: 36px; object-fit: contain; flex: none; }
.ne-brand img.ne-brand-mark { width: 36px; height: 36px; }
.ne-brand-badge { display: inline-flex; align-items: center; gap: 10px; background: var(--sidebar); border-radius: var(--radius-md); padding: 10px 16px; }
.auth-mobile-logo.ne-brand-badge { display: none; margin-bottom: 16px; }
@media (max-width: 900px) { .auth-mobile-logo.ne-brand-badge { display: inline-flex; } }
.pub-legacy-card .ne-brand-badge { margin-bottom: 4px; }

/* navy public header */
.ne-pub-header, .pub-head { background: var(--sidebar); border-bottom-color: rgba(255, 255, 255, .08); }
.pub-head.is-scrolled { background: color-mix(in srgb, var(--sidebar) 94%, transparent); box-shadow: 0 6px 20px rgba(0, 0, 0, .25); }
.ne-pub-nav a { color: var(--sidebar-ink-muted); }
.ne-pub-nav a:hover, .ne-pub-nav a[aria-current] { color: #fff; }
.pub-head .ne-btn-primary { background: #fff; color: var(--sidebar); }
.pub-head .ne-btn-primary:hover { background: var(--primary-soft); color: var(--sidebar); }
.pub-head .ne-btn-ghost { color: #fff; }
.pub-head .ne-btn-ghost:hover { background: var(--sidebar-active); color: #fff; }
.pub-head .pub-logo:focus-visible, .pub-head a:focus-visible, .pub-head .ne-btn:focus-visible { outline-color: #fff; }
.w-head img.ne-brand-mark { background: none; padding: 0; border-radius: 0; }
.auth-mobile-logo.ne-brand-badge { width: auto; height: auto; object-fit: initial; }
.ne-gp-head .ne-wordmark { font-size: 15px; }
.pub-head-actions { flex-wrap: nowrap; }
@media (max-width: 440px) {
  .pub-head { gap: 8px; }
  .pub-head .ne-wordmark { font-size: 16px; }
  .pub-head .ne-btn-primary { font-size: 0; gap: 0; width: 32px; padding: 0; }
}
.pub-head .pub-burger, .pub-head .pub-burger .ne-icon { color: #fff; }
/* logo keeps its original blue: on navy it sits on a white tile */
img[src$="logo.jpg"], .ne-logo-tile { background: #fff; border-radius: 8px; padding: 2px; object-fit: contain; box-sizing: border-box; }
.ne-brand img.ne-brand-mark, .pub-logo-img, .w-head img.ne-brand-mark { background: #fff; border-radius: 8px; padding: 2px; }

/* ===== Policies (public) ===== */
.pol-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.pol-bar > .pol-lang:only-child { margin-left: auto; }
.pol-lang { display: inline-flex; padding: 3px; gap: 2px; border: 1px solid var(--border-strong); border-radius: var(--radius-pill, 999px); background: var(--surface); }
.pol-lang-btn { font: 600 14px/20px var(--font-sans), 'IBM Plex Sans Devanagari', sans-serif; padding: 7px 16px; min-height: 36px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-muted); cursor: pointer; }
.pol-lang-btn:hover { color: var(--ink); background: var(--surface-sunken); }
.pol-lang-btn.is-active { background: var(--primary); color: var(--on-primary); }
.pol-lang-btn:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.pol-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.pol-card .ne-btn { margin-top: 4px; }
[lang="hi"], [lang="hi"] .pub-card-title, [lang="hi"] .ne-btn { font-family: var(--font-sans), 'IBM Plex Sans Devanagari', 'Noto Sans Devanagari', 'Mangal', sans-serif; }
.pol-back { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; color: var(--primary); text-decoration: none; min-height: 36px; }
.pol-back:hover { text-decoration: underline; }
.pol-back .ne-icon, .pol-back svg { width: 18px; height: 18px; }
.pol-doc { max-width: 880px; overflow-wrap: break-word; min-width: 0; }
.pol-table td, .pol-table th { overflow-wrap: normal; word-break: keep-all; }
.pol-table td:nth-child(2), .pol-table th:nth-child(2) { white-space: nowrap; }
.pol-table td:nth-child(3), .pol-table th:nth-child(3) { white-space: normal; min-width: 110px; }
.pol-doc-head { display: flex; align-items: center; gap: 14px; padding-bottom: 16px; margin-bottom: 8px; border-bottom: 1px solid var(--border); }
.pol-title { margin: 2px 0 0; font-size: 22px; line-height: 30px; font-weight: 700; }
.pol-h { margin: 22px 0 8px; font-size: 16px; line-height: 24px; font-weight: 700; }
.pol-p { margin: 12px 0; font-size: 16px; line-height: 28px; }
.pol-p.is-strong { font-weight: 600; }
.pol-list { margin: 8px 0 12px; padding-left: 26px; font-size: 16px; line-height: 28px; }
.pol-list li + li { margin-top: 8px; }
.pol-list.is-arrow { list-style: none; padding-left: 26px; }
.pol-list.is-arrow li { position: relative; }
.pol-list.is-arrow li::before { content: '➤'; position: absolute; left: -22px; font-size: 12px; color: var(--primary); }
.pol-table-wrap { margin: 16px 0; border: 1px solid var(--border); border-radius: var(--radius-md); }
.pol-table td, .pol-table th { vertical-align: top; }
.pol-table td:first-child, .pol-table th:first-child { white-space: normal; }
.pol-table th { text-transform: none; letter-spacing: 0; font-size: 13px; }
.pol-table td:first-child { min-width: 180px; }
@media (max-width: 480px) { .pol-title { font-size: 19px; line-height: 26px; } .pol-p, .pol-list { font-size: 15px; line-height: 26px; } .pol-table td:first-child { min-width: 110px; } .pol-table td, .pol-table th { padding: 10px; } }

/* ===== About: overview, founder, certification ===== */
.pub-sub { margin: 28px 0 12px; font-size: 16px; line-height: 24px; font-weight: 600; }
.pub-scope { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); gap: 10px 20px; }
.pub-scope li { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.pub-stats.is-light .pub-stat b { color: var(--ink); }
.pub-stats.is-light .pub-stat span { color: var(--ink-muted); }
.pub-founder { gap: 14px; flex-wrap: nowrap; max-width: 360px; }
.pub-cert { display: grid; grid-template-columns: minmax(0, 220px) 1fr; gap: 28px; padding: var(--space-5, 20px); align-items: center; max-width: 880px; }
.pub-cert-thumb { all: unset; cursor: zoom-in; display: block; border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); }
.pub-cert-thumb img { display: block; width: 100%; height: auto; }
.pub-cert-thumb:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.pub-cert-body .ne-muted { margin: 10px 0 8px; }
.pub-cert-title { margin: 4px 0 2px; font: 700 28px/36px var(--font-sans); color: var(--primary); }
.pub-cert-view { background: var(--surface-sunken); border-radius: var(--radius-sm); padding: 8px; }
.pub-cert-view img { display: block; width: 100%; height: auto; max-width: 820px; margin: 0 auto; background: #fff; }
@media (max-width: 640px) { .pub-cert { grid-template-columns: 1fr; gap: 20px; } .pub-cert-thumb { max-width: 240px; } .pub-founder { max-width: none; } }

/* ===== Branded login panel + Legacy band (light/dark) ===== */
:root, [data-theme="light"] {
  --auth-bg: #eef3fb; --auth-ink: var(--primary); --auth-ink-2: #334766; --auth-ink-3: #5b6a80; --auth-line: rgba(27, 68, 153, .06); --auth-mark-op: .07;
  --legacy-veil: linear-gradient(180deg, rgba(244, 246, 250, .10), rgba(15, 39, 68, .38));
  --legacy-glass: rgba(255, 255, 255, .66); --legacy-edge: rgba(255, 255, 255, .7); --legacy-ink: #0f1c2e; --legacy-ink-2: #273449; --legacy-word: var(--brand);
}
[data-theme="dark"] {
  --auth-bg: #0c1a2e; --auth-ink: #e8eef7; --auth-ink-2: #c3cfdf; --auth-ink-3: #93a3ba; --auth-line: rgba(255, 255, 255, .045); --auth-mark-op: .12;
  --legacy-veil: linear-gradient(180deg, rgba(6, 12, 22, .30), rgba(6, 12, 22, .62));
  --legacy-glass: rgba(10, 20, 36, .58); --legacy-edge: rgba(255, 255, 255, .14); --legacy-ink: #f1f5fb; --legacy-ink-2: #cbd6e4; --legacy-word: #fff;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --auth-bg: #0c1a2e; --auth-ink: #e8eef7; --auth-ink-2: #c3cfdf; --auth-ink-3: #93a3ba; --auth-line: rgba(255, 255, 255, .045); --auth-mark-op: .12;
  --legacy-veil: linear-gradient(180deg, rgba(6, 12, 22, .30), rgba(6, 12, 22, .62));
  --legacy-glass: rgba(10, 20, 36, .58); --legacy-edge: rgba(255, 255, 255, .14); --legacy-ink: #f1f5fb; --legacy-ink-2: #cbd6e4; --legacy-word: #fff;
} }

.auth-side { position: relative; overflow: hidden; isolation: isolate; color: var(--auth-ink);
  background-color: var(--auth-bg);
  background-image: linear-gradient(var(--auth-line) 1px, transparent 1px), linear-gradient(90deg, var(--auth-line) 1px, transparent 1px);
  background-size: 48px 48px; border-right: 1px solid var(--border); }
.auth-side::after { content: ""; position: absolute; left: 48px; top: 0; width: 56px; height: 4px; background: var(--warning-fill); border-radius: 0 0 4px 4px; }
.auth-side-mark { position: absolute; z-index: -1; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(80%, 560px); height: auto; opacity: var(--auth-mark-op); pointer-events: none; user-select: none; }
.auth-logo { color: var(--auth-ink); font: 700 18px var(--font-sans); letter-spacing: .01em; gap: 14px; }
.auth-logo .ne-wordmark { color: var(--auth-ink); font-size: 20px; }
.auth-logo .pub-logo-img { width: 52px; height: 52px; border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.auth-copy h1 { margin: 0; font-size: 38px; line-height: 46px; font-weight: 700; letter-spacing: -0.02em; color: var(--auth-ink); }
.auth-copy p { margin: 14px 0 24px; font-size: 16px; line-height: 26px; color: var(--auth-ink-2); max-width: 42ch; }
.auth-points li { display: flex; align-items: center; gap: 10px; color: var(--auth-ink-2); font-size: 14px; }
.auth-foot { font-size: 12px; color: var(--auth-ink-3); }

.pub-legacy::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--legacy-veil); }
.pub-legacy-card { max-width: 600px; text-align: center; border-radius: var(--radius-lg); padding: 36px 36px 32px;
  background: var(--legacy-glass); border: 1px solid var(--legacy-edge);
  -webkit-backdrop-filter: blur(14px) saturate(1.15); backdrop-filter: blur(14px) saturate(1.15);
  box-shadow: 0 18px 48px rgba(6, 14, 28, .22); }
.pub-legacy-card .pub-h2 { color: var(--legacy-ink); }
.pub-legacy-card .pub-lead { color: var(--legacy-ink-2); }
.pub-legacy-card .ne-wordmark { color: var(--legacy-word); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .pub-legacy-card { background: color-mix(in srgb, var(--legacy-glass) 70%, var(--surface)); } }
.pub-legacy-card .ne-brand-badge { background: transparent; box-shadow: none; border: 0; padding: 0; }
/* login left panel: centre the main copy block within the panel (logo stays top-left, footer bottom-left) */
@media (min-width: 901px) {
  .auth-side-inner { display: grid; grid-template-rows: auto 1fr auto; justify-content: stretch; }
  .auth-copy { align-self: center; justify-self: center; width: fit-content; max-width: min(100%, 480px); }
}

.ne-chart-empty { min-height: 180px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: var(--ink-subtle); font-size: 14px; border: 1px dashed var(--border); border-radius: var(--radius-sm); }

/* ===== Salary slip (matches the company's printed slip) ===== */
.ne-ps { background: #fff; color: #111; font: 400 13px/1.45 var(--font-sans); border: 1px solid #d0d5dd; border-radius: 6px; padding: 24px 28px 18px; max-width: 820px; margin: 0 auto; }
.ne-ps .mono { font-family: var(--font-mono); font-size: 12.5px; }
.ne-ps-top { display: flex; }
.ne-ps-logo { width: 96px; height: auto; }
.ne-ps-head { text-align: center; margin: 4px 0 18px; font-weight: 700; }
.ne-ps-co { font-size: 15px; letter-spacing: .02em; }
.ne-ps-addr, .ne-ps-title { font-size: 13px; margin-top: 4px; }
.ne-ps-meta { display: grid; grid-template-columns: max-content minmax(0, 1fr) max-content minmax(0, 1fr); gap: 3px 16px; margin: 0 8px 14px; }
.ne-ps-meta .k { color: #333; }
.ne-ps-meta .v { overflow-wrap: anywhere; }
.ne-ps-meta .up { text-transform: uppercase; }
.ne-ps-tablewrap { overflow-x: auto; }
.ne-ps-table { width: 100%; min-width: 560px; border-collapse: collapse; border: 1px solid #333; font-size: 13px; }
.ne-ps-table th { font-weight: 700; text-align: center; border-bottom: 1px solid #333; border-right: 1px solid #333; padding: 4px 8px; }
.ne-ps-table td { padding: 2px 8px; border-right: 1px solid #333; vertical-align: top; height: 20px; }
.ne-ps-table .num { text-align: right; font-family: var(--font-mono); font-size: 12.5px; white-space: nowrap; }
.ne-ps-table .gap { width: 6px; padding: 0; border-right: 3px double #333; }
.ne-ps-table tfoot td { border-top: 1px solid #333; font-weight: 700; }
.ne-ps-table tr.net td, .ne-ps-table tr.words td { border-right: 0; border-top: 0; }
.ne-ps-table tr.net td:first-child, .ne-ps-table tr.words td:first-child { width: 1%; white-space: nowrap; }
.ne-ps-table tr.words td { font-weight: 700; padding-bottom: 6px; }
.ne-ps-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; border: 1px solid #333; border-top: 0; padding: 0 0 0 0; flex-wrap: wrap; }
.ne-ps-adv { border-collapse: collapse; font-size: 12px; }
.ne-ps-adv th { font-weight: 700; padding: 3px 8px; border: 1px solid #333; border-top: 0; border-left: 0; }
.ne-ps-adv td { padding: 2px 8px; border-right: 1px solid #333; border-bottom: 1px solid #333; }
.ne-ps-adv td.num { text-align: right; font-family: var(--font-mono); }
.ne-ps-sign { font-weight: 700; padding: 10px 24px 10px 0; }
.ne-ps-note { text-align: center; margin-top: 10px; font-size: 12.5px; }
@media (max-width: 560px) { .ne-ps { padding: 16px 12px; } .ne-ps-meta { grid-template-columns: max-content minmax(0, 1fr); } .ne-ps-meta .k:empty, .ne-ps-meta .k:empty + .v { display: none; } }
@media print { .ne-ps { border: 0; max-width: none; } }
.ne-ps-table th.num { text-align: center; font-family: var(--font-sans); font-size: 13px; }
.ne-ps-table td:first-child { white-space: nowrap; }
.ne-ps-meta .mono { font-family: var(--font-sans); font-size: 13px; }
.ne-ps-meta .cap { text-transform: uppercase; }
@media print { html, body, .ne, .ne-scrim, .ne-modal, .ne-modal-body, .w-slip { background: #fff !important; box-shadow: none !important; border: 0 !important; } }
@media print { .print-area { right: 0; width: auto !important; } .ne-ps { padding: 0; } .ne-ps-table { min-width: 0; } }

/* Phase 7H: report tables (screen + print) */
.rep-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.rep-table th, .rep-table td { padding: 6px 10px; border-bottom: 1px solid var(--border); text-align: left; white-space: nowrap; }
.rep-table th { background: var(--surface-sunken); font-weight: 600; position: sticky; top: 0; }
.rep-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.rep-table .rep-subtotal td { font-weight: 600; background: var(--surface-sunken); }
.rep-table .rep-total td { font-weight: 700; border-top: 2px solid var(--text); }
@media print {
  .rep-noprint { display: none !important; }
  .rep-print { width: 100%; }
  .rep-print .ne-card { box-shadow: none !important; border: 0 !important; }
  .rep-table { font-size: 9.5px; }
  .rep-table th, .rep-table td { padding: 3px 5px; white-space: normal; }
  .rep-table thead { display: table-header-group; }
  .rep-table tr { break-inside: avoid; }
  .rep-table th { background: #eee !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* Website · Clients section: name cards, optional logo (assets/clients/) */
.pub-clients { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pub-client { display: flex; flex-direction: column; justify-content: flex-start; gap: 6px; min-height: 120px; border-top: 3px solid var(--warning-fill); }
.pub-client-logo { display: block; height: 56px; width: auto; max-width: 220px; object-fit: contain; object-position: left center; margin-bottom: 10px; }
.pub-client-name { margin: 0; font-size: 18px; line-height: 1.3; font-weight: 600; color: var(--ink); }
.pub-client-full { color: var(--ink-muted); font-size: 14px; }
@media (max-width: 860px) { .pub-clients { grid-template-columns: 1fr; } .pub-client { min-height: 0; } }

/* Website · Our locations: map card per unit */
.pub-locations { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pub-location { overflow: hidden; display: flex; flex-direction: column; border-top: 3px solid var(--warning-fill); }
.pub-location-map { display: block; width: 100%; height: 260px; border: 0; background: var(--border); }
.pub-location-body { display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
.pub-location-body .ne-btn { margin-top: auto; text-decoration: none; }
@media (max-width: 860px) { .pub-locations { grid-template-columns: 1fr; } .pub-location-map { height: 220px; } }

/* ===== Phase 7Q: gate screen (SECURITY) — mobile first ===== */
.sec-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; background: var(--surface); border-bottom: 1px solid var(--border); }
.sec-title { font: 700 20px/26px var(--font-sans); color: var(--ink); }
.sec-page { display: flex; flex-direction: column; gap: 16px; max-width: 760px; }
.sec-form { display: flex; flex-wrap: wrap; gap: 8px; }
.sec-input { flex: 1 1 220px; height: 48px; font-size: 18px; text-transform: uppercase; }
.sec-form .ne-btn { height: 48px; }
.sec-result { margin-top: 16px; border-radius: var(--radius-md); padding: 14px; border: 2px solid; }
.sec-result.is-ok { border-color: var(--success); background: var(--success-soft); }
.sec-result.is-bad { border-color: var(--danger); background: var(--danger-soft); }
.sec-verdict { display: flex; align-items: center; gap: 10px; font: 700 20px/26px var(--font-sans); color: var(--ink); }
.sec-result.is-ok .sec-verdict .ne-icon { color: var(--success); }
.sec-result.is-bad .sec-verdict .ne-icon { color: var(--danger); }
.sec-pass { display: flex; gap: 14px; align-items: flex-start; margin-top: 12px; }
.sec-photo { width: 72px; height: 88px; border-radius: var(--radius-sm); object-fit: cover; flex: none; background: var(--surface-sunken); border: 1px solid var(--border); }
.sec-photo-none { display: grid; place-items: center; color: var(--ink-subtle); }
.sec-name { font: 600 18px/24px var(--font-sans); color: var(--ink); }
.sec-meta { color: var(--ink-muted); font-size: 14px; margin-top: 2px; }
.sec-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.sec-actions .ne-btn { flex: 1 1 160px; }
.sec-row { display: flex; justify-content: flex-end; }
.sec-h2 { margin: 0 0 10px; font: 600 16px/22px var(--font-sans); color: var(--ink); }
.sec-list { list-style: none; margin: 0; padding: 0; }
.sec-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--border); }
.sec-list li:first-child { border-top: 0; }
.sec-video { width: 100%; max-height: 60vh; border-radius: var(--radius-md); background: #000; }
@media (min-width: 1024px) { .sec-logout { display: none !important; } }
