:root{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;line-height:1.5;font-weight:400}#root{width:100%}*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;background:linear-gradient(135deg,#f8fafc,#e2e8f0);color:#334155;padding:16px;font-size:14px;min-height:100vh}.dashboard{max-width:1700px;margin:0 auto}h1{font-size:26px;font-weight:700;margin-bottom:8px;color:#0f172a;letter-spacing:-.5px}.subtitle{color:#64748b;margin-top:0;margin-bottom:12px;font-size:14px}.tracker-container{background:#fff;border-radius:16px;box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a;overflow:visible;border:1px solid #e2e8f0}.view-tabs{display:flex;gap:4px;padding:12px 20px 0;background:#f8fafc;border-bottom:1px solid #e2e8f0}.view-tab{display:flex;align-items:center;gap:8px;padding:12px 24px;border:none;background:transparent;color:#64748b;font-size:14px;font-weight:500;cursor:pointer;border-radius:8px 8px 0 0;transition:all .2s;position:relative}.view-tab:hover{color:#334155;background:#f1f5f9}.view-tab.active{background:#fff;color:#0f172a;font-weight:600;box-shadow:0 -2px 4px #0000000a}.view-tab.active:after{content:"";position:absolute;bottom:-1px;left:0;right:0;height:2px;background:#fff}.view-tab .tab-icon{font-size:16px}.col-subheader{font-size:9px;font-weight:400;text-transform:none;opacity:.7;margin-top:2px}.status-badge.not-implemented{background:#e2e8f0;color:#64748b}.check-icon.not-implemented{color:#94a3b8}.status-not-applicable{background:#f8fafc}.status-badge.not-applicable{background:#e2e8f0;color:#64748b;font-size:11px}.check-icon.not-applicable{background:#cbd5e1;color:#64748b;width:16px;height:16px;font-size:9px}.tracker-table{width:100%;border-collapse:collapse}.tracker-table th{background:linear-gradient(180deg,#1e293b,#0f172a);color:#f1f5f9;font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.5px;padding:14px 8px;text-align:center;border-right:1px solid #334155;position:sticky;top:0;z-index:10;white-space:nowrap;box-shadow:0 2px 4px #0000001a;cursor:pointer}.tracker-table th.cf-th-open{z-index:30}.column-filter{margin-left:4px;vertical-align:middle}.cf-icon-btn{background:none;border:none;cursor:pointer;color:#64748b;padding:2px 4px;border-radius:3px;line-height:1;transition:color .15s,background .15s;vertical-align:middle}.cf-icon-btn:hover{color:#e2e8f0;background:#ffffff1a}.cf-icon-btn.active{color:#3b82f6}.cf-icon-btn.active:hover{color:#60a5fa}.cf-dropdown{position:absolute;top:175%;left:50%;transform:translate(-50%);margin-top:4px;background:#fff;border:1px solid #e2e8f0;border-radius:8px;box-shadow:0 8px 24px #00000026;min-width:220px;max-width:280px;z-index:100;color:#334155;text-transform:none;letter-spacing:0;font-weight:400;font-size:13px;text-align:left}.cf-dropdown:before{content:"";position:absolute;top:-20px;left:0;right:0;height:20px}.cf-dropdown-body{padding:8px;max-height:320px;overflow-y:auto}.cf-field{margin-bottom:6px}.cf-field:last-child{margin-bottom:0}.cf-label{display:block;font-size:11px;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.5px;margin-bottom:3px}.cf-checkbox-list{display:flex;flex-wrap:wrap;gap:4px}.cf-checkbox-item{display:flex;align-items:center;gap:4px;padding:2px 6px;border-radius:4px;cursor:pointer;transition:background .1s;font-size:12px}.cf-checkbox-item:hover{background:#f1f5f9}.cf-checkbox-item input[type=checkbox]{width:14px;height:14px;accent-color:#3b82f6;cursor:pointer;flex-shrink:0}.cf-checkbox-badge{font-size:12px}.cf-checkbox-badge.badge-yes{color:#059669}.cf-checkbox-badge.badge-warning,.cf-checkbox-badge.badge-pending{color:#d97706}.cf-checkbox-badge.badge-cancelled{color:#dc2626}.cf-checkbox-badge.badge-no{color:#64748b}.cf-text-input{width:100%;padding:5px 8px;border:1px solid #e2e8f0;border-radius:6px;font-size:13px;outline:none;transition:border-color .15s;box-sizing:border-box;color:#334155;background:#f8fafc}.cf-text-input:focus{border-color:#3b82f6;background:#fff}.cf-date-input{font-size:12px}.cf-selected-value{display:flex;align-items:center;gap:6px;margin-top:4px;padding:3px 8px;background:#eff6ff;border:1px solid #bfdbfe;border-radius:4px;font-size:12px;color:#1e40af}.cf-clear-selection{background:none;border:none;cursor:pointer;color:#64748b;font-size:14px;padding:0 2px;line-height:1}.cf-clear-selection:hover{color:#dc2626}.cf-suggestions-list{max-height:160px;overflow-y:auto;border:1px solid #e2e8f0;border-radius:6px;margin-top:4px;background:#fff}.cf-suggestion-item{padding:6px 10px;cursor:pointer;font-size:12px;transition:background .1s}.cf-suggestion-item:hover{background:#f1f5f9}.cf-suggestion-item.selected{background:#eff6ff;color:#1e40af;font-weight:500}.cf-suggestion-more{padding:4px 10px;font-size:11px;color:#94a3b8;text-align:center}.cf-dropdown-actions{display:flex;justify-content:space-between;padding:6px 10px;border-top:1px solid #e2e8f0;background:#f8fafc;border-radius:0 0 8px 8px}.cf-clear-btn{background:none;border:none;color:#64748b;cursor:pointer;font-size:12px;padding:4px 8px;border-radius:4px;transition:color .15s,background .15s}.cf-clear-btn:hover{color:#dc2626;background:#fef2f2}.cf-apply-btn{background:#3b82f6;color:#fff;border:none;cursor:pointer;font-size:12px;padding:5px 14px;border-radius:4px;font-weight:500;transition:background .15s}.cf-apply-btn:hover{background:#2563eb}.active-filters-bar{display:flex;align-items:center;gap:10px;padding:8px 16px;background:#eff6ff;border:1px solid #bfdbfe;border-radius:8px;margin:8px 16px;flex-wrap:wrap}.active-filters-label{font-size:12px;font-weight:600;color:#1e40af;white-space:nowrap}.active-filters-chips{display:flex;gap:6px;flex-wrap:wrap;flex:1}.filter-chip{display:inline-flex;align-items:center;gap:4px;padding:3px 10px;background:#dbeafe;border:1px solid #93c5fd;border-radius:12px;font-size:11px;color:#1e40af;white-space:nowrap}.filter-chip-remove{background:none;border:none;cursor:pointer;color:#64748b;font-size:14px;padding:0 2px;line-height:1;margin-left:2px}.filter-chip-remove:hover{color:#dc2626}.clear-all-filters-btn{background:none;border:1px solid #93c5fd;color:#1e40af;cursor:pointer;font-size:11px;padding:3px 10px;border-radius:4px;font-weight:500;white-space:nowrap;transition:background .15s,color .15s}.clear-all-filters-btn:hover{background:#1e40af;color:#fff}.table-filter-wrapper{position:relative;transition:opacity .2s ease}.table-filter-wrapper.filtering{opacity:.5;pointer-events:none}.table-filtering-indicator{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:20;background:#ffffffe6;padding:12px 24px;border-radius:8px;box-shadow:0 4px 12px #0000001a;font-size:14px;color:#3b82f6;font-weight:500}.tracker-table th:first-child,.tracker-table th:nth-child(2){text-align:left}.tracker-table th:last-child{border-right:none}.tracker-table td{padding:14px 12px;border-bottom:1px solid #e2e8f0;text-align:center;vertical-align:middle}.tracker-table td.col-quote,.tracker-table td.col-customer,.tracker-table td.col-quote .ref-link,.tracker-table td.col-quote .date-text,.tracker-table td.col-customer .ref-link,.tracker-table td.col-customer .date-text{text-align:left}.order-id{font-weight:700;color:#0f172a;font-size:15px}.quote-title{font-weight:500;color:#475569;font-size:12px;margin-bottom:2px;line-height:1.3;font-style:italic}.quote-title-main{font-weight:600;color:#1e293b;font-size:13px;line-height:1.4;margin-bottom:2px}.quote-ref-secondary{font-size:13px;color:#3b82f6;font-weight:500}.tracker-table .kqm-link{font-size:13px}.quote-amount{font-size:12px;color:#64748b;font-weight:500;margin-top:4px}.customer-name{font-weight:600;color:#1e293b;font-size:13px}.status-cell{min-width:130px;text-align:center}.status-yes{background:linear-gradient(135deg,#ecfdf5,#d1fae5)}.status-no{background:#f8fafc}.status-backordered{background:linear-gradient(135deg,#ef4444,#dc2626)}.status-backordered .date-text{color:#fff}.status-pending{background:linear-gradient(135deg,#fffbeb,#fef3c7)}.status-pending{background:linear-gradient(135deg,#fefce8,#fef9c3)}.status-cancelled{background:linear-gradient(135deg,#fef2f2,#fee2e2)}.status-loss{background:linear-gradient(135deg,#fee2e2,#fecaca)}.margin-summary{margin-top:6px}.margin-issue{font-size:11px;padding:2px 6px;border-radius:4px;margin-bottom:2px}.margin-issue.loss{color:#dc2626;background:#dc26261a}.margin-issue.warning{color:#d97706;background:#d977061a}.margin-ok{font-size:11px;color:#059669}.margin-issue.cancelled{color:#64748b;background:#64748b1a}.status-badge.loss{color:#dc2626;background:#dc262626}.check-icon.loss{background:#dc2626;color:#fff}.margin-modal{max-width:900px;width:95%}.margin-totals-bar{display:flex;gap:24px;padding:14px 16px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;margin-bottom:16px}.margin-totals-item{display:flex;align-items:center;gap:8px}.margin-totals-label{font-size:12px;color:#64748b;text-transform:uppercase;letter-spacing:.5px}.margin-totals-value{font-size:15px;font-weight:600;color:#1e293b}.margin-totals-value.positive{color:#059669}.margin-totals-value.negative{color:#dc2626}.margin-po{border:1px solid #e2e8f0;border-radius:8px;overflow:hidden;margin-bottom:12px}.margin-po.cancelled{opacity:.6}.margin-po-header{display:flex;align-items:center;gap:10px;padding:10px 14px;background:#f8fafc;border-bottom:1px solid #e2e8f0;font-size:13px}.margin-po-id{font-weight:600;color:#6366f1}.margin-po-vendor{color:#64748b}.margin-po-tag{padding:1px 8px;border-radius:10px;font-size:11px;font-weight:500;margin-left:auto}.margin-po-tag.cancelled{background:#f1f5f9;color:#64748b}.margin-po-tag.loss{background:#fef2f2;color:#dc2626}.margin-po-tag.warning{background:#fffbeb;color:#d97706}.margin-po-tag+.margin-po-tag{margin-left:4px}.classify-select{opacity:0;margin-left:auto;font-size:.75em;padding:1px 4px;border:1px solid #e2e8f0;border-radius:4px;background:#fff;color:#64748b;cursor:pointer;transition:opacity .15s}.margin-po-header:hover .classify-select,.classify-select:focus{opacity:1}.margin-table{width:100%;border-collapse:collapse;font-size:13px}.margin-table th{text-align:left;padding:8px 14px;font-weight:600;font-size:11px;color:#64748b;text-transform:uppercase;letter-spacing:.5px;border-bottom:1px solid #e2e8f0}.margin-table td{padding:8px 14px;border-bottom:1px solid #f1f5f9;color:#334155}.margin-table .text-right{text-align:right}.margin-table .product-cell{max-width:340px}.margin-table .product-cell span{display:inline}.margin-table .product-cell .cancelled{text-decoration:line-through;color:#94a3b8}.margin-inline-tag{display:inline-block;margin-left:8px;padding:0 6px;border-radius:8px;font-size:10px;font-weight:500;vertical-align:middle}.margin-inline-tag.warning{background:#fffbeb;color:#d97706}.margin-table .text-muted{color:#cbd5e1}.margin-table .positive{color:#059669;font-weight:600}.margin-table .negative{color:#dc2626;font-weight:600}.margin-table .row-loss{background:#fef2f2}.margin-table .row-warning{background:#fffbeb}.margin-table .row-cancelled td{color:#94a3b8}.margin-table tfoot td{padding:10px 14px;border-top:2px solid #e2e8f0;border-bottom:none;background:#f8fafc;font-size:12px;color:#475569}.margin-unmatched{border:1px dashed #e2e8f0;border-radius:8px;overflow:hidden;margin-top:4px}.margin-unmatched .margin-po-header{background:#fffbeb;border-bottom:1px solid #fde68a}.margin-unmatched .margin-po-id{color:#d97706}@media(max-width:700px){.margin-totals-bar{flex-direction:column;gap:8px}.margin-table th:nth-child(n+3),.margin-table td:nth-child(n+3){font-size:12px;padding:8px}}.status-badge{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:600;padding:4px 10px;border-radius:20px;background:#ffffffb3}.status-badge.yes{color:#059669;background:#10b9811a}.status-badge.no{color:#94a3b8;background:#94a3b81a}.status-badge.pending{color:#d97706;background:#d977061a}.status-badge.cancelled{color:#dc2626;background:#dc26261a}.status-badge.backordered{color:#fff;background:#fff3}.check-icon{width:18px;height:18px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-size:11px;font-weight:700}.check-icon.yes{background:linear-gradient(135deg,#10b981,#059669);color:#fff;box-shadow:0 2px 4px #10b9814d}.check-icon.no{background:#e2e8f0;color:#94a3b8}.check-icon.pending{background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff;box-shadow:0 2px 4px #f59e0b4d}.check-icon.cancelled{background:linear-gradient(135deg,#ef4444,#dc2626);color:#fff;box-shadow:0 2px 4px #dc26264d}.check-icon.backordered{background:#fff;color:#dc2626;box-shadow:0 2px 4px #0003}.renewal-date{display:inline-block;font-size:12px;font-weight:500;color:#374151}.renewal-date.renewal-expiring{color:#d97706;font-weight:600}.renewal-date.renewal-expired{color:#dc2626;font-weight:600}.renewal-na{color:#cbd5e1;font-size:14px}.renewal-badge{display:inline-block;font-size:10px;font-weight:600;padding:1px 6px;border-radius:10px;margin-top:3px}.renewal-badge-expired{background:#fee2e2;color:#dc2626}.renewal-badge-expiring{background:#fef3c7;color:#d97706}.renewal-badge-perpetual{background:#dbeafe;color:#2563eb;font-weight:600}.renewal-badge-image{background:#fef3c7;color:#92400e;font-weight:500}.renewal-services{display:flex;flex-direction:column;gap:4px}.renewal-service-item{display:flex;align-items:flex-start;gap:6px;font-size:11px;color:#374151}.renewal-service-dot{display:inline-block;width:8px;height:8px;border-radius:50%;flex-shrink:0;margin-top:4px}.renewal-service-dot.dot-confirmed{background:#10b981}.renewal-service-dot.dot-matched{background:#f59e0b}.renewal-service-dot.dot-unmatched{background:#cbd5e1}.renewal-qty{font-size:10px;color:#94a3b8;margin-left:2px}.renewal-legend{display:inline-flex;align-items:center;gap:4px;font-size:10px;color:#94a3b8;font-weight:400}.renewal-section-row td{padding:6px 12px 2px;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.07em;border-bottom:none;background:transparent;-webkit-user-select:none;user-select:none}.renewal-section-label{display:flex;align-items:center;gap:5px}.renewal-section-expired{color:#dc2626}.renewal-section-expiring{color:#d97706}.renewal-section-active{color:#10b981}.renewal-section-upcoming{color:#3b82f6}.renewal-section-nodate{color:#94a3b8}.renewal-subtab-bar{display:flex;gap:2px;padding:0 8px;background:#0f172a;border-bottom:2px solid #1e293b;margin-bottom:0;align-items:center}.renewal-search-input{margin-left:auto;margin-right:12px;padding:6px 10px;background:#1e293b;border:1px solid #334155;border-radius:4px;color:#e2e8f0;font-size:12px;width:200px}.renewal-search-input::placeholder{color:#64748b}.renewal-subtab{display:flex;align-items:center;gap:6px;padding:8px 12px;font-size:12px;font-weight:500;color:#64748b;background:transparent;border:none;border-bottom:2px solid transparent;margin-bottom:-2px;cursor:pointer;transition:all .15s;white-space:nowrap}.renewal-subtab:hover{color:#cbd5e1;background:#ffffff08}.renewal-subtab-active{color:#f1f5f9;font-weight:600}.renewal-subtab-active.renewal-subtab-expired{border-bottom-color:#dc2626}.renewal-subtab-active.renewal-subtab-expiring{border-bottom-color:#d97706}.renewal-subtab-active.renewal-subtab-license-active{border-bottom-color:#10b981}.renewal-subtab-active.renewal-subtab-upcoming{border-bottom-color:#3b82f6}.renewal-subtab-active.renewal-subtab-nodate{border-bottom-color:#64748b}.renewal-subtab-active.renewal-subtab-all{border-bottom-color:#8b5cf6}.renewal-subtab-emoji{font-size:11px}.renewal-subtab-label{letter-spacing:.01em}.renewal-subtab-count{font-size:10px;font-weight:600;color:#475569;background:#ffffff0d;padding:1px 7px;border-radius:10px;min-width:20px;text-align:center}.renewal-subtab-active .renewal-subtab-count{color:#e2e8f0}.renewal-subtab-active.renewal-subtab-expired .renewal-subtab-count{background:#dc262633}.renewal-subtab-active.renewal-subtab-expiring .renewal-subtab-count{background:#d9770633}.renewal-subtab-active.renewal-subtab-license-active .renewal-subtab-count{background:#10b98133}.renewal-subtab-active.renewal-subtab-upcoming .renewal-subtab-count{background:#3b82f633}.renewal-subtab-active.renewal-subtab-nodate .renewal-subtab-count{background:#64748b33}.renewal-subtab-active.renewal-subtab-all .renewal-subtab-count{background:#8b5cf633}.renewal-empty-state{text-align:center;padding:40px 20px!important;color:#475569;font-size:13px;font-style:italic}.license-key-cell{display:flex;flex-direction:column;gap:3px}.license-key-text{font-size:10px;line-height:1.6;display:flex;flex-direction:column;gap:1px}.license-key-row{display:flex;gap:4px}.license-key-label{color:#64748b;white-space:nowrap;font-weight:500}.license-key-value{color:#166534;font-weight:600;word-break:break-all}.license-key-email-link{font-size:10px;color:#64748b;text-decoration:none;margin-top:1px;display:inline-flex;align-items:center;gap:3px}.license-key-email-link:hover{color:#3b82f6}.license-key-fallback{display:inline-flex;align-items:center;gap:4px;font-size:10px;font-weight:500;color:#166534;background:#dcfce7;padding:2px 8px;border-radius:10px}.license-key-fallback .check-icon{font-size:9px}.ref-link{display:block;color:#3b82f6;text-decoration:none;font-size:11px;margin-top:4px;transition:color .15s ease;text-align:center}.ref-link:hover{color:#2563eb;text-decoration:underline}.ref-number{font-weight:600}.col-header{display:flex;flex-direction:column;align-items:center;gap:4px}.col-icon{font-size:16px;opacity:.85}.col-header-text{font-size:9px;line-height:1.2;max-width:80px;text-align:center}.tracker-table tbody tr{transition:background-color .15s ease;background:#fff}.tracker-table tbody tr:hover{background:#f8fafc}.tracker-table tbody tr.order-separator td{border-top:2px solid #94a3b8}.tracker-table td.col-quote{min-width:200px;background:#fff;border-left:5px solid #3b82f6}.tracker-table td.col-quote.quote-blue{border-left-color:#3b82f6}.tracker-table td.col-quote.quote-purple{border-left-color:#8b5cf6}.tracker-table tbody tr td{border-bottom:1px solid #e5e7eb}.stats-bar{display:flex;gap:24px;padding:12px 20px;background:linear-gradient(135deg,#f8fafc,#f1f5f9);border-bottom:1px solid #e2e8f0;flex-wrap:wrap;align-items:center}.stat-item{display:flex;align-items:center;gap:8px;padding:8px 12px;background:#ffffffb3;border-radius:8px;border:1px solid rgba(226,232,240,.8)}.stat-label{font-size:11px;color:#64748b;font-weight:500;text-transform:uppercase;letter-spacing:.3px}.stat-value{font-size:18px;font-weight:700;color:#0f172a}.stat-value.warning{color:#ea580c}.stat-value.success{color:#059669}.stat-value.info{color:#3b82f6}.filter-bar{display:flex;flex-direction:column;padding:12px 20px;background:#f8fafc;border-bottom:1px solid #e2e8f0;gap:14px}.filter-tabs{display:flex;gap:8px;flex-wrap:wrap}.filter-tab{padding:7px 14px;border-radius:6px;font-size:13px;font-weight:500;cursor:pointer;border:1px solid #e2e8f0;background:#fff;color:#475569;transition:all .2s ease}.filter-tab:hover{background:#f1f5f9;border-color:#cbd5e1}.filter-tab.active{background:linear-gradient(135deg,#1e293b,#0f172a);color:#fff;border-color:transparent;box-shadow:0 2px 4px #0f172a26}.search-box{padding:9px 14px;border:1px solid #e2e8f0;border-radius:6px;font-size:13px;width:220px;transition:all .2s ease;background:#fff}.search-box:focus{outline:none;border-color:#475569;background:#fff;box-shadow:0 0 0 3px #4755691a}.filter-row{display:flex;justify-content:space-between;align-items:center;width:100%;flex-wrap:wrap;gap:12px}.date-filter-section{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding-top:4px;border-top:1px solid #e2e8f0}.date-field-select{padding:6px 12px;border:1px solid #e2e8f0;border-radius:6px;font-size:12px;background:#fff;color:#475569;cursor:pointer;transition:all .2s ease}.date-field-select:focus{outline:none;border-color:#475569;background:#fff}.date-presets{display:flex;gap:6px;flex-wrap:wrap}.date-preset{padding:6px 12px;border-radius:6px;font-size:12px;font-weight:500;cursor:pointer;border:1px solid #e2e8f0;background:#fff;color:#64748b;transition:all .2s ease}.date-preset:hover{background:#f1f5f9;border-color:#cbd5e1;color:#475569}.date-preset.active{background:linear-gradient(135deg,#1e293b,#0f172a);color:#fff;border-color:transparent;box-shadow:0 2px 4px #0f172a26}.filter-right-controls{display:flex;align-items:center;gap:12px;margin-left:auto;flex-wrap:wrap}.sort-section{display:flex;align-items:center;gap:6px;font-size:12px;color:#64748b}.sort-icon{font-size:12px;color:#475569}.sort-label{font-weight:500}.sort-select{padding:6px 10px;border:1px solid #e2e8f0;border-radius:6px;font-size:12px;background:#fff;cursor:pointer;color:#475569}.sort-select:focus{outline:none;border-color:#475569}.sort-dir-btn{padding:5px 8px;border:1px solid #e2e8f0;border-radius:6px;background:#fff;color:#475569;cursor:pointer;font-size:12px;line-height:1}.sort-dir-btn:hover{background:#f1f5f9}.page-size-section{display:flex;align-items:center;gap:6px;font-size:12px;color:#64748b}.page-size-section label{font-weight:500}.page-size-section select{padding:6px 10px;border:1px solid #e2e8f0;border-radius:6px;font-size:12px;background:#fff;cursor:pointer}.page-size-section select:focus{outline:none;border-color:#475569}.page-size-section span{color:#94a3b8}.search-panel{padding:16px 24px;background:#fff;border-bottom:1px solid #e2e8f0}.search-panel-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.search-panel-title{font-size:12px;font-weight:600;color:#475569;text-transform:uppercase;letter-spacing:.5px;display:flex;align-items:center;gap:8px}.search-panel-title:before{content:"";display:inline-block;width:3px;height:14px;background:linear-gradient(135deg,#1e293b,#0f172a);border-radius:2px}.search-clear-btn{padding:6px 12px;border:1px solid #e2e8f0;background:#fff;color:#64748b;font-size:12px;cursor:pointer;border-radius:6px;transition:all .2s ease}.search-clear-btn:hover{background:#f1f5f9;border-color:#cbd5e1;color:#334155}.search-fields{display:flex;gap:16px;align-items:flex-end;flex-wrap:wrap}.search-field{display:flex;flex-direction:column;gap:6px}.search-field label{font-size:11px;font-weight:500;color:#475569;text-transform:uppercase;letter-spacing:.3px}.search-field input{padding:10px 14px;border:1px solid #e2e8f0;border-radius:8px;font-size:13px;width:160px;background:#f8fafc;transition:all .2s ease}.autocomplete{position:relative}.autocomplete .autocomplete-list{position:absolute;top:calc(100% + 6px);left:0;right:0;background:#fff;border:1px solid #e2e8f0;border-radius:10px;box-shadow:0 10px 24px #0f172a1f;z-index:20;max-height:240px;overflow-y:auto;padding:6px}.autocomplete .autocomplete-item{width:100%;text-align:left;padding:8px 10px;border:none;background:transparent;cursor:pointer;border-radius:8px;font-size:12px;color:#1e293b}.autocomplete .autocomplete-item:hover,.autocomplete .autocomplete-item.active{background:#f1f5f9}.autocomplete .autocomplete-empty{padding:8px 10px;font-size:12px;color:#94a3b8}.search-field input:focus{outline:none;border-color:#475569;background:#fff;box-shadow:0 0 0 3px #4755691a}.search-field input::placeholder{color:#94a3b8}.search-btn{padding:10px 24px;background:linear-gradient(135deg,#1e293b,#0f172a);color:#fff;border:none;border-radius:8px;font-size:13px;font-weight:600;cursor:pointer;transition:all .2s ease;box-shadow:0 2px 4px #0f172a33}.search-btn:hover{transform:translateY(-1px);box-shadow:0 4px 12px #0f172a59}.search-btn:disabled{opacity:.6;cursor:not-allowed;transform:none}.pagination{display:flex;justify-content:space-between;align-items:center;padding:14px 24px;background:#fff;border-top:1px solid #e2e8f0;flex-wrap:wrap;gap:16px}.pagination-info{font-size:13px;color:#64748b;font-weight:500}.pagination-controls{display:flex;align-items:center;gap:6px}.pagination-btn{padding:8px 14px;border:1px solid #e2e8f0;background:#fff;border-radius:6px;font-size:13px;font-weight:500;cursor:pointer;transition:all .2s ease;color:#475569}.pagination-btn:hover:not(:disabled){background:#f1f5f9;border-color:#cbd5e1;color:#1e293b}.pagination-btn:disabled{opacity:.4;cursor:not-allowed;color:#94a3b8}.pagination-pages{display:flex;align-items:center;gap:4px}.pagination-page{min-width:34px;height:34px;padding:0 8px;border:1px solid #e2e8f0;background:#fff;border-radius:6px;font-size:13px;font-weight:500;cursor:pointer;transition:all .2s ease;color:#475569}.pagination-page:hover{background:#f1f5f9;border-color:#cbd5e1;color:#1e293b}.pagination-page.active{background:linear-gradient(135deg,#1e293b,#0f172a);color:#fff;border-color:transparent;box-shadow:0 2px 4px #0f172a26}.pagination-ellipsis{padding:0 6px;color:#94a3b8;font-weight:500}.pagination-size{display:flex;align-items:center;gap:8px;font-size:13px;color:#64748b}.pagination-size label{font-weight:500}.pagination-size select{padding:8px 12px;border:1px solid #e2e8f0;border-radius:6px;font-size:13px;background:#f8fafc;cursor:pointer;transition:all .2s ease}.pagination-size select:hover{border-color:#cbd5e1}.pagination-size select:focus{outline:none;border-color:#475569;background:#fff}.loading-overlay{padding:60px 20px;text-align:center;background:#f8fafcf2;color:#3b82f6;font-size:15px;font-weight:500;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-height:200px}.loading-overlay:before{content:"";width:32px;height:32px;border:3px solid #e2e8f0;border-top-color:#3b82f6;border-radius:50%;animation:spinner .8s linear infinite}@keyframes spinner{to{transform:rotate(360deg)}}.loading-dots:after{content:"";animation:dots 1.5s steps(4,end) infinite}@keyframes dots{0%,20%{content:""}40%{content:"."}60%{content:".."}80%,to{content:"..."}}.email-link{font-size:11px;color:#3b82f6}.date-text{font-size:11px;color:#64748b;margin-top:4px;text-align:center}.customer-ref-text{font-size:11px;color:#3b82f6;margin-top:4px;text-align:center;font-weight:500;font-style:italic}.dashboard-footer{text-align:center;padding:24px;color:#94a3b8;font-size:12px;line-height:1.6}.col-order{width:100px}.col-customer{width:140px}.col-stage{width:130px}.warning-text{color:#ea580c;font-weight:500}.warning-badge{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:50%;background:#fbbf24;color:#92400e;font-size:11px;line-height:1;margin-left:4px;cursor:help;vertical-align:middle;position:relative}.warning-badge:after{content:attr(data-tooltip);position:absolute;bottom:calc(100% + 6px);left:50%;transform:translate(-50%);background:#1e293b;color:#fff;font-size:12px;padding:4px 8px;border-radius:4px;white-space:nowrap;pointer-events:none;opacity:0;transition:opacity .05s;z-index:100}.warning-badge:hover:after{opacity:1}.border-right{border-right:2px solid #e2e8f0}.vertical-top{vertical-align:top!important}.loading-state,.error-state,.empty-state{padding:80px 24px;text-align:center;color:#64748b;font-size:15px}.loading-state{color:#3b82f6;font-weight:500;display:flex;flex-direction:column;align-items:center;gap:16px}.loading-state:before{content:"";width:36px;height:36px;border:3px solid #e2e8f0;border-top-color:#3b82f6;border-radius:50%;animation:spinner .8s linear infinite}.error-state{color:#dc2626}.error-state p{margin-bottom:12px}.error-state button{margin-top:20px;padding:10px 24px;background:linear-gradient(135deg,#3b82f6,#2563eb);color:#fff;border:none;border-radius:10px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s ease;box-shadow:0 2px 4px #3b82f64d}.error-state button:hover{transform:translateY(-1px);box-shadow:0 4px 8px #3b82f666}.empty-state{color:#94a3b8}.status-not-implemented{background:#f8fafc}.status-badge.not-implemented{color:#94a3b8;font-size:10px;background:transparent;padding:4px 8px}.check-icon.not-implemented{background:#cbd5e1;color:#64748b;width:16px;height:16px;font-size:9px}.info-legend-container{display:inline-block;margin-left:10px}.info-button{width:28px;height:28px;border-radius:50%;border:1px solid #cbd5e1;background:#f8fafc;color:#64748b;font-weight:600;font-size:14px;cursor:pointer;transition:all .2s}.info-button:hover{background:#e2e8f0;border-color:#94a3b8;color:#475569}.info-legend-overlay{position:fixed;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000}.info-legend-modal{background:#fff;border-radius:12px;box-shadow:0 4px 20px #0003;max-width:800px;width:90%;max-height:80vh;overflow:auto}.info-legend-header{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;border-bottom:1px solid #eee}.info-legend-header h3{margin:0;font-size:16px;color:#1a1a2e}.info-close-button{background:none;border:none;font-size:24px;cursor:pointer;color:#666;padding:0;line-height:1}.info-close-button:hover{color:#333}.info-legend-content{padding:20px}.info-table{width:100%;border-collapse:collapse;font-size:13px}.info-table th{text-align:left;padding:10px;background:#f5f5f5;border-bottom:2px solid #ddd;font-weight:600}.info-table td{padding:10px;border-bottom:1px solid #eee;vertical-align:top}.info-table code{background:#f0f0f0;padding:2px 6px;border-radius:4px;font-size:11px}.info-table .not-implemented-row{background:#faf5fb}.status-indicator{display:inline-block;padding:3px 8px;border-radius:12px;font-size:10px;font-weight:600}.status-indicator.implemented{background:#e8f5e9;color:#2e7d32}.status-indicator.not_implemented{background:#f3e5f5;color:#7b1fa2}.header-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px}.header-actions{display:flex;align-items:center;gap:1rem;justify-content:space-between;margin-bottom:8px}.header-row h1{margin:0}.feedback-toggle{position:fixed;bottom:90px;right:24px;z-index:999;padding:8px 16px;border-radius:20px;border:none;background:linear-gradient(135deg,#6366f1,#4f46e5);color:#fff;font-size:13px;font-weight:600;cursor:pointer;box-shadow:0 4px 12px #6366f166;transition:all .2s}.feedback-toggle:hover{transform:translateY(-2px);box-shadow:0 6px 16px #6366f180}.feedback-modal{max-width:440px;width:90%}.feedback-field{margin-bottom:16px}.feedback-field label{display:block;font-size:13px;font-weight:600;color:#374151;margin-bottom:6px}.feedback-field select,.feedback-field textarea{width:100%;padding:10px 12px;border:1px solid #d1d5db;border-radius:8px;font-size:14px;font-family:inherit;background:#fff;transition:border-color .2s;box-sizing:border-box}.feedback-field select:focus,.feedback-field textarea:focus{outline:none;border-color:#6366f1;box-shadow:0 0 0 3px #6366f11a}.feedback-field textarea{resize:vertical;min-height:80px}.feedback-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:8px}.feedback-cancel{padding:8px 16px;border:1px solid #d1d5db;border-radius:8px;background:#fff;color:#374151;font-size:13px;cursor:pointer}.feedback-cancel:hover{background:#f3f4f6}.feedback-submit{padding:8px 20px;border:none;border-radius:8px;background:#4f46e5;color:#fff;font-size:13px;font-weight:600;cursor:pointer}.feedback-submit:hover:not(:disabled){background:#4338ca}.feedback-submit:disabled{opacity:.5;cursor:not-allowed}.feedback-success{text-align:center;padding:24px 0;font-size:16px;font-weight:600;color:#059669}.feedback-error{color:#dc2626;font-size:13px;margin-bottom:8px}.charlie-container{position:fixed;bottom:24px;right:24px;z-index:1000}.charlie-toggle{width:56px;height:56px;border-radius:28px;border:none;background:linear-gradient(135deg,#1e293b,#0f172a);color:#fff;font-size:24px;cursor:pointer;box-shadow:0 4px 14px #0f172a66;transition:all .3s cubic-bezier(.4,0,.2,1);display:flex;align-items:center;justify-content:center;gap:8px}.charlie-toggle:hover{transform:scale(1.05) translateY(-2px);box-shadow:0 8px 20px #0f172a80}.charlie-toggle.open{width:40px;height:40px;font-size:20px}.charlie-toggle-label{font-size:14px;font-weight:600;display:none}@media(min-width:768px){.charlie-toggle{width:auto;padding:0 20px}.charlie-toggle-label{display:inline}}.charlie-window{position:absolute;bottom:70px;right:0;width:550px;height:600px;background:#fff;border-radius:20px;box-shadow:0 25px 50px -12px #00000040;display:flex;flex-direction:column;overflow:hidden;border:1px solid #e2e8f0}@media(max-width:480px){.charlie-window{width:calc(100vw - 40px);height:calc(100vh - 100px);bottom:70px;right:0}}.charlie-header{background:linear-gradient(135deg,#1e293b,#0f172a);color:#fff;padding:18px 20px;display:flex;justify-content:space-between;align-items:center}.charlie-header-info{display:flex;align-items:center;gap:12px}.charlie-avatar{width:40px;height:40px;background:#fff3;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:18px}.charlie-name{font-weight:600;font-size:16px}.charlie-status{font-size:12px;opacity:.8}.charlie-minimize{background:#fff3;border:none;color:#fff;width:28px;height:28px;border-radius:50%;font-size:18px;cursor:pointer;display:flex;align-items:center;justify-content:center}.charlie-minimize:hover{background:#ffffff4d}.charlie-agent-selector{display:flex;gap:4px;padding:8px 12px;background:#f8fafc;border-bottom:1px solid #e2e8f0;overflow-x:auto}.charlie-agent-btn{display:flex;align-items:center;gap:6px;padding:6px 12px;border:1px solid #e2e8f0;background:#fff;border-radius:20px;font-size:12px;cursor:pointer;transition:all .2s;white-space:nowrap;color:#64748b}.charlie-agent-btn:hover{background:#f1f5f9;border-color:#cbd5e1}.charlie-agent-btn.active{background:#1e293b;color:#fff;border-color:#1e293b}.charlie-agent-btn .agent-icon{font-size:14px}.charlie-agent-btn .agent-name{font-weight:500}@media(max-width:480px){.charlie-agent-btn .agent-name{display:none}.charlie-agent-btn{padding:8px}}.charlie-messages{flex:1;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:12px}.charlie-message{display:flex;gap:8px}.charlie-message.user{align-self:flex-end;flex-direction:row-reverse;max-width:85%}.charlie-message.assistant{align-self:flex-start;width:100%}.charlie-message-avatar{width:30px;height:30px;background:linear-gradient(135deg,#1e293b,#0f172a);color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:600;flex-shrink:0}.charlie-message-content{background:#f1f5f9;padding:12px 16px;border-radius:18px;flex:1;min-width:0}.charlie-message.user .charlie-message-content{background:linear-gradient(135deg,#1e293b,#0f172a);color:#fff}.charlie-message-text{margin:0;font-family:inherit;font-size:13px;line-height:1.5;white-space:pre-wrap;word-wrap:break-word}.charlie-typing{display:flex;gap:4px;padding:4px 0}.charlie-typing span{width:8px;height:8px;background:#999;border-radius:50%;animation:typing 1.4s infinite ease-in-out}.charlie-typing span:nth-child(1){animation-delay:0s}.charlie-typing span:nth-child(2){animation-delay:.2s}.charlie-typing span:nth-child(3){animation-delay:.4s}@keyframes typing{0%,60%,to{transform:translateY(0);opacity:.4}30%{transform:translateY(-4px);opacity:1}}.charlie-suggestions{padding:0 16px 12px;display:flex;flex-wrap:wrap;gap:8px}.charlie-suggestion{background:#f0f0f0;border:1px solid #e0e0e0;border-radius:16px;padding:6px 12px;font-size:12px;color:#666;cursor:pointer;transition:all .2s}.charlie-suggestion:hover{background:#e8e8e8;color:#333}.charlie-input-container{padding:12px 16px;border-top:1px solid #eee;display:flex;gap:8px;align-items:flex-end}.charlie-input{flex:1;border:1px solid #ddd;border-radius:20px;padding:10px 16px;font-size:14px;resize:none;max-height:100px;font-family:inherit}.charlie-input:focus{outline:none;border-color:#475569}.charlie-send{width:36px;height:36px;border-radius:50%;border:none;background:linear-gradient(135deg,#1e293b,#0f172a);color:#fff;font-size:18px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s}.charlie-send:hover:not(:disabled){transform:scale(1.05)}.charlie-send:disabled{opacity:.5;cursor:not-allowed}.charlie-message-text{font-size:13px;line-height:1.5}.charlie-message-text p{margin:0 0 8px}.charlie-message-text p:last-child{margin-bottom:0}.charlie-message-text h1,.charlie-message-text h2,.charlie-message-text h3,.charlie-message-text h4{margin:12px 0 8px;font-weight:600;line-height:1.3}.charlie-message-text h1:first-child,.charlie-message-text h2:first-child,.charlie-message-text h3:first-child{margin-top:0}.charlie-message-text h1{font-size:16px}.charlie-message-text h2{font-size:15px}.charlie-message-text h3{font-size:14px}.charlie-message-text h4{font-size:13px}.charlie-message-text ul,.charlie-message-text ol{margin:8px 0;padding-left:20px}.charlie-message-text li{margin:4px 0}.charlie-message-text code{background:#00000014;padding:2px 6px;border-radius:4px;font-family:SF Mono,Monaco,Consolas,monospace;font-size:12px}.charlie-message.user .charlie-message-text code{background:#fff3}.charlie-message-text pre{background:#1a1a2e;color:#e0e0e0;padding:12px;border-radius:8px;overflow-x:auto;margin:8px 0}.charlie-message-text pre code{background:none;padding:0;font-size:12px;color:inherit}.charlie-message-text blockquote{border-left:3px solid #475569;margin:8px 0;padding-left:12px;color:#666;font-style:italic}.charlie-message.user .charlie-message-text blockquote{border-left-color:#ffffff80;color:#ffffffd9}.charlie-message-text table{border-collapse:collapse;margin:8px 0;width:100%;font-size:12px}.charlie-message-text th,.charlie-message-text td{border:1px solid #ddd;padding:6px 8px;text-align:left}.charlie-message-text th{background:#f5f5f5;font-weight:600}.charlie-message.user .charlie-message-text th,.charlie-message.user .charlie-message-text td{border-color:#ffffff4d}.charlie-message.user .charlie-message-text th{background:#ffffff26}.charlie-message-text a{color:#1e293b;text-decoration:none;font-weight:500}.charlie-message-text a:hover{text-decoration:underline}.charlie-message.user .charlie-message-text a{color:#fff;text-decoration:underline}.charlie-message-text hr{border:none;border-top:1px solid #ddd;margin:12px 0}.charlie-message.user .charlie-message-text hr{border-top-color:#ffffff4d}.charlie-message-text strong{font-weight:600}.charlie-message-text em{font-style:italic}.debug-dashboard{padding:24px 32px;max-width:1280px;margin:0 auto}.debug-header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:20px;flex-wrap:wrap}.debug-header h1{margin:0 0 2px}.debug-header .subtitle{margin:0;color:#64748b;font-size:13px}.debug-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.debug-tabs{display:flex;gap:6px;margin-right:8px}.debug-tab{padding:7px 14px;border:1px solid #cbd5e1;border-radius:6px;background:#f8fafc;color:#334155;cursor:pointer;font-size:13px;font-weight:500;transition:all .15s}.debug-tab:hover:not(.active){background:#e2e8f0}.debug-tab.active{background:#1f3b6d;color:#fff;border-color:#1f3b6d}.tab-badge{background:#ef4444;color:#fff;font-size:11px;padding:1px 6px;border-radius:10px;margin-left:4px}.credits-bar{display:flex;align-items:center;gap:6px;font-size:12px;color:#94a3b8;padding:4px 10px;background:#1e293b;border-radius:6px;white-space:nowrap}.credits-bar strong{color:#e2e8f0}.credits-separator{color:#475569}.debug-input,.debug-select{padding:8px 10px;border:1px solid #d6dbe6;border-radius:6px;background:#fff}.debug-button{padding:8px 14px;border:1px solid #1f3b6d;border-radius:6px;background:#1f3b6d;color:#fff;cursor:pointer}.debug-button:disabled{opacity:.6;cursor:default}.debug-error{padding:12px 14px;background:#fff3f3;border:1px solid #f0b6b6;border-radius:6px;color:#8a1c1c;margin-bottom:12px}.debug-summary{display:flex;gap:10px;font-size:13px;color:#4b5563;margin-bottom:16px;flex-wrap:wrap}.debug-summary>div{background:#f1f5f9;padding:6px 12px;border-radius:6px;font-weight:500;white-space:nowrap}.sync-runs-section{margin-bottom:12px}.sync-runs-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.sync-runs-title{font-size:13px;font-weight:600;color:#374151}.sync-runs-day-btns{display:inline-flex;gap:2px;margin-left:8px}.sync-runs-day-btn{font-size:11px;padding:1px 7px;border:1px solid #d1d5db;border-radius:4px;background:#fff;color:#6b7280;cursor:pointer}.sync-runs-day-btn:hover{background:#f3f4f6}.sync-runs-day-btn--active{background:#3b82f6;color:#fff;border-color:#3b82f6}.sync-runs-day-btn--active:hover{background:#2563eb}.sync-run-clear{font-size:11px;color:#3b82f6;background:none;border:none;cursor:pointer;text-decoration:underline;padding:0}.sync-runs-list{display:flex;flex-direction:column;gap:4px}.sync-run-card{border:1px solid #e5e7eb;border-radius:8px;background:#fff;overflow:hidden;transition:border-color .15s}.sync-run-card:hover{border-color:#cbd5e1}.sync-run-card--selected{border-color:#3b82f6;background:#f8fafc}.sync-run-card--has-new{border-left:3px solid #22c55e}.sync-run-card-header{display:flex;align-items:center;justify-content:space-between;padding:8px 12px;cursor:pointer;gap:12px}.sync-run-card-header:hover{background:#f8fafc}.sync-run-card-left{display:flex;align-items:center;gap:8px;flex-shrink:0}.sync-run-card-right{display:flex;align-items:center;gap:10px;font-size:11px;color:#64748b}.sync-run-card-time{font-size:12px;font-weight:500;color:#1e293b}.sync-run-card-duration{font-size:10px;color:#94a3b8}.sync-run-card-stat{font-size:11px;color:#64748b}.sync-run-card-stat--muted{color:#94a3b8}.sync-run-card-badge{font-size:10px;font-weight:700;padding:2px 8px;border-radius:10px}.sync-run-card-badge--new{background:#dcfce7;color:#15803d}.sync-run-card-badge--zero{background:#f1f5f9;color:#94a3b8}.sync-run-card-badge--running{background:#fef9c3;color:#a16207}.sync-run-card-expand{font-size:10px;color:#94a3b8;margin-left:4px}.sync-run-source{font-size:9px;padding:2px 6px;border-radius:4px;font-weight:700;text-transform:uppercase;letter-spacing:.3px;flex-shrink:0}.sync-run-source--cli{background:#f0f9ff;color:#0369a1}.sync-run-source--api{background:#f0fdf4;color:#15803d}.sync-run-source--n8n{background:#fefce8;color:#a16207}.sync-run-card-body{border-top:1px solid #f1f5f9;padding:10px 12px;background:#fafbfc}.sync-run-card-stats{display:flex;flex-wrap:wrap;gap:6px 16px;font-size:11px;color:#64748b;margin-bottom:8px}.sync-run-invoices{margin-top:4px}.sync-run-invoices-label{font-size:11px;font-weight:600;color:#475569;margin-bottom:4px}.sync-run-invoice-row{display:flex;align-items:center;gap:8px;padding:3px 0;font-size:11px;border-bottom:1px solid #f1f5f9}.sync-run-invoice-row:last-child{border-bottom:none}.sync-run-inv-dist{font-weight:600;color:#1e293b;min-width:100px;flex-shrink:0}.sync-run-inv-num{color:#6366f1;font-family:monospace;font-size:10px;flex-shrink:0}.sync-run-inv-amt{color:#059669;font-family:monospace;font-size:11px;flex-shrink:0;min-width:70px;text-align:right}.sync-run-inv-subj{color:#64748b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0}.sync-run-filter-btn{margin-top:8px;font-size:11px;color:#3b82f6;background:none;border:1px solid #bfdbfe;border-radius:6px;padding:4px 12px;cursor:pointer;transition:all .15s}.sync-run-filter-btn:hover{background:#eff6ff}.sync-run-show-more{width:100%;padding:8px 12px;margin-top:4px;font-size:12px;font-weight:500;color:#3b82f6;background:#f8fafc;border:1px dashed #cbd5e1;border-radius:8px;cursor:pointer;transition:all .15s}.sync-run-show-more:hover{background:#eff6ff;border-color:#93c5fd}.debug-table{border:1px solid #e2e8f0;border-radius:10px;overflow:hidden;background:#fff;box-shadow:0 1px 3px #0000000a}.debug-row{display:grid;grid-template-columns:160px 120px 90px 70px 80px 80px 1fr;gap:8px;padding:10px 14px;border-bottom:1px solid #e5e9f2;align-items:center;font-size:13px}.debug-row:nth-child(2n):not(.debug-row-header){background:#f8fafc}.debug-row:hover:not(.debug-row-header){background:#eef2ff}.debug-row.debug-row-pricing{grid-template-columns:150px 100px 55px 70px 70px 70px 70px 70px 1fr}.debug-row-header{background:#f1f5f9;font-weight:600;color:#475569;font-size:12px;text-transform:uppercase;letter-spacing:.03em;border-bottom:2px solid #e2e8f0!important}.debug-costs{display:flex;gap:16px;flex-wrap:wrap;margin-top:4px}.debug-costs span{background:#f0f9ff;padding:2px 8px;border-radius:4px;font-size:12px;color:#0369a1}.debug-email-link{margin-bottom:12px}.debug-email-link a{display:inline-flex;align-items:center;gap:6px;background:#2563eb;color:#fff;padding:6px 12px;border-radius:6px;text-decoration:none;font-size:13px;font-weight:500}.debug-email-link a:hover{background:#1d4ed8}.debug-row-expanded code{background:#f1f5f9;padding:2px 6px;border-radius:4px;font-size:11px;word-break:break-all}.debug-subject{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.debug-link{background:none;border:none;color:#c2410c;cursor:pointer;padding:0;text-align:left;font-weight:600}.debug-link:hover{text-decoration:underline}.status-badge{display:inline-block;font-size:11px;font-weight:600;padding:2px 8px;border-radius:10px;white-space:nowrap;line-height:1.5}.status-badge--received{background:#dcfce7;color:#166534}.status-badge--pending,.status-badge--needs-ai{background:#fef3c7;color:#92400e}.status-badge--done{background:#dcfce7;color:#166534}.status-badge--na{background:#f1f5f9;color:#94a3b8}.debug-row-expanded{grid-column:1 / -1;background:#f1f5f9;padding:14px 16px;border-radius:8px;border:1px solid #e2e8f0;margin-top:8px;font-size:12px;color:#374151;display:flex;flex-direction:column;gap:6px;line-height:1.6}.debug-payload{margin-top:8px;padding:10px;background:#0b1020;color:#e5e7eb;border-radius:6px;font-size:11px;max-height:240px;overflow:auto}.debug-empty{padding:16px;text-align:center;color:#6b7280}@media(max-width:900px){.debug-row{grid-template-columns:120px 90px 70px 60px 70px 70px 1fr}}@media(max-width:640px){.debug-row{grid-template-columns:1fr}.debug-row>div{padding:2px 0}}.sw-detail{padding:14px 16px;margin:4px 12px 8px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;font-size:12px;color:#374151;line-height:1.6}.sw-detail-top{display:flex;align-items:center;gap:8px;color:#64748b;padding-bottom:10px;border-bottom:1px solid #e5e7eb;margin-bottom:10px}.sw-detail-from{font-weight:600;font-size:13px;color:#1e293b}.sw-detail-sep{width:1px;height:14px;background:#cbd5e1}.sw-detail-items{color:#6b7280;font-size:12px}.sw-detail-ai{display:flex;align-items:center;gap:8px;margin-top:2px;padding:8px 10px;background:#fff;border:1px solid #e5e7eb;border-radius:6px}.sw-dot{width:8px;height:8px;border-radius:50%;flex-shrink:0}.sw-dot-green{background:#22c55e}.sw-dot-yellow{background:#eab308}.sw-dot-red{background:#ef4444}.sw-detail-status{font-weight:600;color:#1e293b;font-size:13px}.sw-detail-license{color:#475569;padding-left:8px;border-left:1px solid #e2e8f0}.sw-detail-problem{color:#dc2626;font-weight:500;padding-left:8px;border-left:1px solid #e2e8f0}.sw-detail-notes{margin-top:6px;color:#64748b;padding:6px 10px;background:#fff;border-radius:4px;border:1px solid #e5e7eb}.sw-detail-missing{margin-top:6px;color:#92400e;background:#fffbeb;padding:6px 10px;border-radius:4px;border:1px solid #fde68a;font-weight:500}.sw-detail-actions{display:flex;align-items:center;gap:8px;margin-top:10px;padding-top:10px;border-top:1px solid #e5e7eb}.sw-action-link{display:inline-flex;align-items:center;font-size:12px;color:#2563eb;background:#eff6ff;border:1px solid #bfdbfe;padding:5px 12px;border-radius:6px;text-decoration:none;cursor:pointer;font-weight:500;transition:background .15s}.sw-action-link:hover{background:#dbeafe;text-decoration:none}.sw-action-btn{font-size:12px;padding:5px 12px;background:#2563eb;color:#fff;border:none;border-radius:6px;cursor:pointer;font-weight:500;transition:background .15s}.sw-action-btn:hover{background:#1d4ed8}.sw-action-btn.loading{background:#94a3b8;cursor:default}.sw-body-toggle{position:relative}.sw-body-pre{font-size:11px;max-height:180px;overflow:auto;margin-top:6px;padding:10px;background:#fff;border:1px solid #e2e8f0;border-radius:6px;white-space:pre-wrap;word-break:break-word;color:#374151}.sw-detail-pdfs{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}.modal-overlay{position:fixed;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1001}.modal-content{background:#fff;border-radius:12px;box-shadow:0 4px 24px #0003;max-width:700px;width:90%;max-height:80vh;overflow:hidden;display:flex;flex-direction:column}.modal-content.modal-wide{max-width:950px}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;border-bottom:1px solid #eee;background:#f8f9fa}.modal-header h2{margin:0;font-size:18px;color:#1a1a2e}.modal-close{background:none;border:none;font-size:28px;cursor:pointer;color:#666;padding:0;line-height:1;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:4px}.modal-close:hover{background:#eee;color:#333}.modal-body{padding:20px;overflow-y:auto}.so-meta,.po-meta{margin-bottom:16px;color:#666;font-size:13px;line-height:1.8}.so-lines-table{width:100%;border-collapse:collapse;font-size:13px}.so-lines-table th{text-align:left;padding:10px 12px;background:#f5f5f5;border-bottom:2px solid #ddd;font-weight:600;color:#333}.so-lines-table td{padding:10px 12px;border-bottom:1px solid #eee;vertical-align:top}.so-lines-table tbody tr:hover{background:#fafbfc}.so-lines-table .text-right,.so-lines-table th.text-right{text-align:right}.so-lines-table .line-number{color:#999;width:40px}.so-lines-table .line-title{font-weight:500;font-size:13px}.so-lines-table .line-description{font-size:11px;color:#666;margin-top:4px}.so-lines-table tfoot td{border-top:2px solid #ddd;background:#f8f9fa}.empty-lines{text-align:center;color:#999;padding:40px 20px;font-size:14px}.status-cell.clickable{cursor:pointer;transition:background-color .2s}.status-cell.clickable:hover{background:#d4edda}.status-cell.status-backordered.clickable:hover{background:linear-gradient(135deg,#dc2626,#b91c1c)}.clickable-ref{cursor:pointer}.clickable-cell{cursor:pointer;transition:filter .15s}.clickable-cell:hover{filter:brightness(.95)}.kqm-link{color:#2563eb;font-weight:600}.line-count{font-size:10px;color:#666;margin-top:4px;text-align:center}.profit-positive{color:#059669;font-weight:500}.profit-negative{color:#dc2626;font-weight:500}.po-info{font-size:11px;min-width:100px}.po-number{color:#3b82f6;font-weight:500}.supplier-name{color:#666;font-size:10px}.no-po{color:#94a3b8;font-style:italic}.kqm-link{color:#2563eb;text-decoration:none;transition:color .15s}.kqm-link:hover{color:#1d4ed8;text-decoration:underline}.modal-header h2 .kqm-link{font-weight:inherit}.quote-meta{background:#f8f9fa;border-radius:8px;padding:16px;margin-bottom:20px}.quote-meta .meta-row{display:flex;margin-bottom:8px}.quote-meta .meta-row:last-child{margin-bottom:0}.quote-meta .meta-label{font-weight:600;color:#64748b;width:100px;flex-shrink:0}.quote-meta .meta-value{color:#1e293b}.quote-meta .contact-email{color:#64748b;font-size:13px}.quote-lines-table{width:100%;border-collapse:collapse;font-size:13px}.quote-lines-table th{text-align:left;padding:10px 12px;background:#f5f5f5;border-bottom:2px solid #ddd;font-weight:600;color:#333}.quote-lines-table td{padding:10px 12px;border-bottom:1px solid #eee;vertical-align:top}.quote-lines-table tbody tr:hover{background:#fafbfc}.quote-lines-table .text-right,.quote-lines-table th.text-right{text-align:right}.quote-lines-table .line-number{color:#999;width:40px}.quote-lines-table .line-title{max-width:400px}.quote-lines-table .line-title .item-title{font-weight:500;font-size:13px;display:flex;align-items:center;gap:8px;flex-wrap:wrap}.quote-lines-table .line-description{font-size:11px;color:#666;margin-top:4px}.quote-lines-table .product-number{font-size:10px;color:#94a3b8;margin-top:4px}.recurring-badge{font-size:10px;color:#7c3aed;background:#f3e8ff;padding:2px 6px;border-radius:4px;margin-left:6px;display:inline-block;vertical-align:middle}.quote-lines-table tfoot td{border-top:2px solid #ddd;background:#f8f9fa}.quote-lines-table tfoot tr.grand-total td{font-size:15px}.quote-lines-table .optional-line{background:#fffbeb}.quote-lines-table .unselected-line{opacity:.6;background:#f3f4f6}.optional-badge{font-size:10px;color:#d97706;background:#fef3c7;padding:2px 6px;border-radius:4px}.unselected-badge{font-size:10px;color:#6b7280;background:#e5e7eb;padding:2px 6px;border-radius:4px}.modal-actions{margin-top:20px;padding-top:16px;border-top:1px solid #e5e7eb;display:flex;justify-content:flex-end;gap:12px}.btn-primary{background:#1e293b;color:#fff;padding:10px 20px;border-radius:6px;text-decoration:none;font-weight:500;transition:background .15s}.btn-primary:hover{background:#0f172a}td.col-quote.clickable{cursor:pointer;transition:background-color .2s}td.col-quote.clickable:hover{background:#e0f2fe}td.col-quote .order-id.clickable-ref{color:#2563eb}.sync-status-link{color:#64748b;transition:color .15s}.sync-status-link:hover{color:#2563eb}.sync-details-modal{max-width:600px}.sync-details-modal .modal-header h3{margin:0;font-size:18px;color:#1a1a2e}.sync-details-table{width:100%;border-collapse:collapse;font-size:13px}.sync-details-table th{text-align:left;padding:10px 12px;background:#f1f5f9;border-bottom:2px solid #e2e8f0;font-weight:600;color:#475569}.sync-details-table td{padding:10px 12px;border-bottom:1px solid #e2e8f0;color:#334155}.sync-details-table tr:hover{background:#f8fafc}.sync-details-table tr:last-child td{border-bottom:none}.no-sync-data{text-align:center;color:#94a3b8;padding:20px}.status-warning{background:linear-gradient(135deg,#fffbeb,#fef3c7)}.status-badge.warning{color:#f59e0b;background:#f59e0b1f;font-weight:500;font-size:11px}.check-icon.warning{background:linear-gradient(135deg,#fde68a,#fbbf24);color:#fff;box-shadow:0 2px 4px #fbbf2440}.invoice-count{font-size:11px;color:#475569;margin-top:4px}.invoice-total{font-size:12px;font-weight:600;color:#059669;margin-top:2px}.invoice-summary{display:flex;gap:16px;margin-bottom:24px;flex-wrap:wrap}.summary-card{flex:1;min-width:150px;background:#f8fafc;border-radius:10px;padding:16px;border:1px solid #e2e8f0}.summary-label{font-size:11px;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.5px;margin-bottom:8px}.summary-value{font-size:20px;font-weight:700;color:#1e293b}.invoice-status-badge{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:600;padding:6px 12px;border-radius:20px}.invoice-status-badge.invoiced{background:#d1fae5;color:#059669}.invoice-status-badge.partial{background:#fef3c7;color:#d97706}.invoice-status-badge.not-invoiced{background:#f1f5f9;color:#64748b}.invoices-list{display:flex;flex-direction:column;gap:16px}.invoice-card{background:#fff;border:1px solid #e2e8f0;border-radius:10px;overflow:hidden}.invoice-card-header{display:flex;justify-content:space-between;align-items:center;padding:14px 16px;background:#f8fafc;border-bottom:1px solid #e2e8f0}.invoice-number{font-weight:600;color:#1e293b;display:flex;align-items:center;gap:8px}.invoice-icon{font-size:16px}.invoice-amount{font-size:18px;font-weight:700;color:#059669}.invoice-card-meta{display:flex;gap:16px;padding:10px 16px;background:#fafbfc;font-size:12px;color:#64748b;border-bottom:1px solid #e2e8f0;flex-wrap:wrap}.voided-badge{background:#fee2e2;color:#dc2626;padding:2px 8px;border-radius:4px;font-weight:600;font-size:10px}.paid-badge{background:#d1fae5;color:#059669;padding:2px 8px;border-radius:4px;font-weight:500}.billing-items-table{width:100%;border-collapse:collapse;font-size:12px}.billing-items-table th{text-align:left;padding:10px 12px;background:#f1f5f9;border-bottom:1px solid #e2e8f0;font-weight:600;color:#475569;font-size:11px;text-transform:uppercase;letter-spacing:.3px}.billing-items-table td{padding:10px 12px;border-bottom:1px solid #f1f5f9;vertical-align:middle}.billing-items-table tbody tr:last-child td{border-bottom:none}.billing-items-table tbody tr:hover{background:#fafbfc}.billing-items-table .text-right,.billing-items-table th.text-right{text-align:right}.billing-items-table .item-name{font-weight:500;color:#1e293b}.billing-items-table .item-source{width:80px}.source-badge{display:inline-block;font-size:10px;font-weight:600;padding:2px 8px;border-radius:4px}.source-badge.ticket{background:#e0f2fe;color:#0369a1}.source-badge.project{background:#f3e8ff;color:#7c3aed}.source-badge.contract{background:#dcfce7;color:#16a34a}.empty-invoices{text-align:center;padding:60px 20px;background:#f8fafc;border-radius:10px;border:2px dashed #e2e8f0}.empty-icon{font-size:48px;margin-bottom:16px;opacity:.5}.empty-text{font-size:16px;font-weight:600;color:#475569;margin-bottom:8px}.empty-subtext{font-size:13px;color:#94a3b8}.unbilled-section{margin-top:24px;padding-top:20px;border-top:2px solid #fef3c7}.unbilled-section h3{font-size:14px;font-weight:600;color:#d97706;margin-bottom:12px;display:flex;align-items:center;gap:8px}.unbilled-section h3:before{content:"!";display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;background:#fef3c7;color:#d97706;border-radius:50%;font-size:12px;font-weight:700}.unbilled-items-table{width:100%;border-collapse:collapse;font-size:12px;background:#fffbeb;border-radius:8px;overflow:hidden}.unbilled-items-table th{text-align:left;padding:10px 12px;background:#fef3c7;font-weight:600;color:#92400e;font-size:11px;text-transform:uppercase}.unbilled-items-table td{padding:10px 12px;border-bottom:1px solid #fde68a}.unbilled-items-table .text-right,.unbilled-items-table th.text-right{text-align:right}.unbilled-row{background:#fffbeb}.unbilled-row:hover{background:#fef3c7}.loading-spinner{width:32px;height:32px;border:3px solid #e2e8f0;border-top-color:#3b82f6;border-radius:50%;animation:spinner .8s linear infinite;margin:0 auto 12px}.modal-subtitle{font-size:13px;color:#64748b;font-weight:400;margin-top:4px}.invoice-summary-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;margin-bottom:24px}.summary-card.status-card{grid-column:span 1}.summary-value.count{font-size:32px;font-weight:700;color:#3b82f6}.summary-value.amount{font-size:28px;font-weight:700;color:#10b981}.summary-value.progress{font-size:16px;font-weight:600;color:#6366f1}.invoice-status-badge{display:inline-flex;align-items:center;gap:6px;padding:8px 16px;border-radius:8px;font-weight:600;font-size:14px}.invoice-status-badge .badge-icon{font-size:16px}.invoice-status-badge.invoiced{background:#d1fae5;color:#065f46}.invoice-status-badge.partial{background:#fef3c7;color:#92400e}.invoice-status-badge.not-invoiced{background:#f3f4f6;color:#6b7280}.tab-navigation{display:flex;gap:8px;margin-bottom:24px;border-bottom:2px solid #e5e7eb}.tab-button{padding:12px 20px;background:transparent;border:none;border-bottom:3px solid transparent;font-size:14px;font-weight:600;color:#6b7280;cursor:pointer;transition:all .2s;margin-bottom:-2px}.tab-button:hover{color:#3b82f6;background:#f8fafc}.tab-button.active{color:#3b82f6;border-bottom-color:#3b82f6}.invoice-card{background:#fff;border:2px solid #e5e7eb;border-radius:12px;padding:20px;margin-bottom:16px;transition:all .2s}.invoice-card:hover{border-color:#3b82f6;box-shadow:0 4px 12px #3b82f61a}.invoice-card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;padding-bottom:16px;border-bottom:2px solid #f3f4f6}.invoice-number{display:flex;align-items:center;gap:12px}.invoice-icon{font-size:32px}.invoice-num{font-size:18px;font-weight:700;color:#0f172a}.invoice-date{font-size:13px;color:#64748b;margin-top:2px}.invoice-amount{text-align:right}.invoice-amount .amount-label{font-size:12px;color:#64748b;text-transform:uppercase;letter-spacing:.5px;margin-bottom:4px}.invoice-amount .amount-value{font-size:28px;font-weight:700;color:#10b981}.invoice-card-meta{display:flex;flex-wrap:wrap;gap:16px;margin-bottom:20px;font-size:13px}.meta-item{display:flex;gap:6px}.meta-label{color:#6b7280;font-weight:500}.meta-value{color:#0f172a;font-weight:600}.meta-item.paid,.meta-item.paid .meta-value{color:#10b981}.voided-badge{background:#fee2e2;color:#991b1b;padding:4px 12px;border-radius:6px;font-weight:600;font-size:12px}.billing-items-container{margin-top:20px}.section-header{font-size:14px;font-weight:600;color:#475569;margin-bottom:12px;text-transform:uppercase;letter-spacing:.5px}.billing-items-table{width:100%;border-collapse:collapse;font-size:13px}.billing-items-table thead{background:#f8fafc}.billing-items-table th{padding:10px 12px;text-align:left;font-weight:600;color:#475569;font-size:12px;text-transform:uppercase;letter-spacing:.5px;border-bottom:2px solid #e5e7eb}.billing-items-table tbody tr{border-bottom:1px solid #f3f4f6}.billing-items-table tbody tr:hover{background:#f8fafc}.billing-items-table td{padding:12px;vertical-align:top}.item-name .item-title{font-weight:500;color:#0f172a;margin-bottom:2px;font-size:13px}.item-name .item-date{font-size:12px;color:#94a3b8}.type-badge{display:inline-block;padding:4px 10px;background:#e0e7ff;color:#4338ca;border-radius:6px;font-size:11px;font-weight:600;text-transform:uppercase}.source-badge{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:6px;font-size:12px;font-weight:600}.source-badge.ticket{background:#dbeafe;color:#1e40af}.source-badge.project{background:#fef3c7;color:#92400e}.source-badge.contract{background:#e0e7ff;color:#4338ca}.source-badge.unknown{background:#f3f4f6;color:#6b7280}.source-icon{font-size:14px}.amount-cell{font-weight:600;color:#0f172a}.billing-items-table tfoot{background:#f8fafc;border-top:2px solid #e5e7eb}.billing-items-table tfoot td{padding:10px 12px;font-size:14px}.billing-items-table .total-row{background:#1e293b;color:#fff}.billing-items-table .total-row td{color:#fff;font-size:15px;padding:12px}.charges-view{padding:20px 0}.charges-summary{margin-bottom:24px}.progress-bar-container{background:#fff;border:2px solid #e5e7eb;border-radius:12px;padding:20px}.progress-bar-label{display:flex;justify-content:space-between;margin-bottom:12px;font-size:14px;font-weight:600;color:#475569}.progress-bar{height:24px;background:#f1f5f9;border-radius:12px;overflow:hidden;position:relative}.progress-bar-fill{height:100%;background:linear-gradient(90deg,#3b82f6,#6366f1);border-radius:12px;transition:width .3s ease}.info-box{display:flex;gap:16px;background:#eff6ff;border:2px solid #bfdbfe;border-radius:12px;padding:20px;margin-top:20px}.info-icon{font-size:28px;flex-shrink:0}.info-content{flex:1}.info-content strong{display:block;color:#1e40af;margin-bottom:8px;font-size:15px}.info-content p{color:#1e40af;font-size:14px;line-height:1.6;margin-bottom:12px}.info-content ul{margin-left:20px;margin-bottom:12px}.info-content li{color:#1e40af;font-size:14px;line-height:1.8;margin-bottom:6px}.empty-state{text-align:center;padding:60px 40px;background:#f8fafc;border:2px dashed #cbd5e1;border-radius:12px;margin:20px 0}.empty-icon{font-size:64px;margin-bottom:16px;opacity:.5}.empty-text{font-size:18px;font-weight:600;color:#475569;margin-bottom:8px}.empty-subtext{font-size:14px;color:#64748b;line-height:1.6;max-width:500px;margin:0 auto}.error-state{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:60px 40px;background:#fef2f2;border:2px solid #fecaca;border-radius:12px;margin:20px 0}.error-icon{font-size:48px;margin-bottom:16px}.error-text{font-size:16px;font-weight:600;color:#991b1b;text-align:center}.modal-footer{border-top:2px solid #e5e7eb;padding:16px 24px;background:#f8fafc}.help-text{display:flex;align-items:center;gap:8px;font-size:14px;color:#64748b}.help-text strong{color:#475569}@media(max-width:768px){.invoice-summary-grid{grid-template-columns:1fr}.invoice-card-header{flex-direction:column;align-items:flex-start;gap:16px}.invoice-amount{text-align:left}.billing-items-table{font-size:12px}.billing-items-table th,.billing-items-table td{padding:8px}.tab-navigation{overflow-x:auto}.tab-button{white-space:nowrap}}.invoice-ref{display:flex;flex-direction:column;gap:4px}.invoice-ref-number{font-weight:600;color:#3b82f6;font-size:13px}.invoice-link{color:#3b82f6;text-decoration:none}.invoice-link:hover{text-decoration:underline}.invoice-ref-date{font-size:12px;color:#64748b}.voided-badge-small,.paid-badge-small{display:inline-block;padding:2px 8px;border-radius:4px;font-size:10px;font-weight:700;text-transform:uppercase;margin-top:2px}.voided-badge-small{background:#fee2e2;color:#991b1b}.paid-badge-small{background:#d1fae5;color:#065f46}.line-items-view{margin-top:24px}.invoices-summary-section{margin-top:32px;padding-top:32px;border-top:2px solid #e5e7eb}.invoice-summary-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px;margin-top:16px}.invoice-summary-card{background:#fff;border:2px solid #e5e7eb;border-radius:12px;padding:16px;transition:all .2s}.invoice-summary-card:hover{border-color:#3b82f6;box-shadow:0 4px 12px #3b82f626;transform:translateY(-2px)}.invoice-summary-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;padding-bottom:12px;border-bottom:2px solid #f3f4f6}.invoice-summary-number{display:flex;align-items:center;gap:8px;font-weight:700;color:#0f172a;font-size:15px}.invoice-icon-small{font-size:20px}.invoice-summary-amount{font-size:20px;font-weight:700;color:#10b981}.invoice-summary-meta{display:flex;flex-direction:column;gap:8px}.meta-row{display:flex;justify-content:space-between;font-size:13px;color:#64748b}.meta-row span:last-child{font-weight:600;color:#0f172a}.meta-row.paid-status{color:#10b981;font-weight:600}.meta-row.paid-status span:last-child{color:#10b981}.meta-row.unpaid-status{color:#f59e0b;font-weight:600}.login-required{display:flex;align-items:center;justify-content:center;min-height:80vh;padding:2rem}.login-card{background:#fff;border-radius:16px;box-shadow:0 10px 25px -5px #0000001a,0 8px 10px -6px #0000001a;padding:3rem;max-width:480px;width:100%;text-align:center}.login-card h1{font-size:28px;margin-bottom:.5rem;color:#0f172a}.login-subtitle{color:#64748b;font-size:14px;margin-bottom:2rem}.login-content{margin-top:2rem}.login-content p{color:#475569;margin-bottom:1.5rem;font-size:15px}.login-button{display:inline-flex;align-items:center;gap:.75rem;padding:.75rem 2rem;background:#0078d4;color:#fff;border:none;border-radius:6px;font-size:15px;font-weight:600;cursor:pointer;transition:all .2s ease;box-shadow:0 2px 4px #0078d433}.login-button:hover{background:#006cbe;box-shadow:0 4px 8px #0078d44d;transform:translateY(-1px)}.login-button:active{transform:translateY(0)}.login-button svg{flex-shrink:0}@media(max-width:768px){.invoice-summary-cards{grid-template-columns:1fr}.billing-items-table th:nth-child(4),.billing-items-table td:nth-child(4){display:none}.login-card{padding:2rem}.login-card h1{font-size:24px}}.modal-content.email-modal{max-width:800px}.modal-subtitle{font-size:13px;color:#64748b;margin-top:4px}.hw-lines-section{margin-bottom:16px}.hw-tracking-summary{display:flex;align-items:center;gap:8px;margin-bottom:12px;flex-wrap:wrap}.hw-courier-label{font-size:13px;color:#64748b;font-weight:500}.hw-tracking-pill{display:inline-flex;align-items:center;background:#dcfce7;color:#166534;padding:4px 10px;border-radius:12px;font-size:13px;font-weight:500;gap:4px}.hw-emails-toggle{margin-top:16px;border-top:1px solid #e5e7eb;padding-top:12px}.hw-emails-toggle summary{cursor:pointer;font-size:14px;font-weight:500;color:#475569;padding:6px 0;-webkit-user-select:none;user-select:none}.hw-emails-toggle summary:hover{color:#1e293b}.dist-inv-action-btn{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border:1px solid #e2e8f0;border-radius:6px;background:#fff;cursor:pointer;font-size:14px;text-decoration:none;transition:background .15s,border-color .15s}.dist-inv-action-btn:hover{background:#f1f5f9;border-color:#cbd5e1}.dist-inv-action-btn:disabled{opacity:.5;cursor:not-allowed}.email-count{font-size:13px;color:#64748b;margin-bottom:16px;padding:8px 12px;background:#f1f5f9;border-radius:6px;display:inline-block}.email-list{display:flex;flex-direction:column;gap:12px}.email-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:20px;transition:all .2s;box-shadow:0 1px 3px #0000000a}.email-card:hover{border-color:#cbd5e1;box-shadow:0 2px 8px #0000000f}.email-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:12px;gap:16px}.email-sender{flex:1}.sender-name{font-weight:600;color:#1e293b;font-size:14px;margin-bottom:2px}.sender-email{font-size:12px;color:#64748b}.email-meta{text-align:right;flex-shrink:0}.email-date{font-size:12px;color:#64748b;white-space:nowrap}.email-tag{display:inline-block;font-size:10px;font-weight:500;padding:1px 6px;border-radius:4px;margin-top:4px}.tag-analyzed{color:#15803d;background:#f0fdf4}.tag-pending{color:#92400e;background:#fffbeb}.tag-sent{color:#1e40af;background:#eff6ff}.email-subject{font-size:14px;font-weight:500;color:#1e293b;margin-bottom:16px;line-height:1.5;padding:12px 14px;background:#f1f5f9;border-radius:8px}.modal-content .email-link{display:inline-flex;align-items:center;gap:6px;padding:8px 14px;background:linear-gradient(135deg,#3b82f6,#2563eb);color:#fff;text-decoration:none;border-radius:6px;font-size:13px;font-weight:500;transition:all .2s}.modal-content .email-link:hover{transform:translateY(-1px);box-shadow:0 4px 12px #3b82f64d}.link-icon{font-size:16px}.email-body-container{margin-top:16px;border:1px solid #e2e8f0;border-radius:12px;background:#fff;box-shadow:inset 0 2px 4px #0000000a}.email-iframe{width:100%;min-height:200px;border:none;background:#fff;display:block;overflow:hidden}.email-text{padding:20px;margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,monospace;font-size:13px;line-height:1.7;white-space:pre-wrap;word-wrap:break-word;background:#fafbfc;color:#334155}.matched-products{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:12px 0;padding:10px 12px;background:#f8fafc;border-radius:8px}.match-label{font-size:12px;font-weight:600;margin-right:4px}.match-label.success{color:#059669}.match-label.warning{color:#d97706}.product-tag{font-size:11px;padding:4px 8px;border-radius:4px;font-weight:500}.product-tag.success{background:#d1fae5;color:#065f46}.product-tag.warning{background:#fef3c7;color:#92400e}.ai-notes-section{margin:12px 0;padding:10px 12px;background:#f8fafc;border-radius:6px;border-left:3px solid #6366f1}.ai-problem{display:flex;align-items:center;gap:8px;margin-bottom:6px}.problem-badge{font-size:11px;font-weight:600;padding:3px 8px;border-radius:4px;background:#fef2f2;color:#dc2626;text-transform:uppercase}.problem-description{font-size:13px;color:#dc2626}.ai-notes{font-size:13px;color:#475569;line-height:1.4}.notes-label{font-weight:600;color:#6366f1}.ai-evidence{margin-top:8px}.evidence-label{font-weight:600;color:#059669;font-size:12px}.evidence-list{margin:4px 0 0;padding-left:16px;font-size:12px}.evidence-list li{margin:4px 0;line-height:1.4}.evidence-item{font-weight:500;color:#334155}.evidence-snippet{color:#059669;font-style:italic}.evidence-confidence{color:#94a3b8;font-size:11px;margin-left:4px}.pdf-attachments{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0}.pdf-download-btn{display:inline-flex;align-items:center;gap:6px;padding:8px 14px;background:linear-gradient(135deg,#3b82f6,#2563eb);color:#fff;text-decoration:none;border-radius:6px;font-size:13px;font-weight:500;transition:all .2s;box-shadow:0 2px 4px #2563eb33}.pdf-download-btn:hover{background:linear-gradient(135deg,#2563eb,#1d4ed8);transform:translateY(-1px);box-shadow:0 4px 8px #2563eb4d}.pdf-icon{font-size:16px}.email-body-placeholder{padding:32px 20px;text-align:center;color:#64748b;font-size:13px;background:#f8fafc}.email-body-placeholder p{margin-bottom:16px}.warning-state{padding:24px;text-align:center;background:#fef3c7;border:1px solid #fde68a;border-radius:10px}.warning-state p{margin-bottom:8px;color:#92400e}.warning-state .suggestion{font-size:12px;color:#a16207;margin-top:12px}.sync-actions{margin-top:20px;padding-top:16px;border-top:1px solid #e2e8f0;display:flex;align-items:center;gap:12px}.sync-button{padding:10px 20px;background:linear-gradient(135deg,#3b82f6,#2563eb);color:#fff;border:none;border-radius:8px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s}.sync-button:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 4px 12px #3b82f64d}.sync-button:disabled{opacity:.7;cursor:not-allowed}.sync-button.syncing{background:linear-gradient(135deg,#64748b,#475569)}.sync-message{font-size:13px;padding:6px 12px;border-radius:6px}.sync-message.success{background:#dcfce7;color:#166534}.sync-message.error{background:#fee2e2;color:#991b1b}.header-actions{display:flex;align-items:center;gap:16px}.sync-button-header{display:inline-flex;align-items:center;gap:6px;padding:5px 12px;background:#f8fafc;color:#64748b;border:1px solid #cbd5e1;border-radius:6px;font-size:13px;font-weight:500;cursor:pointer;transition:all .2s}.sync-button-header:hover:not(:disabled){background:#e2e8f0;border-color:#94a3b8;color:#475569}.sync-button-header:disabled{opacity:.6;cursor:not-allowed}.sync-button-header.syncing{background:#f0fdf4;border-color:#86efac;color:#166534}.sync-message-header{font-size:12px;padding:4px 10px;border-radius:4px;animation:fadeIn .3s ease}.sync-message-header.success{background:#dcfce7;color:#166534}.sync-message-header.error{background:#fee2e2;color:#991b1b}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.sync-button-header.cooldown{background:#fef3c7;border-color:#fcd34d;color:#92400e;cursor:not-allowed}.refresh-btn{display:inline-block;margin-top:4px;padding:1px 6px;font-size:13px;line-height:1.2;border:1px solid #cbd5e1;border-radius:4px;background:#f8fafc;color:#64748b;cursor:pointer;transition:all .15s ease}.refresh-btn:hover{background:#e2e8f0;color:#334155;border-color:#94a3b8}.refresh-btn:disabled{cursor:not-allowed;opacity:.6}.refresh-btn.refreshing{animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.refresh-result-summary{margin-bottom:16px}.refresh-status-badge{display:inline-block;padding:6px 14px;border-radius:8px;font-weight:600;font-size:15px;margin-bottom:8px}.refresh-status-badge.full{background:#dcfce7;color:#166534}.refresh-status-badge.partial{background:#fef9c3;color:#854d0e}.refresh-status-badge.not-received{background:#fee2e2;color:#991b1b}.refresh-meta{display:flex;gap:16px;color:#64748b;font-size:12px;margin-top:4px}.refresh-email-subject{background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;padding:8px 12px;margin-bottom:12px;font-size:13px;color:#334155}.refresh-result-error,.refresh-result-empty{padding:20px;text-align:center}.refresh-result-error p,.refresh-result-empty p{margin-top:8px;color:#64748b}.refresh-items-section{margin-bottom:16px}.refresh-section-title{font-size:13px;font-weight:600;margin-bottom:6px;padding:4px 8px;border-radius:4px}.refresh-section-title.success{background:#dcfce7;color:#166534}.refresh-section-title.warning{background:#fef9c3;color:#854d0e}.refresh-items-table{width:100%;border-collapse:collapse;font-size:13px}.refresh-items-table th{background:#f1f5f9;padding:6px 10px;text-align:left;font-weight:600;color:#475569;border-bottom:1px solid #e2e8f0}.refresh-items-table td{padding:6px 10px;border-bottom:1px solid #f1f5f9}.refresh-items-table .text-right{text-align:right}.row-matched td{background:#f0fdf4}.row-missing td{background:#fffbeb}.invoice-line-text{font-size:11px;color:#64748b;font-style:italic;margin-top:2px}.license-keys-list{display:flex;flex-direction:column;gap:6px}.license-key-item{display:flex;align-items:center;gap:8px;padding:6px 10px;background:#f0fdf4;border-radius:4px;font-size:13px}.license-product{font-weight:500;color:#334155}.license-key-code{font-family:Courier New,monospace;background:#dcfce7;padding:2px 6px;border-radius:3px;color:#166534;font-size:12px}.quickbooks-button{display:inline-flex;align-items:center;gap:6px;padding:8px 16px;background:linear-gradient(135deg,#2ca01c,#228b16);color:#fff;border:none;border-radius:6px;font-size:13px;font-weight:600;cursor:pointer;transition:all .2s;box-shadow:0 2px 4px #2ca01c33}.quickbooks-button:hover{background:linear-gradient(135deg,#228b16,#1a6b11);transform:translateY(-1px);box-shadow:0 4px 8px #2ca01c4d}.quickbooks-button:active{transform:translateY(0)}.inv-back-link{color:#3b82f6;text-decoration:none;font-size:14px;font-weight:500}.inv-back-link:hover{text-decoration:underline}.inv-summary-bar{display:flex;gap:12px;padding:20px;border-bottom:1px solid #e2e8f0}.inv-stat-card{flex:1;display:flex;flex-direction:column;align-items:center;padding:16px;border-radius:10px;border:2px solid transparent;background:#f8fafc;cursor:pointer;transition:all .2s}.inv-stat-card:hover{background:#f1f5f9}.inv-stat-card.active{border-color:#3b82f6;background:#eff6ff}.inv-stat-value{font-size:28px;font-weight:700;line-height:1.2}.inv-stat-label{font-size:12px;color:#64748b;margin-top:4px;font-weight:500}.inv-stat-partial .inv-stat-value{color:#f59e0b}.inv-stat-none .inv-stat-value{color:#ef4444}.inv-stat-full .inv-stat-value{color:#16a34a}.inv-stat-all .inv-stat-value{color:#3b82f6}.inv-table{width:100%;border-collapse:collapse;font-size:13px}.inv-table thead th{padding:10px 12px;text-align:left;font-weight:600;font-size:11px;text-transform:uppercase;letter-spacing:.5px;color:#64748b;background:#f8fafc;border-bottom:1px solid #e2e8f0}.inv-table thead th.inv-num{text-align:right}.inv-row{cursor:pointer;transition:background .15s}.inv-row:hover{background:#f8fafc}.inv-row.expanded{background:#eff6ff}.inv-row td{padding:10px 12px;border-bottom:1px solid #f1f5f9;vertical-align:middle}.inv-num{text-align:right;font-variant-numeric:tabular-nums}.inv-mono{font-family:SF Mono,Fira Code,monospace;font-size:12px}.inv-gap-warn{color:#f59e0b;font-weight:600}.inv-expand-cell{width:28px;text-align:center}.inv-expand-icon{display:inline-block;font-size:10px;color:#94a3b8;transition:transform .2s}.inv-expand-icon.open{transform:rotate(90deg)}.inv-badge{display:inline-block;padding:3px 10px;border-radius:12px;font-size:11px;font-weight:600}.inv-badge-partial{background:#f59e0b1f;color:#f59e0b}.inv-badge-full{background:#16a34a1f;color:#16a34a}.inv-badge-none{background:#fee2e2;color:#991b1b}.inv-detail-row td{padding:0!important;border-bottom:2px solid #e2e8f0}.inv-detail-container{padding:20px;background:#fafbfc}.inv-detail-loading,.inv-detail-error{padding:20px;text-align:center;color:#64748b}.inv-detail-error{color:#ef4444}.inv-detail-summary{display:flex;gap:24px;margin-bottom:20px;padding:12px 16px;background:#fff;border-radius:8px;border:1px solid #e2e8f0}.inv-detail-stat{display:flex;flex-direction:column}.inv-detail-stat-label{font-size:11px;color:#64748b;text-transform:uppercase;letter-spacing:.5px}.inv-detail-stat-value{font-size:18px;font-weight:700;color:#0f172a;font-variant-numeric:tabular-nums}.inv-detail-stat-gap .inv-detail-stat-value{color:#f59e0b}.inv-detail-panels{display:flex;flex-direction:column;gap:16px}.inv-detail-panel{background:#fff;border:1px solid #e2e8f0;border-radius:8px;overflow:hidden}.inv-detail-panel h4{padding:10px 14px;margin:0;font-size:13px;font-weight:600;color:#334155;background:#f8fafc;border-bottom:1px solid #e2e8f0}.inv-detail-table{width:100%;border-collapse:collapse;font-size:12px}.inv-detail-table th{padding:6px 10px;text-align:left;font-weight:600;font-size:10px;text-transform:uppercase;letter-spacing:.3px;color:#94a3b8;border-bottom:1px solid #f1f5f9}.inv-detail-table th.inv-num{text-align:right}.inv-detail-table td{padding:7px 10px;border-bottom:1px solid #f8fafc;vertical-align:middle}.inv-detail-table td.inv-num{text-align:right;font-variant-numeric:tabular-nums}.inv-product-cell{max-width:280px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.inv-no-items{text-align:center;color:#94a3b8;padding:20px!important;font-style:italic}.inv-bi-invoiced{background:#f0fdf4}.inv-bi-pending{background:transparent}.inv-bi-status{display:inline-block;padding:2px 8px;border-radius:8px;font-size:10px;font-weight:600}.inv-bi-status.invoiced{background:#16a34a1f;color:#16a34a}.inv-bi-status.pending{background:#f59e0b1f;color:#f59e0b}.feedback-back-link{display:inline-flex;align-items:center;padding:8px 16px;background:#f1f5f9;color:#475569;text-decoration:none;border-radius:8px;font-size:13px;font-weight:500;transition:all .15s}.feedback-back-link:hover{background:#e2e8f0;color:#1e293b}.feedback-page-error{background:#fef2f2;color:#dc2626;padding:12px 16px;border-radius:8px;margin-bottom:16px;font-size:13px}.feedback-table{width:100%;border-collapse:collapse;font-size:13px}.feedback-table thead th{background:#f8fafc;padding:12px 16px;text-align:left;font-weight:600;color:#475569;font-size:11px;text-transform:uppercase;letter-spacing:.5px;border-bottom:2px solid #e2e8f0}.feedback-table tbody tr{border-bottom:1px solid #f1f5f9;transition:background .1s}.feedback-table tbody tr:hover{background:#f8fafc}.feedback-table td{padding:12px 16px;vertical-align:top}.feedback-date{color:#475569;font-size:13px;white-space:nowrap}.feedback-time{color:#94a3b8;font-size:11px}.feedback-user{font-weight:500;color:#334155;font-size:13px}.feedback-category-badge{display:inline-block;padding:3px 10px;border-radius:12px;font-size:11px;font-weight:600;white-space:nowrap}.feedback-message-cell{max-width:400px}.feedback-message-text{color:#334155;line-height:1.5;white-space:pre-wrap;word-break:break-word}.feedback-page-tag{display:inline-block;margin-top:4px;padding:2px 8px;background:#f1f5f9;color:#64748b;border-radius:4px;font-size:11px}.feedback-status-select{padding:6px 10px;border:2px solid;border-radius:8px;font-size:12px;font-weight:600;background:#fff;cursor:pointer;outline:none;width:100%}.feedback-status-select:focus{box-shadow:0 0 0 3px #3b82f626}.feedback-issue-link{display:inline-flex;align-items:center;gap:4px;padding:6px 12px;background:#f0fdf4;color:#16a34a;text-decoration:none;border-radius:6px;font-size:12px;font-weight:500;transition:background .15s}.feedback-issue-link:hover{background:#dcfce7}.feedback-create-issue-btn{padding:6px 12px;background:#f8fafc;color:#475569;border:1px solid #e2e8f0;border-radius:6px;font-size:12px;cursor:pointer;transition:all .15s;white-space:nowrap}.feedback-create-issue-btn:hover{background:#1e293b;color:#fff;border-color:#1e293b}.feedback-url-input-row{display:flex;gap:4px}.feedback-url-input{flex:1;padding:5px 8px;border:1px solid #cbd5e1;border-radius:6px;font-size:11px;min-width:0;outline:none}.feedback-url-input:focus{border-color:#3b82f6;box-shadow:0 0 0 2px #3b82f626}.feedback-url-save{padding:5px 10px;background:#3b82f6;color:#fff;border:none;border-radius:6px;font-size:11px;cursor:pointer;white-space:nowrap}.feedback-url-save:hover{background:#2563eb}.feedback-empty{text-align:center;padding:40px 16px!important;color:#94a3b8;font-size:14px}.skeleton{background:linear-gradient(90deg,#f1f5f9 25%,#e2e8f0,#f1f5f9 75%);background-size:200% 100%;animation:shimmer 1.5s infinite;border-radius:4px;display:inline-block}@keyframes shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}.skeleton-text{height:14px;width:100%;margin:4px 0}.skeleton-text.short{width:60%}.skeleton-badge{height:22px;width:80px;border-radius:12px}.skeleton-date{height:12px;width:70px;margin-top:4px}.skeleton-ref{height:12px;width:90px;margin-top:2px}.cell-loading{opacity:.7;pointer-events:none}.cell-loading .skeleton{display:inline-block}.col-header-loading{position:relative}.col-header-loading:after{content:"";position:absolute;bottom:-2px;left:0;right:0;height:2px;background:linear-gradient(90deg,transparent,#3b82f6,transparent);animation:loading-bar 1.5s infinite}@keyframes loading-bar{0%{transform:translate(-100%)}to{transform:translate(100%)}}.table-loading-indicator{position:sticky;top:0;z-index:10;background:#eff6ff;border-bottom:2px solid #3b82f6;padding:6px 12px;font-size:12px;color:#1e40af;display:flex;align-items:center;gap:8px;animation:slideDown .3s ease-out}@keyframes slideDown{0%{transform:translateY(-100%);opacity:0}to{transform:translateY(0);opacity:1}}.table-loading-indicator .loading-spinner{width:14px;height:14px;border:2px solid #93c5fd;border-top-color:#3b82f6;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.contract-action-group{display:flex;gap:5px;flex-wrap:wrap}.contract-action-btn{display:inline-flex;align-items:center;font-size:11px;font-weight:500;padding:4px 10px;border-radius:5px;border:1px solid transparent;cursor:pointer;transition:all .15s;white-space:nowrap;line-height:1.4}.contract-action-btn:disabled{opacity:.5;cursor:default}.contract-action-primary{background:#1e293b;color:#fff;border-color:#1e293b}.contract-action-primary:hover:not(:disabled){background:#0f172a}.contract-action-secondary{background:#eff6ff;color:#2563eb;border-color:#bfdbfe}.contract-action-secondary:hover:not(:disabled){background:#dbeafe}.contract-action-reject{background:#fff;color:#dc2626;border-color:#fecaca}.contract-action-reject:hover:not(:disabled){background:#fef2f2}.contract-action-resolve{background:#fff;color:#059669;border-color:#a7f3d0}.contract-action-resolve:hover:not(:disabled){background:#f0fdf4}.contract-action-undo{background:#f8fafc;color:#64748b;border-color:#e2e8f0}.contract-action-undo:hover:not(:disabled){background:#e2e8f0;color:#475569}.contract-inline-form{display:flex;flex-direction:column;gap:6px;min-width:220px}.contract-inline-select,.contract-inline-input{font-size:12px;padding:6px 8px;border-radius:6px;border:1px solid #d1d5db;background:#fff;color:#334155;width:100%;box-sizing:border-box}.contract-inline-select:focus,.contract-inline-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 2px #3b82f626}.contract-inline-actions{display:flex;gap:5px}.auth-button-container{display:flex;align-items:center;gap:1rem;padding:.5rem}.auth-button{padding:.5rem 1rem;border:none;border-radius:4px;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s ease}.auth-button.login{background-color:#0078d4;color:#fff}.auth-button.login:hover{background-color:#006cbe}.auth-button.logout{background-color:#f3f2f1;color:#323130;border:1px solid #8a8886}.auth-button.logout:hover{background-color:#edebe9}.auth-button.loading{background-color:#f3f2f1;color:#8a8886;cursor:not-allowed}.user-info{display:flex;flex-direction:column;align-items:flex-end}.user-name{font-size:.875rem;font-weight:600;color:#323130}.user-email{font-size:.75rem;color:#605e5c}.unauthorized-container{display:flex;align-items:center;justify-content:center;min-height:100vh;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.unauthorized-card{background:#fff;border-radius:12px;box-shadow:0 10px 40px #0003;padding:60px 40px;max-width:500px;text-align:center;animation:slideIn .5s ease-out}@keyframes slideIn{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}.unauthorized-icon{font-size:64px;margin-bottom:24px;animation:pulse 2s infinite}@keyframes pulse{0%,to{transform:scale(1)}50%{transform:scale(1.05)}}.unauthorized-card h1{color:#333;font-size:32px;margin:0 0 16px;font-weight:600}.unauthorized-message{color:#666;font-size:16px;line-height:1.6;margin:0 0 24px}.unauthorized-details{background:#f5f5f5;border-left:4px solid #667eea;padding:16px;border-radius:4px;margin-bottom:32px;text-align:left}.unauthorized-details p{color:#555;font-size:14px;line-height:1.6;margin:0}.logout-button{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;padding:12px 32px;font-size:16px;font-weight:600;border-radius:6px;cursor:pointer;transition:transform .2s,box-shadow .2s;margin-bottom:24px;width:100%}.logout-button:hover{transform:translateY(-2px);box-shadow:0 4px 12px #667eea66}.logout-button:active{transform:translateY(0)}.unauthorized-footer{border-top:1px solid #eee;padding-top:24px;margin-top:24px}.small-text{color:#999;font-size:12px;margin:0}.small-text a{color:#667eea;text-decoration:none;font-weight:600}.small-text a:hover{text-decoration:underline}
