:root {
  --red: #e4322f;
  --red-dark: #bd2422;
  --ink: #161819;
  --muted: #6d7377;
  --line: #dfe2e3;
  --panel: #f3f4f4;
  --white: #fff;
  --shadow: 0 18px 55px rgba(13, 17, 19, .16);
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { font-family: Inter, system-ui, sans-serif; color: var(--ink); background: #e9ebec; font-size: 16px; }
button, input { font: inherit; }
button { cursor: pointer; }
svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.topbar { height: 72px; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; }
.brand { display: flex; flex: 0 0 auto; align-items: center; gap: 15px; text-decoration: none; color: var(--ink); }
.brand img { width: 154px; height: auto; display: block; }
.swissdeck-logo { height: auto !important; max-width: none; object-fit: contain; flex: 0 0 auto; }
.brand span { font: 700 18px/1 Barlow Condensed, sans-serif; letter-spacing: .09em; padding-left: 15px; border-left: 1px solid #c8ccce; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.new-design-button svg, .header-order-button svg { display: none; }
.language-picker { height: 38px; display: flex; align-items: center; gap: 7px; padding: 0 9px; border: 1px solid var(--line); border-radius: 4px; background: #fff; }
.language-picker span { color: #747a7d; font: 700 10px/1 Barlow Condensed, sans-serif; letter-spacing: .08em; }
.language-picker select { border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 13px; font-weight: 700; cursor: pointer; }
.demo-badge, .eyebrow { font: 700 13px/1 Barlow Condensed, sans-serif; letter-spacing: .12em; }
.demo-badge { color: #696f72; margin-right: 8px; }
.icon-button, .tool-button, .close-button { display: inline-grid; place-items: center; border: 0; background: transparent; color: var(--ink); }
.icon-button { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 4px; }
.icon-button:disabled { opacity: .35; cursor: not-allowed; }
.save-design-button { min-height: 40px; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.save-design-button svg { width: 18px; height: 18px; }
.save-design-button:disabled { opacity: .45; cursor: not-allowed; }
.primary, .secondary { min-height: 46px; border-radius: 3px; padding: 0 22px; font-weight: 700; border: 1px solid transparent; }
.primary { color: #fff; background: var(--red); box-shadow: 0 7px 18px rgba(228,50,47,.22); }
.primary:hover { background: var(--red-dark); }
.primary:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.primary.compact { min-height: 44px; }
.secondary { background: #fff; border-color: var(--line); color: var(--ink); }
.secondary.compact { min-height: 40px; padding: 0 13px; font-size: 12px; }
.new-design-button { white-space: nowrap; }
.app-shell { min-height: calc(100vh - 72px); display: grid; grid-template-columns: 360px minmax(0, 1fr); }
.control-panel { background: #fff; border-right: 1px solid var(--line); height: calc(100vh - 72px); overflow-y: auto; overflow-anchor: none; position: sticky; top: 72px; display: flex; flex-direction: column; z-index: 12; }
.panel-section { padding: 22px 25px; border-bottom: 1px solid var(--line); }
.panel-section.first { padding-top: 24px; }
.panel-section.step-current { box-shadow: inset 4px 0 0 var(--red); }
.panel-section.workflow-active { box-shadow: inset 4px 0 0 var(--red); }
.panel-section.workflow-collapsed:not(.workflow-ready) > :not(.section-heading) { display: none !important; }
.workflow-content { display: grid; grid-template-rows: 1fr; opacity: 1; transition: grid-template-rows .34s cubic-bezier(.22,.75,.25,1), opacity .22s ease; }
.workflow-content-inner { min-height: 0; overflow: hidden; }
.panel-section.workflow-expanded .workflow-content-inner { overflow: visible; }
.panel-section.workflow-collapsed .workflow-content { grid-template-rows: 0fr; opacity: 0; pointer-events: none; }
.panel-section.workflow-collapsed .section-heading { margin-bottom: 0; }
.panel-section.step-complete .step { color: #fff; background: var(--ink); }
.step-continue { width: 100%; min-height: 42px; margin-top: 12px; border: 0; border-radius: 3px; color: #fff; background: var(--red); font-size: 13px; font-weight: 700; box-shadow: 0 5px 13px rgba(228,50,47,.18); }
.step-continue:hover { background: var(--red-dark); }
.section-heading { display: grid; grid-template-columns: 36px minmax(0,1fr) 28px; gap: 10px; margin-bottom: 17px; cursor: pointer; transition: margin-bottom .34s cubic-bezier(.22,.75,.25,1); }
.section-heading::after { content: '+'; width: 28px; height: 28px; display: grid; place-items: center; align-self: center; border: 1px solid var(--line); border-radius: 50%; color: #60676a; background: #fff; font-size: 18px; font-weight: 500; line-height: 1; transition: color .2s ease, border-color .2s ease, background .2s ease; }
.panel-section.workflow-active .section-heading::after { content: '\2212'; color: var(--red); border-color: #efb2b0; background: #fff8f7; }
.section-heading:focus-visible { outline: 3px solid rgba(228,50,47,.22); outline-offset: 3px; }
.step { width: 30px; height: 30px; display: grid; place-items: center; color: var(--red); background: #fff0ef; font: 700 14px/1 Barlow Condensed, sans-serif; border-radius: 50%; }
.section-heading h2 { font: 700 21px/1 Barlow Condensed, sans-serif; text-transform: uppercase; letter-spacing: .03em; margin: 0 0 5px; }
.section-heading p { margin: 0; color: var(--muted); font-size: 13px; }
.measure-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dimension-method-title { margin: 0 0 9px; color: #4e5558; font-size: 13px; font-weight: 750; }
.dimension-choice-divider { height: 25px; display: flex; align-items: center; gap: 9px; margin: 5px 0 3px; color: #858b8e; font: 700 10px/1 Barlow Condensed,sans-serif; letter-spacing: .11em; }
.dimension-choice-divider::before, .dimension-choice-divider::after { content: ''; height: 1px; flex: 1; background: var(--line); }
.measure-grid label { color: var(--muted); font-size: 13px; font-weight: 600; }
.measure-grid label span { display: flex; align-items: center; gap: 6px; margin-top: 7px; border: 1px solid #cdd1d3; border-radius: 3px; padding: 0 10px; background: #fff; color: var(--muted); }
.measure-grid input { width: 100%; height: 42px; min-width: 0; border: 0; outline: 0; color: var(--ink); font-size: 16px; font-weight: 700; background: transparent; }
.dimension-unit-suffix { font-style: normal; }
.measure-grid label span:focus-within { border-color: var(--red); box-shadow: 0 0 0 3px rgba(228,50,47,.1); }
.dimension-unit-toggle { margin: 0 0 10px; display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 12px; font-weight: 700; }
.dimension-unit-toggle[hidden] { display: none; }
.dimension-unit-toggle > div { display: grid; grid-template-columns: 1fr 1fr; padding: 2px; border: 1px solid var(--line); border-radius: 99px; background: #eef0f1; }
.dimension-unit-toggle button { min-width: 72px; min-height: 30px; padding: 4px 10px; border: 0; border-radius: 99px; color: #62686b; background: transparent; font-size: 12px; font-weight: 700; }
.dimension-unit-toggle button.active { color: #fff; background: var(--red); box-shadow: 0 2px 5px rgba(15,19,20,.16); }
.dimension-unit-toggle button:focus-visible { outline: 3px solid rgba(228,50,47,.22); outline-offset: 2px; }
.presets { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; margin-top: 10px; }
.preset-picker > summary { min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 8px; cursor: pointer; color: var(--ink); font-size: 12px; font-weight: 700; list-style: none; }
.preset-picker > summary::-webkit-details-marker { display: none; }
.preset-picker > summary::after { content: '+'; color: var(--red); font-size: 19px; font-weight: 500; }
.preset-picker[open] > summary::after { content: '−'; }
.preset-picker > summary:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.presets button { min-height: 34px; padding: 5px 6px; border: 1px solid var(--line); color: #5f6468; background: #fff; font-size: 12px; font-weight: 600; border-radius: 3px; }
.presets button.active { border-color: var(--red); color: var(--red); background: #fff8f7; }
.product-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.product-tab { min-width: 0; display: grid; grid-template-columns: 58px 1fr; align-items: center; text-align: left; gap: 8px; padding: 7px; background: #fff; border: 1px solid var(--line); border-radius: 3px; }
.product-tab img { width: 58px; height: 58px; display: block; object-fit: contain; border-radius: 2px; }
.product-tab strong { font-size: 12px; line-height: 1.15; }
.product-tab.active { border-color: var(--red); box-shadow: inset 3px 0 0 var(--red); background: #fff9f8; }
.swatches { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.swatch { aspect-ratio: 1; border-radius: 50%; border: 2px solid #fff; outline: 1px solid #bfc4c7; position: relative; background: var(--swatch-color); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22), 0 1px 2px rgba(17,20,22,.12); }
.swatch.active { outline: 3px solid var(--ink); outline-offset: 2px; }
.swatch.active::after { content: '✓'; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-weight: 800; text-shadow: 0 1px 3px rgba(0,0,0,.6); }
.selected-color-name { margin: 9px 0 0; color: #747a7d; font-size: 12px; }
.selected-color-name strong { color: var(--ink); }
.paint-tools { display: grid; grid-template-columns: 1fr; gap: 6px; margin-top: 17px; }
.paint-tools button { min-height: 58px; padding: 7px 4px; display: grid; justify-items: center; align-content: center; gap: 4px; border: 1px solid var(--line); background: #fff; border-radius: 3px; font-size: 11px; font-weight: 600; color: #555b5e; }
.paint-tools button.active { color: var(--red); border-color: var(--red); background: #fff7f6; }
.paint-tools .wide-tool { grid-column: 1 / -1; min-height: 44px; grid-auto-flow: column; }
.live-choice-note { margin: 9px 0 12px; color: #666c6f; font-size: 12px; line-height: 1.4; }
.manual-editor { margin-top: 12px; border: 1px solid var(--line); border-radius: 3px; background: #fff; }
.manual-editor-first { margin-top: 0; border-color: #c9cdcf; box-shadow: 0 4px 12px rgba(15,19,20,.05); }
.manual-editor-first summary { min-height: 48px; font-size: 13px; }
.choice-divider { margin-top: 20px; padding-top: 15px; border-top: 1px solid var(--line); }
.manual-editor summary { min-height: 43px; padding: 0 12px; display: flex; align-items: center; justify-content: space-between; gap: 8px; cursor: pointer; color: var(--ink); font-size: 12px; font-weight: 700; list-style: none; }
.manual-editor summary::-webkit-details-marker { display: none; }
.manual-editor summary::after { content: '+'; color: var(--red); font-size: 19px; font-weight: 500; }
.manual-editor[open] summary::after { content: '−'; }
.manual-editor summary span { padding: 3px 6px; border-radius: 10px; color: #666c6f; background: #eef0f1; font-size: 9px; text-transform: uppercase; letter-spacing: .07em; }
.manual-editor-content { padding: 0 12px 12px; border-top: 1px solid var(--line); }
.manual-floor-instruction { margin: 12px 0 0; color: #656c70; font-size: 13px; line-height: 1.45; }
.manual-floor-cta { display: none; }
.sub-label { display: block; margin: 18px 0 9px; color: #7a8083; font: 700 11px/1 Barlow Condensed, sans-serif; letter-spacing: .11em; }
.pattern-colors { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-bottom: 9px; }
.pattern-colors.single-color { grid-template-columns: 1fr; }
.pattern-colors.three-colors { grid-template-columns: repeat(3,minmax(0,1fr)); }
.pattern-colors label { min-width: 0; padding: 8px; border: 1px solid var(--line); border-radius: 3px; background: #fff; }
.pattern-colors label span { display: flex; align-items: center; gap: 5px; margin-bottom: 5px; color: #747a7d; font-size: 10px; font-weight: 650; }
.pattern-colors label span b { font: inherit; }
.pattern-colors label > span i { width: 10px; height: 10px; border-radius: 50%; background: var(--dot); border: 1px solid rgba(0,0,0,.16); }
.pattern-colors select { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 12px; font-weight: 650; }
.motif-color-picker { position: relative; }
.motif-color-picker summary { min-height: 28px; display: flex; align-items: center; gap: 8px; cursor: pointer; list-style: none; color: var(--ink); }
.motif-color-picker summary::-webkit-details-marker { display: none; }
.motif-color-picker summary::after { content: '⌄'; margin-left: auto; color: #61676a; font-size: 15px; }
.motif-color-picker[open] summary::after { content: '⌃'; }
.motif-color-picker summary i, .motif-color-menu button i { flex: 0 0 auto; width: 14px; height: 14px; border-radius: 50%; background: var(--choice-color); border: 1px solid rgba(0,0,0,.2); box-shadow: inset 0 1px 1px rgba(255,255,255,.25); }
.motif-color-picker summary strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.motif-color-menu { position: absolute; top: calc(100% + 6px); left: -9px; right: -9px; z-index: 45; max-height: 248px; overflow-y: auto; padding: 5px; border: 1px solid #bfc4c7; border-radius: 3px; background: #fff; box-shadow: 0 14px 34px rgba(15,19,20,.2); }
.motif-color-menu button { width: 100%; min-height: 34px; padding: 5px 7px; display: flex; align-items: center; gap: 8px; border: 0; border-radius: 2px; background: #fff; color: var(--ink); text-align: left; font-size: 12px; }
.motif-color-menu button:hover, .motif-color-menu button.active { background: #eef0f1; }
.motif-color-menu button.active { font-weight: 700; box-shadow: inset 3px 0 0 var(--red); }
.pattern-picker { margin-bottom: 10px; }
.pattern-picker > summary { min-height: 48px; font-size: 13px; }
.pattern-picker .manual-editor-content { padding-top: 10px; }
.pattern-color-options[hidden] { display: none; }
.pattern-color-options > .sub-label { margin-top: 15px; }
.pattern-select { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 6px; }
.pattern-select button { min-width: 0; min-height: 66px; padding: 5px; border: 1px solid var(--line); border-radius: 3px; background: #fff; color: #61676a; font-size: 10px; line-height: 1.15; font-weight: 600; }
.pattern-select button.active { border-color: var(--red); color: var(--red); background: #fff8f7; }
.pattern-preview { height: 34px; display: grid; overflow: hidden; margin-bottom: 5px; border: 1px solid rgba(0,0,0,.13); background: #eef0f1; }
.pattern-preview b { min-width: 0; min-height: 0; display: block; box-shadow: inset -1px -1px rgba(0,0,0,.09); }
.pattern-preview.plain { background: var(--p1, #287eb5); }
.pattern-preview.frame { background: linear-gradient(var(--p2, #c43b31) 0 5px, transparent 5px calc(100% - 5px), var(--p2, #c43b31) calc(100% - 5px)), linear-gradient(90deg,var(--p2, #c43b31) 0 5px,var(--p1, #287eb5) 5px calc(100% - 5px),var(--p2, #c43b31) calc(100% - 5px)); }
.pattern-preview.checker { background-color: var(--p1, #287eb5); background-image: linear-gradient(45deg,var(--p2, #c43b31) 25%,transparent 25%,transparent 75%,var(--p2, #c43b31) 75%),linear-gradient(45deg,var(--p2, #c43b31) 25%,transparent 25%,transparent 75%,var(--p2, #c43b31) 75%); background-position: 0 0,6px 6px; background-size:12px 12px; }
.pattern-preview.frame-outside { background: linear-gradient(to bottom,transparent 0 calc(100% - 5px),var(--p2, #c43b31) calc(100% - 5px)),linear-gradient(90deg,var(--p2, #c43b31) 0 5px,var(--p1, #287eb5) 5px calc(100% - 5px),var(--p2, #c43b31) calc(100% - 5px)); }
.pattern-preview.frame-inside { background: linear-gradient(var(--p2, #c43b31),var(--p2, #c43b31)) left 5px bottom 5px/calc(100% - 10px) 5px no-repeat,linear-gradient(var(--p2, #c43b31),var(--p2, #c43b31)) left 5px top/5px calc(100% - 5px) no-repeat,linear-gradient(var(--p2, #c43b31),var(--p2, #c43b31)) right 5px top/5px calc(100% - 5px) no-repeat,var(--p1, #287eb5); }
.pattern-preview.racing { background: repeating-linear-gradient(135deg,var(--p1, #287eb5) 0 8px,var(--p2, #c43b31) 8px 12px,var(--p1, #287eb5) 12px 20px); }
.finish-section { background: #fafafa; }
.panel-section.is-disabled { opacity: .48; pointer-events: none; }
.finish-pattern { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px; }
.finish-pattern button { min-width: 0; min-height: 72px; padding: 9px; display: grid; grid-template-columns: 48px minmax(0,1fr); align-items: center; gap: 9px; border: 1px solid var(--line); border-radius: 4px; background: #fff; color: #5e6467; text-align: left; transition: border-color .16s, background .16s, box-shadow .16s; }
.finish-pattern button:hover { border-color: #aeb4b7; background: #fafafa; }
.finish-pattern button.active { border-color: var(--red); color: var(--ink); background: #fff8f7; box-shadow: inset 0 0 0 1px var(--red); }
.finish-pattern-preview { width: 48px; height: 30px; padding: 4px; display: grid; grid-template-columns: repeat(4,1fr); gap: 2px; align-items: end; border-radius: 3px; background: #5f6568; box-shadow: inset 0 0 0 1px rgba(0,0,0,.16); }
.finish-pattern-preview span { height: 7px; display: block; border-radius: 1px; background: var(--finish-primary,var(--red)); box-shadow: inset 0 1px rgba(255,255,255,.28); }
.finish-pattern-preview.alternate span:nth-child(even) { background: var(--finish-secondary,#287eb5); }
.finish-pattern-copy { min-width: 0; display: grid; gap: 3px; }
.finish-pattern-copy strong { font-size: 11px; line-height: 1.2; }
.finish-pattern-copy small { color: #777d80; font-size: 8px; line-height: 1.25; }
.finish-colors { margin-top: 7px; }
.finish-colors.single-color { grid-template-columns: 1fr 1fr; }
.finish-color-step[hidden] { display: none; }
.finish-color-step { margin: 4px 0 17px; }
.finish-swatch-group { margin-top: 12px; }
.finish-swatch-group[hidden] { display: none; }
.finish-swatches { margin-top: 8px; }
.finish-swatches .swatch { min-width: 0; }
.finish-mode { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 14px; }
.finish-mode button { min-height: 38px; display: flex; align-items: center; justify-content: center; gap: 5px; border: 1px solid var(--line); border-radius: 3px; background: #fff; color: #5e6467; font-size: 11px; font-weight: 650; }
.finish-mode button.active { border-color: var(--red); color: var(--red); background: #fff8f7; }
.finish-mode svg { width: 16px; height: 16px; }
.finish-manual { margin-top: 12px; }
.finish-manual .manual-editor-content > .sub-label:first-child { margin-top: 14px; }
.manual-finish-colors { grid-template-columns: 1fr; margin-bottom: 8px; }
.manual-color-note { margin: 0 0 9px; color: #747a7d; font-size: 11px; line-height: 1.4; }
.edge-picker { width: 164px; margin: 0 auto 14px; display: grid; grid-template-columns: 34px 88px 34px; grid-template-rows: 26px 52px 26px; gap: 4px; align-items: stretch; }
.edge-picker button { border: 1px solid #cfd3d5; border-radius: 3px; background: #fff; color: #666c6f; font-size: 10px; font-weight: 700; padding: 0; }
.edge-picker button.active { color: #fff; border-color: rgba(0,0,0,.38); background: var(--edge-choice, var(--red)); box-shadow: 0 3px 9px rgba(0,0,0,.18); text-shadow: 0 1px 3px rgba(0,0,0,.72); }
.edge-top-choice { grid-column: 2; grid-row: 1; }
.edge-left-choice { grid-column: 1; grid-row: 2; }
.edge-right-choice { grid-column: 3; grid-row: 2; }
.edge-bottom-choice { grid-column: 2; grid-row: 3; }
.edge-floor-icon { grid-column: 2; grid-row: 2; display: grid; place-items: center; background: #5f6568; color: #fff; font: 700 11px/1 Barlow Condensed, sans-serif; letter-spacing: .08em; box-shadow: inset 0 0 0 3px #4d5255; }
.edge-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.edge-actions button { min-width: 0; min-height: 72px; padding: 7px 4px; display: grid; justify-items: center; align-content: center; gap: 4px; border: 1px solid var(--line); border-radius: 3px; background: #fff; color: #555b5e; font-size: 10px; }
.edge-actions button strong { font-size: 10px; }
.edge-actions button small { min-height: 18px; font-size: 8px; line-height: 1.15; }
.edge-actions button.active { border-color: var(--red); color: var(--red); background: #fff8f7; }
.edge-action-preview { width: 44px; height: 28px; display: block; background: #666c6f; }
.edge-preview-three { border-right: 4px solid var(--finish-primary, var(--red)); border-bottom: 4px solid var(--finish-primary, var(--red)); border-left: 4px solid var(--finish-primary, var(--red)); }
.edge-preview-all { border: 4px solid var(--finish-primary, var(--red)); }
.edge-preview-none { border: 1px dashed #aeb3b5; background: #666c6f; }
.edge-preview-bottom { border-bottom: 4px solid var(--finish-primary, var(--red)); }
.mobile-progress, .mobile-live-preview, .mobile-editor-toolbar, .mobile-color-backdrop { display: none; }
.mobile-edit-toggle { display: none; }
.mobile-editor-close { display: none; }
.corner-note { margin: 11px 0 0; color: #777d80; font-size: 11px; line-height: 1.4; }
.corner-note span { color: var(--red); font-size: 16px; font-weight: 700; }
.panel-footer { margin-top: auto; padding: 16px 25px; display: flex; justify-content: space-between; gap: 10px; background: var(--ink); color: #fff; font-size: 12px; }
.panel-footer strong { color: #fff; }
.workspace { min-width: 0; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; background: #e9ebec; }
.workspace-head { min-height: 87px; padding: 16px 30px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.eyebrow { color: var(--red); }
.workspace-head h1 { margin: 5px 0 0; font: 700 25px/1.1 Barlow Condensed, sans-serif; letter-spacing: .02em; }
.workspace-actions { display: flex; align-items: center; gap: 4px; color: #505659; }
.workspace-actions .divider { width: 1px; height: 24px; background: #c9cdcf; margin: 0 8px; }
.workspace-actions > span:not(.divider) { width: 44px; text-align: center; font-size: 12px; font-weight: 600; }
.tool-button { width: 38px; height: 38px; border-radius: 3px; }
.tool-button:hover { background: #fff; }
.tool-button:disabled { opacity: .3; cursor: default; }
.canvas-stage { min-height: 410px; margin: 0 30px; background-color: #d5d8da; background-image: radial-gradient(#b8bdc0 1px, transparent 1px); background-size: 20px 20px; border: 1px solid #c8ccce; position: relative; overflow: auto; display: flex; align-items: flex-start; justify-content: flex-start; padding: 54px 120px 62px; }
.product-prompt { position: absolute; inset: 0; z-index: 10; display: grid; place-content: center; justify-items: center; gap: 7px; padding: 24px; text-align: center; background: rgba(229,232,233,.9); backdrop-filter: blur(2px); color: #52585b; }
.product-prompt strong { color: var(--ink); font: 700 26px/1 Barlow Condensed, sans-serif; text-transform: uppercase; }
.product-prompt span { font-size: 13px; }
.product-prompt.hidden { display: none; }
.floor-wrap { flex: none; margin: 0; box-shadow: var(--shadow); background: #333; line-height: 0; touch-action: none; position: relative; }
@supports (align-items: safe center) {
  .canvas-stage { align-items: safe center; justify-content: safe center; }
}
.floor-grid { display: grid; user-select: none; -webkit-user-select: none; touch-action: none; }
.edge-run { --edge-depth: max(2px, calc(var(--cell) * .165)); display: none; position: absolute; z-index: 4; }
.edge-run.active { display: grid; }
.edge-run button { display: block; padding: 0; position: relative; overflow: hidden; background: linear-gradient(90deg,color-mix(in srgb,var(--finish-color) 75%,white),var(--finish-color)); border: 1px solid color-mix(in srgb,var(--finish-color) 65%,black); box-shadow: inset 0 2px 2px rgba(255,255,255,.22); cursor: pointer; }
.finish-texture { width: var(--cell); height: var(--edge-depth); display: block; position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); transform-origin: center; background-image: var(--finish-image); background-size: 100% 606%; background-position: top center; background-repeat: no-repeat; pointer-events: none; }
.edge-run button.edge-empty { opacity: .24; background: transparent; border-style: dashed; border-color: #5f6568; box-shadow: none; }
.edge-run button.edge-empty .finish-texture { display: none; }
.edge-top, .edge-bottom { left: 0; width: 100%; grid-template-columns: repeat(var(--edge-count), var(--cell)); }
.edge-top { top: calc(0px - var(--edge-depth) - 1px); }
.edge-bottom { bottom: calc(0px - var(--edge-depth) - 1px); }
.edge-top button, .edge-bottom button { width: var(--cell); height: var(--edge-depth); }
.edge-top button { border-radius: 3px 3px 0 0; }
.edge-bottom button { border-radius: 0 0 3px 3px; }
.edge-top .finish-texture { transform: translate(-50%,-50%); }
.edge-bottom .finish-texture { transform: translate(-50%,-50%) rotate(180deg); }
.edge-left, .edge-right { top: 0; height: 100%; grid-template-rows: repeat(var(--edge-count), var(--cell)); }
.edge-left { left: calc(0px - var(--edge-depth) - 1px); }
.edge-right { right: calc(0px - var(--edge-depth) - 1px); }
.edge-left button, .edge-right button { width: var(--edge-depth); height: var(--cell); }
.edge-left button { border-radius: 3px 0 0 3px; }
.edge-right button { border-radius: 0 3px 3px 0; }
.edge-left .finish-texture { transform: translate(-50%,-50%) rotate(-90deg); }
.edge-right .finish-texture { transform: translate(-50%,-50%) rotate(90deg); }
.corner-piece { --edge-depth: max(2px, calc(var(--cell) * .165)); display: none; position: absolute; z-index: 6; width: var(--edge-depth); height: var(--edge-depth); padding: 0; overflow: hidden; background: var(--finish-color, var(--red)); border: 1px solid color-mix(in srgb,var(--finish-color, var(--red)) 65%,black); box-shadow: inset 0 2px 2px rgba(255,255,255,.25); cursor: pointer; }
.corner-piece::before { content: ''; position: absolute; inset: 0; background-image: var(--finish-image); background-size: 606% 606%; background-position: top right; background-repeat: no-repeat; transform-origin: center; pointer-events: none; }
.corner-piece.active { display: block; }
.corner-tl { left: calc(0px - var(--edge-depth) - 1px); top: calc(0px - var(--edge-depth) - 1px); border-radius: 5px 1px 1px 1px; }
.corner-tr { right: calc(0px - var(--edge-depth) - 1px); top: calc(0px - var(--edge-depth) - 1px); border-radius: 1px 5px 1px 1px; }
.corner-br { right: calc(0px - var(--edge-depth) - 1px); bottom: calc(0px - var(--edge-depth) - 1px); border-radius: 1px 1px 5px 1px; }
.corner-bl { left: calc(0px - var(--edge-depth) - 1px); bottom: calc(0px - var(--edge-depth) - 1px); border-radius: 1px 1px 1px 5px; }
.corner-tl::before { transform: rotate(-90deg); }
.corner-tr::before { transform: none; }
.corner-br::before { transform: rotate(90deg); }
.corner-bl::before { transform: rotate(180deg); }
.tile { width: var(--cell, 24px); height: var(--cell, 24px); padding: 0; margin: 0; border: 0; border-radius: 0; background-color: var(--tile-color); background-image: var(--tile-image); background-size: 118% 118%; background-position: center; background-repeat: no-repeat; position: relative; box-shadow: inset -1px -1px rgba(0,0,0,.08); }
.tile::before { content: ''; display: none; position: absolute; inset: 2px; opacity: .25; }
.floor-grid.floordeck .tile::before { background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.85) 0 1px, transparent 1.4px), radial-gradient(circle at 70% 70%, rgba(0,0,0,.75) 0 1px, transparent 1.4px); background-size: 7px 7px; }
.floor-grid.diamonddeck .tile::before { opacity: .36; background: linear-gradient(45deg, transparent 42%, rgba(255,255,255,.8) 44% 49%, rgba(0,0,0,.55) 51% 56%, transparent 58%); background-size: 7px 7px; }
.floor-grid.coindeck .tile::before { opacity: .34; background: radial-gradient(circle, rgba(255,255,255,.85) 0 24%, rgba(0,0,0,.5) 29% 36%, transparent 38%); background-size: 7px 7px; }
.floor-grid.ribdeckclassic .tile::before { inset: 1px; opacity: .42; background: repeating-linear-gradient(90deg, rgba(255,255,255,.6) 0 1px, transparent 1px 4px, rgba(0,0,0,.5) 4px 5px); }
.floor-grid.ribdeckinfinity .tile::before { inset: 1px; opacity: .38; background: linear-gradient(90deg,rgba(255,255,255,.55) 1px,transparent 1px),linear-gradient(rgba(0,0,0,.5) 1px,transparent 1px); background-size:5px 5px; }
.floor-grid.sportdeck .tile::before { inset: 2px; opacity: .32; background: repeating-linear-gradient(45deg, rgba(255,255,255,.65) 0 1px, transparent 1px 5px), repeating-linear-gradient(-45deg, rgba(0,0,0,.45) 0 1px, transparent 1px 5px); }
.tile.empty { background: #f5f6f6; background-image: none; }
.tile.empty::before { display: none; }
.dimension { position: absolute; color: #6c7275; font-size: 12px; font-weight: 700; letter-spacing: .03em; }
.dimension::before, .dimension::after { content: ''; position: absolute; background: #8f9598; }
.dimension-top { top: 21px; left: 50%; transform: translateX(-50%); min-width: 155px; text-align: center; }
.dimension-top::before { height: 1px; width: 42px; top: 7px; left: -48px; box-shadow: 203px 0 0 #8f9598; }
.dimension-left { left: 12px; top: 50%; transform: translateY(-50%) rotate(-90deg); min-width: 155px; text-align: center; }
.dimension-left::before { height: 1px; width: 42px; top: 7px; left: -48px; box-shadow: 203px 0 0 #8f9598; }
.canvas-hint { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: #666c6f; white-space: nowrap; font-size: 12px; }
.canvas-hint span { width: 7px; height: 7px; border-radius: 50%; display: inline-block; background: var(--red); margin-right: 5px; }
.live-summary { min-height: 86px; margin: 0 30px 20px; padding: 12px 15px 12px 22px; display: grid; grid-template-columns: repeat(3, minmax(90px, 1fr)) auto auto; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); box-shadow: 0 7px 22px rgba(15,19,20,.07); }
.live-summary > div { border-right: 1px solid var(--line); }
.live-summary small, .spec-grid small { display: block; color: #7a8083; font: 700 11px/1.2 Barlow Condensed, sans-serif; letter-spacing: .1em; margin-bottom: 5px; }
.live-summary strong { font: 700 19px/1 Barlow Condensed, sans-serif; }
.plan-download-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; }
.plan-download-button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.visualizer-launch-button { min-height: 42px; padding: 0 15px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid #24282a; border-radius: 3px; color: #fff; background: #24282a; font-size: 12px; font-weight: 750; }
.visualizer-launch-button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.visualizer-launch-button:disabled { opacity: .35; cursor: default; }
.room-visualizer { position: fixed; inset: 0; z-index: 150; display: grid; grid-template-rows: 72px minmax(0,1fr); color: var(--ink); background: #e4e7e8; }
.room-visualizer[hidden] { display: none; }
.visualizer-header { min-width: 0; padding: 0 24px 0 30px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #fff; background: #151719; box-shadow: 0 4px 18px rgba(0,0,0,.22); }
.visualizer-header .eyebrow { color: #f05a56; font: 750 10px/1 Barlow Condensed,sans-serif; letter-spacing: .16em; }
.visualizer-header h2 { margin: 4px 0 0; font: 700 23px/1 Barlow Condensed,sans-serif; text-transform: uppercase; letter-spacing: .025em; }
.visualizer-close { width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; color: #fff; background: transparent; font-size: 32px; font-weight: 300; line-height: 1; }
.visualizer-layout { min-height: 0; display: grid; grid-template-columns: 310px minmax(0,1fr); }
.visualizer-controls { min-height: 0; padding: 18px 20px 24px; overflow-y: auto; background: #fff; border-right: 1px solid #c8ccce; }
.visualizer-controls section { position: relative; padding: 5px 0 18px 36px; border-bottom: 1px solid #e1e3e4; margin-bottom: 15px; }
.visualizer-controls h3 { margin: 0 0 5px; font: 700 18px/1.1 Barlow Condensed,sans-serif; text-transform: uppercase; }
.visualizer-controls p { margin: 0 0 12px; color: #697074; font-size: 12px; line-height: 1.45; }
.visualizer-step { position: absolute; left: 0; top: 2px; width: 27px; height: 27px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--red); font: 700 11px/1 Barlow Condensed,sans-serif; }
.visualizer-setting[aria-disabled="true"] { opacity: .4; pointer-events: none; }
.photo-upload-button, .visualizer-secondary, .visualizer-download { width: 100%; min-height: 42px; display: flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 3px; color: #fff; background: var(--red); font-size: 12px; font-weight: 750; cursor: pointer; }
.photo-upload-button svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.visualizer-secondary { color: #4f5659; border: 1px solid #c9cdcf; background: #fff; }
.visualizer-secondary[aria-pressed="true"] { color: #fff; border-color: var(--red); background: var(--red); }
.visualizer-controls label:not(.photo-upload-button):not(.visualizer-check) { display: grid; grid-template-columns: 1fr auto; gap: 5px 10px; margin-top: 10px; color: #555c5f; font-size: 12px; font-weight: 650; }
.visualizer-controls input[type="range"] { grid-column: 1 / -1; width: 100%; accent-color: var(--red); }
.visualizer-check { margin-top: 12px; display: flex; align-items: center; gap: 8px; color: #555c5f; font-size: 12px; font-weight: 650; }
.visualizer-check input { accent-color: var(--red); }
.visualizer-text-button { margin-top: 9px; padding: 3px 0; border: 0; color: #6b7275; background: transparent; font-size: 11px; text-decoration: underline; }
.visualizer-actions { display: grid; gap: 9px; padding-left: 36px; }
.visualizer-actions small { color: #7a8083; font-size: 10px; line-height: 1.35; }
.visualizer-download:disabled { opacity: .4; }
.visualizer-workspace { min-width: 0; min-height: 0; padding: 24px; display: grid; place-items: center; overflow: hidden; position: relative; background-color: #d7dadc; background-image: radial-gradient(#b9bec1 1px,transparent 1px); background-size: 20px 20px; }
.visualizer-empty { max-width: 390px; display: grid; justify-items: center; gap: 8px; color: #646b6e; text-align: center; }
.visualizer-empty[hidden] { display: none; }
.visualizer-empty svg { width: 72px; height: 72px; margin-bottom: 6px; fill: none; stroke: #9ba1a4; stroke-width: 1.2; }
.visualizer-empty strong { color: #373c3e; font: 700 24px/1.1 Barlow Condensed,sans-serif; text-transform: uppercase; }
.visualizer-empty span { font-size: 13px; }
.visualizer-canvas-wrap { position: relative; max-width: 100%; max-height: calc(100dvh - 120px); line-height: 0; box-shadow: 0 18px 46px rgba(0,0,0,.25); background: #777; }
.visualizer-canvas-wrap[hidden] { display: none; }
#visualizerCanvas { display: block; width: auto; height: auto; max-width: calc(100vw - 382px); max-height: calc(100dvh - 120px); }
.perspective-handle { position: absolute; z-index: 3; width: 24px; height: 24px; margin: -12px 0 0 -12px; border: 3px solid #fff; border-radius: 50%; background: var(--red); box-shadow: 0 2px 8px rgba(0,0,0,.48); cursor: grab; touch-action: none; }
.perspective-handle:active { cursor: grabbing; transform: scale(1.16); }
.visualizer-canvas-wrap.mask-mode .perspective-handle { pointer-events: none; opacity: .35; }
.visualizer-canvas-wrap.mask-mode canvas { cursor: crosshair; }
.visualizer-tip { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); margin: 0; padding: 8px 13px; border-radius: 3px; color: #fff; background: rgba(21,23,25,.88); font-size: 11px; box-shadow: 0 5px 18px rgba(0,0,0,.2); }
body.visualizer-open { overflow: hidden; }
@media (max-width: 1099px) {
  .visualizer-launch-button { display: none; }
  .room-visualizer { display: none !important; }
}
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 30px); padding: 12px 18px; color: #fff; background: #1f2325; box-shadow: var(--shadow); border-radius: 3px; opacity: 0; visibility: hidden; transition: .2s; z-index: 100; font-size: 14px; }
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.modal { position: fixed; inset: 0; display: grid; place-items: center; z-index: 80; opacity: 0; visibility: hidden; transition: .2s; }
.modal.open { opacity: 1; visibility: visible; }
.modal-backdrop { position: absolute; inset: 0; border: 0; background: rgba(10,12,13,.62); backdrop-filter: blur(4px); }
.summary-sheet, .request-sheet, .quote-sheet { width: min(680px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow-y: auto; position: relative; background: #fff; box-shadow: 0 28px 100px rgba(0,0,0,.35); border-radius: 5px; transform: translateY(18px); transition: .22s; }
.modal.open .summary-sheet, .modal.open .request-sheet, .modal.open .quote-sheet { transform: translateY(0); }
.summary-sheet { padding: 25px 28px 28px; }
.summary-sheet header { display: flex; justify-content: space-between; align-items: start; margin-bottom: 18px; }
.summary-sheet h2, .request-sheet h2, .quote-sheet h2 { font: 700 30px/1 Barlow Condensed, sans-serif; text-transform: uppercase; letter-spacing: .02em; margin: 6px 0 0; }
.close-button { width: 40px; height: 40px; font-size: 30px; font-weight: 300; }
.mini-plan { height: 110px; display: grid; place-items: center; overflow: hidden; background: #e4e6e7; margin-bottom: 18px; border: 1px solid #d5d8da; }
.mini-plan-wrap { position: relative; line-height: 0; }
.mini-grid { display: grid; box-shadow: 0 8px 18px rgba(0,0,0,.2); }
.mini-plan-edge { position: absolute; z-index: 2; background: var(--c); }
.mini-plan-edge.top, .mini-plan-edge.bottom { left: 0; width: 100%; height: 3px; }
.mini-plan-edge.left, .mini-plan-edge.right { top: 0; height: 100%; width: 3px; }
.mini-plan-edge.top { top: -3px; }
.mini-plan-edge.right { right: -3px; }
.mini-plan-edge.bottom { bottom: -3px; }
.mini-plan-edge.left { left: -3px; }
.mini-plan-corner { position: absolute; z-index: 3; width: 3px; height: 3px; background: var(--c); }
.mini-plan-corner.tl { left: -3px; top: -3px; }
.mini-plan-corner.tr { right: -3px; top: -3px; }
.mini-plan-corner.br { right: -3px; bottom: -3px; }
.mini-plan-corner.bl { left: -3px; bottom: -3px; }
.mini-tile { width: 5px; height: 5px; background: var(--c); }
.spec-grid { display: grid; grid-template-columns: repeat(4, 1fr); padding: 15px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); gap: 12px; }
.spec-grid strong { font-size: 13px; }
.summary-sheet h3 { margin: 22px 0 9px; font: 700 18px/1 Barlow Condensed, sans-serif; text-transform: uppercase; }
.material-row { min-height: 39px; display: grid; grid-template-columns: 1fr auto; align-items: center; border-bottom: 1px solid #eceeef; font-size: 14px; }
.material-label { display: flex; align-items: center; gap: 9px; }
.material-values { display: grid; justify-items: end; gap: 2px; padding: 7px 0 7px 14px; }
.material-values small { color: #73797c; font-size: 11px; }
.material-dot { width: 16px; height: 16px; border-radius: 50%; background: var(--c); border: 1px solid rgba(0,0,0,.12); }
.material-dot.finish-dot { border-radius: 2px; background: linear-gradient(90deg,color-mix(in srgb,var(--c) 72%,white),var(--c)); }
.material-dot.corner-dot { border-radius: 7px 2px 2px 2px; background: var(--c); }
.estimate { margin-top: 18px; padding: 14px 17px; background: #f3f4f4; }
.estimate > div { display: flex; justify-content: space-between; padding: 5px 0; font-size: 13px; }
.estimate .total { padding-top: 12px; margin-top: 7px; border-top: 1px solid #ccd0d2; font-size: 17px; }
.estimate .total strong { color: var(--red); }
.estimate .total-label { display: grid; gap: 2px; }
.estimate .total-label small { color: #30373b; font-size: 14px; font-weight: 750; line-height: 1.4; margin-top: 3px; }
.disclaimer { color: #7b8184; font-size: 12px; line-height: 1.45; }
.modal-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 18px; }
.webshop-button { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.request-sheet { max-width: 470px; text-align: center; padding: 38px 35px; }
.request-sheet .close-button { position: absolute; top: 8px; right: 8px; }
.request-sheet p { color: var(--muted); line-height: 1.55; margin: 13px 0 24px; }
.handoff-preview { margin: 0 0 20px; padding: 10px 14px; background: #f3f4f4; border: 1px solid var(--line); text-align: left; }
.handoff-preview div { min-height: 28px; display: flex; align-items: center; justify-content: space-between; gap: 14px; border-bottom: 1px solid #dfe2e3; font-size: 12px; }
.handoff-preview div:last-child { border-bottom: 0; }
.handoff-preview span { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.quote-sheet { padding: 25px 28px 28px; }
.quote-sheet header { display: flex; align-items: start; justify-content: space-between; gap: 18px; margin-bottom: 8px; }
.quote-intro { margin: 0 0 18px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.quote-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.quote-grid label { display: grid; gap: 6px; color: #505659; font-size: 12px; font-weight: 700; }
.quote-grid input, .quote-grid textarea { width: 100%; min-height: 43px; padding: 9px 11px; border: 1px solid #cfd3d5; border-radius: 3px; background: #fff; color: var(--ink); font: 14px/1.35 Inter, sans-serif; }
.quote-grid textarea { min-height: 82px; resize: vertical; }
.quote-grid input:focus, .quote-grid textarea:focus { outline: 2px solid rgba(228,50,47,.2); border-color: var(--red); }
.quote-wide { grid-column: 1 / -1; }
.privacy-check { display: flex; align-items: flex-start; gap: 9px; margin-top: 15px; color: #555b5e; font-size: 12px; line-height: 1.45; }
.privacy-check input { flex: 0 0 auto; margin-top: 2px; }
.quote-mail-note { margin: 12px 0 0; padding: 10px 12px; background: #f3f4f4; color: #686e71; font-size: 11px; line-height: 1.45; }
.success-mark { display: grid; place-items: center; width: 54px; height: 54px; margin: 0 auto 17px; border-radius: 50%; color: #fff; background: var(--red); font-size: 28px; font-weight: 800; }
.save-design-sheet { max-width: 560px; }
.save-option { padding: 18px 0; border-top: 1px solid var(--line); text-align: left; }
.save-option h3 { margin: 0; font-size: 18px; }
.save-option p { margin: 8px 0 14px; font-size: 13px; }
.save-option > button { width: 100%; }
.save-option #saveOnlineStatus:empty { display: none; }
.save-option #savedDesignDetails[hidden] { display: none; }
.save-option #copyDesignLinkBtn { margin-top: 12px; width: 100%; }
.send-design-options { margin-top: 16px; font-size: 13px; }
.send-design-options summary { cursor: pointer; line-height: 1.5; }
.send-design-options input:disabled { opacity: .65; cursor: not-allowed; }
.whatsapp-share-button { display: flex; justify-content: center; margin-top: 10px; text-decoration: none; }
#sendDesignEmailBtn { width: 100%; margin-top: 12px; }
#sendDesignEmailBtn:disabled { opacity: .55; cursor: not-allowed; }
.share-link-field { display: grid; gap: 6px; margin-top: 12px; text-align: left; }
.share-link-field span { color: #6d7377; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.share-link-field strong, .share-link-field input { min-height: 44px; display: flex; align-items: center; padding: 10px 12px; border: 1px solid #cfd3d5; border-radius: 3px; background: #f7f8f8; color: var(--ink); font: 600 13px/1.3 Inter, sans-serif; }
.share-link-field input { width: 100%; }
.save-link-actions { justify-content: stretch; }
.save-link-actions > * { flex: 1; }
.admin-archive-button { border-color: var(--red) !important; color: var(--red) !important; }
.archive-design-sheet { max-width: 680px; }
.archive-design-sheet select { width: 100%; min-height: 43px; padding: 10px 12px; border: 1px solid #cfd3d5; border-radius: 3px; background: #fff; color: var(--ink); font: 500 13px Inter,sans-serif; }
.archive-status { min-height: 20px; margin: 12px 0 0; color: #687075; font-size: 12px; }
.archive-status.error { color: var(--red); }
.archive-actions { align-items: stretch; }
.icon-button.is-loading, .save-design-button.is-loading { color: var(--red); animation: save-pulse .8s ease-in-out infinite alternate; }
@keyframes save-pulse { to { opacity: .45; } }
@media (max-width: 980px) {
  .app-shell { grid-template-columns: 310px minmax(0, 1fr); }
  .control-panel { width: 310px; }
  .panel-section { padding-left: 19px; padding-right: 19px; }
  .canvas-stage, .live-summary { margin-left: 18px; margin-right: 18px; }
  .live-summary { grid-template-columns: repeat(3, 1fr); }
  .live-summary .primary { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  html, body { width: 100%; max-width: 100%; overflow-x: clip; }
  .topbar, .app-shell, .control-panel, .workflow-content, .workflow-content-inner { min-width: 0; width: 100%; max-width: 100%; }
  .topbar { height: 62px; padding: 0 max(10px, env(safe-area-inset-right)) 0 max(10px, env(safe-area-inset-left)); gap: 8px; }
  .brand img { width: 84px; }
  .brand span, .demo-badge { display: none; }
  .language-picker { width: 44px; height: 44px; justify-content: center; padding: 0 3px; }
  .language-picker span { display: none; }
  .language-picker select { width: 37px; font-size: 12px; }
  .new-design-button { display: none; }
  .admin-archive-button { display: none !important; }
  .header-actions { min-width: 0; gap: 5px; }
  .save-design-button { width: 44px; min-width: 44px; min-height: 44px; padding: 0; justify-content: center; }
  .save-design-button span { display: none; }
  .save-design-button svg { width: 20px; height: 20px; }
  .header-order-button { width: 44px; min-width: 44px; min-height: 44px !important; padding: 0 !important; display: inline-grid; place-items: center; }
  .header-order-button svg, .new-design-button svg { width: 20px; height: 20px; display: block; }
  .header-order-button span { display: none; }
  .header-order-button:disabled { display: none; }
  .icon-button { width: 44px; height: 44px; }
  .primary.compact { min-height: 44px; padding: 0 13px; font-size: 13px; }
  .app-shell { display: flex; flex-direction: column; min-height: calc(100dvh - 62px); }
  .control-panel { width: 100%; height: auto; position: static; display: block; border-right: 0; overflow: visible; z-index: auto; }
  .mobile-progress { height: 44px; padding: 4px max(8px, env(safe-area-inset-right)) 4px max(8px, env(safe-area-inset-left)); position: sticky; top: 62px; z-index: 21; display: grid; grid-template-columns: repeat(4,1fr); gap: 4px; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); box-shadow: 0 4px 12px rgba(15,19,20,.07); backdrop-filter: blur(8px); }
  .mobile-progress button { min-width: 0; min-height: 36px; padding: 0 4px; display: flex; align-items: center; justify-content: center; gap: 5px; border: 0; border-radius: 3px; color: #6c7275; background: transparent; cursor: pointer; }
  .mobile-progress button span { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; background: #eef0f1; font: 700 12px/1 Barlow Condensed,sans-serif; }
  .mobile-progress button i { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: normal 650 10px/1 Inter,sans-serif; }
  .mobile-progress button.complete { color: #363b3d; }
  .mobile-progress button.complete span { color: #fff; box-shadow: 0 2px 7px rgba(15,19,20,.2); }
  .mobile-progress button:nth-child(1).complete span { background: #168eea; }
  .mobile-progress button:nth-child(2).complete span { background: #ff8a1f; }
  .mobile-progress button:nth-child(3).complete span { background: #20a45b; }
  .mobile-progress button:nth-child(4).complete span { background: #9a48d0; }
  .mobile-progress button.active { color: var(--red); background: #fff3f2; }
  .mobile-progress button.active span { color: #fff; background: var(--red); box-shadow: 0 0 0 3px rgba(226,30,37,.16), 0 2px 7px rgba(15,19,20,.2); }
  .mobile-progress button:disabled { opacity: .38; cursor: default; }
  .panel-section { width: 100%; max-width: 100%; min-width: 0; padding: 16px; overflow-x: clip; }
  .panel-section.workflow-collapsed { display: none; }
  .panel-section.workflow-active { animation: mobile-step-in .2s ease both; }
  #dimensionSection, #productSection, #designSection, #finishSection { scroll-margin-top: 155px; }
  .section-heading { margin-bottom: 12px; }
  .section-heading::after { display: none; }
  .section-heading h2 { font-size: 22px; }
  .section-heading p { font-size: 14px; line-height: 1.35; }
  .presets { grid-template-columns: repeat(2,1fr); gap: 8px; }
  .measure-grid, .presets { width: 100%; min-width: 0; }
  .measure-grid > *, .presets > * { min-width: 0; }
  .dimension-method-title { font-size: 14px; }
  .presets button { min-height: 44px; font-size: 13px; }
  .step-continue { min-height: 48px; font-size: 14px; }
  .product-tabs { grid-template-columns: repeat(3, 1fr); }
  .product-tab { display: block; padding: 7px; text-align: center; }
  .product-tab img { width: 100%; max-width: 54px; height: auto; aspect-ratio: 1; margin: 0 auto 5px; }
  .product-tab strong { display: block; font-size: 11px; }
  .mobile-live-preview { position: sticky; top: 106px; z-index: 20; min-height: 68px; display: none; grid-template-columns: 104px minmax(0,1fr) auto; align-items: center; gap: 9px; padding: 7px max(12px, env(safe-area-inset-right)) 7px max(12px, env(safe-area-inset-left)); border-bottom: 1px solid #c9cdcf; background: rgba(255,255,255,.98); box-shadow: 0 4px 12px rgba(15,19,20,.1); backdrop-filter: blur(8px); transition: padding .2s ease; }
  .mobile-live-preview.is-ready { display: grid; }
  .mobile-live-preview > span { display: none; color: var(--red); font: 700 10px/1 Barlow Condensed, sans-serif; letter-spacing: .12em; }
  .mobile-live-preview > strong { min-width: 0; color: #555b5e; font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .mobile-mini-wrap { position: relative; width: 104px; transition: width .2s ease; }
  .mobile-preview-toggle { min-height: 44px; padding: 0 7px; border: 0; color: var(--red); background: transparent; font-size: 11px; font-weight: 700; }
  .mobile-live-preview.expanded { grid-template-columns: 1fr; justify-items: center; gap: 5px; padding-top: 9px; padding-bottom: 10px; }
  .mobile-live-preview.expanded > span { display: block; }
  .mobile-live-preview.expanded > strong { max-width: 100%; }
  .mobile-live-preview.expanded .mobile-mini-wrap { width: min(230px, calc(100vw - 84px)); }
  .mobile-live-preview.expanded .mobile-preview-toggle { min-height: 32px; }
  .mobile-mini-grid { width: 100%; display: grid; overflow: hidden; background: #d6d9da; box-shadow: 0 3px 9px rgba(0,0,0,.16); }
  .mobile-mini-grid i { min-width: 0; min-height: 0; background-color: var(--mini-color); background-image: var(--mini-image); background-position: center; background-repeat: no-repeat; background-size: 118% 118%; }
  .mobile-mini-edge { display: none; position: absolute; z-index: 2; }
  .mobile-mini-edge.active { display: block; }
  .mobile-mini-top, .mobile-mini-bottom { left: 0; width: 100%; height: 4px; }
  .mobile-mini-left, .mobile-mini-right { top: 0; width: 4px; height: 100%; }
  .mobile-mini-top { top: -4px; }
  .mobile-mini-bottom { bottom: -4px; }
  .mobile-mini-left { left: -4px; }
  .mobile-mini-right { right: -4px; }
  .mobile-mini-corner { display: none; position: absolute; z-index: 2; width: 4px; height: 4px; background: var(--corner-color, var(--red)); border: 0; box-shadow: none; }
  .mobile-mini-corner.active { display: block; }
  .mobile-mini-corner-tl { left: -4px; top: -4px; }
  .mobile-mini-corner-tr { right: -4px; top: -4px; }
  .mobile-mini-corner-br { right: -4px; bottom: -4px; }
  .mobile-mini-corner-bl { left: -4px; bottom: -4px; }
  .mobile-color-backdrop { position: fixed; inset: 0; z-index: 68; border: 0; background: rgba(11,14,15,.48); }
  body.motif-menu-open .mobile-color-backdrop { display: block; }
  body.motif-menu-open .panel-section.workflow-active { animation: none; }
  .motif-color-picker[open] .motif-color-menu { position: fixed; inset: auto 10px max(10px, env(safe-area-inset-bottom)); z-index: 70; max-height: min(62dvh, 430px); padding: 8px; border-radius: 10px; }
  .motif-color-picker[open] .motif-color-menu button { min-height: 42px; font-size: 14px; }
  .motif-color-picker summary { min-height: 44px; }
  .motif-menu-head { min-height: 48px; padding: 0 5px 6px 9px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); }
  .motif-menu-head strong { font-size: 15px; }
  .motif-menu-head button { width: 44px !important; min-height: 44px !important; padding: 0 !important; justify-content: center; color: var(--red) !important; font-size: 24px !important; }
  .motif-color-menu button.active::after { content: '\2713'; margin-left: auto; color: var(--red); font-weight: 800; }
  .color-section { position: static; background: #fff; }
  .paint-tools { margin-top: 14px; }
  .paint-tools button { min-height: 48px; }
  .paint-tools svg { width: 17px; height: 17px; }
  .manual-floor-cta { width: 100%; min-height: 48px; margin-top: 10px; padding: 0 14px; display: flex; align-items: center; justify-content: center; gap: 9px; border: 0; border-radius: 3px; color: #fff; background: var(--red); font-size: 14px; font-weight: 700; box-shadow: 0 7px 18px rgba(228,50,47,.22); }
  .manual-floor-cta svg { width: 19px; height: 19px; }
  .finish-mode button { min-height: 44px; font-size: 12px; }
  .edge-picker { width: 220px; grid-template-columns: 44px 116px 44px; grid-template-rows: 44px 68px 44px; gap: 6px; }
  .edge-picker button { font-size: 11px; }
  .panel-footer { display: none; }
  .workspace { min-height: 0; }
  .workspace-head { min-height: 72px; padding: 13px 16px; flex-wrap: wrap; }
  .workspace-head h1 { font-size: 21px; }
  .workspace-actions .divider, .workspace-actions #zoomLabel { display: none; }
  .tool-button { width: 44px; height: 44px; }
  .mobile-edit-toggle { display: none; }
  .mobile-edit-copy { min-width: 0; display: grid; gap: 2px; }
  .mobile-edit-copy strong { font-size: 14px; line-height: 1.2; }
  .mobile-edit-copy small { color: #697074; font-size: 12px; line-height: 1.2; }
  .mobile-edit-toggle input { position: absolute; opacity: 0; pointer-events: none; }
  .mobile-switch-track { flex: 0 0 auto; width: 46px; height: 26px; padding: 3px; display: block; border-radius: 99px; background: #aeb4b7; transition: background .18s ease; }
  .mobile-switch-track::after { content: ''; width: 20px; height: 20px; display: block; border-radius: 50%; background: #fff; box-shadow: 0 2px 5px rgba(0,0,0,.25); transition: transform .18s ease; }
  .mobile-edit-toggle input:checked + .mobile-switch-track { background: var(--red); }
  .mobile-edit-toggle input:checked + .mobile-switch-track::after { transform: translateX(20px); }
  .mobile-edit-toggle input:focus-visible + .mobile-switch-track { outline: 3px solid rgba(228,50,47,.25); outline-offset: 2px; }
  .floor-wrap:not(.mobile-edit-enabled), .floor-wrap:not(.mobile-edit-enabled) .floor-grid, .floor-wrap:not(.mobile-edit-enabled) .tile { touch-action: pan-y; }
  .floor-wrap:not(.mobile-edit-enabled) .tile, .floor-wrap:not(.mobile-edit-enabled) .edge-piece, .floor-wrap:not(.mobile-edit-enabled) .corner-piece { cursor: default; }
  .canvas-stage { min-height: 0; margin: 0; border-left: 0; border-right: 0; padding: 18px 12px; overflow: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
  .dimension, .canvas-hint { display: none; }
  .live-summary { margin: 12px; grid-template-columns: repeat(3, 1fr); padding: 12px; }
  .live-summary > div { text-align: center; }
  .live-summary small { font-size: 9px; }
  .live-summary strong { font-size: 16px; }
  .spec-grid { grid-template-columns: 1fr 1fr; }
  .mobile-editor-toolbar { min-width: 0; width: 100%; max-width: 100%; overflow: hidden; padding: 8px 10px max(8px, env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 18px rgba(15,19,20,.1); }
  .mobile-editor-toolbar-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; font-size: 12px; }
  .mobile-editor-toolbar-head span { color: #666d70; }
  .mobile-editor-swatches { min-width: 0; width: 100%; max-width: 100%; display: flex; gap: 10px; overflow-x: auto; padding: 4px 3px 8px; scrollbar-width: none; }
  .mobile-editor-swatches::-webkit-scrollbar { display: none; }
  .mobile-editor-swatches .swatch { flex: 0 0 42px; width: 42px; height: 42px; aspect-ratio: auto; }
  .mobile-editor-actions { min-width: 0; width: 100%; max-width: 100%; display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 5px; }
  .mobile-editor-actions button { min-width: 0; min-height: 48px; padding: 5px; display: grid; place-items: center; gap: 2px; border: 1px solid var(--line); border-radius: 4px; background: #fff; color: #555c5f; font-size: 10px; font-weight: 700; }
  .mobile-editor-actions button svg { width: 18px; height: 18px; }
  .mobile-editor-actions button.active { color: var(--red); border-color: var(--red); background: #fff5f4; }
  .mobile-editor-actions button.done { color: #fff; border-color: var(--red); background: var(--red); }
  body.mobile-editor-open { height: 100dvh; overflow: hidden; }
  body.mobile-editor-open .workspace { position: fixed; inset: 62px 0 0; z-index: 29; width: 100vw; max-width: 100vw; height: calc(100dvh - 62px); min-height: 0; grid-template-columns: minmax(0,1fr); grid-template-rows: auto minmax(0,1fr) auto; overflow: hidden; background: #e9ebec; box-shadow: 0 -8px 30px rgba(0,0,0,.18); }
  body.mobile-editor-open .workspace-head { min-width: 0; width: 100%; max-width: 100vw; min-height: 58px; padding: 7px 12px; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; flex-wrap: nowrap; background: #f4f5f5; border-bottom: 1px solid #ccd0d2; }
  body.mobile-editor-open .workspace-head > div:first-child { min-width: 0; }
  body.mobile-editor-open .workspace-head h1 { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  body.mobile-editor-open .mobile-edit-toggle, body.mobile-editor-open .mobile-editor-close, body.mobile-editor-open .live-summary { display: none; }
  body.mobile-editor-open .canvas-stage { min-width: 0; width: 100%; max-width: 100vw; min-height: 0; height: 100%; display: block; overflow: auto; padding: 28px; touch-action: none; }
  body.mobile-editor-open .floor-wrap { width: max-content; min-width: max-content; margin: 0 auto; }
  body.mobile-editor-open.mobile-editor-pan .floor-wrap,
  body.mobile-editor-open.mobile-editor-pan .floor-grid,
  body.mobile-editor-open.mobile-editor-pan .tile,
  body.mobile-editor-open.mobile-editor-pan .edge-piece,
  body.mobile-editor-open.mobile-editor-pan .corner-piece { touch-action: none !important; }
  body.mobile-editor-open.mobile-editor-pan .floor-wrap { cursor: grab; }
  body.mobile-editor-open .mobile-editor-toolbar { display: block; }
}
@media (max-width: 760px) and (orientation: portrait) {
  body.admin-authenticated .save-design-button { display: none; }
  body.admin-authenticated .new-design-button { width: 44px; min-width: 44px; min-height: 44px; padding: 0; display: inline-grid; place-items: center; }
  body.admin-authenticated .new-design-button span { display: none; }
  .motif-color-picker[open] .motif-color-menu { inset: auto 12px calc(12px + env(safe-area-inset-bottom)); max-height: min(55dvh, 360px); }
  .motif-color-picker[open] .motif-color-menu button { min-height: 46px; }
  #finishSection { padding: 14px 16px 18px; max-width: 100vw; overflow-x: clip; }
  #finishSection .workflow-content,
  #finishSection .workflow-content-inner,
  #finishSection .finish-manual,
  #finishSection .manual-editor-content,
  #finishSection .finish-pattern,
  #finishSection .finish-color-step,
  #finishSection .finish-swatch-group,
  #finishSection .selected-color-name,
  #finishSection .corner-note { width: 100%; max-width: 100%; min-width: 0; }
  #finishSection .section-heading { margin-bottom: 14px; }
  #finishSection .finish-manual { margin-top: 0; border: 0; background: transparent; }
  #finishSection .finish-manual > summary { display: none; }
  #finishSection .finish-manual > .manual-editor-content { padding: 0; border: 0; }
  #finishSection .finish-manual .manual-editor-content > .sub-label:first-child { margin-top: 0; }
  #finishSection .finish-pattern { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; margin-bottom: 12px; overflow: hidden; }
  #finishSection .finish-pattern button { width: 100%; min-width: 0; min-height: 58px; padding: 7px; grid-template-columns: 34px minmax(0,1fr); gap: 6px; overflow: hidden; }
  #finishSection .finish-pattern-preview { width: 34px; height: 24px; padding: 3px; }
  #finishSection .finish-pattern-copy strong { min-width: 0; font-size: 13px; }
  #finishSection .finish-pattern-copy strong,
  #finishSection .finish-pattern-copy small { overflow-wrap: anywhere; }
  #finishSection .finish-pattern-copy small { font-size: 11px; line-height: 1.2; }
  #finishSection .finish-color-step { margin: 0 0 14px; }
  #finishSection .finish-swatch-group { margin-top: 9px; }
  #finishSection .finish-swatches { width: 100%; max-width: 100%; min-width: 0; display: flex; gap: 10px; margin: 7px 0 0; padding: 3px 4px 7px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; }
  #finishSection .finish-swatches::-webkit-scrollbar { display: none; }
  #finishSection .finish-swatches .swatch { flex: 0 0 42px; width: 42px; height: 42px; aspect-ratio: auto; }
  #finishSection .selected-color-name { margin: 4px 0 0; padding: 7px 10px; border-radius: 4px; background: #f0f2f2; font-size: 13px; overflow-wrap: anywhere; }
  #finishSection .edge-picker { width: 190px; grid-template-columns: 40px 102px 40px; grid-template-rows: 38px 58px 38px; gap: 4px; margin-bottom: 12px; }
  #finishSection .edge-picker button { font-size: 12px; }
  #finishSection #finishIndividualLabel,
  #finishSection .manual-color-note,
  #finishSection .finish-mode { display: none; }
  #finishSection .manual-floor-cta { min-height: 44px; margin-top: 5px; color: var(--red); border: 1px solid var(--red); background: #fff; box-shadow: none; }
  #finishSection .manual-floor-cta span { min-width: 0; white-space: normal; text-align: center; line-height: 1.2; }
  #finishSection .corner-note { margin-top: 12px; padding: 10px 12px; font-size: 12px; line-height: 1.4; overflow-wrap: anywhere; }
}
@media (max-width: 430px) {
  .product-tabs { grid-template-columns: repeat(2,1fr); gap: 9px; }
  .product-tab { min-height: 94px; }
  .swatches { gap: 7px; }
  .paint-tools button { font-size: 10px; }
  .modal { place-items: end center; }
  .summary-sheet, .request-sheet, .quote-sheet { width: 100%; max-height: calc(100dvh - 8px); border-radius: 12px 12px 0 0; padding-bottom: max(18px, env(safe-area-inset-bottom)); }
  .summary-sheet { padding: 18px 16px max(18px, env(safe-area-inset-bottom)); }
  .summary-sheet header { position: sticky; top: -18px; z-index: 2; margin: -18px -16px 14px; padding: 16px 16px 10px; background: #fff; border-bottom: 1px solid var(--line); }
  .summary-sheet .modal-actions { position: sticky; bottom: calc(0px - max(18px, env(safe-area-inset-bottom))); z-index: 2; margin: 18px -16px calc(0px - max(18px, env(safe-area-inset-bottom))); padding: 10px 16px max(10px, env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 16px rgba(15,19,20,.08); }
  .modal-actions { display: grid; grid-template-columns: 1fr; }
  .modal-actions button { width: 100%; }
  .modal-actions .webshop-button { width: 100%; }
  .material-row { align-items: start; }
  .material-label { padding-top: 9px; }
  .quote-sheet { padding: 21px 18px; }
  .quote-grid { grid-template-columns: 1fr; }
  .quote-wide { grid-column: auto; }
}
@keyframes mobile-step-in { from { opacity: .55; transform: translateY(5px); } to { opacity: 1; transform: none; } }
.rotate-phone-prompt { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 24px; background: rgba(10,13,14,.72); backdrop-filter: blur(8px); }
.rotate-phone-prompt[hidden] { display: none; }
.rotate-phone-card { width: min(100%, 380px); padding: 28px 24px 24px; display: grid; justify-items: center; gap: 12px; border-radius: 14px; background: #fff; box-shadow: 0 24px 70px rgba(0,0,0,.34); text-align: center; }
.rotate-phone-card svg { width: 82px; height: 82px; color: var(--red); }
.rotate-phone-card .eyebrow { color: var(--red); font: 800 12px/1 Barlow Condensed,sans-serif; letter-spacing: .16em; }
.rotate-phone-card h2 { margin: 0; font: 800 30px/1 Barlow Condensed,sans-serif; text-transform: uppercase; }
.rotate-phone-card p { margin: 0; color: #5e6568; font-size: 15px; line-height: 1.5; }
.rotate-phone-card button { width: 100%; min-height: 48px; margin-top: 5px; border: 0; border-radius: 4px; color: #fff; background: var(--red); font-size: 14px; font-weight: 750; }
body.rotate-phone-open { overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

/* Built-in guide: native dialog keeps focus inside and supports Escape. */
.help-button { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.help-button b { font-size: 17px; }
.designer-help { width: min(740px, calc(100vw - 24px)); max-height: 90dvh; padding: 0; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: #fff; box-shadow: 0 20px 70px #0005; }
.designer-help::backdrop { background: #1119; }
.designer-help > header { position: sticky; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; border-bottom: 1px solid var(--line); background: #fff; z-index: 1; }
.designer-help h2 { margin: 5px 0 0; font-size: 23px; }
.designer-help > header button { flex-shrink: 0; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 4px; background: #fff; font-size: 25px; cursor: pointer; }
.help-content { padding: 0 24px 16px; font-size: 14px; line-height: 1.65; }
.help-content details { border-bottom: 1px solid var(--line); }
.help-content summary { padding: 15px 0; font-weight: 700; cursor: pointer; }
.help-content ul { padding-left: 21px; }
.help-content li { margin-bottom: 8px; }
.help-tip { padding: 12px 15px; background: #f5f6f6; border-left: 3px solid var(--red); }
.designer-help > footer { padding: 16px 24px; border-top: 1px solid var(--line); }
@media (max-width: 1100px) { .help-button span { display: none; } .secondary.compact.help-button { min-width: 40px; min-height: 44px; padding: 0; justify-content: center; } }
@media (max-width: 480px) { .designer-help > header { padding: 14px 16px; } .designer-help h2 { font-size: 20px; } .help-content { padding: 0 16px 12px; } }

/* Localised visualiser guide stays within the existing scrollable controls. */
.visualizer-guide { padding: 12px 14px; margin: 0 0 18px; border: 1px solid #d9dddf; border-radius: 9px; background: #f5f7f8; }
.visualizer-guide summary { cursor: pointer; color: #242a2d; font-weight: 700; font-size: 13px; line-height: 1.4; }
.visualizer-guide summary:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }
.visualizer-guide[open] summary { margin-bottom: 12px; }
.visualizer-guide ol { margin: 0; padding-left: 18px; }
.visualizer-guide li { margin-bottom: 12px; font-size: 12px; line-height: 1.5; }
.visualizer-guide li:last-child, .visualizer-guide li:last-child p { margin-bottom: 0; }
.visualizer-guide li strong { display: block; margin-bottom: 3px; color: #242a2d; }
.visualizer-guide p { overflow-wrap: anywhere; }
.visualizer-secondary, .visualizer-download { white-space: normal; }
