.history-workspace{color:#e2e8f0;background:#0f172a;flex-direction:column;flex:1;gap:16px;min-width:0;min-height:0;padding:20px 24px;display:flex}.history-heading{justify-content:space-between;align-items:center;gap:16px;display:flex}.history-heading h1{font-size:20px;font-weight:650}.history-heading p{color:#cbd5e1;margin-top:4px;font-size:13px}.history-workspace button{cursor:pointer;white-space:nowrap;border:1px solid #475569;border-radius:6px;min-height:36px;padding:6px 12px;font-size:13px}.history-workspace button:hover{background:#334155}.history-workspace button:disabled{opacity:.45;cursor:default}.history-filters{border-block:1px solid #334155;flex-wrap:wrap;align-items:end;gap:12px;padding:16px 0;font-size:12px;display:flex}.history-filters label{flex:1;gap:6px;min-width:130px;display:grid}.history-filters legend{margin-bottom:6px}.history-filters input,.history-filters select{color:#e2e8f0;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;background:#020617;border:1px solid #475569;border-radius:5px;width:100%;min-width:0;min-height:36px;padding:8px;font-size:13px}.history-date-range{align-items:center;gap:6px;display:flex}.history-filters fieldset{flex:1.7;min-width:270px}.history-filter-actions{gap:6px;display:flex}.history-workspace .history-primary{color:#fff;background:#4338ca;border-color:#6366f1}.history-list-heading{color:#cbd5e1;justify-content:space-between;gap:12px;font-size:12px;display:flex}.history-table-scroll{scrollbar-color:#475569 #0f172a;flex:1;min-height:0;overflow:auto}.history-table-scroll table{border-collapse:separate;border-spacing:0;text-align:left;width:100%;font-size:13px}.history-table-scroll th{color:#cbd5e1;z-index:1;white-space:nowrap;background:#1e293b;font-weight:500;position:sticky;top:0}.history-table-scroll th,.history-table-scroll td{border-bottom:1px solid #334155;padding:12px}.history-table-scroll tbody tr:hover{background:#1e293b}.history-time{font-variant-numeric:tabular-nums;white-space:nowrap;color:#cbd5e1}.history-phone{color:#cbd5e1;white-space:nowrap;margin-top:3px;display:block}.history-unidentified{color:#fcd34d;margin-left:6px;font-size:11px}.history-summary{text-overflow:ellipsis;white-space:nowrap;max-width:36ch;display:block;overflow:hidden}.history-status{white-space:nowrap}.status-COMPLETED{color:#6ee7b7}.status-CANCELLED{color:#cbd5e1}.status-PROCESSING{color:#a5b4fc}.history-empty{text-align:center;color:#cbd5e1;padding:60px 20px}.history-error{color:#fcd34d}.history-pagination{justify-content:flex-end;align-items:center;gap:16px;font-size:13px;display:flex}.history-dialog{color:#e2e8f0;background:#0f172a;border:1px solid #475569;border-radius:10px;width:min(1040px,100vw - 48px);height:min(900px,100dvh - 48px);max-height:calc(100dvh - 48px);margin:auto;padding:0;overflow:hidden;box-shadow:0 16px 48px #0008}.history-dialog[open]{flex-direction:column;display:flex}.history-dialog::backdrop{background:#020617b8}.history-dialog>header{border-bottom:1px solid #334155;justify-content:space-between;align-items:center;padding:12px 16px;display:flex}.history-dialog>header h2{font-weight:600}.history-dialog .records-toolbar{flex-wrap:wrap}.history-workspace :focus-visible{outline-offset:3px;outline:2px solid #a5b4fc}.workspace-settings-pane{flex:1;min-height:0;overflow:auto}.workspace-settings-pane>.admin-shell{width:100%;min-height:0}.history-filter-toggle{display:none}@media (max-width:900px){.history-workspace{padding:16px}.history-table-scroll table{min-width:900px}.history-dialog{width:calc(100vw - 24px);height:calc(100dvh - 24px);max-height:calc(100dvh - 24px)}}@media (max-width:600px){.history-workspace{gap:12px;padding:12px;overflow:auto}.history-heading{align-items:start}.history-heading h1{font-size:18px}.history-heading p{max-width:28ch}.history-filters fieldset{flex-basis:100%;min-width:0}.history-filters label{min-width:calc(50% - 12px)}.history-workspace button,.history-filters input,.history-filters select{min-height:44px}.history-filter-actions{width:100%}.history-filter-actions button{flex:1}.history-list-heading{flex-wrap:wrap}.history-table-scroll{min-height:240px}.history-dialog{border-radius:0;width:100%;height:100dvh;max-height:100dvh}.history-dialog .customer-records{overflow:auto}.history-dialog .records-editor{min-height:100%;overflow:visible}.history-filter-toggle{align-self:start;display:block}.history-filters:not(.filters-open){display:none}.history-table-scroll table{min-width:0;display:block}.history-table-scroll thead{display:none}.history-table-scroll tbody{display:block}.history-table-scroll tr{border-bottom:1px solid #334155;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:14px 0;display:grid}.history-table-scroll td{border:0;padding:0}.history-table-scroll td:first-child{grid-column:1/-1;font-size:12px}.history-table-scroll td:nth-child(2){grid-area:2/1/auto/3}.history-table-scroll td:last-child{grid-area:2/3}.history-table-scroll td:nth-child(6){grid-area:4/1/auto/-1}.history-table-scroll td:nth-child(7){color:#cbd5e1;grid-column:1/-1;font-size:12px}.history-summary{max-width:100%}.history-phone{white-space:normal}.history-workspace .history-dialog{border-radius:0;width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0}.history-dialog>header{flex-shrink:0}.history-dialog .customer-records{min-height:0}.history-dialog .records-editor{flex:none;width:100%;min-height:0}.history-dialog .records-toolbar>span{white-space:normal;overflow:visible}}.history-dialog>header button{border:1px solid #475569;border-radius:6px;min-height:44px;padding:8px 12px}.history-dialog>header{flex-wrap:wrap;gap:12px}.followup-request-dialog{width:min(620px,100vw - 24px);height:auto;max-height:calc(100dvh - 24px)}.history-dialog.followup-request-dialog{height:fit-content}.history-dialog{max-width:calc(100vw - 24px)}@media (max-width:600px){.history-dialog:not(.followup-request-dialog){max-width:100vw}}.history-dialog .customer-info-header>div:first-child>span:first-child{display:flex}.history-dialog .records-toolbar button,.history-dialog .recording-player button{min-width:44px;min-height:44px}.history-dialog .editor-readonly .se-hint{display:none!important}
.followup-workspace{color:#f1f5f9;scrollbar-color:#64748b #0f172a;caret-color:#a5b4fc;background:#0f172a;flex-direction:column;flex:1;min-width:0;min-height:0;padding:24px;font-size:14px;line-height:1.65;display:flex;overflow-y:auto}.followup-workspace[hidden]{display:none}.followup-detail-dialog{color:#f1f5f9;background:#0f172a;border:1px solid #475569;border-radius:12px;width:min(880px,100vw - 32px);max-height:calc(100dvh - 32px);margin:auto;padding:24px;overflow:auto}.followup-detail-dialog::backdrop{background:#020617cc}.followup-detail-dialog .followup-detail{border:0;padding:0}.followup-table-scroll{min-height:180px;overflow:auto}.followup-table-scroll table{border-collapse:collapse;text-align:left;width:100%;font-size:13px}.followup-table-scroll th,.followup-table-scroll td{border-bottom:1px solid #334155;padding:12px}.followup-table-scroll th{white-space:nowrap;background:#1e293b}.followup-table-scroll tr:hover{background:#1e293b}@media (max-width:700px){.followup-detail-dialog{padding:16px}.followup-table-scroll table,.followup-table-scroll tbody{display:block}.followup-table-scroll thead{display:none}.followup-table-scroll tr{border-bottom:1px solid #334155;grid-template-columns:1fr 1fr;gap:8px;padding:16px 0;display:grid}.followup-table-scroll td{border:0;padding:0}.followup-table-scroll td:first-child,.followup-table-scroll td:nth-child(5),.followup-table-scroll td:nth-child(6){grid-column:1/-1}.followup-table-scroll td:last-child{grid-column:2;justify-self:end}}.followup-workspace ::selection,.followup-request ::selection{color:#fff;background:#4338ca}.followup-workspace header,.followup-filters,.followup-actions{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.followup-workspace h1{font-size:24px;font-weight:650}.followup-workspace h2{margin-bottom:12px;font-size:20px;font-weight:600}.followup-workspace h3{margin:24px 0 8px;font-size:16px;font-weight:600}.followup-workspace p,.followup-request p{color:#cbd5e1;overflow-wrap:anywhere;max-width:75ch;margin:8px 0}.followup-workspace button,.followup-request button{color:#f8fafc;background:#334155;border-radius:8px;min-height:44px;padding:8px 12px}.followup-workspace button:hover,.followup-request button:hover{background:#475569}.followup-workspace .followup-primary,.followup-request .followup-primary{background:#4338ca}.followup-workspace .followup-primary:hover,.followup-request .followup-primary:hover{background:#3730a3}.followup-workspace :focus-visible,.followup-request :focus-visible{outline-offset:3px;outline:2px solid #a5b4fc}.followup-workspace label,.followup-request label{color:#cbd5e1;gap:4px;min-width:0;display:grid}.followup-workspace input,.followup-workspace select,.followup-workspace textarea,.followup-request input,.followup-request textarea{color:#f1f5f9;width:100%;min-width:0;min-height:44px;font:inherit;background:#1e293b;border:1px solid #64748b;border-radius:8px;padding:8px 12px}.followup-workspace textarea,.followup-request textarea{resize:vertical}.followup-workspace input[type=datetime-local],.followup-request input[type=datetime-local]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}.followup-workspace fieldset,.followup-request fieldset{border:0;gap:12px;min-width:0;display:grid}.followup-workspace fieldset:disabled,.followup-request fieldset:disabled{opacity:.7}.followup-workspace .followup-error,.followup-request .followup-error{color:#fecaca}.followup-filters{justify-content:flex-start;align-items:end;margin:20px 0}.followup-filters label{min-width:160px}.followup-columns{grid-template-columns:minmax(240px,340px) minmax(0,1fr);align-items:start;gap:24px;display:grid}.followup-list{list-style:none}.followup-list li{border-bottom:1px solid #334155}.followup-list button{text-align:left;background:0 0;border-radius:0;width:100%;padding:16px 12px}.followup-list button[aria-pressed=true]{background:#1e293b}.followup-list strong,.followup-list span{overflow-wrap:anywhere;display:block}.followup-list span{color:#cbd5e1;margin-top:4px;font-size:13px}.followup-detail{border-left:1px solid #334155;min-width:0;padding-left:24px}.followup-detail dl{grid-template-columns:100px minmax(0,1fr);gap:8px 16px;margin:16px 0;display:grid}.followup-detail dt{color:#cbd5e1}.followup-detail dd{overflow-wrap:anywhere}.followup-detail form{gap:12px;margin:16px 0 24px;display:grid}.followup-detail .followup-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.followup-actions{justify-content:flex-start}.followup-text{white-space:pre-wrap}.followup-history{list-style:none}.followup-history>li{border-bottom:1px solid #334155;padding:16px 0}.followup-history details{margin-top:8px}.followup-history summary{cursor:pointer;min-height:44px;padding:8px 0}.followup-request{-webkit-user-select:text;user-select:text;caret-color:#a5b4fc;scrollbar-color:#64748b #0f172a;padding:16px;font-size:14px;line-height:1.65}.followup-request .followup-actions{margin-top:12px}.followup-request textarea{min-height:88px}.workspace-main-hidden{display:none!important}.followup-context-actions{flex-shrink:0;min-height:0;max-height:70%;overflow-y:auto}.followup-workspace summary{cursor:pointer;min-height:44px;padding:8px 0}.followup-workspace button:disabled,.followup-request button:disabled{opacity:.55;cursor:default}@media (max-width:900px){.followup-columns{grid-template-columns:1fr}.followup-detail{border-top:1px solid #334155;border-left:0;padding:20px 0 0}.followup-list{max-height:300px;overflow-y:auto}}@media (max-width:767px){.followup-workspace{padding:16px}.followup-workspace input,.followup-workspace select,.followup-workspace textarea,.followup-request input,.followup-request textarea{font-size:16px}.followup-detail .followup-form-grid{grid-template-columns:1fr}.followup-filters label{flex:1;min-width:120px}}
