:root{--ink:#463B3E;--muted:#74696C;--bg:#FBF8F6;--paper:#fff;--accent:#7F5763;--accent-deep:#694653;--soft:#F4E8E7;--line:#E7DFDD;--success:#32634B;--success-bg:#EAF2EB;--warn:#805B22;--warn-bg:#FFF2D9;--danger:#9A3B3B;--danger-bg:#FCF0EE;--sidebar:242px;--safe-bottom:env(safe-area-inset-bottom,0px);--font:'Almarai','Alexandria','Geeza Pro',sans-serif;--ease:cubic-bezier(.16,1,.3,1)}
*{box-sizing:border-box}html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font:400 14px/1.75 var(--font);overflow-wrap:anywhere}h1,h2,h3,h4,p,figure{margin:0}h1{font-size:clamp(25px,5vw,34px);font-weight:400;line-height:1.4}h2{font-size:23px;font-weight:400;line-height:1.5}h3{font-size:16px;font-weight:700;line-height:1.7}button,input,textarea,select{font:inherit;color:inherit}button{cursor:pointer;border:0;background:none}button:disabled{cursor:not-allowed;opacity:.5}a{color:inherit;text-underline-offset:4px}img{max-width:100%;height:auto;display:block}button,a,input,textarea{touch-action:manipulation}input,textarea{font-size:16px;min-width:0}svg{display:block;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}bdi,[dir=ltr]{font-variant-numeric:tabular-nums}[hidden]{display:none!important}:focus-visible{outline:3px solid var(--accent);outline-offset:3px}.skip-link{position:fixed;top:8px;right:8px;z-index:200;background:var(--accent);color:white;padding:10px;transform:translateY(-150%)}.skip-link:focus{transform:none}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.eyebrow{font-size:11px;color:var(--accent);font-weight:700;line-height:1.5}.muted{color:var(--muted);font-size:13px}.tiny{font-size:11px;color:var(--muted)}.section-space{margin-block-start:28px}.sidebar{display:none}.workspace-header{height:78px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding-inline:20px;border-bottom:1px solid var(--line);background:var(--bg)}.mobile-brand{display:flex;align-items:center;gap:12px}.mobile-brand img{width:96px}.mobile-brand span{font-size:11px;color:var(--muted);border-inline-start:1px solid var(--line);padding-inline-start:12px}.desktop-heading{display:none}.header-tools{display:flex;gap:12px;align-items:center}.connection-pill{font-size:10px;color:var(--success);display:flex;align-items:center;gap:5px;white-space:nowrap}.connection-pill:before{content:'';width:5px;height:5px;border-radius:50%;background:currentColor}.connection-pill.is-offline{color:var(--warn)}.avatar-button{width:36px;height:36px;border-radius:50%;background:var(--soft);font-size:14px;color:var(--accent);font-weight:700}.workspace{padding:26px 20px calc(105px + var(--safe-bottom));max-width:1450px;margin-inline:auto;min-height:calc(100dvh - 78px)}.workspace:focus{outline:none}.page-title{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:25px}.page-title p{margin-top:6px}.page-title .button{flex-shrink:0}.button{display:inline-flex;justify-content:center;align-items:center;gap:8px;min-height:48px;background:var(--accent);color:#fff;padding:10px 18px;border:1px solid transparent;text-decoration:none;font-weight:700;font-size:13px;line-height:1.5;transition:background .16s,transform .16s}.button:hover:not(:disabled){background:var(--accent-deep)}.button:active:not(:disabled){transform:scale(.985)}.button-secondary{background:var(--paper);color:var(--ink);border-color:var(--line)}.button-secondary:hover:not(:disabled){background:var(--soft)}.button-quiet{background:none;color:var(--accent);border-color:var(--line)}.button-quiet:hover:not(:disabled){background:var(--soft)}.button-danger{color:var(--danger);background:var(--danger-bg)}.button-danger:hover:not(:disabled){background:#F6DBD8}.button-block{width:100%;display:flex}.button-small{min-height:44px;font-size:12px;padding-inline:12px}.icon-button{display:inline-grid;place-items:center;min-width:44px;height:44px;color:var(--muted);flex:none;border:1px solid transparent}.icon-button:hover{background:var(--soft);color:var(--ink)}.subtle-button{color:var(--muted);text-decoration:underline;min-height:44px;font-size:12px;padding:8px 0}.mobile-nav{position:fixed;z-index:30;bottom:0;inset-inline:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));background:var(--paper);border-top:1px solid var(--line);padding:7px 4px calc(6px + var(--safe-bottom))}.mobile-nav .nav-item{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;text-decoration:none;min-height:51px;font-size:10px;color:var(--muted);position:relative}.mobile-nav .nav-item[aria-current=page]{color:var(--accent);font-weight:700}.mobile-nav .nav-item[aria-current=page]:before{content:'';position:absolute;top:-8px;height:2px;background:var(--accent);inset-inline:14px}.mobile-nav svg{width:21px;height:21px}.stat-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.stat{border:1px solid var(--line);background:var(--paper);padding:18px 16px;text-align:start;display:grid;gap:13px}.stat-top{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:11px;color:var(--muted)}.stat-top svg{width:18px;height:18px;color:var(--accent)}.stat strong{font-size:32px;line-height:1.2;font-weight:400;direction:ltr;text-align:start}.stat small{font-size:11px;color:var(--muted)}.create-banner{margin:24px 0;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 20px;background:var(--soft);width:100%;text-align:start}.create-banner h2{font-size:19px;margin-bottom:5px}.create-banner .create-icon{width:48px;height:48px;display:grid;place-items:center;border:1px solid #D6B8BE;color:var(--accent);flex:none}.panel{background:var(--paper);border:1px solid var(--line);padding:20px;margin-bottom:18px}.panel-header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}.panel-header a,.panel-header button{color:var(--accent);font-size:12px;min-height:44px;display:inline-flex;align-items:center;text-decoration:none}.request-row,.attention-row{display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid var(--line);padding:14px 0;width:100%;text-align:start}.request-row:first-child,.attention-row:first-child{border-top:0}.request-row p{font-size:12px;margin-top:4px}.badge{display:inline-block;line-height:1.5;font-size:10px;font-weight:700;padding:4px 8px;background:var(--soft);color:var(--accent);white-space:nowrap}.badge-success{background:var(--success-bg);color:var(--success)}.badge-warning{background:var(--warn-bg);color:var(--warn)}.badge-muted{background:#F0ECEB;color:var(--muted)}.badge-danger{background:var(--danger-bg);color:var(--danger)}.badge-outline{background:none;border:1px solid var(--line);color:var(--muted)}.stack{display:grid;gap:8px}.stack-small{display:grid;gap:4px}.search-control{display:flex;align-items:center;gap:10px;border:1px solid var(--line);background:var(--paper);padding-inline:14px;min-height:49px}.search-control svg{color:var(--muted);width:20px}.search-control input{width:100%;border:0;background:none;outline:none;padding:10px 0;font-size:16px}.search-control:focus-within{outline:2px solid var(--accent);outline-offset:2px}.filter-row{display:flex;gap:8px;overflow-x:auto;margin:16px -1px 22px;padding-block:3px;scrollbar-width:none}.filter-button{min-height:44px;white-space:nowrap;padding:8px 15px;border:1px solid var(--line);background:var(--paper);font-size:12px;color:var(--muted)}.filter-button[aria-pressed=true]{background:var(--ink);color:white;border-color:var(--ink)}.product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 12px}.product-admin-card{min-width:0;display:block;text-align:start;width:100%;padding:0}.product-admin-image{background:#F1E7E2;aspect-ratio:4/5;display:flex;align-items:center;justify-content:center;overflow:hidden}.product-admin-image img{width:100%;height:100%;object-fit:contain}.product-admin-image svg{width:36px;height:36px;color:#A18C91}.product-admin-copy{padding:12px 0;display:grid;gap:6px}.product-admin-copy h3{font-size:12px;font-weight:400;line-height:1.8;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:43px}.product-admin-copy strong{font-size:13px}.product-meta{display:flex;gap:6px;flex-wrap:wrap;align-items:center}.product-meta .tiny{font-size:10px}.card-bottom{display:flex;justify-content:space-between;align-items:center;gap:5px}.card-bottom svg{width:17px;height:17px;color:var(--muted)}.empty-state{padding:44px 18px;text-align:center;display:grid;gap:12px;justify-items:center;grid-column:1/-1}.empty-state>svg{width:35px;height:35px;color:var(--accent);margin-bottom:8px}.empty-state p{max-width:370px;color:var(--muted);font-size:13px}.load-more{margin-top:24px;text-align:center}.editor{position:fixed;inset:0;margin:0;border:0;padding:0;width:100%;max-width:none;height:100dvh;max-height:100dvh;color:var(--ink);background:var(--bg);overflow:hidden;transition:transform .28s var(--ease);transform:translateY(25px);opacity:0}.editor[open]{display:flex;flex-direction:column;transform:none;opacity:1}.editor::backdrop,.small-dialog::backdrop{background:rgb(46 36 40/.4);backdrop-filter:blur(2px)}.editor-head{padding:12px 12px 12px 8px;display:flex;align-items:center;gap:8px;background:var(--paper);border-bottom:1px solid var(--line);flex:none;min-height:78px}.editor-head>div{flex:1;min-width:0}.editor-head h2{font-size:18px;margin-top:3px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.editor-body{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:20px;scroll-behavior:smooth}.editor-footer{flex:none;background:var(--paper);border-top:1px solid var(--line);padding:12px 20px calc(12px + var(--safe-bottom));display:flex;gap:10px;align-items:center;flex-wrap:wrap}.editor-footer:empty{display:none}.editor-footer .button{flex:1}.save-status{width:100%;font-size:11px;color:var(--muted);display:flex;align-items:center;justify-content:space-between;min-height:18px}.save-status.is-error{color:var(--danger)}.field{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:700;margin:18px 0}.field>input,.field>textarea{border:1px solid var(--line);padding:12px 13px;min-height:49px;background:var(--paper);color:var(--ink);border-radius:0;width:100%;line-height:1.6;font-weight:400}.field>input:focus,.field>textarea:focus{outline:2px solid var(--accent);outline-offset:1px}.field [aria-invalid=true]{border-color:var(--danger)}.field .hint{font-weight:400;color:var(--muted);font-size:11px}.two-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.two-fields>.field{margin:12px 0}.smart-select{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:52px;width:100%;text-align:start;border:1px solid var(--line);background:var(--paper);padding:12px 14px;font-size:14px;font-weight:400}.smart-select svg{width:18px;color:var(--muted)}.smart-select .placeholder{color:var(--muted)}.dropzone{border:1px dashed #C7AAB0;background:var(--soft);padding:28px 16px;display:grid;place-items:center;gap:9px;text-align:center;width:100%;min-height:156px}.dropzone svg{width:30px;height:30px;color:var(--accent)}.dropzone strong{font-size:14px;font-weight:700}.dropzone span{font-size:11px;color:var(--muted)}.dropzone.is-over{background:#EBD5D8;border:2px solid var(--accent)}.upload-hint{font-size:11px;color:var(--muted);margin-top:9px}.photo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px}.photo-tile{border:1px solid var(--line);background:var(--paper);min-width:0}.photo-image{aspect-ratio:4/5;display:flex;align-items:center;justify-content:center;background:#F4EFEC}.photo-image img{width:100%;height:100%;object-fit:contain}.photo-actions{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line)}.photo-actions button{min-width:44px;min-height:44px;display:grid;place-items:center;font-size:11px;color:var(--muted)}.photo-actions button.is-cover{color:var(--accent);font-weight:700;background:var(--soft);flex:1}.photo-actions svg{width:17px;height:17px}.upload-state{padding:12px;font-size:11px;color:var(--muted)}.upload-state progress{width:100%;height:5px;accent-color:var(--accent)}.upload-state .button{margin-top:6px}.editor-section{border:1px solid var(--line);background:var(--paper);margin:20px 0}.editor-section>summary{cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between;padding:16px;font-size:13px;font-weight:700;min-height:52px}.editor-section>summary::after{content:'+';font-size:20px;color:var(--muted);font-weight:400}.editor-section[open]>summary::after{content:'−'}.editor-section>summary::-webkit-details-marker{display:none}.section-content{padding:0 16px 16px}.option-label{display:flex;align-items:center;justify-content:space-between;margin:14px 0 10px;gap:12px;font-size:12px}.chip-grid{display:flex;flex-wrap:wrap;gap:8px}.option-chip{min-height:44px;min-width:46px;border:1px solid var(--line);padding:9px 12px;font-size:12px;display:inline-flex;align-items:center;justify-content:center;gap:8px}.option-chip[aria-pressed=true]{border-color:var(--accent);background:var(--soft);color:var(--accent);font-weight:700}.color-dot{width:17px;height:17px;border-radius:50%;box-shadow:inset 0 0 0 1px #0002;flex:none}.add-option{color:var(--accent);border:1px dashed #C7AAB0}.add-option svg{width:16px;height:16px}.inventory-row{padding:14px 0;border-bottom:1px solid var(--line);display:grid;grid-template-columns:minmax(0,1fr) 104px;gap:8px 12px;align-items:center}.inventory-row:last-child{border-bottom:0}.inventory-row strong{font-size:12px}.inventory-row small{font-size:11px;color:var(--muted)}.inventory-row input[type=number]{width:104px;border:1px solid var(--line);background:var(--bg);height:44px;text-align:center;padding:8px;direction:ltr}.inventory-flags{grid-column:1/-1;display:flex;gap:20px;flex-wrap:wrap}.check-line{display:flex;align-items:center;gap:9px;min-height:44px;font-size:12px;font-weight:400;cursor:pointer}.check-line input{width:19px;height:19px;flex:none;accent-color:var(--accent);margin:0}.bulk-stock{display:flex;align-items:flex-end;gap:8px;margin-top:12px}.bulk-stock .field{flex:1;margin:0}.bulk-stock .button{min-height:49px;flex:none}.inline-notice{padding:13px 14px;background:var(--soft);font-size:12px;line-height:1.8;color:var(--ink);margin:14px 0}.inline-notice.warning{background:var(--warn-bg);color:var(--warn)}.inline-notice.error{background:var(--danger-bg);color:var(--danger)}.form-error{font-size:12px;color:var(--danger);line-height:1.8;margin:12px 0;white-space:pre-line}.form-error:empty{display:none}.editor-errors:empty{display:none}.editor-errors{margin-bottom:16px}.editor-errors .button{margin-top:10px}.picker-top{position:sticky;top:-20px;padding:0 0 14px;background:var(--bg);z-index:2}.picker-create{display:flex;align-items:center;gap:12px;padding:16px;width:100%;text-align:start;background:var(--soft);color:var(--accent);border:1px solid #DDC7CB;font-size:13px;min-height:62px;margin-bottom:12px}.picker-create svg{width:23px;height:23px}.picker-row{display:flex;width:100%;text-align:start;align-items:center;gap:14px;min-height:64px;border-bottom:1px solid var(--line);padding:12px 4px}.picker-row .picker-label{flex:1}.picker-row[aria-selected=true]{color:var(--accent);font-weight:700}.picker-row .picker-note{font-size:11px;color:var(--muted)}.picker-create-panel{padding:6px 0}.color-editor{display:flex;gap:12px;align-items:center}.color-editor input[type=color]{border:1px solid var(--line);width:58px;height:50px;padding:3px;background:white}.color-editor input[type=text]{flex:1;direction:ltr}.small-dialog{width:min(440px,calc(100vw - 32px));border:0;padding:25px;background:var(--paper);color:var(--ink);max-height:90dvh;overflow:auto}.small-dialog h2{margin:9px 0 12px}.small-dialog p{font-size:13px;line-height:1.9}.dialog-actions{display:flex;gap:10px;margin-top:24px}.dialog-actions .button{flex:1}.snackbar{position:fixed;bottom:calc(92px + var(--safe-bottom));inset-inline:16px;z-index:50;margin-inline:auto;width:fit-content;max-width:560px;background:var(--ink);color:white;padding:12px 18px;font-size:12px;opacity:0;transform:translateY(10px);pointer-events:none;transition:.2s}.snackbar.visible{opacity:1;transform:none}.inline-toast{padding:8px 12px;background:var(--ink);color:white;font-size:12px;margin-bottom:12px}.update-bar{position:fixed;z-index:80;top:12px;inset-inline:12px;max-width:430px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:20px;background:var(--ink);color:white;padding:12px 18px;font-size:12px}.offline-banner{padding:12px 20px;font-size:12px;background:var(--warn-bg);color:var(--warn)}.category-item{border:1px solid var(--line);background:var(--paper);padding:18px;margin-bottom:12px;display:flex;align-items:center;justify-content:space-between;gap:14px}.category-symbol{width:44px;height:44px;background:var(--soft);color:var(--accent);display:grid;place-items:center;flex:none}.category-copy{flex:1;min-width:0}.category-copy h3{font-size:14px}.category-copy p{font-size:11px;color:var(--muted);margin-top:4px}.category-edit{min-height:44px;color:var(--accent);padding:8px}.request-card{padding:18px;background:var(--paper);border:1px solid var(--line);margin-bottom:12px;width:100%;text-align:start}.request-card-top,.request-card-bottom{display:flex;justify-content:space-between;align-items:center;gap:14px}.request-card-top{margin-bottom:12px}.request-card-bottom{color:var(--muted);font-size:12px}.order-line{display:grid;grid-template-columns:58px minmax(0,1fr);gap:12px;padding:16px 0;border-bottom:1px solid var(--line)}.order-line img{width:58px;max-height:90px;object-fit:contain;align-self:start}.order-line h3{font-size:12px}.order-line p{font-size:11px;color:var(--muted)}.order-total{display:flex;justify-content:space-between;padding:18px 0;border-bottom:1px solid var(--line)}.order-status-options{display:grid;grid-template-columns:1fr 1fr;gap:10px}.order-status-options button{text-align:start;display:grid;gap:5px;padding:12px;border:1px solid var(--line);background:var(--paper);min-height:68px}.order-status-options button[aria-pressed=true]{border-color:var(--accent);background:var(--soft)}.order-status-options small{font-size:10px;color:var(--muted)}.settings-group{margin-bottom:18px;background:var(--paper);border:1px solid var(--line);padding:20px}.settings-group h2{font-size:18px;margin-bottom:6px}.settings-group>.field:last-child{margin-bottom:0}.settings-actions{position:sticky;bottom:calc(74px + var(--safe-bottom));padding:14px;background:var(--paper);border:1px solid var(--line);display:flex;align-items:center;gap:15px;z-index:10}.settings-actions .button{margin-inline-start:auto}.settings-logo{display:flex;align-items:center;gap:20px;padding:18px 0}.settings-logo img{width:140px;height:65px;object-fit:contain}.section-order-row{display:flex;align-items:center;justify-content:space-between;gap:8px;border-bottom:1px solid var(--line);padding-block:8px;min-height:58px}.section-order-row .check-line{flex:1}.section-order-row button{min-width:44px;height:44px}.theme-options{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}.theme-choice{display:flex;flex-direction:column;gap:8px;align-items:center;border:1px solid var(--line);padding:12px 15px;flex:1;min-height:80px;font-size:11px}.theme-choice[aria-pressed=true]{border:2px solid var(--accent);padding:11px 14px}.theme-palette{width:45px;height:20px;display:flex}.theme-palette span{width:33.33%}.preview-product{max-width:430px;margin:auto;background:var(--paper);padding-bottom:20px}.preview-product .preview-images{display:flex;overflow-x:auto;scroll-snap-type:x mandatory}.preview-product .preview-images img{width:100%;flex:none;scroll-snap-align:start;object-fit:contain}.preview-copy{padding:20px;display:grid;gap:12px}.preview-copy h3{font-size:19px;font-weight:400}.preview-copy .description{white-space:pre-wrap}.account-card{text-align:center;padding:20px 0}.account-card .avatar{width:70px;height:70px;display:grid;place-items:center;background:var(--soft);color:var(--accent);font-size:28px;border-radius:50%;margin:0 auto 15px}.login-page{min-height:100dvh;display:grid;place-items:center;padding:28px 20px;background:linear-gradient(150deg,#F3E7E4 0%,#FBF8F6 45%)}.login-card{width:100%;max-width:400px}.login-logo{width:180px;margin:0 auto 46px}.login-card>h1{font-size:29px;margin:10px 0}.login-card>p.muted{margin-bottom:25px}.login-note{font-size:11px;color:var(--muted);margin:22px 0 8px;line-height:1.9}.login-card form .button{margin-top:22px}.loading-block{min-height:45vh;display:grid;place-items:center;color:var(--muted);font-size:13px}.skeleton{min-height:160px;background:linear-gradient(90deg,#F3EEEC,#FAF7F5,#F3EEEC);background-size:200%;animation:shimmer 1.8s infinite}@keyframes shimmer{to{background-position:-200% 0}}.request-summary-note{font-size:11px;color:var(--muted);margin-bottom:15px}.footer-inline-actions{display:flex;justify-content:space-between;gap:12px;margin-top:20px}.footer-inline-actions button{min-height:44px;font-size:11px;color:var(--muted)}
@media(min-width:600px){.workspace{padding-inline:32px}.product-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:25px 20px}.photo-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.stat-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.stat{padding:20px}.editor-body{padding:26px}.picker-top{top:-26px}.editor-footer{padding-inline:26px}.product-admin-copy h3{font-size:14px;min-height:49px}.dashboard-columns{display:grid;grid-template-columns:1.2fr 1fr;gap:20px}.dashboard-columns .panel{margin-bottom:0}.settings-columns{display:grid;grid-template-columns:1fr 1fr;gap:20px}}
@media(min-width:1024px){.sidebar{display:flex;flex-direction:column;position:fixed;inset-block:0;inset-inline-start:0;width:var(--sidebar);background:var(--paper);border-inline-end:1px solid var(--line);padding:36px 24px;z-index:20}.studio-brand{display:grid;gap:14px;text-align:center;justify-items:center;text-decoration:none;margin-bottom:48px}.studio-brand img{width:145px}.studio-brand span{font-size:11px;color:var(--muted)}.nav-label{font-size:10px;color:var(--muted);margin-bottom:14px;padding-inline:14px}.sidebar nav{display:grid;gap:8px}.sidebar nav .nav-item{display:flex;align-items:center;gap:13px;min-height:48px;padding:12px 16px;text-decoration:none;font-size:13px;color:var(--muted)}.sidebar nav .nav-item[aria-current=page]{background:var(--soft);color:var(--accent);font-weight:700}.sidebar-bottom{margin-top:auto;display:grid;gap:12px;padding-top:35px}.store-link{font-size:12px;color:var(--accent);padding:10px 0;text-decoration:none}.workspace-shell{margin-inline-start:var(--sidebar)}.workspace-header{padding-inline:40px;height:84px}.mobile-brand{display:none}.desktop-heading{display:block;font-size:12px;color:var(--muted)}.workspace{padding:38px 40px 70px}.mobile-nav{display:none}.editor{width:min(690px,60vw);inset:0 auto 0 0;height:100dvh;transform:translateX(-30px)}.editor[open]{transform:none}.editor-head{padding:14px 22px}.editor-body{padding:26px 32px}.editor-footer{padding:15px 32px 22px}.photo-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.snackbar{bottom:30px;inset-inline-start:calc(var(--sidebar) + 20px)}.settings-actions{bottom:20px;max-width:900px}.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.settings-form{max-width:900px}.stat strong{font-size:34px}}
@media(min-width:1400px){.product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.workspace{padding-inline:50px}}@media(max-width:359px){.workspace{padding-inline:14px}.workspace-header{padding-inline:14px}.mobile-brand span{display:none}.editor-body{padding:16px}.editor-footer{padding-inline:16px}.page-title .button{padding-inline:12px}.page-title h1{font-size:23px}.header-tools{gap:8px}.connection-pill{font-size:9px}.photo-actions button{min-width:43px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.page-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin:8px 0 26px}.page-heading h1{font-size:clamp(24px,3.5vw,36px);line-height:1.5;margin:4px 0 6px}.page-heading>.button{flex-shrink:0}.panel{background:#fff;border:1px solid var(--line,#eadfdf);border-radius:22px;padding:24px;margin:22px 0}.panel h2{font-size:20px;margin:0 0 16px}.panel-heading{display:flex;gap:15px;align-items:flex-start;justify-content:space-between;margin-bottom:15px}.panel-heading h2{margin-bottom:6px}.panel-heading .muted{margin:0}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.stat-card{border:1px solid var(--line,#eadfdf);background:#fff;border-radius:20px;text-align:start;padding:20px;position:relative;cursor:pointer;display:flex;flex-direction:column;gap:10px;min-width:0}.stat-card>span{font-size:13px;color:#74666b}.stat-card>strong{font-size:34px;font-weight:600}.stat-card>svg{position:absolute;inset-inline-end:18px;bottom:22px;width:22px;color:#986b78}.list-row{width:100%;display:flex;align-items:center;gap:14px;background:none;border:0;border-bottom:1px solid #f0e8e8;padding:16px 0;text-align:start;cursor:pointer}.list-row:last-child{border-bottom:0}.list-row>span:first-of-type:not(.category-icon){flex:1;min-width:0}.list-row strong{font-weight:600;display:block;overflow-wrap:anywhere}.list-row small{display:block;font-size:12px;color:#786b70;margin-top:5px}.list-row>svg{width:18px;flex-shrink:0}.row-end{display:flex;align-items:flex-end;flex-direction:column;gap:8px;font-size:13px;flex-shrink:0}.category-icon{background:#f7f0f2;border-radius:12px;padding:12px;display:flex}.category-icon svg{width:22px}.category-icon+span{flex:1;min-width:0}.toolbar{display:flex;gap:12px;margin:22px 0 14px}.search-field{position:relative;display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #e6dcdc;border-radius:14px;padding:0 14px;width:100%;max-width:560px}.search-field svg{width:20px;color:#8b747d;flex-shrink:0}.search-field input{border:0;background:none;min-width:0;width:100%;padding:15px 0;font:inherit;outline-offset:3px}.filter-chips{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;padding:3px 0 8px;margin-bottom:14px}.filter-chip{white-space:nowrap;border:1px solid #e5d9dd;background:#fff;border-radius:100px;padding:10px 19px;min-height:44px;font:inherit;font-size:13px;cursor:pointer}.filter-chip.is-active{background:#7f5763;border-color:#7f5763;color:#fff}.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.admin-product{display:block;width:100%;text-align:start;border:1px solid #eadfe2;background:white;border-radius:19px;overflow:hidden;padding:0;cursor:pointer}.admin-product-image{position:relative;display:flex;height:230px;padding:10px;background:#f9f5f4;align-items:center;justify-content:center}.admin-product-image>img{width:100%;height:100%;object-fit:contain}.admin-product-image>svg{width:42px;color:#bea6ae}.admin-product-image>.badge{position:absolute;top:12px;inset-inline-start:12px;background:#fff9;backdrop-filter:blur(6px)}.admin-product-copy{display:flex;flex-direction:column;gap:12px;padding:15px}.admin-product-copy>strong{font-size:14px;font-weight:600;line-height:1.7}.product-meta{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px;font-size:12px;color:#716169}.draft-indicator{font-size:11px;color:#8a641b;display:block}.results-count{font-size:13px;color:#827178}.pagination{display:flex;justify-content:center;align-items:center;gap:18px;margin:30px 0;font-size:13px}.empty-state{text-align:center;padding:38px 16px;color:#796a70}.empty-state>svg{width:35px;height:35px;color:#b18a98;margin-bottom:12px}.empty-state>h2{color:#493e43;font-size:19px;margin:8px}.empty-state>p{font-size:14px;line-height:1.9}.empty-state>.button{margin:15px auto 0}.error-panel{border:1px solid #e8ccd1;background:#fff8fa;border-radius:18px;padding:25px}.order-summary-top{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:18px}.customer-box{border:1px solid #eee3e7;border-radius:15px;padding:16px;margin:18px 0}.customer-box h3{font-size:14px;margin:0 0 12px}.customer-box p{font-size:14px;margin:7px 0}.customer-box small{color:#8b7a82;font-size:11px}.order-item{display:flex;gap:12px;align-items:center;border-bottom:1px solid #eee6e9;padding:16px 0}.order-item img{width:64px;height:80px;object-fit:contain;border-radius:8px;background:#f7f2f3}.order-item>div{min-width:0;flex:1}.order-item strong{font-size:14px;overflow-wrap:anywhere}.order-item p,.order-item small{font-size:12px;color:#796b72;margin:7px 0}.order-item>bdi{font-size:13px;font-weight:600;flex-shrink:0}.order-total{display:flex;justify-content:space-between;gap:10px;font-size:18px;margin:24px 0 12px}.share-actions{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin-top:18px}.logo-setting{display:flex;gap:20px;align-items:center;margin-bottom:22px}.logo-setting>img{object-fit:contain;background:#faf5f6;border:1px solid #eee1e5;border-radius:14px;max-width:35%}.logo-setting>div{min-width:0}.logo-setting .button{font-size:13px;cursor:pointer}.theme-fieldset{padding:0;border:0}.theme-fieldset legend{font-size:14px;margin-bottom:12px}.theme-options{display:flex;gap:12px;flex-wrap:wrap}.theme-option{display:flex;gap:9px;align-items:center;border:1px solid #e9dde2;border-radius:13px;padding:13px;min-height:48px;cursor:pointer;font-size:13px}.theme-option>span{width:18px;height:18px;border-radius:50%}.section-order-row{display:flex;align-items:center;gap:10px;border-bottom:1px solid #eee4e8;padding:11px 0}.section-order-row>span:first-child{flex:1;font-size:14px}.section-order-row .check-line{font-size:12px;margin:0}.section-order-row .icon-button{font-size:20px;width:40px;min-width:40px}.settings-save-bar{position:sticky;bottom:12px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:16px 20px;background:#fffefa;border:1px solid #e6d7dc;border-radius:18px;box-shadow:0 8px 30px #58384114;z-index:20}.settings-save-bar>span{font-size:12px;color:#79666f}.settings-utilities{display:flex;flex-wrap:wrap;gap:12px;margin:28px 0}.panel-divider{height:1px;background:#eee4e8;margin:24px 0}.danger-text{color:#a33549!important}.text-button{background:none;border:0;padding:9px 0;min-height:44px;font:inherit;font-size:13px;font-weight:600;color:#80505f;cursor:pointer}.loading-block{padding:40px;text-align:center;color:#847079}.settings-save-bar .button{white-space:nowrap}.offline-banner{background:#fff1d9;color:#74531d;padding:12px 24px;font-size:13px;line-height:1.8}.connection-pill.is-offline{background:#fff0d2;color:#83601c}.settings-utilities .button{font-size:13px}.field textarea{white-space:pre-wrap}.product-grid,.stats-grid{min-width:0}button:disabled{cursor:not-allowed;opacity:.55}
@media(max-width:1200px){.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767px){.page-heading{flex-wrap:wrap;gap:14px;margin-top:2px}.page-heading>div{flex:1;min-width:180px}.page-heading>.button{font-size:13px;min-height:46px}.page-heading .muted{font-size:13px}.panel{padding:18px;border-radius:18px;margin:18px 0}.stats-grid{gap:10px}.stat-card{padding:16px}.stat-card>span{font-size:12px}.stat-card>strong{font-size:28px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.admin-product-image{height:204px;padding:8px}.admin-product-copy{padding:12px;gap:9px}.admin-product-copy>strong{font-size:12px}.product-meta{font-size:11px}.admin-product-image>.badge{font-size:9px;padding:5px 7px;top:8px;inset-inline-start:8px}.settings-save-bar{bottom:calc(79px + env(safe-area-inset-bottom));padding:12px;border-radius:14px}.settings-save-bar>span{font-size:11px}.order-item{gap:9px}.order-item>bdi{font-size:11px}.order-item img{width:54px;height:72px}.list-row{gap:9px}.list-row strong{font-size:13px}.list-row small{font-size:11px}.panel-heading h2{font-size:18px}.theme-options{gap:8px}.theme-option{padding:10px;font-size:12px}.section-order-row{gap:6px}.section-order-row>span:first-child{font-size:12px}.section-order-row .icon-button{width:36px;min-width:36px;min-height:44px}.editor-footer{flex-wrap:wrap}.editor-footer>.button{flex:1;font-size:12px;white-space:normal;min-width:110px}.offline-banner{padding:10px 18px}.pagination{gap:10px;font-size:12px}}
@media(max-width:360px){.admin-product-image{height:174px}.stat-card>span{max-width:130px;font-size:11px}.row-end .badge{font-size:10px}.logo-setting{gap:12px}.order-item>bdi{max-width:62px;white-space:normal}.theme-option{width:100%}}

/* Phone-first touch controls; buttons retain real semantics rather than styled links. */
.button,.smart-select,.field>input,.field>textarea{border-radius:12px}
.icon-button,.filter-button,.inventory-row input[type=number]{border-radius:10px}
.mobile-nav .nav-item{width:100%;min-width:0;padding:4px 1px;font-size:11px;line-height:1.4;border-radius:10px}
.mobile-nav .nav-item span{white-space:nowrap}
.sidebar nav .nav-item{width:100%;text-align:start;border-radius:12px}
@media(max-width:360px){.mobile-nav .nav-item{font-size:10px}.mobile-nav{padding-inline:2px}}
