:root{--bg:#f5f7fb;--surface:#fff;--text:#111827;--muted:#6b7280;--line:#e5e7eb;--primary:#1f6feb;--success:#047857;--danger:#b91c1c;--warning:#b45309;--radius:22px}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.app-shell{min-height:100vh;display:grid;grid-template-columns:280px 1fr}.sidebar{background:#0f172a;color:#e5e7eb;padding:24px}.brand{display:flex;gap:12px;align-items:center;margin-bottom:28px}.brand-mark{width:44px;height:44px;display:grid;place-items:center;border-radius:16px;background:linear-gradient(135deg,#38bdf8,#1f6feb);color:#fff;font-weight:800}.brand span{display:block;color:#94a3b8;font-size:13px}.sidebar nav{display:grid;gap:8px}.sidebar a{color:#cbd5e1;text-decoration:none;padding:12px 14px;border-radius:14px}.sidebar a.active,.sidebar a:hover{background:rgba(255,255,255,.09);color:#fff}.main{padding:28px;min-width:0}.topbar{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-bottom:24px}.topbar h1{margin:0 0 6px;font-size:30px}.topbar p{margin:0;color:var(--muted)}.topbar-right{display:flex;align-items:center;gap:10px}.badge,.user-pill{white-space:nowrap;background:#eef2ff;color:#3730a3;border-radius:999px;padding:8px 12px;font-size:13px}.user-pill{background:#ecfdf5;color:#047857}.hero-card,.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 18px 45px rgba(15,23,42,.06)}.hero-card{padding:28px;margin-bottom:22px}.hero-card h2{margin-top:0;font-size:28px}.hero-card p{color:var(--muted);max-width:900px;line-height:1.6}.section-header{display:flex;justify-content:space-between;align-items:center;gap:16px}.actions{margin-top:20px;display:flex;gap:12px;flex-wrap:wrap}.button,button{display:inline-flex;align-items:center;justify-content:center;background:var(--primary);color:#fff;text-decoration:none;border:0;border-radius:14px;padding:12px 16px;font-weight:700;cursor:pointer}.button.secondary,button.secondary{background:#e5e7eb;color:#111827}.small-button{padding:7px 10px;border-radius:10px;font-size:12px;background:#e5e7eb;color:#111827}.small-link{font-size:13px;font-weight:700;color:var(--primary);text-decoration:none}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.card{padding:22px}.table-card{overflow-x:auto}.card h3{margin-top:0}.card p{color:var(--muted);line-height:1.5}.metric{display:block;font-size:36px;margin-top:12px}.status{display:inline-block;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:700}.status.planned,.status.active{background:#ecfdf5;color:var(--success)}.status.pending,.status.inactive{background:#fffbeb;color:var(--warning)}.status.locked{background:#fef2f2;color:var(--danger)}.info-strip{margin-top:16px;padding:14px;border-radius:14px;background:#f8fafc;border:1px solid var(--line)}.data-table,.health-table{width:100%;border-collapse:collapse}.data-table th,.data-table td,.health-table td{padding:12px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}.data-table th{color:#374151;font-size:13px;text-transform:uppercase;letter-spacing:.04em}.right{text-align:right!important}.center{text-align:center!important}.action-cell{display:flex;justify-content:flex-end;gap:8px;align-items:center}.inline-form{display:inline}.form-card form{display:grid;gap:10px}.form-card label{font-weight:700}input,select,textarea{width:100%;border:1px solid var(--line);border-radius:14px;padding:12px 14px;font:inherit;background:#fff}textarea{min-height:90px}.matrix-wrap{overflow-x:auto}.matrix-table th,.matrix-table td{min-width:140px}.matrix-table th:first-child,.matrix-table td:first-child{min-width:280px;position:sticky;left:0;background:#fff}.ok{color:var(--success);font-weight:800}.fail{color:var(--danger);font-weight:800}.alert{padding:12px;border-radius:14px;margin:16px 0}.alert.error{background:#fef2f2;color:#991b1b}.alert.success{background:#ecfdf5;color:#065f46}.muted{color:var(--muted)}.block{display:block}.small{font-size:12px;color:var(--muted);margin-top:6px}code{background:#f3f4f6;border-radius:8px;padding:3px 6px}.login-body{min-height:100vh;display:grid;place-items:center;background:radial-gradient(circle at top left,#dbeafe,transparent 35%),var(--bg)}.login-wrap{width:min(460px,calc(100% - 32px))}.login-card{background:#fff;border:1px solid var(--line);border-radius:26px;padding:28px;box-shadow:0 30px 80px rgba(15,23,42,.12)}.login-brand{margin-bottom:18px}.login-card h1{margin:0 0 8px}.login-card form{display:grid;gap:10px;margin-top:18px}.login-card label{font-weight:700;font-size:14px}@media(max-width:850px){.app-shell{grid-template-columns:1fr}.sidebar{position:static}.grid,.grid.two{grid-template-columns:1fr}.topbar,.section-header{flex-direction:column;align-items:flex-start}.topbar-right{align-items:flex-start;flex-direction:column}.action-cell{justify-content:flex-start;flex-wrap:wrap}}


.progress{width:100%;height:10px;border-radius:999px;background:#e5e7eb;overflow:hidden;margin-top:12px}
.progress span{display:block;height:100%;background:#2563eb;border-radius:999px}
.compact-list{margin:10px 0 0 18px;padding:0;color:#475569}
.compact-list li{margin:6px 0}
.help-body{font-size:1.05rem;line-height:1.7;color:#334155;white-space:normal}
.status.critical{background:#fee2e2;color:#991b1b}
.status.high{background:#ffedd5;color:#9a3412}
.status.medium{background:#e0f2fe;color:#075985}
.status.low{background:#dcfce7;color:#166534}
.status.done{background:#dcfce7;color:#166534}
.status.blocked{background:#fee2e2;color:#991b1b}
.status.in_progress{background:#e0f2fe;color:#075985}
.status.pending{background:#f1f5f9;color:#475569}


/* v1.1 UX Navigation Polish */
.mobile-menu-toggle{display:none;position:fixed;top:12px;left:12px;z-index:50;border:0;border-radius:14px;padding:10px 14px;font-weight:800;background:#2563eb;color:#fff}
.nav-search-wrap{padding:10px 14px 14px}
.nav-search{width:100%;border:1px solid rgba(148,163,184,.35);border-radius:14px;padding:10px 12px;background:rgba(255,255,255,.08);color:#fff;outline:none}
.nav-search::placeholder{color:rgba(255,255,255,.55)}
.grouped-nav{padding-bottom:28px}
.nav-group{margin:6px 10px;border-radius:16px;background:rgba(255,255,255,.03)}
.nav-group summary{cursor:pointer;list-style:none;padding:12px 14px;font-weight:800;color:#cbd5e1;font-size:.78rem;text-transform:uppercase;letter-spacing:.08em}
.nav-group summary::-webkit-details-marker{display:none}
.nav-group summary::after{content:'▾';float:right;color:#94a3b8}
.nav-group:not([open]) summary::after{content:'▸'}
.nav-group-links{display:grid;gap:4px;padding:0 8px 10px}
.sidebar .nav-link{display:block;text-decoration:none;color:#e5e7eb;padding:10px 12px;border-radius:12px;font-weight:650}
.sidebar .nav-link:hover{background:rgba(255,255,255,.08)}
.sidebar .nav-link.active{background:rgba(37,99,235,.95);color:#fff}
.logout-link{margin:12px 18px;background:rgba(239,68,68,.12);color:#fecaca!important}
.topbar-link{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:#eef2ff;color:#1d4ed8;text-decoration:none;font-weight:800;padding:10px 14px}
.topbar-link:hover{background:#dbeafe}
.nav-map-card{min-height:200px}
@media (max-width: 980px){
    .mobile-menu-toggle{display:block}
    .app-shell{display:block}
    .sidebar{position:fixed;left:-320px;top:0;bottom:0;width:300px;z-index:40;transition:left .2s ease;box-shadow:0 24px 80px rgba(15,23,42,.35)}
    body.sidebar-open .sidebar{left:0}
    .main{margin-left:0;padding-top:60px}
    .topbar{gap:16px;align-items:flex-start}
    .topbar-right{flex-wrap:wrap}
}


/* v1.2 Security hardening */
.matrix-table th,
.matrix-table td{font-size:.82rem;vertical-align:top}
.matrix-table .status{display:inline-flex;margin:2px 0}
.status.reviewed{background:#e0f2fe;color:#075985}
.status.needs_change{background:#fee2e2;color:#991b1b}
.status.approved{background:#dcfce7;color:#166534}
.security-warning{border-left:4px solid #f97316;padding-left:14px}


/* v1.2.2 Role-Based Dashboard */
.role-dashboard-hero .section-header{align-items:flex-start}
.compact-actions{gap:8px;margin-top:14px}
.small-button{padding:9px 12px;font-size:.9rem}
.role-dashboard-note{border-left:4px solid #2563eb}

/* v1.3 Commercial Pilot Polish */
.commercial-hero{background:linear-gradient(135deg,#f8fafc,#eef2ff)}
.commercial-preview-card{display:flex;flex-direction:column}
.brand-preview{border-top:8px solid #2563eb;border-radius:18px;background:#fff;padding:24px;box-shadow:0 12px 32px rgba(15,23,42,.08)}
.brand-preview h2{margin:0 0 8px;font-size:28px}
.brand-preview p{color:#475569}
.commercial-card-highlight{border-left:4px solid #2563eb}
@media print{
    .no-print{display:none!important}
}


/* v1.4 Export + Backup + Pilot Safety */
.safety-hero{background:linear-gradient(135deg,#fff7ed,#f8fafc)}
.status.reviewed{background:#e0f2fe;color:#075985}
.status.approved{background:#dcfce7;color:#166534}
.safety-warning{border-left:4px solid #f97316;padding-left:14px}


/* v1.5 Training Center + SOP Library */
.training-hero{background:linear-gradient(135deg,#ecfeff,#f8fafc)}
.sop-document{font-size:1.02rem;line-height:1.75;white-space:normal}
.sop-document p{white-space:normal}
@media print{
    .sidebar,.topbar,.mobile-menu-toggle,.actions{display:none!important}
    .app-shell{display:block}
    .main{padding:0}
    .sop-document{box-shadow:none;border:0}
}


/* v1.6 Analytics + KPI Foundation */
.analytics-hero{background:linear-gradient(135deg,#eef2ff,#f8fafc)}
.kpi-card{border-left:4px solid #2563eb}
.inline-form{display:inline-flex;gap:10px;align-items:center;margin:0}
.status.on_track,.status.complete{background:#dcfce7;color:#166534}
.status.at_risk,.status.blocked{background:#fee2e2;color:#991b1b}
.status.watch{background:#fef3c7;color:#92400e}
.status.not_started{background:#f1f5f9;color:#475569}


/* v1.7 API + Integration Readiness */
.integrations-hero{background:linear-gradient(135deg,#f0fdf4,#f8fafc)}
.checkbox-stack{display:grid;gap:8px;margin:8px 0 16px}
.checkbox-stack label{display:flex;gap:8px;align-items:center;font-weight:650}
.danger-button{background:#dc2626;color:#fff;border:0;border-radius:12px;padding:8px 10px;font-weight:800;cursor:pointer}
.alert.warning{background:#fffbeb;color:#92400e;border:1px solid #fde68a}
pre{white-space:pre-wrap;background:#0f172a;color:#e2e8f0;border-radius:16px;padding:16px;overflow:auto}


/* v1.7.1 API Docs Contrast Hotfix */
pre,
.api-code-block {
    background: #0f172a !important;
    color: #e5e7eb !important;
    border-radius: 16px !important;
    padding: 16px !important;
    overflow-x: auto !important;
    border: 1px solid rgba(148, 163, 184, 0.25) !important;
}

pre code,
.api-code-block code {
    background: transparent !important;
    color: #e5e7eb !important;
    border: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    white-space: pre-wrap !important;
}

.api-inline-code,
.card code.api-inline-code {
    background: #e0f2fe !important;
    color: #075985 !important;
    border: 1px solid #bae6fd !important;
    border-radius: 10px !important;
    padding: 3px 7px !important;
    font-weight: 800 !important;
}

.api-docs-card pre {
    margin-top: 10px !important;
}

.api-copy-note {
    color: #475569;
    font-size: 0.92rem;
    margin-top: 8px;
}


/* v1.8 AI Assistant Readiness */
.ai-hero{background:linear-gradient(135deg,#f5f3ff,#f8fafc)}
.ai-answer-card{border-left:4px solid #7c3aed}
.ai-answer{background:#0f172a!important;color:#e5e7eb!important;border-radius:16px;padding:16px;white-space:pre-wrap;overflow-x:auto}
.ai-answer code{background:transparent!important;color:#e5e7eb!important;border:0!important;padding:0!important}
.ai-boundary-card{border-left:4px solid #64748b}
.ai-boundary-allowed{border-left-color:#16a34a}
.ai-boundary-forbidden{border-left-color:#dc2626}
.ai-boundary-future{border-left-color:#2563eb}
.status.answered{background:#dcfce7;color:#166534}
.status.blocked,.status.forbidden{background:#fee2e2;color:#991b1b}
.status.allowed{background:#dcfce7;color:#166534}
.status.future{background:#dbeafe;color:#1d4ed8}


/* v1.9 Pilot Client Workspace */
.pilot-hero{background:linear-gradient(135deg,#fff7ed,#f8fafc)}
.status.planned{background:#f1f5f9;color:#475569}
.status.active{background:#dcfce7;color:#166534}
.status.paused,.status.deferred,.status.in_review{background:#fef3c7;color:#92400e}
.status.completed,.status.complete,.status.resolved,.status.closed{background:#dcfce7;color:#166534}
.status.cancelled,.status.out_of_scope{background:#fee2e2;color:#991b1b}
.status.open{background:#dbeafe;color:#1d4ed8}
@media print{
    .sidebar,.topbar,.mobile-menu-toggle,.actions{display:none!important}
    .app-shell{display:block!important}
    .main{padding:0!important}
    .card,.hero-card{box-shadow:none!important}
}


/* v2.0 MVP Release Candidate + Hardening */
.release-hero{background:linear-gradient(135deg,#eef2ff,#f8fafc)}
.status.release_candidate{background:#dbeafe;color:#1d4ed8}
.status.validated,.status.released,.status.passed{background:#dcfce7;color:#166534}
.status.development,.status.not_tested,.status.partial{background:#f1f5f9;color:#475569}
.status.failed,.status.blocked{background:#fee2e2;color:#991b1b}
.status.fixed{background:#dcfce7;color:#166534}
.status.deferred,.status.in_review{background:#fef3c7;color:#92400e}
@media print{
    .sidebar,.topbar,.mobile-menu-toggle,.actions{display:none!important}
    .app-shell{display:block!important}
    .main{padding:0!important}
    .card,.hero-card{box-shadow:none!important}
}


/* v2.0.1 Stabilization + Polish Pass */
.polish-hero{background:linear-gradient(135deg,#f0f9ff,#f8fafc)}
.presentation-card{border-left:4px solid #0ea5e9}
.empty-state{
    padding:24px;
    border:1px dashed #cbd5e1;
    border-radius:18px;
    background:#f8fafc;
    color:#475569;
}
.empty-state strong{color:#0f172a}
.help-note{
    border-left:4px solid #2563eb;
    background:#eff6ff;
    color:#1e3a8a;
    padding:14px 16px;
    border-radius:14px;
    margin:12px 0;
}
.data-table td .block{display:block;margin-top:4px}
.button.secondary:hover,
button.secondary:hover,
a.button.secondary:hover{filter:brightness(0.98)}
.card h3{letter-spacing:-0.01em}
@media print{
    .sidebar,.topbar,.mobile-menu-toggle,.actions{display:none!important}
    .app-shell{display:block!important}
    .main{padding:0!important}
    .card,.hero-card{box-shadow:none!important}
    body{background:#fff!important}
}


/* v2.0.2 Role Permission Scope Tightening */
.permission-warning{
    background:#fff7ed;
    border:1px solid #fed7aa;
    color:#9a3412;
    padding:14px 16px;
    border-radius:16px;
}


/* v2.0.3 Admin Role Permission Matrix + Scope Sync */
.matrix-hero{background:linear-gradient(135deg,#f8fafc,#eef2ff)}
.table-scroll{overflow-x:auto;padding-bottom:10px}
.matrix-table th,.matrix-table td{white-space:nowrap;vertical-align:top}
.mini-badge{
    display:inline-block;
    font-size:.76rem;
    font-weight:800;
    border-radius:999px;
    padding:5px 9px;
    margin:2px;
}
.mini-badge.view{background:#dcfce7;color:#166534}
.mini-badge.create{background:#dff3ff;color:#075985}
.mini-badge.edit{background:#e0e7ff;color:#3730a3}
.mini-badge.commit{background:#ffedd5;color:#9a3412}
.mini-badge.admin{background:#fee2e2;color:#991b1b}
.dash{color:#b91c1c;font-weight:900}
.status.clean{background:#dcfce7;color:#166534}
.status.admin{background:#e0e7ff;color:#3730a3}
.status.validated{background:#dcfce7;color:#166534}


/* v2.0.4 Role-Based Navigation + Dashboard Cleanup */
.role-dashboard-hero{
    background:linear-gradient(135deg,#f8fafc,#eef2ff);
}
.role-dashboard-note{
    border-left:4px solid #2563eb;
}
.nav-group[style*="display: none"]{
    display:none!important;
}
.sidebar .brand span{
    max-width:180px;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}
.compact-actions{
    gap:8px;
    flex-wrap:wrap;
}
.small-button{
    padding:10px 14px!important;
    border-radius:12px!important;
}
.matrix-hero{
    background:linear-gradient(135deg,#f8fafc,#eef2ff);
}
.table-scroll{
    overflow-x:auto;
    padding-bottom:10px;
}
.matrix-table th,
.matrix-table td{
    white-space:nowrap;
    vertical-align:top;
}
@media print{
    .sidebar,.topbar,.mobile-menu-toggle,.actions{display:none!important}
    .app-shell{display:block!important}
    .main{padding:0!important}
    .card,.hero-card{box-shadow:none!important}
    body{background:#fff!important}
}


/* v2.0.5 Inventory On Hand + Stock Summary */
.inventory-on-hand-hero{
    background:linear-gradient(135deg,#ecfdf5,#f8fafc);
}
.filter-card{
    padding:22px;
}
.filter-form{
    display:grid;
    grid-template-columns:repeat(5,minmax(0,1fr));
    gap:16px;
    align-items:end;
}
.filter-form label{
    display:block;
    font-weight:800;
    margin-bottom:8px;
}
.filter-form input,
.filter-form select{
    width:100%;
}
.filter-actions{
    display:flex;
    gap:10px;
    align-items:center;
}
.inventory-on-hand-table th,
.inventory-on-hand-table td{
    white-space:nowrap;
}
.status.in_stock{background:#dcfce7;color:#166534}
.status.low_stock{background:#fef3c7;color:#92400e}
.status.no_stock{background:#fee2e2;color:#991b1b}
.status.on_hold_only{background:#ffedd5;color:#9a3412}
.status.expiring_soon{background:#e0e7ff;color:#3730a3}
@media (max-width:1100px){
    .filter-form{
        grid-template-columns:1fr 1fr;
    }
}
@media (max-width:720px){
    .filter-form{
        grid-template-columns:1fr;
    }
}


/* v2.0.6 Inventory Item Detail + Drilldown */
.inventory-item-hero{
    background:linear-gradient(135deg,#ecfdf5,#f8fafc);
}
.item-drilldown-link{
    color:#0f172a;
    text-decoration:none;
}
.item-drilldown-link:hover{
    color:#2563eb;
    text-decoration:underline;
}
.mini-table{
    width:100%;
    border-collapse:collapse;
}
.mini-table th,
.mini-table td{
    text-align:left;
    border-bottom:1px solid #e5e7eb;
    padding:10px 8px;
}
.status.active{background:#dcfce7;color:#166534}
.status.hold{background:#ffedd5;color:#9a3412}
.status.depleted{background:#f1f5f9;color:#475569}
.status.expired{background:#fee2e2;color:#991b1b}
.status.void{background:#f3f4f6;color:#6b7280}


/* v2.0.7 Inventory Lot Detail + Movement Timeline */
.inventory-lot-hero{
    background:linear-gradient(135deg,#eff6ff,#f8fafc);
}
.status.ok{background:#dcfce7;color:#166534}
.status.expiring_soon{background:#fef3c7;color:#92400e}
.status.expired{background:#fee2e2;color:#991b1b}
.status.not_set{background:#f1f5f9;color:#475569}
.status.unknown{background:#f3f4f6;color:#6b7280}
.timeline-list{
    display:flex;
    flex-direction:column;
    gap:14px;
    margin-top:14px;
}
.timeline-item{
    display:grid;
    grid-template-columns:18px 1fr;
    gap:12px;
}
.timeline-marker{
    width:14px;
    height:14px;
    border-radius:999px;
    background:#2563eb;
    margin-top:7px;
    box-shadow:0 0 0 5px #dbeafe;
}
.timeline-content{
    border:1px solid #e5e7eb;
    border-radius:16px;
    padding:14px 16px;
    background:#fff;
}
.timeline-header{
    display:flex;
    justify-content:space-between;
    gap:12px;
    align-items:center;
}
.timeline-header span{
    color:#64748b;
    font-size:.92rem;
}


/* v2.0.8 Inventory Alerts + Low Stock + Reorder Review */
.inventory-alerts-hero{
    background:linear-gradient(135deg,#fff7ed,#f8fafc);
}
.alert-card{
    border-left:4px solid #94a3b8;
}
.critical-card{
    border-left-color:#dc2626;
}
.high-card{
    border-left-color:#f97316;
}
.warning-card{
    border-left-color:#eab308;
}
.hold-card{
    border-left-color:#7c3aed;
}


/* v2.0.9 Reorder Action Workflow + Navigation UX Fix */
.reorder-hero{
    background:linear-gradient(135deg,#eef2ff,#f8fafc);
}
.topbar-logout{
    background:#fee2e2!important;
    color:#991b1b!important;
    font-weight:900!important;
}
.inline-form{
    display:inline-flex;
    margin:0;
}
.danger-button{
    background:#fee2e2!important;
    color:#991b1b!important;
}
.status.draft{background:#e0e7ff;color:#3730a3}
.status.reviewed{background:#dcfce7;color:#166534}
.status.cancelled{background:#fee2e2;color:#991b1b}
.status.converted{background:#fef3c7;color:#92400e}
.status.no_stock{background:#fee2e2;color:#991b1b}
.status.low_stock{background:#ffedd5;color:#9a3412}


/* v2.0.10 Convert Reorder Draft to Purchase Order Draft */
.status.submitted{background:#fef3c7;color:#92400e}
.status.partially_received{background:#e0e7ff;color:#3730a3}
.status.received{background:#dcfce7;color:#166534}
.status.open{background:#e0e7ff;color:#3730a3}


/* v2.0.11 Dispatch + Return Intake + Scenario Help */
.dispatch-hero{
    background:linear-gradient(135deg,#ecfeff,#f8fafc);
}
.scenario-hero{
    background:linear-gradient(135deg,#f0fdf4,#f8fafc);
}
.scenario-grid .scenario-card{
    border-left:4px solid #10b981;
}
.status.completed{background:#dcfce7;color:#166534}
.status.cancelled{background:#fee2e2;color:#991b1b}


/* v2.0.12 Unified Help Center + Operational Manuals */
.help-center-hero{
    background:linear-gradient(135deg,#eef2ff,#f8fafc);
}
.help-principle{
    border-left:4px solid #2563eb;
}
.help-grid .help-card{
    border-left:4px solid #64748b;
}
.help-grid .primary-help-card{
    border-left-color:#2563eb;
}
.help-card .button{
    margin-top:10px;
}


/* v2.0.13 Workflow Decision Wizard + Human Error Guardrails */
.workflow-wizard-hero{
    background:linear-gradient(135deg,#f0f9ff,#f8fafc);
}
.workflow-decision-grid .workflow-card{
    border-left:4px solid #64748b;
}
.workflow-card.increase-card{
    border-left-color:#16a34a;
}
.workflow-card.decrease-card{
    border-left-color:#dc2626;
}
.workflow-card.neutral-card{
    border-left-color:#2563eb;
}
.workflow-card.hold-card{
    border-left-color:#7c3aed;
}
.workflow-card.warning-card{
    border-left-color:#eab308;
}
.workflow-card.purchase-card{
    border-left-color:#0f766e;
}


/* v2.0.14 Safe Consume / Adjust Workflow */
.consume-hero{
    background:linear-gradient(135deg,#fff1f2,#f8fafc);
}
.alert.warning{
    background:#fff7ed;
    color:#9a3412;
    border:1px solid #fed7aa;
}
.status.used,
.status.sold,
.status.waste,
.status.damage,
.status.loss,
.status.sample,
.status.physical_count_decrease{
    background:#fee2e2;
    color:#991b1b;
}
.status.physical_count_increase{
    background:#dcfce7;
    color:#166534;
}


/* v2.0.14.4 restored CSS additions */
.consume-hero{
    background:linear-gradient(135deg,#fff1f2,#f8fafc);
}
.alert.warning{
    background:#fff7ed;
    color:#9a3412;
    border:1px solid #fed7aa;
}
.status.used,
.status.sold,
.status.waste,
.status.damage,
.status.loss,
.status.sample,
.status.physical_count_decrease{
    background:#fee2e2;
    color:#991b1b;
}
.status.physical_count_increase{
    background:#dcfce7;
    color:#166534;
}
.form-card .muted{
    display:block;
    margin-top:6px;
    color:#64748b;
}
