/* Shadely Design & Price Studio, step 2 (ported from the V1 prototype). */
:root{--ink:#102326;--orange:#f47a00;--muted:#56646a;--line:#e6e1db;--stone:#f6f3ee;--side:300px;--gutter:40px}*{box-sizing:border-box}html,body{height:100%;margin:0;overflow:hidden;font-family:Arial,Helvetica,sans-serif;color:var(--ink)}button{font:inherit;cursor:pointer}button:focus-visible{outline:3px solid #f47a00;outline-offset:3px}header{height:78px;background:var(--ink);display:flex;align-items:center;justify-content:space-between;padding:10px 52px 10px 30px;color:#fff}header img{height:55px;max-width:200px;object-fit:contain}header .brand-right{font-size:17px;font-weight:700}.app{display:grid;grid-template-columns:var(--side) minmax(0,1fr);height:calc(100dvh - 78px)}aside{background:#fff;border-right:1px solid var(--line);padding:24px 31px;display:flex;flex-direction:column;gap:24px;overflow-y:auto}.eyebrow{font-size:11px;font-weight:800;letter-spacing:2px;color:#d96700}aside h2{font-size:26px;letter-spacing:-.6px;margin:8px 0 2px}aside p{font-size:13px;color:var(--muted);line-height:1.5;margin:0}.steps{display:flex;flex-direction:column;gap:8px}.step{display:flex;align-items:center;gap:12px;padding:10px 9px;border-radius:11px;font-size:14px;font-weight:650;color:#5f6a6d;white-space:nowrap}.step b{width:32px;height:32px;border-radius:50%;background:#edf0f0;display:grid;place-items:center;font-size:13px;flex-shrink:0}.step.active{background:#fff0df;color:var(--ink)}.step.active b{background:var(--orange);color:#fff}.step.done b{background:#e5f0e9;color:#27764e}.step.done{color:#394b50}.sidebar-note{margin-top:auto;padding:15px;border-radius:12px;background:#f7f5f0;font-size:12px;color:#637176;line-height:1.5}.sidebar-note strong{display:block;color:var(--ink);margin-bottom:4px;font-size:13px}
main{display:flex;flex-direction:column;min-height:0;background:var(--stone)}.intro{flex:0 0 auto;padding:20px var(--gutter) 18px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line);background:var(--stone)}.intro h1{font-size:35px;letter-spacing:-1.2px;margin:4px 0 5px}.intro p{margin:0;color:var(--muted);font-size:14px}.intro .help{border:1px solid #ded8d0;background:white;padding:12px 16px;border-radius:11px;font-weight:700;color:var(--ink);white-space:nowrap}.workspace{flex:1;min-height:0;overflow-y:auto;scrollbar-gutter:stable;padding:22px var(--gutter) 35px}.layout{display:grid;grid-template-columns:minmax(360px,1fr) minmax(380px,1.03fr);gap:24px;align-items:start;max-width:1500px;margin:auto}.preview{position:sticky;top:0;background:#fff;border:1px solid var(--line);border-radius:17px;overflow:hidden;box-shadow:0 8px 30px #1023260b}.preview-img{position:relative;height:clamp(270px,31vw,430px);overflow:hidden;background:#e8e4dd}.preview-img img{width:100%;height:100%;object-fit:cover}.preview-tag{position:absolute;left:18px;top:18px;background:#fffefaed;border:1px solid #ffffffa0;padding:10px 12px;border-radius:8px;font-size:12px;font-weight:700}.preview-bottom{padding:19px 22px 20px}.preview-bottom h2{font-size:23px;margin:0 0 7px}.preview-bottom p{font-size:13px;color:var(--muted);line-height:1.55;margin:0}.swatches{display:flex;gap:8px;margin-top:14px}.swatch{width:23px;height:23px;border-radius:50%;border:2px solid #fff;box-shadow:0 0 0 1px #c9c7c2}.preview-hint{border-top:1px solid var(--line);padding:13px 22px;background:#faf8f4;font-size:12px;color:#697478}.settings{display:flex;flex-direction:column;gap:14px}.section{background:#fff;border:1px solid var(--line);border-radius:15px;padding:21px 23px;box-shadow:0 4px 18px #10232608}.section-head{display:flex;justify-content:space-between;gap:10px;align-items:baseline;margin-bottom:15px}.section h3{margin:0;font-size:18px;letter-spacing:-.3px}.section-head span{font-size:12px;color:#62665f}.choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.choice{display:flex;align-items:flex-start;gap:11px;padding:13px;border:1.5px solid #e3e2df;background:#fff;border-radius:11px;text-align:left;min-height:72px;color:var(--ink)}.choice:hover{border-color:#f9a351}.choice[aria-pressed=true]{border-color:var(--orange);background:#fff7ef;box-shadow:inset 0 0 0 .5px var(--orange)}.dot{width:17px;height:17px;border:1.5px solid #b5bdbe;border-radius:50%;margin-top:2px;flex-shrink:0;display:grid;place-items:center}.choice[aria-pressed=true] .dot{border-color:var(--orange)}.choice[aria-pressed=true] .dot:after{content:'';width:9px;height:9px;background:var(--orange);border-radius:50%}.choice strong{display:block;font-size:13px;margin-bottom:5px}.choice small{display:block;font-size:11px;line-height:1.4;color:#56646a}.color-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.color-option{padding:9px 5px 10px;border:1.5px solid #e3e2df;border-radius:10px;background:white;text-align:center;color:var(--ink)}.color-option[aria-pressed=true]{border-color:var(--orange);background:#fff8f0}.color-chip{display:block;width:34px;height:34px;margin:0 auto 8px;border-radius:50%;border:1px solid #0002;box-shadow:0 0 0 3px #f5f4f1}.color-option span:last-child{font-size:11px;font-weight:700}.info{font-size:12px;color:#5c686b;line-height:1.5;margin:12px 0 0}.bottom{flex:0 0 auto;min-height:78px;border-top:1px solid var(--line);background:#fff;display:flex;align-items:center;justify-content:space-between;padding:12px var(--gutter);gap:20px}.bottom .summary{font-size:13px;color:#637276}.bottom .summary strong{color:var(--ink);display:block;margin-bottom:4px}.actions{display:flex;gap:10px}.back,.next{padding:13px 20px;border-radius:10px;font-weight:800;font-size:13px}.back{border:1px solid #d8dfdf;background:#fff;color:var(--ink)}.next{border:0;background:var(--orange);color:#fff}.dialog{position:fixed;inset:0;background:#1023269c;display:none;place-items:center;z-index:20;padding:20px}.dialog.show{display:grid}.modal{max-width:480px;background:white;border-radius:16px;padding:28px;box-shadow:0 25px 80px #0004}.modal h2{margin:0 0 12px}.modal p{font-size:14px;color:#57676b;line-height:1.6}.modal button{background:var(--ink);color:#fff;border:0;border-radius:8px;padding:11px 19px;font-weight:700}
@media(max-width:1200px){:root{--side:255px;--gutter:25px}.layout{grid-template-columns:minmax(290px,1fr) minmax(340px,1fr);gap:16px}.section{padding:17px}.preview-img{height:310px}aside{padding:20px 18px}}@media(max-width:900px){.layout{grid-template-columns:1fr}.preview{position:relative}.preview-img{height:260px}.choices{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){html,body{height:auto;overflow:auto}header{height:64px;padding:7px 15px}header img{height:45px}header .brand-right{font-size:12px}.app{display:block;height:auto}aside{padding:10px 14px;position:sticky;top:0;z-index:5;overflow:visible}aside>div:first-child,.sidebar-note{display:none}.steps{flex-direction:row;gap:3px;justify-content:space-between}.step{padding:5px;font-size:0;gap:0}.step b{width:29px;height:29px}.step.active{font-size:11px;gap:6px}main{min-height:0}.intro{padding:15px;align-items:start}.intro h1{font-size:25px}.intro p{font-size:12px}.intro .help{font-size:11px;padding:9px}.workspace{overflow:visible;padding:15px}.preview-img{height:250px}.bottom{position:sticky;bottom:0;z-index:6;padding:10px 15px}.bottom .summary{display:none}.color-options{grid-template-columns:repeat(4,minmax(0,1fr))}}

/* V2: guided fabric performance selection */
.priorities{grid-template-columns:repeat(2,minmax(0,1fr))}.priorities .choice{min-height:91px}.fabric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.fabric-grid .choice{min-height:105px}.choice{transition:border-color .16s,background .16s}.choice strong{font-size:13px}.choice small{font-size:11px}.choice .detail{display:block;margin-top:7px;color:#596a6c;font-size:11px;line-height:1.45}.choice .recommend-tag{display:inline-block;margin-top:7px;color:#a64d00;background:#fff0df;border-radius:5px;padding:3px 6px;font-size:10px;font-weight:800}.recommendation{padding:12px 15px;border:1px solid #ead6bf;border-radius:11px;background:#fff7ed;margin-bottom:13px;display:flex;align-items:center;justify-content:space-between;gap:12px}.recommendation strong{font-size:13px}.recommendation small{display:block;font-size:11px;line-height:1.5;color:#6a7373;margin-top:3px}.recommendation .tag{font-size:10px;letter-spacing:1px;font-weight:800;color:#bb5900;white-space:nowrap}.compat-note{font-size:11px;color:#697478}.preview-hint{line-height:1.5}@media(max-width:1200px){.priorities,.fabric-grid{grid-template-columns:1fr}}@media(max-width:900px){.priorities,.fabric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:530px){.priorities,.fabric-grid{grid-template-columns:1fr}}
