:root{--font:NotoSansJP,'Hiragino Kaku Gothic ProN','Yu Gothic',sans-serif!important;--acc:#373735!important;--accink:#fff!important;--ink:#373735!important;--sub:#373735!important;--bg:#fff!important;--card:#fff!important;--fill:#fff!important;--line:#373735!important;--hi:#373735!important;--hiink:#fff!important;--head:#fff!important;--headink:#373735!important;--muji-wine:#373735;--muji-white:#fff;--muji-ivory:#fff}
html body,html body *,html body button,html body input,html body select,html body textarea,html body svg text{font-family:NotoSansJP,'Hiragino Kaku Gothic ProN','Yu Gothic',sans-serif!important}
#dp-header button,#dp-header button svg{color:#373735!important;stroke:currentColor}
#design-root #dp-build-controls [aria-pressed=true],#design-root #muji-selection-actions #dp-move,#muji-edit-done,#muji-move-done,#dp-add,#vim-room-sketch #sketch-apply,#vim-room-sketch #sketch-next{background:#373735!important;color:#fff!important;border-color:#373735!important}
#design-root #dp-build-controls [aria-pressed=false],#muji-selection-actions #dp-move[aria-pressed=true]{background:#fff!important;color:#373735!important}
body,#design-root,#dp-header,#vim-room-sketch,#vim-start,.muji-edit-sheet{background-color:#fff!important;color:#373735!important}
#muji-edit-dialog{background:#37373544}#sketch-diagram [data-wall] text{fill:#373735!important}#sketch-diagram [data-active=true] text{fill:#fff!important}
::selection{color:#fff;background:#373735}*{scrollbar-color:#373735 #fff}
#toast{pointer-events:none!important}#toast button{pointer-events:auto!important}

/* Neutral catalogue scrim, no inherited burgundy tint. */
#dlg{background:rgba(55,55,53,.18)!important}
#design-root #dp-selection #muji-selection-actions{grid-template-columns:repeat(4,minmax(0,1fr))!important}
#design-root #dp-selection{max-height:60dvh!important}
#design-root #dp-selection #muji-move-panel{max-height:38dvh!important}
#muji-fine-move summary{display:none!important}
#muji-fine-move .muji-nudge{display:grid;grid-template-columns:repeat(3,52px);grid-template-rows:52px 52px;gap:5px;justify-content:center;margin:8px auto}
#muji-fine-move [data-nudge]{min-height:52px;font-size:26px;border:1px solid #373735;border-radius:12px;background:white;color:#373735;touch-action:manipulation}
#muji-fine-move [data-nudge="0,-1"]{grid-area:1/2}
#muji-fine-move [data-nudge="-1,0"]{grid-area:2/1}
#muji-fine-move [data-nudge="0,1"]{grid-area:2/2}
#muji-fine-move [data-nudge="1,0"]{grid-area:2/3}
#muji-move-status{font-size:11px;line-height:1.5;margin:6px 0}
#muji-rotate-panel{padding-top:12px;margin-top:10px;border-top:1px solid #37373533}
#muji-rotate-panel[hidden]{display:none!important}
.muji-rotation-buttons{display:flex;align-items:center;gap:8px;justify-content:space-between}
#muji-rotate-panel button{min-height:48px;border:1px solid #373735;border-radius:12px;background:white;color:#373735;padding:8px 12px;font-size:13px}
#muji-rotate-panel label{display:flex;gap:12px;align-items:center;font-size:12px;margin:12px 0}
#muji-angle-range{width:100%;min-width:0;accent-color:#373735;min-height:32px;touch-action:pan-y}
#muji-rotate-done{width:100%;background:#373735!important;color:white!important}
#design-root #dp-selection #muji-rotate-panel{display:block!important}
#design-root #dp-selection #muji-rotate-panel[hidden]{display:none!important}
#design-root #dp-selection{display:flex!important;flex-direction:column;overflow:auto!important}
#design-root #dp-selection[hidden]{display:none!important}
#dp-selection .dp-selected-heading{order:0}
#design-root #dp-selection #muji-selection-actions{order:1;flex-shrink:0}
#design-root #dp-selection #muji-move-panel,#design-root #dp-selection #muji-rotate-panel{order:2;flex-shrink:0}

html body,html body *,html body button,html body input,html body select,html body textarea,html body svg text{font-family:NotoSansJP!important}
:root{--font:NotoSansJP!important}
.dp-wordmark{width:auto!important;font-family:NotoSansJP!important;font-size:13px!important;line-height:1.4;letter-spacing:0!important}
.muji-app-name{font:400 20px NotoSansJP;margin-bottom:24px}
#design-root #ux-handles{display:none!important}
#design-root #ux-handles[hidden],body.vim-walking #design-root #ux-handles{display:none!important}
#design-root #ux-handles button{font:400 12px NotoSansJP!important;background:white;color:#373735;border:1px solid #373735;min-height:46px;padding:8px 12px;border-radius:24px;touch-action:none}
#design-root #ux-handles #dp-height-handle{display:none!important}

#design-root #dp-selection #muji-selection-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important}
#muji-selection-actions #dp-duplicate{display:block!important;background:#373735;color:white}
#muji-selection-actions #dp-remove{display:block!important}
#muji-object-config{border:1px solid #37373533;padding:12px;border-radius:12px;margin-bottom:16px;font-size:13px}
#muji-object-config[hidden],#muji-object-config [hidden]{display:none!important}
#muji-object-config label{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:10px 0}
#muji-object-config input,#muji-object-config select{font:inherit;min-height:44px;width:110px;border:1px solid #373735;border-radius:8px;padding:6px;background:white;color:#373735}
#muji-object-config small{font-size:11px;line-height:1.7}
#design-root #muji-selection-actions #dp-edit-toggle{display:block!important}
#dp-colors .dp-part-controls{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}
#dp-colors .dp-part-controls label{min-width:0}
#dp-colors .dp-part-controls select{width:100%;min-width:0;max-width:100%;min-height:44px}
#dp-part-reset{grid-column:1/-1;min-height:40px;white-space:nowrap}
#muji-unit-config{margin-bottom:16px;border:1px solid #37373544;border-radius:12px;padding:12px;font-size:12px}#muji-unit-config[hidden]{display:none!important}#muji-unit-config p{font-size:11px;line-height:1.7}#muji-unit-bays{padding-left:20px}#muji-unit-bays li{padding:6px 0}#muji-unit-bays li>span{margin-right:12px}#muji-unit-config button{min-height:40px;padding:8px 12px;background:white;color:#373735;border:1px solid #373735;border-radius:10px;font:inherit}#muji-unit-config label{display:block;margin:12px 0}#muji-unit-choice{display:block;width:100%;min-height:44px;margin-top:6px;font:inherit;background:white;color:#373735}#muji-unit-add{width:100%;background:#373735!important;color:white!important}
#muji-any-color{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:12px;font-size:13px}#muji-color-hex{min-height:44px;border:1px solid #373735;border-radius:8px;padding:8px;width:130px;background:white;color:#373735}#muji-opening-colors{grid-column:1/-1;display:flex;gap:12px}#muji-opening-colors input[type=color]{height:44px;min-width:70px}#muji-door-color-label[hidden]{display:none!important}#muji-opening-actions{position:absolute;bottom:calc(var(--nav) + 10px);left:16px;right:16px;z-index:24;background:white;color:#373735;border:1px solid #37373555;border-radius:16px;padding:12px;display:flex;flex-wrap:wrap;align-items:center;gap:8px}#muji-opening-actions[hidden]{display:none!important}#muji-opening-actions b{font-size:12px;margin-right:auto}#muji-opening-actions button{min-height:44px;border:1px solid #373735;border-radius:10px;background:white;color:#373735;padding:8px 12px;font:inherit;font-size:12px}#muji-opening-actions small{width:100%;font-size:11px}@media(min-width:900px){#muji-opening-actions{max-width:500px;margin:auto}}
#muji-room-units[hidden],#muji-room-units [hidden]{display:none!important}#muji-room-units{position:fixed;inset:0;z-index:9998;background:white;color:#373735;overflow:auto;padding:20px max(20px,calc((100vw - 820px)/2));font:inherit}#muji-room-units header{display:flex;justify-content:space-between;align-items:center}#muji-room-units h2{font-size:20px;font-weight:400}#muji-room-units button,#muji-room-units input,#muji-room-units select,#muji-units-open{font:inherit;color:#373735;background:white;border:1px solid #373735;border-radius:10px;padding:10px;min-height:44px}#muji-room-units p,#muji-room-units small{font-size:13px;line-height:1.7}#muji-units-map{width:100%;max-height:38vh;touch-action:none}#muji-units-map [data-unit]{cursor:move}#muji-unit-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:16px 0}#muji-unit-fields label{display:flex;flex-direction:column;gap:5px;font-size:13px;min-width:0}#muji-unit-fields input,#muji-unit-fields select{width:100%;box-sizing:border-box}#muji-unit-fields input[type=color]{height:44px}#muji-unit-list,.unit-actions{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}#muji-unit-list [aria-pressed=true],#muji-units-apply{background:#373735!important;color:white!important}#muji-room-units footer{padding:16px 0 32px}#muji-units-open{width:100%;margin-top:10px}#sketch-diagram [data-wall] line{pointer-events:stroke}#sketch-diagram [data-wall]{touch-action:none}#sketch-diagram [data-wall] circle{stroke:#373735;stroke-width:1}#sketch-diagram [data-wall] text{pointer-events:none}#sketch-wall-length{border-color:#373735!important}#muji-unit-fields input:focus-visible,#muji-room-units button:focus-visible{outline:2px solid #373735;outline-offset:3px}
#muji-units-map{stroke:none;stroke-width:0}#muji-units-map text{stroke:none!important;stroke-width:0!important;paint-order:normal!important;font-size:12px!important;fill:#373735!important;pointer-events:none}#muji-units-map polygon{stroke:#373735!important;stroke-width:1px!important}#muji-units-map rect{stroke:#373735!important}#muji-room-units h2{border:0;padding:0}#sketch-diagram [data-wall] text{font-size:9px!important}#sketch-diagram [data-active=true] circle{fill:#373735!important}
#muji-part-visual{margin:0 0 15px;padding:12px;border:1px solid #373735;border-radius:12px;color:#373735;background:white}#muji-part-visual b{font-size:14px}#muji-part-current{font-size:13px;margin:6px 0}#muji-part-canvas canvas{display:block;width:100%!important;height:auto!important;max-height:210px;object-fit:contain;touch-action:manipulation}#muji-part-buttons{display:flex;flex-wrap:wrap;gap:7px;margin:10px 0}#muji-part-buttons button{background:white;color:#373735;border:1px solid #373735;border-radius:9px;min-height:44px;padding:8px 12px;font:inherit;font-size:12px}#muji-part-buttons [aria-pressed=true]{background:#373735;color:white}#muji-part-visual small{font-size:11px;line-height:1.6}#muji-edit-dialog[data-edit-tab=color] .muji-edit-sheet{max-height:88dvh}#muji-edit-dialog[data-edit-tab=color] #muji-edit-content{overflow-y:auto;min-height:0}

#muji-part-canvas canvas{max-width:420px!important;max-height:none!important;margin:0 auto;object-fit:fill}
#dp-colors #muji-part-buttons button{width:auto!important;height:auto!important;min-width:64px;max-width:100%;min-height:44px;white-space:normal;line-height:1.5;box-shadow:none!important;flex:0 1 auto}#dp-colors #muji-part-buttons [aria-pressed=true]{background:#373735!important;color:white!important}
#muji-opening-move[aria-pressed="true"]{background:#373735;color:#fff}
