@import "https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap";*{box-sizing:border-box;-webkit-tap-highlight-color:transparent;margin:0;padding:0;font-family:Plus Jakarta Sans,-apple-system,BlinkMacSystemFont,sans-serif}html,body,#root{color:#0f172a;background-color:#f8fafc;width:100%;height:100%;overflow:hidden}.mobile-app-shell{overscroll-behavior:none;background-color:#fff;flex-direction:column;width:100%;display:flex;position:fixed;inset:0;overflow:hidden}.mobile-app-header{z-index:30;background-color:#fff;border-bottom:1px solid #f1f5f9;flex-shrink:0;justify-content:space-between;align-items:center;height:56px;padding:0 16px;display:flex}.mobile-header-brand{align-items:center;gap:8px;display:flex}.mobile-header-title{color:#0f172a;letter-spacing:-.01em;font-size:1.12rem;font-weight:800}.mobile-online-badge{color:#166534;background:#dcfce7;border-radius:20px;align-items:center;gap:4px;padding:2px 7px;font-size:.68rem;font-weight:700;display:inline-flex}.online-dot{background:#166534;border-radius:50%;width:5px;height:5px}.mobile-header-bell{cursor:pointer;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;justify-content:center;align-items:center;width:36px;height:36px;display:flex;position:relative}.bell-badge-count{color:#fff;background:#dc2626;border:2px solid #fff;border-radius:50%;justify-content:center;align-items:center;width:17px;height:17px;font-size:.65rem;font-weight:800;display:flex;position:absolute;top:-4px;right:-4px}.mobile-app-content{background-color:#fff;flex-direction:column;flex:1;min-height:0;display:flex;position:relative;overflow:hidden}.mobile-view-root{flex-direction:column;width:100%;height:100%;display:flex;overflow:hidden}.mobile-fixed-controls{background:#fff;border-bottom:1px solid #f8fafc;flex-direction:column;flex-shrink:0;gap:10px;padding:12px 16px 8px;display:flex}.mobile-btn-catat-mutasi{color:#fff;cursor:pointer;background:#047857;border:none;border-radius:12px;justify-content:center;align-items:center;gap:8px;width:100%;min-height:46px;padding:12px 16px;font-size:.88rem;font-weight:700;display:flex;box-shadow:0 3px 10px #04785738}.mobile-search-wrapper{width:100%;position:relative}.mobile-search-icon{color:#94a3b8;position:absolute;top:50%;left:12px;transform:translateY(-50%)}.mobile-search-input{color:#0f172a;background:#fff;border:1px solid #cbd5e1;border-radius:10px;outline:none;width:100%;padding:10px 38px 10px 36px;font-size:16px;line-height:1.3}.mobile-search-clear{color:#475569;cursor:pointer;background:#f1f5f9;border:none;border-radius:50%;justify-content:center;align-items:center;width:30px;height:30px;display:inline-flex;position:absolute;top:50%;right:6px;transform:translateY(-50%)}.mobile-search-input:focus{border-color:#059669}.mobile-warning-banner{background:#fef2f2;border:1px solid #fecaca;border-radius:10px;align-items:center;gap:8px;padding:8px 10px;display:flex}.mobile-warning-icon{color:#dc2626;flex-shrink:0}.mobile-warning-text strong{color:#b91c1c;margin-bottom:2px;font-size:.76rem;font-weight:700;display:block}.mobile-warning-text p{color:#7f1d1d;font-size:.7rem;line-height:1.3}.mobile-category-scroll{scrollbar-width:none;gap:6px;padding-bottom:4px;display:flex;overflow-x:auto}.mobile-category-scroll::-webkit-scrollbar{display:none}.mobile-cat-pill{color:#475569;cursor:pointer;background:#f8fafc;border:1px solid #cbd5e1;border-radius:20px;flex-shrink:0;min-height:36px;padding:6px 12px;font-size:.74rem;font-weight:600}.mobile-cat-pill.active{color:#fff;background:#047857;border-color:#047857}.mobile-cards-scroll-area{-webkit-overflow-scrolling:touch;overscroll-behavior-y:contain;flex-direction:column;flex:1;gap:10px;min-height:0;padding:8px 16px 20px;display:flex;overflow:hidden auto}.mobile-med-card{background:#fff;border:1px solid #e2e8f0;border-radius:14px;justify-content:space-between;align-items:center;padding:12px 14px;display:flex;box-shadow:0 1px 3px #00000005}.mobile-med-left{flex:1;min-width:0;padding-right:12px}.mobile-med-title-row{align-items:center;gap:6px;margin-bottom:3px;display:flex}.mobile-med-name{color:#0f172a;white-space:nowrap;text-overflow:ellipsis;font-size:.88rem;font-weight:700;overflow:hidden}.mobile-status-tag{border-radius:4px;flex-shrink:0;padding:2px 6px;font-size:.62rem;font-weight:700}.mobile-status-tag.kritis{color:#dc2626;background:#fee2e2}.mobile-med-meta{color:#64748b;margin-bottom:6px;font-size:.72rem}.mobile-med-actions{gap:8px;display:flex}.mobile-action-edit{color:#334155;cursor:pointer;background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;align-items:center;gap:4px;min-height:36px;padding:6px 10px;font-size:.74rem;font-weight:700;display:inline-flex}.mobile-action-kartu{color:#047857;background:#ecfdf5;border-color:#a7f3d0}.mobile-action-delete{color:#b91c1c;cursor:pointer;background:#fef2f2;border:1px solid #fecaca;border-radius:6px;align-items:center;gap:4px;min-height:36px;padding:6px 10px;font-size:.74rem;font-weight:700;display:inline-flex}.mobile-med-right{flex-direction:column;align-items:flex-end;gap:6px;display:flex}.mobile-stock-display{text-align:right}.mobile-stock-val{font-size:1.35rem;font-weight:800;line-height:1}.mobile-stock-val.kritis{color:#dc2626}.mobile-stock-val.aman{color:#0f172a}.mobile-stock-unit{color:#64748b;font-size:.66rem;font-weight:600;display:block}.mobile-quick-btn{color:#1d4ed8;cursor:pointer;background:#eff6ff;border:1px solid #bfdbfe;border-radius:8px;align-items:center;gap:4px;min-height:40px;padding:8px 12px;font-size:.76rem;font-weight:700;display:flex}.mobile-quick-btn:active{background:#dbeafe}.mobile-bottom-fixed-action{z-index:25;background:#fff;border-top:1px solid #f1f5f9;flex-shrink:0;padding:8px 16px 10px}.mobile-btn-dashed-add{color:#059669;cursor:pointer;text-align:center;background:#f0fdf4;border:1.5px dashed #10b981;border-radius:12px;width:100%;padding:12px;font-size:.85rem;font-weight:700;transition:all .15s;display:block}.mobile-btn-dashed-add:active{background:#dcfce7;transform:scale(.99)}.mobile-dash-container{-webkit-overflow-scrolling:touch;overscroll-behavior-y:contain;flex-direction:column;flex:1;gap:12px;min-height:0;padding:14px 16px 24px;display:flex;overflow-y:auto}.mobile-dash-title-section{margin-bottom:2px}.mobile-dash-title-section h2{color:#0f172a;letter-spacing:-.01em;margin-bottom:2px;font-size:1.15rem;font-weight:800}.mobile-dash-title-section p{color:#64748b;font-size:.74rem}.mobile-dash-kpi-grid{grid-template-columns:1fr 1fr;gap:10px;display:grid}.mobile-dash-kpi-box{border-radius:14px;padding:12px 14px}.mobile-dash-kpi-box.variant-box{background:#fff;border:1px solid #e2e8f0}.mobile-dash-kpi-box.critical-box{background:#fef2f2;border:1px solid #fecaca}.mobile-dash-kpi-head{align-items:center;gap:6px;margin-bottom:6px;font-size:.74rem;font-weight:700;display:flex}.mobile-dash-kpi-head.green{color:#059669}.mobile-dash-kpi-head.red{color:#dc2626}.mobile-dash-kpi-number{color:#0f172a;font-size:1.6rem;font-weight:800;line-height:1}.mobile-dash-kpi-number.red{color:#dc2626}.mobile-dash-kpi-note{color:#64748b;margin-top:4px;font-size:.68rem}.mobile-dash-kpi-note.red{color:#991b1b}.mobile-dash-alert-banner{background:#fef2f2;border:1px solid #fecaca;border-radius:12px;align-items:center;gap:10px;padding:10px 12px;display:flex}.mobile-dash-alert-icon{color:#dc2626;flex-shrink:0}.mobile-dash-alert-text h4{color:#b91c1c;margin-bottom:2px;font-size:.78rem;font-weight:700}.mobile-dash-alert-text p{color:#7f1d1d;font-size:.72rem;line-height:1.3}.mobile-dash-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:14px;box-shadow:0 1px 3px #00000005}.mobile-dash-card-title{align-items:center;gap:6px;margin-bottom:12px;display:flex}.mobile-dash-card-title h4{color:#0f172a;font-size:.82rem;font-weight:700}.mobile-donut-flex-wrapper{justify-content:space-between;align-items:center;gap:10px;display:flex}.mobile-donut-legend{flex-direction:column;flex:1;gap:8px;display:flex}.mobile-legend-row{align-items:center;gap:6px;display:flex}.mobile-legend-badge{border-radius:2px;flex-shrink:0;width:9px;height:9px}.mobile-legend-label{color:#475569;font-size:.72rem;font-weight:600}.mobile-bottom-bar{height:auto;min-height:60px;padding:4px 6px calc(6px + env(safe-area-inset-bottom,0px)) 6px;z-index:30;background-color:#fff;border-top:1px solid #e2e8f0;flex-shrink:0;justify-content:space-around;align-items:center;display:flex}.mobile-nav-link{color:#64748b;flex-direction:column;justify-content:center;align-items:center;gap:3px;min-width:64px;min-height:44px;padding:4px 6px;font-size:.66rem;font-weight:600;text-decoration:none;display:flex}.mobile-nav-link.active{color:#059669}.mobile-modal-overlay{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);z-index:100;background:#0f172aa6;justify-content:center;align-items:flex-end;display:flex;position:fixed;inset:0}.mobile-modal-content{width:100%;max-width:480px;padding:20px 20px calc(20px + env(safe-area-inset-bottom,0px)) 20px;background:#fff;border-radius:20px 20px 0 0;max-height:88dvh;overflow-y:auto;box-shadow:0 -4px 20px #00000026}.mobile-modal-header{justify-content:space-between;align-items:center;margin-bottom:16px;display:flex}.mobile-modal-header h3{color:#0f172a;font-size:1.05rem;font-weight:800}.mobile-modal-header button{color:#64748b;cursor:pointer;background:0 0;border:none}.modal-form-group{margin-bottom:12px}.modal-form-group label{color:#334155;margin-bottom:5px;font-size:.78rem;font-weight:700;display:block}.modal-form-group input,.modal-form-group select{color:#0f172a;border:1px solid #cbd5e1;border-radius:8px;outline:none;width:100%;padding:10px 12px;font-size:16px}.modal-type-selector{grid-template-columns:1fr 1fr;gap:8px;display:grid}.type-btn{cursor:pointer;color:#64748b;background:#f8fafc;border:1px solid #cbd5e1;border-radius:8px;padding:9px;font-size:.8rem;font-weight:700}.type-btn.active-keluar{color:#dc2626;background:#fef2f2;border-color:#ef4444}.type-btn.active-masuk{color:#059669;background:#ecfdf5;border-color:#10b981}.mobile-modal-submit-btn{color:#fff;cursor:pointer;background:#059669;border:none;border-radius:10px;width:100%;margin-top:10px;padding:12px;font-size:.88rem;font-weight:700}.desktop-app-shell{background-color:#f8fafc;width:100vw;height:100vh;display:flex;overflow:hidden}.desktop-sidebar-pane{color:#fff;background-color:#0f172a;border-right:1px solid #1e293b;flex-direction:column;flex-shrink:0;width:255px;padding:24px 16px;display:flex}.desktop-brand-box{border-bottom:1px solid #1e293b;align-items:center;gap:12px;margin-bottom:22px;padding-bottom:22px;display:flex}.desktop-brand-icon{color:#fff;background:#059669;border-radius:10px;justify-content:center;align-items:center;width:40px;height:40px;display:flex}.desktop-brand-text h2{color:#fff;letter-spacing:-.01em;font-size:1.05rem;font-weight:800}.desktop-brand-text p{color:#94a3b8;font-size:.74rem}.desktop-nav-list{flex-direction:column;gap:6px;list-style:none;display:flex}.desktop-nav-link{color:#94a3b8;border-radius:10px;align-items:center;gap:12px;padding:12px 14px;font-size:.88rem;font-weight:600;text-decoration:none;transition:all .2s;display:flex}.desktop-nav-link:hover{color:#f1f5f9;background-color:#1e293b}.desktop-nav-link.active{color:#fff;background-color:#047857}.desktop-main-area{background-color:#f8fafc;flex-direction:column;flex:1;height:100vh;display:flex;overflow:hidden}.desktop-header-bar{background:#fff;border-bottom:1px solid #e2e8f0;flex-wrap:wrap;flex-shrink:0;justify-content:space-between;align-items:center;gap:10px;height:auto;min-height:68px;padding:12px 32px;display:flex}.desktop-header-title h2{color:#0f172a;font-size:1.2rem;font-weight:800}.desktop-header-title p{color:#475569;margin-top:2px;font-size:.78rem}.desktop-header-actions{align-items:center;gap:14px;display:flex}.desktop-status-pill{color:#166534;background:#dcfce7;border-radius:20px;align-items:center;gap:6px;padding:4px 10px;font-size:.76rem;font-weight:700;display:inline-flex}.desktop-bell-button{cursor:pointer;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;justify-content:center;align-items:center;width:38px;height:38px;display:flex;position:relative}.desktop-route-container{background-color:#f8fafc;flex:1;overflow-y:auto}.desktop-content-pane{padding:26px 32px}.desktop-kpi-grid{grid-template-columns:repeat(4,1fr);gap:18px;margin-bottom:22px;display:grid}.desktop-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:20px;box-shadow:0 1px 3px #00000008}.desktop-card.critical-border{border-color:#fecaca}.desktop-kpi-header{color:#64748b;justify-content:space-between;align-items:center;margin-bottom:12px;font-size:.82rem;font-weight:700;display:flex}.desktop-kpi-header.red{color:#dc2626}.icon-pill{border-radius:10px;justify-content:center;align-items:center;width:34px;height:34px;display:flex}.icon-pill.green{color:#059669;background:#ecfdf5}.icon-pill.blue{color:#0284c7;background:#eff6ff}.icon-pill.red{color:#dc2626;background:#fef2f2}.icon-pill.shield-green{color:#16a34a;background:#ecfdf5}.desktop-kpi-value{color:#0f172a;font-size:2.1rem;font-weight:800;line-height:1}.desktop-kpi-value.red{color:#dc2626}.desktop-kpi-value.green{color:#16a34a}.desktop-kpi-sub{color:#64748b;margin-top:8px;font-size:.76rem}.desktop-kpi-sub.red{color:#991b1b}.desktop-alert-banner{background:#fef2f2;border:1px solid #fecaca;border-radius:12px;align-items:center;gap:12px;margin-bottom:22px;padding:14px 18px;display:flex}.desktop-alert-banner h4{color:#b91c1c;font-size:.88rem;font-weight:700}.desktop-alert-banner p{color:#7f1d1d;margin-top:2px;font-size:.8rem}.desktop-charts-grid{grid-template-columns:1.2fr .8fr;gap:20px;display:grid}@media (width<=1120px){.desktop-charts-grid{grid-template-columns:1fr}}.desktop-chart-title{color:#0f172a;align-items:center;gap:8px;margin-bottom:16px;font-size:.92rem;font-weight:700;display:flex}.desk-pane{padding:24px 32px}.desk-controls-bar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:20px;margin-bottom:22px;display:flex}.desk-search-filter-wrap{flex:1;align-items:center;gap:14px;min-width:0;display:flex}.desk-search-box{flex-shrink:0;width:320px;position:relative}.desk-search-icon{color:#94a3b8;position:absolute;top:50%;left:14px;transform:translateY(-50%)}.desk-search-input{color:#0f172a;background:#fff;border:1px solid #cbd5e1;border-radius:12px;outline:none;width:100%;padding:10px 14px 10px 40px;font-size:.85rem;transition:all .2s}.desk-search-input:focus{border-color:#059669;box-shadow:0 0 0 3px #0596691a}.desk-category-pills{scrollbar-width:none;align-items:center;gap:8px;display:flex;overflow-x:auto}.desk-category-pills::-webkit-scrollbar{display:none}.desk-cat-pill{color:#64748b;cursor:pointer;white-space:nowrap;background:#fff;border:1px solid #e2e8f0;border-radius:20px;padding:7px 14px;font-size:.78rem;font-weight:600;transition:all .2s}.desk-cat-pill:hover{color:#0f172a;background:#f1f5f9}.desk-cat-pill.active{color:#fff;background:#047857;border-color:#047857;font-weight:700}.desk-action-btn-group{flex-shrink:0;align-items:center;gap:12px;display:flex}.desk-btn-primary{color:#fff;cursor:pointer;background:#047857;border:none;border-radius:10px;align-items:center;gap:8px;min-height:44px;padding:10px 18px;font-size:.86rem;font-weight:700;transition:all .2s;display:flex;box-shadow:0 3px 10px #04785738}.desk-btn-primary:hover{background:#065f46}.desk-btn-secondary{color:#0f172a;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:10px;align-items:center;gap:8px;padding:10px 18px;font-size:.86rem;font-weight:700;transition:all .2s;display:flex}.desk-btn-secondary:hover{background:#f8fafc;border-color:#94a3b8}.desk-alert-banner{background:#fef2f2;border:1px solid #fecaca;border-radius:12px;align-items:center;gap:12px;margin-bottom:22px;padding:12px 18px;display:flex}.desk-alert-icon{color:#dc2626;flex-shrink:0}.desk-alert-text h4{color:#b91c1c;font-size:.86rem;font-weight:700}.desk-alert-text p{color:#7f1d1d;margin-top:2px;font-size:.78rem}.desk-cards-grid{grid-template-columns:repeat(auto-fill,minmax(330px,1fr));gap:18px;display:grid}.desk-med-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;justify-content:space-between;align-items:center;padding:18px;transition:transform .15s,box-shadow .15s,border-color .15s;display:flex;box-shadow:0 1px 3px #00000005}.desk-med-card:hover{border-color:#cbd5e1;box-shadow:0 4px 14px #0000000f}.desk-med-info{flex:1;min-width:0;padding-right:14px}.desk-med-head{align-items:center;gap:8px;margin-bottom:5px;display:flex}.desk-med-title{color:#0f172a;white-space:nowrap;text-overflow:ellipsis;font-size:.95rem;font-weight:800;overflow:hidden}.desk-status-pill{letter-spacing:.02em;border-radius:20px;flex-shrink:0;padding:3px 8px;font-size:.68rem;font-weight:700}.desk-med-sub{color:#64748b;margin-bottom:8px;font-size:.78rem;line-height:1.4}.desk-med-actions{gap:14px;display:flex}.desk-action-edit{color:#64748b;cursor:pointer;background:0 0;border:none;align-items:center;gap:4px;font-size:.74rem;font-weight:600;display:flex}.desk-action-edit:hover{color:#0f172a}.desk-action-delete{color:#ef4444;cursor:pointer;background:0 0;border:none;align-items:center;gap:4px;font-size:.74rem;font-weight:600;display:flex}.desk-action-delete:hover{color:#dc2626}.desk-med-right-panel{flex-direction:column;flex-shrink:0;align-items:flex-end;gap:8px;display:flex}.desk-stock-wrap{text-align:right}.desk-stock-num{font-size:1.6rem;font-weight:800;line-height:1}.desk-stock-num.aman{color:#0f172a}.desk-stock-num.kritis{color:#dc2626}.desk-stock-label{color:#64748b;margin-top:3px;font-size:.72rem;font-weight:600}.desk-quick-use-btn{color:#1d4ed8;cursor:pointer;background:#eff6ff;border:1px solid #bfdbfe;border-radius:8px;align-items:center;gap:4px;padding:7px 12px;font-size:.78rem;font-weight:700;transition:all .15s;display:flex}.desk-quick-use-btn:hover{background:#dbeafe;border-color:#93c5fd}.desk-quick-use-btn:active{transform:scale(.97)}.desk-modal-overlay{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:200;background:#0f172a99;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.desk-modal-card{background:#fff;border-radius:18px;width:100%;max-width:500px;max-height:90vh;padding:24px;overflow-y:auto;box-shadow:0 10px 30px #0003}.desk-modal-head{justify-content:space-between;align-items:center;margin-bottom:20px;display:flex}.desk-modal-head h3{color:#0f172a;font-size:1.15rem;font-weight:800}.desk-modal-head button{color:#64748b;cursor:pointer;background:0 0;border:none}.desk-form-field{margin-bottom:14px}.desk-form-field label{color:#334155;margin-bottom:6px;font-size:.8rem;font-weight:700;display:block}.desk-form-field input,.desk-form-field select{color:#0f172a;border:1px solid #cbd5e1;border-radius:8px;outline:none;width:100%;padding:10px 12px;font-size:.88rem}.desk-med-actions,.mobile-med-actions{flex-wrap:wrap;align-items:center;gap:8px 12px}.mobile-status-tag.habis{color:#991b1b;background:#fee2e2;border:1px solid #fecaca}.mobile-status-tag.kritis{color:#92400e;background:#fef3c7;border:1px solid #fde68a}.mobile-status-tag.aman{color:#166534;background:#dcfce7}.desk-status-pill.habis{color:#991b1b;background:#fee2e2;border:1px solid #fecaca}.desk-status-pill.kritis{color:#92400e;background:#fef3c7;border:1px solid #fde68a}.desk-status-pill.aman{color:#166534;background:#dcfce7;border:1px solid #bbf7d0}.desk-stock-num.habis,.mobile-stock-val.habis{color:#b91c1c}.desk-stock-num.kritis,.mobile-stock-val.kritis{color:#b45309}.desk-action-calibrate,.mobile-action-calibrate{color:#334155;cursor:pointer;background:#f8fafc;border:1px solid #cbd5e1;border-radius:6px;align-items:center;gap:4px;min-height:30px;padding:4px 8px;font-size:.72rem;font-weight:700;display:inline-flex}.desk-action-calibrate:hover{color:#0f172a;background:#f1f5f9;border-color:#94a3b8}.desk-action-calibrate.highlight,.mobile-action-calibrate.highlight{color:#92400e;background:#fffbeb;border-color:#fcd34d}.mobile-action-calibrate{min-height:34px;padding:5px 10px}.mobile-action-delete{color:#b91c1c}.banner-filter-btn{color:#991b1b;cursor:pointer;background:#fff;border:1px solid #fca5a5;border-radius:8px;flex-shrink:0;align-items:center;gap:6px;min-height:38px;margin-left:auto;padding:8px 12px;font-size:.76rem;font-weight:700;display:inline-flex}.banner-filter-btn:hover,.banner-filter-btn.active{background:#fee2e2;border-color:#dc2626}.mobile-warning-banner{flex-wrap:wrap}.calibrate-item-summary{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;margin-bottom:14px;padding:12px 14px}.calibrate-item-name{color:#0f172a;margin-bottom:4px;font-size:.94rem;font-weight:800}.calibrate-item-meta{color:#475569;flex-wrap:wrap;gap:14px;font-size:.78rem;display:flex}.calibrate-zero-note{color:#991b1b;background:#fef2f2;border:1px solid #fecaca;border-radius:10px;align-items:flex-start;gap:8px;margin-bottom:14px;padding:10px 12px;font-size:.76rem;line-height:1.45;display:flex}.calibrate-zero-note svg{flex-shrink:0;margin-top:2px}.calibrate-presets-label{color:#334155;margin-bottom:8px;font-size:.78rem;font-weight:700}.calibrate-presets-grid{grid-template-columns:1fr 1fr;gap:8px;margin-bottom:14px;display:grid}.calibrate-preset-card{text-align:left;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:10px;flex-direction:column;gap:4px;min-height:44px;padding:10px;display:flex}.calibrate-preset-card:hover{background:#f8fafc;border-color:#059669}.calibrate-preset-card.active{background:#ecfdf5;border:1.5px solid #059669}.calibrate-preset-head{color:#0f172a;justify-content:space-between;align-items:center;font-size:.78rem;font-weight:800;display:flex}.calibrate-preset-card.active .calibrate-preset-head{color:#065f46}.calibrate-preset-card p{color:#475569;font-size:.7rem;line-height:1.35}.calibrate-preview-box{color:#334155;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;align-items:center;gap:8px;margin-bottom:14px;padding:10px 12px;font-size:.78rem;display:flex}.calibrate-preview-badge{border-radius:4px;padding:2px 7px;font-size:.74rem}.calibrate-preview-badge.aman{color:#166534;background:#dcfce7}.calibrate-preview-badge.kritis{color:#92400e;background:#fef3c7}.calibrate-preview-badge.habis{color:#991b1b;background:#fee2e2}.calibrate-error-msg{color:#991b1b;background:#fef2f2;border:1px solid #fecaca;border-radius:8px;margin-bottom:12px;padding:8px 12px;font-size:.78rem;font-weight:600}.calibrate-modal-footer{gap:10px;margin-top:8px;display:flex}.calibrate-btn-cancel{color:#334155;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:10px;flex:1;min-height:44px;font-size:.85rem;font-weight:700}.calibrate-btn-save{color:#fff;cursor:pointer;background:#047857;border:none;border-radius:10px;flex:2;min-height:44px;font-size:.85rem;font-weight:700}.calibrate-btn-save:disabled,.calibrate-btn-cancel:disabled{opacity:.6;cursor:not-allowed}.mutasi-kpi-grid{grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:18px;display:grid}.mutasi-kpi-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;flex-direction:column;gap:4px;padding:16px 18px;display:flex}.mutasi-kpi-label{color:#475569;font-size:.76rem;font-weight:700}.mutasi-kpi-value{color:#0f172a;font-variant-numeric:tabular-nums;font-size:1.65rem;font-weight:800;line-height:1.15}.mutasi-kpi-value.masuk{color:#166534}.mutasi-kpi-value.keluar{color:#991b1b}.mutasi-kpi-sub{color:#64748b;font-size:.74rem}.mutasi-filter-panel{background:#fff;border:1px solid #e2e8f0;border-radius:12px;flex-direction:column;gap:14px;margin-bottom:18px;padding:16px 18px;display:flex}.mutasi-filter-top{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.mutasi-jenis-group{background:#f8fafc;border:1px solid #cbd5e1;border-radius:10px;display:inline-flex;overflow:hidden}.mutasi-jenis-tab{color:#475569;cursor:pointer;background:0 0;border:none;padding:9px 14px;font-size:.8rem;font-weight:700}.mutasi-jenis-tab+.mutasi-jenis-tab{border-left:1px solid #cbd5e1}.mutasi-jenis-tab.active.semua{color:#fff;background:#0f172a}.mutasi-jenis-tab.active.masuk{color:#fff;background:#166534}.mutasi-jenis-tab.active.keluar{color:#fff;background:#991b1b}.mutasi-filter-bottom{grid-template-columns:2fr 1fr 1fr;gap:12px;display:grid}.mutasi-filter-field label{color:#475569;margin-bottom:5px;font-size:.74rem;font-weight:700;display:block}.mutasi-filter-field select,.mutasi-filter-field input{color:#0f172a;background:#fff;border:1px solid #cbd5e1;border-radius:8px;width:100%;padding:9px 11px;font-size:.84rem}.mutasi-table-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;overflow:hidden}.mutasi-table-scroll{width:100%;overflow-x:auto}.mutasi-table{border-collapse:collapse;text-align:left;width:100%;font-size:.84rem}.mutasi-table thead th{color:#334155;text-transform:uppercase;letter-spacing:.03em;white-space:nowrap;background:#f8fafc;border-bottom:1px solid #e2e8f0;padding:12px 14px;font-size:.74rem;font-weight:800}.mutasi-table th.num,.mutasi-table td.num{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.mutasi-table tbody td{color:#0f172a;vertical-align:top;border-bottom:1px solid #f1f5f9;padding:12px 14px}.mutasi-table tbody tr:last-child td{border-bottom:none}.mutasi-table tbody tr:hover{background:#f8fafc}.mutasi-td-date{white-space:nowrap;color:#334155;font-weight:600}.mutasi-td-obat-name{color:#0f172a;font-weight:700}.mutasi-td-obat-sub{color:#64748b;margin-top:2px;font-size:.74rem}.mutasi-type-badge{white-space:nowrap;border-radius:6px;align-items:center;gap:4px;padding:3px 8px;font-size:.7rem;font-weight:800;display:inline-flex}.mutasi-type-badge.masuk{color:#166534;background:#dcfce7;border:1px solid #bbf7d0}.mutasi-type-badge.keluar{color:#991b1b;background:#fee2e2;border:1px solid #fecaca}.mutasi-type-badge.opname{color:#334155;background:#f1f5f9;border:1px solid #cbd5e1}.mutasi-td-qty{font-weight:800}.mutasi-td-qty.masuk{color:#166534}.mutasi-td-qty.keluar{color:#991b1b}.mutasi-td-qty.opname,.mobile-mutasi-qty.opname{color:#64748b}.mutasi-td-sisa{color:#0f172a;font-weight:700}.mutasi-td-sumber{color:#334155;font-weight:600}.mutasi-td-catatan{color:#64748b;margin-top:2px;font-size:.74rem}.mutasi-td-petugas{color:#475569;white-space:nowrap}.mutasi-state-box{text-align:center;color:#475569;flex-direction:column;justify-content:center;align-items:center;gap:4px;padding:40px 20px;font-size:.86rem;display:flex}.mutasi-state-box.error{color:#991b1b;background:#fef2f2}.mobile-mutasi-filter-row{justify-content:space-between;align-items:center;gap:8px;display:flex}.mobile-jenis-pills{gap:6px;display:flex}.mobile-tap-pill{min-height:38px;padding:6px 12px}.mobile-filter-toggle-btn{color:#334155;cursor:pointer;background:#f8fafc;border:1px solid #cbd5e1;border-radius:10px;align-items:center;gap:5px;min-height:38px;padding:6px 12px;font-size:.76rem;font-weight:700;display:inline-flex}.mobile-filter-toggle-btn.active{color:#065f46;background:#ecfdf5;border-color:#059669}.mobile-mutasi-drawer{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;flex-direction:column;gap:8px;padding:10px;display:flex}.mobile-drawer-date-grid{grid-template-columns:1fr 1fr;gap:8px;display:grid}.mobile-drawer-field label{color:#475569;margin-bottom:3px;font-size:.7rem;font-weight:700;display:block}.mobile-drawer-field select,.mobile-drawer-field input{color:#0f172a;background:#fff;border:1px solid #cbd5e1;border-radius:8px;width:100%;min-height:40px;padding:6px 9px;font-size:.8rem}.mobile-reset-filter-btn{color:#334155;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:8px;justify-content:center;align-items:center;gap:6px;width:100%;min-height:38px;font-size:.76rem;font-weight:700;display:inline-flex}.mobile-mutasi-stats-strip{color:#475569;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;justify-content:space-between;padding:7px 12px;font-size:.75rem;display:flex}.mobile-mutasi-stats-strip .masuk{color:#166534}.mobile-mutasi-stats-strip .keluar{color:#991b1b}.mobile-mutasi-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;flex-direction:column;gap:8px;padding:12px 14px;display:flex}.mobile-mutasi-top{justify-content:space-between;align-items:flex-start;gap:8px;display:flex}.mobile-mutasi-obat-wrap{flex-wrap:wrap;align-items:center;gap:6px;min-width:0;display:flex}.mobile-mutasi-obat-name{color:#0f172a;font-size:.86rem;font-weight:800}.mobile-mutasi-date{color:#64748b;white-space:nowrap;flex-shrink:0;font-size:.72rem;font-weight:600}.mobile-mutasi-mid{justify-content:space-between;align-items:flex-end;gap:10px;display:flex}.mobile-mutasi-meta{color:#334155;min-width:0;font-size:.75rem;line-height:1.4}.mobile-mutasi-catatan{color:#64748b;font-size:.72rem}.mobile-mutasi-petugas{color:#64748b;margin-top:2px;font-size:.7rem}.mobile-mutasi-right{text-align:right;flex-direction:column;flex-shrink:0;gap:2px;display:flex}.mobile-mutasi-qty{font-variant-numeric:tabular-nums;font-size:.92rem;font-weight:800}.mobile-mutasi-qty.masuk{color:#166534}.mobile-mutasi-qty.keluar{color:#991b1b}.mobile-mutasi-sisa{color:#475569;font-variant-numeric:tabular-nums;font-size:.72rem}@media (width<=768px){input,select,textarea{font-size:16px}}@media (width<=480px){.calibrate-presets-grid{grid-template-columns:1fr}}a[href],button,select,summary,input[type=checkbox],input[type=radio]{cursor:pointer}button:disabled,input:disabled,select:disabled{cursor:not-allowed}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline-offset:2px;outline:2px solid #047857}.auth-boot-screen{background-color:#f8fafc;justify-content:center;align-items:center;width:100%;height:100dvh;padding:20px;display:flex}.auth-boot-box{text-align:center;background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:24px 28px}.auth-boot-title{color:#0f172a;margin-bottom:4px;font-size:1.05rem;font-weight:800}.auth-boot-sub{color:#475569;font-size:.85rem}.login-page-shell{background-color:#f8fafc;grid-template-columns:minmax(340px,44%) 1fr;width:100%;height:100dvh;display:grid;overflow-y:auto}.login-brand-pane{color:#f8fafc;background-color:#0f172a;border-right:1px solid #1e293b;justify-content:center;align-items:center;padding:40px 44px;display:flex}.login-brand-inner{flex-direction:column;gap:28px;width:100%;max-width:420px;display:flex}.login-brand-header{align-items:center;gap:14px;display:flex}.login-brand-icon{color:#fff;background-color:#047857;border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;width:46px;height:46px;display:flex}.login-brand-icon.small{border-radius:10px;width:38px;height:38px}.login-brand-logo-img{object-fit:cover;background-color:#fff;border-radius:12px;flex-shrink:0;width:46px;height:46px}.login-brand-logo-img.small{border-radius:10px;width:38px;height:38px}.app-splash-screen{z-index:200;padding:24px 20px calc(28px + env(safe-area-inset-bottom,0px)) 20px;opacity:1;background-color:#fff;flex-direction:column;justify-content:center;align-items:center;transition:opacity .28s;display:flex;position:fixed;inset:0}.app-splash-screen.is-exiting{opacity:0;pointer-events:none}.app-splash-center{text-align:center;flex-direction:column;align-items:center;max-width:320px;margin:auto 0;display:flex}.app-splash-logo-wrap{margin-bottom:18px}.app-splash-logo-img{object-fit:cover;border-radius:24px;width:104px;height:104px;display:block;box-shadow:0 10px 28px #0f172a1a}.app-splash-logo-fallback{color:#fff;background-color:#047857;border-radius:22px;justify-content:center;align-items:center;width:88px;height:88px;display:flex;box-shadow:0 8px 24px #04785738}.app-splash-title{color:#0f172a;letter-spacing:-.01em;margin-bottom:4px;font-size:1.32rem;font-weight:800}.app-splash-subtitle{color:#475569;margin-bottom:22px;font-size:.86rem;font-weight:500}.app-splash-bar-track{background-color:#e2e8f0;border-radius:999px;width:148px;height:4px;overflow:hidden}.app-splash-bar-fill{transform-origin:0;background-color:#047857;border-radius:999px;width:100%;height:100%;animation:1.2s cubic-bezier(.22,1,.36,1) forwards splashBarFill}@keyframes splashBarFill{0%{transform:scaleX(.08)}to{transform:scaleX(1)}}.app-splash-footer{color:#475569;font-size:.78rem;font-weight:600}@media (prefers-reduced-motion:reduce){.app-splash-screen{transition:none}.app-splash-bar-fill{animation:none;transform:scaleX(1)}}.login-brand-title{color:#fff;font-size:1.15rem;font-weight:800}.login-brand-sub{color:#cbd5e1;margin-top:2px;font-size:.82rem}.login-brand-copy h2{color:#fff;margin-bottom:12px;font-size:1.55rem;font-weight:800;line-height:1.3}.login-brand-copy p{color:#cbd5e1;font-size:.92rem;line-height:1.6}.login-feature-list{border-top:1px solid #1e293b;flex-direction:column;gap:12px;padding-top:22px;list-style:none;display:flex}.login-feature-list li{color:#e2e8f0;padding-left:18px;font-size:.86rem;line-height:1.45;position:relative}.login-feature-list li:before{content:"";background-color:#10b981;border-radius:50%;width:7px;height:7px;position:absolute;top:8px;left:0}.login-form-pane{background-color:#f8fafc;justify-content:center;align-items:center;padding:28px 24px;display:flex}.login-card{background-color:#fff;border:1px solid #e2e8f0;border-radius:16px;width:100%;max-width:410px;padding:32px 28px;box-shadow:0 4px 16px #0f172a0d}.login-mobile-brand{border-bottom:1px solid #e2e8f0;align-items:center;gap:12px;margin-bottom:18px;padding-bottom:16px;display:none}.login-mobile-clinic{color:#0f172a;font-size:1rem;font-weight:800}.login-mobile-sub{color:#475569;font-size:.76rem}.login-card-head{margin-bottom:22px}.login-card-head h1{color:#0f172a;margin-bottom:6px;font-size:1.4rem;font-weight:800}.login-card-head p{color:#475569;font-size:.86rem;line-height:1.45}.login-error-alert{color:#991b1b;background-color:#fef2f2;border:1px solid #fecaca;border-radius:10px;align-items:flex-start;gap:10px;margin-bottom:18px;padding:12px 14px;font-size:.84rem;font-weight:600;line-height:1.4;display:flex}.login-error-icon{color:#dc2626;flex-shrink:0;margin-top:1px}.login-form{flex-direction:column;gap:16px;display:flex}.login-field label{color:#0f172a;margin-bottom:6px;font-size:.84rem;font-weight:700;display:block}.login-field input{color:#0f172a;background-color:#fff;border:1px solid #cbd5e1;border-radius:10px;width:100%;min-height:48px;padding:12px 14px;font-size:1rem;transition:border-color .15s}.login-field input:focus{border-color:#047857}.login-password-wrap{align-items:center;display:flex;position:relative}.login-password-wrap input{padding-right:48px}.login-toggle-pw{color:#475569;background:0 0;border:none;border-radius:8px;justify-content:center;align-items:center;width:44px;height:44px;display:flex;position:absolute;right:4px}.login-toggle-pw:hover:not(:disabled){color:#0f172a;background-color:#f1f5f9}.login-submit-btn{color:#fff;background-color:#047857;border:none;border-radius:10px;justify-content:center;align-items:center;gap:8px;width:100%;min-height:48px;margin-top:4px;padding:12px 16px;font-size:.95rem;font-weight:700;transition:background-color .15s;display:inline-flex}.login-submit-btn:hover:not(:disabled){background-color:#065f46}.login-submit-btn:active:not(:disabled){background-color:#064e3b}.login-submit-btn:disabled{opacity:.72}.login-session-note{color:#475569;border-top:1px solid #f1f5f9;margin-top:18px;padding-top:14px;font-size:.78rem;line-height:1.5}.desktop-sidebar-footer{border-top:1px solid #1e293b;flex-direction:column;gap:10px;margin-top:auto;padding-top:16px;display:flex}.desktop-user-box{background-color:#1e293b;border-radius:10px;align-items:center;gap:10px;padding:10px 12px;display:flex}.desktop-user-avatar{color:#fff;background-color:#047857;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:34px;height:34px;display:flex}.desktop-user-meta{min-width:0}.desktop-user-name{color:#f8fafc;white-space:nowrap;text-overflow:ellipsis;font-size:.82rem;font-weight:700;overflow:hidden}.desktop-user-role{color:#cbd5e1;font-size:.72rem}.desktop-logout-btn{color:#e2e8f0;background-color:#0000;border:1px solid #334155;border-radius:10px;justify-content:center;align-items:center;gap:8px;width:100%;min-height:44px;padding:10px 12px;font-size:.84rem;font-weight:700;transition:background-color .15s,border-color .15s;display:inline-flex}.desktop-logout-btn:hover{color:#fff;background-color:#1e293b;border-color:#475569}.mobile-header-actions{align-items:center;gap:8px;display:flex}.mobile-header-bell,.mobile-header-logout{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;justify-content:center;align-items:center;width:44px;height:44px;display:flex}.mobile-header-logout:active{background:#f1f5f9}.mobile-logout-desc{color:#334155;margin-bottom:18px;font-size:.86rem;line-height:1.5}.mobile-logout-actions{grid-template-columns:1fr 1fr;gap:10px;display:grid}.mobile-logout-cancel,.mobile-logout-confirm{border-radius:10px;min-height:46px;font-size:.88rem;font-weight:700}.mobile-logout-cancel{color:#0f172a;background-color:#fff;border:1px solid #cbd5e1}.mobile-logout-confirm{color:#fff;background-color:#dc2626;border:none}@media (width<=900px){.login-page-shell{grid-template-columns:1fr}.login-brand-pane{display:none}.login-mobile-brand{display:flex}.login-form-pane{min-height:100dvh;padding:20px 16px calc(24px + env(safe-area-inset-bottom,0px)) 16px;flex-direction:column;justify-content:flex-start;align-items:center;display:flex}.login-card{margin:auto 0;padding:24px 20px}}.bi-chart-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px;display:flex}.bi-chart-title-row{align-items:center;gap:8px;display:flex}.bi-chart-title-row h3{color:#0f172a;font-size:.92rem;font-weight:800}.bi-chart-tabs{flex-wrap:wrap;gap:6px;display:flex}.bi-tab-btn{color:#334155;background-color:#f8fafc;border:1px solid #cbd5e1;border-radius:8px;min-height:36px;padding:6px 12px;font-size:.76rem;font-weight:700;transition:background-color .15s,color .15s,border-color .15s}.bi-tab-btn:hover{color:#0f172a;background-color:#f1f5f9}.bi-tab-btn.active{color:#fff;background-color:#047857;border-color:#047857}.bi-cat-filter-row{background-color:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:12px;padding:8px 10px;display:flex}.bi-cat-filter-row label{color:#334155;font-size:.76rem;font-weight:700}.bi-cat-select{color:#0f172a;background-color:#fff;border:1px solid #cbd5e1;border-radius:8px;flex:1;min-width:180px;min-height:38px;padding:6px 10px;font-size:.82rem;font-weight:600}.bi-chart-scroll-box{width:100%;padding-right:4px;overflow:hidden auto}.bi-chart-state{text-align:center;color:#475569;flex-direction:column;justify-content:center;align-items:center;gap:10px;min-height:200px;padding:20px;font-size:.84rem;display:flex}.bi-chart-state.error{color:#991b1b}.bi-retry-btn{color:#991b1b;background-color:#fef2f2;border:1px solid #fca5a5;border-radius:8px;align-items:center;gap:6px;min-height:40px;padding:8px 14px;font-size:.8rem;font-weight:700;display:inline-flex}.bi-chart-tooltip{background-color:#fff;border:1px solid #cbd5e1;border-radius:10px;max-width:240px;padding:10px 12px;box-shadow:0 6px 18px #0f172a1a}.bi-tooltip-name{color:#0f172a;margin-bottom:4px;font-size:.8rem;font-weight:800}.bi-tooltip-val{color:#047857;font-size:.78rem}.bi-tooltip-meta{color:#475569;margin-top:2px;font-size:.72rem}.bi-color-legend{color:#475569;border-top:1px solid #f1f5f9;flex-wrap:wrap;gap:14px;margin-top:10px;padding-top:10px;font-size:.74rem;font-weight:600;display:flex}.bi-color-legend span{align-items:center;gap:6px;display:inline-flex}.bi-color-legend i{border-radius:3px;width:10px;height:10px;display:inline-block}.bi-color-legend .dot-red{background-color:#dc2626}.bi-color-legend .dot-amber{background-color:#d97706}.bi-color-legend .dot-green{background-color:#047857}.bi-donut-legend-list{flex-direction:column;gap:10px;width:46%;display:flex}.bi-donut-legend-item{align-items:center;gap:8px;font-size:.78rem;display:flex}.bi-donut-swatch{border-radius:3px;flex-shrink:0;width:10px;height:10px}.bi-donut-name{color:#334155;flex:1;min-width:0;font-weight:600}.bi-donut-val{color:#0f172a;font-variant-numeric:tabular-nums;font-weight:800}.bi-alert-card{flex-wrap:wrap;justify-content:space-between;align-items:flex-start}.bi-alert-main{flex:1;align-items:flex-start;gap:12px;min-width:260px;display:flex}.bi-alert-actions{flex-shrink:0;align-items:center;gap:8px;display:flex}.bi-alert-toggle-btn{color:#991b1b;background-color:#fff;border:1px solid #fca5a5;border-radius:8px;align-items:center;gap:5px;min-height:38px;padding:6px 12px;font-size:.78rem;font-weight:700;display:inline-flex}.bi-alert-goto-btn{color:#fff;background-color:#b91c1c;border:none;border-radius:8px;min-height:38px;padding:6px 14px;font-size:.78rem;font-weight:700}.mobile-bi-alert{flex-direction:column;align-items:stretch;gap:10px}.mobile-bi-alert-top{align-items:flex-start;gap:10px;display:flex}.mobile-bi-alert-actions{flex-wrap:wrap;gap:8px;display:flex}.mobile-bi-alert-toggle,.mobile-bi-alert-link{border-radius:8px;justify-content:center;align-items:center;gap:4px;min-height:38px;padding:6px 12px;font-size:.76rem;font-weight:700;display:inline-flex}.mobile-bi-alert-toggle{color:#991b1b;background-color:#fff;border:1px solid #fca5a5}.mobile-bi-alert-link{color:#fff;background-color:#b91c1c;border:none;flex:1}@media (width<=768px){.bi-tab-btn{min-height:40px;padding:7px 11px;font-size:.76rem}}@media (width<=1120px){.desktop-kpi-grid,.mutasi-kpi-grid{grid-template-columns:repeat(2,1fr)}}.audit-feedback-toast{border-radius:10px;justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px;padding:11px 14px;font-size:.84rem;font-weight:700;display:flex}.audit-feedback-toast.success{color:#065f46;background-color:#ecfdf5;border:1px solid #a7f3d0}.audit-feedback-toast.error{color:#991b1b;background-color:#fef2f2;border:1px solid #fecaca}.audit-feedback-toast button{color:inherit;background:0 0;border:none;border-radius:6px;justify-content:center;align-items:center;min-width:32px;min-height:32px;display:inline-flex}
