.coming-soon-page{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;padding:2rem;text-align:center;color:var(--color-text)}.coming-soon-page__eyebrow{font-size:.75rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--color-muted, #8c8578);margin-bottom:.75rem}.coming-soon-page__title{font-family:"DM Serif Display",serif;font-size:2.25rem;font-weight:400;color:var(--color-text);margin:0 0 1rem}.coming-soon-page__body{font-size:.95rem;color:var(--color-muted, #8c8578);max-width:28rem;line-height:1.6;margin:0}.customers-page-root{height:100%;width:100%;max-width:1140px;margin:0 auto;display:flex;flex-direction:column;padding:32px 40px 0;animation:pageIn .3s ease}@media (max-width: 1200px){.customers-page-root{max-width:none}}.customers-page-root h1{margin:0 0 24px;font-family:"DM Serif Display",Georgia,serif;font-size:28px;font-weight:400;letter-spacing:-.02em;line-height:1.05;color:var(--color-text)}.customers-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.customers-search-wrap{position:relative;width:min(100%,360px)}.customers-search-wrap input{width:100%;border-radius:10px;border:1px solid #e8e4de;background:var(--color-surface);padding:10px 14px;font-size:14px;color:var(--color-text);outline:none}.customers-search-wrap input:focus{border-color:#203a7f40;box-shadow:none}.customers-filters{display:flex;gap:4px}.customers-filter-pill{display:inline-flex;align-items:center;gap:6px;border-radius:8px;border:1px solid transparent;background:transparent;color:var(--color-text-muted);font-size:13px;font-family:inherit;font-weight:400;padding:7px 14px;cursor:pointer}.customers-filter-pill .count{font-size:11px;color:var(--color-text-light);font-feature-settings:"tnum"}.customers-filter-pill.active{background:var(--color-surface);border-color:#e8e4de;color:var(--color-text);font-weight:600}.customers-filter-pill.active .count{color:var(--color-text-light)}.customers-table-card{background:var(--color-surface);border-radius:14px;border:1px solid var(--color-border);display:flex;flex-direction:column;overflow:hidden;flex:1;min-height:0}.customers-load-state{margin:0 0 12px;font-size:12px;color:var(--color-text-muted);display:inline-flex;align-items:center;gap:8px}.customers-load-state.error{color:#dc2626}.customers-load-spinner{width:12px;height:12px;border:2px solid #e8e4de;border-top-color:#203a7f;border-radius:50%;animation:customersSpin .8s linear infinite}@keyframes customersSpin{to{transform:rotate(360deg)}}.customers-table-head{display:grid;grid-template-columns:2.5fr 1.2fr .7fr .8fr 1.5fr .8fr;gap:0;padding:10px 24px;background:var(--color-surface);border-bottom:1px solid var(--color-border)}.customers-head-cell{border:none;background:transparent;text-align:left;display:inline-flex;align-items:center;gap:4px;font-size:11px;font-weight:600;color:var(--color-text-light);letter-spacing:.03em;text-transform:uppercase;padding:0 10px;font-family:inherit;cursor:pointer}.customers-sort-both{opacity:.25;font-size:8px;letter-spacing:-1px}.customers-sort-single{opacity:1;color:var(--color-text-muted);font-size:8px}.customers-col-invoices.customers-head-cell,.customers-col-last-activity.customers-head-cell,.customers-col-overdue.customers-head-cell,.customers-col-outstanding.customers-head-cell{justify-content:flex-end}.customers-col-invoices{padding-right:20px}.customers-col-workflow{padding-left:20px}.customers-table-body{overflow-y:auto}.customers-row{width:100%;border:none;background:var(--color-surface);display:grid;grid-template-columns:2.5fr 1.2fr .7fr .8fr 1.5fr .8fr;gap:0;text-align:left;padding:12px 24px;border-bottom:1px solid var(--color-bg);cursor:pointer;transition:background .1s}.customers-row:hover{background:var(--color-surface)}.customers-row.selected,.customers-row.selected:hover{background:#203a7f08}.customers-cell{padding:0 10px}.customers-text-right{text-align:right}.customers-customer-name-wrap{display:flex;align-items:center;gap:8px}.customers-name{font-size:14px;font-weight:500;color:var(--color-text)}.customers-tag,.customers-paused-tag{border-radius:5px;padding:2px 7px;font-size:10px;font-weight:500}.customers-tag{background:#203a7f0d;color:#203a7f}.customers-paused-tag{background:#f0ede8;color:var(--color-text-light)}.customers-money{font-size:14px;color:var(--color-text);font-feature-settings:"tnum"}.customers-money-strong{font-weight:600}.customers-money-zero{color:var(--color-text-light)}.customers-overdue,.customers-invoices,.customers-last-activity,.customers-workflow{font-feature-settings:"tnum"}.customers-overdue{font-size:13px}.customers-overdue-critical{color:#dc2626;font-weight:600}.customers-overdue-warning{color:#d97706}.customers-overdue-muted{color:var(--color-text-muted)}.customers-overdue-zero{color:var(--color-text-light)}.customers-invoices{font-size:13px;color:var(--body-text)}.customers-invoices-zero{color:var(--color-text-light)}.customers-workflow{font-size:12px;color:var(--color-text-muted)}.customers-last-activity{font-size:12px;color:var(--color-text-light)}.customers-empty{padding:40px 24px;text-align:center;color:var(--color-text-light);font-size:14px}.customers-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:60;border:none;padding:0;margin:0;background:#1a1a1a40;cursor:pointer;animation:overlayFadeIn .2s ease}.customers-overlay.closing{animation:overlayFadeOut .2s ease forwards}.customers-panel{position:fixed;top:0;right:0;bottom:0;width:52%;max-width:680px;min-width:480px;background:var(--color-bg);z-index:70;border-left:1px solid #e8e4de;box-shadow:-8px 0 32px #00000014;animation:panelSlideIn .25s ease;display:flex;flex-direction:column;overflow:hidden}.customers-panel.closing{animation:panelSlideOut .2s ease forwards}.customers-panel-scroll{flex:1;overflow-y:auto}.cust-detail.panel{padding:24px 28px 60px}.cust-detail-header{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:6px}.cust-detail-header h2{margin:0;font-family:"DM Serif Display",Georgia,serif;font-size:26px;font-weight:400;letter-spacing:-.02em;line-height:32px;color:var(--color-text)}.cust-close-btn{border:none;background:transparent;color:var(--color-text-muted);font-size:28px;line-height:1;cursor:pointer;padding:0 2px}.cust-summary{margin:0 0 24px;font-size:14px;line-height:22px;color:var(--body-text);max-width:640px}.cust-stats-row{display:flex;gap:20px;flex-wrap:wrap;margin-bottom:28px}.cust-stats-row div{min-width:88px}.cust-stats-row span{display:block;margin-bottom:2px;font-size:10px;font-weight:500;color:var(--color-text-light);letter-spacing:.02em;text-transform:uppercase}.cust-stats-row strong{font-size:12px;font-weight:600;color:var(--color-text);font-feature-settings:"tnum"}.cust-contact-layout{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:32px}.cust-card{background:var(--color-surface);border-radius:12px;border:1px solid var(--color-border);padding:14px 18px}.cust-contact-card{flex:1;min-width:160px}.cust-right-cards{display:flex;flex-direction:column;gap:12px;min-width:130px}.cust-card h4{margin:0 0 8px;font-size:10px;font-weight:500;color:var(--color-text-light);letter-spacing:.05em;text-transform:uppercase}.cust-card p{margin:0 0 4px;font-size:12px;color:var(--body-text)}.cust-card .cust-muted{margin-bottom:0;font-size:11px;color:var(--color-text-muted)}.cust-collected{font-weight:600;color:#059669;font-feature-settings:"tnum"}.cust-section{margin-bottom:32px}.cust-section-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.cust-section h3{margin:0;font-size:10px;font-weight:500;color:var(--color-text-light);letter-spacing:.05em;text-transform:uppercase}.cust-context-title-wrap{display:flex;align-items:center;gap:8px}.cust-context-title-wrap span{font-size:10px;color:var(--color-text-light)}.cust-segmented-tabs{display:flex;border:1px solid var(--color-border);border-radius:6px;overflow:hidden}.cust-segmented-tabs button{border:none;border-right:1px solid var(--color-border);background:var(--color-surface);padding:3px 10px;font-size:10px;color:var(--color-text-light);font-family:inherit;cursor:pointer}.cust-segmented-tabs button:last-child{border-right:none}.cust-segmented-tabs button.active{background:var(--color-surface);color:#203a7f;font-weight:600}.cust-context-list{display:flex;flex-direction:column;gap:6px;margin-bottom:8px}.cust-context-item{background:var(--color-surface);border-radius:10px;border:1px solid var(--color-border);padding:10px 14px;display:flex;gap:10px;align-items:flex-start}.cust-context-icon{width:22px;height:22px;border-radius:6px;display:flex;align-items:center;justify-content:center;font-size:10px;flex-shrink:0}.cust-context-icon.note{background:#eef1f8;color:#203a7f}.cust-context-icon.observation{background:var(--color-surface);color:var(--color-text-light);font-weight:700}.cust-context-content p{margin:0 0 3px;font-size:12px;line-height:18px;color:var(--body-text)}.cust-context-meta{display:flex;align-items:center;gap:8px;font-size:10px;color:var(--color-text-light)}.cust-add-note-btn{width:100%;background:var(--color-surface);border:1px dashed #e8e4de;border-radius:8px;padding:8px;font-size:11px;font-weight:500;color:var(--color-text-light);font-family:inherit;cursor:pointer}.cust-add-note-form{background:var(--color-surface);border-radius:10px;border:1px solid #203a7f20;padding:12px 14px}.cust-add-note-form textarea{width:100%;min-height:48px;border-radius:8px;border:1px solid #e8e4de;outline:none;padding:8px 10px;font-size:12px;font-family:inherit;line-height:18px;color:var(--color-text);resize:vertical}.cust-add-note-form textarea:focus{border-color:#203a7f40}.cust-note-actions{display:flex;gap:6px;margin-top:8px}.cust-note-actions button{border:none;border-radius:7px;padding:5px 12px;font-size:11px;font-weight:600;font-family:inherit;cursor:pointer;background:#203a7f;color:#fff}.cust-note-actions button:disabled{background:#e8e4de;color:var(--color-text-light);cursor:default}.cust-note-actions .ghost{background:transparent;color:var(--color-text-light);font-weight:500}.cust-context-empty{margin:6px 0 0;text-align:center;color:var(--color-text-light);font-size:10px}.cust-invoice-tabs{display:flex;align-items:center;margin-bottom:12px}.cust-invoice-tabs button{border:none;border-bottom:2px solid transparent;background:transparent;font-family:inherit;font-size:12px;font-weight:400;color:var(--color-text-light);padding:5px 14px 7px;cursor:pointer}.cust-invoice-tabs button span{margin-left:5px;font-size:10px;color:var(--color-text-light)}.cust-invoice-tabs button.active{border-bottom-color:#203a7f;font-weight:600;color:var(--color-text)}.cust-invoice-tabs button.active span{color:#203a7f}.cust-invoice-card{background:var(--color-surface);border-radius:12px;border:1px solid var(--color-border);overflow:hidden}.cust-invoice-row{display:flex;align-items:center;border-bottom:1px solid var(--color-bg);padding:9px 18px;font-size:12px}.cust-invoice-row.last{border-bottom:none}.cust-invoice-row .ref{width:80px;font-weight:500;color:var(--body-text)}.cust-invoice-row .amt{width:100px;font-weight:600;font-feature-settings:"tnum"}.cust-invoice-row .due{flex:1;color:var(--color-text-muted)}.cust-invoice-row .status{font-size:10px;font-weight:500}.cust-invoice-row .status.overdue{color:#dc2626}.cust-invoice-row .status.open{color:#d97706}.cust-invoice-empty{padding:16px 18px;color:var(--color-text-light);font-size:12px}.cust-timeline-filters{display:flex;align-items:center;gap:6px}.cust-timeline-filters button{border:1px solid transparent;background:transparent;border-radius:5px;padding:2px 10px;font-size:10px;font-family:inherit;color:var(--color-text-light);cursor:pointer}.cust-timeline-filters .divider{width:1px;height:14px;background:#e8e4de}.cust-timeline-filters button.active{border-color:#e8e4de;background:var(--color-surface);color:var(--color-text)}.cust-timeline-filters button.payments.active{border-color:#05966920;background:#ecfdf5;color:#059669}.cust-timeline-card{background:var(--color-surface);border-radius:12px;border:1px solid var(--color-border);padding:20px 22px}.cust-timeline-event{position:relative;padding-left:24px;padding-bottom:22px}.cust-timeline-event:last-child{padding-bottom:0}.cust-event-line{position:absolute;left:7px;top:16px;bottom:0;width:1px;background:#e8e4de}.cust-event-dot{position:absolute;left:0;top:3px;width:15px;height:15px;border-radius:50%;border:1.5px solid transparent;display:flex;align-items:center;justify-content:center}.cust-event-dot span{width:5px;height:5px;border-radius:50%}.cust-timeline-headline{display:flex;align-items:center;gap:8px;margin-bottom:3px}.cust-timeline-title{font-size:12px;font-weight:500;color:var(--body-text)}.cust-timeline-title.incoming{color:#203a7f;font-weight:600}.cust-timeline-title.payment{color:#059669;font-weight:600}.cust-timeline-title.failed{color:#dc2626}.cust-channel-badge{font-size:9px;color:var(--color-text-light);background:var(--color-bg);border-radius:4px;padding:1px 5px}.cust-call-duration,.cust-timeline-date{font-size:10px;color:var(--color-text-light);font-feature-settings:"tnum"}.cust-event-body{margin-top:2px;font-size:12px;line-height:18px;color:var(--color-text-light)}.cust-event-body.incoming,.cust-event-body.payment{border-radius:8px;padding:8px 12px}.cust-event-body.incoming{background:#eef1f8;color:var(--color-text);border-left:3px solid #203a7f25}.cust-event-body.payment{background:#ecfdf5;color:#059669;border-left:3px solid #05966925}.cust-expand-wrap{margin-top:8px}.cust-expand-btn{border:none;background:transparent;padding:0;cursor:pointer;color:#203a7f;font-size:11px;font-weight:500;font-family:inherit;display:inline-flex;align-items:center;gap:5px}.cust-chevron{font-size:9px;transition:transform .15s}.cust-chevron.open{transform:rotate(90deg)}.cust-email-expanded,.cust-transcript{margin-top:10px;background:var(--color-surface);border-radius:10px;border:1px solid var(--color-border);padding:16px 18px;max-height:280px;overflow-y:auto}.cust-email-expanded-header{margin-bottom:12px;padding-bottom:10px;border-bottom:1px solid var(--color-border)}.cust-email-to{margin-bottom:3px;font-size:10px;color:var(--color-text-light)}.cust-email-subject{font-size:11px;color:var(--body-text);font-weight:600}.cust-email-body{font-size:12px;line-height:20px;color:var(--body-text);white-space:pre-wrap}.cust-sms-bubble{margin-top:10px;max-width:85%;border-radius:18px 18px 0;padding:9px 14px;background:#63da38;font-size:13px;line-height:20px;color:#fff}.cust-call-summary{margin-top:2px;font-size:13px;line-height:20px;color:var(--body-text);background:#fffbeb;border-radius:10px;padding:12px 14px;border-left:3px solid #8b691425}.cust-call-summary.no-answer{background:#fef2f2;border-left-color:#dc262625}.cust-auto-tagged{margin-top:8px;font-size:11px;font-weight:500;color:#059669}.cust-call-expanded{margin-top:12px;display:flex;flex-direction:column;gap:12px}.cust-transcript-title{margin-bottom:12px;font-size:10px;font-weight:600;color:var(--color-text-light);letter-spacing:.05em;text-transform:uppercase}.cust-transcript-line{margin-bottom:10px}.cust-transcript-line:last-child{margin-bottom:0}.cust-speaker{margin-bottom:2px;font-size:10px;font-weight:600}.cust-speaker.agent{color:#203a7f}.cust-speaker.customer{color:#8b6914}.cust-line-text{font-size:13px;line-height:19px;color:var(--body-text)}.cust-audio-player{display:flex;align-items:center;gap:10px;padding:10px 14px;background:var(--color-surface);border-radius:10px;border:1px solid var(--color-border)}.cust-audio-btn{width:28px;height:28px;border-radius:50%;border:none;background:#203a7f;color:#fff;font-size:11px;cursor:pointer}.cust-audio-track{flex:1;height:4px;background:#e8e4de;border-radius:2px;overflow:hidden}.cust-audio-progress{height:100%;background:#203a7f}.cust-audio-duration{font-size:11px;color:var(--color-text-light)}@keyframes overlayFadeOut{0%{opacity:1}to{opacity:0}}@keyframes panelSlideOut{0%{transform:translate(0)}to{transform:translate(100%)}}@media (max-width: 900px){.customers-page-root{padding:20px 16px 0}.customers-panel{width:100%;max-width:none;min-width:0}.customers-table-head,.customers-row{grid-template-columns:2.4fr 1fr .8fr .8fr 1.2fr .8fr}}@media (max-width: 760px){.customers-toolbar{flex-direction:column;align-items:stretch}.customers-filters{overflow-x:auto;padding-bottom:2px}.customers-table-head{display:none}.customers-row{grid-template-columns:1fr;gap:4px}.customers-cell{padding:0}.customers-text-right{text-align:left}.customers-customer-name-wrap{flex-wrap:wrap}.customers-col-workflow,.customers-col-invoices{padding:0}}.dash-page-root{--summary-tooltip-bg: #fff;--summary-tooltip-text: #1a1a1a;--summary-tooltip-muted: rgba(61, 58, 54, .7);--summary-tooltip-subtle: rgba(140, 133, 120, .8);--summary-tooltip-divider: rgba(140, 133, 120, .18);--summary-tooltip-shadow: 0 12px 32px rgba(26, 26, 26, .16);--metric-link-hover-bg: rgba(32, 58, 127, .08);--metric-link-hover-border: rgba(32, 58, 127, .6);--metric-link-idle-border: rgba(140, 133, 120, .35);width:100%;max-width:1140px;margin:0 auto;padding:20px 48px 24px;animation:pageIn .3s ease}html.dark .dash-page-root{--summary-tooltip-bg: #1a1a1a;--summary-tooltip-text: #f5f2ec;--summary-tooltip-muted: rgba(245, 242, 236, .78);--summary-tooltip-subtle: rgba(198, 190, 179, .75);--summary-tooltip-divider: rgba(245, 242, 236, .08);--summary-tooltip-shadow: 0 12px 32px rgba(0, 0, 0, .35);--metric-link-hover-bg: rgba(124, 152, 236, .16);--metric-link-hover-border: rgba(124, 152, 236, .7);--metric-link-idle-border: rgba(198, 190, 179, .4)}.dash-page-grid{display:grid;grid-template-columns:1fr 340px;gap:32px}.dashboard-greeting{margin:0 0 8px 4px;font-size:14px;color:var(--color-text-muted)}.hero-card{position:relative;margin-bottom:12px;background:var(--color-surface);border-radius:20px;padding:36px 40px;box-shadow:0 1px 3px #00000005,0 8px 32px #00000009}.sync-status{position:absolute;top:20px;right:28px;display:flex;align-items:center;gap:5px;font-size:11px;color:var(--color-text-light)}.sync-dot{width:5px;height:5px;border-radius:50%}.sync-dot-active{background:#059669}.sync-dot-error{background:#d97706}.sync-dot-deactivated{background:#dc2626}.outstanding-block{margin-bottom:24px}.outstanding-title-row{display:flex;align-items:flex-end;gap:10px;margin-bottom:5px}.outstanding-value{font-family:"DM Serif Display",Georgia,serif;font-size:36px;font-weight:400;letter-spacing:-.02em;line-height:1;color:var(--color-text);font-feature-settings:"tnum"}.outstanding-skeleton{display:inline-block;width:260px;height:36px;border-radius:8px;background:var(--color-border);animation:dashPulse 1.2s ease-in-out infinite}.outstanding-label{font-size:14px;color:var(--color-text-muted)}.hero-metrics-row{display:flex;align-items:center;gap:14px}.hero-metric-item{font-size:12px;color:var(--color-text-muted);font-feature-settings:"tnum"}.hero-metric-value{color:var(--color-text);font-weight:600}.hero-metric-sep{color:#ddd9d3}.aging-buckets{display:flex;gap:5px;margin-bottom:20px}.aging-bucket{position:relative;overflow:hidden;border:1px solid var(--color-border);border-radius:10px;padding:12px 12px 10px;cursor:default;transition:all .2s}.aging-bucket-accent{position:absolute;top:0;left:0;right:0;height:3px;transition:opacity .2s}.aging-bucket-label{margin-bottom:5px;font-size:10px;font-weight:500;white-space:nowrap;transition:color .2s}.aging-bucket-amount{font-size:14px;line-height:1;font-weight:600;color:var(--color-text);white-space:nowrap;font-feature-settings:"tnum"}.aging-bucket-pct{margin-top:1px;font-size:10px;line-height:1;color:var(--color-text-light);font-feature-settings:"tnum"}.health-summary-line{margin:0 0 28px;min-height:48px;font-size:14px;line-height:24px;color:var(--color-text-muted)}.health-pill{display:inline-flex;align-items:center;border:1px solid #a7f3d0;border-radius:6px;background:#ecfdf5;color:#065f46;font-size:13px;padding:2px 8px;font-weight:600}.health-pill-worsened{border-color:#fecaca;background:#fef2f2;color:#991b1b}.health-pill-unchanged{border-color:#d6d3d1;background:#f5f5f4;color:var(--color-text-muted)}html.dark .health-pill{border-color:#05966959;background:#05966929;color:#7eddb6}html.dark .health-pill-worsened{border-color:#ef444452;background:#ef444424;color:#f0a4a4}html.dark .health-pill-unchanged{border-color:var(--color-border);background:#c6beb31a;color:var(--color-text-muted)}.positive-trend{color:#059669;font-weight:600}.negative-trend{color:#dc2626;font-weight:600}.neutral-trend{color:var(--color-text-muted);font-weight:600}.strong-dark{color:var(--color-text);font-weight:600}.tabular{font-feature-settings:"tnum"}.metric-skeleton{display:inline-block;border-radius:999px;background:var(--color-border);animation:dashPulse 1.2s ease-in-out infinite}.metric-skeleton-sm{width:38px;height:12px;transform:translateY(1px)}.metric-skeleton-md{width:46px;height:12px;transform:translateY(1px)}.bucket-amount-skeleton{width:64px;height:14px;margin-top:0}.bucket-pct-skeleton{width:28px;height:10px;margin-top:1px}.summary-divider{height:1px;background:var(--color-border);margin-bottom:24px}.health-line-skeleton{padding:5px 0;margin:0 0 28px}.summary-para-skeleton{padding:7px 0;margin:0 0 14px}.summary-para-skeleton.last{margin:0}.summary-skeleton-line{display:block;height:18px;border-radius:999px;background:var(--color-border);animation:dashPulse 1.2s ease-in-out infinite}.summary-skeleton-line+.summary-skeleton-line{margin-top:14px}.summary-skeleton-line.short{width:55%}.health-line-skeleton .summary-skeleton-line{height:14px}.health-line-skeleton .summary-skeleton-line+.summary-skeleton-line{margin-top:10px}.summary-paragraph{margin:0 0 14px;min-height:64px;font-size:18px;line-height:32px;color:var(--body-text);letter-spacing:-.01em}.summary-paragraph.last{margin:0}.range-selector-wrap{position:relative;display:inline-block}.range-selector-btn{display:inline-flex;align-items:baseline;gap:4px;border:none;background:none;font-family:inherit;font-size:18px;font-weight:600;color:var(--color-text);letter-spacing:-.01em;border-bottom:1.5px dashed rgba(26,26,26,.25);cursor:pointer;padding:0 0 1px}.capitalize{text-transform:capitalize}.chevron{position:relative;top:-1px;transition:transform .2s}.chevron.open{transform:rotate(180deg)}.range-dropdown-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:9}.range-dropdown-panel{position:absolute;top:calc(100% + 8px);left:-8px;min-width:170px;padding:6px;background:var(--color-surface);border:1px solid #e8e4de;border-radius:12px;box-shadow:0 8px 24px #00000014;z-index:10}.range-dropdown-item{display:block;width:100%;text-align:left;border:none;border-radius:8px;background:transparent;color:var(--color-text-light);font-size:13px;font-weight:400;font-family:inherit;cursor:pointer;padding:8px 12px}.range-dropdown-item.active{background:var(--color-bg);color:var(--color-text);font-weight:600}.metric-link-wrap{position:relative;display:inline-block}.metric-link{display:inline-block;color:var(--color-text);font-weight:600;border-bottom:1.5px dashed var(--metric-link-idle-border);border-radius:4px;cursor:pointer;padding:1px 4px;background:transparent;font-feature-settings:"tnum";transition:color .15s ease,border-color .15s ease,background-color .15s ease}.metric-link:hover,.metric-link-wrap:focus-visible .metric-link{color:var(--color-accent);border-bottom-color:var(--metric-link-hover-border);border-bottom-style:solid;background:var(--metric-link-hover-bg)}.summary-tooltip{position:absolute;bottom:calc(100% + 10px);left:50%;transform:translate(-50%);z-index:20;min-width:280px;border:1px solid var(--summary-tooltip-divider);background:var(--summary-tooltip-bg);color:var(--summary-tooltip-text);border-radius:12px;padding:10px 0;box-shadow:var(--summary-tooltip-shadow)}.summary-tooltip-arrow{position:absolute;bottom:-6px;left:50%;width:10px;height:10px;transform:translate(-50%) rotate(45deg);background:var(--summary-tooltip-bg);border-right:1px solid var(--summary-tooltip-divider);border-bottom:1px solid var(--summary-tooltip-divider);border-radius:2px}.payments-tooltip-header{display:flex;justify-content:space-between;border-bottom:1px solid var(--summary-tooltip-divider);margin-bottom:2px;padding:0 14px 6px;font-size:9px;color:var(--summary-tooltip-subtle);font-weight:500;text-transform:uppercase;letter-spacing:.05em}.payments-tooltip-row{display:flex;justify-content:space-between;gap:10px;padding:3px 14px}.payments-tooltip-row span:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;color:var(--summary-tooltip-muted)}.payments-tooltip-row span:last-child{flex-shrink:0;font-size:11px;font-weight:500;color:var(--summary-tooltip-text);font-feature-settings:"tnum"}.payments-tooltip-more{margin-top:4px;border-top:1px solid var(--summary-tooltip-divider);padding:4px 14px 2px;font-size:10px;color:var(--summary-tooltip-subtle)}.summary-tooltip-footer{margin-top:4px;border-top:1px solid var(--summary-tooltip-divider);padding:6px 14px 4px;font-size:10px;color:var(--summary-tooltip-subtle)}.summary-tooltip-footer.centered{margin-top:10px;text-align:center}.followups-tooltip-grid{display:flex;gap:22px;padding:6px 18px 4px}.followups-tooltip-grid>div{text-align:center}.followups-tooltip-value{margin-bottom:2px;font-size:16px;font-weight:600;color:var(--summary-tooltip-text);font-feature-settings:"tnum"}.followups-tooltip-label{font-size:10px;color:var(--summary-tooltip-subtle)}.small-tooltip-content{padding:2px 14px}.small-tooltip-label{margin-bottom:2px;font-size:10px;color:var(--summary-tooltip-muted)}.small-tooltip-value{font-size:12px;font-weight:600;color:var(--summary-tooltip-text);font-feature-settings:"tnum"}.action-bridge-card{display:flex;align-items:center;justify-content:space-between;border-radius:16px;padding:16px 24px;min-height:74px;transition:all .2s}.action-bridge-card.clickable{background:var(--color-surface);border:1px solid var(--color-border);box-shadow:0 1px 3px #00000005;cursor:pointer}.action-bridge-card.clickable:hover{border-color:#203a7f4d;box-shadow:0 2px 12px #203a7f0f}.action-bridge-card.loading{background:var(--color-surface);border:1px solid var(--color-border);box-shadow:0 1px 3px #00000005}.action-bridge-card.empty,.action-bridge-card.neutral{background:transparent;border:1px dashed #ddd9d3;cursor:default}.action-bridge-left{display:flex;align-items:center;gap:16px}.action-bridge-badge{width:40px;height:40px;border-radius:12px;display:flex;align-items:center;justify-content:center;background:var(--color-bg);font-family:"DM Serif Display",Georgia,serif;font-size:20px;color:var(--color-text-light)}.action-bridge-badge-skeleton{display:block;width:18px;height:20px;border-radius:6px;background:var(--color-border);animation:dashPulse 1.2s ease-in-out infinite}.action-bridge-badge.active{background:#eef1f8;color:#203a7f}.action-bridge-label{font-size:15px;font-weight:600;color:var(--color-text)}.action-bridge-label-skeleton{display:block;width:220px;max-width:45vw;height:18px;border-radius:999px;background:var(--color-border);animation:dashPulse 1.2s ease-in-out infinite}.action-bridge-arrow{opacity:.4;transform:translate(0);transition:all .2s}.action-bridge-arrow.hover{opacity:1;transform:translate(2px)}.activity-trigger{display:flex;align-items:center;gap:6px;width:100%;border:none;background:none;font-family:inherit;font-size:12px;font-weight:500;color:var(--color-text-muted);cursor:pointer;padding:12px 4px 0;transition:color .15s}.activity-trigger:hover{color:#203a7f}.activity-trigger-sub{font-size:10px;color:var(--color-text-light);font-weight:400}.observations-panel{position:relative;overflow:hidden;padding-top:28px}.observations-heading{margin-bottom:16px;font-size:10px;font-weight:500;color:var(--color-text-light);letter-spacing:.06em;text-transform:uppercase}.observations-empty-state{display:flex;align-items:center;gap:10px;min-height:96px;border:1px dashed var(--color-border);border-radius:12px;padding:14px 12px}.observations-empty-dot{width:8px;height:8px;border-radius:50%;background:var(--color-text-light);flex-shrink:0}.observations-empty-label{margin:0;font-size:12px;color:var(--color-text-muted)}.observation-item{position:relative;padding-left:20px}.observation-connector{position:absolute;left:5px;top:10px;bottom:-4px;width:1px;background:var(--color-border)}.observation-dot{position:absolute;left:2px;top:7px;width:7px;height:7px;border-radius:50%;background:var(--color-text-light)}.observation-dot.primary{background:var(--color-accent)}.observation-content{padding-bottom:20px}.observation-time{margin-bottom:4px;font-size:11px;color:var(--color-text-light);font-feature-settings:"tnum"}.observation-text{margin:0;font-size:13px;line-height:20px;color:var(--color-text-muted)}.observation-segment-bold{color:var(--color-text);font-weight:600}.observations-fade{position:absolute;bottom:0;left:0;right:0;height:48px;background:linear-gradient(to top,var(--color-bg),transparent);pointer-events:none}.activity-panel-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:60;background:#1a1a1a40;cursor:pointer;animation:overlayFadeIn .2s ease}.activity-panel{position:fixed;top:0;right:0;bottom:0;width:52%;max-width:640px;min-width:460px;z-index:70;background:var(--color-surface);border-left:1px solid var(--color-border);box-shadow:-8px 0 32px #00000014;animation:panelSlideIn .25s ease;display:flex;flex-direction:column;overflow:hidden}.activity-panel-header{padding:20px 24px 16px;border-bottom:1px solid var(--color-border);flex-shrink:0}.activity-panel-title-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.activity-panel-title-row h2{margin:0 0 4px;font-family:"DM Serif Display",Georgia,serif;font-size:20px;font-weight:400;letter-spacing:-.02em}.activity-panel-title-row p{margin:0;font-size:12px;color:var(--color-text-muted)}.activity-close-btn{width:32px;height:32px;border:none;border-radius:8px;background:var(--color-bg);cursor:pointer;display:flex;align-items:center;justify-content:center}.activity-close-btn:hover{background:var(--color-border)}.activity-filter-bar{display:flex;gap:0;width:fit-content;border:1px solid var(--color-border);border-radius:8px;overflow:hidden}.activity-filter-btn{border:none;border-right:1px solid var(--color-border);background:var(--color-surface);color:var(--color-text-muted);font-family:inherit;font-size:11px;font-weight:400;cursor:pointer;padding:5px 14px}.activity-filter-btn:disabled{cursor:default;color:var(--color-text-light)}.activity-filter-btn:last-child{border-right:none}.activity-filter-btn.active{background:var(--color-surface);color:var(--color-accent);font-weight:600}.activity-feed-list{flex:1;overflow-y:auto}.activity-loading-state{padding:12px 24px 24px}.activity-skeleton-row{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--color-border)}.activity-skeleton-icon{width:28px;height:28px;border-radius:8px;background:var(--color-bg);animation:dashPulse 1.4s ease-in-out infinite}.activity-skeleton-body{flex:1}.activity-skeleton-line{height:10px;border-radius:999px;background:var(--color-bg);animation:dashPulse 1.4s ease-in-out infinite}.activity-skeleton-line.short{width:38%;margin-bottom:10px}.activity-skeleton-body .activity-skeleton-line:not(.short){width:72%}.activity-empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-height:220px;color:var(--color-text-muted);padding:20px;text-align:center}.activity-empty-state p{margin:0;font-size:13px}.activity-retry-btn{border:1px solid var(--color-border);border-radius:8px;background:var(--color-surface);color:var(--color-text);cursor:pointer;font-family:inherit;font-size:12px;font-weight:500;padding:8px 12px}.activity-retry-btn:hover{border-color:var(--color-accent);color:var(--color-accent)}.activity-empty-icon{width:32px;height:32px;border-radius:10px;display:flex;align-items:center;justify-content:center;color:var(--color-text-light);background:var(--color-bg)}.activity-time-group{padding:12px 24px 6px;font-size:10px;font-weight:600;color:var(--color-text-light);text-transform:uppercase;letter-spacing:.04em;background:var(--color-surface);border-bottom:1px solid var(--color-border)}.activity-row-shell{border-bottom:1px solid var(--color-border)}.activity-row-shell.expanded{background:var(--color-surface)}.activity-row{display:flex;align-items:flex-start;gap:12px;cursor:pointer;padding:12px 24px;transition:background .1s}.activity-row-shell:not(.expanded) .activity-row:hover{background:var(--color-surface)}.activity-channel-icon{width:28px;height:28px;margin-top:1px;border-radius:8px;background:var(--color-bg);display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:background .15s}.activity-channel-icon.expanded{background:var(--color-border)}.activity-main-content{flex:1;min-width:0}.activity-main-title-row{display:flex;align-items:center;gap:6px;margin-bottom:3px}.activity-customer-link{padding:0;border:none;border-bottom:1px solid transparent;background:none;cursor:pointer;color:var(--color-text);font-family:inherit;font-size:13px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;transition:all .15s}.activity-customer-link:hover{color:var(--color-accent);border-bottom-color:var(--color-accent)}.activity-status-badge{border-radius:4px;padding:1px 6px;font-size:10px;font-weight:500;flex-shrink:0}.activity-subline{display:flex;align-items:center;gap:6px;font-size:11px;color:var(--color-text-muted)}.activity-subline-dot{color:var(--color-text-light)}.activity-time-block{display:flex;flex-direction:column;align-items:flex-end;gap:4px;flex-shrink:0}.activity-time-label{margin-top:2px;font-size:10px;color:var(--color-text-light);font-feature-settings:"tnum"}.activity-chevron{transition:transform .15s}.activity-chevron.open{transform:rotate(180deg)}.activity-expanded-content{padding:0 24px 16px 64px}.activity-preview-card{overflow:hidden;border-radius:10px;border:1px solid var(--color-border);background:var(--color-surface)}.activity-preview-header{padding:10px 14px;border-bottom:1px solid var(--color-border);background:var(--color-surface)}.activity-preview-header.meta{display:flex;gap:16px}.activity-preview-kicker{margin-bottom:2px;font-size:10px;color:var(--color-text-light)}.activity-preview-strong{font-size:12px;font-weight:500;color:var(--body-text)}.activity-preview-outcome{font-size:12px;font-weight:500;color:#059669}.activity-preview-body{padding:12px 14px}.activity-preview-text{white-space:pre-wrap;font-size:12px;line-height:19px;color:var(--color-text-light)}.activity-fail-reason{display:flex;align-items:center;gap:6px;border-top:1px solid var(--color-border);background:#dc262614;color:#dc2626;font-size:11px;padding:10px 14px}.activity-view-customer{display:flex;align-items:center;gap:4px;border:none;background:none;cursor:pointer;font-family:inherit;font-size:11px;font-weight:500;color:var(--color-text-muted);padding:8px 0 0}.activity-view-customer:hover{color:var(--color-accent)}html.dark .activity-fail-reason{background:#dc262629;color:#f1aaaa}.activity-panel-footer{flex-shrink:0;border-top:1px solid var(--color-border);background:var(--color-surface);color:var(--color-text-muted);font-size:11px;line-height:17px;padding:14px 24px}@keyframes dashPulse{0%{opacity:.55}50%{opacity:1}to{opacity:.55}}@media (max-width: 1100px){.dash-page-root{padding:20px 24px 24px}.dash-page-grid{grid-template-columns:1fr;gap:24px}.observations-panel{padding-top:0}}@media (max-width: 760px){.dash-page-root{padding:16px 14px 20px}.hero-card{padding:22px 16px;border-radius:16px}.sync-status{position:static;margin-bottom:12px}.outstanding-value{font-size:30px}.outstanding-skeleton{width:210px;height:30px}.outstanding-title-row{flex-direction:column;align-items:flex-start;gap:4px}.hero-metrics-row{flex-wrap:wrap;gap:6px 10px}.summary-paragraph{font-size:16px;line-height:28px}.range-selector-btn{font-size:16px}.activity-panel{width:100%;min-width:0;max-width:100%}.activity-expanded-content{padding:0 14px 14px}.activity-row{padding:12px 14px}.activity-time-group,.activity-panel-header,.activity-panel-footer{padding-left:14px;padding-right:14px}}.login-root{--login-google-hover-bg: rgba(32, 58, 127, .05);--login-google-hover-border: rgba(32, 58, 127, .22);--login-google-spinner-track: rgba(32, 58, 127, .18);--login-google-spinner-top: var(--color-accent);min-height:100vh;display:flex;align-items:center;justify-content:center;padding:var(--space-6);background:var(--color-bg)}html.dark .login-root{--login-google-hover-bg: rgba(124, 152, 236, .12);--login-google-hover-border: rgba(124, 152, 236, .34);--login-google-spinner-track: rgba(124, 152, 236, .22);--login-google-spinner-top: #b7c7f6}.login-card{width:100%;max-width:400px;background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-lg);box-shadow:var(--shadow-card);padding:var(--space-8) var(--space-6)}.login-title{margin-bottom:var(--space-1)}.login-subtitle{color:var(--color-text-muted);margin-bottom:var(--space-6);font-size:.9375rem}.login-form{display:flex;flex-direction:column;gap:var(--space-5)}.field{display:flex;flex-direction:column}.login-divider{display:flex;align-items:center;margin:var(--space-5) 0;color:var(--color-text-muted);font-size:.875rem}.login-divider:before,.login-divider:after{content:"";flex:1;border-top:1px solid var(--color-border)}.login-divider span{padding:0 var(--space-3)}.btn-google{display:inline-flex;align-items:center;justify-content:center;gap:var(--space-3);width:100%;padding:var(--space-3) var(--space-5);background:var(--color-surface);color:var(--color-text);font-size:.9375rem;font-weight:500;font-family:inherit;border:1px solid var(--color-border);border-radius:var(--radius-md);cursor:pointer;transition:border-color .12s ease,background-color .12s ease,color .12s ease}.btn-google:hover:not(:disabled){border-color:var(--login-google-hover-border);background:var(--login-google-hover-bg)}.btn-google:disabled{opacity:.55;cursor:not-allowed}.btn-google.is-loading{cursor:progress}.google-icon{width:18px;height:18px}.btn-google-spinner{width:16px;height:16px;border:2px solid var(--login-google-spinner-track);border-top-color:var(--login-google-spinner-top);border-radius:50%;animation:loginSpin .8s linear infinite}@keyframes loginSpin{to{transform:rotate(360deg)}}.reporting-page{width:100%;min-height:100%;padding:28px 48px 60px;display:grid;grid-template-columns:240px minmax(0,1fr);gap:28px;animation:pageIn .3s ease}.reporting-sidebar{display:flex;flex-direction:column;gap:20px}.reporting-sidebar-head p,.reporting-panel-head p{margin:0 0 6px;font-size:11px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--color-text-light)}.reporting-sidebar-head h1{margin:0;font-family:"DM Serif Display",Georgia,serif;font-size:32px;font-weight:400;letter-spacing:-.02em;line-height:1;color:var(--color-text)}.reporting-tab-nav{display:flex;flex-direction:column;gap:2px}.reporting-tab-nav button{width:100%;text-align:left;border:1px solid transparent;border-radius:10px;background:transparent;padding:10px 14px;font-family:inherit;cursor:pointer;transition:border-color .16s ease,background .16s ease,transform .16s ease}.reporting-tab-nav button:hover{transform:translateY(-1px);border-color:#203a7f24;background:#ffffff73}.reporting-tab-nav button.is-active{background:var(--color-surface);border-color:var(--color-border);box-shadow:0 1px 3px #00000008}.reporting-tab-nav strong{display:block;font-size:13px;font-weight:600;color:var(--color-text)}.reporting-sidebar-filter{margin-top:4px;padding-top:16px;border-top:1px solid var(--color-border)}.reporting-sidebar-filter p{margin:0 0 8px;font-size:10px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--color-text-light)}.reporting-customer-filter{position:relative}.reporting-customer-filter input{width:100%;border:1px solid var(--color-border);border-radius:8px;background:transparent;color:var(--color-text);padding:8px 30px 8px 10px;font-family:inherit;font-size:12px;outline:none;transition:border-color .16s ease,background .16s ease;box-sizing:border-box}.reporting-customer-filter input:focus{border-color:#203a7f59;background:var(--color-surface)}.reporting-customer-filter-clear{position:absolute;top:50%;right:6px;transform:translateY(-50%);border:0;background:transparent;color:var(--color-text-light);font-size:16px;line-height:1;cursor:pointer;padding:4px}.reporting-customer-filter-results{position:absolute;top:calc(100% + 4px);left:0;right:0;z-index:20;display:flex;flex-direction:column;gap:2px;padding:4px;max-height:180px;overflow-y:auto;background:var(--color-surface);border:1px solid var(--color-border);border-radius:8px;box-shadow:0 4px 16px #0000000f}.reporting-customer-filter-results button,.reporting-customer-filter-results span{text-align:left;border:0;border-radius:6px;background:transparent;color:var(--color-text);padding:7px 8px;font-family:inherit;font-size:12px}.reporting-customer-filter-results button{cursor:pointer}.reporting-customer-filter-results button:hover{background:var(--color-bg)}.reporting-customer-filter-results span{color:var(--color-text-light)}.reporting-main{min-width:0}.reporting-tab-body{display:flex;flex-direction:column;gap:18px;animation:fadeScale .2s ease}.reporting-panel{background:var(--color-surface);border:1px solid var(--color-border);border-radius:22px;padding:24px 26px;box-shadow:0 1px 3px #00000005}.reporting-panel-muted{background:linear-gradient(180deg,#203a7f0d,#ffffffe6)}.reporting-overview-analysis{overflow:hidden;background:#fff;border-color:#ede9e3;padding:28px 32px}.reporting-overview-analysis-head{display:flex;align-items:center;gap:12px;margin-bottom:14px}.reporting-overview-analysis-label{display:inline-flex;align-items:center;gap:8px;min-width:0}.reporting-overview-analysis-label svg{width:16px;height:16px;flex-shrink:0}.reporting-overview-analysis-label path{fill:var(--color-accent)}.reporting-overview-analysis-label .reporting-overview-analysis-mark{fill:var(--color-danger)}.reporting-overview-analysis-label span{display:block;font-size:12px;font-weight:600;color:var(--color-accent);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.reporting-overview-analysis-timestamp{margin-left:auto;font-size:11px;color:#c4bfb8;font-variant-numeric:tabular-nums}.reporting-empty-panel{border-style:dashed}.reporting-panel-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:14px}.reporting-panel-head h2{margin:0;font-size:22px;font-weight:600;line-height:1.15;color:var(--color-text)}.reporting-copy{margin:0;font-size:14px;line-height:24px;color:var(--color-text-muted)}.reporting-timestamp{padding:6px 10px;border-radius:999px;background:#203a7f14;color:var(--color-accent);font-size:11px;font-weight:600}.reporting-summary-grid,.reporting-bucket-grid{display:grid;gap:14px;grid-template-columns:repeat(4,minmax(0,1fr))}.reporting-summary-card,.reporting-bucket-card{background:var(--color-surface);border:1px solid var(--color-border);border-radius:18px;padding:18px}.reporting-summary-card span,.reporting-bucket-card span{display:block;margin-bottom:10px;font-size:12px;color:var(--color-text-light)}.reporting-summary-card strong,.reporting-bucket-card strong{display:block;margin-bottom:6px;font-size:24px;font-weight:600;line-height:1;color:var(--color-text)}.reporting-summary-card p,.reporting-bucket-card p{margin:0;font-size:13px;line-height:20px;color:var(--color-text-muted)}.reporting-summary-card p.is-good{color:#059669}.reporting-summary-card p.is-neutral{color:var(--color-text-light)}.reporting-summary-card p.is-warning{color:#dc2626}.reporting-overview-analysis-copy{display:flex;flex-direction:column;gap:8px}.reporting-overview-analysis-summary{font-size:16px;line-height:28px;color:var(--color-text);font-weight:500}.reporting-overview-analysis-summary-skeleton span:first-child{width:96%}.reporting-overview-analysis-summary-skeleton span:nth-child(2){width:88%}.reporting-overview-analysis-summary-skeleton span:last-child{width:78%}.reporting-overview-analysis-details-skeleton span:first-child{width:94%}.reporting-overview-analysis-details-skeleton span:nth-child(2){width:86%}.reporting-overview-analysis-details-skeleton span:last-child{width:70%}.reporting-overview-kpis{align-items:stretch}.reporting-overview-kpi-card{padding:16px 18px}.reporting-overview-kpi-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:8px}.reporting-overview-kpi-head div{min-width:0;display:flex;align-items:baseline;gap:6px;flex-wrap:wrap}.reporting-overview-kpi-head strong{margin-bottom:0;flex-shrink:0}.reporting-overview-kpi-value-skeleton{flex:1;min-width:0;margin-top:2px}.reporting-overview-kpi-value-skeleton span{display:block;border-radius:999px;background:var(--color-border);animation:reportingPulse 1.2s ease-in-out infinite}.reporting-overview-kpi-value-skeleton span:first-child{width:min(156px,100%);height:24px}.reporting-overview-kpi-value-skeleton span:last-child{width:42px;height:11px;margin-top:8px}.reporting-overview-kpi-head small{display:inline-block;margin-top:0;font-size:11px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--color-text-light)}.reporting-metric-sparkline{width:56px;height:auto;flex-shrink:0;overflow:visible}.reporting-overview-kpi-sparkline-skeleton{width:56px;height:20px;flex-shrink:0;border-radius:999px;background:var(--color-border);animation:reportingPulse 1.2s ease-in-out infinite}.reporting-overview-kpi-change-skeleton{margin-top:2px}.reporting-overview-kpi-change-skeleton span{display:block;width:72%;height:13px;border-radius:999px;background:var(--color-border);animation:reportingPulse 1.2s ease-in-out infinite}.reporting-metric-sparkline-line{fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.reporting-metric-sparkline-line-good{stroke:#059669}.reporting-metric-sparkline-line-warning{stroke:#dc2626}.reporting-metric-sparkline-line-neutral{stroke:var(--color-text-light)}.reporting-overview-chart-grid{align-items:stretch}.reporting-overview-chart-panel{display:flex;flex-direction:column}.reporting-overview-chart-copy{margin-bottom:12px}.reporting-overview-chart{min-height:220px}.reporting-overview-chart-copy-skeleton{margin-bottom:12px}.reporting-overview-chart-skeleton{min-height:220px;display:flex;flex-direction:column;justify-content:space-between;gap:18px}.reporting-overview-chart-skeleton-grid{display:flex;flex-direction:column;gap:16px;padding-top:8px}.reporting-overview-chart-skeleton-grid span{display:block;width:100%;height:1px;background:linear-gradient(90deg,#8c857814,#8c857838,#8c857814)}.reporting-overview-chart-skeleton-bars{min-height:134px;display:flex;align-items:end;gap:12px}.reporting-overview-chart-skeleton-bars span{flex:1;border-radius:10px 10px 4px 4px;background:var(--color-border);animation:reportingPulse 1.2s ease-in-out infinite}.reporting-overview-chart-skeleton-bars span:nth-child(1){height:42%}.reporting-overview-chart-skeleton-bars span:nth-child(2){height:68%}.reporting-overview-chart-skeleton-bars span:nth-child(3){height:54%}.reporting-overview-chart-skeleton-bars span:nth-child(4){height:82%}.reporting-overview-chart-skeleton-bars span:nth-child(5){height:60%}.reporting-overview-chart-skeleton-bars span:nth-child(6){height:74%}.reporting-overview-chart-svg{width:100%;height:auto}.reporting-overview-grid-line{stroke:#8c85782e;stroke-width:1}.reporting-overview-axis-label,.reporting-overview-value-label{font-family:DM Sans,-apple-system,system-ui,sans-serif;font-size:9px;font-weight:500;fill:var(--color-text-light)}.reporting-overview-value-label{fill:var(--color-text-muted)}.reporting-overview-line{fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.reporting-overview-line-navy{stroke:var(--color-accent)}.reporting-overview-dot-navy{fill:var(--color-accent);stroke:var(--color-accent)}.reporting-overview-line-red{stroke:#e13f3f}.reporting-overview-dot-red{fill:#e13f3f;stroke:#e13f3f}.reporting-overview-line-target{fill:none;stroke:#059669;stroke-width:1.5;stroke-dasharray:4 4;opacity:.5}.reporting-overview-bar{fill:var(--color-accent)}.reporting-overview-stack.is-current{fill:#203a7f}.reporting-overview-stack.is-1-30{fill:#e8a838}.reporting-overview-stack.is-31-60{fill:#e07a2f}.reporting-overview-stack.is-61-90{fill:#d94f3d}.reporting-overview-stack.is-90-plus{fill:#b91c2f}.reporting-overview-chart-legend,.reporting-overview-aging-legend{display:flex;gap:14px;flex-wrap:wrap;margin-top:10px}.reporting-overview-chart-legend div,.reporting-overview-aging-legend div{display:inline-flex;align-items:center;gap:6px}.reporting-overview-chart-legend strong,.reporting-overview-aging-legend strong{font-size:11px;font-weight:500;color:var(--color-text-light)}.reporting-overview-chart-swatch{width:14px;height:2px;border-radius:999px;background:var(--color-accent)}.reporting-overview-chart-swatch.is-dashed{background:linear-gradient(90deg,#059669 0 60%,transparent 60% 100%);background-size:8px 2px}.reporting-overview-aging-chip{width:8px;height:8px;border-radius:2px}.reporting-overview-aging-chip.is-current{background:#203a7f}.reporting-overview-aging-chip.is-1-30{background:#e8a838}.reporting-overview-aging-chip.is-31-60{background:#e07a2f}.reporting-overview-aging-chip.is-61-90{background:#d94f3d}.reporting-overview-aging-chip.is-90-plus{background:#b91c2f}.reporting-bucket-card.is-navy{background:linear-gradient(180deg,rgba(32,58,127,.08),var(--color-surface))}.reporting-bucket-card.is-amber{background:linear-gradient(180deg,rgba(232,168,56,.1),var(--color-surface))}.reporting-bucket-card.is-orange{background:linear-gradient(180deg,rgba(224,122,47,.1),var(--color-surface))}.reporting-bucket-card.is-red{background:linear-gradient(180deg,rgba(225,63,63,.1),var(--color-surface))}.reporting-aging-summary-strip{display:grid;gap:8px;grid-template-columns:repeat(5,minmax(0,1fr))}.reporting-aging-tab-intro{gap:6px}.reporting-aging-summary-card{min-width:0;border:1px solid var(--color-border);border-top-width:3px;border-radius:10px;padding:12px 14px;background:var(--color-surface);box-shadow:0 1px 2px #1a1a1a08}.reporting-aging-summary-card span{display:block;margin-bottom:4px;font-size:10px;color:#8c8578}.reporting-aging-summary-card strong{display:block;font-size:16px;font-weight:600;color:var(--color-text);font-variant-numeric:tabular-nums}.reporting-aging-summary-card.is-current{border-top-color:#203a7f}.reporting-aging-summary-card.is-1-30{border-top-color:#e8a838}.reporting-aging-summary-card.is-31-60{border-top-color:#e07a2f}.reporting-aging-summary-card.is-61-90{border-top-color:#d94f3d}.reporting-aging-summary-card.is-90-plus{border-top-color:#b91c2f}.reporting-aging-table-panel{padding:0;overflow:hidden}.reporting-table-row-aging{gap:0;padding:12px 20px;border-top-color:#fafaf8;transition:background .12s ease;cursor:default}.reporting-table-row-aging:hover{background:#fafaf8}.reporting-two-col{display:grid;gap:18px;grid-template-columns:repeat(2,minmax(0,1fr))}.reporting-chart-shell-svg{width:100%;height:auto}.reporting-chart-line{fill:none;stroke:var(--color-accent);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.reporting-chart-dot{fill:var(--color-accent)}.reporting-chart-axis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin-top:10px}.reporting-chart-axis div{display:flex;flex-direction:column;gap:4px}.reporting-chart-axis strong{font-size:11px;color:var(--color-text)}.reporting-chart-axis span{font-size:11px;color:var(--color-text-light)}.reporting-skeleton-stack{display:flex;flex-direction:column;gap:10px;margin-top:18px}.reporting-skeleton-stack span{display:block;height:12px;border-radius:999px;background:linear-gradient(90deg,#203a7f14,#203a7f29,#203a7f14);animation:reportingPulse 1.2s ease-in-out infinite}.reporting-skeleton-stack span:nth-child(1){width:92%}.reporting-skeleton-stack span:nth-child(2){width:84%}.reporting-skeleton-stack span:nth-child(3){width:68%}@keyframes reportingPulse{0%{opacity:.55}50%{opacity:1}to{opacity:.55}}.reporting-table{overflow:hidden;border:1px solid var(--color-border);border-radius:18px}.reporting-table-head,.reporting-table-row{display:grid;grid-template-columns:2.2fr 1fr 1fr .7fr;gap:12px;padding:14px 18px}.reporting-table-head{background:#203a7f0d}.reporting-table-head span{font-size:10px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--color-text-light)}.reporting-table-row{background:var(--color-surface);border-top:1px solid var(--color-border);align-items:start}.reporting-table-row strong{display:block;margin-bottom:4px;font-size:14px;font-weight:600;color:var(--color-text)}.reporting-table-row p{margin:0;font-size:12px;line-height:18px;color:var(--color-text-muted)}.reporting-table-row span{font-size:13px;line-height:20px;color:var(--color-text)}.reporting-table-head-aging,.reporting-table-row-aging{grid-template-columns:2.4fr repeat(5,minmax(88px,1fr)) .8fr .95fr}.reporting-table-head-aging{padding:12px 20px;border-bottom:1px solid #f0ede8;background:transparent}.reporting-table-row-aging>span:last-child{display:flex;align-items:flex-start;justify-content:flex-start}.reporting-aging-empty-state{padding:20px;font-size:13px;color:var(--color-text-muted)}.reporting-trend-badge{--reporting-badge-bg: #f5f3ef;--reporting-badge-color: var(--color-text-muted);display:inline-flex;align-items:center;justify-content:center;padding:2px 6px;border-radius:4px;background:var(--reporting-badge-bg);color:var(--reporting-badge-color);font-size:10px;font-weight:500;line-height:1.2;letter-spacing:0;white-space:nowrap}.reporting-trend-badge.is-improving{--reporting-badge-bg: #ecfdf5;--reporting-badge-color: #059669}.reporting-trend-badge.is-stable{--reporting-badge-bg: #f5f3ef;--reporting-badge-color: var(--color-text-muted)}.reporting-trend-badge.is-worsening{--reporting-badge-bg: #fef2f2;--reporting-badge-color: #dc2626}.reporting-callout-list{display:flex;flex-direction:column;gap:12px}.reporting-callout-list div{border-top:1px solid var(--color-border);padding-top:12px}.reporting-callout-list div:first-child{border-top:0;padding-top:0}.reporting-callout-list strong{display:block;margin-bottom:4px;font-size:14px;color:var(--color-text)}.reporting-callout-list span{display:block;font-size:13px;line-height:20px;color:var(--color-text-muted)}.reporting-tab-intro{margin-bottom:8px}.reporting-tab-intro h2{margin:0 0 6px;font-family:"DM Serif Display",Georgia,serif;font-size:22px;font-weight:400;letter-spacing:-.02em;color:var(--color-text)}.reporting-tab-intro p{margin:0;font-size:13px;line-height:20px;color:var(--color-text-muted)}.reporting-collection-list{display:flex;flex-direction:column;gap:12px;margin-bottom:4px}.reporting-collection-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:14px}.reporting-collection-card-head h3{margin:0 0 2px;font-size:15px;font-weight:600;color:var(--color-text)}.reporting-collection-card-head p{margin:0;font-size:12px;color:var(--color-text-light)}.reporting-collection-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}.reporting-collection-card{border:1px solid var(--color-border);border-radius:14px;padding:20px 24px;background:var(--color-surface)}.reporting-collection-metrics div>span{display:block;margin-bottom:4px;font-size:10px;color:#a8a29e}.reporting-collection-metrics div>strong{font-size:16px;font-weight:600;color:var(--color-text);font-feature-settings:"tnum"}.reporting-collection-metrics div>strong.is-critical{color:#dc2626}.reporting-collection-metrics div>strong.is-warning{color:#d97706}.reporting-collection-metrics div>strong.is-watch{color:var(--color-text)}.reporting-channel-mix{display:flex;flex-direction:column;gap:4px}.reporting-channel-bar{display:flex;gap:1px;width:64px;height:6px;border-radius:3px;overflow:hidden;background:var(--color-bg)}.reporting-channel-bar span.is-email,.reporting-channel-progress span.is-email{background:var(--color-accent)}.reporting-channel-card-rate strong.is-email{color:var(--color-accent)}.reporting-channel-bar span.is-sms,.reporting-channel-progress span.is-sms{background:#059669}.reporting-channel-card-rate strong.is-sms{color:#059669}.reporting-channel-bar span.is-call,.reporting-channel-progress span.is-call{background:#8b6914}.reporting-channel-card-rate strong.is-call{color:#8b6914}.reporting-channel-values{display:flex;gap:8px}.reporting-channel-values small{font-size:9px;color:var(--color-text-muted)}.reporting-collections-subsection-head{margin-bottom:16px}.reporting-collections-subsection-head strong{display:block;margin-bottom:2px;font-size:13px;font-weight:600;color:var(--color-text)}.reporting-collections-subsection-head p{margin:0;font-size:11px;line-height:18px;color:#a8a29e}.reporting-channel-effectiveness-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.reporting-channel-card-rate{display:flex;align-items:baseline;gap:6px;margin-bottom:8px}.reporting-channel-card-rate strong{font-size:24px;font-weight:600}.reporting-channel-card-rate span{font-size:12px;color:var(--color-text-light)}.reporting-channel-progress{width:100%;height:6px;margin-bottom:8px;border-radius:3px;overflow:hidden;background:var(--color-bg)}.reporting-channel-progress span{display:block;height:100%;border-radius:3px;opacity:.7}.reporting-channel-card p{margin:0;font-size:11px;color:var(--color-text-muted)}.reporting-table-head-customer-risk,.reporting-table-row-customer-risk{grid-template-columns:2fr 116px 92px 96px 104px 2.1fr}.reporting-table-row-customer-risk>span:nth-child(5){display:flex;align-items:flex-start;justify-content:flex-start}.reporting-customer-table-panel{padding:0;overflow:hidden;border-radius:16px}.reporting-risk-cell{display:inline-flex;align-items:center;gap:6px}.reporting-risk-bar{width:48px;height:4px;border-radius:2px;overflow:hidden;background:var(--color-border)}.reporting-risk-bar span{display:block;height:100%;border-radius:2px}.reporting-risk-bar span.is-critical{background:#dc2626}.reporting-risk-bar span.is-warning{background:#d97706}.reporting-risk-bar span.is-watch{background:#e8a838}.reporting-risk-bar span.is-healthy{background:#059669}.reporting-risk-cell strong{margin:0;font-size:11px;font-weight:600;color:var(--color-text-muted)}.reporting-customer-name-cell,.reporting-customer-signal{display:flex;align-items:center}.reporting-customer-name-cell strong{margin:0;font-size:13px;font-weight:500;color:var(--color-text)}.reporting-customer-signal{font-size:12px;line-height:18px;color:#6b6560}.reporting-customer-observation{display:flex;align-items:flex-start;gap:10px;padding:16px 20px;border-radius:12px;border-color:#f0ede8;background:#fafaf8}.reporting-customer-observation svg{width:14px;height:14px;flex-shrink:0;margin-top:3px}.reporting-customer-observation path{fill:var(--color-accent)}.reporting-customer-observation .reporting-customer-observation-mark{fill:var(--color-danger)}.reporting-customer-observation p{color:#6b6560}.reporting-customer-observation strong{color:var(--color-text)}html.dark .reporting-tab-nav button:hover{background:#ffffff08}html.dark .reporting-customer-filter input:focus{border-color:#7c98ec73}html.dark .reporting-customer-filter-results{box-shadow:0 8px 28px #00000047}html.dark .reporting-panel-muted{background:linear-gradient(180deg,#7c98ec1a,#1f1f1ff2)}html.dark .reporting-overview-analysis{background:var(--color-surface);border-color:#ffffff14}html.dark .reporting-overview-analysis-label path{fill:#7c98ec}html.dark .reporting-overview-analysis-label .reporting-overview-analysis-mark{fill:#f87171}html.dark .reporting-overview-analysis-timestamp{color:#9d978c}html.dark .reporting-aging-summary-card{background:#1a1a1aeb}html.dark .reporting-table-row-aging{border-top-color:#ffffff0d}html.dark .reporting-table-row-aging:hover{background:#ffffff0a}html.dark .reporting-table-head{background:#7c98ec1a}html.dark .reporting-trend-badge.is-improving{--reporting-badge-bg: rgba(5, 150, 105, .18);--reporting-badge-color: #86efac}html.dark .reporting-trend-badge.is-stable{--reporting-badge-bg: rgba(255, 255, 255, .08);--reporting-badge-color: var(--color-text-light)}html.dark .reporting-trend-badge.is-worsening{--reporting-badge-bg: rgba(220, 38, 38, .18);--reporting-badge-color: #fca5a5}html.dark .reporting-collection-metrics div>span,html.dark .reporting-collections-subsection-head p{color:#9d978c}html.dark .reporting-channel-bar,html.dark .reporting-channel-progress{background:#ffffff14}html.dark .reporting-risk-bar{background:#ffffff1f}html.dark .reporting-customer-observation{background:#ffffff08}@media (max-width: 980px){.reporting-page{grid-template-columns:1fr;gap:20px;padding:24px 24px 56px}.reporting-tab-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.reporting-summary-grid,.reporting-bucket-grid,.reporting-two-col,.reporting-collection-metrics,.reporting-channel-effectiveness-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.reporting-aging-summary-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.reporting-overview-analysis-head{flex-wrap:wrap}.reporting-overview-analysis-timestamp{margin-left:0}}@media (max-width: 640px){.reporting-page{padding:20px 16px 48px}.reporting-sidebar-head h1{font-size:28px}.reporting-tab-nav,.reporting-summary-grid,.reporting-bucket-grid,.reporting-two-col,.reporting-chart-axis,.reporting-collection-metrics,.reporting-channel-effectiveness-grid,.reporting-aging-summary-strip{grid-template-columns:1fr}.reporting-overview-chart{min-height:0}.reporting-panel{padding:20px 18px;border-radius:18px}.reporting-panel-head{flex-direction:column}.reporting-table-head{display:none}.reporting-table-row{grid-template-columns:1fr;gap:6px}.reporting-collection-card{padding:18px}.reporting-collection-card-head{flex-direction:column}.reporting-table-row-aging>span:last-child{display:block}.reporting-table-row>span:before{content:attr(data-label) ": ";color:var(--color-text-light);font-size:11px;font-weight:600;margin-right:6px}.reporting-customer-observation{padding:16px 18px}}.settings-page{--settings-divider: #f5f3ef;--settings-soft-border: #f0ede8;--settings-control-border: #e8e4de;--settings-soft-surface: #fafaf8;--settings-soft-surface-alt: #fdfcfa;--settings-strong-text: #3d3a36;--settings-muted-text: #a8a29e;--settings-success-fg: #059669;--settings-success-bg: #ecfdf5;--settings-success-soft-bg: rgb(5 150 105 / 10%);--settings-danger-fg: #dc2626;--settings-danger-soft-bg: rgb(220 38 38 / 12%);--settings-muted-badge-bg: rgb(168 162 158 / 16%);--settings-global-memory-bg: #eef1f8;--settings-toggle-off-border: #d6d2cc;--settings-toggle-off-bg: #f1efeb;--settings-toggle-thumb: #fff;--settings-expanded-border: rgb(32 58 127 / 20%);--settings-avatar-bg: rgb(32 58 127 / 12%);--settings-role-badge-bg: #f5f3ef;--settings-role-owner-bg: #eef1f8;--settings-tone-clean-bg: #f0ede8;--settings-tone-clean-border: #d9d2c9;--settings-tone-clean-title: #6b6560;--settings-tone-clean-copy: #8f877d;--settings-tone-friendly-bg: #ecfdf5;--settings-tone-friendly-border: #bbf7d0;--settings-tone-friendly-title: #065f46;--settings-tone-friendly-copy: #047857;--settings-tone-firm-bg: #fef2f2;--settings-tone-firm-border: #fecaca;--settings-tone-firm-title: #991b1b;--settings-tone-firm-copy: #b91c1c;display:flex;min-height:100%;animation:pageIn .3s ease}html.dark .settings-page{--settings-divider: #2a2a2a;--settings-soft-border: #3a3a3a;--settings-control-border: #464646;--settings-soft-surface: #252525;--settings-soft-surface-alt: #2b2b2b;--settings-strong-text: var(--color-text);--settings-muted-text: var(--color-text-light);--settings-success-fg: #34d399;--settings-success-bg: rgb(52 211 153 / 16%);--settings-success-soft-bg: rgb(52 211 153 / 14%);--settings-danger-fg: #f87171;--settings-danger-soft-bg: rgb(248 113 113 / 16%);--settings-muted-badge-bg: rgb(198 190 179 / 20%);--settings-global-memory-bg: rgb(124 152 236 / 18%);--settings-toggle-off-border: #595959;--settings-toggle-off-bg: #303030;--settings-toggle-thumb: #f5f2ec;--settings-expanded-border: rgb(124 152 236 / 35%);--settings-avatar-bg: rgb(124 152 236 / 18%);--settings-role-badge-bg: #2d2d2d;--settings-role-owner-bg: rgb(124 152 236 / 18%);--settings-tone-clean-bg: #2d2a26;--settings-tone-clean-border: #4a443e;--settings-tone-clean-title: #ddd1c3;--settings-tone-clean-copy: #b6ab9f;--settings-tone-friendly-bg: #1b3028;--settings-tone-friendly-border: #2f5a4a;--settings-tone-friendly-title: #86efac;--settings-tone-friendly-copy: #6ee7b7;--settings-tone-firm-bg: #332021;--settings-tone-firm-border: #6b2f35;--settings-tone-firm-title: #fda4af;--settings-tone-firm-copy: #fca5a5}.settings-sidebar{width:240px;flex-shrink:0;padding:28px 0 28px 48px;border-right:1px solid var(--color-border)}.settings-title{margin:0 0 28px;font-family:"DM Serif Display",Georgia,serif;font-size:26px;font-weight:400;letter-spacing:-.02em;color:var(--color-text)}.settings-nav{display:flex;flex-direction:column;gap:1px}.settings-nav-item{display:flex;align-items:center;gap:8px;padding:8px 12px;border:1px solid transparent;border-radius:10px;color:var(--color-text-muted);text-decoration:none;font-size:13px;font-weight:400;transition:all .15s ease}.settings-nav-item:hover{background:var(--color-surface);color:var(--color-text)}.settings-nav-item.is-active{background:var(--color-surface);border-color:var(--color-border);color:var(--color-accent);font-weight:600}.settings-nav-icon{display:flex;color:var(--color-text-light)}.settings-nav-item.is-active .settings-nav-icon{color:var(--color-accent)}.settings-content{flex:1;min-width:0;display:flex;justify-content:center;padding:28px 48px 60px 32px}.settings-panel{width:100%;max-width:680px;background:var(--color-surface);border:1px solid var(--color-border);border-radius:16px;padding:24px 28px;animation:fadeScale .2s ease}.settings-panel-title{margin:0 0 6px;font-family:"DM Serif Display",Georgia,serif;font-size:22px;font-weight:400;letter-spacing:-.02em}.settings-panel-description{margin:0;font-size:13px;line-height:20px;color:var(--color-text-muted)}.settings-company-content{animation:fadeScale .2s ease}.settings-card{margin-top:16px;background:var(--color-surface);border:1px solid var(--color-border);border-radius:16px;padding:24px 28px}.settings-card-title{margin:0 0 12px;font-size:15px;font-weight:600;color:var(--color-text)}.settings-card-description{margin:0 0 16px;font-size:12px;line-height:18px;color:var(--color-text-muted)}.settings-field-list{display:flex;flex-direction:column}.settings-field-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--settings-divider)}.settings-field-row:last-child{border-bottom:0}.settings-field-label{min-width:140px;font-size:12px;color:var(--color-text-muted)}.settings-field-value-wrap{display:flex;align-items:center;justify-content:flex-end;gap:8px;min-width:0}.settings-field-value{font-size:13px;font-weight:500;color:var(--color-text);text-align:right}.settings-field-value.is-mono{font-family:DM Mono,ui-monospace,SFMono-Regular,Menlo,monospace}.settings-field-badge{border-radius:5px;padding:2px 8px;background:var(--settings-success-soft-bg);color:var(--settings-success-fg);font-size:10px;font-weight:500}.settings-field-badge.is-muted{background:var(--settings-muted-badge-bg);color:var(--color-text-muted)}.settings-field-edit{display:inline-flex;color:var(--settings-muted-text);opacity:0;transition:opacity .15s ease}.settings-field-row:hover .settings-field-edit{opacity:.3}.settings-field-edit-button{border:0;background:transparent;padding:0;display:inline-flex;cursor:pointer}.settings-field-edit-button:disabled{cursor:default}.settings-field-edit-button:focus-visible{outline:2px solid var(--color-accent);outline-offset:2px;border-radius:4px}.settings-inline-edit-wrap{display:flex;align-items:center;gap:8px}.settings-inline-edit-input{width:260px;border:1px solid var(--settings-control-border);border-radius:8px;padding:6px 10px;font-size:13px;color:var(--color-text);background:var(--color-surface);text-align:right}.settings-inline-edit-input:focus-visible{outline:2px solid var(--color-accent);outline-offset:1px}.settings-inline-edit-button{border:1px solid var(--settings-control-border);border-radius:8px;background:transparent;color:var(--settings-strong-text);font-size:12px;font-weight:500;font-family:inherit;padding:5px 10px;cursor:pointer}.settings-inline-edit-button.is-primary{border-color:var(--color-accent);color:var(--color-accent)}.settings-inline-edit-button:disabled{opacity:.7;cursor:default}.settings-card-feedback{margin:0;font-size:12px;line-height:18px;color:var(--color-text-light)}.settings-card-feedback.is-error{margin-top:12px;color:var(--settings-danger-fg)}.settings-signature-preview{border:1px solid var(--settings-soft-border);border-radius:10px;background:var(--settings-soft-surface);padding:16px 20px;color:var(--settings-strong-text);font-size:13px;line-height:22px;white-space:pre-wrap}.settings-signature-edit-button{margin-top:10px;border:1px solid var(--settings-control-border);border-radius:8px;padding:7px 14px;background:transparent;color:var(--settings-strong-text);font-size:12px;font-weight:500;font-family:inherit;cursor:pointer}.settings-channel-status-list{display:flex;align-items:center;gap:16px;padding:12px 0 4px}.settings-channel-status-item{display:flex;align-items:center;gap:6px}.settings-channel-status-dot{width:8px;height:8px;border-radius:50%}.settings-channel-status-dot.is-verified{background:var(--settings-success-fg)}.settings-channel-status-dot.is-warning{background:var(--settings-danger-fg)}.settings-channel-status-label{font-size:12px;font-weight:500}.settings-channel-status-label.is-verified{color:var(--settings-success-fg)}.settings-channel-status-label.is-warning{color:var(--settings-danger-fg)}.settings-channel-status-copy{font-size:11px;color:var(--color-text-light)}.settings-toggle-row{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding-top:12px}.settings-toggle-label{margin:0 0 2px;font-size:13px;font-weight:500;color:var(--color-text)}.settings-toggle-description{margin:0;font-size:11px;line-height:16px;color:var(--color-text-light)}.settings-toggle{width:36px;height:20px;border-radius:10px;background:var(--settings-toggle-off-border);display:inline-flex;align-items:center;padding:2px;flex-shrink:0;margin-top:2px}.settings-toggle.is-on{background:var(--color-accent)}.settings-toggle-thumb{width:16px;height:16px;border-radius:50%;background:var(--settings-toggle-thumb);transform:translate(0);box-shadow:0 1px 3px #00000026;transition:transform .2s ease}.settings-toggle.is-on .settings-toggle-thumb{transform:translate(16px)}.settings-tone-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:20px}.settings-tone-option{--tone-bg: var(--settings-soft-surface);--tone-border: var(--settings-soft-border);--tone-title: var(--settings-strong-text);--tone-copy: var(--settings-muted-text);border:1.5px solid var(--tone-border);border-radius:10px;padding:14px 16px;background:var(--tone-bg);text-align:left;font-family:inherit;cursor:pointer;transition:all .15s ease;display:flex;flex-direction:column;gap:3px}.settings-tone-option.is-active{background:var(--tone-bg);border-color:var(--tone-border)}.settings-tone-option-title{font-size:14px;font-weight:600;color:var(--tone-title)}.settings-tone-option-description{font-size:11px;line-height:16px;color:var(--tone-copy)}.settings-tone-preview{border:1px solid var(--settings-soft-border);border-radius:12px;background:var(--settings-soft-surface);overflow:hidden}.settings-tone-preview-header{padding:12px 18px;border-bottom:1px solid var(--settings-soft-border);background:var(--settings-soft-surface-alt)}.settings-tone-preview-body{padding:16px 18px}.settings-tone-preview-label{margin:0 0 2px;font-size:10px;color:var(--settings-muted-text)}.settings-tone-preview-subject{margin:0;font-size:13px;font-weight:500;color:var(--settings-strong-text)}.settings-tone-preview-copy{margin:0;font-size:13px;line-height:22px;color:var(--settings-strong-text);white-space:pre-wrap}.settings-tone-preview-note{margin:12px 0 0;font-size:11px;line-height:17px;color:var(--settings-muted-text)}.settings-payment-list{margin-top:16px;display:flex;flex-direction:column;gap:12px}.settings-payment-card{border:1px solid var(--color-border);border-radius:12px;background:var(--color-surface);padding:20px 22px}.settings-payment-card-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.settings-payment-title-row{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:6px}.settings-payment-title{margin:0;font-size:14px;font-weight:600;color:var(--color-text)}.settings-payment-default-badge{border-radius:4px;padding:2px 8px;font-size:10px;font-weight:500;color:var(--settings-success-fg);background:var(--settings-success-bg)}.settings-payment-details{margin:0 0 4px;font-size:13px;color:var(--settings-strong-text);font-feature-settings:"tnum"}.settings-payment-note{margin:0;font-size:11px;color:var(--color-text-light)}.settings-payment-edit-button{border:1px solid var(--settings-control-border);border-radius:7px;padding:5px 10px;background:transparent;color:var(--color-text-muted);font-size:11px;font-weight:500;font-family:inherit;cursor:pointer;flex-shrink:0}.settings-payment-add-button{width:100%;margin-top:12px;border:1px dashed var(--settings-control-border);border-radius:12px;padding:14px;background:var(--settings-soft-surface);color:var(--color-text-muted);font-size:13px;font-weight:500;font-family:inherit;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:6px}.settings-dispute-list{display:flex;flex-direction:column}.settings-dispute-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--settings-divider)}.settings-dispute-row:last-child{border-bottom:0}.settings-dispute-name-wrap{display:flex;align-items:center;gap:10px;min-width:0}.settings-dispute-status-dot{width:6px;height:6px;border-radius:50%;background:var(--settings-toggle-off-border);flex-shrink:0}.settings-dispute-status-dot.is-active{background:var(--settings-success-fg)}.settings-dispute-name{font-size:13px;font-weight:500;color:var(--color-text)}.settings-dispute-used-count{font-size:11px;color:var(--settings-muted-text);font-feature-settings:"tnum";flex-shrink:0}.settings-billing-plan-row{display:flex;align-items:center;justify-content:space-between;gap:16px}.settings-billing-plan-title-wrap{display:flex;align-items:baseline;gap:8px}.settings-billing-plan-name{font-family:"DM Serif Display",Georgia,serif;font-size:28px;font-weight:400;letter-spacing:-.02em;color:var(--color-text)}.settings-billing-plan-type{font-size:12px;color:var(--color-text-light)}.settings-billing-plan-meta{margin:4px 0 0;font-size:13px;color:var(--color-text-muted)}.settings-billing-plan-button{border:1px solid var(--settings-control-border);border-radius:8px;padding:8px 16px;background:transparent;color:var(--settings-strong-text);font-size:12px;font-weight:500;font-family:inherit;cursor:pointer;flex-shrink:0}.settings-billing-divider{height:1px;margin:20px 0 6px;background:var(--settings-soft-border)}.settings-billing-invoice-list{display:flex;flex-direction:column}.settings-billing-invoice-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px solid var(--settings-divider)}.settings-billing-invoice-row:last-child{border-bottom:0}.settings-billing-invoice-date{font-size:12px;color:var(--settings-strong-text);font-feature-settings:"tnum"}.settings-billing-invoice-meta{display:flex;align-items:center;gap:10px}.settings-billing-invoice-amount{font-size:12px;font-weight:500;color:var(--color-text);font-feature-settings:"tnum"}.settings-billing-invoice-status{border-radius:4px;padding:2px 7px;background:var(--settings-success-bg);color:var(--settings-success-fg);font-size:10px;font-weight:500}.settings-session-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 0}.settings-session-title{margin:0;font-size:13px;font-weight:500;color:var(--color-text)}.settings-session-meta{margin:4px 0 0;font-size:11px;color:var(--color-text-light)}.settings-session-badge{border-radius:4px;padding:2px 8px;background:var(--settings-success-bg);color:var(--settings-success-fg);font-size:10px;font-weight:500;flex-shrink:0}.memory-group{margin-top:24px}.memory-group-title{margin:0 0 10px;font-size:12px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--color-text-light)}.memory-notes-list{display:flex;flex-direction:column;gap:10px}.memory-note-card{border:1px solid var(--color-border);border-radius:12px;background:var(--color-bg);padding:14px 16px}.memory-note-card.is-global{background:var(--settings-global-memory-bg)}.memory-note-customer{margin:0 0 6px;font-size:12px;font-weight:600;color:var(--color-text)}.memory-note-badge{display:inline-block;margin:0 0 8px;padding:1px 8px;border-radius:999px;font-size:10px;font-weight:600;letter-spacing:.03em;text-transform:uppercase;color:var(--color-accent);background:var(--color-surface)}.memory-note-text{margin:0;font-size:13px;line-height:20px;color:var(--color-text)}.memory-note-meta{display:flex;flex-wrap:wrap;gap:8px 16px;margin:10px 0 0;font-size:11px;color:var(--color-text-muted)}.contact-preferences-list{display:flex;flex-direction:column}.contact-preferences-item{display:flex;justify-content:space-between;gap:16px;padding:10px 0;border-bottom:1px solid var(--settings-divider)}.contact-preferences-item:last-child{border-bottom:0}.contact-preferences-copy{min-width:0}.contact-preferences-label{margin:0;font-size:13px;font-weight:500;color:var(--color-text)}.contact-preferences-description{margin:6px 0 0;font-size:12px;line-height:18px;color:var(--color-text-muted)}.contact-toggle{display:inline-flex;align-items:center;width:38px;height:22px;border:1px solid var(--settings-toggle-off-border);border-radius:999px;background:var(--settings-toggle-off-bg);padding:2px;flex-shrink:0;cursor:pointer;transition:background .15s ease,border-color .15s ease}.contact-toggle.is-on{background:var(--color-accent);border-color:var(--color-accent)}.contact-toggle-knob{width:16px;height:16px;border-radius:50%;background:var(--settings-toggle-thumb);box-shadow:0 1px 2px #0000002e;transform:translate(0);transition:transform .15s ease}.contact-toggle.is-on .contact-toggle-knob{transform:translate(16px)}.settings-integrations-list{margin-top:16px;display:flex;flex-direction:column;gap:12px}.settings-integration-card{border:1px solid var(--color-border);border-radius:14px;background:var(--color-surface);overflow:hidden;transition:border-color .15s ease}.settings-integration-card.is-expanded{border-color:var(--settings-expanded-border)}.settings-integration-header{width:100%;display:flex;align-items:center;gap:16px;padding:18px 22px;background:transparent;border:0;text-align:left;font-family:inherit;cursor:pointer}.settings-integration-header:hover{background:var(--settings-soft-surface-alt)}.settings-integration-icon{--integration-color: var(--settings-strong-text);--integration-bg: var(--settings-divider);width:40px;height:40px;border-radius:10px;background:var(--integration-bg);display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.settings-integration-icon-copy{font-family:DM Mono,ui-monospace,SFMono-Regular,Menlo,monospace;font-size:15px;font-weight:700;line-height:1;color:var(--integration-color)}.settings-integration-icon-copy.is-small{font-size:11px}.settings-integration-copy{min-width:0;display:flex;flex-direction:column;gap:3px;flex:1}.settings-integration-title-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.settings-integration-title{font-size:14px;font-weight:600;color:var(--color-text)}.settings-integration-connected-badge{border-radius:4px;padding:2px 8px;font-size:10px;font-weight:500;color:var(--settings-success-fg);background:var(--settings-success-bg)}.settings-integration-sync-meta{font-size:10px;color:var(--settings-muted-text)}.settings-integration-description{font-size:12px;line-height:18px;color:var(--color-text-muted)}.settings-integration-chevron{color:var(--settings-muted-text);flex-shrink:0;transition:transform .15s ease}.settings-integration-card.is-expanded .settings-integration-chevron{transform:rotate(180deg)}.settings-integration-connect-button-wrap{flex-shrink:0}.settings-integration-connect-button{display:inline-flex;border-radius:8px;padding:8px 16px;font-size:12px;font-weight:600;color:var(--settings-toggle-thumb);background:var(--color-accent)}.settings-integration-expanded{padding:0 22px 18px 78px;animation:fadeScale .15s ease}.settings-integration-detail-list{border:1px solid var(--settings-soft-border);border-radius:10px;background:var(--settings-soft-surface);padding:14px 18px}.settings-integration-detail-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:5px 0;border-bottom:1px solid var(--settings-divider)}.settings-integration-detail-row:last-child{border-bottom:0}.settings-integration-detail-label{font-size:11px;color:var(--settings-muted-text)}.settings-integration-detail-value{font-size:12px;font-weight:500;color:var(--settings-strong-text)}.settings-integration-actions{margin-top:10px;display:flex;align-items:center;gap:8px}.settings-integration-action-button{border:1px solid var(--settings-control-border);border-radius:7px;background:transparent;padding:5px 12px;font-family:inherit;font-size:11px;font-weight:500;color:var(--settings-strong-text);cursor:pointer}.settings-integration-action-button.is-danger{color:var(--settings-danger-fg);opacity:.5}.settings-notifications-list{display:flex;flex-direction:column}.settings-notifications-item{display:flex;justify-content:space-between;gap:16px;padding:10px 0;border-bottom:1px solid var(--settings-divider)}.settings-notifications-item:last-child{border-bottom:0}.settings-notifications-copy{min-width:0}.settings-notifications-label{margin:0;font-size:13px;font-weight:500;color:var(--color-text)}.settings-notifications-description{margin:6px 0 0;font-size:12px;line-height:18px;color:var(--color-text-muted)}.settings-notifications-toggle{display:inline-flex;align-items:center;width:38px;height:22px;border:1px solid var(--settings-toggle-off-border);border-radius:999px;background:var(--settings-toggle-off-bg);padding:2px;flex-shrink:0;cursor:pointer;transition:background .15s ease,border-color .15s ease}.settings-notifications-toggle.is-on{background:var(--color-accent);border-color:var(--color-accent)}.settings-notifications-toggle-knob{width:16px;height:16px;border-radius:50%;background:var(--settings-toggle-thumb);box-shadow:0 1px 2px #0000002e;transform:translate(0);transition:transform .15s ease}.settings-notifications-toggle.is-on .settings-notifications-toggle-knob{transform:translate(16px)}.settings-team-list{display:flex;flex-direction:column}.settings-team-row{display:flex;align-items:center;gap:14px;padding:12px 0;border-bottom:1px solid var(--settings-divider)}.settings-team-row:last-child{border-bottom:0}.settings-team-avatar{width:36px;height:36px;border-radius:10px;background:var(--settings-avatar-bg);display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.settings-team-initials{font-size:12px;font-weight:700;color:var(--color-accent)}.settings-team-details{min-width:0;flex:1}.settings-team-name-row{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.settings-team-name{font-size:13px;font-weight:600;color:var(--color-text)}.settings-team-role-badge{border-radius:4px;padding:2px 7px;font-size:10px;font-weight:500;color:var(--color-text-muted);background:var(--settings-role-badge-bg)}.settings-team-role-badge.is-owner{color:var(--color-accent);background:var(--settings-global-memory-bg)}.settings-team-meta{margin:3px 0 0;font-size:11px;color:var(--color-text-light)}.settings-team-edit-button{border:1px solid var(--settings-control-border);border-radius:7px;padding:5px 10px;background:transparent;color:var(--color-text-muted);font-size:11px;font-weight:500;font-family:inherit;cursor:pointer;flex-shrink:0}.settings-team-invite-button{width:100%;margin-top:12px;border:1px dashed var(--settings-control-border);border-radius:12px;padding:14px;background:var(--settings-soft-surface);color:var(--color-text-muted);font-size:13px;font-weight:500;font-family:inherit;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:6px}@media (max-width: 900px){.settings-page{flex-direction:column}.settings-sidebar{width:100%;padding:24px 16px 0;border-right:none;border-bottom:1px solid var(--color-border)}.settings-title{margin-bottom:16px}.settings-nav{flex-direction:row;gap:8px;padding-bottom:16px;overflow-x:auto}.settings-nav-item{white-space:nowrap;flex-shrink:0}.settings-content{padding:16px}.settings-card{padding:18px 16px}.settings-field-row{align-items:flex-start;flex-direction:column;gap:4px}.settings-field-label{min-width:0}.settings-field-value-wrap{width:100%;justify-content:flex-start;flex-wrap:wrap}.settings-field-value{text-align:left}.settings-inline-edit-wrap{width:100%;flex-wrap:wrap}.settings-inline-edit-input{width:100%;text-align:left}.settings-channel-status-list{flex-wrap:wrap}.settings-payment-card{padding:16px}.settings-payment-card-header{flex-direction:column;gap:10px}.settings-dispute-row{align-items:flex-start;flex-direction:column;gap:4px}.settings-dispute-used-count{margin-left:16px}.settings-billing-plan-row{flex-direction:column;align-items:flex-start}.settings-billing-plan-button{width:100%}.settings-billing-invoice-row,.settings-session-row{flex-direction:column;align-items:flex-start}.memory-note-card{padding:12px}.settings-toggle-row{flex-direction:column;gap:8px}.settings-tone-grid{grid-template-columns:1fr}.contact-preferences-item{align-items:flex-start}.settings-integration-header{align-items:flex-start;flex-wrap:wrap;padding:16px}.settings-integration-connect-button-wrap{margin-left:56px}.settings-integration-expanded{padding:0 16px 16px}.settings-integration-detail-row{align-items:flex-start;flex-direction:column;gap:4px}.settings-notifications-item{align-items:flex-start}.settings-team-row{align-items:flex-start;flex-wrap:wrap}.settings-team-edit-button{width:100%}}.workflows-page{--wf-surface: #fff;--wf-surface-alt: #fdfcfa;--wf-surface-muted: #f5f3ef;--wf-surface-soft: #fafaf8;--wf-border: #ede9e3;--wf-border-strong: #e8e4de;--wf-border-soft: #f5f3ef;--wf-text: #1a1a1a;--wf-text-strong: #3d3a36;--wf-text-muted: #8c8578;--wf-text-light: #a8a29e;--wf-accent: #203a7f;--wf-accent-soft: #eef1f8;--wf-accent-border: rgb(32 58 127 / 15%);--wf-success: #059669;--wf-success-soft: #ecfdf5;--wf-warning: #d97706;--wf-warning-soft: #fef7ec;--wf-error: #dc2626;--wf-error-soft: #fef2f2;--wf-tone-clean-fg: #6b6560;--wf-tone-clean-bg: #f0ede8;--wf-tone-friendly-fg: #065f46;--wf-tone-friendly-bg: #ecfdf5;--wf-tone-firm-fg: #991b1b;--wf-tone-firm-bg: #fef2f2;--wf-toggle-off: #d6d2cc;--wf-toggle-dot: #fff;--wf-overlay: rgba(0, 0, 0, .14);--wf-primary-text: #fff;--wf-primary-hover: #1c336f;--wf-primary-shadow: 0 10px 24px rgb(32 58 127 / 20%);--wf-modal-surface: #fffdfa;--wf-modal-surface-alt: #fff;--wf-modal-border: rgb(232 228 222 / 92%);--wf-modal-shadow: 0 26px 80px rgb(17 24 39 / 18%);width:100%;min-height:100%;padding:28px 48px 60px;position:relative;animation:pageIn .3s ease}html.dark .workflows-page{--wf-surface: #1f1f1f;--wf-surface-alt: #252525;--wf-surface-muted: #2a2a2a;--wf-surface-soft: #2b2b2b;--wf-border: #323232;--wf-border-strong: #464646;--wf-border-soft: #2a2a2a;--wf-text: var(--color-text);--wf-text-strong: var(--color-text);--wf-text-muted: var(--color-text-muted);--wf-text-light: var(--color-text-light);--wf-accent: var(--color-accent);--wf-accent-soft: rgb(124 152 236 / 18%);--wf-accent-border: rgb(124 152 236 / 35%);--wf-success: #34d399;--wf-success-soft: rgb(52 211 153 / 16%);--wf-warning: #fbbf24;--wf-warning-soft: rgb(251 191 36 / 16%);--wf-error: #f87171;--wf-error-soft: rgb(248 113 113 / 16%);--wf-tone-clean-fg: #ddd1c3;--wf-tone-clean-bg: #2d2a26;--wf-tone-friendly-fg: #86efac;--wf-tone-friendly-bg: #1b3028;--wf-tone-firm-fg: #fda4af;--wf-tone-firm-bg: #332021;--wf-toggle-off: #595959;--wf-toggle-dot: #f5f2ec;--wf-overlay: rgba(0, 0, 0, .45);--wf-primary-text: #0f172a;--wf-primary-hover: #93abf0;--wf-primary-shadow: 0 12px 28px rgb(0 0 0 / 28%);--wf-modal-surface: #202225;--wf-modal-surface-alt: #272a2e;--wf-modal-border: rgb(124 152 236 / 18%);--wf-modal-shadow: 0 28px 84px rgb(0 0 0 / 52%)}.workflows-header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:28px}.workflows-header h1{margin:0 0 6px;font-family:"DM Serif Display",Georgia,serif;font-size:32px;font-weight:400;letter-spacing:-.02em}.workflows-header p{margin:0;font-size:14px;color:var(--wf-text-muted)}.workflows-actions{display:flex;gap:10px}.workflows-outline-btn,.workflows-primary-btn{border-radius:10px;padding:10px 16px;font-size:13px;font-family:inherit;cursor:pointer;transition:border-color .15s ease,background-color .15s ease,color .15s ease,box-shadow .15s ease,transform .15s ease}.workflows-outline-btn{background:var(--wf-surface);border:1px solid var(--wf-border-strong);color:var(--wf-text-strong);font-weight:500;display:inline-flex;align-items:center;gap:6px}.workflows-primary-btn{border:0;background:var(--wf-accent);color:var(--wf-primary-text);font-weight:600;box-shadow:var(--wf-primary-shadow)}.workflows-outline-btn:hover:not(:disabled){border-color:var(--wf-accent-border);background:var(--wf-surface-alt)}.workflows-primary-btn:hover:not(:disabled){background:var(--wf-primary-hover);transform:translateY(-1px)}.workflows-outline-btn:focus-visible,.workflows-primary-btn:focus-visible,.workflows-template-card:focus-visible,.workflows-icon-btn:focus-visible{outline:none;box-shadow:0 0 0 3px var(--wf-accent-border)}.workflows-outline-btn:disabled,.workflows-primary-btn:disabled{cursor:not-allowed;opacity:.62;transform:none;box-shadow:none}.workflows-badge{border-radius:4px;background:var(--wf-accent-soft);color:var(--wf-accent);padding:1px 6px;font-size:10px;font-weight:600}.workflows-summary{margin:0 0 20px;font-size:13px;color:var(--wf-text-muted)}.workflows-summary strong{color:var(--wf-text-strong);font-weight:600}.workflows-inline-error{margin:0 0 16px;padding:12px 14px;border:1px solid rgb(220 38 38 / 18%);border-radius:12px;background:var(--wf-error-soft);color:var(--wf-error);font-size:13px}.workflows-card-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:32px}.workflows-card{background:var(--wf-surface);border:1px solid var(--wf-border);border-radius:14px;padding:20px 22px 18px;transition:border-color .18s ease,box-shadow .18s ease;display:flex;flex-direction:column;gap:16px}.workflows-card:hover{border-color:#203a7f40;box-shadow:0 2px 12px #203a7f0f}.workflows-card-main{border:0;background:transparent;cursor:pointer;padding:0;width:100%;text-align:left}.workflows-card-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}.workflows-card h2{margin:0;font-size:15px;font-weight:600;color:var(--wf-text)}.workflows-status{text-transform:uppercase;font-size:9px;letter-spacing:.06em;color:var(--wf-success);font-weight:500}.workflows-status.is-paused{color:var(--wf-warning)}.workflows-card p{margin:0 0 14px;font-size:12px;line-height:18px;color:var(--wf-text-muted)}.workflows-card-metrics{display:flex;gap:10px;margin-bottom:12px;font-size:11px;color:var(--wf-text-light)}.workflows-card-icons{display:flex;align-items:center;gap:4px}.workflows-channel-icon{color:var(--wf-text-light);display:inline-flex}.workflows-card-skeleton{pointer-events:none}.workflows-skeleton{border-radius:999px;background:linear-gradient(90deg,var(--wf-surface-muted),var(--wf-surface-soft),var(--wf-surface-muted));background-size:200% 100%;animation:shimmer 1.4s ease-in-out infinite}.workflows-skeleton-title{height:18px;width:58%}.workflows-skeleton-status{height:16px;width:52px}.workflows-skeleton-copy{height:12px;width:100%;margin-bottom:10px}.workflows-skeleton-copy.is-short{width:74%}.workflows-skeleton-icon{width:18px;height:18px}.workflows-error-state,.workflows-empty-state{border:1px solid var(--wf-border);border-radius:16px;background:var(--wf-surface);padding:22px 24px}.workflows-error-state h2,.workflows-empty-state h2{margin:0 0 8px;font-size:18px;color:var(--wf-text-strong)}.workflows-error-state p,.workflows-empty-state p{margin:0;color:var(--wf-text-muted);font-size:13px;line-height:20px}.workflows-excluded-toggle{border:0;background:transparent;cursor:pointer;padding:0;display:inline-flex;align-items:center;gap:8px;font-size:12px;font-weight:500;color:var(--wf-text-muted)}.workflows-chevron{font-family:monospace;color:var(--wf-text-light);transform:translateY(-1px);transition:transform .15s ease}.workflows-chevron.is-open{transform:translateY(-1px) rotate(90deg)}.workflows-excluded-count{color:var(--wf-text-light);font-size:11px}.workflows-excluded-list{margin-top:12px;border:1px solid var(--wf-border);border-radius:14px;background:var(--wf-surface);overflow:hidden;animation:fadeScale .2s ease}.workflows-excluded-item{padding:9px 20px;display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:13px;color:var(--wf-text-strong);border-bottom:1px solid var(--wf-border-soft)}.workflows-excluded-item:last-child{border-bottom:0}.workflows-excluded-copy{display:flex;flex-direction:column;gap:2px}.workflows-excluded-copy span:last-child{font-size:11px;color:var(--wf-text-light)}.workflows-excluded-action{border:1px solid var(--wf-border-strong);border-radius:999px;background:var(--wf-surface-alt);color:var(--wf-text-muted);padding:6px 10px;font-size:11px;font-family:inherit;cursor:pointer;flex-shrink:0}.workflows-excluded-action:disabled{cursor:wait;opacity:.7}.workflows-excluded-empty{padding:14px 20px;font-size:12px;color:var(--wf-text-light)}.workflows-detail{animation:fadeScale .25s ease}.workflows-detail-header{margin-bottom:14px}.workflows-detail-intro{margin-bottom:24px}.workflows-detail-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.workflows-detail-title{min-width:0;flex:1}.workflows-detail-actions{display:inline-flex;align-items:center;gap:10px;flex-shrink:0}.workflows-back{border:0;background:transparent;cursor:pointer;color:var(--wf-text-muted);display:inline-flex;align-items:center;gap:4px;font-size:12px;padding:0}.workflows-detail h1{margin:0;font-family:"DM Serif Display",Georgia,serif;font-size:28px;font-weight:400;letter-spacing:-.02em}.workflows-detail-meta{margin:8px 0 0;max-width:720px;color:var(--wf-text-muted);font-size:13px;line-height:20px}.workflows-detail-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:32px;align-items:start}.workflows-detail-layout>*{margin-top:0;align-self:start}.workflows-detail-loading-copy{margin:16px 0 0;color:var(--wf-text-muted);font-size:13px}.workflows-detail-section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.workflows-detail-section-head p{margin:0;font-size:12px;font-weight:500;color:var(--wf-text-strong)}.workflows-add-step-btn{border:1px solid var(--wf-border-strong);border-radius:8px;background:var(--wf-surface);color:var(--wf-text-muted);font-size:11px;font-weight:500;display:inline-flex;align-items:center;gap:5px;padding:5px 12px;cursor:pointer}.workflows-sequence-card{background:var(--wf-surface);border-radius:16px;border:1px solid var(--wf-border);padding:20px 24px 16px}.workflows-sequence-node{display:flex;align-items:center;gap:12px}.workflows-sequence-node.is-trigger{padding-bottom:14px;border-bottom:1px solid var(--wf-border-soft)}.workflows-sequence-node.is-end{padding:10px 14px}.workflows-sequence-node-icon{width:28px;height:28px;border-radius:7px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.workflows-sequence-node-icon.is-neutral{color:var(--wf-text-light);background:var(--wf-surface-muted)}.workflows-sequence-node-icon.is-email,.workflows-channel-chip.is-email,.workflows-pill.is-email.is-selected{color:var(--wf-accent);background:var(--wf-accent-soft)}.workflows-sequence-node-icon.is-sms,.workflows-channel-chip.is-sms,.workflows-pill.is-sms.is-selected{color:var(--wf-success);background:var(--wf-success-soft)}.workflows-sequence-node-icon.is-call,.workflows-channel-chip.is-call,.workflows-pill.is-call.is-selected{color:var(--wf-warning);background:var(--wf-warning-soft)}.workflows-sequence-node-icon.is-whatsapp,.workflows-channel-chip.is-whatsapp,.workflows-pill.is-whatsapp.is-selected{color:var(--wf-success);background:var(--wf-success-soft)}.workflows-sequence-node-kicker{margin:0 0 1px;color:var(--wf-text-light);font-size:11px}.workflows-sequence-node-title{margin:0;color:var(--wf-text-strong);font-size:13px;font-weight:500}.workflows-sequence-node-title.is-muted{color:var(--wf-text-muted)}.workflows-sequence-node-subtitle{margin:1px 0 0;color:var(--wf-text-light);font-size:11px}.workflows-sequence-connector{height:16px;width:1px;background:var(--wf-border-strong);margin-left:13px}.workflows-step-row{width:100%;border:1px solid transparent;border-radius:10px;background:transparent;cursor:pointer;display:flex;align-items:center;gap:12px;padding:10px 14px;text-align:left;transition:all .15s ease}.workflows-step-row:hover{border-color:var(--wf-border);background:var(--wf-surface-alt)}.workflows-step-copy{flex:1}.workflows-step-label{display:block;color:var(--wf-text);font-size:13px;font-weight:500}.workflows-step-meta{display:block;margin-top:1px;color:var(--wf-text-light);font-size:11px}.workflows-step-pencil{color:var(--wf-text-light);opacity:0;transition:opacity .15s ease}.workflows-step-pencil.is-visible{opacity:.35}.workflows-step-editor{padding:16px 18px;border-radius:12px;border:1.5px solid var(--wf-accent-border);background:var(--wf-surface-alt);animation:fadeScale .15s ease}.workflows-step-editor-label{display:block;font-size:11px;color:var(--wf-text-muted);font-weight:500}.workflows-step-editor-label input{margin-top:5px;width:100%;border:1px solid var(--wf-border-strong);border-radius:8px;padding:7px 12px;font-size:13px;font-family:inherit}.workflows-step-editor-grid{margin-top:12px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 62px;gap:12px;align-items:start}.workflows-step-editor-kicker{margin:0 0 5px;font-size:10px;color:var(--wf-text-light);font-weight:500}.workflows-pill-row{display:flex;gap:4px;flex-wrap:wrap}.workflows-pill{border:1.5px solid var(--wf-border-strong);border-radius:8px;background:var(--wf-surface);color:var(--wf-text-muted);padding:5px 10px;font-size:11px;font-family:inherit;cursor:pointer;display:inline-flex;align-items:center;gap:4px}.workflows-pill.is-selected{font-weight:600}.workflows-pill.is-friendly.is-selected,.workflows-tone-badge.is-friendly{color:var(--wf-tone-friendly-fg);background:var(--wf-tone-friendly-bg)}.workflows-pill.is-clean.is-selected,.workflows-tone-badge.is-clean{color:var(--wf-tone-clean-fg);background:var(--wf-tone-clean-bg)}.workflows-pill.is-firm.is-selected,.workflows-tone-badge.is-firm{color:var(--wf-tone-firm-fg);background:var(--wf-tone-firm-bg)}.workflows-step-editor-day{width:62px}.workflows-step-editor-day input{text-align:center}.workflows-step-editor-actions{margin-top:14px;display:flex;align-items:center;gap:8px}.workflows-remove-step{margin-left:auto;border:0;background:transparent;color:var(--wf-error);font-size:11px;cursor:pointer;font-family:inherit}.workflows-detail-side{display:flex;flex-direction:column;gap:18px}.workflows-side-card{background:var(--wf-surface);border-radius:14px;border:1px solid var(--wf-border);padding:18px 22px}.workflows-side-row{margin-bottom:16px}.workflows-side-row:last-child{margin-bottom:0}.workflows-side-kicker{margin:0 0 6px;color:var(--wf-text-light);font-size:11px}.workflows-channel-chip-row{display:flex;gap:4px;flex-wrap:wrap}.workflows-channel-chip{border-radius:5px;padding:3px 10px;font-size:11px;font-weight:500;display:inline-flex;align-items:center;gap:4px;border:1px solid transparent}.workflows-channel-chip.is-selected{border-color:var(--wf-border-strong);box-shadow:inset 0 0 0 1px #00000008}.workflows-toggle{width:34px;height:18px;border-radius:999px;border:0;background:var(--wf-toggle-off);cursor:pointer;padding:0;position:relative;vertical-align:middle}.workflows-toggle.is-readonly{display:inline-block;cursor:default}.workflows-toggle.is-on{background:var(--wf-accent)}.workflows-toggle-dot{width:14px;height:14px;border-radius:999px;background:var(--wf-toggle-dot);position:absolute;top:2px;left:2px;transition:left .2s ease;box-shadow:0 1px 2px #00000026}.workflows-toggle.is-on .workflows-toggle-dot{left:18px}.workflows-toggle-label{margin-left:6px;color:var(--wf-text-strong);font-size:12px}.workflows-side-note{margin:6px 0 0;color:var(--wf-text-light);font-size:11px;line-height:16px}.workflows-escalation-rule{padding:10px 0;border-top:1px solid var(--wf-border-soft)}.workflows-escalation-rule:first-of-type{border-top:0;padding-top:4px}.workflows-escalation-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:3px}.workflows-escalation-head span{color:var(--wf-text);font-size:13px;font-weight:500}.workflows-always-on{color:var(--wf-text-light)!important;font-size:10px!important;font-weight:400!important}.workflows-escalation-rule p{margin:0;color:var(--wf-text-light);font-size:11px;line-height:16px}.workflows-threshold-field{margin-top:6px;display:inline-flex;align-items:center;gap:6px;color:var(--wf-text-muted);font-size:11px}.workflows-threshold-field>span{border:1px solid var(--wf-border-strong);border-radius:6px;overflow:hidden;display:inline-flex;align-items:center}.workflows-threshold-field em{font-style:normal;background:var(--wf-surface-muted);color:var(--wf-text-light);border-right:1px solid var(--wf-border-strong);padding:4px 6px}.workflows-threshold-field input{width:84px;border:0;font-size:11px;font-family:inherit;padding:4px 8px;outline:none;text-align:right;background:var(--wf-surface);color:var(--wf-text)}.workflows-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:var(--wf-overlay);z-index:900;animation:workflowsOverlayIn .18s ease}.workflows-rules-drawer{position:fixed;top:0;right:0;bottom:0;width:min(480px,100vw);background:var(--wf-surface);border-left:1px solid var(--wf-border);z-index:901;display:flex;flex-direction:column;box-shadow:-8px 0 32px #0000000f;animation:panelSlideIn .25s ease}.workflows-drawer-header{padding:24px 28px 16px;border-bottom:1px solid var(--wf-border);display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.workflows-drawer-header h2{margin:0 0 6px;font-family:"DM Serif Display",Georgia,serif;font-size:22px;font-weight:400}.workflows-drawer-header p{margin:0;font-size:13px;line-height:20px;color:var(--wf-text-muted)}.workflows-icon-btn{border:0;background:transparent;color:var(--wf-text-light);cursor:pointer;padding:4px;display:inline-flex;border-radius:999px;transition:background-color .15s ease,color .15s ease,box-shadow .15s ease}.workflows-icon-btn:hover:not(:disabled){background:var(--wf-surface-alt);color:var(--wf-text-strong)}.workflows-icon-btn:disabled{cursor:not-allowed;opacity:.62}.workflows-drawer-body{flex:1;overflow:auto;padding:20px 28px}.workflows-rule-card{border:1px solid var(--wf-border);border-radius:14px;padding:16px 18px;margin-bottom:10px;background:var(--wf-surface)}.workflows-rule-card.is-default{background:var(--wf-surface-alt)}.workflows-rule-main{display:flex;align-items:flex-start;gap:12px}.workflows-grip{padding-top:4px;display:inline-grid;gap:4px}.workflows-grip span{width:8px;height:2px;border-radius:999px;background:var(--wf-text-light)}.workflows-rule-content{flex:1;min-width:0}.workflows-rule-head{display:flex;align-items:center;gap:8px;margin-bottom:4px}.workflows-rule-name{font-size:14px;font-weight:600;color:var(--wf-text)}.workflows-system-pill{font-size:9px;text-transform:uppercase;letter-spacing:.03em;color:var(--wf-text-light)}.workflows-rule-note{margin:0;color:var(--wf-text-muted);font-size:12px;line-height:18px}.workflows-if-row{display:flex;flex-wrap:wrap;align-items:center;gap:4px;margin-bottom:6px;color:var(--wf-text-muted);font-size:12px}.workflows-if-row strong{color:var(--wf-text-strong)}.workflows-condition-value{background:var(--wf-surface-muted);border-radius:4px;padding:2px 8px;font-size:11px}.workflows-then-row{display:flex;align-items:center;gap:6px;color:var(--wf-text-strong);font-size:12px}.workflows-then-row.is-exclude{color:var(--wf-error)}.workflows-arrow{color:var(--wf-text-light)}.workflows-match-meta{margin-top:8px;display:flex;gap:12px;font-size:11px;color:var(--wf-text-light)}.workflows-rule-index{width:24px;height:24px;border-radius:7px;display:inline-flex;align-items:center;justify-content:center;color:var(--wf-accent);background:var(--wf-accent-soft);font-size:10px;font-weight:700}.workflows-rule-card.is-default .workflows-rule-index{background:var(--wf-surface-muted);color:var(--wf-text-light)}.workflows-new-rule{margin-bottom:10px;padding:20px 18px;border:1.5px solid var(--wf-accent-border);border-radius:14px;background:var(--wf-surface-alt);animation:fadeScale .15s ease}.workflows-new-rule h3{margin:0 0 14px;font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--wf-accent)}.workflows-new-rule label{font-size:11px;color:var(--wf-text-muted);font-weight:500;margin-bottom:6px}.workflows-new-rule input,.workflows-new-rule select{width:100%;border:1px solid var(--wf-border-strong);border-radius:8px;padding:8px 10px;background:var(--wf-surface);font-size:12px;margin-top:5px}.workflows-rule-condition-builder{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:14px}.workflows-rule-condition-builder>span{color:var(--wf-text-light);font-size:12px}.workflows-rule-condition-builder select,.workflows-rule-condition-builder input{width:auto;min-width:120px;margin-top:0}.workflows-rule-condition-builder input{flex:1;min-width:90px}.workflows-new-rule-actions{margin-top:14px;display:flex;align-items:center;gap:8px}.workflows-ghost-link{border:0;background:transparent;color:var(--wf-text-light);font-size:12px;cursor:pointer}.workflows-drawer-footer{border-top:1px solid var(--wf-border);padding:16px 28px}.workflows-drawer-footer .workflows-outline-btn{width:100%;justify-content:center}.workflows-modal{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);width:min(680px,calc(100vw - 24px));background:var(--wf-modal-surface);border:1px solid var(--wf-modal-border);border-radius:20px;z-index:901;box-shadow:var(--wf-modal-shadow);overflow:hidden;animation:workflowsModalIn .18s ease}.workflows-modal-head{padding:28px 32px 0;display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.workflows-modal-head h2{margin:0 0 4px;font-family:"DM Serif Display",Georgia,serif;font-size:24px;font-weight:400}.workflows-modal-head p{margin:0 0 20px;color:var(--wf-text-muted);font-size:13px}.workflows-template-grid{padding:0 32px 28px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.workflows-template-card{width:100%;text-align:left;border:1px solid var(--wf-border);border-radius:14px;padding:18px 20px;background:var(--wf-modal-surface-alt);cursor:pointer;color:var(--wf-text);transition:border-color .15s ease,background-color .15s ease,box-shadow .15s ease,transform .15s ease}.workflows-template-card.is-selected{border-color:var(--wf-accent-border);background:var(--wf-accent-soft);box-shadow:inset 0 0 0 1px var(--wf-accent-border)}.workflows-template-card:hover{border-color:var(--wf-accent-border);background:var(--wf-surface-alt);transform:translateY(-1px)}.workflows-template-card:disabled{cursor:wait;opacity:.72}.workflows-template-top{display:flex;justify-content:space-between;gap:8px;margin-bottom:6px}.workflows-template-top h3{margin:0;font-size:14px;font-weight:600}.workflows-template-channels{display:flex;gap:3px}.workflows-template-card p{margin:0 0 10px;font-size:12px;line-height:18px;color:var(--wf-text-muted)}.workflows-tone-badge{display:inline-block;padding:2px 8px;border-radius:4px;font-size:10px;font-weight:500}.workflows-modal-footer{padding:0 32px 28px;display:flex;align-items:center;justify-content:space-between;gap:16px}.workflows-modal-selection{margin:0;font-size:12px;color:var(--wf-text-muted)}.workflows-modal-error{margin:0 32px 18px;padding:12px 14px;border-radius:12px;background:var(--wf-error-soft);border:1px solid color-mix(in srgb,var(--wf-error) 26%,transparent);color:var(--wf-error);font-size:12px;line-height:1.45}.workflows-modal-actions{display:flex;align-items:center;gap:10px}@keyframes shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}@keyframes workflowsOverlayIn{0%{opacity:0}to{opacity:1}}@keyframes workflowsModalIn{0%{opacity:0;transform:translate(-50%,-50%) scale(.98)}to{opacity:1;transform:translate(-50%,-50%) scale(1)}}@media (max-width: 1200px){.workflows-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.workflows-step-editor-grid{grid-template-columns:1fr}.workflows-step-editor-day{width:100%;max-width:80px}}@media (max-width: 900px){.workflows-page{padding:22px 20px 44px}.workflows-header{flex-direction:column;align-items:stretch}.workflows-actions{justify-content:flex-start;flex-wrap:wrap}.workflows-detail-layout{grid-template-columns:1fr;gap:18px}.workflows-detail-title-row{flex-direction:column;align-items:stretch}.workflows-template-grid{grid-template-columns:1fr}}@media (max-width: 700px){.workflows-card-grid{grid-template-columns:1fr}.workflows-modal-head,.workflows-template-grid,.workflows-modal-footer{padding-left:16px;padding-right:16px}.workflows-modal-error{margin-left:16px;margin-right:16px}.workflows-modal-head{padding-top:16px}.workflows-template-grid{padding-bottom:16px}.workflows-modal-footer{padding-bottom:16px;flex-direction:column;align-items:stretch}.workflows-modal-actions{width:100%;justify-content:flex-end;flex-wrap:wrap}.workflows-excluded-item{flex-direction:column;align-items:flex-start;gap:2px}}*{box-sizing:border-box}html,body,#root{height:100%}body{margin:0;background:var(--color-bg);color:var(--color-text);font-family:DM Sans,-apple-system,system-ui,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:root{--navy: #203a7f;--red: #e13f3f;--background: #f5f3ef;--border: #ede9e3;--muted-text: #a8a29e;--body-text: #3d3a36;--dark-body: #1a1a1a;--color-bg: #f5f3ef;--color-surface: #fff;--color-border: #ede9e3;--color-text: #1a1a1a;--color-text-muted: #8c8578;--color-text-light: #a8a29e;--color-accent: #203a7f;--color-accent-hover: #1c336f;--color-error: #c0392b;--font-sans: "DM Sans", -apple-system, system-ui, sans-serif;--font-size-base: 15px;--line-height: 1.6;--space-1: 4px;--space-2: 8px;--space-3: 12px;--space-4: 16px;--space-5: 24px;--space-6: 32px;--space-8: 48px;--space-10: 64px;--radius-sm: 4px;--radius-md: 8px;--radius-lg: 12px;--shadow-card: 0 1px 4px rgba(0, 0, 0, .06), 0 4px 16px rgba(0, 0, 0, .06)}html.dark{--color-bg: #171717;--color-surface: #1f1f1f;--color-border: #323232;--color-text: #f5f2ec;--color-text-muted: #c6beb3;--color-text-light: #a79f93;--color-accent: #7c98ec;--color-accent-hover: #93abf0;--color-error: #e05c5c;--background: #171717;--border: #323232;--body-text: #ddd6cc}html{font-size:var(--font-size-base)}h1{font-size:1.6rem;font-weight:600;letter-spacing:-.02em}label{display:block;font-size:.875rem;font-weight:500;color:var(--color-text-muted);margin-bottom:var(--space-2)}input[type=email],input[type=password],input[type=text]{display:block;width:100%;padding:var(--space-3) var(--space-4);font-size:.9375rem;font-family:inherit;background:var(--color-surface);color:var(--color-text);border:1px solid var(--color-border);border-radius:var(--radius-md);outline:none;transition:border-color .12s ease}input:focus{border-color:var(--color-accent);box-shadow:0 0 0 3px #203a7f26}.btn-primary{display:inline-flex;align-items:center;justify-content:center;width:100%;padding:var(--space-3) var(--space-5);background:var(--color-accent);color:#fff;font-size:.9375rem;font-weight:500;font-family:inherit;border:none;border-radius:var(--radius-md);cursor:pointer;transition:background .12s ease}.btn-primary:hover:not(:disabled){background:var(--color-accent-hover)}.btn-primary:disabled{opacity:.55;cursor:not-allowed}.loading-screen{display:flex;align-items:center;justify-content:center;min-height:100vh;color:var(--color-text-muted);font-size:.9375rem}.error-message{color:var(--color-error);font-size:.875rem;padding:var(--space-3) var(--space-4);background:#c0392b12;border:1px solid rgba(192,57,43,.2);border-radius:var(--radius-md)}@keyframes glowRotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes fadeScale{0%{opacity:0;transform:scale(.97)}to{opacity:1;transform:scale(1)}}@keyframes pageIn{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@keyframes panelSlideIn{0%{transform:translate(100%)}to{transform:translate(0)}}@keyframes overlayFadeIn{0%{opacity:0}to{opacity:1}}
