:root{font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;line-height:1.5;font-weight:400;color:#213547;background-color:#fff;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body{margin:0;min-width:320px;min-height:100vh}#root{min-height:100vh}.login-container{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#667eea,#764ba2);padding:20px}.login-card{background:#fff;border-radius:12px;padding:40px;box-shadow:0 10px 40px #0000001a;width:100%;max-width:400px}.login-card h1{margin:0 0 30px;color:#333;font-size:28px;text-align:center}.form-group{margin-bottom:20px}.form-group label{display:block;margin-bottom:8px;color:#555;font-weight:500;font-size:14px}.form-group input{width:100%;padding:12px;border:2px solid #e0e0e0;border-radius:8px;font-size:16px;transition:border-color .3s;box-sizing:border-box}.error-message{background-color:#fee;color:#c33;padding:12px;border-radius:8px;margin-bottom:20px;font-size:14px;border:1px solid #fcc}.login-button{width:100%;padding:14px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:8px;font-size:16px;font-weight:600;cursor:pointer;transition:transform .2s,box-shadow .2s}.login-button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 5px 15px #667eea66}.login-button:disabled{opacity:.6;cursor:not-allowed}.home-container{min-height:100vh;display:flex;flex-direction:column;background-color:#f5f5f5}.navbar{background:#fff;box-shadow:0 2px 4px #0000001a;padding:0 20px;position:sticky;top:0;z-index:100}.nav-content{display:flex;justify-content:space-between;align-items:center;max-width:1400px;margin:0 auto;height:64px}.nav-logo{margin:0;font-size:24px;color:#667eea;font-weight:700}.nav-user{display:flex;align-items:center;gap:16px}.user-email{color:#666;font-size:14px}.user-role-badge{margin-left:6px;font-size:12px;font-weight:600;color:#667eea}.logout-button{padding:8px 16px;background-color:#f44336;color:#fff;border:none;border-radius:6px;cursor:pointer;font-size:14px;font-weight:500;transition:background-color .2s}.logout-button:hover{background-color:#d32f2f}.main-content{display:flex;flex:1;max-width:1400px;margin:0 auto;width:100%;padding:20px;gap:20px}.sidebar{width:250px;background:#fff;border-radius:8px;padding:20px 0;box-shadow:0 2px 4px #0000001a;height:fit-content;position:sticky;top:84px}.sidebar-nav{display:flex;flex-direction:column}.nav-item{display:flex;align-items:center;gap:12px;padding:12px 20px;color:#666;text-decoration:none;transition:background-color .2s,color .2s;border-left:3px solid transparent}.nav-item:hover{background-color:#f5f5f5;color:#667eea}.nav-item.active{background-color:#f0f0ff;color:#667eea;border-left-color:#667eea;font-weight:500}.nav-group{display:flex;flex-direction:column}.nav-group-title{cursor:default}.nav-subitem{padding-left:55px;font-size:14px}.nav-subitem.active{border-left-color:transparent}.nav-item span{font-size:20px}.content-area{flex:1;background:#fff;border-radius:8px;padding:30px;box-shadow:0 2px 4px #0000001a}.report-app{--paid-orange: #ff6500;--paid-orange-dark: #d35a00;--ink: #141827;--muted: #667085;--line: #e6e8ef;--bg: #f6f7fb;--card: #ffffff;--purple-1: #7480e8;--purple-2: #6d50a6;--green-1: #149a8f;--green-2: #35e477;--amber-1: #b95a00;--amber-2: #ffab00;--shadow: 0 14px 28px rgba(20, 24, 39, .09);max-width:1320px;margin:0 auto;padding:8px 4px 48px;color:var(--ink);font-family:Inter,Segoe UI,Roboto,Arial,sans-serif}.report-app *{box-sizing:border-box}.report-topbar{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:26px;flex-wrap:wrap}.report-brand{min-width:0}.report-brand h1{margin:0;font-size:22px;font-weight:900;letter-spacing:-.02em;color:var(--ink)}.report-brand p{margin:6px 0 0;color:var(--muted);font-size:14px}.report-controls{display:flex;align-items:flex-end;gap:14px;flex-wrap:wrap}.report-controls label{display:block;font-size:13px;color:var(--muted);font-weight:700;margin:0 0 6px}.report-controls select,.report-controls button{height:46px;border:1px solid #d9dde8;border-radius:14px;background:#fff;padding:0 14px;font-size:16px;color:var(--ink)}.report-controls button{font-weight:800;cursor:pointer;box-shadow:0 8px 20px #1418270f}.report-btn-primary{background:var(--paid-orange);color:#fff;border-color:var(--paid-orange)}.report-btn-primary:hover{background:var(--paid-orange-dark)}.report-hero{position:relative;overflow:hidden;background:#fff;border:1px solid var(--line);border-radius:28px;box-shadow:var(--shadow);padding:42px 46px;margin-bottom:28px;min-height:220px}.report-hero h1{font-size:42px;line-height:1.04;margin:0 0 12px;font-weight:900;letter-spacing:-.03em}.report-hero p{font-size:18px;line-height:1.55;color:var(--muted);max-width:650px;margin:0 0 24px}.period-pill{display:inline-flex;align-items:center;gap:10px;border:1px solid #fed7c2;background:#fff7f2;color:#a64500;font-weight:800;padding:10px 14px;border-radius:999px}.report-hero-visual{position:absolute;right:20px;bottom:-82px;width:420px;max-width:42%;opacity:.92;transform:rotate(-3deg)}.report-section{background:#fff;border:1px solid var(--line);border-radius:28px;box-shadow:var(--shadow);padding:28px;margin:26px 0}.section-title{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:20px}.section-title h2{font-size:28px;margin:0;font-weight:900;letter-spacing:-.02em}.section-title .note{color:var(--muted);font-size:15px;line-height:1.55;margin:8px 0 0;max-width:880px}.report-tag{display:inline-flex;padding:7px 10px;border-radius:999px;background:#eef2ff;color:#4f46e5;font-weight:900;font-size:12px;white-space:nowrap}.report-grid{display:grid;gap:22px}.report-grid.cols-4{grid-template-columns:repeat(4,1fr)}.report-grid.cols-3{grid-template-columns:repeat(3,1fr)}.report-grid.cols-2{grid-template-columns:repeat(2,1fr)}.kpi{border-radius:20px;padding:24px 26px;min-height:140px;background:#fff;border:1px solid var(--line)}.kpi.gradient{background:linear-gradient(135deg,var(--purple-1),var(--purple-2));color:#fff;border:0;box-shadow:var(--shadow)}.kpi.green{background:linear-gradient(135deg,var(--green-1),var(--green-2));color:#fff;border:0;box-shadow:var(--shadow)}.kpi.amber{background:linear-gradient(135deg,var(--amber-1),var(--amber-2));color:#fff;border:0;box-shadow:var(--shadow)}.kpi .label{font-size:16px;font-weight:800;opacity:.9;margin-bottom:20px}.kpi .value{font-size:36px;font-weight:950;letter-spacing:-.03em;line-height:1}.kpi .sub{font-size:18px;font-weight:800;margin-top:15px;opacity:.95}.chart-wrap{border:1px solid var(--line);border-radius:22px;padding:22px;background:#fff;margin-top:22px}.chart-title{font-size:21px;font-weight:900;margin-bottom:16px}.insight{border-left:5px solid var(--paid-orange);background:#fff7f2;padding:16px 18px;border-radius:14px;margin-top:18px;color:#5a2b0b;line-height:1.5}.section-loader{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-height:160px;color:var(--muted);font-weight:700}.section-loader-spinner{width:36px;height:36px;border:3px solid #e6e8ef;border-top-color:var(--paid-orange);border-radius:50%;animation:report-spin .8s linear infinite}@keyframes report-spin{to{transform:rotate(360deg)}}.section-error{margin:0;color:#b00020;font-weight:700;padding:18px 0}.section-empty{margin:0;color:#888;font-size:15px;padding:12px 0}.report-table-wrap{overflow-x:auto}.report-table{width:100%;border-collapse:separate;border-spacing:0;border:1px solid var(--line);border-radius:18px;overflow:hidden;background:#fff}.report-table th,.report-table td{padding:14px 16px;border-bottom:1px solid var(--line);font-size:14px;text-align:left;vertical-align:top}.report-table th{background:#f2f4f8;color:#344054;font-weight:900}.report-table tr:last-child td{border-bottom:0}.report-table-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.report-download-btn{border:none;border-radius:10px;padding:8px 14px;background:var(--paid-orange);color:#fff;font-size:14px;font-weight:700;cursor:pointer}.report-download-btn:disabled{opacity:.5;cursor:not-allowed}.report-pagination{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-top:14px}.report-pagination button{border:1px solid rgba(0,0,0,.12);border-radius:8px;padding:6px 12px;background:#fff;cursor:pointer}.report-pagination button:disabled{opacity:.45;cursor:not-allowed}.visual-break{position:relative;overflow:hidden;border:1px solid var(--line);border-radius:28px;background:linear-gradient(135deg,#fff,#fff7f0 52%,#fff);box-shadow:var(--shadow);margin:28px 0;padding:30px 36px;display:grid;grid-template-columns:1.1fr .9fr;align-items:center;gap:28px;min-height:310px}.visual-break:before{content:"";position:absolute;width:280px;height:280px;border-radius:999px;background:#ff65001a;right:-100px;top:-120px}.visual-break:after{content:"";position:absolute;width:220px;height:220px;border-radius:999px;background:#7480e81f;left:-90px;bottom:-120px}.visual-copy{position:relative;z-index:1;max-width:560px}.visual-eyebrow{font-size:13px;text-transform:uppercase;letter-spacing:.12em;font-weight:900;color:var(--paid-orange);margin-bottom:10px}.visual-copy h2{font-size:28px;line-height:1.12;margin:0 0 10px;letter-spacing:-.03em}.visual-copy p{font-size:16px;line-height:1.55;color:var(--muted);margin:0;max-width:500px}.visual-media{position:relative;z-index:1;text-align:center}.visual-media img{max-width:100%;max-height:300px;object-fit:contain;filter:drop-shadow(0 18px 30px rgba(20,24,39,.16))}.visual-break.flip{grid-template-columns:.9fr 1.1fr;background:linear-gradient(135deg,#fff,#f6f7ff 54%,#fff8f2)}.visual-break.flip .visual-media{order:-1}.report-footer{color:#667085;font-size:13px;margin:30px 0 0;text-align:center}@media(max-width:1100px){.report-grid.cols-4,.report-grid.cols-3,.report-grid.cols-2{grid-template-columns:1fr 1fr}}@media(max-width:900px){.report-hero-visual{display:none}.visual-break,.visual-break.flip{grid-template-columns:1fr}.visual-break.flip .visual-media{order:0}.visual-media img{max-height:240px}}@media(max-width:750px){.report-hero{padding:28px 22px}.report-hero h1{font-size:30px}.section-title{flex-direction:column}.section-title h2{font-size:22px}.report-grid.cols-4,.report-grid.cols-3,.report-grid.cols-2{grid-template-columns:1fr}.kpi .value{font-size:30px}}@media print{.report-controls,.no-print{display:none!important}.report-section,.report-hero,.visual-break{box-shadow:none;break-inside:avoid}.report-hero-visual{display:none!important}.visual-break{margin:18px 0;padding:22px 26px;min-height:220px}.visual-media img{max-height:220px}.visual-copy h2{font-size:24px}.visual-copy p{font-size:13px}}.customers-page{width:100%}.page-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px}.page-header h1{margin:0;font-size:28px;color:#333}.create-button{padding:12px 24px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:8px;font-size:16px;font-weight:600;cursor:pointer;transition:transform .2s,box-shadow .2s}.create-button:hover{transform:translateY(-2px);box-shadow:0 5px 15px #667eea66}.error-banner{background-color:#fee;color:#c33;padding:12px 16px;border-radius:8px;margin-bottom:20px;border:1px solid #fcc}.loading{text-align:center;padding:40px;color:#666;font-size:16px}.empty-state{text-align:center;padding:60px 20px;color:#666}.empty-state p{font-size:18px;margin-bottom:20px}.table-container{overflow-x:auto;border-radius:8px;border:1px solid #e0e0e0}.customers-table{width:100%;border-collapse:collapse;background:#fff}.customers-table thead{background-color:#f8f9fa}.customers-table th{padding:16px;text-align:left;font-weight:600;color:#333;border-bottom:2px solid #e0e0e0;font-size:14px;text-transform:uppercase;letter-spacing:.5px}.customers-table td{padding:16px;border-bottom:1px solid #f0f0f0;color:#555;font-size:14px}.customers-table tbody tr:hover{background-color:#f8f9fa}.customers-table tbody tr:last-child td{border-bottom:none}.name-cell{font-weight:500;color:#333}.modal-overlay{position:fixed;inset:0;background-color:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:20px}.modal-content{background:#fff;border-radius:12px;width:100%;max-width:600px;max-height:90vh;overflow-y:auto;box-shadow:0 10px 40px #0003}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:24px;border-bottom:1px solid #e0e0e0}.modal-header h2{margin:0;font-size:24px;color:#333}.close-button{background:none;border:none;font-size:32px;color:#666;cursor:pointer;padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:background-color .2s}.close-button:hover{background-color:#f0f0f0}.customer-form{padding:24px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:20px}.form-group{display:flex;flex-direction:column}.form-group label{margin-bottom:8px;color:#555;font-weight:500;font-size:14px}.required{color:#f44336}.form-group input{padding:12px;border:2px solid #e0e0e0;border-radius:8px;font-size:16px;transition:border-color .3s}.form-group input:focus{outline:none;border-color:#667eea}.error-message{background-color:#fee;color:#c33;padding:12px 16px;border-radius:8px;margin:0 24px 20px;border:1px solid #fcc;font-size:14px}.form-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:24px;padding-top:24px;border-top:1px solid #e0e0e0}.cancel-button,.submit-button{padding:12px 24px;border:none;border-radius:8px;font-size:16px;font-weight:600;cursor:pointer;transition:all .2s}.cancel-button{background-color:#f5f5f5;color:#666}.cancel-button:hover:not(:disabled){background-color:#e0e0e0}.submit-button{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.submit-button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 5px 15px #667eea66}.cancel-button:disabled,.submit-button:disabled{opacity:.6;cursor:not-allowed}@media(max-width:768px){.form-row{grid-template-columns:1fr}.page-header{flex-direction:column;align-items:flex-start;gap:16px}.customers-table{font-size:12px}.customers-table th,.customers-table td{padding:8px}}.cr-page{padding:20px;display:flex;justify-content:center}.cr-card{width:min(560px,100%);background:#fff;border-radius:12px;box-shadow:0 10px 35px #0000001f;padding:18px;position:relative}.cr-title{margin:4px 0 18px;font-size:18px;font-weight:700;color:#111827}.cr-section{margin-bottom:14px}.cr-label{display:block;font-size:12px;color:#6b7280;margin-bottom:6px;font-weight:600}.cr-select{width:100%;border:1px solid #d9d9e3;border-radius:10px;padding:11px 12px;font-size:14px;outline:none;background:#fff;color:#111827}.cr-select:focus{border-color:#a855f7;box-shadow:0 0 0 3px #a855f72e}.cr-radioRow{display:flex;gap:18px;align-items:center;padding-top:2px}.cr-radio{display:flex;gap:8px;align-items:center;font-size:14px;color:#111827}.cr-radio input[type=radio]{accent-color:#a855f7}.cr-dateRow{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:10px}.cr-dateBox{border:1px solid #d9d9e3;border-radius:10px;padding:10px 12px;background:#fff}.cr-dateBox:focus-within{border-color:#a855f7;box-shadow:0 0 0 3px #a855f72e}.cr-date{width:100%;border:none;outline:none;font-size:14px;background:transparent;color:#111827}.cr-hint{margin-top:8px;font-size:12px;color:#6b7280}.cr-hintError{color:#b42318}.cr-banner{border-radius:10px;padding:10px 12px;font-size:13px;margin:10px 0 12px;line-height:1.25}.cr-banner.info{background:#f3f4f6;color:#111827}.cr-banner.success{background:#ecfdf3;color:#027a48}.cr-banner.error{background:#fef3f2;color:#b42318}.cr-actions{display:flex;justify-content:flex-end;gap:10px;padding-top:6px}.cr-btnPrimary{border:none;background:#a855f7;color:#fff;border-radius:10px;padding:10px 14px;cursor:pointer;font-weight:600;font-size:14px}.cr-btnPrimary:hover{filter:brightness(.95)}.cr-btnPrimary:disabled{opacity:.6;cursor:not-allowed}@media(max-width:520px){.cr-dateRow{grid-template-columns:1fr}}:root{--bg: #0b1220;--card: rgba(255,255,255,.06);--card2: rgba(255,255,255,.08);--border: rgba(255,255,255,.12);--text: rgba(255,255,255,.92);--muted: rgba(255,255,255,.68);--muted2: rgba(255,255,255,.55);--shadow: 0 18px 50px rgba(0,0,0,.45);--radius: 18px}*{box-sizing:border-box}body{margin:0}.page{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:28px 16px;background:radial-gradient(1200px 600px at 10% 10%,rgba(120,120,255,.18),transparent 60%),radial-gradient(900px 500px at 90% 20%,rgba(0,220,180,.14),transparent 55%),radial-gradient(700px 500px at 50% 90%,rgba(255,140,0,.1),transparent 60%),var(--bg);color:var(--text);font-family:ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,"Apple Color Emoji","Segoe UI Emoji"}.card{width:min(720px,100%);background:linear-gradient(180deg,var(--card),rgba(255,255,255,.03));border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);padding:22px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.header{display:flex;gap:14px;align-items:flex-start;justify-content:space-between;margin-bottom:16px}.title{margin:0;font-size:22px;letter-spacing:.2px}.subtitle{margin:8px 0 0;color:var(--muted);font-size:14px;line-height:1.35}.badge{font-size:12px;color:var(--muted2);padding:8px 10px;border-radius:999px;border:1px solid var(--border);background:#ffffff0a;white-space:nowrap}.dropzone{border:1px dashed rgba(255,255,255,.22);background:#ffffff08;border-radius:calc(var(--radius) - 6px);padding:18px;cursor:pointer;transition:transform .12s ease,background .12s ease,border-color .12s ease;-webkit-user-select:none;user-select:none}.dropzone:hover{transform:translateY(-1px);background:#ffffff0d;border-color:#ffffff52}.dropzone.disabled{opacity:.75;cursor:not-allowed}.fileInput{display:none}.dropInner{display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px;padding:12px}.icon{font-size:34px;filter:drop-shadow(0 6px 18px rgba(0,0,0,.35))}.dropText{display:flex;flex-direction:column;gap:4px;font-size:14px}.dropText span{color:var(--muted)}.hint{margin-top:6px;font-size:12px;color:var(--muted2)}.fileRow{display:flex;align-items:center;gap:12px}.fileIcon{width:38px;height:38px;border-radius:12px;display:flex;align-items:center;justify-content:center;background:#00ffb41a;border:1px solid rgba(0,255,180,.22)}.fileInfo{flex:1;min-width:0}.fileName{font-size:14px;font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.fileMeta{margin-top:4px;font-size:12px;color:var(--muted)}.progressWrap{margin-top:10px;height:10px;border-radius:999px;background:#ffffff14;overflow:hidden;border:1px solid rgba(255,255,255,.1)}.progressBar{height:100%;border-radius:999px;background:linear-gradient(90deg,#7878fff2,#00dcb4e6);width:0%;transition:width .2s ease}.actions{margin-top:16px;display:flex;gap:10px;flex-wrap:wrap}button{border:1px solid var(--border);border-radius:12px;padding:10px 14px;font-weight:650;cursor:pointer;background:transparent;color:var(--text)}button:disabled{opacity:.55;cursor:not-allowed}.primaryBtn{background:linear-gradient(90deg,#7878fff2,#00dcb4e6);border:0;color:#071018}.primaryBtn:hover:not(:disabled){filter:brightness(1.05)}.secondaryBtn{background:#ffffff0a}.secondaryBtn:hover:not(:disabled){background:#ffffff0f}.ghostBtn{background:#ffffff08}.ghostBtn:hover:not(:disabled){background:#ffffff0f}.alert{margin-top:14px;padding:12px;border-radius:14px;display:flex;align-items:center;gap:10px;border:1px solid var(--border);background:#ffffff0a;font-size:14px}.alert .alertDot{width:10px;height:10px;border-radius:999px;background:#ffffff80;box-shadow:0 0 0 4px #ffffff14}.alert.info{border-color:#7878ff47}.alert.info .alertDot{background:#7878fff2;box-shadow:0 0 0 4px #7878ff29}.alert.success{border-color:#00dcb442}.alert.success .alertDot{background:#00dcb4f2;box-shadow:0 0 0 4px #00dcb424}.alert.error{border-color:#ff5a5a42}.alert.error .alertDot{background:#ff5a5af2;box-shadow:0 0 0 4px #ff5a5a24}.footer{margin-top:14px;padding-top:12px;border-top:1px solid rgba(255,255,255,.1);color:var(--muted2);font-size:12px;line-height:1.35}.batch-progress-card{background:#fff;padding:22px;margin-bottom:25px;border-radius:12px;box-shadow:0 3px 10px #0000000f;border:1px solid #eee}.batch-header{display:flex;justify-content:space-between;align-items:center}.status-pill{padding:6px 14px;border-radius:25px;font-weight:600;font-size:14px;color:#fff}.status-pill.processing{background:#377dff}.status-pill.completed{background:#28a745}.status-pill.failed{background:#dc3545}.batch-body{margin-top:18px}.progress-bar-wrapper{width:100%;height:12px;background:#eaeaea;border-radius:10px;overflow:hidden;margin-bottom:18px}.progress-bar-fill{height:100%;background:linear-gradient(90deg,#377dff,#1ec8c8);transition:width .4s ease-out}.progress-stats{display:flex;justify-content:space-between;margin-bottom:12px}.stat{text-align:center;flex:1}.stat .label{display:block;font-size:12px;color:#777}.stat .value{font-size:18px;font-weight:700}.stat.success .value{color:#28a745}.stat.failed .value{color:#dc3545}.live-indicator{display:flex;align-items:center;column-gap:8px;font-size:14px;color:#377dff}.live-indicator .dot{width:10px;height:10px;background:#377dff;border-radius:50%;animation:blink 1s infinite alternate}@keyframes blink{0%{opacity:.3}to{opacity:1}}.done-msg-big{padding:12px;background:#e7f8ec;border-left:4px solid #28a745;border-radius:8px;color:#226b33;font-weight:600}.error-msg-big{padding:12px;background:#fbeaea;border-left:4px solid #dc3545;border-radius:8px;color:#a42828;font-weight:600}.csv-loading{margin-top:16px;font-weight:600;color:#555}.dots span{animation:blink 1.4s infinite both}.dots span:nth-child(1){animation-delay:0s}.dots span:nth-child(2){animation-delay:.2s}.dots span:nth-child(3){animation-delay:.4s}@keyframes blink{0%{opacity:.2}20%{opacity:1}to{opacity:.2}}.csv-ready{margin-top:20px}.download-btn{display:inline-block;padding:10px 16px;background:#2e7d32;color:#fff;border-radius:8px;text-decoration:none;font-weight:600}.download-btn:hover{background:#1b5e20}.chat-report-page{justify-content:flex-start}.chat-report-layout{width:min(960px,100%);display:flex;flex-direction:column;gap:20px}.chat-report-filters{width:100%}.chat-report-subtitle{margin:-8px 0 16px;color:#6b7280;font-size:14px}.chat-report-metrics{width:100%}.chat-report-grid{margin-top:0}.chat-report-card-total{background:linear-gradient(135deg,#667eea,#764ba2)}.chat-report-card-open{background:linear-gradient(135deg,#11998e,#38ef7d)}.chat-report-card-closed{background:linear-gradient(135deg,#434343,#757575)}.chat-report-empty{margin:16px 0 0;color:#888;font-size:15px}.chat-report-meta{margin:12px 0 0;color:#666;font-size:13px;line-height:1.5}.transactions-detail-page{display:flex;flex-direction:column;gap:20px}.transactions-detail-header{display:flex;align-items:flex-start;justify-content:space-between;gap:24px}.transactions-detail-header h2,.transactions-chart-card h3,.transactions-table-card h3{margin:0;color:#273142}.transactions-detail-header h2{font-size:28px}.transactions-detail-header p,.transactions-section-title p,.transactions-table-toolbar p{margin:6px 0 0;color:#64748b}.transactions-period-filters,.transactions-table-filters{display:flex;flex-wrap:wrap;gap:12px}.transactions-period-filters label,.transactions-table-filters label{display:flex;flex-direction:column;gap:6px;color:#475569;font-size:12px;font-weight:600}.transactions-period-filters select,.transactions-table-filters select{min-width:130px;height:38px;padding:6px 10px;border:1px solid #dbe2ea;border-radius:9px;background:#fff;color:#273142;outline:none}.transactions-period-filters select:focus,.transactions-table-filters select:focus{border-color:#667eea;box-shadow:0 0 0 3px #667eea1f}.transactions-detail-error{margin:0;padding:12px 16px;border:1px solid #fecaca;border-radius:10px;background:#fef2f2;color:#b91c1c}.transactions-summary-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px}.transactions-summary-card{display:flex;flex-direction:column;gap:8px;padding:22px;border-radius:12px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;box-shadow:0 4px 12px #667eea33}.transactions-summary-card span{font-size:14px;opacity:.9}.transactions-summary-card strong{font-size:30px}.transactions-chart-card,.transactions-table-card{padding:20px;border:1px solid rgba(15,23,42,.08);border-radius:12px;background:#fff;box-shadow:0 2px 8px #0f172a0d}.transactions-section-title{display:flex;justify-content:space-between;margin-bottom:12px}.transactions-table-toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:16px}.transactions-table-scroll{overflow-x:auto}.transactions-detail-table{width:100%;border-collapse:collapse}.transactions-detail-table th,.transactions-detail-table td{padding:12px 14px;border-bottom:1px solid #edf0f4;text-align:left}.transactions-detail-table th{background:#f8fafc}.transactions-detail-table th button{padding:0;border:0;background:transparent;color:#475569;font:inherit;font-weight:700;cursor:pointer}.transactions-detail-table tbody tr:hover{background:#f8fafc}.response-code-dot{display:inline-block;width:10px;height:10px;margin-right:8px;border-radius:50%}.transactions-empty-state{margin:0;padding:48px 16px;color:#64748b;text-align:center}.transactions-chart-tooltip{min-width:220px;padding:12px 14px;border:1px solid #e2e8f0;border-radius:10px;background:#fff;box-shadow:0 8px 24px #0f172a1f}.transactions-chart-tooltip-title{margin:0 0 8px;color:#334155;font-size:13px;font-weight:700}.transactions-chart-tooltip-total{margin:0 0 10px;padding-bottom:8px;border-bottom:1px solid #e2e8f0;color:#475569;font-size:13px}.transactions-chart-tooltip-total strong{color:#0f172a}.transactions-chart-tooltip-list{margin:0;padding:0;list-style:none}.transactions-chart-tooltip-list li{display:grid;grid-template-columns:10px 1fr auto;gap:8px;align-items:center;margin:0;padding:4px 0;color:#334155;font-size:12px}.transactions-chart-tooltip-swatch{width:10px;height:10px;border-radius:50%}.transactions-chart-tooltip-code{color:#475569}.transactions-chart-tooltip-value{color:#0f172a;font-weight:700;text-align:right;white-space:nowrap}.transactions-chart-tooltip-value em{margin-left:6px;color:#64748b;font-style:normal;font-weight:600}@media(max-width:760px){.transactions-detail-header,.transactions-table-toolbar{flex-direction:column;align-items:stretch}.transactions-period-filters select,.transactions-table-filters select{width:100%}}
