.hmn-app{
  --hmn-ink:#102c2d;
  --hmn-muted:#687879;
  --hmn-line:rgba(14,66,65,.12);
  --hmn-soft:#f4f8f8;
  --hmn-soft-2:#eef6f5;
  --hmn-teal:#008f8c;
  --hmn-teal-dark:#006d6a;
  --hmn-teal-pale:#e8f7f6;
  --hmn-shadow:0 22px 55px rgba(13,57,57,.12);
  --hmn-shadow-soft:0 12px 32px rgba(17,41,50,.06);
  font-family:Manrope,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:var(--hmn-ink);
  max-width:1440px;
  margin:42px auto;
  padding:clamp(18px,3vw,40px);
  background:linear-gradient(135deg,rgba(0,143,140,.045),transparent 34%),#f4f8f7;
  border:1px solid var(--hmn-line);
  border-radius:28px;
}
.hmn-app--embedded{max-width:none;margin:0;padding:0;background:transparent;border:0;border-radius:0}
.hmn-app *{box-sizing:border-box}
.hmn-app button,.hmn-app select{font-family:inherit}
.hmn-app [hidden]{display:none!important}

.hmn-intro{position:relative;display:flex;align-items:flex-end;justify-content:space-between;gap:40px;margin:0;padding:clamp(24px,3.6vw,46px) clamp(22px,3.6vw,46px) clamp(66px,6vw,86px);overflow:hidden;color:#fff;background:linear-gradient(118deg,#082e30 0%,#0d4647 58%,#086d6b 100%);border:1px solid rgba(255,255,255,.08);border-radius:22px;box-shadow:0 22px 55px rgba(13,57,57,.14)}
.hmn-intro:after{content:"";position:absolute;right:-135px;top:-175px;width:330px;height:330px;border:1px solid rgba(255,255,255,.1);border-radius:999px}
.hmn-intro>div:first-child{max-width:780px}
.hmn-kicker,.hmn-section-head span,.hmn-decision-eyebrow{display:block;font-size:10px;line-height:1.2;letter-spacing:.14em;font-weight:800;color:var(--hmn-teal);margin-bottom:10px}
.hmn-intro .hmn-kicker{color:#67ddd2}
.hmn-intro h2{font-size:clamp(32px,4.2vw,54px);letter-spacing:-.055em;line-height:1;margin:0 0 16px;font-weight:700;max-width:780px;color:#fff}
.hmn-intro p{font-size:15px;line-height:1.7;color:rgba(255,255,255,.68);margin:0;max-width:760px}
.hmn-live{position:relative;z-index:1;display:flex;align-items:center;gap:9px;white-space:nowrap;font-size:11px;font-weight:700;color:rgba(255,255,255,.72);padding-bottom:6px}
.hmn-live i{width:8px;height:8px;border-radius:50%;background:#49d1c3;box-shadow:0 0 0 5px rgba(73,209,195,.1)}

.hmn-builder{
  position:sticky;
  top:18px;
  z-index:60;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:12px;
  padding:12px;
  background:rgba(255,255,255,.95);
  border:1px solid rgba(210,225,227,.95);
  border-radius:22px;
  box-shadow:0 18px 52px rgba(21,53,61,.1);
  backdrop-filter:blur(15px);
  -webkit-backdrop-filter:blur(15px);
  overflow:visible;
  margin:-44px 18px 0;
}
.hmn-builder-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;min-width:0}
.hmn-builder-actions{display:grid;grid-template-columns:minmax(190px,auto) auto;gap:8px;align-items:stretch}
.hmn-step{
  position:relative;
  min-width:0;
  padding:12px 13px 11px;
  background:#fbfdfd;
  border:1px solid #e0e9ea;
  border-radius:15px;
  transition:border-color .18s ease,box-shadow .18s ease,background .18s ease;
}
.hmn-step:hover,.hmn-step.is-open{background:#fff;border-color:#9ecfcd;box-shadow:0 10px 24px rgba(21,79,82,.08)}
.hmn-step-head{display:flex;align-items:center;gap:8px;margin-bottom:5px}
.hmn-step-head>span{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:7px;background:var(--hmn-teal-pale);color:var(--hmn-teal);font-size:9px;font-weight:850;letter-spacing:.04em;flex:0 0 auto}
.hmn-step-head label{font-size:10px;line-height:1;text-transform:uppercase;letter-spacing:.09em;color:#728396;font-weight:800;cursor:default}
.hmn-step>p{font-size:10px;line-height:1.35;color:#91a0ad;margin:5px 0 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

.hmn-select-control{position:relative;min-width:0}
.hmn-native-select{position:absolute!important;inset:0!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important;overflow:hidden!important}
.hmn-select-trigger{
  appearance:none;
  -webkit-appearance:none;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  width:100%;
  min-height:34px;
  padding:0;
  border:0!important;
  background:transparent!important;
  color:var(--hmn-ink)!important;
  text-align:left;
  font-size:15px;
  line-height:1.25;
  font-weight:720;
  box-shadow:none!important;
  outline:0;
  cursor:pointer;
}
.hmn-select-trigger:focus-visible{outline:2px solid rgba(0,143,140,.35);outline-offset:5px;border-radius:6px}
.hmn-select-trigger>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hmn-select-trigger>i{position:relative;width:18px;height:18px;border-radius:6px;background:#edf4f4;flex:0 0 auto;transition:transform .18s ease,background .18s ease}
.hmn-select-trigger>i:before,.hmn-select-trigger>i:after{content:"";position:absolute;top:8px;width:6px;height:1.5px;background:#60747a;border-radius:2px}
.hmn-select-trigger>i:before{left:4px;transform:rotate(45deg)}
.hmn-select-trigger>i:after{right:4px;transform:rotate(-45deg)}
.hmn-step.is-open .hmn-select-trigger>i{transform:rotate(180deg);background:var(--hmn-teal-pale)}

.hmn-select-menu{
  position:absolute;
  left:-14px;
  right:-14px;
  top:calc(100% + 13px);
  z-index:300;
  max-height:330px;
  overflow:auto;
  padding:8px;
  background:#fff;
  border:1px solid #d9e5e6;
  border-radius:16px;
  box-shadow:0 24px 60px rgba(14,42,49,.17),0 4px 12px rgba(14,42,49,.06);
  scrollbar-width:thin;
  scrollbar-color:#bed4d4 transparent;
}
.hmn-select-menu:before{content:"";position:absolute;top:-6px;left:28px;width:11px;height:11px;background:#fff;border-left:1px solid #d9e5e6;border-top:1px solid #d9e5e6;transform:rotate(45deg)}
.hmn-select-menu button{
  appearance:none;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  width:100%;
  min-height:43px;
  padding:10px 11px;
  border:0;
  border-radius:10px;
  background:#fff;
  color:#26384d;
  text-align:left;
  font-size:13px;
  line-height:1.35;
  font-weight:650;
  cursor:pointer;
  transition:background .14s ease,color .14s ease;
}
.hmn-select-menu button:hover,.hmn-select-menu button:focus-visible{background:#f1f7f7;color:#0f5657;outline:0}
.hmn-select-menu button.is-selected{background:var(--hmn-teal-pale);color:#075f60;font-weight:800}
.hmn-select-menu button i{font-style:normal;color:var(--hmn-teal);opacity:0}
.hmn-select-menu button.is-selected i{opacity:1}

.hmn-build,.hmn-copy{appearance:none;border:0;border-radius:13px;padding:0 18px;font:750 13px/1 inherit;cursor:pointer;white-space:nowrap;transition:transform .16s ease,background .16s ease,box-shadow .16s ease,color .16s ease}
.hmn-build{display:flex;align-items:center;justify-content:center;gap:12px;background:var(--hmn-teal);color:#fff;min-height:76px;box-shadow:0 10px 22px rgba(0,143,140,.2)}
.hmn-build:hover{background:var(--hmn-teal-dark);transform:translateY(-1px);box-shadow:0 14px 26px rgba(0,119,116,.22)}
.hmn-build i{font-style:normal;font-size:17px;transition:transform .16s ease}
.hmn-build:hover i{transform:translateX(3px)}
.hmn-copy{display:flex;align-items:center;justify-content:center;gap:7px;min-height:76px;background:#edf4f4;color:#50676d;padding-inline:15px}
.hmn-copy:hover{background:#e3eeee;color:#29494d}
.hmn-copy>span{font-size:14px}
.hmn-form.is-busy{pointer-events:none;opacity:.72}

.hmn-loading{margin:16px 0;padding:14px 18px;border:1px solid var(--hmn-line);border-radius:13px;background:#fff;display:flex;align-items:center;gap:10px;font-size:13px;color:#52656c}
.hmn-loading span{width:16px;height:16px;border:2px solid #d6e6e6;border-top-color:var(--hmn-teal);border-radius:50%;animation:hmnspin .7s linear infinite}
@keyframes hmnspin{to{transform:rotate(360deg)}}
.hmn-error{margin:16px 0;border:1px solid #f0c5c5;background:#fff7f7;color:#943d3d;padding:16px;border-radius:13px}
.hmn-results{margin-top:18px;opacity:0;transform:translateY(5px);transition:.22s ease}
.hmn-results.is-ready{opacity:1;transform:none}

.hmn-decision{display:grid;grid-template-columns:minmax(0,1fr) 300px;border:1px solid var(--hmn-line);border-radius:24px;overflow:hidden;background:linear-gradient(135deg,#fff 0%,#fbfdfd 72%,#edf8f7 100%);box-shadow:var(--hmn-shadow)}
.hmn-decision-main{padding:38px 40px 36px}
.hmn-decision-labels{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:21px}
.hmn-decision-labels span{font-size:9px;font-weight:850;letter-spacing:.07em;text-transform:uppercase;color:#376368;background:#eaf7f6;border:1px solid #d9efed;border-radius:100px;padding:7px 10px}
.hmn-decision-eyebrow{margin-bottom:9px}
.hmn-decision h3{font-size:clamp(31px,4vw,48px);line-height:1.02;letter-spacing:-.047em;margin:0 0 15px;max-width:760px}
.hmn-summary{font-size:15px;line-height:1.7;color:#5b6f80;max-width:760px;margin:0}
.hmn-posture{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:24px 0 20px;max-width:640px}
.hmn-posture div{border:1px solid #dce8e9;background:rgba(255,255,255,.82);padding:14px 16px;border-radius:13px;box-shadow:0 7px 18px rgba(22,55,62,.035)}
.hmn-posture small{display:block;color:#7a8c9a;font-size:9px;text-transform:uppercase;font-weight:800;letter-spacing:.08em;margin-bottom:5px}
.hmn-posture strong{font-size:15px}
.hmn-profile-link{display:inline-flex;align-items:center;gap:5px;font-size:12px;font-weight:850;color:var(--hmn-teal);text-decoration:none}
.hmn-profile-link:hover{text-decoration:underline}
.hmn-timeframe{position:relative;border-left:1px solid var(--hmn-line);padding:38px 30px;background:rgba(240,249,248,.76);display:flex;flex-direction:column;justify-content:center;overflow:hidden}
.hmn-timeframe:after{content:"";position:absolute;right:-65px;bottom:-75px;width:210px;height:210px;border-radius:50%;background:radial-gradient(circle,rgba(0,143,140,.13),rgba(0,143,140,0) 70%)}
.hmn-timeframe>span{font-size:9px;font-weight:850;letter-spacing:.14em;color:var(--hmn-teal);margin-bottom:14px}
.hmn-timeframe>strong{font-size:24px;line-height:1.08;letter-spacing:-.035em;position:relative;z-index:1}
.hmn-timeframe>p{font-size:13px;line-height:1.65;color:#61757f;margin:12px 0 0;position:relative;z-index:1}
.hmn-timeframe-line{position:relative;z-index:1;height:4px;margin-top:24px;border-radius:4px;background:#d6e9e8;overflow:hidden}
.hmn-timeframe-line i{display:block;width:62%;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--hmn-teal),#6ec7c4)}

.hmn-factors{display:grid;grid-template-columns:repeat(6,1fr);gap:10px;margin:12px 0}
.hmn-factors article{position:relative;border:1px solid var(--hmn-line);background:#fff;padding:15px 14px 14px;border-radius:13px;min-height:88px;overflow:hidden}
.hmn-factors article:before{content:"";position:absolute;left:0;right:0;top:0;height:3px;background:#aac6c6}
.hmn-factors article.is-high:before{background:#d8a172}
.hmn-factors article.is-low:before{background:var(--hmn-teal)}
.hmn-factors span{display:block;font-size:9px;text-transform:uppercase;letter-spacing:.065em;font-weight:800;color:#80909e;margin-bottom:8px}
.hmn-factors strong{font-size:14px;line-height:1.3}

.hmn-grid-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.hmn-card,.hmn-structure,.hmn-evidence,.hmn-context{border:1px solid var(--hmn-line);border-radius:19px;background:#fff;padding:27px;margin-top:12px;box-shadow:var(--hmn-shadow-soft)}
.hmn-section-head{margin-bottom:20px}
.hmn-section-head h3{margin:0;font-size:24px;letter-spacing:-.035em}
.hmn-section-head-inline{display:flex;align-items:flex-end;justify-content:space-between;gap:25px}
.hmn-section-head-inline p{max-width:430px;font-size:12px;color:#758697;margin:0;text-align:right}
.hmn-signal-list article{display:grid;grid-template-columns:34px 1fr;gap:14px;padding:16px 0;border-top:1px solid #edf2f3}
.hmn-signal-list article:first-child{border-top:0;padding-top:0}
.hmn-signal-list b{font-size:10px;color:var(--hmn-teal)}
.hmn-signal-list strong,.hmn-priority-list strong{display:block;font-size:14px;margin-bottom:5px}
.hmn-signal-list p,.hmn-priority-list p{font-size:12px;line-height:1.58;color:#6e7f8d;margin:0}
.hmn-priority-list{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.hmn-priority-list article{background:var(--hmn-soft);padding:14px;border:1px solid #edf2f2;border-radius:11px}
.hmn-risk-strip{border-top:1px solid #e9eff0;margin-top:17px;padding-top:15px}
.hmn-risk-strip small{display:block;font-size:9px;font-weight:800;text-transform:uppercase;color:#84939d;margin-bottom:9px}
.hmn-risk-strip div{display:flex;gap:6px;flex-wrap:wrap}
.hmn-risk-strip span{font-size:10px;padding:6px 8px;background:#fff3ec;color:#865638;border-radius:8px}

.hmn-segments{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}
.hmn-segments a{position:relative;text-decoration:none;border:1px solid #e1e9ea;border-radius:12px;padding:15px 38px 14px 15px;color:var(--hmn-ink);transition:.18s ease;background:#fff}
.hmn-segments a:hover{border-color:#9ed1cf;transform:translateY(-1px);box-shadow:0 10px 22px rgba(20,74,76,.07)}
.hmn-segments span{display:block;font-size:13px;font-weight:800}
.hmn-segments small{display:block;font-size:10px;color:#84929f;margin-top:4px}
.hmn-segments b{position:absolute;right:14px;top:17px;color:var(--hmn-teal)}

.hmn-tabs{display:flex;gap:6px;border-bottom:1px solid var(--hmn-line);margin-bottom:18px}
.hmn-tabs button{appearance:none;border:0;background:transparent;padding:11px 13px;font:750 12px/1 inherit;color:#758694;cursor:pointer;border-bottom:2px solid transparent;margin-bottom:-1px}
.hmn-tabs button.is-active{color:var(--hmn-ink);border-bottom-color:var(--hmn-teal)}
.hmn-tabs b{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;border-radius:10px;background:#edf4f4;color:#567075;margin-left:6px;font-size:10px}
.hmn-evidence-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.hmn-evidence-card{display:flex;flex-direction:column;text-decoration:none;color:var(--hmn-ink);border:1px solid #dfe8e9;border-top:3px solid #7bc3c0;border-radius:13px;padding:17px;min-height:225px;transition:.18s ease;background:#fff}
.hmn-evidence-card:hover{box-shadow:0 13px 30px rgba(20,57,61,.08);transform:translateY(-2px)}
.hmn-evidence-card.hmn-article-card{border-top-color:#4f879c}
.hmn-relation{font-size:9px;letter-spacing:.07em;text-transform:uppercase;font-weight:850;color:var(--hmn-teal);margin-bottom:11px}
.hmn-evidence-card h4{font-size:16px;line-height:1.25;letter-spacing:-.02em;margin:0 0 9px}
.hmn-evidence-card p{font-size:12px;line-height:1.55;color:#71818e;margin:0 0 15px;flex:1}
.hmn-evidence-card>div{display:flex;align-items:center;gap:7px;flex-wrap:wrap;border-top:1px solid #edf2f2;padding-top:10px}
.hmn-evidence-card small{font-size:9px;color:#84929d}
.hmn-evidence-card b{font-size:11px;color:var(--hmn-teal);margin-left:auto}
.hmn-evidence-card i{font-style:normal}
.hmn-opportunity-card{border-top-color:#d5a86b}
.hmn-more{display:inline-flex;margin-top:16px;color:var(--hmn-teal);font-size:12px;font-weight:800;text-decoration:none}

.hmn-context-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.hmn-context-grid article{border:1px solid #e1e9ea;border-radius:12px;padding:15px;background:#fbfdfd}
.hmn-context-grid article>span{display:block;font-size:9px;text-transform:uppercase;letter-spacing:.08em;font-weight:800;color:#788b97;margin-bottom:8px}
.hmn-context-grid article>div{display:flex;flex-direction:column}
.hmn-context-grid a{display:flex;align-items:center;justify-content:space-between;text-decoration:none;color:var(--hmn-ink);font-size:12px;padding:7px 0;border-top:1px solid #edf2f2}
.hmn-context-grid a:first-child{border-top:0}
.hmn-context-grid b{font-size:10px;color:var(--hmn-teal)}
.hmn-context-empty{font-size:12px;color:#8a98a2}
.hmn-empty{grid-column:1/-1;min-height:160px;border:1px dashed #cfdbdc;background:#f9fbfb;border-radius:12px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:20px}
.hmn-empty strong{font-size:14px}
.hmn-empty span{font-size:12px;color:#7b8c98;margin-top:5px}
.hmn-note{font-size:11px;color:#84939e;text-align:center;padding:18px 10px}
.hmn-note:before{content:'i';display:inline-flex;width:16px;height:16px;align-items:center;justify-content:center;border-radius:50%;background:#e8f4f3;color:var(--hmn-teal);font-weight:800;margin-right:6px}

@media(max-width:1040px){
  .hmn-builder{grid-template-columns:1fr}
  .hmn-builder-actions{grid-template-columns:1fr auto}
  .hmn-build,.hmn-copy{min-height:52px}
  .hmn-decision{grid-template-columns:1fr}
  .hmn-timeframe{border-left:0;border-top:1px solid var(--hmn-line)}
  .hmn-factors{grid-template-columns:repeat(3,1fr)}
  .hmn-grid-two{grid-template-columns:1fr}
  .hmn-segments{grid-template-columns:repeat(2,1fr)}
  .hmn-evidence-grid{grid-template-columns:repeat(2,1fr)}
}

@media(max-width:760px){
  .hmn-app{margin:24px auto;padding:12px;border-left:0;border-right:0;border-radius:0}
  .hmn-app--embedded{margin:0;padding:0}
  .hmn-intro{display:block}
  .hmn-intro{padding:24px 18px 58px;border-radius:17px}
  .hmn-live{margin-top:16px}
  .hmn-builder{position:relative;top:auto;border-radius:18px;padding:10px;margin:-34px 8px 0}
  .hmn-builder-fields{grid-template-columns:1fr}
  .hmn-builder-actions{grid-template-columns:1fr}
  .hmn-step>p{white-space:normal}
  .hmn-select-menu{position:fixed;left:14px;right:14px;top:auto;bottom:14px;max-height:min(65vh,520px);border-radius:18px;z-index:9999}
  .hmn-select-menu:before{display:none}
  .hmn-decision-main{padding:27px 22px}
  .hmn-timeframe{padding:25px 22px}
  .hmn-posture{grid-template-columns:1fr}
  .hmn-factors{grid-template-columns:repeat(2,1fr)}
  .hmn-card,.hmn-structure,.hmn-evidence,.hmn-context{padding:20px 16px}
  .hmn-section-head-inline{display:block}
  .hmn-section-head-inline p{text-align:left;margin-top:7px}
  .hmn-priority-list{grid-template-columns:1fr}
  .hmn-segments,.hmn-evidence-grid,.hmn-context-grid{grid-template-columns:1fr}
  .hmn-tabs{overflow:auto}
  .hmn-tabs button{white-space:nowrap}
}

.hmp-workspace{
  --hmp-ink:#102c2d;
  --hmp-muted:#687879;
  --hmp-line:rgba(14,66,65,.12);
  --hmp-teal:#008f8c;
  box-sizing:border-box;
  max-width:1440px;
  width:100%;
  margin:42px auto 70px;
  padding:clamp(20px,3.4vw,46px);
  color:var(--hmp-ink);
  background:linear-gradient(135deg,rgba(0,143,140,.045),transparent 30%),#f4f8f7;
  border:1px solid var(--hmp-line);
  border-radius:32px;
  font-family:Manrope,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
.hmp-workspace *{box-sizing:border-box}
.hmp-workspace__head{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(360px,.85fr);gap:clamp(28px,6vw,86px);align-items:end;padding:4px 4px clamp(26px,3vw,38px);border-bottom:1px solid var(--hmp-line)}
.hmp-workspace__intro>span{display:block;margin-bottom:10px;color:var(--hmp-teal);font-size:10px;font-weight:800;letter-spacing:.14em}
.hmp-workspace__intro h2{max-width:760px;margin:0 0 13px;color:var(--hmp-ink);font-size:clamp(30px,4vw,50px);font-weight:700;letter-spacing:-.05em;line-height:1.02}
.hmp-workspace__intro p{max-width:720px;margin:0;color:var(--hmp-muted);font-size:14px;line-height:1.7}
.hmp-workspace__nav{display:grid;gap:8px}
.hmp-workspace__nav a{display:grid;grid-template-columns:32px minmax(0,1fr) 18px;gap:12px;align-items:center;padding:13px 14px;color:var(--hmp-ink);background:rgba(255,255,255,.72);border:1px solid var(--hmp-line);border-radius:14px;text-decoration:none;transition:.18s ease}
.hmp-workspace__nav a:after{content:"↓";color:var(--hmp-teal);font-size:14px;text-align:center}
.hmp-workspace__nav a:hover{transform:translateY(-1px);background:#fff;border-color:rgba(0,143,140,.35);box-shadow:0 10px 24px rgba(21,79,82,.07)}
.hmp-workspace__nav i{display:flex;align-items:center;justify-content:center;width:32px;height:32px;color:var(--hmp-teal);background:#e8f7f6;border-radius:9px;font-size:9px;font-style:normal;font-weight:850;letter-spacing:.05em}
.hmp-workspace__nav span,.hmp-workspace__nav strong,.hmp-workspace__nav small{display:block}
.hmp-workspace__nav strong{font-size:12px}
.hmp-workspace__nav small{margin-top:2px;color:#7b8b8b;font-size:9px}
.hmp-workspace__body{padding-top:clamp(28px,4vw,50px)}
.hmp-module{scroll-margin-top:26px}
.hmp-module__rail{display:flex;align-items:center;gap:12px;margin:0 4px 13px}
.hmp-module__rail>span{display:flex;align-items:center;justify-content:center;width:34px;height:34px;flex:0 0 auto;color:#fff;background:var(--hmp-teal);border-radius:10px;font-size:10px;font-weight:850;letter-spacing:.05em}
.hmp-module__rail strong,.hmp-module__rail small{display:block}
.hmp-module__rail strong{font-size:12px;letter-spacing:.01em}
.hmp-module__rail small{margin-top:2px;color:#7a8a89;font-size:9px}
.hmp-bridge{display:grid;grid-template-columns:1fr auto 1fr;gap:15px;align-items:center;margin:clamp(34px,6vw,76px) 4px;color:#79908e}
.hmp-bridge span{height:1px;background:linear-gradient(90deg,transparent,var(--hmp-line))}
.hmp-bridge span:last-child{background:linear-gradient(90deg,var(--hmp-line),transparent)}
.hmp-bridge i{font-size:9px;font-style:normal;font-weight:750;letter-spacing:.08em;text-transform:uppercase}

@media(max-width:900px){
  .hmp-workspace__head{grid-template-columns:1fr}
  .hmp-workspace__nav{grid-template-columns:1fr 1fr}
}
@media(max-width:680px){
  .hmp-workspace{width:100vw;margin:24px calc(50% - 50vw) 42px;padding:12px;border-left:0;border-right:0;border-radius:0}
  .hmp-workspace__head{padding:10px 6px 25px}
  .hmp-workspace__nav{grid-template-columns:1fr}
  .hmp-workspace__intro h2{font-size:31px}
  .hmp-workspace__body{padding-top:26px}
  .hmp-module__rail{margin-left:6px}
  .hmp-bridge{gap:10px;margin:38px 6px}
  .hmp-bridge i{max-width:210px;text-align:center;line-height:1.5}
}

/* v1.3.0: shared Hormuz intelligence workspace */
.hmp-workspace{
  --hmp-ink:#10213a;
  --hmp-muted:#66768a;
  --hmp-line:#d6e0e4;
  --hmp-soft:#f5f8f9;
  --hmp-teal:#008f8c;
  --hmp-teal-dark:#006f6d;
  width:100%;
  max-width:1600px;
  margin:0 auto 70px;
  padding:0;
  border:0;
  border-radius:0;
  background:#fff;
}
.hmp-workspace [hidden]{display:none!important}
.hmp-workspace__head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:24px;
  padding:8px 2px 20px;
  border:0;
}
.hmp-workspace__intro h1{
  max-width:820px;
  margin:0;
  color:var(--hmp-ink);
  font-size:clamp(30px,3.1vw,48px);
  font-weight:720;
  letter-spacing:-.045em;
  line-height:1.04;
}
.hmp-workspace__intro p{
  max-width:820px;
  margin:9px 0 0;
  color:var(--hmp-muted);
  font-size:14px;
  line-height:1.55;
}
.hmp-workspace__status{
  flex:0 0 auto;
  padding-bottom:3px;
  color:#7a8997;
  font-size:11px;
  font-weight:700;
}
.hmp-workspace__nav{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:0;
  margin:0 0 14px;
  overflow:hidden;
  border:1px solid #cbd8de;
  border-radius:12px;
  background:#fff;
}
.hmp-workspace__nav>button{
  appearance:none!important;
  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-right:1px solid #d8e2e5!important;
  border-radius:0!important;
  background:#fff!important;
  color:#475a70!important;
  -webkit-text-fill-color:#475a70!important;
  text-align:left!important;
  box-shadow:none!important;
  cursor:pointer!important;
  opacity:1!important;
}
.hmp-workspace__nav>button:last-child{border-right:0!important}
.hmp-workspace__nav>button svg{
  width:25px;
  height:25px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.hmp-workspace__nav>button span{display:grid;gap:2px}
.hmp-workspace__nav>button strong{
  color:inherit!important;
  -webkit-text-fill-color:inherit!important;
  font-size:15px;
  font-weight:760;
  line-height:1.15;
}
.hmp-workspace__nav>button small{
  color:inherit!important;
  -webkit-text-fill-color:inherit!important;
  font-size:11px;
  font-weight:560;
  opacity:.78;
}
.hmp-workspace__nav>button[aria-selected="true"]{
  position:relative;
  background:#f5fbfa!important;
  color:var(--hmp-teal-dark)!important;
  -webkit-text-fill-color:var(--hmp-teal-dark)!important;
  box-shadow:inset 0 0 0 2px var(--hmp-teal)!important;
}
.hmp-workspace__nav>button[aria-selected="true"]:after{
  position:absolute;
  right:44%;
  bottom:0;
  left:44%;
  height:3px;
  background:var(--hmp-teal);
  content:"";
}
.hmp-workspace__nav>button:focus-visible{
  outline:3px solid rgba(0,143,140,.18)!important;
  outline-offset:-4px!important;
}
.hmp-workspace__body{padding:0}
.hmp-module{min-width:0;scroll-margin-top:24px}
.hmp-module__rail,.hmp-bridge{display:none}

.hmp-workspace .hmn-app{
  --hmn-ink:#10213a;
  --hmn-muted:#66768a;
  --hmn-line:#d6e0e4;
  --hmn-soft:#f5f8f9;
  --hmn-soft-2:#eef5f5;
  max-width:none;
  margin:0;
  padding:0;
  overflow:visible;
  border:0;
  border-radius:0;
  background:#fff;
}
.hmp-workspace .hmn-intro{
  min-height:230px;
  padding:32px 34px 72px;
  border-radius:14px 14px 0 0;
  box-shadow:none;
}
.hmp-workspace .hmn-intro h2{
  max-width:720px;
  font-size:clamp(30px,3.3vw,46px);
  font-weight:680;
}
.hmp-workspace .hmn-builder{
  position:relative;
  top:auto;
  z-index:70;
  margin:-48px 14px 0;
  padding:10px;
  border-color:#cfdce1;
  border-radius:13px;
  background:#fff;
  box-shadow:0 12px 35px rgba(20,45,61,.08);
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
}
.hmp-workspace .hmn-step{
  padding:10px 12px 9px;
  border-color:#d8e2e5;
  border-radius:10px;
  background:#fbfdfd;
}
.hmp-workspace .hmn-step-head>span{border-radius:6px}
.hmp-workspace .hmn-select-trigger{font-size:13px}
.hmp-workspace .hmn-build,
.hmp-workspace .hmn-copy{
  min-height:69px;
  border-radius:10px;
  box-shadow:none;
}
.hmp-workspace .hmn-results{margin:14px 0 0}
.hmp-workspace .hmn-decision,
.hmp-workspace .hmn-card,
.hmp-workspace .hmn-structure,
.hmp-workspace .hmn-evidence,
.hmp-workspace .hmn-context{
  border-color:#cfdce1;
  border-radius:14px;
  box-shadow:none;
}
.hmp-workspace .hmn-decision{
  margin-top:14px;
  background:linear-gradient(135deg,#fff 0%,#fbfdfd 76%,#f1f8f7 100%);
}
.hmp-workspace .hmn-decision-main{padding:30px 32px}
.hmp-workspace .hmn-decision h3{font-size:clamp(28px,3.3vw,43px)}
.hmp-workspace .hmn-timeframe{padding:30px 27px}
.hmp-workspace .hmn-posture div,
.hmp-workspace .hmn-priority-list article,
.hmp-workspace .hmn-segments a,
.hmp-workspace .hmn-evidence-card,
.hmp-workspace .hmn-context-grid article{
  border-radius:10px;
  box-shadow:none;
}
.hmp-workspace .hmn-factors{
  gap:0;
  margin:14px 0;
  overflow:hidden;
  border:1px solid #cfdce1;
  border-radius:12px;
  background:#fff;
}
.hmp-workspace .hmn-factors article{
  min-height:82px;
  border:0;
  border-right:1px solid #dce4e7;
  border-radius:0;
}
.hmp-workspace .hmn-factors article:last-child{border-right:0}
.hmp-workspace .hmn-card,
.hmp-workspace .hmn-structure,
.hmp-workspace .hmn-evidence,
.hmp-workspace .hmn-context{
  margin-top:12px;
  padding:23px;
}
.hmp-workspace .hmn-section-head{margin-bottom:17px}
.hmp-workspace .hmn-section-head h3{font-size:21px}
.hmp-workspace .hmn-evidence-card{min-height:205px}
.hmp-workspace .hmn-note{padding-bottom:6px}

@media(max-width:900px){
  .hmp-workspace__head{display:block}
  .hmp-workspace__status{display:none}
  .hmp-workspace .hmn-factors{
    display:grid;
    grid-template-columns:repeat(3,1fr);
  }
  .hmp-workspace .hmn-factors article:nth-child(3n){border-right:0}
  .hmp-workspace .hmn-factors article:nth-child(n+4){border-top:1px solid #dce4e7}
}
@media(max-width:680px){
  .hmp-workspace{
    width:100vw;
    margin:24px calc(50% - 50vw) 42px;
    padding:0 10px;
    border:0;
    border-radius:0;
  }
  .hmp-workspace__head{padding:4px 1px 15px}
  .hmp-workspace__intro h1{font-size:29px}
  .hmp-workspace__intro p{font-size:12px}
  .hmp-workspace__nav{margin-bottom:10px}
  .hmp-workspace__nav>button{min-height:60px!important;padding:9px 8px!important}
  .hmp-workspace__nav>button svg{display:none}
  .hmp-workspace__nav>button strong{font-size:13px}
  .hmp-workspace__nav>button small{font-size:8px}
  .hmp-workspace .hmn-intro{
    min-height:0;
    padding:24px 18px 58px;
    border-radius:12px 12px 0 0;
  }
  .hmp-workspace .hmn-builder{margin:-36px 8px 0}
  .hmp-workspace .hmn-factors{grid-template-columns:1fr 1fr}
  .hmp-workspace .hmn-factors article:nth-child(3n){border-right:1px solid #dce4e7}
  .hmp-workspace .hmn-factors article:nth-child(2n){border-right:0}
  .hmp-workspace .hmn-factors article:nth-child(n+3){border-top:1px solid #dce4e7}
  .hmp-workspace .hmn-card,
  .hmp-workspace .hmn-structure,
  .hmp-workspace .hmn-evidence,
  .hmp-workspace .hmn-context{padding:18px 15px}
}
@media(max-width:420px){
  .hmp-workspace__nav>button small{display:none}
}

/* v1.4.0: decision-first market workspace */
.hmp-workspace,
.hmn-app{
  --hmp-ink:#10213a;
  --hmp-muted:#66768a;
  --hmp-line:#d5e0e4;
  --hmp-teal:#008f8c;
  --hmp-teal-dark:#006f6d;
}
.hmp-workspace{
  width:min(1600px,100%);
  margin:0 auto 64px;
  color:var(--hmp-ink);
  background:#fff;
}
.hmp-workspace__head{
  align-items:end;
  padding:8px 1px 18px;
}
.hmp-workspace__intro h1{
  max-width:none;
  color:#10213a;
  font-size:clamp(32px,3.05vw,48px);
  font-weight:720;
  letter-spacing:-.046em;
}
.hmp-workspace__intro p{
  max-width:760px;
  margin-top:8px;
  color:#6d7b8c;
  font-size:13px;
}
.hmp-workspace__status{
  padding-bottom:2px;
  color:#84909d;
  font-size:10px;
  font-weight:650;
}
.hmp-workspace__nav{
  margin:0 0 14px;
  border-color:#d4dfe3;
  border-radius:10px;
}
.hmp-workspace__nav>button{
  min-height:74px!important;
  gap:14px!important;
  padding:12px 22px!important;
  border-right-color:#d4dfe3!important;
  color:#5c6c7d!important;
  -webkit-text-fill-color:#5c6c7d!important;
}
.hmp-workspace__nav>button svg{
  width:23px;
  height:23px;
  stroke-width:1.7;
}
.hmp-workspace__nav>button strong{font-size:14px}
.hmp-workspace__nav>button small{font-size:10px}
.hmp-workspace__nav>button[aria-selected="true"]{
  background:#f2fbfa!important;
  color:#007875!important;
  -webkit-text-fill-color:#007875!important;
  box-shadow:inset 0 0 0 1.5px #008f8c!important;
}
.hmp-workspace__nav>button[aria-selected="true"]:after{
  right:0;
  bottom:0;
  left:0;
  height:2px;
}

.hmn-command{
  position:relative;
  isolation:isolate;
  overflow:visible;
  padding:30px 28px 24px;
  color:#fff;
  background:#073d3f;
  border:1px solid #0b4c4e;
  border-radius:12px;
}
.hmn-command:before{
  position:absolute;
  z-index:-1;
  inset:0;
  border-radius:inherit;
  background:
    linear-gradient(100deg,rgba(0,143,140,.16),transparent 54%),
    radial-gradient(circle at 96% 10%,rgba(102,221,210,.11),transparent 28%);
  content:"";
  pointer-events:none;
}
.hmn-command .hmn-intro,
.hmp-workspace .hmn-command .hmn-intro{
  min-height:0;
  margin:0 0 20px;
  padding:0;
  overflow:visible;
  align-items:start;
  color:#fff;
  background:transparent;
  border:0;
  border-radius:0;
  box-shadow:none;
}
.hmn-command .hmn-intro:after{display:none}
.hmn-command .hmn-intro>div:first-child{max-width:780px}
.hmn-command .hmn-intro h2,
.hmp-workspace .hmn-command .hmn-intro h2{
  max-width:760px;
  margin:0;
  color:#fff;
  font-size:clamp(27px,2.5vw,38px);
  font-weight:680;
  line-height:1.08;
  letter-spacing:-.043em;
}
.hmn-command .hmn-intro p{
  margin:8px 0 0;
  color:rgba(235,248,247,.62);
  font-size:12px;
  line-height:1.55;
}
.hmn-command .hmn-live{
  padding-top:7px;
  padding-bottom:0;
  color:rgba(237,250,249,.68);
  font-size:10px;
}
.hmn-command .hmn-live i{
  width:6px;
  height:6px;
  background:#6addd3;
  box-shadow:0 0 0 4px rgba(106,221,211,.09);
}
.hmn-command .hmn-builder,
.hmp-workspace .hmn-command .hmn-builder{
  position:relative;
  top:auto;
  z-index:70;
  grid-template-columns:minmax(0,1fr) auto;
  gap:10px;
  margin:0;
  padding:0;
  overflow:visible;
  background:transparent;
  border:0;
  border-radius:0;
  box-shadow:none;
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
}
.hmn-command .hmn-builder-fields{gap:10px}
.hmn-command .hmn-step,
.hmp-workspace .hmn-command .hmn-step{
  min-height:98px;
  padding:13px 14px 11px;
  background:rgba(255,255,255,.075);
  border:1px solid rgba(255,255,255,.12);
  border-radius:9px;
}
.hmn-command .hmn-step:hover,
.hmn-command .hmn-step.is-open{
  background:rgba(255,255,255,.11);
  border-color:rgba(106,221,211,.46);
  box-shadow:none;
}
.hmn-command .hmn-step-head{margin-bottom:6px}
.hmn-command .hmn-step-head>span{
  width:20px;
  height:20px;
  color:#8ee1da;
  background:rgba(0,164,160,.14);
  border-radius:5px;
}
.hmn-command .hmn-step-head label{color:rgba(235,248,247,.58)}
.hmn-command .hmn-select-trigger,
.hmn-command .hmn-select-trigger:hover,
.hmn-command .hmn-select-trigger:focus{
  min-height:31px;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  font-size:14px;
}
.hmn-command .hmn-select-trigger>i{background:rgba(255,255,255,.09)}
.hmn-command .hmn-select-trigger>i:before,
.hmn-command .hmn-select-trigger>i:after{background:#b8d7d5}
.hmn-command .hmn-step>p{
  color:rgba(235,248,247,.4);
  font-size:9px;
}
.hmn-command .hmn-builder-actions{
  grid-template-columns:minmax(190px,auto) 44px;
  gap:8px;
}
.hmn-command .hmn-build,
.hmp-workspace .hmn-command .hmn-build{
  min-height:98px;
  padding-inline:24px;
  background:#009d99!important;
  border:1px solid rgba(255,255,255,.16)!important;
  border-radius:9px;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  box-shadow:none;
}
.hmn-command .hmn-build:hover{background:#008b87!important}
.hmn-command .hmn-copy,
.hmp-workspace .hmn-command .hmn-copy{
  min-width:44px;
  min-height:98px;
  padding:0!important;
  color:#d6ecea!important;
  -webkit-text-fill-color:#d6ecea!important;
  background:rgba(255,255,255,.075)!important;
  border:1px solid rgba(255,255,255,.12)!important;
  border-radius:9px;
}
.hmn-command .hmn-copy:hover{background:rgba(255,255,255,.12)!important}
.hmn-command .hmn-copy-label{display:none}

.hmp-workspace .hmn-results{margin:12px 0 0}
.hmp-workspace .hmn-decision{
  grid-template-columns:minmax(0,1fr) 320px;
  margin:0;
  background:#fff;
  border-color:#d5e0e4;
  border-radius:11px;
}
.hmp-workspace .hmn-decision-main{padding:30px 30px 27px}
.hmp-workspace .hmn-decision-labels{
  gap:13px;
  margin-bottom:12px;
}
.hmp-workspace .hmn-decision-labels span{
  padding:0;
  color:#738391;
  background:transparent;
  border:0;
  border-radius:0;
  font-size:8px;
}
.hmp-workspace .hmn-decision-labels span+span:before{
  margin-right:13px;
  color:#a9b6bd;
  content:"/";
}
.hmp-workspace .hmn-decision h3{
  max-width:900px;
  margin-bottom:12px;
  font-size:clamp(28px,3.1vw,43px);
}
.hmp-workspace .hmn-summary{
  max-width:850px;
  color:#687789;
  font-size:13px;
}
.hmp-workspace .hmn-posture{
  max-width:600px;
  margin:20px 0 17px;
}
.hmp-workspace .hmn-posture div{
  padding:12px 14px;
  background:#fff;
  border-color:#dbe4e7;
  border-radius:8px;
}
.hmp-workspace .hmn-timeframe{
  padding:30px 28px;
  background:#f6fbfa;
}
.hmp-workspace .hmn-timeframe>strong{font-size:22px}
.hmp-workspace .hmn-timeframe>p{font-size:12px}
.hmp-workspace .hmn-timeframe:after{display:none}
.hmp-workspace .hmn-timeframe-line{height:3px}

.hmp-workspace .hmn-factors{
  margin:10px 0;
  border-radius:10px;
}
.hmp-workspace .hmn-factors article{
  min-height:76px;
  padding:14px 13px 12px;
}
.hmp-workspace .hmn-factors article:before{height:2px}
.hmp-workspace .hmn-factors span{font-size:8px}
.hmp-workspace .hmn-factors strong{font-size:13px}
.hmp-workspace .hmn-grid-two{gap:10px}
.hmp-workspace .hmn-card,
.hmp-workspace .hmn-structure,
.hmp-workspace .hmn-evidence,
.hmp-workspace .hmn-context{
  margin-top:10px;
  padding:22px;
  border-color:#d5e0e4;
  border-radius:10px;
}
.hmp-workspace .hmn-section-head{margin-bottom:16px}
.hmp-workspace .hmn-section-head h3{font-size:20px}
.hmp-workspace .hmn-signal-list article{padding:14px 0}
.hmp-workspace .hmn-priority-list article{
  min-height:130px;
  padding:14px;
  background:#f7f9fa;
  border-color:#e2e8ea;
  border-radius:8px;
}
.hmp-workspace .hmn-risk-strip span{
  padding:5px 7px;
  background:#fff3ec;
  border-radius:5px;
}
.hmp-workspace .hmn-segments{
  grid-template-columns:repeat(5,1fr);
  gap:8px;
}
.hmp-workspace .hmn-segments a{
  padding:14px 34px 13px 14px;
  border-radius:8px;
}
.hmp-workspace .hmn-tabs{gap:24px}
.hmp-workspace .hmn-tabs button{
  padding:10px 0;
  font-size:11px;
}
.hmp-workspace .hmn-tabs b{height:18px;min-width:18px}
.hmp-workspace .hmn-evidence-grid{gap:8px}
.hmp-workspace .hmn-evidence-card{
  min-height:205px;
  padding:15px;
  border-top-width:2px;
  border-radius:8px;
}
.hmp-workspace .hmn-context-grid{gap:0}
.hmp-workspace .hmn-context-grid article{
  padding:14px 18px;
  background:#fff;
  border-radius:0;
  border-right:0;
}
.hmp-workspace .hmn-context-grid article:first-child{border-radius:8px 0 0 8px}
.hmp-workspace .hmn-context-grid article:last-child{
  border-right:1px solid #e1e9ea;
  border-radius:0 8px 8px 0;
}
.hmp-workspace .hmn-note{
  padding:15px 10px 5px;
  font-size:10px;
}
.hmp-workspace .hmn-support{
  margin-top:10px;
  overflow:hidden;
  background:#fff;
  border:1px solid #d5e0e4;
  border-radius:10px;
}
.hmp-workspace .hmn-support>summary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  min-height:78px;
  padding:16px 20px;
  color:#10213a;
  cursor:pointer;
  list-style:none;
}
.hmp-workspace .hmn-support>summary::-webkit-details-marker{display:none}
.hmp-workspace .hmn-support>summary:hover{background:#f7fbfb}
.hmp-workspace .hmn-support>summary:focus-visible{
  outline:3px solid rgba(0,143,140,.18);
  outline-offset:-3px;
}
.hmp-workspace .hmn-support>summary span,
.hmp-workspace .hmn-support>summary strong,
.hmp-workspace .hmn-support>summary small{display:block}
.hmp-workspace .hmn-support>summary strong{
  font-size:16px;
  font-weight:720;
}
.hmp-workspace .hmn-support>summary small{
  margin-top:4px;
  color:#758494;
  font-size:10px;
}
.hmp-workspace .hmn-support>summary i{
  position:relative;
  width:28px;
  height:28px;
  flex:0 0 auto;
  border:1px solid #cbd8dd;
  border-radius:50%;
}
.hmp-workspace .hmn-support>summary i:before,
.hmp-workspace .hmn-support>summary i:after{
  position:absolute;
  top:13px;
  width:7px;
  height:1.5px;
  background:#58707d;
  border-radius:2px;
  content:"";
}
.hmp-workspace .hmn-support>summary i:before{
  left:7px;
  transform:rotate(45deg);
}
.hmp-workspace .hmn-support>summary i:after{
  right:7px;
  transform:rotate(-45deg);
}
.hmp-workspace .hmn-support[open]>summary{
  color:#006f6d;
  background:#f2fbfa;
  border-bottom:1px solid #d5e0e4;
}
.hmp-workspace .hmn-support[open]>summary i{transform:rotate(180deg)}
.hmp-workspace .hmn-support__body{padding:0 10px 10px}
.hmp-workspace .hmn-support .hmn-structure,
.hmp-workspace .hmn-support .hmn-evidence,
.hmp-workspace .hmn-support .hmn-context{
  margin-top:10px;
}

@media(max-width:1040px){
  .hmn-command .hmn-builder,
  .hmp-workspace .hmn-command .hmn-builder{grid-template-columns:1fr}
  .hmn-command .hmn-builder-actions{grid-template-columns:1fr 48px}
  .hmn-command .hmn-build,
  .hmp-workspace .hmn-command .hmn-build,
  .hmn-command .hmn-copy,
  .hmp-workspace .hmn-command .hmn-copy{min-height:54px}
  .hmp-workspace .hmn-decision{grid-template-columns:1fr}
  .hmp-workspace .hmn-timeframe{border-left:0;border-top:1px solid #d5e0e4}
  .hmp-workspace .hmn-segments{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:680px){
  .hmp-workspace{
    width:100vw;
    margin:18px calc(50% - 50vw) 42px;
    padding:0 10px;
  }
  .hmp-workspace__head{padding:2px 2px 14px}
  .hmp-workspace__intro h1{font-size:30px}
  .hmp-workspace__intro p{font-size:11px;line-height:1.5}
  .hmp-workspace__nav{border-radius:9px}
  .hmp-workspace__nav>button{
    min-height:58px!important;
    padding:9px 8px!important;
  }
  .hmp-workspace__nav>button strong{font-size:12px}
  .hmp-workspace__nav>button small{font-size:8px}
  .hmn-command{
    padding:22px 14px 14px;
    border-radius:10px;
  }
  .hmn-command .hmn-intro,
  .hmp-workspace .hmn-command .hmn-intro{
    display:block;
    margin-bottom:16px;
    padding:0;
  }
  .hmn-command .hmn-intro h2,
  .hmp-workspace .hmn-command .hmn-intro h2{font-size:28px}
  .hmn-command .hmn-live{margin-top:12px}
  .hmn-command .hmn-builder-fields{grid-template-columns:1fr}
  .hmn-command .hmn-step,
  .hmp-workspace .hmn-command .hmn-step{min-height:90px}
  .hmn-command .hmn-builder-actions{grid-template-columns:1fr 46px}
  .hmp-workspace .hmn-decision-main{padding:24px 18px}
  .hmp-workspace .hmn-timeframe{padding:23px 18px}
  .hmp-workspace .hmn-posture{grid-template-columns:1fr}
  .hmp-workspace .hmn-card,
  .hmp-workspace .hmn-structure,
  .hmp-workspace .hmn-evidence,
  .hmp-workspace .hmn-context{padding:19px 15px}
  .hmp-workspace .hmn-segments{grid-template-columns:1fr 1fr}
  .hmp-workspace .hmn-tabs{gap:18px}
  .hmp-workspace .hmn-context-grid{grid-template-columns:1fr}
  .hmp-workspace .hmn-context-grid article,
  .hmp-workspace .hmn-context-grid article:first-child,
  .hmp-workspace .hmn-context-grid article:last-child{
    border:1px solid #e1e9ea;
    border-top:0;
    border-radius:0;
  }
  .hmp-workspace .hmn-context-grid article:first-child{
    border-top:1px solid #e1e9ea;
    border-radius:8px 8px 0 0;
  }
  .hmp-workspace .hmn-context-grid article:last-child{border-radius:0 0 8px 8px}
  .hmp-workspace .hmn-support>summary{min-height:72px;padding:14px 15px}
  .hmp-workspace .hmn-support__body{padding:0 7px 7px}
}

/* v1.6.0: task-first workspace navigation */
.hmp-workspace__switcher{
  display:grid;
  grid-template-columns:minmax(220px,300px) minmax(0,1fr);
  gap:18px;
  margin:0 0 16px;
  padding:20px;
  overflow:hidden;
  background:#fff;
  border:1px solid #d4dfdf;
  border-radius:12px;
  box-shadow:0 18px 48px rgba(15,43,46,.12);
}
.hmp-workspace__switcher-label{
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-height:106px;
  padding:4px 18px 4px 6px;
  color:#10213a;
}
.hmp-workspace__switcher-label span{
  color:#076f6c;
  font-size:9px;
  font-weight:800;
  letter-spacing:.13em;
  line-height:1.2;
  text-transform:uppercase;
}
.hmp-workspace__switcher-label strong{
  display:block;
  margin-top:7px;
  color:#10213a;
  font-size:19px;
  font-weight:720;
  line-height:1.22;
  letter-spacing:-.028em;
}
.hmp-workspace__switcher-label small{
  display:block;
  max-width:258px;
  margin-top:7px;
  color:#72808d;
  font-size:10px;
  line-height:1.5;
}
.hmp-workspace__switcher .hmp-workspace__nav{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  margin:0;
  overflow:visible;
  background:transparent;
  border:0;
  border-radius:9px;
}
.hmp-workspace__switcher .hmp-workspace__nav>button{
  position:relative;
  display:grid!important;
  grid-template-columns:42px minmax(0,1fr) auto;
  align-items:center!important;
  justify-content:stretch!important;
  gap:13px;
  min-height:106px!important;
  padding:16px!important;
  overflow:hidden;
  color:#324659!important;
  -webkit-text-fill-color:currentColor!important;
  background:#f8faf9!important;
  border:1px solid #dbe4e4!important;
  border-radius:9px!important;
  text-align:left!important;
  transition:background-color .18s ease,border-color .18s ease,color .18s ease,transform .18s ease,box-shadow .18s ease!important;
}
.hmp-workspace__switcher .hmp-workspace__nav>button:hover{
  transform:translateY(-1px);
  color:#164442!important;
  background:#f3f8f7!important;
  border-color:#b9cecc!important;
  box-shadow:0 7px 18px rgba(15,62,62,.07)!important;
}
.hmp-workspace__switcher .hmp-workspace__nav>button:focus-visible{
  outline:3px solid rgba(7,111,108,.2)!important;
  outline-offset:2px!important;
}
.hmp-workspace__switcher .hmp-workspace__nav>button[aria-selected="true"]{
  color:#0a4f4d!important;
  background:#edf6f5!important;
  border-color:#6ea6a2!important;
  box-shadow:inset 4px 0 0 #076f6c,0 8px 20px rgba(7,83,81,.08)!important;
}
.hmp-workspace__switcher .hmp-workspace__nav>button[aria-selected="true"]:after{
  display:none;
}
.hmp-workspace__choice-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:42px;
  height:42px;
  color:#547170;
  background:#fff;
  border:1px solid #d8e2e1;
  border-radius:8px;
}
.hmp-workspace__nav>button[aria-selected="true"] .hmp-workspace__choice-icon{
  color:#076f6c;
  border-color:#b7d0ce;
}
.hmp-workspace__choice-icon svg{
  width:21px!important;
  height:21px!important;
  flex:0 0 auto;
}
.hmp-workspace__choice-copy{
  display:block;
  min-width:0;
}
.hmp-workspace__choice-copy em{
  display:block;
  margin-bottom:4px;
  color:#7b898f;
  font-size:8px;
  font-style:normal;
  font-weight:800;
  letter-spacing:.11em;
  line-height:1.2;
  text-transform:uppercase;
}
.hmp-workspace__switcher .hmp-workspace__nav>button strong{
  display:block;
  color:inherit;
  font-size:14px;
  font-weight:730;
  line-height:1.25;
}
.hmp-workspace__switcher .hmp-workspace__nav>button small{
  display:block;
  margin-top:4px;
  color:#6f7f8b;
  font-size:9px;
  line-height:1.45;
}
.hmp-workspace__choice-state{
  display:flex;
  align-items:center;
  align-self:flex-end;
  gap:5px;
  padding-bottom:1px;
  color:#82908f;
  font-size:8px;
  font-weight:760;
  letter-spacing:.05em;
  line-height:1;
  text-transform:uppercase;
}
.hmp-workspace__choice-state i{
  font-size:13px;
  font-style:normal;
  transition:transform .18s ease;
}
.hmp-workspace__nav>button:hover .hmp-workspace__choice-state i{
  transform:translateX(2px);
}
.hmp-workspace__nav>button[aria-selected="true"] .hmp-workspace__choice-state{
  color:#076f6c;
}
.hmp-workspace__nav>button[aria-selected="true"] .hmp-workspace__choice-state::before{
  width:6px;
  height:6px;
  background:#076f6c;
  border-radius:50%;
  content:"";
}

@media(max-width:980px){
  .hmp-workspace__switcher{grid-template-columns:1fr}
  .hmp-workspace__switcher-label{
    display:grid;
    grid-template-columns:auto 1fr;
    column-gap:12px;
    min-height:auto;
    padding:1px 3px 3px;
  }
  .hmp-workspace__switcher-label span{grid-column:1/-1}
  .hmp-workspace__switcher-label strong{
    grid-column:1;
    margin-top:6px;
  }
  .hmp-workspace__switcher-label small{
    grid-column:2;
    align-self:end;
    max-width:none;
    margin:0 0 1px;
    text-align:right;
  }
}
@media(max-width:680px){
  .hmp-workspace__switcher{
    gap:13px;
    padding:14px;
    border-radius:10px;
  }
  .hmp-workspace__switcher-label{
    display:block;
    padding:0 2px;
  }
  .hmp-workspace__switcher-label strong{
    margin-top:5px;
    font-size:17px;
  }
  .hmp-workspace__switcher-label small{
    margin-top:5px;
    text-align:left;
  }
  .hmp-workspace__switcher .hmp-workspace__nav{
    grid-template-columns:1fr;
    gap:8px;
  }
  .hmp-workspace__switcher .hmp-workspace__nav>button{
    min-height:88px!important;
    padding:13px!important;
  }
}
@media(max-width:420px){
  .hmp-workspace__switcher-label small{display:none}
  .hmp-workspace__switcher .hmp-workspace__nav>button{
    grid-template-columns:38px minmax(0,1fr);
    min-height:82px!important;
    gap:11px;
  }
  .hmp-workspace__choice-icon{
    width:38px;
    height:38px;
  }
  .hmp-workspace__choice-state{display:none}
  .hmp-workspace__switcher .hmp-workspace__nav>button strong{font-size:13px}
  .hmp-workspace__switcher .hmp-workspace__nav>button small{font-size:8px}
}

/* v1.7.0: compact, clearly aligned workspace switcher */
.hmp-workspace__switcher{
  grid-template-columns:minmax(230px,280px) minmax(0,1fr);
  gap:12px;
  margin:0 0 18px;
  padding:12px;
  overflow:hidden;
  background:#fff;
  border:1px solid #d4dfdf;
  border-radius:16px;
  box-shadow:0 16px 42px rgba(15,43,46,.1);
  isolation:isolate;
}
.hmp-workspace__switcher-label{
  position:relative;
  min-height:104px;
  padding:16px 24px 16px 14px;
}
.hmp-workspace__switcher-label:after{
  position:absolute;
  top:15px;
  right:0;
  bottom:15px;
  width:1px;
  background:#e1e8e8;
  content:"";
}
.hmp-workspace__switcher-label span{
  color:#08706d;
  font-size:9px;
  letter-spacing:.12em;
}
.hmp-workspace__switcher-label strong{
  max-width:230px;
  margin-top:8px;
  font-size:18px;
  line-height:1.24;
}
.hmp-workspace__switcher-label small{
  max-width:230px;
  margin-top:7px;
  font-size:9px;
  line-height:1.5;
}
.hmp-workspace__switcher .hmp-workspace__nav{
  gap:9px;
  border-radius:12px;
}
.hmp-workspace__switcher .hmp-workspace__nav>button{
  grid-template-columns:40px minmax(0,1fr) 34px;
  gap:12px;
  min-height:104px!important;
  padding:14px 14px 14px 15px!important;
  background:#f8faf9!important;
  border-color:#dbe4e4!important;
  border-radius:12px!important;
}
.hmp-workspace__switcher .hmp-workspace__nav>button:hover{
  transform:none;
  background:#f3f8f7!important;
  border-color:#a9c3c1!important;
  box-shadow:none!important;
}
.hmp-workspace__switcher .hmp-workspace__nav>button[aria-selected="true"]{
  color:#0a4f4d!important;
  background:#eef7f6!important;
  border-color:#4e9691!important;
  box-shadow:inset 3px 0 0 #08706d!important;
}
.hmp-workspace__choice-icon{
  width:40px;
  height:40px;
  border-radius:9px;
}
.hmp-workspace__choice-copy em{
  margin-bottom:5px;
  font-size:7px;
  letter-spacing:.1em;
}
.hmp-workspace__switcher .hmp-workspace__nav>button strong{
  font-size:13px;
  line-height:1.25;
}
.hmp-workspace__switcher .hmp-workspace__nav>button small{
  margin-top:5px;
  font-size:8px;
  line-height:1.45;
}
.hmp-workspace__choice-state{
  align-self:center;
  justify-content:center;
  width:34px;
  height:34px;
  padding:0;
  color:#587170;
  background:#fff;
  border:1px solid #d6e1e0;
  border-radius:9px;
}
.hmp-workspace__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;
}
.hmp-workspace__nav>button:hover .hmp-workspace__choice-state svg{
  transform:translateX(2px);
}
.hmp-workspace__nav>button[aria-selected="true"] .hmp-workspace__choice-state{
  color:#fff;
  background:#08706d;
  border-color:#08706d;
}
.hmp-workspace__nav>button[aria-selected="true"] .hmp-workspace__choice-state::before{
  display:none;
}

@media(max-width:980px){
  .hmp-workspace__switcher{
    grid-template-columns:1fr;
    gap:10px;
  }
  .hmp-workspace__switcher-label{
    display:block;
    min-height:auto;
    padding:9px 8px 12px;
  }
  .hmp-workspace__switcher-label:after{
    top:auto;
    right:8px;
    bottom:0;
    left:8px;
    width:auto;
    height:1px;
  }
  .hmp-workspace__switcher-label strong{
    margin-top:6px;
  }
  .hmp-workspace__switcher-label small{
    max-width:none;
    margin-top:4px;
    text-align:left;
  }
}
@media(max-width:680px){
  .hmp-workspace__switcher{
    gap:9px;
    padding:10px;
    border-radius:14px;
  }
  .hmp-workspace__switcher .hmp-workspace__nav{
    gap:7px;
  }
  .hmp-workspace__switcher .hmp-workspace__nav>button{
    grid-template-columns:38px minmax(0,1fr) 32px;
    min-height:86px!important;
    gap:10px;
    padding:12px!important;
  }
  .hmp-workspace__choice-icon{
    width:38px;
    height:38px;
  }
  .hmp-workspace__choice-state{
    display:flex;
    width:32px;
    height:32px;
  }
}
@media(max-width:420px){
  .hmp-workspace__switcher-label small{
    display:block;
  }
  .hmp-workspace__switcher .hmp-workspace__nav>button{
    grid-template-columns:36px minmax(0,1fr) 30px;
    min-height:82px!important;
  }
  .hmp-workspace__choice-icon{
    width:36px;
    height:36px;
  }
  .hmp-workspace__choice-state{
    display:flex;
    width:30px;
    height:30px;
  }
}

/* v1.7.1: preserve the rounded overlap corners on the unified Markets page */
.hmph-workspace .hmp-workspace{
  background:transparent;
}
