/* Compact ITODI interior; native actions and eligibility remain authoritative. */
html#itodiUi #step5ProgressiveRoot#step5ProgressiveRoot#step5ProgressiveRoot .ib396-title{display:none!important}
html#itodiUi #step5ProgressiveRoot#step5ProgressiveRoot#step5ProgressiveRoot .step5-progress-section,
html#itodiUi #step5ProgressiveRoot#step5ProgressiveRoot#step5ProgressiveRoot .itodi-simple-detail-group,
html#itodiUi #step5ProgressiveRoot#step5ProgressiveRoot#step5ProgressiveRoot .itodi-simple-control{margin:0!important;padding:0!important;min-width:0!important}
html#itodiUi #step5ProgressiveRoot#step5ProgressiveRoot#step5ProgressiveRoot .ib396-row:not(.ib396-count-row),
html#itodiUi #step5ProgressiveRoot#step5ProgressiveRoot#step5ProgressiveRoot .itodi-simple-detail-group{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:7px!important;min-height:0!important;margin:12px 0!important}
html#itodiUi #step5ProgressiveRoot#step5ProgressiveRoot#step5ProgressiveRoot .step5-progress-section-head,
html#itodiUi #step5ProgressiveRoot#step5ProgressiveRoot#step5ProgressiveRoot .step5-progress-section-head strong,
html#itodiUi #step5ProgressiveRoot#step5ProgressiveRoot#step5ProgressiveRoot .itodi-simple-detail-group>strong{margin:0 0 6px!important;font-size:13px!important;font-weight:400!important;line-height:1.4!important}
html#itodiUi #step5ProgressiveRoot#step5ProgressiveRoot#step5ProgressiveRoot .type-grid,
html#itodiUi #step5ProgressiveRoot#step5ProgressiveRoot#step5ProgressiveRoot .itodi-segment-type-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important;background:transparent!important;border-radius:0!important;padding:0!important;margin:0 0 13px!important}
html#itodiUi #step5ProgressiveRoot#step5ProgressiveRoot#step5ProgressiveRoot .step5-progress-card,
html#itodiUi #step5ProgressiveRoot#step5ProgressiveRoot#step5ProgressiveRoot .itodi-segment-type-card,
html#itodiUi #step5ProgressiveRoot#step5ProgressiveRoot#step5ProgressiveRoot .itodi-simple-pills button{border:1px solid #dedee6!important;background:#fff!important;color:#303034!important;box-shadow:none!important;min-width:0!important;font-size:13px!important;font-weight:400!important}
html#itodiUi #step5ProgressiveRoot#step5ProgressiveRoot#step5ProgressiveRoot .type-grid .step5-progress-card,
html#itodiUi #step5ProgressiveRoot#step5ProgressiveRoot#step5ProgressiveRoot .itodi-segment-type-card{display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;gap:5px!important;height:80px!important;min-height:80px!important;padding:7px 4px!important;border-radius:17px!important;flex:initial!important}
html#itodiUi #step5ProgressiveRoot#step5ProgressiveRoot#step5ProgressiveRoot .step5-progress-card-icon,
html#itodiUi #step5ProgressiveRoot#step5ProgressiveRoot#step5ProgressiveRoot .itodi-segment-type-icon{display:flex!important;align-items:center!important;justify-content:center!important;width:32px!important;height:35px!important;flex:0 0 auto!important;margin:0!important;background:transparent!important}
html#itodiUi #step5ProgressiveRoot#step5ProgressiveRoot#step5ProgressiveRoot .step5-progress-card-icon svg,
html#itodiUi #step5ProgressiveRoot#step5ProgressiveRoot#step5ProgressiveRoot .itodi-segment-type-icon svg{width:30px!important;height:34px!important}
html#itodiUi #step5ProgressiveRoot#step5ProgressiveRoot#step5ProgressiveRoot .step5-progress-card strong,
html#itodiUi #step5ProgressiveRoot#step5ProgressiveRoot#step5ProgressiveRoot .itodi-segment-type-card strong{font-size:13px!important;font-weight:400!important;white-space:normal!important}
html#itodiUi #step5ProgressiveRoot#step5ProgressiveRoot#step5ProgressiveRoot .step5-progress-card.selected,
html#itodiUi #step5ProgressiveRoot#step5ProgressiveRoot#step5ProgressiveRoot .itodi-segment-type-card[aria-pressed="true"],
html#itodiUi #step5ProgressiveRoot#step5ProgressiveRoot#step5ProgressiveRoot .itodi-simple-pills button[aria-pressed="true"]{border-color:#532b38!important;background:#faf7f8!important;color:#303034!important;box-shadow:inset 0 0 0 1px #532b38!important}
html#itodiUi #step5ProgressiveRoot#step5ProgressiveRoot#step5ProgressiveRoot .opening-grid,
html#itodiUi #step5ProgressiveRoot#step5ProgressiveRoot#step5ProgressiveRoot .front-grid,
html#itodiUi #step5ProgressiveRoot#step5ProgressiveRoot#step5ProgressiveRoot .itodi-simple-pills{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important;justify-content:start!important;border:0!important;border-radius:0!important;overflow:visible!important;background:transparent!important;margin:0!important;width:100%!important}
html#itodiUi #step5ProgressiveRoot#step5ProgressiveRoot#step5ProgressiveRoot .opening-grid .step5-progress-card,
html#itodiUi #step5ProgressiveRoot#step5ProgressiveRoot#step5ProgressiveRoot .front-grid .step5-progress-card,
html#itodiUi #step5ProgressiveRoot#step5ProgressiveRoot#step5ProgressiveRoot .itodi-simple-pills button{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:center!important;gap:6px!important;min-height:44px!important;height:auto!important;padding:5px!important;border-radius:4px!important;width:100%!important}
html#itodiUi #step5ProgressiveRoot#step5ProgressiveRoot#step5ProgressiveRoot .opening-grid .step5-progress-card-icon,
html#itodiUi #step5ProgressiveRoot#step5ProgressiveRoot#step5ProgressiveRoot .front-grid .step5-progress-card-icon{width:25px!important;height:29px!important}
html#itodiUi #step5ProgressiveRoot#step5ProgressiveRoot#step5ProgressiveRoot .opening-grid svg,
html#itodiUi #step5ProgressiveRoot#step5ProgressiveRoot#step5ProgressiveRoot .front-grid svg{width:25px!important;height:29px!important}
html#itodiUi #step5ProgressiveRoot#step5ProgressiveRoot#step5ProgressiveRoot .ib396-count-row,
html#itodiUi #step5ProgressiveRoot#step5ProgressiveRoot#step5ProgressiveRoot .itodi-simple-control{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:10px!important;min-height:44px!important}
html#itodiUi #step5ProgressiveRoot#step5ProgressiveRoot#step5ProgressiveRoot .step5-progress-counter,
html#itodiUi #step5ProgressiveRoot#step5ProgressiveRoot#step5ProgressiveRoot .itodi-simple-counter{display:flex!important;width:126px!important;min-width:126px!important;min-height:34px!important;height:34px!important;border:1px solid #dedee6!important;border-radius:4px!important;padding:0!important;background:white!important;overflow:hidden!important}
html#itodiUi #step5ProgressiveRoot#step5ProgressiveRoot#step5ProgressiveRoot .step5-progress-counter>button,
html#itodiUi #step5ProgressiveRoot#step5ProgressiveRoot#step5ProgressiveRoot .itodi-simple-counter>button{height:32px!important;min-height:32px!important;min-width:40px!important;width:40px!important;padding:0!important;border:0!important;background:transparent!important;color:inherit!important}
html#itodiUi #step5ProgressiveRoot#step5ProgressiveRoot#step5ProgressiveRoot .itodi-simple-counter>input,
html#itodiUi #step5ProgressiveRoot#step5ProgressiveRoot#step5ProgressiveRoot .step5-progress-counter>strong{width:44px!important;min-width:0!important;height:32px!important;min-height:32px!important;padding:0!important;border:0!important;text-align:center!important;font-size:13px!important;background:transparent!important}
html#itodiUi #step5ProgressiveRoot#step5ProgressiveRoot#step5ProgressiveRoot .ib396-equipment{margin:12px 0 4px!important;padding-top:10px!important;font-size:13px!important;font-weight:400!important}
html#itodiUi #step5ProgressiveRoot#step5ProgressiveRoot#step5ProgressiveRoot .itodi-simple-details{gap:0!important;margin-top:12px!important;padding-top:10px!important}
html#itodiUi #step5ProgressiveRoot#step5ProgressiveRoot#step5ProgressiveRoot .iv-interior-card{padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
html#itodiUi #viewerFillingToolbar #bookcaseLightingPanel label{min-height:44px!important;margin:0!important} html#itodiUi #viewerFillingToolbar #bookcaseLightingPanel input:checked{background:#532b38!important}
html#itodiUi #ic382Panel.ib396-cell-front .ib396-cell-row{grid-template-columns:minmax(0,1fr)!important;gap:7px!important;min-height:0!important;margin:12px 0!important;padding:0!important} html#itodiUi #ic382Panel.ib396-cell-front .ib396-cell-row .ic382-choices{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px!important} html#itodiUi #ic382Panel.ib396-cell-front .ib396-cell-row button{padding:5px!important;min-height:44px!important;border-radius:4px!important} html#itodiUi #ic382Panel.ib396-cell-front .ib396-cell-counter,html#itodiUi #ic382Panel.ib396-cell-front .ic382-led{min-height:44px!important} html#itodiUi #ic382Panel.ib396-cell-front .ib396-equipment{margin:12px 0 4px!important;padding-top:10px!important}
html#itodiUi .itodi-drawer-options474{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(54px,1fr));gap:6px;margin:5px 0 10px} html#itodiUi .itodi-drawer-options474 button{min-height:66px!important;padding:5px!important;border:1px solid #dedee6!important;border-radius:4px!important;background:white!important;color:#303034!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;font:inherit;font-size:13px;line-height:1.4} html#itodiUi .itodi-drawer-options474 button[aria-pressed="true"]{border-color:#532b38!important;background:#faf7f8!important;box-shadow:inset 0 0 0 1px #532b38!important} html#itodiUi .itodi-drawer-options474 svg{width:32px;height:36px;fill:none;stroke:currentColor;stroke-width:1.4} html#itodiUi [data-drawer-counter474]{display:none!important}/* Keep native visibility and mobile workspace routing authoritative. */
html#itodiUi #step5ProgressiveRoot#step5ProgressiveRoot#step5ProgressiveRoot [hidden],
html#itodiUi #step5ProgressiveRoot#step5ProgressiveRoot#step5ProgressiveRoot [data-im-hidden]{display:none!important}

/* The desktop editor moves native option groups into the selected type grid. */
@layer itodi-interior-476 {
 html[data-studio423-layout="desktop"][data-visual-group="inside"] {
  & #is424StepNav[hidden] {display:none!important}
  & :is(#ic382Panel,#step5ProgressiveRoot) {
   & .itodi-interior-list426 {padding:0!important;margin:0!important;align-items:start!important}
   & .itodi-interior-choice426 {border-radius:14px!important;padding:0!important;min-width:0!important}
   & .itodi-interior-choice426 > button {box-sizing:border-box!important}
   & .itodi-interior-choice426 :is(.step5-progress-card-icon,.itodi-segment-type-icon) {display:flex!important;width:30px!important;height:30px!important;flex:0 0 30px!important;min-width:0!important;margin:0!important;padding:0!important;background:transparent!important}
   & .itodi-interior-choice426 :is(svg,img) {width:30px!important;height:30px!important;max-width:30px!important;max-height:30px!important}
   & .itodi-interior-list426 > :is(.itodi-interior-expanded426,.itodi-simple-details):not([hidden]):not(:empty) {display:grid!important;grid-column:1/-1!important;grid-template-columns:minmax(0,1fr)!important;gap:8px!important;padding:8px 0 0!important;margin:0!important;align-content:start!important}
   & :is(.ib396-row,.ib396-cell-row,.itodi-simple-detail-group):not(.ib396-count-row) {display:grid!important;grid-template-columns:minmax(0,1fr)!important;min-height:0!important;margin:0!important;padding:0!important;gap:4px!important}
   & :is(.ib396-row,.ib396-cell-row,.itodi-simple-detail-group) :is(.step5-progress-section-head,.ic382-heading,strong) {margin:0!important;padding:0!important;min-height:0!important;line-height:1.3!important}
   & :is(.opening-grid,.front-grid,.ib396-cell-row .ic382-choices,.itodi-simple-pills) {display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-auto-flow:row!important;gap:5px!important;margin:0!important;padding:0!important;min-height:0!important;align-items:start!important}
   & :is(.opening-grid,.front-grid,.ib396-cell-row .ic382-choices,.itodi-simple-pills) > button:not([hidden]) {box-sizing:border-box!important;display:flex!important;flex-direction:row!important;justify-content:center!important;align-items:center!important;width:100%!important;min-width:0!important;height:44px!important;min-height:44px!important;max-height:44px!important;margin:0!important;padding:4px!important;gap:5px!important;border-radius:4px!important}
   & :is(.opening-grid,.front-grid) .step5-progress-card-icon {display:inline-flex!important;width:24px!important;height:26px!important;min-width:0!important;flex:0 0 24px!important;margin:0!important;padding:0!important}
   & :is(.opening-grid,.front-grid,.ib396-cell-row) :is(svg,img) {width:24px!important;height:26px!important;max-width:24px!important;max-height:26px!important}
   & .ib396-equipment {margin:2px 0 0!important;padding:8px 0 0!important;font-size:13px!important;line-height:1.3!important}
   & :is(.ib396-count-row,.ib396-cell-counter,.itodi-simple-control) {min-height:36px!important;margin:0!important;padding:0!important;align-items:center!important}
   & .step5-progress-counter {min-height:34px!important;height:34px!important;box-sizing:border-box!important;padding:0!important}
   & .step5-progress-counter > button {height:32px!important;min-height:32px!important}
   & #bookcaseLightingPanel {margin:0!important;padding:0!important;border:0!important}
   & :is(#bookcaseLightingPanel label,.ic382-led) {height:auto!important;min-height:34px!important;margin:0!important;padding:0!important}
   & :is(#bookcaseLightingPanel,.ic382-led) input {margin:0!important}
   & .itodi-drawer-options474 {width:100%!important;grid-template-columns:repeat(auto-fit,minmax(55px,1fr))!important}
   & .drawer-count-section:has(.itodi-drawer-options474) {grid-template-columns:minmax(0,1fr)!important;gap:4px!important}
   & :is(.drawer-count-section,.ic382-counter,.itodi-simple-control) [data-drawer-counter474] {display:none!important}
  }
 }
}

@layer itodi-interior-476 {
  html[data-studio423-layout="desktop"][data-visual-group="inside"] #step5ProgressiveRoot .itodi-simple-control:has(.itodi-drawer-options474) {
    grid-template-columns:minmax(0,1fr)!important;
    justify-items:stretch!important;
    gap:4px!important;
  }
  .itodi-drawer-options474 button:disabled {opacity:.4!important;cursor:default}
}
