/* Canonical shared styles: public page and native editor load this same file. */
.product-lifting-diagram { grid-column: 1 / -1; min-width: 0; }
.product-lifting-diagram[hidden] { display: none !important; }
.lifting-diagram, .lifting-diagram * { box-sizing: border-box; }
.lifting-diagram { padding: 20px; border: 1px solid #dfe2d7; border-radius: 6px; background: #fff; color: #263020; font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.lifting-diagram h3 { margin: 0; color: #22271f; font-size: 21px; line-height: 1.3; }
.lifting-diagram__eyebrow { margin: 0 0 5px; color: #64724f; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.lifting-diagram__warning { margin: 16px 0; padding: 12px 14px; border-left: 3px solid #c39f13; border-radius: 3px; background: #fcf6d8; color: #54440b; font-size: 12px; }
.lifting-diagram label { display: grid; gap: 6px; min-width: 0; margin: 0; font-size: 13px; font-weight: 650; color: #3c4732; }
.lifting-diagram :is(input, select) { display: block; width: 100%; min-width: 0; min-height: 44px; padding: 9px 10px; border: 1px solid #cbd1c0; border-radius: 4px; background: #fff; color: #22271f; font: inherit; font-size: 16px; }
.lifting-diagram :is(input, select, [data-lifting-endpoint]):focus-visible { outline: 3px solid #947b00; outline-offset: 3px; }
.lifting-diagram__conditions { margin: 10px 0 16px; color: #58654b; white-space: pre-wrap; }
.lifting-diagram__configuration { margin-top: 16px !important; }
.lifting-diagram__layout { display: grid; grid-template-columns: minmax(0, 1fr) 230px; gap: 20px; align-items: start; }
.lifting-diagram__drawing { min-width: 0; }
.lifting-diagram__position { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 10px; }
.lifting-diagram__position > span { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 3px 12px; padding: 9px 13px; border-radius: 4px; background: #f5f4e4; color: #616e50; font-size: 12px; }
.lifting-diagram__position strong { color: #22271f; font-size: 23px; font-variant-numeric: tabular-nums; line-height: 1.2; }
.lifting-diagram__drawing svg { display: block; width: 100%; height: auto; border: 1px solid #e0e4d9; border-radius: 4px; background: #fafbf7; touch-action: none; user-select: none; }
.lifting-diagram__grid line { stroke: #e6eadd; stroke-width: 1; }
.lifting-diagram__grid text { fill: #60704e; font-size: 12px; display: none; }
.lifting-diagram.is-detailed .lifting-diagram__grid text { display: block; }
.lifting-diagram__axis { fill: #39482b; font-size: 13px; }
.lifting-diagram [data-lifting-zone] { fill-opacity: .1; stroke: #96a18b; stroke-opacity: .45; stroke-width: 1; }
.lifting-diagram [data-lifting-zone].is-selected { fill-opacity: .23; stroke: #66734f; stroke-opacity: .8; stroke-width: 2; }
.lifting-diagram.is-detailed [data-lifting-zone] { fill-opacity: .35; stroke-opacity: .9; }
.lifting-diagram.is-detailed [data-lifting-zone].is-selected { fill-opacity: .6; stroke-width: 3; }
.lifting-diagram [data-lifting-arm], .lifting-diagram [data-lifting-arm-inset] { fill: none; stroke: #303829; stroke-width: 13; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.lifting-diagram [data-lifting-arm-inset] { stroke: #e6c82d; stroke-width: 7; }
.lifting-diagram [data-lifting-guides] { fill: none; stroke: #9d8620; stroke-width: 1.5; stroke-dasharray: 5 5; pointer-events: none; }
.lifting-diagram__pivot { fill: #f7df22; stroke: #303829; stroke-width: 3; pointer-events: none; }
.lifting-diagram [data-lifting-machine] { pointer-events: none; }
.lifting-diagram__body, .lifting-diagram__cab { fill: #e6c82d; stroke: #303829; stroke-width: 2; stroke-linejoin: round; }
.lifting-diagram__window { fill: #e6eef0; stroke: #303829; stroke-width: 2; }
.lifting-diagram__wheel, .lifting-diagram__track { fill: #303829; stroke: #20251c; stroke-width: 2; }
.lifting-diagram__hub { fill: #d8dcca; }
.lifting-diagram__track-detail { fill: none; stroke: #a2aa94; stroke-width: 4; stroke-linecap: round; }
.lifting-diagram__mast, .lifting-diagram__outrigger { fill: none; stroke: #303829; stroke-width: 5; stroke-linejoin: round; }
.lifting-diagram [data-lifting-endpoint] { cursor: grab; }
.lifting-diagram [data-lifting-endpoint]:active { cursor: grabbing; }
.lifting-diagram__tool-halo { fill: #ffe55a; fill-opacity: .45; stroke: #ae920c; stroke-width: 1.5; }
.lifting-diagram__tool-line { fill: none; stroke: #303829; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.lifting-diagram__tool-shape { fill: #dfc22d; stroke: #303829; stroke-width: 3; }
.lifting-diagram__tool-hit { fill: transparent; stroke: none; }
.lifting-diagram [data-lifting-load] rect { fill: #bb9572; stroke: #675442; stroke-width: 2; }
.lifting-diagram [data-lifting-load] path { fill: none; stroke: #f3e9d8; stroke-width: 3; }
.lifting-diagram__drawing-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; }
.lifting-diagram__model { color: #69765a; font-size: 11px; }
.lifting-diagram .lifting-diagram__detail-toggle { min-height: 44px; padding: 7px 11px; border: 1px solid #d5dbc9; border-radius: 4px; color: #475338; background: #fff; font: inherit; font-size: 12px; cursor: pointer; }
.lifting-diagram .lifting-diagram__detail-toggle[aria-pressed="true"] { background: #f4efc9; border-color: #bdb15d; }
.lifting-diagram .lifting-diagram__detail-toggle:focus-visible { outline: 3px solid #947b00; outline-offset: 3px; }
.lifting-diagram__hint { margin: 9px 0; color: #69765a; font-size: 11px; font-weight: 400; }
.lifting-diagram__legend { display: flex; flex-wrap: wrap; gap: 5px 12px; font-size: 11px; }
.lifting-diagram__legend[hidden] { display: none; }
.lifting-diagram__legend span { display: inline-flex; align-items: center; gap: 6px; }
.lifting-diagram__legend i { flex: 0 0 10px; width: 10px; height: 10px; border: 1px solid #6a745c; border-radius: 2px; }
.lifting-diagram__controls { display: grid; gap: 12px; min-width: 0; }
.lifting-diagram__result { display: grid; gap: 4px; padding: 13px; border: 1px solid #cbd2c0; border-radius: 4px; background: #f3f5ee; color: #45543a; font-size: 12px; }
.lifting-diagram__result strong { font-size: 15px; }
.lifting-diagram__result .lifting-diagram__capacity { font-size: 27px; font-weight: 800; line-height: 1.25; }
.lifting-diagram__result .lifting-diagram__capacity small { font-size: 14px; font-weight: 600; }
.lifting-diagram__result small { margin-top: 4px; font-size: 11px; }
.lifting-diagram__result[data-state="within"] { background: #eef2f7; border-color: #adbfcd; color: #284b61; }
.lifting-diagram__result[data-state="explore"] { background: #f3f3df; border-color: #d4d5b6; color: #4b5535; }
.lifting-diagram input:disabled { color: #7e8774; background: #f4f5ef; }
.lifting-diagram__result[data-state="over"] { background: #fff1e9; border-color: #debea6; color: #823e18; }
.lifting-diagram__source { margin: 18px 0 0; padding-top: 12px; border-top: 1px solid #e2e6db; color: #657059; font-size: 12px; }
.lifting-diagram--invalid { background: #fff9e8; }
@media (max-width: 880px) {
  .product-lifting-diagram { margin: 0 14px 14px; }
  .lifting-diagram { padding: 14px; }
  .lifting-diagram__layout { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .lifting-diagram__position > span { display: grid; justify-content: start; gap: 3px; }
  .lifting-diagram__controls { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lifting-diagram__controls > :is(p, output) { grid-column: 1 / -1; }
  .lifting-diagram__grid text, .lifting-diagram__axis { font-size: 24px; }
  .lifting-diagram.is-detailed .lifting-diagram__grid :is([data-lifting-tick="1"], [data-lifting-tick="3"]) { display: none; }
}
@media (max-width: 380px) {
  .lifting-diagram { padding: 11px; }
  .lifting-diagram h3 { font-size: 18px; }
  .lifting-diagram__controls { gap: 10px; }
}
