.hm-module {
  --hm-text: #f7f4e9;
  --hm-muted: #b6b2a7;
  --hm-panel: #191a17;
  --hm-rim: #373831;
  --hm-highlight: #f8ef54;
  --hm-ease: cubic-bezier(.22, .68, .29, 1);
}
.hm-page-head {
  display: grid;
  gap: 8px;
  margin-bottom: clamp(18px, 3vw, 34px);
}
.hm-page-head h1 {
  margin: 0;
  font-size: clamp(32px, 4.6vw, 61px);
  line-height: 1.03;
  letter-spacing: -.055em;
}
.hm-page-head p { max-width: 60ch; margin: 0; color: var(--muted); }
.hm-kicker {
  display: block;
  color: var(--hm-highlight);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.hm-module .hm-button { font-size: 13px; min-height: 44px; }
.hm-module .hm-button.hm-primary,
.hm-module .hm-button[aria-pressed="true"] {
  background: var(--hm-highlight);
  color: #1b190a;
  border-color: var(--hm-highlight);
}
.hm-module .hm-button span { min-width: 0; }
.hm-icon {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hm-module [aria-busy="true"], .hm-module button:disabled { cursor: wait; }
.hm-module :is(input, select) {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
}
.hm-module input[type="range"] { accent-color: var(--hm-highlight); padding: 0; }
.hm-module label { display: grid; gap: 6px; font-size: 13px; font-weight: 700; }
.hm-module .hm-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.hm-note { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.hm-device-layout {
  display: grid;
  grid-template-columns: minmax(0, .96fr) minmax(0, 1fr);
  gap: clamp(22px, 6vw, 105px);
  align-items: center;
  max-width: 1080px;
  margin-inline: auto;
}
.hm-phone {
  position: relative;
  width: min(100%, 435px);
  justify-self: center;
  border-radius: 38px;
  padding: 7px;
  background: #232420;
  border: 1px solid #4b4d42;
  box-shadow: 0 26px 48px -25px #000;
}
.hm-phone--mini { width: min(100%, 419px); }
.hm-phone::before, .hm-phone::after {
  content: "";
  position: absolute;
  width: 3px;
  border-radius: 2px;
  background: #3b3c34;
}
.hm-phone::before { height: 32px; top: 78px; left: -3px; }
.hm-phone::after { height: 44px; top: 112px; right: -3px; }
.hm-device, .hm-panel {
  min-width: 0;
  border: 1px solid var(--hm-rim);
  background: var(--hm-panel);
  color: var(--hm-text);
}
.hm-device { overflow: clip; border-radius: 31px; }
.hm-phone-crown { height: 23px; display: grid; place-items: center; }
.hm-phone-crown i { width: 68px; height: 12px; border-radius: 20px; background: #090a08; }
.hm-side h2 {
  max-width: 19ch;
  margin: 0;
  font-size: clamp(24px, 3.2vw, 45px);
  font-weight: 750;
  letter-spacing: -.054em;
  line-height: 1.08;
  text-wrap: balance;
}
.hm-side-lead { max-width: 42ch; margin: 13px 0 0; color: var(--muted); font-size: 15px; }
.hm-side .hm-note { margin-top: 15px; }
.hm-stage-list { display: grid; margin-block: 24px; border-block: 1px solid var(--line); }
.hm-stage-list > div { display: flex; gap: 14px; align-items: center; padding: 11px 0; }
.hm-stage-list > div + div { border-top: 1px solid var(--line); }
.hm-stage-list > div > span, .hm-handoff-icon, .hm-log-summary > span {
  width: 39px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 11px;
  border: 1px solid var(--hm-rim);
  color: var(--hm-highlight);
  background: #242419;
}
.hm-stage-list p, .hm-mini-handoff p { margin: 0; }
.hm-stage-list small { display: block; color: var(--muted); font-size: 13px; }
.hm-device-actions, .hm-tertiary-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.hm-tertiary-actions { margin-top: 9px; }
.hm-tertiary-actions .hm-button { color: var(--muted); background: transparent; border-color: transparent; min-height: 40px; padding-inline: 6px; }
.hm-tertiary-actions .hm-button:hover { color: var(--ink); }

/* Telegram conversation and docked composer */
.hm-chat {
  --hm-chat-chrome: #222623;
  background: var(--hm-chat-chrome);
}
.hm-chat-head {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 15px 13px;
  border-bottom: 1px solid #3d423b;
}
.hm-chat-head strong { font-size: 16px; letter-spacing: -.025em; }
.hm-chat-head small { display: block; line-height: 1.35; color: #c1c6bc; font-size: 12px; }
.hm-chat-channel { color: #b7beb2; font-size: 12px; margin-left: auto; }
.hm-avatar {
  display: grid;
  place-content: center;
  grid-auto-flow: column;
  align-items: baseline;
  width: 40px;
  aspect-ratio: 1;
  color: #161600;
  background: var(--hm-highlight);
  font: 800 21px/1 var(--body, Inter, system-ui);
  border-radius: 50%;
}
.hm-avatar span { font-size: 9px; }
.hm-chat-log {
  height: clamp(200px, 30vh, 286px);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 9px;
  background-color: #171b19;
  background-image: radial-gradient(#c7cebc14 .8px, transparent .85px);
  background-size: 12px 12px;
  font-size: 14px;
  padding: 12px 14px;
  overscroll-behavior: contain;
  scrollbar-color: #586158 transparent;
}
.hm-chat-date { margin: 0 auto 1px; color: #d2d7cb; background: #303831; border-radius: 14px; padding: 2px 9px; font-size: 11px; }
.hm-bubble {
  flex: none;
  max-width: 89%;
  padding: 9px 12px 5px;
  border-radius: 14px;
  overflow-wrap: anywhere;
  white-space: pre-line;
  line-height: 1.46;
}
.hm-bubble p { margin: 0; }
.hm-bubble time { display: flex; justify-content: flex-end; align-items: center; gap: 3px; font-size: 10px; opacity: .8; margin-top: 3px; }
.hm-bubble time svg { width: 14px; height: 14px; }
.hm-bubble--bot { align-self: start; border-bottom-left-radius: 3px; background: #2a332e; }
.hm-bubble--user { align-self: end; border-bottom-right-radius: 3px; background: #465139; }
.hm-bubble--latest { animation: hm-message-in 200ms var(--hm-ease) both; }
@keyframes hm-message-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
.hm-typing { display: flex; gap: 4px; padding: 14px; }
.hm-typing i { width: 5px; aspect-ratio: 1; border-radius: 50%; background: #d4dcc9; animation: hm-typing-dot .75s alternate infinite; }
.hm-typing i:nth-child(2) { animation-delay: 100ms; }
.hm-typing i:nth-child(3) { animation-delay: 200ms; }
@keyframes hm-typing-dot { 60%, 100% { opacity: .35; transform: translateY(-2px); } }
.hm-chat-choices, .hm-choices { display: flex; flex-wrap: wrap; gap: 6px; }
.hm-chat-choices { border-block: 1px solid #3d423b; padding: 7px 9px; max-height: 185px; overflow: auto; overscroll-behavior: contain; }
.hm-chat-choices .hm-button {
  flex: 1 1 40%;
  min-height: 40px;
  border-radius: 9px;
  background: #303a31;
  border: 1px solid #4c5848;
  color: #eef2e6;
  white-space: normal;
}
.hm-chat-choices .hm-button:hover { background: #424e40; }
.hm-compose { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; padding: 10px 10px 12px; }
.hm-compose input { background: #151a17; border-color: #3d4740; color: #f6f7ee; border-radius: 22px; }
.hm-compose .hm-button { width: 44px; padding: 0; border-radius: 50%; }

/* Original Mini App component structure: top bar, mwrap/mcard, quick actions, date box and docked tabs. */
.hm-mini { background: #141511; }
.hm-app-bar { display: flex; justify-content: space-between; align-items: center; padding: 3px 15px 8px; border-bottom: 1px solid #34362e; }
.hm-app-mark { display: flex; gap: 9px; align-items: center; }
.hm-app-mark b {
  width: 31px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--hm-highlight);
  color: #151407;
  line-height: 1;
  font-weight: 800;
}
.hm-app-mark strong { font-size: 13px; letter-spacing: .04em; }
.hm-app-mark i, .hm-brand i { color: var(--hm-highlight); font-style: normal; }
.hm-app-bar .hm-avatar-button { display: grid; place-items: center; min-height: 35px; width: 35px; min-width: 0; padding: 4px; border-radius: 50%; color: var(--hm-highlight); }
.hm-avatar-button > span { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
.hm-app-body {
  display: grid;
  align-content: start;
  gap: 11px;
  height: clamp(315px, 54vh, 505px);
  overflow-y: auto;
  padding: 14px 14px 18px;
  overscroll-behavior: contain;
  scrollbar-color: #514f37 transparent;
  scrollbar-width: thin;
}
.hm-app-body h2 { margin: 0; font-size: 25px; letter-spacing: -.055em; }
.hm-app-body h3 { margin: 5px 0 0; font-size: 14px; }
.hm-app-nav {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  padding: 5px 5px 7px;
  gap: 2px;
  border-top: 1px solid #35372e;
  background: #1d1f19;
}
.hm-mini .hm-app-nav .hm-button {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 2px;
  min-height: 47px;
  padding: 4px 2px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-size: 10px;
  background: transparent;
  color: #c8c7b8;
}
.hm-mini .hm-app-nav .hm-button[aria-pressed="true"] { color: var(--hm-highlight); border-color: #49452a; background: #2b2a1b; }
.hm-mini .hm-app-nav .hm-icon { width: 19px; height: 19px; }
.hm-mwrap { perspective: 1100px; margin-top: 2px; transition: scale 110ms var(--hm-ease); }
.hm-mwrap:has(.hm-card-hit:active) { scale: .98; }
.hm-mcard {
  position: relative;
  aspect-ratio: 1.586;
  width: 100%;
  border-radius: 16px;
  touch-action: pan-y;
}
.hm-face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: clamp(12px, 1.5vw, 18px);
  border-radius: inherit;
  overflow: hidden;
  backface-visibility: hidden;
}
.hm-face--front {
  background:
    radial-gradient(126% 112% at 100% 0%, #727044 0%, transparent 59%),
    repeating-linear-gradient(115deg, #d3c56a0b 0 1px, transparent 1px 7px),
    linear-gradient(140deg, #45452f, #1a1c17 57%, #292b20);
  box-shadow: 0 15px 27px -16px black, 0 0 0 1px #aaa678 inset, 0 1px 0 #e5de9e inset;
  transform: rotateX(var(--hm-rx, 0deg)) rotateY(var(--hm-ry, 0deg));
  transition: transform 160ms var(--hm-ease);
}
.hm-face--back {
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: linear-gradient(155deg, #2c2d24, #151711);
  box-shadow: 0 0 0 1px #696644 inset;
  text-align: center;
}
.hm-mcard.flipped .hm-face--front, .hm-mcard:not(.flipped) .hm-face--back { visibility: hidden; pointer-events: none; }
.hm-card-hit { position: absolute; inset: 0; border: 0; border-radius: inherit; background: transparent; cursor: pointer; }
.hm-card-hit:focus-visible { outline: 2px solid var(--hm-highlight); outline-offset: 2px; }
.hm-card-edge { position: absolute; inset: 0; border: 1px solid #fff8ad23; border-radius: inherit; pointer-events: none; }
.hm-brand { font-weight: 780; font-size: 12px; line-height: 1.5; letter-spacing: .20em; }
.hm-mc-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 4px 10px; }
.hm-pass-status { width: fit-content; color: #d2cabb; background: #1c1c164f; border: 1px solid #85816c; border-radius: 30px; padding: 2px 8px; font-size: 10px; font-weight: 750; }
.hm-pass-status--active { color: #d6f1c4; border-color: #88a477; }
.hm-pass-status--expired { color: #ffc5b5; border-color: #ad7466; }
.hm-mc-plan { font-size: clamp(18px, 2.1vw, 27px); font-weight: 780; letter-spacing: -.04em; margin-top: auto; line-height: 1.15; }
.hm-mc-name { color: #d9d3bf; margin-top: 3px; font-size: 13px; }
.hm-mc-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 9px; margin-top: 9px; }
.hm-mc-value { margin-right: 6px; font-size: 32px; font-variant-numeric: tabular-nums; font-weight: 780; line-height: 1; }
.hm-mc-bottom small, .hm-face--back small { color: #d3cbb6; font-size: 11px; }
.hm-mc-dates { display: grid; text-align: right; color: #f8f2dc; font-size: 13px; line-height: 1.24; }
.hm-card-rule { margin-top: 11px; height: 2px; background: #ddd57d94; border-radius: 3px; }
.hm-flip-hint { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 7px; color: #cec9af; font-size: 11px; }
.hm-flip-hint svg { width: 15px; height: 15px; }
.hm-card-exit .hm-face { animation: hm-flip-away 145ms ease-in both; }
.hm-card-enter .hm-face { animation: hm-flip-in 200ms var(--hm-ease) both; }
@keyframes hm-flip-away { to { transform: rotateY(90deg); } }
@keyframes hm-flip-in { from { transform: rotateY(-90deg); } to { transform: rotateY(0); } }
.hm-mini-shortcuts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.hm-mini-shortcuts .hm-shortcut {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  min-height: 59px;
  padding: 3px;
  border-radius: 10px;
  border-color: #404033;
  background: #24251d;
  font-size: 10px;
}
.hm-mini-shortcuts svg { stroke: var(--hm-highlight); width: 18px; height: 18px; }
.hm-next-session { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px; align-items: center; min-width: 0; padding: 8px; border: 1px solid #353729; border-radius: 10px; background: #20221a; }
.hm-next-session > time, .hm-next-session--empty > span { display: grid; justify-items: center; align-content: center; border-radius: 8px; background: #2d2e22; color: var(--hm-highlight); padding: 5px 7px; font-variant-numeric: tabular-nums; }
.hm-next-session > div { overflow-wrap: anywhere; font-size: 12px; }
.hm-next-session small { display: block; font-size: 10px; color: var(--hm-muted); }
.hm-next-session .hm-quiet { min-height: 38px; padding: 4px 6px; font-size: 11px; }
.hm-next-session .hm-quiet > svg { display: none; }
.hm-mini .hm-scroll { flex-wrap: nowrap; overflow-x: auto; padding: 4px; margin: -4px; scrollbar-width: thin; }
.hm-mini .hm-scroll .hm-button { white-space: nowrap; }
.hm-mini .hm-choices .hm-button { padding-inline: 9px; }
.hm-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.hm-list li, .hm-selection { display: grid; gap: 3px; padding: 10px; min-width: 0; border: 1px solid #3d3e31; border-radius: 10px; background: #20221a; }
.hm-list li span, .hm-selection p { color: var(--hm-muted); font-size: 13px; }
.hm-list .hm-button, .hm-selection .hm-button { justify-self: start; margin-top: 5px; }
.hm-mini-plans li { display: flex; gap: 7px; justify-content: space-between; align-items: baseline; }
.hm-beauty-form, .hm-scan-form { display: grid; gap: 10px; }
.hm-mini-handoff {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 22px 0 14px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--hm-panel);
}
.hm-mini-handoff p { font-size: 13px; color: var(--muted); }

/* Front desk and synchronized CRM journal */
.hm-scan-scenarios { margin: 0 0 13px; }
.hm-qr-grid {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
}
.hm-access-step {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: clamp(13px, 1.6vw, 22px);
  border: 1px solid var(--hm-rim);
  border-radius: 15px;
  background: #191b16;
}
.hm-access-step h2 { margin: 3px 0 12px; font-size: clamp(17px, 1.6vw, 23px); line-height: 1.1; letter-spacing: -.038em; }
.hm-access-step > .hm-button { margin-top: auto; align-self: start; }
.hm-access-step--pass { background: #151711; }
.hm-pass-device {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 4px;
  width: min(100%, 206px);
  margin: 0 auto 11px;
  padding: 4px 10px 13px;
  border: 4px solid #36372d;
  border-radius: 23px;
  box-shadow: 0 0 0 1px #54544a, 0 12px 25px -15px #000;
  background: #10120e;
  text-align: center;
  color: var(--hm-text);
}
.hm-pass-device .hm-phone-crown { height: 16px; }
.hm-pass-device .hm-phone-crown i { width: 54px; height: 8px; }
.hm-pass-device > strong { font-size: 13px; }
.hm-pass-device .hm-code { margin: 7px 0 4px; }
.hm-scanner-code { display: grid; justify-items: center; }
.hm-code { display: grid; justify-items: center; gap: 4px; max-width: 100%; overflow-wrap: anywhere; }
.hm-pixels { display: grid; place-items: center; padding: 13px; width: 137px; aspect-ratio: 1; border-radius: 8px; background: #fff; }
.hm-pixels:empty { display: none; }
.hm-pixels canvas, .hm-pixels img { width: 100%!important; height: auto!important; }
.hm-face--back .hm-pixels { width: clamp(99px, 11vw, 129px); }
.hm-scan-bed {
  height: 102px;
  display: grid;
  place-items: center;
  margin-bottom: 9px;
  color: var(--hm-highlight);
  border: 1px solid #383c30;
  border-radius: 10px;
  background: repeating-linear-gradient(90deg, #252920 0 1px, transparent 1px 12px), #11150f;
}
.hm-scan-target { position: relative; display: grid; place-items: center; width: 66px; aspect-ratio: 1; border: 1px solid #92915b; border-radius: 10px; box-shadow: 0 0 0 5px #c3ba6315; }
.hm-scan-target svg { width: 31px; height: 31px; }
.hm-scan-bed--allowed { color: #b2e09a; }
.hm-scan-bed--allowed .hm-scan-target { border-color: #8cac7c; }
.hm-scan-bed--denied { color: #ffc1a9; }
.hm-scan-bed--denied .hm-scan-target { border-color: #a97562; }
.hm-scan-target i { position: absolute; display: none; background: #fff58c; height: 2px; inset: 12% 7px auto; }
.hm-scan-bed--working i { display: block; animation: hm-scan 550ms var(--hm-ease) both; }
@keyframes hm-scan { to { top: 86%; } }
.hm-scan-details { color: var(--hm-muted); font-size: 12px; }
.hm-scan-details label { margin-top: 7px; }
.hm-scan-result {
  margin-top: 10px;
  padding: 8px 11px;
  background: #1e211b;
  border: 1px solid #3a4034;
  border-left: 3px solid #787d6d;
  border-radius: 7px;
}
.hm-scan-result--allowed { border-left-color: var(--green, #a8d68f); }
.hm-scan-result--duplicate { border-left-color: var(--hm-highlight); }
.hm-scan-result--denied { border-left-color: var(--danger, #efa69a); }
.hm-scan-result p { margin: 3px 0 0; color: var(--hm-muted); font-size: 12px; }
.hm-log-summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; border: 1px solid #3e4031; border-radius: 9px; padding: 11px; background: #24261c; }
.hm-log-summary strong { display: block; font-size: 33px; line-height: 1.1; color: var(--hm-highlight); }
.hm-log-summary small { color: var(--hm-muted); font-size: 11px; }
.hm-log-summary > span { width: 32px; }
.hm-access-log { list-style: none; display: grid; gap: 5px; margin: 10px 0; padding: 0; }
.hm-access-log li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 7px; padding: 6px 3px; border-bottom: 1px solid #35372b; }
.hm-log-avatar { width: 27px; aspect-ratio: 1; display: grid; place-items: center; background: #343626; color: #f1eada; border-radius: 50%; font-weight: 750; }
.hm-access-log strong { display: block; font-size: 12px; line-height: 1.3; }
.hm-access-log small, .hm-access-log time { color: var(--hm-muted); font-size: 11px; }
.hm-access-log time { font-variant-numeric: tabular-nums; }
.hm-access-log-new { animation: hm-new-visit 650ms var(--hm-ease) both; }
@keyframes hm-new-visit { from { background: #4b5840; transform: translateY(-3px); } to { background: transparent; transform: none; } }
.hm-access-note { margin-top: 11px; }

/* Calculator */
.hm-calc-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.15fr); align-items: start; gap: 15px; }
.hm-panel, .hm-calc-input { padding: clamp(16px, 2.5vw, 29px); border-radius: 15px; }
.hm-calc-input { background: var(--hm-panel); border: 1px solid var(--hm-rim); }
.hm-calc-input h2 { font-size: 20px; margin: 0 0 14px; letter-spacing: -.037em; }
.hm-calc-input .hm-note { margin-top: 13px; }
.hm-calc-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; border: 0; padding: 0; }
.hm-calc-field:has([type="range"]) { grid-column: 1 / -1; }
.hm-calc-field output { margin-left: 4px; color: var(--hm-highlight); }
.hm-range-ends { display: flex; justify-content: space-between; color: var(--hm-muted); font-size: 11px; margin-top: -8px; }
.hm-calc-result { border-top: 2px solid var(--hm-highlight); }
.hm-calc-result > p { color: var(--hm-muted); margin: 0; }
.hm-calc-number { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; color: var(--hm-highlight); }
.hm-calc-number strong { font-size: clamp(40px, 7vw, 84px); line-height: 1.12; font-variant-numeric: tabular-nums; letter-spacing: -.095em; overflow-wrap: anywhere; }
.hm-calc-chart { display: grid; gap: 12px; margin: 13px 0; }
.hm-calc-series > div:first-child, .hm-calc-equivalent { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 3px 8px; font-size: 13px; }
.hm-calc-series > div:first-child, .hm-calc-equivalent > span { color: var(--hm-muted); }
.hm-calc-series strong { color: var(--hm-text); font-variant-numeric: tabular-nums; }
.hm-bar-track { height: 11px; background: #303225; border-radius: 3px; overflow: clip; margin-top: 4px; }
.hm-bar-track > span { width: var(--hm-meter); height: 100%; display: block; background: #aaad9d; transition: width 300ms var(--hm-ease); }
.hm-calc-series--after .hm-bar-track > span { background: var(--hm-highlight); }
.hm-calc-equivalent { border-top: 1px solid var(--hm-rim); margin: 13px 0 6px; padding-top: 11px; }
.hm-calc-result details { font-size: 13px; }
.hm-calc-result details p { margin: 6px 0 0; color: var(--hm-muted); }

@media (max-height: 800px) and (min-width: 801px) {
  .hm-page-head { margin-bottom: 16px; }
  .hm-app-body { height: clamp(310px, 49vh, 385px); }
  .hm-chat-log { height: clamp(168px, 23vh, 190px); }
}
@media (max-width: 800px) {
  .hm-device-layout, .hm-qr-grid, .hm-calc-grid { grid-template-columns: minmax(0, 1fr); }
  .hm-side h2 { max-width: 24ch; }
  .hm-device-layout { gap: 24px; }
  .hm-side { justify-self: center; width: min(100%, 435px); }
  .hm-qr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hm-access-step--log { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .hm-qr-grid { grid-template-columns: minmax(0, 1fr); }
  .hm-chat-log { padding-inline: 11px; }
  .hm-phone { padding: 5px; border-radius: 32px; }
  .hm-device { border-radius: 26px; }
  .hm-app-body { padding: 11px; }
  .hm-app-nav { padding: 4px 3px; }
  .hm-mini .hm-app-nav .hm-button { font-size: 9px; }
  .hm-calc-fields { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .hm-module *, .hm-module *::before, .hm-module *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .hm-mcard .hm-face { transform: none !important; }
  .hm-mwrap { scale: 1 !important; }
}
