/* HR and employees: two panels. In each, a dome rises from the floor, a real screen sits on it and a person
   stands with it. The panel edge hides where the photo ends. */
.h-cl__pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.h-panel{position:relative;display:flex;flex-direction:column;min-height:600px;border-radius:var(--r-panel);overflow:hidden;overflow:clip;scroll-margin-top:24px}
.h-panel--hr{background:var(--wash)}
.h-panel--emp{background:var(--deep)}
.h-panel__text{padding:44px 48px 0;max-width:30em}
.h-panel__text .ms-h3{font-size:36px}
.h-panel__text p{margin-top:10px;font-size:19px}
.h-panel__stage{position:relative;flex:1;min-height:360px;margin-top:20px}
.h-panel__dome{position:absolute;left:50%;bottom:-210px;width:560px;height:560px;border-radius:50%;translate:-50% 0;background:var(--mint-2)}
.h-panel--emp .h-panel__dome{background:var(--mint)}
.h-panel__person{position:absolute;bottom:0;height:100%;width:auto;max-width:none}
.h-panel--hr .h-panel__person{right:4%}
.h-panel--emp .h-panel__person{left:6%}
.h-panel__ui{position:absolute}
.h-panel--hr .h-panel__ui{left:36px;bottom:36px;width:min(276px,50%);z-index:2}
.h-panel__ui--phone{right:44px;bottom:-120px;width:min(240px,42%);border-radius:22px 22px 0 0;z-index:2}
@media (max-width:959px){.h-cl__pair{grid-template-columns:minmax(0,1fr)}.h-panel{min-height:540px}}
@media (max-width:559px){
  .h-panel__text{padding:28px 24px 0}.h-panel__text .ms-h3{font-size:26px}
  .h-panel--hr .h-panel__ui{left:16px;bottom:20px}.h-panel__ui--phone{right:16px}
  .h-panel--hr .h-panel__person{right:-14%}.h-panel--emp .h-panel__person{left:-10%}
}

/* HR view, drawn as a clean panel in Mint's own app type (Inter) and app colours: the same numbers and actions as the
   real screen, no coloured dots. */
@font-face{font-family:"Mint UI";src:url('../fonts/inter-ui.woff2') format('woff2');font-weight:400 700;font-display:swap}
.h-hr{--app:#1F8F88;--app-ink:#111827;--app-mute:#6B7280;--app-line:#E5E7EB;--app-bg:#F3F6F6;
  padding:14px 14px 10px;color:var(--app-ink);font-family:"Mint UI",Inter,system-ui,sans-serif;font-size:12px;line-height:1.3;letter-spacing:-.005em}
.h-hr__top{display:flex;align-items:center;gap:9px;padding-bottom:12px}
.h-hr__top img{width:24px;height:24px;flex:none}
.h-hr__top b{display:block;font-size:13px;font-weight:650}
.h-hr__top span{display:block;margin-top:1px;font-size:11px;color:var(--app-mute)}
.h-hr__prog{position:relative;display:grid;grid-template-columns:66px minmax(0,1fr);align-items:center;gap:12px;padding:12px;border-radius:10px;background:var(--app-bg)}
.h-hr__ring{width:66px;height:66px}
.h-hr__ring circle:first-child{stroke:#DCEBEA}
.h-hr__ring circle:last-child{stroke:var(--app)}
.h-hr__prog::after{content:"62%";position:absolute;left:12px;top:12px;width:66px;height:66px;display:grid;place-items:center;font-size:15px;font-weight:700}
.h-hr__counts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 10px}
.h-hr__counts dt{font-size:10.5px;color:var(--app-mute)}
.h-hr__counts dd{font-size:16px;font-weight:700;line-height:1.15}
.h-hr__acts{margin-top:6px}
.h-hr__acts li{display:flex;align-items:center;gap:9px;padding:8px 0}
.h-hr__acts li + li{box-shadow:0 -1px 0 var(--app-line)}
.h-hr__acts .h-hr__avs{display:flex;flex:none;align-items:center}
.h-hr__avs img{width:26px;height:26px;border-radius:50%;box-shadow:0 0 0 2px #fff}
.h-hr__avs img + img{margin-left:-8px}
.h-hr__acts p{flex:1;min-width:0}
.h-hr__acts b{display:block;font-weight:620}
.h-hr__acts span{display:block;font-size:11px;color:var(--app-mute)}
.h-hr__acts em{flex:none;padding:6px 9px;border-radius:7px;background:var(--app);color:#fff;font-style:normal;font-size:11px;font-weight:620}
.h-hr__acts li + li em{background:#fff;color:var(--app);box-shadow:inset 0 0 0 1px var(--app)}

/* ---------- Phone view: each panel is words on top, then a stage sized for a phone. The HR card keeps a readable
   width and sits in front; the HR lead stands behind it on the right. The employee phone is larger and rises from
   the floor beside the person, so the amount per paycheck can actually be read. */
@media (max-width:759px){
  .h-cl__pair{gap:16px}
  .h-panel{min-height:0}
  .h-panel__text{padding:28px 24px 0}
  .h-panel__text .ms-h3{font-size:28px}
  .h-panel__text p{margin-top:8px;font-size:17px}
  .h-panel__stage{flex:none;height:420px;min-height:0;margin-top:14px}
  .h-panel__dome{width:440px;height:440px;bottom:-250px}
  .h-panel--hr .h-panel__ui{left:16px;bottom:18px;width:min(286px, calc(100% - 48px))}
  .h-panel--hr .h-panel__person{right:-20%;height:92%}
  .h-panel--emp .h-panel__stage{height:410px}
  .h-panel--emp .h-panel__person{left:-16%;height:100%}
  /* The phone is cut by the panel floor just under its button: the bottom offset is a share of its own width. */
  .h-panel__ui--phone{--w:196px;right:16px;bottom:calc(var(--w) * -.535);width:var(--w)}
}
