.saved-row strong{display:block;font-size:11px;font-weight:600;margin-bottom:5px}.saved-row span{display:block;font-size:9px;line-height:1.7;color:#73736b}.saved-row button:first-child:disabled{opacity:.65;cursor:default}.primary:disabled,.outline:disabled{opacity:.45;cursor:wait}.photo-viewer.comparing{touch-action:none;cursor:ew-resize}.photo-viewer.comparing canvas{cursor:ew-resize}#point-siding{left:11%;top:66%}#point-roof{left:35%;top:40%}#point-trim{left:81%;top:64%}#point-shakes{left:62%;top:43%}.comparison label{white-space:nowrap}
.surface-tabs{display:none}
@media(min-width:1600px){main .photo-viewer{max-height:none;max-width:1050px;aspect-ratio:4/3}}
:root{-webkit-text-size-adjust:100%;text-size-adjust:100%;font-family:'DM Sans',Arial,sans-serif;color:var(--ink);background:var(--page);font-synthesis:none}*{box-sizing:border-box}body{margin:0}a{color:inherit;text-decoration:none}button,input{font:inherit}button{cursor:pointer;color:inherit;background:none;border:0}main{max-width:1440px;margin:auto;display:grid;grid-template-columns:minmax(0,1fr) 340px}.workspace{padding:30px 30px 25px var(--workspace-left);min-width:0}.intro{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}h1{font-size:clamp(30px,3vw,40px);line-height:1.15;letter-spacing:-1px;margin:0 0 9px}h2{font-size:22px;letter-spacing:-.4px;margin:0 0 8px}p{font-size:13px;line-height:1.6;color:#71716a;margin:0}.outline{font-size:12px;border:2px solid var(--red);border-radius:4px;padding:11px 15px;background:#fff;color:var(--red);font-weight:600;white-space:nowrap}.outline:hover:not(:disabled){background:#fbeaea;color:var(--red-dark)}.photo-toolbar{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:12px;font-size:11px}.photo-toolbar span{font-size:10px;font-weight:700;letter-spacing:.8px}.photo-toolbar>div{display:flex;gap:6px}.photo-toolbar button{padding:7px 9px;border:1px solid var(--line);border-radius:4px;background:#fafaf7;font-size:11px}.photo-toolbar button[aria-pressed=true]{color:var(--red);border-color:var(--red);background:#fff}.photo-viewer{position:relative;background:#ddd;border:1px solid var(--line);border-radius:5px;overflow:hidden;aspect-ratio:4/3}.photo-viewer canvas{display:block;width:100%;height:100%;object-fit:contain}.image-badge{position:absolute;left:15px;top:15px;background:#ffffffeb;border-radius:3px;font-size:10px;padding:8px 10px;pointer-events:none;color:var(--muted)}.image-badge b{display:inline-block;background:var(--red);width:5px;height:5px;border-radius:50%;vertical-align:middle;margin-right:6px}.hotspot{position:absolute;background:#fffdf7ec;border:1px solid #fff;border-radius:20px;box-shadow:0 2px 7px #0002;padding:6px 9px;font-size:9px;font-weight:600;transform:translate(-50%,-50%);display:flex;align-items:center;gap:5px}.hotspot i{font-style:normal;border-radius:50%;height:15px;width:15px;background:var(--red);color:white;display:grid;place-items:center;font-size:9px}.hotspot:hover,.hotspot[aria-pressed=true]{background:var(--red);color:white}.hotspot[aria-pressed=true] i{background:#fff;color:var(--red)}#point-cabinets{left:37%;top:31%}#point-counter{left:77%;top:74%}#point-floor{left:42%;top:91%}#loading{position:absolute;inset:0;display:grid;place-items:center;background:#f0f0e9;font-size:15px}#loading[hidden]{display:none}.compare-line{position:absolute;top:0;bottom:0;width:2px;background:#fff;pointer-events:none;box-shadow:0 0 3px #0008}.compare-line:after{content:'↔';position:absolute;top:50%;left:0;transform:translate(-50%,-50%);background:white;color:#333;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;box-shadow:0 2px 8px #0005}.compare-tags{position:absolute;top:15px;right:15px;left:15px;display:flex;justify-content:space-between;pointer-events:none}.compare-tags span{background:#fffef6eb;padding:7px 10px;border-radius:3px;font-size:10px}.comparison{display:flex;align-items:center;gap:15px;padding:13px 0;font-size:11px}.comparison label{font-weight:600}.comparison input{flex:1;accent-color:var(--red)}.comparison span{color:#888}.photo-footnote{font-size:10px;color:#87877f;line-height:1.6;margin-top:12px}.photo-footnote a{text-decoration:underline}.looks{padding-top:24px;margin-top:23px;border-top:1px solid var(--line)}.looks-header{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:14px}.looks-header h2{font-size:22px}.looks-header span{font-size:10px;color:#85857c}.look-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.look{padding:14px;background:white;border:1px solid var(--line);border-radius:4px;text-align:left;display:flex;gap:12px;align-items:center}.look:hover{border-color:var(--red)}.look-palette{display:flex;flex-shrink:0}.look-palette i{width:16px;height:34px;display:block}.look-palette i:first-child{border-radius:3px 0 0 3px}.look-palette i:last-child{border-radius:0 3px 3px 0}.look strong{font-size:11px;display:block}.look small{font-size:9px;color:#888;display:block;margin-top:5px}.workspace footer{display:flex;justify-content:space-between;gap:15px;border-top:1px solid var(--line);padding-top:17px;margin-top:25px;font-size:11px;color:#72726b}aside{background:#fff;border-left:1px solid var(--line);padding:30px 24px}.aside-intro p:not(.eyebrow){font-size:12px}.step{margin-top:26px;padding-bottom:25px;border-bottom:1px solid var(--line);scroll-margin-top:30px}.step-heading{display:flex;align-items:center;gap:8px;margin-bottom:5px}.step-heading b{font-size:10px;border-radius:50%;height:22px;width:22px;background:#f0f0eb;display:grid;place-items:center;color:#666}.step-heading h3{margin:0;font-size:14px}.step.active .step-heading b{background:var(--red);color:white}.choice-name{display:block;margin:0 0 13px 30px;font-size:11px;color:#8a8a80}.swatches{display:grid;grid-template-columns:repeat(4,1fr);gap:10px 8px}.swatch{padding:0;font-size:9px;display:flex;flex-direction:column;align-items:center;gap:6px;line-height:1.2}.swatch i{display:grid;place-items:center;width:35px;height:35px;border-radius:50%;background:var(--swatch);border:3px solid white;outline:1px solid var(--line)}.swatch[aria-pressed=true] i{outline:2px solid var(--red)}.swatch[aria-pressed=true] i:after{content:'✓';font-size:13px;color:white;text-shadow:0 1px 3px #000}.swatch i.original{background:linear-gradient(130deg,#b5a084,#77736b)}.save-block{margin-top:25px}.primary{font-size:12px;background:var(--red);color:white;width:100%;padding:14px;border-radius:4px}.primary:hover{background:var(--red-dark)}.save-block>p{font-size:10px;margin-top:9px;text-align:center}.saved-list{margin-top:13px;display:grid;gap:6px}.saved-row{display:flex;background:#f1f1ec;padding:10px;border-radius:3px;font-size:11px;gap:6px}.saved-row button:first-child{flex:1;text-align:left}.saved-row button:last-child{font-size:16px}.sample-note{padding:14px;background:var(--panel);border-radius:4px;margin-top:23px;font-size:10px;line-height:1.7;color:#7b7b72}.sample-note strong{color:var(--muted);display:block}.sample-note a{text-decoration:underline}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:var(--ink);color:white;font-size:12px;padding:12px 20px;border-radius:4px;pointer-events:none;opacity:0;transition:opacity .2s;z-index:10}.toast.visible{opacity:1}.active-summary{padding:12px 0;font-size:11px;color:#7b7b71;display:flex;gap:7px;flex-wrap:wrap}.active-summary b{color:#333;font-weight:500}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}dialog{border:0;border-radius:6px;padding:30px;max-width:600px;width:90%;color:var(--ink);background:#fff;box-shadow:0 15px 60px #0003}dialog::backdrop{background:#2229;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}dialog p{margin:15px 0;font-size:13px}dialog a{text-decoration:underline;color:var(--red)}dialog .close{position:absolute;right:10px;top:6px;font-size:25px}dialog img{width:100%;border-radius:3px}dialog .primary{margin-top:15px}.download-link{display:block;text-align:center;background:var(--red);color:#fff;padding:14px;border-radius:4px;margin-top:16px;font-size:13px}.ready-note{text-align:center;font-size:11px;color:#777;margin-top:10px}[hidden]{display:none!important}@media(min-width:1600px){.photo-viewer{max-width:1050px;aspect-ratio:4/3}}@media(max-width:1150px){main{grid-template-columns:minmax(0,1fr) 300px}.workspace{padding:25px 22px 25px var(--workspace-left)}.intro{display:block}.intro .outline{margin-top:12px}.look-grid{gap:7px}.look{padding:10px;display:block}.look-palette{margin-bottom:10px}.look-palette i{height:24px}.photo-toolbar>span{font-size:8px}.hotspot{padding:4px 6px;font-size:8px}.hotspot i{width:13px;height:13px;font-size:8px}aside{padding:25px 20px}.swatches{grid-template-columns:repeat(3,1fr)}}@media(max-width:1000px){main{display:flex;flex-direction:column}.workspace{padding:22px var(--edge) 10px}h1{font-size:30px}.intro p:not(.eyebrow){font-size:12px}.photo-toolbar{align-items:start}.photo-toolbar>span{font-size:8px;line-height:1.5;max-width:90px}.photo-toolbar>div{gap:4px}.photo-toolbar button{font-size:10px;padding:7px 6px}.image-badge{left:8px;top:8px;font-size:8px;padding:6px}.hotspot{font-size:7px;gap:3px;padding:4px 5px}.hotspot i{height:12px;width:12px;font-size:7px}.compare-tags{top:8px;left:8px;right:8px}.compare-tags span{font-size:8px;padding:5px}.look-grid{gap:7px}.look strong{font-size:10px}.look small{font-size:8px}.comparison{gap:8px;font-size:10px}.comparison span{display:none}.photo-footnote{font-size:9px}.workspace footer{font-size:10px}.looks-header span{display:none}aside{border-left:0;border-top:1px solid var(--line);padding:25px var(--edge)}.swatches{grid-template-columns:repeat(6,1fr);gap:12px 8px}.swatch i{height:37px;width:37px}.step{margin-top:23px}.sample-note{margin-top:20px}.photo-viewer{aspect-ratio:4/3}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}

@media(max-width:1000px){
 .workspace .photo-viewer{position:sticky;top:6px;z-index:3;box-shadow:0 3px 12px #0002}
 .workspace aside{padding:18px 0 15px;background:transparent;border:0;margin:0}
 .workspace aside .aside-intro .eyebrow,.workspace aside .aside-intro p,.workspace aside .aside-intro h2{display:none}
 .surface-tabs{display:grid;grid-template-columns:repeat(var(--surface-count,4),minmax(0,1fr));gap:5px;margin:0 0 12px}
 .surface-tabs button{min-height:44px;background:#fff;border:1px solid var(--line);border-radius:4px;font-size:11px;padding:6px;line-height:1.3}
 .surface-tabs button[aria-pressed=true]{color:#fff;background:var(--red);border-color:var(--red)}
 .workspace aside .step{display:none;margin-top:0;padding:12px 14px 16px;background:#fff;border:1px solid var(--line);border-radius:4px}
 .workspace aside .step.active{display:block}
 .workspace aside .swatches{grid-template-columns:repeat(4,minmax(0,1fr));gap:13px 8px}
 .workspace aside .swatch{min-height:54px;font-size:10px}
 .workspace aside .swatch i{width:38px;height:38px}
 .workspace aside .save-block{margin-top:16px}
 .workspace aside .sample-note{margin-top:14px;font-size:11px}
 .saved-row strong{font-size:12px}.saved-row span{font-size:10px}
 .photo-toolbar button{min-height:42px}
 .comparison{padding-top:16px}.comparison input{min-height:32px}
 .active-summary{font-size:10px;padding-bottom:5px}
 .looks-header h2{font-size:22px}.look strong{font-size:11px}.look small{font-size:9px}
}


/* A phone-first studio: one surface at a time, large labeled choices. */
.phone-surface-picker,.phone-enlarge{display:none}
@media(max-width:900px){
 .workspace{padding:22px var(--edge)}.intro{margin-bottom:18px}.intro .eyebrow{display:none}
 h1{font-size:30px;line-height:1.15;letter-spacing:-.6px}.intro p:not(.eyebrow){font-size:16px;line-height:1.5;color:var(--muted)}
 .photo-toolbar{display:block;margin:0 0 12px}.photo-toolbar>span{display:none}.photo-toolbar>div{display:flex;gap:8px;flex-wrap:wrap}
 .photo-toolbar button,.photo-toolbar summary{font-size:16px;min-height:48px;padding:10px 12px;line-height:1.4}
 .phone-enlarge{display:block}.phone-tools{flex-basis:100%;border-bottom:1px solid var(--line)}
 .phone-tools summary{cursor:pointer;min-height:52px;font-size:18px;font-weight:600;line-height:1.45;padding:15px 0;color:#41413b}
 .phone-tools button{margin:0 8px 12px 0;min-height:48px;padding:10px 16px;border:1px solid #8a8a82;border-radius:5px;background:#fff;font-size:16px;line-height:1.3}.phone-tools button[aria-pressed=true]{color:var(--red);border-color:var(--red)}
 .photo-viewer .hotspot,.photo-viewer .image-badge{display:none}
 .compare-tags span{font-size:12px}.comparison{display:grid;grid-template-columns:1fr;padding:14px 0;gap:0;font-size:14px}
 .comparison input{width:100%;min-height:48px}.comparison label{font-size:16px}
 #summary{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 .surface-tabs{display:none}
 .phone-surface-picker{display:grid;gap:9px;font-size:16px;font-weight:600;margin:0 0 16px}
 .phone-surface-picker select{font:inherit;font-size:18px;min-height:54px;width:100%;padding:10px 14px;border:1px solid #999;border-radius:5px;background:#fff;color:var(--ink)}
 .workspace aside{padding-top:20px}.workspace aside .step{padding:0 0 18px;border:0;border-bottom:1px solid var(--line);background:transparent}
 .step-heading{display:none}.choice-name{font-size:16px;color:#444;margin:0 0 12px;font-weight:500}
 .workspace aside .swatches{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .workspace aside .swatch{flex-direction:row;justify-content:flex-start;min-height:68px;font-size:16px;gap:12px;text-align:left;padding:12px 10px;background:#fff;border:1px solid #ccc;border-radius:5px;line-height:1.3}
 .workspace aside .swatch i{width:32px;height:32px;flex:0 0 32px}.swatch[aria-pressed=true]{border:2px solid var(--red)!important;padding:11px 9px!important;background:#fffafa!important}
 .workspace aside .swatch[aria-pressed=true] i{outline:1px solid var(--red)}
 .save-block{display:grid;gap:12px}.save-block .outline,.save-block .primary{font-size:16px;width:100%;min-height:52px;padding:14px;margin:0}
 .save-block>p{font-size:14px;line-height:1.5;margin:0;color:var(--soft)}
 .phone-disclosure{border-bottom:1px solid #ccc;padding:0;margin:12px 0}
 .phone-disclosure>summary{font-size:16px;font-weight:600;min-height:52px;padding:15px 0;cursor:pointer}
 .phone-disclosure .looks{margin:0;padding:0 0 16px;border:0}.phone-disclosure .looks-header{display:none}
 .look-grid{grid-template-columns:1fr}.look{display:flex;min-height:74px;gap:16px;padding:14px}.look-palette{margin:0}.look strong{font-size:16px}.look small{font-size:14px}
 .phone-disclosure .photo-footnote{font-size:14px;line-height:1.65;color:var(--soft);padding-bottom:16px;margin:0}
 .saved-row strong{font-size:16px}.saved-row span{font-size:14px;color:var(--muted)}.saved-row button{min-height:48px}.saved-row button:last-child{min-width:44px}
 .workspace aside .sample-note{font-size:14px;line-height:1.6;color:var(--muted)}.sample-note a{display:inline-flex;align-items:center;min-height:48px;font-size:16px}
 .workspace footer{flex-direction:column;font-size:16px}.workspace footer a,.workspace footer button{font-size:16px;min-height:48px;text-align:left}
 .toast{font-size:16px;max-width:calc(100% - 24px);width:max-content;bottom:16px}
 dialog{padding:26px 20px}dialog p,.ready-note{font-size:16px}.download-link{font-size:16px;min-height:52px}dialog .close{min-width:48px;min-height:48px}
 .large-photo-dialog{max-width:none;width:100%;height:100vh;height:100dvh;max-height:100vh;max-height:100dvh;margin:0;border-radius:0;overflow:auto;padding:16px;background:#fff}
 .large-photo-close{display:block;margin:0 0 16px auto;min-height:48px;padding:10px 18px;background:#eee;border-radius:5px;font-size:16px}
 .large-photo-dialog img{width:100%;height:auto;object-fit:contain}.large-photo-dialog p{font-size:16px;color:#444}
}

.large-photo-scroll{overflow:auto;max-width:100%}.large-photo-scroll.zoomed img{width:200%;max-width:none}.large-photo-dialog .large-photo-close{display:inline-block;margin:0 8px 16px 0}
.phone-preview-note{display:none}@media(max-width:900px){.phone-preview-note{display:block;font-size:14px;line-height:1.5;color:var(--soft);margin-top:10px}}

/* Larger brand, earlier photo, same comfortable controls. */
@media(max-width:900px){
 .workspace{padding-top:16px}.intro{margin-bottom:14px}.intro p:not(.eyebrow){line-height:1.45}
 .photo-toolbar{padding-top:10px;margin-bottom:0}.phone-surface-picker{margin-bottom:8px}
}

@media(max-width:900px){
 .intro p:not(.eyebrow),.phone-surface-picker,.workspace aside .swatch,.choice-name,.save-block .outline,.save-block .primary,.phone-disclosure>summary{font-size:18px;line-height:1.45}
 .intro p:not(.eyebrow){color:var(--muted)}.phone-surface-picker select{font-size:20px}.phone-preview-note,.save-block>p,.saved-row span,.phone-disclosure .photo-footnote{font-size:16px;color:var(--muted)}
 .workspace aside .swatch{min-height:72px;gap:10px}.save-block .outline,.save-block .primary{min-height:54px}
}

/* Desktop finish labels and source notes need to remain readable beside the photo. */
@media(min-width:1001px){
 .aside-intro p:not(.eyebrow){font-size:14px;line-height:1.5}
 .step-heading h3{font-size:16px}
 .choice-name{font-size:13px;color:var(--soft)}
 .swatch{font-size:12px;line-height:1.3}
 .photo-toolbar button{font-size:13px;min-height:40px}
 .active-summary{font-size:13px;color:var(--soft)}
 .photo-footnote{font-size:13px;line-height:1.6;color:var(--soft)}
}

/* Uploaded portrait photos stay at their natural proportions; avoid oversized desktop previews. */
.workspace .photo-viewer.portrait-photo{width:min(100%,480px);max-width:480px;margin-inline:auto}
.surface-note{font-size:13px;line-height:1.5;margin:0 0 14px;color:var(--soft)}
@media(max-width:900px){.surface-note{font-size:16px;line-height:1.5}.workspace aside .swatch span{min-width:0;overflow-wrap:anywhere}}
body[data-scene=kitchen] #point-cabinets{left:23%;top:25%}body[data-scene=kitchen] #point-counter{left:37%;top:51%}body[data-scene=kitchen] #point-floor{left:63%;top:87%}

.supplied-home{display:grid;grid-template-columns:150px minmax(0,1fr);gap:22px;align-items:center;padding:24px 0;border-top:1px solid var(--line);margin-top:24px}.supplied-home img{width:100%;max-height:200px;object-fit:contain}.supplied-home p:not(.eyebrow){font-size:14px}.supplied-home a{display:inline-flex;min-height:44px;align-items:center;text-decoration:underline;font-size:14px}
@media(max-width:900px){.supplied-home{grid-template-columns:95px minmax(0,1fr);gap:16px}.supplied-home h2{font-size:22px}.supplied-home p,.supplied-home a{font-size:16px}.supplied-home .eyebrow{display:none}}

/* Long manufacturer names remain whole on the smallest phones. */
.swatches{grid-template-columns:repeat(3,minmax(0,1fr))}.swatch span{max-width:100%;overflow-wrap:break-word}
@media(max-width:900px){.workspace aside .swatches{grid-template-columns:repeat(auto-fit,minmax(min(100%,155px),1fr))}.workspace aside .swatch span{overflow-wrap:normal}}

.scene-picker{display:flex;align-items:center;gap:16px;font-size:16px;font-weight:600;margin:20px 0 12px}.scene-picker select{font:inherit;color:var(--ink);background:#fff;border:1px solid var(--line-strong);border-radius:5px;padding:12px;min-height:48px;max-width:100%}.scene-note{font-size:15px;line-height:1.5;margin:0 0 16px;color:#565b54}@media(max-width:600px){.scene-picker{display:grid;gap:8px}.scene-picker select{width:100%;font-size:17px}}

/* Skip link. The site header itself lives in practical.css, shared with the marketing pages. */
.skip-link{position:absolute;left:12px;top:8px;z-index:100;padding:12px 16px;background:#fff;color:#222;border:2px solid var(--red);border-radius:4px;font-size:16px;transform:translateY(-150%)}
.skip-link:focus{transform:translateY(0)}

/* Phone: a compact photo stays in view while finishes are chosen. */
.photo-viewer .phone-enlarge{display:none}
@media(max-width:900px){
 :root{--photo-h:34vh;scroll-padding-top:calc(var(--photo-h) + 16px)}
 @supports(height:1svh){:root{--photo-h:clamp(120px,34svh,340px)}}
 .workspace .photo-viewer,.workspace .photo-viewer.portrait-photo{position:sticky;top:0;z-index:6;width:min(100%,calc(var(--photo-h) * var(--photo-ratio,1.333)));max-width:100%;margin-inline:auto;border-radius:0;box-shadow:0 0 0 100vmax var(--page);clip-path:inset(0 -100vmax)}
 /* Text scrolling up under the pinned photo fades out in a short band instead of
    showing a half-cut line right at the photo's edge. At rest the band only covers
    the viewer's own bottom margin. Pins and badges are hidden on phones, so the
    viewer need not clip its children here. */
 .workspace .photo-viewer,.workspace .photo-viewer.portrait-photo{overflow:visible;margin-bottom:16px;clip-path:inset(0 -100vmax -16px)}
 .workspace .photo-viewer::after{content:'';position:absolute;top:100%;left:50%;width:100vw;margin-left:-50vw;height:16px;background:linear-gradient(var(--page) 35%,rgba(248,248,246,0));pointer-events:none}
 .photo-viewer .phone-enlarge{display:block;position:absolute;right:8px;bottom:8px;z-index:2;min-height:44px;padding:8px 12px;border:1px solid #666;border-radius:5px;background:#fffffff2;color:var(--ink);font-size:16px;font-weight:700;line-height:1.2}
 .photo-viewer .phone-enlarge:disabled{opacity:.55;cursor:wait}
 .photo-viewer.comparing .phone-enlarge{display:none}
 .phone-disclosure .looks{padding-top:0}
 .phone-tools{margin-bottom:12px}
}
@media(max-width:900px) and (max-height:480px){:root{--photo-h:clamp(96px,38svh,180px)}}

/* One consistent failure panel (designer pages). */
.failure-panel{margin:8px 0 24px;padding:24px;background:#fff;border:1px solid var(--line);border-left:5px solid var(--red);border-radius:5px}
.failure-panel h2{font-size:24px;line-height:1.25;margin:0 0 12px}
.failure-panel h2:focus{outline:none}
.failure-panel p{font-size:18px;line-height:1.55;color:var(--ink);margin:0 0 20px}
.failure-actions{display:flex;flex-wrap:wrap;gap:12px}
.failure-actions>*{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:12px 20px;font-size:18px;font-weight:600;border-radius:5px;border:1px solid #8a8a82;background:#fff;color:var(--ink);width:auto}
.failure-actions>.primary{background:var(--red);border-color:var(--red);color:#fff}
.failure-actions>a[href^=tel]{font-weight:700}
.studio-failed main{display:block}
.studio-failed aside,.studio-failed .studio-preview,.studio-failed .studio-heading>:not(.intro):not(.failure-panel),.studio-failed .studio-details>:not(footer),.studio-failed .intro>.outline{display:none!important}
@media(max-width:600px){.failure-actions>*{width:100%}}

.saved-scope{font-size:13px;line-height:1.5;color:var(--soft);margin:0 0 8px}
@media(max-width:900px){.saved-scope{font-size:16px;color:var(--muted)}}
@media(max-width:900px){.exterior-ideas a,.exterior-idea-card a{display:inline-flex;align-items:center;min-height:44px;font-size:16px}}

/* The pinned photo fade band is 100vw wide; keep it from adding sideways scroll when a scrollbar is present. */
@media(max-width:900px){html,body{overflow-x:clip}}

@media(max-width:900px){.photo-toolbar .desktop-enlarge{display:none}}

/* Phone: the caveat under the photo was 9px; keep it readable. */
@media(max-width:900px){.photo-footnote{font-size:14px;line-height:1.6;color:var(--soft)}}


/* Pre-send polish: the "View larger photo" link on the exterior page, and the saved-colors title. */
.photo-open{display:inline-flex;align-items:center;min-height:44px;padding:0;background:none;border:0;color:var(--red);font-size:16px;font-weight:600;text-decoration:underline;text-underline-offset:3px;text-align:left;cursor:pointer}
.saved-title{display:block;margin:0 0 4px;font-size:16px;font-weight:700;color:var(--ink)}
@media(max-width:900px){.saved-title{display:none}}

/* Desktop and tablet readability: nothing under 12px, helper text 14px or larger, one size for both buttons. */
@media(min-width:901px){
 .intro p:not(.eyebrow){font-size:15px;color:var(--soft)}
 .image-badge,.compare-tags span{font-size:12px;padding:7px 10px}
 .hotspot{font-size:12px;padding:6px 10px;gap:6px}.hotspot i{width:18px;height:18px;font-size:12px}
 .step-heading b{font-size:12px}
 .photo-toolbar button{font-size:14px;min-height:40px;padding:7px 12px}
 .comparison{font-size:14px}
 .looks-header span{font-size:14px;color:var(--soft)}
 .look strong{font-size:15px}.look small{font-size:14px;color:var(--soft);margin-top:3px}
 .workspace footer{font-size:14px;color:var(--soft)}
 .workspace footer a,.workspace footer button{display:inline-flex;align-items:center;min-height:44px;font-size:14px}
 .save-block>p,.saved-scope,.surface-note,.choice-name,.active-summary,.photo-footnote{font-size:14px;line-height:1.5;color:var(--soft)}
 .saved-row strong{font-size:15px}.saved-row span{font-size:14px;color:var(--soft)}
 .sample-note{font-size:14px;line-height:1.6;color:var(--soft)}.sample-note a{display:inline-flex;align-items:center;min-height:44px}
 .toast,.ready-note{font-size:14px}dialog p{font-size:15px}
 .surface-tabs button{font-size:14px}
 .primary,.save-block .share-design,.intro .outline,.download-link{font-size:16px;font-weight:600;min-height:48px;padding:12px 18px;line-height:1.3}
 .large-photo-dialog .large-photo-scroll:not(.zoomed) img{width:auto;max-width:100%;max-height:68vh;margin:0 auto}
}
.workspace footer{color:var(--soft)}.workspace footer button{padding:0}.workspace footer a,.workspace footer button{text-decoration:underline;text-underline-offset:3px}

/* Related tools wrap without squeezing links on narrow screens. */
.workspace footer{flex-wrap:wrap;align-items:center}
@media(max-width:900px){.workspace footer{align-items:flex-start}.workspace footer a,.workspace footer button{display:inline-flex;align-items:center;min-height:44px;font-size:16px}}

/* Product lines inside one surface (e.g. siding: Standard vinyl, Upgraded vinyl, LP siding). */
.swatches+.swatch-group,.swatch-group+.swatch-group{margin-top:18px}
.swatch-group-heading{margin:0 0 10px;font-size:12px;font-weight:700;letter-spacing:1.5px;text-transform:uppercase;color:var(--soft)}
.ask-sample{margin:10px 0 0;font-size:13px;line-height:1.5;color:var(--soft);font-style:italic}
@media(max-width:900px){.swatch-group-heading{font-size:16px;letter-spacing:0;text-transform:none;color:var(--ink)}.ask-sample{font-size:15px}.swatches+.swatch-group,.swatch-group+.swatch-group{margin-top:16px}}

/* Shared page edges (tokens.css): the logo, headline and footer start at the same left edge as the marketing pages. */
:root{--workspace-left:calc(var(--gutter) - max(0px,calc((100vw - 1440px)/2)))}

/* The main action comes first; Share or print and Download are the secondary buttons. */
.save-block{display:flex;flex-direction:column;gap:12px}
.save-block>p{margin:0}
.save-block .saved-list{margin-top:0}
#save{order:-1}

/* Card corners follow one radius. */
.look,.sample-note,.exterior-idea-card,.finish-sample,.failure-panel{border-radius:var(--radius)}

/* Exterior colors: four swatches across on desktop so the groups do not leave single orphans. */
@media(min-width:1151px){.swatches{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px 6px}}

/* Desktop: the preview follows the page scroll while the color groups stay in normal document flow. */
.studio-view,.studio-heading,.studio-preview,.studio-details{display:contents}
h3.step-heading{margin:0 0 5px;font-size:14px}
.step-toggle{display:flex;align-items:center;gap:8px;padding:0;text-align:left;font:inherit;font-weight:700;color:inherit}
.step-choice{display:none}
.photo-toolbar button:disabled{opacity:.5;cursor:wait}
[aria-busy=true]{cursor:progress}
.photo-toolbar button[aria-busy=true],#export[aria-busy=true],.photo-viewer .phone-enlarge[aria-busy=true]{opacity:.75}
@media(min-width:1001px){
 .workspace{display:contents}
 .studio-view,.studio-details{display:block;min-width:0;grid-column:1;padding-inline:var(--workspace-left) 30px}
 .studio-view{grid-row:1;padding-top:14px}
 .studio-details{grid-row:2;padding-bottom:25px}
 .studio-preview{display:block;position:sticky;top:12px;padding-bottom:12px}
 main>aside{grid-column:2;grid-row:1;padding:16px 20px 20px}
 .studio-failed .studio-view,.studio-failed .studio-details{grid-column:1/-1}
 /* Row 1: title and photo choice. Row 2: photo tools and Download. Then the photo. */
 .studio-heading{display:flex;flex-wrap:wrap;align-items:center;column-gap:16px}
 .studio-heading>*{flex:0 0 100%;min-width:0}
 .studio-heading::after{content:'';order:-4;flex:0 0 100%;height:0}
 .studio-heading>.intro{display:contents}
 .intro>div{order:-6;flex:1 1 0%;min-width:0}
 .intro .eyebrow,.intro p:not(.eyebrow){display:none}
 .intro h1{font-size:26px;line-height:1.2;letter-spacing:-.5px;margin:0}
 .studio-heading>.scene-picker{order:-5;flex:0 0 auto;margin:0;gap:10px;font-size:15px}
 .studio-heading>.scene-picker select{min-height:40px;padding:6px 10px;font-size:15px}
 .studio-heading>#shared-design-note,.studio-heading>.failure-panel,.studio-heading>.scene-note{order:-4;margin:10px 0 0}
 .studio-heading>.photo-toolbar{order:-3;flex:1 1 0%;justify-content:flex-start;flex-wrap:wrap;gap:8px;margin:10px 0}
 .photo-toolbar>div{flex-wrap:wrap;gap:8px}
 .intro>#export{order:-2;flex:0 0 auto;margin:0;min-height:40px;padding:7px 16px;font-size:15px}
 /* Whole photo in the window: height left below the rows above it; width follows the photo's shape. */
 .studio-preview>.photo-viewer,.studio-preview>.photo-viewer.portrait-photo{--fit-h:max(180px,calc(100vh - var(--photo-top,300px) - var(--compare-space,0px) - 14px));width:auto;max-width:min(100%,calc(var(--fit-h) * var(--photo-ratio,1.333)));max-height:none;margin:0 auto}
 .studio-preview>.photo-viewer.portrait-photo{max-width:min(100%,480px,calc(var(--fit-h) * var(--photo-ratio,.75)))}
 .studio-preview:has(>.comparison:not([hidden])){--compare-space:52px}
 .comparison{padding:10px 0}
 .aside-intro .eyebrow,.aside-intro p:not(.eyebrow){display:none}
 .aside-intro h2{font-size:20px;margin:0}
 #finish-controls{margin-top:10px;border-top:1px solid var(--line)}
 #finish-controls .step{margin:0;padding:0;border-bottom:1px solid var(--line)}
 h3.step-heading{display:block;margin:0;font-size:16px}
 .step-toggle{display:grid;grid-template-columns:22px auto minmax(0,1fr) 14px;align-items:center;gap:8px;width:100%;min-height:50px;padding:8px 2px;font-size:16px;line-height:1.3}
 .step-toggle:hover .step-label{color:var(--red)}
 .step-toggle:focus-visible{outline:3px solid var(--red);outline-offset:-3px;border-radius:4px}
 .step-toggle b{flex:0 0 22px}
 .step-choice{display:flex;align-items:center;justify-content:flex-end;gap:6px;min-width:0;font-size:14px;font-weight:400;color:var(--soft);text-align:left}
 .step-choice-name{min-width:0;overflow-wrap:anywhere}
 .step-chip{flex:0 0 18px;width:18px;height:18px;border-radius:50%;border:1px solid var(--line-strong);background-size:cover;background-position:center}
 .step-chip.original{background:linear-gradient(130deg,#b5a084,#77736b)}
 .step-toggle::after{content:'';width:8px;height:8px;margin:0 3px 4px 3px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg)}
 .step.active .step-toggle::after{transform:rotate(-135deg);margin:4px 3px 0 3px}
 .step:not(.active) .step-body,.step:not(.active) .finish-sample,#finish-controls .choice-name{display:none}
 .step-body{padding:4px 0 14px}
 .step .finish-sample{grid-template-columns:52px minmax(0,1fr);gap:10px;margin:0 0 14px;padding:8px}
 .step .finish-sample-thumb{width:52px;height:52px}
 .step .finish-sample-open{min-height:40px;margin-top:4px;padding:7px 10px}
 .save-block{margin-top:16px;display:grid;gap:8px}
 .save-block>p{margin:0}
 .save-block .share-design,.save-block .email-design,.save-block .primary{min-height:44px;padding:9px 14px}
 .saved-list{margin-top:4px}
 .saved-list.empty{display:none}
 .sample-note{margin-top:16px}
}
@media(min-width:1001px) and (max-width:1150px){
 .studio-view,.studio-details{padding-right:22px}
 .intro h1{font-size:22px}
 .studio-heading>.photo-toolbar,.photo-toolbar>div{gap:6px}
 .studio-heading>.photo-toolbar button{padding:7px 8px}
 .intro>#export{padding:7px 12px}
 .studio-heading>.scene-picker{gap:8px}
}
.email-design{display:flex;align-items:center;justify-content:center;width:100%;min-height:48px;margin:0;padding:12px;border:2px solid var(--red);border-radius:4px;background:#fff;color:var(--red);font-size:16px;font-weight:600;line-height:1.3;text-align:center;text-decoration:none;white-space:normal}
.email-design:hover:not([aria-disabled=true]){background:#fbeaea;color:var(--red-dark)}
.email-design:focus-visible{outline:3px solid var(--red);outline-offset:3px}
.email-design[aria-disabled=true]{opacity:.45;cursor:wait}
.save-block>.email-help{margin-top:6px}
@media(max-width:900px){.save-block .email-design{font-size:18px;min-height:54px}}
/* "View larger" on a computer: as large as the window allows (it was capped at 600px wide). */
@media(min-width:901px){
 .large-photo-dialog{width:min(1400px,calc(100vw - 48px));max-width:none;max-height:calc(100vh - 32px);padding:16px 24px 18px;overflow:auto}
 .large-photo-dialog .large-photo-scroll{max-height:calc(100vh - 150px)}
 .large-photo-dialog .large-photo-scroll:not(.zoomed) img{display:block;width:auto;max-width:100%;max-height:calc(100vh - 160px);margin:0 auto}
 .large-photo-dialog p{margin:10px 0 0}
}
