/* MR Vollversion 1.6.3: presentation scoped to the existing full-version shell. */
.shell.mrTheme{background:#f5f5f7;grid-template-columns:205px minmax(0,1fr);font-family:'Segoe UI',Arial,sans-serif}
.shell.mrTheme>aside{padding:20px 12px;overflow-y:auto;overscroll-behavior:contain;z-index:31}
.shell.mrTheme .brand{padding:0 10px 16px}.shell.mrTheme .brand img{max-width:164px;width:100%}
.shell.mrTheme .workspace{font-size:10px;padding-bottom:12px}.shell.mrTheme .navitem{min-height:42px;height:auto;padding:10px 12px!important;font-size:14px!important;border-radius:9px;white-space:normal}
.shell.mrTheme .navitem.active{background:#fce5f0;color:#9f0052;font-weight:650}.shell.mrTheme .asideFoot{padding:16px 8px 0;font-size:12px}.shell.mrTheme .asideFoot p{font-size:11px}
.shell.mrTheme>main{padding:20px 26px;min-width:0;max-width:1700px;margin:0 auto;align-self:start}
.shell.mrTheme>main>header{margin-bottom:10px;gap:14px;flex-wrap:wrap}.shell.mrTheme h1{font-size:26px;margin:3px 0;line-height:1.2}.shell.mrTheme h2{font-size:18px}.shell.mrTheme h3{font-size:16px}
.shell.mrTheme .headerActions{gap:8px;flex-wrap:wrap}.shell.mrTheme .headerActions>small{font-size:11px}.shell.mrTheme .headerActions button{min-height:36px}
.shell.mrTheme .notice{padding:8px 12px;margin:8px 0 12px;font-size:12px;border-radius:0 7px 7px 0}.shell.mrTheme .offlineNotice{font-size:13px}
.shell.mrTheme .toolbar{gap:12px;flex-wrap:wrap;margin:10px 0}.shell.mrTheme .toolbar p{font-size:12px;margin:3px 0}.shell.mrTheme .toolbar .actions{margin:0}
.shell.mrTheme .actions{gap:8px;margin-top:12px}.shell.mrTheme .actions button{min-height:36px}.shell.mrTheme .recordShelves{margin:8px 0;gap:8px}
.shell.mrTheme .formGrid,.shell.mrTheme .filterGrid{gap:10px 16px;grid-template-columns:repeat(auto-fit,minmax(min(230px,100%),1fr))}
.shell.mrTheme .formGrid label,.shell.mrTheme .filterGrid label{margin:7px 0;min-width:0}.shell.mrTheme .formGrid input,.shell.mrTheme .formGrid select{min-width:0;width:100%;font-size:14px!important}
.shell.mrTheme .panel{border-radius:12px;border-color:#e1dfe4;box-shadow:none;padding:18px;margin-bottom:12px}
.shell.mrTheme .panel.mr163-fold,.shell.mrTheme .mr163-fold{padding:0;display:block;border:1px solid #dedce2;border-radius:10px;background:white;margin:0 0 9px;box-shadow:0 1px 2px #25212b04;min-width:0;overflow:visible}
.shell.mrTheme .mr163-container{padding:0;border:0;background:transparent;box-shadow:none}
.shell.mrTheme .mr163-disclosure{margin:0;padding:0;border:0;min-width:0;background:transparent}
.shell.mrTheme .mr163-summary{list-style:none;display:flex;align-items:center;gap:12px;min-height:54px;padding:11px 15px;cursor:pointer;border-radius:10px;touch-action:manipulation;margin:0;user-select:none}
.shell.mrTheme .mr163-summary::-webkit-details-marker{display:none}.shell.mrTheme .mr163-summary::marker{content:''}
.shell.mrTheme .mr163-summary:hover{background:#fcf7fa}.shell.mrTheme .mr163-summary:focus-visible{outline:3px solid #e30074;outline-offset:-3px}
.shell.mrTheme .mr163-chevron{display:block;width:8px;height:8px;border-right:2px solid #94808e;border-bottom:2px solid #94808e;transform:rotate(-45deg);flex:none;margin-right:3px}
.shell.mrTheme .mr163-disclosure[open]>.mr163-summary .mr163-chevron{transform:rotate(45deg);border-color:#e30074}
.shell.mrTheme .mr163-disclosure[open]>.mr163-summary{border-bottom:1px solid #eee7ed;border-radius:10px 10px 0 0;background:#fcf8fb}
.shell.mrTheme .mr163-summary-copy{min-width:0;flex:1;display:flex;align-items:center;gap:18px;flex-wrap:wrap}.shell.mrTheme .mr163-summary-copy strong{font-size:14px;line-height:1.4;font-weight:650;overflow-wrap:anywhere}
.shell.mrTheme .mr163-summary-copy small{font-size:11px;line-height:1.4;color:#6e6670;overflow-wrap:anywhere;font-weight:400;margin:0;max-width:70%}
.shell.mrTheme .mr163-count{font-size:11px;color:#776b73;white-space:nowrap}.shell.mrTheme .mr163-content{padding:16px 18px;min-width:0}
.shell.mrTheme .mr163-content>h2:first-child,.shell.mrTheme .mr163-content>h3:first-child{display:none}
.shell.mrTheme .mr163-content>.toolbar:first-child h2{display:none}.shell.mrTheme .mr163-content p{font-size:13px;line-height:1.5}
.shell.mrTheme .mr163-content label{font-size:13px}.shell.mrTheme .mr163-content .dictationField{margin-top:12px}
.shell.mrTheme .mr163-content .panel.mr163-fold{border-radius:7px;margin-top:8px}.shell.mrTheme .mr163-content .mr163-summary{border-radius:7px}
.shell.mrTheme .mr163-view-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:11px;color:#71646e;margin:6px 0 10px;padding:6px 0;border-bottom:1px solid #e8e3e8}
.shell.mrTheme .mr163-view-tools button{background:white;border:1px solid #d9d3da;border-radius:7px;padding:7px 12px;min-height:36px;color:#524450;cursor:pointer;font-size:12px}
.shell.mrTheme .mr163-view-tools button:hover{border-color:#e30074}
/* Small summary bars, not dashboard cards. All data grids below default to rows. */
.shell.mrTheme .kpis{display:flex;gap:0;margin:10px 0 12px;background:#fff;border:1px solid #e1dfe4;border-radius:10px;overflow:hidden;flex-wrap:wrap}
.shell.mrTheme .kpis>.panel{flex:1;display:flex;align-items:center;justify-content:space-between;gap:8px;border:0;border-right:1px solid #ece8ee;margin:0;padding:10px 14px;border-radius:0;min-width:150px;min-height:46px;font-size:12px;text-align:left}
.shell.mrTheme .kpis strong{display:inline;font-size:20px;margin:0}.shell.mrTheme .kpis p{margin:0;font-size:12px}.shell.mrTheme .kpis .selected{background:#fce5f0;color:#9f0052}
.shell.mrTheme .contactGrid,.shell.mrTheme .studioGrid{display:block;margin-top:10px}.shell.mrTheme .contactGrid>.mr163-fold{margin-bottom:9px}
.shell.mrTheme .projectListControls{margin:10px 0;gap:12px}.shell.mrTheme .projectListControls label{min-width:180px;display:flex;align-items:center;gap:10px;font-size:12px}
.shell.mrTheme .projectListControls select{margin:0;min-height:36px;font-size:13px!important;max-width:225px}.shell.mrTheme .projectListControls .actions{margin:0}
.shell.mrTheme .projectList{border-radius:10px;border-color:#e1dfe4}.shell.mrTheme .projectList th{color:#6f616c;font-size:11px;text-transform:uppercase;letter-spacing:.3px;background:#f9f7fa;white-space:nowrap}
.shell.mrTheme .projectList td,.shell.mrTheme .projectList th{padding:8px 12px;font-size:12px}.shell.mrTheme .projectList .actions{margin:0;gap:4px;flex-wrap:wrap}
.shell.mrTheme .projectList button{min-height:34px;font-size:12px}.shell.mrTheme .projectList .projectNameButton{min-height:34px;font-weight:600}
.shell.mrTheme .projectCockpit{height:auto;max-height:none;min-height:100px;padding:8px 10px;border-radius:10px;gap:8px;top:0}
.shell.mrTheme .cockpitTop{flex-wrap:wrap;overflow:visible}.shell.mrTheme .cockpitIdentity{min-width:130px;max-width:220px}.shell.mrTheme .projectCockpit button{min-height:36px!important;height:auto!important}
.shell.mrTheme .cockpitBottom{overflow:visible;flex-wrap:wrap}.shell.mrTheme .cockpitTabs.projectTabs{height:auto!important;flex-wrap:wrap!important;width:auto;flex:1}
.shell.mrTheme .cockpitTabs.projectTabs button{height:auto!important;min-height:34px!important;padding:6px 9px!important;font-size:12px}.shell.mrTheme .cockpitCounts{display:none}
.shell.mrTheme .projectLifecycleActions{gap:6px;margin-bottom:10px;flex-wrap:wrap}.shell.mrTheme .projectBottom{padding:12px 0}
.shell.mrTheme .mediaGrid,.shell.mrTheme .roomCards,.shell.mrTheme .workList,.shell.mrTheme .salesCards.mr163-list{display:flex;flex-direction:column;gap:0;margin:12px 0;border-radius:8px;overflow:visible}
.shell.mrTheme .mediaGrid>.mr163-fold,.shell.mrTheme .roomCards>.mr163-fold,.shell.mrTheme .salesCards.mr163-list>.mr163-fold{margin:0;border-radius:0;border-width:0 0 1px;box-shadow:none}
.shell.mrTheme .mediaGrid>.mr163-fold:first-child,.shell.mrTheme .roomCards>.mr163-fold:first-child{border-top:1px solid #dedce2}
.shell.mrTheme .mediaGrid .mr163-thumbnail{width:52px;height:40px;object-fit:contain;border-radius:4px;background:#f1eff2;flex:none;margin:0}
.shell.mrTheme .mr163-sortable{position:relative}.shell.mrTheme .mr163-sortable>.mr163-disclosure>.mr163-summary{padding-right:160px}
.shell.mrTheme .mr163-order{position:absolute;top:8px;right:9px;display:flex;align-items:center;gap:5px}
.shell.mrTheme .mr163-order button{width:38px;min-height:38px;background:#faf7fa;border:1px solid #d6cdd6;color:#563b4b;border-radius:6px;font-size:19px;font-weight:600;cursor:pointer}
.shell.mrTheme .mr163-order button:disabled{opacity:.35;cursor:default}.shell.mrTheme .mr163-order label{margin:0}
.shell.mrTheme .mr163-order select{margin:0;width:54px;min-height:38px;height:38px;padding:4px 6px;font-size:13px!important}
.shell.mrTheme .mr163-order-note{font-size:12px;color:#746775;margin:6px 0}
.shell.mrTheme .mr163-content .mediaCard img:not(.mr163-thumbnail),.shell.mrTheme .mr163-content .mediaCard video{max-height:260px;object-fit:contain}
.shell.mrTheme .roomCard>.mr163-disclosure,.shell.mrTheme .mediaCard>.mr163-disclosure{width:100%}
.shell.mrTheme .materialChoices{display:flex;flex-direction:column;gap:0}.shell.mrTheme .materialChoice{width:100%;display:grid;grid-template-columns:24px 56px minmax(0,1fr) auto;gap:10px;padding:10px 12px;border:0;border-bottom:1px solid #ebe5eb;margin:0;align-items:center}
.shell.mrTheme .materialChoice img{width:56px;height:42px;object-fit:contain;margin:0}.shell.mrTheme .materialChoice span{font-size:12px;line-height:1.4}.shell.mrTheme .materialChoice small{font-size:10px;color:#80727d}
.shell.mrTheme .workCard{border:0;border-bottom:1px solid #e3dce3;padding:10px 12px;grid-template-columns:58px minmax(0,1fr) auto;gap:12px}
.shell.mrTheme .workThumb,.shell.mrTheme .workThumb .assetPreview,.shell.mrTheme .workThumb .documentTile{width:58px;height:46px!important}.shell.mrTheme .workInfo h3{font-size:14px}.shell.mrTheme .workInfo p,.shell.mrTheme .workInfo small{font-size:11px}.shell.mrTheme .workCard .rowActions{display:flex;gap:6px;flex-wrap:wrap;max-width:280px}
.shell.mrTheme .contentRow.mr163-fold,.shell.mrTheme .deviceCard.mr163-fold{display:block;margin:0;border-radius:0;border-width:0 0 1px}.shell.mrTheme .contentRow .mr163-content{display:flex;gap:15px;flex-wrap:wrap}
.shell.mrTheme .contentRow .contentMain{flex:1;min-width:190px}.shell.mrTheme .contentPlanThumb{width:58px;height:46px}.shell.mrTheme .contentPlanThumb .assetPreview{height:46px!important}
.shell.mrTheme .flowGrid{display:block;margin:10px 0}.shell.mrTheme .flowGrid>div{padding:12px 0}.shell.mrTheme .connection{padding:12px 14px;gap:14px}.shell.mrTheme .connection h3{font-size:14px}
.shell.mrTheme .deviceOverview>.mr163-content>.actions{margin-bottom:12px}.shell.mrTheme .deviceCard .deviceCardHead{flex-wrap:wrap}.shell.mrTheme .deviceCardHead label{min-width:0;flex:1}
.shell.mrTheme details:not(.mr163-disclosure)>summary{min-height:42px;display:list-item;cursor:pointer;font-size:13px;padding:8px 4px}.shell.mrTheme details:not(.mr163-disclosure){margin:8px 0}
.shell.mrTheme footer{margin-top:24px;padding-top:12px}.mr163-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(min-width:1600px){.shell.mrTheme>main{padding:24px 36px}.shell.mrTheme .mr163-content{padding:18px 22px}}
@media(max-width:1100px){.shell.mrTheme{grid-template-columns:180px minmax(0,1fr)}.shell.mrTheme>main{padding:16px}.shell.mrTheme .brand img{max-width:145px}.shell.mrTheme .navitem{font-size:13px!important}.shell.mrTheme .headerActions{gap:6px}.shell.mrTheme .headerActions>small{flex-basis:100%}.shell.mrTheme .projectList th,.shell.mrTheme .projectList td{padding:8px}.shell.mrTheme .mr163-summary-copy{gap:3px;flex-direction:column;align-items:flex-start}.shell.mrTheme .mr163-summary-copy small{max-width:100%}.shell.mrTheme .projectList .projectRowActions{min-width:160px}.shell.mrTheme .projectList .projectRowActions svg{display:none}}
@media(max-width:850px){.shell.mrTheme{display:block}.shell.mrTheme>aside{height:auto;position:static;border-right:0;border-bottom:1px solid #e1dfe4;padding:10px 14px;display:block}.shell.mrTheme .brand{display:inline-block;padding:0}.shell.mrTheme .brand img{max-width:130px;height:38px;object-fit:contain}.shell.mrTheme>aside>.workspace,.shell.mrTheme>aside>.asideFoot{display:none}.shell.mrTheme>aside nav{display:flex;flex-wrap:wrap;overflow:visible;gap:5px;margin-top:8px}.shell.mrTheme .navitem{width:auto;min-height:44px;padding:10px 12px!important;font-size:13px!important}.shell.mrTheme>main{padding:14px}.shell.mrTheme .projectCockpit{position:static}.shell.mrTheme .projectCockpit input,.shell.mrTheme .projectCockpit select{min-height:38px!important}.shell.mrTheme .projectCockpit button{min-height:44px!important}.shell.mrTheme .cockpitTabs.projectTabs button{min-height:44px!important}.shell.mrTheme .mr163-summary{min-height:56px}.shell.mrTheme .mr163-order{top:8px}.shell.mrTheme .mr163-order button,.shell.mrTheme .mr163-order select{min-height:44px;height:44px}.shell.mrTheme .mr163-order button{width:40px}.shell.mrTheme .actions button,.shell.mrTheme .recordShelves button,.shell.mrTheme .projectList button{min-height:44px}.shell.mrTheme .workCard .rowActions{max-width:190px}.shell.mrTheme .materialChoice small{display:none}}
@media(max-width:600px){.shell.mrTheme>main{padding:10px}.shell.mrTheme h1{font-size:23px}.shell.mrTheme .headerActions{width:100%}.shell.mrTheme .formGrid,.shell.mrTheme .filterGrid,.shell.mrTheme .two{grid-template-columns:minmax(0,1fr)}.shell.mrTheme .mr163-content{padding:12px}.shell.mrTheme .mr163-summary{padding:10px;gap:8px}.shell.mrTheme .mr163-summary-copy strong{font-size:13px}.shell.mrTheme .mr163-sortable>.mr163-disclosure>.mr163-summary{padding-right:10px;min-height:70px}.shell.mrTheme .mr163-sortable>.mr163-order{position:static;padding:0 10px 10px;justify-content:flex-end}.shell.mrTheme .mr163-order{right:6px;gap:4px}.shell.mrTheme .mr163-view-tools{align-items:center;gap:6px}.shell.mrTheme .mr163-view-tools button{font-size:11px;min-height:44px}.shell.mrTheme .kpis>.panel{flex-basis:calc(50% - 1px);min-width:130px;padding:9px;font-size:11px}.shell.mrTheme .kpis strong{font-size:18px}.shell.mrTheme .projectListControls{gap:8px}.shell.mrTheme .projectListControls small{display:none}.shell.mrTheme .projectList table{min-width:550px}.shell.mrTheme .materialChoice{grid-template-columns:24px 42px minmax(0,1fr)}.shell.mrTheme .materialChoice img{width:42px;height:36px}.shell.mrTheme .workCard{grid-template-columns:42px minmax(0,1fr)}.shell.mrTheme .workCard .rowActions{grid-column:1/-1;max-width:none}.shell.mrTheme .workThumb{max-width:42px}.shell.mrTheme .roomSelection{grid-template-columns:minmax(0,1fr) auto}.shell.mrTheme .connection{flex-wrap:wrap}.shell.mrTheme .mediaGrid .mr163-thumbnail{width:42px;height:36px}}
@media print{.shell.mrTheme .mr163-order,.shell.mrTheme .mr163-view-tools{display:none!important}.shell.mrTheme .mr163-fold{break-inside:avoid}}

/* Compact nested media controls and saved-state line. */
.shell.mrTheme .projectListControls>label{white-space:nowrap;width:auto;flex:none}
.shell.mrTheme .imageCollectionSummary.mr163-fold{margin:8px 0}
.shell.mrTheme .imageCollectionSummary .mr163-content{padding:12px 16px}
.shell.mrTheme .localDraftStatus{padding:10px 12px;margin:10px 0;min-height:44px;border-radius:8px}
.shell.mrTheme .localDraftStatus .actions{margin:0}
.shell.mrTheme .upload{padding:12px 14px;min-height:0;margin:8px 0}
.shell.mrTheme .projectListControls>label{flex-direction:row;align-items:center;gap:8px}

/* MR material frame 4:3; display only, original assets retained. */
.materialChoice img,.decorSelected img{width:112px;height:84px;object-fit:contain;object-position:50% 50%;}
.decorCodePicker .materialChoice img,.decorSelected img{object-fit:cover;}
.panel:has(.materialGroup) img[style*="width: 120px"]{width:112px!important;height:84px!important;object-fit:contain!important;}
