/* Operating profiles and the local contact history. */
.operating-select{padding:12px;background:#f2f6ef;border:1px solid #e0e9dd;border-radius:8px;margin-bottom:18px;min-width:0}
.profile-label{display:flex;justify-content:space-between;align-items:baseline;gap:8px}.profile-label a{font-size:10px;white-space:nowrap}
.operating-select select{margin-bottom:8px}.operating-select .field-hint{margin:0;overflow-wrap:anywhere}
.profiles-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(280px,100%),1fr));gap:20px}
.profile-starters,.profile-card{padding:24px;min-width:0}.profile-starters{margin-bottom:22px}
.profile-card h2,.profile-starters h2{font-size:19px;margin:0 0 14px;overflow-wrap:anywhere}
.profile-card p,.profile-starters p{font-size:12px;color:#738477;line-height:1.7;overflow-wrap:anywhere}
.profile-card .profile-frequency{font-size:18px;color:#137b68}.profile-frequency span{font-size:13px}
.profile-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:18px}.profile-actions form{margin:0}
.profiles-grid+.field-hint{margin-top:22px}
.contact-history{border:1px solid #dce8df;background:#f8fbf7;border-radius:8px;margin:0 0 16px;min-width:0}
.contact-history[hidden]{display:none}.contact-history summary{display:flex;justify-content:space-between;gap:8px;padding:12px;font-size:11px;color:#366b50;list-style:none}.contact-history summary::-webkit-details-marker{display:none}
#contact-history-content{padding:0 12px 12px;font-size:11px;line-height:1.6;overflow-wrap:anywhere}
#contact-history-content p{margin:0 0 10px;color:#738477}.history-preview-list{list-style:none;padding:0;margin:0 0 12px}
.history-preview-list li{padding:9px 0;border-top:1px solid #e1e9dd}.history-preview-list strong,.history-preview-list span{display:block}
.history-preview-list span{font-size:10px;color:#738477}.history-preview-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.history-preview-actions button{font-size:10px;line-height:1.5;text-align:left}.history-preview-status{margin-top:10px!important}
.history-summary{padding:24px;margin-bottom:22px}.history-summary>strong{font-size:30px;color:#137b68}.history-summary p{font-size:13px;line-height:1.7;color:#738477}
.history-page-list{padding:0;margin:0;list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.history-page-list li{padding:22px;min-width:0}.history-page-list p{font-size:12px;line-height:1.7;overflow-wrap:anywhere}
.history-row-heading{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:12px}.history-row-heading strong{font-weight:650}
.history-page-list .history-note{white-space:pre-wrap;border-top:1px solid #edf1e9;padding-top:12px;color:#738477}
.history-pagination{display:flex;justify-content:space-between;gap:12px;margin-top:24px;font-size:12px}.history-pagination>div{display:flex;gap:16px}
@media(max-width:980px){.history-page-list{grid-template-columns:1fr}}
@media(max-width:720px){.profile-card,.profile-starters,.history-summary,.history-page-list li{padding:18px}.profile-actions .button{font-size:11px}.history-row-heading{font-size:11px}}
