/* _content/MLmargin/Frontend/Layout/MainLayout.razor.rz.scp.css */
.page[b-3er2nqfejo] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-3er2nqfejo] {
    flex: 1;
    /* Flex items default to min-width:auto, so a wide child (e.g. the Decision Making Report's
       horizontally-scrolling table) would force this column past the viewport and scroll the whole
       page. min-width:0 lets it shrink to the available width so inner ScrollX containers own their
       own horizontal overflow instead of leaking it to the page. */
    min-width: 0;
    background: #ffffff;
}

article[b-3er2nqfejo] {
    background: #f6f9fc;
    min-height: calc(100vh - 3.5rem);
    padding: 2rem 2rem 3rem 2rem !important;
}

/* Stripe-y deep navy sidebar with a faint signature-purple wash near the
   bottom — mirrors the mesh used on the marketing hero. */
.sidebar[b-3er2nqfejo] {
    background:
        radial-gradient(ellipse 90% 70% at 50% 110%, rgba(99, 91, 255, 0.30), transparent 60%),
        linear-gradient(180deg, #11315a 0%, #0a2540 65%);
    color: #fff;
}

.top-row[b-3er2nqfejo] {
    background-color: #ffffff;
    border-bottom: 1px solid #e3e8ee;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-3er2nqfejo]  a, .top-row[b-3er2nqfejo]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
        color: #425466;
    }

    .top-row[b-3er2nqfejo]  a:hover, .top-row[b-3er2nqfejo]  .btn-link:hover {
        color: #635bff;
        text-decoration: none;
    }

    .top-row[b-3er2nqfejo]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-3er2nqfejo] {
        justify-content: space-between;
    }

    .top-row[b-3er2nqfejo]  a, .top-row[b-3er2nqfejo]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-3er2nqfejo] {
        flex-direction: row;
    }

    .sidebar[b-3er2nqfejo] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-3er2nqfejo] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-3er2nqfejo]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-3er2nqfejo], article[b-3er2nqfejo] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-3er2nqfejo] {
    background: #fff7e6;
    border-top: 1px solid #f5d384;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(10, 37, 64, 0.08);
    box-sizing: border-box;
    color: #0a2540;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-3er2nqfejo] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* _content/MLmargin/Frontend/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-tjywttqozf] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-tjywttqozf] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-tjywttqozf] {
    height: 3.5rem;
    background-color: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar-brand[b-tjywttqozf] {
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: #fff;
}

/* Small uppercase group labels, Stripe-dashboard style: they carry the grouping
   so the items themselves can stay short. */
.nav-section[b-tjywttqozf] {
    padding: 1.1rem 1.9rem 0.35rem 1.9rem;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.42);
    user-select: none;
}

/* Icons are alpha MASKS painted with currentColor, so they follow the link's
   own state for free: dim on disabled links, bright on hover/active. A data-URI
   background-image can't do that — it is one baked color forever. */
.nav-ico[b-tjywttqozf] {
    display: inline-block;
    flex: none;
    width: 1.1rem;
    height: 1.1rem;
    margin-right: 0.75rem;
    background-color: currentColor;
    -webkit-mask: var(--ico) no-repeat center / contain;
    mask: var(--ico) no-repeat center / contain;
}

.nav-ico-home[b-tjywttqozf] {
    --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.25 7.75 8 2.5l5.75 5.25M4.25 7.4v5.85h7.5V7.4'/%3E%3C/svg%3E");
}

.nav-ico-config[b-tjywttqozf] {
    --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='black'%3E%3Cpath d='M8 4.754a3.246 3.246 0 1 0 0 6.492 3.246 3.246 0 0 0 0-6.492M5.754 8a2.246 2.246 0 1 1 4.492 0 2.246 2.246 0 0 1-4.492 0'/%3E%3Cpath d='M9.796 1.343c-.527-1.79-3.065-1.79-3.592 0l-.094.319a.873.873 0 0 1-1.255.52l-.292-.16c-1.64-.892-3.433.902-2.54 2.541l.159.292a.873.873 0 0 1-.52 1.255l-.319.094c-1.79.527-1.79 3.065 0 3.592l.319.094a.873.873 0 0 1 .52 1.255l-.16.292c-.892 1.64.901 3.434 2.541 2.54l.292-.159a.873.873 0 0 1 1.255.52l.094.319c.527 1.79 3.065 1.79 3.592 0l.094-.319a.873.873 0 0 1 1.255-.52l.292.16c1.64.893 3.434-.902 2.54-2.541l-.159-.292a.873.873 0 0 1 .52-1.255l.319-.094c1.79-.527 1.79-3.065 0-3.592l-.319-.094a.873.873 0 0 1-.52-1.255l.16-.292c.893-1.64-.902-3.433-2.541-2.54l-.292.159a.873.873 0 0 1-1.255-.52z'/%3E%3C/svg%3E");
}

.nav-ico-inference[b-tjywttqozf] {
    --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4.4' y='4.4' width='7.2' height='7.2' rx='1'/%3E%3Crect x='6.9' y='6.9' width='2.2' height='2.2'/%3E%3Cpath d='M8 1.5v2M8 12.5v2M1.5 8h2M12.5 8h2'/%3E%3C/svg%3E");
}

.nav-ico-decisions[b-tjywttqozf] {
    --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.25' y='2.75' width='9.5' height='11.5' rx='1.2'/%3E%3Cpath d='M6 1.75h4M6 6.5h4.5M6 9h4.5M6 11.5h2.5'/%3E%3C/svg%3E");
}

.nav-ico-orders[b-tjywttqozf] {
    --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 1.75 14 5v6l-6 3.25L2 11V5z'/%3E%3Cpath d='M2 5l6 3 6-3M8 8v6'/%3E%3C/svg%3E");
}

.nav-ico-suppliers[b-tjywttqozf] {
    --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1.75 4.75h7.5v6h-7.5zM9.25 6.75h2.7l2.3 2.5v1.5h-5z'/%3E%3Ccircle cx='4.75' cy='12.4' r='1.4'/%3E%3Ccircle cx='11.6' cy='12.4' r='1.4'/%3E%3C/svg%3E");
}

.nav-ico-monitoring[b-tjywttqozf] {
    --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1.5 8.25h2.8l1.6-4.4 3.1 8.3 1.6-3.9h3.9'/%3E%3C/svg%3E");
}

.nav-ico-benchmark[b-tjywttqozf] {
    --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 13.75h12M4.25 13.25V8.75M8 13.25V3.75M11.75 13.25V6.25'/%3E%3C/svg%3E");
}

.nav-item[b-tjywttqozf] {
    font-size: 0.9rem;
    padding-bottom: 0.25rem;
}
    .nav-item:first-of-type[b-tjywttqozf] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-tjywttqozf] {
        padding-bottom: 1rem;
    }

    .nav-item[b-tjywttqozf]  .nav-link {
        color: rgba(255, 255, 255, 0.72);
        background: none;
        border: none;
        border-radius: 8px;
        min-height: 2.6rem;
        display: flex;
        align-items: center;
        line-height: 1.3;
        width: 100%;
        padding: 0.4rem 0.875rem;
        font-weight: 500;
        position: relative;
        transition: background-color 120ms ease, color 120ms ease;
    }

/* Active indicator: the link picks up the soft purple wash, and a 3px purple
   bar is rendered as a pseudo-element offset slightly outside the rounded
   pill so it never clashes with the icon glyph. */
.nav-item[b-tjywttqozf]  a.active {
    background-color: rgba(99, 91, 255, 0.18);
    color: #ffffff;
}

.nav-item[b-tjywttqozf]  a.active::before {
    content: "";
    position: absolute;
    left: -0.5rem;
    top: 0.4rem;
    bottom: 0.4rem;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: #635bff;
}

.nav-item[b-tjywttqozf]  .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.nav-item[b-tjywttqozf]  .nav-link.disabled,
.nav-item[b-tjywttqozf]  span.nav-link.disabled {
    color: rgba(255, 255, 255, 0.35);
    cursor: not-allowed;
}

.nav-scrollable[b-tjywttqozf] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-tjywttqozf] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-tjywttqozf] {
        display: none;
    }

    .nav-scrollable[b-tjywttqozf] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* _content/MLmargin/Frontend/Pages/ActiveProducts.razor.rz.scp.css */
.fs-controls[b-4a8vjy0u8j] {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    margin-bottom: 0.75rem;
}

.fs-filter[b-4a8vjy0u8j] {
    max-width: 320px;
    padding: 0.35rem 0.7rem;
    border: 1px solid #e3e8ee;
    border-radius: 6px;
    font-size: 0.9rem;
}

    .fs-filter:focus[b-4a8vjy0u8j] {
        outline: none;
        border-color: #635bff;
        box-shadow: 0 0 0 2px rgba(99, 91, 255, 0.15);
    }

.fs-count[b-4a8vjy0u8j] {
    font-variant-numeric: tabular-nums;
    color: #425466;
}

.fs-table[b-4a8vjy0u8j] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

    .fs-table th[b-4a8vjy0u8j],
    .fs-table td[b-4a8vjy0u8j] {
        padding: 0.35rem 0.6rem;
        border-bottom: 1px solid #eef1f6;
        text-align: left;
    }

    .fs-table th.num[b-4a8vjy0u8j],
    .fs-table td.num[b-4a8vjy0u8j] {
        text-align: right;
        font-variant-numeric: tabular-nums;
    }

    .fs-table tbody tr[b-4a8vjy0u8j] {
        cursor: pointer;
    }

    .fs-table tbody tr.selected[b-4a8vjy0u8j] {
        background: #f0eeff;
    }
/* _content/MLmargin/Frontend/Pages/Benchmark.razor.rz.scp.css */
/* Headline tiles — the value is the message, labels recede. */
.bm-stat[b-txyvh5f23k] {
    padding: 4px 0;
}

.bm-stat-label[b-txyvh5f23k] {
    font-size: 12px;
    color: var(--color-ink-muted, #697386);
    letter-spacing: 0.01em;
}

.bm-stat-value[b-txyvh5f23k] {
    font-size: 28px;
    font-weight: 600;
    line-height: 1.25;
    color: var(--color-ink, #0a2540);
}

.bm-stat-sub[b-txyvh5f23k] {
    font-size: 15px;
    font-weight: 500;
    color: var(--color-ink-muted, #697386);
}

.bm-stat-hint[b-txyvh5f23k] {
    font-size: 11px;
    color: var(--color-ink-muted, #697386);
}

/* The sweep row that matches the project's own Configurations dials. */
[b-txyvh5f23k] .bm-sweep-current td {
    background: var(--color-accent-soft, #f0efff) !important;
    font-weight: 600;
}
/* _content/MLmargin/Frontend/Pages/Configurations.razor.rz.scp.css */
/* The ordering choice is a real decision with consequences, so each option gets room for an
   explanation rather than a bare radio label. */
.fulfilment-option[b-hqgjpsckiu] {
    padding: 10px 12px;
    border: 1px solid var(--color-border-soft, #eef1f6);
    border-radius: 8px;
    margin-bottom: 10px;
}

.fulfilment-option-hint[b-hqgjpsckiu] {
    margin-top: 4px;
    margin-left: 24px;
    color: var(--color-ink-muted, #425466);
    font-size: 0.85rem;
    line-height: 1.5;
}

/* ---- Development simulation clock ---- */

.sim-quick[b-hqgjpsckiu] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    padding-top: 22px; /* align with the date field, which carries a label above it */
}

.sim-quick-label[b-hqgjpsckiu] {
    font-size: 12px;
    color: var(--color-ink-muted, #697386);
    margin-right: 2px;
}

.sim-stat[b-hqgjpsckiu] {
    padding: 6px 0;
}

.sim-stat-label[b-hqgjpsckiu] {
    font-size: 11px;
    color: var(--color-ink-muted, #697386);
}

.sim-stat-value[b-hqgjpsckiu] {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-ink, #0a2540);
}

.sim-stat-value.sim-stat-idle[b-hqgjpsckiu] {
    color: var(--color-ink-muted, #697386);
}

.sim-stat-hint[b-hqgjpsckiu] {
    font-size: 11px;
    color: var(--color-ink-muted, #697386);
}

/* Hover readout under the demand-profile chart. */
[b-hqgjpsckiu] .dp-tip {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 11px;
    color: var(--color-ink-muted, #697386);
    padding: 2px 0 0 46px;
    min-height: 16px;
}

/* The viz section heading (app.css scopes its own .detail-h under .viz-body). */
.detail-h[b-hqgjpsckiu] {
    font-size: 11px;
    color: var(--color-ink-faint, #8792a2);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
/* _content/MLmargin/Frontend/Pages/DecisionMakingReport.razor.rz.scp.css */
/* The recommended reorder quantity is the report's headline output — the reason the merchant
   is here. Emphasise it with weight and the brand accent colour (no pill/background), so it
   reads as the answer without a shape around it. */
.reco-badge[b-z2rdj7qw5o] {
    color: var(--color-accent, #635bff);
    font-weight: 700;
    font-size: 0.95rem;
    font-variant-numeric: tabular-nums;
}

/* A recommendation whose demand shape was borrowed from comparable products (a SKU too new to
   model from its own sales). Muted rather than alarming — it is a real answer, just a weaker one. */
.reco-badge-borrowed[b-z2rdj7qw5o] {
    /* The base badge carries no padding or radius by design, so a border laid straight onto it
       hugs the digits and reads as a broken field. Give the modifier its own pill, and keep the
       border inside the box so a compact table's rows stay the same height. */
    padding: 0 5px;
    border-radius: 4px;
    background: var(--color-accent-soft, rgba(99, 91, 255, 0.16));
    color: var(--color-accent, #635bff);
    box-shadow: inset 0 0 0 1px var(--color-accent, #635bff);
}

.reco-borrowed-mark[b-z2rdj7qw5o] {
    margin-left: 4px;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 11px;
    color: var(--color-ink-muted, #697386);
}
/* _content/MLmargin/Frontend/Pages/Monitoring.razor.rz.scp.css */
/* Forecast-vs-actual review panel inside each order's card. */
[b-fea6xlndfl] .fva-panel {
    padding: 2px 4px;
}

/* Portfolio summary tiles. Numbers lead, labels recede — the value is the message. */
.mon-stat[b-fea6xlndfl] {
    padding: 4px 0;
}

.mon-stat-label[b-fea6xlndfl] {
    font-size: 12px;
    color: var(--color-ink-muted, #697386);
    letter-spacing: 0.01em;
}

.mon-stat-value[b-fea6xlndfl] {
    font-size: 28px;
    font-weight: 600;
    line-height: 1.25;
    color: var(--color-ink, #0a2540);
}

.mon-stat-value.mon-stat-idle[b-fea6xlndfl] {
    color: var(--color-ink-muted, #697386);
}

.mon-stat-sub[b-fea6xlndfl] {
    font-size: 16px;
    font-weight: 500;
    color: var(--color-ink-muted, #697386);
}

.mon-stat-hint[b-fea6xlndfl] {
    font-size: 11px;
    color: var(--color-ink-muted, #697386);
}
/* _content/MLmargin/Frontend/Pages/PurchaseOrders.razor.rz.scp.css */
/* Two supported paths for a suggested order: order from MLmargin, or hand the lines to Shopify's
   own purchase orders. They're shown side by side as distinct panels so it's obvious they are
   alternatives rather than sequential steps. */
.po-paths[b-ujph95lfdy] {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 16px;
}

.po-path[b-ujph95lfdy] {
    flex: 1 1 320px;
    min-width: 0;
    padding: 14px 16px;
    border: 1px solid var(--color-border, #e3e8ee);
    border-radius: 10px;
    background: var(--color-bg, #fff);
}

/* The hand-off panel is tinted so it reads as "leaving MLmargin". */
.po-path-shopify[b-ujph95lfdy] {
    border-color: var(--color-accent-soft, #f0eeff);
    background: var(--color-bg-soft, #f6f9fc);
}

.po-path-title[b-ujph95lfdy] {
    font-weight: 700;
    color: var(--color-ink, #0a2540);
    margin-bottom: 6px;
}

/* Switching routes is a deliberate decision made in Configurations, so this panel is muted — it's a
   way out, not a third option competing with the active route. */
.po-path-switch[b-ujph95lfdy] {
    background: transparent;
    border-style: dashed;
}

/* Divider between the in-app actions and the hand-off action in a row. */
.po-action-sep[b-ujph95lfdy] {
    color: var(--color-border, #e3e8ee);
    user-select: none;
}
