:root{--ink:#4b5b52;--muted:#97988b;--cream:#f7f2e6;--rose:#c5828a;--sage:#748f7a;--line:#dddccf;--serif:'Fraunces',Georgia,serif;--sans:'DM Sans',Arial,sans-serif}*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;background:#aab3a4;color:var(--ink);font-family:var(--sans)}button,select{font:inherit}button{cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent}button:focus-visible,select:focus-visible{outline:3px solid #c88c93;outline-offset:3px}button:disabled{opacity:.45;cursor:default}#app{height:min(100dvh,1000px);max-height:1000px;min-height:0;overflow:auto;background:var(--cream)}header{height:73px;display:flex;justify-content:space-between;align-items:center;padding:12px 33px;border-bottom:1px solid var(--line);background:#faf6ed}.brand{display:flex;gap:10px;align-items:center}.brand>span{font-size:44px;line-height:1;color:var(--rose)}h1{font:500 28px/.9 var(--serif);letter-spacing:-.05em;margin:0}h1 small{display:block;font:600 7px var(--sans);letter-spacing:.27em;margin-top:9px;color:#a49a83}.header-actions{display:flex;align-items:center;gap:8px}.header-actions>span{font:500 11px var(--serif);color:#a29e8f;margin-right:18px}.header-actions button{border:1px solid #d7d8c9;border-radius:21px;background:transparent;padding:7px 12px;color:#7b8e7a;font-size:9px}.studio-bar{display:flex;align-items:center;gap:20px;padding:13px 33px;background:#eaeedf;border-bottom:1px solid #d6ddca}.studio-bar label{display:flex;flex-direction:column;gap:5px;font-size:7px;letter-spacing:.09em;text-transform:uppercase;font-weight:600;max-width:210px;flex:1}.studio-bar .commission-select{max-width:310px;flex:1.5}.studio-bar select{width:100%;min-width:0;border:1px solid #cbd4c0;border-radius:8px;background:#fbf9ef;font-size:10px;padding:9px 10px;color:#687b66;letter-spacing:0}.studio-bar .mood-select{max-width:160px}.record{margin-left:auto;min-width:95px;font-size:10px;color:#ae875b}.record>div{height:3px;background:#d4ddc8;border-radius:2px;margin-top:7px}.record i{display:block;height:100%;background:#8aa287;width:0}.commission-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 33px 16px;background:#f7f2e6;min-height:104px}.eyebrow{font-size:7px;letter-spacing:.16em;font-weight:700;color:#a4947c}.commission-heading h2{font:500 27px/1.1 var(--serif);margin:7px 0 5px}.commission-heading p{font-size:10px;color:#9c9c8d;margin:0;line-height:1.5}.completion{display:flex;flex-direction:column;text-align:center;gap:4px;min-width:105px}.completion b{font:500 28px var(--serif);color:#b77f81}.completion span{font-size:6px;letter-spacing:.15em;color:#aca28c}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 286px;border-top:1px solid #e2dfd0;border-bottom:1px solid #d9dccc}.room-view{height:415px;position:relative;overflow:hidden;background:radial-gradient(ellipse at 50% 50%,#e4e6d6,#c8d3bd)}#scene{width:100%;height:100%;display:block;touch-action:pan-y}#grid-nav{position:absolute;inset:0;pointer-events:none}.grid-cell{position:absolute;transform:translate(-50%,-50%);width:24px;height:24px;background:transparent;border:0;color:transparent;font-size:8px;pointer-events:none;border-radius:4px;padding:0}.grid-cell:focus-visible,.grid-cell.hinted{outline:2px solid #bc7e87;outline-offset:0;background:#fff3c988;color:#685f4e}.room-key{position:absolute;left:15px;top:14px;bottom:14px;display:flex;flex-direction:column;justify-content:space-between;pointer-events:none;font-size:6px;letter-spacing:.13em;color:#76876c}.room-key span:last-child{padding:5px 8px;border-radius:20px;background:#f8f4e4aa}#load-status{position:absolute;left:50%;top:45%;transform:translate(-50%,-50%);font-size:10px;color:#6e8566;background:#f5f2dcda;padding:9px 16px;border:1px solid #d5dfc4;border-radius:20px;white-space:nowrap}#load-status.loaded{display:none}#selection-label{position:absolute;bottom:15px;left:50%;transform:translateX(-50%);background:#fbf6e8d9;border:1px solid #d8d8c2;border-radius:23px;padding:7px 14px;color:#89947d;font-size:8px;white-space:nowrap;pointer-events:none}.reference{background:#f2e8df;border-left:1px solid #dfd4c8;padding:18px 19px 14px}.reference-title h3{font:500 20px var(--serif);margin:7px 0}.reference-title .eyebrow{font-size:6px;letter-spacing:.11em;color:#ac8b88}.plan-note{font-size:8px;color:#ae9c8f}.reference-body{display:flex;flex-direction:column;gap:10px}#plan{width:100%;max-width:245px;margin-top:11px}#plan svg{display:block;width:100%;height:auto;border-radius:5px;overflow:visible}#plan-list{font-size:8px;color:#9a8e7d;padding:0;list-style:none;display:grid;gap:5px;margin:0;line-height:1.35}#plan-list li{display:flex;gap:5px;align-items:center}#plan-list b{font-size:7px;min-width:16px;height:16px;line-height:16px;text-align:center;background:#f7f0e4;border:1px solid #d8c9b8;border-radius:50%;color:#a48075}#plan-list li.hinted{color:#8b555e;font-weight:700}.reference-tip{font-size:8px;line-height:1.6;color:#b29d8f;border-top:1px solid #e0d2c6;margin:10px 0 0;padding-top:9px}.workbench{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:30px;padding:18px 33px 15px;background:#faf6ed}.section-label{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:11px}.section-label>span:last-child:not(.eyebrow){font-size:8px;color:#a5a18f}.section-label .eyebrow{font-size:6px}.section-label b{font-size:9px;font-weight:500;color:#b28083}#catalog{display:grid;grid-template-columns:repeat(auto-fit,minmax(83px,1fr));gap:7px}#catalog button{position:relative;background:#f1f1e2;border:1px solid #d2d9c4;color:#819475;border-radius:10px;padding:10px 8px;display:flex;flex-direction:column;text-align:left;gap:5px;min-height:66px}#catalog button[aria-pressed=true]{background:#e7d5d2;border-color:#c99497;color:#ad747c;box-shadow:0 2px 0 #bd8a90}#catalog button.placed:after{content:'✓';position:absolute;right:7px;top:7px;color:#8aa67b;font-size:9px}#catalog button b{font:500 14px var(--serif)}#catalog button span{font-size:7px;color:#9caa8f}#catalog button small{font-size:7px;opacity:.7}.finish-row{display:flex;align-items:center;gap:13px;justify-content:space-between}#colors{display:flex;gap:7px}#colors button{width:24px;height:24px;border:2px solid #faf6ed;border-radius:50%;outline:1px solid transparent;padding:0;box-shadow:inset 0 0 0 1px #0000000c}#colors button[aria-pressed=true]{outline-color:#8b8f79}#colors button:focus-visible{outline:3px solid #4b5b52}.pattern-label{font-size:7px;color:#a39d8b;display:flex;gap:6px;align-items:center}.pattern-label select{font-size:9px;background:#f1efdf;border:1px solid #d8dac7;padding:7px;border-radius:7px;color:#819075}#rotate{width:100%;border:1px solid #d4d9c5;border-radius:8px;padding:8px 11px;background:#f0f0e0;color:#9b9e85;display:flex;align-items:center;justify-content:space-between;font-size:9px;margin-top:10px}#rotate b{font-size:8px;font-weight:500;color:#819573}kbd{font:7px var(--sans);opacity:.6}.tools{display:flex;gap:8px;padding:0 33px 12px;align-items:center}.tools button{border:1px solid #d6d9c6;background:#eeefde;color:#8a967d;padding:9px 13px;border-radius:8px;font-size:9px;display:flex;gap:12px;align-items:center}.tools #hint{background:#f0e7d5;color:#b49a74;border-color:#dfd0b5}.primary{background:#b78087!important;border:1px solid #a56d75!important;border-radius:9px;color:#fff2e2!important;box-shadow:0 2px 0 #95606b;padding:12px 16px;font:600 10px var(--sans);display:flex;align-items:center;justify-content:space-between;gap:20px;cursor:pointer}#submit{margin-left:auto;min-width:170px}#status{font-size:10px;color:#a3a18e;text-align:center;line-height:1.5;padding:0 25px;margin:0 0 14px}#result{display:flex;align-items:center;justify-content:space-between;gap:15px;background:#e8ecdc;border:1px solid #d2dcc4;border-radius:14px;padding:17px 22px;margin:0 33px 15px}#result>div{display:flex;align-items:center;gap:16px;flex-wrap:wrap}#result-stars{color:#bd9e61;letter-spacing:4px;font-size:20px}#result h2{font:500 22px var(--serif);margin:0}#result p{font-size:9px;color:#9a9f87;margin:0}footer{display:flex;justify-content:space-between;padding:0 33px 14px;color:#b1ab95;font-size:7px;gap:15px}dialog{border:1px solid #d9c7b8;border-radius:21px;background:#faf3e7;color:var(--ink);padding:0;max-width:435px;width:calc(100% - 28px);max-height:calc(100% - 22px);box-shadow:0 20px 80px #475c5088}dialog::backdrop{background:#52695bb5;backdrop-filter:blur(5px)}dialog form{padding:27px 30px}.welcome-house{display:block;text-align:center;font-size:64px;line-height:1;color:#bf8b91;margin-bottom:16px}#welcome .eyebrow{display:block;text-align:center;font-size:6px}dialog h2{font:500 29px/1.13 var(--serif);margin:15px 0}#welcome h2{text-align:center}dialog p,dialog ol{font-size:11px;line-height:1.65;color:#959581}#welcome p{text-align:center}dialog ol{padding-left:18px;margin:20px 0}dialog li{padding-left:6px;margin:11px 0}dialog li b{color:#9e7779}.tip{font-size:9px!important;color:#b3a18c!important;margin:20px 0}dialog .primary{width:100%}#help-dialog h2{font-size:26px}#help-dialog p{font-size:10px}#help-dialog .primary{margin-top:20px}[hidden]{display:none!important}@media(min-width:1300px){header,.studio-bar{padding-left:43px;padding-right:43px}.commission-heading{padding-left:43px;padding-right:43px}.workspace{grid-template-columns:minmax(0,1fr) 308px}.room-view{height:430px}.reference{padding:20px 24px}.workbench{padding-left:43px;padding-right:43px}.tools{padding-left:43px;padding-right:43px}footer{padding-left:43px;padding-right:43px}}@media(max-width:900px){header{padding:12px 21px}.header-actions>span{display:none}.studio-bar{padding:12px 21px;gap:12px}.studio-bar .mood-select{max-width:135px}.record{min-width:70px;font-size:9px}.commission-heading{padding:17px 21px}.commission-heading h2{font-size:25px}.workspace{grid-template-columns:minmax(0,1fr) 235px}.room-view{height:395px}.reference{padding:16px 15px}.reference-title h3{font-size:18px}.reference-title .eyebrow{font-size:5px}#plan-list{font-size:7px;gap:4px}.workbench{grid-template-columns:minmax(0,1fr) 260px;gap:20px;padding:17px 21px 14px}.section-label>span:last-child:not(.eyebrow){display:none}#catalog{grid-template-columns:repeat(3,minmax(0,1fr))}.tools{padding:0 21px 12px;gap:6px}.tools button{font-size:8px;padding:9px 10px;gap:5px}#submit{min-width:140px}footer{padding:0 21px 13px;font-size:6px}#result{margin:0 21px 14px}}@media(max-width:650px){header{height:64px;padding:10px 16px}.brand>span{font-size:37px}h1{font-size:25px}h1 small{font-size:6px;margin-top:7px}.header-actions{gap:5px}.header-actions button{font-size:8px;padding:7px 9px}.studio-bar{display:grid;grid-template-columns:1fr 1fr;gap:9px 11px;padding:11px 16px}.studio-bar label{max-width:none!important;font-size:6px;gap:4px}.studio-bar select{font-size:9px;padding:8px}.record{display:none}.studio-bar .mood-select{grid-column:1/-1;flex-direction:row;justify-content:flex-end;align-items:center;gap:8px}.mood-select select{width:132px}.commission-heading{padding:15px 16px;min-height:105px;gap:12px}.commission-heading h2{font-size:22px;max-width:250px;line-height:1.13}.commission-heading .eyebrow{font-size:6px}.commission-heading p{font-size:9px}.completion{min-width:63px}.completion b{font-size:24px}.completion span{font-size:5px}.workspace{display:flex;flex-direction:column}.room-view{height:340px;order:1}.reference{border-left:0;border-bottom:1px solid #dfd4c8;padding:13px 16px 11px;order:0}.reference-title{display:flex;align-items:center;justify-content:space-between;gap:8px}.reference-title h3{font-size:15px;margin:0}.reference-title>.eyebrow{font-size:5px;max-width:75px;line-height:1.6}.plan-note{font-size:6px;white-space:nowrap}.reference-body{display:grid;grid-template-columns:minmax(125px,1fr) minmax(130px,1fr);gap:15px;align-items:center}#plan{max-width:195px;margin-top:8px}#plan-list{font-size:7px;gap:5px}#plan-list b{font-size:6px;min-width:14px;height:14px;line-height:14px}.reference-tip{font-size:6px;margin-top:7px;padding-top:7px;line-height:1.5}.room-key{font-size:5px;left:10px;top:11px;bottom:11px}#selection-label{font-size:7px;bottom:12px;padding:7px 10px;max-width:85%;white-space:normal;text-align:center}.workbench{display:flex;flex-direction:column;padding:14px 16px 12px;gap:17px}.section-label{margin-bottom:9px}#catalog{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}#catalog button{padding:8px;min-height:58px}#catalog button b{font-size:12px}#catalog button span,#catalog button small{font-size:6px}.finishes .section-label{margin-bottom:8px}.finish-row{gap:12px;justify-content:flex-start}#colors{gap:9px}#colors button{width:27px;height:27px}.pattern-label{font-size:7px;margin-left:auto}.pattern-label select{font-size:9px;padding:8px}#rotate{font-size:9px;padding:9px 11px;margin-top:9px}.tools{padding:0 16px 11px;display:grid;grid-template-columns:repeat(4,1fr);gap:6px}.tools button{font-size:7px;padding:9px 5px;justify-content:center;gap:4px;white-space:nowrap}.tools kbd{display:none}#submit{grid-column:1/-1;width:100%;font-size:10px;padding:11px 14px;justify-content:space-between}#status{font-size:9px;padding:0 16px;margin-bottom:13px}#result{margin:0 16px 12px;padding:14px 15px;flex-direction:column;align-items:stretch;gap:13px}#result>div{justify-content:center;text-align:center;gap:8px 12px}#result h2{font-size:21px}#result p{font-size:8px;flex-basis:100%}#next{width:100%}footer{padding:0 16px 12px;font-size:6px}footer>span:last-child{display:none}dialog form{padding:24px 25px}.welcome-house{font-size:54px;margin-bottom:13px}dialog h2{font-size:27px}dialog p,dialog ol{font-size:10px}dialog ol{margin:17px 0}.tip{font-size:8px!important}}@media(max-width:350px){.reference-title h3{font-size:13px}.reference-title>.eyebrow{max-width:63px;font-size:4px}.plan-note{font-size:5px}.reference-body{grid-template-columns:1fr 1fr;gap:10px}#plan-list{font-size:6px;gap:4px}.commission-heading h2{font-size:20px}.completion{min-width:54px}.studio-bar select{font-size:8px}.tools button{font-size:6px}.room-view{height:325px}}@media(max-height:540px){#app{min-height:0}.room-view{height:350px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
@media(min-width:651px){.reference{height:415px;display:flex;flex-direction:column}.reference-title,.reference-tip{flex-shrink:0}.reference-body{min-height:0;overflow:hidden;flex:1}#plan{flex-shrink:0}#plan-list{min-height:0;overflow:auto;padding-right:2px;align-content:start}}@media(min-width:1300px){.reference{height:430px}}@media(min-width:651px) and (max-width:900px){.reference{height:395px}}@media(max-width:650px){#plan-list{max-height:190px;overflow:auto}}
@media(min-width:651px){#plan{max-width:190px;align-self:center}}
#placement-cue{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:visible}#placement-cue polygon{fill:#f9edbb44;stroke:#759572;stroke-width:2.5;stroke-linejoin:round}#placement-cue[data-valid=false] polygon{fill:#c6888f33;stroke:#af707e;stroke-dasharray:5 3}
