@font-face{font-family:Inter;src:url(forma/assets/inter-cyrillic.woff2);font-weight:100 900;font-display:swap;unicode-range:U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:Inter;src:url(forma/assets/inter-latin.woff2);font-weight:100 900;font-display:swap;unicode-range:U+0000-00FF,U+2000-206F}
*{box-sizing:border-box}body{margin:0;background:var(--paper,#f5f1ea);color:#20251f;font:400 16px/1.55 Inter,system-ui,sans-serif}[hidden]{display:none!important}
h1,h2,p,figure{margin:0}a{color:inherit;text-underline-offset:4px}button,input{font:inherit;color:inherit}button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}
:focus-visible{outline:3px solid var(--accent);outline-offset:4px}.shell{width:min(calc(100% - 40px),1280px);margin-inline:auto}
header{background:#fffdf8;border-bottom:1px solid #2223}.mast{display:flex;justify-content:space-between;align-items:center;min-height:76px;gap:15px}.mast span{font-size:12px;color:#4d594c}
.logo{width:155px;height:54px;object-fit:contain;object-position:left center}.hero{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:clamp(24px,6vw,86px);align-items:center;padding:clamp(26px,6vw,90px) 0 35px}.intro{min-width:0}.tag{font-size:11px;font-weight:750;letter-spacing:.11em;color:var(--accent)}
h1{font-weight:800;font-size:clamp(44px,5.35vw,79px);line-height:1.01;letter-spacing:-.06em;margin:12px 0 14px;overflow-wrap:anywhere}
.intro-copy{font-size:clamp(16px,1.5vw,20px);max-width:36ch;color:#465246}.photo{background:#fffdf8;min-width:0;border:1px solid #242b221f}
.photo img{width:100%;aspect-ratio:4/3;object-fit:cover;display:block}.photo figcaption{padding:9px 12px;font-size:12px}
#entry{display:grid;gap:10px;margin-top:21px}.primary,.secondary{display:inline-flex;min-height:46px;width:fit-content;align-items:center;gap:7px;border:1px solid transparent;border-radius:5px;padding:8px 14px;font-weight:700;text-decoration:none;background:var(--accent);color:white}.primary:hover{filter:brightness(1.12)}.secondary{background:#fffdf9;color:#27372b;border-color:#b4b9aa}
.swatches,.paths{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.swatch{display:grid;text-align:left;gap:5px;padding:6px;background:#fffdfa;border:2px solid transparent;border-radius:6px;font-size:13px;font-weight:700}.swatch img{width:100%;height:53px;object-fit:cover;display:block;border-radius:3px}.swatch[aria-pressed=true]{border-color:var(--accent)}
.width-box{padding:13px;border:1px solid #b8c8af;background:#f9fcf6}.width-box label{font-weight:720}.measure{display:flex;align-items:center;gap:7px;margin:6px 0 0}.measure input{min-width:0;width:126px;padding:6px;min-height:43px;border:1px solid #819178;background:white}
.diagram{position:relative;height:90px;overflow:hidden;padding-top:12px;margin:12px 0 2px;background:repeating-linear-gradient(90deg,#dce6d7 0 1px,transparent 1px 23px),repeating-linear-gradient(0deg,#dce6d7 0 1px,transparent 1px 23px)}
.wall{position:absolute;top:6px;left:3%;height:8px;border:1px solid #405939;border-bottom:0}.units{display:flex;position:absolute;top:26px;left:3%;width:56.4%;height:41px;border:1px solid #4f6747;background:#b6c8a9}.units i{flex:1;border-right:1px solid #4f6747}.units i:last-child{border:0}.units[data-error=true]{background:#f3c5b7;border-color:#a73928}.live{font-size:13px;color:#435340;min-height:22px}.live[data-error=true],#file-error{color:#8d281e}
.path{display:flex;flex-direction:column;align-items:start;justify-content:space-between;gap:8px;padding:10px;background:#fafdf8;border:1px solid #a8c7b4;border-radius:9px}.path p{font-size:13px}.path button{width:100%;justify-content:center;font-size:13px;padding:6px}
body[data-studio=variant] .hero{grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr)}body[data-studio=variant] .photo{border-radius:18px;overflow:hidden}body[data-studio=variant] .photo img{aspect-ratio:1.05}
body[data-studio=miro] .hero{align-items:start}body[data-studio=miro] .photo{margin-top:29px}body[data-studio=miro] .photo img{object-fit:contain;background:#fff;aspect-ratio:1.85}
body[data-studio=vkus] h1{font-family:Georgia, 'Times New Roman',serif;font-weight:500;line-height:.99;letter-spacing:-.055em}
.panel{margin:12px 0 24px;padding:clamp(12px,2vw,23px);background:#fffdf9;border:1px solid #81917865;border-radius:9px;scroll-margin-top:14px}.editor-bar{display:flex;gap:8px 16px;align-items:start;flex-wrap:wrap;justify-content:space-between;margin-bottom:7px}.editor-bar p{font-size:13px}.standalone{font-size:12px}.panel h2{line-height:1.15;font-size:clamp(24px,3vw,38px)}
#frame{background:var(--paper);overflow:hidden}iframe{max-width:100%}footer{border-top:1px solid #2223;padding:15px 0 20px;font-size:13px;color:#475247}footer span{padding:0 5px}
form{display:grid;gap:9px;max-width:460px;margin-top:16px}form label{display:grid;font-weight:650;gap:4px}form input{width:100%;padding:8px;border:1px solid #839486;background:#fff;border-radius:4px}form small{color:#4d584d}.summary{background:var(--soft)}.summary h2{margin-bottom:10px}#summary{display:grid;gap:9px;margin-top:12px}#summary p{overflow-wrap:anywhere}
@media(max-width:720px){.shell{width:calc(100% - 28px)}.mast{min-height:62px}.logo{width:125px;height:44px}.hero,body[data-studio=variant] .hero{grid-template-columns:minmax(0,1fr);gap:16px;padding-top:24px}h1{font-size:clamp(42px,10.8vw,60px)}body[data-studio=miro] .photo{margin-top:0}.photo img,body[data-studio=variant] .photo img{aspect-ratio:1.48}.panel#editor{padding:10px}.panel#editor #frame{margin-inline:-7px}}
.editor-swatches{display:flex;gap:8px;margin:12px 0}.editor-swatches .swatch{display:flex;align-items:center;gap:7px;padding:4px 8px;font-size:12px;min-height:44px}.editor-swatches .swatch img{width:30px;height:29px}
