/* Public Honey Story and parameter pages (Views/HoneyStory/Index.cshtml, ParameterDetails.cshtml). Loaded after
   storefront.css, whose fonts, colours and base styles it reuses; layout follows the mobile app's honey story.
   Colours: palette v2 "honey foam" from brand.css (D-68, D-69); the layout is unchanged. */
:root {
    --hs-heading: var(--b-heading);   /* was navy for titles */
    --hs-text: var(--b-ink);          /* was navy for names and values */
    --hs-accent: var(--b-honey-ink);  /* was gold on navy */
    --hs-ok: var(--b-trust);
    --hs-ok-soft: var(--b-green-soft);
    --hs-bad: #B42318;
    --hs-bad-soft: #FBE3E3;
    --hs-soft-line: var(--b-line);
    --hs-shadow: 0 6px 14px rgba(200, 146, 79, 0.10);
}

.hs .sf-main { max-width: 1080px; }
.hs-section { margin-top: 56px; }
.hs-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.hs-head-icon { width: 48px; height: 48px; border-radius: 14px; background: var(--sf-honey-soft); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hs-head-icon svg { width: 24px; height: 24px; }
.hs-code { font-family: var(--sf-display); font-weight: 800; font-size: 15px; color: #A2450B; }
.hs-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: var(--b-kicker); }
.hs-title { font-family: var(--sf-display); font-weight: 800; font-size: 28px; letter-spacing: -0.4px; line-height: 1.15; margin: 2px 0 0; color: var(--hs-heading); }
.hs-intro { font-size: 15px; color: var(--sf-muted); margin: -6px 0 16px; max-width: 720px; }
.hs-card { background: var(--sf-card); border: 1px solid var(--sf-line); border-radius: 20px; padding: 18px; box-shadow: 0 6px 14px rgba(200, 146, 79, 0.10); }
.hs-note { font-size: 13px; color: var(--sf-muted); margin-top: 10px; }

/* source colours (cycled) */
.hs-c0 { --c: #E8B931; } .hs-c1 { --c: #43A047; } .hs-c2 { --c: #1E88E5; } .hs-c3 { --c: #FF7043; } .hs-c4 { --c: #AB47BC; } .hs-c5 { --c: #00897B; }
.hs-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c); display: inline-block; flex-shrink: 0; }

/* 1. header card */
.hs-hero { position: relative; overflow: hidden; border-radius: 24px; padding: 24px; color: var(--b-heading); border: 1px solid var(--b-line);
    background: radial-gradient(60% 90% at 95% 0%, rgba(255, 210, 90, 0.42), transparent 65%), radial-gradient(50% 80% at 0% 100%, rgba(255, 231, 174, 0.65), transparent 70%), linear-gradient(180deg, #FFFFFF, var(--b-cream));
    box-shadow: 0 12px 28px rgba(200, 146, 79, 0.16); }
.hs-hero-hex { position: absolute; right: -40px; top: -40px; width: 180px; height: 180px; opacity: 0.35; }
.hs-hero-row { position: relative; display: flex; align-items: center; gap: 16px; }
.hs-jar { width: 64px; height: 64px; border-radius: 18px; background: var(--b-honey-grad); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hs-traceable { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; color: var(--b-trust); background: var(--b-green-soft); border: 1px solid var(--b-green-line); padding: 3px 10px; border-radius: 20px; margin-bottom: 6px; }
.hs .hs-batch { font-family: var(--sf-display); font-weight: 800; font-size: 30px; line-height: 1.1; margin: 0; color: var(--b-heading); overflow-wrap: anywhere; }
.hs-maker { font-size: 14px; color: var(--b-ink); margin-top: 4px; }
.hs-stats { position: relative; display: flex; margin-top: 20px; background: rgba(255, 255, 255, 0.78); border: 1px solid var(--b-line); border-radius: 16px; padding: 12px 0; }
.hs-stat { flex: 1; text-align: center; min-width: 0; }
.hs-stat + .hs-stat { border-left: 1px solid var(--b-line); }
.hs-stat b { display: block; font-family: var(--sf-display); font-weight: 800; font-size: 22px; color: var(--b-heading); }
.hs-stat span { font-size: 12px; color: var(--b-muted); }
.hs-badges { position: relative; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.hs-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; padding: 7px 12px; border-radius: 999px; background: #FFFFFF; color: var(--b-ink) !important; text-decoration: none; border: 1px solid var(--b-line); }
.hs-badge.is-ok { background: var(--b-green-soft); border-color: var(--b-green-line); color: var(--b-trust) !important; }
.hs-badge small { color: var(--b-muted); font-weight: 500; }

/* 2. origins */
.hs-origins { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }
.hs-donut { position: relative; width: 190px; height: 190px; margin: 0 auto; flex-shrink: 0; }
.hs-donut svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.hs-donut circle { fill: none; stroke-width: 30; stroke: var(--c); }
.hs-donut-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.hs-donut-center b { font-family: var(--sf-display); font-weight: 800; font-size: 18px; color: var(--hs-heading); }
.hs-donut-center span { font-size: 10px; font-weight: 700; letter-spacing: 0.8px; color: var(--sf-muted); }
.hs-legend { flex: 1 1 320px; min-width: 0; }
.hs-legend-item { margin-bottom: 12px; }
.hs-legend-top { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; font-size: 14px; }
.hs-legend-name { flex: 1; font-weight: 700; color: var(--hs-text); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hs-legend-kg { color: var(--sf-muted); font-size: 13px; }
.hs-legend-pct { font-weight: 800; color: var(--b-heading); min-width: 52px; text-align: right; }
.hs-track { height: 6px; border-radius: 3px; background: var(--hs-soft-line); overflow: hidden; }
.hs-fill { height: 6px; border-radius: 3px; background: var(--c); }

/* 3. map */
.hs-map { padding: 10px; }
.hs-places { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 10px; margin-top: 12px; }
.hs-place { display: flex; align-items: center; gap: 12px; }
.hs-pin { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; background: color-mix(in srgb, var(--c) 15%, #FFFFFF); border: 2px solid var(--c); color: var(--b-heading); font-family: var(--sf-display); font-weight: 800; }
.hs-place-body { flex: 1; min-width: 0; }
.hs-place-body b { display: block; font-size: 15px; color: var(--hs-text); overflow-wrap: anywhere; }
.hs-place-body span { font-size: 13px; color: var(--sf-muted); }
.hs-amount { text-align: right; background: var(--hs-ok-soft); padding: 6px 10px; border-radius: 12px; flex-shrink: 0; }
.hs-amount b { display: block; font-size: 13px; font-weight: 800; color: var(--hs-ok); }
.hs-amount span { font-size: 11px; font-weight: 600; color: var(--b-trust); }

/* 4. source composition */
.hs-stack { display: flex; gap: 2px; height: 8px; border-radius: 4px; overflow: hidden; margin-bottom: 14px; }
.hs-stack span { background: var(--c); }
.hs-sources { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; }
.hs-source-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.hs-avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--b-cream); border: 2px solid var(--c); color: var(--b-heading); font-family: var(--sf-display); font-weight: 800; font-size: 15px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hs-source-name { flex: 1; min-width: 0; }
.hs-source-name b { display: block; font-size: 16px; color: var(--hs-text); overflow-wrap: anywhere; }
.hs-source-name b a { color: var(--hs-text) !important; text-decoration: none; border-bottom: 1px dashed var(--sf-honey); }
.hs-source-name span { font-size: 13px; color: var(--sf-muted); }
.hs-type { font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 20px; background: var(--sf-honey-soft); color: #A2450B; white-space: nowrap; }
.hs-used { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--hs-ok); }
.hs-share-pill { font-size: 12px; font-weight: 800; color: var(--hs-text); padding: 3px 9px; border-radius: 10px; background: color-mix(in srgb, var(--c) 18%, #FFFFFF); }
.hs-sf-link { display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--sf-green) !important; }
.hs-photos { display: flex; gap: 8px; overflow-x: auto; margin-top: 12px; padding-bottom: 4px; scroll-snap-type: x mandatory; }
.hs-photos img { width: 120px; height: 120px; object-fit: cover; border-radius: 14px; background: var(--hs-soft-line); flex-shrink: 0; scroll-snap-align: start; }

/* 5./6. lab */
.hs-chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 14px; }
.hs-chip { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; padding: 9px 14px; border-radius: 999px; background: var(--sf-card); border: 1px solid var(--sf-line); color: var(--hs-text); cursor: pointer; white-space: nowrap; font-family: inherit; }
.hs-chip.is-on { background: var(--b-honey-grad); color: var(--b-on-honey); border-color: #FFC45E; }
.js .hs-panel:not(.is-on) { display: none; }
.hs-panel-title { font-size: 14px; font-weight: 700; color: var(--sf-muted); margin: 0 0 10px; }
.hs-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.hs-tile { display: block; text-decoration: none; color: inherit !important; background: var(--sf-card); border: 1px solid var(--sf-line); border-radius: 18px; padding: 16px; box-shadow: 0 6px 14px rgba(200, 146, 79, 0.10); }
.hs-tile:hover { border-color: #F6DFA8; }
.hs-tile-name { font-weight: 800; font-size: 15px; color: var(--hs-text); }
.hs-tile-value { font-family: var(--sf-display); font-weight: 800; font-size: 28px; color: var(--hs-heading); margin-top: 8px; }
.hs-tile-value small { font-family: var(--sf-text); font-weight: 500; font-size: 14px; color: var(--sf-muted); }
.hs-status { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 999px; margin-top: 8px; }
.hs-status.is-ok { color: var(--hs-ok); background: var(--hs-ok-soft); }
.hs-status.is-out { color: var(--hs-bad); background: var(--hs-bad-soft); }
.hs-bar { position: relative; height: 8px; border-radius: 999px; background: #FBE3E3; margin-top: 12px; }
.hs-bar-zone { position: absolute; top: 0; bottom: 0; background: var(--b-green-line); border-radius: 999px; }
.hs-bar-dot { position: absolute; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--hs-ok); border: 2px solid #FFFFFF; box-shadow: 0 1px 4px rgba(200, 146, 79, 0.45); }
.hs-bar-dot.is-out { background: var(--hs-bad); }
.hs-limit { font-size: 13px; color: var(--sf-muted); margin-top: 8px; }
.hs-pending { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--b-heading); background: var(--sf-honey-soft); border-radius: 14px; padding: 12px 14px; margin-bottom: 14px; }
.hs-report-link { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 12px 14px; border-radius: 16px; background: var(--b-cream); border: 1px solid #F6DFA8; text-decoration: none; color: var(--hs-text) !important; font-weight: 800; font-size: 15px; }
.hs-report-link .hs-report-icon { width: 38px; height: 38px; border-radius: 12px; background: #FFFFFF; border: 1px solid #F6DFA8; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hs-report-link span.grow { flex: 1; }
.hs-group { margin-top: 26px; }
.hs-group h3 { font-family: var(--sf-display); font-weight: 800; font-size: 21px; color: var(--hs-heading); margin: 0; }
.hs-group p { font-size: 14px; color: var(--sf-muted); margin: 4px 0 12px; }
.hs-fold { background: var(--sf-card); border: 1px solid var(--sf-line); border-radius: 20px; margin-top: 26px; box-shadow: 0 6px 14px rgba(200, 146, 79, 0.10); }
.hs-fold > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 16px 18px; }
.hs-fold > summary::-webkit-details-marker { display: none; }
.hs-fold > summary .grow { flex: 1; min-width: 0; }
.hs-fold > summary b { display: block; font-family: var(--sf-display); font-weight: 800; font-size: 19px; color: var(--hs-heading); }
.hs-fold > summary span { font-size: 13px; color: var(--sf-muted); }
.hs-fold > summary .hs-chev { transition: transform 0.2s; }
.hs-fold[open] > summary .hs-chev { transform: rotate(180deg); }
.hs-fold-body { padding: 0 18px 12px; }
.hs-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--hs-soft-line); }
.hs-row-icon { width: 24px; height: 24px; flex-shrink: 0; }
.hs-row-body { flex: 1; min-width: 0; }
.hs-row-body b { display: block; font-size: 15px; color: var(--hs-text); }
.hs-row-body b a { color: var(--hs-text) !important; text-decoration: none; }
.hs-row-body span { font-size: 13px; color: var(--sf-muted); }
.hs-row-value { text-align: right; flex-shrink: 0; max-width: 45%; }
.hs-row-value b { display: block; font-family: var(--sf-display); font-weight: 800; font-size: 17px; color: var(--hs-text); overflow-wrap: anywhere; }
.hs-row-value span { font-size: 13px; font-weight: 700; }
.hs-row-value .is-ok { color: var(--hs-ok); }
.hs-row-value .is-out { color: var(--hs-bad); }
.hs-row-value .is-info { color: var(--sf-muted); }
.hs-state { font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; white-space: nowrap; background: var(--hs-soft-line); color: var(--sf-muted); }
.hs-state.is-ok { background: var(--hs-ok-soft); color: var(--hs-ok); }
.hs-subhead { font-family: var(--sf-display); font-weight: 700; font-size: 17px; color: var(--hs-heading); margin: 22px 0 0; }

/* 7. verified footer and action */
.hs-verified { margin-top: 48px; border-radius: 24px; padding: 28px 22px; text-align: center; color: var(--b-ink); background: var(--b-cream); border: 1px solid #F6DFA8; }
.hs-verified-icon { width: 60px; height: 60px; border-radius: 18px; margin: 0 auto 12px; background: #FFFFFF; border: 2px solid var(--b-trust-accent); box-shadow: 0 0 0 6px rgba(43, 196, 188, 0.14); display: flex; align-items: center; justify-content: center; }
.hs .hs-verified h2 { font-family: var(--sf-display); font-weight: 800; font-size: 22px; margin: 0 0 6px; color: var(--b-heading); }
.hs-verified p { font-size: 14px; color: var(--b-ink); margin: 0 auto; max-width: 460px; }
.hs-verified hr { width: 60%; border: 0; border-top: 1px solid #F6DFA8; margin: 14px auto 10px; }
.hs-verified small { font-size: 12px; font-weight: 600; color: var(--b-muted); }
.hs-action { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 16px; min-height: 56px; border-radius: 16px; background: var(--b-honey-grad); color: var(--b-on-honey) !important; font-weight: 800; font-size: 16px; text-decoration: none; box-shadow: 0 6px 16px rgba(255, 162, 58, 0.32); }

/* parameter page */
.hs-param-hero { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.hs-param-icon { width: 86px; height: 86px; border-radius: 22px; background: linear-gradient(135deg, #FFFFFF, var(--b-honey-light)); border: 1px solid #F6DFA8; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hs-param-sub { color: var(--hs-accent); font-weight: 700; font-size: 15px; margin-top: 4px; }
.hs-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: #FFFFFF; border: 1px solid #F6DFA8; color: var(--b-heading); }
.hs-tag.is-limit { background: var(--hs-bad-soft); border-color: #F1C4C0; color: var(--hs-bad); }
.hs-jar-value { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.hs-jar-value b { font-family: var(--sf-display); font-weight: 800; font-size: 44px; color: var(--hs-heading); }
.hs-jar-value small { font-family: var(--sf-text); font-size: 18px; font-weight: 600; color: var(--sf-muted); }
.hs-text h2 { font-family: var(--sf-display); font-weight: 800; font-size: 20px; color: var(--hs-heading); margin: 0 0 8px; }
.hs-text p { font-size: 16px; line-height: 1.65; color: var(--sf-ink-2); margin: 0; white-space: pre-line; }
.hs-video { width: 100%; border-radius: 16px; background: var(--b-foam); border: 1px solid var(--b-line); padding: 6px; box-shadow: var(--b-shadow-s); margin-top: 10px; }
.hs-related { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 16px; background: var(--b-cream); border: 1px solid #F6DFA8; text-decoration: none; color: var(--hs-text) !important; margin-top: 10px; }
.hs-related b { font-weight: 800; }
.hs-related .grow { flex: 1; }
.hs-stack-cards > * + * { margin-top: 14px; }
.hs-back { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; text-decoration: none; color: var(--hs-text) !important; margin-bottom: 16px; }

@media (max-width: 600px) {
    .hs-section { margin-top: 40px; }
    .hs-title { font-size: 23px; }
    .hs-hero { padding: 18px; }
    .hs .hs-batch { font-size: 23px; }
    .hs-stat b { font-size: 18px; }
    .hs-sources, .hs-places { grid-template-columns: 1fr; }
    .hs-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .hs-tile { padding: 12px; }
    .hs-tile-value { font-size: 22px; }
    .hs-jar-value b { font-size: 36px; }
}

/* ------------------------------------------------------------------ D-72: richer and animated (honeystory.js; docs/brand/MOTION.md)
   Only transform and opacity move; honeystory.js arms the page (.hs-armed) only when it can reveal it, so without script or
   with reduced motion everything is shown at rest. */
.hs-hero-glow { position: absolute; right: -90px; top: -110px; width: 360px; height: 360px; border-radius: 50%; pointer-events: none;
    background: radial-gradient(closest-side, rgba(255, 196, 70, 0.55), rgba(255, 210, 90, 0.18) 55%, rgba(255, 210, 90, 0) 100%);
    animation: hs-glow 1.8s ease-out 150ms backwards; }
@keyframes hs-glow { from { opacity: 0; transform: scale(0.8); } }
.hs-bee { flex-shrink: 0; display: grid; place-items: center; width: 74px; height: 74px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
    background: radial-gradient(closest-side, #FFFFFF, rgba(255, 244, 214, 0.9) 60%, rgba(255, 231, 174, 0) 100%); }
.hs-bee:focus-visible { outline: none; box-shadow: var(--b-focus-ring); }

/* journey: a vertical light path through the real steps of the batch */
.hs-journey-box { position: relative; }
.hs-journey { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.hs-jline { position: absolute; left: 25px; top: 26px; height: calc(100% - 52px); width: 4px; border-radius: 2px; background: var(--b-line); }
.hs-jline-fill { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(180deg, #FFD25A, #FFA23A); transform-origin: top;
    transform: scaleY(var(--p, 1)); transition: transform 700ms var(--b-ease); box-shadow: 0 0 8px rgba(255, 176, 50, 0.55); }
.hs-jstep { position: relative; display: flex; align-items: flex-start; gap: 14px; }
.hs-jnode { position: relative; z-index: 1; flex: 0 0 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: #FFFFFF; color: var(--b-honey-ink);
    box-shadow: 0 0 0 2px var(--b-line); }
.hs-jnode::after { content: ""; position: absolute; inset: -10px; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 186, 60, 0.6), rgba(255, 186, 60, 0)); opacity: 0;
    transition: opacity 600ms ease-out; }
.hs-jstep.is-lit .hs-jnode { background: var(--b-honey-grad); color: var(--b-on-honey); box-shadow: 0 0 0 3px #FFFFFF, 0 0 0 5px #FFB547; }
.hs-jstep.is-lit .hs-jnode::after { opacity: 1; }
.hs-jstep.is-empty.is-lit .hs-jnode { background: #FFFFFF; color: var(--b-muted); box-shadow: 0 0 0 2px #EBD3A6; }
.hs-jstep.is-empty .hs-jnode::after { display: none; }
.hs-jcard { position: relative; flex: 1; min-width: 0; overflow: hidden; border-radius: 18px; background: #FFFFFF; box-shadow: 0 0 0 1px var(--b-line), var(--b-shadow-s);
    transition: opacity 500ms ease-out, transform 500ms var(--b-ease); }
/* decorative photo of the step, never of this batch: faint, behind a cream veil, loaded only when near */
.hs-jbg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 700ms ease-out; }
.hs-jbg.is-loaded { opacity: 1; }
.hs-jbg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 251, 240, 0.93) 55%, rgba(255, 244, 214, 0.80) 100%); }
.hs-jbody { position: relative; display: flex; flex-direction: column; gap: 3px; padding: 13px 16px 14px; }
.hs-jkicker { font-size: 11.5px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; color: var(--b-kicker); }
.hs-jbody b { font-family: var(--sf-display); font-weight: 700; font-size: 16px; line-height: 1.3; color: var(--b-heading); overflow-wrap: anywhere; }
.hs-jsub { font-size: 13.5px; color: var(--b-muted); }
.hs-jbody a { align-self: flex-start; font-size: 13.5px; font-weight: 700; color: var(--b-trust); text-decoration: none; }
.hs-jstep.is-empty .hs-jcard { background: var(--b-foam); box-shadow: none; outline: 1.5px dashed #EBD3A6; outline-offset: -1.5px; }
.hs-jstep.is-empty .hs-jbg { display: none; }
.hs-jstep.is-empty .hs-jbody b { font-weight: 600; color: var(--b-ink); }
.hs-armed .hs-jstep:not(.is-lit) .hs-jcard { opacity: 0.55; transform: translateX(10px); }

/* origins by province */
.hs-map { padding: 14px; }
.hs-provinces { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 6px 14px; }
.hs-provinces li { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.hs-provinces b { flex: 1; min-width: 0; font-weight: 700; color: var(--hs-text); }
.hs-provinces span { font-weight: 800; color: var(--b-heading); font-variant-numeric: tabular-nums; }
.hs-provinces .is-unplaced b { font-weight: 600; color: var(--b-muted); }
.hs-swatch { width: 14px; height: 14px; flex-shrink: 0; border-radius: 4px; background: #FFFFFF; box-shadow: inset 0 0 0 1.5px #EBD3A6; }
.hs-swatch.tm-v1 { background: #FFE9B8; } .hs-swatch.tm-v2 { background: #FFD889; } .hs-swatch.tm-v3 { background: #FFC25E; } .hs-swatch.tm-v4 { background: #F5A53C; } .hs-swatch.tm-v5 { background: #DC8625; }
.hs-map-empty { display: flex; align-items: center; gap: 12px; padding: 16px; background: var(--b-foam); outline: 1.5px dashed #EBD3A6; outline-offset: -1.5px; }
.hs-map-empty p { margin: 0; }

/* meters move to their values and the share bars grow, once, when they come into view */
.hs-bar-run { position: absolute; inset: 0; transform: translateX(var(--x, 0)); transition: transform 1100ms var(--b-ease); }
.hs-bar-run .hs-bar-dot { left: 0; }
.hs-fill { transform-origin: left center; transition: transform 900ms var(--b-ease); }
.hs-bar-zone { transition: opacity 600ms ease-out 200ms; }
.hs-armed .hs-tile:not(.is-seen) .hs-bar-run { transform: translateX(0); }
.hs-armed .hs-tile:not(.is-seen) .hs-bar-zone { opacity: 0; }
.hs-armed .hs-legend-item:not(.is-seen) .hs-fill { transform: scaleX(0); }

/* verified band: a short seal moment (stamp, ripple, light sweep), once */
.hs-verified { position: relative; overflow: hidden; }
.hs-verified > * { position: relative; }
.hs-verified-icon::after { content: ""; position: absolute; inset: -2px; border-radius: 18px; box-shadow: 0 0 0 3px var(--b-trust-accent); opacity: 0; }
.hs-verified > .hs-verified-sweep { position: absolute; top: 0; bottom: 0; left: 0; width: 40%; pointer-events: none; transform: translateX(-120%); opacity: 0;
    background: linear-gradient(100deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.75) 50%, rgba(255, 255, 255, 0) 100%); }
.hs-armed .hs-verified:not(.is-sealed) .hs-verified-icon { opacity: 0; transform: scale(1.35); }
.hs-verified.is-sealed .hs-verified-icon { animation: hs-stamp 640ms var(--b-ease) both; }
.hs-verified.is-sealed .hs-verified-icon::after { animation: hs-ripple 900ms ease-out 360ms both; }
.hs-verified.is-sealed .hs-verified-sweep { animation: hs-sweep 1.3s ease-in-out 420ms both; }
@keyframes hs-stamp { 0% { opacity: 0; transform: scale(1.35); } 60% { opacity: 1; transform: scale(0.94); } 100% { opacity: 1; transform: scale(1); } }
@keyframes hs-ripple { 0% { opacity: 0.7; transform: scale(1); } 100% { opacity: 0; transform: scale(1.7); } }
@keyframes hs-sweep { 0% { opacity: 1; transform: translateX(-120%); } 100% { opacity: 0; transform: translateX(320%); } }

@media (max-width: 600px) {
    .hs-jnode { flex-basis: 46px; height: 46px; }
    .hs-jline { left: 21px; top: 23px; height: calc(100% - 46px); }
    .hs-jbody { padding: 11px 13px 12px; }
    .hs-jbody b { font-size: 15px; }
    .hs-provinces { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    .hs-hero-glow, .hs-verified.is-sealed .hs-verified-icon, .hs-verified.is-sealed .hs-verified-icon::after, .hs-verified.is-sealed .hs-verified-sweep { animation: none; }
    .hs-jline-fill, .hs-jcard, .hs-jbg, .hs-jnode::after, .hs-bar-run, .hs-fill, .hs-bar-zone { transition: none; }
}
