:root{color-scheme:light;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#182033;background:#f4f6f8;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:#f4f6f8}button,input,select,textarea{font:inherit}button{border:0;cursor:pointer}img{display:block;max-width:100%}.center-screen,.login-screen{display:grid;place-items:center;min-height:100vh;padding:1rem}.login-screen{background:linear-gradient(135deg,rgba(46,125,246,.12),transparent 34rem),linear-gradient(225deg,rgba(36,168,126,.12),transparent 30rem),#f4f6f8}.login-panel{width:min(440px,100%);padding:1.25rem;background:#fff;border:1px solid #d8dee8;border-radius:8px;box-shadow:0 28px 70px #1820331f}.login-brand,.brand-block,.topbar,.panel-heading,.metric-card span,.search-control,.secondary-action,.primary-action,.danger-action,.icon-action,.editor-actions,.label-title,.info-tip,.toggle-row,.toggle-row label,.toast,.logout-button,.sidebar nav button,.image-uploader label,.media-preview,.manual-image-row,.gallery-tile,.gallery-actions,.category-creator,.rich-toolbar,.order-filters,.order-row summary{display:flex;align-items:center}.login-brand{gap:.85rem;margin-bottom:1.2rem}.login-brand>span,.brand-block>span{display:grid;flex:0 0 auto;place-items:center;width:46px;height:46px;color:#fff;background:#182033;border-radius:8px}.login-brand strong,.brand-block strong{display:block;font-size:1.05rem}.login-brand small,.brand-block small,.panel-heading span,.metric-card small,.mini-row small,.product-row small,.order-row small{color:#667085;font-size:.84rem;font-weight:750}.login-panel form,.product-form{display:grid;gap:.85rem}label{display:grid;gap:.35rem;min-width:0}label span{color:#344054;font-size:.83rem;font-weight:850}input,select,textarea{width:100%;min-width:0;min-height:42px;padding:0 .75rem;color:#182033;background:#fff;border:1px solid #d8dee8;border-radius:8px;outline:none}textarea{min-height:112px;padding:.75rem;resize:vertical}input:focus,select:focus,textarea:focus{border-color:#2e7df6;box-shadow:0 0 0 3px #2e7df61f}.primary-action,.secondary-action,.danger-action,.icon-action,.logout-button{justify-content:center;gap:.45rem;min-height:42px;border-radius:8px;font-weight:900}.primary-action{color:#fff;background:#2e7df6}.primary-action:disabled{cursor:not-allowed;opacity:.65}.secondary-action,.icon-action{color:#182033;background:#fff;border:1px solid #d8dee8}.danger-action{color:#b42318;background:#fff4f2;border:1px solid #f5c6c0;padding:0 .8rem}.danger-action:disabled,.secondary-action:disabled{cursor:not-allowed;opacity:.58}.icon-action{width:42px}.editor-actions{justify-content:flex-end;gap:.55rem}.label-title{position:relative;width:fit-content;gap:.35rem;color:#344054;font-size:.83rem;font-weight:850}.info-tip{position:relative;justify-content:center;width:18px;height:18px;color:#2e7df6;background:#edf4ff;border-radius:999px;outline:none}.info-tip>span{pointer-events:none;position:absolute;left:50%;bottom:calc(100% + .45rem);z-index:10;width:min(260px,78vw);padding:.6rem .7rem;color:#fff;background:#182033;border-radius:8px;box-shadow:0 12px 28px #18203338;opacity:0;transform:translate(-50%,6px);transition:opacity .14s ease,transform .14s ease;font-size:.78rem;line-height:1.45;font-weight:750}.info-tip:hover>span,.info-tip:focus>span{opacity:1;transform:translate(-50%)}.form-error{margin:0;color:#c53636;font-size:.9rem;font-weight:800}.admin-shell{display:grid;grid-template-columns:286px minmax(0,1fr);min-height:100vh}.sidebar{position:sticky;top:0;isolation:isolate;display:grid;grid-template-rows:auto 1fr auto;gap:1.15rem;height:100vh;padding:1rem;color:#fff;background:linear-gradient(180deg,rgba(255,255,255,.09),transparent 15rem),linear-gradient(145deg,#101828,#172033 52%,#111827);border-right:1px solid rgba(255,255,255,.1);box-shadow:18px 0 54px #1018282e}.sidebar:before{content:"";position:absolute;inset:0 0 auto;z-index:-1;height:4px;background:linear-gradient(90deg,#9fe8c3,#67e8f9,#2e7df6)}.brand-block{position:relative;gap:.85rem;min-width:0;overflow:hidden;padding:.85rem;background:linear-gradient(135deg,#ffffff21,#ffffff0a);border:1px solid rgba(255,255,255,.12);border-radius:8px;box-shadow:inset 0 1px #ffffff1f,0 16px 36px #00000029}.brand-block:after{content:"";position:absolute;right:.85rem;bottom:0;left:.85rem;height:1px;background:linear-gradient(90deg,transparent,rgba(159,232,195,.8),transparent)}.brand-block>span{width:54px;height:54px;color:#182033;background:linear-gradient(135deg,#9fe8c3,#67e8f9);box-shadow:0 14px 28px #67e8f92e,inset 0 1px #ffffff75}.brand-block strong{color:#fff;font-size:1.08rem;line-height:1.15}.brand-block small{display:block;max-width:170px;overflow:hidden;color:#b9c4d7;text-overflow:ellipsis;white-space:nowrap}.sidebar nav{display:grid;align-content:start;gap:.45rem;padding:.35rem;background:#ffffff09;border:1px solid rgba(255,255,255,.06);border-radius:8px}.sidebar nav button,.logout-button{position:relative;justify-content:flex-start;gap:.7rem;width:100%;min-height:48px;padding:0 .75rem;overflow:hidden;color:#cbd5e1;background:transparent;border:1px solid transparent;border-radius:8px;transition:color .16s ease,background .16s ease,border-color .16s ease,box-shadow .16s ease,transform .16s ease}.sidebar nav button{font-weight:850}.sidebar nav button:before{content:"";position:absolute;inset:10px auto 10px 0;width:3px;background:#9fe8c3;border-radius:0 999px 999px 0;opacity:0;transition:opacity .16s ease}.sidebar nav button svg,.logout-button svg{flex:0 0 auto;color:#9fb0c8;transition:color .16s ease,transform .16s ease}.nav-dot{display:block;width:9px;height:9px;margin-left:auto;background:#ff6b6b;border-radius:999px;box-shadow:0 0 0 4px #ff6b6b2e}.sidebar nav button:hover,.logout-button:hover{color:#fff;background:#ffffff14;border-color:#ffffff1a;transform:translate(2px)}.sidebar nav button:hover svg,.logout-button:hover svg{color:#fff;transform:scale(1.05)}.sidebar nav button.active{color:#fff;background:linear-gradient(135deg,#2e7df647,#24a87e2e);border-color:#9fe8c33d;box-shadow:0 12px 28px #0f172a2e,inset 0 1px #ffffff1a}.sidebar nav button.active:before{opacity:1}.sidebar nav button.active svg{color:#9fe8c3}.sidebar nav button:focus-visible,.logout-button:focus-visible{outline:3px solid rgba(103,232,249,.34);outline-offset:2px}.logout-button{color:#e2e8f0;background:#ffffff0d;border-color:#ffffff14;box-shadow:inset 0 1px #ffffff14}.logout-button:hover{background:linear-gradient(135deg,#ff6b6b2e,#ffffff12)}.admin-main{min-width:0;padding:1.2rem}.topbar{justify-content:space-between;gap:1rem;margin-bottom:1rem}.topbar span{color:#667085;text-transform:uppercase;font-size:.75rem;font-weight:950}.topbar h1{margin:.1rem 0 0;font-size:1.8rem;line-height:1.1;letter-spacing:0}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(340px,.85fr);gap:1rem}.metric-row{display:grid;grid-column:1 / -1;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}.metric-card,.panel{background:#fff;border:1px solid #d8dee8;border-radius:8px;box-shadow:0 14px 36px #1820330f}.metric-card{display:grid;gap:.55rem;min-height:138px;padding:1rem}.metric-card span{justify-content:center;width:38px;height:38px;color:#1c6b51;background:#e8f7ef;border-radius:8px}.metric-card strong{font-size:1.75rem;line-height:1.05}.panel{min-width:0;padding:1rem}.wide-panel{min-height:380px}.panel-heading{justify-content:space-between;gap:1rem;margin-bottom:1rem}.panel-heading h2{margin:.12rem 0 0;font-size:1.15rem;letter-spacing:0}.bar-chart{display:grid;grid-template-columns:repeat(14,minmax(18px,1fr));align-items:end;gap:.5rem;min-height:280px;padding-top:1rem}.bar-column{display:grid;grid-template-rows:1fr auto;gap:.5rem;height:280px}.bar-column span{align-self:end;width:100%;min-height:8px;background:linear-gradient(180deg,#2e7df6,#24a87e);border-radius:6px 6px 0 0}.bar-column small{color:#667085;font-size:.72rem;text-align:center}.mini-list,.product-table,.order-table{display:grid;gap:.65rem}.mini-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.8rem;padding:.75rem;background:#f8fafc;border:1px solid #e5e9f0;border-radius:8px}.mini-row strong,.product-row strong,.order-row strong{overflow-wrap:anywhere}.split-layout{display:grid;grid-template-columns:minmax(340px,.74fr) minmax(0,1fr);gap:1rem;align-items:start}.editor-panel{position:sticky;top:1rem}.product-form{grid-template-columns:repeat(2,minmax(0,1fr))}.product-form .wide,.media-studio,.toggle-row{grid-column:1 / -1}.media-studio{display:grid;gap:.9rem;padding:.85rem;background:linear-gradient(135deg,#2e7df614,#24a87e14),#f8fafc;border:1px solid #d8dee8;border-radius:8px}.media-preview{gap:.9rem;padding:.85rem;background:#fff;border:1px solid #e5e9f0;border-radius:8px}.media-preview img{flex:0 0 auto;width:112px;height:112px;object-fit:contain;background:linear-gradient(135deg,#fff7df,#eaf7ff);border-radius:8px}.media-preview div{display:grid;gap:.2rem;min-width:0}.media-preview strong{font-size:1rem}.media-preview span{color:#667085;overflow-wrap:anywhere;font-size:.88rem;font-weight:750}.image-uploader{display:grid;justify-items:center;gap:.5rem;min-height:168px;padding:1rem;color:#344054;text-align:center;background:#ffffffc2;border:1px dashed #9db7da;border-radius:8px}.image-uploader.dragging{background:#edf4ff;border-color:#2e7df6;box-shadow:0 0 0 3px #2e7df61f}.image-uploader>strong{color:#182033;font-size:1rem}.image-uploader>span{max-width:46ch;color:#667085;font-size:.86rem;line-height:1.45;font-weight:750}.image-uploader label{position:relative;display:inline-flex;justify-content:center;gap:.5rem;min-height:44px;color:#182033;background:#fff;border:1px solid #d8dee8;border-radius:8px;font-weight:900;cursor:pointer}.image-uploader input{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;cursor:pointer}.manual-image-row{align-items:end;gap:.75rem}.manual-image-row label{flex:1}.manual-image-row button{flex:0 0 auto;padding:0 .85rem}.image-gallery-editor{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem}.gallery-tile{gap:.65rem;min-width:0;padding:.65rem;background:#fff;border:1px solid #e5e9f0;border-radius:8px}.gallery-tile.default{border-color:#2e7df6;box-shadow:0 0 0 3px #2e7df61a}.gallery-tile img{flex:0 0 auto;width:72px;height:72px;object-fit:contain;background:#f8fafc;border-radius:8px}.gallery-tile div{display:grid;gap:.16rem;min-width:0}.gallery-tile strong{font-size:.9rem}.gallery-tile span{color:#667085;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.78rem;font-weight:750}.gallery-actions{justify-content:flex-end;gap:.35rem;margin-left:auto}.gallery-actions .secondary-action{min-width:104px;min-height:36px;padding:0 .55rem;font-size:.78rem}.danger-icon{color:#b42318;background:#fff4f2;border-color:#f5c6c0}.category-creator{align-items:end;gap:.75rem;padding:.75rem;background:#f8fafc;border:1px solid #e5e9f0;border-radius:8px}.category-creator label{flex:1}.category-creator button{flex:0 0 auto;padding:0 .85rem}.rich-text-box{overflow:hidden;background:#fff;border:1px solid #d8dee8;border-radius:8px}.rich-toolbar{gap:.35rem;min-height:42px;padding:.35rem;background:#f8fafc;border-bottom:1px solid #e5e9f0}.rich-toolbar button{display:grid;place-items:center;width:36px;height:34px;color:#182033;background:#fff;border:1px solid #d8dee8;border-radius:8px}.rich-toolbar button:hover{border-color:#2e7df6}.rich-toolbar button:first-child{font-weight:950}.rich-editor{min-height:150px;padding:.85rem;color:#182033;line-height:1.55;outline:none}.rich-editor:focus{box-shadow:inset 0 0 0 3px #2e7df61f}.rich-editor:empty:before{content:attr(data-placeholder);color:#98a2b3}.rich-editor p{margin:0 0 .65rem}.rich-editor h1,.rich-editor h2,.rich-editor h3{margin:.85rem 0 .45rem;color:#182033;line-height:1.15}.rich-editor h1{font-size:1.55rem}.rich-editor h2{font-size:1.22rem}.rich-editor h3{font-size:1.02rem}.rich-editor a{color:#2e7df6;font-weight:850}.rich-editor ul,.rich-editor ol{margin:.4rem 0 .4rem 1.25rem;padding:0}.page-editor-layout{display:grid;grid-template-columns:minmax(260px,.5fr) minmax(420px,.95fr) minmax(320px,.7fr);gap:1rem;align-items:start}.page-list-panel,.page-editor-panel,.page-preview-panel{gap:1rem}.page-list{display:grid;gap:.65rem}.page-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.65rem;align-items:center;width:100%;padding:.85rem;color:#172032;text-align:left;background:#fff;border:1px solid #dde5f0;border-radius:8px;cursor:pointer;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}.page-row:hover,.page-row.active{border-color:#2e7df6;box-shadow:0 14px 34px #2e7df61f;transform:translateY(-1px)}.page-row span{display:grid;gap:.25rem;min-width:0}.page-row strong,.page-row small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.slug-preview{display:grid;gap:.3rem;padding:.8rem;background:linear-gradient(135deg,#fff8d7,#e8fbf4);border:1px solid #dbe9d8;border-radius:8px}.slug-preview span,.slug-preview small{color:#667085;font-size:.82rem;font-weight:850}.slug-preview a{color:#0e6f61;font-weight:950;word-break:break-word}.page-editor-panel .rich-editor{min-height:560px}.admin-page-preview{display:grid;gap:.75rem;max-height:calc(100vh - 230px);overflow-y:auto;padding:1rem;color:#344054;background:#fff;border:1px solid #e5e9f0;border-radius:8px;line-height:1.7}.admin-page-preview h1,.admin-page-preview h2,.admin-page-preview h3{margin:.65rem 0 .2rem;color:#182033;line-height:1.15}.admin-page-preview h1{font-size:1.55rem}.admin-page-preview h2{font-size:1.2rem}.admin-page-preview h3{font-size:1rem}.admin-page-preview p{margin:0}.admin-page-preview ul,.admin-page-preview ol{margin:0 0 0 1.25rem;padding:0}.toggle-row{justify-content:space-between;gap:.8rem;flex-wrap:wrap;padding:.75rem;background:#f8fafc;border:1px solid #e5e9f0;border-radius:8px}.toggle-row label{grid-template-columns:auto auto;gap:.45rem}.toggle-row input{width:18px;height:18px;min-height:0;accent-color:#2e7df6}.search-control{gap:.45rem;width:min(320px,100%);min-height:42px;padding:0 .75rem;background:#fff;border:1px solid #d8dee8;border-radius:8px}.search-control input{min-height:38px;padding:0;border:0;box-shadow:none}.product-row{display:grid;grid-template-columns:58px minmax(0,1fr) minmax(120px,auto) auto auto;align-items:center;gap:.8rem;width:100%;min-height:76px;padding:.65rem;color:#182033;text-align:left;background:#fff;border:1px solid #e5e9f0;border-radius:8px}.share-stat{display:grid;gap:.18rem;justify-items:start;min-width:120px;padding:.42rem .58rem;color:#176345;background:linear-gradient(135deg,#e9fbf8,#fff8df);border:1px solid #cce9e3;border-radius:999px}.share-stat>div{display:inline-flex;align-items:center;gap:.32rem}.share-stat strong{font-size:.95rem;line-height:1}.share-stat small{overflow:hidden;max-width:155px;color:#5f6b80;font-size:.68rem;font-weight:850;line-height:1.1;text-overflow:ellipsis;white-space:nowrap}.product-price{font-weight:900}.product-row:hover,.order-row:hover{border-color:#b9c7db;box-shadow:0 10px 26px #18203314}.product-row img{width:58px;height:58px;object-fit:contain;background:#f8fafc;border-radius:8px}.status-pill{min-width:70px;padding:.35rem .5rem;color:#8a4b12;background:#fff3dc;border-radius:999px;text-align:center;font-size:.75rem;font-weight:950}.status-pill.active{color:#176345;background:#e8f7ef}.full-panel{width:100%}.order-filters{justify-content:flex-end;gap:.6rem;display:grid;grid-template-columns:minmax(280px,1fr) auto;align-items:center;min-width:min(100%,520px)}.order-filters .search-control{min-width:0}.order-stage-tabs{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:.55rem;margin:0 0 1rem;padding:.45rem;background:#f8fafc;border:1px solid #e5e9f0;border-radius:8px}.order-stage-tabs button{display:flex;align-items:center;justify-content:space-between;gap:.45rem;min-height:44px;padding:0 .7rem;color:#344054;background:#fff;border:1px solid #d8dee8;border-radius:8px;font-weight:900;transition:background .16s ease,border-color .16s ease,box-shadow .16s ease,color .16s ease,transform .16s ease}.order-stage-tabs button:hover{border-color:#b9c7db;transform:translateY(-1px)}.order-stage-tabs button.active{color:#fff;background:linear-gradient(135deg,#182033,#2e7df6);border-color:#182033;box-shadow:0 12px 28px #2e7df62e}.order-stage-tabs span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.order-stage-tabs b{display:grid;flex:0 0 auto;place-items:center;min-width:28px;height:26px;padding:0 .45rem;color:#182033;background:#e8f7ef;border-radius:999px;font-size:.78rem}.order-stage-tabs button.active b{color:#182033;background:#9fe8c3}.order-row{display:grid;grid-template-columns:minmax(152px,.78fr) minmax(220px,1fr) minmax(420px,1.65fr) minmax(118px,.5fr) minmax(148px,.55fr) minmax(160px,.55fr);gap:.85rem;align-items:center;padding:.85rem;background:#fff;border:1px solid #e5e9f0;border-radius:8px}.order-row>div{display:grid;gap:.22rem;min-width:0}.order-number-cell strong,.order-amount-cell strong{white-space:nowrap}.order-customer-cell small,.order-amount-cell small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.order-items-cell{grid-template-columns:auto minmax(0,1fr);align-items:center;gap:.7rem;min-width:0}.order-thumb-stack{display:flex;align-items:center;min-width:86px}.order-thumb{display:grid;flex:0 0 auto;place-items:center;width:46px;height:46px;object-fit:contain;background:linear-gradient(135deg,#fff7df,#eaf7ff);border:2px solid #ffffff;border-radius:8px;box-shadow:0 8px 18px #1820331c}.order-thumb+.order-thumb{margin-left:-12px}.order-thumb.image-empty{color:#667085;background:#f8fafc}.order-thumb-more{color:#182033;background:#e8f7ef;font-size:.78rem;font-weight:950}.order-items-cell strong{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-height:1.2}.order-status-select{width:100%;min-width:0}.order-details-button{width:100%;padding:0 .75rem}.order-actions-cell{display:grid;gap:.45rem;min-width:0}.order-print-button{width:100%;min-height:38px;padding:0 .7rem;color:#176345;background:#e8f7ef;border-color:#bfe9d2}.order-print-button:hover{border-color:#24a87e}.order-details{grid-column:1 / -1;display:grid;grid-template-columns:minmax(260px,.8fr) minmax(0,1.2fr);gap:.8rem;margin-top:.15rem;padding:.85rem;background:linear-gradient(135deg,#2e7df60f,#24a87e0f),#f8fafc;border:1px solid #e5e9f0;border-radius:8px}.order-detail-heading{display:flex;align-items:center;justify-content:space-between;gap:.75rem}.order-detail-heading .order-print-button{width:auto;min-width:124px}.order-details p{margin:0;color:#344054;line-height:1.45}.order-shipping-card,.order-detail-items{display:grid;gap:.55rem}.order-shipping-card{align-content:start;padding:.75rem;background:#fff;border:1px solid #e5e9f0;border-radius:8px}.order-shipping-card strong,.order-detail-item strong{overflow-wrap:anywhere}.order-details small,.order-detail-item small{color:#667085;font-size:.86rem;font-weight:750}.order-detail-item{display:grid;grid-template-columns:58px minmax(0,1fr) auto;align-items:center;gap:.7rem;padding:.6rem;background:#fff;border:1px solid #e5e9f0;border-radius:8px}.order-detail-image{display:grid;place-items:center;width:58px;height:58px;object-fit:contain;color:#667085;background:linear-gradient(135deg,#fff7df,#eaf7ff);border:1px solid #e5e9f0;border-radius:8px}.visitors-grid{display:grid;gap:1rem}.visitor-metric-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}.visitor-metric strong{overflow-wrap:anywhere}.visitor-chart-panel{min-height:360px}.visitor-chart-panel .panel-heading select{width:160px}.visitor-bars{display:grid;grid-template-columns:repeat(auto-fit,minmax(42px,1fr));align-items:end;gap:.55rem;min-height:260px}.visitor-bar-column{display:grid;grid-template-rows:1fr auto auto;gap:.32rem;height:260px;text-align:center}.visitor-bar-column span{align-self:end;width:100%;min-height:8px;background:linear-gradient(180deg,#24a87e,#2e7df6);border-radius:7px 7px 0 0}.visitor-bar-column small,.visitor-bar-column b{color:#667085;font-size:.72rem;font-weight:850}.visitor-bar-column b{color:#182033}.visitor-location-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.visitor-table,.visitor-recent-list{display:grid;gap:.6rem}.visitor-table-row,.visitor-recent-row{display:grid;align-items:center;gap:.75rem;min-width:0;padding:.72rem;background:#f8fafc;border:1px solid #e5e9f0;border-radius:8px}.visitor-table-row{grid-template-columns:minmax(0,1fr) auto auto}.visitor-recent-row{grid-template-columns:minmax(0,1fr) minmax(150px,.7fr) auto}.visitor-table-row div,.visitor-recent-row div{display:grid;gap:.16rem;min-width:0}.visitor-table-row strong,.visitor-recent-row strong{overflow-wrap:anywhere}.visitor-table-row small,.visitor-recent-row small,.visitor-recent-row span,.visitor-recent-row time{color:#667085;font-size:.82rem;font-weight:800}.visitor-table-row span,.visitor-table-row b{white-space:nowrap;font-size:.84rem}.promo-layout{display:grid;grid-template-columns:minmax(340px,.72fr) minmax(0,1fr);gap:1rem;align-items:start}.promo-editor-panel{position:sticky;top:1rem}.promo-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.85rem}.first-offer-card{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:1rem;margin-bottom:1rem;padding:.9rem;color:#182033;background:linear-gradient(135deg,#ffd44738,#24a87e29),#fff;border:1px solid #d8dee8;border-radius:8px}.first-offer-card div{display:grid;gap:.25rem;min-width:0}.first-offer-card span{color:#667085;font-size:.8rem;font-weight:900}.first-offer-card strong{width:fit-content;padding:.35rem .55rem;color:#fff;background:#182033;border-radius:6px}.first-offer-card p{margin:0;color:#344054;line-height:1.4;font-size:.86rem;font-weight:750}.first-offer-card label{display:inline-flex;align-items:center;gap:.45rem;min-height:42px;padding:0 .65rem;background:#fff;border:1px solid #d8dee8;border-radius:999px}.first-offer-card input{width:18px;height:18px;min-height:0;accent-color:#24a87e}.promo-form .wide,.promo-actions{grid-column:1 / -1}.promo-actions,.promo-code-top,.promo-code-meta,.promo-scope-picker label{display:flex;align-items:center}.promo-actions{gap:.65rem;flex-wrap:wrap}.promo-actions .primary-action,.promo-actions .danger-action{flex:1;min-width:180px}.promo-scope-picker{display:grid;gap:.55rem;padding:.75rem;background:#f8fafc;border:1px solid #e5e9f0;border-radius:8px}.promo-scope-picker>span{color:#344054;font-size:.83rem;font-weight:900}.promo-scope-picker>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem;max-height:240px;overflow-y:auto;padding-right:.25rem}.promo-scope-picker label{gap:.45rem;min-width:0;padding:.55rem;background:#fff;border:1px solid #e5e9f0;border-radius:8px}.promo-scope-picker input{width:17px;height:17px;min-height:0;flex:0 0 auto;accent-color:#2e7df6}.promo-scope-picker label span{color:#344054;overflow-wrap:anywhere;font-size:.82rem;font-weight:850}.product-scope-picker>div{grid-template-columns:1fr}.product-scope-picker img{flex:0 0 auto;width:38px;height:38px;object-fit:contain;background:#f8fafc;border-radius:6px}.product-scope-picker small{margin-left:auto;color:#667085;white-space:nowrap;font-size:.75rem;font-weight:850}.promo-code-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}.promo-code-card{display:grid;gap:.65rem;min-width:0;padding:.9rem;color:#182033;text-align:left;background:linear-gradient(135deg,#2e7df614,#24a87e14),#fff;border:1px solid #e5e9f0;border-radius:8px;box-shadow:0 10px 28px #1820330f}.promo-code-card:hover{border-color:#2e7df6;box-shadow:0 16px 36px #1820331a;transform:translateY(-2px)}.promo-code-top{justify-content:space-between;gap:.8rem}.promo-code-top strong{padding:.35rem .55rem;color:#fff;background:#182033;border-radius:6px;letter-spacing:0}.promo-code-card h3,.promo-code-card p{margin:0}.promo-code-card h3{font-size:1.02rem}.promo-code-card p{color:#2e7df6;font-size:1.25rem;font-weight:950}.promo-code-meta{gap:.4rem;flex-wrap:wrap}.promo-code-meta span{padding:.32rem .48rem;color:#344054;background:#f8fafc;border:1px solid #e5e9f0;border-radius:999px;font-size:.74rem;font-weight:850}.empty-box{display:grid;place-items:center;min-height:132px;padding:1rem;color:#667085;background:#f8fafc;border:1px dashed #c9d2e2;border-radius:8px;font-weight:850}.toast{position:fixed;left:50%;bottom:1rem;z-index:30;gap:.45rem;max-width:min(92vw,520px);padding:.85rem 1rem;color:#fff;background:#182033;border-radius:8px;transform:translate(-50%);box-shadow:0 20px 40px #18203333;font-weight:900}.chats-layout{display:grid;grid-template-columns:minmax(300px,.34fr) minmax(0,1fr);gap:1rem;align-items:stretch;min-height:calc(100vh - 116px)}.chat-inbox-panel,.chat-thread-panel{display:grid;min-height:0}.chat-inbox-panel{grid-template-rows:auto auto 1fr}.chat-thread-panel{grid-template-rows:auto minmax(0,1fr) auto auto;padding:0;overflow:hidden}.chat-filters,.chat-thread-header,.admin-chat-compose,.admin-emoji-row,.chat-inbox-item,.admin-chat-attachment span{display:flex;align-items:center}.chat-filters{gap:.55rem;margin-bottom:.8rem}.chat-filters select{flex:1}.chat-inbox-list{display:grid;align-content:start;gap:.55rem;overflow-y:auto;min-height:0}.chat-inbox-item{position:relative;grid-template-columns:auto minmax(0,1fr) auto;gap:.7rem;width:100%;min-height:78px;padding:.65rem;color:#182033;text-align:left;background:#fff;border:1px solid #e5e9f0;border-radius:8px}.chat-inbox-item:hover,.chat-inbox-item.active{border-color:#2e7df6;box-shadow:0 10px 26px #18203314}.chat-avatar{display:grid;flex:0 0 auto;place-items:center;width:42px;height:42px;color:#176345;background:#e8f7ef;border-radius:8px}.chat-avatar.waiting{color:#8a4b12;background:#fff3dc}.chat-avatar.active{color:#fff;background:#2e7df6}.chat-avatar.closed{color:#667085;background:#eef1f5}.chat-inbox-item div{display:grid;gap:.22rem;min-width:0}.chat-inbox-item small{color:#667085;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.8rem;font-weight:800}.chat-inbox-item time{color:#98a2b3;white-space:nowrap;font-size:.72rem;font-weight:850}.chat-inbox-item b{position:absolute;right:.6rem;bottom:.55rem;display:grid;place-items:center;min-width:22px;height:22px;padding:0 .35rem;color:#fff;background:#f97316;border-radius:999px;font-size:.74rem}.chat-thread-header{justify-content:space-between;gap:1rem;padding:1rem;background:#fff;border-bottom:1px solid #e5e9f0}.chat-thread-header div{display:grid;gap:.15rem;min-width:0}.chat-thread-header span{color:#667085;text-transform:uppercase;font-size:.73rem;font-weight:950}.chat-thread-header h2{margin:0;overflow-wrap:anywhere;font-size:1.25rem}.chat-thread-header small{color:#667085;overflow-wrap:anywhere;font-weight:750}.chat-thread-header select{width:150px;flex:0 0 auto}.admin-chat-messages{display:grid;align-content:start;gap:.65rem;min-height:0;overflow-y:auto;padding:1rem;background:linear-gradient(180deg,#2e7df612,#24a87e12),#f8fafc}.admin-chat-bubble{display:grid;gap:.28rem;max-width:74%;padding:.76rem;background:#fff;border:1px solid #e5e9f0;border-radius:8px;box-shadow:0 8px 20px #1820330f}.admin-chat-bubble.admin{justify-self:end;color:#fff;background:#2e7df6;border-color:#2e7df6}.admin-chat-bubble.bot{background:#fff3dc;border-color:#f2dab5}.admin-chat-bubble small{color:#667085;font-size:.78rem;font-weight:900}.admin-chat-bubble.admin small{color:#ffffffbd}.admin-chat-bubble p{margin:0;overflow-wrap:anywhere;line-height:1.48;font-weight:750}.admin-chat-attachment{display:grid;gap:.35rem;color:inherit;text-decoration:none}.admin-chat-attachment img{width:min(260px,100%);max-height:180px;object-fit:cover;border-radius:8px}.admin-chat-attachment span{gap:.35rem;overflow-wrap:anywhere;font-size:.82rem;font-weight:900}.admin-emoji-row{gap:.4rem;flex-wrap:wrap;padding:.6rem 1rem 0;background:#fff;border-top:1px solid #e5e9f0}.admin-emoji-row button,.admin-chat-compose>button{display:grid;place-items:center;width:38px;height:38px;color:#182033;background:#fff;border:1px solid #d8dee8;border-radius:999px}.admin-chat-compose{gap:.55rem;padding:.8rem 1rem 1rem;background:#fff;border-top:1px solid #e5e9f0}.admin-chat-compose input[type=file]{display:none}.admin-chat-compose input[type=text],.admin-chat-compose input:not([type]){flex:1}.admin-chat-compose .primary-action{flex:0 0 auto;padding:0 .9rem}.chat-thread-empty{display:grid;place-items:center;align-content:center;gap:.5rem;min-height:420px;padding:1rem;color:#667085;text-align:center}.chat-thread-empty strong{color:#182033;font-size:1.1rem}@media(max-width:1180px){.dashboard-grid,.split-layout,.promo-layout,.page-editor-layout,.chats-layout,.visitor-location-grid{grid-template-columns:1fr}.editor-panel,.promo-editor-panel{position:static}.metric-row,.visitor-metric-row,.order-row{grid-template-columns:repeat(2,minmax(0,1fr))}.order-stage-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:780px){.admin-shell{grid-template-columns:1fr}.sidebar{position:static;height:auto;border-right:0;border-bottom:1px solid rgba(255,255,255,.1)}.sidebar nav{grid-template-columns:repeat(3,minmax(0,1fr))}.sidebar nav button,.logout-button{justify-content:center;min-height:44px}.sidebar nav button{font-size:.86rem}.sidebar nav button:hover,.logout-button:hover{transform:translateY(-1px)}.topbar,.panel-heading{align-items:stretch;flex-direction:column}.metric-row,.product-form,.page-editor-layout,.promo-form,.promo-code-grid,.promo-scope-picker>div{grid-template-columns:1fr}.product-row{grid-template-columns:58px minmax(0,1fr)}.product-row span,.product-row b,.product-row .share-stat{grid-column:2}.order-row,.order-details{grid-template-columns:1fr}.order-stage-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.order-detail-heading{align-items:stretch;flex-direction:column}.order-detail-heading .order-print-button{width:100%}.visitor-recent-row,.visitor-table-row{grid-template-columns:1fr;align-items:stretch}.visitor-table-row span,.visitor-table-row b{white-space:normal}.order-filters,.order-filters select,.search-control,.category-creator{width:100%}.category-creator{align-items:stretch;flex-direction:column}.chat-thread-panel{min-height:620px}.chat-thread-header,.admin-chat-compose{align-items:stretch;flex-direction:column}.chat-thread-header select{width:100%}.admin-chat-bubble{max-width:92%}.first-offer-card{grid-template-columns:1fr;align-items:stretch}.first-offer-card label{justify-content:center}}@media(max-width:480px){.admin-main{padding:.85rem}.sidebar nav{grid-template-columns:repeat(2,minmax(0,1fr))}.order-detail-item{grid-template-columns:58px minmax(0,1fr)}.order-detail-item b{grid-column:2}.order-stage-tabs{grid-template-columns:1fr}.bar-chart{gap:.28rem}.bar-column small{writing-mode:vertical-rl}.media-preview,.manual-image-row,.gallery-tile{grid-template-columns:1fr;align-items:stretch}.image-gallery-editor{grid-template-columns:1fr}.media-preview img{width:100%}.gallery-actions{justify-content:stretch;margin-left:0}.gallery-actions .secondary-action{flex:1}}
