.him-app{--teal:#008f8c;--ink:#142134;--muted:#657487;--line:#dbe6e7;position:relative;max-width:1600px;margin:auto;font-family:Manrope,Inter,system-ui,sans-serif;color:var(--ink);background:#f6f9f9;border:1px solid #e2eaec;border-radius:26px;overflow:hidden;box-shadow:0 26px 76px rgba(25,48,61,.09)}.him-app *{box-sizing:border-box}.him-app [hidden]{display:none!important}.him-app button,.him-app input,.him-app select{font:inherit}.him-hero{display:flex;justify-content:space-between;align-items:flex-end;gap:25px;padding:30px 34px 25px;background:radial-gradient(circle at 93% 8%,rgba(0,143,140,.1),transparent 34%),#fff;border-bottom:1px solid var(--line)}.him-hero>div:first-child>span{color:var(--teal);font-size:10px;font-weight:800;letter-spacing:.15em}.him-hero h1{margin:8px 0;font-size:clamp(32px,3.5vw,50px);letter-spacing:-.05em;line-height:1}.him-hero p{max-width:820px;margin:0;color:var(--muted);font-size:14px}.him-status{display:flex;align-items:center;gap:9px;padding:10px 13px;border:1px solid var(--line);border-radius:999px;background:#fff;font-size:11px}.him-status i{width:8px;height:8px;border-radius:50%;background:var(--teal);box-shadow:0 0 0 5px rgba(0,143,140,.11)}.him-toolbar{display:grid;grid-template-columns:1fr 1.1fr .9fr 1.25fr auto;gap:10px;align-items:end;padding:14px 18px;background:#fff;border-bottom:1px solid var(--line)}.him-toolbar label{display:grid;gap:6px}.him-toolbar label>span{font-size:9px;font-weight:800;letter-spacing:.09em;text-transform:uppercase;color:#748290}.him-toolbar select,.him-toolbar input{width:100%;height:44px;padding:0 13px;border:1px solid #d2dfe1;border-radius:11px;background:#fbfdfd;color:var(--ink);outline:none}.him-toolbar select:focus,.him-toolbar input:focus{border-color:#75bfbb;box-shadow:0 0 0 3px rgba(0,143,140,.09)}.him-toolbar>div{display:flex;gap:7px}.him-toolbar button{height:44px;padding:0 14px;border:1px solid #d2dfe1;border-radius:11px;background:#fff;color:#314554;font-weight:800}.him-toolbar .is-dark{border-color:#122d38;background:#122d38;color:#fff}.him-body{position:relative;display:grid;grid-template-columns:300px minmax(0,1fr);min-height:var(--him-map-height);background:#fff}.him-sidebar{max-height:var(--him-map-height);overflow:auto;padding:16px;background:#f7faf9;border-right:1px solid var(--line)}.him-panel{margin-bottom:12px;padding:16px;border:1px solid var(--line);border-radius:15px;background:#fff;box-shadow:0 8px 26px rgba(30,59,68,.035)}.him-panel>small{color:var(--teal);font-size:9px;font-weight:800;letter-spacing:.11em}.him-panel h2{margin:10px 0 8px;font-size:22px;letter-spacing:-.035em}.him-panel p{margin:0;color:var(--muted);font-size:12px;line-height:1.65}.him-panel header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.him-panel header h3{margin:0;font-size:11px;text-transform:uppercase;letter-spacing:.07em;color:#455b69}.him-panel header span{font-size:9px;color:#8b98a2}.him-summary{display:grid;grid-template-columns:auto 1fr;gap:10px;align-items:center;margin-top:14px;padding-top:13px;border-top:1px solid #e7eeee}.him-summary b{font-size:29px}.him-summary span{font-size:10px;color:#75838e}.him-pills{display:flex;gap:6px;margin-top:10px}.him-pills span{padding:5px 8px;border-radius:999px;background:#eaf7f6;color:#176d6b;font-size:9px;font-weight:800}.him-layers{display:grid;gap:8px}.him-layers input{position:absolute;opacity:0}.him-layers label>span{display:flex;align-items:center;gap:9px;padding:9px 10px;border:1px solid #e1eaeb;border-radius:10px;background:#fbfdfd;font-size:12px;font-weight:700}.him-layers label>span>b{margin-left:auto;display:grid;place-items:center;width:19px;height:19px;border-radius:6px;background:#dce7e8;color:transparent}.him-layers input:checked+span{border-color:#c6e3e0;background:#f3fbfa}.him-layers input:checked+span>b{background:var(--teal);color:#fff}.him-layers i,.him-legend i{width:8px;height:8px;border-radius:50%;display:inline-block}.c-company{background:#008f8c}.c-infra{background:#397487}.c-case{background:#7556a8}.c-fallback{background:#6d7d82}.him-ranked{display:grid;gap:6px}.him-ranked button{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center;padding:9px 10px;border:0;border-radius:10px;background:#f5f9f8;text-align:left}.him-ranked button span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:700}.him-ranked button b{display:grid;place-items:center;min-width:24px;height:24px;padding:0 6px;border-radius:8px;background:#fff;color:var(--teal);font-size:10px}.him-ranked em{font-size:11px;color:#839099}.him-map-wrap{position:relative;min-width:0;background:#e8f0ef}.him-map{height:var(--him-map-height);background:#e6efee}.him-active{position:absolute;top:14px;left:55px;z-index:650;display:flex;gap:6px;flex-wrap:wrap;max-width:70%}.him-active span{display:grid;gap:2px;padding:8px 10px;border:1px solid #d4e1e3;border-radius:10px;background:rgba(255,255,255,.94);font-size:10px;font-weight:800;box-shadow:0 7px 20px rgba(31,58,66,.08)}.him-active small{font-size:7px;color:#81909a;text-transform:uppercase}.him-tools{position:absolute;top:14px;right:14px;z-index:650;display:flex;gap:6px}.him-tools button{height:36px;padding:0 10px;border:1px solid #d1dfe1;border-radius:10px;background:rgba(255,255,255,.95);font-size:9px;font-weight:800}.him-stats{position:absolute;left:14px;bottom:45px;z-index:650;display:flex;gap:6px;flex-wrap:wrap}.him-stats span{display:grid;grid-template-columns:auto 1fr;gap:6px;align-items:center;padding:7px 10px;border:1px solid #d2e0e2;border-radius:10px;background:rgba(255,255,255,.94);box-shadow:0 7px 20px rgba(31,58,66,.07)}.him-stats b{font-size:14px}.him-stats small{font-size:8px;text-transform:uppercase;color:#6f7f89}.him-stats .warn{border-color:#ead6a5;background:#fffaf0}.him-legend{position:absolute;right:14px;bottom:45px;z-index:650;display:flex;gap:8px;flex-wrap:wrap;padding:8px 10px;border:1px solid #d2e0e2;border-radius:10px;background:rgba(255,255,255,.92)}.him-legend span{display:flex;align-items:center;gap:5px;font-size:8px;color:#687983}.him-loading{position:absolute;inset:0;z-index:900;display:grid;place-content:center;gap:10px;background:rgba(245,250,249,.72);text-align:center}.him-loading i{width:28px;height:28px;margin:auto;border:3px solid #c8dfdd;border-top-color:var(--teal);border-radius:50%;animation:spin .8s linear infinite}.him-loading b{font-size:11px}.him-empty-map{position:absolute;left:50%;top:50%;z-index:700;display:grid;gap:6px;padding:18px 20px;border:1px solid var(--line);border-radius:14px;background:#fff;transform:translate(-50%,-50%);text-align:center}.him-empty-map span{font-size:11px;color:var(--muted)}.him-drawer{position:absolute;top:0;right:0;bottom:0;z-index:1000;width:min(410px,94vw);overflow:auto;padding:22px;background:#fff;border-left:1px solid var(--line);box-shadow:-22px 0 60px rgba(26,53,61,.16);transform:translateX(102%);transition:.26s}.drawer-open .him-drawer{transform:none}.him-drawer>button{position:sticky;top:0;float:right;width:35px;height:35px;border:1px solid var(--line);border-radius:50%;background:#fff;font-size:21px}.him-drawer-head{padding-bottom:17px;border-bottom:1px solid #e4ecee}.him-drawer-head small,.him-card>small{color:var(--teal);font-size:8px;font-weight:800;letter-spacing:.1em}.him-drawer-head h2{margin:7px 0;font-size:31px;letter-spacing:-.045em}.him-drawer-head p{margin:0;color:var(--muted);font-size:11px}.him-drawer section{margin-top:22px}.him-drawer section h3{display:flex;justify-content:space-between;margin:0 0 9px;font-size:10px;text-transform:uppercase;letter-spacing:.08em}.him-card{position:relative;display:block;margin-bottom:8px;padding:13px 38px 13px 13px;border:1px solid var(--line);border-radius:12px;color:var(--ink)!important;text-decoration:none!important}.him-card strong{display:block;margin:4px 0;font-size:13px}.him-card p{margin:0 0 8px;color:var(--muted);font-size:10px;line-height:1.5}.him-card>div:not(.case-meta){display:flex;gap:4px;flex-wrap:wrap}.him-card>div:not(.case-meta) span{padding:4px 6px;border-radius:999px;background:#eef7f6;font-size:8px}.him-card>i{position:absolute;right:13px;top:15px}.case-meta{display:grid;grid-template-columns:auto 1fr;gap:3px 7px;margin:9px 0;padding:8px;border-radius:8px;background:#f7f4fb}.case-meta small{font-size:8px;color:#817492}.case-meta b{font-size:9px;color:#4f3b70}.him-empty{display:grid;place-content:center;min-height:380px;text-align:center;color:var(--muted)}.him-search-results{position:absolute;top:145px;right:18px;z-index:1200;width:min(430px,calc(100% - 36px));max-height:70vh;overflow:auto;padding:10px;border:1px solid var(--line);border-radius:15px;background:#fff;box-shadow:0 20px 60px rgba(25,52,61,.19)}.him-search-results header{display:flex;justify-content:space-between;padding:7px}.him-search-results header button{border:0;background:transparent}.leaflet-container{font-family:Manrope,Inter,system-ui,sans-serif}.leaflet-control-attribution{font-size:8px!important}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:1100px){.him-toolbar{grid-template-columns:repeat(3,1fr)}.him-toolbar label:nth-child(4){grid-column:span 2}.him-body{grid-template-columns:270px 1fr}}@media(max-width:800px){.him-app{border-radius:16px}.him-hero{align-items:flex-start;flex-direction:column}.him-toolbar{grid-template-columns:1fr 1fr}.him-toolbar label:nth-child(4){grid-column:1/-1}.him-body{display:block}.him-sidebar{max-height:none;display:grid;grid-template-columns:1fr 1fr;gap:10px;border-right:0}.him-panel{margin:0}.him-panel:first-child,.him-panel:last-child{grid-column:1/-1}.him-map{height:640px}.him-legend{display:none}.him-drawer{position:fixed;height:100vh}.him-search-results{position:fixed;inset:8vh 5vw;width:auto;max-height:84vh}}@media(max-width:560px){.him-toolbar{grid-template-columns:1fr}.him-toolbar label:nth-child(4){grid-column:auto}.him-sidebar{display:block}.him-panel{margin-bottom:10px}.him-active{left:14px;right:14px;max-width:none}.him-tools{top:auto;bottom:95px}.him-stats{right:14px;display:grid;grid-template-columns:1fr 1fr}.him-map{height:600px}}

.him-cluster-icon{background:transparent!important;border:0!important}.him-cluster{position:relative;width:var(--cluster-size);height:var(--cluster-size);display:grid;place-items:center;border:3px solid #fff;border-radius:50%;background:rgba(255,255,255,.96);box-shadow:0 8px 22px rgba(29,57,66,.24)}.him-cluster>b{font-size:11px;color:#203945;line-height:1}.him-cluster>span{position:absolute;left:50%;bottom:-5px;display:flex;gap:2px;transform:translateX(-50%);padding:3px 4px;border:2px solid #fff;border-radius:999px;background:#fff;box-shadow:0 3px 9px rgba(29,57,66,.16)}.him-cluster>span>i{display:block;width:7px;height:7px;border-radius:50%}.him-cluster:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(29,57,66,.28)}


/* v1.3.1 — toolbar refinement and theme-isolated map controls */
.him-app .him-toolbar{
  gap:8px!important;
  padding:12px 16px!important;
  background:#fcfefe!important;
}
.him-app .him-toolbar label{
  gap:5px!important;
  min-width:0;
}
.him-app .him-toolbar label>span{
  color:#778694!important;
  font-size:8px!important;
  line-height:1.1!important;
  font-weight:800!important;
  letter-spacing:.105em!important;
}
.him-app .him-toolbar select,
.him-app .him-toolbar input{
  height:40px!important;
  min-height:40px!important;
  margin:0!important;
  padding:0 38px 0 12px!important;
  border:1px solid #d4e0e2!important;
  border-radius:10px!important;
  background-color:#fff!important;
  color:#243846!important;
  -webkit-text-fill-color:#243846!important;
  font-size:13px!important;
  line-height:40px!important;
  font-weight:600!important;
  letter-spacing:-.01em!important;
  box-shadow:0 1px 0 rgba(27,57,66,.02)!important;
}
.him-app .him-toolbar select{
  appearance:none!important;
  -webkit-appearance:none!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 7.5 10 12l4.5-4.5' fill='none' stroke='%23677b86' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;
  background-repeat:no-repeat!important;
  background-position:right 12px center!important;
  background-size:14px!important;
}
.him-app .him-toolbar select:hover,
.him-app .him-toolbar input:hover{
  border-color:#bfcfd2!important;
  background-color:#fff!important;
}
.him-app .him-toolbar select:focus,
.him-app .him-toolbar input:focus{
  border-color:#69b8b4!important;
  box-shadow:0 0 0 3px rgba(0,143,140,.085)!important;
}
.him-app .him-toolbar input::placeholder{
  color:#8291a0!important;
  -webkit-text-fill-color:#8291a0!important;
  font-size:12.5px!important;
  font-weight:500!important;
  opacity:1!important;
}
.him-app .him-toolbar select option{
  color:#243846!important;
  background:#fff!important;
  font-size:13px!important;
  font-weight:500!important;
}
.him-app .him-toolbar>div{
  gap:6px!important;
}
.him-app .him-toolbar button{
  height:40px!important;
  min-height:40px!important;
  padding:0 13px!important;
  border-radius:10px!important;
  font-size:11.5px!important;
  line-height:38px!important;
  font-weight:800!important;
  white-space:nowrap!important;
}

/* Prevent Kadence/theme button styles from hiding labels */
.him-app .him-tools button{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:68px!important;
  height:34px!important;
  padding:0 10px!important;
  border:1px solid #c9d9dc!important;
  border-radius:9px!important;
  background:#ffffff!important;
  color:#23404b!important;
  -webkit-text-fill-color:#23404b!important;
  font-size:9px!important;
  line-height:1!important;
  font-weight:800!important;
  letter-spacing:0!important;
  text-indent:0!important;
  text-shadow:none!important;
  opacity:1!important;
  visibility:visible!important;
  box-shadow:0 7px 20px rgba(31,58,66,.08)!important;
}
.him-app .him-tools button:hover,
.him-app .him-tools button:focus{
  border-color:#75bbb8!important;
  background:#f6fbfa!important;
  color:#006f6d!important;
  -webkit-text-fill-color:#006f6d!important;
}
.him-app .him-tools button:last-child{
  border-color:#173845!important;
  background:#173845!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}
.him-app .him-tools button:last-child:hover,
.him-app .him-tools button:last-child:focus{
  background:#214956!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}

/* Drawer close stays visible regardless of global button rules */
.him-app .him-drawer>button[data-him-close]{
  display:grid!important;
  place-items:center!important;
  width:36px!important;
  min-width:36px!important;
  height:36px!important;
  min-height:36px!important;
  padding:0!important;
  border:1px solid #d2dfe1!important;
  border-radius:50%!important;
  background:#fff!important;
  color:#253f4b!important;
  -webkit-text-fill-color:#253f4b!important;
  font-size:0!important;
  line-height:1!important;
  text-indent:0!important;
  opacity:1!important;
  box-shadow:0 5px 16px rgba(31,58,66,.08)!important;
}
.him-app .him-drawer>button[data-him-close]::before{
  content:'×';
  display:block;
  color:#253f4b!important;
  -webkit-text-fill-color:#253f4b!important;
  font-size:21px!important;
  font-weight:400!important;
  line-height:1!important;
}
.him-app .him-drawer>button[data-him-close]:hover{
  border-color:#8bc7c4!important;
  background:#f4fbfa!important;
}

@media(max-width:1100px){
  .him-app .him-toolbar{gap:9px!important}
}
@media(max-width:560px){
  .him-app .him-toolbar select,
  .him-app .him-toolbar input{font-size:13px!important}
  .him-app .him-toolbar button{font-size:11px!important}
}

/* v1.3.3 theme override fixes for Connected product chains */
.him-ranked button,
.him-ranked button span,
.him-ranked button b{color:var(--ink)!important;}
.him-ranked button{background:#f6f9f9!important;border:1px solid transparent!important;opacity:1!important;}
.him-ranked button:hover{background:#eef8f7!important;border-color:#cbe3e1!important;color:var(--ink)!important;}
.him-ranked button[disabled],
.him-ranked button[aria-disabled="true"]{opacity:.6!important;color:var(--muted)!important;}
.him-ranked .him-muted{color:var(--muted)!important;}

/* v1.3.4 hard theme isolation for Connected product chains */
.him-app .him-sidebar .him-panel .him-ranked > button[data-chain],
.him-app .him-sidebar .him-panel .him-ranked > button[data-chain]:link,
.him-app .him-sidebar .him-panel .him-ranked > button[data-chain]:visited{
  color:#142134 !important;
  -webkit-text-fill-color:#142134 !important;
  text-shadow:none !important;
  opacity:1 !important;
}
.him-app .him-sidebar .him-panel .him-ranked > button[data-chain] > span{
  color:#142134 !important;
  -webkit-text-fill-color:#142134 !important;
  text-shadow:none !important;
  opacity:1 !important;
}
.him-app .him-sidebar .him-panel .him-ranked > button[data-chain] > b{
  color:#008f8c !important;
  -webkit-text-fill-color:#008f8c !important;
  text-shadow:none !important;
  opacity:1 !important;
}
