:root{--ink:#30242f;--muted:#6b5d65;--paper:#f7f4ef;--white:#fffcf8;--plum:#583b56;--light:#efe7ef;--line:#e3d9df;--dim:#d5c8d0;--good:#488465;--serif:Georgia,"Times New Roman",serif;--sans:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
*,*::before,*::after{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:15px/1.5 var(--sans)}button,input{color:inherit;font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.48;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #a36498;outline-offset:3px}a{color:inherit;text-decoration:none}a:hover{text-decoration:underline;text-underline-offset:.22em}[hidden]{display:none!important}.frame{width:min(1470px,calc(100% - 84px));margin:0 auto}.site{border-bottom:1px solid var(--line);background:#f9f6f1}.header-layout{height:74px;display:grid;grid-template-columns:1fr auto 1fr;gap:30px;align-items:center}.brand{font-size:11px;letter-spacing:.21em;font-weight:800;display:inline-flex;align-items:center;gap:13px;white-space:nowrap;width:max-content}.brand i{width:19px;height:19px;border:1px solid var(--plum);transform:rotate(45deg);position:relative;display:inline-block}.brand i::before{content:"";position:absolute;inset:3px;border:1px solid var(--plum)}.brand i::after{content:"";position:absolute;inset:7px;background:var(--plum)}nav{display:flex;align-items:center;gap:28px;font-size:13px;font-weight:650}nav a{padding:6px 0}nav [aria-current]{color:var(--plum);border-bottom:1px solid var(--plum)}.head-link{justify-self:end;font-size:12px;font-weight:750;color:var(--plum);border:1px solid var(--dim);padding:9px 12px;border-radius:7px}.head-link span{margin-left:5px}
.intro{display:flex;justify-content:space-between;align-items:end;gap:22px;padding:clamp(32px,5vw,64px) 0 28px}.intro p{margin:0 0 3px}.intro p:not(.eyebrow){font-size:clamp(15px,1.5vw,18px);color:var(--muted)}h1,h2,h3{font:400 1rem/1.12 var(--serif);margin:0}.intro h1{font-size:clamp(47px,6.4vw,92px);letter-spacing:-.073em;line-height:.93;margin:12px 0 14px}.intro h1 span{color:#8e627f}.eyebrow{font:800 10px/1.3 var(--sans);letter-spacing:.15em;color:#755c71;margin:0 0 8px;text-transform:uppercase}.intro-tick{display:inline-block;width:13px;height:1px;background:#9a7599;margin-right:6px;vertical-align:middle}.room-meta{align-self:end;min-width:170px;margin-bottom:2px;border-left:1px solid var(--dim);padding:3px 0 3px 16px;display:grid}.room-meta strong{font-size:14px}.room-meta span{font-size:12px;color:var(--muted)}
.grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,322px);gap:16px;align-items:start}.viewport,.inspector,.incoming{border:1px solid var(--line);border-radius:17px;background:var(--white);overflow:hidden}.viewport-tools,.viewport-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 15px;background:#fffcf8}.viewport-tools{border-bottom:1px solid var(--line)}.viewport-foot{border-top:1px solid var(--line);min-height:60px}.segments{display:flex;gap:3px;padding:4px;border:1px solid #e8dfdf;border-radius:11px;background:#f2ecef;width:max-content;max-width:100%}.segments button,.quiet,.secondary,.primary,.remove,.close{border:1px solid transparent;border-radius:8px;min-height:38px;padding:8px 11px;background:transparent;color:var(--ink);font-size:13px;font-weight:680;white-space:nowrap}.segments button{min-height:33px;padding:5px 11px;color:#695463}.segments button[aria-pressed=true]{background:#fffbf8;border-color:#ded4db;box-shadow:0 2px 4px #5e455914;color:var(--ink)}.quiet{color:var(--plum)}.quiet:hover:not(:disabled),.remove:hover:not(:disabled){background:#f4ecf1}.secondary{background:#f1e8ef;border-color:#dfd0de;color:var(--plum)}.secondary:hover:not(:disabled){background:#eadce8}.primary{background:var(--plum);color:#fffefa;border-color:var(--plum);box-shadow:0 2px 4px #5b365520;display:inline-flex;align-items:center;justify-content:center;gap:5px}.primary:hover{text-decoration:none;background:#70496a;border-color:#70496a}.remove{color:#8f4051;padding-inline:8px}.room-open{border-color:var(--line)}.room-open span{margin-right:3px}.viewport-actions{display:flex;gap:5px}.micro{font-size:12px;color:var(--muted);margin:0}
.stage{position:relative;background:#f0ece5;height:clamp(450px,46vw,650px);overflow:hidden;isolation:isolate}.stage::after{content:"";position:absolute;inset:0;border:1px solid #fffcf590;pointer-events:none}.stage canvas,.stage svg{position:absolute;width:100%;height:100%;inset:0;display:block;touch-action:none;user-select:none;-webkit-user-select:none}.stage canvas{cursor:grab;touch-action:pan-y}.stage svg[data-view=top]{touch-action:none}.stage canvas:active{cursor:grabbing}.stage svg .plan-floor{fill:#fffbf5;stroke:#ded1d3;stroke-width:1}.stage svg .wall{stroke:#876b80;stroke-width:4;stroke-linecap:round}.stage svg .dim{stroke:#987b91;stroke-width:.8}.stage svg .offset{stroke:#99738f;stroke-width:1;stroke-dasharray:3 2}.stage svg .axis{fill:#654d61;font:700 12px var(--sans);paint-order:stroke;stroke:#f3eee7;stroke-width:3px;stroke-linejoin:round}.stage svg .footprint{cursor:grab}.stage svg .anchor{cursor:auto}.stage svg .footprint rect{fill:#c5ab96;stroke:#8b6e60;stroke-width:1}.stage svg .airborne rect{fill:#f4e9f0ba;stroke:#7e6478;stroke-dasharray:4 2}.stage svg .anchor rect{fill:#ab91a6}.stage svg .chosen rect{stroke:#674263;stroke-width:2.5;fill:#cfafc9}.stage svg .front{stroke:#66505d;stroke-width:2;stroke-linecap:round}.stage svg text{pointer-events:none}.stage svg .number{fill:#523548;font:750 12px var(--sans)}.view-note{position:absolute;bottom:13px;left:15px;font:700 9px/1 var(--sans);letter-spacing:.12em;color:#624e5e;background:#fffbf3d8;border:1px solid #e8e0d2;padding:7px 9px;border-radius:5px;pointer-events:none}.empty-hint,.error-stage{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:min(350px,calc(100% - 30px));text-align:center;padding:20px;border-radius:14px;border:1px solid var(--line);background:#fffdf7ef;box-shadow:0 12px 55px #4e314121}.empty-hint h2{font-size:31px}.empty-hint p:not(.eyebrow){color:var(--muted);margin:9px auto 15px}.error-stage{top:12px;transform:translateX(-50%);padding:8px;color:#8a4252}
.inspector{padding:17px}.inspector-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.inspector h2{font-size:36px;letter-spacing:-.05em}.inspector-head .eyebrow{margin:0 0 4px}.count{background:var(--light);color:var(--plum);min-width:31px;min-height:31px;border-radius:50%;display:grid;place-items:center;font-size:12px;font-weight:800}.module-list{display:grid;gap:5px;max-height:clamp(175px,22vw,280px);overflow:auto;overscroll-behavior:contain;padding:4px;scrollbar-width:thin;scrollbar-color:#c9b5c6 transparent;margin:0 -4px}.module-list button{width:100%;min-height:48px;display:grid;grid-template-columns:24px minmax(0,1fr) 11px;gap:8px;align-items:center;border:1px solid transparent;background:#f8f4f1;border-radius:8px;text-align:left;padding:6px 9px}.module-list button:hover{background:#f2e9ed}.module-list button[aria-pressed=true]{border-color:#bc9eb6;background:#f0e5ee}.mod-index{align-self:center;font-size:10px;font-weight:800;background:#fffaf6;border-radius:5px;border:1px solid #e5d9e2;display:grid;place-items:center;height:23px;color:#805b79}.mod-inner{display:grid;gap:2px;line-height:1.18}.mod-inner strong{font-size:12px;font-weight:760;overflow-wrap:anywhere}.mod-inner small{font-size:10px;color:var(--muted)}.module-list button>span:last-child{color:#96718c}.detail-box{margin:14px 0 12px;border-top:1px solid #eadfe7;padding-top:15px}.detail-box h3{font-size:24px;letter-spacing:-.035em;margin-bottom:4px}.detail-box .datum{font:690 11px/1.4 var(--sans);color:#725a6f;background:#f5ecf3;margin:9px 0;padding:6px 8px;border-radius:6px;width:max-content;max-width:100%}.detail-actions{display:flex;gap:3px;flex-wrap:wrap}.detail-actions button{font-size:11px;padding:6px;min-height:35px}.inspector .catalog-link{width:100%;margin-top:4px;min-height:42px}.saved{display:flex;gap:7px;align-items:center;margin:10px 0 0;color:var(--muted);font-size:10px;letter-spacing:.015em}.saved-dot{width:6px;height:6px;border-radius:50%;background:var(--good)}
.incoming{padding:14px 16px;margin-bottom:14px;display:flex;gap:10px;justify-content:space-between;align-items:center;background:#f8eff6}.incoming h2{font-size:25px}.incoming p{margin:3px 0}.incoming-actions{display:flex;gap:8px;flex-wrap:wrap}.below{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding-top:10px}.status{margin:4px 0 0;min-height:22px;font-size:13px;font-weight:650;color:var(--plum)}.error{color:#8b2e49!important;font-size:13px;font-weight:600}.sample{margin-top:-3px}.smallprint{font-size:11px;color:var(--muted);margin:5px 0 29px}.footer-layout{border-top:1px solid var(--line);display:flex;align-items:center;gap:22px;flex-wrap:wrap;min-height:76px;color:var(--muted);font-size:12px;padding:14px 2px}.footer-layout>a:last-child{margin-left:auto;text-decoration:underline;text-underline-offset:.18em}.contact{display:flex;gap:10px;flex-wrap:wrap}
dialog{border:1px solid #d8c9d3;border-radius:16px;background:var(--white);color:var(--ink);width:min(510px,calc(100% - 28px));max-height:min(87vh,760px);padding:21px;box-shadow:0 24px 100px #38222e55;overflow:auto}dialog::backdrop{background:#34243769;backdrop-filter:blur(4px)}.dialog-header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:16px}.dialog-header h2{font-size:36px;letter-spacing:-.04em}.dialog-header .close{background:#f1e9ef;min-width:40px;font-size:22px;padding:1px 10px}.turn-pick{display:flex;gap:12px;justify-content:space-between;align-items:center;margin:12px 0}.wall-fields,.move-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:10px 0}fieldset{border:1px solid var(--line);border-radius:10px;margin:0;padding:9px;min-width:0}legend{font-weight:770;font-size:13px;padding:0 4px}.wall-fields:has(fieldset[hidden]){grid-template-columns:1fr}label{display:block;font-size:12px;color:#5c4d58;font-weight:680}label+label{margin-top:7px}label input{width:100%;display:block;border:1px solid var(--dim);border-radius:7px;background:#fffdfa;padding:9px 8px;color:var(--ink);margin-top:3px;font-size:16px;min-height:42px}.move-fields label+label{margin-top:0}.dialog-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:15px}.dialog-actions button{min-height:42px}.error:empty{display:none}.settings .micro{margin-top:9px}
@media(max-width:1030px){.frame{width:calc(100% - 58px)}.grid{grid-template-columns:minmax(0,1fr) minmax(245px,280px)}.stage{height:clamp(425px,52vw,570px)}}
@media(max-width:760px){.frame{width:calc(100% - 33px)}.header-layout{height:61px;grid-template-columns:1fr auto;gap:14px}nav{gap:13px;text-wrap:nowrap;font-size:11px}.head-link{display:none}.intro{padding:31px 0 20px;align-items:start;flex-direction:column;gap:12px}.intro h1{margin:8px 0 9px}.room-meta{padding-left:8px;align-self:start;display:flex;align-items:center;flex-wrap:wrap;gap:5px 8px}.room-meta .eyebrow{margin:0}.room-meta strong{font-size:12px}.room-meta span{font-size:11px}.grid{grid-template-columns:1fr;gap:14px}.stage{height:clamp(280px,70vw,430px)}.viewport-tools,.viewport-foot{padding:8px}.viewport-actions{gap:1px}.viewport-foot .micro{font-size:10px;line-height:1.3}.inspector{padding:14px}.module-list{max-height:215px}.segments button,.quiet,.secondary,.remove{min-height:41px}.detail-actions button,.module-list button{min-height:44px}.view-note{bottom:9px;left:9px}.footer-layout{gap:13px}.footer-layout>a:last-child{margin-left:0}.incoming{align-items:flex-start;flex-direction:column}}
@media(max-width:380px){.frame{width:calc(100% - 23px)}.brand{letter-spacing:.1em;gap:7px;font-size:9px}.brand i{width:17px;height:17px}.brand i::after{inset:6px}nav{gap:7px}.room-open{padding-inline:6px}.viewport-actions button{font-size:11px;padding-inline:5px}.viewport-tools .segments button{padding-inline:7px}.viewport-tools .segments span{display:none}.below{gap:5px}.footer-layout .contact{gap:7px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

@media(max-width:440px){.header-layout{gap:9px;grid-template-columns:minmax(0,1fr) auto}.site .brand{font-size:10px;letter-spacing:.11em;gap:8px}.site nav{gap:8px;font-size:10.5px}}
.width-editor{min-width:0;margin:12px 0 14px;padding:0;border:0}.width-editor legend{font-weight:730;font-size:13px;padding:0;margin:0 0 6px}.width-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.width-options button{font:inherit;font-size:12px;font-weight:690;background:#fbf8f8;color:var(--plum);border:1px solid var(--edge);border-radius:8px;min-height:44px;padding:4px;white-space:nowrap}.width-options button[aria-pressed=true]{background:#eaddea;border-color:#966d94;color:#442d44;box-shadow:inset 0 0 0 1px #966d94}.width-options button[aria-disabled=true]{color:#786e76;background:#f0ecee;border-style:dashed}.width-editor .micro{font-size:11px;margin:6px 0 0}
.replace-search{font-weight:700;font-size:13px;display:grid;gap:5px;margin:12px 0}.replace-search input{width:100%;min-height:44px;border:1px solid var(--edge);border-radius:9px;background:white;padding:8px 12px;color:var(--ink);font:inherit}.replace-list{max-height:min(36vh,320px);overflow:auto;display:grid;gap:5px;padding:3px 5px 3px 3px}.replace-list button{display:grid;justify-items:start;gap:2px;text-align:left;border:1px solid var(--edge);background:#fcfaf9;color:var(--ink);min-height:48px;padding:8px 11px;border-radius:9px;cursor:pointer;font:inherit}.replace-list button small{font-size:12px;color:var(--mid)}.replace-list button[aria-pressed=true]{border-color:#966d94;background:#eee2ed}.replace-note{margin:12px 0;font-size:14px}.replace-note.is-warning{border:1px solid #d1ac76;background:#fff3df;color:#583d25;padding:9px 11px;border-radius:8px}.replace-dialog .primary{margin-top:4px}
.move-step{min-width:0;border:0;padding:0;margin:15px 0}.move-step legend{margin-bottom:7px;padding:0;font-size:13px;font-weight:740}.move-step-buttons,.move-step-buttons #vertical-steps{display:flex;flex-wrap:wrap;gap:6px}.move-step-buttons button{min-height:44px;padding-inline:12px}.move-step .micro{margin:8px 0 0}
.replace-list button{grid-template-columns:70px minmax(0,1fr);align-items:center;gap:11px;padding:5px 9px;min-height:64px}.replace-thumb{display:block;width:70px;height:59px;border-radius:7px;border:1px solid #e3dcda;background:radial-gradient(ellipse at 50% 25%,#fffaf4,#ece2da)}.replace-copy{display:grid;min-width:0;gap:2px}@media(max-width:420px){.replace-list button{grid-template-columns:57px minmax(0,1fr);gap:8px}.replace-thumb{width:57px;height:49px}}
.finish-dialog{max-height:calc(100dvh - 26px);overflow:auto}.finish-summary{display:grid;grid-template-columns:108px 1fr;gap:14px;align-items:center;margin:9px 0 13px}.finish-summary canvas{width:108px;height:65px;object-fit:contain;border:1px solid var(--edge);border-radius:8px;background:radial-gradient(ellipse at 50% 25%,#fffaf4,#e9ded7)}.finish-summary .micro{margin:0}.finish-field{min-width:0;padding:0;border:0;margin:0 0 12px}.finish-field legend{padding:0 0 5px;font-weight:730;font-size:13px}.finish-palette{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.finish-palette button{display:grid;align-content:start;gap:4px;background:#fbf8f8;border:1px solid var(--edge);border-radius:8px;padding:4px;text-align:left;color:var(--ink);font:inherit;font-size:10.5px;line-height:1.22;min-height:50px;min-width:0;cursor:pointer;overflow-wrap:anywhere}.finish-palette button[aria-pressed=true]{border-color:#8d6289;background:#f2e8f1;box-shadow:inset 0 0 0 1px #8d6289}.finish-chip{display:block;width:100%;height:22px;border-radius:4px;border:1px solid #43394c33;background-size:cover;background-position:center}

.compare-link{color:var(--plum);text-decoration:underline;text-underline-offset:3px}

.zoom-hint{display:none}
/* Desktop workspace: the canvas and primary controls stay put. */
.zoom-tools{position:absolute;z-index:1;bottom:12px;right:14px;display:flex;align-items:center;gap:2px;padding:3px;border:1px solid #e4d7df;border-radius:12px;background:#fffcf8;box-shadow:0 5px 20px #40243a1c;color:var(--plum)}
.zoom-tools button{border:0;border-radius:7px;background:transparent;min-width:42px;min-height:42px;font-weight:750;padding:3px 8px;line-height:1}
.zoom-tools button:hover:not(:disabled){background:var(--light)}
.zoom-tools #zoom-out,.zoom-tools #zoom-in{font-size:22px}
.zoom-tools #zoom-reset{min-width:57px;font-size:12px;font-variant-numeric:tabular-nums}
.inspector-scroll:focus-visible{outline:2px solid #a36498;outline-offset:1px;border-radius:6px}
@media(min-width:900px) and (min-height:580px){
 .zoom-hint{display:inline}
 .planner{height:100vh;height:100dvh;display:grid;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden}
 .planner .header-layout{height:54px}
 .planner main{min-height:0;display:flex;flex-direction:column}
 .planner .intro{align-items:center;padding:10px 0 12px}
 .planner .intro .eyebrow:has(.intro-tick){display:none}
 .planner .intro h1{font-size:clamp(34px,4.3vh,49px);margin:0 0 4px}
 .planner .intro p:not(.eyebrow){font-size:13px;margin:0}
 .planner .incoming{flex:none;padding:7px 12px;margin-bottom:8px}
 .planner .incoming .eyebrow{display:none}
 .planner .incoming h2{font-size:19px}
 .planner .grid{flex:1;min-height:0;align-items:stretch}
 .planner .viewport{display:grid;grid-template-rows:auto minmax(0,1fr) auto;min-height:0}
 .planner .stage{height:auto}
 .planner .viewport-tools,.planner .viewport-foot{padding:6px 11px}
 .planner .viewport-foot{min-height:0}
 .planner .inspector{display:grid;grid-template-rows:auto minmax(0,1fr) auto;min-height:0;padding:13px}
 .planner .inspector-head{margin-bottom:7px}
 .planner .inspector h2{font-size:30px}
 .planner .inspector-scroll{overflow:auto;overscroll-behavior:contain;min-height:0;padding:3px 7px 3px 3px;margin-left:-3px;scrollbar-width:thin;scrollbar-color:#c9b5c6 transparent}
 .planner .module-list{max-height:none;overflow:visible;margin:0;padding:0}
 .planner .inspector-bottom{border-top:1px solid var(--line);padding-top:7px}
 .planner .saved{margin-top:6px}
 .planner .below{align-items:center;padding-top:4px}
 .planner .status{margin:0}
 .planner .sample{margin:0;min-height:31px;padding-block:4px}
 .planner .smallprint{margin:1px 0 5px}
 .planner .footer-layout{min-height:32px;padding:5px 2px;font-size:10px}
 .planner .footer-layout .brand{font-size:9px;gap:8px}
 .planner .footer-layout .brand i{width:13px;height:13px}
 .planner .footer-layout .brand i::after{inset:5px}
}
@media(max-width:760px){.zoom-tools{right:8px;bottom:8px}.zoom-tools button{min-width:44px;min-height:44px}}
@media(max-width:760px){
 .viewport-foot{display:grid;grid-template-columns:minmax(0,1fr);gap:2px;padding:7px 9px}
 .viewport-actions{justify-content:space-between}
}

.move-distance{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}
.move-distance button{min-height:44px;min-width:0;padding-inline:4px}
@media(max-width:440px){.move-distance{grid-template-columns:repeat(3,minmax(0,1fr))}}
.move-step-buttons button[aria-pressed=true]{background:#e9d9e8;border-color:#93688f;box-shadow:inset 0 0 0 1px #93688f}
.move-summary{background:#f5edf2;border-radius:8px;padding:8px 10px}

.top-cab-label{pointer-events:none;fill:#46313f;text-anchor:middle;dominant-baseline:central}
.top-cab-size{font:750 var(--cab-fs)/1 var(--sans);paint-order:stroke;stroke:#fffaf2e0;stroke-width:2.4px;stroke-linejoin:round}
.top-cab-index{font:700 calc(var(--cab-fs) * .8)/1 var(--sans);fill:#523b4a;paint-order:stroke;stroke:#fffaf2c0;stroke-width:2px}
.top-cab-selected .top-cab-size{fill:#4f2349}

.catalog-drawer{position:fixed;inset:0 0 0 auto;margin:0;width:min(440px,100%);height:100dvh;max-height:none;border-radius:17px 0 0 17px;padding:18px;overflow:hidden}
.catalog-drawer[open]{display:flex;flex-direction:column}
.catalog-drawer::backdrop{background:#39293740;backdrop-filter:none}
.catalog-drawer .dialog-header{margin-bottom:7px}
.catalog-drawer .replace-search{margin:9px 0}
.catalog-groups{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:8px}
.catalog-groups button{background:#faf5f8;border-color:var(--line);min-height:37px;padding:6px 9px}
.catalog-groups button[aria-pressed=true]{background:var(--light);border-color:#9a7495}
.catalog-drawer .catalog-models{flex:1;min-height:0;max-height:none;align-content:start;overscroll-behavior:contain}
.catalog-drawer-foot{border-top:1px solid var(--line);padding-top:9px}
.catalog-drawer-foot .width-editor{margin:4px 0 7px}
.catalog-drawer-foot .width-options{grid-template-columns:repeat(auto-fit,minmax(68px,1fr))}
.catalog-drawer-foot .width-options button{border-color:var(--line)}
.catalog-drawer-foot .primary{width:100%;margin-top:8px;min-height:44px}
@media(max-width:450px){.catalog-drawer{border-radius:0;padding:12px}.catalog-drawer .dialog-header h2{font-size:30px}}

.trim-controls{flex:1;min-height:0;overflow:auto;display:flex;flex-direction:column;gap:9px;padding:3px}
.trim-types{width:100%}
.trim-types button{flex:1;min-height:42px}
#trim-targets{max-height:none;min-height:52px;overflow:auto;align-content:start}
#trim-targets button{grid-template-columns:1fr;gap:2px;min-height:48px}
#trim-sides{grid-template-columns:repeat(2,minmax(0,1fr));padding-bottom:3px}
#trim-sides button{border-color:var(--line)}
.catalog-confirm-row{display:flex;align-items:center;gap:8px}

.top-trim{pointer-events:none;fill:#75576d;stroke:#75576d;stroke-width:1;vector-effect:non-scaling-stroke}
.top-trim.plinth{fill:#634c5c66;stroke:#634c5c;stroke-width:.6;stroke-dasharray:3 2}

.top-trim.side{pointer-events:visiblePainted;cursor:pointer;stroke-width:2.3}
.top-trim.trim-chosen{stroke:#9d5596;fill:#bc83b3;stroke-width:3}
.trim-inspector{border-top:1px solid var(--line);margin:12px 0;padding-top:9px}
.trim-inspector h3{font-size:20px;margin-bottom:6px}
.trim-list{display:grid;gap:4px}
.trim-list button{text-align:left;white-space:normal;line-height:1.2;background:#f8f3f5}
.trim-list button[aria-pressed=true]{background:#eee0ed;border-color:#a780a4}
.trim-selection{background:#f7eff5;border-radius:8px;margin-top:6px;padding:7px}
.trim-selection .detail-actions{margin-top:4px}
#trim-palette [data-trim-decor="auto"]{grid-column:1/-1;min-height:40px;align-content:center;padding-inline:9px}
.top-trim.plinth{pointer-events:visiblePainted;cursor:pointer}.top-trim.plinth.trim-chosen{stroke:#ae649d;stroke-width:2.5}
