.handler-crm-root,.handler-crm-dialog{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#192923;background:#f4f6f3;font-synthesis:none;--green:#176447;--line:#dce3dd;--muted:#64736b;--mint:#d9eddf}:is(.handler-crm-root,.handler-crm-dialog) *{box-sizing:border-box}body:has(>#handler-crm[data-standalone]){margin:0}:is(.handler-crm-root,.handler-crm-dialog) button,:is(.handler-crm-root,.handler-crm-dialog) input,:is(.handler-crm-root,.handler-crm-dialog) select,:is(.handler-crm-root,.handler-crm-dialog) textarea{font:inherit}:is(.handler-crm-root,.handler-crm-dialog) a{color:inherit;text-decoration:none}:is(.handler-crm-root,.handler-crm-dialog) button,:is(.handler-crm-root,.handler-crm-dialog) a,:is(.handler-crm-root,.handler-crm-dialog) input,:is(.handler-crm-root,.handler-crm-dialog) select,:is(.handler-crm-root,.handler-crm-dialog) textarea{-webkit-tap-highlight-color:transparent}:is(.handler-crm-root,.handler-crm-dialog) button{cursor:pointer}:is(.handler-crm-root,.handler-crm-dialog) button:disabled{cursor:wait;opacity:.6}:is(.handler-crm-root,.handler-crm-dialog) a:focus-visible,:is(.handler-crm-root,.handler-crm-dialog) button:focus-visible,:is(.handler-crm-root,.handler-crm-dialog) input:focus-visible,:is(.handler-crm-root,.handler-crm-dialog) select:focus-visible,:is(.handler-crm-root,.handler-crm-dialog) textarea:focus-visible{outline:3px solid #75b68b;outline-offset:3px}:is(.handler-crm-root,.handler-crm-dialog) .skip{position:fixed;top:-100px;left:16px;padding:12px;background:white;z-index:20}:is(.handler-crm-root,.handler-crm-dialog) .skip:focus{top:12px}:is(.handler-crm-root,.handler-crm-dialog) .initial{padding:48px}:is(.handler-crm-root,.handler-crm-dialog) .shell{display:grid;grid-template-columns:224px minmax(0,1fr);min-height:100vh}:is(.handler-crm-root,.handler-crm-dialog) .sidebar{background:#18382c;color:#f2f7f0;padding:32px 20px;display:flex;flex-direction:column;gap:32px}:is(.handler-crm-root,.handler-crm-dialog) .brand{font-size:30px;font-weight:800;letter-spacing:-1.4px}:is(.handler-crm-root,.handler-crm-dialog) .brand span{display:block;font-size:10px;font-weight:500;letter-spacing:2px;margin-top:7px;color:#b8cdbf}:is(.handler-crm-root,.handler-crm-dialog) .sidebar nav{display:grid;gap:8px}:is(.handler-crm-root,.handler-crm-dialog) .sidebar nav a,:is(.handler-crm-root,.handler-crm-dialog) .sidebar nav button{display:flex;align-items:center;gap:12px;min-height:46px;width:100%;padding:12px;border:0;border-radius:9px;background:none;color:#c6d8cb;font-size:14px;text-align:left}:is(.handler-crm-root,.handler-crm-dialog) .sidebar nav [aria-current=page]{background:#d7eddf;color:#163e2b;font-weight:700}:is(.handler-crm-root,.handler-crm-dialog) .nav-icon{width:20px;display:inline-flex;justify-content:center}:is(.handler-crm-root,.handler-crm-dialog) .sidebar-bottom{margin-top:auto;color:#a8c2b0;font-size:12px;line-height:1.7}:is(.handler-crm-root,.handler-crm-dialog) .sidebar-bottom strong{display:block;color:#dfebe2;font-size:13px}:is(.handler-crm-root,.handler-crm-dialog) .topbar{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:20px 36px;background:#fff;border-bottom:1px solid var(--line)}:is(.handler-crm-root,.handler-crm-dialog) .workspace-label{font-size:13px;color:var(--muted)}:is(.handler-crm-root,.handler-crm-dialog) .workspace-label strong{color:#203b2b}:is(.handler-crm-root,.handler-crm-dialog) .profile{display:flex;align-items:center;gap:12px}:is(.handler-crm-root,.handler-crm-dialog) .avatar{width:38px;height:38px;display:grid;place-items:center;border-radius:50%;background:var(--mint);color:var(--green);font-weight:700}:is(.handler-crm-root,.handler-crm-dialog) .profile label{font-size:11px;color:var(--muted);display:grid;gap:5px}:is(.handler-crm-root,.handler-crm-dialog) .profile select{height:44px;min-width:180px;font-size:13px;background:#fff;border:1px solid var(--line);border-radius:8px;padding:0 12px;color:#203b2b}:is(.handler-crm-root,.handler-crm-dialog) .content{max-width:1500px;padding:32px 36px 60px;margin:auto}:is(.handler-crm-root,.handler-crm-dialog) .demo-note{display:flex;gap:8px;align-items:center;font-size:11px;color:var(--muted);margin:0 0 26px}:is(.handler-crm-root,.handler-crm-dialog) .demo-dot{width:6px;height:6px;border-radius:50%;background:var(--green)}:is(.handler-crm-root,.handler-crm-dialog) .heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px}:is(.handler-crm-root,.handler-crm-dialog) .eyebrow{font-size:10px;letter-spacing:1.8px;font-weight:700;color:var(--green);margin:0 0 10px}:is(.handler-crm-root,.handler-crm-dialog) .heading h1{font-size:34px;letter-spacing:-1.2px;margin:0 0 8px}:is(.handler-crm-root,.handler-crm-dialog) .heading p:not(.eyebrow){font-size:14px;color:var(--muted);margin:0;line-height:1.5}:is(.handler-crm-root,.handler-crm-dialog) .btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:12px 18px;border:1px solid var(--line);background:#fff;color:#294535;border-radius:9px;font-size:13px;font-weight:650}:is(.handler-crm-root,.handler-crm-dialog) .btn.primary{background:var(--green);color:#fff;border-color:var(--green)}:is(.handler-crm-root,.handler-crm-dialog) .btn:hover{border-color:var(--green)}:is(.handler-crm-root,.handler-crm-dialog) .metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:26px}:is(.handler-crm-root,.handler-crm-dialog) .metric{background:#fff;border:1px solid var(--line);border-radius:13px;padding:22px}:is(.handler-crm-root,.handler-crm-dialog) .metric span{font-size:12px;color:var(--muted)}:is(.handler-crm-root,.handler-crm-dialog) .metric strong{display:block;font-size:32px;letter-spacing:-1px;margin-top:12px}:is(.handler-crm-root,.handler-crm-dialog) .metric small{font-size:11px;color:var(--muted);display:block;margin-top:8px}:is(.handler-crm-root,.handler-crm-dialog) .panel{background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden}:is(.handler-crm-root,.handler-crm-dialog) .toolbar{padding:20px;display:grid;grid-template-columns:minmax(180px,1fr) 180px 190px;gap:12px;border-bottom:1px solid var(--line)}:is(.handler-crm-root,.handler-crm-dialog) .toolbar.seller{grid-template-columns:minmax(180px,1fr) 180px}:is(.handler-crm-root,.handler-crm-dialog) .field{display:grid;gap:7px;font-size:12px;color:#435b4d;min-width:0}:is(.handler-crm-root,.handler-crm-dialog) .field input,:is(.handler-crm-root,.handler-crm-dialog) .field select,:is(.handler-crm-root,.handler-crm-dialog) .field textarea{width:100%;height:46px;min-height:46px;min-width:0;border:1px solid var(--line);border-radius:8px;background:#fff;color:#203b2b;padding:10px 12px;font-size:14px}:is(.handler-crm-root,.handler-crm-dialog) .field select{appearance:none;padding-right:30px;background-image:linear-gradient(45deg,transparent 50%,#64736b 50%),linear-gradient(135deg,#64736b 50%,transparent 50%);background-position:calc(100% - 16px) 50%,calc(100% - 11px) 50%;background-size:5px 5px;background-repeat:no-repeat}:is(.handler-crm-root,.handler-crm-dialog) .field textarea{height:100px;resize:vertical}:is(.handler-crm-root,.handler-crm-dialog) .list-head,:is(.handler-crm-root,.handler-crm-dialog) .contact-row{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr) 130px 130px;align-items:center;gap:18px;padding:18px 22px}:is(.handler-crm-root,.handler-crm-dialog) .list-head{font-size:10px;text-transform:uppercase;letter-spacing:1px;color:var(--muted);background:#fafbf9}:is(.handler-crm-root,.handler-crm-dialog) .contact-row{border:0;border-top:1px solid #edf0eb;width:100%;text-align:left;color:inherit;background:white;font-size:13px}:is(.handler-crm-root,.handler-crm-dialog) .contact-row:hover{background:#f6faf5}:is(.handler-crm-root,.handler-crm-dialog) .contact-row strong{display:block;font-size:14px;font-weight:650;margin-bottom:5px;overflow-wrap:anywhere}:is(.handler-crm-root,.handler-crm-dialog) .contact-row small{color:var(--muted);font-size:12px;overflow-wrap:anywhere}:is(.handler-crm-root,.handler-crm-dialog) .contact-row>span{min-width:0;overflow-wrap:anywhere}:is(.handler-crm-root,.handler-crm-dialog) .stage{display:inline-block;justify-self:start;padding:6px 10px;border-radius:6px;background:#eef1eb;font-size:11px;font-weight:600;color:#556b58}:is(.handler-crm-root,.handler-crm-dialog) .stage.client{background:#e0efe5;color:#256144}:is(.handler-crm-root,.handler-crm-dialog) .empty{padding:54px 24px;text-align:center}:is(.handler-crm-root,.handler-crm-dialog) .empty h2{font-size:20px;margin:0 0 10px}:is(.handler-crm-root,.handler-crm-dialog) .empty p{font-size:14px;color:var(--muted);line-height:1.6;max-width:400px;margin:0 auto 20px}:is(.handler-crm-root,.handler-crm-dialog) .status{font-size:13px;line-height:1.5;padding:12px 16px;border-radius:8px;background:#e6f1e8;color:#225939;margin-bottom:20px}:is(.handler-crm-root,.handler-crm-dialog) .status.error{color:#8a342d;background:#f9eeeb}:is(.handler-crm-root,.handler-crm-dialog) .status:empty{display:none}:is(.handler-crm-root,.handler-crm-dialog) .footer-count{padding:16px 22px;color:var(--muted);font-size:12px;border-top:1px solid var(--line)}.handler-crm-dialog{border:1px solid var(--line);border-radius:16px;background:white;color:inherit;width:min(620px,calc(100% - 32px));max-height:90dvh;padding:28px}.handler-crm-dialog::backdrop{background:#10251b80;backdrop-filter:blur(3px)}:is(.handler-crm-root,.handler-crm-dialog) .dialog-head{display:flex;align-items:start;justify-content:space-between;gap:16px;margin-bottom:24px}:is(.handler-crm-root,.handler-crm-dialog) .dialog-head h2{margin:0 0 8px;font-size:24px;letter-spacing:-.6px}:is(.handler-crm-root,.handler-crm-dialog) .dialog-head p{font-size:13px;color:var(--muted);margin:0;line-height:1.5}:is(.handler-crm-root,.handler-crm-dialog) .close{background:#f1f4ee;color:#34523b;border:0;border-radius:8px;min-width:40px;min-height:40px;font-size:22px}:is(.handler-crm-root,.handler-crm-dialog) form{display:grid;gap:18px}:is(.handler-crm-root,.handler-crm-dialog) .pair{display:grid;grid-template-columns:1fr 1fr;gap:16px}:is(.handler-crm-root,.handler-crm-dialog) .form-actions{display:flex;justify-content:flex-end;gap:10px;border-top:1px solid var(--line);padding-top:20px;margin-top:6px}:is(.handler-crm-root,.handler-crm-dialog) .detail-meta{display:grid;grid-template-columns:1fr 1fr;gap:16px;padding:20px;background:#f6f8f4;border-radius:10px;margin-bottom:24px}:is(.handler-crm-root,.handler-crm-dialog) .detail-meta span{font-size:11px;color:var(--muted);display:block;margin-bottom:6px}:is(.handler-crm-root,.handler-crm-dialog) .detail-meta strong{font-size:14px;overflow-wrap:anywhere}:is(.handler-crm-root,.handler-crm-dialog) .section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:24px 0 16px}:is(.handler-crm-root,.handler-crm-dialog) .section-head h3{font-size:17px;margin:0}:is(.handler-crm-root,.handler-crm-dialog) .visit{border-top:1px solid var(--line);padding:18px 0}:is(.handler-crm-root,.handler-crm-dialog) .visit h4{font-size:14px;margin:0 0 8px}:is(.handler-crm-root,.handler-crm-dialog) .visit p{font-size:13px;line-height:1.6;margin:7px 0;color:#516959;overflow-wrap:anywhere}:is(.handler-crm-root,.handler-crm-dialog) .visit .followup{color:var(--green);font-weight:600}:is(.handler-crm-root,.handler-crm-dialog) .history-empty{color:var(--muted);font-size:13px;padding:20px 0}:is(.handler-crm-root,.handler-crm-dialog) .activity-list{display:grid;gap:14px}:is(.handler-crm-root,.handler-crm-dialog) .activity-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:22px;display:flex;gap:20px;align-items:center}:is(.handler-crm-root,.handler-crm-dialog) .date-block{min-width:50px;background:#e9f2e8;padding:12px;border-radius:9px;text-align:center;font-size:11px;color:var(--green)}:is(.handler-crm-root,.handler-crm-dialog) .date-block strong{display:block;font-size:22px;margin-bottom:4px}:is(.handler-crm-root,.handler-crm-dialog) .activity-card h2{font-size:16px;margin:0 0 6px}:is(.handler-crm-root,.handler-crm-dialog) .activity-card p{font-size:13px;color:var(--muted);margin:4px 0;overflow-wrap:anywhere}:is(.handler-crm-root,.handler-crm-dialog) .activity-card .btn{margin-left:auto;flex-shrink:0}:is(.handler-crm-root,.handler-crm-dialog) .inline-error{color:#8a342d;font-size:13px;line-height:1.5;min-height:0}:is(.handler-crm-root,.handler-crm-dialog) .inline-error:empty{display:none}
@media(max-width:1050px){:is(.handler-crm-root,.handler-crm-dialog) .shell{grid-template-columns:188px minmax(0,1fr)}:is(.handler-crm-root,.handler-crm-dialog) .content{padding:28px 24px}:is(.handler-crm-root,.handler-crm-dialog) .topbar{padding:18px 24px}:is(.handler-crm-root,.handler-crm-dialog) .toolbar{grid-template-columns:1fr 1fr}:is(.handler-crm-root,.handler-crm-dialog) .toolbar>.field:first-child{grid-column:1/-1}:is(.handler-crm-root,.handler-crm-dialog) .list-head,:is(.handler-crm-root,.handler-crm-dialog) .contact-row{grid-template-columns:minmax(0,1.5fr) 1fr 110px}:is(.handler-crm-root,.handler-crm-dialog) .list-head>:last-child,:is(.handler-crm-root,.handler-crm-dialog) .contact-row>:last-child{display:none}}
@media(max-width:700px){:is(.handler-crm-root,.handler-crm-dialog) .shell{display:block}:is(.handler-crm-root,.handler-crm-dialog) .sidebar{padding:20px 18px;gap:20px}:is(.handler-crm-root,.handler-crm-dialog) .brand{font-size:26px}:is(.handler-crm-root,.handler-crm-dialog) .brand span{display:inline;margin-left:10px;font-size:9px;letter-spacing:1px}:is(.handler-crm-root,.handler-crm-dialog) .sidebar nav{display:flex;overflow:auto;gap:8px}:is(.handler-crm-root,.handler-crm-dialog) .sidebar nav a,:is(.handler-crm-root,.handler-crm-dialog) .sidebar nav button{white-space:nowrap;width:auto;min-width:max-content;padding:10px 13px;font-size:12px}:is(.handler-crm-root,.handler-crm-dialog) .sidebar-bottom{display:none}:is(.handler-crm-root,.handler-crm-dialog) .topbar{padding:16px 18px;gap:12px;flex-wrap:wrap}:is(.handler-crm-root,.handler-crm-dialog) .workspace-label{font-size:12px}:is(.handler-crm-root,.handler-crm-dialog) .profile{width:100%;gap:10px}:is(.handler-crm-root,.handler-crm-dialog) .profile label{flex:1}:is(.handler-crm-root,.handler-crm-dialog) .profile select{width:100%;min-width:0}:is(.handler-crm-root,.handler-crm-dialog) .content{padding:24px 16px 40px}:is(.handler-crm-root,.handler-crm-dialog) .heading{align-items:start;flex-wrap:wrap;gap:16px}:is(.handler-crm-root,.handler-crm-dialog) .heading h1{font-size:30px}:is(.handler-crm-root,.handler-crm-dialog) .heading .btn{width:100%}:is(.handler-crm-root,.handler-crm-dialog) .metrics{gap:8px}:is(.handler-crm-root,.handler-crm-dialog) .metric{padding:14px 12px}:is(.handler-crm-root,.handler-crm-dialog) .metric span{font-size:10px}:is(.handler-crm-root,.handler-crm-dialog) .metric strong{font-size:26px}:is(.handler-crm-root,.handler-crm-dialog) .metric small{font-size:10px;line-height:1.4}:is(.handler-crm-root,.handler-crm-dialog) .toolbar,:is(.handler-crm-root,.handler-crm-dialog) .toolbar.seller{padding:16px;grid-template-columns:minmax(0,1fr)}:is(.handler-crm-root,.handler-crm-dialog) .toolbar>.field:first-child{grid-column:auto}:is(.handler-crm-root,.handler-crm-dialog) .field input,:is(.handler-crm-root,.handler-crm-dialog) .field select,:is(.handler-crm-root,.handler-crm-dialog) .field textarea{font-size:16px}:is(.handler-crm-root,.handler-crm-dialog) .list-head{display:none}:is(.handler-crm-root,.handler-crm-dialog) .contact-row{grid-template-columns:minmax(0,1fr) auto;padding:18px 16px;gap:12px}:is(.handler-crm-root,.handler-crm-dialog) .contact-row>span:nth-child(2){grid-column:1;font-size:12px}:is(.handler-crm-root,.handler-crm-dialog) .contact-row>.stage{grid-column:2;grid-row:1/3}:is(.handler-crm-root,.handler-crm-dialog) .contact-row>:last-child{display:none}:is(.handler-crm-root,.handler-crm-dialog) .pair{grid-template-columns:1fr}:is(.handler-crm-root,.handler-crm-dialog) .detail-meta{grid-template-columns:1fr;gap:14px}.handler-crm-dialog{padding:22px;max-height:94dvh}:is(.handler-crm-root,.handler-crm-dialog) .form-actions{flex-wrap:wrap}:is(.handler-crm-root,.handler-crm-dialog) .form-actions .btn{flex:1}:is(.handler-crm-root,.handler-crm-dialog) .section-head{align-items:start;flex-wrap:wrap}:is(.handler-crm-root,.handler-crm-dialog) .activity-card{align-items:start;gap:12px;flex-wrap:wrap;padding:18px}:is(.handler-crm-root,.handler-crm-dialog) .activity-card .btn{margin:0;width:100%}:is(.handler-crm-root,.handler-crm-dialog) .demo-note{line-height:1.6;margin-bottom:20px}}
@media(max-width:700px){:is(.handler-crm-root,.handler-crm-dialog) .sidebar nav{flex-wrap:wrap;overflow:visible}:is(.handler-crm-root,.handler-crm-dialog) .sidebar nav a,:is(.handler-crm-root,.handler-crm-dialog) .sidebar nav button{flex:1 0 40%;justify-content:center}}:is(.handler-crm-root,.handler-crm-dialog) .addon-card{padding:32px;max-width:760px}:is(.handler-crm-root,.handler-crm-dialog) .addon-card h2{margin:12px 0}:is(.handler-crm-root,.handler-crm-dialog) .addon-card p{line-height:1.6;margin-bottom:20px}:is(.handler-crm-root,.handler-crm-dialog) .local-controls{margin-top:32px;color:var(--muted,#647067);max-width:760px}:is(.handler-crm-root,.handler-crm-dialog) .local-controls p{line-height:1.6;padding:16px 0}

.handler-crm-root,.handler-crm-dialog{box-sizing:border-box}
.handler-crm-root .crm-view-tabs{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:20px}
.handler-crm-root .crm-view-tabs [aria-current=page]{background:#d7eddf;color:#163e2b;border-color:#75b68b}
.handler-crm-root .crm-embedded-content{padding:0;max-width:none}
@media(max-width:700px){.handler-crm-root .sidebar nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible}.handler-crm-root .sidebar nav a,.handler-crm-root .sidebar nav button{min-width:0;width:100%;white-space:normal}}

.crm-demo-profiles{display:flex;align-items:end;flex-wrap:wrap;gap:12px;margin:0 0 24px;padding:16px;border:1px solid #75b68b;border-radius:12px}
.crm-demo-profiles label{display:grid;gap:8px;font-size:13px;font-weight:600;min-width:220px;max-width:100%}
.crm-demo-profiles select{box-sizing:border-box;font:inherit;min-height:48px;width:100%;padding:10px 14px;border:1px solid #85998b;border-radius:8px;color:inherit;background:transparent}
.crm-demo-profiles p{margin:0;font-size:13px}
@media(max-width:600px){.crm-demo-profiles label{width:100%;min-width:0}.crm-demo-profiles select{font-size:16px}}
/* Keep web inquiries and prospect creation together in the Console heading. */
.handler-crm-root .heading{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:12px}
@media(max-width:700px){.handler-crm-root .heading{grid-template-columns:minmax(0,1fr);align-items:start;gap:16px}.handler-crm-root .heading>.btn{width:100%}}

/* Embedded CRM follows the Console surface and typography. */
.handler-crm-root{background:transparent;color:var(--text,#202327);--green:var(--accent,#187957);--line:var(--border,#d8dcdf);--muted:var(--muted-color,#737980)}
.handler-crm-root .crm-view-tabs{display:none}.handler-crm-root .heading h1{font-size:30px;line-height:1.2;letter-spacing:-.8px}.handler-crm-root .heading{grid-template-columns:minmax(250px,1fr) auto auto;gap:16px}.crm-demo-profiles{padding:12px 16px;margin-bottom:24px;border-color:var(--border,#d8dcdf)}.crm-demo-profiles select{min-height:44px}.handler-crm-root .metric,.handler-crm-root .table-wrap{background:var(--panel,#fff)}
@media(max-width:1000px){.handler-crm-root .heading{grid-template-columns:1fr 1fr}.handler-crm-root .heading>div{grid-column:1/-1}}@media(max-width:600px){.handler-crm-root .heading{grid-template-columns:1fr}.handler-crm-root .heading h1{font-size:28px}}
.handler-crm-root{color:var(--ink,#202327);--green:var(--focus,#167457)}
.handler-crm-root .metric,.handler-crm-root .table-wrap,.handler-crm-root .toolbar,.handler-crm-root .contact-row{background:var(--surface,#fff);color:var(--ink,#202327)}
.handler-crm-root .btn{background:var(--surface,#fff);color:var(--ink,#202327);border-color:var(--line,#d8dcdf)}
.handler-crm-root .btn.primary{background:var(--green,#80d4b7);color:#10271e;font-weight:650}
.handler-crm-root .demo-note{display:none}

.handler-crm-root .btn.primary{background:#80d4b7;color:#10271e}

.handler-crm-root,.handler-crm-dialog{font-family:inherit;color:var(--ink);background:transparent;--line:var(--console-line,#34363b)}
[data-theme=light] .handler-crm-root{--line:#e1e4e7;--muted:#737980}[data-theme=dark] .handler-crm-root{--line:#34363b;--muted:#a7a9af}
.handler-crm-root .toolbar label,.handler-crm-root .contact-main strong{color:var(--ink)}
[data-theme=dark] .handler-crm-root input,[data-theme=dark] .handler-crm-root select{background:var(--surface);color:var(--ink);border-color:var(--line)}
.handler-crm-root .list-head{background:var(--surface-soft);color:var(--muted)}

.main-wrap>.crm-demo-profiles{margin:20px 36px 0;flex:0 0 auto}@media(max-width:700px){.main-wrap>.crm-demo-profiles{margin:16px 18px 0}}
/* Recorded follow-ups precede portfolio totals; they are not scheduled visits. */
.handler-crm-root .crm-followups{padding:22px;margin-bottom:24px}
.handler-crm-root .crm-followup-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:12px}
.handler-crm-root .crm-followups h2{font-size:20px;line-height:1.3;margin:0 0 8px;letter-spacing:-.4px}
.handler-crm-root .crm-followups p{font-size:13px;line-height:1.5;margin:0;color:var(--muted)}
.handler-crm-root .crm-followup-row{display:flex;width:100%;align-items:center;justify-content:space-between;gap:20px;text-align:left;padding:16px 0;background:transparent;border:0;border-top:1px solid var(--line);color:var(--ink,#192923)}
.handler-crm-root .crm-followup-row strong{font-size:14px;display:block;line-height:1.4;overflow-wrap:anywhere}
.handler-crm-root .crm-followup-row small{display:block;margin-top:5px;font-size:12px;color:var(--muted);line-height:1.5}
.handler-crm-root .crm-followup-date{text-align:right;flex-shrink:0}
.handler-crm-root .crm-followup-date b{font-size:12px;font-weight:650;color:var(--green)}
.handler-crm-root .crm-followup-date .is-overdue{color:#b44b3e}
.handler-crm-root .crm-followups .crm-followup-help,.handler-crm-root .crm-followups .crm-followup-more{font-size:11px;padding-top:12px}
.handler-crm-root .heading{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:12px}
.handler-crm-root .heading>div{flex:1;min-width:260px;margin-right:auto}
@media(max-width:700px){.handler-crm-root .crm-followups{padding:18px}.handler-crm-root .crm-followup-heading{align-items:start;flex-wrap:wrap}.handler-crm-root .crm-followup-row{gap:12px;align-items:start}.handler-crm-root .crm-followup-date{max-width:44%;flex-shrink:1}.handler-crm-root .heading>div{min-width:0;width:100%;flex:auto}.handler-crm-root .heading>.btn{width:100%}}

/* Opaque Console surfaces for follow-ups and body-mounted dialogs. */
.handler-crm-root .panel,
dialog.handler-crm-dialog{background-color:var(--surface,#fff);color:var(--ink,#202124)}
dialog.handler-crm-dialog{--line:#dedfe3;--muted:#656870;--green:var(--focus,#167457);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
[data-theme=dark] dialog.handler-crm-dialog{--line:#34363b;--muted:#a7a9af}
dialog.handler-crm-dialog .field{color:var(--ink,#202124)}
dialog.handler-crm-dialog .field input,
dialog.handler-crm-dialog .field select,
dialog.handler-crm-dialog .field textarea,
dialog.handler-crm-dialog .btn,
dialog.handler-crm-dialog .close{background-color:var(--surface-soft,#f0f1f2);color:var(--ink,#202124);border-color:var(--line)}
dialog.handler-crm-dialog .btn.primary{background-color:var(--accent,#80d4b7);color:#10271e;border-color:var(--accent,#80d4b7)}
dialog.handler-crm-dialog input::placeholder,
dialog.handler-crm-dialog textarea::placeholder{color:var(--muted);opacity:1}
[data-theme=dark] .handler-crm-root .crm-followup-date .is-overdue{color:#f49c90}
