/*
 * home-next-b: sections 3 to 10 of the private preview (home-next.php), loaded after css/home-next.css.
 * One distinctive shape per section, the films kept as backdrops:
 *   3 dedicated  a spec sheet (one mono table)            7 Windows    an RDP window with the specs as its taskbar
 *   4 cloud      a per-core rate line (SVG + points)      8 ladder     the log scale with a tooltip and a pointer marker
 *   5 design     a four-step stepper over three packages  9 payments   the rail plus a "settled" receipt tile
 *   6 domain     the answer appears inside the band       10 EGPNL     a clickable sidebar swapping the panel's screens
 * Colours inside the film bands are pinned (dark glass, light words) like the plan cards: the role tokens flip to paper in the
 * light theme and a card on a photograph must not. The EGPNL frame (section 10) sits on the page ground and uses the roles.
 * Every section fits the room under the header (the page's --u unit is 1svh / zoom) and restacks on a phone.
 */

.hb-sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }

.hb-b {
    --hb-glass: rgba(20, 18, 16, .82);
    --hb-edge: rgba(255, 255, 255, .16);
    --hb-hair: rgba(255, 255, 255, .1);
    --hb-ink: #F5EFE6;
    --hb-dim: #DFD7CB;
    --hb-copper: #FF9A6B;
    --hb-patina: #7FD6C4;
}
.hb-b .btn-outline { border-color: rgba(255, 255, 255, .4); color: #FFFFFF; }
.hb-b .btn-outline:hover { background: rgba(255, 255, 255, .12); border-color: var(--hb-copper); color: #FFFFFF; }

/* ================================================================== 3. dedicated: the spec sheet */
.hb-sheet { position: relative; border-radius: 16px; background: var(--hb-glass); border: 1px solid var(--hb-edge); backdrop-filter: blur(6px); overflow: hidden; }
.hb-sheet-rail { position: absolute; inset-inline-start: 0; top: 0; width: 3px; height: 0; background: #E85622; opacity: 0; pointer-events: none; z-index: 2; }
.hb-spec { width: 100%; display: table; border-collapse: collapse; font-family: var(--font-mono); font-size: clamp(12px, calc(1.6 * var(--u, 1svh)), 13.5px); color: var(--hb-ink); font-feature-settings: 'zero' 1; }
.hb-spec thead th { text-align: start; padding: 12px 14px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--hb-dim); border-bottom: 1px solid var(--hb-edge); white-space: nowrap; }
html[dir="rtl"] .hb-spec thead th { letter-spacing: 0; text-transform: none; font-size: 13px; }
.hb-spec tbody th, .hb-spec tbody td { text-align: start; vertical-align: middle; padding: clamp(10px, calc(2.8 * var(--u, 1svh)), 24px) 14px; border-top: 1px solid var(--hb-hair); line-height: 1.4; }
.hb-spec tbody tr:first-child th, .hb-spec tbody tr:first-child td { border-top: 0; }
.hb-spec tbody th { font-family: var(--font-display); font-size: clamp(14px, calc(2 * var(--u, 1svh)), 16px); font-weight: 700; letter-spacing: -.01em; color: #FFFFFF; }
.hb-spec .hb-num { text-align: end; white-space: nowrap; }
.hb-spec thead .hb-num { text-align: end; }
.hb-spec .price-value { font-size: clamp(1.05rem, calc(2.6 * var(--u, 1svh)), 1.5rem); font-weight: 600; letter-spacing: -.03em; color: #FFFFFF; text-shadow: none; }
.hb-spec tbody tr { transition: background .2s ease; }
.hb-spec tbody tr:hover, .hb-spec tbody tr:focus-within { background: rgba(255, 255, 255, .07); }
.hb-spec .hb-act { text-align: end; width: 1%; white-space: nowrap; }
.hb-spec .btn { min-height: 38px; padding: 0 16px; font-size: 13.5px; white-space: nowrap; }
.hb-spec .btn:focus-visible { outline: 2px solid #6FCBBB; outline-offset: 2px; }

@media (max-width: 899px) {
    .hb-sheet { background: none; border: 0; backdrop-filter: none; border-radius: 0; overflow: visible; }
    .hb-sheet-rail { display: none; }
    .hb-spec, .hb-spec tbody { display: block; }
    .hb-spec thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
    .hb-spec tbody tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 14px; margin-bottom: 10px; padding: 12px 14px; border-radius: 14px; background: var(--hb-glass); border: 1px solid var(--hb-edge); backdrop-filter: blur(6px); }
    .hb-spec tbody tr:hover, .hb-spec tbody tr:focus-within { background: var(--hb-glass); }
    .hb-spec tbody th, .hb-spec tbody td { display: block; border: 0 !important; padding: 4px 0; text-align: start; }
    .hb-spec tbody th { grid-column: 1 / -1; font-size: 17px; }
    .hb-spec tbody td[data-label]::before { content: attr(data-label); display: block; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--hb-dim); margin-bottom: 1px; }
    html[dir="rtl"] .hb-spec tbody td[data-label]::before { letter-spacing: 0; text-transform: none; }
    .hb-spec .hb-num { text-align: start; }
    .hb-spec tbody td.hb-act { grid-column: 1 / -1; width: auto; text-align: start; padding-top: 8px; }
    .hb-spec .btn { width: 100%; justify-content: center; }
}

/* ================================================================== 4. cloud: the per-core rate line */
.hb-rate { margin: 0; }
.hb-rate-plot { position: relative; height: clamp(170px, calc(32 * var(--u, 1svh)), 330px); border-radius: 16px 16px 0 0; background: var(--hb-glass); border: 1px solid var(--hb-edge); border-bottom-color: rgba(255, 255, 255, .34); backdrop-filter: blur(6px); }
.hb-rate-grid { position: absolute; inset: 0; display: grid; grid-template-rows: repeat(3, 1fr); pointer-events: none; }
.hb-rate-grid i { display: block; border-top: 1px dashed var(--hb-hair); }
.hb-rate-grid i:first-child { border-top: 0; }
.hb-rate-y { position: absolute; inset-inline-start: 14px; top: 10px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; color: var(--hb-dim); }
html[dir="rtl"] .hb-rate-y { letter-spacing: 0; font-size: 13px; }
.hb-rate-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
html[dir="rtl"] .hb-rate-svg { transform: scaleX(-1); }
.hb-rate-area { fill: rgba(232, 86, 34, .16); stroke: none; }
.hb-rate-line { fill: none; stroke: #FF7A45; stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.hb-pt { position: absolute; inset-inline-start: calc(var(--x) * 1%); top: calc(var(--y) * 1%); width: 0; height: 0; }
.hb-pt-dot { position: absolute; left: -8px; top: -8px; width: 16px; height: 16px; border-radius: 50%; background: #E85622; border: 3px solid #141210; box-shadow: 0 0 0 1.5px #FF9A6B; box-sizing: border-box; }
.hb-pt-price { position: absolute; left: 0; bottom: 14px; transform: translateX(-50%); white-space: nowrap; font-family: var(--font-mono); font-weight: 600; font-size: clamp(13px, 1.1vw, 16px); color: #FFFFFF; }
.hb-pt-price .price-value { color: #FFFFFF; text-shadow: none; font-size: inherit; }
.hb-rate-cols { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-radius: 0 0 16px 16px; background: var(--hb-glass); border: 1px solid var(--hb-edge); border-top: 0; backdrop-filter: blur(6px); overflow: hidden; }
.hb-col { display: flex; flex-direction: column; align-items: center; gap: clamp(3px, calc(.7 * var(--u, 1svh)), 7px); padding: clamp(10px, calc(1.8 * var(--u, 1svh)), 18px) 12px; text-align: center; border-inline-start: 1px solid var(--hb-hair); color: var(--hb-ink); }
.hb-col:first-child { border-inline-start: 0; }
.hb-col.is-popular { box-shadow: inset 0 2px 0 #E85622; }
.hb-col-cores { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .06em; color: var(--hb-copper); }
html[dir="rtl"] .hb-col-cores { letter-spacing: 0; }
.hb-col-name { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: #FFFFFF; letter-spacing: -.01em; }
.hb-col-rate { font-family: var(--font-mono); font-size: 13px; color: var(--hb-ink); }
.hb-col-rate .price-value { color: var(--hb-ink); text-shadow: none; font-size: inherit; }
.hb-col-rate small { color: var(--hb-dim); font-size: 12px; font-family: var(--font-body); }
.hb-chip { display: inline-flex; align-items: center; padding: 3px 11px; border-radius: 999px; border: 1px solid rgba(127, 214, 196, .55); color: var(--hb-patina); font-family: var(--font-mono); font-size: 12px; white-space: nowrap; }
.hb-col-go { font-size: 13.5px; font-weight: 600; color: #FFFFFF; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .45); padding-block: 4px; min-height: 24px; transition: color .2s ease, border-color .2s ease; }
.hb-col-go:hover { color: var(--hb-copper); border-color: var(--hb-copper); }
.hb-col-go:focus-visible { outline: 2px solid #6FCBBB; outline-offset: 3px; border-radius: 4px; }
.hb-rate-x { margin: 8px 0 0; text-align: center; font-family: var(--font-mono); font-size: 12px; letter-spacing: .05em; color: var(--hb-dim); }
html[dir="rtl"] .hb-rate-x { letter-spacing: 0; font-size: 13px; }

@media (max-width: 699px) {
    .hb-rate-plot { height: 210px; }
    .hb-rate-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hb-col:nth-child(3) { border-inline-start: 0; }
    .hb-col:nth-child(n + 3) { border-top: 1px solid var(--hb-hair); }
    .hb-pt-price { font-size: 12px; }
    .hb-rate-x { display: none; }
}

/* ================================================================== 5. design: the stepper */
.hb-steps-wrap { position: relative; margin-bottom: clamp(14px, calc(3 * var(--u, 1svh)), 30px); }
.hb-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; position: relative; }
.hb-steps-rail { position: absolute; inset-inline: 12.5%; top: 20px; height: 4px; z-index: 0; display: block; }
.hb-steps-rail svg { display: block; width: 100%; height: 100%; overflow: visible; }
html[dir="rtl"] .hb-steps-rail svg { transform: scaleX(-1); }
.hb-steps-track { fill: none; stroke: rgba(255, 255, 255, .22); stroke-width: 2; }
.hb-steps-fill { fill: none; stroke: #FF7A45; stroke-width: 2; stroke-linecap: round; }
.hb-step { position: relative; z-index: 1; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 4px; color: var(--hb-ink); }
.hb-step-node { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #141210; border: 1.5px solid rgba(255, 255, 255, .4); color: #FFFFFF; transition: border-color .3s ease, color .3s ease; }
.hb-step-node svg { width: 20px; height: 20px; }
.hb-step.is-lit .hb-step-node { border-color: #FF7A45; color: var(--hb-copper); }
.hb-step-n { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; color: var(--hb-copper); margin-top: 6px; }
.hb-step h3 { margin: 0; font-size: clamp(15px, calc(2.1 * var(--u, 1svh)), 18px); color: #FFFFFF; letter-spacing: -.01em; }
html[dir="rtl"] .hb-step h3 { letter-spacing: 0; }
.hb-step p { margin: 0; font-size: clamp(12px, calc(1.6 * var(--u, 1svh)), 13.5px); line-height: 1.45; color: var(--hb-dim); max-width: 34ch; text-shadow: 0 1px 2px rgba(14, 12, 10, .6); }
.hb-step .hb-step-gets { color: var(--hb-ink); }
.hb-step-gets b { color: var(--hb-patina); font-weight: 600; }
.hb-packs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(8px, calc(1.6 * var(--u, 1svh)), 16px); }
.hb-pack { display: flex; flex-direction: column; gap: clamp(6px, calc(1.2 * var(--u, 1svh)), 12px); padding: clamp(12px, calc(2.2 * var(--u, 1svh)), 22px) 20px; border-radius: 16px; background: var(--hb-glass); border: 1px solid var(--hb-edge); backdrop-filter: blur(6px); color: var(--hb-ink); }
.hb-pack.is-featured { border-color: #E85622; box-shadow: inset 0 0 0 1px #E85622; }
.hb-pack-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.hb-pack-name { font-weight: 700; font-size: 16px; color: #FFFFFF; }
.hb-pack-price { font-family: var(--font-mono); font-weight: 600; font-size: clamp(1.15rem, calc(2.8 * var(--u, 1svh)), 1.7rem); letter-spacing: -.03em; color: #FFFFFF; line-height: 1; text-align: end; }
.hb-pack-price .price-value { color: #FFFFFF; text-shadow: none; font-size: inherit; }
.hb-pack-price small { display: block; margin-top: 5px; font-family: var(--font-body); font-size: 12.5px; font-weight: 400; letter-spacing: 0; color: var(--hb-dim); }
.hb-pack ul { list-style: none; margin: 0; padding: clamp(4px, calc(.8 * var(--u, 1svh)), 8px) 0 0; border-top: 1px solid var(--hb-hair); display: grid; gap: clamp(2px, calc(.7 * var(--u, 1svh)), 6px); font-size: clamp(12px, calc(1.6 * var(--u, 1svh)), 13.5px); }
.hb-pack li { position: relative; padding-inline-start: 20px; text-shadow: none; }
.hb-pack li i { position: absolute; inset-inline-start: 0; top: .32em; color: var(--hb-patina); font-size: 12px; }
.hb-pack .btn { margin-top: auto; min-height: clamp(36px, calc(5 * var(--u, 1svh)), 46px); justify-content: center; text-shadow: none; }

@media (max-width: 899px) {
    .hb-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 22px; }
    .hb-steps-rail { display: none; }
    .hb-packs { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 479px) {
    .hb-steps { grid-template-columns: minmax(0, 1fr); }
    .hb-step { flex-direction: row; flex-wrap: wrap; text-align: start; justify-content: flex-start; align-items: center; column-gap: 12px; }
    .hb-step-node { flex: none; }
    .hb-step-n { display: none; }
    .hb-step h3 { flex: 1; }
    .hb-step p { flex-basis: 100%; max-width: none; }
}

/* ================================================================== 6. domain: the answer inside the band */
.hb-tlds { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; max-width: 820px; }
.hb-tld { display: inline-flex; align-items: baseline; gap: 8px; min-height: 40px; box-sizing: border-box; padding: 8px 14px; border-radius: 999px; background: rgba(20, 18, 16, .74); border: 1px solid rgba(255, 255, 255, .24); color: #FFFFFF; font-family: var(--font-mono); font-size: 13px; text-decoration: none; backdrop-filter: blur(8px); transition: border-color .2s ease, background .2s ease; align-items: center; }
.hb-tld b { color: var(--hb-copper); font-weight: 600; }
.hb-tld .price-value { color: #FFFFFF; text-shadow: none; font-size: inherit; }
.hb-tld small { color: var(--hb-dim); font-size: 12px; font-family: var(--font-body); }
.hb-tld:hover, .hb-tld.is-on { border-color: var(--hb-copper); background: rgba(20, 18, 16, .9); }
.hb-tld:focus-visible { outline: 2px solid #6FCBBB; outline-offset: 2px; }
.hb-dom-out { margin-top: 16px; max-width: 820px; padding: clamp(12px, calc(2.2 * var(--u, 1svh)), 20px) clamp(14px, 2vw, 22px); border-radius: 16px; background: var(--hb-glass); border: 1px solid var(--hb-edge); backdrop-filter: blur(8px); color: var(--hb-ink); text-shadow: none; }
.hb-dom-out[hidden] { display: none; }
.hb-res { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; }
.hb-res-who { display: flex; align-items: center; gap: 14px; min-width: 0; }
.hb-res-badge { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--hb-patina); color: var(--hb-patina); font-size: 16px; }
.hb-res-badge.is-taken { border-color: #E06B60; color: #FF9A92; }
.hb-res-badge.is-unknown { border-color: #DBA43A; color: #F2C56B; }
.hb-res-name { font-family: var(--font-mono); font-weight: 600; font-size: clamp(1.05rem, 2.2vw, 1.4rem); color: #FFFFFF; overflow-wrap: anywhere; }
.hb-res-state { display: block; font-size: 13.5px; color: var(--hb-patina); }
.hb-res-state.is-taken { color: #FF9A92; }
.hb-res-state.is-unknown { color: #F2C56B; }
.hb-res-side { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hb-res-price { font-family: var(--font-mono); font-weight: 600; font-size: 1.15rem; color: #FFFFFF; }
.hb-res-price small { font-family: var(--font-body); font-weight: 400; font-size: 12.5px; color: var(--hb-dim); }
.hb-res-note { margin: 10px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--hb-dim); }
.hb-alts { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--hb-hair); }
.hb-alts-h { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12.5px; color: var(--hb-dim); margin-bottom: 8px; }
.hb-alts-h a { color: var(--hb-copper); text-decoration: none; border-bottom: 1px solid currentColor; font-weight: 600; }
.hb-alts ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hb-alt { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .22); font-family: var(--font-mono); font-size: 12.5px; color: #FFFFFF; text-decoration: none; }
.hb-alt small { font-family: var(--font-body); font-size: 12px; color: var(--hb-patina); }
.hb-alt.is-taken { opacity: .55; }
.hb-alt.is-taken small { color: var(--hb-dim); }
a.hb-alt:hover { border-color: var(--hb-copper); }
.hb-dom-out .hb-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 18px; border-radius: 999px; font-weight: 600; font-size: 14px; text-decoration: none; background: #E85622; color: #141210; border: 0; cursor: pointer; font-family: inherit; }
.hb-dom-out .hb-btn.is-ghost { background: transparent; color: #FFFFFF; border: 1px solid rgba(255, 255, 255, .4); }
.hb-dom-out .hb-btn:focus-visible { outline: 2px solid #6FCBBB; outline-offset: 2px; }
.hb-dom-wait { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--hb-dim); }
.hb-dom-wait i { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .3); border-top-color: #FF9A6B; display: block; }

/* ================================================================== 7. Windows: an RDP window */
.hb-rdp { max-width: 1040px; margin-inline: auto; }
.hb-rdp-win { border-radius: 10px; overflow: hidden; background: #1B1B21; border: 1px solid rgba(255, 255, 255, .22); box-shadow: 0 30px 80px rgba(0, 0, 0, .5); color: #E8E6F0; }
.hb-rdp-bar { display: flex; align-items: center; gap: 10px; height: 34px; padding-inline-start: 12px; background: #24242B; font-size: 12.5px; }
.hb-rdp-ico { flex: none; display: grid; grid-template-columns: repeat(2, 7px); gap: 1.5px; }
.hb-rdp-ico i { display: block; width: 7px; height: 7px; background: #00A4EF; }
.hb-rdp-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #E8E6F0; }
.hb-rdp-ctl { display: flex; align-self: stretch; }
.hb-rdp-ctl i { position: relative; display: block; width: 46px; }
.hb-rdp-ctl i::before, .hb-rdp-ctl i::after { content: ''; position: absolute; left: 50%; top: 50%; }
.hb-rdp-ctl .min::before { width: 10px; height: 1px; background: #E8E6F0; transform: translate(-50%, 0); }
.hb-rdp-ctl .max::before { width: 9px; height: 9px; border: 1px solid #E8E6F0; transform: translate(-50%, -50%); box-sizing: border-box; }
.hb-rdp-ctl .cls::before, .hb-rdp-ctl .cls::after { width: 12px; height: 1px; background: #E8E6F0; transform: translate(-50%, 0) rotate(45deg); }
.hb-rdp-ctl .cls::after { transform: translate(-50%, 0) rotate(-45deg); }
.hb-rdp-screen { position: relative; display: flex; flex-direction: column; height: clamp(260px, calc(50 * var(--u, 1svh)), 470px); overflow: hidden; }
.hb-rdp-desk { position: relative; flex: 1; min-height: 0; display: grid; place-items: center; padding: 14px; background: radial-gradient(120% 95% at 72% 18%, #00BCF2 0%, #0078D7 36%, #0B2A5B 78%, #08142E 100%); }
.hb-rdp-app { width: min(440px, 92%); border-radius: 10px; background: #F3F3F6; color: #15121F; box-shadow: 0 18px 50px rgba(5, 12, 36, .55); overflow: hidden; }
.hb-rdp-app-bar { display: flex; gap: 6px; padding: 8px 12px; background: #E5E5EA; }
.hb-rdp-app-bar span { width: 9px; height: 9px; border-radius: 50%; background: #B9B6C6; }
.hb-rdp-app-body { display: grid; gap: clamp(6px, calc(1.2 * var(--u, 1svh)), 12px); padding: clamp(12px, calc(2.2 * var(--u, 1svh)), 22px) 22px 22px; }
.hb-rdp-app .name { font-family: var(--font-display); font-weight: 700; font-size: 17px; color: #15121F; }
.hb-rdp-app .price { font-family: var(--font-mono); font-weight: 600; font-size: clamp(1.4rem, calc(3.4 * var(--u, 1svh)), 2rem); letter-spacing: -.03em; line-height: 1; color: #15121F; }
.hb-rdp-app .price .price-value { color: #15121F; text-shadow: none; font-size: inherit; }
.hb-rdp-app .price small { display: block; margin-top: 6px; font-family: var(--font-body); font-size: 12.5px; font-weight: 400; letter-spacing: 0; color: #4C4563; }
.hb-rdp-app .btn { justify-content: center; text-shadow: none; }
.hb-rdp-conn { position: absolute; inset: 0; z-index: 3; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 16px; background: #0A1B3D; color: #FFFFFF; font-size: 15px; }
.hb-rdp.is-armed .hb-rdp-conn { display: flex; }
.hb-rdp-spin { width: 30px; height: 30px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .25); border-top-color: #FFFFFF; display: block; }
.hb-rdp-prog { width: min(240px, 60%); height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .2); overflow: hidden; display: block; }
.hb-rdp-prog i { display: block; height: 100%; width: 100%; background: #FF7A45; transform-origin: 0 50%; }
html[dir="rtl"] .hb-rdp-prog i { transform-origin: 100% 50%; }
.hb-rdp-task { position: relative; z-index: 2; display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 6px 12px; background: rgba(24, 24, 30, .94); border-top: 1px solid rgba(255, 255, 255, .12); }
.hb-rdp-start { flex: none; display: grid; grid-template-columns: repeat(2, 9px); gap: 2px; }
.hb-rdp-start i { display: block; width: 9px; height: 9px; background: #00A4EF; }
.hb-rdp-task ul { flex: 1; min-width: 0; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px 8px; }
.hb-rdp-task li { display: flex; align-items: center; gap: 7px; min-width: 0; padding: 4px 9px; border-radius: 6px; background: rgba(255, 255, 255, .08); font-size: 12px; line-height: 1.3; color: #E8E6F0; }
.hb-rdp-task li strong { color: #FFFFFF; font-weight: 600; }
.hb-rdp-task li i { flex: none; color: var(--hb-patina); font-size: 11px; }
.hb-rdp-tray { flex: none; display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-mono); font-size: 12px; color: var(--hb-patina); }
.hb-rdp-live { width: 8px; height: 8px; border-radius: 50%; background: #3FB5A2; box-shadow: 0 0 0 3px rgba(63, 181, 162, .28); display: block; }

@media (max-width: 899px) {
    .hb-rdp-screen { height: auto; }
    .hb-rdp-desk { padding: 22px 14px; }
    .hb-rdp-task { align-items: flex-start; }
    .hb-rdp-task ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hb-rdp-tray, .hb-rdp-start { display: none; }
    .hb-rdp-conn { min-height: 260px; }
}
@media (max-width: 479px) {
    .hb-rdp-task ul { grid-template-columns: minmax(0, 1fr); }
    .hb-rdp-ctl i { width: 36px; }
}

/* ================================================================== 8. ladder: tooltip and scale marker */
.hb-lad-wrap { position: relative; }
.home .hb-lad-wrap .lad a { grid-template-columns: minmax(140px, 1.1fr) minmax(0, 3fr) 118px; }
.hb-lad-wrap .lad a:hover, .hb-lad-wrap .lad a:focus-visible { background: color-mix(in srgb, var(--surface, #14121c) 90%, #fff); }
.hb-lad-wrap .lad a:focus-visible { outline: 2px solid #6FCBBB; outline-offset: -2px; }
@media (max-width: 720px) { .home .hb-lad-wrap .lad a { grid-template-columns: 1fr auto; } }
.hb-mark { position: absolute; z-index: 3; top: 0; height: 0; width: 0; pointer-events: none; inset-inline-start: 0; }
.hb-mark[hidden], .hb-tip[hidden] { display: none; }
.hb-mark-line { position: absolute; top: 0; bottom: 0; left: -1px; width: 2px; height: 100%; background: #FF9A6B; box-shadow: 0 0 0 1px rgba(20, 18, 16, .35); border-radius: 1px; }
.hb-mark-val { position: absolute; top: var(--vy, 0px); left: 10px; transform: translateY(-50%); white-space: nowrap; padding: 3px 10px; border-radius: 999px; background: #FF9A6B; color: #141210; font-family: var(--font-mono); font-weight: 600; font-size: 12.5px; }
.hb-mark.is-flip .hb-mark-val { left: auto; right: 10px; }
.hb-tip { position: absolute; z-index: 4; width: max-content; max-width: min(300px, 86%); padding: 10px 14px; border-radius: 12px; background: #141210; border: 1px solid rgba(255, 255, 255, .26); box-shadow: 0 12px 36px rgba(5, 4, 10, .55); color: var(--hb-ink, #F5EFE6); pointer-events: none; font-size: 13px; line-height: 1.45; text-shadow: none; }
.hb-tip-h { display: block; font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: #FF9A6B; }
html[dir="rtl"] .hb-tip-h { letter-spacing: 0; text-transform: none; font-size: 13px; }
.hb-tip-n { display: block; font-weight: 700; font-size: 14.5px; color: #FFFFFF; margin: 1px 0 4px; }
.hb-tip ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.hb-tip li { color: #F0EAE0; }
.hb-lad-hint { margin: 8px 0 0; font-family: var(--font-mono); font-size: 12px; color: var(--hb-dim, #DFD7CB); letter-spacing: .04em; }
html[dir="rtl"] .hb-lad-hint { letter-spacing: 0; font-size: 13px; }
@media (hover: none) { .hb-lad-hint { display: none; } }

/* ================================================================== 9. payments: the settled receipt tile */
.pay-x .pay-cta.hb-cta-row { display: flex; align-items: center; gap: 16px 22px; flex-wrap: wrap; }
.hb-settled { display: grid; gap: 6px; width: 176px; box-sizing: border-box; padding: 10px 12px 12px; border-radius: 12px; background: rgba(20, 18, 16, .8); border: 1px solid rgba(255, 255, 255, .2); backdrop-filter: blur(8px); color: #F5EFE6; text-shadow: none; }
.hb-settled-k { font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: #DFD7CB; }
html[dir="rtl"] .hb-settled-k { letter-spacing: 0; text-transform: none; font-size: 13px; }
.hb-settled-h { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14.5px; color: #FFFFFF; }
.hb-settled-ok { flex: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid #7FD6C4; color: #7FD6C4; display: inline-grid; place-items: center; box-sizing: border-box; }
.hb-settled-ok svg { width: 10px; height: 10px; }
.hb-settled-rows { display: grid; gap: 6px; margin-top: 2px; }
.hb-settled-rows span { display: flex; align-items: center; gap: 8px; }
.hb-settled-rows i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #7FD6C4; }
.hb-settled-rows b { display: block; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .38); width: var(--w); }

/* ================================================================== 10. EGPNL: a clickable sidebar */
.hb-nl .app-chrome .url { margin-inline: auto; }
.hb-sample { flex: none; font-family: var(--font-mono); font-size: 12px; padding: 3px 10px; border-radius: var(--r-pill); border: 1px dashed var(--line-strong); color: var(--text-2); white-space: nowrap; }
.hb-tabs { position: relative; display: grid; gap: 2px; }
.hb-tab { position: relative; isolation: isolate; display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; border: 0; border-radius: 8px; background: none; color: var(--text); font: inherit; font-size: 13px; text-align: start; cursor: pointer; transition: color .2s ease, background .2s ease; }
.hb-tab i { width: 14px; text-align: center; font-size: 12px; color: var(--text-2); }
.hb-tab:hover { background: var(--tint-05); }
.hb-tab.on { color: var(--text-strong); font-weight: 600; background: var(--tint-08); }
.hb-tab.on i { color: var(--copper-ink); }
.hb-tab:focus-visible { outline: 2px solid var(--patina-ink); outline-offset: 1px; }
.hb-tab-mark { display: none; position: absolute; inset: 0; z-index: -1; border-radius: 8px; background: var(--tint-08); pointer-events: none; }
.app.hb-ready .hb-tab.on { background: none; }
.app.hb-ready .hb-tab-mark { display: block; }
.hb-ghosts { display: grid; gap: 0; opacity: .75; }
.hb-ghosts a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; color: var(--text); font-size: 13px; }
.hb-ghosts a i { width: 14px; text-align: center; font-size: 12px; color: var(--text-2); }
.hb-ghosts .grp { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); padding: 14px 10px 6px; }
.hb-panes { display: grid; gap: inherit; min-width: 0; }
.hb-pane { display: grid; gap: inherit; align-content: start; min-width: 0; }
.hb-pane[hidden] { display: none; }
.hb-panes.is-stack .hb-pane { grid-area: 1 / 1; visibility: hidden; }
.hb-panes.is-stack .hb-pane.is-on { visibility: visible; }
.hb-two { display: grid; grid-template-columns: 1.5fr 1fr; gap: 12px; min-width: 0; }
.hb-pic { position: relative; min-height: 190px; padding: 0; }
.hb-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
table.hb-sites { width: 100%; border-collapse: collapse; display: table; font-size: 12.5px; }
table.hb-sites th, table.hb-sites td { text-align: start; padding: 10px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.hb-sites th { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); font-weight: 600; }
html[dir="rtl"] table.hb-sites th { letter-spacing: 0; text-transform: none; font-size: 13px; }
table.hb-sites td { color: var(--text-strong); }
table.hb-sites td.d { font-family: var(--font-mono); }
table.hb-sites tr:last-child td { border-bottom: 0; }
.hb-exp { display: inline-block; width: 64px; height: 6px; border-radius: 3px; background: var(--tint-10); vertical-align: middle; overflow: hidden; }
.hb-exp i { display: block; height: 100%; width: var(--w); background: var(--ok); border-radius: 3px; }
.hb-d { font-family: var(--font-mono); font-size: 12px; color: var(--text-2); }
.hb-nights { display: flex; align-items: flex-end; gap: 8px; height: 112px; padding: 14px 16px 6px; }
.hb-night { flex: 1; min-width: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 6px; }
.hb-night i { display: block; width: 100%; height: calc(var(--h) - 22%); background: var(--copper-500); border-radius: 3px 3px 0 0; opacity: .85; transform-origin: 50% 100%; }
.hb-night small { font-family: var(--font-mono); font-size: 12px; color: var(--text-2); white-space: nowrap; }
.tile.is-measured em { color: var(--patina-ink); }

@media (max-width: 900px) {
    .hb-two { grid-template-columns: minmax(0, 1fr); }
    .hb-pic { min-height: 150px; }
    .app.hb-ready .app-body { grid-template-columns: minmax(0, 1fr); }
    .app.hb-ready .app-side { display: block; border-inline-end: 0; border-bottom: 1px solid var(--line); padding: 8px 10px; }
    .app.hb-ready .app-side .brand, .app.hb-ready .hb-ghosts { display: none; }
    .app.hb-ready .hb-tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
    .app.hb-ready .hb-tab { width: auto; flex: none; white-space: nowrap; min-height: 40px; }
    .hb-nl .hb-sample { display: none; }
}

/* phone: every column of the sample tables stays visible, so the cells wrap and tighten instead of running off the frame */
@media (max-width: 560px) {
    .hb-panes table td, .hb-panes table th { padding: 8px 6px; white-space: normal; font-size: 12px; overflow-wrap: normal; }
    .hb-panes table td.d { overflow-wrap: anywhere; }
    .hb-panes table th, .hb-panes table .st { white-space: nowrap; font-size: 11px; letter-spacing: .02em; }
    .hb-panes .hb-exp { width: 36px; }
}

@media (prefers-reduced-motion: reduce) {
    .hb-step-node, .hb-tab, .hb-tld, .hb-spec tbody tr { transition: none; }
}
