/* Keep the designer's element styles local to its three tabs and dialogs. */
#z12-page {
*{box-sizing:border-box}&{background:#f7f6f1;color:#26362f;font:16px "Segoe UI",Arial,sans-serif}.z12-content{max-width:1170px;margin:auto;padding:25px clamp(18px,4vw,55px) 65px}.z12-back{border-bottom:1px solid #cdd1c8;padding-bottom:16px;letter-spacing:.14em;font-weight:700}h1{font:normal clamp(34px,5vw,62px) Georgia,serif;margin:32px 0 10px}h2{font:normal 30px Georgia,serif;margin:.4em 0}p{line-height:1.55;max-width:62ch}nav{display:flex;gap:18px;margin:24px 0}button{font:inherit;color:inherit;cursor:pointer}nav button{border:0;border-bottom:2px solid transparent;background:none;padding:8px 0}nav button[aria-pressed=true]{border-color:#26362f;font-weight:bold}section{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}section button{border:0;background:transparent;text-align:left;padding:0}section img{display:block;width:100%;height:clamp(130px,20vw,225px);object-fit:contain;background:white;margin-bottom:8px}dialog{border:1px solid #c5cbc1;background:#fbfaf6;color:inherit;width:min(680px,95vw);max-height:92vh;padding:22px}dialog::backdrop{background:#1c251f99}dialog button{border:1px solid #68766b;background:none;padding:7px 12px}dialog img{width:100%;height:min(42vh,330px);object-fit:contain;background:white}.top{display:flex;align-items:center;justify-content:space-between;gap:12px}.actions{display:flex;gap:10px;flex-wrap:wrap}@media(max-width:620px){section{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}}

#detail #title, #grid button, #palette button, #referenceModel, #patternPreview figcaption,
#reference span, #roomTitle, #layoutTitle, #tileCounts, #quoteLines {
  font-family: Arial, "Segoe UI", sans-serif;
  font-variant-numeric: lining-nums tabular-nums;
  font-variant-caps: normal;
  text-transform: none;
}
#grid a{display:inline-block;color:#345240;margin-top:4px;text-underline-offset:3px;font-size:14px;padding:3px 0}
#productDetails{display:inline-flex;align-items:center;gap:5px;background:#2e4839;color:white;padding:8px 13px;text-decoration:none}
#grid>div{min-width:0}
#grid button{display:block;width:100%;overflow-wrap:anywhere}
[hidden]{display:none!important}nav{flex-wrap:wrap}.designer{display:block;margin-top:32px}.workbench{display:grid;grid-template-columns:minmax(0,1fr) 246px;gap:28px;align-items:start}.workbench h2{font-size:22px}.wall-head,.tray-head,.diy-tools,.wall-foot{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.wall-head,.tray-head,.wall-foot{justify-content:space-between}.wall-head{margin-bottom:12px}.wall-head label{font-size:13px}.wall-head select,.diy-tools button,.done-edit{padding:8px;background:#fff;border:1px solid #a9b0a5;border-radius:3px;font:inherit}.diy-tools button:disabled{opacity:.5}.diy-tools{margin-top:12px}.wall-foot{margin:12px 0;color:#526458;font-size:14px}.wall{position:relative;aspect-ratio:2;background:#ecebe3;border:1px solid #aab2a7;box-sizing:content-box}.wall button{position:absolute;margin:0;padding:0;background:none;border:0}.wall .spot{box-shadow:inset 0 0 0 .5px #bfc6ba}.wall .spot:hover,.wall .spot:focus-visible{background:#d5ded2}.wall .piece{overflow:hidden;background:#e0dfd7}.wall .piece[aria-pressed=true]{outline:3px solid #254e48;outline-offset:-3px;z-index:2}.wall .piece[aria-pressed=true]:after{content:'';position:absolute;inset:0;box-shadow:inset 0 0 0 3px #254e48}.wall .piece img{position:absolute;left:50%;top:50%;pointer-events:none}.tray{border-left:1px solid #cdd1c8;padding-left:22px}.tray-head{margin-bottom:8px}.palette{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}.palette button{border:1px solid transparent;padding:4px 2px;background:transparent;font-size:12px}.palette button[aria-pressed=true]{border-color:#466051;background:#e9eee4}.palette img{display:block;margin:0 auto 4px;width:24px;height:48px}.diy-status{min-height:2.5em;margin:8px 0;font-size:14px}.reference{display:flex;align-items:center;gap:12px}.reference img{width:90px;height:62px;object-fit:contain;background:#fff}.countline{font-size:13px;color:#506055}.designer button:focus-visible{outline:3px solid #1e5e80;outline-offset:1px}@media(max-width:760px){.workbench{grid-template-columns:1fr;gap:6px}.tray{border-left:0;border-top:1px solid #cdd1c8;padding:12px 0}.palette{grid-template-columns:repeat(5,1fr)}.diy-tools button{font-size:14px}.designer{margin-top:16px}}
.z12-content:has(.designer:not([hidden])){max-width:1460px;padding:19px clamp(16px,3vw,46px) 30px}
.z12-content:has(.designer:not([hidden])) .z12-back{font-size:12px;letter-spacing:.2em;padding-bottom:11px}
.z12-content:has(.designer:not([hidden])) h1{font-size:clamp(32px,3.5vw,52px);margin:18px 0 10px;letter-spacing:-.045em}
.z12-content:has(.designer:not([hidden]))>p{display:none}
.z12-content:has(.designer:not([hidden])) nav{border-bottom:1px solid #cbd0c6;margin:0;gap:24px;font-size:14px}
.designer{margin-top:18px}
.workbench{display:grid;grid-template-columns:minmax(0,var(--board-track,1.85fr)) minmax(275px,1fr);gap:clamp(14px,1.6vw,24px);align-items:start}
.board-column,.wall-examples{min-width:0;background:#fffefa;border:1px solid #d7dbd2;border-radius:10px;padding:clamp(12px,1.35vw,20px)}
.wall-head{margin:0 0 12px}.workbench h2{font-family:Georgia,serif;font-weight:400;font-size:clamp(22px,2vw,29px);margin:0;letter-spacing:-.025em}
.wall-head label{display:flex;align-items:center;gap:7px;color:#526254;font-size:12px}.wall-head select{border-radius:5px;font-size:13px}
.tray{padding:0;border:0;margin:0 0 14px}.tray-head{margin:0 0 5px}.tray-head h3{font-size:13px;font-weight:600;margin:0}
.palette{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:4px}
.palette button{display:grid;justify-items:center;align-content:center;gap:5px;min-width:0;padding:6px 1px;border:1px solid #dedfd7;border-radius:5px;background:#f6f5ef;color:#475148;font-size:clamp(10px,.9vw,12px)}
.palette button[aria-pressed=true]{background:#e7ede4;border-color:#465f50;box-shadow:inset 0 0 0 1px #465f50;color:#233f31}
.palette img{width:clamp(20px,2vw,32px);height:auto;aspect-ratio:1/2;margin:0}
.wall{box-sizing:content-box;background:#e7e6de;border-color:#bac2b5}.wall .spot{box-shadow:inset 0 0 0 .5px #c1c6b9}
.wall-foot{font-size:12px;margin:8px 0 12px}.diy-tools{gap:5px;margin:0;padding-top:10px;border-top:1px solid #e1e3db}.diy-tools button{padding:6px 10px;border-color:#cbd1c5;border-radius:4px;font-size:13px}.diy-status{margin:9px 0 0;min-height:1.5em;color:#536457;font-size:13px}
.countline:empty{display:none}
.rotation-help{max-width:none;margin:9px 0 0;color:#45594c;font-size:13px}
.diy-status:empty{display:none}
.tile-settings{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.choose-colour{display:inline-flex;align-items:center;gap:8px;border:1px solid #9aaa99;border-radius:4px;background:white;padding:7px 10px;text-align:left;font-size:13px}
.choose-colour small{display:block;color:#556657;font-size:11px}
.choose-colour img{width:26px;height:26px;object-fit:cover;border-radius:3px}
.felt-picker{width:min(760px,95vw);max-height:88vh}
.felt-picker[open]{display:flex;flex-direction:column;gap:12px}
.felt-picker h2,.felt-picker p{margin:0}.felt-picker p,.felt-picker label{font-size:13px}
.felt-picker .top{align-items:flex-start}.felt-picker .top p{color:#526254}
.swatch-filters{display:flex;gap:12px;flex-wrap:wrap}
.swatch-filters label{display:grid;gap:4px;flex:1 1 165px}
.swatch-filters input,.swatch-filters select{min-width:0;padding:7px;border:1px solid #b7beb3;border-radius:3px;font:inherit;background:white;color:inherit}
.swatch-options{display:grid;grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:10px;min-height:0;overflow:auto;padding:3px}
.swatch-options button{display:grid;align-content:start;gap:3px;border:1px solid #d8dcd3;padding:5px;background:#fffefa;text-align:left;font-size:13px}
.swatch-options button[aria-pressed=true]{outline:2px solid #375440;outline-offset:-2px}
.swatch-options img{width:100%;height:auto;aspect-ratio:1.55;object-fit:cover}
.swatch-options small{color:#516055}.picker-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.picker-foot button{font-size:13px}
.wall .piece img{inset:0;width:100%;height:100%}
.tile-anchor{position:absolute;inset:0 0 50%;display:grid;place-items:center;border:1px dashed #254e48;pointer-events:none}
.tile-anchor::after{content:'+';display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:#fffefa;color:#254e48;font:bold 16px/1 Arial}
.wall-examples{display:grid;grid-auto-rows:max-content;align-content:start;gap:12px}
.ref-head{display:flex;align-items:baseline;justify-content:space-between;gap:8px}.ref-head span{font-size:13px;font-weight:600;color:#46604e}
.pattern-pair{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,3fr);gap:10px;align-items:start}
.wall-examples figure{min-width:0;margin:0}.wall-examples figcaption{font-size:12px;margin:0 0 5px;color:#526254}
.pattern-preview img,.repeat-view img{display:block;width:100%;height:auto;aspect-ratio:1/2}
.repeat-view{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));overflow:hidden}
.repeat-view img{outline:1px solid #0002;outline-offset:-1px}
.tile-example{border-top:1px solid #daded5;padding-top:10px}
.tile-example figcaption{display:flex;align-items:center;justify-content:space-between;gap:6px}
.layout-link{flex:none;background:transparent;border:0;border-bottom:1px solid currentColor;padding:2px 0;color:#284b39;font-size:13px}
#enlargeExample{position:relative;display:block;width:100%;padding:0;border:0;background:#f1f0ea}
.tile-example img{display:block;width:100%;height:auto}
#enlargeExample span{position:absolute;bottom:8px;right:8px;background:#fffefb;color:#25352f;padding:5px 9px;border-radius:3px;font-size:12px}
#roomDetail img{height:auto;max-height:68vh}
.layout-dialog{width:min(510px,95vw);border-radius:8px}
.layout-dialog h2{margin:0}.layout-dialog p,.layout-dialog label{font-size:14px}
.layout-preview{display:grid;margin:14px 0;overflow:hidden}
.layout-preview img{display:block;width:100%;height:auto;aspect-ratio:1/2;outline:1px solid #0002;outline-offset:-1px}
.layout-dialog fieldset{border:0;padding:0;margin:14px 0}.layout-dialog label{display:inline-flex;gap:3px;align-items:center;margin:4px 12px 0 0}
.layout-dialog legend{font-size:14px;font-weight:600}.layout-dialog input{accent-color:#325543}
.apply-layout{background:#2e4839;color:#fff;border:0;border-radius:4px;padding:9px 15px}
.wall-order{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.wall-order button{font-size:13px}.apply-layout:disabled{opacity:.48;cursor:default}
.quote-dialog{width:min(850px,95vw);border-radius:8px}.quote-dialog h2{margin:0}
.quote-overview{background:#edf0e8;border-radius:5px;padding:12px 16px;margin:16px 0 22px}
.quote-overview p{margin:0 0 4px}.quote-overview ul{margin:0;padding-left:20px;font-size:14px}
.quote-dialog .ff-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 18px}
.quote-dialog .ff-field{display:grid;gap:4px;font-size:14px}.quote-dialog .ff-full{grid-column:1/-1}
.quote-dialog .ff-field :is(input,select,textarea){width:100%;min-width:0;background:#fffefa;color:inherit;border:1px solid #b9c0b5;border-radius:3px;padding:8px;font:inherit}
.quote-dialog .ff-small{font-size:13px;margin:0}.quote-dialog .quote-preview-note{font-size:13px;margin:14px 0 0}
@media(max-width:580px){.quote-dialog .ff-form-grid{grid-template-columns:1fr}}
@media(min-width:1050px){.z12-content:has(.designer:not([hidden])){display:flow-root}.z12-content:has(.designer:not([hidden])) h1{display:inline-block}.z12-content:has(.designer:not([hidden])) nav{float:right;margin:21px 0 0;border:0}.designer{clear:both;margin-top:8px}}
@media(min-width:881px) and (max-width:1100px){.workbench{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr)}}
@media(min-width:651px) and (max-width:880px){.workbench{grid-template-columns:minmax(0,1.08fr) minmax(215px,1fr)}.palette{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:650px){.workbench{grid-template-columns:1fr}.palette{grid-template-columns:repeat(5,minmax(0,1fr))}.wall-head label{gap:3px}.designer{margin-top:12px}.wall-head select{padding:5px}}

.z12-back a{color:inherit;text-decoration:none} .z12-back{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:12px} .z12-back .back{font-size:14px;font-weight:400;letter-spacing:0;text-decoration:underline} #quoteMessage:empty{display:none}
#palette {grid-template-columns:repeat(9,minmax(0,1fr))}
#palette button span {white-space:nowrap}
#palette button strong {color:#a32724;font-weight:700}
#palette button[data-size="SM"] img,#patternPreview[data-size="SM"] img,
#repeatView[data-size="SM"] img,#layoutPreview[data-size="SM"] img {aspect-ratio:1;object-fit:cover}
.wall .piece[data-size="SM"] img {object-fit:cover}
.wall .piece[data-size="SM"] .tile-anchor {inset:0}
@media(max-width:760px){#palette {grid-template-columns:repeat(9,minmax(66px,1fr));overflow-x:auto;padding:2px 1px 5px}.tray{min-width:0}}

.room-gallery{position:relative}
.room-gallery .room-step{position:absolute;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:38px;height:38px;padding:0;border:1px solid #c5ccc3;border-radius:50%;background:#fffefa;color:#25352f;font:26px/1 sans-serif}
.room-step.prev{left:8px}.room-step.next{right:8px}
.room-gallery .room-index{position:absolute;bottom:8px;left:8px;padding:3px 8px;border-radius:3px;background:#fffefa;color:#25352f;font-size:12px;pointer-events:none}
.room-gallery [hidden]{display:none}

}


#z12-page .wall-size-form {display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px}
#z12-page .wall-size-form label {display:inline-flex;align-items:center;gap:4px}
#z12-page .wall-size-form input {width:7ch;box-sizing:content-box;font:inherit;color:inherit;background:white;border:1px solid #a9b0a5;border-radius:4px;padding:7px}
#z12-page .wall-size-form button {border:1px solid #a9b0a5;border-radius:4px;padding:7px 10px;background:#fff}
#z12-page .wall {background:repeating-linear-gradient(135deg,#f2f0e9 0 4px,#d6d4cb 4px 5px)}
#z12-page .wall .spot {background:#e7e6de}
#z12-page .wall .spot:is(:hover,:focus-visible) {background:#d5ded2}
#z12-page #wallEdgeNote {display:block;margin-top:6px;color:#526254}

#z12-page #layoutPreview {position:relative}
#z12-page .wall-offcut {position:absolute;z-index:3;background:repeating-linear-gradient(135deg,rgba(251,248,241,.58) 0 5px,rgba(95,65,60,.26) 5px 6px);cursor:default}
#z12-page .cut-right {inset:0 0 0 auto;border-left:2px dashed #b72227}
#z12-page .cut-bottom {inset:auto 0 0;border-top:2px dashed #b72227}

#z12-page #wallSizeReminder {width:min(400px,calc(100% - 32px));margin:auto;padding:24px;border-radius:8px}
#z12-page #wallSizeReminder h2 {margin:0 0 10px;font-size:24px}
#z12-page #wallSizeReminder p {margin:0 0 18px}
#z12-page #wallSizeReminder button {background:#2e4839;color:white;border:0;border-radius:4px;padding:8px 16px}
#z12-page .wall .wall-start {position:absolute;inset:0;width:100%;height:100%;background:transparent;cursor:pointer}
