/* KAUKA atelier — clearer editing, bigger choices and responsive preview. */
:root{--accent:#96394f;--line:#ded2c2;--cream:#f7f2e9;--ink:#35271f}
body{background:radial-gradient(ellipse at 5% 5%,#ecd3ad55,transparent 45%),#f7f2e9}
.site-head{background:#f7f2e9e8;border-bottom:1px solid #ded2c2;backdrop-filter:blur(18px)}
main{max-width:1550px;margin:auto;padding:36px clamp(20px,4vw,64px) 60px}
.intro{align-items:end;margin-bottom:32px}.intro h1{font-size:clamp(48px,5vw,82px);line-height:1.04;letter-spacing:-.055em}.intro h1 em{color:var(--accent)}.intro .eyebrow{letter-spacing:.16em}.intro>p{font-size:14px;line-height:1.8;color:#817163}
.studio{grid-template-columns:minmax(0,1.12fr) minmax(420px,1fr);gap:30px;align-items:start}
.preview-column{top:18px;padding:0;background:transparent}
.preview{border-radius:28px;background:radial-gradient(ellipse at 50% 25%,#fff5e6,#e6d1b3);border:1px solid #d4bc9c;box-shadow:0 18px 60px #4b30200a}
.preview-edit{padding-bottom:10px;margin-bottom:8px}.preview-edit>span{display:none}.preview-edit button{min-height:40px}.view-tabs button[aria-pressed=true]{background:#392b23}
.preview-top{gap:10px}.preview-top>span{margin-right:auto;white-space:nowrap}.preview-top button{min-height:40px;white-space:nowrap;font-size:10px}.preview-top i{background:#778b64}
.canvas-wrap{height:calc(100dvh - 450px);min-height:340px;max-height:620px}.watermark{opacity:.055}
.preview-bottom{gap:20px}.preview-bottom strong{font-size:10px}.preview-note{font-size:11px;line-height:1.65;color:#827263;margin:14px 3px}
.preview-tools{display:flex;align-items:center;flex-wrap:wrap;gap:6px 14px}.preview-tools .text-button{min-height:44px;font-size:11px}.reference-link{margin-left:auto;font-size:11px;min-height:44px}
.design-history{padding:7px 0;min-height:38px}.design-history button{min-height:36px;font-size:11px}#design-status{font-size:11px}
.live-recipe{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:7px}.recipe-piece{border:1px solid var(--line);border-radius:16px;background:#fffcf6;text-align:left;padding:12px 14px;display:flex;flex-direction:column;gap:4px;min-width:0}.recipe-piece:hover{border-color:#96394f}.recipe-title{font-size:10px;letter-spacing:.14em;text-transform:uppercase;color:#9b394d}.recipe-detail{font-size:12px;line-height:1.4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.options{padding:28px;border:1px solid #e5d9c9;border-radius:28px;background:#fffdf8;box-shadow:0 12px 40px #3c281508;min-height:0}.editor-head{margin-bottom:8px;font-size:10px}.reset-design{float:right;font-size:10px;min-height:36px}
.design-steps{clear:both;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:8px 0 24px;padding:8px 0 14px;background:#fffdf8;border-bottom:1px solid #e8ded2}.design-steps button{min-height:54px;border:1px solid transparent;border-radius:12px;background:#f2ece3;font-size:12px;padding:9px 4px;flex-direction:column;gap:4px}.design-steps button>span{font-size:9px;opacity:.7}.design-steps button[aria-current]{background:#96394f;color:white;box-shadow:0 5px 14px #96394f18}.design-steps button[data-complete=true]:not([aria-current]){border-color:#81926a55;background:#f2f4eb}
fieldset legend{font-size:30px;letter-spacing:-.035em;line-height:1.15}.options .hint{font-size:12px;line-height:1.65;color:#837364;margin:12px 0 18px}.options h3{font-size:14px;margin:24px 0 12px}.cut-parts{margin:20px 0 6px}.cut-parts button{min-height:44px;font-size:12px}
.model-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.choice{border:1px solid #e0d5c7;border-radius:16px;padding:7px;background:#fffdf8;transition:border-color .2s,box-shadow .2s,transform .2s}.model-choice .choice-art{height:120px;border-radius:10px;background:#eee2cf}.choice-name{font-size:11px;line-height:1.4;margin-top:8px;min-height:34px}.choice:has(input:checked){background:#fff7f6;border-color:#96394f;box-shadow:0 0 0 1px #96394f}.choice:has(input:focus-visible),.size:has(input:focus-visible){outline:3px solid #34799a;outline-offset:3px}.choice:hover{border-color:#b59180;transform:translateY(-2px)}.choice:active{transform:scale(.985)}
.choice:has(input:checked) .choice-name::after{content:none!important}.choice:has(input:checked)::after{content:'✓';position:absolute;top:12px;right:12px;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#96394f;color:white;font-size:12px;box-shadow:0 2px 5px #48202b25}
.swatches{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.swatch .choice-art{height:150px}.trim-swatches{grid-template-columns:repeat(3,minmax(0,1fr))}.trim-swatches .choice-art{height:96px}.same-print{display:grid;place-items:center;font-size:15px;color:#897361}
.sizes{display:flex;gap:8px;flex-wrap:wrap}.size{flex:1;min-width:60px}.size span{width:100%;min-height:50px;display:grid;place-items:center;border-radius:12px;font-size:14px}.size input:checked+span{background:#96394f;border-color:#96394f;color:#fff}.rear-cuts{gap:8px}.rear-cuts .size span{font-size:12px;min-height:50px}
.step-navigation{position:static;margin-top:22px;padding-top:16px;border-top:1px solid #e6dbce;gap:12px}.step-navigation .primary{min-height:56px;border-radius:14px;background:#96394f}.step-navigation .text-button{min-height:44px;font-size:12px}.primary{background:#96394f;border-radius:14px;min-height:56px;font-size:13px;box-shadow:0 6px 20px #96394f13}.step-feedback{font-size:12px;line-height:1.5;color:#96394f;margin-top:12px}.step-feedback:empty{display:none}
.summary{background:#f4eee5;border:1px solid #e4d7c8;border-radius:18px;padding:20px;margin:20px 0}.summary #selection{font-size:12px;line-height:1.8}.summary .price{font-size:11px;color:#7d6b5d}.design-checklist{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:14px 0}.completion-copy{grid-column:1/-1;font-size:12px;margin:0 0 4px;color:#7d6b5d}.check-item{min-height:42px;border:1px solid #d4bfac;border-radius:10px;background:#fff9f2;text-align:left;padding:8px 10px;font-size:10px;line-height:1.4}.check-item.is-done{border-color:#9aa68166;background:#f6f8ee;color:#56643e}
.reference-intro{border-top:1px solid #e2d5c5;padding-top:32px;margin-top:45px}.reference-intro h2{font-size:36px}.demo-note{font-size:11px;line-height:1.6}
[hidden]{display:none!important}
@media(max-width:1000px) and (min-width:801px){main{padding-inline:24px}.studio{gap:20px;grid-template-columns:minmax(0,1fr) minmax(360px,1fr)}.options{padding:20px}.model-choice .choice-art{height:105px}}
@media(max-width:800px){
 main{padding:20px 14px 40px}.intro{margin:0 4px 22px}.intro h1{font-size:48px}.intro .eyebrow{font-size:8px}.intro>p{display:none}.studio{display:grid;grid-template-columns:1fr;gap:12px}
 .preview-column{position:sticky;top:0;z-index:4;background:#f7f2e9;padding:6px 0 0}.preview{padding:10px;border-radius:22px}.preview-edit{gap:7px;padding-bottom:6px;margin-bottom:3px}.preview-edit button{padding:6px 13px;min-height:32px;font-size:10px}.view-tabs{width:auto;margin:0}.preview-top{padding:0 2px;gap:9px;font-size:8px}.preview-top button{min-height:30px;font-size:9px}.canvas-wrap{height:28dvh;min-height:230px;max-height:310px;margin:0}.preview-column.is-expanded .canvas-wrap{height:43dvh;min-height:340px;max-height:480px}
 .preview-bottom{padding-top:6px;min-height:25px;gap:10px}.preview-bottom strong{font-size:8px;line-height:1.4}.preview-bottom>span{font-size:7px}.design-history{min-height:30px;padding:3px 0}.design-history button{min-height:30px;font-size:9px}#design-status{font-size:9px}.preview-tools{margin:0;gap:5px;justify-content:space-between;padding:0 2px}.preview-tools .text-button{min-height:30px;font-size:9px}.reference-link{min-height:30px;font-size:9px;padding:5px 0;margin-left:0}.preview-note,.live-recipe{display:none}
 .options{padding:16px 13px;border-radius:22px;scroll-margin-top:calc(var(--studio-preview-height) + 8px)}.editor-head{font-size:8px;margin-bottom:4px}.reset-design{font-size:9px;min-height:28px}.design-steps{position:sticky;top:var(--studio-preview-height);z-index:5;margin:4px -1px 16px;padding:5px 0 9px;background:#fffdf8}.design-steps button{font-size:10px;min-height:47px;padding:6px 3px;gap:3px}.design-steps button span{font-size:8px}
 fieldset legend{font-size:26px}.options .hint{font-size:11px;margin:9px 0 14px}.options h3{font-size:13px;margin:18px 0 10px}.cut-parts{margin:15px 0 8px}.cut-parts button{min-height:44px;font-size:11px}.model-options{gap:8px}.model-choice .choice-art{height:96px}.choice-name{font-size:10px;min-height:32px}.choice{padding:6px;border-radius:13px}.swatches{gap:9px}.swatch .choice-art{height:124px}.trim-swatches .choice-art{height:76px}.choice:has(input:checked)::after{top:10px;right:10px;width:18px;height:18px;font-size:10px}.summary{padding:16px}.check-item{font-size:10px}.step-navigation .primary{min-height:52px;font-size:12px}.reference-intro h2{font-size:30px}
}
@media(max-height:650px) and (max-width:800px){.preview-column{position:static}.design-steps{top:0}.options{scroll-margin-top:12px}.canvas-wrap{height:260px}.preview-column.is-expanded .canvas-wrap{height:360px}}
@media(prefers-reduced-motion:reduce){.choice,.preview{transition:none}.choice:hover{transform:none}}
@media(max-width:800px){html{scroll-padding-top:calc(var(--studio-preview-height) + 70px)}.canvas-wrap{height:32dvh;min-height:270px;max-height:380px}.choice,.size{scroll-margin-top:calc(var(--studio-preview-height) + 70px)}}
@media(max-width:800px){.options,.choice,.size,.options fieldset{scroll-margin-top:0}}

@media(max-height:650px) and (max-width:800px){html{scroll-padding-top:70px}}

@media(min-width:801px){.options{scroll-margin-top:18px}#preview-size{display:none}}

.piece-description{display:block;font-size:10px;line-height:1.45;color:#796758;margin-top:5px}.piece-price{display:block;font-size:11px;font-weight:600;color:#96394f;margin:7px 0 3px}

footer{flex-wrap:wrap}.delivery-notice{flex:0 0 100%;padding:22px 24px;margin-bottom:20px;border:1px solid #d6bfa3;border-left:4px solid #953b50;border-radius:18px;background:#f0dfc6;color:#422b1f;text-align:center;font-size:16px;line-height:1.6}.delivery-notice strong{display:block;font-size:12px;text-transform:uppercase;letter-spacing:.12em}.delivery-notice p{margin:8px 0 0}.delivery-notice b{font-weight:600}@media(max-width:800px){.delivery-notice{padding:20px 18px;font-size:15px;margin-bottom:8px}}
