/* One dashboard layout, with the same geometry in both appearances. */
html#baladyPlatformRoot body#baladyPlatformBody[data-platform-design="editorial"] #dashboardView { --merchant-surface:#fffdf8;--merchant-soft:#f1f5ef;--merchant-ink:#163c2c;--merchant-muted:#63756b;--merchant-line:#dce6dc;--merchant-accent:#19784c;max-width:1040px;width:100%;margin:0 auto!important;padding:0!important;display:flex;flex-direction:column;gap:14px; }
html#baladyPlatformRoot[data-theme="night"] body#baladyPlatformBody[data-platform-design="editorial"] #dashboardView { --merchant-surface:#10271f;--merchant-soft:#17352a;--merchant-ink:#edf6ef;--merchant-muted:#a9bdb0;--merchant-line:#315344;--merchant-accent:#7bdfa4; }
html#baladyPlatformRoot body#baladyPlatformBody[data-platform-design="editorial"] #dashboardView.hidden { display:none!important; }
html#baladyPlatformRoot body#baladyPlatformBody[data-platform-design="editorial"] #dashboardView .dashboard-screen-head { display:none!important; }
html#baladyPlatformRoot body#baladyPlatformBody[data-platform-design="editorial"] #dashboardView :is(.dashboard-surface-card,.dashboard-performance-card) { margin:0!important;padding:12px 0!important;border:0!important;border-radius:0!important;background:transparent!important;color:var(--merchant-ink)!important;box-shadow:none!important;min-width:0; }
html#baladyPlatformRoot body#baladyPlatformBody[data-platform-design="editorial"] #dashboardView .merchant-dashboard-hero { display:grid!important;grid-template-columns:64px minmax(0,1fr)!important;align-items:center;gap:14px;margin:0!important;padding:20px!important;border:1px solid var(--merchant-line)!important;border-radius:26px!important;background:radial-gradient(ellipse at 0 0,#71c98555,transparent 65%),linear-gradient(125deg,#075036,#103c2c)!important;color:#fff!important;overflow:hidden!important;min-height:150px; }
html#baladyPlatformRoot body#baladyPlatformBody[data-platform-design="editorial"] #dashboardView .merchant-dashboard-hero::before,html#baladyPlatformRoot body#baladyPlatformBody[data-platform-design="editorial"] #dashboardView .merchant-dashboard-hero::after { display:none!important; }
html#baladyPlatformRoot body#baladyPlatformBody[data-platform-design="editorial"] #dashboardView .merchant-dashboard-avatar { width:64px!important;height:64px!important;border:3px solid var(--merchant-surface);border-radius:20px!important;background:var(--merchant-surface);overflow:hidden;display:grid;place-items:center; }
html#baladyPlatformRoot body#baladyPlatformBody[data-platform-design="editorial"] #dashboardView .merchant-dashboard-avatar img { width:100%;height:100%;object-fit:cover; }
html#baladyPlatformRoot body#baladyPlatformBody[data-platform-design="editorial"] #dashboardView .merchant-dashboard-hero .dashboard-hero-kicker { display:inline-block;padding:3px 9px;border-radius:8px;background:#ffffff18!important;color:#fff!important;font-size:11px; }
html#baladyPlatformRoot body#baladyPlatformBody[data-platform-design="editorial"] #dashboardView .dashboard-hero-copy h3 { margin:8px 0 4px!important;font-size:22px!important;line-height:1.5;color:#fff!important; }
html#baladyPlatformRoot body#baladyPlatformBody[data-platform-design="editorial"] #dashboardView .dashboard-hero-copy p { margin:0!important;font-size:12px!important;line-height:1.8;color:#d1e6d9!important; }
html#baladyPlatformRoot body#baladyPlatformBody[data-platform-design="editorial"] #dashboardView .dashboard-primary-actions { display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px!important;margin:0!important;padding:0!important;overflow:visible!important; }
html#baladyPlatformRoot body#baladyPlatformBody[data-platform-design="editorial"] #dashboardView .dashboard-action-pill { display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:8px!important;width:100%!important;min-width:0!important;min-height:86px!important;height:auto!important;padding:12px 5px!important;border:1px solid var(--merchant-line)!important;border-radius:20px!important;background:var(--merchant-surface)!important;color:var(--merchant-ink)!important;font-size:12px!important;line-height:1.6!important;text-decoration:none;box-shadow:none!important; }
html#baladyPlatformRoot body#baladyPlatformBody[data-platform-design="editorial"] #dashboardView .dashboard-action-pill svg { width:24px!important;height:24px!important;padding:7px!important;box-sizing:content-box;border-radius:12px!important;background:var(--merchant-soft)!important;color:var(--merchant-accent)!important; }
html#baladyPlatformRoot body#baladyPlatformBody[data-platform-design="editorial"] #dashboardView .dashboard-action-pill[data-dashboard-action="add-product"] { background:#176b46!important;color:#fff!important;border-color:#176b46!important; }
html#baladyPlatformRoot body#baladyPlatformBody[data-platform-design="editorial"] #dashboardView .dashboard-action-pill[data-dashboard-action="add-product"] svg { color:#fff!important;background:#ffffff1c!important; }
html#baladyPlatformRoot body#baladyPlatformBody[data-platform-design="editorial"] #dashboardView .merchant-orders-strip { display:flex;width:100%!important;align-items:center;justify-content:space-between;gap:12px;margin:0!important;padding:14px!important;border-radius:18px!important;border:1px solid var(--merchant-line)!important;background:var(--merchant-soft)!important;color:var(--merchant-ink)!important;box-shadow:none!important;font:inherit;font-size:12px; }
html#baladyPlatformRoot body#baladyPlatformBody[data-platform-design="editorial"] #dashboardView .merchant-orders-strip>span { display:flex;align-items:center;gap:7px; }.merchant-orders-strip svg{width:19px;height:19px}.merchant-orders-strip b{display:grid;place-items:center;min-width:28px;height:28px;border-radius:9px;background:var(--merchant-surface)}
html#baladyPlatformRoot body#baladyPlatformBody[data-platform-design="editorial"] #dashboardView .dashboard-performance-card { display:grid;grid-template-columns:1fr;gap:16px; }
html#baladyPlatformRoot body#baladyPlatformBody[data-platform-design="editorial"] #dashboardView .dashboard-sales-chart { padding:0!important;background:transparent!important;min-width:0; }
.dashboard-sales-head { display:flex;justify-content:space-between;align-items:start;gap:10px; }.dashboard-sales-head>div{display:grid;gap:6px}.dashboard-sales-head span{font-size:12px;color:var(--merchant-muted)}.dashboard-sales-head strong{font-size:28px;color:var(--merchant-ink)}.dashboard-live-data{font-size:10px;padding:5px 8px;background:var(--merchant-soft);border-radius:8px;color:var(--merchant-accent)}
html#baladyPlatformRoot body#baladyPlatformBody[data-platform-design="editorial"] #dashboardView .dashboard-sales-chart svg { width:100%;height:145px!important;margin:14px 0 0;background:repeating-linear-gradient(to bottom,transparent 0,transparent 35px,var(--merchant-line) 36px);border-radius:12px; }
html#baladyPlatformRoot body#baladyPlatformBody[data-platform-design="editorial"] #dashboardView .dashboard-sales-chart svg.is-empty { height:64px!important;opacity:.6; }
html#baladyPlatformRoot body#baladyPlatformBody[data-platform-design="editorial"] #dashboardView #statsGrid { display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;margin:0!important;padding:0!important; }
html#baladyPlatformRoot body#baladyPlatformBody[data-platform-design="editorial"] #dashboardView .dashboard-stat-card { display:grid!important;grid-template-columns:34px minmax(0,1fr);grid-template-areas:"icon value" "label label";align-content:start;gap:9px!important;text-align:start!important;height:auto!important;min-height:104px!important;padding:13px!important;border-radius:15px!important;border:1px solid var(--merchant-line)!important;background:var(--merchant-surface)!important;overflow:visible!important;box-shadow:none!important; }
html#baladyPlatformRoot body#baladyPlatformBody[data-platform-design="editorial"] #dashboardView .dashboard-stat-card::before { display:none!important; }
html#baladyPlatformRoot body#baladyPlatformBody[data-platform-design="editorial"] #dashboardView .dashboard-stat-card .stat-icon { grid-area:icon;width:30px;height:30px;display:grid!important;place-items:center;background:var(--merchant-soft)!important;border-radius:10px;margin:0!important; }.dashboard-stat-card .stat-icon svg{width:24px;height:24px;color:var(--merchant-accent)}
html#baladyPlatformRoot body#baladyPlatformBody[data-platform-design="editorial"] #dashboardView .dashboard-stat-card .value { grid-area:value;align-self:center;font-size:23px!important;line-height:1.3!important;color:var(--merchant-ink)!important;overflow-wrap:anywhere; }
html#baladyPlatformRoot body#baladyPlatformBody[data-platform-design="editorial"] #dashboardView .dashboard-stat-card .label { grid-area:label;font-size:12px!important;line-height:1.6!important;white-space:normal!important;color:var(--merchant-muted)!important;overflow:visible!important; }
.dashboard-management-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.dashboard-management-actions button{display:grid;grid-template-columns:34px minmax(0,1fr);grid-template-areas:"icon title" "icon copy";column-gap:9px;row-gap:4px;align-items:center;min-width:0;padding:13px 10px;border:1px solid var(--merchant-line);border-radius:15px;background:var(--merchant-soft);color:var(--merchant-ink);text-align:start;font:inherit;cursor:pointer}.dashboard-management-actions button>span{grid-area:icon;display:grid;place-items:center;width:32px;height:32px}.dashboard-management-actions svg{width:24px;height:24px;color:var(--merchant-accent)}.dashboard-management-actions b{grid-area:title;font-size:12px;line-height:1.6}.dashboard-management-actions small{grid-area:copy;font-size:10px;line-height:1.7;color:var(--merchant-muted);white-space:normal}
html#baladyPlatformRoot body#baladyPlatformBody[data-platform-design="editorial"] #dashboardView :is(h3,.section-head h3) { font-size:18px;margin:0 0 6px; }.dashboard-management-panel .section-head{margin-bottom:14px}.dashboard-management-panel .section-head p{font-size:12px}
.dashboard-settings-disclosure summary{display:flex;align-items:center;gap:9px;min-height:32px;list-style:none;cursor:pointer;font-weight:700;font-size:14px}.dashboard-settings-disclosure summary::-webkit-details-marker{display:none}.dashboard-settings-disclosure summary svg{width:21px;height:21px}.dashboard-settings-disclosure summary>span:last-child{margin-inline-start:auto}.dashboard-settings-disclosure[open] summary{margin-bottom:16px}
html#baladyPlatformRoot body#baladyPlatformBody[data-platform-design="editorial"] #dashboardView :is(.field,.business-days-grid label) { border:1px solid var(--merchant-line)!important;border-radius:12px!important;background:var(--merchant-soft)!important;color:var(--merchant-ink)!important;min-height:46px;padding:11px 12px!important;box-shadow:none!important; }
html#baladyPlatformRoot body#baladyPlatformBody[data-platform-design="editorial"] #dashboardView .field-stack { display:grid;gap:7px;font-size:13px; }.business-days-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
html#baladyPlatformRoot body#baladyPlatformBody[data-platform-design="editorial"] #dashboardView .dashboard-products-toolbar { display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-block:14px; }.dashboard-products-toolbar #dashboardProductSearch{grid-column:1/-1}.dashboard-managed-grid{display:grid;gap:12px}
@media(min-width:700px){html#baladyPlatformRoot body#baladyPlatformBody[data-platform-design="editorial"] #dashboardView .dashboard-primary-actions{grid-template-columns:repeat(6,minmax(0,1fr))}html#baladyPlatformRoot body#baladyPlatformBody[data-platform-design="editorial"] #dashboardView #statsGrid{grid-template-columns:repeat(4,minmax(0,1fr))!important}.dashboard-managed-grid{grid-template-columns:repeat(2,minmax(0,1fr))}html#baladyPlatformRoot body#baladyPlatformBody[data-platform-design="editorial"] #dashboardView .platform-services-showcase{grid-auto-columns:minmax(245px,40%)}}
@media(prefers-reduced-motion:no-preference){#dashboardView :is(button,a,input,select,textarea){transition:background-color .15s,border-color .15s,box-shadow .15s}#dashboardView :is(button,a):active{transform:translateY(1px)}}

/* Keep hero text legible against the green header in both themes. */
html#baladyPlatformRoot#baladyPlatformRoot body#baladyPlatformBody#baladyPlatformBody #dashboardView .merchant-dashboard-hero :is(h3,.dashboard-hero-kicker){color:#fff!important}
html#baladyPlatformRoot#baladyPlatformRoot body#baladyPlatformBody#baladyPlatformBody #dashboardView .merchant-dashboard-hero p{color:#d1e6d9!important}

/* Inventory layout has one geometry; legacy list-item and nav styles cannot reshape it. */
html#baladyPlatformRoot#baladyPlatformRoot body#baladyPlatformBody#baladyPlatformBody #dashboardView .managed-product-card{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important;min-width:0!important;margin:0!important;padding:14px!important;border:1px solid var(--merchant-line)!important;border-radius:18px!important;background:var(--merchant-surface)!important;box-shadow:none!important}
html#baladyPlatformRoot#baladyPlatformRoot body#baladyPlatformBody#baladyPlatformBody #dashboardView .managed-product-head{display:grid!important;grid-template-columns:68px minmax(0,1fr)!important;gap:12px!important;align-items:start!important;min-width:0!important}
html#baladyPlatformRoot#baladyPlatformRoot body#baladyPlatformBody#baladyPlatformBody #dashboardView .managed-product-image{position:static!important;inset:auto!important;width:68px!important;height:74px!important;min-width:68px!important;margin:0!important;border-radius:12px!important;object-fit:cover!important;transform:none!important;grid-column:1!important;grid-row:1!important}
html#baladyPlatformRoot#baladyPlatformRoot body#baladyPlatformBody#baladyPlatformBody #dashboardView .managed-product-copy{grid-column:2!important;grid-row:1!important;min-width:0!important;display:grid!important;gap:6px!important;text-align:start!important}
html#baladyPlatformRoot#baladyPlatformRoot body#baladyPlatformBody#baladyPlatformBody #dashboardView .managed-product-title-row{display:block!important;min-width:0!important}html#baladyPlatformRoot#baladyPlatformRoot body#baladyPlatformBody#baladyPlatformBody #dashboardView .managed-product-copy strong{display:block!important;font-size:15px!important;line-height:1.7!important;white-space:normal!important;overflow-wrap:anywhere!important;color:var(--merchant-ink)!important}
html#baladyPlatformRoot#baladyPlatformRoot body#baladyPlatformBody#baladyPlatformBody #dashboardView :is(.managed-product-meta-row,.managed-product-support-row){display:flex!important;flex-wrap:wrap!important;gap:4px 10px!important;font-size:10px!important;line-height:1.7!important;color:var(--merchant-muted)!important}
html#baladyPlatformRoot#baladyPlatformRoot body#baladyPlatformBody#baladyPlatformBody #dashboardView .managed-product-side{grid-column:1/-1!important;grid-row:2!important;display:flex!important;align-items:center!important;justify-content:space-between!important;flex-wrap:wrap!important;gap:8px!important;min-width:0!important;max-width:none!important}
html#baladyPlatformRoot#baladyPlatformRoot body#baladyPlatformBody#baladyPlatformBody #dashboardView .managed-product-price{font-size:15px!important;line-height:1.6!important;white-space:normal!important;color:var(--merchant-ink)!important}html#baladyPlatformRoot#baladyPlatformRoot body#baladyPlatformBody#baladyPlatformBody #dashboardView .managed-product-status-chip{font-size:10px!important;padding:4px 9px!important;border-radius:8px!important;background:var(--merchant-soft)!important;color:var(--merchant-accent)!important}html#baladyPlatformRoot#baladyPlatformRoot body#baladyPlatformBody#baladyPlatformBody #dashboardView .managed-product-side-note{display:none!important}
html#baladyPlatformRoot#baladyPlatformRoot body#baladyPlatformBody#baladyPlatformBody #dashboardView .managed-product-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important;width:100%!important}
html#baladyPlatformRoot#baladyPlatformRoot body#baladyPlatformBody#baladyPlatformBody #dashboardView .managed-action-icon{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:center!important;grid-column:auto!important;gap:6px!important;min-width:0!important;width:100%!important;min-height:44px!important;height:auto!important;margin:0!important;padding:8px 6px!important;border:1px solid var(--merchant-line)!important;border-radius:11px!important;background:var(--merchant-soft)!important;color:var(--merchant-ink)!important;overflow:visible!important;white-space:normal!important}
html#baladyPlatformRoot#baladyPlatformRoot body#baladyPlatformBody#baladyPlatformBody #dashboardView .managed-action-glyph{display:grid!important;place-items:center!important;flex:none!important;width:18px!important;height:18px!important}html#baladyPlatformRoot#baladyPlatformRoot body#baladyPlatformBody#baladyPlatformBody #dashboardView .managed-action-glyph svg{width:18px!important;height:18px!important;padding:0!important}html#baladyPlatformRoot#baladyPlatformRoot body#baladyPlatformBody#baladyPlatformBody #dashboardView .managed-action-label{font-size:10px!important;line-height:1.5!important;white-space:normal!important;color:inherit!important}html#baladyPlatformRoot#baladyPlatformRoot body#baladyPlatformBody#baladyPlatformBody #dashboardView .dashboard-icon-delete{color:#c44b4b!important}
@media(max-width:699px){
html#baladyPlatformRoot#baladyPlatformRoot body#baladyPlatformBody#baladyPlatformBody[data-view="dashboard"] main.container.main-space{box-sizing:border-box;width:100%!important;max-width:100%!important;margin:0!important;padding:12px 8px 100px!important}
html#baladyPlatformRoot#baladyPlatformRoot body#baladyPlatformBody#baladyPlatformBody #dashboardView{gap:16px!important}html#baladyPlatformRoot#baladyPlatformRoot body#baladyPlatformBody#baladyPlatformBody #dashboardView :is(.dashboard-surface-card,.dashboard-performance-card){padding:8px 0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
html#baladyPlatformRoot#baladyPlatformRoot body#baladyPlatformBody#baladyPlatformBody #dashboardView .dashboard-managed-grid{grid-template-columns:minmax(0,1fr)!important;gap:12px!important}html#baladyPlatformRoot#baladyPlatformRoot body#baladyPlatformBody#baladyPlatformBody #dashboardView .dashboard-products-toolbar{padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
}

html#baladyPlatformRoot body#baladyPlatformBody[data-platform-design="editorial"] #dashboardView .platform-services-heading .dashboard-hero-kicker{background:var(--merchant-soft)!important;color:var(--merchant-accent)!important;border-radius:8px;padding:3px 8px;font-size:11px}
