
/* Northmark unified public site header, footer and evidence-safe urgency message.
   Scoped to nm-unified-* so the existing dashboards and forms keep their styles. */
.nm-unified-header,.nm-unified-footer,.nm-unified-urgency{box-sizing:border-box;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Arial,sans-serif}
.nm-unified-header *,.nm-unified-footer *,.nm-unified-urgency *{box-sizing:border-box}
.nm-unified-shell{width:min(1240px,calc(100% - 40px));margin:0 auto}
.nm-unified-header{position:relative;z-index:1000;background:#07111f;color:#f4f7fb;border-bottom:1px solid #263b4c;box-shadow:0 3px 15px rgba(0,0,0,.14)}
.nm-unified-navrow{min-height:82px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.nm-unified-brand{display:flex;align-items:center;gap:11px;text-decoration:none!important;color:#fff!important;min-width:215px}
.nm-unified-brandmark{width:43px;height:43px;display:grid;place-items:center;border-radius:12px;border:1px solid #8be0c0;background:#113e38;color:#c8ffe7;font-size:15px;font-weight:900;letter-spacing:-.04em}
.nm-unified-brand strong{display:block;font-size:14px;font-weight:850;line-height:1.25;letter-spacing:-.02em}
.nm-unified-brand small{display:block;font-size:10px;color:#a9c1cc;letter-spacing:.06em;font-weight:600;margin-top:3px}
.nm-unified-nav{display:flex;align-items:center;gap:clamp(9px,1.3vw,19px)}
.nm-unified-nav a{display:inline-flex;align-items:center;gap:4px;color:#dce9f0!important;text-decoration:none!important;font-size:12px;font-weight:720;white-space:nowrap;transition:color .15s ease}
.nm-unified-nav a:hover,.nm-unified-nav a[aria-current=page]{color:#8be0c0!important}
.nm-unified-nav .nm-unified-cta{background:#8be0c0;color:#07111f!important;padding:12px 13px;border-radius:8px;font-weight:850;box-shadow:0 3px 0 rgba(0,0,0,.25)}
.nm-unified-nav .nm-unified-cta:hover{background:#b1f5dc;color:#07111f!important}
.nm-unified-toggle{display:none;align-items:center;justify-content:center;width:42px;height:42px;background:transparent;border:1px solid #587486;border-radius:7px;color:#fff;cursor:pointer;font-size:21px}
.nm-unified-urgency{position:relative;z-index:20;background:linear-gradient(95deg,#243040,#111b29);color:#f7faff;border-block:1px solid #3d4854}
.nm-unified-urgency-row{padding:11px 0;display:flex;align-items:center;justify-content:space-between;gap:15px}
.nm-unified-urgency-flag{display:inline-flex;align-items:center;gap:8px;flex:0 0 auto;color:#ffd3bf;font-weight:850;font-size:11px;letter-spacing:.10em;border:1px solid rgba(255,153,121,.5);border-radius:6px;padding:7px 10px;background:rgba(152,60,41,.34);animation:nm-urgency-breathe 2.3s ease-in-out infinite}
.nm-unified-urgency-dot{display:inline-block;width:9px;height:9px;border-radius:50%;background:#ff9176;box-shadow:0 0 0 3px rgba(255,145,118,.2)}
.nm-unified-urgency-copy{flex:1;font-size:12px;line-height:1.48;color:#dce8f2}
.nm-unified-urgency-copy strong{color:white;font-weight:850}
.nm-unified-urgency-cta{flex:0 0 auto;text-decoration:none!important;background:#baf2da;color:#082417!important;border-radius:7px;padding:10px 13px;font-size:11px;font-weight:900;letter-spacing:.04em;white-space:nowrap}
.nm-unified-urgency-cta:hover{background:#fff;color:#061b0f!important}
@keyframes nm-urgency-breathe{0%,100%{box-shadow:0 0 0 rgba(255,137,103,0)}50%{box-shadow:0 0 0 4px rgba(255,137,103,.12)}}
.nm-unified-footer{background:#07111f;color:#d1dfe7;padding:36px 0 22px;font-size:12px}
.nm-unified-footer-grid{display:grid;grid-template-columns:minmax(230px,2fr) 1fr 1fr;gap:34px}
.nm-unified-footer strong{color:#fff;font-size:15px}
.nm-unified-footer p{color:#9cb5c4;max-width:350px;line-height:1.6}
.nm-unified-footer a{display:block;color:#d1dfe7!important;text-decoration:none!important;margin:0 0 10px;font-size:12px;font-weight:650}
.nm-unified-footer a:hover{color:#8be0c0!important}
.nm-unified-footer-rule{border-top:1px solid #274153;padding-top:15px;margin-top:18px;color:#adc4cf;line-height:1.55}
@media (max-width:1060px){.nm-unified-toggle{display:inline-flex}.nm-unified-nav{display:none;position:absolute;top:100%;left:0;right:0;flex-direction:column;align-items:stretch;gap:0;background:#091727;padding:12px 20px 18px;border-bottom:1px solid #405567;box-shadow:0 15px 30px rgba(0,0,0,.25)}.nm-unified-nav.nm-unified-open{display:flex}.nm-unified-nav a{padding:11px 12px;font-size:13px}.nm-unified-nav .nm-unified-cta{align-self:flex-start;margin-top:8px}.nm-unified-urgency-row{flex-wrap:wrap}.nm-unified-urgency-copy{flex-basis:calc(100% - 200px)}}
@media (max-width:600px){.nm-unified-shell{width:min(100% - 28px,1240px)}.nm-unified-brand strong{font-size:12px}.nm-unified-brand small{font-size:9px}.nm-unified-navrow{min-height:70px}.nm-unified-urgency-row{align-items:flex-start;gap:8px;padding:10px 0}.nm-unified-urgency-copy{flex-basis:100%;order:2;font-size:11px}.nm-unified-urgency-cta{order:3;margin-top:3px}.nm-unified-footer-grid{grid-template-columns:1fr 1fr;gap:22px}.nm-unified-footer-grid>div:first-child{grid-column:1 / -1}}
@media (prefers-reduced-motion:reduce){.nm-unified-urgency-flag{animation:none}.nm-unified-header *,.nm-unified-urgency *{transition:none!important}}


/* v2 design-system harmonization: same page order, ticker, dark hero and visual language.
   Data tables, jurisdiction filters and intake fields retain their own behavior. */
.nm-ux-active {
  background: #f5f8fa !important;
  color: #17263a;
  font-family: Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
}
.nm-ux-active .market-status,
.nm-ux-active .nm-market-status,
.nm-ux-active .tape,
.nm-ux-active .nm-tape {
  display:none !important;
}
.nm-unified-tape {
  position:relative;
  z-index:22;
  height:40px;
  background:#07111f;
  border-bottom:1px solid #233c50;
  color:#d6e5ed;
  display:flex;
  align-items:stretch;
  overflow:hidden;
  font-family:Inter,ui-sans-serif,system-ui,Arial,sans-serif;
}
.nm-unified-tape-label {
  display:flex;
  flex:0 0 auto;
  align-items:center;
  padding:0 18px;
  background:#0c2033;
  color:#8be0c0;
  font-size:10px;
  font-weight:900;
  letter-spacing:.12em;
  white-space:nowrap;
  border-right:1px solid #254359;
}
.nm-unified-tape-viewport {flex:1;min-width:0;overflow:hidden;display:flex;align-items:center}
.nm-unified-tape-track {display:flex;flex:0 0 auto;width:max-content;align-items:center;animation:nm-unified-ticker-run 54s linear infinite}
.nm-unified-tape-group {display:flex;flex:0 0 auto}
.nm-unified-tick {
  display:inline-flex;align-items:center;gap:9px;padding:0 19px;
  border-right:1px solid rgba(180,210,228,.15);white-space:nowrap;
  font-size:10px;font-weight:750;letter-spacing:.035em
}
.nm-unified-tick b {color:#8be0c0;font-weight:900;letter-spacing:.09em}
.nm-unified-tick:nth-child(6) b {
  color:#ffc0a9;
  animation:nm-unified-urgency-flash 2.4s ease-in-out infinite
}
.nm-unified-tape:hover .nm-unified-tape-track {animation-play-state:paused}
@keyframes nm-unified-ticker-run {to {transform:translateX(-50%)}}
@keyframes nm-unified-urgency-flash {0%,100%{opacity:1}50%{opacity:.5}}
.nm-unified-urgency {border-top:0}
.nm-ux-active .hero {
  background:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px) 0 0/36px 36px,
    linear-gradient(90deg,rgba(255,255,255,.018) 1px, transparent 1px) 0 0/36px 36px,
    radial-gradient(circle at 76% 24%,rgba(72,201,154,.13),transparent 32%),
    linear-gradient(140deg,#07111f 0%,#0c2035 65%,#0a1c2f 100%) !important;
  color:#f4f7fb !important;
  border-bottom:1px solid #244056 !important;
}
.nm-ux-active .hero .shell {max-width:1240px}
.nm-ux-active .hero .hero-grid {
  grid-template-columns:minmax(0,1.12fr) minmax(320px,.88fr) !important;
  gap:34px !important;
  align-items:center !important;
  padding:52px 0 56px !important
}
.nm-ux-active .hero h1 {
  color:#f4f7fb !important;
  font-size:clamp(31px,3.25vw,51px) !important;
  font-weight:850 !important;
  line-height:1.12 !important;
  letter-spacing:-.035em !important;
  margin:13px 0 18px !important;
}
.nm-ux-active .hero p,
.nm-ux-active .hero p.lead,
.nm-ux-active .hero .hero-copy p {
  color:#c7d7e3 !important;
  font-size:clamp(15px,1.32vw,18px) !important;
  line-height:1.7 !important;
}
.nm-ux-active .hero p strong {color:#fff !important}
.nm-ux-active .hero .eyebrow,
.nm-ux-active .hero .terminal-kicker,
.nm-ux-active .hero .kicker,
.nm-ux-active .hero-panel .label {
  color:#8be0c0 !important;
}
.nm-ux-active .hero .hero-panel,
.nm-ux-active .hero .desk {
  color:#e7eff5 !important;
  background:#101f33 !important;
  border:1px solid #29485d !important;
  border-radius:18px !important;
  box-shadow:0 20px 44px rgba(0,0,0,.17) !important;
}
.nm-ux-active .hero-panel h2,
.nm-ux-active .hero-panel h3 {color:#fff !important}
.nm-ux-active .hero-panel p,
.nm-ux-active .hero-panel small {color:#b6ccdb !important;font-size:14px !important}
.nm-ux-active .hero-grid > * {min-width:0}
.nm-ux-active main .section-head h2,
.nm-ux-active main .section h2 {
  letter-spacing:-.022em;
  color:#152d43
}
.nm-ux-active .nm-unified-footer {margin-top:0}
@media (max-width:900px) {
  .nm-ux-active .hero .hero-grid {
    grid-template-columns:1fr !important;
    padding:42px 0 44px !important;
    gap:25px !important;
  }
  .nm-unified-tape-label {padding:0 11px;font-size:9px}
  .nm-unified-tick {padding:0 12px}
}
@media (max-width:600px) {
  .nm-unified-tape {height:36px}
  .nm-ux-active .hero h1 {font-size:clamp(29px,7vw,37px) !important}
  .nm-ux-active .hero .hero-grid {padding:34px 0 40px !important}
  .nm-unified-urgency-row {padding:9px 0 !important}
}
@media (prefers-reduced-motion:reduce) {
  .nm-unified-tape-track,.nm-unified-tick:nth-child(6) b {animation:none !important}
  .nm-unified-tape-viewport {overflow-x:auto}
}
