@import "https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@400;500;600;700&display=swap";
:root{--bg:#f6f8fc;--surface:#fff;--text:#172842;--muted:#728199;--line:#e3e9f1;--blue:#2859ce;--blue-soft:#eaf0ff;--green:#15946c;--red:#d94e57;--orange:#c98324;--shadow:0 4px 18px #1c325809}*{box-sizing:border-box}html,body{min-height:100%;color:var(--text);background:var(--bg);margin:0;font-family:IBM Plex Sans Arabic,Tahoma,sans-serif}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button{cursor:pointer}h1,h2,h3,p{margin-top:0}h1{letter-spacing:-.4px;margin-bottom:5px;font-size:27px;line-height:1.4}h2{margin-bottom:2px;font-size:16px}h3{font-size:14px}.muted,.page-head p,.panel-title p{color:var(--muted)}.app-shell{min-height:100vh;display:flex}.sidebar{border-left:1px solid var(--line);background:#fff;flex-direction:column;flex:none;width:246px;height:100vh;padding:26px 17px 20px;display:flex;position:sticky;top:0}.brand-mark{align-items:center;gap:10px;padding:0 9px 30px;font-size:13px;display:flex}.brand-mark strong{line-height:1.3;display:block}.brand-mark small{color:#8c99aa;text-align:right;direction:ltr;margin-top:3px;font-size:9px;display:block}.brand-icon{background:var(--blue);color:#fff;border-radius:10px;place-items:center;width:35px;height:35px;display:grid}.sidebar-label{color:#9daab9;padding:0 15px 9px;font-size:10px;font-weight:700}.sidebar nav{gap:4px;display:grid}.side-link{color:#60718a;border-radius:8px;align-items:center;gap:12px;padding:11px 14px;font-size:13px;font-weight:500;display:flex}.side-link:hover,.side-link:focus-visible{background:var(--blue-soft);color:var(--blue);outline:none}.sidebar-bottom{border-top:1px solid var(--line);color:var(--muted);align-items:center;gap:6px;margin-top:auto;padding:18px 7px 0;font-size:10px;display:flex}.live-dot,.status-dot{background:#1ab781;border-radius:50%;flex:none;width:7px;height:7px;display:inline-block}.status-dot.bad{background:var(--red)}.main-shell{flex:1;min-width:0}.topbar{border-bottom:1px solid var(--line);background:#fff;justify-content:space-between;align-items:center;gap:20px;height:70px;padding:0 30px;display:flex}.global-search{border:1px solid var(--line);color:#9aa8b9;background:#fafbfd;border-radius:8px;align-items:center;gap:10px;width:min(565px,65%);height:38px;padding:0 12px;display:flex}.global-search input{min-width:0;color:var(--text);background:0 0;border:0;outline:0;flex:1;font-size:12px}.global-search kbd{border:1px solid var(--line);border-radius:4px;padding:2px 5px;font:11px Arial}.top-actions{align-items:center;gap:20px;display:flex}.top-date{color:#63758d;white-space:nowrap;align-items:center;gap:7px;font-size:11px;display:flex}.avatar{color:var(--blue);background:#dce7ff;border-radius:50%;place-items:center;width:32px;height:32px;font-size:12px;font-weight:700;display:grid}.content{max-width:1600px;margin:auto;padding:30px}.page-head{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:22px;display:flex}.page-head p{margin-bottom:0;font-size:12px}.page-head .eyebrow{color:var(--blue);margin-bottom:6px;font-size:11px;font-weight:700}.secondary-button,.primary-button{white-space:nowrap;color:var(--blue);background:#fff;border:1px solid #ced9ed;border-radius:7px;padding:8px 13px;font-size:11px;font-weight:700}.primary-button{background:var(--blue);color:#fff;border-color:var(--blue)}.secondary-button:hover,.primary-button:hover{filter:brightness(.95)}.notice{color:#93641c;background:#fffaf0;border:1px solid #f2dcaa;border-radius:8px;margin:0 0 15px;padding:10px 13px;font-size:11px}.notice.error{color:#b5474f;background:#fff5f5;border-color:#f2c4c8}.stats-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:20px;display:grid}.stat-card{border:1px solid var(--line);box-shadow:var(--shadow);background:#fff;border-radius:9px;min-height:112px;padding:15px 17px}.stat-top{color:var(--muted);justify-content:space-between;align-items:flex-start;font-size:11px;display:flex}.stat-card strong{letter-spacing:-.5px;margin-top:9px;font-size:23px;line-height:1.1;display:block}.stat-card small{color:var(--muted);font-size:10px}.stat-icon{background:var(--blue-soft);width:30px;height:30px;color:var(--blue);border-radius:7px;place-items:center;display:grid}.stat-icon.green{color:var(--green);background:#e8f7f2}.stat-icon.red{color:var(--red);background:#ffedef}.stat-icon.orange{color:var(--orange);background:#fff3e3}.panel{border:1px solid var(--line);box-shadow:var(--shadow);background:#fff;border-radius:9px;min-width:0}.panel-title{border-bottom:1px solid var(--line);justify-content:space-between;align-items:flex-start;gap:12px;padding:17px 19px 14px;display:flex}.panel-title h2{font-weight:700}.panel-title p{margin:0;font-size:10px}.panel-title a{color:var(--blue);white-space:nowrap;font-size:11px}.overview-grid{grid-template-columns:minmax(0,1.7fr) minmax(280px,.8fr);gap:15px;margin-bottom:18px;display:grid}.chart-wrap{direction:ltr;height:285px;padding:19px 12px 12px 0}.sync-list{padding:7px 18px}.sync-row{border-bottom:1px solid var(--line);justify-content:space-between;gap:10px;padding:16px 1px;font-size:12px;display:flex}.sync-row:last-child{border-bottom:0}.sync-row strong,.sync-row small{display:block}.sync-row small,.sync-time{color:var(--muted);font-size:10px}.sync-time{align-items:center;gap:7px;display:flex}.sync-panel>.muted{padding:0 19px 16px;font-size:10px;line-height:1.8;display:block}.two-col{grid-template-columns:minmax(0,1.4fr) minmax(320px,.9fr);gap:15px;display:grid}.table-scroll{overflow:auto}table{border-collapse:collapse;text-align:right;width:100%;font-size:11px}th{color:#75849b;white-space:nowrap;background:#f8fafd;font-weight:600}th,td{border-bottom:1px solid #edf1f6;padding:11px 13px}tbody tr:hover{background:#fbfcff}tbody tr:last-child td{border-bottom:0}.strong-cell{font-weight:700}.event-list{padding:3px 18px}.event-row{border-bottom:1px solid var(--line);align-items:center;gap:10px;padding:12px 0;font-size:11px;display:flex}.event-row:last-child{border-bottom:0}.event-row>div{flex:1;min-width:0}.event-row strong,.event-row small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.event-row small{color:var(--muted)}.event-row time{color:var(--muted);white-space:nowrap;font-size:10px}.event-dot{border:2px solid var(--blue);border-radius:50%;flex:none;width:7px;height:7px}.empty{color:#8c9bb0;text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:8px;min-height:200px;padding:25px;display:flex}.empty strong{color:#516681;font-size:12px}.empty p{max-width:310px;font-size:10px}.filter-bar{flex-wrap:wrap;align-items:end;gap:8px;padding:15px;display:flex}.filter-bar label{color:var(--muted);gap:5px;font-size:10px;display:grid}.filter-bar input,.filter-bar select{min-width:110px;height:34px;color:var(--text);background:#fff;border:1px solid #dbe3ef;border-radius:6px;padding:0 9px;font-size:11px}.filter-bar input[type=number]{width:85px;min-width:75px}.filter-bar .search-field{min-width:190px}.filter-bar button{background:var(--blue);color:#fff;border:0;border-radius:6px;height:34px;padding:0 13px;font-size:11px}.product-thumb{border:1px solid var(--line);object-fit:contain;background:#fff;border-radius:5px;width:34px;height:34px}.product-cell{align-items:center;gap:9px;min-width:220px;display:flex}.product-cell a{font-weight:700}.product-cell small{color:var(--muted);display:block}.badge{color:#4b6080;white-space:nowrap;background:#eef3fb;border-radius:5px;align-items:center;padding:3px 7px;font-size:10px;display:inline-flex}.badge.green{color:#13855f;background:#e7f7f0}.badge.red{color:#c34852;background:#ffeaed}.badge.orange{color:#a97224;background:#fff3e5}.page-pagination{color:var(--muted);justify-content:space-between;align-items:center;gap:15px;padding:13px 16px;font-size:10px;display:flex}.page-pagination>div{gap:6px;display:flex}.page-pagination a{border:1px solid var(--line);color:var(--blue);border-radius:5px;padding:5px 9px}.detail-grid{grid-template-columns:250px 1fr;gap:16px;display:grid}.detail-image{border:1px solid var(--line);background:#fff;border-radius:9px;place-items:center;min-height:240px;display:grid}.detail-image img{object-fit:contain;max-width:90%;max-height:220px}.detail-main{gap:13px;display:grid}.detail-meta{padding:19px}.detail-meta h1{font-size:22px}.detail-meta .muted{font-size:11px}.detail-kpis{grid-template-columns:repeat(4,1fr);gap:12px;display:grid}.detail-kpis .stat-card{min-height:95px}.section-stack{gap:17px;margin-top:18px;display:grid}.offer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:16px;display:grid}.offer-card{border:1px solid var(--line);border-radius:7px;padding:14px}.offer-card header{justify-content:space-between;align-items:center;display:flex}.offer-card strong{font-size:13px}.offer-price{margin:12px 0 3px;font-size:22px;font-weight:700}.offer-sub{color:var(--muted);font-size:11px}.offer-card footer{justify-content:space-between;align-items:center;margin-top:13px;display:flex}.offer-card footer a{color:var(--blue);font-size:10px}.simple-grid{grid-template-columns:repeat(3,1fr);gap:14px;display:grid}.metric-block{padding:18px}.metric-block strong{font-size:23px;display:block}.metric-block small{color:var(--muted)}.skeleton{background:linear-gradient(90deg,#eaf0f7,#f6f8fb,#eaf0f7) 0 0/200% 100%;border-radius:8px;height:90px;animation:1.5s infinite shimmer}@keyframes shimmer{to{background-position:-200% 0}}.error-page{background:#fff;border:1px solid #efc8cb;border-radius:9px;max-width:600px;margin:80px auto;padding:25px}.error-page h1{font-size:20px}@media (max-width:1200px){.stats-grid{grid-template-columns:repeat(2,1fr)}.overview-grid,.two-col{grid-template-columns:1fr}.content{padding:22px}}@media (max-width:760px){.app-shell{display:block}.sidebar{border-left:0;border-bottom:1px solid var(--line);width:100%;height:auto;padding:12px;position:static}.brand-mark{padding:0 0 10px}.sidebar-label,.sidebar-bottom{display:none}.sidebar nav{gap:2px;display:flex;overflow-x:auto}.side-link{flex:none;padding:8px 10px;font-size:11px}.side-link svg{width:15px}.topbar{height:58px;padding:0 14px}.global-search{width:100%}.top-actions{display:none}.content{padding:16px}.page-head{align-items:flex-start}.page-head h1{font-size:21px}.page-head .secondary-button{display:none}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.stat-card{min-height:90px;padding:11px}.stat-card strong{font-size:18px}.detail-grid,.detail-kpis,.offer-grid,.simple-grid{grid-template-columns:1fr}.detail-image{min-height:170px}.detail-image img{max-height:150px}.page-pagination{flex-wrap:wrap}}.store-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.store-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.store-metrics strong{font-size:20px}.store-metrics small{line-height:1.5;display:block}@media (max-width:900px){.store-cards{grid-template-columns:1fr}}
