.panel:has(.client-activity-list){background:transparent;border:0;overflow:visible}.client-activity-list{display:grid;gap:12px}.ca-card{min-width:0;background:#fff;border:1px solid var(--line);border-radius:14px;padding:17px 18px;scroll-margin:90px;color:#213c35}.ca-card header{display:flex;align-items:start;gap:8px;flex-wrap:wrap}.ca-name{display:flex;flex:1;gap:8px;align-items:center;text-align:left;border:0;background:none;padding:0;min-height:36px;font-size:15px;min-width:150px;overflow-wrap:anywhere}.ca-name span{margin-left:auto;font-size:22px;color:#80938a}.ca-device{font-size:12px;color:var(--muted);line-height:1.6;margin:4px 0 7px;overflow-wrap:anywhere}.ca-device span{display:block}.ca-address{font-size:13px;line-height:1.5;margin:0 0 9px;overflow-wrap:anywhere}.ca-bookings{display:flex;gap:6px;flex-wrap:wrap}.ca-tag{display:flex;align-items:center;gap:5px;font-size:11px;line-height:1.5;padding:6px 9px;border-radius:7px;min-height:34px;text-align:left;white-space:normal}.ca-tag .ui-icon{width:15px;height:15px;flex-shrink:0}.ca-tag.booked{background:#eaf2f6;border-color:#d1e2e8;color:#31576b}.ca-tag.callback{background:#fbf3dc;border-color:#ebdcaa;color:#77581e}.ca-call-state{display:flex;align-items:center;gap:6px;font-size:12px;line-height:1.5;margin:11px 0;color:#718279}.ca-call-state svg{width:16px;height:16px;flex-shrink:0}.ca-call-state.no-answer{color:#9e342d;font-weight:650}.ca-call-state.answered{color:#2b7149;font-weight:650}.ca-actions{display:flex;flex-wrap:wrap;align-items:end;gap:8px}.ca-actions .clientcontact{margin:0}.ca-actions .contactbuttons{gap:6px}.ca-actions .contactbutton,.ca-actions button{min-height:40px;padding:8px 10px;font-size:12px}.ca-actions .ca-status-button{background:#edf3e9}.ca-actions .contactnumber{font-size:12px;margin-bottom:5px}.ca-card footer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:14px;padding-top:11px;border-top:1px solid #e8ece5;font-size:11px;color:var(--muted)}.ca-card footer strong{display:block;color:inherit;font-size:12px;margin-top:4px}.ca-card.ca-last{border-color:#739a88;box-shadow:inset 3px 0 0 #638d77}.ca-last-label{background:#e5efe6;color:#325b44;font-size:10px;border-radius:5px;padding:4px 6px;margin-top:5px}.ca-card.ca-no-answer{background:#fff2ef;border-color:#dda39a;box-shadow:inset 4px 0 0 #c66c60}.ca-no-answer.ca-last{box-shadow:inset 4px 0 0 #c66c60,0 0 0 1px #c66c60}.ca-resume{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#eaf1e7;border:1px solid #d7e4d1;border-radius:11px;padding:12px 14px;margin-bottom:14px}.ca-resume div{min-width:0}.ca-resume small,.ca-resume strong{display:block;overflow-wrap:anywhere}.ca-resume small{font-size:11px;margin-bottom:4px}.ca-resume strong{font-size:13px}.ca-resume button{flex-shrink:0;font-size:11px}.ca-filter{max-width:340px;margin:0 0 16px}.ca-pages{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:16px 0;font-size:12px;color:var(--muted)}.ca-outcomes{display:flex;gap:10px;margin:18px 0 12px}.ca-outcomes button{display:flex;align-items:center;justify-content:center;gap:8px;flex:1;min-height:46px}.ca-outcomes svg{height:18px;width:18px}.ca-outcomes button:first-child{background:#fff0ec;border-color:#dda39a;color:#943d31}.ca-outcomes button:last-child{background:#eaf3e8;border-color:#c8dec6;color:#2f6946}.ca-status-dialog h3{font-size:17px}.ca-status-dialog>.hint{margin-top:14px}.ca-history-item{border-top:1px solid var(--line);padding:11px 0;font-size:12px}.ca-history-item strong,.ca-history-item small{display:block;margin-bottom:4px}.ca-history-item p{margin:5px 0 0}.ca-history-head{display:flex;justify-content:space-between;align-items:center;gap:8px}.ca-history-head h3{margin:0}.ca-profile-calls summary,.ca-call-history summary{cursor:pointer;padding:12px 0;font-size:12px;color:var(--muted)}
@media(min-width:1100px){.client-activity-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.ca-card{padding:14px}.ca-filter{max-width:none}.ca-resume{padding:11px}.ca-resume small{max-width:210px}.ca-outcomes{flex-wrap:wrap}.ca-card footer .badge{flex-shrink:0}.ca-pages button{min-height:42px}.ca-call-state{font-size:11px}.ca-actions{gap:7px}.ca-resume button{max-width:120px;white-space:normal}}
html[data-theme=dark] .ca-card{background:#20352e;color:#e3eae4}html[data-theme=dark] .ca-card footer{border-color:#3c5147}html[data-theme=dark] .ca-tag.booked{background:#263f4c;border-color:#425e6e;color:#c6e0ee}html[data-theme=dark] .ca-tag.callback{background:#493f27;border-color:#786844;color:#f0dfb8}html[data-theme=dark] .ca-resume,html[data-theme=dark] .ca-last-label,html[data-theme=dark] .ca-status-button{background:#2b4739;color:#d4e5d5;border-color:#42634e}html[data-theme=dark] .ca-card.ca-no-answer{background:#432d2b;border-color:#b97569}html[data-theme=dark] .ca-call-state.no-answer{color:#f1b7ac}html[data-theme=dark] .ca-call-state.answered{color:#a9d4af}html[data-theme=dark] .ca-outcomes button:first-child{background:#503430;color:#f1b7ac}html[data-theme=dark] .ca-outcomes button:last-child{background:#2b4739;color:#b3d8b5}

.ca-result-count{padding:14px 18px 0;color:var(--muted,#69786e);font-size:12px}
.ca-filter-panel{background:var(--card,#fff);border:1px solid var(--line,#dce3dc);border-radius:13px;padding:16px;margin:0 0 18px}
.ca-filter-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.ca-filter-heading strong{font-size:14px}.ca-filter-heading button{font-size:12px;min-height:36px}
.ca-filter-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:12px}.ca-filter-grid label{min-width:0;margin:0;font-size:13px}.ca-filter-grid select{width:100%;min-width:0;max-width:100%;min-height:46px;font-size:13px}.ca-filter-summary{font-size:12px;color:var(--muted,#718279);margin:10px 0 0;line-height:1.5}
.ca-tag.booked.confirmed{background:#e7f2e6;border-color:#c2d9c1;color:#2c6945}.ca-tag.booked.unconfirmed{background:#fbf3dc;border-color:#ebdcaa;color:#77581e}.ca-tag.booked.no-answer,.ca-tag.callback.no-answer{background:#fff0ec;border-color:#dda39a;color:#943d31}
html[data-theme=dark] .ca-filter-panel{background:#21332d;border-color:#3b5145}html[data-theme=dark] .ca-tag.booked.confirmed{background:#254936;border-color:#467151;color:#c4e7c9}html[data-theme=dark] .ca-tag.booked.unconfirmed{background:#473d24;border-color:#70603a;color:#f1dea4}html[data-theme=dark] .ca-tag.booked.no-answer,html[data-theme=dark] .ca-tag.callback.no-answer{background:#4c2a27;border-color:#92544b;color:#f1c0b7}
@media(max-width:600px){.ca-filter-panel{padding:14px}.ca-filter-grid{grid-template-columns:minmax(0,1fr)}}
.ca-sort-control{grid-column:1/-1}
@media(min-width:1000px){.ca-filter-grid.has-sort{grid-template-columns:minmax(0,1fr) minmax(0,1.4fr) minmax(0,1.2fr)}.ca-filter-grid.has-sort .ca-sort-control{grid-column:auto}}
