@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Noto+Sans+Arabic:wght@400;500;600;700&family=Playfair+Display:wght@400;500;600&display=swap');
:root{--ink:#302d2a;--muted:#827d76;--wine:#592c3c;--paper:#faf8f3;--line:#e7e2d9;--green:#50705d}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:15px 'DM Sans','Noto Sans Arabic',sans-serif}button,input,select,textarea{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer;border:0}button:focus-visible,a:focus-visible{outline:3px solid #b58b55;outline-offset:3px}button{background:none;color:inherit}.layout{display:grid;grid-template-columns:244px 1fr;min-height:100vh}.sidebar{padding:34px 24px;background:#f2eee6;border-inline-end:1px solid var(--line);display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.brand{font-size:38px;font-weight:600;color:var(--wine);line-height:1.3}.brand small{font:11px 'DM Sans',sans-serif;display:block;letter-spacing:4px;margin:7px 0 44px;color:var(--muted)}.nav{display:grid;gap:8px}.nav button{text-align:start;padding:13px 16px;border-radius:7px;color:#6d665e;display:flex;gap:12px;align-items:center}.nav button.active{background:var(--wine);color:white}.nav svg{width:20px;height:20px}.sidebottom{margin-top:auto}.tiny{font-size:12px;color:var(--muted);line-height:1.7}.team{border-top:1px solid #dbd3c7;padding-top:20px;margin-top:26px}.avatar{width:38px;height:38px;border-radius:50%;background:#e9e0d2;display:inline-grid;place-items:center;color:var(--wine);font-weight:600;flex-shrink:0}.avatar.large{width:64px;height:64px;font-size:23px;background:#efe3e3}.main{padding:0 46px 48px;max-width:1600px;width:100%;margin:auto}.topbar{height:86px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:12px}.topbar .tiny{letter-spacing:.5px}.lang{border:1px solid #d7cfc4;border-radius:6px;padding:8px 15px;font-size:13px}.row{display:flex;align-items:center;gap:12px}.spread{justify-content:space-between}.banner{background:#eee8dd;color:#756750;border-radius:6px;padding:10px 15px;margin:23px 0;font-size:12px;line-height:1.7}.eyebrow{font-size:11px;letter-spacing:2px;color:#937b60;text-transform:uppercase;margin:0 0 8px}h1{font:500 38px 'Playfair Display','Noto Sans Arabic',serif;line-height:1.5;margin:0 0 7px}h2{font-size:20px;font-weight:600;margin:0 0 12px}h3{font-size:16px;margin:0}p{line-height:1.8}.subtitle{color:var(--muted);margin:0;font-size:14px}.primary{background:var(--wine);color:#fff;border-radius:6px;padding:13px 20px;display:inline-flex;align-items:center;justify-content:center;gap:8px}.secondary{border:1px solid #dcd4c8;border-radius:6px;padding:11px 17px;background:#fffdf8}.primary svg{width:18px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:17px;margin:28px 0}.stat{padding:19px 23px;background:white;border:1px solid var(--line);border-radius:8px;display:flex;justify-content:space-between;align-items:center}.stat strong{font:34px 'Playfair Display',serif}.stat span{font-size:13px;color:var(--muted)}.stat svg{color:#947e64;width:25px}.workspace{display:grid;grid-template-columns:minmax(270px,.95fr) minmax(330px,1.4fr);gap:23px}.panel{background:#fff;border:1px solid var(--line);border-radius:9px;overflow:hidden}.panelhead{padding:23px 25px;border-bottom:1px solid var(--line)}.search{display:flex;gap:10px;align-items:center;border:1px solid var(--line);border-radius:6px;padding:0 13px;background:var(--paper);margin-top:18px}.search input{border:0;background:none;width:100%;padding:13px 0;outline:none}.search svg{width:18px;color:#8a8276}.customer{display:flex;align-items:center;gap:13px;padding:21px 24px;border-bottom:1px solid #f0ece5;cursor:pointer;text-align:start;width:100%;position:relative}.customer.selected{background:#f8f3ef}.customer.selected:before{content:'';position:absolute;inset-inline-start:0;top:0;bottom:0;width:3px;background:var(--wine)}.customer .names{flex:1;min-width:0}.customer strong{display:block;font-size:15px;font-weight:600}.customer small{display:block;color:var(--muted);margin-top:5px;font-size:12px}.tag{display:inline-block;background:#edf2ec;color:#55705c;border-radius:4px;padding:4px 8px;font-size:11px;white-space:nowrap}.tag.gold{background:#f5ecd9;color:#91723e}.tag.rose{background:#f4e8e8;color:#9b5654}.detail{padding:26px}.detailtop{display:flex;align-items:center;gap:16px}.detailtop .names{flex:1}.divider{border:0;border-top:1px solid var(--line);margin:23px 0}.measuregrid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:17px}.measure{padding:16px 12px;background:#faf8f4;border-radius:6px}.measure small{font-size:11px;color:var(--muted);display:block}.measure strong{font-size:25px;font-weight:500;display:block;margin-top:8px;direction:ltr;text-align:start}.measure strong i{font-size:11px;font-style:normal;color:var(--muted);margin-inline-start:4px}.note{padding:15px 18px;background:#fbf7ed;border-inline-start:2px solid #c7aa75;border-radius:3px;color:#75674f;font-size:13px;line-height:1.9;margin:20px 0}.actions{display:flex;gap:9px;flex-wrap:wrap}.link{color:var(--wine);text-decoration:underline;text-underline-offset:4px;font-size:12px}.empty{padding:45px 24px;text-align:center;color:var(--muted)}.orderlist{display:grid;gap:14px;margin-top:22px}.order{padding:22px;background:white;border:1px solid var(--line);border-radius:8px}.orderline{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.order p{margin:10px 0;font-size:13px;color:var(--muted)}.order select{padding:8px;border:1px solid var(--line);border-radius:5px;max-width:100%}.filters{display:flex;gap:8px;flex-wrap:wrap;margin-top:24px}.chip{border:1px solid var(--line);border-radius:30px;padding:8px 17px}.chip.active{background:var(--wine);color:white;border-color:var(--wine)}dialog{border:0;border-radius:12px;padding:0;max-width:780px;width:calc(100% - 28px);max-height:90vh;color:var(--ink);box-shadow:0 25px 100px #24130b33}dialog::backdrop{background:#30241b70;backdrop-filter:blur(3px)}.modalhead{position:sticky;top:0;background:white;padding:20px 28px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;z-index:1}.modalbody{padding:25px 28px}.close{font-size:26px;padding:0 8px}.formgrid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.field{display:flex;flex-direction:column;gap:7px;font-size:13px}.field small{color:var(--muted);font-size:11px;line-height:1.6}.field input,.field textarea,.field select{width:100%;border:1px solid #dcd5ca;background:#fffefa;border-radius:5px;padding:12px;color:var(--ink);min-height:46px}.field input:focus,.field textarea:focus{outline:2px solid #bda789;outline-offset:1px}.full{grid-column:1/-1}.formfooter{position:sticky;bottom:0;padding:18px 28px;background:white;border-top:1px solid var(--line);display:flex;justify-content:flex-end;gap:10px}.sectiontitle{margin:26px 0 15px;display:flex;align-items:center;justify-content:space-between;gap:10px}.measurefields{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.settings{padding:28px;max-width:700px;margin-top:25px}.customerpage{max-width:760px;margin:40px auto;padding:25px}.customerpage .panel{padding:30px;margin-top:25px}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#302d2a;color:#fff;padding:12px 23px;border-radius:8px;z-index:10;display:none;font-size:14px}.footer{margin-top:25px;display:flex;justify-content:space-between;gap:14px;color:var(--muted);font-size:11px}.history{font-size:12px;border-top:1px solid var(--line);padding:10px 0}.warning{color:#9d554a}.printonly{display:none}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}@media(max-width:1150px){.main{padding:0 25px 30px}.layout{grid-template-columns:200px 1fr}.sidebar{padding:28px 18px}.workspace{grid-template-columns:1fr}.detail{padding:24px}}@media(max-width:700px){.layout{display:block}.sidebar{position:static;height:auto;display:block;padding:16px 18px}.brand{font-size:29px}.brand small{display:inline;margin-inline-start:15px;font-size:9px}.nav{display:flex;margin-top:18px;gap:6px}.nav button{font-size:12px;padding:10px;flex:1;justify-content:center}.sidebottom{display:none}.main{padding:0 18px 30px}.topbar{height:58px}.topbar .tiny{font-size:10px}h1{font-size:29px}.hero{align-items:flex-start;gap:20px;flex-direction:column}.hero .primary{width:100%}.stats{gap:8px;margin:22px 0}.stat{padding:13px 12px;display:block}.stat strong{font-size:28px}.stat span{display:block;font-size:10px}.stat svg{display:none}.formgrid,.measurefields{grid-template-columns:1fr 1fr}.modalbody{padding:20px}.modalhead{padding:18px 20px}.detailtop{flex-wrap:wrap}.measuregrid{gap:7px}.measure{padding:12px 9px}.measure strong{font-size:22px}.footer{flex-direction:column}.customerpage{margin:10px auto;padding:18px}.customerpage .panel{padding:20px}}@media print{body{background:white}.sidebar,.topbar,.banner,.hero,.stats,.workspace>section:first-child,.actions,.footer,dialog,#toast,.noprint{display:none!important}.layout,.workspace{display:block}.main{padding:0}.panel{border:0}.detail{padding:0}.printonly{display:block}.measuregrid{grid-template-columns:repeat(4,1fr)}}
.auth{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.authstory{background:#eee7dc;padding:65px 12%;display:flex;flex-direction:column;justify-content:space-between;gap:65px}.authstory h1{font-size:47px;line-height:1.65;color:var(--wine)}.authstory p{color:#7b6e61}.authform{padding:75px 12%;align-self:center}.authform h2{font-size:26px;margin:45px 0 16px}.authform form{margin:24px 0}.authform .field{margin-bottom:18px}.syncbar{display:flex;justify-content:space-between;gap:15px;padding:20px 0;color:var(--green);font-size:11px}.teamcards{display:grid;grid-template-columns:1fr 1fr;gap:20px}.teamcard{padding:25px}.teamcard .actions{margin-top:22px}.scheduleline{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:17px 0;border-bottom:1px solid var(--line)}.scheduleline:last-child{border-bottom:0}.customerfilters{margin:0 0 20px}.mobilelogout{display:none}button:disabled{opacity:.55;cursor:wait}.authform input,.authform select{font-size:16px}@media(max-width:700px){.auth{display:block}.authstory{padding:28px;gap:20px}.authstory h1{font-size:29px}.authstory .brand small{display:inline}.authstory .tiny{display:none}.authstory p{font-size:13px}.authform{padding:26px}.authform h2{margin-top:25px}.teamcards{grid-template-columns:1fr}.mobilelogout{display:inline}.nav button{font-size:11px;padding:10px 6px}.nav svg{display:none}.scheduleline{flex-wrap:wrap}.syncbar{font-size:10px}.stat strong{font-size:25px}}
.stat strong{display:block;margin-bottom:7px}.stat span{display:block}
:root{--wine:#6e1f2a}.brand{font-size:31px}.brand small{letter-spacing:3px}.nav button{padding:12px 10px}.designcards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin-top:24px}.designcards>.empty{grid-column:1/-1}.photogrid{display:flex;gap:9px;overflow-x:auto;padding:12px}.photobutton{padding:0;border-radius:7px;overflow:hidden;flex:0 0 160px;background:#f1eee9}.photobutton img{display:block;width:100%;height:180px;object-fit:cover}.designcard .photobutton:first-child{flex:1 0 70%}.designcard .photobutton img{height:260px}.photoview img{width:100%;max-height:65vh;object-fit:contain}.whitespace{white-space:pre-wrap;overflow-wrap:anywhere}.uploadzone{display:block;text-align:center;border:2px dashed #d7c7ba;background:#faf5ee;padding:27px 18px;border-radius:9px;cursor:pointer;margin-top:20px}.uploadzone input,.attachbutton input{position:absolute;width:1px;height:1px;opacity:0}.uploadzone:focus-within,.attachbutton:focus-within{outline:3px solid #c49763}.uploadpreviews{display:flex;gap:12px;flex-wrap:wrap;margin:15px 0}.uploadthumb{position:relative;width:100px;height:100px}.uploadthumb img{width:100%;height:100%;object-fit:cover;border-radius:7px}.uploadthumb button{position:absolute;top:-6px;right:-6px;background:var(--wine);color:white;width:26px;height:26px;border-radius:50%}.chatpanel{margin-top:20px;max-width:950px}.chatlist{padding:25px;height:440px;overflow:auto;background:#fbf8f3}.chatbubble{padding:15px 18px;background:#f0ebe2;border-radius:10px;margin:12px 0;max-width:85%;width:fit-content;min-width:130px}.chatbubble.mine{margin-inline-start:auto;background:#eee1e3}.chatbubble strong{font-size:12px;color:var(--wine)}.chatbubble p{margin:8px 0}.chatbubble .photobutton{flex-basis:125px}.chatbubble .photobutton img{height:140px}.chatcomposer{padding:20px 25px;border-top:1px solid var(--line)}.attachbutton{cursor:pointer}.designcard .detail{padding:20px}.designcard h2{font-size:18px}@media(max-width:700px){.designcards{grid-template-columns:1fr}.nav{overflow-x:auto}.nav button{min-width:75px;flex-shrink:0}.chatlist{height:370px;padding:15px}.chatcomposer{padding:15px}.chatbubble{max-width:94%}.designcard .photobutton img{height:210px}}
