/* Harta durerii: everything is scoped under .hdm so nothing leaks into the theme. Fonts come from the theme. */
.hdm {
	--hdm-paper: #f5f3ef; --hdm-card: #ffffff; --hdm-ink: #17212b; --hdm-muted: #5d6873; --hdm-line: #dcd8d0;
	--hdm-accent: #14457b; --hdm-accent-ink: #ffffff; --hdm-pain: #e2371c; --hdm-stage-a: #f1eee9; --hdm-stage-b: #d8d3ca;
	display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: start;
	max-width: 1400px; margin: 0 auto; padding: 24px 0 48px; /* 1400px = the theme's site width; the theme pads the sides */ color: var(--hdm-ink);
}
.hdm *, .hdm *::before, .hdm *::after { box-sizing: border-box; }
.hdm [hidden] { display: none !important; }
.hdm :focus-visible { outline: 2px solid var(--hdm-accent); outline-offset: 2px; }

/* stage */
.hdm-stage { position: relative; height: min(840px, calc(100vh - 150px)); min-height: 480px; overflow: hidden; border-radius: 18px; background: radial-gradient(120% 90% at 50% 38%, var(--hdm-stage-a), var(--hdm-stage-b)); transition: background .5s; touch-action: none; }
.hdm-stage::after { content: ""; position: absolute; inset: 0; background: radial-gradient(110% 90% at 50% 40%, #16263a, #05080e); opacity: 0; transition: opacity .55s; pointer-events: none; }
.hdm-stage[data-xray="1"]::after { opacity: 1; }
/* --hdm-bar: room kept for the toolbar. The model and its numbered badges share the box below it, so fingertips never slide under the buttons. */
.hdm-stage { --hdm-bar: 48px; }
/* Desktop (two columns): the hand stays in view while the list of marked zones scrolls past it.
   Avada's sticky header slides back in on scroll up (117px tall); the hand then moves below it instead of being covered.
   shortcut: needs :has() (iOS 15.4+, Chrome 105+); without it the hand keeps the 24px offset and the header covers its buttons on scroll up. */
@media (min-width: 981px) {
	.hdm-stage { position: sticky; top: 24px; transition: background .5s, top .3s; }
	body:has(.fusion-tb-header .fusion-container-stuck.fusion-scrolling-up) .hdm-stage { top: 133px; }
}
.hdm-stage canvas { position: absolute; left: 0; top: var(--hdm-bar); width: 100%; height: calc(100% - var(--hdm-bar)); display: block; z-index: 1; }
#hdm-gl { cursor: grab; } #hdm-gl:active { cursor: grabbing; }
.hdm-toolbar { position: absolute; z-index: 3; top: 16px; left: 16px; right: 16px; display: flex; flex-wrap: wrap; gap: 8px; pointer-events: none; }
.hdm-seg { display: inline-flex; padding: 3px; gap: 2px; border-radius: 999px; background: rgba(255, 255, 255, .82); border: 1px solid var(--hdm-line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); pointer-events: auto; }
.hdm-seg button { margin: 0; border: 0; background: transparent; box-shadow: none; padding: 6px 13px; border-radius: 999px; font-family: inherit; font-weight: 600; font-size: 13px; line-height: 1.2; color: var(--hdm-muted); white-space: nowrap; cursor: pointer; text-transform: none; letter-spacing: 0; }
.hdm-seg button[aria-pressed="true"] { background: var(--hdm-accent); color: var(--hdm-accent-ink); }
.hdm-seg button:disabled { opacity: .4; cursor: not-allowed; }
.hdm-stage[data-xray="1"] .hdm-seg { background: rgba(14, 24, 36, .72); border-color: #2a3b4f; }
.hdm-stage[data-xray="1"] .hdm-seg button { color: #a9bccd; }
.hdm-stage[data-xray="1"] .hdm-seg button[aria-pressed="true"] { background: #e9f3fb; color: #0a141e; }
/* Hover on the buttons that are not selected; only where a real pointer exists, so it does not stick after a tap. */
@media (hover: hover) {
	.hdm-seg button { transition: background-color .15s, color .15s; }
	.hdm-seg button[aria-pressed="false"]:not(:disabled):hover { background: #eaf2fb; color: var(--hdm-ink); }
	.hdm-stage[data-xray="1"] .hdm-seg button[aria-pressed="false"]:not(:disabled):hover { background: rgba(233, 243, 251, .16); color: #fff; }
}
.hdm-hint { position: absolute; z-index: 3; left: 16px; right: 16px; bottom: 14px; margin: 0; text-align: center; font-size: 13px; line-height: 1.4; color: var(--hdm-muted); pointer-events: none; }
.hdm-stage[data-xray="1"] .hdm-hint { color: #9fb3c6; }
.hdm-tip { position: absolute; z-index: 4; pointer-events: none; max-width: 260px; padding: 8px 11px; border-radius: 10px; background: var(--hdm-ink); color: var(--hdm-paper); font-size: 13px; line-height: 1.35; box-shadow: 0 8px 24px rgba(0, 0, 0, .22); transform: translate(14px, 14px); }
.hdm-tip b { display: block; font-weight: 700; font-size: 13.5px; line-height: 1.3; }
.hdm-tip span { opacity: .78; }
.hdm-badges { position: absolute; inset: var(--hdm-bar) 0 0 0; z-index: 2; pointer-events: none; }
.hdm-badge { position: absolute; width: 22px; height: 22px; margin: -34px 0 0 -11px; border-radius: 50%; background: var(--hdm-pain); color: #fff; font-weight: 700; font-size: 12px; line-height: 22px; text-align: center; box-shadow: 0 2px 8px rgba(0, 0, 0, .35); font-variant-numeric: tabular-nums; }
.hdm-badge::after { content: ""; position: absolute; left: 10px; top: 21px; width: 2px; height: 9px; background: var(--hdm-pain); }
.hdm-rot { position: absolute; z-index: 3; right: 16px; bottom: 44px; width: 52px; height: 52px; margin: 0; padding: 0; border-radius: 50%; border: 1px solid var(--hdm-line); background: rgba(255, 255, 255, .82); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--hdm-ink); display: grid; place-items: center; transition: opacity .4s; cursor: pointer; }
.hdm-rot svg { width: 40px; height: 40px; overflow: visible; }
.hdm-rot .hdm-back { opacity: .32; }
.hdm-rot .hdm-dot { transform: translate(24px, 34px); }
@supports (offset-path: path("M0 0")) {
	.hdm-rot .hdm-dot { transform: none; offset-path: path("M9 26C9 36.5 39 36.5 39 26"); offset-rotate: 0deg; offset-distance: 50%; animation: hdm-rot-slide 2.2s ease-in-out infinite alternate; }
}
.hdm-rot .hdm-ripple { transform-box: fill-box; transform-origin: center; animation: hdm-rot-ripple 2.2s ease-out infinite; }
@keyframes hdm-rot-slide { from { offset-distance: 6%; } to { offset-distance: 94%; } }
@keyframes hdm-rot-ripple { 0% { transform: scale(.6); opacity: .9; } 70%, 100% { transform: scale(1.7); opacity: 0; } }
.hdm-rot.hdm-used { opacity: .55; }
.hdm-rot.hdm-used .hdm-dot, .hdm-rot.hdm-used .hdm-ripple { animation: none; }
.hdm-rot.hdm-used .hdm-dot { offset-distance: 50%; }
.hdm-rot.hdm-used .hdm-ripple { opacity: 0; }
.hdm-rot:hover, .hdm-rot:focus-visible { opacity: 1; }
.hdm-stage[data-xray="1"] .hdm-rot { background: rgba(14, 24, 36, .72); border-color: #2a3b4f; color: #dbe8f3; }
.hdm-notice { position: absolute; z-index: 3; left: 16px; bottom: 44px; max-width: 340px; padding: 8px 12px; border-radius: 10px; background: var(--hdm-card); border: 1px solid var(--hdm-line); font-size: 13px; line-height: 1.4; color: var(--hdm-muted); }
.hdm-loading { position: absolute; inset: 0; z-index: 5; display: grid; place-items: center; padding: 0 24px; text-align: center; font-weight: 600; font-size: 14px; color: var(--hdm-muted); pointer-events: none; }

/* scroll strip beside the model: phones and tablets only (see the media query) */
.hdm-scroll { display: none; }

/* marked zones, above the form */
.hdm-side { min-width: 0; }
.hdm-pick { display: grid; gap: 16px; margin-bottom: 32px; }
.hdm .hdm-title { margin: 0; font-size: 26px; line-height: 1.15; text-wrap: balance; }
.hdm .hdm-lead { margin: 0; color: var(--hdm-muted); font-size: 15px; line-height: 1.5; }
.hdm-empty { border: 1px dashed var(--hdm-line); border-radius: 12px; padding: 16px; color: var(--hdm-muted); font-size: 14px; line-height: 1.5; }
.hdm .hdm-zones { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.hdm-zone { display: grid; grid-template-columns: 26px minmax(0, 1fr) 30px; gap: 4px 10px; align-items: center; margin: 0; padding: 12px 10px 12px 12px; border: 1px solid var(--hdm-line); border-radius: 14px; background: var(--hdm-paper); font-size: 15px; transition: border-color .15s, box-shadow .15s; }
.hdm-zone:hover { border-color: #e9a99d; box-shadow: 0 4px 14px rgba(23, 33, 43, .07); }
.hdm-num { width: 22px; height: 22px; border-radius: 50%; background: var(--hdm-pain); color: #fff; font-weight: 700; font-size: 12px; line-height: 22px; text-align: center; }
.hdm-t { font-weight: 600; line-height: 1.3; }
.hdm-a { grid-column: 2; font-size: 12.5px; color: var(--hdm-muted); line-height: 1.35; }
.hdm-zone .hdm-x { grid-row: 1; grid-column: 3; width: 30px; height: 30px; margin: 0; padding: 0; border: 0; border-radius: 8px; background: transparent; box-shadow: none; color: var(--hdm-muted); font-size: 18px; line-height: 1; cursor: pointer; }
.hdm-zone .hdm-x:hover { background: rgba(23, 33, 43, .09); color: var(--hdm-ink); }
.hdm-i { grid-column: 2 / 4; display: grid; grid-template-columns: auto minmax(0, 1fr) 2.4ch; gap: 10px; align-items: center; font-size: 12.5px; color: var(--hdm-muted); }
.hdm-i output { font-weight: 600; font-size: 13px; color: var(--hdm-ink); text-align: right; font-variant-numeric: tabular-nums; }
.hdm-i .hdm-w { grid-column: 1 / -1; margin-top: -3px; text-align: right; font-weight: 600; color: var(--hdm-ink); }
.hdm-i input[type="range"] { width: 100%; margin: 0; padding: 0; accent-color: var(--hdm-pain); }
.hdm-field { display: grid; gap: 6px; margin: 0; }
.hdm-field > span { font-weight: 600; font-size: 14px; line-height: 1.3; }
.hdm-field select { width: 100%; height: 48px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--hdm-line); background-color: var(--hdm-card); color: var(--hdm-ink); font: inherit; font-size: 15px; }
/* searchable zone list (Chosen, from Gravity Forms), restyled to match the form */
.hdm .chosen-container { font-size: 15px; }
.hdm .chosen-container-single .chosen-single { height: 48px; line-height: 46px; padding: 0 14px; border: 1px solid var(--hdm-line); border-radius: 10px; background: var(--hdm-card); box-shadow: none; color: var(--hdm-ink); }
.hdm .chosen-container-single .chosen-default { color: var(--hdm-muted); }
.hdm .chosen-container-single .chosen-single div { width: 30px; }
/* own arrow: the bundled sprite is drawn for a 25px tall control */
.hdm .chosen-container-single .chosen-single div b { position: relative; background: none !important; }
.hdm .chosen-container-single .chosen-single div b::after { content: ""; position: absolute; left: 6px; top: 21px; border: 5px solid transparent; border-top-color: var(--hdm-muted); }
.hdm .chosen-container-active.chosen-with-drop .chosen-single { border-color: var(--hdm-accent); border-radius: 10px 10px 0 0; background: var(--hdm-card); }
.hdm .chosen-container-active.chosen-with-drop .chosen-single div b::after { top: 15px; border-top-color: transparent; border-bottom-color: var(--hdm-muted); }
.hdm .chosen-container .chosen-drop { border: 1px solid var(--hdm-accent); border-top: 0; border-radius: 0 0 10px 10px; box-shadow: 0 10px 24px rgba(23, 33, 43, .12); overflow: hidden; }
.hdm .chosen-container-single .chosen-search { padding: 8px; }
.hdm .chosen-container-single .chosen-search input[type="text"] { height: 38px; padding: 0 10px; border: 1px solid var(--hdm-line); border-radius: 8px; background: var(--hdm-card) !important; font: inherit; font-size: 14px; }
.hdm .chosen-container .chosen-results { max-height: 280px; margin: 0; padding: 0 0 6px; color: var(--hdm-ink); }
.hdm .chosen-container .chosen-results li { padding: 8px 14px; line-height: 1.3; }
.hdm .chosen-container .chosen-results li.group-result { padding-top: 12px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--hdm-muted); }
.hdm .chosen-container .chosen-results li.group-option { padding-left: 14px; }
.hdm .chosen-container .chosen-results li.highlighted { background: var(--hdm-accent); color: var(--hdm-accent-ink); }

.hdm .hdm-err { margin: 0; color: var(--hdm-pain); font-size: 14px; font-weight: 600; line-height: 1.4; }

/* Symptoms step: checkbox and radio choices as pills, as in the prototype. The child theme styles every GF form with
   .gform_wrapper:is(#gf, .gform_wrapper) and !important, so these need one more class and !important to win. */
.hdm .gform_wrapper:is(#gf, .gform_wrapper) :is(.gfield_checkbox, .gfield_radio) { flex-direction: row !important; flex-wrap: wrap; gap: 8px !important; padding-left: 0; }
.hdm .gform_wrapper:is(#gf, .gform_wrapper) :is(.gfield_checkbox, .gfield_radio) .gchoice { position: relative; display: block !important; }
/* the real input stays in place, invisible, over the pill: still focusable and announced by screen readers */
.hdm .gform_wrapper:is(#gf, .gform_wrapper) :is(.gfield_checkbox, .gfield_radio) input { position: absolute !important; inset: 0; width: 100% !important; height: 100% !important; margin: 0 !important; opacity: 0; cursor: pointer; }
.hdm .gform_wrapper:is(#gf, .gform_wrapper) :is(.gfield_checkbox, .gfield_radio) label { display: block; max-width: none; padding: 8px 14px !important; border: 1px solid var(--hdm-line); border-radius: 999px; background: var(--hdm-card); font-size: 14px !important; line-height: 1.25 !important; color: var(--hdm-ink) !important; transition: background-color .15s, border-color .15s, color .15s; }
.hdm .gform_wrapper:is(#gf, .gform_wrapper) :is(.gfield_checkbox, .gfield_radio) .gchoice:hover input:not(:checked) + label { border-color: #9fb3c9; background: #eaf2fb; }
.hdm .gform_wrapper:is(#gf, .gform_wrapper) :is(.gfield_checkbox, .gfield_radio) input:checked + label { background: var(--hdm-accent); border-color: var(--hdm-accent); color: var(--hdm-accent-ink) !important; }
.hdm .gform_wrapper:is(#gf, .gform_wrapper) :is(.gfield_checkbox, .gfield_radio) input:focus-visible + label { outline: 2px solid var(--hdm-accent); outline-offset: 2px; }
.hdm .gform_wrapper:is(#gf, .gform_wrapper) .gfield_error :is(.gfield_checkbox, .gfield_radio) label { border-color: #e39a8c; }

/* Question titles (fields with the CSS class hdm-q): bold title with the hint next to it, as in the prototype.
   Floats, because a fieldset legend cannot be a flex item. */
.hdm .gform_wrapper:is(#gf, .gform_wrapper) .hdm-q > .gfield_label { float: left; width: auto !important; margin: 0 10px 12px 0 !important; font-size: 16px !important; font-weight: 700 !important; line-height: 1.3 !important; letter-spacing: -.01em; color: var(--hdm-ink) !important; }
.hdm .gform_wrapper:is(#gf, .gform_wrapper) .hdm-q > .gfield_description:not(.validation_message) { float: left; width: auto !important; margin: 4px 0 12px !important; font-size: 12.5px !important; line-height: 1.3 !important; color: var(--hdm-muted) !important; }
.hdm .gform_wrapper:is(#gf, .gform_wrapper) .hdm-q > .ginput_container, .hdm .gform_wrapper:is(#gf, .gform_wrapper) .hdm-q > .validation_message { clear: both; }

/* Step indicator: finished steps in green */
.hdm .gform_wrapper:is(#gf, .gform_wrapper) .gf_step_completed .gf_step_number::before { background-color: #1f9d55 !important; border-color: #1f9d55 !important; }

/* "Back" button: the theme leaves it grey on white with no border */
.hdm .gform_wrapper:is(#gf, .gform_wrapper) .gform_previous_button { background: #fff !important; color: var(--hdm-accent) !important; border: 1.5px solid var(--hdm-accent) !important; }
.hdm .gform_wrapper:is(#gf, .gform_wrapper) .gform_previous_button:hover { background: #eaf1f9 !important; }

/* This page only (the stylesheet is loaded only where the shortcode is): no torn-paper edge under the page title. */
.fusion-tb-header .fusion-section-separator { display: none; }
/* Same page: no "Programează o consultație!" band (first footer container), the page is already the booking form. */
.fusion-tb-footer .fusion-footer-widget-area > .fusion-fullwidth:first-child { display: none; }

/* the form has steps: the marked zones are step 1 */
.hdm[data-page]:not([data-page="1"]) .hdm-pick { display: none; }

/* after a successful submit only the confirmation message stays */
.hdm--sent { grid-template-columns: minmax(0, 1fr); max-width: 760px; margin: 0 auto; }
.hdm--sent .hdm-stage, .hdm--sent .hdm-pick { display: none; }
/* confirmation card (the markup is the form's confirmation message, in Gravity Forms) */
.hdm-done { max-width: 620px; margin: 24px auto 0; padding: 44px 32px 40px; border: 1px solid var(--hdm-line); border-radius: 18px; background: var(--hdm-paper); text-align: center; }
.hdm-done-icon { width: 68px; height: 68px; margin: 0 auto 20px; border-radius: 50%; background: #1f9d55 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 34px 34px no-repeat; }
.hdm .hdm-done-title { margin: 0 0 12px; font-size: 26px; line-height: 1.2; text-wrap: balance; }
.hdm .hdm-done p { margin: 0 auto 10px; max-width: 46ch; font-size: 16px; line-height: 1.55; color: var(--hdm-muted); }
.hdm .hdm-done p a { color: var(--hdm-accent); font-weight: 600; white-space: nowrap; }
.hdm .hdm-done-btn { display: inline-block; margin-top: 18px; padding: 13px 28px; border-radius: 999px; background: var(--hdm-accent); color: var(--hdm-accent-ink); font-size: 14px; font-weight: 600; text-decoration: none; }
.hdm .hdm-done-btn:hover { background: #0f3661; color: var(--hdm-accent-ink); }

/* full-width blue band between the page and the footer (the theme clips horizontal overflow) */
/* Outside .hdm (see the PHP), so the colour is written out and .hdm's bottom padding is the gap above it. */
.hdm-band { width: 100vw; margin: 0 0 0 calc(50% - 50vw); padding: 56px max(24px, calc(50vw - 700px)); box-sizing: border-box; background: #14457b; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.hdm-band .hdm-band-title { margin: 0; color: #fff; font-size: 30px; font-weight: 700; line-height: 1.2; }
.hdm-band .hdm-band-btn { padding: 11px 28px; border: 1px solid #fff; border-radius: 999px; color: #fff; font-size: 15px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.hdm-band .hdm-band-btn:hover { background: #fff; color: #14457b; }
body #main { padding-bottom: 0 !important; } /* the band touches the footer */

@media (max-width: 980px) {
	/* the theme already pads the page sideways; on small screens bring the hand up, closer to the page title */
	body #main { padding-top: 0; }
	/* One column, but the model shares its row with a scroll strip. The two wrappers dissolve (display: contents) so the
	   title and intro can sit above the model while the list of marked zones and the form stay below it. */
	.hdm { grid-template-columns: minmax(0, 1fr) 44px; gap: 0; padding: 0 0 40px; }
	.hdm-side, .hdm-pick { display: contents; }
	.hdm > *, .hdm-side > *, .hdm-pick > * { grid-column: 1 / -1; order: 5; }
	.hdm .hdm-title { order: 1; margin: 20px 0 10px; }
	.hdm .hdm-lead { order: 2; margin: 0 0 18px; }
	/* pulled 14px into the page's side padding, so the strip does not cost the model too much width */
	.hdm > .hdm-stage { grid-column: 1; order: 3; margin-left: -14px; }
	.hdm > .hdm-scroll { grid-column: 2; order: 4; align-self: stretch; display: flex; align-items: center; justify-content: center; position: relative; touch-action: pan-y; }
	.hdm-pick > * { margin-top: 16px; }
	.hdm-pick > .hdm-zones { margin-top: 20px; }
	.hdm-side > :not(.hdm-pick) { margin-top: 28px; }
	/* the strip: a dashed track with an arrow at each end and a vertical label */
	.hdm-scroll::before { content: ""; position: absolute; top: 26px; bottom: 26px; left: 50%; border-left: 2px dashed #c3ccd6; transform: translateX(-1px); }
	.hdm-scroll::after { content: ""; position: absolute; top: 6px; bottom: 6px; left: 50%; width: 14px; margin-left: -7px;
		background:
			url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none' stroke='%2314457b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 9l5-5 5 5'/%3E%3C/svg%3E") center top / 14px 14px no-repeat,
			url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none' stroke='%2314457b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 5l5 5 5-5'/%3E%3C/svg%3E") center bottom / 14px 14px no-repeat;
		animation: hdm-scroll-nudge 1.8s ease-in-out infinite alternate; }
	.hdm-scroll span { position: relative; padding: 10px 0; background: #fff; writing-mode: vertical-rl; transform: rotate(180deg); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; color: var(--hdm-accent); }
	.hdm--sent .hdm-scroll { display: none; }
	.hdm-done { padding: 36px 20px 32px; }
	.hdm .hdm-done-title { font-size: 22px; }
	/* 16px: below that, iOS zooms the page when the search box gets focus */
	.hdm .chosen-container, .hdm .chosen-container-single .chosen-search input[type="text"] { font-size: 16px; }
	.hdm .chosen-container .chosen-results { max-height: 45vh; }
	.hdm .chosen-container .chosen-results li { padding: 11px 14px; }
	/* not full height: with touch-action none on the stage, the page must stay scrollable around it */
	.hdm-stage { height: min(68vh, 560px); min-height: 360px; }
	.hdm-toolbar { top: 10px; left: 10px; right: 10px; gap: 6px; }
	.hdm-seg button { padding: 6px 10px; font-size: 12px; }
	.hdm .hdm-title { font-size: 22px; }
	.hdm-hint { bottom: 8px; font-size: 12px; }
}
@keyframes hdm-scroll-nudge { from { top: 6px; bottom: 6px; } to { top: 0; bottom: 0; } }
@media (max-width: 520px) {
	.hdm-band { padding-top: 40px; padding-bottom: 40px; justify-content: center; text-align: center; }
	.hdm-band .hdm-band-title { font-size: 24px; width: 100%; }
	/* the toolbar wraps onto two or three rows here: start the model below it, lift the rotate button off the hint */
	.hdm-stage { --hdm-bar: 124px; } /* three rows of buttons now that the scroll strip takes part of the width */
	.hdm-rot { bottom: 60px; right: 10px; }
}
@media (prefers-reduced-motion: reduce) { .hdm-scroll::after { animation: none; } .hdm-stage, .hdm-stage::after { transition: none; } .hdm-rot .hdm-dot, .hdm-rot .hdm-ripple { animation: none; } .hdm-rot .hdm-ripple { opacity: 0; } }
