/*! tailwindcss v4.3.5 | MIT License | https://tailwindcss.com */
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:block))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.absolute{position:absolute}.transform{transform:var(--tw-rotate-x, ) var(--tw-rotate-y, ) var(--tw-rotate-z, ) var(--tw-skew-x, ) var(--tw-skew-y, )}.filter{filter:var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, )}}*{box-sizing:border-box}body{color:#172033;background:#f5f7fb;margin:0;font-family:Inter,Segoe UI,sans-serif}.nav-item{-webkit-user-select:none;user-select:none;transition:background .2s,color .2s}.nav-item:not(.active):hover{color:#fff;background:#263449}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}.app-layout{min-height:100vh;display:flex}.sidebar{color:#fff;background:#111827;flex-direction:column;flex-shrink:0;width:245px;padding:28px 18px;display:flex}.brand{align-items:center;gap:12px;margin-bottom:55px;font-size:22px;font-weight:700;display:flex}.brand svg{color:#60a5fa}.menu-label{color:#94a3b8;letter-spacing:1.5px;margin-bottom:15px;font-size:11px}.nav-item,.sidebar-bottom{color:#cbd5e1;cursor:pointer;border-radius:8px;align-items:center;gap:13px;margin-bottom:8px;padding:13px 14px;font-size:14px;display:flex}.nav-item.active{color:#fff;background:#2563eb}.nav-item:hover{background:#263449}.sidebar-bottom{margin-top:auto}.dashboard{flex:1;min-width:0;padding:36px}.dashboard-header{justify-content:space-between;align-items:center;gap:20px;margin-bottom:32px;display:flex}.dashboard-header h1{margin:0 0 8px;font-size:27px}.dashboard-header p,.chart-subtitle{color:#64748b;margin:0;font-size:14px}.status-indicator{color:#15803d;background:#dcfce7;border-radius:20px;align-items:center;gap:8px;padding:9px 14px;font-size:13px;display:flex}.status-dot,.risk-dot{border-radius:50%;width:9px;height:9px;display:inline-block}.status-dot,.green-dot{background:#10b981}.stats-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:25px;display:grid}.stat-card,.chart-card,.insights-card{background:#fff;border:1px solid #e8edf4;border-radius:12px;padding:22px;box-shadow:0 3px 12px #0f172a08}.stat-top{color:#64748b;justify-content:space-between;align-items:center;gap:8px;font-size:13px;display:flex}.stat-icon{border-radius:9px;padding:10px;display:flex}.blue{color:#2563eb;background:#dbeafe}.red{color:#dc2626;background:#fee2e2}.orange{color:#d97706;background:#fef3c7}.green{color:#059669;background:#d1fae5}.stat-card h2{margin:19px 0 7px;font-size:28px}.stat-card p{color:#94a3b8;margin:0;font-size:12px}.dashboard-grid{grid-template-columns:1.5fr 1fr;gap:20px;display:grid}.chart-card h3,.insights-card h3{margin:0 0 8px;font-size:17px}.chart-container{height:300px;margin-top:15px}.insight-row{color:#475569;border-bottom:1px solid #eef2f7;align-items:center;gap:12px;padding:19px 0;font-size:14px;display:flex}.insight-row strong{color:#172033;margin-left:auto}.red-dot{background:#ef4444}.orange-dot{background:#f59e0b}.insight-message{color:#1d4ed8;background:#eff6ff;border-radius:8px;margin-top:20px;padding:15px;font-size:13px;line-height:1.5}.loading,.error{padding:50px;font-size:16px}.error{color:#dc2626}@media (width<=1100px){.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=750px){.sidebar{width:75px;padding:20px 10px}.brand span,.menu-label,.nav-item span,.sidebar-bottom span{display:none}.nav-item,.sidebar-bottom{justify-content:center}.dashboard{padding:20px}.dashboard-grid{grid-template-columns:1fr}.dashboard-header{flex-direction:column;align-items:flex-start}}@media (width<=480px){.stats-grid{grid-template-columns:1fr}}.prediction-layout{grid-template-columns:minmax(0,1.5fr) minmax(300px,1fr);align-items:start;gap:22px;display:grid}.prediction-form,.prediction-result{background:#fff;border:1px solid #e8edf4;border-radius:12px;padding:25px;box-shadow:0 3px 12px #0f172a08}.form-heading{color:#2563eb;align-items:center;gap:13px;margin-bottom:30px;display:flex}.form-heading h2,.prediction-result h2{color:#172033;margin:0 0 6px;font-size:19px}.form-heading p{color:#64748b;margin:0;font-size:13px}.form-section-title{color:#2563eb;border-bottom:1px solid #e8edf4;margin:27px 0 17px;padding-bottom:10px;font-size:14px}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:17px;display:grid}.form-group{flex-direction:column;gap:8px;display:flex}.form-group label{color:#475569;font-size:12px;font-weight:600}.form-group select,.form-group input{color:#172033;background:#fff;border:1px solid #dbe2ea;border-radius:7px;outline:none;width:100%;height:42px;padding:0 11px}.form-group select:focus,.form-group input:focus{border-color:#2563eb;box-shadow:0 0 0 3px #dbeafe}.predict-button{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:8px;justify-content:center;align-items:center;gap:10px;width:100%;height:48px;margin-top:32px;font-size:14px;font-weight:600;display:flex}.predict-button:hover{background:#1d4ed8}.predict-button:disabled{opacity:.7;cursor:not-allowed}.prediction-result{min-height:400px}.empty-result{text-align:center;color:#94a3b8;flex-direction:column;justify-content:center;align-items:center;min-height:300px;padding:25px;display:flex}.empty-result h3{color:#334155;margin-bottom:5px}.empty-result p{font-size:13px;line-height:1.6}.result-score{text-align:center;background:#eff6ff;border-radius:10px;margin-top:20px;padding:30px 10px}.result-score span{color:#475569;font-size:14px}.result-score h1{color:#2563eb;margin:10px 0 0;font-size:43px}.risk-result{border-radius:9px;align-items:center;gap:13px;margin:20px 0;padding:17px;display:flex}.risk-result p{margin:5px 0 0;font-size:12px}.risk-result.high{color:#dc2626;background:#fee2e2}.risk-result.medium{color:#b45309;background:#fef3c7}.risk-result.low{color:#047857;background:#d1fae5}.prediction-result h3{margin:25px 0 15px;font-size:15px}.recommendation-list{flex-direction:column;gap:13px;display:flex}.recommendation-item{color:#475569;align-items:flex-start;gap:10px;font-size:13px;line-height:1.5;display:flex}.recommendation-item svg{color:#10b981;flex-shrink:0;margin-top:1px}.prediction-error{color:#b91c1c;background:#fee2e2;border-radius:8px;margin-top:20px;padding:14px;font-size:13px}.spin{animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}@media (width<=1050px){.prediction-layout{grid-template-columns:1fr}}@media (width<=550px){.form-grid{grid-template-columns:1fr}}.customer-summary{background:#fff;border:1px solid #e8edf4;border-radius:12px;align-items:center;gap:18px;margin-bottom:22px;padding:22px;display:flex}.customer-summary-icon{color:#2563eb;background:#dbeafe;border-radius:10px;padding:14px;display:flex}.customer-summary span{color:#64748b;font-size:13px}.customer-summary h2{margin:5px 0 0;font-size:27px}.customer-table-card{background:#fff;border:1px solid #e8edf4;border-radius:12px;padding:22px;overflow:hidden}.customer-toolbar{justify-content:space-between;gap:15px;margin-bottom:22px;display:flex}.customer-search{color:#64748b;border:1px solid #dbe2ea;border-radius:8px;flex:1;align-items:center;gap:10px;max-width:430px;padding:0 13px;display:flex}.customer-search input{background:0 0;border:none;outline:none;width:100%;height:42px;font-size:13px}.risk-filter{background:#fff;border:1px solid #dbe2ea;border-radius:8px;min-width:160px;padding:0 12px}.refresh-button{color:#334155;cursor:pointer;background:#fff;border:1px solid #dbe2ea;border-radius:8px;align-items:center;gap:8px;padding:10px 15px;display:flex}.table-scroll{width:100%;overflow-x:auto}.customer-table{border-collapse:collapse;text-align:left;white-space:nowrap;width:100%}.customer-table th{color:#64748b;background:#f8fafc;padding:15px 12px;font-size:12px;font-weight:600}.customer-table td{color:#475569;border-bottom:1px solid #eef2f7;padding:17px 12px;font-size:13px}.customer-id{font-weight:600;color:#2563eb!important}.risk-badge{border-radius:20px;padding:6px 11px;font-size:11px;font-weight:600;display:inline-block}.risk-badge.high{color:#dc2626;background:#fee2e2}.risk-badge.medium{color:#b45309;background:#fef3c7}.risk-badge.low{color:#047857;background:#d1fae5}.probability-cell{min-width:115px}.probability-track{background:#e2e8f0;border-radius:10px;height:5px;margin-top:7px;overflow:hidden}.probability-fill{border-radius:10px;height:100%}.probability-fill.high{background:#ef4444}.probability-fill.medium{background:#f59e0b}.probability-fill.low{background:#10b981}.customer-pagination{color:#64748b;justify-content:space-between;align-items:center;gap:15px;padding-top:20px;font-size:12px;display:flex}.customer-pagination div{align-items:center;gap:12px;display:flex}.customer-pagination button{cursor:pointer;background:#fff;border:1px solid #dbe2ea;border-radius:6px;padding:8px 12px}.customer-pagination button:disabled{opacity:.4;cursor:not-allowed}.customer-message{text-align:center;color:#64748b;padding:45px}.customer-error{color:#b91c1c;background:#fee2e2;border-radius:8px;margin-bottom:15px;padding:13px}@media (width<=650px){.customer-toolbar,.customer-pagination{flex-direction:column;align-items:stretch}.customer-search{max-width:none}.customer-pagination div{justify-content:space-between}}.analytics-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;display:grid}.analytics-chart{width:100%;height:290px;margin-top:22px}.analytics-stats .stat-card{min-width:0}.analytics-stats .stat-top svg{color:#2563eb}.feature-list{flex-direction:column;gap:17px;margin-top:24px;display:flex}.feature-item{flex-direction:column;gap:7px;display:flex}.feature-label{color:#475569;justify-content:space-between;gap:12px;font-size:12px;display:flex}.feature-label span{overflow-wrap:anywhere}.feature-label strong{color:#172033;white-space:nowrap}.feature-track{background:#e2e8f0;border-radius:10px;height:7px;overflow:hidden}.feature-fill{background:#3b82f6;border-radius:10px;height:100%}.analytics-error{color:#dc2626;padding:40px}@media (width<=900px){.analytics-grid{grid-template-columns:1fr}}@media (width<=600px){.analytics-chart{height:250px}}:root{--primary:#2563eb;--primary-dark:#1d4ed8;--navy:#111c35;--surface:#fff;--page-bg:#f5f7fc;--text-primary:#172033;--text-secondary:#64748b;--border:#e8edf4;--shadow:0 5px 20px #0f172a0b}body{background:var(--page-bg);color:var(--text-primary);-webkit-font-smoothing:antialiased;font-family:Inter,Segoe UI,sans-serif}.app-layout{background:var(--page-bg)}.sidebar{z-index:5;background:linear-gradient(#111c35 0%,#172744 100%);position:relative;box-shadow:4px 0 20px #0f172a14}.brand{letter-spacing:-.6px;margin-bottom:48px}.brand svg{color:#60a5fa;filter:drop-shadow(0 0 7px #60a5fa59)}.nav-item{border:1px solid #0000;transition:background .2s,color .2s,transform .2s}.nav-item:hover{background:#ffffff17;transform:translate(2px)}.nav-item.active{background:linear-gradient(110deg,#2563eb,#3b82f6);box-shadow:0 4px 12px #2563eb40}.dashboard{background:var(--page-bg);padding:34px 38px;animation:.3s pageEnter}@keyframes pageEnter{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}.dashboard-header h1{letter-spacing:-.8px;color:#111c35;font-size:29px;font-weight:750}.dashboard-header p{line-height:1.6}.stat-card,.chart-card,.insights-card,.prediction-form,.prediction-result,.customer-summary,.customer-table-card{border:1px solid var(--border);box-shadow:var(--shadow);border-radius:15px;transition:transform .2s,box-shadow .2s}.stat-card:hover,.chart-card:hover,.insights-card:hover{transform:translateY(-3px);box-shadow:0 9px 26px #0f172a13}.stat-card{padding:23px}.stat-card h2{letter-spacing:-.7px;color:#111c35;font-weight:750}.chart-card,.insights-card{padding:24px}.chart-card h3,.insights-card h3{color:#172033;letter-spacing:-.25px;font-weight:700}.prediction-form,.prediction-result{border-radius:15px;padding:27px}.form-group label{color:#334155;font-weight:600}.form-group input,.form-group select,.risk-filter{border:1px solid #dce3ed;border-radius:8px;transition:border-color .2s,box-shadow .2s}.form-group input:focus,.form-group select:focus{border-color:var(--primary);box-shadow:0 0 0 3px #2563eb1f}.predict-button{background:linear-gradient(110deg,#2563eb,#3b82f6);border-radius:9px;transition:all .2s;box-shadow:0 4px 10px #2563eb26}.predict-button:hover{background:linear-gradient(110deg,#1d4ed8,#2563eb);transform:translateY(-1px);box-shadow:0 6px 15px #2563eb38}.refresh-button,.customer-pagination button{transition:all .2s}.refresh-button:hover,.customer-pagination button:not(:disabled):hover{border-color:var(--primary);color:var(--primary);background:#eff6ff}.customer-table-card{padding:24px}.customer-table th{text-transform:uppercase;letter-spacing:.45px;background:#f4f7fc;font-size:11px}.customer-table tbody tr{transition:background .15s}.customer-table tbody tr:hover{background:#f8faff}.analytics-grid{gap:22px}.analytics-grid .chart-card{min-width:0;overflow:hidden}.feature-fill{transition:width .5s}.table-scroll::-webkit-scrollbar{height:7px}.table-scroll::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:10px}@media (width<=1100px){.dashboard{padding:27px}}@media (width<=750px){.dashboard{padding:20px 16px}.dashboard-header h1{font-size:24px}.prediction-form,.prediction-result,.customer-table-card{padding:18px}}@media (width<=480px){.dashboard{padding:16px 12px}.stats-grid{grid-template-columns:1fr}.dashboard-header h1{font-size:22px}.customer-summary{padding:16px}}@media (width<=900px){.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-grid,.prediction-layout,.analytics-grid{grid-template-columns:1fr}}@media (width<=650px){.app-layout{flex-direction:column;min-height:100vh}.sidebar{z-index:20;flex-direction:row;align-items:center;gap:7px;width:100%;height:auto;min-height:auto;padding:10px 12px;position:sticky;top:0;overflow-x:auto}.brand,.menu-label,.sidebar-bottom{display:none}.nav-item{white-space:nowrap;flex:none;justify-content:center;margin:0;padding:10px 12px;font-size:12px}.nav-item span{display:inline}.nav-item svg{width:17px;height:17px}.dashboard{width:100%;padding:20px 14px}.dashboard-header{gap:12px;margin-bottom:22px}.dashboard-header h1{font-size:23px}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.stat-card{padding:16px}.stat-card h2{font-size:23px}.chart-card,.insights-card{padding:17px}.chart-container,.analytics-chart{height:250px}.form-grid{grid-template-columns:1fr}.customer-toolbar{flex-direction:column}.customer-search{width:100%;max-width:none}.risk-filter{min-height:42px}.customer-pagination{flex-direction:column;align-items:stretch}.customer-pagination div{justify-content:space-between}}@media (width<=380px){.sidebar{gap:4px;padding:9px 7px}.nav-item{gap:5px;padding:9px 8px;font-size:11px}.dashboard{padding:16px 10px}.stats-grid{grid-template-columns:1fr}.dashboard-header h1{font-size:21px}.stat-card h2{font-size:22px}}.brand{width:100%}.nav-toggle{color:#fff;cursor:pointer;background:#ffffff1a;border:none;border-radius:7px;justify-content:center;align-items:center;margin-left:auto;padding:7px;transition:background .2s;display:flex}.nav-toggle:hover{background:#fff3}.sidebar-reopen{z-index:100;color:#fff;cursor:pointer;background:#172744;border:none;border-radius:10px;justify-content:center;align-items:center;width:42px;height:42px;transition:background .2s,transform .2s;display:flex;position:fixed;top:20px;left:20px;box-shadow:0 4px 14px #0f172a33}.sidebar-reopen:hover{background:#2563eb;transform:scale(1.05)}.sidebar-hidden .dashboard{width:100%;min-width:0}@media (width<=650px){.sidebar{flex-direction:row;align-items:center;overflow-x:auto}.brand{flex:none;gap:6px;width:auto;margin:0;display:flex}.brand span{display:none}.brand svg{width:23px;height:23px}.nav-toggle{margin-left:0;padding:6px}.sidebar nav{align-items:center;gap:5px;display:flex}.sidebar-reopen{width:38px;height:38px;top:12px;left:12px}.sidebar-hidden .dashboard{padding-top:65px}}.loading-card{box-shadow:var(--shadow);background:#fff;border:1px solid #e8edf4;border-radius:15px;padding:23px}.skeleton{background:linear-gradient(90deg,#edf1f7 25%,#f8fafc 50%,#edf1f7 75%) 0 0/200% 100%;border-radius:7px;animation:1.5s infinite skeletonLoading}.skeleton-description{width:75%;height:12px;margin-bottom:17px}.chart-loading{min-height:290px}@keyframes skeletonLoading{0%{background-position:200% 0}to{background-position:-200% 0}}.api-error-card,.empty-dashboard{text-align:center;border:1px solid var(--border);min-height:420px;box-shadow:var(--shadow);background:#fff;border-radius:15px;flex-direction:column;justify-content:center;align-items:center;padding:30px;display:flex}.api-error-card>svg{color:#ef4444}.empty-dashboard>svg{color:#2563eb}.api-error-card h2,.empty-dashboard h2{color:#172033;margin:18px 0 8px;font-size:21px}.api-error-card p,.empty-dashboard p{color:#64748b;max-width:440px;font-size:14px;line-height:1.6}.retry-button{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:8px;justify-content:center;align-items:center;gap:9px;margin-top:18px;padding:11px 19px;font-size:13px;font-weight:600;transition:background .2s;display:flex}.retry-button:hover{background:#1d4ed8}.retry-button:disabled{opacity:.6;cursor:not-allowed}.customer-loading{padding:20px 0}.customer-loading-heading{color:#64748b;margin-bottom:20px;font-size:13px}.customer-skeleton-row{border-bottom:1px solid #eef2f7;grid-template-columns:1.2fr .7fr 1fr 1fr;gap:20px;padding:20px 12px;display:grid}.customer-skeleton-row .skeleton{width:85%;height:15px}.customer-state{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:330px;padding:30px 20px;display:flex}.customer-state h3{color:#172033;margin:15px 0 5px;font-size:18px}.customer-state p{color:#64748b;max-width:430px;font-size:13px;line-height:1.6}.empty-state>svg{color:#64748b}.error-state>svg{color:#ef4444}.clear-search{color:#64748b;cursor:pointer;background:0 0;border:none;justify-content:center;align-items:center;padding:5px;display:flex}.clear-search:hover{color:#dc2626}.refresh-button:disabled{opacity:.6;cursor:not-allowed}@media (width<=650px){.customer-skeleton-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.customer-state{min-height:280px;padding:20px 10px}}.prediction-loading{text-align:center;color:#2563eb;flex-direction:column;justify-content:center;align-items:center;min-height:320px;padding:25px;display:flex}.prediction-loading h3{color:#172033;margin:20px 0 5px}.prediction-loading p{color:#64748b;max-width:300px;font-size:13px;line-height:1.6}.prediction-progress{background:#dbeafe;border-radius:10px;width:80%;height:6px;margin-top:20px;overflow:hidden}.prediction-progress div{background:#2563eb;border-radius:10px;width:40%;height:100%;animation:1.5s ease-in-out infinite predictionProgress}@keyframes predictionProgress{0%{transform:translate(-110%)}to{transform:translate(250%)}}.prediction-error{color:#b91c1c;background:#fef2f2;border:1px solid #fecaca;border-radius:9px;flex-wrap:wrap;align-items:flex-start;gap:10px;margin-top:20px;padding:14px;font-size:13px;line-height:1.5;display:flex}.prediction-error>svg{flex-shrink:0;margin-top:1px}.prediction-retry{color:#1d4ed8;cursor:pointer;background:0 0;border:none;align-items:center;gap:6px;padding:3px;font-weight:600;display:inline-flex}.prediction-retry:hover{text-decoration:underline}.prediction-form select:disabled,.prediction-form input:disabled{cursor:not-allowed;background:#f8fafc}.analytics-skeleton-card,.analytics-skeleton-chart{overflow:hidden}.analytics-skeleton{background:linear-gradient(90deg,#e9edf4 25%,#f5f7fb 50%,#e9edf4 75%) 0 0/200% 100%;border-radius:7px;animation:1.5s infinite analytics-shimmer}.skeleton-label{width:65%;height:16px;margin-bottom:22px}.skeleton-value{width:45%;height:32px;margin-bottom:14px}.skeleton-caption{width:55%;height:12px}.skeleton-chart{width:100%;height:230px;margin-top:25px}@keyframes analytics-shimmer{to{background-position:-200% 0}}.analytics-error{text-align:center;color:#64748b;flex-direction:column;justify-content:center;align-items:center;gap:14px;min-height:400px;padding:30px;display:flex}.analytics-error h2{color:#172033;margin:5px 0 0}.analytics-error p{max-width:500px;line-height:1.6}.analytics-retry,.analytics-refresh{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:8px;justify-content:center;align-items:center;gap:8px;padding:10px 16px;font-weight:600;display:inline-flex}.analytics-retry:hover,.analytics-refresh:hover{background:#1d4ed8}.analytics-retry:disabled,.analytics-refresh:disabled{opacity:.6;cursor:not-allowed}.analytics-header-actions{flex-wrap:wrap;align-items:center;gap:14px;display:flex}.analytics-refresh{color:#2563eb;background:#eff6ff;border:1px solid #bfdbfe}.analytics-refresh:hover{background:#dbeafe}.analytics-feature-warning{color:#92400e;background:#fffbeb;border:1px solid #fcd34d;border-radius:9px;align-items:center;gap:10px;margin-bottom:20px;padding:13px 16px;font-size:13px;line-height:1.5;display:flex}.analytics-feature-warning span{flex:1}.analytics-feature-warning button{color:#92400e;cursor:pointer;background:0 0;border:none;font-weight:700}.analytics-empty{color:#94a3b8;text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:12px;height:100%;min-height:180px;padding:20px;display:flex}.analytics-empty p{margin:0;font-size:13px}@media (width<=600px){.analytics-header-actions{justify-content:space-between;width:100%}.analytics-feature-warning{flex-wrap:wrap;align-items:flex-start}.analytics-feature-warning span{flex-basis:calc(100% - 35px)}}.analytics-page{color:#344454}.analytics-page .stat-card,.analytics-page .chart-card{background:#fff;border:1px solid #e4e9e8;box-shadow:0 3px 12px #3444540a}.analytics-page .stat-top{color:#71818d}.analytics-page .stat-top svg{color:#668b87}.analytics-page .stat-card h2,.analytics-page .chart-card h3{color:#344454}.analytics-page .chart-subtitle{color:#89969c}.analytics-page .status-indicator{color:#668b87}.analytics-page .status-dot{background:#8ca69a}.analytics-page .feature-track{background:#edf1ef}.analytics-page .feature-fill{background:#668b87;border-radius:8px}.analytics-page .analytics-refresh{color:#527873;background:#edf3f1;border:1px solid #d8e5e1}.analytics-page .analytics-refresh:hover{background:#e1ece8}.analytics-page .analytics-empty{color:#89969c}.analytics-page .analytics-feature-warning{color:#88764f;background:#f8f5ed;border-color:#e8ddc5}.analytics-page .recharts-cartesian-grid line{stroke:#e9eeec}.analytics-page .recharts-text{fill:#788891;font-size:11px}.analytics-page .recharts-legend-item-text{color:#667781!important}.analytics-page .analytics-chart{border-radius:10px}
