@font-face{font-family:MilkManHindi;src:url(/fonts/NotoSansDevanagari-Regular.ttf)format("truetype");font-weight:400;font-style:normal;font-display:swap}*{box-sizing:border-box}body{color:#1f2937;background:#f4f5f7;margin:0;font-family:Arial,sans-serif}:root{--brand-primary:#111827}#root{min-height:100vh}.app{max-width:1100px;margin:0 auto;padding:18px}.api-loader-overlay{z-index:9999;pointer-events:all;background:#0f172a59;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.api-loader-card{background:#fff;border:1px solid #cbd5e1;border-radius:10px;align-items:center;gap:12px;padding:14px 18px;font-weight:600;display:flex;box-shadow:0 10px 30px #0f172a26}.api-loader-spinner{border:3px solid #e5e7eb;border-top-color:var(--brand-primary,#111827);border-radius:50%;flex-shrink:0;width:22px;height:22px;animation:.75s linear infinite api-loader-spin}.api-loader-text{color:#111827}@keyframes api-loader-spin{to{transform:rotate(360deg)}}body.api-loading{overflow:hidden}body.api-loading button:not([data-api-loader-ignore]),body.api-loading input[type=submit],body.api-loading .signin-button{cursor:not-allowed}.topbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px;display:flex}.install-app-banner{background:#eff6ff;border:1px solid #bfdbfe;border-radius:10px;width:100%;margin-bottom:16px;padding:12px 14px}.install-app-banner-title{margin:0 0 4px;font-weight:600}.install-app-banner-text{margin:0 0 10px;font-size:.9rem}.install-app-banner-cta{width:100%}.install-app-help{color:#1e3a5f;margin:12px 0 0;padding-left:1.2rem;font-size:.9rem}.install-app-help li+li{margin-top:6px}.card{background:#fff;border:1px solid #d1d5db;border-radius:10px;margin-bottom:16px;padding:16px}.grid{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;margin-bottom:14px;display:grid}.qty-grid{grid-template-columns:repeat(2,minmax(110px,1fr));gap:10px;margin-top:10px;display:grid}.muted{color:#64748b;font-size:13px}label{flex-direction:column;gap:6px;font-size:13px;display:flex}.checkbox{flex-direction:row;align-items:center;gap:6px;margin-top:8px}input,select,textarea,button{border:1px solid #c7cdd7;border-radius:8px;padding:8px;font-size:14px}.status-pill{border-radius:999px;padding:2px 8px;font-size:12px;font-weight:700;display:inline-block}.status-pill--paid{color:#166534;background:#dcfce7}.status-pill--approval-pending,.status-pill--under-review{color:#92400e;background:#fef3c7}.status-pill--not-paid,.status-pill--unpaid{color:#991b1b;background:#fee2e2}.status-pill--returned{color:#3730a3;background:#e0e7ff}button{cursor:pointer;background:var(--brand-primary);color:#fff;border:0;margin:4px 6px 4px 0}button:disabled{cursor:not-allowed;background:#9ca3af}.ghost{color:#111827;background:#e5e7eb}.ghost.danger{color:#b91c1c}.row{flex-wrap:wrap;align-items:center;gap:12px;margin:8px 0 12px;display:flex}.list-row{border:1px solid #e5e7eb;border-radius:8px;justify-content:space-between;gap:12px;margin-bottom:12px;padding:12px;display:flex}.entry-normal{background:#fff}.entry-paused{background:#fef9c3;border-color:#facc15}.entry-not-give{background:#fee2e2;border-color:#ef4444}.ticket-row-closed{background:#dcfce7;border-color:#22c55e}.ticket-row-reopen{background:#fffbeb;border-color:#f59e0b}.actions{flex-wrap:wrap;align-items:flex-start;gap:8px;display:flex}.warn{color:#9a3412;font-size:13px}.screen-strip{flex-wrap:wrap;gap:8px;display:flex}.customer-select{flex-direction:column;gap:6px;min-width:min(280px,100%);display:flex}.customer-select-label{color:#374151;font-size:.9rem}.customer-select-field{position:relative}.customer-select-field input{width:100%;margin-bottom:0}.customer-select-suggestions{z-index:40;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;background:#fff;border:1px solid #d1d5db;border-radius:8px;max-height:min(320px,50vh);margin:0;padding:4px 0;list-style:none;position:absolute;top:calc(100% + 4px);left:0;right:0;overflow-y:auto;box-shadow:0 8px 24px #0f172a1f}.customer-select-suggestions li{cursor:pointer;flex-direction:column;gap:2px;padding:8px 12px;font-size:.95rem;display:flex}.customer-select-suggestions li.is-active,.customer-select-suggestions li:hover:not(.customer-select-hint){background:#eff6ff}.customer-select-hint{cursor:default;color:#6b7280;background:#f9fafb;font-size:.82rem}.customer-select-phone{color:#6b7280;font-size:.82rem}.chip{color:#111827;background:#e5e7eb}.chip-notify-badge{color:#fff;vertical-align:middle;background:#dc2626;border-radius:999px;justify-content:center;align-items:center;min-width:18px;height:18px;margin-left:6px;padding:0 5px;font-size:11px;font-weight:700;line-height:1;display:inline-flex}.entry-review-alert{color:#92400e;background:#fef3c7;border-radius:8px;margin:0 0 12px;padding:8px 12px;font-size:14px;font-weight:600}.chip-active{background:var(--brand-primary);color:#fff}.pagination-wrap{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin-top:8px;display:flex}.pagination-size{color:#374151;align-items:center;gap:8px;font-size:.9rem;display:inline-flex}.pagination-size select{min-width:4.5rem}.pagination{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:6px;display:flex}.pagination-nav{min-width:2rem;padding:6px 10px}.chip:disabled,.pagination-nav:disabled{color:#9ca3af;cursor:not-allowed;background:#f3f4f6}.delivery-item,.mock-card{border:1px solid #e5e7eb;border-radius:8px;margin-bottom:12px;padding:12px}.delivery-panel{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:10px;display:grid}.delivery-home-grid{grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:12px;display:grid}.delivery-home-title{justify-content:space-between;align-items:center;margin-bottom:8px;display:flex}.delivery-home-title strong{font-size:20px;font-weight:800}.delivery-home-card{background:#fff;border:1px solid #d1d5db;border-radius:10px;padding:12px;position:relative;overflow:hidden}.delivery-card-daily{background:#e0f2fe}.delivery-card-delivered{background:#dcfce7;border-color:#22c55e}.delivery-card-undelivered{background:#fee2e2;border-color:#ef4444}.card-status-bg-icon{opacity:.14;pointer-events:none;font-size:54px;position:absolute;bottom:6px;right:10px}.delivery-card-top,.delivery-card-mid{justify-content:space-between;align-items:center;gap:10px;margin-bottom:8px;display:flex}.badge{color:#111827;background:#e5e7eb;border-radius:999px;padding:3px 10px;font-size:12px}.delivery-seq-circle{background:var(--brand-primary,#111827);color:#fff;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:34px;height:34px;font-size:14px;font-weight:800;line-height:1;display:inline-flex;box-shadow:0 1px 3px #0f172a33}.delivery-card-stats{text-align:right;flex:1;min-width:0;font-size:13px;font-weight:700;line-height:1.35}.delivery-customer-meta{flex-direction:column;gap:2px;display:flex}.delivery-customer-meta span{color:#475569;font-size:12px}.delivery-card-landmark{color:#0f172a;font-size:14px;font-weight:800;line-height:1.35}.admin-customer-seq-top{color:#0f172a;margin:0 0 6px;font-size:15px;font-weight:800;line-height:1.2}.admin-customer-seq-top strong{font-weight:800}.delivery-sheet-root{z-index:2500;flex-direction:column;justify-content:flex-end;display:flex;position:fixed;inset:0}.delivery-sheet-backdrop{cursor:pointer;background:#0f172a73;border:none;margin:0;padding:0;position:absolute;inset:0}.delivery-address-sheet{z-index:1;padding:20px 16px calc(20px + env(safe-area-inset-bottom,0px));background:#fff;border-radius:16px 16px 0 0;max-height:72vh;animation:.24s ease-out delivery-sheet-slide-up;position:relative;overflow-y:auto;box-shadow:0 -10px 28px #0f172a2e}@keyframes delivery-sheet-slide-up{0%{transform:translateY(100%)}to{transform:translateY(0)}}.delivery-sheet-close{color:#0f172a;cursor:pointer;background:#f1f5f9;border:none;border-radius:999px;justify-content:center;align-items:center;width:36px;height:36px;font-size:24px;line-height:1;display:flex;position:absolute;top:10px;right:10px}.delivery-sheet-title{margin:0 40px 12px 0;font-size:18px;font-weight:800}.delivery-sheet-label{text-transform:uppercase;letter-spacing:.04em;color:#64748b;margin:0 0 6px;font-size:12px;font-weight:700}.delivery-sheet-address{color:#1e293b;white-space:pre-wrap;margin:0 0 16px;font-size:15px;line-height:1.5}.delivery-sheet-map-btn{width:100%;min-height:44px;font-size:15px;font-weight:700}.bill-preview-card{border-color:#94a3b8}.bill-preview-customer-meta .hindi-text{font-family:MilkManHindi,Noto Sans Devanagari,sans-serif}.bill-report-modal-root{z-index:1200;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.bill-report-modal-backdrop{cursor:pointer;background:#0f172a73;border:none;position:absolute;inset:0}.bill-report-modal{z-index:1;background:#fff;border-radius:12px;width:min(960px,100%);max-height:min(92vh,900px);padding:18px 18px 24px;position:relative;overflow:auto;box-shadow:0 20px 50px #0f172a40}.bill-report-modal-close{cursor:pointer;color:#64748b;background:0 0;border:none;font-size:28px;line-height:1;position:absolute;top:10px;right:12px}.bill-report-modal h3{margin:0 0 6px;padding-right:36px}.bill-report-modal-meta{margin:0 0 12px}.bill-report-modal-actions{margin-bottom:8px}.bill-excel-panel{background:#fff;border:1px solid #cbd5e1;border-radius:8px;margin:16px 0;padding:14px}.bill-excel-panel--compact{margin-top:12px;padding:12px}.bill-excel-panel__head{justify-content:space-between;align-items:center;gap:12px;margin-bottom:4px;display:flex}.bill-excel-panel__head h4{margin:0;font-size:15px}.bill-excel-panel__hint{margin:0 0 12px;font-size:13px}.bill-excel-table-wrap{margin-bottom:12px}.bill-excel-table th{color:#fff;background:#217346;border-color:#1a5c38}.bill-excel-table td{background:#fff}.bill-excel-summary{max-width:360px;margin-top:8px}.bill-excel-summary-table th{color:#334155;background:#f1f5f9;width:55%;font-weight:600}.bill-excel-summary__due th,.bill-excel-summary__due td{background:#fef3c7;font-weight:700}.bill-preview-text{white-space:pre-wrap;resize:vertical;box-sizing:border-box;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;width:100%;min-height:200px;margin:8px 0 0;padding:14px;font-family:inherit;font-size:14px;line-height:1.5;display:block}.bill-preview-text--compact{max-height:160px;margin-top:8px;font-size:12px;overflow:auto}.bill-preview-notes{margin:12px 0;font-size:13px}.bill-preview-notes summary{cursor:pointer;color:#475569;font-weight:600}.bill-pdf-preview{margin:12px 0}.bill-pdf-preview__head{justify-content:space-between;align-items:center;gap:12px;margin-bottom:4px;display:flex}.bill-pdf-preview__head h4{margin:0}.bill-pdf-preview__hint{margin:0 0 8px;font-size:13px}.whatsapp-preview-shell{margin-top:12px}.whatsapp-preview-header{justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px;display:flex}.whatsapp-preview-label{color:#334155;font-size:13px;font-weight:600}.whatsapp-preview-phone{color:#64748b;font-size:12px}.whatsapp-preview-chat{background:#e5ddd5;border:1px solid #d1c7bc;border-radius:10px;padding:12px}.whatsapp-preview-bubble{color:#111827;background:#dcf8c6;border-radius:8px 8px 8px 2px;max-width:100%;padding:10px 12px;font-size:14px;line-height:1.45;box-shadow:0 1px 1px #00000014}.whatsapp-preview-line{white-space:pre-wrap;word-break:break-word;margin:0}.whatsapp-preview-line+.whatsapp-preview-line{margin-top:2px}.whatsapp-preview-line strong{font-weight:700}.whatsapp-preview-note{margin:8px 0 0;font-size:12px}.regenerate-bill-form{min-width:220px}.regenerate-bill-form .row{margin-top:8px}.payment-review-note{background:#fffbeb;border:1px solid #fcd34d;border-radius:8px;margin:8px 0 0;padding:8px 10px;font-size:13px;line-height:1.45}.delivery-edit-card textarea{resize:vertical;width:100%;min-height:72px;margin-top:4px}.icon-actions{flex-wrap:wrap;gap:6px;display:flex}.icon-actions button{min-width:40px;min-height:34px;padding:6px 8px;font-size:12px;font-weight:700}.mini-milk-table{border-collapse:collapse;border:1px solid #000;width:100%}.mini-milk-table th,.mini-milk-table td{border:1px solid #000;padding:6px;font-size:12px}.mini-milk-table th{color:#000;font-weight:800}.mini-milk-table td{color:#111827;font-weight:600}.dot{vertical-align:middle;border:1px solid #111827;border-radius:50%;width:10px;height:10px;margin-right:6px;display:inline-block}.white-dot{background:#fff}.green-dot{background:#22c55e}.delivery-edit-page{flex-direction:column;gap:12px;display:flex}.delivery-edit-card{background:#fff;border:1px solid #d1d5db;border-radius:10px;padding:14px}.report-summary-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px;margin:8px 0 14px;display:grid}.report-summary-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:12px}.report-summary-card__title{color:#1e3a5f;margin-bottom:8px;font-size:13px;display:block}.report-summary-metrics{flex-direction:column;gap:6px;display:flex}.report-summary-metric{justify-content:space-between;align-items:baseline;gap:12px;font-size:13px;display:flex}.report-summary-metric__label{color:#64748b}.report-summary-metric__value{color:#0f172a;text-align:right;font-weight:600}.report-row--locked{background:#fffbeb}.report-row--locked input:disabled,.report-row--locked select:disabled{opacity:.85;cursor:not-allowed}.report-rate-cell{white-space:nowrap}.report-rate-cell .report-lock-hint{margin-left:4px}.report-table-wrap{overflow-x:auto}.report-table{border-collapse:collapse;width:100%;min-width:760px}.report-table th,.report-table td{text-align:left;border:1px solid #e5e7eb;padding:8px;font-size:13px}.report-table th{background:#f3f4f6}.report-table--editable .report-cell-input{box-sizing:border-box;border:1px solid #cbd5e1;border-radius:4px;width:100%;min-width:64px;max-width:140px;padding:4px 6px;font-size:12px}.report-table--editable .report-cell-input--narrow{min-width:52px;max-width:88px}.report-log-comment{white-space:normal;word-break:break-word;color:#334155;min-width:140px;max-width:220px;font-size:12px;line-height:1.35}.report-lock-hint{margin-left:4px;font-size:11px}.report-amt{font-weight:700}.report-amt--paid{color:#166534}.report-amt--approval{color:#92400e}.report-amt--pending{color:#991b1b}.report-amt--return{color:#9a3412}.customer-bill-panel{border-color:#94a3b8}.customer-bill-panel__head{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:16px;display:flex}.customer-bill-panel__actions{flex-wrap:wrap;margin:0}.customer-bill-summary{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px;margin-bottom:20px;display:grid}.customer-bill-summary__item{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:10px 12px;font-size:13px}.customer-bill-summary__item span{color:#64748b;margin-bottom:4px;display:block}.customer-bill-summary__item--due{background:#fef2f2;border-color:#fecaca}.customer-bill-printable{background:#fff;border:1px solid #e2e8f0;border-radius:8px;margin-bottom:20px;padding:20px}.customer-bill-letterhead{text-align:center;border-bottom:2px solid #1e3a5f;margin-bottom:16px;padding-bottom:12px}.customer-bill-letterhead h4{color:#1e3a5f;margin:0;font-size:22px}.customer-bill-letterhead__sub{color:#64748b;letter-spacing:.04em;text-transform:uppercase;margin:4px 0 0;font-size:13px}.customer-bill-meta{grid-template-columns:1fr 1fr;gap:16px;margin-bottom:20px;font-size:14px;display:grid}.customer-bill-meta strong{text-transform:uppercase;letter-spacing:.05em;color:#64748b;margin-bottom:4px;font-size:11px;display:block}.customer-bill-section-title{color:#1e3a5f;border-left:4px solid #1e3a5f;margin:16px 0 8px;padding-left:8px;font-size:14px}.customer-bill-printable--excel .customer-bill-table th{color:#fff;background:#217346;border-color:#1a5c38}.customer-bill-table-wrap{margin-bottom:8px;overflow-x:auto}.customer-bill-table{border-collapse:collapse;width:100%;font-size:13px}.customer-bill-table th,.customer-bill-table td{text-align:left;border:1px solid #e5e7eb;padding:8px 10px}.customer-bill-table th{color:#334155;background:#f1f5f9;font-weight:600}.customer-bill-table td.num{text-align:right;font-weight:600}.customer-bill-totals{border-top:2px solid #1e3a5f;max-width:420px;margin-top:16px;margin-left:auto;padding-top:12px}.customer-bill-totals__row{justify-content:space-between;padding:6px 0;font-size:14px;display:flex}.customer-bill-totals__row--due{color:#991b1b;border-top:1px solid #e5e7eb;margin-top:6px;padding-top:10px;font-size:16px}.customer-bill-pdf-panel{margin-top:8px}.customer-bill-pdf-panel h4{margin:0 0 8px;font-size:15px}.customer-bill-pdf-frame{background:#f1f5f9;border:1px solid #cbd5e1;border-radius:8px;width:100%;height:70vh;min-height:480px;max-height:720px}.sign-in-screen{max-width:420px;margin:32px auto}.themed-login,.themed-home{border-radius:12px;min-height:100vh}.themed-surface{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#ffffffeb;border:1px solid #d1d5db;border-radius:12px;padding:16px}.signin-card{border:1px solid #fff6;max-width:460px;margin:56px auto;box-shadow:0 18px 48px #0f172a33}.signin-brand h1{color:var(--brand-primary);margin:0;font-size:30px;line-height:1.1}.signin-brand p{color:#475569;margin:8px 0 0;font-size:14px}.signin-divider{background:linear-gradient(90deg,#0000,#cbd5e1,#0000);height:1px;margin:14px 0}.signin-card input,.signin-card select{background:#f8fafc;border:1px solid #cbd5e1;transition:border-color .2s,box-shadow .2s}.signin-card input:focus,.signin-card select:focus{border-color:var(--brand-primary);box-shadow:0 0 0 3px color-mix(in srgb, var(--brand-primary) 20%, white);outline:none}.signin-button{letter-spacing:.2px;width:100%;margin-top:10px;padding:10px 12px;font-weight:700}.customer-portal h3{margin-top:0}.customer-content-box{background:#fff;border:1px solid #e5e7eb;border-radius:10px;margin-top:8px;padding:12px}.customer-address-card{border-top:1px solid #e2e8f0;margin-top:18px;padding-top:14px}.customer-address-card h4{margin:0 0 10px}.customer-portal-error{color:#b91c1c;font-weight:600}.customer-banner{border-radius:8px;margin-bottom:12px;padding:10px 12px;font-size:14px}.customer-banner--warn{background:#fef3c7;border:1px solid #f59e0b}.customer-banner--pause{background:#ede9fe;border:1px solid #7c3aed}.customer-period-toolbar{flex-wrap:wrap;align-items:flex-end;gap:12px;margin-bottom:16px;display:flex}.customer-wallet-strip{background:#f0fdf4;border:1px solid #bbf7d0;border-radius:10px;justify-content:space-between;align-items:center;gap:8px;margin-bottom:12px;padding:10px 12px;display:flex}.customer-wallet-strip span{color:#166534;font-size:13px}.customer-wallet-strip strong{color:#166534;font-size:18px}.customer-summary-grid{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px;margin-bottom:20px;display:grid}.customer-summary-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;flex-direction:column;gap:4px;padding:10px 12px;display:flex}.customer-summary-label{color:#64748b;font-size:12px}.customer-cal-nav{justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px;display:flex}.customer-cal-title{font-size:16px;font-weight:700}.customer-cal-weekdays{color:#64748b;text-align:center;grid-template-columns:repeat(7,1fr);gap:4px;margin-bottom:4px;font-size:11px;display:grid}.customer-cal-cells{grid-template-columns:repeat(7,1fr);gap:4px;display:grid}.customer-cal-watermark{pointer-events:none;z-index:0;opacity:.22;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.customer-cal-watermark svg{width:min(82%,46px);height:auto;max-height:46px}.customer-cal-watermark--delivered{color:#16a34a}.customer-cal-watermark--not_delivered{color:#dc2626}.customer-cal-watermark--pause{color:#7c3aed}.customer-cal-cell{background:#fff;border:1px solid #e2e8f0;border-radius:6px;min-height:58px;padding:4px 6px;font-size:12px;position:relative}.customer-cal-cell--pad{background:0 0;border:none;min-height:0;padding:0}.customer-cal-daynum{z-index:2;font-size:12px;font-weight:600;line-height:1;position:absolute;top:4px;right:6px}.customer-cal-liters{text-align:center;color:#0f172a;pointer-events:none;z-index:2;font-size:11px;font-weight:600;line-height:1.2;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.customer-cal-amount{color:#0f172a;z-index:2;font-size:10px;font-weight:700;line-height:1.2;position:absolute;bottom:4px;right:5px}.customer-cal-cell--delivered .customer-cal-liters,.customer-cal-cell--delivered .customer-cal-amount{color:#14532d}.customer-cal-cell--delivered{background:#dcfce7;border-color:#16a34a}.customer-cal-cell--paid{box-shadow:inset 0 0 0 2px #166534}.customer-cal-paid-badge{color:#14532d;z-index:2;background:#bbf7d0;border:1px solid #16a34a;border-radius:999px;padding:1px 5px;font-size:9px;font-weight:800;line-height:1;position:absolute;top:4px;left:5px}.customer-cal-cell--not_delivered{background:#fee2e2;border-color:#dc2626}.customer-cal-cell--pause{background:#ede9fe;border-color:#7c3aed}.customer-cal-cell--pending{background:#fef9c3;border-color:#ca8a04}.customer-cal-cell--no_entry{color:#94a3b8;background:#f1f5f9}.customer-cal-cell--scheduled{background:#e0f2fe;border-color:#0284c7}.customer-cal-cell--stopped{background:#e2e8f0;border-color:#64748b}.customer-cal-legend{color:#475569;flex-wrap:wrap;align-items:center;gap:10px 14px;margin-top:12px;font-size:12px;display:flex}.customer-legend-item{align-items:center;gap:6px;display:inline-flex}.customer-legend-swatch{border:1px solid #cbd5e1;border-radius:4px;width:14px;height:14px;display:inline-block}.delivery-schedule-panel{flex-direction:column;gap:16px;display:flex}.schedule-prep-summary{color:#fff;background:linear-gradient(135deg,#0f172a 0%,#1e293b 100%);border:2px solid #334155;border-radius:12px;padding:16px 18px}.schedule-prep-title{margin:0 0 4px;font-size:1.15rem;font-weight:800}.schedule-prep-sub{margin:0 0 12px;color:#cbd5e1!important}.schedule-prep-table{border-collapse:collapse;width:100%;font-size:15px}.schedule-prep-table td{text-align:center;vertical-align:top;background:#0f172a;border:1px solid #475569;padding:12px 8px}.schedule-prep-cell{flex-direction:column;align-items:center;gap:6px;min-width:88px;display:flex}.schedule-prep-icon{justify-content:center;align-items:center;min-height:48px;display:flex}.schedule-prep-value{color:#fff;font-size:1.5rem;font-weight:800;line-height:1.1}.schedule-prep-label{text-transform:uppercase;letter-spacing:.03em;color:#cbd5e1;font-size:11px;font-weight:700;line-height:1.25}.schedule-list-meta{margin:0 0 8px;font-size:13px}.schedule-filters{margin-bottom:4px}.schedule-customer-list{flex-direction:column;gap:14px;display:flex}.schedule-customer-card{background:#fafbfc;border:1px solid #dbe2ea;border-radius:12px;padding:14px}.schedule-customer-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin-bottom:6px;display:flex}.schedule-default-plan{margin:0 0 10px}.schedule-mode-row{flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:4px;display:flex}.schedule-mode-label{font-size:13px;font-weight:700}.schedule-mode-toggle{gap:6px;display:flex}.schedule-mode-hint{margin:0 0 10px;font-size:12px}.schedule-temp-until{max-width:220px;margin-bottom:10px}.schedule-qty-grid{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px;margin-bottom:12px;display:grid}.schedule-qty-item{background:#fff;border:1px solid #dbe2ea;border-radius:10px;padding:8px}.schedule-qty-label{align-items:center;gap:8px;margin-bottom:6px;font-size:12px;font-weight:700;display:flex}.milk-bottle-icon,.milk-jug-icon{filter:drop-shadow(0 1px 1px #0f172a1f);flex-shrink:0}.schedule-qty-stepper{justify-content:space-between;align-items:center;gap:8px;display:flex}.schedule-qty-btn{min-width:36px;padding:4px 10px;font-size:18px;font-weight:700}.schedule-qty-value{text-align:center;min-width:28px;font-size:1.25rem}.schedule-pause-block{border:1px dashed #cbd5e1;border-radius:10px;margin:0 0 12px;padding:10px 12px}.schedule-pause-block legend{padding:0 4px;font-size:13px;font-weight:700}.schedule-last-remark{margin:0 0 10px;font-size:12px;font-style:italic}.schedule-remark-block{flex-direction:column;gap:6px;margin-bottom:12px;font-size:13px;font-weight:700;display:flex}.schedule-remark-block textarea{resize:vertical;width:100%;min-height:72px;font-weight:400;line-height:1.45}.schedule-remark-hint{font-size:12px;font-weight:400}.schedule-remark-reset{margin:0;padding:2px 8px;font-size:12px}.badge-warn{color:#92400e;background:#fef3c7}.admin-analysis-panel{flex-direction:column;gap:18px;display:flex}.analysis-header{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.analysis-range{min-width:160px}.analysis-period-badge{color:#334155;background:#e2e8f0;border-radius:999px;margin:0;padding:4px 10px;font-size:12px;font-weight:700;display:inline-block}.analysis-query-card{background:#f8fafc;border:1px solid #dbe2ea;border-radius:12px;margin:12px 0 16px;padding:14px}.analysis-query-card h4{margin:0 0 6px}.analysis-query-row{flex-wrap:wrap;gap:8px;margin-top:10px;display:flex}.analysis-query-input{border:1px solid #c7cdd7;border-radius:8px;flex:240px;min-width:0;padding:10px 12px;font-size:14px}.analysis-query-examples{flex-wrap:wrap;gap:8px;margin-top:10px;display:flex}.analysis-query-answer{color:#1e3a5f;background:#eff6ff;border:1px solid #bfdbfe;border-radius:10px;margin-top:12px;padding:12px}.analysis-query-answer p{margin:0 0 8px;line-height:1.5}.analysis-query-answer p:last-child{margin-bottom:0}.analysis-kpi-grid{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px;display:grid}.analysis-kpi{background:#fafbfc;border:1px solid #dbe2ea;border-radius:12px;flex-direction:column;gap:4px;padding:12px;display:flex}.analysis-kpi__label{color:#64748b;font-size:12px;font-weight:600}.analysis-kpi__value{font-size:1.25rem;line-height:1.2}.analysis-kpi__hint{color:#64748b;font-size:11px}.analysis-forecast-card{background:linear-gradient(135deg,#eef2ff 0%,#f8fafc 100%);border:2px solid #c7d2fe;border-radius:12px;padding:14px 16px}.analysis-forecast-card h4{margin:0 0 10px}.analysis-forecast-row{flex-wrap:wrap;gap:20px;display:flex}.analysis-forecast-row>div{flex-direction:column;gap:4px;display:flex}.analysis-forecast-row strong{font-size:1.2rem}.analysis-forecast-note{margin:10px 0 0;font-size:12px}.analysis-trend--up{color:#166534}.analysis-trend--down{color:#991b1b}.analysis-trend--stable{color:#475569}.analysis-charts-grid{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:14px;display:grid}.analysis-chart-card{background:#fff;border:1px solid #dbe2ea;border-radius:12px;padding:12px}.analysis-chart-card h4{margin:0 0 10px;font-size:14px}.analysis-bars{flex-direction:column;gap:8px;display:flex}.analysis-bar-row{grid-template-columns:minmax(88px,1fr) 2fr auto;align-items:center;gap:8px;font-size:12px;display:grid}.analysis-bar-track{background:#e2e8f0;border-radius:999px;height:10px;overflow:hidden}.analysis-bar-fill{border-radius:999px;min-width:4px;height:100%}.analysis-bar-value{text-align:right;min-width:48px;font-weight:700}.analysis-line-chart{width:100%;height:120px;display:block}.analysis-line-labels{color:#64748b;justify-content:space-between;margin-top:4px;font-size:11px;display:flex}.analysis-chart-foot{margin:6px 0 0;font-size:11px}.analysis-column-chart{align-items:flex-end;gap:4px;height:140px;padding-top:8px;display:flex;overflow-x:auto}.analysis-column-group{flex-direction:column;flex:1;justify-content:flex-end;align-items:center;gap:2px;min-width:22px;height:100%;display:flex}.analysis-column{border-radius:4px 4px 0 0;width:10px;min-height:4px}.analysis-column-date{color:#64748b;font-size:9px}.analysis-legend{flex-wrap:wrap;gap:10px;margin-top:8px;font-size:11px;display:flex}.analysis-legend-item{align-items:center;gap:4px;display:inline-flex}.analysis-legend-swatch{border-radius:2px;width:10px;height:10px}.analysis-table-wrap{overflow-x:auto}.analysis-table{border-collapse:collapse;width:100%;font-size:13px}.analysis-table th,.analysis-table td{text-align:left;border:1px solid #e2e8f0;padding:8px}.analysis-table th{background:#f8fafc}.analysis-suggestions h4{margin:0 0 10px}.analysis-suggestion-list{flex-direction:column;gap:10px;display:flex}.analysis-suggestion{background:#fafbfc;border:1px solid #dbe2ea;border-radius:10px;padding:12px}.analysis-suggestion--high{background:#fef2f2;border-color:#fecaca}.analysis-suggestion--medium{background:#fffbeb;border-color:#fde68a}.analysis-suggestion-priority{text-transform:uppercase;letter-spacing:.04em;color:#64748b;margin-bottom:4px;font-size:10px;font-weight:800;display:inline-block}.analysis-suggestion strong{margin-bottom:4px;display:block}.analysis-suggestion p{color:#334155;margin:0;font-size:13px;line-height:1.45}.schedule-prep-summary .schedule-prep-table-wrap{overflow-x:auto}.mysql-load-header{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:14px;display:flex}.mysql-load-header__actions{align-items:center;gap:10px;display:flex}.mysql-load-badge{text-transform:uppercase;letter-spacing:.04em;border-radius:999px;align-items:center;padding:6px 12px;font-size:.85rem;font-weight:700;display:inline-flex}.mysql-load-badge--low{color:#166534;background:#dcfce7}.mysql-load-badge--moderate{color:#854d0e;background:#fef9c3}.mysql-load-badge--high{color:#9a3412;background:#ffedd5}.mysql-load-badge--critical{color:#991b1b;background:#fee2e2}.mysql-load-metrics{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin-bottom:14px;display:grid}.mysql-load-metric{background:#f8fafc;border:1px solid #dbe2ea;border-radius:12px;flex-direction:column;gap:4px;padding:12px;display:flex}.mysql-load-metric__label{color:#64748b;font-size:12px;font-weight:600}.mysql-load-metric__value{font-size:1.2rem}.mysql-load-metric__hint{color:#64748b;font-size:11px}.mysql-load-usage{margin-bottom:12px}.mysql-load-usage__head{justify-content:space-between;margin-bottom:6px;font-size:.9rem;display:flex}.mysql-load-usage__track{background:#e2e8f0;border-radius:999px;height:10px;overflow:hidden}.mysql-load-usage__fill{border-radius:999px;height:100%}.mysql-load-usage__fill--ok{background:#22c55e}.mysql-load-usage__fill--warn{background:#f59e0b}.mysql-load-usage__fill--critical{background:#ef4444}.mysql-load-grid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px;margin:14px 0;display:grid}.mysql-load-block h4{margin:0 0 8px}.mysql-load-facts{margin:0;padding-left:18px;font-size:.92rem;line-height:1.5}.mysql-load-table{border-collapse:collapse;width:100%;font-size:13px}.mysql-load-table th,.mysql-load-table td{text-align:left;vertical-align:top;border:1px solid #e5e7eb;padding:8px}.mysql-load-table th{background:#f8fafc}.mysql-load-query{word-break:break-word;max-width:420px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px}.mysql-load-suggestions{flex-direction:column;gap:10px;display:flex}.mysql-load-suggestion{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:12px}.mysql-load-suggestion strong{margin-bottom:4px;display:block}.mysql-load-suggestion p{color:#334155;margin:0;font-size:13px;line-height:1.45}.mysql-load-suggestion--ok{background:#f0fdf4;border-color:#bbf7d0}.mysql-load-suggestion--info{background:#eff6ff;border-color:#bfdbfe}.mysql-load-suggestion--warn{background:#fffbeb;border-color:#fde68a}.mysql-load-suggestion--critical{background:#fef2f2;border-color:#fecaca}.mysql-load-warnings{margin-bottom:12px}.sys-health-panel{gap:16px;display:grid}.sys-health-header{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px;display:flex}.sys-health-badge{text-transform:uppercase;letter-spacing:.03em;border-radius:999px;align-items:center;padding:4px 10px;font-size:12px;font-weight:700;display:inline-flex}.sys-health-badge--ok{color:#166534;background:#dcfce7}.sys-health-badge--warn{color:#92400e;background:#fef3c7}.sys-health-badge--critical{color:#991b1b;background:#fee2e2}.sys-health-metrics{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px;margin-bottom:12px;display:grid}.sys-health-metric{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;flex-direction:column;gap:4px;padding:12px;display:flex}.sys-health-actions{flex-wrap:wrap;gap:8px;margin-top:8px;display:flex}.sys-health-table-wrap{overflow-x:auto}.sys-health-table{border-collapse:collapse;width:100%;font-size:14px}.sys-health-table th,.sys-health-table td{text-align:left;vertical-align:top;border-bottom:1px solid #e2e8f0;padding:10px 8px}.sys-health-table th{text-transform:uppercase;letter-spacing:.04em;color:#64748b;font-size:12px}.sys-health-detail{word-break:break-word;max-width:320px}.sys-health-block h3{margin:0}@media (width<=768px){.sys-health-header{flex-direction:column}.schedule-prep-table td{min-width:96px}.app{padding:10px}.delivery-panel{grid-template-columns:1fr}.list-row{flex-direction:column}}
