/* Local Service Business Dashboard */
.lsbd-dashboard-page{background:#f4f7fa;min-height:70vh;padding:28px 0 60px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;color:#102f3e}
.lsbd-shell{width:min(1240px,calc(100% - 32px));margin:0 auto;display:grid;gap:16px}
.lsbd-topbar,.lsbd-card,.lsbd-priority-card,.lsbd-login,.lsbd-local-growth{background:#fff;border:1px solid #e1e7ea;border-radius:22px;box-shadow:0 12px 30px rgba(13,31,42,.06)}
.lsbd-topbar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:20px;align-items:center;padding:22px 24px}
.lsbd-eyebrow{margin:0 0 6px;color:#657780;font-size:12px;letter-spacing:.14em;text-transform:uppercase;font-weight:950}
.lsbd-topbar h1,.lsbd-card h2,.lsbd-section-head h2,.lsbd-login h1,.lsbd-modal-head h2{font-family:Georgia,"Times New Roman",serif;color:#0e3345;line-height:1.06;margin:0}
.lsbd-topbar h1{font-size:clamp(34px,4vw,54px);margin-bottom:8px}
.lsbd-topbar p{margin:0;color:#51636e;font-size:16px;line-height:1.55;max-width:780px}
.lsbd-top-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.lsbd-top-actions a,.lsbd-priority-card a,.lsbd-section-head>a{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:#eef4f6;color:#0e3345!important;text-decoration:none!important;font-size:13px;font-weight:900;padding:10px 12px;border:1px solid #dce6ea}
.lsbd-top-actions a:hover,.lsbd-priority-card a:hover,.lsbd-section-head>a:hover{background:#0e3345;color:#fff!important}.lsbd-muted-action{background:#697985!important;color:#fff!important}
.lsbd-notice{background:#eaf7ef;border:1px solid #bde8c8;color:#204f2e;border-radius:14px;padding:13px 16px;font-weight:800}
.lsbd-priority-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.lsbd-priority-card{padding:18px;display:grid;gap:5px}.lsbd-priority-card-primary{border-color:#f0d3b0;background:linear-gradient(135deg,#fff,#fff7ed)}
.lsbd-priority-card span,.lsbd-status-row strong,.lsbd-value-grid span{font-size:12px;text-transform:uppercase;letter-spacing:.1em;color:#62737e;font-weight:950}.lsbd-priority-card strong{font-size:36px;line-height:1;color:#d62828;font-weight:950}.lsbd-priority-card p{margin:0;color:#53646e;font-size:13px}
.lsbd-workbench{display:grid;grid-template-columns:1.2fr .95fr .95fr .95fr;gap:14px;align-items:start}.lsbd-card{padding:20px}.lsbd-card-head{display:grid;gap:4px;margin-bottom:14px}.lsbd-card-head h2{font-size:28px}.lsbd-card-head p{margin:0;color:#61737e;font-size:14px;line-height:1.55}
.lsbd-form-grid,.lsbd-add-appointment-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.lsbd-add-lead-form,.lsbd-task-add-form,.lsbd-owner-notes-form,.lsbd-review-link-form,.lsbd-photo-upload-card,.lsbd-add-appointment-form{display:grid;gap:10px}
.lsbd-add-lead-form input,.lsbd-add-lead-form textarea,.lsbd-add-lead-form button,.lsbd-task-add-form input,.lsbd-task-add-form select,.lsbd-task-add-form button,.lsbd-owner-notes-form textarea,.lsbd-owner-notes-form button,.lsbd-review-link-form input,.lsbd-review-link-form button,.lsbd-card textarea,.lsbd-card input,.lsbd-card select,.lsbd-photo-upload-card input,.lsbd-photo-upload-card textarea,.lsbd-photo-upload-card button,.lsbd-add-appointment-form input,.lsbd-add-appointment-form textarea{width:100%;border:1px solid #dbe3e7;border-radius:12px;padding:11px 12px;font:inherit;box-sizing:border-box;background:#fff}
.lsbd-add-lead-form button,.lsbd-task-add-form button,.lsbd-owner-notes-form button,.lsbd-review-link-form button,.lsbd-photo-upload-card button,.lsbd-lead-update-form button,.lsbd-modal-actions button{background:#d62828;color:#fff;border:0;font-weight:950;cursor:pointer;box-shadow:0 10px 22px rgba(214,40,40,.18)}
.lsbd-task-add-form>div{display:grid;grid-template-columns:1fr 1fr auto;gap:8px}.lsbd-task-list,.lsbd-tool-list{display:grid;gap:10px}.lsbd-task-item,.lsbd-tool-list li,.lsbd-empty{background:#f7fafc;border:1px solid #e5edf0;border-radius:14px;padding:12px}.lsbd-task-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px}.lsbd-task-item button{border:0;border-radius:999px;background:#0e3345;color:#fff;font-weight:900;padding:9px 12px}.lsbd-task-item strong,.lsbd-tool-list strong{display:block;color:#0e3345}.lsbd-task-item span,.lsbd-tool-list span,.lsbd-empty{color:#61737e;font-size:13px}
.lsbd-card-head-action{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:12px!important}.lsbd-open-appointment-modal{border:0;border-radius:999px;background:#d9902f;color:#fff;font-weight:950;padding:10px 13px;cursor:pointer;white-space:nowrap}
.lsbd-appointment-summary-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.lsbd-appointment-summary-row>div{background:#f7fafc;border:1px solid #e5edf0;border-radius:14px;padding:13px}.lsbd-appointment-summary-row strong{display:block;color:#0e3345;font-size:28px}.lsbd-appointment-summary-row span{display:block;color:#667883;font-size:12px;text-transform:uppercase;font-weight:900}.lsbd-appointment-panel h3{font-family:Georgia,"Times New Roman",serif;color:#0e3345;font-size:24px;margin:14px 0 8px}.lsbd-appointment-list{display:grid;gap:9px}.lsbd-appointment-item{display:grid;grid-template-columns:76px minmax(0,1fr);gap:12px;background:#f7fafc;border:1px solid #e5edf0;border-radius:14px;padding:10px}.lsbd-appointment-item>div{background:#0e3345;color:#fff;border-radius:12px;padding:10px;text-align:center}.lsbd-appointment-item strong{display:block;color:#fff;font-size:15px}.lsbd-appointment-item span{color:rgba(255,255,255,.78);font-size:12px}.lsbd-appointment-item p{margin:0;color:#0e3345;font-weight:800;font-size:13px}.lsbd-appointment-item em{font-style:normal;color:#62737e}
.lsbd-status-row{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:10px}.lsbd-status-row a{background:#fff;border:1px solid #e1e7ea;border-radius:16px;padding:14px;text-decoration:none;color:#0e3345;box-shadow:0 10px 24px rgba(13,31,42,.05)}.lsbd-status-row a.is-active{border-color:#d9902f;box-shadow:0 0 0 3px rgba(217,144,47,.12)}.lsbd-status-row span{display:block;font-size:26px;font-weight:950;line-height:1;color:#d62828}
.lsbd-overview{display:grid;grid-template-columns:1.05fr 1fr 1fr .85fr;gap:14px}.lsbd-mini-bars,.lsbd-source-list{display:grid;gap:12px}.lsbd-mini-bars span,.lsbd-source-list span{display:flex;justify-content:space-between;gap:16px}.lsbd-mini-bars i,.lsbd-source-list i{display:block;height:10px;background:#edf2f6;border-radius:999px;overflow:hidden}.lsbd-mini-bars b,.lsbd-source-list b{display:block;height:100%;background:linear-gradient(90deg,#0e3345,#d9902f)}.lsbd-activity-bars{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;align-items:end;min-height:160px}.lsbd-activity-bars div{display:grid;justify-items:center;gap:6px}.lsbd-activity-bars i{display:block;width:100%;max-width:30px;border-radius:12px;background:linear-gradient(180deg,#d9902f,#0e3345)}.lsbd-value-grid{display:grid;gap:10px}.lsbd-value-grid>div{background:#f7fafc;border:1px solid #e5edf0;border-radius:14px;padding:13px}.lsbd-value-grid strong{display:block;margin-top:5px;color:#0e3345;font-size:26px}
.lsbd-grid{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:16px;align-items:start}.lsbd-main{display:grid;gap:14px}.lsbd-section-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-end}.lsbd-section-head h2{font-size:34px}.lsbd-section-head p{margin:4px 0 0;color:#61737e}
.lsbd-lead-card{background:#fff;border:1px solid #e1e7ea;border-left:5px solid #dbe5ea;border-radius:20px;padding:18px;box-shadow:0 12px 30px rgba(13,31,42,.06);display:grid;gap:12px}.lsbd-priority-high{border-left-color:#d9902f}.lsbd-priority-urgent{border-left-color:#d62828}.lsbd-lead-summary{display:flex;justify-content:space-between;gap:14px}.lsbd-lead-summary span{display:block;text-transform:uppercase;letter-spacing:.08em;font-size:12px;font-weight:950;color:#d9902f}.lsbd-lead-summary h3{font-family:Georgia,"Times New Roman",serif;color:#0e3345;font-size:28px;margin:3px 0}.lsbd-lead-summary p{margin:0;color:#657780}.lsbd-lead-summary>strong{background:#eff5f8;color:#0e3345;border-radius:999px;padding:9px 12px;font-size:12px;align-self:flex-start}
.lsbd-lead-actions,.lsbd-sms-actions>div{display:flex;gap:8px;flex-wrap:wrap}.lsbd-lead-actions a,.lsbd-lead-actions button,.lsbd-sms-actions a,.lsbd-copy-template{border:0;border-radius:999px;background:#0e3345;color:#fff!important;text-decoration:none!important;font-weight:900;padding:10px 13px;cursor:pointer}.lsbd-lead-actions a:first-child{background:#d9902f}.lsbd-lead-actions a:nth-child(3){background:#2f6b50}.lsbd-sms-actions{background:#f7fafc;border:1px solid #e5edf0;border-radius:16px;padding:13px}.lsbd-sms-actions strong{display:block;color:#0e3345;font-size:12px;text-transform:uppercase;letter-spacing:.08em;margin-bottom:8px}.lsbd-sms-actions a{background:#edf4f6;color:#0e3345!important;font-size:12px}
.lsbd-lead-details{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0}.lsbd-lead-details div{background:#f7fafc;border:1px solid #e5edf0;border-radius:14px;padding:12px}.lsbd-lead-details dt{font-size:12px;color:#71828b;text-transform:uppercase;letter-spacing:.08em;font-weight:800}.lsbd-lead-details dd{margin:6px 0 0;color:#0e3345;font-weight:700}.lsbd-lead-message{background:#fbf7f1;border:1px solid #f0e5d8;border-radius:14px;padding:14px;color:#51636d}.lsbd-lead-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.lsbd-lead-update-form{display:grid;gap:12px}.lsbd-lead-update-form label{display:grid;gap:7px;color:#0e3345;font-size:13px;font-weight:800}.lsbd-timeline{background:#f7fafc;border:1px solid #e5edf0;border-radius:16px;padding:14px}.lsbd-timeline summary{font-weight:950;color:#0e3345}.lsbd-timeline p{background:#fff;border:1px solid #e5edf0;border-radius:12px;padding:10px}.lsbd-timeline span{display:block;color:#61737e;margin-top:4px}
.lsbd-side{display:grid;gap:14px}.lsbd-review-link-form{margin:10px 0}.lsbd-small-help{font-size:12px;line-height:1.45;color:#667883;background:#f7fafc;border:1px solid #e5edf0;border-radius:12px;padding:10px 12px}.lsbd-copy-template{background:#d9902f;margin-top:10px}
.lsbd-local-growth{padding:22px}.lsbd-growth-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:18px}.lsbd-photo-upload-card{background:#f7fafc;border:1px solid #e5edf0;border-radius:18px;padding:18px}.lsbd-photo-upload-card label{display:grid;gap:7px;color:#0e3345;font-size:13px;font-weight:900}.lsbd-growth-photo-list h3{font-family:Georgia,"Times New Roman",serif;color:#0e3345;font-size:28px;margin:0 0 12px}.lsbd-upload-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.lsbd-upload-grid figure{margin:0;background:#f7fafc;border:1px solid #e5edf0;border-radius:14px;overflow:hidden}.lsbd-upload-grid img{width:100%;aspect-ratio:1.25/1;object-fit:cover}.lsbd-upload-grid figcaption{font-size:11px;color:#61737e;padding:8px}
.lsbd-modal[hidden]{display:none!important}.lsbd-modal{position:fixed;inset:0;z-index:999999;display:flex;align-items:center;justify-content:center;background:rgba(10,22,32,.58);padding:18px}.lsbd-modal-card{width:min(720px,100%);max-height:calc(100vh - 36px);overflow:auto;background:#fff;border-radius:24px;border:1px solid #e1e7ea;box-shadow:0 30px 90px rgba(0,0,0,.28);padding:22px}.lsbd-modal-head{display:flex;justify-content:space-between;gap:16px;margin-bottom:16px}.lsbd-modal-close{width:38px;height:38px;border:0;border-radius:999px;background:#eef4f6;color:#0e3345;font-size:25px;font-weight:900;cursor:pointer}.lsbd-modal-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}.lsbd-modal-cancel{background:#eef4f6!important;color:#0e3345!important;box-shadow:none!important;border:1px solid #dbe6eb!important}.lsbd-modal-open{overflow:hidden}
.lsbd-login{max-width:560px;margin:30px auto;padding:24px}.lsbd-login h1{font-size:42px;margin-bottom:10px}
@media(max-width:1180px){.lsbd-topbar,.lsbd-workbench,.lsbd-overview,.lsbd-grid,.lsbd-growth-grid{grid-template-columns:1fr}.lsbd-priority-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.lsbd-status-row{grid-template-columns:repeat(4,minmax(0,1fr))}.lsbd-top-actions{justify-content:flex-start}}
@media(max-width:760px){.lsbd-dashboard-page{padding-top:16px}.lsbd-shell{width:min(1240px,calc(100% - 22px))}.lsbd-topbar,.lsbd-card,.lsbd-priority-card,.lsbd-local-growth{padding:16px;border-radius:16px}.lsbd-top-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.lsbd-priority-grid,.lsbd-status-row,.lsbd-form-grid,.lsbd-add-appointment-grid,.lsbd-task-add-form>div,.lsbd-lead-form-grid,.lsbd-lead-details,.lsbd-upload-grid{grid-template-columns:1fr}.lsbd-section-head,.lsbd-lead-summary{display:grid}.lsbd-modal{align-items:flex-start;padding:12px}.lsbd-modal-card{border-radius:18px;padding:16px}.lsbd-modal-actions{display:grid}.lsbd-modal-actions button{width:100%}}


/* v1.0.1 standalone dashboard page template */
html body.lsbd-standalone-page{
  margin:0!important;
  padding:0!important;
  background:#f4f7fa!important;
}
body.lsbd-standalone-page .lsbd-dashboard-page{
  margin:0!important;
  padding-top:34px!important;
  width:100%!important;
  min-height:100vh!important;
  box-sizing:border-box!important;
}
body.lsbd-standalone-page:before,
body.lsbd-standalone-page:after{
  display:none!important;
}
body.lsbd-standalone-page .lsbd-shell{
  width:min(1240px,calc(100% - 32px))!important;
  max-width:1240px!important;
}
@media(max-width:760px){
  body.lsbd-standalone-page .lsbd-dashboard-page{
    padding-top:18px!important;
  }
  body.lsbd-standalone-page .lsbd-shell{
    width:min(1240px,calc(100% - 22px))!important;
  }
}


/* v1.0.2 AI-qualified lead display */
.lsbd-ai-qualified-badge{display:inline-flex!important;margin-top:7px;padding:6px 9px;border-radius:999px;background:#fff6e7;color:#9a5d00!important;border:1px solid #ecd3a7;font-style:normal;font-size:10px!important;font-weight:950;text-transform:uppercase;letter-spacing:.06em;}
.lsbd-ai-qualification-card{background:#fffaf2;border:1px solid #ecd7b2;border-radius:16px;padding:14px 16px;}
.lsbd-ai-qualification-card>strong{display:block;color:#0e3345;font-size:14px;margin-bottom:8px;}
.lsbd-ai-qualification-card pre{white-space:pre-wrap;margin:0;font:inherit;font-size:13px;line-height:1.55;color:#4f626e;}


/* v1.1.0 Instant Lead Response System */
.lsbd-response-center{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(330px,.55fr);gap:16px;align-items:start}
.lsbd-response-settings,.lsbd-delivery-log{padding:22px}
.lsbd-response-head{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:18px!important}
.lsbd-response-badges{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}.lsbd-response-badges span{display:inline-flex;border-radius:999px;padding:8px 10px;font-size:11px;font-weight:950;white-space:nowrap}.lsbd-response-badges .is-ready{background:#eaf7ef;color:#28633c;border:1px solid #cce7d4}.lsbd-response-badges .is-pending{background:#fff6e7;color:#8d5b09;border:1px solid #ecd6ae}
.lsbd-response-form{display:grid;gap:14px}.lsbd-response-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.lsbd-response-form fieldset{margin:0;border:1px solid #dfe7eb;border-radius:16px;padding:16px;display:grid;gap:10px;background:#f9fbfc}.lsbd-response-form legend{padding:0 8px;color:#0e3345;font-family:Georgia,"Times New Roman",serif;font-size:21px;font-weight:800}.lsbd-response-form label{display:grid;gap:6px;color:#17394a;font-size:12px;font-weight:900}.lsbd-response-form input,.lsbd-response-form select,.lsbd-response-form textarea{width:100%;box-sizing:border-box;border:1px solid #d7e1e6;border-radius:10px;background:#fff;padding:10px 11px;font:inherit;color:#17394a}.lsbd-toggle{display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;align-items:start!important;gap:9px!important}.lsbd-toggle input{width:auto!important;margin-top:3px!important}.lsbd-toggle span{font-weight:800;color:#435762;line-height:1.4}.lsbd-token-help,.lsbd-provider-note{margin:0;color:#667983;font-size:11px;line-height:1.5}.lsbd-token-help code{background:#edf3f6;border-radius:5px;padding:2px 4px;color:#0e3345}
.lsbd-provider-settings{border:1px solid #dfe7eb;border-radius:16px;padding:14px 16px;background:#fff}.lsbd-provider-settings summary{cursor:pointer;color:#0e3345;font-weight:950}.lsbd-provider-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px}.lsbd-webhook-field{grid-column:1/-1}.lsbd-response-actions{display:flex;justify-content:flex-end}.lsbd-response-actions button,.lsbd-test-alert-form button{border:0;border-radius:999px;background:#d62828;color:#fff;font-weight:950;padding:12px 18px;cursor:pointer}.lsbd-test-alert-form{margin-top:10px;display:flex;justify-content:flex-end}.lsbd-test-alert-form button{background:#0e3345}
.lsbd-log-list{display:grid;gap:8px;max-height:640px;overflow:auto}.lsbd-log-list a{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;align-items:center;border:1px solid #e1e9ed;background:#f8fbfc;border-radius:13px;padding:11px;text-decoration:none!important;color:#0e3345!important}.lsbd-log-channel{display:grid;place-items:center;width:48px;height:28px;border-radius:999px;background:#e9f1f4;font-size:9px;font-weight:950;letter-spacing:.05em}.lsbd-log-list strong{display:block;font-size:12px}.lsbd-log-list small{display:block;color:#697c86;margin-top:3px}.lsbd-log-status{font-style:normal;border-radius:999px;padding:6px 8px;background:#edf2f4;color:#536772;font-size:9px;font-weight:950;white-space:nowrap}.lsbd-log-status.status-sent,.lsbd-log-status.status-delivered,.lsbd-log-status.status-queued,.lsbd-log-status.status-task_created{background:#eaf7ef;color:#28633c}.lsbd-log-status.status-failed,.lsbd-log-status.status-undelivered{background:#fff0f0;color:#a43131}.lsbd-log-status.status-suppressed,.lsbd-log-status.status-no_consent,.lsbd-log-status.status-not_configured,.lsbd-log-status.status-disabled{background:#fff6e7;color:#8d5b09}
.lsbd-lead-card:target{outline:4px solid rgba(217,144,47,.22)}
@media(max-width:1180px){.lsbd-response-center,.lsbd-response-columns{grid-template-columns:1fr}.lsbd-response-head{display:grid!important}.lsbd-response-badges{justify-content:flex-start}.lsbd-provider-grid{grid-template-columns:1fr}}
@media(max-width:760px){.lsbd-response-settings,.lsbd-delivery-log{padding:16px}.lsbd-log-list a{grid-template-columns:auto minmax(0,1fr)}.lsbd-log-status{grid-column:2}.lsbd-response-actions,.lsbd-test-alert-form{display:grid}.lsbd-response-actions button,.lsbd-test-alert-form button{width:100%}}


/* v1.2.0: Dedicated number, forwarding and call tracking */
.lsbd-call-center{
  display:grid;
  grid-template-columns:minmax(0,1.55fr) minmax(300px,.75fr);
  gap:16px;
  margin-top:16px;
}
.lsbd-call-settings-form{
  display:grid;
  gap:14px;
}
.lsbd-call-settings-form small{
  display:block;
  margin-top:5px;
  color:#627286;
  font-size:11px;
  line-height:1.4;
}
.lsbd-call-list{
  display:grid;
  gap:8px;
}
.lsbd-call-list a{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  gap:10px;
  align-items:center;
  padding:11px;
  border:1px solid #dfe7ee;
  border-radius:12px;
  background:#f8fafb;
  color:#0b2f3f;
  text-decoration:none;
}
.lsbd-call-list a:hover{
  background:#fff;
  border-color:#c7d5de;
}
.lsbd-call-list strong,
.lsbd-call-list small{
  display:block;
}
.lsbd-call-list small{
  color:#617185;
  margin-top:3px;
  font-size:11px;
}
.lsbd-call-list em{
  color:#526376;
  font-style:normal;
  font-size:11px;
  font-weight:800;
}
.lsbd-call-status{
  display:inline-flex;
  justify-content:center;
  min-width:72px;
  padding:6px 8px;
  border-radius:999px;
  background:#eaf0f3;
  color:#0b2f3f;
  font-size:10px;
  font-weight:950;
  text-transform:uppercase;
  letter-spacing:.04em;
}
.lsbd-call-status.status-completed,
.lsbd-call-status.status-answered{
  background:#e6f5ec;
  color:#246344;
}
.lsbd-call-status.status-missed,
.lsbd-call-status.status-no-answer,
.lsbd-call-status.status-busy,
.lsbd-call-status.status-failed,
.lsbd-call-status.status-canceled{
  background:#fff0ec;
  color:#a3352d;
}
@media(max-width:980px){
  .lsbd-call-center{grid-template-columns:1fr;}
}
@media(max-width:620px){
  .lsbd-call-list a{grid-template-columns:1fr;}
  .lsbd-call-status{justify-self:start;}
}

/* v1.4.0 clean contractor app navigation */
.lsbd-dashboard-page{--lsbd-navy:#0e3345;--lsbd-soft:#f4f7f9;--lsbd-line:#dfe7eb;--lsbd-accent:#d62828}
.lsbd-topbar{display:flex!important;grid-template-columns:none!important;align-items:center!important;justify-content:space-between!important;min-height:auto!important;padding:24px 26px!important}
.lsbd-topbar h1{font-size:42px!important;line-height:1!important;margin:3px 0 8px!important}
.lsbd-topbar p{max-width:620px;margin:0!important}
.lsbd-logout-link{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:10px 15px;background:#eef3f5;color:var(--lsbd-navy)!important;text-decoration:none!important;font-weight:900;white-space:nowrap}
.lsbd-app-nav{position:sticky;top:0;z-index:100;display:flex;gap:7px;align-items:center;overflow-x:auto;margin:12px 0 18px;padding:8px;background:#fff;border:1px solid var(--lsbd-line);border-radius:18px;box-shadow:0 8px 24px rgba(14,51,69,.06)}
.admin-bar .lsbd-app-nav{top:32px}
.lsbd-app-nav a{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 16px;border-radius:12px;color:#526671!important;text-decoration:none!important;font-size:13px;font-weight:900}
.lsbd-app-nav a:hover{background:#f0f5f7;color:var(--lsbd-navy)!important}
.lsbd-app-nav a.is-active{background:var(--lsbd-navy);color:#fff!important}

/* Hide everything by default, then show only the selected workspace. */
.lsbd-dashboard-page [data-lsbd-section]{display:none!important}
.lsbd-dashboard-page[data-lsbd-view="home"] [data-lsbd-section="home"],
.lsbd-dashboard-page[data-lsbd-view="leads"] [data-lsbd-section="leads"],
.lsbd-dashboard-page[data-lsbd-view="calendar"] [data-lsbd-section="calendar"],
.lsbd-dashboard-page[data-lsbd-view="reviews"] [data-lsbd-section="reviews"],
.lsbd-dashboard-page[data-lsbd-view="website"] [data-lsbd-section="website"],
.lsbd-dashboard-page[data-lsbd-view="settings"] [data-lsbd-section="settings"]{display:block!important}
.lsbd-dashboard-page[data-lsbd-view="leads"] [data-lsbd-section="workbench"],
.lsbd-dashboard-page[data-lsbd-view="calendar"] [data-lsbd-section="workbench"],
.lsbd-dashboard-page[data-lsbd-view="settings"] [data-lsbd-section="workbench"],
.lsbd-dashboard-page[data-lsbd-view="leads"] [data-lsbd-section="leads-reviews"],
.lsbd-dashboard-page[data-lsbd-view="reviews"] [data-lsbd-section="leads-reviews"]{display:grid!important}

/* Calls is supplied by the standalone Communications Engine. */
.lsbd-dashboard-page #communications{display:none!important}
.lsbd-dashboard-page[data-lsbd-view="calls"] #communications{display:grid!important;margin-top:0!important}

/* Per-workspace cleanup. */
.lsbd-dashboard-page[data-lsbd-view="leads"] .lsbd-workbench{grid-template-columns:1fr!important}
.lsbd-dashboard-page[data-lsbd-view="leads"] #appointments,
.lsbd-dashboard-page[data-lsbd-view="leads"] #tasks,
.lsbd-dashboard-page[data-lsbd-view="leads"] #notes,
.lsbd-dashboard-page[data-lsbd-view="leads"] #reviews{display:none!important}
.lsbd-dashboard-page[data-lsbd-view="calendar"] .lsbd-workbench{grid-template-columns:1fr!important}
.lsbd-dashboard-page[data-lsbd-view="calendar"] #add-lead,
.lsbd-dashboard-page[data-lsbd-view="calendar"] #tasks,
.lsbd-dashboard-page[data-lsbd-view="calendar"] #notes{display:none!important}
.lsbd-dashboard-page[data-lsbd-view="settings"] .lsbd-workbench{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.lsbd-dashboard-page[data-lsbd-view="settings"] #add-lead,
.lsbd-dashboard-page[data-lsbd-view="settings"] #appointments{display:none!important}
.lsbd-dashboard-page[data-lsbd-view="reviews"] .lsbd-grid{grid-template-columns:minmax(0,720px)!important;justify-content:center}
.lsbd-dashboard-page[data-lsbd-view="reviews"] .lsbd-lead-list,
.lsbd-dashboard-page[data-lsbd-view="reviews"] #follow-ups{display:none!important}
.lsbd-dashboard-page[data-lsbd-view="reviews"] .lsbd-side{display:block!important}

/* Home is a compact action screen, not a report wall. */
.lsbd-dashboard-page[data-lsbd-view="home"] .lsbd-priority-grid{margin-top:0}
.lsbd-dashboard-page[data-lsbd-view="home"] .lsbd-status-row{display:none!important}
.lsbd-dashboard-page[data-lsbd-view="home"] .lsbd-overview{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.lsbd-dashboard-page[data-lsbd-view="home"] .lsbd-overview article:nth-child(3),
.lsbd-dashboard-page[data-lsbd-view="home"] .lsbd-overview article:nth-child(4){display:none!important}
.lsbd-priority-card{box-shadow:none!important}
.lsbd-priority-card a{min-height:38px!important}

/* Reduce visual noise throughout contractor mode. */
.lsbd-card,.lsbd-priority-card,.lsbd-local-growth{box-shadow:0 8px 28px rgba(14,51,69,.055)!important}
.lsbd-card-head h2{font-size:27px!important}
.lsbd-response-center{grid-template-columns:1fr!important;max-width:940px}
.lsbd-notification-log{display:none!important}
.lsbd-response-settings .lsbd-response-head>div>p:last-child{max-width:660px}

@media(max-width:900px){
  .lsbd-topbar{align-items:flex-start!important}.lsbd-topbar h1{font-size:36px!important}
  .lsbd-dashboard-page[data-lsbd-view="settings"] .lsbd-workbench,.lsbd-dashboard-page[data-lsbd-view="home"] .lsbd-overview{grid-template-columns:1fr!important}
}
@media(max-width:782px){.admin-bar .lsbd-app-nav{top:46px}}
@media(max-width:620px){
  .lsbd-topbar{display:grid!important;gap:16px}.lsbd-logout-link{justify-self:start}
  .lsbd-app-nav{border-radius:14px;margin-bottom:14px}.lsbd-app-nav a{padding:0 13px}
}


/* v1.4.1 clarity, positive palette, dedicated Tasks/Notes workspaces */
.lsbd-dashboard-page{
  --lsbd-navy:#123f52;
  --lsbd-green:#16875d;
  --lsbd-green-dark:#0f6848;
  --lsbd-green-soft:#eaf7f1;
  --lsbd-blue:#287aa1;
  --lsbd-blue-soft:#edf6fa;
  --lsbd-warm:#f5f9f7;
  --lsbd-accent:var(--lsbd-green);
}
.lsbd-dashboard-page button,
.lsbd-dashboard-page input[type="submit"],
.lsbd-dashboard-page .lsbd-section-head>a,
.lsbd-dashboard-page .lsbd-priority-card a{
  background:var(--lsbd-green)!important;
  border-color:var(--lsbd-green)!important;
  color:#fff!important;
}
.lsbd-dashboard-page button:hover,
.lsbd-dashboard-page input[type="submit"]:hover,
.lsbd-dashboard-page .lsbd-section-head>a:hover,
.lsbd-dashboard-page .lsbd-priority-card a:hover{background:var(--lsbd-green-dark)!important}
.lsbd-app-nav a.is-active{background:var(--lsbd-green)!important}
.lsbd-priority-card-primary{border-color:#b8dfcf!important;background:linear-gradient(135deg,#f1fbf7,#fff)!important}
.lsbd-priority-card strong{color:var(--lsbd-green)!important}
.lsbd-priority-card:nth-child(2) strong,.lsbd-priority-card:nth-child(3) strong{color:var(--lsbd-blue)!important}
.lsbd-response-badges .is-ready{background:var(--lsbd-green-soft)!important;color:var(--lsbd-green-dark)!important;border-color:#b8dfcf!important}
.lsbd-notice{background:var(--lsbd-green-soft)!important;border-color:#b8dfcf!important;color:var(--lsbd-green-dark)!important}

/* Dedicated workspaces. */
.lsbd-dashboard-page[data-lsbd-view="tasks"] [data-lsbd-section="tasks"],
.lsbd-dashboard-page[data-lsbd-view="notes"] [data-lsbd-section="notes"]{display:block!important}
.lsbd-dashboard-page[data-lsbd-view="tasks"] [data-lsbd-section="workbench"],
.lsbd-dashboard-page[data-lsbd-view="notes"] [data-lsbd-section="workbench"]{display:grid!important;grid-template-columns:1fr!important}
.lsbd-dashboard-page[data-lsbd-view="tasks"] #add-lead,
.lsbd-dashboard-page[data-lsbd-view="tasks"] #appointments,
.lsbd-dashboard-page[data-lsbd-view="tasks"] #notes,
.lsbd-dashboard-page[data-lsbd-view="notes"] #add-lead,
.lsbd-dashboard-page[data-lsbd-view="notes"] #appointments,
.lsbd-dashboard-page[data-lsbd-view="notes"] #tasks{display:none!important}

/* Leads open directly to the list; add form is optional. */
.lsbd-dashboard-page[data-lsbd-view="leads"] #add-lead[hidden]{display:none!important}
.lsbd-dashboard-page[data-lsbd-view="leads"] #add-lead.is-open{display:block!important;order:-1;margin-bottom:16px}
.lsbd-add-lead-panel .lsbd-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.lsbd-close-add-lead{width:38px!important;height:38px!important;min-height:38px!important;padding:0!important;border-radius:999px!important;font-size:24px!important;line-height:1!important;background:#eef4f6!important;color:var(--lsbd-navy)!important;border:1px solid var(--lsbd-line)!important}
.lsbd-toggle-add-lead{white-space:nowrap;border-radius:999px!important;padding:11px 18px!important}

/* Settings uses the same full workspace width as the header. */
.lsbd-dashboard-page[data-lsbd-view="settings"] .lsbd-response-center{max-width:none!important;width:100%!important;grid-template-columns:1fr!important}
.lsbd-dashboard-page[data-lsbd-view="settings"] .lsbd-response-settings{width:100%!important}
.lsbd-dashboard-page[data-lsbd-view="settings"] .lsbd-response-columns{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.lsbd-dashboard-page[data-lsbd-view="settings"] .lsbd-workbench{display:none!important}

/* Friendly inline explanations. */
.lsbd-info{display:inline-flex;align-items:center;justify-content:center;width:19px;height:19px;margin-left:5px;border-radius:50%;background:var(--lsbd-blue-soft);border:1px solid #bcd8e5;color:var(--lsbd-blue);font:900 12px/1 Arial,sans-serif;cursor:help;vertical-align:middle}
.lsbd-info:focus{outline:3px solid rgba(40,122,161,.22);outline-offset:2px}
.lsbd-response-settings fieldset{background:#fbfdfc!important;border-color:#d9e8e1!important}
.lsbd-response-settings legend{color:var(--lsbd-navy)!important}

@media(max-width:900px){
  .lsbd-dashboard-page[data-lsbd-view="settings"] .lsbd-response-columns{grid-template-columns:1fr!important}
  .lsbd-section-head{align-items:flex-start!important;gap:14px!important}
}

/* v1.4.2 polished workspace palette and accessible help popovers */
.lsbd-dashboard-page{
  --lsbd-primary:#17384d;
  --lsbd-primary-hover:#0f2d3f;
  --lsbd-success:#22a06b;
  --lsbd-success-hover:#178258;
  --lsbd-info:#3b82b6;
  --lsbd-warning:#e5a126;
  --lsbd-danger:#d9534f;
  --lsbd-surface:#ffffff;
  --lsbd-canvas:#f6f8fa;
  --lsbd-border:#dfe7eb;
}
.lsbd-dashboard-page{background:var(--lsbd-canvas)!important}
.lsbd-app-nav a.is-active{background:var(--lsbd-primary)!important}
.lsbd-dashboard-page button,
.lsbd-dashboard-page input[type="submit"],
.lsbd-dashboard-page .lsbd-section-head>a,
.lsbd-dashboard-page .lsbd-priority-card a{background:var(--lsbd-primary)!important;border-color:var(--lsbd-primary)!important}
.lsbd-dashboard-page button:hover,
.lsbd-dashboard-page input[type="submit"]:hover,
.lsbd-dashboard-page .lsbd-section-head>a:hover,
.lsbd-dashboard-page .lsbd-priority-card a:hover{background:var(--lsbd-primary-hover)!important}
.lsbd-dashboard-page .lsbd-add-lead-form button,
.lsbd-dashboard-page .lsbd-task-add-form button,
.lsbd-dashboard-page .lsbd-owner-notes-form button,
.lsbd-dashboard-page .lsbd-response-actions button,
.lsbd-dashboard-page .lsbd-toggle-add-lead{background:var(--lsbd-success)!important;border-color:var(--lsbd-success)!important}
.lsbd-dashboard-page .lsbd-add-lead-form button:hover,
.lsbd-dashboard-page .lsbd-task-add-form button:hover,
.lsbd-dashboard-page .lsbd-owner-notes-form button:hover,
.lsbd-dashboard-page .lsbd-response-actions button:hover,
.lsbd-dashboard-page .lsbd-toggle-add-lead:hover{background:var(--lsbd-success-hover)!important}
.lsbd-priority-card strong{color:var(--lsbd-primary)!important}
.lsbd-priority-card-primary strong{color:var(--lsbd-success)!important}
.lsbd-priority-card-primary{background:linear-gradient(135deg,#eefaf5,#fff)!important;border-color:#bfe6d6!important}
.lsbd-mini-bars b,.lsbd-source-list b{background:var(--lsbd-info)!important}
.lsbd-mini-bars b.lsbd-stage-new{background:#3b82f6!important}
.lsbd-mini-bars b.lsbd-stage-contacted{background:#6366f1!important}
.lsbd-mini-bars b.lsbd-stage-estimate_scheduled{background:#06b6d4!important}
.lsbd-mini-bars b.lsbd-stage-estimate_sent{background:#8b5cf6!important}
.lsbd-mini-bars b.lsbd-stage-won{background:#22a06b!important}
.lsbd-mini-bars b.lsbd-stage-lost{background:#94a3b8!important}
.lsbd-mini-bars b.lsbd-stage-follow_up_later{background:#e5a126!important}
.lsbd-activity-bars i{background:linear-gradient(180deg,#60a5fa,#17384d)!important}
.lsbd-status-row span{color:var(--lsbd-primary)!important}
.lsbd-lead-summary span{color:var(--lsbd-info)!important}
.lsbd-lead-actions a:first-child{background:var(--lsbd-info)!important}
.lsbd-lead-actions a:nth-child(3){background:var(--lsbd-success)!important}
.lsbd-card,.lsbd-priority-card,.lsbd-local-growth{border-color:var(--lsbd-border)!important;box-shadow:0 8px 24px rgba(23,56,77,.055)!important}

.lsbd-info{position:relative;display:inline-flex!important;align-items:center!important;justify-content:center!important;width:21px!important;height:21px!important;min-height:21px!important;padding:0!important;margin-left:6px!important;border-radius:50%!important;background:#edf6fb!important;border:1px solid #b8d9ea!important;color:#287aa1!important;font:900 12px/1 Arial,sans-serif!important;cursor:pointer!important;vertical-align:middle!important;box-shadow:none!important}
.lsbd-info:hover,.lsbd-info:focus,.lsbd-info[aria-expanded="true"]{background:#dff0f8!important;color:#155c7c!important;outline:3px solid rgba(40,122,161,.16)!important;outline-offset:2px!important}
.lsbd-help-popover{position:fixed;z-index:99999;width:min(300px,calc(100vw - 28px));padding:12px 14px;border-radius:12px;background:#17384d;color:#fff;font-size:13px;line-height:1.5;box-shadow:0 16px 38px rgba(15,45,63,.28);opacity:0;transform:translateY(4px);pointer-events:none;transition:opacity .14s ease,transform .14s ease}
.lsbd-help-popover.is-open{opacity:1;transform:translateY(0);pointer-events:auto}
.lsbd-help-popover:after{content:"";position:absolute;top:-6px;left:var(--arrow-left,24px);width:12px;height:12px;background:#17384d;transform:rotate(45deg)}

/* v1.4.3 polished lead controls, clearer website workspace, full calendar */
.lsbd-lead-expanded,.lsbd-lead-update-form{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif!important}
.lsbd-lead-update-form{background:#f8fafb;border:1px solid var(--lsbd-border);border-radius:18px;padding:16px}
.lsbd-lead-update-form label{margin:0!important;color:var(--lsbd-primary)!important;font-size:13px!important;font-weight:800!important}
.lsbd-lead-update-form label>span{display:block;margin-bottom:7px;color:#536873;font-size:12px;letter-spacing:.035em;text-transform:none}
.lsbd-lead-update-form input,.lsbd-lead-update-form select,.lsbd-lead-update-form textarea{width:100%!important;min-height:44px!important;border:1px solid #cfdde3!important;border-radius:11px!important;background:#fff!important;color:#17384d!important;padding:10px 12px!important;font:600 14px/1.35 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif!important;box-sizing:border-box!important;box-shadow:none!important}
.lsbd-lead-update-form textarea{min-height:86px!important;resize:vertical!important}
.lsbd-lead-update-form input:focus,.lsbd-lead-update-form select:focus,.lsbd-lead-update-form textarea:focus{outline:3px solid rgba(59,130,182,.16)!important;border-color:var(--lsbd-info)!important}
.lsbd-money-field{display:grid;grid-template-columns:38px 1fr;align-items:center;border:1px solid #cfdde3;border-radius:11px;background:#fff;overflow:hidden}
.lsbd-money-field b{display:grid;place-items:center;height:100%;background:#edf4f7;color:#536873}.lsbd-money-field input{border:0!important;border-radius:0!important}
.lsbd-note-field{grid-column:1/-1}.lsbd-save-lead{justify-self:end!important;width:auto!important;min-width:190px!important;border-radius:999px!important;padding:12px 20px!important;background:var(--lsbd-success)!important}
.lsbd-timeline{margin-top:2px}.lsbd-timeline summary{cursor:pointer;padding:2px 0}

.lsbd-appointments-card{padding:22px!important}.lsbd-open-appointment-modal{background:var(--lsbd-success)!important;border:0!important;border-radius:999px!important;padding:11px 17px!important}
.lsbd-calendar-toolbar{display:grid;grid-template-columns:44px 1fr 44px;align-items:center;gap:10px;margin:4px 0 14px}
.lsbd-calendar-toolbar>a{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:#edf4f7;color:var(--lsbd-primary)!important;text-decoration:none!important;font-size:22px;font-weight:900}
.lsbd-calendar-toolbar>div{text-align:center}.lsbd-calendar-toolbar strong{display:block;font:700 26px/1.2 Georgia,"Times New Roman",serif;color:var(--lsbd-primary)}.lsbd-calendar-toolbar>div a{display:inline-block;margin-top:4px;color:var(--lsbd-info)!important;font-weight:800;text-decoration:none!important}
.lsbd-calendar-weekdays,.lsbd-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.lsbd-calendar-weekdays{background:#edf4f7;border:1px solid var(--lsbd-border);border-bottom:0;border-radius:14px 14px 0 0;overflow:hidden}.lsbd-calendar-weekdays span{text-align:center;padding:10px 5px;color:#60727d;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}
.lsbd-calendar-grid{border-left:1px solid var(--lsbd-border);border-top:1px solid var(--lsbd-border);border-radius:0 0 14px 14px;overflow:hidden}
.lsbd-calendar-day{min-height:132px;background:#fff;border-right:1px solid var(--lsbd-border);border-bottom:1px solid var(--lsbd-border);padding:9px;min-width:0}.lsbd-calendar-day.is-outside{background:#f7fafb}.lsbd-calendar-day.is-today{background:#f1fbf7;box-shadow:inset 0 0 0 2px rgba(34,160,107,.28)}
.lsbd-calendar-date{display:flex;align-items:center;justify-content:space-between;margin-bottom:7px}.lsbd-calendar-date>span{display:grid;place-items:center;width:28px;height:28px;border-radius:9px;color:var(--lsbd-primary);font-weight:900}.lsbd-calendar-day.is-today .lsbd-calendar-date>span{background:var(--lsbd-success);color:#fff}.lsbd-calendar-date em{font-style:normal;font-size:10px;color:var(--lsbd-success);font-weight:900;text-transform:uppercase}
.lsbd-calendar-events{display:grid;gap:5px}.lsbd-calendar-event{display:grid;gap:1px;padding:7px 8px;border-radius:9px;background:#edf6fa;color:var(--lsbd-primary)!important;text-decoration:none!important;border-left:3px solid var(--lsbd-info);overflow:hidden}.lsbd-calendar-event:hover{background:#e3f1f7}.lsbd-calendar-event strong,.lsbd-calendar-event span,.lsbd-calendar-event em{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.lsbd-calendar-event strong{font-size:11px}.lsbd-calendar-event span{font-size:12px;font-weight:800}.lsbd-calendar-event em{font-style:normal;font-size:10px;color:#60727d}.lsbd-calendar-more{font-size:11px;color:#60727d;font-weight:800;padding-left:5px}
.lsbd-calendar-agenda{margin-top:18px}.lsbd-calendar-agenda-head{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-bottom:10px}.lsbd-calendar-agenda-head h3{margin:0;font:700 24px/1.2 Georgia,"Times New Roman",serif;color:var(--lsbd-primary)}.lsbd-calendar-agenda-head span{color:#60727d;font-size:12px;font-weight:800}.lsbd-calendar-agenda-list{display:grid;gap:8px}.lsbd-calendar-agenda-item{display:grid;grid-template-columns:110px minmax(0,1fr) auto;align-items:center;gap:14px;padding:11px 13px;border:1px solid var(--lsbd-border);border-radius:13px;background:#fbfcfd;color:var(--lsbd-primary)!important;text-decoration:none!important}.lsbd-calendar-agenda-item:hover{border-color:#b9d4e0;background:#f4f9fb}.lsbd-calendar-agenda-date strong,.lsbd-calendar-agenda-item>div:nth-child(2)>strong{display:block}.lsbd-calendar-agenda-date span,.lsbd-calendar-agenda-item>div:nth-child(2)>span{color:#60727d;font-size:12px}.lsbd-calendar-agenda-item>em{font-style:normal;background:#eaf7f1;color:#167451;border-radius:999px;padding:7px 10px;font-size:11px;font-weight:900}
.lsbd-add-appointment-grid label{display:grid;gap:6px;color:var(--lsbd-primary);font-size:12px;font-weight:800}.lsbd-add-appointment-grid select{width:100%;border:1px solid #dbe3e7;border-radius:12px;padding:11px 12px;font:inherit;background:#fff;box-sizing:border-box}

@media(max-width:900px){.lsbd-calendar-day{min-height:105px;padding:6px}.lsbd-calendar-event em{display:none}.lsbd-calendar-agenda-item{grid-template-columns:90px 1fr}.lsbd-calendar-agenda-item>em{display:none}}
@media(max-width:680px){.lsbd-calendar-weekdays span{font-size:9px;padding:8px 2px}.lsbd-calendar-day{min-height:72px;padding:4px}.lsbd-calendar-date>span{width:24px;height:24px;font-size:12px}.lsbd-calendar-date em,.lsbd-calendar-event strong,.lsbd-calendar-event em{display:none}.lsbd-calendar-event{padding:5px;border-left-width:2px}.lsbd-calendar-event span{font-size:10px}.lsbd-lead-form-grid{grid-template-columns:1fr!important}.lsbd-save-lead{width:100%!important}.lsbd-calendar-agenda-item{grid-template-columns:78px 1fr;padding:9px}.lsbd-calendar-toolbar strong{font-size:22px}}


/* v1.4.4 real Month / Week / Day calendar */
.lsbd-calendar-app{border:1px solid #d8e3e8;border-radius:18px;background:#fff;overflow:hidden;box-shadow:0 8px 26px rgba(23,56,77,.05)}
.lsbd-calendar-controls{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 16px;border-bottom:1px solid #d8e3e8;background:#f8fbfc}
.lsbd-calendar-nav{display:grid;grid-template-columns:42px minmax(220px,1fr) 42px;align-items:center;gap:8px}.lsbd-calendar-nav>a{display:grid;place-items:center;width:42px;height:40px;border:1px solid #cfdee4;border-radius:11px;background:#fff;color:#17384d!important;text-decoration:none!important;font-size:20px;font-weight:900}.lsbd-calendar-title{border:0!important;background:transparent!important;color:#17384d!important;font:700 22px/1.2 Georgia,"Times New Roman",serif!important;opacity:1!important;padding:0 8px!important;white-space:nowrap}
.lsbd-calendar-actions{display:flex;align-items:center;gap:10px}.lsbd-calendar-today{padding:9px 13px;border:1px solid #cbdce3;border-radius:10px;background:#fff;color:#17384d!important;text-decoration:none!important;font-weight:800}.lsbd-calendar-view-switch{display:flex;padding:3px;border-radius:12px;background:#eaf1f4}.lsbd-calendar-view-switch a{padding:8px 13px;border-radius:9px;color:#516772!important;text-decoration:none!important;font-weight:800}.lsbd-calendar-view-switch a.is-active{background:#17384d;color:#fff!important;box-shadow:0 3px 10px rgba(23,56,77,.18)}
.lsbd-month-calendar{padding:0}.lsbd-calendar-weekdays{display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr))!important;background:#f3f7f9!important}.lsbd-calendar-weekdays span{padding:11px 8px!important;text-align:center!important;border-right:1px solid #d8e3e8;color:#627681!important;font-size:11px!important;font-weight:900!important;text-transform:uppercase!important;letter-spacing:.08em!important}.lsbd-calendar-grid{display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr))!important;border:0!important;border-top:1px solid #d8e3e8!important}.lsbd-calendar-day{display:block!important;min-height:132px!important;padding:9px!important;border-right:1px solid #d8e3e8!important;border-bottom:1px solid #d8e3e8!important;background:#fff!important}.lsbd-calendar-day:nth-child(7n){border-right:0!important}.lsbd-calendar-day.is-outside{background:#f7f9fa!important}.lsbd-calendar-day.is-today{background:#f1fbf7!important;box-shadow:inset 0 0 0 2px rgba(34,160,107,.25)!important}.lsbd-calendar-date{display:flex!important;align-items:center!important;justify-content:space-between!important;margin-bottom:7px!important;color:#17384d!important;text-decoration:none!important;font-weight:900!important}.lsbd-calendar-date span{display:grid!important;place-items:center!important;width:28px!important;height:28px!important;border-radius:9px!important}.lsbd-calendar-day.is-today .lsbd-calendar-date span{background:#22a06b!important;color:#fff!important}.lsbd-calendar-date em{font-style:normal!important;color:#16845b!important;font-size:10px!important;text-transform:uppercase!important}.lsbd-calendar-events{display:grid!important;gap:5px!important}.lsbd-calendar-event{display:grid!important;gap:1px!important;padding:7px 8px!important;border-radius:8px!important;border-left:3px solid #3b82f6!important;background:#edf6ff!important;color:#17384d!important;text-decoration:none!important;overflow:hidden!important}.lsbd-calendar-event strong,.lsbd-calendar-event span{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.lsbd-calendar-event strong{font-size:10px!important}.lsbd-calendar-event span{font-size:12px!important;font-weight:800!important}.lsbd-calendar-more{font-size:11px!important;color:#287aa1!important;text-decoration:none!important;font-weight:800!important}
.lsbd-week-calendar{display:grid!important;grid-template-columns:74px repeat(7,minmax(100px,1fr))!important;max-height:680px;overflow:auto}.lsbd-week-time-head,.lsbd-week-day-head{position:sticky;top:0;z-index:3;background:#f4f8fa;border-bottom:1px solid #d8e3e8}.lsbd-week-day-head{display:grid!important;place-items:center!important;gap:2px!important;min-height:62px!important;border-left:1px solid #d8e3e8;color:#536873!important;text-decoration:none!important}.lsbd-week-day-head strong{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;font-size:16px;color:#17384d}.lsbd-week-day-head.is-today strong{background:#22a06b;color:#fff}.lsbd-week-time{padding:10px 8px;border-bottom:1px solid #e1e9ed;color:#71838c;font-size:11px;text-align:right}.lsbd-week-slot{min-height:64px;border-left:1px solid #e1e9ed;border-bottom:1px solid #e1e9ed;padding:4px;background:#fff}.lsbd-week-slot.is-today{background:#f5fcf9}.lsbd-week-event{display:grid!important;gap:2px;padding:6px 7px;border-radius:7px;background:#eaf4ff;border-left:3px solid #3b82f6;color:#17384d!important;text-decoration:none!important;font-size:11px}.lsbd-week-event span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:700}
.lsbd-day-calendar{display:grid!important;grid-template-columns:92px 1fr!important;max-height:700px;overflow:auto}.lsbd-day-time{padding:12px 10px;border-bottom:1px solid #e1e9ed;color:#71838c;font-size:12px;text-align:right}.lsbd-day-slot{min-height:70px;padding:6px;border-left:1px solid #e1e9ed;border-bottom:1px solid #e1e9ed;background:#fff}.lsbd-day-event{display:grid!important;gap:3px;padding:10px 12px;border-radius:10px;background:#eaf7f1;border-left:4px solid #22a06b;color:#17384d!important;text-decoration:none!important}.lsbd-day-event span{color:#57707c;font-size:12px}
@media(max-width:900px){.lsbd-calendar-controls{align-items:flex-start;flex-direction:column}.lsbd-calendar-actions{width:100%;justify-content:space-between}.lsbd-week-calendar{grid-template-columns:62px repeat(7,minmax(90px,1fr))}.lsbd-calendar-day{min-height:105px!important}}
@media(max-width:680px){.lsbd-calendar-nav{width:100%;grid-template-columns:40px 1fr 40px}.lsbd-calendar-title{font-size:18px!important}.lsbd-calendar-actions{align-items:stretch;flex-direction:column}.lsbd-calendar-view-switch{justify-content:stretch}.lsbd-calendar-view-switch a{flex:1;text-align:center}.lsbd-month-calendar{overflow:auto}.lsbd-calendar-weekdays,.lsbd-calendar-grid{min-width:720px}.lsbd-week-calendar{min-width:820px}.lsbd-calendar-app{overflow:auto}.lsbd-day-calendar{grid-template-columns:72px 1fr!important}.lsbd-calendar-day{min-height:96px!important}}


/* v1.4.6 compact desktop home command center */
@media (min-width: 900px) {
  .lsbd-dashboard-page[data-lsbd-view="home"] .lsbd-priority-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 14px !important;
    margin-top: 0 !important;
  }

  .lsbd-dashboard-page[data-lsbd-view="home"] .lsbd-priority-card {
    min-height: 0 !important;
    padding: 18px 20px !important;
    border-radius: 18px !important;
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    grid-template-areas:
      "label number"
      "copy number"
      "action action" !important;
    align-items: center !important;
    column-gap: 14px !important;
    row-gap: 4px !important;
  }

  .lsbd-dashboard-page[data-lsbd-view="home"] .lsbd-priority-card > span {
    grid-area: label !important;
    font-size: 11px !important;
    letter-spacing: .11em !important;
  }

  .lsbd-dashboard-page[data-lsbd-view="home"] .lsbd-priority-card > strong {
    grid-area: number !important;
    font-size: 34px !important;
    line-height: 1 !important;
    color: var(--lsbd-primary) !important;
    align-self: center !important;
  }

  .lsbd-dashboard-page[data-lsbd-view="home"] .lsbd-priority-card > p {
    grid-area: copy !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
  }

  .lsbd-dashboard-page[data-lsbd-view="home"] .lsbd-priority-card > a {
    grid-area: action !important;
    width: auto !important;
    justify-self: start !important;
    margin-top: 9px !important;
    padding: 8px 13px !important;
    min-height: 0 !important;
    border-radius: 999px !important;
    background: #eef5f8 !important;
    color: var(--lsbd-primary) !important;
    border: 1px solid #d9e6eb !important;
    box-shadow: none !important;
    font-size: 12px !important;
  }

  .lsbd-dashboard-page[data-lsbd-view="home"] .lsbd-priority-card > a:hover {
    background: var(--lsbd-primary) !important;
    color: #fff !important;
  }

  .lsbd-dashboard-page[data-lsbd-view="home"] .lsbd-priority-card-primary {
    background: linear-gradient(135deg, #f2fbf7 0%, #ffffff 80%) !important;
    border-color: #cfe9dc !important;
  }

  .lsbd-dashboard-page[data-lsbd-view="home"] .lsbd-priority-card-primary > strong {
    color: var(--lsbd-success) !important;
  }

  .lsbd-dashboard-page[data-lsbd-view="home"] .lsbd-overview {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr) !important;
    gap: 14px !important;
    align-items: stretch !important;
  }

  .lsbd-dashboard-page[data-lsbd-view="home"] .lsbd-overview > article {
    min-height: 300px !important;
    padding: 20px !important;
  }

  .lsbd-dashboard-page[data-lsbd-view="home"] .lsbd-mini-bars {
    gap: 9px !important;
  }

  .lsbd-dashboard-page[data-lsbd-view="home"] .lsbd-mini-bars i {
    height: 8px !important;
  }

  .lsbd-dashboard-page[data-lsbd-view="home"] .lsbd-activity-bars {
    min-height: 205px !important;
    gap: 10px !important;
  }

  .lsbd-dashboard-page[data-lsbd-view="home"] .lsbd-activity-bars i {
    max-width: 24px !important;
  }

  .lsbd-dashboard-page[data-lsbd-view="home"] .lsbd-topbar {
    padding-top: 22px !important;
    padding-bottom: 22px !important;
  }

  .lsbd-dashboard-page[data-lsbd-view="home"] .lsbd-topbar h1 {
    margin-bottom: 4px !important;
  }
}

/* medium desktop/tablet */
@media (min-width: 760px) and (max-width: 1050px) {
  .lsbd-dashboard-page[data-lsbd-view="home"] .lsbd-priority-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}


/* v1.4.7 desktop Home command center */
.lsbd-home-command{
  display:none;
}

.lsbd-dashboard-page[data-lsbd-view="home"] .lsbd-home-command{
  display:grid!important;
}

@media (min-width: 1181px){
  .lsbd-dashboard-page[data-lsbd-view="home"] .lsbd-home-command{
    grid-template-columns:minmax(300px,.9fr) minmax(360px,1.15fr) minmax(300px,.95fr);
    gap:14px;
    align-items:stretch;
  }

  .lsbd-dashboard-page[data-lsbd-view="home"] .lsbd-home-command .lsbd-priority-grid{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    grid-template-rows:repeat(2,minmax(0,1fr));
    gap:12px!important;
    min-width:0;
  }

  .lsbd-dashboard-page[data-lsbd-view="home"] .lsbd-home-command .lsbd-priority-card{
    min-height:0!important;
    padding:16px!important;
    display:flex!important;
    flex-direction:column;
    align-items:flex-start!important;
    justify-content:flex-start;
    gap:5px!important;
    border-radius:18px!important;
  }

  .lsbd-dashboard-page[data-lsbd-view="home"] .lsbd-home-command .lsbd-priority-card > span{
    font-size:10px!important;
    line-height:1.2;
  }

  .lsbd-dashboard-page[data-lsbd-view="home"] .lsbd-home-command .lsbd-priority-card > strong{
    order:-1;
    align-self:flex-end!important;
    margin-bottom:-28px;
    font-size:31px!important;
    line-height:1!important;
  }

  .lsbd-dashboard-page[data-lsbd-view="home"] .lsbd-home-command .lsbd-priority-card > p{
    max-width:125px;
    font-size:11px!important;
    line-height:1.3!important;
  }

  .lsbd-dashboard-page[data-lsbd-view="home"] .lsbd-home-command .lsbd-priority-card > a{
    margin-top:auto!important;
    padding:7px 10px!important;
    font-size:11px!important;
    min-height:0!important;
    width:auto!important;
  }

  .lsbd-dashboard-page[data-lsbd-view="home"] .lsbd-home-command .lsbd-overview{
    display:contents!important;
  }

  .lsbd-dashboard-page[data-lsbd-view="home"] .lsbd-home-command .lsbd-overview > article{
    display:block!important;
    min-width:0;
    height:100%;
    min-height:292px!important;
    padding:18px!important;
    border-radius:18px!important;
  }

  .lsbd-dashboard-page[data-lsbd-view="home"] .lsbd-home-command .lsbd-overview > article:nth-child(3),
  .lsbd-dashboard-page[data-lsbd-view="home"] .lsbd-home-command .lsbd-overview > article:nth-child(4){
    display:none!important;
  }

  .lsbd-dashboard-page[data-lsbd-view="home"] .lsbd-home-command .lsbd-card-head{
    margin-bottom:11px!important;
  }

  .lsbd-dashboard-page[data-lsbd-view="home"] .lsbd-home-command .lsbd-card-head h2{
    font-size:23px!important;
  }

  .lsbd-dashboard-page[data-lsbd-view="home"] .lsbd-home-command .lsbd-card-head p{
    font-size:12px!important;
  }

  .lsbd-dashboard-page[data-lsbd-view="home"] .lsbd-home-command .lsbd-mini-bars{
    gap:8px!important;
  }

  .lsbd-dashboard-page[data-lsbd-view="home"] .lsbd-home-command .lsbd-mini-bars span{
    font-size:11px;
  }

  .lsbd-dashboard-page[data-lsbd-view="home"] .lsbd-home-command .lsbd-mini-bars i{
    height:7px!important;
  }

  .lsbd-dashboard-page[data-lsbd-view="home"] .lsbd-home-command .lsbd-activity-bars{
    min-height:205px!important;
    gap:7px!important;
  }

  .lsbd-dashboard-page[data-lsbd-view="home"] .lsbd-home-command .lsbd-activity-bars i{
    max-width:22px!important;
  }

  .lsbd-dashboard-page[data-lsbd-view="home"] .lsbd-home-command .lsbd-activity-bars span{
    font-size:10px;
  }
}

@media (min-width: 760px) and (max-width:1180px){
  .lsbd-dashboard-page[data-lsbd-view="home"] .lsbd-home-command{
    grid-template-columns:1fr 1fr!important;
  }

  .lsbd-dashboard-page[data-lsbd-view="home"] .lsbd-home-command .lsbd-priority-grid{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:12px!important;
    grid-column:1 / -1;
  }

  .lsbd-dashboard-page[data-lsbd-view="home"] .lsbd-home-command .lsbd-overview{
    display:contents!important;
  }

  .lsbd-dashboard-page[data-lsbd-view="home"] .lsbd-home-command .lsbd-overview > article:nth-child(3),
  .lsbd-dashboard-page[data-lsbd-view="home"] .lsbd-home-command .lsbd-overview > article:nth-child(4){
    display:none!important;
  }
}

@media (max-width:759px){
  .lsbd-dashboard-page[data-lsbd-view="home"] .lsbd-home-command{
    grid-template-columns:1fr!important;
  }

  .lsbd-dashboard-page[data-lsbd-view="home"] .lsbd-home-command .lsbd-priority-grid,
  .lsbd-dashboard-page[data-lsbd-view="home"] .lsbd-home-command .lsbd-overview{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:12px!important;
  }

  .lsbd-dashboard-page[data-lsbd-view="home"] .lsbd-home-command .lsbd-overview > article:nth-child(3),
  .lsbd-dashboard-page[data-lsbd-view="home"] .lsbd-home-command .lsbd-overview > article:nth-child(4){
    display:none!important;
  }
}


/* v1.4.8 workspace visibility and Home grid repair */

/* The v1.4.7 wrapper is retired. */
.lsbd-home-command{display:contents!important}

/* Every non-Home workspace must be independently visible. */
.lsbd-dashboard-page[data-lsbd-view="calendar"] [data-lsbd-section="workbench"],
.lsbd-dashboard-page[data-lsbd-view="tasks"] [data-lsbd-section="workbench"],
.lsbd-dashboard-page[data-lsbd-view="notes"] [data-lsbd-section="workbench"],
.lsbd-dashboard-page[data-lsbd-view="settings"] [data-lsbd-section="settings"],
.lsbd-dashboard-page[data-lsbd-view="calls"] [data-lsbd-section="calls"]{
  display:block!important;
}

.lsbd-dashboard-page[data-lsbd-view="calendar"] [data-lsbd-section="workbench"],
.lsbd-dashboard-page[data-lsbd-view="tasks"] [data-lsbd-section="workbench"],
.lsbd-dashboard-page[data-lsbd-view="notes"] [data-lsbd-section="workbench"]{
  display:grid!important;
  grid-template-columns:1fr!important;
}

/* In a workbench, show only the active workspace card. */
.lsbd-dashboard-page[data-lsbd-view="calendar"] [data-lsbd-section="workbench"] > :not([data-lsbd-section="calendar"]),
.lsbd-dashboard-page[data-lsbd-view="tasks"] [data-lsbd-section="workbench"] > :not([data-lsbd-section="tasks"]),
.lsbd-dashboard-page[data-lsbd-view="notes"] [data-lsbd-section="workbench"] > :not([data-lsbd-section="notes"]){
  display:none!important;
}

.lsbd-dashboard-page[data-lsbd-view="calendar"] [data-lsbd-section="calendar"],
.lsbd-dashboard-page[data-lsbd-view="tasks"] [data-lsbd-section="tasks"],
.lsbd-dashboard-page[data-lsbd-view="notes"] [data-lsbd-section="notes"]{
  display:block!important;
  width:100%!important;
}

/* Clean desktop Home command center without wrapping other workspaces. */
@media (min-width:1181px){
  .lsbd-dashboard-page[data-lsbd-view="home"]{
    display:grid!important;
    grid-template-columns:minmax(300px,.9fr) minmax(360px,1.15fr) minmax(300px,.95fr);
    gap:14px;
    align-items:start;
  }

  .lsbd-dashboard-page[data-lsbd-view="home"] > .lsbd-topbar,
  .lsbd-dashboard-page[data-lsbd-view="home"] > .lsbd-workspace-nav,
  .lsbd-dashboard-page[data-lsbd-view="home"] > .lsbd-notice{
    grid-column:1 / -1;
  }

  .lsbd-dashboard-page[data-lsbd-view="home"] > .lsbd-priority-grid{
    grid-column:1;
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    grid-template-rows:repeat(2,minmax(0,1fr));
    gap:12px!important;
    margin:0!important;
  }

  .lsbd-dashboard-page[data-lsbd-view="home"] > .lsbd-priority-grid .lsbd-priority-card{
    min-height:136px!important;
    padding:16px!important;
    display:flex!important;
    flex-direction:column;
    align-items:flex-start!important;
    gap:5px!important;
  }

  .lsbd-dashboard-page[data-lsbd-view="home"] > .lsbd-priority-grid .lsbd-priority-card > strong{
    position:absolute;
    right:14px;
    top:16px;
    font-size:31px!important;
    line-height:1!important;
  }

  .lsbd-dashboard-page[data-lsbd-view="home"] > .lsbd-priority-grid .lsbd-priority-card{
    position:relative;
  }

  .lsbd-dashboard-page[data-lsbd-view="home"] > .lsbd-priority-grid .lsbd-priority-card > p{
    max-width:125px;
    font-size:11px!important;
    line-height:1.3!important;
  }

  .lsbd-dashboard-page[data-lsbd-view="home"] > .lsbd-priority-grid .lsbd-priority-card > a{
    margin-top:auto!important;
    padding:7px 10px!important;
    font-size:11px!important;
    width:auto!important;
  }

  .lsbd-dashboard-page[data-lsbd-view="home"] > .lsbd-status-row{
    display:none!important;
  }

  .lsbd-dashboard-page[data-lsbd-view="home"] > .lsbd-overview{
    grid-column:2 / 4;
    display:grid!important;
    grid-template-columns:minmax(360px,1.15fr) minmax(300px,.95fr)!important;
    gap:14px!important;
    margin:0!important;
  }

  .lsbd-dashboard-page[data-lsbd-view="home"] > .lsbd-overview > article{
    min-height:284px!important;
    padding:18px!important;
  }

  .lsbd-dashboard-page[data-lsbd-view="home"] > .lsbd-overview > article:nth-child(3),
  .lsbd-dashboard-page[data-lsbd-view="home"] > .lsbd-overview > article:nth-child(4){
    display:none!important;
  }
}

@media (min-width:760px) and (max-width:1180px){
  .lsbd-dashboard-page[data-lsbd-view="home"] > .lsbd-priority-grid{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:12px!important;
  }

  .lsbd-dashboard-page[data-lsbd-view="home"] > .lsbd-overview{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:12px!important;
  }

  .lsbd-dashboard-page[data-lsbd-view="home"] > .lsbd-overview > article:nth-child(3),
  .lsbd-dashboard-page[data-lsbd-view="home"] > .lsbd-overview > article:nth-child(4){
    display:none!important;
  }
}


/* v1.4.9: apply the Home grid to the inner shell, never the outer page */

/* Undo v1.4.8 root-grid rule. */
.lsbd-dashboard-page[data-lsbd-view="home"]{
  display:block!important;
  width:100%!important;
}

/* Keep every non-Home workspace as a standard single-column dashboard. */
.lsbd-dashboard-page:not([data-lsbd-view="home"]) .lsbd-shell{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  width:min(1240px,calc(100% - 32px))!important;
}

/* Correct desktop Home command-center grid. */
@media (min-width:1181px){
  .lsbd-dashboard-page[data-lsbd-view="home"] .lsbd-shell{
    width:min(1240px,calc(100% - 32px))!important;
    margin:0 auto!important;
    display:grid!important;
    grid-template-columns:minmax(300px,.9fr) minmax(360px,1.15fr) minmax(300px,.95fr)!important;
    gap:14px!important;
    align-items:start!important;
  }

  .lsbd-dashboard-page[data-lsbd-view="home"] .lsbd-shell > .lsbd-topbar,
  .lsbd-dashboard-page[data-lsbd-view="home"] .lsbd-shell > .lsbd-workspace-nav,
  .lsbd-dashboard-page[data-lsbd-view="home"] .lsbd-shell > .lsbd-notice{
    grid-column:1 / -1!important;
  }

  .lsbd-dashboard-page[data-lsbd-view="home"] .lsbd-shell > .lsbd-priority-grid{
    grid-column:1!important;
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    grid-template-rows:repeat(2,minmax(0,1fr))!important;
    gap:12px!important;
    margin:0!important;
  }

  .lsbd-dashboard-page[data-lsbd-view="home"] .lsbd-shell > .lsbd-overview{
    grid-column:2 / 4!important;
    display:grid!important;
    grid-template-columns:minmax(360px,1.15fr) minmax(300px,.95fr)!important;
    gap:14px!important;
    margin:0!important;
  }

  .lsbd-dashboard-page[data-lsbd-view="home"] .lsbd-shell > .lsbd-status-row,
  .lsbd-dashboard-page[data-lsbd-view="home"] .lsbd-shell > [data-lsbd-section]:not([data-lsbd-section="home"]){
    display:none!important;
  }

  .lsbd-dashboard-page[data-lsbd-view="home"] .lsbd-shell > .lsbd-overview > article:nth-child(3),
  .lsbd-dashboard-page[data-lsbd-view="home"] .lsbd-shell > .lsbd-overview > article:nth-child(4){
    display:none!important;
  }
}

/* Tablet: full-width shell, two KPI columns, two overview columns. */
@media (min-width:760px) and (max-width:1180px){
  .lsbd-dashboard-page[data-lsbd-view="home"] .lsbd-shell{
    width:min(1240px,calc(100% - 32px))!important;
    margin:0 auto!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    gap:14px!important;
  }

  .lsbd-dashboard-page[data-lsbd-view="home"] .lsbd-shell > .lsbd-priority-grid{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:12px!important;
  }

  .lsbd-dashboard-page[data-lsbd-view="home"] .lsbd-shell > .lsbd-overview{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:12px!important;
  }

  .lsbd-dashboard-page[data-lsbd-view="home"] .lsbd-shell > .lsbd-overview > article:nth-child(3),
  .lsbd-dashboard-page[data-lsbd-view="home"] .lsbd-shell > .lsbd-overview > article:nth-child(4){
    display:none!important;
  }
}

/* Mobile remains one column. */
@media (max-width:759px){
  .lsbd-dashboard-page[data-lsbd-view="home"] .lsbd-shell{
    width:min(100% - 20px,1240px)!important;
    margin:0 auto!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
  }
}


/* v1.5.0 structural workspace cleanup */

/* The actual navigation class is .lsbd-app-nav. Keep it full width. */
.lsbd-shell > .lsbd-app-nav{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
}

@media (min-width:1181px){
  .lsbd-dashboard-page[data-lsbd-view="home"] .lsbd-shell > .lsbd-app-nav{
    grid-column:1 / -1!important;
  }
}

/* Hide every Home-only section outside Home. */
.lsbd-dashboard-page:not([data-lsbd-view="home"]) [data-lsbd-section="home"]{
  display:none!important;
}

/* Show Home sections only on Home. */
.lsbd-dashboard-page[data-lsbd-view="home"] [data-lsbd-section="home"]{
  display:grid!important;
}

/* Status row intentionally stays hidden in the compact Home view. */
.lsbd-dashboard-page[data-lsbd-view="home"] .lsbd-status-row[data-lsbd-section="home"]{
  display:none!important;
}

/* Overview remains a two-card Home grid on desktop. */
@media (min-width:1181px){
  .lsbd-dashboard-page[data-lsbd-view="home"] .lsbd-overview[data-lsbd-section="home"]{
    grid-column:2 / 4!important;
    display:grid!important;
    grid-template-columns:minmax(360px,1.15fr) minmax(300px,.95fr)!important;
  }
}

/* All non-Home workspaces remain full width inside the shell. */
.lsbd-dashboard-page:not([data-lsbd-view="home"]) .lsbd-shell > [data-lsbd-section]{
  grid-column:1 / -1!important;
  width:100%!important;
  min-width:0!important;
}


/* v1.5.1 built-in lead email replies */
.lsbd-topbar h1{margin-bottom:0!important}

.lsbd-email-reply{
  margin:16px 0;
  padding:16px;
  border:1px solid #cfe0e8;
  border-radius:16px;
  background:#f7fbfd;
}

.lsbd-email-reply-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}

.lsbd-email-reply-head h3{
  margin:2px 0 4px;
  font-size:20px;
  color:var(--lsbd-primary);
}

.lsbd-email-reply-head p{
  margin:0;
  color:#607585;
  font-size:13px;
}

.lsbd-kicker{
  display:block;
  color:#347a9c;
  font-size:10px;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.lsbd-toggle-email-composer,
.lsbd-send-email{
  border:0;
  border-radius:999px;
  padding:10px 16px;
  background:#16845b;
  color:#fff;
  font-weight:800;
  cursor:pointer;
  white-space:nowrap;
}

.lsbd-toggle-email-composer:hover,
.lsbd-send-email:hover{background:#106b49}

.lsbd-email-composer{
  margin-top:16px;
  padding-top:16px;
  border-top:1px solid #dce8ed;
  display:grid;
  gap:12px;
}

.lsbd-email-composer[hidden]{display:none!important}

.lsbd-email-composer label{display:grid;gap:6px}
.lsbd-email-composer label > span{color:#213f52;font-size:12px;font-weight:800}

.lsbd-email-composer input,
.lsbd-email-composer textarea{
  width:100%;
  border:1px solid #cbdbe3;
  border-radius:11px;
  background:#fff;
  color:#17384d;
  padding:11px 12px;
  font:inherit;
  box-sizing:border-box;
}

.lsbd-email-composer input[readonly]{background:#eef4f7;color:#5d7180}

.lsbd-email-composer input:focus,
.lsbd-email-composer textarea:focus{
  outline:3px solid rgba(59,130,246,.16);
  border-color:#3b82f6;
}

.lsbd-email-actions{display:flex;justify-content:flex-end;gap:9px}

.lsbd-cancel-email{
  border:1px solid #cbdbe3;
  border-radius:999px;
  padding:9px 15px;
  background:#fff;
  color:#27485b;
  font-weight:800;
  cursor:pointer;
}

.lsbd-notice.is-success{background:#ecfdf5;border-color:#a7f3d0;color:#166534}
.lsbd-notice.is-error{background:#fef2f2;border-color:#fecaca;color:#991b1b}

@media(max-width:700px){
  .lsbd-email-reply-head{align-items:flex-start;flex-direction:column}
}


/* v1.5.2 owner greeting, dashboard email action, and aligned activity chart */
.lsbd-lead-actions button.lsbd-open-email-composer{
  border:0;
  border-radius:999px;
  padding:10px 15px;
  background:#16845b;
  color:#fff;
  font:inherit;
  font-weight:800;
  line-height:1;
  cursor:pointer;
}

.lsbd-lead-actions button.lsbd-open-email-composer:hover{
  background:#106b49;
}

/* Seven equal chart columns with one shared baseline. */
.lsbd-activity-bars{
  display:grid!important;
  grid-template-columns:repeat(7,minmax(0,1fr))!important;
  align-items:end!important;
  column-gap:8px!important;
  min-height:210px!important;
  padding-top:4px!important;
}

.lsbd-activity-bars > div{
  height:100%!important;
  min-width:0!important;
  display:grid!important;
  grid-template-rows:1fr 22px 22px!important;
  align-items:end!important;
  justify-items:center!important;
}

.lsbd-activity-bars > div > i{
  align-self:end!important;
  margin:0 auto 7px!important;
}

.lsbd-activity-bars > div > strong{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  height:22px!important;
  line-height:22px!important;
  margin:0!important;
}

.lsbd-activity-bars > div > span{
  display:block!important;
  width:100%!important;
  height:22px!important;
  line-height:22px!important;
  margin:0!important;
  text-align:center!important;
  white-space:nowrap!important;
  word-break:normal!important;
  overflow:visible!important;
  font-size:10px!important;
}

/* Keep the personalized greeting from becoming excessively wide. */
.lsbd-topbar h1{
  overflow-wrap:normal!important;
  word-break:normal!important;
}


/* v1.5.3 greeting display */
.lsbd-topbar h1{
  max-width:calc(100% - 130px);
}
@media(max-width:640px){
  .lsbd-topbar h1{max-width:100%}
}


/* v1.5.4 final greeting correction */
.lsbd-topbar h1{
  max-width:none!important;
  white-space:normal!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
  display:block!important;
}

.lsbd-topbar h1 > span{
  display:inline!important;
  white-space:nowrap!important;
}

.lsbd-owner-greeting-name{
  display:inline!important;
  white-space:nowrap!important;
}

@media(max-width:640px){
  .lsbd-topbar h1{
    max-width:none!important;
  }
}


/* v1.5.5 greeting: one source of truth */
.lsbd-topbar h1{white-space:nowrap!important}
@media(max-width:700px){.lsbd-topbar h1{white-space:normal!important}}


/* v1.5.6 greeting and lead-card cleanup */
#lsbd-owner-greeting{
  white-space:nowrap!important;
}

.lsbd-owner-greeting-name{
  display:inline!important;
  white-space:nowrap!important;
}

.lsbd-section-head > div > h2{
  margin-bottom:0!important;
}

.lsbd-email-reply-head p{
  margin:3px 0 0!important;
  font-weight:700;
  color:#294c60;
}

@media(max-width:700px){
  #lsbd-owner-greeting{
    white-space:normal!important;
  }
}


/* v1.6.0 reusable contractor Settings architecture */

/* Header greeting is server-rendered from the saved Business Profile. */
.lsbd-topbar h1{
  max-width:none!important;
  white-space:normal!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
}

/* Phone & Messaging now belongs to Settings, not a top-level Calls workspace. */
.lsbd-dashboard-page #communications{
  display:none!important;
}

.lsbd-dashboard-page[data-lsbd-view="settings"] #communications{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  gap:14px!important;
  margin-top:14px!important;
}

/* Business Profile is the first Settings panel and uses the same width as Settings. */
.lsbd-business-profile{
  margin-bottom:14px;
}

.lsbd-profile-form{
  display:grid;
  gap:16px;
}

.lsbd-profile-fields{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}

.lsbd-profile-fields label{
  display:grid;
  gap:7px;
}

.lsbd-profile-fields label > span{
  color:#213f52;
  font-size:12px;
  font-weight:800;
}

.lsbd-profile-fields input{
  width:100%;
  box-sizing:border-box;
  border:1px solid #cbdbe3;
  border-radius:11px;
  background:#fff;
  color:#17384d;
  padding:12px;
  font:inherit;
}

.lsbd-profile-fields input:focus{
  outline:3px solid rgba(59,130,246,.16);
  border-color:#3b82f6;
}

.lsbd-profile-actions{
  display:flex;
  justify-content:flex-end;
}

.lsbd-profile-actions button{
  border:0;
  border-radius:999px;
  padding:11px 18px;
  background:#16845b;
  color:#fff;
  font-weight:800;
  cursor:pointer;
}

.lsbd-profile-actions button:hover{
  background:#106b49;
}

@media(max-width:700px){
  .lsbd-profile-fields{
    grid-template-columns:1fr;
  }
}


/* v1.7.0 reusable internal Analytics workspace */
.lsbd-business-profile{display:none!important}

.lsbd-dashboard-page:not([data-lsbd-view="analytics"]) [data-lsbd-section="analytics"]{
  display:none!important;
}

.lsbd-dashboard-page[data-lsbd-view="analytics"] [data-lsbd-section="analytics"]{
  display:block!important;
  width:100%!important;
}

.lsbd-dashboard-page[data-lsbd-view="analytics"] .lsbd-shell > [data-lsbd-section]:not([data-lsbd-section="analytics"]){
  display:none!important;
}

.lsbd-home-analytics-summary{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:7px;
  margin-top:12px;
  padding-top:11px;
  border-top:1px solid #e1ebef;
}

.lsbd-home-analytics-summary div{
  min-width:0;
}

.lsbd-home-analytics-summary span{
  display:block;
  color:#667b89;
  font-size:9px;
  font-weight:800;
  line-height:1.25;
  text-transform:uppercase;
  letter-spacing:.05em;
}

.lsbd-home-analytics-summary strong{
  display:block;
  margin-top:3px;
  color:#12394e;
  font-size:18px;
}

.lsbd-analytics-link{
  display:inline-flex;
  margin-top:9px;
  color:#16845b;
  font-size:11px;
  font-weight:800;
  text-decoration:none;
}

.lsbd-analytics-heading{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:24px;
  margin-bottom:16px;
}

.lsbd-analytics-heading h2{
  margin:2px 0 4px;
  color:#12394e;
  font-size:32px;
  line-height:1.05;
}

.lsbd-analytics-heading > div > p:last-child{
  margin:0;
  color:#657b89;
}

.lsbd-range-tabs{
  display:inline-flex;
  gap:4px;
  padding:4px;
  border-radius:999px;
  background:#edf4f7;
}

.lsbd-range-tabs a{
  padding:9px 14px;
  border-radius:999px;
  color:#536b79;
  font-size:12px;
  font-weight:800;
  text-decoration:none;
}

.lsbd-range-tabs a.is-active{
  background:#12394e;
  color:#fff;
  box-shadow:0 5px 14px rgba(18,57,78,.18);
}

.lsbd-analytics-kpis{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:12px;
  margin-bottom:14px;
}

.lsbd-analytics-kpis article{
  padding:17px;
  border:1px solid #d9e5ea;
  border-radius:17px;
  background:#fff;
  box-shadow:0 10px 24px rgba(20,57,76,.05);
}

.lsbd-analytics-kpis article.is-highlight{
  border-color:#b9e1cf;
  background:linear-gradient(145deg,#effaf5,#fff);
}

.lsbd-analytics-kpis span,
.lsbd-analytics-kpis small{
  display:block;
}

.lsbd-analytics-kpis span{
  color:#5e7482;
  font-size:10px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.lsbd-analytics-kpis strong{
  display:block;
  margin:6px 0 4px;
  color:#12394e;
  font-size:31px;
  line-height:1;
}

.lsbd-analytics-kpis article.is-highlight strong{
  color:#16845b;
}

.lsbd-analytics-kpis small{
  color:#81919b;
  font-size:10px;
}

.lsbd-analytics-start-note{
  margin-bottom:14px;
  padding:13px 16px;
  border:1px solid #bfe3d1;
  border-radius:14px;
  background:#f0faf5;
  color:#376553;
  font-size:13px;
}

.lsbd-analytics-charts{
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(320px,.65fr);
  gap:14px;
  margin-bottom:14px;
}

.lsbd-analytics-charts .lsbd-card,
.lsbd-analytics-tables .lsbd-card{
  padding:20px;
}

.lsbd-dual-bar-chart,
.lsbd-single-bar-chart{
  display:grid;
  grid-template-columns:repeat(var(--analytics-columns, 30),minmax(8px,1fr));
  align-items:end;
  gap:4px;
  min-height:205px;
  overflow-x:auto;
  padding:10px 2px 0;
}

.lsbd-dual-bar-chart{
  --analytics-columns:30;
}

.lsbd-single-bar-chart{
  --analytics-columns:30;
}

.lsbd-dual-bar-day,
.lsbd-single-bar-chart > div{
  display:grid;
  grid-template-rows:160px 24px;
  align-items:end;
  justify-items:center;
  min-width:10px;
}

.lsbd-dual-bars{
  display:flex;
  align-items:flex-end;
  justify-content:center;
  gap:2px;
  height:160px;
}

.lsbd-dual-bars i{
  display:block;
  width:5px;
  min-height:4px;
  border-radius:5px 5px 2px 2px;
}

.lsbd-dual-bars i.is-views,
.lsbd-chart-legend i.is-views{
  background:#2f80ed;
}

.lsbd-dual-bars i.is-visitors,
.lsbd-chart-legend i.is-visitors{
  background:#19a974;
}

.lsbd-dual-bar-day > span,
.lsbd-single-bar-chart span{
  color:#728591;
  font-size:8px;
  white-space:nowrap;
}

.lsbd-single-bar-chart > div{
  grid-template-rows:145px 18px 24px;
}

.lsbd-single-bar-chart i{
  display:block;
  width:11px;
  min-height:4px;
  border-radius:7px 7px 2px 2px;
  background:linear-gradient(#5aa2ff,#143c53);
}

.lsbd-single-bar-chart strong{
  color:#12394e;
  font-size:10px;
}

.lsbd-chart-legend{
  display:flex;
  gap:16px;
  margin-top:10px;
  color:#657986;
  font-size:11px;
}

.lsbd-chart-legend span{
  display:inline-flex;
  align-items:center;
  gap:6px;
}

.lsbd-chart-legend i{
  width:9px;
  height:9px;
  border-radius:3px;
}

.lsbd-analytics-tables{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}

.lsbd-ranked-list{
  display:grid;
  gap:8px;
}

.lsbd-ranked-list > div{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:12px;
  align-items:center;
  padding:10px 12px;
  border-radius:11px;
  background:#f5f9fb;
}

.lsbd-ranked-list span{
  min-width:0;
  overflow:hidden;
  color:#345266;
  font-size:12px;
  font-weight:700;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.lsbd-ranked-list strong{
  color:#12394e;
  font-size:13px;
}

@media(max-width:1050px){
  .lsbd-analytics-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}
  .lsbd-analytics-charts{grid-template-columns:1fr}
  .lsbd-analytics-tables{grid-template-columns:1fr 1fr}
}

@media(max-width:700px){
  .lsbd-analytics-heading{align-items:flex-start;flex-direction:column}
  .lsbd-analytics-heading h2{font-size:27px}
  .lsbd-analytics-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
  .lsbd-analytics-tables{grid-template-columns:1fr}
  .lsbd-home-analytics-summary{grid-template-columns:1fr}
}


/* v1.8.0 Analytics consolidated into Home */
.lsbd-topbar{
  min-height:78px;
}

.lsbd-welcome{
  display:flex;
  align-items:center;
}

.lsbd-welcome .lsbd-eyebrow{
  margin:0!important;
  font-size:13px;
}

.lsbd-dashboard-page:not([data-lsbd-view="home"]) #home-analytics{
  display:none!important;
}

.lsbd-dashboard-page[data-lsbd-view="home"] #home-analytics{
  display:block!important;
  width:100%!important;
  margin-top:16px!important;
}

.lsbd-dashboard-page[data-lsbd-view="analytics"] [data-lsbd-section="analytics"],
.lsbd-dashboard-page:not([data-lsbd-view="analytics"]) [data-lsbd-section="analytics"]{
  display:none!important;
}

.lsbd-home-analytics-summary,
.lsbd-analytics-link{
  display:none!important;
}


/* v1.8.1 full-width Home analytics layout */
.lsbd-dashboard-page[data-lsbd-view="home"] #home-analytics{
  display:block!important;
  grid-column:1 / -1!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:18px 0 0!important;
  padding:0!important;
  align-self:stretch!important;
  justify-self:stretch!important;
}

.lsbd-dashboard-page[data-lsbd-view="home"] #home-analytics,
.lsbd-dashboard-page[data-lsbd-view="home"] #home-analytics *{
  box-sizing:border-box;
}

#home-analytics .lsbd-analytics-heading{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:end!important;
  gap:20px!important;
  width:100%!important;
  margin-bottom:16px!important;
}

#home-analytics .lsbd-analytics-heading > div:first-child{
  min-width:0!important;
}

#home-analytics .lsbd-analytics-heading h2{
  margin:2px 0 5px!important;
  font-size:34px!important;
  line-height:1.05!important;
  white-space:normal!important;
}

#home-analytics .lsbd-range-tabs{
  justify-self:end!important;
  align-self:end!important;
  white-space:nowrap!important;
}

#home-analytics .lsbd-analytics-kpis{
  display:grid!important;
  grid-template-columns:repeat(6,minmax(0,1fr))!important;
  gap:12px!important;
  width:100%!important;
  margin-bottom:14px!important;
}

#home-analytics .lsbd-analytics-kpis article{
  min-width:0!important;
  min-height:118px!important;
  padding:16px!important;
}

#home-analytics .lsbd-analytics-kpis span,
#home-analytics .lsbd-analytics-kpis small{
  overflow-wrap:normal!important;
  word-break:normal!important;
}

#home-analytics .lsbd-analytics-kpis strong{
  font-size:30px!important;
}

#home-analytics .lsbd-analytics-start-note{
  width:100%!important;
  margin-bottom:14px!important;
}

#home-analytics .lsbd-analytics-charts{
  display:grid!important;
  grid-template-columns:minmax(0,2fr) minmax(300px,1fr)!important;
  gap:14px!important;
  width:100%!important;
  margin-bottom:14px!important;
}

#home-analytics .lsbd-analytics-charts > article{
  min-width:0!important;
  width:100%!important;
  overflow:hidden!important;
}

#home-analytics .lsbd-dual-bar-chart,
#home-analytics .lsbd-single-bar-chart{
  width:100%!important;
  min-width:0!important;
  overflow-x:auto!important;
}

#home-analytics .lsbd-analytics-tables{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:14px!important;
  width:100%!important;
}

#home-analytics .lsbd-analytics-tables > article{
  min-width:0!important;
  width:100%!important;
}

/* Prevent the Home overview grid from constraining the following analytics section. */
.lsbd-dashboard-page[data-lsbd-view="home"] .lsbd-home-overview{
  margin-bottom:0!important;
}

/* Wide desktop */
@media(min-width:1101px){
  #home-analytics .lsbd-analytics-kpis{
    grid-template-columns:repeat(6,minmax(140px,1fr))!important;
  }
}

/* Tablet */
@media(max-width:1100px){
  #home-analytics .lsbd-analytics-kpis{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }

  #home-analytics .lsbd-analytics-charts{
    grid-template-columns:1fr!important;
  }

  #home-analytics .lsbd-analytics-tables{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}

/* Mobile */
@media(max-width:700px){
  #home-analytics .lsbd-analytics-heading{
    grid-template-columns:1fr!important;
    align-items:start!important;
  }

  #home-analytics .lsbd-range-tabs{
    justify-self:start!important;
  }

  #home-analytics .lsbd-analytics-heading h2{
    font-size:28px!important;
  }

  #home-analytics .lsbd-analytics-kpis{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }

  #home-analytics .lsbd-analytics-tables{
    grid-template-columns:1fr!important;
  }
}


/* v1.9.0 reusable AI lead schema and explainable scoring */
.lsbd-ai-score-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:8px;
}
.lsbd-ai-score-head span{
  flex:0 0 auto;
  padding:6px 10px;
  border-radius:999px;
  background:#eaf8f1;
  color:#13724f;
  font-size:11px;
  font-weight:800;
}
.lsbd-score-reasons{
  margin-top:10px;
  padding-top:10px;
  border-top:1px solid #ead7b2;
}
.lsbd-score-reasons summary{
  cursor:pointer;
  color:#234b60;
  font-size:12px;
  font-weight:800;
}
.lsbd-score-reasons p{
  margin:8px 0 0;
  color:#5d6d76;
  font-size:12px;
  line-height:1.55;
}
