.him-workspace,
.hpulse {
  --hp-teal: #008f8c;
  --hp-teal-dark: #006f6d;
  --hp-ink: #10213a;
  --hp-muted: #66768a;
  --hp-line: #d6e0e4;
  --hp-soft: #f5f8f9;
  --hp-amber: #d87c00;
  box-sizing: border-box;
  color: var(--hp-ink);
  font-family: Manrope, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.him-workspace *,
.hpulse * { box-sizing: border-box; }
.him-workspace [hidden],
.hpulse [hidden] { display: none !important; }
.him-workspace button,
.him-workspace input,
.hpulse button,
.hpulse input { font: inherit; }
.him-workspace {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  background: #fff;
}
.hiw-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 8px 2px 20px;
}
.hiw-head h1 {
  margin: 0;
  color: var(--hp-ink);
  font-size: clamp(30px, 3.1vw, 48px);
  font-weight: 720;
  letter-spacing: -.045em;
  line-height: 1.04;
}
.hiw-head p {
  max-width: 820px;
  margin: 9px 0 0;
  color: var(--hp-muted);
  font-size: 14px;
  line-height: 1.55;
}
.hiw-head > span {
  flex: 0 0 auto;
  padding-bottom: 3px;
  color: #7a8997;
  font-size: 11px;
  font-weight: 700;
}
.hiw-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  margin-bottom: 14px;
  padding: 5px;
  border: 1px solid #d5dfe3;
  border-radius: 13px;
  overflow: visible;
  background: #f5f8f8;
}
.hiw-tabs > button {
  position: relative;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 13px !important;
  min-height: 68px !important;
  margin: 0 !important;
  padding: 11px 20px !important;
  border: 0 !important;
  border-radius: 9px !important;
  background: transparent !important;
  color: #475a70 !important;
  -webkit-text-fill-color: #475a70 !important;
  text-align: left !important;
  box-shadow: none !important;
  opacity: 1 !important;
  transition: background-color .18s ease, color .18s ease, box-shadow .18s ease;
}
.hiw-tabs > button:hover {
  background: rgba(255,255,255,.7) !important;
  color: #243e4d !important;
}
.hiw-tabs > button svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hiw-tabs > button span { display: grid; gap: 2px; }
.hiw-tabs > button b {
  color: inherit !important;
  -webkit-text-fill-color: inherit !important;
  font-size: 15px;
  font-weight: 760;
  line-height: 1.15;
}
.hiw-tabs > button small {
  color: inherit !important;
  -webkit-text-fill-color: inherit !important;
  font-size: 11px;
  font-weight: 560;
  opacity: .78;
}
.hiw-tabs > button[aria-selected="true"] {
  background: #fff !important;
  color: var(--hp-teal-dark) !important;
  -webkit-text-fill-color: var(--hp-teal-dark) !important;
  box-shadow: 0 1px 3px rgba(20,45,61,.08), inset 0 -3px 0 var(--hp-teal) !important;
}
.hiw-panel { min-width: 0; }
.hiw-panel .him-app {
  max-width: none;
  margin: 0;
  border-radius: 14px;
  box-shadow: 0 18px 55px rgba(20, 45, 61, .07);
}
.him-no-hero .him-hero { display: none !important; }
.him-app .him-hero h2 {
  margin: 8px 0;
  color: #142134;
  font-size: clamp(32px, 3.5vw, 50px);
  font-weight: 720;
  letter-spacing: -.05em;
  line-height: 1;
}

.hpulse {
  position: relative;
  min-height: 680px;
  background: #fff;
}
.hpulse-standalone {
  max-width: 1600px;
  margin: 0 auto;
}
.hpulse-loading,
.hpulse-error {
  display: grid;
  place-content: center;
  min-height: 640px;
  padding: 40px;
  border: 1px solid var(--hp-line);
  border-radius: 14px;
  background: #fff;
  text-align: center;
}
.hpulse-loading i {
  width: 34px;
  height: 34px;
  margin: 0 auto 14px;
  border: 3px solid #d7e8e7;
  border-top-color: var(--hp-teal);
  border-radius: 50%;
  animation: hpulse-spin .8s linear infinite;
}
.hpulse-loading b,
.hpulse-error b { font-size: 15px; }
.hpulse-loading span,
.hpulse-error span {
  margin-top: 6px;
  color: var(--hp-muted);
  font-size: 12px;
}
.hpulse-error button {
  justify-self: center;
  margin-top: 15px;
  padding: 8px 16px;
  border: 1px solid var(--hp-teal);
  border-radius: 8px;
  background: #fff;
  color: var(--hp-teal-dark);
  font-weight: 750;
}
.hpulse-content {
  border: 1px solid #cfdce1;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}
.hpulse-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  min-height: 116px;
  border-bottom: 1px solid var(--hp-line);
}
.hpulse-metrics article {
  position: relative;
  min-width: 0;
  padding: 18px 21px 14px;
  border-right: 1px solid #dce4e7;
  overflow: hidden;
}
.hpulse-metrics article:last-child { border-right: 0; }
.hpulse-metrics article header {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}
.hpulse-metrics article header span {
  overflow: hidden;
  color: #52637a;
  font-size: 11px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hpulse-info {
  display: inline-grid !important;
  place-items: center !important;
  flex: 0 0 auto !important;
  width: 17px !important;
  min-width: 17px !important;
  height: 17px !important;
  min-height: 17px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid #8fa0af !important;
  border-radius: 50% !important;
  background: #fff !important;
  color: #68798a !important;
  -webkit-text-fill-color: #68798a !important;
  font-family: Georgia, serif !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  box-shadow: none !important;
}
.hpulse-metrics article > b {
  position: relative;
  z-index: 2;
  display: block;
  margin-top: 6px;
  color: var(--hp-ink);
  font-size: clamp(22px, 2.2vw, 31px);
  font-weight: 730;
  letter-spacing: -.04em;
  line-height: 1.05;
}
.hpulse-metrics article.positive > b { color: var(--hp-teal-dark); }
.hpulse-metrics article.negative > b { color: #a94343; }
.hpulse-metrics article > small {
  position: relative;
  z-index: 2;
  display: block;
  margin-top: 5px;
  color: #6f7f8e;
  font-size: 10px;
}
.hpulse-spark {
  position: absolute;
  right: 14px;
  bottom: 10px;
  width: 88px;
  height: 28px;
  opacity: .42;
  pointer-events: none;
}
.hpulse-spark polyline {
  fill: none;
  stroke: var(--hp-teal);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}
.hpulse-spark.negative polyline { stroke: #a94343; }
.hpulse-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  min-width: 0;
}
.hpulse-stage {
  min-width: 0;
  padding: 14px;
  border-right: 1px solid var(--hp-line);
}
.hpulse-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.hpulse-modes {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.hpulse-toolbar-right{display:flex;align-items:center;gap:10px;margin-left:auto}
.hpulse-currency{display:grid;grid-template-columns:1fr 1fr;flex:0 0 116px;width:116px;min-width:116px;padding:3px;border:1px solid #d5dfe1;border-radius:10px;background:#f3f6f6}
.hpulse-currency button{display:flex!important;align-items:center!important;justify-content:center!important;min-width:0!important;min-height:32px!important;margin:0!important;padding:0 8px!important;border:0!important;border-radius:7px!important;background:transparent!important;color:#657473!important;font:700 10px/1 Manrope,Arial,sans-serif!important;letter-spacing:.045em;white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important;cursor:pointer}
.hpulse-currency button[aria-pressed="true"]{background:#fff!important;color:#007f7c!important;box-shadow:0 1px 4px rgba(9,45,44,.12),inset 0 0 0 1px rgba(0,143,140,.14)!important}
.hpulse-currency button:disabled{opacity:.38;cursor:not-allowed}
.hpulse-method small{display:block;margin-top:5px;color:#738180;font-size:10px;line-height:1.45}
.hpulse-modes button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  min-height: 39px !important;
  margin: 0 !important;
  padding: 0 14px !important;
  border: 1px solid #cfdae0 !important;
  border-radius: 8px !important;
  background: #fff !important;
  color: #30445d !important;
  -webkit-text-fill-color: #30445d !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  box-shadow: none !important;
}
.hpulse-modes button svg,
.hpulse-search svg,
.hpulse-profile svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hpulse-modes button[aria-selected="true"] {
  border-color: var(--hp-teal) !important;
  background: var(--hp-teal) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}
.hpulse-search {
  display: flex;
  align-items: center;
  flex: 0 1 230px;
  height: 39px;
  padding: 0 11px;
  border: 1px solid #cfdae0;
  border-radius: 8px;
  color: #607288;
  background: #fff;
}
.hpulse-search input {
  min-width: 0;
  width: 100%;
  height: 35px;
  margin: 0 !important;
  padding: 0 0 0 8px !important;
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  color: var(--hp-ink) !important;
  -webkit-text-fill-color: var(--hp-ink) !important;
  font-size: 11px !important;
  box-shadow: none !important;
}
.hpulse-search input::placeholder {
  color: #8d9aa7;
  -webkit-text-fill-color: #8d9aa7;
  opacity: 1;
}
.hpulse-stage-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: 6px 3px 12px;
}
.hpulse-stage-head h2 {
  margin: 0;
  color: var(--hp-ink);
  font-size: 18px;
  font-weight: 740;
  letter-spacing: -.025em;
}
.hpulse-stage-head p {
  margin: 4px 0 0;
  color: var(--hp-muted);
  font-size: 10px;
  line-height: 1.5;
}
.hpulse-stage-head > span {
  flex: 0 0 auto;
  color: #82909d;
  font-size: 9px;
  font-weight: 650;
}
.hpulse-treemap {
  position: relative;
  width: 100%;
  height: 590px;
  overflow: hidden;
  border: 1px solid #ccdadd;
  border-radius: 8px;
  background: #edf3f3;
}
.hpulse-tile {
  position: absolute !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 10px !important;
  border: 2px solid #fff !important;
  border-radius: 0 !important;
  color: var(--hp-ink) !important;
  -webkit-text-fill-color: var(--hp-ink) !important;
  text-align: left !important;
  box-shadow: none !important;
  overflow: hidden !important;
  transition: filter .18s ease, box-shadow .18s ease;
}
.hpulse-tile:hover,
.hpulse-tile:focus-visible {
  outline: 0;
}
.hpulse-tile.selected {
  z-index: 5;
  box-shadow: inset 0 0 0 3px var(--hp-teal-dark), inset 0 0 0 5px #fff !important;
}
.hpulse-tile strong {
  display: block;
  max-width: 100%;
  overflow: hidden;
  color: inherit !important;
  -webkit-text-fill-color: inherit !important;
  font-size: 11px;
  font-weight: 760;
  line-height: 1.18;
  text-overflow: ellipsis;
}
.hpulse-tile span,
.hpulse-tile small {
  display: block;
  max-width: 100%;
  margin-top: 4px;
  overflow: hidden;
  color: inherit !important;
  -webkit-text-fill-color: inherit !important;
  font-size: 9px;
  font-weight: 650;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
  opacity: .9;
}
.hpulse-tile.large { padding: 15px !important; }
.hpulse-tile.large strong { font-size: 15px; }
.hpulse-tile.large span { margin-top: 7px; font-size: 12px; }
.hpulse-tile.large small { font-size: 10px; }
.hpulse-tile.small { padding: 5px !important; }
.hpulse-tile.small strong { font-size: 8px; white-space: nowrap; }
.hpulse-tile.small span,
.hpulse-tile.small small { display: none; }
.hpulse-treemap.is-list {
  height: 590px;
  overflow: auto;
  background: #fff;
}
.hpulse-list-head,
.hpulse-list-row {
  display: grid;
  grid-template-columns: minmax(180px, 1.65fr) repeat(4, minmax(90px, .8fr));
  align-items: center;
  gap: 12px;
}
.hpulse-list-head {
  position: sticky;
  top: 0;
  z-index: 3;
  min-height: 40px;
  padding: 0 16px;
  border-bottom: 1px solid #d9e3e5;
  background: #f4f8f8;
  color: #68798a;
  font-size: 8px;
  font-weight: 780;
  letter-spacing: .055em;
  text-transform: uppercase;
}
.hpulse-list-row {
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 7px 16px;
  border: 0;
  border-bottom: 1px solid #e7edef;
  border-radius: 0;
  background: #fff;
  color: #34485a;
  text-align: left;
  cursor: pointer;
}
.hpulse-list-row:last-child { border-bottom: 0; }
.hpulse-list-row strong {
  overflow: hidden;
  color: var(--hp-ink);
  font-size: 11px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hpulse-list-row > span {
  color: #4f6170;
  font-size: 10px;
  font-weight: 650;
}
.hpulse-list-row.selected {
  background: #eef8f7;
  box-shadow: inset 3px 0 0 var(--hp-teal);
}
.hpulse-attention {
  display: inline-flex;
  min-width: 42px;
  justify-content: center;
  padding: 4px 7px;
  border-radius: 999px;
  background: #d9eeec;
  color: #285b59;
  font-size: 9px;
}
.hpulse-attention.high { background: #f7dfb1; color: #865000; }
.hpulse-attention.low { background: #edf2f3; color: #6b7b87; }
.hpulse-list-row .positive { color: #087b63; }
.hpulse-list-row .negative { color: #b34a4a; }
@media (prefers-reduced-motion: reduce) {
  .hpulse-tile { transition: none; }
}
.hpulse-no-results {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 5px;
  text-align: center;
}
.hpulse-no-results span { color: var(--hp-muted); font-size: 11px; }
.hpulse-legend {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
  padding: 11px 3px 2px;
  color: #68798a;
  font-size: 9px;
}
.hpulse-legend span { display: inline-flex; align-items: center; gap: 6px; }
.hpulse-legend i {
  display: block;
  width: 16px;
  height: 8px;
  border-radius: 2px;
}
.hpulse-legend .low { background: #edf3f3; }
.hpulse-legend .normal { background: #d4ece9; }
.hpulse-legend .high { background: #f4c56f; }
.hpulse-legend .selected { border: 2px solid var(--hp-teal-dark); background: #fff; }
.hpulse-rail {
  min-width: 0;
  background: #fff;
}
.hpulse-leaders,
.hpulse-selection { padding: 18px; }
.hpulse-leaders { border-bottom: 1px solid var(--hp-line); }
.hpulse-leaders > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 11px;
}
.hpulse-leaders h3,
.hpulse-selected-head h3 {
  margin: 0;
  color: var(--hp-ink);
  font-size: 15px;
  font-weight: 750;
  letter-spacing: -.02em;
}
.hpulse-leaders header p {
  margin: 3px 0 0;
  color: var(--hp-muted);
  font-size: 9px;
}
.hpulse-leaders ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
.hpulse-leaders li { margin: 0; padding: 0; }
.hpulse-leaders li button {
  display: grid !important;
  grid-template-columns: 20px minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 7px !important;
  width: 100% !important;
  min-height: 30px !important;
  margin: 0 !important;
  padding: 3px 5px !important;
  border: 0 !important;
  border-left: 3px solid transparent !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--hp-ink) !important;
  -webkit-text-fill-color: var(--hp-ink) !important;
  text-align: left !important;
  box-shadow: none !important;
}
.hpulse-leaders li button:hover,
.hpulse-leaders li button.selected {
  border-left-color: var(--hp-teal) !important;
  background: #f2f9f8 !important;
}
.hpulse-leaders li button i {
  color: #758494;
  font-size: 9px;
  font-style: normal;
  font-weight: 700;
}
.hpulse-leaders li button span {
  overflow: hidden;
  color: inherit !important;
  -webkit-text-fill-color: inherit !important;
  font-size: 10px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hpulse-leaders li button b {
  color: #56697c !important;
  -webkit-text-fill-color: #56697c !important;
  font-size: 9px;
  font-weight: 750;
}
.hpulse-leaders li button b.hot,
.hpulse-selected-head > b.hot {
  color: var(--hp-amber) !important;
  -webkit-text-fill-color: var(--hp-amber) !important;
}
.hpulse-selection { min-height: 310px; }
.hpulse-selection-empty {
  display: grid;
  place-content: center;
  min-height: 270px;
  text-align: center;
}
.hpulse-selection-empty b { font-size: 14px; }
.hpulse-selection-empty span {
  max-width: 235px;
  margin-top: 5px;
  color: var(--hp-muted);
  font-size: 10px;
  line-height: 1.5;
}
.hpulse-selected-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.hpulse-selected-head > div > span {
  display: block;
  margin-top: 4px;
  color: #7b8997;
  font-size: 9px;
}
.hpulse-selected-head > b {
  display: grid;
  flex: 0 0 auto;
  color: var(--hp-teal-dark) !important;
  -webkit-text-fill-color: var(--hp-teal-dark) !important;
  font-size: 13px;
  text-align: right;
}
.hpulse-selected-head > b small {
  margin-top: 2px;
  color: #778797 !important;
  -webkit-text-fill-color: #778797 !important;
  font-size: 7px;
  font-weight: 650;
}
.hpulse-linked {
  margin: 12px 0;
  padding: 8px 9px;
  border-left: 2px solid var(--hp-teal);
  background: #f4f9f9;
  color: #5e7081;
  font-size: 9px;
  line-height: 1.45;
}
.hpulse-linked a {
  color: var(--hp-teal-dark) !important;
  font-weight: 750;
  text-decoration: none !important;
}
.hpulse-linked.unmapped { border-left-color: #aab6bf; }
.hpulse-selected-metrics {
  margin: 0;
  border-top: 1px solid #e0e7ea;
}
.hpulse-selected-metrics > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 34px;
  border-bottom: 1px solid #e0e7ea;
}
.hpulse-selected-metrics dt {
  color: #5c6e81;
  font-size: 9px;
}
.hpulse-selected-metrics dd {
  margin: 0;
  color: var(--hp-ink);
  font-size: 10px;
  font-weight: 740;
  text-align: right;
}
.hpulse-profile {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  margin-top: 14px !important;
  color: var(--hp-teal-dark) !important;
  -webkit-text-fill-color: var(--hp-teal-dark) !important;
  font-size: 11px !important;
  font-weight: 780 !important;
  text-decoration: none !important;
}
.hpulse-profile svg { width: 16px; height: 16px; }
.hpulse-method {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  min-height: 48px;
  padding: 10px 17px;
  border-top: 1px solid var(--hp-line);
  color: #6b7b8b;
  font-size: 9px;
}
.hpulse-method b {
  color: #82909c;
  font-size: 8px;
  font-weight: 650;
}
.hpulse-sheet,
.hpulse-sheet-backdrop { display: none; }
.hpulse-popover {
  position: fixed;
  z-index: 1000000;
  padding: 16px 36px 16px 16px;
  border: 1px solid #cad8dc;
  border-radius: 10px;
  background: #fff;
  color: var(--hp-ink, #10213a);
  box-shadow: 0 18px 55px rgba(19, 43, 58, .18);
  font-family: Manrope, Inter, system-ui, sans-serif;
}
.hpulse-popover p {
  margin: 0;
  color: #526478;
  font-size: 11px;
  line-height: 1.6;
}
.hpulse-popover button {
  position: absolute;
  top: 8px;
  right: 8px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #66798a;
  font-size: 18px;
}
.hpulse-connections { margin-top: 18px; }
.hpulse-connections section { margin-top: 16px; }
.hpulse-connections h4 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 7px;
  color: #657587;
  font-size: 9px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.hpulse-connections h4 b { color: var(--hp-teal-dark); }
.hpulse-connections section > a {
  display: grid;
  gap: 3px;
  padding: 9px 0;
  border-top: 1px solid #e1e8ea;
  color: var(--hp-ink) !important;
  text-decoration: none !important;
}
.hpulse-connections section > a strong { font-size: 10px; }
.hpulse-connections section > a span {
  color: #71808e;
  font-size: 8px;
  line-height: 1.45;
}
@keyframes hpulse-spin { to { transform: rotate(360deg); } }

@media (max-width: 1180px) {
  .hpulse-main { grid-template-columns: minmax(0, 1fr) 310px; }
  .hpulse-modes button { padding: 0 10px !important; font-size: 10px !important; }
  .hpulse-treemap { height: 560px; }
}
@media (max-width: 940px) {
  .hpulse-main { display: block; }
  .hpulse-stage { border-right: 0; }
  .hpulse-rail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid var(--hp-line);
  }
  .hpulse-leaders { border-right: 1px solid var(--hp-line); border-bottom: 0; }
  .hpulse-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hpulse-metrics article:nth-child(2) { border-right: 0; }
  .hpulse-metrics article:nth-child(-n+2) { border-bottom: 1px solid #dce4e7; }
}
@media (max-width: 760px) {
  .hpulse-toolbar-right{width:100%;margin-left:0;justify-content:space-between}
  .hiw-head { padding: 4px 1px 15px; }
  .hiw-head h1 { font-size: 29px; }
  .hiw-head p { font-size: 12px; }
  .hiw-head > span { display: none; }
  .hiw-tabs { margin-bottom: 10px; }
  .hiw-tabs > button {
    min-height: 55px !important;
    gap: 8px !important;
    padding: 8px !important;
    text-align: center !important;
  }
  .hiw-tabs > button[data-hiw-tab="pulse"] { order: -1; }
  .hiw-tabs > button svg { display: none; }
  .hiw-tabs > button b { font-size: 13px; }
  .hiw-tabs > button small { font-size: 8px; }
  .hpulse-content { border-radius: 11px; }
  .hpulse-metrics {
    display: grid;
    grid-auto-columns: minmax(205px, 72vw);
    grid-auto-flow: column;
    grid-template-columns: none;
    min-height: 116px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    scroll-snap-type: inline mandatory;
  }
  .hpulse-metrics::-webkit-scrollbar { display: none; }
  .hpulse-metrics article {
    min-height: 116px;
    border-right: 1px solid #dce4e7 !important;
    border-bottom: 0 !important;
    scroll-snap-align: start;
  }
  .hpulse-main { display: block; }
  .hpulse-stage { padding: 10px; }
  .hpulse-toolbar { display: grid; }
  .hpulse-modes {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }
  .hpulse-modes::-webkit-scrollbar { display: none; }
  .hpulse-modes button { flex: 0 0 auto; min-height: 38px !important; }
  .hpulse-search { width: 100%; max-width: none; flex-basis: auto; }
  .hpulse-stage-head { align-items: flex-start; }
  .hpulse-stage-head > span { display: none; }
  .hpulse-stage-head p { max-width: 320px; }
  .hpulse-treemap { height: 650px; }
  .hpulse-treemap.is-list { height: 650px; }
  .hpulse-list-head { display: none; }
  .hpulse-list-row {
    grid-template-columns: 1fr 1fr;
    gap: 8px 14px;
    min-height: 108px;
    padding: 13px 14px;
  }
  .hpulse-list-row strong {
    grid-column: 1 / -1;
    padding-bottom: 7px;
    border-bottom: 1px solid #e7edef;
    font-size: 12px;
  }
  .hpulse-list-row > span {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 7px;
    align-items: center;
    font-size: 9px;
  }
  .hpulse-list-row > span::before {
    color: #7a8996;
    font-size: 7px;
    font-weight: 700;
    letter-spacing: .035em;
    text-transform: uppercase;
    content: attr(data-label);
  }
  .hpulse-rail { display: block; }
  .hpulse-leaders {
    border-right: 0;
    border-bottom: 0;
    border-top: 1px solid var(--hp-line);
  }
  .hpulse-selection { display: none; }
  .hpulse-method { display: grid; gap: 4px; }
  .hpulse-method b { font-size: 7px; }
  .hpulse-sheet-backdrop {
    position: fixed;
    inset: 0;
    z-index: 999998;
    display: block;
    background: rgba(10, 25, 39, .28);
    backdrop-filter: blur(2px);
  }
  .hpulse-sheet {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 999999;
    display: block;
    max-height: 84vh;
    padding: 30px 20px max(20px, env(safe-area-inset-bottom));
    border: 1px solid #d3dee2;
    border-radius: 22px 22px 0 0;
    overflow: auto;
    background: #fff;
    box-shadow: 0 -18px 60px rgba(18, 40, 54, .2);
    transform: translateY(104%);
    transition: transform .24s ease;
  }
  .hpulse-sheet[aria-hidden="false"] { transform: translateY(0); }
  .hpulse-sheet::before {
    position: absolute;
    top: 10px;
    left: 50%;
    width: 46px;
    height: 5px;
    border-radius: 999px;
    background: #c8d0d5;
    transform: translateX(-50%);
    content: "";
  }
  .hpulse-sheet-close {
    position: absolute !important;
    top: 16px !important;
    right: 16px !important;
    display: grid !important;
    place-items: center !important;
    width: 34px !important;
    min-width: 34px !important;
    height: 34px !important;
    min-height: 34px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #6c7b88 !important;
    -webkit-text-fill-color: #6c7b88 !important;
    font-size: 26px !important;
    box-shadow: none !important;
  }
  .hpulse-sheet .hpulse-selected-head { padding-right: 36px; }
  .hpulse-sheet .hpulse-selected-head h3 { font-size: 22px; }
  .hpulse-sheet .hpulse-selected-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 14px;
    margin-top: 12px;
  }
  .hpulse-sheet .hpulse-selected-metrics > div {
    display: grid;
    align-content: center;
    min-height: 58px;
  }
  .hpulse-sheet .hpulse-selected-metrics dd { margin-top: 4px; text-align: left; font-size: 13px; }
  .hpulse-sheet .hpulse-profile {
    min-height: 48px;
    padding: 0 12px;
    border: 1px solid var(--hp-teal);
    border-radius: 9px;
  }
  .hpulse-sheet-method {
    margin: 18px 0 0;
    color: #6c7b89;
    font-size: 9px;
    line-height: 1.5;
  }
  .hpulse-popover.mobile {
    right: 14px !important;
    bottom: max(14px, env(safe-area-inset-bottom)) !important;
    left: 14px !important;
    top: auto !important;
    width: auto !important;
    padding: 18px 42px 18px 18px;
    border-radius: 13px;
  }
  .hpulse-sheet-open { overflow: hidden; }
}
@media (max-width: 480px) {
  .hiw-head h1 { font-size: 26px; }
  .hiw-tabs > button small { display: none; }
  .hpulse-treemap { height: 610px; }
  .hpulse-treemap.is-list { height: 610px; }
  .hpulse-tile { padding: 7px !important; }
  .hpulse-tile.large { padding: 11px !important; }
  .hpulse-tile.large strong { font-size: 13px; }
  .hpulse-tile.large span { font-size: 10px; }
  .hpulse-legend { gap: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .hpulse-tile,
  .hpulse-sheet { transition: none !important; }
}

/* v1.5.2 — Market-style Industry workspace masthead and view switcher */
.him-workspace{
  position:relative;
}
.hiw-head{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:52px;
  min-height:248px;
  overflow:hidden;
  padding:clamp(38px,4vw,58px) clamp(28px,5vw,76px) clamp(78px,6vw,94px);
  color:#fff;
  background:linear-gradient(112deg,#0b706c 0%,#076763 55%,#064f4d 100%);
  border-radius:18px;
  isolation:isolate;
}
.hiw-head::before,
.hiw-head::after{
  position:absolute;
  z-index:-1;
  content:"";
  pointer-events:none;
}
.hiw-head::before{
  top:-82%;
  right:-4%;
  width:min(590px,44vw);
  aspect-ratio:1;
  border:1px solid rgba(255,255,255,.1);
  border-radius:50%;
  box-shadow:0 0 0 64px rgba(255,255,255,.022),0 0 0 128px rgba(255,255,255,.014);
}
.hiw-head::after{
  right:clamp(28px,6vw,88px);
  bottom:44px;
  width:86px;
  height:2px;
  background:linear-gradient(90deg,rgba(255,255,255,0),rgba(255,255,255,.28));
}
.hiw-head-copy{min-width:0}
.hiw-head h1{
  max-width:780px;
  margin:0;
  color:#fff;
  font-size:clamp(34px,3.35vw,52px);
  font-weight:680;
  line-height:1.08;
  letter-spacing:-.044em;
  text-wrap:balance;
}
.hiw-head h1>span{display:block}
.hiw-head p{
  max-width:720px;
  margin:15px 0 0;
  color:rgba(239,252,251,.76);
  font-size:clamp(12px,1vw,15px);
  font-weight:450;
  line-height:1.62;
}
.hiw-guide-action{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  min-height:44px;
  margin-top:48px;
  padding:0 18px;
  color:#0a6663!important;
  -webkit-text-fill-color:#0a6663!important;
  background:#fff;
  border:1px solid rgba(255,255,255,.92);
  border-radius:7px;
  box-shadow:0 8px 22px rgba(0,39,38,.10);
  font-size:11px;
  font-weight:760;
  line-height:1;
  text-decoration:none!important;
  white-space:nowrap;
  transition:color .18s ease,background-color .18s ease,border-color .18s ease,transform .18s ease;
}
.hiw-guide-action:hover,
.hiw-guide-action:focus-visible{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  background:rgba(4,73,71,.78);
  border-color:rgba(255,255,255,.42);
  outline:0;
  transform:translateY(-1px);
}
.hiw-guide-action>span{
  font-size:15px;
  line-height:1;
}
.hiw-status{
  position:relative;
  display:block;
  flex:0 0 auto;
  margin-top:-34px;
  padding:7px 0 7px 18px;
  color:rgba(241,253,252,.68);
  font-size:10px;
  font-weight:650;
  white-space:nowrap;
}
.hiw-status>i{
  position:absolute;
  top:50%;
  left:0;
  width:7px;
  height:7px;
  background:rgba(255,255,255,.85);
  border-radius:50%;
  transform:translateY(-50%);
  box-shadow:0 0 0 5px rgba(255,255,255,.08);
}
.hiw-switcher{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:minmax(230px,280px) minmax(0,1fr);
  gap:12px;
  margin:-46px 24px 18px;
  padding:12px;
  overflow:hidden;
  background:#fff;
  border:1px solid #d4dfdf;
  border-radius:16px;
  box-shadow:0 16px 42px rgba(15,43,46,.10);
  isolation:isolate;
}
.hiw-switcher-label{
  position:relative;
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-height:104px;
  padding:16px 24px 16px 14px;
  color:#10213a;
}
.hiw-switcher-label::after{
  position:absolute;
  top:15px;
  right:0;
  bottom:15px;
  width:1px;
  background:#e1e8e8;
  content:"";
}
.hiw-switcher-label>span{
  color:#08706d;
  font-size:9px;
  font-weight:800;
  letter-spacing:.12em;
  line-height:1.2;
  text-transform:uppercase;
}
.hiw-switcher-label>strong{
  display:block;
  max-width:230px;
  margin-top:8px;
  color:#10213a;
  font-size:18px;
  font-weight:720;
  line-height:1.24;
  letter-spacing:-.028em;
}
.hiw-switcher-label>small{
  display:block;
  max-width:230px;
  margin-top:7px;
  color:#72808d;
  font-size:9px;
  line-height:1.5;
}
.hiw-switcher .hiw-tabs{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:9px;
  margin:0;
  padding:0;
  overflow:visible;
  background:transparent;
  border:0;
  border-radius:12px;
}
.hiw-switcher .hiw-tabs>button{
  position:relative;
  display:grid!important;
  grid-template-columns:40px minmax(0,1fr) 34px;
  align-items:center!important;
  justify-content:stretch!important;
  gap:12px!important;
  min-height:104px!important;
  margin:0!important;
  padding:14px 14px 14px 15px!important;
  overflow:hidden;
  color:#324659!important;
  -webkit-text-fill-color:currentColor!important;
  background:#f8faf9!important;
  border:1px solid #dbe4e4!important;
  border-radius:12px!important;
  text-align:left!important;
  box-shadow:none!important;
  cursor:pointer!important;
  opacity:1!important;
  transition:background-color .18s ease,border-color .18s ease,color .18s ease!important;
}
.hiw-switcher .hiw-tabs>button:hover{
  color:#164442!important;
  background:#f3f8f7!important;
  border-color:#a9c3c1!important;
}
.hiw-switcher .hiw-tabs>button:focus-visible{
  outline:3px solid rgba(7,111,108,.2)!important;
  outline-offset:2px!important;
}
.hiw-switcher .hiw-tabs>button[aria-selected="true"]{
  color:#0a4f4d!important;
  background:#eef7f6!important;
  border-color:#4e9691!important;
  box-shadow:inset 3px 0 0 #08706d!important;
}
.hiw-choice-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:40px;
  height:40px;
  color:#547170;
  background:#fff;
  border:1px solid #d8e2e1;
  border-radius:9px;
}
.hiw-tabs>button[aria-selected="true"] .hiw-choice-icon{
  color:#076f6c;
  border-color:#b7d0ce;
}
.hiw-choice-icon svg{
  width:21px!important;
  height:21px!important;
  flex:0 0 auto;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.hiw-choice-copy{
  display:block!important;
  min-width:0;
}
.hiw-choice-copy>em{
  display:block;
  margin-bottom:5px;
  color:#7b898f;
  font-size:7px;
  font-style:normal;
  font-weight:800;
  letter-spacing:.1em;
  line-height:1.2;
  text-transform:uppercase;
}
.hiw-switcher .hiw-tabs>button .hiw-choice-copy>b{
  display:block;
  color:inherit!important;
  -webkit-text-fill-color:inherit!important;
  font-size:13px;
  font-weight:730;
  line-height:1.25;
}
.hiw-switcher .hiw-tabs>button .hiw-choice-copy>small{
  display:block;
  margin-top:5px;
  color:#6f7f8b!important;
  -webkit-text-fill-color:#6f7f8b!important;
  font-size:8px;
  font-weight:560;
  line-height:1.45;
  opacity:1;
}
.hiw-choice-state{
  display:flex;
  align-items:center;
  justify-content:center;
  align-self:center;
  width:34px;
  height:34px;
  padding:0;
  color:#587170;
  background:#fff;
  border:1px solid #d6e1e0;
  border-radius:9px;
}
.hiw-choice-state svg{
  width:16px!important;
  height:16px!important;
  fill:none;
  stroke:currentColor;
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
  transition:transform .18s ease;
}
.hiw-tabs>button:hover .hiw-choice-state svg{transform:translateX(2px)}
.hiw-tabs>button[aria-selected="true"] .hiw-choice-state{
  color:#fff;
  background:#08706d;
  border-color:#08706d;
}

@media(max-width:980px){
  .hiw-switcher{
    grid-template-columns:1fr;
    gap:10px;
  }
  .hiw-switcher-label{
    display:block;
    min-height:auto;
    padding:9px 8px 12px;
  }
  .hiw-switcher-label::after{
    top:auto;
    right:8px;
    bottom:0;
    left:8px;
    width:auto;
    height:1px;
  }
  .hiw-switcher-label>strong{margin-top:6px}
  .hiw-switcher-label>small{
    max-width:none;
    margin-top:4px;
    text-align:left;
  }
}
@media(max-width:760px){
  .hiw-head{
    display:block;
    min-height:248px;
    padding:32px 23px 78px;
    border-radius:14px;
  }
  .hiw-head h1{
    max-width:470px;
    color:#fff;
    font-size:clamp(31px,9.4vw,38px);
    line-height:1.08;
  }
  .hiw-head p{
    max-width:520px;
    margin-top:14px;
    color:rgba(239,252,251,.76);
    font-size:11px;
    line-height:1.6;
  }
  .hiw-guide-action{
    min-height:42px;
    margin-top:30px;
    padding:0 15px;
    font-size:10px;
  }
  .hiw-status{display:none}
  .hiw-switcher{
    gap:9px;
    margin:-40px 8px 10px;
    padding:10px;
    border-radius:14px;
  }
  .hiw-switcher .hiw-tabs{
    grid-template-columns:1fr;
    gap:7px;
  }
  .hiw-switcher .hiw-tabs>button{
    grid-template-columns:38px minmax(0,1fr) 32px;
    min-height:86px!important;
    gap:10px!important;
    padding:12px!important;
    text-align:left!important;
  }
  .hiw-switcher .hiw-tabs>button[data-hiw-tab="pulse"]{order:0}
  .hiw-choice-icon{
    display:inline-flex;
    width:38px;
    height:38px;
  }
  .hiw-choice-state{
    display:flex;
    width:32px;
    height:32px;
  }
  .hiw-switcher .hiw-tabs>button .hiw-choice-copy>b{font-size:13px}
  .hiw-switcher .hiw-tabs>button .hiw-choice-copy>small{display:block;font-size:8px}
}
@media(max-width:420px){
  .hiw-switcher-label>small{display:block}
  .hiw-switcher .hiw-tabs>button{
    grid-template-columns:36px minmax(0,1fr) 30px;
    min-height:82px!important;
  }
  .hiw-choice-icon{
    display:inline-flex;
    width:36px;
    height:36px;
  }
  .hiw-choice-state{
    display:flex;
    width:30px;
    height:30px;
  }
}

/* v1.5.3 — Industry workspace CTA only */
.hiw-desk-cta{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:28px;
  margin-top:18px;
  overflow:hidden;
  padding:22px 24px;
  color:#fff;
  background:linear-gradient(112deg,#066663 0%,#006c69 54%,#005250 100%);
  border:1px solid rgba(0,82,80,.36);
  border-radius:10px;
}
.hiw-desk-copy{min-width:0}
.hiw-desk-copy>span{
  display:block;
  margin-bottom:6px;
  color:rgba(238,253,251,.68);
  font-size:9px;
  font-weight:800;
  letter-spacing:.13em;
  line-height:1.2;
  text-transform:uppercase;
}
.hiw-desk-copy h2{
  margin:0;
  color:#fff;
  font-size:clamp(18px,1.75vw,24px);
  font-weight:700;
  line-height:1.2;
  letter-spacing:-.025em;
}
.hiw-desk-copy p{
  max-width:850px;
  margin:7px 0 0;
  color:rgba(232,247,246,.7);
  font-size:10px;
  line-height:1.55;
}
.hiw-desk-action{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  min-height:44px;
  padding:0 17px;
  color:#075f5d!important;
  -webkit-text-fill-color:#075f5d!important;
  background:#fff;
  border:1px solid #fff;
  border-radius:7px;
  font-size:11px;
  font-weight:760;
  line-height:1;
  text-decoration:none!important;
  white-space:nowrap;
  transition:color .18s ease,background .18s ease,transform .18s ease;
}
.hiw-desk-action:hover,
.hiw-desk-action:focus-visible{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  background:#075f5d;
  border-color:rgba(255,255,255,.34);
  outline:0;
  transform:translateY(-1px);
}
.hiw-desk-action>span{font-size:15px}
@media(max-width:820px){
  .hiw-desk-cta{
    grid-template-columns:1fr;
    gap:16px;
  }
  .hiw-desk-action{justify-self:start}
}
@media(max-width:680px){
  .hiw-desk-cta{
    margin-top:12px;
    padding:19px 16px;
  }
  .hiw-desk-copy p{font-size:9px}
  .hiw-desk-action{width:100%}
}
@media(prefers-reduced-motion:reduce){
  .hiw-guide-action,
  .hiw-desk-action{transition:none}
}
