/* R11.5.6 | Tab-free compact section-based drawers (Blue + White).
   Scoped to .r1155-active. Daily Work drawer and Work Form are not affected. */
body.r107-ui #drawer.r1156-active{
 --r1155-bg:#f6f9fd;--r1155-panel:#fff;--r1155-alt:#f0f5fa;
 --r1155-text:#0b2949;--r1155-muted:#526d87;--r1155-line:rgba(36,81,123,.13);
 --r1155-accent:#087be9;--r1155-accent-soft:rgba(6,117,236,.09);
 --r1155-shadow:0 3px 14px rgba(18,48,84,.035);
}
body.r107-ui[data-theme="dark"] #drawer.r1156-active,
body.r107-ui[data-theme="hybrid"] #drawer.r1156-active,
body.r107-ui[data-theme="slate"] #drawer.r1156-active{
 --r1155-bg:#031726;--r1155-panel:#08243a;--r1155-alt:#0c2c44;
 --r1155-text:#f0f9ff;--r1155-muted:#b0c7d8;--r1155-line:rgba(104,177,214,.14);
 --r1155-accent:#28c9ec;--r1155-accent-soft:rgba(28,193,231,.11);
 --r1155-shadow:0 3px 14px rgba(0,8,22,.1);
}
body.r107-ui[data-theme="slate"] #drawer.r1156-active{--r1155-panel:#102e39;--r1155-alt:#173a46;--r1155-bg:#0a2530;--r1155-line:rgba(138,196,197,.15)}
body.r107-ui #drawer.r1156-active .drawerpanel{width:min(900px,79vw)!important;max-width:100vw!important;background:var(--r1155-bg)!important;border-left:1px solid var(--r1155-line)!important;box-shadow:-16px 0 50px rgba(0,0,0,.16)!important}
body.r107-ui #drawer.r1156-active .drawerhead{background:var(--r1155-panel)!important;border-color:var(--r1155-line)!important;color:var(--r1155-text)!important;min-height:58px!important;padding:8px 13px!important}
body.r107-ui #drawer.r1156-active .drawerhead b{color:var(--r1155-text)!important;font-size:15px!important;font-weight:850!important}
body.r107-ui #drawer.r1156-active .drawerhead small{color:var(--r1155-muted)!important}
body.r107-ui #drawer.r1156-active .drawerhead .btn{border:1px solid var(--r1155-line)!important;background:var(--r1155-alt)!important;color:var(--r1155-text)!important;box-shadow:none!important;min-height:33px!important}
body.r107-ui #drawer.r1156-active .drawerbody{background:var(--r1155-bg)!important;color:var(--r1155-text)!important;padding:11px 13px 18px!important;overflow-x:hidden!important}
#drawer.r1156-active .r1155-shell{display:flex;flex-direction:column;gap:10px;min-width:0;max-width:100%;color:var(--r1155-text)}
#drawer.r1156-active .r1155-top{display:flex;flex-direction:column;gap:7px}
#drawer.r1156-active .r1155-top:empty{display:none}
#drawer.r1156-active .r1155-panes,#drawer.r1156-active .r1155-pane{width:100%;min-width:0}
#drawer.r1156-active .r1155-pane{display:flex;flex-direction:column;gap:9px;animation:r1155-appear .16s ease-out}
@keyframes r1155-appear{from{opacity:.65;transform:translateY(3px)}to{opacity:1;transform:none}}
#drawer.r1156-active .r1155-card,
#drawer.r1156-active .r1155-pane > :is(.r5-drawer-section,.r79-bearing-top,.r79-tech-grid,.detail-hero,.r79-bearing-hero),
#drawer.r1156-active .r1155-pane .r5-drawer-section,
#drawer.r1156-active .r1155-pane .r79-media-card,
#drawer.r1156-active .r1155-pane .r79-spec-card{
 border:1px solid var(--r1155-line)!important;background:var(--r1155-panel)!important;border-radius:10px!important;box-shadow:var(--r1155-shadow)!important;margin:0!important;min-width:0;color:var(--r1155-text)!important;
}
#drawer.r1156-active .r1155-card{padding:10px!important}
#drawer.r1156-active .r1155-section-title,
#drawer.r1156-active .r1155-pane :is(.r5-drawer-section>h3,.r79-section-head h3),
#drawer.r1156-active .r1155-pane .r1155-card>h3{color:var(--r1155-accent)!important;font-size:12px!important;font-weight:850!important;letter-spacing:.015em!important;line-height:1.3!important;margin:0 0 8px!important;text-transform:none!important}
#drawer.r1156-active .r1155-card:not(:has(.r1155-record-grid)) .r1155-section-title{border-bottom:1px solid var(--r1155-line);padding-bottom:7px}
#drawer.r1156-active .r1155-pane .r5-drawer-section{padding:10px!important}
#drawer.r1156-active .r1155-pane .r79-bearing-hero,
#drawer.r1156-active .r1155-pane .detail-hero{padding:9px 12px!important;align-items:center!important;gap:8px!important;min-height:50px!important}
#drawer.r1156-active .r1155-pane .r79-bearing-hero h2,
#drawer.r1156-active .r1155-pane .detail-hero h2{font-size:17px!important;line-height:1.15!important;margin:0 0 3px!important;color:var(--r1155-text)!important}
#drawer.r1156-active .r1155-pane .r79-bearing-hero p,
#drawer.r1156-active .r1155-pane .detail-hero p{font-size:11px!important;line-height:1.35!important;margin:0!important;color:var(--r1155-muted)!important}
#drawer.r1156-active .r1155-pane .r79-eyebrow{display:none!important}
#drawer.r1156-active .r1155-pane .verified-badge{font-size:10px!important;padding:4px 8px!important;flex-shrink:0}
#drawer.r1156-active .r1155-top :is(.r5-kpis,.parity-metrics){display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:7px!important;margin:0!important}
#drawer.r1156-active .r1155-top .r5-kpis[style]{grid-template-columns:repeat(5,minmax(0,1fr))!important}
#drawer.r1156-active .r1155-top :is(.r5-kpi,.parity-metric,.parity-kpi){background:var(--r1155-panel)!important;color:var(--r1155-text)!important;border:1px solid var(--r1155-line)!important;box-shadow:none!important;border-radius:9px!important;min-height:58px!important;padding:8px 9px!important;margin:0!important}
#drawer.r1156-active .r1155-top :is(.r5-kpi,.parity-metric,.parity-kpi)::before,
#drawer.r1156-active .r1155-top :is(.r5-kpi,.parity-metric,.parity-kpi)::after{opacity:.13!important}
#drawer.r1156-active .r1155-top :is(.r5-kpi,.parity-metric,.parity-kpi) :is(b,strong,.num){font-size:19px!important;font-weight:850!important;line-height:1.2!important;color:var(--r1155-text)!important}
#drawer.r1156-active .r1155-top :is(.r5-kpi,.parity-metric,.parity-kpi) :is(small,span){font-size:10px!important;line-height:1.3!important;color:var(--r1155-muted)!important}
#drawer.r1156-active .r1155-actions{margin:0!important;padding:2px 0!important;gap:6px!important;display:flex;flex-wrap:wrap}
#drawer.r1156-active .r1155-actions :is(.btn,button){font-size:11px!important;min-height:31px!important;padding:6px 10px!important;box-shadow:none!important}
#drawer.r1156-active .r1155-two-col{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:8px!important;margin:0!important}
#drawer.r1156-active .r1155-two-col > *{min-width:0;padding:10px!important}
#drawer.r1156-active .r79-catalog-grid{display:flex!important;flex-wrap:wrap;gap:6px!important;min-width:0}
#drawer.r1156-active .r79-catalog-grid .r79-catalog-image{min-width:0!important;flex:1 1 160px!important;min-height:165px!important;max-height:230px!important;padding:4px!important}
#drawer.r1156-active .r79-catalog-grid .r79-catalog-image img{max-height:205px!important;object-fit:contain!important}
#drawer.r1156-active .r79-dim-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important}
#drawer.r1156-active .r79-dim-grid>div{background:var(--r1155-alt)!important;border:1px solid var(--r1155-line)!important;padding:7px!important}
#drawer.r1156-active .r79-dim-grid :is(b,strong){font-size:15px!important;color:var(--r1155-text)!important}
#drawer.r1156-active .r79-catalog-copy{display:grid!important;gap:5px!important;margin-top:8px!important}
#drawer.r1156-active .r79-catalog-copy :is(small,span){color:var(--r1155-muted)!important;font-size:11px!important}
#drawer.r1156-active .r79-catalog-copy b{color:var(--r1155-text)!important}
#drawer.r1156-active .r79-ref-actions{gap:5px!important;margin-top:8px!important}
#drawer.r1156-active .r79-ref-actions a{font-size:11px!important;box-shadow:none!important}
#drawer.r1156-active .r1155-pane :is(.r79-tech-grid,.r5-detail-grid){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:0 10px!important}
#drawer.r1156-active .r1155-pane .r79-tech-grid>*{grid-column:auto!important;min-width:0!important;border-bottom:1px solid var(--r1155-line)!important;min-height:40px!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;padding:7px!important}
#drawer.r1156-active .r1155-pane .r5-detail{display:grid!important;grid-template-columns:minmax(90px,.42fr) minmax(0,1fr);align-items:center;gap:7px;min-width:0!important;min-height:38px!important;border:0!important;border-bottom:1px solid var(--r1155-line)!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;padding:6px 5px!important}
#drawer.r1156-active .r1155-pane :is(.r5-detail,.r79-tech-grid>*,.r1155-record-field) small{font-size:10px!important;text-transform:none!important;color:var(--r1155-muted)!important;letter-spacing:0!important}
#drawer.r1156-active .r1155-pane .r5-detail b{font-size:11.8px!important;color:var(--r1155-text)!important;line-height:1.38!important;overflow-wrap:anywhere}
#drawer.r1156-active .r1155-overview-split,
#drawer.r1156-active .r1155-asset-overview,
#drawer.r1156-active .r1155-spare-overview{display:grid;grid-template-columns:minmax(0,.72fr) minmax(0,1.28fr);gap:9px;align-items:stretch}
#drawer.r1156-active .r1155-asset-overview>*,#drawer.r1156-active .r1155-spare-overview>*{min-width:0}
#drawer.r1156-active .r1155-asset-overview>.r1155-card,#drawer.r1156-active .r1155-spare-overview>.r1155-card{margin:0!important}
#drawer.r1156-active .r1155-preview{display:block;width:100%;min-height:160px;max-height:220px;overflow:hidden;border:1px solid var(--r1155-line)!important;border-radius:8px;background:var(--r1155-alt)!important;padding:4px;cursor:pointer}
#drawer.r1156-active .r1155-preview img{display:block;width:100%;height:190px;max-height:190px;object-fit:contain}
#drawer.r1156-active .r1155-preview:hover{outline:1px solid var(--r1155-accent)}
#drawer.r1156-active .r1155-glance{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 8px}
#drawer.r1156-active .r1155-glance .r5-detail{min-height:42px!important}
#drawer.r1156-active .r1155-procurement-kpis{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:7px!important;margin:0!important}
#drawer.r1156-active .r1155-procurement-kpis>.r5-kpi{min-height:58px!important;background:var(--r1155-alt)!important;border-color:var(--r1155-line)!important;box-shadow:none!important}
#drawer.r1156-active .r1155-procurement-kpis .r5-kpi b{color:var(--r1155-text)!important}
#drawer.r1156-active .r1155-doc-links{display:flex;gap:8px;flex-wrap:wrap}
#drawer.r1156-active .r1155-doc-links>.btn{border:1px solid var(--r1155-line)!important;box-shadow:none!important;padding:8px 12px!important}
#drawer.r1156-active .r1155-note{font-size:11px!important;color:var(--r1155-muted)!important;line-height:1.5;margin:7px 0 0!important}
#drawer.r1156-active .r1155-empty{padding:24px 14px;text-align:center;color:var(--r1155-muted);font-size:12px;border:1px dashed var(--r1155-line);border-radius:9px;background:var(--r1155-panel)}
#drawer.r1156-active .r1155-pane .tablewrap,#drawer.r1156-active .r1155-pane .r5-tablewrap{width:100%;max-height:380px!important;overflow:auto;max-width:100%;border:1px solid var(--r1155-line)!important;border-radius:8px!important;scrollbar-width:thin}
#drawer.r1156-active .r1155-pane :is(.table,.r5-table){width:100%;font-size:11px!important;border-collapse:collapse;min-width:540px!important;background:transparent!important}
#drawer.r1156-active .r1155-pane :is(.table,.r5-table) thead th{position:sticky;top:0;z-index:1;font-size:10px!important;color:var(--r1155-muted)!important;background:var(--r1155-alt)!important;border-bottom:1px solid var(--r1155-line)!important;padding:7px 8px!important;white-space:nowrap}
#drawer.r1156-active .r1155-pane :is(.table,.r5-table) tbody td{color:var(--r1155-text)!important;border-bottom:1px solid var(--r1155-line)!important;padding:6px 8px!important;font-size:11px!important;line-height:1.35!important;background:transparent!important;overflow-wrap:anywhere}
#drawer.r1156-active .r1155-pane :is(.table,.r5-table) tbody tr:nth-child(even) td{background:var(--r1155-accent-soft)!important}
#drawer.r1156-active .r1155-pane :is(.table,.r5-table) tbody tr:hover td{background:var(--r1155-alt)!important}
#drawer.r1156-active .r1155-pane :is(.table,.r5-table) :is(td,th):first-child{text-align:left}
#drawer.r1156-active .r1155-record-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px}
#drawer.r1156-active .r1155-record-field{display:grid;grid-template-columns:minmax(100px,.45fr) minmax(0,1fr);gap:8px;min-height:36px;padding:6px 4px;border-bottom:1px solid var(--r1155-line);align-items:start}
#drawer.r1156-active .r1155-record-field span{font-size:11px;color:var(--r1155-muted)}
#drawer.r1156-active .r1155-record-field strong{font-size:12px;color:var(--r1155-text);overflow-wrap:anywhere}
#drawer.r1156-active .r1155-pane .r5-image-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important}
#drawer.r1156-active .r1155-pane .r5-image{min-height:126px!important;overflow:hidden;border:1px solid var(--r1155-line)!important;background:var(--r1155-alt)!important}
#drawer.r1156-active .r1155-pane .r5-image img{height:170px!important;object-fit:contain}
#drawer.r1156-active .r1155-pane :is(a.link,.record-link){color:var(--r1155-accent)!important}
#drawer.r1156-active .r1155-pane :is(.r79-media-card,.r79-spec-card) .btn{color:var(--r1155-text)}
@media(max-width:950px){
 body.r107-ui #drawer.r1156-active .drawerpanel{width:min(820px,94vw)!important}
 #drawer.r1156-active .r1155-top .r5-kpis[style]{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:650px){
 body.r107-ui #drawer.r1156-active .drawerpanel{width:100vw!important;max-width:100vw!important;box-sizing:border-box!important}
 body.r107-ui #drawer.r1156-active .drawerbody{padding:8px!important}
 #drawer.r1156-active .r1155-two-col,#drawer.r1156-active .r1155-asset-overview,#drawer.r1156-active .r1155-spare-overview{grid-template-columns:1fr!important}
 #drawer.r1156-active .r1155-preview{max-height:175px;min-height:120px}
 #drawer.r1156-active .r1155-preview img{height:158px}
 #drawer.r1156-active .r1155-pane :is(.r5-detail-grid,.r79-tech-grid),#drawer.r1156-active .r1155-record-grid{grid-template-columns:1fr!important}
 #drawer.r1156-active .r1155-top :is(.r5-kpis,.parity-metrics),#drawer.r1156-active .r1155-top .r5-kpis[style]{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 #drawer.r1156-active .r1155-pane .r5-image-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 #drawer.r1156-active .r1155-pane :is(.table,.r5-table){min-width:500px!important}
}
@media(prefers-reduced-motion:reduce){#drawer.r1156-active .r1155-pane{animation:none!important}}

/* Shared compact shell for existing Add/Edit/Transaction forms — no field or submit logic changes. */
body.r107-ui #drawer.r1155-form-active .drawerpanel{width:min(820px,78vw)!important}
body.r107-ui #drawer.r1155-form-active .drawerbody{padding:12px!important}
body.r107-ui #drawer.r1155-form-active :is(.r5-form,.r4-formgrid){gap:9px!important}
body.r107-ui #drawer.r1155-form-active :is(.r5-form,.r4-formgrid) :is(input,select,textarea){min-height:35px!important;border-radius:8px!important}
body.r107-ui[data-theme="dark"] #drawer.r1155-form-active .drawerbody{background:#031726!important}
body.r107-ui[data-theme="light"] #drawer.r1155-form-active .drawerbody{background:#f6f9fd!important}
@media(max-width:650px){body.r107-ui #drawer.r1155-form-active .drawerpanel{width:100vw!important}}

/* === R11.5.6 TAB-FREE LAYOUT OVERRIDES === */
body.r107-ui #drawer.r1156-active .drawerpanel{width:min(890px,88vw)!important}
#drawer.r1156-active .r1156-shell{display:flex;flex-direction:column;gap:9px}
#drawer.r1156-active .r1156-actions-top:empty{display:none}
#drawer.r1156-active .r1156-sections{display:flex;flex-direction:column;gap:9px}
#drawer.r1156-active .r1156-group{display:flex!important;flex-direction:column;gap:8px;min-width:0;margin:0!important;padding:0!important;animation:none!important}
#drawer.r1156-active .r1156-group:empty{display:none!important}
#drawer.r1156-active .r1156-group .r1155-card{padding:10px!important}
#drawer.r1156-active .r1156-group-overview{gap:8px!important}
#drawer.r1156-active .r1156-group-overview > .detail-hero,
#drawer.r1156-active .r1156-group-overview > .r79-bearing-hero{padding:7px 10px!important;min-height:40px!important}
#drawer.r1156-active .r1156-group-overview > .detail-hero h2,
#drawer.r1156-active .r1156-group-overview > .r79-bearing-hero h2{font-size:15px!important}
#drawer.r1156-active .r1155-asset-overview,
#drawer.r1156-active .r1155-spare-overview{grid-template-columns:minmax(190px,.72fr) minmax(0,1.28fr)!important;gap:8px!important}
#drawer.r1156-active .r1155-asset-overview>.r5-drawer-section,
#drawer.r1156-active .r1155-spare-overview>.r5-drawer-section{padding:9px!important}
#drawer.r1156-active .r1156-group-overview .r1155-preview{min-height:110px;max-height:225px;padding:3px!important}
#drawer.r1156-active .r1156-group-overview .r1155-preview img{height:190px!important;object-fit:contain!important}
#drawer.r1156-active .r1156-group-overview .r79-bearing-top{display:grid!important;grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr)!important;gap:8px!important}
#drawer.r1156-active .r1156-group-overview .r79-bearing-top>section{padding:9px!important}
#drawer.r1156-active .r1156-metrics,
#drawer.r1156-active .r1156-group-overview .r5-kpis,
#drawer.r1156-active .r1156-group-overview .parity-metrics{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important;margin:0!important}
#drawer.r1156-active .r1156-group-overview .r5-kpis[style]{grid-template-columns:repeat(5,minmax(0,1fr))!important}
#drawer.r1156-active .r1156-metrics>:is(.r5-kpi,.parity-metric,.parity-kpi),
#drawer.r1156-active .r1156-group-overview .r5-kpi{min-width:0!important;min-height:57px!important;margin:0!important;padding:7px!important;border-radius:8px!important;background:var(--r1155-panel)!important;border:1px solid var(--r1155-line)!important;box-shadow:none!important}
#drawer.r1156-active .r1156-metrics>:is(.r5-kpi,.parity-metric,.parity-kpi) :is(b,strong,.num),
#drawer.r1156-active .r1156-group-overview .r5-kpi :is(b,strong,.num){font-size:18px!important;font-weight:850!important;color:var(--r1155-text)!important}
#drawer.r1156-active .r1156-metrics>:is(.r5-kpi,.parity-metric,.parity-kpi) :is(small,span),
#drawer.r1156-active .r1156-group-overview .r5-kpi :is(small,span){font-size:10px!important;color:var(--r1155-muted)!important}
#drawer.r1156-active .r1156-stock-fields .r79-tech-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:5px!important}
#drawer.r1156-active .r1156-stock-fields .r79-tech-grid>*{min-width:0!important;padding:6px!important;min-height:48px!important;border:1px solid var(--r1155-line)!important;border-radius:7px!important;background:var(--r1155-alt)!important}
#drawer.r1156-active .r1156-stock-fields .r79-tech-grid>*>:is(strong,b){font-size:13px!important}
#drawer.r1156-active .r1156-group :is(.r5-drawer-section h3,.r1155-section-title,.r79-section-head h3){color:var(--r1155-accent)!important;font-size:12px!important;margin:0 0 7px!important}
#drawer.r1156-active .r1156-group .r5-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:0 9px!important}
#drawer.r1156-active .r1156-group .r5-detail{min-height:34px!important;padding:5px 4px!important}
#drawer.r1156-active .r1156-group .r5-detail small{font-size:10px!important}
#drawer.r1156-active .r1156-group .r5-detail b{font-size:11.5px!important}
#drawer.r1156-active .r1156-group :is(.tablewrap,.r5-tablewrap){max-height:260px!important;overflow:auto!important}
#drawer.r1156-active .r1156-group :is(.table,.r5-table){width:100%;min-width:520px!important}
#drawer.r1156-active .r1156-group :is(.table,.r5-table) :is(th,td){padding:5px 7px!important;font-size:10.7px!important}
#drawer.r1156-active .r1156-group :is(.r5-drawer-section,.r1155-card){border-color:var(--r1155-line)!important}
#drawer.r1156-active .r1156-group .r5-image-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}
#drawer.r1156-active .r1156-group .r5-image{min-height:96px!important}
#drawer.r1156-active .r1156-group .r5-image img{height:116px!important;object-fit:contain!important}
#drawer.r1156-active .r1156-actions-top .r5-actions{padding:0!important;display:flex!important;flex-wrap:wrap!important;gap:6px!important}
#drawer.r1156-active :is(button,a.btn):focus-visible{outline:2px solid var(--r1155-accent)!important;outline-offset:2px!important}
#drawer.r1156-active .r1156-group .r1155-preview:hover{outline:1px solid var(--r1155-accent)!important}
/* White uses soft grey rules; Blue uses near-transparent edges, not neon outlines. */
body.r107-ui[data-theme="light"] #drawer.r1156-active{--r1155-line:rgba(44,97,146,.11);--r1155-shadow:0 2px 9px rgba(21,53,91,.03)}
body.r107-ui[data-theme="dark"] #drawer.r1156-active{--r1155-line:rgba(127,174,200,.12);--r1155-shadow:0 2px 10px rgba(0,7,22,.08)}
@media(max-width:850px){
 body.r107-ui #drawer.r1156-active .drawerpanel{width:min(820px,95vw)!important}
 #drawer.r1156-active .r1156-stock-fields .r79-tech-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:650px){
 body.r107-ui #drawer.r1156-active .drawerpanel{width:100vw!important;max-width:100vw!important;box-sizing:border-box!important}
 #drawer.r1156-active .r1155-asset-overview,
 #drawer.r1156-active .r1155-spare-overview,
 #drawer.r1156-active .r1156-group-overview .r79-bearing-top{grid-template-columns:1fr!important}
 #drawer.r1156-active .r1156-group-overview .r5-kpis[style]{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 #drawer.r1156-active .r1156-metrics,
 #drawer.r1156-active .r1156-group-overview .parity-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 #drawer.r1156-active .r1156-stock-fields .r79-tech-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 #drawer.r1156-active .r1156-group .r5-detail-grid{grid-template-columns:1fr!important}
 #drawer.r1156-active .r1156-group .r5-image-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 #drawer.r1156-active .r1156-group-overview .r1155-preview img{height:160px!important}
}
@media(prefers-reduced-motion:reduce){#drawer.r1156-active *{scroll-behavior:auto!important;animation:none!important}}

/* Read-only drawers from other modules: consistent compact cards, no JS reparenting. */
body.r107-ui #drawer.r1156-simple-active .drawerpanel{width:min(850px,85vw)!important}
body.r107-ui #drawer.r1156-simple-active .drawerbody{padding:11px!important}
body.r107-ui[data-theme="dark"] #drawer.r1156-simple-active .r5-drawer-section,
body.r107-ui[data-theme="dark"] #drawer.r1156-simple-active .detailgrid{border-color:rgba(127,174,200,.12)!important;box-shadow:none!important}
body.r107-ui[data-theme="light"] #drawer.r1156-simple-active .r5-drawer-section,
body.r107-ui[data-theme="light"] #drawer.r1156-simple-active .detailgrid{border-color:rgba(44,97,146,.11)!important;box-shadow:none!important}
#drawer.r1156-simple-active :is(.r5-drawer-section,.detailgrid,.detail-hero){margin-block:7px!important}
#drawer.r1156-simple-active .r5-detail{min-height:36px!important;padding:6px!important}
@media(max-width:650px){body.r107-ui #drawer.r1156-simple-active .drawerpanel{width:100vw!important}}
