@font-face{font-family:Lato;src:url('./assets/lato-regular.ttf') format('truetype');font-weight:400;font-display:swap}@font-face{font-family:Lato;src:url('./assets/lato-bold.ttf') format('truetype');font-weight:700;font-display:swap}
:root{--green:#447230;--ink:#242424;--muted:#767676;--line:#e8e8e5;--soft:#f7f8f5;color:var(--ink);font-family:Lato,Arial,sans-serif;font-synthesis:none;font-size:16px}*{box-sizing:border-box}body{margin:0;background:#fff}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer}button:focus-visible,a:focus-visible,canvas:focus-visible{outline:3px solid #447230;outline-offset:5px}button:disabled{cursor:wait}a{color:inherit;text-decoration:none}.header{height:100px;margin:0 40px;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:36px}.logo{display:flex}.logo img{width:200px;height:auto}.studio-label{border-left:1px solid #d8d8d8;padding-left:32px;font-size:12px;letter-spacing:.17em;color:#777}.back-link{margin-left:auto;font-size:14px}.back-link span{margin-left:8px;font-size:20px}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 340px;min-height:calc(100svh - 100px);max-width:1920px;margin:auto}.viewer{position:relative;min-width:0;height:calc(100svh - 100px);min-height:560px;background:#fff}.viewer canvas{display:block;width:100%;height:100%;touch-action:none;cursor:grab}.viewer canvas:active{cursor:grabbing}.view-caption{position:absolute;left:48px;top:38px;pointer-events:none;z-index:1}.eyebrow{font-size:12px;letter-spacing:.12em;color:#7b7b7b}h1{font-size:28px;font-weight:400;margin:10px 0;letter-spacing:-.02em}.panel{border-left:1px solid var(--line);padding:44px 28px 28px;display:flex;flex-direction:column}.section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;gap:8px}h2{font-size:17px;margin:0;font-weight:700}.section-heading>span{font-size:12px;color:var(--muted)}.products{display:grid;gap:12px}.product{border:1px solid var(--line);border-radius:5px;background:#fff;display:flex;align-items:center;text-align:left;padding:8px;gap:10px;min-height:91px;transition:border-color .2s,background .2s}.product:hover{border-color:#a1b49a}.product.selected{border-color:var(--green);background:#f6f9f4;box-shadow:0 0 0 1px var(--green)}.product img{width:83px;height:70px;object-fit:cover;border-radius:2px}.product strong{display:block;font-size:14px;line-height:1.5}.product small{font-size:12px;color:var(--muted);display:block;margin-top:4px}.selection-mark{visibility:hidden;margin-left:auto;color:var(--green);font-size:18px}.selected .selection-mark{visibility:visible}.finish-section{border-top:1px solid var(--line);margin-top:32px;padding-top:30px}.swatches{display:flex;gap:22px}.swatch{padding:0;border:0;background:transparent;font-size:14px;display:flex;flex-direction:column;align-items:center;gap:13px;min-width:58px}.sample{display:block;width:48px;height:48px;border-radius:50%;border:1px solid #ddd;position:relative}.swatch.selected .sample:after{content:'';position:absolute;inset:-5px;border:1.5px solid var(--green);border-radius:50%}.swatch.selected{color:var(--green)}.sample.wood{background:#c8a16b url('./assets/wood.jpg') center/100px}.sample.white{background:#f7f7f4}.sample.black{background:#282a28}.finish-note{font-size:14px;line-height:1.6;color:var(--muted);margin:23px 0 0;min-height:45px}.panel-bottom{margin-top:auto;padding-top:64px}.panel-bottom .eyebrow{font-size:11px;letter-spacing:.12em;color:var(--green)}.panel-bottom p{font-size:16px;line-height:1.6;margin:12px 0 24px}.panel-bottom small{font-size:12px;line-height:1.65;display:block;color:#888;max-width:260px}.view-footer{position:absolute;bottom:26px;left:40px;right:32px;display:flex;align-items:center;justify-content:space-between;gap:16px}.gesture{font-size:12px;color:#777;display:flex;align-items:center;gap:10px}.gesture svg{width:19px;height:23px;stroke:#888;stroke-width:1.3;fill:none}.gesture span{padding:0 2px}.view-actions{display:flex;gap:6px}.view-actions button{background:#fff;border:1px solid var(--line);border-radius:4px;padding:10px 12px;display:flex;align-items:center;gap:7px;font-size:13px}.view-actions button:hover,.view-actions button[aria-pressed=true]{background:var(--soft);border-color:#a1b49a}.view-actions svg{width:17px;height:17px;stroke:currentColor;stroke-width:1.4;fill:none}.load-state{position:absolute;inset:0;background:#ffffffdd;display:flex;align-items:center;justify-content:center;gap:14px;font-size:14px;z-index:2;flex-direction:column}.load-state[hidden],button[hidden]{display:none}.load-state button{background:var(--green);color:white;border:0;border-radius:3px;padding:12px 20px}.spinner{width:25px;height:25px;border:2px solid #ddd;border-top-color:var(--green);border-radius:50%;animation:spin .8s linear infinite}.load-state.error .spinner{display:none}@keyframes spin{to{transform:rotate(360deg)}}
@media(min-width:1600px){.workspace{grid-template-columns:minmax(0,1fr) 390px}.panel{padding:48px 36px}}
@media(max-width:1050px){.header{margin:0 24px;height:82px}.workspace{grid-template-columns:minmax(0,1fr) 300px;min-height:calc(100svh - 82px)}.panel{padding:30px 20px}.viewer{height:calc(100svh - 82px)}.view-caption{left:28px;top:30px}.view-footer{left:24px;right:20px;flex-direction:column-reverse;align-items:center}.gesture{font-size:11px}.swatches{gap:18px}h1{font-size:25px}}
@media(max-width:700px){.header{height:74px;margin:0 20px;gap:18px}.logo img{width:152px}.studio-label{padding-left:18px;font-size:10px}.back-link{font-size:0}.back-link span{font-size:23px;margin:0}.workspace{display:flex;flex-direction:column}.viewer{height:56svh;min-height:370px;max-height:570px}.view-caption{top:24px;left:22px}h1{font-size:23px}.view-caption .eyebrow{font-size:10px}.view-footer{bottom:10px;gap:9px}.view-actions button{padding:8px 12px}.gesture{font-size:11px}.panel{border-left:0;border-top:1px solid var(--line);padding:26px 22px}.products{grid-template-columns:1fr 1fr;gap:12px}.product{flex-wrap:wrap;position:relative;padding:8px 10px;gap:4px}.product img{width:65px;height:54px}.product strong{font-size:13px}.selection-mark{position:absolute;right:9px;top:12px}.product>span:not(.selection-mark){width:100%;padding:2px 0 6px}.finish-section{margin-top:24px;padding-top:24px}.swatches{gap:28px}.finish-note{margin-top:18px;min-height:0}.panel-bottom{padding-top:20px;border-top:1px solid var(--line);margin-top:24px}.panel-bottom .eyebrow,.panel-bottom p{display:none}.panel-bottom small{max-width:none}.section-heading{margin-bottom:16px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}.spinner{animation-duration:2s}}
.panel{padding-top:28px;padding-bottom:20px}.finish-section{margin-top:24px;padding-top:24px}.panel-bottom{padding-top:28px}
@media(min-width:701px){.panel{max-height:calc(100svh - 100px);overflow:auto}.workspace{height:calc(100svh - 100px)}.viewer{min-height:480px}.panel-bottom{padding-top:20px}}
@media(min-width:701px) and (max-width:1050px){.panel{max-height:calc(100svh - 82px)}.workspace{height:calc(100svh - 82px)}}
@media(max-width:700px){.viewer{height:44svh;min-height:330px;max-height:500px}}
.viewer{background:#e3e3e1}.load-state{background:#e3e3e1ee}.sample.white{background:#fff}
.swatches{flex-wrap:wrap;row-gap:20px}.sample.white-stain{background:linear-gradient(#f4eee2b8,#f4eee2b8),url('./assets/wood.jpg') center/100px}.sample.brown-stain{background:linear-gradient(#6339199c,#6339199c),url('./assets/wood.jpg') center/100px}
.product img{object-fit:contain;background:#e3e3e1}
#product-search{font:inherit;font-size:13px;border:1px solid #d8d8d8;border-radius:4px;padding:11px 10px;width:100%;margin:0 0 14px;flex-shrink:0}
#product-search:focus-visible{outline:2px solid var(--green);outline-offset:2px}
#no-products{font-size:14px;color:var(--muted)}
.thumbnail-capture .header,.thumbnail-capture .panel,.thumbnail-capture .view-caption,.thumbnail-capture .view-footer{display:none}
.thumbnail-capture .workspace{display:block;margin:0;width:640px;height:480px;min-height:0}
.thumbnail-capture .viewer{width:640px;height:480px;min-height:0;max-height:none}
@media(min-width:701px){.panel{overflow:hidden;min-height:480px}.product-section{display:flex;flex-direction:column;flex:1;min-height:110px}.product-section .section-heading{flex-shrink:0}.products{overflow-y:auto;min-height:0;padding:2px 8px 6px 2px;scrollbar-width:thin;scrollbar-color:#a1b49a transparent;overscroll-behavior:contain}.finish-section,.panel-bottom{flex-shrink:0}.finish-note{min-height:0}.panel-bottom{margin-top:0;padding-top:16px}}
.workspace{grid-template-columns:340px minmax(0,1fr)}
.panel{grid-column:1;grid-row:1;border-left:0;border-right:1px solid var(--line)}
.viewer{grid-column:2;grid-row:1}
.categories{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:0 0 14px;flex-shrink:0}
.category-button{display:flex;align-items:center;justify-content:space-between;gap:5px;min-height:42px;padding:7px 8px;border:1px solid var(--line);border-radius:5px;background:#fff;text-align:left;font-size:12px;line-height:1.2}
.category-button:hover{border-color:#a1b49a;background:#f6f9f4}
.category-button[aria-pressed="true"]{border-color:var(--green);background:#f0f5ed;color:#315723;font-weight:700}
.category-button small{flex-shrink:0;color:var(--muted);font-size:11px}
.category-button[aria-pressed="true"] small{color:#315723}
.products{display:grid;gap:10px}
.product[hidden]{display:none}
@media(min-width:1600px){.workspace{grid-template-columns:390px minmax(0,1fr)}}
@media(min-width:701px) and (max-width:1050px){.workspace{grid-template-columns:300px minmax(0,1fr)}}
@media(max-width:700px){.workspace{display:flex;flex-direction:column}.viewer{order:0}.panel{order:1;border-right:0}.categories{gap:8px}.products{grid-template-columns:1fr 1fr;gap:12px}}
.view-caption{max-width:min(560px,calc(100% - 96px))}
.shop-cta{pointer-events:auto;display:inline-flex;align-items:center;justify-content:center;gap:12px;margin-top:10px;padding:12px 17px;background:var(--green);border:1px solid var(--green);border-radius:6px;color:#fff;font-size:14px;font-weight:700;line-height:1.25;box-shadow:0 5px 14px #1d371f25;transition:background .2s,transform .2s}
.shop-cta:hover{background:#315723;transform:translateY(-1px)}
.shop-cta span{font-size:18px;font-weight:400}
.shop-cta-mobile{display:none}
@media(min-width:701px){.panel{overflow-y:auto;scrollbar-width:thin}.product-section{flex:none;min-height:0}.products{height:clamp(240px,38svh,380px);min-height:240px;grid-auto-rows:max-content;scrollbar-width:auto;scrollbar-color:#9caf8d #f1f3ef}.finish-section{margin-top:22px}}
@media(max-width:700px){.view-caption{max-width:calc(100% - 44px)}.view-caption .shop-cta{display:none}.shop-cta-mobile{display:flex;margin:0 0 22px;font-size:13px;padding:12px 14px}}
.development-note{display:grid;gap:4px;flex-shrink:0;margin:0 0 24px;padding:12px 14px;border:1px solid #dfe9da;border-radius:6px;background:#f7faf5;color:#4d5849;font-size:12px;line-height:1.45}
.development-note strong{color:#315723;font-size:12px}
@media(max-width:700px){.development-note{margin-bottom:22px}}
.load-state.error{padding:24px;text-align:center}
.error-detail{max-width:600px;font-size:12px;color:#666;line-height:1.5;overflow-wrap:anywhere}
