@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap');
:root{font-family:'DM Sans',sans-serif;color:#f1f1f2;background:#17191c;font-synthesis:none;--bg:#17191c;--panel:#202327;--side:#1c1e22;--line:#34373d;--muted:#9b9fa7;--text:#f1f1f2;--accent:#ee9b75;--input:#1a1c20;--soft:#292c31;--teal:#82cbbb;color-scheme:dark}
:root[data-theme=light]{--bg:#f5f5f3;--panel:#fff;--side:#eeefed;--line:#dcdfdf;--muted:#626a71;--text:#22282c;--accent:#b75029;--input:#f6f7f5;--soft:#e8eae7;--teal:#277e6b;color:var(--text);background:var(--bg);color-scheme:light}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--accent);outline-offset:3px}button{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:0}.ui-icon{height:19px;width:19px;flex-shrink:0}h1,h2,h3,p{margin:0}h1,h2,.brand{font-family:'Manrope',sans-serif}h1{font-size:32px;font-weight:650;letter-spacing:-1.1px}h2{font-size:17px;font-weight:650;letter-spacing:-.3px}p,small{color:var(--muted)}small{font-size:12px}label{display:block;font-size:13px;font-weight:500}input,select{width:100%;border:1px solid var(--line);background:var(--input);color:var(--text);border-radius:8px;padding:12px 13px}input{margin-top:8px}input[readonly]{color:var(--muted)}.primary,.secondary{padding:11px 16px;border-radius:8px;font-size:13px;font-weight:650;white-space:nowrap}.primary{background:var(--accent);color:#191c1f}.secondary{border:1px solid var(--line);color:var(--text);background:transparent}.primary:hover{filter:brightness(1.08)}.secondary:hover,.icon-button:hover{background:var(--soft)}.brand{display:flex;align-items:center;gap:11px;font-size:23px;font-weight:750;letter-spacing:-.7px}.brand span{display:block;font-family:'DM Sans',sans-serif;font-size:8px;font-weight:600;letter-spacing:2.2px;color:var(--muted);margin-top:1px}.brandmark{width:36px;height:39px;background:var(--accent);color:#202327;border-radius:12px 3px 12px 3px;font-size:27px;display:grid;place-items:center;font-weight:800}.shell{display:grid;grid-template-columns:238px minmax(0,1fr);min-height:100vh}.sidebar{padding:30px 19px 18px;background:var(--side);border-right:1px solid var(--line);display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.sidebar .brand{margin-left:9px}.workspace{display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:9px;padding:12px 10px;font-size:12px;margin:34px 0 29px}.workspace span:not(.workspace-icon){display:block;color:var(--muted);font-size:10px;margin-top:4px}.workspace-icon{display:grid;place-items:center;background:var(--soft);border:1px solid var(--line);border-radius:6px;width:30px;height:30px;font-size:10px}.nav-label{font-size:9px;letter-spacing:1.6px;color:var(--muted);margin:0 12px 12px}.nav-item{padding:13px 12px;width:100%;border-radius:7px;display:flex;justify-content:flex-start;gap:12px;color:var(--muted);font-size:13px;background:none;margin:3px 0}.nav-item.selected{background:#ed986c17;color:var(--accent)}.nav-count{margin-left:auto;background:var(--soft);padding:2px 6px;border-radius:4px;font-size:10px}.upcoming{margin-top:32px}.planned{opacity:.65}.soon{font-size:8px;border:1px solid var(--line);padding:3px 5px;border-radius:4px;margin-left:auto}.sidebar-bottom{margin-top:auto;padding-top:30px}.phase{padding:14px 11px;font-size:11px;border:1px solid var(--line);border-radius:8px;margin-bottom:15px}.dot{height:6px;width:6px;border-radius:50%;display:inline-block;background:var(--teal);margin-right:6px}.phase p{font-size:10px;line-height:1.8;margin-top:8px}.topbar{height:79px;border-bottom:1px solid var(--line);padding:0 36px;display:flex;justify-content:space-between;align-items:center;font-size:11px;color:var(--muted)}.topbar b{font-weight:400;color:var(--text);margin-left:8px}.top-actions{display:flex;align-items:center;gap:20px}.icon-button{background:transparent;color:var(--muted);padding:7px;border-radius:6px}.admin-tag{font-size:10px}.avatar{height:29px;width:29px;background:#654d40;color:#f9d9c7;border:1px solid #8c6c56;border-radius:50%;display:grid;place-items:center;font-size:11px}.content{max-width:1490px;margin:auto;padding:38px 36px 0}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:26px}.eyebrow{font-size:9px;letter-spacing:1.8px;color:var(--accent);font-weight:650}.page-heading h1{margin-top:10px}.page-heading p{margin-top:10px;font-size:13px}.notice{border:1px solid #4c4138;background:#a97a4210;border-radius:9px;display:flex;align-items:center;gap:13px;padding:15px 18px;margin-bottom:25px}.notice-symbol{color:var(--accent);border:1px solid var(--accent);border-radius:50%;width:18px;height:18px;flex-shrink:0;display:grid;place-items:center;font-size:11px}.notice p{font-size:11px;line-height:1.7}.notice strong{font-weight:550;color:var(--text);display:block}.outline-badge{font-size:9px;border:1px solid var(--line);border-radius:5px;padding:6px 9px;white-space:nowrap;color:var(--muted)}.notice .outline-badge{margin-left:auto;color:var(--accent);border-color:#62503d}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:17px;margin-bottom:27px}.stats article{background:var(--panel);border:1px solid var(--line);padding:20px 22px;border-radius:10px}.stat-label{font-size:12px;color:var(--muted);display:flex;justify-content:space-between;align-items:center}.stat-label svg{width:17px;height:17px}.stats strong{font-size:34px;letter-spacing:-1px;font-weight:550;display:block;margin:12px 0 8px}.stats small{font-size:10px}.stat-unit{font-size:18px;color:var(--muted);font-weight:400}.muted{color:var(--muted)}.panel{background:var(--panel);border:1px solid var(--line);border-radius:10px}.panel-heading{padding:23px 24px;display:flex;align-items:center;justify-content:space-between}.panel-heading p{font-size:11px;margin-top:6px}.count{display:inline-block;font-size:10px;font-family:'DM Sans',sans-serif;color:var(--muted);margin-left:7px;padding:3px 7px;border-radius:5px;background:var(--soft);vertical-align:middle}.table-tools{padding:0 24px 20px;display:flex;gap:12px}.search{position:relative;max-width:330px;flex:1}.search svg{position:absolute;left:12px;top:11px;width:16px;height:16px;color:var(--muted)}.search input{padding:10px 12px 10px 36px;margin:0;font-size:11px}.table-tools select{width:180px;font-size:11px;padding:10px}.table-wrap{position:relative;overflow-x:auto}table{border-collapse:collapse;width:100%;text-align:left;white-space:nowrap}th{padding:12px 24px;color:var(--muted);font-size:10px;font-weight:450;border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:var(--input)}td{padding:22px 24px;border-bottom:1px solid var(--line);font-size:12px}.business{display:flex;gap:12px;align-items:center}.business-avatar{background:#a8795322;border:1px solid #b08a6433;color:#e4b997;border-radius:10px;width:39px;height:39px;display:grid;place-items:center;font-size:12px;font-weight:650}.business-avatar.teal{background:#598f8c20;color:var(--teal);border-color:#598f8c33}.business strong{font-weight:500;font-size:12px}.business small{display:block;font-size:10px;margin-top:5px}.plan{color:var(--muted);border:1px solid var(--line);padding:4px 7px;border-radius:5px;font-size:10px}.status{display:inline-flex;align-items:center;gap:6px;font-size:10px;color:var(--muted);background:var(--soft);padding:5px 8px;border-radius:5px}.status span{width:5px;height:5px;background:var(--muted);border-radius:50%}.status.enabled{background:#417d6630;color:var(--teal)}.status.enabled span{background:var(--teal)}.allowance{font-size:12px;font-weight:500}.per-month{display:block;margin-top:4px;font-size:9px}.manage{background:none;color:var(--muted);font-size:11px;padding:5px 0}.manage svg{width:13px;height:13px}.manage:hover{color:var(--accent)}.table-footer{padding:15px 24px;font-size:10px;color:var(--muted);display:flex;align-items:center;gap:7px}.table-footer svg{width:12px;height:12px}.bottom-grid{display:grid;grid-template-columns:1.55fr 1fr;gap:20px;margin-top:24px}.next-step,.insight{padding:25px}.next-step h2{font-size:19px;margin-top:13px}.next-step p,.insight p{font-size:11px;line-height:1.8;margin-top:11px;max-width:450px}.steps{display:flex;gap:18px;margin-top:24px}.steps span{font-size:10px;color:var(--muted)}.steps b{font-weight:400;display:block;font-size:9px;margin-top:8px}.steps .done{color:var(--teal)}.insight h2{margin-top:13px;font-size:15px}.insight .outline-badge{display:inline-block;margin-top:15px}.icon-box{display:grid;place-items:center;width:35px;height:35px;border-radius:9px;background:#ed986c14;color:var(--accent)}.page-footer{display:flex;justify-content:space-between;font-size:9px;color:var(--muted);padding:28px 0}.empty{text-align:center;color:var(--muted);height:125px}.login{min-height:100vh;display:grid;grid-template-columns:1.1fr 1fr}.login-story{padding:55px 65px;background:radial-gradient(ellipse at 0 85%,#b66c4820,transparent 55%),var(--side);display:flex;flex-direction:column;justify-content:space-between;border-right:1px solid var(--line)}.login-story h1{font-size:49px;line-height:1.25;letter-spacing:-2px;margin:20px 0}.login-story em{font-style:normal;color:var(--accent)}.login-story p{max-width:420px;font-size:14px;line-height:1.9}.story-line{font-size:11px;color:var(--muted);margin-top:35px;display:flex;align-items:center;gap:12px}.story-line span{height:1px;width:35px;background:var(--accent)}.login-side{display:grid;place-items:center;padding:40px}.login-card{width:100%;max-width:355px}.login-card h2{font-size:28px;margin-top:24px}.login-card>p{font-size:13px;margin:10px 0 30px}.login-card label{margin-top:20px}.wide{width:100%;justify-content:space-between;margin-top:8px}.login-card>small{display:block;margin-top:23px;line-height:1.8;font-size:11px}.error{font-size:12px;color:#f09b94;line-height:1.6;min-height:20px;margin:13px 0}.loading{padding:40px;color:var(--muted)}dialog{padding:0;border:1px solid var(--line);border-radius:14px;background:var(--panel);color:var(--text);width:min(620px,calc(100% - 28px));max-height:90vh}dialog::backdrop{background:#0009;backdrop-filter:blur(4px)}.editor-heading{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:25px}.editor-heading h2{font-size:21px;margin-top:8px}.close{color:var(--muted);font-size:26px;background:none;padding:5px}.editor-body{padding:22px 25px}.editor-note{font-size:11px;line-height:1.7;background:var(--input);padding:12px;border-radius:6px;margin-bottom:20px}.editor-body>label{margin-top:17px}.two-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:19px}.two-fields label{min-width:0}.two-fields input{font-size:12px}.editor-body hr{border:0;border-top:1px solid var(--line);margin:25px 0}.switch-row{display:flex;justify-content:space-between;align-items:center;gap:20px}.switch-row strong{font-size:13px;font-weight:500}.switch-row p{font-size:11px;margin-top:7px}.switch{position:relative;display:block;width:40px;height:23px;flex-shrink:0}.switch input{opacity:0;position:absolute;inset:0;margin:0;cursor:pointer}.switch span{display:block;border-radius:20px;background:var(--line);height:23px;pointer-events:none}.switch span:before{content:'';position:absolute;width:17px;height:17px;border-radius:50%;top:3px;left:3px;background:#b3b7bc;transition:.15s}.switch input:checked+span{background:var(--teal)}.switch input:checked+span:before{transform:translateX(17px);background:#142b26}.switch input:focus-visible+span{outline:2px solid var(--accent);outline-offset:3px}.field-help{font-size:10px;line-height:1.7;margin-top:12px}.editor-footer{display:flex;justify-content:flex-end;gap:10px;border-top:1px solid var(--line);padding:18px 25px}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);max-width:90%;padding:14px 20px;border-radius:8px;background:var(--text);color:var(--bg);box-shadow:0 10px 40px #0005;font-size:12px;opacity:0;pointer-events:none;z-index:5}#toast.show{opacity:1}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
@media(min-width:1500px){.content{padding-top:48px}.page-heading{margin-bottom:32px}.stats article{padding:25px}.stats{margin-bottom:30px}td{padding-top:27px;padding-bottom:27px}}
@media(max-width:1150px){.shell{grid-template-columns:205px minmax(0,1fr)}.sidebar{padding:25px 13px}.content{padding:28px 23px 0}.topbar{padding:0 23px}th,td{padding-left:17px;padding-right:17px}.bottom-grid{grid-template-columns:1fr}.steps{gap:35px}.login-story{padding:40px}.login-story h1{font-size:38px}.notice .outline-badge{display:none}}
@media(max-width:760px){.shell{display:block}.sidebar{height:auto;position:static;border-right:0;border-bottom:1px solid var(--line);padding:15px 20px;display:flex;flex-direction:row;align-items:center;justify-content:space-between}.sidebar .brand{margin:0;font-size:19px}.sidebar .brandmark{width:29px;height:32px;font-size:22px}.sidebar .workspace,.sidebar .nav-label,.sidebar .planned,.sidebar .phase{display:none}.sidebar nav{display:flex;margin-left:auto}.sidebar .nav-item{font-size:0;width:auto;padding:10px}.sidebar .nav-item svg{width:20px;height:20px}.sidebar .nav-count{display:none}.sidebar-bottom{margin:0;padding:0}.topbar{height:55px;padding:0 20px}.top-actions{gap:10px}.admin-tag{display:none}.content{padding:25px 18px 0}.page-heading{align-items:flex-start}.page-heading h1{font-size:25px;max-width:270px}.page-heading p{font-size:12px;line-height:1.7}.page-heading .primary{font-size:11px;padding:10px}.page-heading .primary svg{display:none}.eyebrow{font-size:8px}.stats{gap:9px;grid-template-columns:1fr 1fr}.stats article{padding:15px}.stats article:last-child{grid-column:1/-1}.stats article:last-child strong{font-size:24px;margin:5px 0}.stat-label{font-size:10px}.stats strong{font-size:28px}.stats small{font-size:9px}.notice{padding:13px;align-items:flex-start}.notice p{font-size:10px}.notice-symbol{margin-top:3px}.panel-heading{padding:19px 16px}.table-tools{padding:0 16px 18px;gap:9px}.table-tools select{width:138px;font-size:10px}.search input{font-size:10px}.panel-heading .secondary{font-size:0;padding:7px}.table-footer{font-size:9px;padding:13px 16px}.steps{gap:14px}.next-step,.insight{padding:21px}.page-footer{font-size:8px}.login{display:block}.login-story{min-height:210px;padding:25px}.login-story>div:not(.brand){margin-top:25px}.login-story h1{font-size:29px;margin:10px 0}.login-story p,.login-story .story-line,.login-story>small,.login-story .eyebrow{display:none}.login-side{padding:35px 25px}.login-card h2{margin-top:15px;font-size:25px}.two-fields{grid-template-columns:1fr}.editor-heading,.editor-body{padding:20px}.editor-heading h2{font-size:18px}}
:root[data-theme=light] .primary{color:#fff}:root[data-theme=light] .business-avatar{color:#8e5125}:root[data-theme=light] .error{color:#b32929}
.editor-body textarea {
  display:block;width:100%;margin-top:8px;padding:12px 13px;border:1px solid var(--line);
  background:var(--input);color:var(--text);border-radius:8px;font:inherit;line-height:1.6;resize:vertical;
}
.editor-body textarea:focus-visible {outline:2px solid var(--accent);outline-offset:3px}
.editor-body label > select {margin-top:8px}
.lead-list {display:grid;gap:12px;margin-top:14px}
.lead-card {border:1px solid var(--line);border-radius:8px;padding:14px}
.lead-card h3 {font-size:15px;overflow-wrap:anywhere}
.lead-card p {white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;margin-top:8px}
.lead-card label {display:block;margin-top:12px;max-width:180px}
.lead-pages {display:flex;gap:8px;margin-top:14px}
@media(max-width:375px){.sidebar{padding-inline:10px}.sidebar .nav-item{padding:7px}}
.lead-email-choice input {width:auto;margin-right:8px}

.lead-filters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.lead-filters select { min-width: 0; text-overflow: ellipsis; }

@media (max-width: 760px) {
  .sidebar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 12px;
    padding: 12px 16px 8px;
  }
  .sidebar-bottom { grid-column: 2; grid-row: 1; }
  .sidebar nav {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
    margin: 0;
  }
  .sidebar nav .nav-item:not(.planned) {
    width: 100%;
    min-height: 44px;
    padding: 6px 2px;
    justify-content: center;
    flex-direction: column;
    gap: 3px;
    font-size: 10px;
  }
  .sidebar-bottom .nav-item { min-width: 44px; min-height: 44px; }
  :root { overflow-x: hidden; overflow-x: clip; }
  .main, .panel, .search, .page-heading > div { min-width: 0; }
  .page-heading h1, .panel-heading > div, .editor-heading h2 { overflow-wrap: anywhere; }
  .page-heading { flex-wrap: wrap; gap: 12px; }
  .page-heading h1 { max-width: none; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-label { gap: 4px; }
  .table-wrap, .activity-plot, #report-chart-scroll, .report-table-scroll {
    max-width: 100%;
    overscroll-behavior-x: contain;
  }
  .table-tools { flex-wrap: wrap; }
  .table-tools .search { flex: 1 1 150px; }
  .table-tools select { flex: 1 1 112px; min-width: 0; }
  .steps { flex-wrap: wrap; }
  dialog { max-height: 90dvh; }
  .lead-filters { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  input:not([type=checkbox]), select, .editor-body textarea { font-size: 16px; }
  .search input, .table-tools select, .two-fields input { font-size: 16px; }
}
.source-body > label {margin:14px 0}
.source-row {
  display:flex;align-items:flex-start;justify-content:space-between;gap:12px;
  border:1px solid var(--line);border-radius:8px;padding:12px;margin:10px 0;
}
.source-row > div:first-child {min-width:0;overflow-wrap:anywhere}
.source-row p {margin:4px 0;font-size:12px}
.source-buttons {display:flex;flex-wrap:wrap;gap:8px}
.source-body fieldset {min-width:0;border:0;padding:0;margin:16px 0 0}
.source-body fieldset label {display:block;margin:12px 0}
.source-body fieldset input {max-width:100%}
.source-body [hidden] {display:none!important}
@media(max-width:760px){.source-row{flex-direction:column}}

.conversation-filters {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.conversation-filters select {min-width:0}
.recording-setting {border-bottom:1px solid var(--line);padding:0 0 14px;margin:12px 0}
.recording-setting button {margin-top:8px}
.conversation-body [hidden] {display:none!important}
.conversation-row {display:grid;text-align:left;justify-content:stretch;gap:6px;width:100%;padding:12px;margin:8px 0;border:1px solid var(--line);border-radius:8px;background:var(--panel);color:var(--text);overflow-wrap:anywhere}
.conversation-row:hover {border-color:var(--accent)}
#conversation-detail h3 {margin:12px 0 4px}
.transcript-turns {display:grid;gap:10px;margin:14px 0}
.transcript-turn {border:1px solid var(--line);border-radius:8px;padding:12px}
.transcript-turn p {margin:0;line-height:1.5}
.transcript-turn p+p {margin-top:12px}
.transcript-turn span {display:block;white-space:pre-wrap;overflow-wrap:anywhere;margin-top:4px}
.transcript-leads {display:flex;flex-wrap:wrap;gap:8px}
.transcript-leads button {white-space:normal;overflow-wrap:anywhere;text-align:left}
#show-all-leads {margin-bottom:14px}
@media(max-width:760px){.sidebar nav{grid-template-columns:repeat(3,minmax(0,1fr))}}

.report-filters,.report-results {display:grid;gap:12px}
.report-filters label {min-width:0}
.report-filters select {min-width:0;text-overflow:ellipsis}
#report-range {margin:12px 0}
#report-status {font-size:13px}
#report-status:empty {margin:0}
.report-body [hidden] {display:none!important}
.report-metric {min-width:0;border:1px solid var(--line);border-radius:8px;padding:12px}
.report-metric h3 {font-size:14px;margin:0;color:var(--text)}
.report-metric strong {display:block;font-size:28px;line-height:1.2;margin:8px 0;font-variant-numeric:tabular-nums}
.report-metric p {font-size:12px;margin:0}
#report-note {margin:12px 0 0}

dialog:has(.report-body) {width:min(940px,calc(100% - 24px))}
.report-body,.report-print,.overview-report {
  --chart-chats:#6662b9;
  --chart-leads:#267a67;
  --chart-rate:#a63c16;
}
:root:not([data-theme=light]) :is(.report-body,.overview-report) {
  --chart-chats:#a7a4fa;
  --chart-leads:#60cbb1;
  --chart-rate:#f39d79;
}
.report-filters {grid-template-columns:repeat(4,minmax(0,1fr))}
.report-filters select {width:100%}
.report-results {grid-template-columns:repeat(4,minmax(0,1fr))}
.report-actions {display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.report-actions button {min-height:44px}
.report-body h3 {color:var(--text)}
.report-trend,.report-breakdown {margin-top:20px}
.report-section-heading {display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px}
.report-section-heading h3,.report-breakdown h3 {margin:0;font-size:15px}
.report-section-heading select {width:auto;min-height:44px}
.report-key {display:flex;gap:16px;flex-wrap:wrap;color:var(--muted);font-size:12px;margin:12px 0 6px}
.report-key span::before {content:'';display:inline-block;width:9px;height:9px;margin-right:6px;border-radius:2px;background:currentColor}
.report-key-chats::before {color:var(--chart-chats)}
.report-key-leads::before {color:var(--chart-leads)}
.report-key-rate::before {color:var(--chart-rate)}
#report-chart-scroll,.report-table-scroll {overflow-x:auto;border:1px solid var(--line);border-radius:8px}
#report-chart-scroll:focus-visible,.report-table-scroll:focus-visible {outline:2px solid var(--accent);outline-offset:2px}
.report-chart {display:block}
.report-chart text {font:11px system-ui,sans-serif;fill:var(--muted)}
.report-grid {stroke:var(--line)}
.report-bar-chats {fill:var(--chart-chats)}
.report-bar-leads {fill:var(--chart-leads)}
.report-rate-line {fill:none;stroke:var(--chart-rate);stroke-width:2}
.report-rate-point {fill:var(--chart-rate)}
.report-chart-hit {fill:transparent;cursor:crosshair}
.report-chart-hit[data-inspecting] {fill:var(--muted);fill-opacity:.14}
.report-chart-empty {margin:12px;padding:8px 0}
#report-chart-detail {margin:8px 0;min-height:1.3em}
.report-table-scroll {margin-top:10px}
.report-table {min-width:0;white-space:normal}
.report-table th,.report-table td {padding:9px 10px;text-align:right;border-bottom:1px solid var(--line)}
.report-table tr > :first-child {text-align:left;overflow-wrap:anywhere}
.report-table tbody th {font-weight:500}
.report-table tbody tr:last-child > * {border-bottom:0}
.report-table thead th {white-space:nowrap}
.report-table th button {font-size:inherit;background:transparent;color:inherit;border:0;padding:0;min-height:32px}
.report-table th button:hover,.report-table th[aria-sort] button {color:var(--accent)}
.report-print {display:none}
@media(max-width:760px) {
  .report-filters {grid-template-columns:repeat(2,minmax(0,1fr))}
  .report-results {grid-template-columns:repeat(2,minmax(0,1fr))}
  .report-metric:last-child {grid-column:1/-1}
}
@media(max-width:390px) {
  .report-results {grid-template-columns:minmax(0,1fr)}
}
@media print {
  body:has(.report-print) > :not(.report-print) {display:none!important}
  :root:has(.report-print),body:has(.report-print) {
    color-scheme:light!important;background:white!important;color:#20242a!important;overflow:visible!important;
  }
  .report-print {
    display:block;--muted:#45515c;--text:#20242a;--line:#ccd2d9;
    color:#20242a;font:10pt system-ui,sans-serif;print-color-adjust:exact;-webkit-print-color-adjust:exact;
  }
  .report-print header {margin-bottom:14px}
  .report-print h1 {font-size:19pt;margin:4px 0 5px;color:inherit}
  .report-print h2 {font-size:12pt;margin:12px 0 4px;color:inherit;break-after:avoid}
  .report-print p {color:inherit;margin:0}
  .report-print-metrics {display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
  .report-print-metrics div {border:1px solid var(--line);padding:8px}
  .report-print-metrics strong {font-size:16pt}
  .report-print section {break-inside:avoid}
  .report-print .report-chart {width:100%;height:auto;max-height:155px}
  .report-print .report-key {margin:4px 0}
  .report-print-note {margin-top:8px!important;font-size:9pt}
  .report-print .report-table {background:white;color:inherit}
  .report-print .report-table thead {display:table-header-group}
  .report-print .report-table tr {break-inside:avoid}
  .report-print .report-table th,.report-print .report-table td {background:white;color:inherit;padding:5px 7px}
}

.overview-report {margin-top:24px;min-width:0}
.overview-report-body {padding:0 24px 20px}
.overview-report [hidden] {display:none!important}
.overview-report .report-filters select {margin-top:6px;min-height:38px}
.activity-status {display:flex;align-items:center;gap:12px}
.activity-status p {margin:12px 0}
.activity-status p:empty {margin:0}
.activity-metrics {
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0 0;
}
.activity-metrics div {border:1px solid var(--line);border-radius:8px;padding:12px 14px;min-width:0}
.activity-metrics dt {font-size:12px;color:var(--muted);overflow-wrap:anywhere}
.activity-metrics dd {margin:5px 0 0;font-size:25px;font-weight:650;font-variant-numeric:tabular-nums}
.activity-chart-heading {display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 16px;margin:16px 0 6px}
.activity-chart-heading .report-key,.activity-chart-heading p {margin:0;color:var(--muted);font-size:12px}
.activity-chart-heading select {width:auto;min-height:38px}
.activity-chart-heading p {margin-top:4px}
.activity-plot {border:1px solid var(--line);border-radius:8px;overflow-x:auto;background:var(--panel)}
.activity-plot:focus-visible {outline:2px solid var(--accent);outline-offset:2px}
.overview-report [data-detail] {margin:8px 0 0;min-height:1.3em}
.report-volume-line {fill:none;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.report-line-chats {stroke:var(--chart-chats)}
.report-line-leads {stroke:var(--chart-leads);stroke-dasharray:5 3}
.report-dot-chats {fill:var(--chart-chats)}
.report-dot-leads {fill:var(--panel);stroke:var(--chart-leads);stroke-width:1.5}
@media(max-width:520px) {
  .overview-report-body {padding-inline:14px}
  .activity-metrics {gap:6px}
  .activity-metrics div {padding:9px}
}
.overview-report .panel-heading {gap:12px}
.overview-report .panel-heading .secondary {font-size:12px;min-height:44px;padding:8px 12px}

.widget-setup [hidden] {display:none!important}
.widget-setup fieldset {border:0;margin:0 0 16px;padding:0;min-width:0}
.widget-setup legend,.widget-publish h3 {font-size:15px;font-weight:650;margin:0 0 10px}
.widget-setup label {min-width:0}
.widget-setup fieldset > label,.widget-setup fieldset .two-fields,.widget-publish > label {margin-bottom:10px}
.widget-setup textarea {resize:vertical}
.widget-setup [data-status] {margin:12px 0;color:var(--muted);font-size:13px}
.widget-setup-actions {display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}
.widget-setup-actions a {text-decoration:none}
.widget-publish {border-top:1px solid var(--line);padding-top:16px}
#customer-form .editor-footer {flex-wrap:wrap}

.plan-settings [hidden] {display:none!important}
.plan-settings form {margin-top:16px}
.plan-settings form label {margin:0 0 12px}
.plan-settings fieldset {border:0;padding:0;margin:0;min-width:0}
.plan-settings form + form {border-top:1px solid var(--line);padding-top:16px}
.plan-settings h3 {margin:0 0 10px}

[data-service-visit] {border-top:1px solid var(--line);margin-top:12px;padding-top:12px}
[data-service-visit] summary {cursor:pointer;font-size:14px}
[data-service-visit] [hidden] {display:none!important}
.visit-editor {margin-top:12px}
.visit-editor fieldset {border:0;padding:0;margin:0;min-width:0}
.visit-editor label,.visit-message label {display:block;margin-bottom:12px}
.visit-message {border-top:1px solid var(--line);padding-top:12px}
.visit-message textarea {resize:vertical}

.widget-brand-settings {border-top:1px solid var(--line);padding-top:16px}
.widget-brand-settings h3 {font-size:15px;font-weight:650;margin:0 0 10px}
.widget-brand-settings input[type="color"] {width:58px;height:38px;padding:4px}
.widget-setup fieldset:disabled {opacity:.68}

.widget-accent-fields {display:flex;align-items:flex-start;flex-wrap:wrap;gap:10px 18px}
.widget-accent-fields label {min-width:0}
.widget-accent-fields label input {display:block;margin-top:6px}
.widget-accent-fields input[name="accent_hex"] {width:128px;font-family:ui-monospace,monospace}

.portal-header {
  display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap;
  gap:16px; padding:16px max(18px, calc((100vw - 1120px) / 2));
  background:var(--side); border-bottom:1px solid var(--line);
}
.portal-content {max-width:1120px; margin:0 auto}
.portal-content .page-heading {align-items:start}
.portal-content .page-heading p, .portal-site h2 {overflow-wrap:anywhere}
.portal-actions {display:flex; flex-wrap:wrap; gap:8px}
.portal-actions button, .portal-access-form button {min-height:44px}
.portal-sites {display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%, 300px),1fr)); gap:16px}
.portal-site {display:flex; flex-direction:column; gap:20px; padding:20px; min-width:0}
.portal-site-heading {display:flex; align-items:baseline; justify-content:space-between; gap:12px}
.portal-site h2 {font-size:19px}
.portal-usage strong {font-size:26px}
.portal-usage small {display:block; margin-top:4px; color:var(--muted)}
.portal-site .portal-actions {margin-top:auto}
.portal-form-status {margin:12px 0; overflow-wrap:anywhere}
.portal-form-status:empty {display:none}
.portal-subheading {margin:16px 0 8px}
.portal-access-form {display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:end; gap:8px; margin-top:16px}
.portal-access-form > label, .portal-widget-form label {min-width:0}
.portal-member {display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px; padding:12px 0; border-top:1px solid var(--line)}
.portal-member span {min-width:0; overflow-wrap:anywhere}
.portal-widget-form {display:grid; gap:12px; margin-top:14px; justify-items:start}
.portal-widget-form .two-fields {width:100%}
#forgot-password {margin-top:14px}
@media (max-width:480px) {
  .portal-content .page-heading {flex-wrap:wrap}
  .portal-access-form {grid-template-columns:minmax(0,1fr)}
  .portal-header {padding-inline:16px}
}

#portal-retry[hidden] {display:none}

.portal-member-identity {display:grid;gap:4px;min-width:0}
.portal-member-identity small {color:var(--muted)}
#refresh-follow-ups {margin-top:10px}
#editor .close[hidden] {display:none}

[data-chat-buttons-form] {margin-block:20px}
[data-chat-buttons-form] fieldset {display:grid;gap:10px;min-width:0;border:0;padding:0;margin:0}
[data-chat-buttons-form] legend {font-weight:600;margin-bottom:8px}
.chat-button-row {min-height:30px}
.chat-button-row .switch input:disabled + span {opacity:.5}
[data-chat-buttons-form] button {justify-self:start}
[data-buttons-status]:empty {display:none}
