.thrs{--thrs-surface:#faf5ec;--thrs-ink:#594a3f;--thrs-edge:#e6d7c7;--thrs-space:12px;position:absolute;inset:0;z-index:320;display:flex;flex-direction:column;box-sizing:border-box;min-width:0;min-height:0;background:var(--thrs-surface);color:var(--thrs-ink);font-family:inherit;isolation:isolate;overscroll-behavior:contain}
/* 键盘只收紧编辑内容盒，保留整页背景；预览实例不重新挂载。 */
.thrs.lovemi-tiny-page-kb{overflow:hidden}
.thrs.lovemi-tiny-page-kb>.thrs-canvas{flex-basis:clamp(48px,calc(var(--tiny-home-keyboard-room,500px) * .22),120px);min-height:0;padding-bottom:4px}
.thrs.lovemi-tiny-page-kb .thdr[data-context="editor"]>.thdr-controls{display:none}
.thrs.lovemi-tiny-page-kb>.thrs-head{padding-block:6px}
.thrs.lovemi-tiny-page-kb>.thrs-head small{display:none}
.thrs.lovemi-tiny-page-kb>.thrs-foot{padding-block:6px}
.thrs.lovemi-tiny-short-kb>.thrs-canvas{flex-basis:32px}
.thrs.lovemi-tiny-short-kb>.thrs-application-summary{display:none}
/* A short landscape screen gives the room and settings their own columns. */
@media(min-width:600px) and (max-height:500px) and (orientation:landscape){
 .thrs-dynamic:not(.lovemi-tiny-page-kb){display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);grid-template-rows:auto minmax(0,1fr) auto auto auto;grid-template-areas:"head head" "canvas body" "feedback feedback" "summary summary" "foot foot"}
 .thrs-dynamic:not(.lovemi-tiny-page-kb)>.thrs-head{grid-area:head}
 .thrs-dynamic:not(.lovemi-tiny-page-kb)>.thrs-canvas{grid-area:canvas;min-width:0;min-height:0;padding:4px 8px 8px 16px}
 .thrs-dynamic:not(.lovemi-tiny-page-kb)>.thrs-body{grid-area:body;min-width:0;padding:4px 16px 12px 8px}
 .thrs-dynamic:not(.lovemi-tiny-page-kb)>.thrs-feedback{grid-area:feedback}
 .thrs-dynamic:not(.lovemi-tiny-page-kb)>.thrs-application-summary{grid-area:summary}
 .thrs-dynamic:not(.lovemi-tiny-page-kb)>.thrs-foot{grid-area:foot}
}
.thrs-item-layer.lovemi-overlay-kb-active>.thrs-item-panel{max-height:100%;min-height:0}
.thrs-window-settings{margin:0 0 18px}.thrs-window-settings>strong{font-size:13px}.thrs-window-editor{position:absolute;inset:0;z-index:80;background:#1b2339b8;display:flex;align-items:center;justify-content:center;padding:12px}.thrs-window-editor>div{width:min(100%,680px);max-height:100%;overflow:auto;background:#fffaf2;border-radius:18px;padding:12px}.thrs-window-editor header,.thrs-window-editor footer{display:flex;align-items:center;justify-content:space-between;gap:6px}.thrs-window-editor footer{flex-wrap:wrap}.thrs-window-editor button{font-size:12px;min-height:42px;padding:6px 10px}.thrs-window-editor p{font-size:12px;line-height:1.7;margin:8px 0}.thrs-window-editor canvas{display:block;width:auto;max-width:100%;height:auto;max-height:56dvh;margin:auto;touch-action:none;outline:1px solid #d4c3ae}.thrs-window-editor canvas:focus-visible{outline:3px solid #987553}
.thrs-surface-fields{border:0;padding:0;margin:0;min-width:0}.thrs-surface-fields legend{font-size:14px;padding:0}.thrs-surface-fields>.thrs-micro{margin:6px 0 14px}.thrs-legacy-brief{font-size:12px;line-height:1.7;color:#88745d}.thrs-legacy-brief p{margin:6px 0}.thrs-legacy-text{white-space:pre-wrap;overflow-wrap:anywhere;user-select:text;padding:10px;background:#f2e9dc;border-radius:10px;max-height:160px;overflow:auto}
.thrs[hidden]{display:none}.thrs *{box-sizing:border-box}.thrs button,.thrs input,.thrs textarea,.thrs select{font:inherit;color:inherit}.thrs button{border:1px solid #e2cbb9;border-radius:14px;padding:10px 15px;background:#fffaf3;cursor:pointer;min-height:42px}.thrs button:hover{background:#f4e5d5}.thrs button:disabled{opacity:.5;cursor:default}.thrs button:focus-visible,.thrs input:focus-visible,.thrs select:focus-visible,.thrs textarea:focus-visible{outline:3px solid #a27552;outline-offset:2px}.thrs .thrs-primary{background:#8b6b4f;color:white;border-color:#8b6b4f}.thrs-head{padding:18px 20px;display:flex;align-items:center;justify-content:space-between;gap:14px;border-bottom:1px solid #eadbcb;flex-shrink:0}.thrs-head small{color:#9c8571}.thrs-head h2{margin:4px 0 0;font-size:21px}.thrs-head button{font-size:24px;line-height:1;padding:8px 14px}.thrs-body{flex:1;min-height:0;overflow:auto;padding:18px;overscroll-behavior:contain}.thrs-modes{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:18px}.thrs .thrs-mode{display:flex;flex-direction:column;text-align:left;gap:8px;padding:18px 14px;background:#fffdf7;border-radius:20px;min-width:0}.thrs-mode small{font-size:12px;color:#aa8b71}.thrs-mode b{font-size:16px;line-height:1.5}.thrs-mode span{font-size:12px;line-height:1.7;color:#8b7869}.thrs .thrs-mode.is-active{border:2px solid #987553;background:#f5e8d6;padding:17px 13px}.thrs-section{border-radius:20px;padding:16px;background:#fffcf7;border:1px solid #e9dbcb}.thrs-section h3{font-size:17px;margin:0 0 10px}.thrs-note{color:#968371;font-size:12px;line-height:1.8;margin:10px 0}.thrs label{display:block;font-size:13px;line-height:1.6}.thrs textarea,.thrs input:not([type=radio]):not([type=checkbox]),.thrs select{display:block;width:100%;min-width:0;border:1px solid #e6d6c5;border-radius:11px;padding:10px;background:#fffefa;margin:6px 0 10px}.thrs textarea{min-height:92px;resize:vertical;max-height:200px}.thrs input:disabled,.thrs textarea:disabled{background:#f4efe8;color:#a89788}.thrs .thrs-check{display:flex;gap:8px;align-items:center;margin:10px 0}.thrs-styles{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:14px}.thrs .thrs-style{display:flex;gap:5px;align-items:center;font-size:13px}.thrs-static-preview{margin:14px 0}.thrs-static-preview img{display:block;width:100%;max-height:440px;object-fit:contain;border-radius:16px;background:#f0e6d9}.thrs-static-preview figcaption{font-size:12px;text-align:center;color:#99836e;margin-top:8px}.thrs-actions{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.thrs-actions button{font-size:13px;padding:9px 12px}.thrs-preview{position:relative;width:100%;height:440px;min-width:0;min-height:0;border-radius:16px;overflow:hidden;background:#ece7dd}.thrs-fields{display:flex;gap:10px;flex-wrap:wrap}.thrs-fields>label{flex:1;min-width:70px}.thrs-inspector{margin-top:16px;padding-top:12px;border-top:1px solid #eee0d0}.thrs details{margin:12px 0}.thrs summary{cursor:pointer;font-size:14px;padding:8px 0}.thrs-add{border-top:1px solid #eee0d0;padding-top:10px}.thrs-status{white-space:pre-wrap;line-height:1.7;font-size:13px;color:#9b6143;min-height:22px}.thrs-foot{padding:12px 18px;display:flex;justify-content:space-between;gap:10px;border-top:1px solid #eadbcb;background:#faf5ec;flex-shrink:0;padding-bottom:max(12px,var(--safe-area-inset-bottom, env(safe-area-inset-bottom, 0px)))}.thrs-foot button{font-size:13px}
.thrs .thdr-item,.thrs .thdr-item:hover{padding:0;margin:0;border:0;border-radius:0;background:none;min-height:0;min-width:0;box-shadow:none}.thrs .thdr-item img{display:block}.thrs .thdr-control{padding:5px 10px;font-size:12px;min-height:34px}
.thrs .thrs-primary:hover:not(:disabled){background:#76563e;border-color:#76563e;color:#fff}
.thrs [hidden]{display:none!important}.thrs-head>div{flex:1;min-width:0}.thrs .thrs-back{padding:4px 9px;min-width:36px;font-size:30px;background:transparent;border-color:transparent}.thrs-feedback{flex:none;padding:6px 18px;margin:0;min-height:0;max-height:64px;overflow:auto;font-size:12px;background:#f5ebdc}.thrs input[type=checkbox],.thrs input[type=radio]{accent-color:#8b6b4f}.thrs-dynamic .thrs-head{padding:10px 16px;gap:8px;border-bottom:0}.thrs-dynamic .thrs-head small{font-size:11px}.thrs-dynamic .thrs-head h2{font-size:18px;margin:2px 0 0}.thrs-canvas{flex:0 0 clamp(190px,40%,420px);min-height:0;padding:0 16px 10px}.thrs-dynamic .thrs-preview{position:relative;top:auto;height:100%;border:1px solid #e6d7c7;border-radius:18px;box-shadow:none}.thrs-dynamic .thrs-body{padding:10px 18px 20px}.thrs-style-field{border:0;padding:0;margin:0 0 16px;min-width:0}.thrs-style-field legend{font-size:13px;margin-bottom:8px;padding:0}.thrs-dynamic .thrs-styles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:0}.thrs-dynamic .thrs-style{position:relative;display:block;margin:0;cursor:pointer}.thrs-dynamic .thrs-style input{position:absolute;width:1px;height:1px;opacity:0}.thrs-dynamic .thrs-style span{display:flex;align-items:center;justify-content:center;min-height:46px;padding:8px 3px;border:1px solid #e6d6c5;border-radius:12px;background:#fffcf7;text-align:center;font-size:12px;line-height:1.5}.thrs-dynamic .thrs-style input:checked+span{border-color:#987553;background:#f1e3cf;color:#705034;box-shadow:inset 0 0 0 1px #987553;font-weight:600}.thrs-dynamic .thrs-style input:focus-visible+span{outline:3px solid #a27552;outline-offset:2px}.thrs-dynamic .thrs-style input:disabled+span{opacity:.55;cursor:default}.thrs-dynamic textarea{font-size:16px;min-height:76px;max-height:160px;resize:vertical}.thrs-dynamic input:not([type=checkbox]):not([type=radio]){font-size:16px;min-height:44px}.thrs-room-action{display:flex;justify-content:flex-end;margin:0 0 18px}.thrs-room-action button{font-size:13px;padding:8px 16px}.thrs-dynamic .thrs-add{padding-top:18px}.thrs-add h3{font-size:16px;margin:0 0 12px}.thrs-dimensions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.thrs-dimensions>label{min-width:0}.thrs-dynamic .thrs-check{min-height:44px;margin:2px 0 10px;cursor:pointer}.thrs-check input{width:17px;height:17px;flex:none;margin:0}.thrs-add>[data-studio="add-item"]{width:100%;margin:0}.thrs-dynamic .thrs-foot{padding:10px 16px max(10px,var(--safe-area-inset-bottom, env(safe-area-inset-bottom, 0px)));align-items:center}.thrs-dynamic .thrs-foot [data-studio="settings"]{border-color:transparent;background:transparent;color:#968371;padding-inline:4px}.thrs-dynamic .thrs-foot .thrs-primary{min-width:130px}.thrs-dynamic :is(input,button,select,textarea){scroll-margin:12px}
.thrs-item-layer{position:absolute;inset:0;z-index:10;display:flex;align-items:flex-end;background:#49352526}.thrs-item-panel{display:flex;flex-direction:column;width:100%;max-height:65%;background:#fffcf7;border:1px solid #e6d7c7;border-radius:22px 22px 0 0;box-shadow:0 -6px 24px #594a3f1f;overflow:hidden;padding-bottom:var(--safe-area-inset-bottom, env(safe-area-inset-bottom, 0px))}.thrs-item-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 18px;border-bottom:1px solid #eee0d0;flex:none}.thrs-item-head h3{font-size:16px;margin:0;overflow-wrap:anywhere}.thrs-item-head button{flex:none;font-size:13px;padding:7px 14px}.thrs-item-body{min-height:0;overflow:auto;padding:4px 18px 16px;overscroll-behavior:contain}.thrs-item-actions{border-top:1px solid #eee0d0;padding-top:12px}.thrs-item-actions button{flex:1;white-space:nowrap}.thrs-item-actions [data-studio="remove-item"]{color:#a05240}.thrs-item-body .thrs-status{margin:0;min-height:0}
.thrs-queue:empty{display:none}.thrs-queue{margin-top:20px}.thrs-queue-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}.thrs-queue-head h3{margin:0;font-size:16px}.thrs-queue-head>span{font-size:12px;color:#968371;font-variant-numeric:tabular-nums}.thrs-queue-list{list-style:none;margin:0 0 12px;padding:0;border:1px solid #e6d6c5;border-radius:14px;overflow:hidden;background:#fffdf8}.thrs-queue-list li{display:flex;align-items:center;flex-wrap:wrap;gap:4px;padding:7px 8px;border-bottom:1px solid #eee3d5}.thrs-queue-list li:last-child{border-bottom:0}.thrs .thrs-queue-item{flex:1;min-width:0;text-align:left;padding:3px 5px;background:none;border:0;border-radius:6px}.thrs .thrs-queue-item:disabled{opacity:1}.thrs-queue-item strong,.thrs-queue-item small{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.thrs-queue-item strong{font-size:13px;font-weight:600}.thrs-queue-item small{font-size:11px;color:#968371;margin-top:3px}.thrs-queue-state{flex:none;font-size:11px;color:#99816c;white-space:nowrap;padding:3px 5px;border-radius:7px;background:#f5eee4}.thrs-queue-list [data-state="working"] .thrs-queue-state{color:#866032;background:#f4e4c8}.thrs-queue-list [data-state="done"] .thrs-queue-state{color:#55755a;background:#eaf0e6}.thrs-queue-list [data-state="failed"] .thrs-queue-state{color:#9c5441;background:#faece5}.thrs .thrs-queue-remove{flex:none;min-width:38px;min-height:38px;padding:4px;border:0;background:transparent;font-size:20px;color:#9b8170}.thrs .thrs-queue-retry{flex:none;min-height:34px;padding:4px 8px;font-size:12px;border-radius:9px}.thrs-queue-error{flex-basis:100%;margin:0 5px 3px;font-size:11px;line-height:1.6;color:#a16b55;overflow-wrap:anywhere}.thrs-queue>[data-studio="generate-queue"]{width:100%}
@media(max-width:400px){.thrs-body{padding:12px}.thrs-section{padding:12px}.thrs-modes{gap:8px}.thrs-mode b{font-size:14px}.thrs .thrs-mode{padding:14px 10px}.thrs .thrs-mode.is-active{padding:13px 9px}.thrs-preview{height:360px}}
@media(max-height:600px){.thrs-dynamic .thrs-head{padding-block:6px}.thrs-dynamic .thrs-head small{display:none}.thrs-canvas{flex-basis:36%;padding-bottom:4px;min-height:110px}.thrs-dynamic .thrs-foot{padding-block:6px}.thrs-item-panel{max-height:80%}.thrs-feedback{max-height:42px}}
@media(max-width:350px){.thrs-canvas{padding-inline:10px}.thrs-dynamic .thrs-body{padding-inline:12px}.thrs-item-body,.thrs-item-head{padding-inline:12px}.thrs-dimensions{gap:6px}.thrs-dynamic .thrs-style span{font-size:11px}}
.thrs-palettes[data-count="1"]{grid-template-columns:minmax(0,240px)}.thrs-palettes[data-count="2"]{grid-template-columns:repeat(2,minmax(0,1fr))}.thrs-palette-note{flex-basis:100%;font-size:11px;line-height:1.6;margin:4px 5px;color:#88745d}.thrs-palette-auto{padding:12px;font-size:12px;line-height:1.8;color:#96816b}
.thrs-recovery{margin:8px 0 12px}.thrs-recovery button{width:100%;font-size:12px}.thrs-recovery small{display:block;font-size:11px;line-height:1.7;color:#88745d;margin:5px 3px}.thrs .thrs-palette-card .thrs-palette-recover{background:#8b6b4f;color:#fff;border-color:#8b6b4f}.thrs .thrs-palette-card .thrs-palette-recover:hover:not(:disabled){background:#76563e;color:#fff}
.thrs-palette-card{min-width:0;display:flex;flex-direction:column;gap:5px;align-self:start}.thrs .thrs-palette-card .thrs-palette{width:100%;flex:none}.thrs .thrs-palette-card .thrs-palette:disabled{opacity:1}.thrs-palette-error{font-size:10px;line-height:1.6;color:#9c5441;overflow-wrap:anywhere;margin:0 2px}.thrs .thrs-palette-action{width:100%;min-height:38px;padding:6px 3px;font-size:11px;border-radius:9px;background:#fffaf3}.thrs-image-review{position:absolute;inset:0;z-index:60;display:flex;align-items:center;justify-content:center;padding:16px;background:#32271e99}.thrs-image-review>div{width:min(100%,560px);max-height:100%;overflow:auto;background:#fffaf3;border-radius:18px;padding:14px}.thrs-image-review header{display:flex;align-items:center;justify-content:space-between;gap:8px}.thrs-image-review header strong{min-width:0;font-size:14px;overflow-wrap:anywhere}.thrs-image-review header button{flex:none}.thrs-image-review img{display:block;width:100%;max-height:55dvh;object-fit:contain;background:repeating-conic-gradient(#eee8de 0% 25%,#fffaf3 0% 50%) 0 0/20px 20px}.thrs-image-review p{font-size:12px;line-height:1.7;overflow-wrap:anywhere}
.thrs-spec{display:flex;gap:8px;justify-content:space-between;margin:8px 0 14px;padding:10px 12px;border-radius:12px;background:#f0e7d9;font-size:12px;color:#806951}.thrs-micro{font-size:11px;line-height:1.65;color:#96816b;margin:9px 0}.thrs-upgrade{display:flex;gap:10px;align-items:center;font-size:12px;line-height:1.6;background:#f2e7d5;border-radius:12px;padding:10px;margin-bottom:14px}.thrs-upgrade button{flex:none;font-size:12px;padding:8px}.thrs .thrs-queue-head button{padding:6px 10px;font-size:12px}.thrs-palettes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;width:100%;margin:6px 0}.thrs .thrs-palette{min-width:0;padding:5px;border:1px solid #e5d8c7;border-radius:12px;background:#faf6ee;text-align:center;overflow:hidden}.thrs .thrs-palette[aria-pressed=true]{border-color:#8c714b;background:#f0e3ca;box-shadow:inset 0 0 0 1px #8c714b}.thrs-palette img{display:block;width:100%;aspect-ratio:1;object-fit:contain}.thrs-palette strong,.thrs-palette small{display:block;overflow-wrap:anywhere}.thrs-palette strong{font-size:11px;font-weight:500}.thrs-palette small{font-size:10px;color:#8c795f;margin-top:3px}.thrs-palette-swatches{display:flex;align-items:center;justify-content:center;aspect-ratio:1;gap:3px}.thrs-palette-swatches i{width:18px;height:18px;border-radius:50%;border:1px solid #0000000a}.thrs-stock{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.thrs-stock button{padding:8px;text-align:left;min-width:0}.thrs-stock img{display:block;width:100%;aspect-ratio:1;object-fit:contain}.thrs-stock strong,.thrs-stock small{display:block;font-size:12px;overflow-wrap:anywhere}.thrs-stock small{margin-top:4px;color:#8b745d}
.thrs-dynamic .thrs-foot{display:grid;grid-template-columns:auto auto minmax(0,1fr);gap:8px}.thrs-dynamic .thrs-foot button{min-width:0;min-height:44px;padding:8px 10px;font-size:12px;white-space:nowrap}.thrs-dynamic .thrs-foot .thrs-primary{min-width:0}.thrs-application-summary{display:flex;align-items:center;gap:8px;flex:none;min-height:36px;padding:4px 16px;background:#f0eee3;border-top:1px solid #e6daca;color:#667052;font-size:11px;line-height:1.6}.thrs-application-summary[data-blocked=true]{background:#fbefe4;color:#955637}.thrs-application-summary>span{flex:1;min-width:0;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow-wrap:anywhere}.thrs .thrs-application-summary button{flex:none;padding:4px 7px;min-height:36px;font-size:11px;border-color:transparent;background:transparent;text-decoration:underline;text-underline-offset:3px}
.thrs-application-review{position:absolute;inset:0;z-index:70;display:flex;align-items:flex-end;background:#33291f80}.thrs-application-panel{display:flex;flex-direction:column;width:100%;max-height:85%;padding-bottom:var(--safe-area-inset-bottom,env(safe-area-inset-bottom,0px));border:1px solid #e6d7c7;border-radius:20px 20px 0 0;background:#fffaf2;overflow:hidden;box-shadow:0 -6px 24px #594a3f24}.thrs-application-panel header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 16px;border-bottom:1px solid #eee0d0}.thrs-application-panel h3{margin:0;font-size:16px}.thrs-application-panel h4{margin:14px 0 8px;font-size:14px}.thrs-application-panel button{min-height:44px;font-size:12px;padding:7px 11px;overflow-wrap:anywhere}.thrs-application-body{min-height:0;overflow:auto;padding:0 16px 12px;overscroll-behavior:contain;font-size:13px;line-height:1.7}.thrs-application-body p{margin:8px 0;overflow-wrap:anywhere}.thrs-application-body ul{list-style:none;margin:0;padding:0}.thrs-application-body li{padding:8px 0 12px;border-bottom:1px solid #ecdfce}.thrs-application-body li:last-child{border-bottom:0}.thrs-application-body li>div{display:flex;flex-wrap:wrap;gap:6px}.thrs-application-panel footer{flex:none;padding:10px 16px;border-top:1px solid #ecdfce}.thrs-application-panel footer button{width:100%}
.thrs,.thrs *{scrollbar-width:none;-ms-overflow-style:none}
.thrs::-webkit-scrollbar,.thrs *::-webkit-scrollbar{display:none;width:0;height:0}
.thrs-preset{display:block;font-size:13px;line-height:1.6;position:relative}
.thrs-preset-caption{display:block}
.thrs-preview-options{margin:0 0 16px}.thrs .thrs-preview-light{min-height:44px;padding:8px 12px;border-radius:10px;background:transparent;font-size:12px;line-height:1.4}
.thrs-category{display:block;margin-bottom:4px}.thrs-category select{width:100%;min-width:0;min-height:44px}.thrs [data-bed-size]{display:block;margin:0 0 10px}.thrs [data-bed-size][hidden]{display:none}.thrs [data-bed-size] select{width:100%;min-height:44px}
.thrs .thrs-preset-native{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:0!important;border:0!important;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;opacity:0;pointer-events:none}
.thrs .thrs-preset-trigger{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;min-height:44px;margin:6px 0 10px;padding:10px 12px;border:1px solid #e6d6c5;border-radius:11px;background:#fffefa;text-align:left;font-size:16px;line-height:1.4}
.thrs .thrs-preset-trigger:hover{background:#fff6ea}
.thrs .thrs-preset-trigger::after{content:"";width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:6px solid #9c8571;flex:none;transition:transform .15s ease}
.thrs .thrs-preset-trigger[aria-expanded="true"]::after{transform:rotate(180deg)}
.thrs-preset-list{position:absolute;z-index:12;max-height:240px;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y;-webkit-overflow-scrolling:touch;background:#fffefa;border:1px solid #e6d6c5;border-radius:12px;box-shadow:0 10px 28px #594a3f24}
.thrs .thrs-preset-option{display:flex;align-items:center;width:100%;height:40px;min-height:40px;max-height:40px;margin:0;padding:0 12px;border:0;border-radius:0;background:transparent;text-align:left;font-size:14px;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.thrs .thrs-preset-option:hover{background:#f5ebdc}
.thrs .thrs-preset-option[aria-selected="true"]{background:#ecd9bf;color:#705034;font-weight:600}
.thrs .thrs-preset-option:focus-visible{outline:none;background:#f1e3cf}
.thrs-space-fields{margin:0 0 16px;padding:12px;border:1px solid #d6ded0;border-radius:12px;background:#f3f6ed}
.thrs-space-fields legend{padding:0 6px;font-weight:600;color:#596c58}
.thrs-space-edge{display:grid;grid-template-columns:1fr 1fr;gap:0 10px;margin-top:10px}
.thrs-space-edge label:last-child{grid-column:1/-1}
.thrs-space-fields input,.thrs-space-fields select{min-width:0;width:100%;box-sizing:border-box}

/* Floor-plan structure card, room size, collapsed furniture list and the shared warehouse panel. */
.thrs-dynamic .thrs-head .thrs-head-stock{flex:none;font-size:13px;line-height:1.2;padding:8px 12px;min-height:40px;border-radius:12px;background:#f5e8d6;border-color:#dcc3a8;color:#6d4f37;font-weight:600}
.thrs-structure{display:flex;gap:12px;align-items:center;margin:0 0 14px;padding:10px;border:1px solid #e6d6c5;border-radius:14px;background:#fffcf7}
.thrs-structure-map{flex:none;display:flex;align-items:center;justify-content:center;width:104px;min-height:60px}
.thrs-plan-crop{position:relative;overflow:hidden;border-radius:10px;background:#efe6da;box-shadow:inset 0 0 0 1px #0000000f}
.thrs-plan-crop img{position:absolute;max-width:none;display:block}
.thrs-plan-crop svg{position:absolute;inset:0;width:100%;height:100%}
.thrs-plan-crop path{fill:none;stroke:#c0674e;stroke-width:2.4;vector-effect:non-scaling-stroke;stroke-linecap:square}
.thrs-plan-mini{width:96px;height:96px;display:block}
.thrs-plan-mini rect{fill:#f3ebe0;stroke:#c9b39c;stroke-width:1}
.thrs-plan-mini rect.is-room{fill:#e8b9a6;stroke:#b0654d;stroke-width:1.6}
.thrs-structure-text{min-width:0;display:flex;flex-direction:column;gap:3px;font-size:12px;line-height:1.55;color:#7d6a58}
.thrs-structure-text strong{font-size:13px;color:#5b4637}
.thrs-structure-text small{font-size:11px;color:#9a8672}
.thrs-space-fields .thrs-structure{background:#fbfdf7;border-color:#dfe6d6}
.thrs-cells{margin:2px 0 6px;font-size:12.5px;font-weight:600;color:#596c58;font-variant-numeric:tabular-nums}
.thrs-space-hint{margin:6px 0;padding:7px 9px;border-radius:10px;background:#fdf1e3;font-size:11.5px;line-height:1.6;color:#8c5a3c}
.thrs-plan-hint{margin:-4px 0 10px;color:#9b6143}
.thrs-queue-head>span{margin-left:auto}
.thrs .thrs-queue-more{display:block;width:100%;margin:-4px 0 12px;padding:10px 12px;border-style:dashed;background:#fdf8f1;font-size:12.5px;color:#7a5a41;text-align:center}
.thrs-palette-count{margin:0 0 12px}.thrs-palette-count select{min-height:44px}.thrs-palette-count .thrs-micro{margin:1px 0 0}
.thrs-stock-panel{max-height:82%}
.thrs-stock-panel .thrs-item-head h3 small{display:block;margin-top:2px;font-size:11px;font-weight:500;color:#9a8672}
.thrs-stock-tabs{display:flex;gap:6px;padding:8px 18px 0;flex:none;overflow-x:auto}
.thrs .thrs-stock-tabs button{flex:none;min-height:36px;padding:6px 12px;border-radius:999px;font-size:12.5px}
.thrs .thrs-stock-tabs button small{margin-left:4px;font-size:11px;color:#9a8672}
.thrs .thrs-stock-tabs button[aria-selected="true"]{background:#8b6b4f;border-color:#8b6b4f;color:#fff}
.thrs .thrs-stock-tabs button[aria-selected="true"] small{color:#f4e7d8}
.thrs-stock-card{position:relative;display:flex;flex-direction:column;min-width:0;border:1px solid #e6d6c5;border-radius:14px;background:#fffdf8;overflow:hidden}
.thrs-stock-card.is-other-style{border-style:dashed}
.thrs-stock-card.is-static{padding:8px;opacity:.72}
.thrs .thrs-stock-card .thrs-stock-use{display:flex;flex-direction:column;gap:2px;width:100%;border:0;border-radius:0;background:transparent;padding:8px;text-align:left}
.thrs .thrs-stock-card .thrs-stock-use:disabled{opacity:.6}
.thrs-curtain-fit{margin:4px 0 14px;padding:12px;background:#f6f0e5;border:1px solid #e6d7c4;border-radius:16px}
.thrs-curtain-fit h4{margin:0 0 5px;font-size:15px}.thrs-curtain-fit .thrs-micro{margin:5px 0 9px}
.thrs-curtain-fit .thrs-actions{display:flex;gap:7px}.thrs-curtain-fit .thrs-actions button{flex:1;min-width:0;font-size:12px;padding:9px 7px}
.thrs-curtain-fit .thrs-curtain-scale{display:flex;align-items:center;gap:8px;margin:12px 0}.thrs-curtain-scale>span{white-space:nowrap;flex:none}.thrs .thrs-curtain-scale>input[type=number]{flex:0 0 88px;min-width:0;width:88px;margin:0}
.thrs-curtain-nudge{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.thrs-curtain-nudge button{font-size:12px;padding:9px 5px}
.thrs-curtain-manual{margin-top:12px}.thrs-curtain-manual summary{font-size:12px;color:#806c55;cursor:pointer}.thrs-curtain-manual .thrs-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.thrs-curtain-manual input{min-width:0;width:100%}
.thrs-curtain-undo{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin:10px 0;padding:8px;border-radius:10px;background:#fffaf2}.thrs-curtain-undo span{width:100%;font-size:12px}.thrs-curtain-undo button{font-size:12px;padding:6px 9px}
.thrs .thrs-stock-adjust{margin:3px 7px 7px;font-size:11px;padding:7px 9px;max-width:calc(100% - 14px)}
.thrs-stock-thumb{display:block;width:100%;aspect-ratio:1;border-radius:10px;background:repeating-conic-gradient(#f3ece2 0% 25%,#fffaf3 0% 50%) 0 0/16px 16px;overflow:hidden}
.thrs-stock-thumb img{display:block;width:100%;height:100%;object-fit:contain}
.thrs .thrs-stock-card .thrs-stock-delete{min-height:34px;margin:0 8px 8px;padding:4px 8px;border-radius:9px;font-size:11.5px;color:#a05240;background:#fff7f2}
.thrs-stock-empty{margin:18px 4px;font-size:12.5px;line-height:1.7;color:#8c7560;text-align:center}
.thrs-stock-subhead{margin:18px 0 0;font-size:13px;color:#6d5846}
.thrs-stock-panel .thrs-queue-list{margin-top:6px}
.thrs-image-review .thrs-image-history{display:block;margin:10px 0;font-size:12px;line-height:1.6}.thrs-image-history select{display:block;width:100%;min-width:0;min-height:44px;margin:4px 0 0}.thrs-image-repair{padding-top:10px;border-top:1px solid #e6d6c5}.thrs-image-repair p{margin:0 0 10px}.thrs-image-repair button{width:100%;min-height:44px;white-space:normal;font-size:13px}.thrs-image-repair small{display:block;margin-top:8px;font-size:11px;line-height:1.65;color:#8c7560}.thrs-image-review>div{padding-top:0}.thrs-image-review header{position:sticky;top:0;z-index:1;background:#fffaf3;padding:14px 0 8px}.thrs-image-review header button{min-width:44px;min-height:44px}.thrs-item-actions{flex-wrap:wrap}
@media(max-width:350px){.thrs-structure{flex-direction:column;align-items:flex-start}.thrs-structure-map{width:auto}}
.thrs-facing{margin:12px 0;padding:12px;border:1px solid #dfd0bd;border-radius:14px;background:#faf5ec}
.thrs-facing h4{margin:0 0 10px;font-size:14px;color:#645445}
.thrs-facing-directions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.thrs-facing-directions button{min-width:0;min-height:56px;padding:9px 5px;border:1px solid #dbc9b2;border-radius:10px;background:#fffdf8;color:#6b594a;font:inherit;cursor:pointer;touch-action:manipulation;box-shadow:none}
.thrs-facing-directions b,.thrs-facing-directions small{display:block;line-height:1.5;overflow-wrap:anywhere}.thrs-facing-directions b{font-size:12px;font-weight:600}.thrs-facing-directions small{font-size:10px;color:#967f70}
.thrs-facing-directions button[aria-pressed="true"]{border-color:#987650;background:#eee0c8}.thrs-facing-directions button:focus-visible{outline:2px solid #987650;outline-offset:2px}
.thrs-facing-review{padding:10px;margin:10px 0;border:1px solid #ddc9ad;border-radius:12px;background:#fffdf8}.thrs-facing-review img{display:block;width:100%;max-height:240px;object-fit:contain;background-color:#fffdf8;background-image:linear-gradient(45deg,#e8e2d8 25%,transparent 25%),linear-gradient(-45deg,#e8e2d8 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#e8e2d8 75%),linear-gradient(-45deg,transparent 75%,#e8e2d8 75%);background-size:20px 20px;background-position:0 0,0 10px,10px -10px,-10px 0}
.thrs-facing-review p{font-size:12px;line-height:1.7;color:#796653}.thrs-facing-review button{width:100%}
