/* Mockup interactivo Humano.ec — aislado de la landing con el prefijo hm- / h- */

.hm-section {
  position: relative;
  padding: 5.2rem 1.25rem 4.2rem;
  background:
    radial-gradient(880px 420px at 50% 28%, rgba(29,178,166,.16), transparent 68%),
    linear-gradient(180deg, #04101e 0%, #071422 42%, #04091a 100%);
  overflow: clip;
}
.hm-embed.hm-section {
  background: transparent;
  padding: 0;
  overflow: visible;
}
.hm-wrap { max-width: 1180px; margin: 0 auto; min-width: 0; }
#hmRoot, .hm-root, .hm-flow, .hm-stage { max-width: 100%; min-width: 0; }
.hm-head { text-align: center; max-width: 760px; margin: 0 auto 1.6rem; }
.hm-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: .67rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--teal); margin-bottom: .8rem;
}
.hm-eyebrow img { width: 18px; height: 18px; object-fit: contain; }
.hm-head h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 3.35rem);
  font-weight: 700; letter-spacing: -.045em; line-height: 1.05;
  color: #fff; margin-bottom: .75rem;
}
.hm-head p { color: rgba(255,255,255,.62); line-height: 1.7; font-size: .98rem; }
.hm-note {
  display: inline-flex; margin-top: .9rem;
  font-size: .72rem; letter-spacing: .04em; color: rgba(255,255,255,.55);
  border: 1px solid rgba(255,255,255,.12); border-radius: 999px; padding: .28rem .7rem;
}

.hm-products {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem;
  margin: 0 auto 1.15rem;
}
.hm-prod {
  display: flex; align-items: center; gap: .7rem;
  min-width: 210px; text-align: left;
  padding: .55rem .8rem .55rem .55rem;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.04);
  color: #fff;
}
.hm-prod img { width: 36px; height: 36px; object-fit: contain; border-radius: 8px; background: #fff; }
.hm-prod small { display: block; color: rgba(255,255,255,.5); font-size: .68rem; letter-spacing: .04em; }
.hm-prod strong { font-size: .92rem; }
.hm-prod.is-on {
  border-color: rgba(29,178,166,.55);
  background: rgba(29,178,166,.12);
  box-shadow: 0 0 0 1px rgba(29,178,166,.25);
}
.hm-prod.is-soon { opacity: .55; cursor: not-allowed; }
.hm-prod em {
  margin-left: auto; font-style: normal; font-size: .65rem; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase; color: #ffb088;
  border: 1px solid rgba(255,107,53,.35); border-radius: 999px; padding: .15rem .4rem;
}

.hm-flow { margin: 0 auto .85rem; }
.hm-steps {
  display: flex; gap: 6px; padding: 6px;
  width: 100%; max-width: 100%; min-width: 0;
  border-radius: 16px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(16,32,51,.1);
  box-shadow: 0 8px 24px rgba(16,32,51,.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow-x: auto;
}
.hm-step {
  flex: 1 0 132px; min-width: 0;
  display: flex; align-items: center; gap: .5rem;
  text-align: left; color: rgba(16,32,51,.62);
  border-radius: 12px; padding: .5rem .6rem;
  position: relative;
}
.hm-step b { display: block; font-size: .75rem; font-weight: 650; color: #102033; white-space: nowrap; }
.hm-step small { display: block; font-size: .65rem; color: rgba(16,32,51,.55); white-space: nowrap; }
.hm-step-n {
  width: 22px; height: 22px; flex: 0 0 22px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: .65rem; font-weight: 800;
  background: rgba(255,255,255,.8); border: 1px solid rgba(16,32,51,.12); color: #102033;
}
.hm-step.is-on { background: rgba(255,255,255,.92); color: #020C1B; }
.hm-step.is-on b { color: #020C1B; }
.hm-step.is-on .hm-step-n { background: #0f8f86; border-color: #0f8f86; color: #fff; }
.hm-step.is-on::after {
  content: ''; position: absolute; left: 10px; right: 10px; bottom: 0; height: 2px;
  background: linear-gradient(90deg, #1db2a6, #7ee0d6); border-radius: 2px;
}
.hm-step.is-done .hm-step-n { background: rgba(0,168,89,.14); color: #067647; border-color: rgba(0,168,89,.35); }

.hm-controls {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .55rem;
  margin-top: .7rem; color: #102033; font-size: .75rem;
}
.hm-play, .hm-restart, .hm-devices button {
  display: inline-flex; align-items: center; gap: .35rem;
  border-radius: 999px; padding: .38rem .75rem;
  border: 1px solid rgba(16,32,51,.12);
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #102033;
}
.hm-play.is-on { background: rgba(29,178,166,.16); border-color: rgba(10,107,100,.4); color: #0A6B64; }
.hm-devices {
  display: inline-flex; padding: 3px; border-radius: 999px;
  border: 1px solid rgba(16,32,51,.1);
  background: rgba(255,255,255,.62);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.hm-devices button { border: 0; background: transparent; }
.hm-devices button.is-on { background: #fff; color: #020C1B; }
.hm-dotsep { opacity: .35; }

.hm-stage { position: relative; margin: .35rem auto 0; }
.hm-glow {
  position: absolute; left: 50%; top: 10%; transform: translateX(-50%);
  width: 70%; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(29,178,166,.28), transparent 70%);
  filter: blur(30px); pointer-events: none;
}
.hm-device { position: relative; width: min(100%, 1080px); margin: 0 auto; }
.hm-chassis {
  background: linear-gradient(180deg, #2a2e33, #141618 40%, #0c0d0f);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 22px;
  padding: 12px;
  box-shadow: 0 30px 70px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.18);
}
.hm-bezel {
  background: #0b0d10;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  height: min(58vh, 560px);
  min-height: 420px;
  display: flex; flex-direction: column;
}
.hm-notch {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 168px; height: 18px; border-radius: 0 0 8px 8px;
  background: #0b0d10; border: 1px solid rgba(255,255,255,.06); border-top: 0;
  z-index: 5; display: flex; align-items: center; justify-content: center; gap: 8px;
}
.hm-cam { width: 6px; height: 6px; border-radius: 50%; background: #1c2430; box-shadow: inset 0 0 0 1px #3a4654; }
.hm-led { width: 4px; height: 4px; border-radius: 50%; background: #14945a; box-shadow: 0 0 6px rgba(20,148,90,.8); }
.hm-device.is-touring .hm-led { animation: hm-led 1.2s ease infinite; }
@keyframes hm-led { 50% { opacity: .35; } }
.hm-browser {
  height: 34px; flex: 0 0 34px;
  display: flex; align-items: center; gap: 8px;
  padding: 0 12px 0 14px;
  background: #1c2128; color: rgba(255,255,255,.7);
  font-size: 11px;
}
.hm-dots { display: flex; gap: 5px; }
.hm-dots i { width: 8px; height: 8px; border-radius: 50%; display: block; }
.hm-dots i:nth-child(1) { background: #ff5f57; }
.hm-dots i:nth-child(2) { background: #febc2e; }
.hm-dots i:nth-child(3) { background: #28c840; }
.hm-url {
  flex: 1; background: #111418; border-radius: 6px; padding: 3px 10px;
  color: rgba(255,255,255,.62); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hm-url b { color: rgba(255,255,255,.85); font-weight: 600; }
.hm-screen { flex: 1; min-height: 0; position: relative; background: #f4f6f8; }

.hm-device.is-phone { width: min(100%, 390px); }
.hm-device.is-phone .hm-chassis { border-radius: 36px; padding: 10px; }
.hm-device.is-phone .hm-bezel { border-radius: 28px; height: auto; aspect-ratio: 9 / 17.2; min-height: 560px; }
.hm-device.is-phone .hm-notch {
  top: 8px; width: 108px; height: 22px; border-radius: 20px; border: 1px solid #222;
}
.hm-device.is-phone .hm-browser { display: none; }
.hm-phone-btn {
  position: absolute; background: #2a2e33; border-radius: 2px; z-index: 3;
}
.hm-device.is-phone .hm-phone-btn.l1 { left: 0; top: 110px; width: 3px; height: 28px; }
.hm-device.is-phone .hm-phone-btn.l2 { left: 0; top: 150px; width: 3px; height: 46px; }
.hm-device.is-phone .hm-phone-btn.r1 { right: 0; top: 150px; width: 3px; height: 64px; }
.hm-device:not(.is-phone) .hm-phone-btn { display: none; }

.hm-callout {
  margin: .9rem auto 0;
  padding: .95rem 1.1rem;
  border-radius: 16px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(16,32,51,.1);
  box-shadow: 0 8px 24px rgba(16,32,51,.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex; gap: 1rem; justify-content: space-between; align-items: center;
  color: #102033;
}
.hm-callout .k {
  font-family: 'Space Grotesk', sans-serif;
  font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: #0A6B64;
  margin-bottom: .25rem;
}
.hm-callout h3 { font-size: 1rem; color: #020C1B; margin-bottom: .2rem; }
.hm-callout p { font-size: .82rem; color: rgba(16,32,51,.72); line-height: 1.5; }
.hm-pill {
  flex: 0 0 auto;
  border-radius: 999px; padding: .4rem .7rem;
  background: rgba(255,255,255,.8); color: #0A6B64;
  border: 1px solid rgba(10,107,100,.28);
  font-size: .72rem; font-weight: 700;
}

/* ——— App Humano ——— */
.happ {
  height: 100%; display: flex; min-height: 0;
  background: #f4f6f8; color: #24303a;
  font-family: Inter, 'Segoe UI', sans-serif;
  font-size: 12.5px; position: relative; overflow: hidden;
}
.h-side {
  width: 228px; flex: 0 0 228px;
  background: #0e4250; color: rgba(255,255,255,.88);
  display: flex; flex-direction: column; min-height: 0;
}
.h-brand {
  display: flex; align-items: flex-start; gap: 8px;
  padding: 14px 12px 10px;
}
.h-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: #1f8a7a; color: #fff; font-weight: 800; font-size: 12px;
  display: grid; place-items: center; position: relative; flex: 0 0 36px;
}
.h-avatar .h-dot {
  position: absolute; right: -1px; bottom: -1px; width: 9px; height: 9px; border-radius: 50%;
  background: #22c55e; border: 2px solid #0e4250;
}
.h-who { min-width: 0; display: flex; flex-direction: column; gap: 1px; line-height: 1.15; }
.h-who strong { font-size: 12px; color: #fff; font-weight: 750; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.h-who small { color: rgba(255,255,255,.72); font-size: 10.5px; }
.h-who em {
  font-style: normal; align-self: flex-start; margin-top: 4px;
  background: #16a34a; color: #fff; font-size: 9px; font-weight: 750;
  border-radius: 999px; padding: 2px 7px; letter-spacing: .01em;
}
.h-nav { flex: 1; overflow: auto; padding: 4px 8px 8px; display: flex; flex-direction: column; gap: 2px; }
.h-nav-item {
  display: flex; align-items: center; gap: 8px;
  width: 100%; text-align: left; color: rgba(255,255,255,.82);
  padding: 7px 8px; border-radius: 8px; border-left: 3px solid transparent;
  background: transparent;
}
.h-nav-item span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.h-nav-item svg { flex: 0 0 auto; opacity: .9; }
.h-nav-item:hover { background: rgba(255,255,255,.06); }
.h-nav-item.is-on { background: #1a6d80; border-left-color: #fff; color: #fff; }
.h-collapse {
  display: flex; align-items: center; gap: 6px;
  margin: 6px 8px 10px; padding: 8px;
  color: rgba(255,255,255,.8); border-radius: 8px; background: rgba(0,0,0,.15);
}
.happ.is-collapsed .h-side { width: 64px; flex-basis: 64px; }
.happ.is-collapsed .h-who,
.happ.is-collapsed .h-nav-item span,
.happ.is-collapsed .h-collapse span { display: none; }
.happ.is-collapsed .h-brand { justify-content: center; padding-inline: 8px; }
.happ.is-collapsed .h-nav-item { justify-content: center; }

.h-main { flex: 1; min-width: 0; display: flex; flex-direction: column; min-height: 0; }
.h-top {
  height: 48px; flex: 0 0 48px;
  background: #fff; border-bottom: 1px solid #e6ebf0;
  display: flex; align-items: center; gap: 8px; padding: 0 12px;
  position: relative;
}
.h-burger { display: none; width: 32px; height: 32px; border-radius: 8px; color: #0e4250; flex: 0 0 auto; }
.h-iconbtn, .h-company {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff; color: #334155; border-radius: 8px; padding: 6px 8px;
  position: relative; flex: 0 0 auto;
}
.h-company { border: 1px solid #e3e8ee; font-weight: 700; }
.h-top-ava {
  width: 30px; height: 30px; border-radius: 50%; flex: 0 0 30px;
  background: #0f766e; color: #fff; font-weight: 800; font-size: 11px;
  display: grid; place-items: center;
}
.h-n {
  position: absolute; top: 0; right: 0;
  background: #ef4444; color: #fff; border-radius: 99px;
  font-size: 9px; min-width: 14px; height: 14px; display: grid; place-items: center;
  font-style: normal; font-weight: 800;
}
.h-drop {
  position: absolute; top: 44px; right: 10px; z-index: 25;
  background: #fff; border: 1px solid #e6ebf0; border-radius: 10px;
  box-shadow: 0 12px 30px rgba(16,24,40,.12);
  min-width: 230px; padding: 8px;
}
.h-drop button, .h-drop div {
  display: block; width: 100%; text-align: left; padding: 8px;
  border-radius: 8px; color: #24303a; background: transparent;
}
.h-drop button:hover { background: #f4f7f8; }
.h-drop small { display: block; color: #6b7785; }

.h-content { flex: 1; overflow: auto; padding: 12px 14px 18px; background: #f7f8fa; }
.h-crumbs { display: flex; flex-wrap: nowrap; gap: 4px; align-items: center; color: #64748b; font-size: 12px; min-width: 0; flex: 1; overflow: hidden; }
.h-crumbs button { color: #0f766e; font-weight: 700; background: none; white-space: nowrap; }
.h-crumbs button:hover { text-decoration: underline; }
.h-crumbs .h-sep { color: #94a3b8; }
.h-crumbs span:last-child { color: #1e293b; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.h-card {
  background: #fff; border: 1px solid #e7edf2; border-radius: 12px;
  box-shadow: 0 1px 2px rgba(16,24,40,.04);
  margin-bottom: 12px;
}
.h-card-h {
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  padding: 10px 12px; font-weight: 750; color: #1f2a33; border-bottom: 1px solid #eef2f5;
}
.h-card-h.is-muted { background: #e8eef4; color: #3d4d5c; border-bottom-color: #e1e8ef; border-radius: 12px 12px 0 0; }
.h-card-title { display: inline-flex; align-items: center; gap: 6px; }
.h-card-b { padding: 12px; }
.h-intro { color: #667685; margin: -4px 0 10px; line-height: 1.45; }

.h-filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-end; }
.h-field { display: flex; flex-direction: column; gap: 4px; min-width: 140px; flex: 1; }
.h-field > span, .h-label {
  font-size: 10px; font-weight: 800; letter-spacing: .06em; color: #7b8794; text-transform: uppercase;
}
.h-filters-marc .h-field > span {
  font-size: 12px; font-weight: 700; letter-spacing: 0; color: #334155;
  text-transform: none; display: inline-flex; align-items: center; gap: 5px;
}
.h-filters-marc .h-lab svg { color: #64748b; flex: 0 0 auto; }
.hm-section .happ input,
.hm-section .happ select,
.hm-section .happ textarea {
  width: 100%; background: #fff; color: #24303a;
  border: 1px solid #d5dee6; border-radius: 6px;
  padding: 7px 8px; font-size: 12px; outline: none;
}
.hm-section .happ textarea { min-height: 68px; resize: vertical; }
.hm-section .happ input:focus,
.hm-section .happ select:focus,
.hm-section .happ textarea:focus { border-color: #0f8f86; box-shadow: 0 0 0 3px rgba(15,143,134,.12); }

.h-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border-radius: 6px; padding: 7px 12px; font-weight: 700; font-size: 12px;
  border: 1px solid transparent; background: #fff; color: #24303a; white-space: nowrap;
}
.h-btn.green { background: #00a859; color: #fff; }
.h-btn.green:hover { background: #00964f; }
.h-btn.teal { background: #0f766e; color: #fff; }
.h-btn.teal:hover { background: #0d655e; }
.h-btn.blue { background: #1570ef; color: #fff; }
.h-btn.ghost { background: #fff; border-color: #d0d7de; color: #344054; }
.h-btn.line-green { background: #fff; border-color: #00a859; color: #067647; }
.h-btn.line-blue { background: #fff; border-color: #1570ef; color: #175cd3; }
.h-btn.red { background: #d92d20; color: #fff; }
.h-btn.sm { padding: 4px 8px; font-size: 11px; }
.h-btn:disabled { opacity: .5; cursor: not-allowed; }
.h-actions { display: flex; flex-wrap: wrap; gap: 6px; }

.h-check { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: #344054; padding-bottom: 6px; }
.hm-section .happ .h-check input { width: auto; }

.h-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: 4px 0 8px; flex-wrap: wrap; }
.h-hc {
  background: #e7f8ef; color: #067647; border-radius: 999px;
  padding: 4px 10px; font-weight: 800; font-size: 12px;
}

.h-tabs { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 8px; }
.h-tab {
  background: transparent; color: #667085; border-radius: 8px 8px 0 0;
  padding: 7px 10px; font-weight: 700; border-bottom: 2px solid transparent;
}
.h-tab.is-on { color: #0f4c5c; border-bottom-color: #00a859; background: #fff; }

.h-table-wrap { overflow: auto; }
.h-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.h-table th {
  text-align: left; font-size: 11px; letter-spacing: .04em; text-transform: uppercase;
  color: #64748b; font-weight: 700; padding: 10px 12px; background: #f8fafc;
  border-bottom: 1px solid #e5e7eb; white-space: nowrap;
}
.h-table td { padding: 11px 12px; border-bottom: 1px solid #f1f5f9; vertical-align: middle; color: #24303a; }
.h-pager { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 2px 0; color: #64748b; font-size: 12px; }
.h-pages { display: inline-flex; gap: 4px; }
.h-pages button { min-width: 28px; height: 28px; border-radius: 8px; border: 1px solid #e5e7eb; background: #fff; color: #334155; }
.h-pages button.is-on { background: #0f766e; color: #fff; border-color: #0f766e; }
.h-pages button:disabled { opacity: 1; }
.h-ibtn {
  width: 30px; height: 30px; border-radius: 8px; border: 1px solid #dbe3ea;
  background: #fff; color: #0f766e; display: inline-grid; place-items: center;
}
.h-ibtn:hover { background: #f0fdfa; border-color: #0f766e; }
.h-acts { white-space: nowrap; }
.h-table tr.is-click { cursor: pointer; }
.h-table tr.is-click:hover td { background: #f5fbfa; }
.h-more {
  width: 28px; height: 28px; border-radius: 8px; border: 1px solid #e3e8ee;
  background: #fff; color: #344054; font-weight: 800;
}
.h-more:hover, .h-more.is-on { border-color: #0f8f86; color: #0f4c5c; }
.h-empty { padding: 28px 12px; text-align: center; color: #7b8794; }

.hb {
  display: inline-flex; align-items: center; border-radius: 999px;
  padding: 2px 8px; font-size: 10px; font-weight: 800; letter-spacing: .03em;
  text-transform: uppercase; white-space: nowrap;
}
.hb-green { background: #e5f8ee; color: #067647; }
.hb-green-o { background: #fff; color: #067647; border: 1px solid #12b76a; }
.hb-blue { background: #e8f1fb; color: #175cd3; }
.hb-blue-o { background: #fff; color: #175cd3; border: 1px solid #2e90fa; }
.hb-red { background: #fdecec; color: #b42318; }
.hb-red-o { background: #fff; color: #b42318; border: 1px solid #f04438; }
.hb-yellow { background: #fffaeb; color: #b54708; }
.hb-orange { background: #fff4e5; color: #c4320a; }
.hb-orange-o { background: #fff; color: #c4320a; border: 1px solid #f79009; }
.hb-gray { background: #f2f4f7; color: #475467; }
.hb-purple { background: #f4ebff; color: #6941c6; }
.hb-mint { background: #e7f8f4; color: #0f766e; }

.h-switch {
  width: 36px; height: 20px; border-radius: 99px; background: #d0d5dd; position: relative; padding: 0;
}
.h-switch i {
  position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff;
  transition: transform .15s;
}
.h-switch.is-on { background: #00a859; }
.h-switch.is-on i { transform: translateX(16px); }

.h-home { padding: 2px 6px 8px; }
.h-home-wrap {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px;
  align-items: start; margin-bottom: 16px;
}
.h-bars { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.h-bar {
  width: 100%; display: flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid #e6edf3; border-radius: 10px;
  padding: 8px 12px; color: #334155; font-weight: 650; font-size: 12px;
  text-align: left; box-shadow: 0 1px 2px rgba(16,24,40,.04);
}
.h-bar > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.h-bar .h-chev { margin-left: auto; color: #94a3b8; display: grid; transition: transform .15s; }
.h-bar.is-open .h-chev { transform: rotate(180deg); }
.h-badge-soft {
  background: #eef2f6; color: #64748b; border-radius: 999px;
  padding: 2px 8px; font-size: 11px; font-weight: 700; white-space: nowrap;
}
.h-badge-red {
  background: #ef4444; color: #fff; border-radius: 999px;
  min-width: 18px; height: 18px; padding: 0 6px;
  display: inline-grid; place-items: center; font-size: 11px; font-weight: 800;
}
.h-bar-b {
  background: #fff; border: 1px solid #e6edf3; border-radius: 10px;
  padding: 10px 12px; color: #64748b; margin-top: -4px;
}
.h-reorg {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff; border: 1px solid #d5dee6; border-radius: 10px;
  padding: 8px 12px; color: #334155; font-weight: 700; white-space: nowrap;
}
.h-reorg:hover { border-color: #0f766e; color: #0f766e; }
.h-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px 16px; max-width: 880px; margin: 0 auto;
}
.h-mod {
  background: #fff; border: 0; border-radius: 14px; padding: 0; overflow: hidden;
  min-height: 118px; display: flex; flex-direction: column;
  box-shadow: 0 8px 18px rgba(16,24,40,.08); color: #1f2937; text-align: center;
}
.h-mod:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(16,24,40,.12); }
.h-mod-band {
  height: 60%; min-height: 70px; display: grid; place-items: center; color: #fff;
}
.h-mod-name {
  height: 40%; min-height: 44px; display: grid; place-items: center;
  padding: 6px 10px 10px; background: #fff;
  font-size: 11.5px; font-weight: 650; line-height: 1.25; color: #1f2937;
}
.h-hub { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.h-hub-card {
  text-align: center; background: #fff; border: 0; border-radius: 14px;
  padding: 0; overflow: hidden; color: #1f2937;
  display: flex; flex-direction: column;
  box-shadow: 0 8px 18px rgba(16,24,40,.08);
}
.h-hub-card:hover { transform: translateY(-1px); }
.h-hub-band { min-height: 58px; display: grid; place-items: center; color: #fff; }
.h-hub-card strong { font-size: 13px; font-weight: 700; padding: 10px 12px 0; line-height: 1.3; }
.h-hub-desc { color: #667085; line-height: 1.4; font-size: 11.5px; padding: 4px 12px 12px; }

.h-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 10px; }
.h-kpi { background: #fff; border: 1px solid #e7edf2; border-radius: 12px; padding: 10px 12px; }
.h-kpi b { display: block; font-size: 20px; color: #0f4c5c; letter-spacing: -.03em; }
.h-kpi span { color: #667085; font-size: 11px; }

.h-pagehead { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 0 0 8px; flex-wrap: wrap; }
.h-pagehead h2 { font-size: 22px; font-weight: 750; color: #1e293b; letter-spacing: -.02em; }
.h-rule { border: 0; border-top: 1px solid #e6ebf0; margin: 0 0 12px; }
.h-filter-box {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end;
  border: 1px solid #e5e7eb; border-radius: 10px; padding: 12px; background: #fff;
}
.h-inico { position: relative; display: block; }
.h-inico-i { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); color: #64748b; display: grid; pointer-events: none; }
.h-inico.is-left .h-inico-i { left: 8px; right: auto; }
.hm-section .happ .h-inico input { padding-right: 28px; }
.hm-section .happ .h-inico.is-left select { padding-left: 28px; }
.h-range {
  position: relative; display: flex; align-items: center; gap: 6px;
  border: 1px solid #d5dee6; border-radius: 8px; background: #fff;
  min-height: 34px; padding: 6px 10px; color: #334155;
}
.h-range b { font-weight: 650; font-size: 12px; flex: 1; }
.h-range svg:last-of-type { color: #94a3b8; }
.hm-section .happ .h-range input {
  position: absolute; top: 0; height: 100%; width: 50%; opacity: 0; cursor: pointer; padding: 0; border: 0;
}
.hm-section .happ .h-range input:first-of-type { left: 0; }
.hm-section .happ .h-range input:last-of-type { right: 0; }
.h-btn.green.is-open svg { transform: rotate(180deg); }
.h-acc { border: 1px solid #e7edf2; border-radius: 12px; background: #fff; margin-bottom: 10px; overflow: hidden; box-shadow: 0 1px 2px rgba(16,24,40,.04); }
.h-acc-h { width: 100%; display: flex; gap: 10px; align-items: center; padding: 12px 14px; background: #fff; color: #24303a; text-align: left; }
.h-acc.is-open .h-acc-h { background: #f3f6f8; }
.h-acc-person { color: #0f766e; display: grid; place-items: center; flex: 0 0 22px; }
.h-acc-id { flex: 1; min-width: 0; }
.h-acc-id strong { display: block; font-size: 13.5px; font-weight: 750; }
.h-acc-id small { display: block; color: #64748b; font-size: 12px; }
.h-acc-id em { display: block; color: #94a3b8; font-style: normal; font-size: 11px; }
.h-acc-tools { display: flex; gap: 6px; flex: 0 0 auto; }
.h-sq { width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; }
.h-sq.blue { background: #3b82f6; color: #fff; }
.h-sq.chev { background: #fff; color: #64748b; border: 1px solid #d5dee6; }
.h-sq.chev.is-open { background: #0f766e; color: #fff; border-color: #0f766e; }
.h-sq.chev.is-open svg { transform: rotate(180deg); }
.h-acc-b { background: #fff; padding: 10px 0 4px; }
.h-mkpi-row { display: flex; gap: 8px; padding: 0 14px 10px; flex-wrap: wrap; }
.h-mkpi {
  background: #fff; border: 1px solid #e5eaf0; border-radius: 8px;
  min-width: 68px; padding: 6px 10px; text-align: center;
  box-shadow: 0 1px 2px rgba(16,24,40,.04);
}
.h-mkpi b { display: block; font-size: 15px; color: #0f172a; line-height: 1.1; font-weight: 750; }
.h-mkpi small { display: block; margin-top: 2px; font-size: 9px; letter-spacing: .04em; color: #64748b; font-weight: 800; }
.h-days {
  display: flex; gap: 8px; overflow-x: scroll; padding: 2px 14px 12px;
  scrollbar-width: thin; scrollbar-color: #c5ced6 #eef2f5;
}
.h-days::-webkit-scrollbar { height: 8px; }
.h-days::-webkit-scrollbar-track { background: #eef2f5; border-radius: 8px; }
.h-days::-webkit-scrollbar-thumb { background: #c5ced6; border-radius: 8px; }
.h-day {
  flex: 0 0 96px; height: 52px; border-radius: 8px; border: 1px solid #dbe3ea; background: #fff;
  padding: 6px 8px; text-align: left; color: #1e293b;
  display: flex; align-items: center; justify-content: space-between; gap: 6px;
}
.h-day-t { display: flex; flex-direction: column; line-height: 1.05; }
.h-day b { font-size: 16px; font-weight: 750; }
.h-day small { color: #64748b; font-size: 9px; font-weight: 750; letter-spacing: .06em; }
.h-day.is-ok { border-color: #cbd5e1; }
.h-day.is-late, .h-day.is-miss, .h-day.is-leave { background: #fff1f2; border-color: #f43f5e; color: #9f1239; }
.h-day.is-late small, .h-day.is-miss small, .h-day.is-leave small { color: #e11d48; }
.h-day.is-off { background: #f8fafc; border-color: #e2e8f0; color: #64748b; }
.h-day.is-lift { box-shadow: 0 4px 10px rgba(15,23,42,.12); transform: translateY(-2px); }
.h-daymodal { width: min(860px, calc(100% - 24px)); padding: 0; overflow: hidden; }
.h-daymodal-h {
  display: grid; grid-template-columns: 32px 1fr 32px 32px; gap: 8px; align-items: center;
  background: #0f6e75; color: #fff; padding: 12px 14px;
}
.h-daymodal-t { text-align: center; min-width: 0; }
.h-daymodal-t strong { display: block; font-size: 16px; }
.h-daymodal-t small { display: block; opacity: .9; font-size: 12px; }
.h-round {
  width: 28px; height: 28px; border-radius: 50%; border: 1px solid rgba(255,255,255,.75);
  color: #fff; background: transparent; display: grid; place-items: center; font-size: 16px;
}
.h-round:disabled { opacity: .35; }
.h-daymodal-b { padding: 12px; background: #f8fafc; }
.h-dgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.h-dcard { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 12px; }
.h-dcard h4 { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #1e293b; margin-bottom: 8px; }
.h-dcard p { color: #475569; margin: 4px 0; }
.h-dcard.green-l { border-left: 3px solid #22c55e; }
.h-dcard.teal-l { border-left: 3px solid #0f766e; }
.h-times { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-bottom: 8px; color: #475569; }
.h-times b { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; border: 1px solid #e5e7eb; border-radius: 6px; padding: 2px 8px; background: #fff; color: #0f172a; font-weight: 650; }
.h-dsplit { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.h-permbox { border-left: 3px solid #22c55e; padding-left: 8px; }
.h-chip-line { display: inline-flex; border: 1px solid #e5e7eb; border-radius: 8px; padding: 4px 8px; color: #64748b; font-size: 12px; }
.h-perm { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; color: #64748b; font-size: 12px; }
.h-marks { min-height: 72px; max-height: 92px; overflow-y: scroll; border: 1px solid #e5e7eb; border-radius: 8px; padding: 8px; color: #475569; scrollbar-width: thin; }
.h-marks-empty { display: flex; align-items: center; gap: 6px; color: #64748b; }
.h-hsums { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.h-hbox { border: 1px solid #e5e7eb; border-radius: 8px; padding: 6px 4px; text-align: center; background: #fff; }
.h-hbox b { display: block; font-size: 16px; line-height: 1.1; }
.h-hbox small { display: block; font-size: 8px; font-weight: 800; letter-spacing: .03em; margin-top: 2px; }
.h-hbox em { display: block; font-style: normal; font-size: 10px; margin-top: 2px; }
.h-hbox.c-teal { color: #0f766e; }
.h-hbox.c-green { color: #16a34a; }
.h-hbox.c-orange { color: #f59e0b; }
.h-hbox.c-red { color: #ef4444; }
.h-hbox.c-dark { color: #0f172a; }

.h-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 10px; }
.h-span-2 { grid-column: span 2; }
.h-form-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; }
.h-sec { margin: 12px 0 6px; font-size: 12px; color: #0f4c5c; }
.h-map {
  height: 74px; border-radius: 8px; border: 1px dashed #b7e0da;
  background:
    linear-gradient(rgba(15,76,92,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,76,92,.05) 1px, transparent 1px),
    linear-gradient(160deg, #e7f6f2, #f7fbfb);
  background-size: 14px 14px, 14px 14px, auto;
  display: flex; align-items: flex-end; padding: 8px; color: #0f4c5c; font-size: 11px;
}
.h-error { color: #b42318; font-size: 11px; margin-top: 6px; }

.h-modal-back, .h-radial-bg, .h-drawer-bg {
  position: absolute; inset: 0; background: rgba(15, 23, 32, .55); z-index: 30;
}
.h-modal {
  position: absolute; z-index: 40; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(640px, calc(100% - 28px));
  max-height: calc(100% - 28px); overflow: auto;
  background: #fff; border-radius: 12px; box-shadow: 0 24px 60px rgba(0,0,0,.25);
}
.h-modal.wide { width: min(860px, calc(100% - 20px)); }
.h-modal-h {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 14px; border-bottom: 1px solid #eef2f5; position: sticky; top: 0; background: #fff; z-index: 1;
}
.h-modal-h strong { font-size: 14px; color: #1f2a33; }
.h-x { width: 28px; height: 28px; border-radius: 50%; color: #667085; background: #f2f4f7; }
.h-modal-b { padding: 12px 14px 16px; }
.h-steps-mini { display: flex; gap: 14px; margin-bottom: 12px; }
.h-steps-mini span { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: #98a2b3; font-weight: 700; }
.h-steps-mini i {
  width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  background: #e5e7eb; color: #475569; font-style: normal; font-size: 11px;
}
.h-steps-mini span.is-on { color: #0f766e; }
.h-steps-mini span.is-on i, .h-steps-mini span.is-done i { background: #0f766e; color: #fff; }

.h-split { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.h-box { border: 1px solid #e7edf2; border-radius: 10px; padding: 10px; }
.h-box h4 { font-size: 12px; margin-bottom: 6px; color: #0f4c5c; }
.h-kv { display: flex; justify-content: space-between; gap: 8px; padding: 3px 0; color: #475467; }
.h-kv b { color: #1f2a33; }
.h-kpi-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 8px; }
.h-kpi-row div { background: #f8fafb; border-radius: 8px; padding: 6px; text-align: center; }
.h-kpi-row b { display: block; color: #0f4c5c; }
.h-kpi-row span { font-size: 9px; color: #667085; letter-spacing: .04em; }

.h-radial-bg { background: transparent; z-index: 35; }
.h-radial { position: absolute; z-index: 36; width: 0; height: 0; }
.h-radial-btn {
  position: absolute; left: 0; top: 0; width: 58px; height: 58px; margin: -29px;
  border-radius: 50%; background: #fff; color: #0f4c5c;
  box-shadow: 0 8px 20px rgba(15,76,92,.2); border: 1px solid #d7e7e4;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  transform: rotate(var(--a)) translateX(78px) rotate(calc(var(--a) * -1));
}
.h-radial-btn small { font-size: 8px; font-weight: 800; letter-spacing: -.01em; }
.h-radial-btn:hover { background: #0f4c5c; color: #fff; }

.h-toast {
  position: absolute; z-index: 70; top: 54px; right: 12px;
  background: #067647; color: #fff; border-radius: 10px;
  padding: 10px 12px; max-width: min(320px, calc(100% - 24px));
  box-shadow: 0 10px 24px rgba(6,118,71,.25); font-size: 12px; line-height: 1.4;
}
.h-toast.is-demo { background: #0f4c5c; }
.h-toast.is-err { background: #b42318; }

.h-pdf {
  position: absolute; inset: 0; z-index: 60; background: #525659;
  display: flex; flex-direction: column;
}
.h-pdf-bar {
  height: 40px; background: #323639; color: #fff;
  display: flex; align-items: center; justify-content: space-between; padding: 0 10px; font-size: 12px;
}
.h-pdf-bar button { color: #fff; background: transparent; }
.h-pdf-scroll { flex: 1; overflow: auto; padding: 16px; }
.h-pdf-page {
  width: min(620px, 100%); margin: 0 auto; background: #fff; color: #1a1a1a;
  min-height: 720px; padding: 36px 40px; box-shadow: 0 8px 24px rgba(0,0,0,.3);
}
.h-pdf-page header { display: flex; justify-content: space-between; border-bottom: 3px solid #0f4c5c; padding-bottom: 8px; margin-bottom: 18px; }
.h-pdf-page h2 { font-size: 18px; letter-spacing: .08em; color: #0f4c5c; margin: 16px 0; }
.h-pdf-page p { font-size: 13px; line-height: 1.6; margin-bottom: 10px; }
.h-sign { margin-top: 48px; width: 220px; text-align: center; font-size: 12px; }
.h-sign i { display: block; border-top: 1px solid #222; margin-bottom: 4px; font-style: normal; }

.h-org { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.h-node {
  background: #fff; border: 1px solid #d5e7e4; border-radius: 10px; padding: 8px 10px; text-align: center; min-width: 120px;
}
.h-node b { display: block; color: #0f4c5c; }
.h-node span { color: #667085; font-size: 11px; }
.h-org-row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.h-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.h-cal i, .h-cal b { text-align: center; padding: 6px 0; border-radius: 6px; font-style: normal; color: #98a2b3; font-size: 10px; }
.h-cal button { background: #fff; border: 1px solid #e7edf2; border-radius: 6px; padding: 8px 0; color: #24303a; }
.h-cal button.is-hol { background: #e7f8ef; border-color: #b7ebc9; color: #067647; font-weight: 800; }

.h-kanban { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.h-col { background: #f8fafb; border-radius: 10px; padding: 8px; min-height: 80px; }
.h-col strong { display: block; font-size: 11px; margin-bottom: 6px; color: #0f4c5c; }
.h-chip { background: #fff; border: 1px solid #e7edf2; border-radius: 8px; padding: 6px; margin-bottom: 6px; font-size: 11px; }

.is-spot { outline: 2px solid #00a859; outline-offset: 2px; animation: hmpulse 1.3s ease infinite; border-radius: 8px; }
@keyframes hmpulse { 50% { outline-color: rgba(0,168,89,.25); } }

.hm-device.is-compact .h-burger { display: grid; place-items: center; }
.hm-device.is-compact .h-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hm-device.is-compact .h-home-wrap { grid-template-columns: 1fr; }
.hm-device.is-compact .h-hub { grid-template-columns: 1fr; }
.hm-device.is-compact .h-pagehead h2 { font-size: 16px; }
.hm-device.is-compact .h-dgrid, .hm-device.is-compact .h-dsplit, .hm-device.is-compact .h-hsums { grid-template-columns: 1fr 1fr; }
.hm-device.is-compact .h-day { flex-basis: 84px; }
.hm-device.is-compact .h-company { display: none; }
.hm-device.is-compact .h-side {
  position: absolute; z-index: 28; inset: 0 auto 0 0; transform: translateX(-105%);
  transition: transform .2s ease; box-shadow: 8px 0 24px rgba(0,0,0,.18);
}
.hm-device.is-compact .happ.is-drawer .h-side { transform: none; }
.hm-device.is-compact .h-drawer-bg { display: block; }
.hm-device:not(.is-compact) .h-drawer-bg { display: none; }

@media (max-width: 900px) {
  .h-grid, .hm-device.is-compact .h-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .h-home-wrap, .hm-device.is-compact .h-home-wrap { grid-template-columns: 1fr; }
  .h-kpis, .h-kpi-row, .h-kanban { grid-template-columns: 1fr 1fr; }
  .hm-bezel { min-height: 460px; }
}
@media (max-width: 720px) {
  .hm-section { padding: 4.4rem 0.85rem 3rem; }
  .hm-callout { flex-direction: column; align-items: flex-start; }
  .hm-prod { min-width: 0; width: 100%; }
  .hm-products { flex-direction: column; }
  .h-hub, .h-split, .h-form-grid { grid-template-columns: 1fr; }
  .h-span-2 { grid-column: auto; }
  .hm-device.is-phone .hm-bezel { min-height: 560px; }
}
@media (prefers-reduced-motion: reduce) {
  .is-spot, .hm-device.is-touring .hm-led { animation: none; }
}
