:root{--ink:#553c45;--muted:#92747f;--paper:#fff9f6;--cream:#fbefec;--blush:#f5e0e1;--rose:#c78599;--gold:#c6a06c;--goldlight:#f7debc;--line:#edd9d5;--shadow:0 18px 55px rgba(100,65,78,.12);--dark:#65434d}
html,body{background:linear-gradient(115deg,#fff4ef 0%,#fffaf5 50%,#fcebed 100%);color:#583e49}
.sidebar{background:linear-gradient(170deg,rgba(104,69,75,.95),rgba(113,72,86,.91) 65%,rgba(91,57,70,.95));box-shadow:6px 0 30px rgba(92,54,64,.13);border-right:1px solid rgba(255,255,255,.45)}
.brandname{font-size:30px;color:#ffe5bb;text-shadow:0 0 22px #ffdabc48}
.navbtn{border-radius:20px;font-size:13px;padding:12px;transition:.2s ease}
.navbtn:hover{background:#f9d9df25;color:#fff}
.navbtn.active{background:linear-gradient(90deg,#e2aebb7d,#efd3cb42);border-color:#f9d8c78c;box-shadow:inset 0 1px 0 #ffffff38,0 5px 16px #3a223123;color:white}
.navicon{color:#ffe4c3}
.main{max-width:1950px}
.card{border:1px solid #eeded8;box-shadow:0 15px 42px rgba(116,77,84,.09);background:linear-gradient(135deg,rgba(255,254,251,.97),rgba(255,246,243,.95));border-radius:22px}
.btn{border-radius:30px}
.btn.gold{background:linear-gradient(110deg,#bc718c,#dfa3ac 65%,#bc7995);border-color:#c98194;color:white;box-shadow:0 6px 16px #ad688735}
.btn.gold:hover{filter:brightness(1.06)}
.chip.active,.seg .chip.active{background:linear-gradient(110deg,#edbdca,#f6dbd7);border-color:#d8a8ad;color:#714550}
.topbar{padding:8px 14px 14px;border-bottom:1px solid #e8d3c7}
.topname{color:#644250}
.metric-pill{background:#fff7f3;border:1px solid #efddd8;border-radius:25px}
.stage{box-shadow:0 14px 40px #ab7d8030}
.catalog-item.active{outline:2px solid #db9cab;box-shadow:0 12px 28px #d49caa38}
.occasion-pill{background:#fff8f5;border-color:#ebd6d5}
.at-quick{display:flex;align-items:center;flex-wrap:wrap;gap:10px;background:linear-gradient(110deg,#fff2f2,#fbe4dc);border:1px solid #ead0cf;padding:12px 16px;margin-bottom:18px;border-radius:22px;box-shadow:0 10px 25px #be89911a}
.at-quick>span{font:italic 18px Georgia,serif;flex:1;min-width:190px;color:#8a576a}
.at-hero{position:relative;overflow:hidden;display:flex;justify-content:space-between;align-items:center;gap:18px;padding:26px 32px;margin:16px 0 22px;border-radius:25px;color:#65404c;background:linear-gradient(100deg,rgba(255,249,245,.96),rgba(254,231,231,.85)),url('assets/boutique-room.webp') center/cover;border:1px solid #e6c7bf;box-shadow:0 14px 40px #c99f9e26}
.at-hero:after{content:'✧';position:absolute;font:italic 132px Georgia;right:31%;top:-44px;color:#d29b9c18;pointer-events:none}
.at-hero h2{font:italic clamp(23px,2.5vw,35px) Georgia,serif;max-width:710px;margin:8px 0 7px;line-height:1.16}
.at-hero p{font-size:13px;color:#805f6a;max-width:610px;margin-bottom:0;line-height:1.7}
.at-hero-actions{display:flex;gap:9px;flex-wrap:wrap;position:relative;z-index:1}
.at-workspace{display:grid;grid-template-columns:minmax(270px,.9fr) minmax(310px,1.02fr) minmax(250px,.77fr);align-items:stretch;gap:17px}
.at-editor,.at-preview{padding:19px 21px 21px;min-width:0}
.at-editor h3,.at-preview h3,.at-service h3{font-family:Georgia,serif;font-size:23px;color:#724b5a}
.at-type-switch{display:flex;background:#f9ece8;border:1px solid #efd6d3;padding:5px;border-radius:16px;gap:4px;margin-bottom:16px}
.at-type-switch button{background:transparent;border:none;border-radius:12px;flex:1;padding:11px 6px;font-size:12px;color:#7e626c;font-weight:700}
.at-type-switch button.active{background:white;box-shadow:0 4px 10px #cda4ab31;color:#b46b87}
.at-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;margin-bottom:20px}
.at-steps button{border:1px solid #ecddda;border-radius:9px;background:#fff9f5;color:#846d72;padding:9px 3px;font-size:10px;min-height:44px}
.at-steps button.active{background:#e8b6c4;border-color:#d69cad;color:#533443;font-weight:700}
.at-field{display:block;margin:11px 0 15px;font-size:13px}
.at-field>span{display:block;margin-bottom:7px;color:#755760;font-weight:700;font-size:12px}
.at-field select,.at-field input,.at-field textarea{display:block;width:100%;background:#fffaf8;border:1px solid #ead5d1;border-radius:12px;padding:12px;color:#654751;outline-offset:2px}
.at-field select:focus,.at-field input:focus,.at-field textarea:focus{border-color:#d6a3a8}
.at-measures{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px}
.at-measures .at-field input{padding:10px 9px}
.at-note{color:#937881;font-size:11px;line-height:1.65;margin:12px 0 0}
.at-color-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin-top:6px}
.at-color{display:grid;gap:5px;justify-items:center;align-items:center;background:#fff9f6;border:1px solid transparent;border-radius:12px;padding:7px 2px;color:#7f6472;min-width:0}
.at-color span{width:27px;height:27px;border-radius:50%;border:2px solid #fff;box-shadow:0 1px 6px #96777b67,0 0 0 1px #d8c3c3}
.at-color small{font-size:9px;line-height:1.2;text-align:center}
.at-color.active{border-color:#d79eae;background:#fbe7e9}
.at-editor-foot{display:flex;justify-content:space-between;gap:10px;margin-top:25px;border-top:1px solid #f0e1da;padding-top:16px}
.at-preview{text-align:center;display:flex;align-items:center;flex-direction:column;background:radial-gradient(circle at 50% 38%,#fffaf7,#faebea 98%)}
.at-preview h3{margin:5px auto 8px}
.at-sketch{max-width:360px;width:100%;margin:0 auto;box-shadow:0 13px 30px #ba929149;border-radius:21px;overflow:hidden;background:#f9f0ec;line-height:0}
.at-sketch svg{display:block;width:100%;max-height:480px}
.at-price{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;width:100%;margin-top:17px;padding:13px 3px;border-top:1px solid #ead7d5;border-bottom:1px solid #ead7d5;text-align:left}
.at-price span{font-size:11px;color:#876a73}
.at-price strong{font:24px Georgia,serif;color:#bb6f86}
.at-preview-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:9px;width:100%;margin-top:16px}
.at-preview-actions .btn{flex:1}
.at-right{display:flex;flex-direction:column;gap:14px;min-width:0}
.at-brief,.at-service{background:linear-gradient(145deg,#fffcf8,#ffeff0);border:1px solid #ecd1cf;border-radius:22px;box-shadow:0 12px 32px #b67d831d;padding:19px}
.at-brief-head{font:italic 22px Georgia;color:#986579}
.at-brief p,.at-service p{font-size:12px;color:#886c76;line-height:1.65}
.at-brief .btn,.at-service .btn{width:100%;margin-top:10px}
.at-match{display:flex;justify-content:space-between;font-size:12px;align-items:center;color:#7b5b65}
.at-match b{font:26px Georgia;color:#b7768a}
.at-progress{height:8px;border-radius:6px;background:#f2dddf;overflow:hidden;margin:10px 0 12px}
.at-progress span{display:block;height:100%;background:linear-gradient(90deg,#d0a177,#d08b9d);border-radius:6px}
.at-require{display:flex;flex-wrap:wrap;gap:5px}
.at-req{display:inline-flex;gap:5px;padding:7px 9px;border-radius:10px;border:1px solid #e9d2d3;background:#fdf5f4;font-size:11px;line-height:1.3}
.at-req.good{background:#f0f6ee;color:#60836d;border-color:#c8dbc8}
.at-req.pending{color:#996878}
.at-inventory{display:flex;justify-content:space-between;font-size:13px;padding:9px 0;border-bottom:1px solid #eee0db}
.at-library{margin-top:25px;padding:22px}
.at-library-head{display:flex;justify-content:space-between;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:15px}
.at-library-head h2{font-size:28px;margin:4px 0}
.at-library-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}
.at-design-item{border:1px solid #efd8d7;border-radius:17px;overflow:hidden;background:#fff9f7}
.at-mini{background:#f9e9e7;line-height:0}
.at-mini svg{display:block;width:100%;height:210px;object-fit:cover}
.at-design-info{padding:13px}
.at-design-info h4{font:20px Georgia;margin:8px 0}
.at-design-info small{font-size:11px;display:block;min-height:31px}
.at-design-info .btnrow{margin-top:13px;display:flex;flex-wrap:wrap;gap:5px}
.at-design-info .btn{font-size:10px;padding:7px 9px}
.at-empty{padding:35px 22px;text-align:center;color:#947c81;font-size:13px}
.at-hero-orders{background:linear-gradient(100deg,#fff6f2e8,#f5d5dcb5),url('assets/boutique-lounge.webp') center/cover}
.at-orders-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:19px}
.at-order{padding:19px;min-width:0}
.at-order-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:15px}
.at-order-head h3{font:25px Georgia;margin:5px 0}
.at-state{display:inline-flex;padding:7px 11px;border-radius:15px;background:#f4e2e4;color:#a36379;font-size:11px;font-weight:700}
.at-order-pair{display:flex;gap:13px;align-items:start}
.at-order-thumb{width:120px;flex:none;overflow:hidden;border-radius:10px;box-shadow:0 5px 10px #93647029}
.at-order-thumb svg{display:block;width:100%}
.at-order-data{flex:1;min-width:0}
.at-order-data p{font-size:12px;line-height:1.4;margin-bottom:7px;color:#78646a;word-break:break-word}
.at-progressline{display:flex;gap:5px;margin:15px 0}
.at-progressline span{height:8px;border-radius:8px;flex:1;background:#f3e6e5}
.at-progressline span.active{background:linear-gradient(90deg,#bb8e96,#d0a8a1)}
.at-order-buttons{display:flex;gap:8px;flex-wrap:wrap}
.at-order-buttons .btn{font-size:12px}
@media(max-width:1380px){.at-workspace{grid-template-columns:minmax(260px,.95fr) minmax(300px,1fr)}.at-right{grid-column:1/-1;display:grid;grid-template-columns:1.2fr 1fr 1fr;align-items:start}.at-library-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1020px){.at-workspace{grid-template-columns:1fr 1fr}.at-right{grid-template-columns:1fr 1fr}.at-brief{grid-column:1/-1}.at-orders-grid{grid-template-columns:1fr}}
@media(max-width:740px){.at-hero{flex-direction:column;align-items:flex-start;padding:22px}.at-hero-actions{width:100%}.at-hero-actions .btn{flex:1}.at-workspace{grid-template-columns:1fr}.at-right{grid-column:auto;grid-template-columns:1fr}.at-brief{grid-column:auto}.at-preview{grid-row:2}.at-sketch{max-width:390px}.at-library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.at-steps{grid-template-columns:repeat(4,minmax(0,1fr))}.at-steps button{font-size:9px}.at-orders-grid{grid-template-columns:1fr}.at-quick{padding:12px}.at-quick>span{width:100%;min-width:0}.at-quick .btn{flex:1}.at-order-thumb{width:100px}.at-measures{gap:0 8px}}
@media(max-width:440px){.at-editor,.at-preview{padding:15px}.at-library-grid{grid-template-columns:1fr 1fr;gap:7px}.at-mini svg{height:160px}.at-design-info{padding:9px}.at-design-info h4{font-size:17px}.at-hero h2{font-size:25px}.at-order-pair{gap:10px}.at-order-thumb{width:90px}.at-steps button{padding:7px 2px;min-height:48px}.at-type-switch button{font-size:11px}}
.at-reference{display:flex;width:100%;align-items:center;text-align:left;gap:11px;margin-top:12px;background:#fff9f6;border:1px solid #ecd9d5;border-radius:14px;padding:7px}
.at-reference img{display:block;flex:none;width:67px;height:80px;object-fit:cover;border-radius:10px;background:#eee0da}
.at-reference strong{display:block;font-size:11px;color:#805562;margin-bottom:4px}
.at-reference small{display:block;font-size:10px;line-height:1.5;color:#937a7e}
