/*!*************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[13].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[13].oneOf[10].use[3]!./app/globals.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************/
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap');
:root{--bg:#F7F9FC;--navy:#142D4E;--blue:#2563EB;--teal:#0D9488;--ink:#172033;--muted:#64748B;--line:#E5EAF1;--white:#fff}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:'DM Sans',Arial,sans-serif}.shell{min-height:100vh;display:flex}.sidebar{width:252px;background:var(--navy);color:#fff;padding:27px 17px;display:flex;flex-direction:column;flex-shrink:0}.brand{display:flex;align-items:center;gap:11px;padding:0 10px 36px}.brandMark{width:39px;height:39px;border-radius:12px;background:linear-gradient(145deg,#60A5FA,#0D9488);display:grid;place-items:center;font:800 22px Manrope}.brand strong{display:block;font:800 17px Manrope;letter-spacing:.2px}.brand small{font-size:9px;letter-spacing:2.1px;color:#AFC3DD}.workspaceLabel{font-size:10px;letter-spacing:1.5px;color:#8FA6C3;padding:0 12px 12px}.sidebar nav{display:grid;grid-gap:5px;gap:5px}.navItem{width:100%;border:0;background:transparent;color:#C8D5E5;padding:12px 13px;border-radius:9px;display:flex;align-items:center;gap:12px;text-align:left;font:500 13px 'DM Sans';cursor:pointer}.navItem:hover,.navItem.active{background:#23466F;color:#fff}.navItem.active{box-shadow:inset 3px 0 #5DA5FF}.sideBottom{margin-top:auto;display:grid;grid-gap:5px;gap:5px}.mainArea{flex:1 1;min-width:0}.topbar{height:74px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 38px}.crumb{font-size:12px;color:var(--muted)}.crumb span{padding:0 9px;color:#B6C1CF}.topActions{display:flex;align-items:center;gap:12px}.iconButton{border:1px solid var(--line);background:white;width:37px;height:37px;border-radius:10px;color:#53647B;display:grid;place-items:center}.profile{border:0;background:transparent;display:flex;align-items:center;gap:9px;text-align:left;color:var(--ink);font-size:11px}.profile small{display:block;color:var(--muted);margin-top:3px}.avatar{width:34px;height:34px;border-radius:50%;background:#EAF1FF;color:#2457A6;display:grid;place-items:center;font-weight:700}.content{max-width:1450px;margin:auto;padding:36px 40px}.welcomeRow{display:flex;justify-content:space-between;align-items:center}.eyebrow{font-size:10px;letter-spacing:1.4px;color:var(--blue);font-weight:700}h1,h2,h3,p{margin-top:0}h1{font:800 29px Manrope;margin:8px 0 5px;letter-spacing:-.8px}.welcomeRow p,.sectionHead p,.panel p{font-size:12px;color:var(--muted);margin:0}.primary{display:flex;align-items:center;gap:8px;background:var(--blue);color:white;border:0;border-radius:9px;padding:11px 15px;font-weight:600;font-size:12px}.banner{margin-top:27px;background:linear-gradient(105deg,#EAF2FF,#F0FBF9);border:1px solid #DDE9F8;border-radius:13px;padding:19px 21px;display:flex;align-items:center;gap:14px}.spark{width:40px;height:40px;border-radius:11px;background:white;color:var(--blue);display:grid;place-items:center}.banner b{font:700 14px Manrope}.banner p{font-size:11px;color:var(--muted);margin:5px 0 0}.bannerTag{margin-left:auto;font-size:9px;letter-spacing:1px;color:#426A9D;font-weight:700}.sectionHead{display:flex;align-items:center;justify-content:space-between;margin:31px 0 13px}.sectionHead h2{font:700 16px Manrope;margin:0 0 4px}.filter{display:flex;gap:9px;align-items:center;background:#fff;border:1px solid var(--line);padding:8px 11px;border-radius:8px;color:#53647B;font-size:11px}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:14px;gap:14px}.metric,.panel{background:#fff;border:1px solid var(--line);border-radius:12px;padding:18px}.metricTop{display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:11px}.metricTop i{width:31px;height:31px;border-radius:9px;background:#F0F5FF;color:var(--blue);display:grid;place-items:center;font-style:normal}.metric>strong{display:block;font:800 25px Manrope;margin:14px 0 4px}.metric>small{font-size:10px;color:#8996A8}.lowerGrid{display:grid;grid-template-columns:1.35fr 1fr;grid-gap:14px;gap:14px;margin-top:15px}.panelHead{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:15px}.panel h3{font:700 14px Manrope;margin:0 0 5px}.softBadge{font-size:8px;letter-spacing:.8px;color:#0D8279;background:#E8F8F5;padding:6px 8px;border-radius:20px}.tierRow{display:flex;align-items:center;gap:11px;padding:10px 0;border-top:1px solid #F0F2F6}.tierIcon{width:30px;height:30px;border-radius:9px;display:grid;place-items:center;font-size:14px}.premium{background:#FFF4D9;color:#A56B00}.standard{background:#EAF1FF;color:#315DB2}.normal{background:#F0F2F5;color:#64748B}.tierRow b{display:block;font-size:11px}.tierRow small{display:block;font-size:10px;color:var(--muted);margin-top:3px}.insight{background:linear-gradient(150deg,#fff,#F7FBFF)}.insightIcon{width:35px;height:35px;border-radius:10px;background:#EAF2FF;color:var(--blue);display:grid;place-items:center;margin-bottom:13px}.insight p{line-height:1.7;margin-top:9px}.coming{margin-top:18px;padding:10px;background:#F4F7FB;border-radius:8px;color:#526783;font-size:10px}footer{font-size:10px;color:#98A3B2;padding:27px 2px 8px}footer span{padding:0 6px}@media(max-width:1050px){.sidebar{width:210px}.content{padding:28px 24px}.metrics{grid-template-columns:repeat(2,1fr)}}@media(max-width:700px){.sidebar{width:66px;padding:20px 8px}.brand{padding:0 4px 30px}.brand>div:last-child,.workspaceLabel,.navItem span,.sideBottom .navItem{display:none}.navItem{justify-content:center;padding:13px 5px}.topbar{padding:0 15px}.profile>span:not(.avatar),.profile>svg{display:none}.content{padding:24px 15px}.welcomeRow{align-items:flex-start;gap:15px}.welcomeRow h1{font-size:24px}.metrics{grid-template-columns:1fr 1fr;gap:9px}.metric{padding:13px}.lowerGrid{grid-template-columns:1fr}.bannerTag{display:none}.primary{white-space:nowrap}}

/* Customer intelligence workspace */
.lookupPanel{margin-top:28px;padding:24px}
.lookupForm label{display:block;font-size:11px;font-weight:700;color:#43536A;margin-bottom:9px}
.lookupInput{display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:10px;background:#fff;padding:7px 8px 7px 12px;color:var(--muted)}
.lookupInput input{flex:1 1;min-width:0;border:0;outline:0;font:13px 'DM Sans';color:var(--ink);padding:8px 2px;background:transparent}
.lookupInput .primary{cursor:pointer}
.lookupInput .primary:disabled{opacity:.65;cursor:wait}
.errorNotice,.resultNotice,.emptyState{margin-top:16px;padding:13px 15px;border-radius:9px;font-size:12px}
.errorNotice{background:#FEF2F2;color:#B91C1C;border:1px solid #FECACA}
.resultNotice{background:#EFF6FF;color:#1D4ED8;border:1px solid #DBEAFE}
.resultNotice p{margin:5px 0 0;color:#526783}
.customerResult{margin-top:22px;padding:18px;border:1px solid var(--line);border-radius:11px;background:#FBFCFE}
.customerIdentity{display:flex;align-items:center;gap:12px}
.customerIdentity h3{font:700 16px Manrope;margin:0 0 4px}
.customerIdentity p{font-size:11px;color:var(--muted);margin:0}
.customerIdentity p span{padding:0 5px}
.tierPill{margin-left:auto;padding:7px 10px;border-radius:20px;font-size:9px;font-weight:800;letter-spacing:.7px}
.tierPill.premium{background:#FFF4D9;color:#986000}.tierPill.standard{background:#EAF1FF;color:#315DB2}.tierPill.normal{background:#F0F2F5;color:#64748B}
.customerStats{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:12px;gap:12px;margin-top:18px;padding-top:15px;border-top:1px solid var(--line)}
.customerStats small{display:block;font-size:10px;color:var(--muted);margin-bottom:5px}
.customerStats b{font:700 15px Manrope}
.recommendationHead{display:flex;align-items:center;justify-content:space-between;margin:23px 0 10px}
.recommendationHead h3{display:flex;align-items:center;gap:8px;font:700 14px Manrope;margin:0 0 4px}
.recommendationHead p{font-size:11px;color:var(--muted);margin:0}
.recommendationList{border:1px solid var(--line);border-radius:10px;overflow:hidden}
.recommendation{display:flex;align-items:center;gap:11px;padding:13px;border-bottom:1px solid #F0F2F6}
.recommendation:last-child{border-bottom:0}
.recommendationIcon{width:32px;height:32px;display:grid;place-items:center;border-radius:9px;background:#EFF6FF;color:var(--blue);flex-shrink:0}
.recommendation b{display:block;font-size:12px}
.recommendation small{display:block;font-size:10px;line-height:1.5;color:var(--muted);margin-top:3px}
.recommendationType{margin-left:auto;font-size:8px;font-weight:800;letter-spacing:.7px;color:#526783;background:#F1F5F9;padding:6px 8px;border-radius:20px;white-space:nowrap}
.emptyState{background:#F8FAFC;color:var(--muted);border:1px dashed #CBD5E1}
.customerFootnote{font-size:10px;color:#8996A8;margin-top:13px;line-height:1.6}
.spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
@media(max-width:700px){.lookupPanel{padding:16px}.lookupInput{flex-wrap:wrap}.lookupInput input{width:calc(100% - 35px)}.lookupInput .primary{width:100%;justify-content:center}.customerStats{gap:6px}.customerStats b{font-size:12px}.customerIdentity{align-items:flex-start}.tierPill{font-size:8px}}

/* Foundation Sprint 02 — integrated retail workspaces */
.appShell{min-height:100vh;display:flex;background:#f6f8fc;color:#172033}.sidebar{width:258px;flex:0 0 258px;background:#142d4e;color:#d9e5f4;padding:18px 14px;display:flex;flex-direction:column;min-height:100vh;z-index:20}.brand{height:76px;padding:3px 12px 17px;display:flex;align-items:center;border-bottom:1px solid #294363;margin-bottom:18px}.brand img{max-height:62px}.tenantLabel,.navCaption{font-size:9px;letter-spacing:1.5px;color:#91a9c5;font-weight:800;padding:8px 12px}.tenantPicker{display:flex;align-items:center;gap:9px;padding:10px 11px;margin:0 4px 14px;border-radius:9px;background:#1c3a5f;color:#eaf2fc;font-size:11px}.tenantPicker span{flex:1 1}.navGroup{margin-bottom:12px}.navGroup .navItem{padding:10px 12px;font-size:11px;color:#c7d5e6}.navGroup .navItem.active{background:#244b77;color:#fff;box-shadow:inset 3px 0 #63a4ff}.navItem:hover{background:#1d3d63;color:#fff}.sideBottom{margin-top:auto;display:grid;grid-gap:4px;gap:4px}.sideBottom small{font-size:8px;letter-spacing:.6px;color:#8199b5;padding:12px 8px 2px}.mainArea{flex:1 1;min-width:0}.topbar{height:68px;background:#fff;border-bottom:1px solid #e5eaf1;display:flex;align-items:center;justify-content:space-between;padding:0 30px;position:-webkit-sticky;position:sticky;top:0;z-index:10}.topLeft,.topActions{display:flex;align-items:center;gap:12px}.tenantId{font-size:10px;color:#718096;display:flex;align-items:center;gap:6px}.tenantId input{width:54px;border:1px solid #e3e9f2;border-radius:6px;padding:5px;color:#52647b}.profile{display:flex;align-items:center;gap:8px;font-size:10px}.profile b,.profile small{display:block}.profile small{color:#8290a3;margin-top:3px}.content{max-width:1500px;margin:auto;padding:30px 34px}.pageTitle{margin:2px 0 22px}.pageTitle h1{font:800 27px Manrope;margin:7px 0 5px;letter-spacing:-.7px}.pageTitle p{font-size:12px;color:#68788f;margin:0;line-height:1.6}.heroBanner{display:flex;align-items:center;gap:14px;padding:17px 19px;border:1px solid #dce8f7;border-radius:13px;background:linear-gradient(100deg,#eaf2ff,#effbf9);margin-bottom:20px}.heroIcon,.comingIcon{width:40px;height:40px;border-radius:11px;background:#fff;color:#2563eb;display:grid;place-items:center}.heroBanner b{font:700 14px Manrope}.heroBanner p{margin:4px 0 0;color:#64748b;font-size:11px}.heroBanner>span{margin-left:auto;font-size:8px;letter-spacing:1px;font-weight:800;color:#55759c}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:13px;gap:13px;margin:16px 0}.metrics.three{grid-template-columns:repeat(3,minmax(0,1fr))}.metric{background:#fff;border:1px solid #e5eaf1;border-radius:12px;padding:17px}.metric>span{font-size:11px;color:#64748b}.metric>strong{display:block;font:800 24px Manrope;margin-top:12px}.lowerGrid{display:grid;grid-template-columns:1.2fr 1fr;grid-gap:14px;gap:14px;margin-top:14px}.panel{background:#fff;border:1px solid #e5eaf1;border-radius:12px;padding:19px;margin-bottom:14px}.panelHead{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:15px}.panel h3{font:700 14px Manrope;margin:0 0 5px}.panelHead p,.muted{font-size:10px;color:#738198;margin:0;line-height:1.6}.shortcutGrid{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:9px;gap:9px}.shortcut{display:flex;align-items:center;gap:9px;padding:13px;border:1px solid #e8edf4;border-radius:9px;background:#fff;color:#34506f;font-size:11px;cursor:pointer}.shortcut:hover{border-color:#9bbcf2;background:#f7faff}.shortcut svg{color:#2563eb}.signal{display:flex;align-items:center;gap:10px;padding:13px 0;border-top:1px solid #eef1f5}.signal>div{flex:1 1}.signal b,.signal small{display:block;font-size:11px}.signal small{font-size:9px;color:#7a8798;margin-top:3px}.signal button{border:0;background:#eef4ff;color:#245bb5;border-radius:7px;padding:7px 10px;font-size:9px}.signalDot{width:9px;height:9px;border-radius:50%;background:#e9a23b}.noticeText{background:#f7f9fc;padding:10px;border-radius:8px;font-size:9px;color:#718096;line-height:1.6}.twoCol{display:grid;grid-template-columns:1.5fr 1fr;grid-gap:14px;gap:14px}.formPanel h3{display:flex;align-items:center;gap:8px;margin-bottom:17px}.formGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:12px;gap:12px;margin-bottom:16px}.fieldLabel{display:grid;grid-gap:6px;gap:6px;font-size:10px;font-weight:700;color:#52647b;margin-bottom:12px}.fieldLabel input,.fullInput,.customerLookup input{width:100%;min-width:0;border:1px solid #dfe6ef;border-radius:8px;padding:10px 11px;font:12px 'DM Sans';color:#172033;background:#fff;outline:none}.fieldLabel input:focus,.fullInput:focus,.customerLookup input:focus{border-color:#80a9ef;box-shadow:0 0 0 3px #eaf1ff}.primary{cursor:pointer}.primary:disabled{opacity:.55;cursor:not-allowed}.bigStat{font:800 36px Manrope;color:#1d4ed8;margin-top:20px}.miniStats{display:flex;gap:20px;border-top:1px solid #edf1f5;margin-top:16px;padding-top:13px}.miniStats span{font-size:10px;color:#748197}.miniStats b{display:block;color:#1e293b;font-size:13px;margin-top:4px}.tablePanel{margin-top:14px}.searchBox{display:flex;align-items:center;gap:8px;border:1px solid #e1e7ef;border-radius:8px;padding:0 10px;width:min(340px,100%);color:#8290a3;margin:8px 0 13px}.searchBox input{border:0;outline:0;padding:10px 0;flex:1 1;min-width:0;font:11px 'DM Sans'}.tableWrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}th{background:#f7f9fc;color:#64748b;font-size:9px;letter-spacing:.4px;text-transform:uppercase;font-weight:800;padding:11px 12px}td{border-bottom:1px solid #eef1f5;padding:12px;font-size:10px;color:#334155}tbody tr:last-child td{border-bottom:0}.emptyCell{text-align:center;color:#8b98a9;padding:28px}.inlineAdjust{display:flex;gap:5px}.inlineAdjust input{width:65px;border:1px solid #e1e7ef;border-radius:6px;padding:6px;font-size:10px}.smallPrimary{border:0;background:#eaf1ff;color:#245bb5;border-radius:6px;padding:7px 9px;font-size:9px;font-weight:700;cursor:pointer}.posLayout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(300px,.9fr);grid-gap:14px;gap:14px;align-items:start}.productGrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(135px,1fr));grid-gap:9px;gap:9px;margin-top:12px}.productTile{display:flex;flex-direction:column;align-items:flex-start;text-align:left;border:1px solid #e7ecf3;border-radius:10px;background:#fff;padding:12px;cursor:pointer;gap:5px}.productTile:hover{border-color:#91b6f4;background:#f8fbff}.productTileIcon{height:40px;width:100%;display:grid;place-items:center;color:#2563eb;background:#f1f6ff;border-radius:7px}.productTile b{font-size:10px}.productTile small{font-size:9px;color:#8290a3}.productTile strong{font-size:12px}.addHint{font-size:9px;color:#2563eb;margin-top:4px}.cartPanel{position:-webkit-sticky;position:sticky;top:82px}.customerLookup{display:flex;gap:7px;margin:7px 0 12px}.customerLookup.wide{max-width:530px}.customerLookup input{flex:1 1}.fieldLabel{margin-top:12px}.cartLines{border-top:1px solid #edf1f5;border-bottom:1px solid #edf1f5;margin:12px 0}.cartLine{display:grid;grid-template-columns:1fr auto auto;align-items:center;grid-gap:8px;gap:8px;padding:11px 0;border-bottom:1px solid #f0f2f6}.cartLine:last-child{border-bottom:0}.cartLine b,.cartLine small{display:block;font-size:10px}.cartLine small{color:#8290a3;margin-top:3px;font-size:9px}.cartLine strong{font-size:10px}.qtyControl{display:flex;align-items:center;gap:6px}.qtyControl button{width:22px;height:22px;border:1px solid #e0e7ef;border-radius:5px;background:#fff}.totals{border-top:1px solid #edf1f5;margin-top:15px;padding-top:10px;display:grid;grid-gap:9px;gap:9px}.totals span{display:flex;justify-content:space-between;font-size:10px;color:#64748b}.totals strong{font:800 17px Manrope;color:#172033}.checkout{width:100%;justify-content:center;margin:14px 0}.cartPanel>.muted{display:block;font-size:9px}.customerCard,.createCustomer{border:1px solid #e6edf5;border-radius:9px;padding:14px;margin-top:14px;display:grid;grid-gap:8px;gap:8px;font-size:11px}.tierPill{background:#edf4ff;color:#2859a5;border-radius:30px;padding:5px 9px;width:max-content;font-size:9px}.successNotice,.errorNotice{display:flex;justify-content:space-between;align-items:center;padding:11px 14px;border-radius:8px;font-size:11px;margin-bottom:12px}.successNotice{background:#ecfdf5;border:1px solid #bbf7d0;color:#166534}.errorNotice{background:#fff1f2;border:1px solid #fecdd3;color:#9f1239}.successNotice button,.errorNotice button{border:0;background:transparent;font-size:18px;color:inherit}.comingPanel{padding:28px}.comingIcon{margin-bottom:16px}.comingPanel>p{font-size:11px;color:#64748b;max-width:750px;line-height:1.7}.plannedGrid{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:10px;gap:10px;margin:22px 0}.plannedGrid div{padding:13px;border:1px solid #e8edf4;border-radius:8px;font-size:10px;color:#53647b}.plannedGrid span{color:#2563eb;padding-right:8px}.comingPanel>small{font-size:9px;color:#a16207}.storeHero{background:linear-gradient(110deg,#142d4e,#2563eb);border-radius:15px;padding:35px;color:#fff;display:flex;align-items:center;justify-content:space-between}.storeHero span{font-size:9px;letter-spacing:1.5px;color:#b8d4ff}.storeHero h2{font:800 32px Manrope;margin:12px 0}.storeHero p{font-size:11px;color:#d3e3fa}.storeHero button{border:0;border-radius:7px;padding:10px 14px;color:#15345b;background:#fff;font-size:10px;font-weight:700}.storeProducts{display:grid;grid-template-columns:repeat(auto-fill,minmax(175px,1fr));grid-gap:13px;gap:13px;margin-top:18px}.storeProduct{background:#fff;border:1px solid #e5eaf1;border-radius:11px;padding:13px;display:grid;grid-gap:7px;gap:7px}.storeProductImage{height:115px;background:#f2f6fc;border-radius:8px;display:grid;place-items:center;color:#7293c1}.storeProduct small{font-size:9px;color:#8190a4}.storeProduct b{font-size:11px}.storeProduct strong{font-size:13px}.storeProduct button{border:1px solid #dbe6f7;background:#f4f8ff;color:#245bb5;border-radius:7px;padding:8px;font-size:9px}.mobileMenu{display:none;border:0;background:transparent;color:#53647b}.mobileShade{display:none}
@media(max-width:1100px){.sidebar{width:225px;flex-basis:225px}.content{padding:24px}.metrics{grid-template-columns:repeat(2,1fr)}.posLayout{grid-template-columns:1fr}.cartPanel{position:static}.twoCol{grid-template-columns:1fr}}
@media(max-width:760px){.sidebar{position:fixed;left:-270px;top:0;bottom:0;width:258px;transition:left .2s}.sidebar.mobileOpen{left:0}.mobileShade{display:block;position:fixed;inset:0;background:#0f172a77;border:0;z-index:15}.mobileMenu{display:block}.topbar{padding:0 12px}.tenantId{display:none}.content{padding:20px 13px}.metrics,.metrics.three{grid-template-columns:repeat(2,minmax(0,1fr))}.lowerGrid,.twoCol{grid-template-columns:1fr}.formGrid{grid-template-columns:1fr}.plannedGrid{grid-template-columns:1fr 1fr}.heroBanner>span{display:none}.profile span:last-child{display:none}.shortcutGrid{grid-template-columns:repeat(2,1fr)}.storeHero{padding:24px}.storeHero h2{font-size:25px}}

/* Optional product image upload and catalogue thumbnails */
.imageUploadSection{display:grid;grid-gap:10px;gap:10px;margin:4px 0 18px}.imageUploadSection>div:first-child b{display:flex;align-items:center;gap:8px;font-size:11px}.imageUploadSection>div:first-child small{display:block;color:#8290a3;font-size:9px;margin-top:4px}.optionalTag{font-size:9px;font-weight:700;color:#64748b;background:#f1f5f9;border-radius:20px;padding:3px 7px}.imageDrop{min-height:104px;border:1px dashed #b8c7dc;border-radius:9px;background:#f8fbff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;color:#245bb5;cursor:pointer;text-align:center;padding:14px}.imageDrop input{display:none}.imageDrop span{font-size:10px;font-weight:700}.imageDrop small{font-size:9px;color:#8290a3}.imagePreviewGrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(86px,1fr));grid-gap:8px;gap:8px}.imagePreview{position:relative;border:1px solid #e2e8f0;border-radius:8px;padding:5px;background:#fff}.imagePreview img{width:100%;height:76px;object-fit:contain;border-radius:5px}.imagePreview span{display:block;font-size:8px;color:#64748b;text-align:center;padding:4px}.imagePreview button{position:absolute;right:3px;top:3px;border:0;border-radius:50%;width:20px;height:20px;background:#fff;color:#be123c;box-shadow:0 1px 5px #0002;cursor:pointer}.catalogThumb,.catalogNoImage{width:38px;height:38px;object-fit:contain;border-radius:6px;background:#f1f5f9;display:grid;place-items:center}.productTileIcon img{width:100%;height:100%;object-fit:contain;border-radius:7px}.storeProductImage img{width:100%;height:100%;object-fit:contain;border-radius:8px}

.formActions{display:flex;align-items:center;gap:9px}.secondaryButton{border:1px solid #dbe3ee;background:#fff;color:#42546d;border-radius:7px;padding:10px 14px;font-size:10px;font-weight:700;cursor:pointer}.productActions{display:flex;gap:6px}.smallDanger{border:0;background:#fff1f2;color:#be123c;border-radius:6px;padding:7px 9px;font-size:9px;font-weight:700;cursor:pointer}.makePrimary{position:static!important;width:auto!important;height:auto!important;border-radius:5px!important;background:#eef4ff!important;color:#245bb5!important;box-shadow:none!important;padding:4px 6px!important;font-size:8px!important}

/* Sprint 05 — fixed application frame, independent navigation scroll, and consistent product media */
html,body{height:100%;overflow:hidden}
.appShell{height:100dvh;min-height:0;overflow:hidden;align-items:stretch}
.sidebar{height:100dvh;min-height:0;max-height:100dvh;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-gutter:stable;flex-shrink:0;position:relative;}
.sidebar::-webkit-scrollbar{width:7px}
.sidebar::-webkit-scrollbar-track{background:#102642}
.sidebar::-webkit-scrollbar-thumb{background:#456487;border-radius:8px;border:1px solid #102642}
.sidebar{scrollbar-width:thin;scrollbar-color:#456487 #102642}
.sidebar nav{display:block;flex:0 0 auto;min-height:0}
.sideBottom{margin-top:12px;flex:0 0 auto}
.mainArea{height:100dvh;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-gutter:stable}
.topbar{position:-webkit-sticky;position:sticky;top:0}
.productGrid{grid-template-columns:repeat(auto-fill,minmax(145px,165px));align-items:stretch;gap:11px}
.productTile{width:100%;min-width:0;min-height:220px;display:grid;grid-template-rows:112px auto auto auto auto;align-content:start;grid-gap:6px;gap:6px;overflow:hidden;padding:10px}
.productTileIcon{width:100%;height:112px;min-height:112px;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#f5f7fb;border-radius:8px;padding:7px}
.productTileIcon img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;object-position:center center}
.productTileIcon svg{width:30px;height:30px;flex:0 0 auto}
.productTile b,.productTile small,.productTile strong,.productTile .addHint{display:block;min-width:0;max-width:100%;overflow-wrap:anywhere;line-height:1.35}
.productTile b{font-size:11px;min-height:29px}
.productTile small{font-size:9px;color:#8290a3}
.productTile strong{font-size:12px;align-self:end}
.productTile .addHint{font-size:9px;margin-top:2px}
.storeProductImage{height:140px;min-height:140px;overflow:hidden;padding:8px}
.storeProductImage img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;object-position:center}
@media(max-width:760px){
 .appShell{height:100dvh;overflow:hidden}
 .sidebar{height:100dvh;max-height:100dvh;overflow-y:auto;position:fixed;left:-270px;top:0;bottom:0;z-index:30}
 .sidebar.mobileOpen{left:0}
 .mainArea{height:100dvh;overflow-y:auto}
 .productGrid{grid-template-columns:repeat(auto-fill,minmax(135px,1fr))}
}

/* Sprint 06 — platform administration workspace */
.adminGrid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);grid-gap:14px;gap:14px;margin-top:14px;align-items:start}
.tenantDirectory{display:grid;grid-gap:7px;gap:7px;max-height:340px;overflow:auto}
.tenantRow{display:flex;align-items:center;gap:8px;padding:9px;border:1px solid #e8edf4;border-radius:8px;background:#fff}
.tenantRow.selected{border-color:#8eb4f2;background:#f6f9ff}
.tenantSelect{flex:1 1;min-width:0;text-align:left;border:0;background:transparent;cursor:pointer;color:#24364e}
.tenantSelect b,.tenantSelect small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tenantSelect b{font-size:11px}.tenantSelect small{font-size:9px;color:#8290a3;margin-top:3px}
.statusTag{font-size:8px;font-weight:800;padding:5px 7px;border-radius:20px;white-space:nowrap}
.statusTag.active{background:#e9f9ef;color:#168044}.statusTag.suspended{background:#fff1f2;color:#be123c}
.fullInput{font:11px 'DM Sans';min-height:36px}
.tableSelect{max-width:120px;border:1px solid #dfe6ef;border-radius:6px;padding:6px;background:#fff;color:#334155;font:10px 'DM Sans'}
@media(max-width:900px){.adminGrid{grid-template-columns:1fr}}

/* Sprint 07: keep the brand visible while the navigation list scrolls. */
.sidebar{display:flex;flex-direction:column;overflow:hidden!important}
.sidebar .brand{position:-webkit-sticky;position:sticky;top:0;z-index:5;flex:0 0 auto;background:#142d4e;padding:16px 18px 12px;margin:0;border-bottom:1px solid rgba(255,255,255,.10)}
.sidebar nav{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#456487 #102642}
.sidebar nav::-webkit-scrollbar{width:7px}.sidebar nav::-webkit-scrollbar-track{background:#102642}.sidebar nav::-webkit-scrollbar-thumb{background:#456487;border-radius:8px}
.productTileIcon img{width:100%;height:100%;object-fit:contain;display:block}.productTileIcon{overflow:hidden}
.customerToolbar{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.customerToolbar .searchBox{flex:1 1;margin:0;min-width:220px}.compactSelect{border:1px solid #dfe6ef;border-radius:8px;padding:10px;font:11px 'DM Sans';background:#fff;color:#334155}.interestPicker{border:1px solid #e1e7ef;border-radius:8px;padding:9px;display:flex;gap:8px;flex-wrap:wrap;max-height:110px;overflow:auto}.interestPicker label{font-size:10px;color:#52647b;display:flex;gap:5px;align-items:center}.builderRow{display:grid;grid-template-columns:1fr 1fr 1fr auto;grid-gap:8px;gap:8px;align-items:end}.heldBills{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:12px}.heldBill{display:flex;align-items:center;gap:7px;border:1px solid #dce6f4;border-radius:8px;background:#f7faff;padding:7px 9px;font-size:10px}.heldBill button{border:0;background:transparent;color:#245bb5;cursor:pointer}

/* Sprint 08: consistent product media presentation across catalogue, POS and storefront. */
.productTile img,.storeProductImage img,.productImage img,.existingImage img {
  display:block; width:100%; height:100%; object-fit:contain; object-position:center;
}
.productTile,.storeProductImage,.productImage,.existingImage {
  overflow:hidden; background:#f4f7fb;
}
.productTile img,.storeProductImage img { aspect-ratio: 1 / 1; }


/* Sprint 11 — WhatsApp Business workspace */
.audienceToolbar{display:flex;flex-direction:column;gap:10px;margin:18px 0 8px}
.audienceToolbar .formGrid{max-width:760px}
.audienceList{max-height:260px;overflow:auto;border:1px solid #e4eaf2;border-radius:12px;padding:8px;margin:10px 0 18px}
.audienceRow{display:flex;align-items:center;gap:12px;padding:10px;border-bottom:1px solid #edf1f6;cursor:pointer}
.audienceRow:last-child{border-bottom:0}
.audienceRow input{width:16px;height:16px;accent-color:#2563eb}
.audienceRow span{display:flex;flex-direction:column;gap:3px}
.audienceRow small{font-size:12px;color:#778397}
.fieldLabel textarea.fullInput{resize:vertical;min-height:76px}

.consentCheck{display:flex;align-items:center;gap:9px;margin:12px 0;color:#44536a;font-size:13px}
.consentCheck input{width:16px;height:16px;accent-color:#2563eb}

