.rpt-app{font-family:inherit;--rpt-border:#dfe3e8;--rpt-muted:#68707d;--rpt-bg:#f7f8fa;--rpt-text:#17202a}
.rpt-controls{display:grid;grid-template-columns:minmax(280px,2fr) minmax(180px,1fr) 130px auto;gap:14px;align-items:end;padding:20px;border:1px solid var(--rpt-border);border-radius:14px;background:#fff}
.rpt-field{display:flex;flex-direction:column;gap:6px}.rpt-field label{font-size:13px;font-weight:700}.rpt-field input,.rpt-field select{width:100%;min-height:44px;padding:9px 12px;border:1px solid var(--rpt-border);border-radius:8px;background:#fff;color:var(--rpt-text);font:inherit}
.rpt-button{min-height:44px;padding:10px 16px;border:1px solid var(--rpt-border);border-radius:8px;background:#fff;color:var(--rpt-text);font:inherit;font-weight:700;cursor:pointer}.rpt-button-primary{background:var(--rpt-text);color:#fff;border-color:var(--rpt-text)}.rpt-button:disabled{opacity:.45;cursor:not-allowed}
.rpt-status{min-height:24px;margin:12px 2px;color:var(--rpt-muted)}.rpt-status.is-error{color:#b42318}.rpt-summary{display:flex;gap:8px;align-items:center;justify-content:space-between;padding:14px 16px;border:1px solid var(--rpt-border);border-radius:10px;background:var(--rpt-bg);margin-bottom:14px}.rpt-summary strong{font-size:22px}
.rpt-layout{display:grid;grid-template-columns:minmax(340px,42%) 1fr;gap:16px;min-height:620px}.rpt-results{overflow:auto;max-height:720px;padding-right:5px}.rpt-map-wrap{position:sticky;top:20px;height:620px}.rpt-map{height:100%;width:100%;border-radius:14px;background:var(--rpt-bg);overflow:hidden}
.rpt-card{display:flex;gap:12px;padding:15px;margin-bottom:10px;border:1px solid var(--rpt-border);border-radius:12px;background:#fff;outline:none;transition:.15s}.rpt-card:hover,.rpt-card:focus,.rpt-card.is-selected{border-color:#8c98a6;box-shadow:0 4px 16px rgba(20,30,40,.07)}.rpt-check{padding-top:2px}.rpt-check input{width:18px;height:18px}.rpt-card-main{min-width:0;flex:1}.rpt-card-top{display:flex;gap:10px;justify-content:space-between}.rpt-card-top strong{font-size:16px}.rpt-distance{white-space:nowrap;font-weight:700;color:var(--rpt-muted)}.rpt-address{font-size:13px;color:var(--rpt-muted);margin-top:4px}.rpt-tags{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}.rpt-tags span{font-size:11px;padding:4px 7px;border-radius:99px;background:var(--rpt-bg);color:#46505c}.rpt-links{display:flex;gap:12px;flex-wrap:wrap;margin-top:9px;font-size:12px}.rpt-links a{text-decoration:none}
.rpt-route{margin-top:18px;padding:20px;border:1px solid var(--rpt-border);border-radius:14px;background:#fff}.rpt-route-head{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:18px}.rpt-route-head>div{padding:14px;border-radius:10px;background:var(--rpt-bg)}.rpt-route-head span{display:block;font-size:12px;color:var(--rpt-muted)}.rpt-route-head strong{display:block;font-size:20px;margin-top:3px}.rpt-route-list{list-style:none;margin:0;padding:0}.rpt-route-list li{display:flex;gap:12px;padding:12px 0;border-top:1px solid var(--rpt-border)}.rpt-route-num{display:flex;align-items:center;justify-content:center;flex:0 0 30px;height:30px;border-radius:50%;background:var(--rpt-text);color:#fff;font-weight:700}.rpt-route-list small{color:var(--rpt-muted)}.rpt-empty{padding:24px;border:1px dashed var(--rpt-border);border-radius:12px;color:var(--rpt-muted)}
@media(max-width:900px){.rpt-controls{grid-template-columns:1fr 1fr}.rpt-field-address{grid-column:1/-1}.rpt-layout{grid-template-columns:1fr}.rpt-map-wrap{position:relative;top:auto;height:450px}.rpt-results{max-height:none}.rpt-route-head{grid-template-columns:1fr}}
@media(max-width:600px){.rpt-controls{grid-template-columns:1fr}.rpt-field-address{grid-column:auto}.rpt-summary{align-items:flex-start;flex-direction:column}.rpt-map-wrap{height:380px}}
.rpt-field-targets{position:relative}.rpt-multiselect{position:relative}.rpt-multiselect>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:44px;padding:9px 12px;border:1px solid var(--rpt-border);border-radius:8px;background:#fff;color:var(--rpt-text);cursor:pointer;list-style:none}.rpt-multiselect>summary::-webkit-details-marker{display:none}.rpt-multiselect[open]>summary{border-bottom-left-radius:0;border-bottom-right-radius:0}.rpt-multiselect-panel{position:absolute;z-index:50;left:0;right:0;top:100%;max-height:380px;overflow:auto;border:1px solid var(--rpt-border);border-top:0;border-radius:0 0 8px 8px;background:#fff;box-shadow:0 12px 28px rgba(20,30,40,.14)}.rpt-multiselect-actions{position:sticky;top:0;display:flex;gap:12px;padding:9px 12px;background:var(--rpt-bg);border-bottom:1px solid var(--rpt-border);z-index:1}.rpt-multiselect-actions button{padding:0;border:0;background:none;font:inherit;font-size:12px;font-weight:700;cursor:pointer}.rpt-multiselect-options{padding:6px}.rpt-multiselect-options label{display:flex;align-items:center;gap:9px;padding:8px;border-radius:6px;cursor:pointer;font-size:13px;font-weight:500}.rpt-multiselect-options label:hover{background:var(--rpt-bg)}.rpt-multiselect-options input{width:16px;height:16px;min-height:0;margin:0;flex:0 0 auto}.rpt-tags .rpt-target-tag{font-weight:700}

/* v0.2.6 continuous route summary */
.rpt-route-flow {
  margin: 16px 0;
  padding: 12px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  line-height: 1.6;
}
.rpt-route-return {
  opacity: .9;
}

/* v0.3.0 authentication, address autocomplete, PDF actions */
.rpt-auth-card{max-width:620px;margin:32px auto;padding:28px;border:1px solid var(--rpt-border,#dfe3e8);border-radius:14px;background:#fff;text-align:center}.rpt-auth-card h2{margin-top:0}.rpt-auth-card .rpt-button{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;margin-top:8px}
.rpt-userbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px;padding:8px 12px;border-radius:8px;background:var(--rpt-bg);font-size:12px;color:var(--rpt-muted)}.rpt-userbar a{font-weight:700;text-decoration:none}
.rpt-address-autocomplete{position:relative}.rpt-address-suggestions{position:absolute;z-index:80;top:calc(100% + 4px);left:0;right:0;border:1px solid var(--rpt-border);border-radius:8px;background:#fff;box-shadow:0 12px 28px rgba(20,30,40,.16);overflow:hidden}.rpt-address-suggestion{display:block;width:100%;padding:11px 12px;border:0;border-bottom:1px solid var(--rpt-border);background:#fff;text-align:left;font:inherit;font-size:13px;line-height:1.35;cursor:pointer}.rpt-address-suggestion:last-child{border-bottom:0}.rpt-address-suggestion:hover,.rpt-address-suggestion:focus{background:var(--rpt-bg);outline:none}
.rpt-route-actions{display:flex;justify-content:flex-end;margin-top:18px;padding-top:16px;border-top:1px solid var(--rpt-border)}
.rpt-google-attribution{display:flex;justify-content:flex-end;padding:6px 10px;background:#fff}.rpt-google-attribution img{display:block;width:auto;height:14px;max-width:120px}

/* v0.4.0 application shell */
.rpt-shell{display:grid;grid-template-columns:230px minmax(0,1fr);min-height:700px;background:#fff;border:1px solid #e4e9f0;border-radius:14px;overflow:hidden}
.rpt-sidebar{background:#082b55;color:#fff;padding:22px 14px;display:flex;flex-direction:column;gap:8px}
.rpt-sidebar-brand{font-size:20px;font-weight:800;letter-spacing:.02em;padding:4px 12px 20px}
.rpt-nav-item{appearance:none;border:0;background:transparent;color:#fff;text-align:left;padding:13px 12px;border-radius:9px;display:flex;gap:10px;align-items:center;font:inherit;font-weight:650;cursor:pointer}
.rpt-nav-item:hover,.rpt-nav-item.is-active{background:#1469bd}
.rpt-nav-icon{font-size:20px;width:22px;text-align:center}
.rpt-main{min-width:0;padding:20px}
.rpt-saved-header{margin-bottom:18px}.rpt-saved-header h2{margin:0 0 5px}
.rpt-saved-card{width:100%;display:grid;grid-template-columns:1fr 2fr auto;gap:14px;align-items:center;text-align:left;padding:16px;margin:0 0 10px;border:1px solid #dce4ed;border-radius:10px;background:#fff;cursor:pointer}
.rpt-saved-card:hover{border-color:#1469bd;box-shadow:0 3px 12px rgba(0,0,0,.06)}
.rpt-saved-card span,.rpt-saved-card small{color:#5d6875}
.rpt-saved-detail-head{margin-bottom:16px}.rpt-saved-detail-head h3{margin:14px 0 4px}
.rpt-saved-stop{display:grid;grid-template-columns:38px 1fr;gap:10px;padding:14px 0;border-bottom:1px solid #e5e9ee}
.rpt-saved-map{height:420px;margin-top:20px}
.rpt-text-button{border:0;background:transparent;padding:7px 0;color:#0b61b5;text-decoration:underline;cursor:pointer;font:inherit;font-weight:600}
.rpt-card-activity{margin-top:8px}
.rpt-activity{background:#f7f9fc;border:1px solid #dfe6ee;border-radius:9px;padding:12px}
.rpt-activity-actions textarea{box-sizing:border-box;width:100%;min-height:76px;resize:vertical;margin-bottom:8px}
.rpt-activity-actions{display:flex;gap:8px;flex-wrap:wrap}.rpt-activity-actions textarea{flex-basis:100%}
.rpt-activity-log{margin-top:12px}.rpt-activity-entry{padding:9px 0;border-top:1px solid #dfe6ee}.rpt-activity-entry span{font-size:12px;color:#6a7480;margin-left:8px}
.rpt-map-link{white-space:nowrap}
@media(max-width:800px){
  .rpt-shell{display:block;border-radius:0}
  .rpt-sidebar{position:sticky;top:0;z-index:20;padding:8px;display:grid;grid-template-columns:1fr 1fr;gap:6px}
  .rpt-sidebar-brand{grid-column:1/-1;padding:5px 8px;font-size:17px}
  .rpt-nav-item{justify-content:center;padding:10px 8px;font-size:13px}
  .rpt-main{padding:12px}
  .rpt-controls{display:block}.rpt-field{width:100%;margin-bottom:12px}
  .rpt-layout{display:block!important}.rpt-results{max-height:none}.rpt-map-wrap{margin-top:14px}.rpt-map{height:340px}
  .rpt-saved-card{grid-template-columns:1fr;gap:4px}
  .rpt-route-head{display:grid;grid-template-columns:1fr 1fr;gap:8px}
  .rpt-userbar{font-size:12px}
}

/* v0.4.2 saved-route activity summaries */
.rpt-saved-stop-meta{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:6px}
.rpt-activity-summary{display:inline-flex;min-width:0}
.rpt-last-update{display:flex;align-items:center;gap:9px;flex-wrap:wrap;font-size:12px;color:#5d6875}
.rpt-last-update-label{font-weight:800;color:#24364b;text-transform:uppercase;letter-spacing:.03em}
.rpt-last-update-item{white-space:nowrap}
.rpt-activity-count{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-width:30px;height:26px;padding:0 8px;border-radius:999px;background:#eef5fc;color:#0b61b5;font-weight:800}
.rpt-activity-count svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:800px){
  .rpt-saved-stop-meta{align-items:flex-start;gap:8px}
  .rpt-last-update{width:100%;gap:6px 10px}
  .rpt-last-update-label{width:100%}
  .rpt-last-update-item{white-space:normal}
}

/* v0.4.3 My Saved Prospects */
.rpt-prospect-filters{display:flex;gap:14px;flex-wrap:wrap;margin:0 0 18px}
.rpt-prospect-filters label{display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:700;color:#425466}
.rpt-prospect-filters select{min-width:210px;padding:10px 12px;border:1px solid #d5dde6;border-radius:8px;background:#fff}
.rpt-prospect-row{border:1px solid #dfe6ee;border-radius:10px;background:#fff;padding:16px;margin-bottom:10px}
.rpt-prospect-main{min-width:0}
.rpt-prospect-title{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}
.rpt-prospect-title strong{font-size:16px;color:#1c2f44}
.rpt-prospect-title span{font-size:13px;color:#677482;text-align:right}
.rpt-prospect-stats{display:flex;gap:14px;flex-wrap:wrap;margin-top:10px;font-size:12px;color:#5d6875}
.rpt-prospect-last-comment{margin-top:10px;padding:10px;background:#f7f9fc;border-radius:8px;font-size:13px;color:#465463}
.rpt-prospect-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:10px}
@media(max-width:800px){
  .rpt-sidebar{grid-template-columns:1fr}
  .rpt-sidebar-brand{grid-column:auto}
  .rpt-prospect-filters{display:block}
  .rpt-prospect-filters label{margin-bottom:10px}
  .rpt-prospect-filters select{width:100%;min-width:0}
  .rpt-prospect-title{display:block}
  .rpt-prospect-title span{display:block;text-align:left;margin-top:4px}
  .rpt-prospect-stats{display:grid;grid-template-columns:1fr 1fr;gap:7px}
}

/* v0.4.5 route category list and distinct action buttons */
.rpt-route-categories{margin-top:14px;padding:12px 14px;background:#f7f9fc;border:1px solid #e1e7ee;border-radius:9px}
.rpt-route-categories strong{display:block;margin-bottom:7px;color:#24364b}
.rpt-route-categories ul{margin:0;padding-left:20px}
.rpt-route-categories li{margin:3px 0}
.rpt-links{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}
.rpt-action-button{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:7px 11px;border-radius:7px;border:1px solid transparent;text-decoration:none!important;font:inherit;font-size:12px;font-weight:750;line-height:1.2;cursor:pointer;transition:filter .15s ease,transform .05s ease}
.rpt-action-button:hover{filter:brightness(.96)}
.rpt-action-button:active{transform:translateY(1px)}
.rpt-action-google{background:#e9f5ec;border-color:#b8ddc1;color:#176a2d!important}
.rpt-action-apple{background:#f0f1f3;border-color:#d2d5d9;color:#202428!important}
.rpt-action-notes{background:#eaf2fc;border-color:#bdd3ee;color:#0b5da7!important}
@media(max-width:800px){
  .rpt-action-button{width:auto;max-width:100%;white-space:normal;text-align:center}
  .rpt-route-categories{font-size:13px}
}

/* v0.4.6 contact actions */
.rpt-action-phone{background:#fff4e6;border-color:#f0cf9d;color:#8a4a00!important}
.rpt-action-website{background:#f1ecfb;border-color:#d3c3ee;color:#59349a!important}

/* v0.4.7 align saved route stop cards with My Saved Prospects */
.rpt-saved-itinerary .rpt-prospect-row{display:grid;grid-template-columns:38px 1fr;gap:10px;align-items:start}
.rpt-saved-itinerary .rpt-prospect-title{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}
.rpt-saved-itinerary .rpt-prospect-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:10px}
.rpt-saved-itinerary .rpt-activity-summary{margin-top:10px}
@media(max-width:800px){.rpt-saved-itinerary .rpt-prospect-title{display:block}.rpt-saved-itinerary .rpt-prospect-title span{display:block;text-align:left;margin-top:4px}}

/* v0.4.8 route title and notes */
.rpt-saved-card-heading{display:flex;align-items:baseline;gap:9px;flex-wrap:wrap}
.rpt-saved-card-heading span{font-size:12px;color:#6b7785;font-weight:500}
.rpt-route-title-row{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:16px 0 6px}
.rpt-route-title-display{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;min-width:0}
.rpt-route-title-display h3{margin:0;font-size:28px;line-height:1.15}
.rpt-route-title-placeholder{color:#6d7885}
.rpt-route-generated{font-size:14px;color:#667382;white-space:nowrap}
.rpt-route-edit-button{display:inline-flex;align-items:center;gap:6px;border:1px solid #cfd8e3;background:#fff;color:#245889;border-radius:8px;padding:8px 11px;font:inherit;font-size:12px;font-weight:750;cursor:pointer}
.rpt-route-edit-button:hover{background:#f3f7fb}
.rpt-route-edit-button svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.rpt-route-notes-display:not(:empty){margin-top:12px;padding:12px 14px;background:#fffaf0;border:1px solid #ead9ae;border-radius:9px;color:#4d4637}
.rpt-route-notes-display strong{display:block;margin-bottom:5px;color:#3a352a}
.rpt-route-notes-display p{margin:0;line-height:1.5}
.rpt-route-editor{margin-top:14px;padding:14px;background:#f7f9fc;border:1px solid #dfe6ee;border-radius:10px}
.rpt-route-editor label{display:block;margin-bottom:12px}
.rpt-route-editor label>span{display:block;margin-bottom:6px;font-size:12px;font-weight:800;color:#34495e}
.rpt-route-editor input,.rpt-route-editor textarea{box-sizing:border-box;width:100%;border:1px solid #cfd8e3;border-radius:8px;background:#fff;padding:11px 12px;font:inherit}
.rpt-route-editor textarea{min-height:115px;resize:vertical;line-height:1.45}
.rpt-route-editor-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.rpt-route-save-status{font-size:12px;font-weight:700;color:#47627e}
@media(max-width:800px){
  .rpt-route-title-row{align-items:flex-start;flex-direction:column}
  .rpt-route-title-display{display:block}
  .rpt-route-title-display h3{font-size:22px;margin-bottom:4px}
  .rpt-route-generated{display:block;white-space:normal}
  .rpt-route-edit-button{align-self:flex-start}
  .rpt-route-editor-actions .rpt-button{width:100%}
  .rpt-saved-card-heading{display:block}
  .rpt-saved-card-heading span{display:block;margin-top:3px}
}

/* v0.4.9 route edit placement */
.rpt-route-title-row{justify-content:flex-start}
.rpt-route-title-display{align-items:center}
@media(max-width:800px){
  .rpt-route-title-display .rpt-route-edit-button{margin-top:8px}
}

/* v0.5.0 editable prospect comments */
.rpt-activity-entry-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.rpt-comment-actions{display:flex;gap:6px;flex-wrap:wrap}
.rpt-comment-action{border:0;background:transparent;padding:2px 5px;font:inherit;font-size:12px;font-weight:750;cursor:pointer}
.rpt-comment-edit{color:#0b61b5}
.rpt-comment-delete{color:#b42318}
.rpt-comment-editor{margin-top:8px}
.rpt-comment-editor textarea{box-sizing:border-box;width:100%;min-height:78px;resize:vertical;border:1px solid #cfd8e3;border-radius:8px;padding:9px 10px;font:inherit}
.rpt-comment-editor-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:7px}
@media(max-width:800px){
  .rpt-activity-entry-head{display:block}
  .rpt-comment-actions{margin-top:5px}
}


/* v0.5.1 quick start, route PDF controls, and prospect total */
.rpt-quickstart-card{background:#fff;border:1px solid var(--rpt-border);border-radius:14px;padding:24px}
.rpt-quickstart-card h2{margin:0 0 20px;font-size:28px}
.rpt-quickstart-list{margin:0;padding-left:28px}
.rpt-quickstart-list li{padding:0 0 17px 8px}
.rpt-quickstart-list li:last-child{padding-bottom:0}
.rpt-quickstart-list li::marker{font-weight:800;color:#0b61b5}
.rpt-quickstart-list strong{color:#24364b}
.rpt-quickstart-list p{margin:4px 0 0;color:#5d6875;line-height:1.55}
.rpt-prospects-header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}
.rpt-total-prospects{flex:0 0 auto;padding:10px 14px;border:1px solid #dce4ed;border-radius:9px;background:#f7f9fc;color:#45576a;font-size:14px}
.rpt-total-prospects strong{font-size:20px;color:#1f344a;margin-left:4px}
.rpt-route-head{grid-template-columns:repeat(4,minmax(0,1fr))}
.rpt-route-head-action{display:flex;align-items:center;justify-content:center;background:transparent!important;padding:0!important}
.rpt-route-head-action .rpt-button{width:100%;min-height:100%;display:flex;align-items:center;justify-content:center;text-align:center}
.rpt-saved-route-head{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:14px;margin-bottom:0}
.rpt-saved-download-pdf{flex:0 0 auto}
@media(max-width:1050px){
  .rpt-route-head{grid-template-columns:1fr 1fr}
  .rpt-saved-route-head{grid-template-columns:1fr 1fr 1fr}
}
@media(max-width:800px){
  .rpt-prospects-header{display:block}
  .rpt-total-prospects{display:inline-block;margin-top:10px}
  .rpt-saved-download-pdf{width:100%}
  .rpt-saved-route-head{grid-template-columns:1fr}
}
@media(max-width:600px){
  .rpt-route-head{grid-template-columns:1fr}
  .rpt-route-head-action .rpt-button{min-height:auto}
  .rpt-quickstart-card{padding:18px}
}


/* v0.5.3 layout and scrolling refinements */

/* Saved route PDF stays blue, but uses the same compact sizing as Edit Route Title and Notes. */
.rpt-saved-download-pdf{
  min-height:auto;
  padding:8px 11px;
  border-radius:8px;
  font-size:12px;
  font-weight:750;
  background:var(--rpt-text);
  color:#fff;
  border-color:var(--rpt-text);
}

/* Make the Find Referral Prospects controls shrink inside the app instead of overflowing. */
.rpt-controls{
  grid-template-columns:minmax(220px,2fr) minmax(180px,1fr) minmax(105px,130px) minmax(180px,auto);
}
.rpt-controls > *{
  min-width:0;
  max-width:100%;
  box-sizing:border-box;
}
.rpt-controls .rpt-field,
.rpt-controls .rpt-multiselect,
.rpt-controls .rpt-address-autocomplete,
.rpt-controls [data-rpt-search]{
  min-width:0;
  max-width:100%;
  box-sizing:border-box;
}
.rpt-controls [data-rpt-search]{
  width:100%;
  white-space:normal;
}

/* Switch to two columns before the four-column row can run outside the content area. */
@media(max-width:1615px){
  .rpt-controls{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  }
  .rpt-field-address{
    grid-column:1 / -1;
  }
  .rpt-field-targets{
    grid-column:1 / -1;
  }
}

/* Fully stack the controls on tablet and mobile. */
@media(max-width:800px){
  .rpt-controls{
    display:grid;
    grid-template-columns:1fr;
  }
  .rpt-controls > *,
  .rpt-field-address,
  .rpt-field-targets{
    grid-column:1;
    width:100%;
  }
}


/* v0.5.4 prevent Referral Targets from overlapping Radius */
@media(max-width:1615px){
  .rpt-field-targets,
  .rpt-field-targets .rpt-multiselect,
  .rpt-field-targets .rpt-multiselect-button{
    width:100%;
    max-width:100%;
    min-width:0;
    box-sizing:border-box;
  }

  .rpt-field-targets{
    overflow:visible;
  }

  .rpt-radius-field,
  .rpt-controls .rpt-field:nth-of-type(3){
    position:relative;
    z-index:1;
  }
}


/* v0.5.5 saved route PDF button sizing */
.rpt-route-title-row .rpt-saved-download-pdf.rpt-button.rpt-button-primary{
  width:auto;
  min-width:0;
  min-height:0;
  height:auto;
  padding:10px 11px;
  margin:0;
  line-height:1.2;
  font-size:12px;
  font-weight:750;
  border-radius:8px;
  align-self:center;
  flex:0 0 auto;
}


/* v0.6.20 Saved Prospects table, provider management, and route assignment */
.rpt-prospect-toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin:0 0 12px}
.rpt-prospect-search-label{display:flex;flex-direction:column;gap:6px;flex:1;max-width:620px;font-size:12px;font-weight:700;color:#425466}
.rpt-prospect-search-label input{width:100%;padding:10px 12px;border:1px solid #d5dde6;border-radius:8px;background:#fff;font:inherit}
.rpt-prospect-table-wrap{width:100%;overflow:auto;border:1px solid #dfe6ee;border-radius:10px;background:#fff}
.rpt-prospect-table{width:100%;min-width:1450px;border-collapse:collapse;font-size:12px}
.rpt-prospect-table th{position:sticky;top:0;z-index:1;background:#f6f8fb;color:#24364b;text-align:left;font-weight:800;padding:10px;border-bottom:1px solid #dfe6ee;white-space:nowrap}
.rpt-prospect-table td{padding:9px 10px;border-bottom:1px solid #e7ecf2;vertical-align:middle;color:#425466}
.rpt-prospect-table tbody tr:last-child td{border-bottom:0}
.rpt-prospect-table .rpt-check-col{width:34px;text-align:center}
.rpt-table-prospect-name{color:#142b43;font-size:13px}
.rpt-table-link{border:0;background:transparent;color:#0b61b5;text-decoration:underline;padding:0;font:inherit;font-weight:750;cursor:pointer}
.rpt-table-actions{display:flex;align-items:center;gap:5px;white-space:nowrap}
.rpt-table-icon-action{display:inline-flex;align-items:center;justify-content:center;min-height:30px;padding:5px 7px;border:1px solid #d5dde6;border-radius:6px;background:#fff;color:#0b61b5;text-decoration:none!important;font-size:11px;font-weight:750}
.rpt-add-route-button{border-color:#b8d7f4;background:#edf6ff;color:#075da8}
.rpt-latest-note{max-width:220px;white-space:normal}
.rpt-prospect-activity-row td{background:#fbfcfe;padding:14px 18px}
.rpt-prospect-pagination{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-top:12px;color:#5d6875;font-size:12px}
.rpt-prospect-page-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.rpt-prospect-page-controls label{display:flex;align-items:center;gap:6px}
.rpt-prospect-page-controls select{padding:7px 8px;border:1px solid #d5dde6;border-radius:7px;background:#fff}
.rpt-modal-backdrop{position:fixed;inset:0;z-index:999999;background:rgba(15,31,48,.48);display:flex;align-items:center;justify-content:center;padding:20px}
.rpt-modal{width:min(620px,100%);max-height:85vh;overflow:auto;background:#fff;border-radius:14px;box-shadow:0 24px 70px rgba(15,31,48,.25);padding:20px}
.rpt-modal-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:16px}
.rpt-modal-head h3{margin:0 0 4px;font-size:22px;color:#1f344a}
.rpt-modal-head p{margin:0;color:#5d6875}
.rpt-modal-x{border:0;background:transparent;font-size:28px;line-height:1;cursor:pointer;color:#5d6875}
.rpt-modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:18px}
.rpt-provider-form{display:grid;grid-template-columns:1fr 1fr auto;gap:10px;align-items:end;border-top:1px solid #e2e8ef;margin-top:16px;padding-top:16px}
.rpt-provider-form label{display:flex;flex-direction:column;gap:5px;font-size:12px;font-weight:700;color:#425466}
.rpt-provider-form input{padding:9px 10px;border:1px solid #d5dde6;border-radius:7px;font:inherit}
.rpt-provider-row{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:10px 0;border-bottom:1px solid #edf0f4}
.rpt-provider-row span{display:block;color:#687684;font-size:12px;margin-top:2px}
.rpt-route-picker-list{display:grid;gap:8px}
.rpt-route-picker-item{display:flex;gap:10px;align-items:flex-start;padding:12px;border:1px solid #dfe6ee;border-radius:9px;cursor:pointer}
.rpt-route-picker-item:hover{background:#f7faff}
.rpt-route-picker-item span{display:flex;flex-direction:column;gap:3px}
.rpt-route-picker-item small{color:#687684}
.rpt-route-needs-optimization{margin-top:14px;padding:11px 13px;border:1px solid #f1c46b;border-radius:8px;background:#fff8e7;color:#6e4b00}
@media(max-width:800px){
  .rpt-prospect-toolbar{display:block}
  .rpt-prospect-toolbar .rpt-button{margin-top:10px}
  .rpt-provider-form{grid-template-columns:1fr}
}

/* v0.6.21 compact Saved Prospects */
.rpt-prospects-controls{display:grid!important;grid-template-columns:minmax(240px,1fr) auto auto!important;align-items:end!important;gap:10px!important;margin-bottom:12px!important}
.rpt-prospect-toolbar,.rpt-prospect-filters{display:flex!important;align-items:end!important;gap:10px!important;margin:0!important}
.rpt-prospect-search-label{width:100%!important;max-width:390px!important;gap:3px!important;margin:0!important;font-size:10px!important}
.rpt-prospect-search-label input{height:34px!important;min-height:34px!important;padding:5px 9px!important;font-size:11px!important;border-radius:6px!important}
.rpt-prospect-filters label{gap:3px!important;margin:0!important;font-size:10px!important}
.rpt-prospect-filters select{height:34px!important;min-height:34px!important;min-width:145px!important;padding:4px 28px 4px 8px!important;font-size:11px!important}
.rpt-prospects-controls>[data-rpt-add-selected-route]{height:34px!important;min-height:34px!important;padding:5px 11px!important;font-size:11px!important;white-space:nowrap!important}
.rpt-prospect-table-wrap{overflow:visible!important}
.rpt-compact-prospect-list{display:grid;gap:6px;width:100%}
.rpt-compact-prospect-card{display:grid;grid-template-columns:24px minmax(0,1fr);gap:6px;width:100%;box-sizing:border-box;padding:8px 10px;border:1px solid #dce4ed;border-radius:8px;background:#fff}
.rpt-compact-check{padding-top:1px}
.rpt-compact-main{min-width:0}
.rpt-compact-title-row{display:flex;align-items:center;gap:8px;min-width:0}
.rpt-compact-title-row>strong{font-size:12px;color:#142b43;white-space:nowrap}
.rpt-compact-category{padding:2px 6px;border-radius:9px;background:#eef4fa;color:#3d5872;font-size:9.5px;font-weight:750;white-space:nowrap}
.rpt-compact-address{margin-left:auto;color:#687684;font-size:10px;text-align:right;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rpt-compact-meta{display:flex;align-items:center;gap:10px;min-width:0;margin-top:4px;color:#536579;font-size:10px;white-space:nowrap}
.rpt-compact-meta .rpt-activity-count{padding:1px 4px}
.rpt-compact-note{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}
.rpt-compact-actions{display:flex;align-items:center;gap:4px;margin-top:5px;flex-wrap:wrap}
.rpt-compact-actions .rpt-table-icon-action,.rpt-compact-actions .rpt-action-button{min-height:25px!important;height:25px!important;padding:3px 6px!important;font-size:9.5px!important;line-height:1!important}
.rpt-compact-activity{margin-top:7px;padding-top:7px;border-top:1px solid #e8edf2}
@media(max-width:1000px){.rpt-prospects-controls{grid-template-columns:1fr!important}.rpt-prospect-search-label{max-width:none!important}.rpt-prospect-filters{flex-wrap:wrap!important}}

/* v0.6.22 original Saved Prospects card layout */
.rpt-prospects-controls{display:contents!important}
.rpt-prospect-toolbar{display:flex!important;align-items:flex-end!important;justify-content:space-between!important;gap:14px!important;margin:0 0 12px!important}
.rpt-prospect-search-label{display:flex!important;flex-direction:column!important;gap:6px!important;flex:1!important;max-width:620px!important;font-size:12px!important;font-weight:700!important}
.rpt-prospect-search-label input{height:auto!important;min-height:0!important;padding:10px 12px!important;font-size:inherit!important;border-radius:8px!important}
.rpt-prospect-filters{display:flex!important;align-items:flex-end!important;gap:12px!important;margin-bottom:14px!important}
.rpt-prospect-filters label{font-size:12px!important;gap:6px!important}
.rpt-prospect-filters select{height:auto!important;min-height:0!important;min-width:0!important;padding:9px 32px 9px 10px!important;font-size:inherit!important}
.rpt-prospect-toolbar [data-rpt-add-selected-route]{height:auto!important;min-height:0!important;padding:10px 12px!important;font-size:12px!important}
.rpt-prospect-row{position:relative!important}
.rpt-prospect-row>.rpt-saved-prospect-select{position:absolute;left:8px;top:14px}
.rpt-prospect-row:has(>.rpt-saved-prospect-select){padding-left:36px!important}
.rpt-provider-card-button{border:0;background:transparent;color:#0b61b5;font:inherit;font-weight:750;padding:0;cursor:pointer;text-decoration:underline}
.rpt-provider-route-button{border-color:#b8d7f4!important;background:#edf6ff!important;color:#075da8!important}
.rpt-prospect-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:12px 0 4px;color:#5d6875;font-size:12px}
.rpt-prospect-page-controls{display:flex;align-items:center;gap:8px}

/* v0.6.23 card action refinements */
.rpt-provider-route-button{
  background:#fff0f5!important;
  border-color:#efb8ca!important;
  color:#9a3157!important;
}
.rpt-provider-route-button:hover{
  background:#ffe5ee!important;
  border-color:#e59ab3!important;
  color:#812746!important;
}
.rpt-prospect-title-with-route{
  display:flex!important;
  align-items:flex-start!important;
  gap:12px!important;
}
.rpt-prospect-title-right{
  margin-left:auto;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  min-width:0;
}
.rpt-prospect-title-right>span{
  text-align:right;
}
.rpt-add-route-top{
  flex:0 0 auto;
  min-height:0!important;
  height:auto!important;
  padding:5px 8px!important;
  font-size:10px!important;
  line-height:1.1!important;
  border-radius:6px!important;
  white-space:nowrap!important;
}
@media(max-width:800px){
  .rpt-prospect-title-with-route{display:block!important}
  .rpt-prospect-title-right{margin-top:5px;justify-content:space-between}
}

/* v0.6.24 admin employee activity audit */
.rpt-activity-audit-filter{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap;margin:0 0 14px}
.rpt-activity-audit-filter label{display:flex;flex-direction:column;gap:4px;font-weight:600}
.rpt-activity-audit-filter select{min-width:190px}
.rpt-activity-comment-detail{white-space:normal!important;min-width:260px;max-width:520px}

/* v0.6.25 remove prospect from a saved route */
.rpt-route-stop-address-actions{
  margin-left:auto;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  min-width:0;
}
.rpt-route-stop-address-actions>span{text-align:right}
.rpt-remove-route-button{
  flex:0 0 auto;
  min-height:0!important;
  height:auto!important;
  padding:5px 8px!important;
  font-size:10px!important;
  line-height:1.1!important;
  border-radius:6px!important;
  white-space:nowrap!important;
  background:#fff1f1!important;
  border-color:#efb7b7!important;
  color:#a33a3a!important;
}
.rpt-remove-route-button:hover{
  background:#ffe3e3!important;
  border-color:#e39a9a!important;
  color:#842c2c!important;
}
.rpt-remove-confirm-button{
  background:#b42318!important;
  border-color:#b42318!important;
  color:#fff!important;
}
.rpt-modal-confirm-copy{padding:4px 0 8px}
@media(max-width:800px){
  .rpt-route-stop-address-actions{margin-top:5px;justify-content:space-between}
}



/* v0.6.27 unified Atlas action button sizing */
.rpt-app .rpt-button,
.rpt-app .rpt-action-button,
.rpt-app .rpt-route-edit-button,
.rpt-app .rpt-comment-action,
.rpt-app button.rpt-button,
.rpt-app button.rpt-action-button,
.rpt-app a.rpt-button,
.rpt-app a.rpt-action-button{
  box-sizing:border-box!important;
  min-width:0!important;
  min-height:0!important;
  height:auto!important;
  margin:0!important;
  padding:10px 11px!important;
  font-size:12px!important;
  font-weight:750!important;
  line-height:1.2!important;
  border-radius:8px!important;
}

/* Export buttons use the exact same dimensions as every other Atlas action button. */
.rpt-app .rpt-saved-download-pdf,
.rpt-app .rpt-saved-download-csv,
.rpt-app [data-rpt-download-pdf],
.rpt-app [data-rpt-download-csv]{
  box-sizing:border-box!important;
  min-width:0!important;
  min-height:0!important;
  height:auto!important;
  margin:0!important;
  padding:10px 11px!important;
  font-size:12px!important;
  font-weight:750!important;
  line-height:1.2!important;
  border-radius:8px!important;
  align-self:center!important;
}

/* Keep button groups aligned without creating inconsistent button margins. */
.rpt-route-head-action,
.rpt-route-actions,
.rpt-route-title-row,
.rpt-prospect-actions,
.rpt-modal-actions{
  gap:8px;
}

/* v0.6.29 personal frontend analytics */
.rpt-analytics-pane{width:100%;min-width:0}
.rpt-analytics-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:18px}
.rpt-analytics-head h2{margin:0 0 5px}
.rpt-analytics-head p{margin:0;color:#5f6b76}
.rpt-analytics-year-label{display:flex;flex-direction:column;gap:5px;font-size:12px;font-weight:750}
.rpt-analytics-year-label select{min-width:110px}
.rpt-analytics-card{background:#fff;border:1px solid #dfe5eb;border-radius:12px;padding:18px;margin-bottom:18px;min-width:0}
.rpt-analytics-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:14px}
.rpt-analytics-card-head h3{margin:0 0 4px}
.rpt-analytics-card-head p{margin:0;color:#65717d}
.rpt-analytics-legend{display:flex;flex-wrap:wrap;gap:10px 18px;margin-bottom:16px;font-size:12px;font-weight:700}
.rpt-analytics-legend span{display:flex;align-items:center;gap:6px}
.rpt-legend-swatch{display:inline-block;width:10px;height:10px;border-radius:2px}
.rpt-series-total{background:#0071ce}
.rpt-series-visited{background:#4f9f6f}
.rpt-series-visits{background:#f96d49}
.rpt-series-no-visit{background:#b9c3cc}
.rpt-analytics-chart-scroll{overflow-x:auto;padding-bottom:4px}
.rpt-analytics-chart{height:235px;min-width:820px;display:grid;grid-template-columns:repeat(12,minmax(58px,1fr));gap:8px;align-items:end;border-bottom:1px solid #d9e0e6;padding:10px 4px 0}
.rpt-chart-month{height:225px;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:7px;font-size:11px}
.rpt-chart-bars{height:190px;width:100%;display:flex;align-items:flex-end;justify-content:center;gap:3px}
.rpt-chart-bar{width:20%;min-width:8px;max-width:18px;border-radius:4px 4px 0 0;position:relative;transition:opacity .15s ease}
.rpt-chart-bar:hover{opacity:.78}
.rpt-chart-bar span{position:absolute;left:50%;transform:translateX(-50%);top:-16px;font-size:9px;font-weight:750;color:#44515d}
.rpt-analytics-table-scroll{width:100%;overflow-x:auto;border:1px solid #e0e6eb;border-radius:9px}
.rpt-analytics-table{width:100%;min-width:1250px;border-collapse:separate;border-spacing:0;font-size:12px}
.rpt-analytics-table th,.rpt-analytics-table td{padding:10px 9px;border-right:1px solid #e6ebef;border-bottom:1px solid #e6ebef;vertical-align:top;background:#fff}
.rpt-analytics-table th{position:sticky;top:0;background:#f5f7f9;z-index:2;text-align:center;font-weight:800;white-space:nowrap}
.rpt-analytics-table th:first-child,.rpt-analytics-table td:first-child{position:sticky;left:0;z-index:3;min-width:190px;text-align:left}
.rpt-analytics-table th:nth-child(2),.rpt-analytics-table td:nth-child(2){position:sticky;left:190px;z-index:3;min-width:250px;text-align:left;box-shadow:2px 0 3px rgba(0,0,0,.04)}
.rpt-analytics-table th:first-child,.rpt-analytics-table th:nth-child(2){background:#f5f7f9;z-index:4}
.rpt-analytics-table td.has-visits{background:#eef7ff;font-weight:750;text-align:center;color:#155f9d}
.rpt-analytics-table td:not(:first-child):not(:nth-child(2)){min-width:68px;text-align:center}
.rpt-analytics-table tr:last-child td{border-bottom:0}
.rpt-analytics-table th:last-child,.rpt-analytics-table td:last-child{border-right:0}
@media(max-width:800px){
  .rpt-analytics-head,.rpt-analytics-card-head{display:block}
  .rpt-analytics-year-label{margin-top:12px;max-width:130px}
  .rpt-analytics-card{padding:13px}
  .rpt-analytics-table{min-width:1120px}
  .rpt-analytics-table th:first-child,.rpt-analytics-table td:first-child{min-width:150px}
  .rpt-analytics-table th:nth-child(2),.rpt-analytics-table td:nth-child(2){left:150px;min-width:210px}
}

/* v0.6.30 route targeting opportunity analytics */
.rpt-series-identified{background:#0071ce}
.rpt-series-added-route{background:#4f9f6f}
.rpt-series-opportunity{background:#f2c0bf}

/* v0.6.35 responsive actions for My Saved Prospects and My Saved Routes */
.rpt-mobile-card-menu-toggle,.rpt-mobile-card-menu{display:none!important}

/* Desktop and tablet spacing. Keep actions separated and allow wrapping. */
.rpt-prospects-pane .rpt-prospect-actions,
.rpt-saved-pane .rpt-route-prospect-actions{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  gap:10px!important;
  margin-top:12px!important;
  margin-bottom:8px!important;
}
.rpt-prospects-pane .rpt-mobile-maps,
.rpt-saved-pane .rpt-mobile-maps,
.rpt-prospects-pane .rpt-desktop-prospect-actions,
.rpt-saved-pane .rpt-desktop-prospect-actions{
  display:inline-flex!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  gap:10px!important;
}
.rpt-prospects-pane .rpt-prospect-actions .rpt-action-button,
.rpt-saved-pane .rpt-route-prospect-actions .rpt-action-button{
  margin:0!important;
}

@media (max-width:767px){
  .rpt-prospects-pane .rpt-add-route-top,
  .rpt-prospects-pane .rpt-prospect-stats>.rpt-provider-card-button,
  .rpt-prospects-pane .rpt-desktop-prospect-actions,
  .rpt-saved-pane .rpt-desktop-remove-route,
  .rpt-saved-pane .rpt-desktop-prospect-actions{display:none!important}

  .rpt-prospects-pane .rpt-prospect-actions,
  .rpt-saved-pane .rpt-route-prospect-actions{
    position:relative;
    flex-direction:column!important;
    align-items:stretch!important;
    gap:8px!important;
    width:100%!important;
  }

  /* Mobile order: Notes & Activity, Providers, Google Maps, Apple Maps, menu. */
  .rpt-prospects-pane .rpt-mobile-notes,.rpt-saved-pane .rpt-mobile-notes{order:1}
  .rpt-prospects-pane .rpt-mobile-providers,.rpt-saved-pane .rpt-mobile-providers{order:2}
  .rpt-prospects-pane .rpt-mobile-maps,.rpt-saved-pane .rpt-mobile-maps{
    order:3;display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:8px!important;width:100%!important;
  }
  .rpt-prospects-pane .rpt-mobile-notes,
  .rpt-prospects-pane .rpt-mobile-providers,
  .rpt-prospects-pane .rpt-mobile-maps .rpt-action-button,
  .rpt-saved-pane .rpt-mobile-notes,
  .rpt-saved-pane .rpt-mobile-providers,
  .rpt-saved-pane .rpt-mobile-maps .rpt-action-button{
    display:flex!important;width:100%!important;box-sizing:border-box!important;justify-content:center!important;
  }
  .rpt-prospects-pane .rpt-mobile-card-menu-toggle,
  .rpt-saved-pane .rpt-mobile-card-menu-toggle{
    display:flex!important;order:4;width:100%!important;box-sizing:border-box!important;justify-content:center!important;
  }
  .rpt-prospects-pane .rpt-activity-count{order:5}
  .rpt-prospects-pane .rpt-mobile-card-menu:not([hidden]),
  .rpt-saved-pane .rpt-mobile-card-menu:not([hidden]){
    display:flex!important;order:6;width:100%!important;box-sizing:border-box!important;padding:8px!important;gap:8px!important;
    flex-direction:column!important;background:#fff;border:1px solid #d9e1e8;border-radius:10px;box-shadow:0 8px 24px rgba(15,35,55,.10);
  }
  .rpt-prospects-pane .rpt-mobile-card-menu .rpt-action-button,
  .rpt-saved-pane .rpt-mobile-card-menu .rpt-action-button{
    display:flex!important;width:100%!important;box-sizing:border-box!important;justify-content:center!important;
  }
}


/* v0.6.37 exact Providers button parity across Saved Prospects and Saved Routes */
.rpt-prospects-pane .rpt-provider-route-button,
.rpt-saved-pane .rpt-provider-route-button{
  background:#fff0f5!important;
  border:1px solid #efb8ca!important;
  color:#9a3157!important;
}


/* v0.6.39 leadership team analytics */
.rpt-team-analytics-filters{display:flex;gap:10px;align-items:flex-end;flex-wrap:wrap}
.rpt-team-analytics-filters label{display:flex;flex-direction:column;gap:5px;font-size:12px;font-weight:750;color:#314354}
.rpt-team-analytics-filters select{min-width:190px}
.rpt-team-activity-table{min-width:900px}
@media(max-width:767px){
  .rpt-team-analytics-head{align-items:stretch!important}
  .rpt-team-analytics-filters{width:100%;flex-direction:column;align-items:stretch}
  .rpt-team-analytics-filters select{width:100%;min-width:0}
}


/* v0.6.40 simplified leadership analytics */
.rpt-team-kpi-grid{display:grid;grid-template-columns:repeat(5,minmax(130px,1fr));gap:10px;margin-top:14px}
.rpt-team-kpi{border:1px solid #dfe7ee;border-radius:10px;padding:14px;background:#fff}
.rpt-team-kpi span{display:block;font-size:12px;font-weight:750;color:#5d6b78;margin-bottom:6px}
.rpt-team-kpi strong{font-size:26px;line-height:1;color:#17324d}
.rpt-team-performance-table{min-width:1120px}
.rpt-team-status{display:inline-block;padding:5px 8px;border-radius:999px;font-size:11px;font-weight:750;white-space:nowrap}
.rpt-team-status.has-activity{background:#e8f6ee;color:#216e45}
.rpt-team-status.login-only{background:#fff4d6;color:#805b00}
@media(max-width:900px){.rpt-team-kpi-grid{grid-template-columns:repeat(2,minmax(130px,1fr))}}
@media(max-width:520px){.rpt-team-kpi-grid{grid-template-columns:1fr}}


/* v0.6.42 team analytics monthly filtering and charts */
.rpt-team-selected-month{background:#f4f8fc;border-radius:8px;padding-top:5px}


/* v0.7.1 improved routing and Add a Practice */
.rpt-add-practice-search{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:end}
.rpt-add-practice-search label,.rpt-add-practice-manual label{display:flex;flex-direction:column;gap:6px;font-weight:700;color:#1f344a}
.rpt-add-practice-search input,.rpt-add-practice-manual input{width:100%;box-sizing:border-box;border:1px solid #c9d2dc;border-radius:8px;padding:10px 11px;background:#fff;color:#1f344a}
.rpt-add-practice-matches>p,.rpt-add-practice-manual>p{color:#5d6875;margin:0 0 14px}
.rpt-add-practice-match{display:flex;justify-content:space-between;gap:14px;align-items:center;border:1px solid #dce3ea;border-radius:10px;padding:12px;margin-bottom:10px}
.rpt-add-practice-match div{display:flex;flex-direction:column;gap:4px;min-width:0}
.rpt-add-practice-match span{color:#5d6875;font-size:13px}
.rpt-add-manual-link{margin-top:4px}
.rpt-add-practice-manual h4{margin:0 0 6px;color:#1f344a;font-size:18px}
.rpt-manual-address-grid{display:grid;grid-template-columns:2fr 1fr;gap:10px;margin-top:12px}
.rpt-manual-street{grid-column:1/-1}
@media(max-width:700px){
  .rpt-add-practice-search{display:grid;grid-template-columns:1fr}
  .rpt-add-practice-search .rpt-button{width:100%}
  .rpt-add-practice-match{align-items:stretch;flex-direction:column}
  .rpt-add-practice-match .rpt-button{width:100%}
  .rpt-manual-address-grid{grid-template-columns:1fr}
  .rpt-manual-street{grid-column:auto}
}


/* v0.7.2 Add Prospect CTA above prospect cards */
.rpt-results-column{min-width:0}
.rpt-add-prospect-cta{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:10px;
  flex-wrap:wrap;
  margin:0 0 12px;
  padding:10px 12px;
  border:1px solid #dce3ea;
  border-radius:10px;
  background:#f8fafc;
}
.rpt-add-prospect-cta[hidden]{display:none!important}
.rpt-add-prospect-cta span{font-weight:700;color:#1f344a}
@media(max-width:700px){
  .rpt-add-prospect-cta{align-items:stretch;flex-direction:column}
  .rpt-add-prospect-cta .rpt-button{width:100%}
}


/* v0.7.3 Google address autocomplete and aligned adjacent controls */
.rpt-add-practice-search input,
.rpt-add-practice-search .rpt-button{
  min-height:48px;
  height:48px;
  box-sizing:border-box;
}
.rpt-add-practice-search .rpt-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  white-space:nowrap;
  padding:0 18px;
}

/* Main prospect search row: address, target selector, radius, and action button align to one height. */
.rpt-search-grid input,
.rpt-search-grid select,
.rpt-search-grid .rpt-button,
.rpt-search-controls input,
.rpt-search-controls select,
.rpt-search-controls .rpt-button{
  min-height:48px;
  box-sizing:border-box;
}
.rpt-search-grid .rpt-button,
.rpt-search-controls .rpt-button{
  height:48px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 18px;
  white-space:nowrap;
}

/* Existing desktop markup uses these controls even where the parent class differs. */
[data-rpt-search]{
  min-height:48px!important;
  height:48px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  box-sizing:border-box!important;
  padding:0 18px!important;
  white-space:nowrap;
}
[data-rpt-practice-search]{
  min-height:48px!important;
  height:48px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  box-sizing:border-box!important;
  padding:0 18px!important;
}


/* v0.7.4 exact control fixes */
[data-rpt-search]{
  min-height:32px!important;
  height:32px!important;
  padding:0 14px!important;
}
[data-rpt-practice-search]{
  margin-bottom:4px!important;
}

/* Add Prospect address autocomplete dropdown */
.rpt-add-practice-search label{position:relative}
.rpt-address-autocomplete-menu{
  position:absolute;
  z-index:100000;
  left:0;
  right:0;
  top:100%;
  margin-top:2px;
  background:#fff;
  border:1px solid #c9d2dc;
  border-radius:8px;
  box-shadow:0 8px 24px rgba(31,52,74,.14);
  overflow:hidden;
  max-height:260px;
  overflow-y:auto;
}
.rpt-address-autocomplete-option{
  appearance:none;
  width:100%;
  border:0;
  border-bottom:1px solid #edf0f3;
  background:#fff;
  color:#1f344a;
  text-align:left;
  padding:10px 12px;
  font:inherit;
  cursor:pointer;
}
.rpt-address-autocomplete-option:last-child{border-bottom:0}
.rpt-address-autocomplete-option:hover,
.rpt-address-autocomplete-option:focus{background:#f4f8fc;outline:0}


/* v0.7.5 final autocomplete and search-row sizing correction */
.rpt-controls [data-rpt-search],
[data-rpt-search]{
  min-height:60px!important;
  height:60px!important;
  padding:0 18px!important;
  align-self:end!important;
}
[data-rpt-practice-search]{
  margin-bottom:4px!important;
}


/* v0.7.6 exact Find Referral Prospects button sizing */
button[data-rpt-search].rpt-button.rpt-button-primary{
  height:auto!important;
  min-height:0!important;
  padding-top:32px!important;
  padding-bottom:32px!important;
  padding-left:18px!important;
  padding-right:18px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  box-sizing:border-box!important;
  white-space:nowrap!important;
}
[data-rpt-practice-search]{
  margin-bottom:4px!important;
}


/* v0.7.7 exact Find Referral Prospects padding */
button[data-rpt-search].rpt-button.rpt-button-primary{
  height:auto!important;
  min-height:0!important;
  padding-top:22px!important;
  padding-bottom:22px!important;
  padding-left:18px!important;
  padding-right:18px!important;
}


/* v0.7.9 Add Prospect search input spacing */
.rpt-add-practice-search input{
  padding-top:0!important;
  padding-bottom:0!important;
  padding-left:11px!important;
  padding-right:11px!important;
}


/* v0.7.10 Add Prospect modal input correction */
.rpt-add-practice-search input[data-rpt-practice-lookup]{
  height:auto!important;
  min-height:0!important;
  padding:0 11px!important;
  line-height:32px!important;
  box-sizing:border-box!important;
}
.rpt-add-practice-search [data-rpt-practice-search]{
  margin-bottom:4px!important;
}


/* v0.7.12 manual Add Prospect fields, exact popup selector */
.rpt-add-practice-manual input{
  padding-top:0!important;
  padding-bottom:0!important;
  padding-left:11px!important;
  padding-right:11px!important;
}
.rpt-master-prospect-search-wrap{margin:12px 0 16px;display:flex;align-items:center;gap:10px;flex-wrap:wrap}
#rpt-master-prospect-search{min-width:340px}

/* v0.7.14 Existing route visibility on Find Referral Prospects */
.rpt-existing-route-status{margin-top:12px;padding-top:10px;border-top:1px solid #dbe3ef;display:flex;flex-wrap:wrap;gap:6px 14px;align-items:center;font-size:12px}
.rpt-existing-route-status strong{color:#16335e}
.rpt-existing-route-status span{color:#475569}
.rpt-summary [data-rpt-add-existing][hidden]{display:none!important}

/* v0.7.15 route action grouping and admin visit history pagination */
.rpt-summary-route-buttons{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin-left:auto}
.rpt-summary-route-buttons [data-rpt-add-existing][hidden]{display:none!important}
@media(max-width:600px){.rpt-summary-route-buttons{margin-left:0;justify-content:flex-start}}
