:root{--paper:#f3e8dc;--cream:#faf5ed;--warm:#e7d3bf;--ink:#2b211b;--muted:#806f60;--line:#dfc9b3;--gold:#b48245;--dark:#211810;--shadow:0 16px 50px rgba(73,39,19,.085)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:#f6ecdf;font-family:Tahoma,'Segoe UI',Arial,sans-serif;line-height:1.75}button,input,select,textarea{font:inherit}button{cursor:pointer}a{text-decoration:none;color:inherit}img{max-width:100%;display:block}h1,h2,h3,p{margin-top:0}*:focus-visible{outline:3px solid #a87c41;outline-offset:3px}.hidden{display:none!important}.shell{width:min(100% - 44px,1170px);margin:auto}
.header{background:#f1e2d3;border-bottom:1px solid #dfc6af;position:relative;z-index:5}.nav{display:flex;align-items:center;justify-content:space-between;gap:22px;min-height:94px}.brand{display:flex;align-items:center;gap:13px;direction:ltr}.brand img{width:65px;height:65px;object-fit:contain}.brand strong{font-size:18px;letter-spacing:3px;font-weight:600;white-space:nowrap}.brand small{font-size:9px;letter-spacing:5px;display:block;text-align:center;margin-top:2px}.navlinks{display:flex;align-items:center;gap:34px;font-size:13px;font-weight:bold}.navlinks a:hover{color:var(--gold)}.small-cta{background:#33251c;color:#faeedf;border-radius:9px;padding:9px 19px;font-size:12px;white-space:nowrap}.small-cta span{margin-right:8px}
.hero{display:grid;grid-template-columns:47% 53%;min-height:600px;align-items:stretch;padding-block:30px 52px;gap:0}.hero-copy{padding:clamp(38px,5.5vw,78px) 0 clamp(20px,4vw,50px) 35px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}.overline{font-size:10px;letter-spacing:2.5px;color:#b37d3c;direction:ltr;display:block;line-height:1.8}.hero h1{font-size:clamp(43px,5.7vw,82px);line-height:1.29;letter-spacing:-1.1px;margin:22px 0 18px;font-weight:800}.hero h1 em{color:#8f5c3a;font-style:normal}.hero-sub{font-size:clamp(15px,1.5vw,19px);line-height:2.05;max-width:440px;margin-bottom:33px}.hero-buttons{display:flex;flex-wrap:wrap;gap:11px}.primary-btn,.outline-btn{border-radius:10px;padding:13px 22px;min-height:51px;display:inline-flex;gap:12px;align-items:center;justify-content:center;font-size:14px;font-weight:700;border:1px solid transparent;transition:transform .18s,box-shadow .18s;text-align:center}.primary-btn:hover,.outline-btn:hover{transform:translateY(-2px);box-shadow:0 10px 22px #4d35291b}.primary-btn{background:linear-gradient(120deg,#ddb17c,#ad7639);color:#20160f}.outline-btn{border-color:#ae7845;background:#fff7ef;color:#3e2920}.primary-btn span,.outline-btn span{font-size:17px}.hero-note{font-size:12px;color:#866e58;margin-top:30px}.mini-star{color:#a76d28;font-size:19px}.hero-art{position:relative;min-height:510px;background:#ccb197;border-radius:4px 4px 4px 4px;overflow:hidden;box-shadow:0 18px 50px #60432b30;border:1px solid #dac0a3}.hero-art:after{content:"";position:absolute;inset:0;border:11px solid #e9d8bf30;pointer-events:none}.hero-art img{height:100%;width:100%;object-fit:cover;object-position:center 48%;transition:transform .6s}.hero-art:hover img{transform:scale(1.025)}.image-corner{position:absolute;bottom:18px;left:18px;z-index:1;background:#211912c7;color:#f0d8b7;padding:8px 13px;font-size:10px;letter-spacing:1.3px;direction:ltr}.image-corner b{color:#d9b789;margin-left:15px}
.gallery-area{background:linear-gradient(#f3e3d4,#f0ddc9);border-block:1px solid #dfcbb5;padding:64px 0 70px}.section-head{display:flex;justify-content:space-between;align-items:end;gap:16px;margin-bottom:27px}.section-head h2{font-size:clamp(27px,3.1vw,41px);line-height:1.5;margin:5px 0 0}.section-head p{font-size:13px;color:#6f5949;max-width:470px;margin:0}.gallery-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}.gallery-card{margin:0;transition:transform .2s}.gallery-card:hover{transform:translateY(-4px)}.gallery-card .mat{background:#ead7c1;padding:9px;border:1px solid #a77e4c;box-shadow:0 8px 14px #3b2a1b38,0 1px 1px #6d4a27;aspect-ratio:3/4.1}.gallery-card img{width:100%;height:100%;object-fit:cover;border:3px solid #7e5534}.gallery-card figcaption{font-size:13px;font-weight:700;text-align:center;padding-top:15px}
.services{padding-block:68px 77px}.section-head.center{justify-content:center;text-align:center}.section-head.center p{margin-top:2px}.route-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px;margin-bottom:22px}.route-card{display:flex;flex-direction:column;align-items:flex-start;text-align:right;border-radius:17px;border:1px solid #cdb397;background:#fbf5ec;padding:25px;min-height:204px;color:var(--ink);transition:border .2s,background .2s,transform .2s}.route-card:hover{transform:translateY(-2px)}.route-card.selected{border:2px solid #b98e5a;background:#f3e2ce;padding:24px;box-shadow:var(--shadow)}.route-icon{font-size:27px;color:#af7d41;line-height:1;margin-bottom:18px}.route-card strong{font-size:20px}.route-card small{font-size:13px;line-height:1.85;color:#6f5e50;margin-top:7px}.route-card .route-link{color:#8e5a27;margin-top:auto;padding-top:15px;font-weight:bold;font-size:12px}
.workspace{border:1px solid #e0cbb3;background:#fffaf3;border-radius:20px;padding:35px 38px;box-shadow:var(--shadow)}.workspace-title{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:23px;border-bottom:1px solid #ecddce;padding-bottom:19px}.workspace-title h3{font-size:27px;margin:6px 0 4px}.workspace-title p{font-size:13px;color:#8b7663;margin:0}.step-count{font-size:11px;letter-spacing:2px;color:#ae8251;direction:ltr;white-space:nowrap}.choice-sections{display:grid;gap:20px}.choice-block{min-width:0}.choice-title,.field-label,.beta-code{display:block;font-size:14px;font-weight:bold;margin-bottom:10px}.choice-title small,.beta-code small{font-size:11px;color:#9b8775;font-weight:400}.style-chips{display:flex;flex-wrap:wrap;gap:9px}.style-chip{border-radius:30px;border:1px solid #dfc9b1;color:#503827;background:#fff9f1;padding:8px 15px;font-size:12px;min-height:40px}.style-chip.selected{background:#3e2c23;color:#ffecda;border-color:#3e2c23}.choice-columns{display:grid;grid-template-columns:1fr 1fr;gap:22px}.swatch-row{display:flex;gap:9px;align-items:center;flex-wrap:wrap;min-height:42px}.swatch{border-radius:50%;width:31px;height:31px;border:2px solid #fffbf4;box-shadow:0 0 0 1px #bea993;position:relative;flex-shrink:0}.swatch.selected{box-shadow:0 0 0 2px #aa763d,0 0 0 5px #e8cda7}.input{background:#fffdf8;border:1px solid #d9c7b4;border-radius:10px;padding:11px 14px;color:#3b2b22;width:100%;min-height:49px;outline-offset:2px}textarea.input{resize:vertical}.input::placeholder{color:#ae9986}.beta-note{background:#f4e8d8;border:1px solid #e1cfb9;border-radius:11px;padding:12px 15px;display:flex;gap:10px;margin:25px 0 17px;align-items:flex-start}.beta-note span{font-size:24px;color:#a87437}.beta-note p{font-size:12px;color:#6c5441;margin:0;line-height:1.9}.code-input{max-width:380px;display:block;margin-bottom:17px}.action-wide{width:100%;margin-top:7px}.feedback{font-size:13px;color:#754327;min-height:10px;white-space:pre-wrap;margin:12px 0 0}.feedback.error{color:#ae3b28}.generated-area{margin-top:30px;padding-top:22px;border-top:1px solid #e5cfba}.result-heading{text-align:center}.result-heading h3{font-size:24px;margin:0}.result-heading p{font-size:12px;color:#826d59;margin:5px 0 22px}.generated-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}.generated-card{background:#eee3d4;border:1px solid #cdb18d;border-radius:12px;overflow:hidden;min-width:0}.generated-card.selected{outline:3px solid #b6813e;outline-offset:0}.generated-card figure{margin:0}.generated-card img{width:100%;aspect-ratio:3/4;object-fit:cover;background:#e8d6c2}.generated-card .pending{aspect-ratio:3/4;display:grid;place-items:center;color:#896d4e;font-size:12px;padding:15px;text-align:center}.generated-card .generated-meta{display:flex;justify-content:space-between;gap:5px;padding:8px}.generated-card button{border:0;background:#fff9f0;border-radius:7px;padding:5px 7px;color:#543d2d;font-size:11px}.generated-card button:disabled{opacity:.6}.result-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:10px;margin-top:20px}
.team-intro{display:flex;align-items:start;gap:15px;padding:14px 16px;background:#f5eadb;border:1px solid #e1ceb5;border-radius:11px;margin:22px 0}.team-intro span{font-size:24px;color:#976636}.team-intro p{font-size:13px;color:#675341;margin:0}.team-fields{max-width:710px}.team-fields .input{margin-bottom:14px}.upload-area{display:flex;justify-content:center;align-items:center;text-align:center;flex-direction:column;gap:4px;min-height:125px;background:#f9f2e9;border:1.5px dashed #c9ac88;border-radius:13px;cursor:pointer;margin:10px 0 15px}.upload-area span{font-size:29px;color:#99703e}.upload-area small{font-size:11px;color:#987e63}.room-preview{max-height:220px;width:auto;border-radius:9px;margin:5px 0 16px}.privacy{display:flex;gap:10px;align-items:start;font-size:12px;line-height:1.8;color:#665345;margin:15px 0}.privacy input{accent-color:#a17644;margin-top:5px}.sent-result{text-align:center;background:#f3e5d3;border:1px solid #dbbfa0;border-radius:15px;padding:31px;margin-top:28px}.success-icon{border-radius:50%;background:#ad8658;color:white;display:grid;place-items:center;font-size:22px;width:48px;height:48px;margin:0 auto 14px}.sent-result h3{font-size:23px;margin:0 0 10px}.sent-result p{font-size:14px;color:#766251}.reference{direction:ltr;letter-spacing:1.7px;border:1px dashed #b88a55;display:inline-block;padding:12px 20px;border-radius:8px;background:#fffaf3;font-weight:bold;margin:14px auto}.sent-result small{display:block;margin-top:13px;color:#806a56}
.benefits{background:#e8d5c2;padding:35px 0 38px;border-block:1px solid #dac0a6}.benefits-grid{display:grid;grid-template-columns:repeat(4,1fr)}.benefits-grid>div{text-align:center;border-left:1px solid #c8a989;padding:7px 10px;display:flex;align-items:center;flex-direction:column}.benefits-grid>div:last-child{border:0}.benefits-grid b{font-size:24px;color:#9d6a3b;margin-bottom:4px}.benefits-grid strong{font-size:14px}.benefits-grid small{color:#876f59;font-size:11px}.footer{background:#211711;color:#d8c0a4;padding:25px 0}.footer-row{display:flex;align-items:center;justify-content:space-between;gap:15px}.footer-brand{display:flex;align-items:center;gap:11px;direction:ltr}.footer-brand img{height:50px;width:50px;object-fit:contain}.footer-brand span{font-size:13px;letter-spacing:2px}.footer-brand small{display:block;text-align:center;font-size:9px;letter-spacing:4px}.footer p{margin:0;font-size:12px}.footer-row>span{font-size:10px;direction:ltr}
/* Retained team console styles */
.admin-panel,.admin-card{background:#fffbf5;border:1px solid #e0d4c6;border-radius:18px;padding:24px;margin-block:20px}.admin-list{display:grid;grid-template-columns:300px 1fr;gap:20px}.orders{max-height:75vh;overflow:auto}.order-tile{display:block;width:100%;background:#fffaf2;border:1px solid #e2d5c5;padding:13px;text-align:right;margin:5px 0;border-radius:10px;color:var(--ink)}.order-tile.active{border-color:#bd915e;background:#f2e3cf}.order-tile small{display:block;font-size:11px;color:#88735c}.detail-grid,.proposal-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin:15px 0}.detail-item{background:#f5e9da;padding:12px;border-radius:9px}.detail-item small{display:block;color:#95785c;font-size:11px}.detail-item strong{font-size:13px;word-break:break-word}.proposal{border:1px solid #ddc9ae;border-radius:12px;overflow:hidden}.proposal-visual{height:250px;background:#eee1cf;display:flex;justify-content:center;align-items:center;color:#7a634c;text-align:center;font-size:12px}.proposal-visual img{width:100%;height:100%;object-fit:contain}.proposal-actions{display:grid;gap:7px;padding:11px}.proposal-actions .btn{font-size:12px;min-height:36px;padding:9px;background:#f6e8d8;border:1px solid #d6b992;color:#473122;border-radius:9px}.proposal-actions .btn-ink{background:#302219;color:white}.admin-head{display:flex;justify-content:space-between;align-items:start}.hint{font-size:12px;color:#86694e}.muted{color:#8e7660}.pill{display:inline-flex;background:#efdbc3;border-radius:30px;padding:3px 10px;font-size:11px;color:#7b5631}.status{font-size:12px;color:#734c29;margin:13px 0}.btn{display:inline-flex;justify-content:center;align-items:center;border-radius:10px;min-height:43px;padding:10px 16px;background:#ba8e5d;color:#1f1813;border:0;cursor:pointer}.btn-gold{background:linear-gradient(115deg,#e2c496,#b98b4e)}.btn-outline{border:1px solid #bca17d;background:transparent}.btn-soft{background:#eee2d0}.hide{display:none!important}
@media(max-width:950px){.navlinks{gap:15px;font-size:12px}.hero{grid-template-columns:50% 50%;min-height:500px}.hero-copy{padding-left:20px}.hero h1{font-size:51px}.hero-art{min-height:460px}.gallery-grid{gap:14px}}
@media(max-width:690px){.shell{width:min(100% - 30px,1170px)}.nav{min-height:72px}.brand{gap:6px}.brand img{width:45px;height:45px}.brand strong{font-size:12px;letter-spacing:1.4px}.brand small{font-size:7px;letter-spacing:2px}.navlinks{display:none}.small-cta{padding:9px 13px;font-size:11px}.hero{display:flex;flex-direction:column;gap:0;padding:18px 0 34px}.hero-art{order:0;min-height:290px;max-height:390px;height:48vh;border-radius:8px}.hero-copy{order:1;padding:32px 4px 0}.hero h1{font-size:45px;margin:13px 0 10px}.hero-sub{font-size:15px;margin-bottom:18px}.hero-buttons{gap:8px;flex-direction:column;width:100%}.hero-buttons>*{width:100%}.hero-note{margin-top:18px;font-size:11px}.gallery-area{padding:35px 0 38px}.section-head{align-items:start;flex-direction:column;gap:5px}.section-head h2{font-size:27px}.gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 12px}.gallery-card .mat{padding:6px}.gallery-card figcaption{font-size:12px;padding-top:7px}.services{padding:42px 0}.route-grid{grid-template-columns:1fr;gap:11px}.route-card,.route-card.selected{min-height:166px;padding:18px}.route-icon{margin-bottom:9px}.route-card strong{font-size:18px}.route-card small{font-size:12px}.workspace{padding:23px 17px;border-radius:14px}.workspace-title h3{font-size:22px}.step-count{display:none}.choice-columns{grid-template-columns:1fr;gap:15px}.swatch-row{gap:9px}.generated-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.generated-card .generated-meta{flex-direction:column}.benefits{padding:25px 0}.benefits-grid{grid-template-columns:repeat(2,1fr);gap:20px}.benefits-grid>div:nth-child(2){border:0}.footer-row{flex-direction:column;gap:15px;text-align:center}.footer-brand img{height:37px;width:37px}.footer-brand span{font-size:11px}.admin-list,.detail-grid,.proposal-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
/* Internal review console compatibility */
.topbar{background:#221911;color:#f2ddc3;display:flex;align-items:center;justify-content:space-between;padding:10px max(18px,calc((100vw - 1160px)/2));min-height:79px}.topbar .brand{color:#f4ddbc}.topbar .brand-logo{width:52px;height:52px}.brand-word{font-size:13px;letter-spacing:1.5px;direction:ltr}.brand-word small{display:block;font-size:8px;letter-spacing:2px;color:#dbb484}.toplinks{font-size:12px}.admin-shell{max-width:1120px;margin:40px auto 70px;padding:0 18px}.admin-shell .section-label{color:#a2733d;letter-spacing:2px;font-size:11px}.admin-shell .step-card{background:#fffaf3;border:1px solid #ddccb6;border-radius:16px;padding:22px;margin-bottom:16px}.admin-shell .field{width:100%;padding:13px 15px;border:1px solid #c9b59d;border-radius:10px;font:inherit}.admin-shell .admin-login{max-width:560px;margin:0 auto 30px}.admin-shell .status:empty{display:none}.admin-shell .status:not(:empty){padding:12px;background:#f3e7d6;border-radius:9px}.admin-details{min-width:0}

/* v3.1 short Arabic descriptions + four clearly distinct art directions */
.quick-ideas{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:12px 0 6px}
.quick-ideas>span{font-size:12px;color:#856e57;margin-left:4px}
.quick-ideas button{border:1px solid #d7bda0;background:#f7e9d9;border-radius:24px;color:#67462d;font-size:12px;min-height:33px;padding:5px 11px;transition:background .2s}
.quick-ideas button:hover{background:#ecd4b8}
.under-idea{display:block;color:#88715e;font-size:12px;line-height:1.8;margin-top:7px}
.understood-idea{background:#f3e6d5;border:1px solid #d4b58d;border-radius:12px;padding:13px 16px;margin:16px 0;color:#65432f;font-size:13px;line-height:1.85}
.understood-idea b{color:#3c2a1d}
.generated-concept{display:block;font-size:12px;color:#5e4736;padding:0 10px 9px;line-height:1.6;text-align:right}
.generated-title{display:block;font-size:13px;color:#33251b;font-weight:bold;text-align:right;padding:8px 10px 0}
@media(max-width:690px){.generated-concept{font-size:11px}.quick-ideas{gap:6px}}

/* V3.2: form and generated results appear before inspiration gallery */
html{scroll-behavior:smooth}
#choose{scroll-margin-top:18px}
.services{padding-block:24px 45px}
.section-head.center{margin-bottom:15px}
.route-grid{gap:12px;margin-bottom:13px}
.route-card{min-height:122px;padding:16px 20px}
.route-card.selected{min-height:122px;padding:15px 19px}
.route-icon{margin-bottom:7px;font-size:22px}
.route-card strong{font-size:18px}
.route-card small{font-size:12px;margin-top:4px}
.route-link{padding-top:7px!important}
.workspace{padding:25px 30px}
.choice-sections{gap:13px}
.choice-sections>.choice-block:first-child{order:0}
.upload-mini{order:1;border:1px dashed #c8aa87;border-radius:12px;background:#f6eee4;padding:14px 16px;display:flex;align-items:center;gap:10px;cursor:pointer;color:#513c2d}
.upload-mini>span:first-child{font-size:22px;color:#a06e37}
.upload-mini b{display:block;font-size:13px}
.upload-mini small{display:block;color:#9c8063;font-size:11px;margin-top:2px}
.gen-room-preview{order:2;max-height:190px;width:auto;max-width:100%;border-radius:10px;border:1px solid #d2b797}
.extra-options{order:3;background:#fff7ee;border:1px solid #e0cbb6;border-radius:11px}
.extra-options summary{padding:13px 16px;font-weight:700;font-size:13px;cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:15px;align-items:center}
.extra-options summary::-webkit-details-marker{display:none}
.extra-options summary:before{content:'+';font-size:19px;color:#a67a4b;margin-left:6px}
.extra-options[open] summary:before{content:'−'}
.extra-options summary span{font-size:11px;font-weight:400;color:#90765a}
.extra-inner{padding:16px;border-top:1px solid #eddbca;display:grid;gap:17px}
.gallery-grid-wide{grid-template-columns:repeat(6,minmax(0,1fr));gap:15px}
.gallery-grid-wide .mat{padding:5px}
.gallery-grid-wide .gallery-card figcaption{font-size:12px;padding-top:10px}
.gallery-footnote{font-size:12px;color:#82694e;margin-top:22px;text-align:center}
.generated-area{scroll-margin-top:15px}
.brand img{object-fit:contain;flex-shrink:0}
@media(max-width:690px){
 .hero{padding:6px 0 12px;min-height:0}
 .hero-art{display:none}
 .hero-copy{padding:17px 0 5px}
 .hero h1{font-size:36px;margin:7px 0}
 .hero-sub{font-size:13px;line-height:1.75;margin:0 0 8px}
 .hero-buttons{display:none}
 .hero-note{display:none}
 .services{padding:8px 0 30px}
 .section-head.center{margin-bottom:8px}
 .section-head.center h2{font-size:21px}
 .section-head.center p{font-size:12px}
 .route-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0 0 10px}
 .route-card,.route-card.selected{min-height:110px;padding:11px 10px}
 .route-icon{font-size:19px;margin-bottom:5px}
 .route-card strong{font-size:14px;line-height:1.4}
 .route-card small{font-size:10px;line-height:1.5}
 .route-card .route-link{display:none}
 .workspace{padding:16px 12px}
 .workspace-title{margin-bottom:13px;padding-bottom:10px}
 .workspace-title h3{font-size:19px;margin:3px 0}
 .workspace-title p{font-size:11px}
 .choice-title{font-size:13px}
 .gallery-grid-wide{display:flex;overflow-x:auto;gap:12px;scroll-snap-type:x mandatory;padding-bottom:10px}
 .gallery-grid-wide .gallery-card{min-width:44%;scroll-snap-align:start}
 .gallery-area{padding:32px 0}
 .beta-note{margin:12px 0 10px}
 .beta-note p{font-size:11px}
 .code-input{margin-bottom:10px}
}

/* V3.3 — protected flattened previews: no client download action */
.generated-card img{user-select:none;-webkit-user-drag:none;-webkit-touch-callout:none}
.preview-only{font-size:10px;line-height:1.45;align-self:center;color:#866b4d;text-align:center;padding:3px 6px}
@media(max-width:690px){.preview-only{font-size:9px}}


/* V3.5 — direct two-word flow; visible and intentional multi-color selection */
.header .nav{min-height:72px}
.header .brand img{height:52px;width:52px}
.services{padding:22px 0 42px}
.studio-header{display:grid;grid-template-columns:minmax(0,1fr) 168px;align-items:center;gap:25px;margin-bottom:18px}
.studio-intro h1{font-size:clamp(30px,3.5vw,49px);line-height:1.35;margin:5px 0 7px;font-weight:800;letter-spacing:-.8px}
.studio-intro h1 em{font-style:normal;color:#97663f}
.studio-intro p{font-size:14px;color:#6b5546;margin:0;max-width:690px}
.studio-cover{height:125px;overflow:hidden;border-radius:13px;background:#d6c1a9;border:1px solid #d7bea4}
.studio-cover img{width:100%;height:100%;object-fit:cover;object-position:center}
.route-grid{display:flex;gap:10px;margin:0 0 13px}
.route-card,.route-card.selected{min-height:0;padding:11px 17px;border-radius:11px;display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:9px;width:auto;flex:0 1 250px;box-shadow:none}
.route-card.selected{padding:10px 16px;border:2px solid #af834b}
.route-icon{font-size:22px;margin:0;line-height:1.2}
.route-card strong{font-size:14px;display:block;white-space:nowrap;line-height:1.35}
.route-card small{font-size:11px;margin:2px 0 0;display:block;line-height:1.3}
.workspace{padding:23px 27px 29px;border-radius:17px}
.choice-sections{gap:15px}
.idea-block textarea{font-size:17px;min-height:75px;line-height:1.8;padding:12px 15px}
.choice-title{font-size:16px;margin-bottom:10px;display:flex;align-items:center;gap:8px}
.choice-title small{font-size:12px;margin-right:3px;font-weight:400}
.step-number{display:inline-grid;place-items:center;flex:none;width:26px;height:26px;background:#3e2c23;color:#f8e7d3;border-radius:50%;font-size:12px;line-height:1}
.quick-ideas{margin:8px 0 0!important}
.color-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.color-panel{min-width:0;border-radius:13px;padding:15px;background:#fcf7ee;border:1px solid #dbc6aa}
.palette-heading{display:flex;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;gap:4px 8px;margin-bottom:10px}
.palette-heading h2{font-size:16px;line-height:1.7;margin:0;display:flex;align-items:center;gap:7px}
.palette-heading small{font-size:10px;color:#8a745f;line-height:1.9;align-self:center}
.color-panel .swatch-row{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:6px;min-height:0}
.swatch-option{min-width:0;border:1px solid #e8d8c7;background:#fffdf8;border-radius:9px;padding:7px 2px 5px;display:flex;flex-direction:column;gap:5px;align-items:center;justify-content:center;position:relative;min-height:71px;text-align:center;color:#604b3a;cursor:pointer}
.swatch-option:hover{border-color:#ad834e;background:#fff8eb}
.swatch-option.selected{border:2px solid #926333;background:#f0dfc8;padding:6px 1px 4px;box-shadow:0 3px 12px #6d43241c}
.color-dot{width:30px;height:30px;border-radius:50%;border:1px solid #b69a7c;box-shadow:0 1px 3px #614b3622;flex:none}
.swatch-name{font-size:10px;line-height:1.1;font-weight:700;white-space:nowrap}
.swatch-check{position:absolute;top:2px;right:3px;font-size:10px;background:#463024;color:#fff;border-radius:50%;width:15px;height:15px;display:none;line-height:15px;text-align:center}
.swatch-option.selected .swatch-check{display:block}
.custom-swatch{overflow:hidden}
.custom-dot{display:grid;place-items:center;background:conic-gradient(#b68847,#857b64,#6681a0,#caa38a,#b68847);font-size:22px;color:white;border:1px solid #c6a788}
.color-picker{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;border:0;padding:0;z-index:1}
.palette-selection{min-height:20px;color:#8b765f;font-size:10px;line-height:1.5;margin:8px 0 0}
.palette-feedback{color:#a04429;font-size:12px;margin:-7px 0 0;min-height:0}
.palette-feedback:empty{display:none}
.extra-options{background:#fffaf4}
.extra-options summary{padding:11px 15px;font-size:12px}
.extra-options summary span{font-size:10px}
.extra-inner .upload-mini{order:unset;margin:0}
.extra-inner .gen-room-preview{order:unset}
.generate-controls{display:grid;grid-template-columns:minmax(0,1fr) minmax(230px,290px);gap:16px;align-items:start;margin-top:18px}
.generate-controls>.primary-btn{margin-top:0;min-height:56px;font-size:16px}
.beta-access{background:#f6eee2;border:1px solid #e2cfba;border-radius:9px;min-height:54px}
.beta-access>summary{font-weight:bold;font-size:12px;cursor:pointer;padding:14px;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:7px}
.beta-access>summary::-webkit-details-marker{display:none}
.beta-access>summary:before{content:'⌄';font-size:17px;color:#9f753f}
.beta-access[open]>summary:before{content:'⌃'}
.beta-access .beta-code{margin:0 13px 5px;font-size:11px}
.beta-access .input{width:calc(100% - 26px);max-width:none;margin:0 13px 13px;height:38px;min-height:38px}
.secure-note{margin:9px 0 0;color:#8b7865;font-size:10px}
.generated-area{margin-top:25px}
@media(max-width:900px){.color-panel .swatch-row{grid-template-columns:repeat(4,minmax(0,1fr))}.swatch-option{min-height:66px}.palette-heading{display:block}.palette-heading small{display:block;margin-top:3px}}
@media(max-width:690px){
 .shell{width:min(100% - 24px,1170px)}
 .header .nav{min-height:63px}
 .header .brand img{width:44px;height:44px}
 .header .brand strong{font-size:13px;letter-spacing:1.7px}
 .header .brand small{letter-spacing:3px;font-size:7px}
 .header .small-cta{font-size:11px;padding:8px 10px}
 .services{padding:14px 0 30px}
 .studio-header{grid-template-columns:1fr;margin-bottom:12px}
 .studio-cover{display:none}
 .studio-intro h1{font-size:29px;margin:3px 0}
 .studio-intro p{font-size:12px;line-height:1.6}
 .route-grid{gap:8px;margin-bottom:11px}
 .route-card,.route-card.selected{flex:1 1 50%;padding:11px 9px;min-height:57px;gap:5px}
 .route-card.selected{padding:10px 8px}
 .route-icon{font-size:17px}
 .route-card strong{font-size:12px}
 .route-card small{font-size:10px}
 .workspace{padding:15px 12px 20px}
 .choice-sections{gap:12px}
 .choice-title,.palette-heading h2{font-size:14px}
 .step-number{width:22px;height:22px;font-size:11px}
 .idea-block textarea{font-size:15px;min-height:65px}
 .color-columns{grid-template-columns:1fr;gap:10px}
 .color-panel{padding:12px 10px}
 .palette-heading{display:flex;margin-bottom:8px;align-items:center}
 .palette-heading small{margin:0;font-size:10px}
 .color-panel .swatch-row{grid-template-columns:repeat(8,minmax(0,1fr));gap:4px}
 .swatch-option{border-radius:8px;min-height:52px;padding:5px 0 4px;gap:3px}
 .swatch-option.selected{padding:4px 0 3px}
 .color-dot{height:23px;width:23px}
 .swatch-name{font-size:8px}
 .swatch-check{width:12px;height:12px;line-height:12px;font-size:8px;right:1px;top:1px}
 .custom-dot{font-size:15px}
 .palette-selection{margin-top:5px;min-height:0;font-size:9px}
 .generate-controls{grid-template-columns:1fr;gap:8px;margin-top:12px}
 .generate-controls>.primary-btn{min-height:52px;font-size:15px}
 .beta-access{min-height:0}
 .beta-access>summary{padding:10px 12px}
 .secure-note{margin:7px 0 0;text-align:center}
 .generated-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:385px){.color-panel .swatch-row{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.swatch-option{min-height:57px}.color-dot{width:27px;height:27px}.swatch-name{font-size:10px}}

.color-remove{position:absolute;top:0;right:0;z-index:3;width:20px;height:20px;border:0;border-radius:50%;background:#38251b;color:white;line-height:1;font-size:17px;padding:0;display:grid;place-items:center}


/* V3.7 — enlarged customer previews with no download control */
.generated-card>img{cursor:zoom-in;touch-action:manipulation}
.gallery-preview-trigger{display:block;width:100%;padding:0;background:transparent;border:0;color:inherit;text-align:inherit;cursor:zoom-in}
.gallery-preview-trigger .mat{display:block}
.gallery-preview-trigger img{user-select:none;-webkit-user-drag:none;-webkit-touch-callout:none}
.image-preview-dialog{position:fixed;inset:0;border:1px solid #d5bc9b;border-radius:16px;padding:0;overflow:visible;max-width:min(92vw,800px);max-height:94dvh;width:max-content;background:#f7efe3;color:#34261d;box-shadow:0 20px 90px #160d09bb}
.image-preview-dialog::backdrop{background:#160e0bdb;backdrop-filter:blur(5px)}
.image-preview-shell{position:relative;display:flex;flex-direction:column;align-items:center;max-height:94dvh;min-width:min(88vw,320px);overflow:hidden;border-radius:16px}
.image-preview-shell>img{display:block;max-height:calc(94dvh - 102px);max-width:90vw;width:auto;object-fit:contain;user-select:none;-webkit-user-drag:none;-webkit-touch-callout:none}
.image-preview-close{z-index:3;position:absolute;top:10px;left:10px;display:grid;place-items:center;width:39px;height:39px;border:1px solid #c6ac8e;border-radius:50%;background:#fffcf2f4;color:#3b281c;font-size:27px;line-height:1}
.image-preview-footer{width:100%;padding:11px 19px 14px;background:#f7efe3;text-align:center}
.image-preview-footer strong{font-size:15px}.image-preview-footer p{font-size:11px;color:#7d6756;margin:3px 0 0}
@media(max-width:690px){.image-preview-dialog{max-width:96vw;max-height:92dvh}.image-preview-shell{max-height:92dvh}.image-preview-shell>img{max-width:96vw;max-height:calc(92dvh - 98px)}.image-preview-close{top:7px;left:7px}}


/* V3.9 — FINAL APPROACH / WARM STONE
   No charcoal, no harsh ivory. Muted stone-grey/taupe, cream cards, warm typography,
   champagne-gold details. Retains all layouts, color selection and protected previews. */
:root{
 color-scheme:light;
 --paper:#D6D0C7;
 --cream:#E8E2D9;
 --warm:#CDC2B4;
 --ink:#342D27;
 --muted:#706559;
 --line:#BCB0A2;
 --gold:#95744D;
 --dark:#342D27;
 --shadow:0 12px 32px rgba(63,52,42,.075);
}
html{background:#D6D0C7}
body{background:#D6D0C7;color:var(--ink)}
::selection{background:#B49B77;color:#211B17}
*:focus-visible{outline-color:#856341;outline-offset:3px}
.header,.topbar{background:#CBC2B7;color:#342D27;border-bottom:1px solid #B9AEA0}
.brand,.navlinks,.navlinks a,.toplinks{color:#322D28}
.navlinks a:hover,.brand small,.overline,.step-count{color:#785A3C}
.small-cta{background:#E3DBCE;color:#4F3D2B;border:1px solid #AC987E}
.small-cta:hover{background:#EDE6DD}
.hero,.services{background:#D6D0C7}
.hero h1,.studio-intro h1,.section-head h2,.workspace-title h3,.result-heading h3{color:#332C27}
.hero h1 em,.studio-intro h1 em{color:#96724A}
.hero-sub,.hero-note,.studio-intro p,.section-head p,.under-idea,.quick-ideas>span{color:#695F55}
.hero-art{background:#D0BFB0;border:1px solid #B7A99A;box-shadow:0 15px 38px #63554727}
.hero-art:after{border-color:#EDE3D21A}
.image-corner{background:#40362DD9;color:#F3E9DB}.image-corner b{color:#E1C79E}
.primary-btn,.btn-gold{background:linear-gradient(120deg,#BCA47F,#A48761);color:#28221C;border:1px solid #A18460;box-shadow:none}
.primary-btn:hover,.btn-gold:hover{background:linear-gradient(120deg,#CBB594,#B49A76);box-shadow:0 6px 18px #6A544122}
.outline-btn,.btn-outline{background:#E8E0D5;color:#43372D;border:1px solid #A78C6E}
.outline-btn:hover,.btn-outline:hover{background:#F0E9E0}
.gallery-area{background:linear-gradient(180deg,#D0C8BC,#D9D1C6);border-block:1px solid #BCAF9E}
.gallery-card figcaption,.gallery-card{color:#38312A}
.gallery-card .mat{background:#C9BDAF;border:1px solid #A48D73;box-shadow:0 7px 14px #5A453525}
.gallery-card img{border:3px solid #89715C}
.gallery-footnote{color:#6E6257}
.route-card,.route-card.selected{background:#E7E0D6;color:#352D27;border:1px solid #B9AB99;box-shadow:none}
.route-card:hover{background:#EEE6DB;border-color:#9E815E}
.route-card.selected{background:#EBE1D4;border:2px solid #A48864;box-shadow:0 4px 20px #6F553014}
.route-card small,.route-card .route-link,.workspace-title p,.choice-title small,.beta-code small{color:#6C6056}
.route-icon,.mini-star,.step-count{color:#8E6A42}
.workspace{background:#E6DFD5;border:1px solid #BFB2A2;box-shadow:0 14px 44px #5E52421B}
.workspace-title,.generated-area{border-color:#C9BBAA}
.choice-title,.field-label,.beta-code,.palette-heading h2{color:#352C25}
.step-number{background:#A48762;color:#FBF8F0}
.color-panel{background:#EDE7DF;border:1px solid #C6B9A9}
.palette-heading small,.palette-selection,.secure-note{color:#6D6256}
.swatch-option{background:#F1ECE5;border:1px solid #CEC0B0;color:#493D33}
.swatch-option:hover{background:#FBF5EB;border-color:#A78C6D}
.swatch-option.selected{background:#E4D5C0;border:2px solid #9F7C51;box-shadow:0 0 0 1px #A88A6555}
.color-dot{border-color:#988A7B;box-shadow:0 1px 4px #5A463020}
.swatch-name{color:#45382E}
.swatch-check,.color-remove{background:#98734D;color:white}
.input,.admin-shell .field{background:#F4EFE8;color:#332B26;border:1px solid #BAAD9E}
.input::placeholder{color:#817466}
.input:focus,.admin-shell .field:focus{border-color:#98734D;outline-color:#98734D}
.style-chip,.quick-ideas button{background:#E9E1D7;border:1px solid #B9A893;color:#57483A}
.style-chip:hover,.quick-ideas button:hover{background:#F2EADF;border-color:#9F825E}
.style-chip.selected{background:#867058;color:#FFFFFF;border-color:#867058}
.extra-options,.beta-access{background:#E9E2D9;border:1px solid #C6B9A9;color:#3A312A}
.extra-options summary,.beta-access summary,.beta-access .beta-code{color:#3A312A}
.extra-options summary span{color:#6B5F52}
.extra-inner{border-top-color:#D0C4B7}
.upload-mini{background:#EAE2D7;border-color:#BCA991;color:#4A3D30}
.upload-mini small{color:#796D5D}
.beta-access>summary:before{color:#8B6B45}
.understood-idea,.team-intro,.beta-note{background:#E5DACC;border:1px solid #C7B6A2;color:#46392C}
.understood-idea *, .team-intro p,.beta-note p{color:#5B4A3D}
.understood-idea b{color:#342B23}
.feedback{color:#805827}
.feedback.error,.palette-feedback{color:#9E3B2B}
.generated-card{background:#E5DCD0;border:1px solid #BBA88E}
.generated-card.selected{outline-color:#A18157}
.generated-card .pending{background:#E1D7CA;color:#635342}
.generated-card img{background:#D6C9BC}
.generated-card .generated-meta{color:#3B3128}
.generated-card button{background:#D5C09E;color:#30261D;font-weight:700}
.generated-card button:hover{background:#E5D1B0}
.preview-only,.result-heading p{color:#6B6056}
.upload-area{background:#EDE5DC;border:1.5px dashed #A79174;color:#46372D}
.upload-area small,.privacy,.sent-result small{color:#6D5F52}
.sent-result{background:#E7DCCC;border:1px solid #B9A486}
.sent-result p{color:#6A5847}
.success-icon{background:#A88B65;color:white}
.reference{background:#F4EEE6;border:1px dashed #A78A65;color:#3A2D24}
.benefits{background:#CAC0B4;border-block:1px solid #B7A99B}
.benefits-grid>div{border-left:1px solid #B6A593}
.benefits-grid b{color:#896943}
.benefits-grid small{color:#64584C}
.footer{background:#BFB3A5;color:#352D26;border-top:1px solid #AFA090}
.footer p{color:#514638}
.image-preview-dialog{background:#E9E3DB;color:#362C25;border:1px solid #A58D71}
.image-preview-dialog::backdrop{background:#2E2822B5;backdrop-filter:blur(5px)}
.image-preview-footer{background:#EAE3D9;color:#332B26;border-top:1px solid #C7B9AA}
.image-preview-footer p{color:#6D6258}
.image-preview-close{background:#F2EAE0;color:#312920;border:1px solid #9F8463}
.admin-panel,.admin-card,.admin-shell .step-card{background:#E9E3DA;border:1px solid #C1B3A5;color:#332D27}
.admin-shell .status:not(:empty),.detail-item,.order-tile,.proposal,.proposal-visual{background:#EBE4D9;border-color:#C7B8A6;color:#342D27}
.order-tile.active{background:#E1D0B9;border-color:#997953}
.order-tile small,.detail-item small,.muted,.hint,.status{color:#695B4B}
.proposal-actions .btn{background:#E3D8C9;color:#3C3025;border:1px solid #A99378}
.proposal-actions .btn-ink,.btn{background:#AE9069;color:#241B14}
.pill{background:#E0D0BA;color:#4A3824}
@media(max-width:690px){
 .header,.services{background:#D6D0C7}
 .gallery-area{background:#D4CCC0}
 .color-panel{background:#EBE4DB}
 .swatch-option{background:#F0EAE1}
 .image-preview-dialog{max-width:96vw}
}

/* V3.10 — Restore the original FINAL APPROACH brand mark in readable antique-gold on warm stone. */
.header .brand strong,.footer .footer-brand span,.topbar .brand-word{color:#79552D}
.header .brand small,.footer .footer-brand small,.topbar .brand-word small{color:#8B6840}

/* v4: customer generation is public; button spans the full action area. */
.generate-controls{display:block;max-width:100%}
.generate-controls>.primary-btn{width:100%}
