/* ITODI 0.7.422 — clean controls. The 3D viewer and its scene are untouched.
 * Extend the existing important layer so presentation beats legacy inline CSS
 * without disturbing the engine's visibility and mobile navigation rules. */
@layer itodi-scandinavian-419 {
  html#itodiUi.itodi-scandi-419 {
    --itodi-ink:#222326!important;
    --itodi-text:#343538!important;
    --itodi-muted:#77787b!important;
    --itodi-faint:#929397!important;
    --itodi-line:#ececee!important;
    --itodi-line-strong:#dfe0e3!important;
    --itodi-soft:#f8f8f9!important;
    --itodi-accent:#38131f!important;
    --itodi-accent-hover:#5b2437!important;
    --itodi-accent-soft:#faf6f7!important;
    --itodi-blue:#38131f!important;
    --itodi-blue-dark:#38131f!important;
    --itodi-blue-soft:#faf6f7!important;
    --itodi-card-blue:#38131f!important;
    --itodi-card-border:#e8e8eb!important;
    --itodi-card-muted:#77787b!important;
    --itodi-control-radius:4px!important;
    --itodi-scandi-moss:#38131f;
  }

  /* Settings surfaces, independent of the underlying furniture renderer. */
  html#itodiUi.itodi-scandi-419 :is(.main>.left,#itsPanelHeader,#itodiShellSections,#ivMainTabs,#ivSubtabs,#ivViewerSupport,#ivProjectActions,#imEditor,#imNav,#imParams,#imMore,#imPurchase) {
    background-color:#fff!important;
    border-color:var(--itodi-line)!important;
    box-shadow:none!important;
    color:var(--itodi-text)!important;
  }
  html#itodiUi.itodi-scandi-419 :is(#itsPanelHeader,#itodiShellSections,#imParams,#imMore,#itodiBookcaseFlow) :is(h2,h3,h4,.label,.layout-heading,.counter-label,.itodi-simple-label,.iv-accessory-heading,.itodi-handle-flow-head,.leg-finish-title) {
    font-family:var(--itodi-font)!important;
    color:var(--itodi-ink)!important;
    letter-spacing:normal!important;
  }
  html#itodiUi.itodi-scandi-419 :is(#itsTitle,#ivHeading,#imSheetTitle) {
    font-family:var(--itodi-font)!important;
    color:var(--itodi-ink)!important;
    font-weight:600!important;
    letter-spacing:-.02em!important;
  }

  /* A consistent, quiet navigation hierarchy. */
  html#itodiUi.itodi-scandi-419 :is(#ivMainTabs,#imNav) {
    border-radius:0!important;
    border-bottom:1px solid var(--itodi-line)!important;
  }
  html#itodiUi.itodi-scandi-419 :is(#ivMainTabs button,#imNav button) {
    position:relative;
    background:transparent!important;
    color:#747579!important;
    border:0!important;
    border-bottom:2px solid transparent!important;
    border-radius:0!important;
    box-shadow:none!important;
    font-weight:400!important;
  }
  html#itodiUi.itodi-scandi-419 :is(#ivMainTabs button,#imNav button):is([aria-pressed=true],.active) {
    color:var(--itodi-ink)!important;
    background:transparent!important;
    border-color:var(--itodi-accent)!important;
    font-weight:600!important;
  }
  html#itodiUi.itodi-scandi-419 :is(#ivSubtabs,#itsSubnav) {
    padding:0!important;
    gap:0!important;
    border:0!important;
    border-bottom:1px solid var(--itodi-line)!important;
    border-radius:0!important;
    background:#fff!important;
  }
  html#itodiUi.itodi-scandi-419 :is(#ivSubtabs button,#itsSubnav button) {
    background:transparent!important;
    color:var(--itodi-muted)!important;
    border:0!important;
    border-bottom:2px solid transparent!important;
    border-radius:0!important;
    box-shadow:none!important;
    font-weight:400!important;
  }
  html#itodiUi.itodi-scandi-419 :is(#ivSubtabs button,#itsSubnav button)[aria-pressed=true] {
    background:transparent!important;
    color:var(--itodi-ink)!important;
    border-bottom-color:var(--itodi-accent)!important;
    font-weight:600!important;
  }
  html#itodiUi.itodi-scandi-419 :is(#ivSubtabs button,#itsSubnav button)[aria-pressed=true]::after {content:none!important}
  html#itodiUi.itodi-scandi-419 #itsStylePanel button {
    border-color:var(--itodi-line-strong)!important;
    border-radius:4px!important;
    background:#fff!important;
    color:var(--itodi-ink)!important;
    box-shadow:none!important;
  }
  html#itodiUi.itodi-scandi-419 #itsStylePanel button[aria-pressed=true] {
    border-color:var(--itodi-accent)!important;
    background:#fff!important;
    box-shadow:inset 0 0 0 .5px var(--itodi-accent)!important;
  }

  /* Original controls and disabled semantics remain authoritative. */
  html#itodiUi.itodi-scandi-419 :is(#itodiShellSections,#imParams,#imMore,#itodiBookcaseFlow) :is(input:not([type=range]):not([type=checkbox]):not([type=radio]):not([type=color]),select,textarea) {
    color:var(--itodi-ink)!important;
    border-color:var(--itodi-line-strong)!important;
    border-radius:4px!important;
    box-shadow:none!important;
  }
  html#itodiUi.itodi-scandi-419 :is(#itodiShellSections,#imParams,#imMore,#itodiBookcaseFlow) :is(.number,.counter,.compact-number,.wardrobe-counter,.itodi-simple-counter,.itodi-storage-stepper,.step5-progress-counter) {
    color:var(--itodi-ink)!important;
    border-color:var(--itodi-line-strong)!important;
    border-radius:4px!important;
    background:#fff!important;
    box-shadow:none!important;
  }
  html#itodiUi.itodi-scandi-419 :is(#itodiShellSections,#imParams,#imMore,#itodiBookcaseFlow) :is(.number,.counter,.compact-number,.wardrobe-counter,.itodi-simple-counter,.itodi-storage-stepper,.step5-progress-counter) :is(button,input) {
    color:var(--itodi-ink)!important;
    background:#fff!important;
    border-color:var(--itodi-line)!important;
    border-radius:0!important;
    box-shadow:none!important;
  }
  html#itodiUi.itodi-scandi-419 :is(#itodiShellSections,#imParams,#imMore,#itodiBookcaseFlow) :is(.base-card,.installation-mode-card,.leg-model-card,.front-profile-card,.front-detail-card,.itodi-handle-model-card,.itodi-opening-method-card,.itodi-segment-type-card,.itodi-option-card,.structure-preset-card,.layout-card,.back-choice-card,.plinth-style-card,.step5-progress-card,.ibl-choice,.ibl-style-tile,.itodi-simple-pills button) {
    position:relative;
    color:var(--itodi-text)!important;
    background-color:#fff!important;
    border-color:var(--itodi-line-strong)!important;
    border-radius:4px!important;
    box-shadow:none!important;
  }
  html#itodiUi.itodi-scandi-419 :is(#itodiShellSections,#imParams,#imMore,#itodiBookcaseFlow) :is(.base-card,.installation-mode-card,.leg-model-card,.front-profile-card,.front-detail-card,.itodi-handle-model-card,.itodi-opening-method-card,.itodi-segment-type-card,.itodi-option-card,.structure-preset-card,.layout-card,.back-choice-card,.plinth-style-card,.step5-progress-card,.ibl-choice,.ibl-style-tile,.itodi-simple-pills button):is(.selected,.active,[aria-pressed=true]) {
    color:var(--itodi-ink)!important;
    background-color:#fff!important;
    border-color:var(--itodi-accent)!important;
    box-shadow:inset 0 0 0 .5px var(--itodi-accent)!important;
  }
  html#itodiUi.itodi-scandi-419 :is(#itodiShellSections,#imParams,#imMore,#itodiBookcaseFlow,#ic382Panel) :is(.structure-choice-card,.wardrobe-preset-card,.wardrobe-door-choice,.wardrobe-drawer-choice,.japandi-variant-card,.ic382-choices button,.ib396-cell-type button) {
    border-color:var(--itodi-line-strong)!important;
    border-radius:4px!important;
    color:var(--itodi-text)!important;
    background-color:#fff!important;
    box-shadow:none!important;
  }
  html#itodiUi.itodi-scandi-419 :is(#itodiShellSections,#imParams,#imMore,#itodiBookcaseFlow,#ic382Panel) :is(.structure-choice-card,.wardrobe-preset-card,.wardrobe-door-choice,.wardrobe-drawer-choice,.japandi-variant-card,.ic382-choices button,.ib396-cell-type button):is(.selected,.active,[aria-pressed=true]) {
    border-color:var(--itodi-accent)!important;
    color:var(--itodi-ink)!important;
    background-color:#fff!important;
    box-shadow:inset 0 0 0 .5px var(--itodi-accent)!important;
  }
  html#itodiUi.itodi-scandi-419 :is(#itodiShellSections,#imParams,#imMore) :is(.itodi-simple-pills,.itodi-simple-detail-card,.itodi-simple-detail-row,.itodi-pill) {
    border-color:var(--itodi-line)!important;
    border-radius:4px!important;
    box-shadow:none!important;
  }
  html#itodiUi.itodi-scandi-419 :is(#itodiShellSections,#imParams,#imMore) :is(.itodi-simple-pills button,.itodi-segment-type-card)[aria-disabled=true] {
    color:#999a9e!important;
    background:#f7f7f8!important;
    border-color:#eeeeef!important;
    box-shadow:none!important;
  }
  html#itodiUi.itodi-scandi-419 :is(#itodiShellSections,#imParams,#imMore,#itodiBookcaseFlow) input[type=range]::-webkit-slider-runnable-track {
    background:#dedee1!important;
    height:3px!important;
    border-radius:2px!important;
  }
  html#itodiUi.itodi-scandi-419 :is(#itodiShellSections,#imParams,#imMore,#itodiBookcaseFlow) input[type=range]::-moz-range-track {background:#dedee1!important;height:3px!important}
  html#itodiUi.itodi-scandi-419 :is(#itodiShellSections,#imParams,#imMore,#itodiBookcaseFlow) input[type=range]::-moz-range-progress {background:var(--itodi-accent)!important;height:3px!important}
  html#itodiUi.itodi-scandi-419 :is(#itodiShellSections,#imParams,#imMore,#itodiBookcaseFlow) input[type=range]::-webkit-slider-thumb {background:var(--itodi-accent)!important;border-color:var(--itodi-accent)!important}
  html#itodiUi.itodi-scandi-419 :is(#itodiShellSections,#imParams,#imMore,#itodiBookcaseFlow) input[type=range]::-moz-range-thumb {background:var(--itodi-accent)!important;border-color:var(--itodi-accent)!important}

  /* Small accessory colors retain their actual material fills. */
  html#itodiUi.itodi-scandi-419 :is(.leg-finish-chip,.itodi-handle-colour-card) {
    color:var(--itodi-text)!important;
    border-color:transparent!important;
    box-shadow:none!important;
  }
  html#itodiUi.itodi-scandi-419 :is(.leg-finish-chip,.itodi-handle-colour-card):is(.selected,[aria-pressed=true]) {
    color:var(--itodi-ink)!important;
    border-color:var(--itodi-accent)!important;
    background-color:transparent!important;
    box-shadow:none!important;
  }
  html#itodiUi.itodi-scandi-419 :is(.leg-finish-chip[data-leg-finish=body],.leg-finish-chip[data-leg-finish=match-front],.itodi-handle-colour-card[data-handle-finish=match-front]) {
    border-color:var(--itodi-line-strong)!important;
    border-radius:4px!important;
  }
  html#itodiUi.itodi-scandi-419 :is(.leg-finish-chip[data-leg-finish=body],.leg-finish-chip[data-leg-finish=match-front],.itodi-handle-colour-card[data-handle-finish=match-front]):is(.selected,[aria-pressed=true]) {border-color:var(--itodi-accent)!important}
  html#itodiUi.itodi-scandi-419 :is(#ivMaterialFamilies button,#imLibraryGroups button):is(.selected,[aria-pressed=true]) {
    color:var(--itodi-ink)!important;
    background:#faf6f7!important;
    border-color:var(--itodi-accent)!important;
  }

  /* Tools sit quietly around the unchanged preview. */
  html#itodiUi.itodi-scandi-419 :is(#itsViewTools,#itsSceneActions,#itsDownloads,#ivProjectActions) :is(button,a) {
    background:transparent!important;
    border:1px solid transparent!important;
    border-radius:4px!important;
    color:var(--itodi-ink)!important;
    box-shadow:none!important;
    font-weight:400!important;
  }
  html#itodiUi.itodi-scandi-419 :is(#itsViewTools,#itsSceneActions,#itsDownloads,#ivProjectActions) :is(button,a):hover:not(:disabled) {background:#ffffffb3!important;border-color:#e5e5e8!important}
  html#itodiUi.itodi-scandi-419 :is(#itsViewTools,#itsSceneActions,#itsDownloads,#ivProjectActions) svg {color:var(--itodi-ink)!important}
  html#itodiUi.itodi-scandi-419 #ivViewerPanel :is([data-studio-view=front],#itsDownload3D,#itsDownloadPDF,#itsSave,#itsConsultation,#ivOrderSamples)::before {
    color:inherit!important;
    background-color:currentColor!important;
    filter:none!important;
  }
  html#itodiUi.itodi-scandi-419 :is(#itsDimensionsState,#itsDecorState) {background:#c9c9cc!important}
  html#itodiUi.itodi-scandi-419 :is(#itsDimensionsState,#itsDecorState)::after {background:#fff!important}
  html#itodiUi.itodi-scandi-419 :is(#itsDimensionsToggle,#itsDecorToggle)[aria-pressed=true]>:is(#itsDimensionsState,#itsDecorState) {background:var(--itodi-accent)!important}
  html#itodiUi.itodi-scandi-419 :is(#itsCellLabelText,.iv-accessory-selected,.itodi-simple-hint,.itodi-simple-fixed417,#itsWallFixNotice) {color:var(--itodi-muted)!important}
  html#itodiUi.itodi-scandi-419 :is(#itodiShellSections,#ic422Details,#ivMainTabs,#ivSubtabs,#itsViewTools,#itsSceneActions,#ivProjectActions,#imNav,#imParams) :is(button,a,input,select,textarea):focus-visible {outline:2px solid var(--itodi-accent)!important;outline-offset:3px!important}

  /* Details use original controls inside a quiet accordion shell. */
  html#itodiUi.itodi-scandi-419[data-ic422-details] #ivSubtabs {display:none!important}
  html#itodiUi.itodi-scandi-419 #ic422Details {flex:1 1 auto!important;min-height:0!important;overflow:auto!important;scrollbar-width:thin;padding:0 16px;color:var(--itodi-text)}
  html#itodiUi.itodi-scandi-419 #ic422Details[hidden] {display:none!important}
  html#itodiUi.itodi-scandi-419 .ic422-detail-row {border-bottom:1px solid var(--itodi-line);background:#fff}
  html#itodiUi.itodi-scandi-419 .ic422-detail-heading {
    display:flex!important;align-items:center;gap:12px;position:relative;
    width:100%;min-height:54px;padding:13px 0!important;
    background:#fff!important;border:0!important;border-radius:0!important;box-shadow:none!important;
    color:var(--itodi-ink)!important;text-align:left;font:500 14px/1.35 var(--itodi-font)!important;cursor:pointer;
  }
  html#itodiUi.itodi-scandi-419 .ic422-detail-icon {display:block;flex:0 0 23px;width:23px;height:25px;color:var(--itodi-ink);fill:none;stroke:currentColor;stroke-width:1.3}
  html#itodiUi.itodi-scandi-419 .ic422-detail-icon svg {width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.3}
  html#itodiUi.itodi-scandi-419 .ic422-detail-copy {display:flex;flex-direction:column;gap:4px;min-width:0;flex:1}
  html#itodiUi.itodi-scandi-419 .ic422-detail-label {display:block;min-width:0}
  html#itodiUi.itodi-scandi-419 .ic422-detail-summary {display:block;font:400 12px/1.4 var(--itodi-font)!important;color:var(--itodi-muted)!important}
  html#itodiUi.itodi-scandi-419 .ic422-detail-chevron {display:block;flex:0 0 17px;margin-left:auto;line-height:1;text-align:center;color:var(--itodi-ink)}
  html#itodiUi.itodi-scandi-419 .ic422-detail-chevron svg {width:14px;height:14px}
  html#itodiUi.itodi-scandi-419 .ic422-detail-body {padding:0 0 17px;min-height:0}
  html#itodiUi.itodi-scandi-419 .ic422-detail-body[hidden] {display:none!important}
  html#itodiUi.itodi-scandi-419 .ic422-detail-body #itodiShellSections {position:static!important;flex:0 0 auto!important;height:auto!important;max-height:none!important;min-height:0!important;padding:0!important;margin:0!important;overflow:visible!important}
  html#itodiUi.itodi-scandi-419 .ic422-selection-title {margin:0;font:500 13px/1.4 var(--itodi-font);color:var(--itodi-ink)}
  html#itodiUi.itodi-scandi-419 .ic422-option-icon {width:36px;height:32px;flex:0 0 auto;color:currentColor;stroke:currentColor;fill:none;stroke-width:1.25}
  html#itodiUi.itodi-scandi-419 .ic422-handle-icon {display:block;width:40px;height:32px;flex:0 0 auto;margin:0 auto;color:currentColor}
  html#itodiUi.itodi-scandi-419 .ic422-handle-visual .itodi-handle-model-preview {display:none!important}

  @media(min-width:1001px) {
    html#itodiUi.itodi-scandi-419 .ic422-selection-compact #itsCellLabelText {display:none!important}
    html#itodiUi.itodi-scandi-419 .ic422-selection-compact .ic422-selection-title {flex:0 0 auto!important;white-space:nowrap}
    html#itodiUi.itodi-scandi-419 #ivMainTabs {padding:4px 0 0!important;margin:0 16px 14px!important;gap:0!important}
    html#itodiUi.itodi-scandi-419 #ivMainTabs button {min-height:63px!important;padding:7px 2px 12px!important;gap:7px!important;font-size:12px!important}
    html#itodiUi.itodi-scandi-419 #ivMainTabs button>span:first-child {font-size:23px!important;line-height:24px!important}
    html#itodiUi.itodi-scandi-419 #itsPanelHeader {padding-top:0!important}
    html#itodiUi.itodi-scandi-419 #ivViewerPanel #itsViewTools button {font-size:12px!important;min-height:34px!important;height:34px!important;padding:0 8px!important;gap:7px!important}
    html#itodiUi.itodi-scandi-419 #ivViewerPanel #itsViewTools [data-studio-view=front]::before {width:18px!important;height:18px!important;flex-basis:18px!important}
    html#itodiUi.itodi-scandi-419 #ivViewerPanel #itsSceneActions button {font-size:12px!important;min-height:34px!important;height:34px!important;padding:0 8px!important;gap:7px!important}
    html#itodiUi.itodi-scandi-419 #ivProjectActions {min-height:48px!important;gap:14px!important;padding:6px 9px!important;margin:0!important}
    html#itodiUi.itodi-scandi-419 #ivProjectActions>:is(button,a) {min-height:36px!important;height:auto!important;padding:4px 7px!important;font-size:12px!important;gap:8px!important}
    html#itodiUi.itodi-scandi-419 #step5ProgressiveRoot .iv-interior-card {padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important}
    html#itodiUi.itodi-scandi-419 #step5ProgressiveRoot .itodi-segment-type-card {min-height:84px!important;flex-direction:column!important;gap:9px!important;padding:11px 7px!important;font-size:13px!important}
    html#itodiUi.itodi-scandi-419 #step5ProgressiveRoot .itodi-segment-type-icon {width:36px!important;height:34px!important;flex:0 0 34px!important}
    html#itodiUi.itodi-scandi-419 #step5ProgressiveRoot .itodi-segment-type-icon svg {width:36px!important;height:34px!important;max-width:none!important;max-height:none!important}
    html#itodiUi.itodi-scandi-419 #step5ProgressiveRoot .itodi-simple-details {margin-top:18px!important;padding-top:17px!important;gap:14px!important;border-color:var(--itodi-line)!important}
    html#itodiUi.itodi-scandi-419 #step5ProgressiveRoot .itodi-simple-detail-group:has(.ic422-option-icon) {grid-template-columns:minmax(0,1fr)!important;gap:10px!important}
    html#itodiUi.itodi-scandi-419 #step5ProgressiveRoot .itodi-simple-pills:has(.ic422-option-icon) {border:0!important;gap:8px!important;overflow:visible!important;width:100%!important}
    html#itodiUi.itodi-scandi-419 #step5ProgressiveRoot .itodi-simple-pills button:has(.ic422-option-icon) {display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;min-height:80px!important;padding:10px 5px!important;border:1px solid var(--itodi-line-strong)!important;border-radius:4px!important;gap:8px!important;white-space:normal!important;font-size:12px!important}
    html#itodiUi.itodi-scandi-419 #step5ProgressiveRoot .itodi-simple-pills button:has(.ic422-option-icon)[aria-pressed=true] {border-color:var(--itodi-accent)!important}
    html#itodiUi.itodi-scandi-419 #handleModelGrid button {display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:7px!important;min-height:75px!important;padding:9px 4px!important;font-size:12px!important}
    /* Native data attributes survive the engine replacing each option button. */
    html#itodiUi.itodi-scandi-419 #handleModelGrid [data-handle-model=hourglass-knob-31] {--ic422-handle-glyph:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 40' fill='none' stroke='black' stroke-width='1.3'%3E%3Ccircle cx='24' cy='20' r='8'/%3E%3C/svg%3E")}
    html#itodiUi.itodi-scandi-419 #handleModelGrid [data-handle-model=gtv-hexa-150] {--ic422-handle-glyph:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 40' fill='none' stroke='black' stroke-width='1.3'%3E%3Cpath d='m15 11 18 0 8 9-8 9H15l-8-9z'/%3E%3C/svg%3E")}
    html#itodiUi.itodi-scandi-419 #handleModelGrid [data-handle-model=gtv-ua134] {--ic422-handle-glyph:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 40'%3E%3Cpath d='M10 15h28a14 14 0 0 1-28 0Z'/%3E%3C/svg%3E")}
    html#itodiUi.itodi-scandi-419 #handleModelGrid [data-handle-model=viefe-como-26] {--ic422-handle-glyph:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 40' fill='none' stroke='black' stroke-width='1.3'%3E%3Ccircle cx='24' cy='20' r='9'/%3E%3Ccircle cx='24' cy='20' r='5'/%3E%3C/svg%3E")}
    html#itodiUi.itodi-scandi-419 #handleModelGrid [data-handle-model=gtv-nord-128] {--ic422-handle-glyph:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 40' fill='none' stroke='black' stroke-width='1.3'%3E%3Cpath d='M8 14h32l-5 12H13Z'/%3E%3C/svg%3E")}
    html#itodiUi.itodi-scandi-419 #handleModelGrid [data-handle-model=gtv-lorena-33] {--ic422-handle-glyph:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 40' fill='none' stroke='black' stroke-width='1.3'%3E%3Crect x='14' y='10' width='20' height='20' rx='2'/%3E%3C/svg%3E")}
    html#itodiUi.itodi-scandi-419 #handleModelGrid :is([data-handle-model=hourglass-knob-31],[data-handle-model=gtv-hexa-150],[data-handle-model=gtv-ua134],[data-handle-model=viefe-como-26],[data-handle-model=gtv-nord-128],[data-handle-model=gtv-lorena-33])::before {
      content:''!important;display:block!important;position:static!important;flex:0 0 32px!important;width:40px!important;height:32px!important;margin:0 auto!important;padding:0!important;
      background:var(--itodi-ink)!important;mask:var(--ic422-handle-glyph) center/contain no-repeat!important;-webkit-mask:var(--ic422-handle-glyph) center/contain no-repeat!important;
      border:0!important;border-radius:0!important;box-shadow:none!important;transform:none!important;pointer-events:none!important;
    }
    html#itodiUi.itodi-scandi-419 #handleModelGrid :is([data-handle-model=hourglass-knob-31],[data-handle-model=gtv-hexa-150],[data-handle-model=gtv-ua134],[data-handle-model=viefe-como-26],[data-handle-model=gtv-nord-128],[data-handle-model=gtv-lorena-33]) :is(.itodi-handle-model-preview,.ic422-handle-icon) {display:none!important}
    html#itodiUi.itodi-scandi-419 #handleModelGrid button:not([data-handle-model=hourglass-knob-31],[data-handle-model=gtv-hexa-150],[data-handle-model=gtv-ua134],[data-handle-model=viefe-como-26],[data-handle-model=gtv-nord-128],[data-handle-model=gtv-lorena-33]) .itodi-handle-model-preview {display:flex!important}
    html#itodiUi.itodi-scandi-419 #handleModelGrid {grid-template-columns:repeat(auto-fit,minmax(64px,1fr))!important;gap:8px!important}
    html#itodiUi.itodi-scandi-419 #handleGrid {border-bottom:1px solid var(--itodi-line)!important;gap:0!important}
    html#itodiUi.itodi-scandi-419 #handleGrid button {border:0!important;border-bottom:2px solid transparent!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;color:var(--itodi-text)!important;min-height:42px!important}
    html#itodiUi.itodi-scandi-419 #handleGrid button:is(.selected,[aria-pressed=true]) {border-bottom-color:var(--itodi-accent)!important;background:transparent!important;color:var(--itodi-ink)!important;box-shadow:none!important;font-weight:600!important}
    html#itodiUi.itodi-scandi-419 #handleGrid button :is(strong,span) {color:inherit!important}
    html#itodiUi.itodi-scandi-419 .itodi-copy411 {border-color:var(--itodi-line)!important}
    html#itodiUi.itodi-scandi-419 .itodi-copy411 [data-copy-apply] {color:var(--itodi-ink)!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;padding:8px 0!important;text-align:left!important;font-size:12px!important;font-weight:400!important}
    html#itodiUi.itodi-scandi-419 .itodi-copy411 [data-copy-apply]:hover:not(:disabled) {color:var(--itodi-accent)!important;text-decoration:underline;text-underline-offset:3px}
    html#itodiUi.itodi-scandi-419 .itodi-handle-colour-grid {gap:8px 12px!important}
    html#itodiUi.itodi-scandi-419 .itodi-handle-colour-card:not([data-handle-finish=match-front]) {display:flex!important;flex-direction:row!important;justify-content:flex-start!important;flex:0 1 auto!important;width:auto!important;max-width:100%!important;height:40px!important;min-height:40px!important;padding:4px!important;gap:8px!important;border-radius:4px!important;border-width:1px!important;background:transparent!important}
    html#itodiUi.itodi-scandi-419 .itodi-handle-colour-card .itodi-handle-colour-label {position:static!important;clip-path:none!important;width:auto!important;height:auto!important;overflow:visible!important;white-space:normal!important;font-size:12px!important;line-height:1.3!important;color:inherit!important}
    html#itodiUi.itodi-scandi-419 .itodi-handle-colour-card .itodi-handle-colour-preview {width:22px!important;height:22px!important;flex:0 0 22px!important}
    html#itodiUi.itodi-scandi-419 .itodi-handle-colour-card .itodi-handle-colour-swatch {width:22px!important;height:22px!important;flex:0 0 22px!important}
    html#itodiUi.itodi-scandi-419 .itodi-handle-colour-card:is(.selected,[aria-pressed=true]) {border-color:transparent!important}
    html#itodiUi.itodi-scandi-419 .itodi-handle-colour-card:is(.selected,[aria-pressed=true]) .itodi-handle-colour-swatch {outline:1.5px solid var(--itodi-accent)!important;outline-offset:3px!important}
    html#itodiUi.itodi-scandi-419 :is(.itodi-segment-type-card,#handleModelGrid button):is(.selected,[aria-pressed=true]):not(:disabled):not([aria-disabled=true])::after {content:'✓'!important;position:absolute!important;right:6px!important;top:5px!important;width:14px!important;height:14px!important;background:none!important;border:0!important;border-radius:0!important;color:var(--itodi-accent)!important;font:500 14px/1 var(--itodi-font)!important;box-shadow:none!important;transform:none!important}
  }
  @media(min-width:1001px) and (max-width:1250px) {
    html#itodiUi.itodi-scandi-419 #ivMainTabs button {font-size:10px!important}
    html#itodiUi.itodi-scandi-419 #ivProjectActions {gap:2px!important;padding-inline:4px!important}
    html#itodiUi.itodi-scandi-419 #ivProjectActions>:is(button,a) {font-size:10px!important;gap:5px!important;padding-inline:5px!important}
  }
  @media(min-width:1400px) {
    /* Six simple-cabinet models stay in one row even when a native refresh
       briefly retains five explicit tracks. Unknown/wardrobe families retain
       the native wrapping behavior. */
    html#itodiUi.itodi-scandi-419:is([data-itodi-product-type=sideboard],[data-itodi-product-type=rtv_sideboard],[data-itodi-product-type=nightstand],[data-itodi-product-type=bathroom_cabinet]) #handleModelGrid {
      grid-auto-flow:column!important;
      grid-template-rows:minmax(0,auto)!important;
      grid-auto-columns:minmax(0,1fr)!important;
    }
  }
  @media(max-width:1000px) {
    html#itodiUi.itodi-scandi-419 #imNav button {font-size:10px!important}
    html#itodiUi.itodi-scandi-419 #ic422Details {padding-inline:12px}
    html#itodiUi.itodi-scandi-419 .ic422-detail-heading {min-height:48px;font-size:13px!important}
    html#itodiUi.itodi-scandi-419 .ic422-handle-icon {width:26px;height:22px}
    html#itodiUi.itodi-scandi-419 .ic422-option-icon {width:23px;height:22px}
  }
}
