@media only screen and (min-width:0rem){#search-criteria{background-color:#f8f9fa;padding:var(--sectionPadding)}.cs-search-card{background-color:#fff;border-radius:.75rem;box-shadow:0 2px 8px rgba(0,0,0,.1);margin:0 auto;max-width:50rem;padding:1.5rem}.cs-search-header{margin-bottom:1.5rem;text-align:center}.cs-search-title{color:#1a1a1a;font-size:1.5rem;font-weight:700;line-height:1.2;margin:0 0 .5rem}.cs-search-subtitle{color:#6c757d;font-size:1rem;line-height:1.5;margin:0}.cs-search-form{gap:1.25rem}.cs-search-form,.cs-search-row{display:flex;flex-direction:column}.cs-search-row{gap:1rem}.cs-search-field{display:flex;flex-direction:column;gap:.5rem}.cs-search-field-full{width:100%}.cs-field-label{color:#1a1a1a;font-size:.875rem;font-weight:600;margin:0}.cs-field-input,textarea{background-color:#fff;border:1px solid #e0e0e0;border-radius:.5rem;color:#1a1a1a;font-family:inherit;font-size:1rem;padding:.75rem 1rem;transition:border-color .3s ease,box-shadow .3s ease;width:100%}.cs-field-input:focus,textarea:focus{border-color:var(--primary);box-shadow:0 0 0 2px rgba(255,106,62,.1);outline:none}.cs-field-input::-moz-placeholder,textarea::-moz-placeholder{color:#6c757d}.cs-field-input::placeholder,textarea::placeholder{color:#6c757d}textarea{line-height:1.5;min-height:5rem;resize:vertical}.cs-search-actions{display:flex;gap:.75rem;justify-content:center;margin-top:.5rem}.cs-search-btn{align-items:center;border:none;border-radius:.5rem;cursor:pointer;display:flex;font-size:1rem;font-weight:600;gap:.5rem;padding:.75rem 1.5rem;text-decoration:none;transition:all .3s ease;white-space:nowrap}.cs-search-btn svg{flex-shrink:0}.cs-search-btn-primary{background-color:#007bff;color:#fff}.cs-search-btn-primary:hover{background-color:#0056b3;transform:translateY(-1px)}.cs-search-btn-secondary{background-color:#6c757d;color:#fff}.cs-search-btn-secondary:hover{background-color:#545b62;transform:translateY(-1px)}}@media only screen and (min-width:48rem){.cs-search-card{padding:2rem}.cs-search-title{font-size:1.75rem}.cs-search-row{flex-direction:row;gap:1.25rem}.cs-search-field,.cs-search-field-full{flex:1}.cs-search-actions{justify-content:flex-start}}@media only screen and (min-width:64rem){.cs-search-card{max-width:56.25rem;padding:2.5rem}.cs-search-title{font-size:2rem}.cs-search-form,.cs-search-row{gap:1.5rem}}@media only screen and (min-width:0rem){#contacts-list{background-color:#f8f9fa;padding:var(--sectionPadding)}.cs-contacts-list-card{background-color:#fff;border-radius:1rem;box-shadow:0 2px 8px rgba(0,0,0,.1);margin:0 auto;max-width:87.5rem;padding:2rem}.cs-contacts-list-header{border-bottom:2px solid #f1f3f4;display:flex;flex-direction:column;gap:1.25rem;margin-bottom:2rem;padding-bottom:1.5rem}.cs-contacts-list-title-section{display:flex;flex-direction:column;gap:.25rem;position:relative}.cs-select-all-wrapper{align-items:center;display:flex;display:none;gap:.5rem;margin-bottom:.75rem}.cs-select-all-checkbox{accent-color:#007bff;cursor:pointer;height:1.125rem;width:1.125rem}.cs-select-all-label{color:#1a1a1a;cursor:pointer;font-size:.875rem;font-weight:600;-webkit-user-select:none;-moz-user-select:none;user-select:none}.cs-contacts-list-title{color:#1a1a1a;font-size:1.75rem;font-weight:800;letter-spacing:-.02em;line-height:1.2;margin:0}.cs-search-results-count{color:#6c757d;font-size:.875rem;font-weight:500}.cs-contacts-list-actions{display:flex;flex-wrap:wrap;gap:.75rem}.cs-bulk-delete-btn:disabled{cursor:not-allowed!important;opacity:.5}.cs-bulk-delete-btn:disabled:hover{background:linear-gradient(135deg,#fff,#f8f9fa)!important;border-color:#e8eaed!important;color:#3c4043!important;transform:none!important}.cs-delete-count{font-weight:700;margin-left:.25rem}.cs-contacts-header-btn{align-items:center!important;background:linear-gradient(135deg,#fff,#f8f9fa)!important;border:1px solid #e8eaed!important;border-radius:.75rem!important;box-shadow:0 2px 8px rgba(0,0,0,.04)!important;box-sizing:border-box!important;color:#3c4043!important;cursor:pointer!important;display:flex!important;font-family:inherit!important;font-size:.875rem!important;font-weight:600!important;gap:.5rem!important;height:auto!important;letter-spacing:normal!important;line-height:1.2!important;margin:0!important;min-height:3rem!important;outline:none!important;padding:.875rem 1.5rem!important;text-decoration:none!important;text-indent:0!important;text-shadow:none!important;text-transform:none!important;transition:all .3s cubic-bezier(.4,0,.2,1)!important;vertical-align:baseline!important;white-space:nowrap!important;width:auto!important;word-spacing:normal!important}.cs-contacts-header-btn:hover{background:linear-gradient(135deg,#f8f9fa,#e8f0fe)!important;border-color:#1a73e8!important;box-shadow:0 4px 12px rgba(26,115,232,.15)!important;color:#1a73e8!important;transform:translateY(-2px)!important}.cs-contacts-header-btn:focus{outline:2px solid #1a73e8!important;outline-offset:2px!important}.cs-contacts-header-btn:active{background:linear-gradient(135deg,#e8f0fe,#d2e3fc)!important;border-color:#1557b0!important;color:#1557b0!important}.cs-contacts-header-btn svg{color:inherit!important;flex-shrink:0!important;height:1rem!important;width:1rem!important}.cs-contacts-list-actions .cs-contacts-header-btn{all:unset!important;align-items:center!important;background-color:#fff!important;border:1px solid #e0e0e0!important;border-radius:.5rem!important;box-sizing:border-box!important;color:#1a1a1a!important;cursor:pointer!important;display:flex!important;font-family:inherit!important;font-size:.875rem!important;font-weight:600!important;gap:.5rem!important;line-height:1.2!important;min-height:2.75rem!important;padding:.75rem 1.25rem!important;text-decoration:none!important;text-transform:none!important;transition:all .3s ease!important;white-space:nowrap!important}.cs-contacts-list-actions .cs-contacts-header-btn:hover{background-color:#f8f9fa!important;border-color:#007bff!important;color:#007bff!important}.cs-contacts-list-actions .cs-contacts-header-btn svg{color:inherit!important;flex-shrink:0!important;height:1rem!important;width:1rem!important}.cs-cancel-delete-btn{align-items:center!important;background:linear-gradient(135deg,#fff,#f8f9fa)!important;border:1px solid #e8eaed!important;border-radius:.75rem!important;color:#6c757d!important;cursor:pointer!important;display:none!important;font-size:.875rem!important;font-weight:600!important;gap:.5rem!important;padding:.875rem 1.5rem!important;transition:all .3s cubic-bezier(.4,0,.2,1)!important;white-space:nowrap!important}.cs-cancel-delete-btn.cs-cancel-visible{display:flex!important}.cs-cancel-delete-btn:hover{background:linear-gradient(135deg,#f8f9fa,#e8eaed)!important;border-color:#6c757d!important;box-shadow:0 4px 12px hsla(208,7%,46%,.15)!important;color:#495057!important;transform:translateY(-2px)!important}.cs-cancel-delete-btn:focus{outline:2px solid #6c757d!important;outline-offset:2px!important}.cs-cancel-delete-btn:active{background:linear-gradient(135deg,#e8eaed,#dee2e6)!important;border-color:#495057!important;color:#343a40!important}.cs-cancel-delete-btn svg{color:inherit!important;flex-shrink:0!important;height:1rem!important;width:1rem!important}.cs-contacts-list-content{min-height:12.5rem}.cs-contacts-grid{display:grid;gap:1.25rem;grid-template-columns:1fr}.cs-contact-item{background:linear-gradient(135deg,#fff,#fafbfc);border:1px solid #e8eaed;border-radius:1rem;box-shadow:0 2px 8px rgba(0,0,0,.04);cursor:pointer;overflow:hidden;padding:1.75rem;position:relative;transition:all .3s cubic-bezier(.4,0,.2,1);width:100%}.cs-contact-item.cs-contact-selected{background:linear-gradient(135deg,#f0f7ff,#e8f4ff);border-color:var(--primary)}.cs-contact-item:before{background:var(--gradient-primary);content:"";height:3px;left:0;position:absolute;right:0;top:0;transform:scaleX(0);transition:transform .3s ease}.cs-contact-item:hover{border-color:var(--primary);box-shadow:0 10px 25px rgba(255,106,62,.15),0 4px 10px rgba(0,0,0,.08);transform:translateY(-4px)}.cs-contact-item:hover:before{transform:scaleX(1)}.cs-contact-content-wrapper{align-items:flex-start;display:grid;gap:1.5rem;grid-template-columns:auto 1fr auto;width:100%}.cs-contact-main-info{flex:1;min-width:0}.cs-contact-tags-wrapper{align-items:flex-start;display:flex;flex-shrink:0;justify-content:flex-end;min-width:0}.cs-contact-checkbox-wrapper{align-items:flex-start;cursor:default;display:flex;flex-shrink:0;padding-top:.25rem;width:1.5rem}.cs-contact-checkbox{accent-color:#007bff;cursor:pointer;display:none;flex-shrink:0;height:1.25rem;width:1.25rem}.cs-contact-item.cs-delete-mode .cs-contact-checkbox{display:block}.cs-contact-header{align-items:flex-start;display:flex;justify-content:space-between;margin-bottom:1rem}.cs-contact-name{flex:1}.cs-contact-full-name{color:#1a1a1a;font-size:1.125rem;font-weight:600;line-height:1.3;margin:0}.cs-contact-name-link{color:#1a73e8;font-size:1.125rem;font-weight:600;text-decoration:none;transition:all .2s ease}.cs-contact-name-link:hover{color:#1557b0;text-decoration:none;transform:translateX(2px)}.cs-contact-actions{display:flex;flex-shrink:0;gap:.5rem}.cs-contact-action-btn{align-items:center;background-color:#fff;border:1px solid #e1e5e9;border-radius:.5rem;box-shadow:0 1px 2px rgba(0,0,0,.05);color:#64748b;cursor:pointer;display:flex;height:2.25rem;justify-content:center;transition:all .3s ease;width:2.25rem}.cs-contact-action-btn:hover{background-color:#f8fafc;border-color:var(--primary);box-shadow:0 2px 4px rgba(255,106,62,.1);color:#007bff;transform:translateY(-1px)}.cs-contact-action-btn svg{flex-shrink:0;height:1rem;width:1rem}.cs-contact-details{display:flex;flex-direction:column;gap:.75rem;margin-top:1rem}.cs-contact-detail{align-items:center;display:flex;gap:.5rem}.cs-detail-label{color:#6c757d;font-size:.875rem;font-weight:600;min-width:3.75rem}.cs-detail-value{color:#3c4043;flex:1;font-size:.9375rem;font-weight:500}.cs-contact-tags{align-items:flex-start;display:flex;flex-wrap:wrap;gap:.375rem;justify-content:flex-end;max-width:100%}.cs-tag{align-items:center;background:linear-gradient(135deg,#007bff,#0056b3);border:none;border-radius:1rem;box-shadow:0 1px 2px rgba(0,0,0,.1);color:#fff;display:inline-flex;font-size:.6875rem;font-weight:600;letter-spacing:.5px;margin:.125rem .25rem .125rem 0;overflow:hidden;padding:.25rem .625rem;position:relative;text-transform:uppercase;transition:all .2s ease}.cs-tag:before{background:linear-gradient(90deg,transparent,hsla(0,0%,100%,.2),transparent);content:"";height:100%;left:-100%;position:absolute;top:0;transition:left .5s;width:100%}.cs-tag:hover{box-shadow:0 2px 4px rgba(0,0,0,.15);transform:translateY(-1px)}.cs-tag:hover:before{left:100%}.cs-tag.cs-tag-quick-quotes{background:linear-gradient(135deg,#28a745,#20c997);box-shadow:0 2px 4px rgba(40,167,69,.25)}.cs-tag.cs-tag-quick-quotes:hover{box-shadow:0 4px 12px rgba(40,167,69,.35)}.cs-tag.cs-tag-property-management{background:linear-gradient(135deg,#6f42c1,#e83e8c);box-shadow:0 2px 4px rgba(111,66,193,.25)}.cs-tag.cs-tag-property-management:hover{box-shadow:0 4px 12px rgba(111,66,193,.35)}.cs-tag.cs-tag-lead{background:linear-gradient(135deg,#fd7e14,#dc3545);box-shadow:0 2px 4px rgba(253,126,20,.25)}.cs-tag.cs-tag-lead:hover{box-shadow:0 4px 12px rgba(253,126,20,.35)}.cs-tag.cs-tag-customer{background:linear-gradient(135deg,#20c997,#17a2b8);box-shadow:0 2px 4px rgba(32,201,151,.25)}.cs-tag.cs-tag-customer:hover{box-shadow:0 4px 12px rgba(32,201,151,.35)}.cs-no-tags{align-items:center;background:linear-gradient(135deg,#6c757d,#495057);border:none;border-radius:1rem;box-shadow:0 2px 4px hsla(208,7%,46%,.25);color:#fff;display:inline-flex;font-size:.6875rem;font-style:italic;font-weight:500;margin:.125rem .25rem .125rem 0;opacity:.8;padding:.25rem .625rem;transition:all .2s ease}.cs-empty-state{background-color:#f8f9fa;border:2px dashed #dee2e6;border-radius:.5rem;color:#6c757d;font-size:1rem;line-height:1.5;padding:3.75rem 1.25rem;text-align:center}}@media only screen and (min-width:48rem){.cs-contacts-list-card{padding:2rem}.cs-contacts-list-header{align-items:center;flex-direction:row;gap:1.25rem;justify-content:space-between}.cs-contacts-list-title-section{align-items:baseline;flex-direction:row;gap:.5rem}.cs-select-all-wrapper{margin-bottom:0}.cs-contacts-list-title{font-size:1.75rem}.cs-search-results-count{font-size:1rem}.cs-contacts-list-actions{flex-wrap:nowrap}.cs-contacts-grid{gap:1.5rem;grid-template-columns:1fr}.cs-contact-item{padding:1.5rem}.cs-contact-full-name{font-size:1.25rem}.cs-detail-label{min-width:4.375rem}.cs-detail-value{font-size:.9375rem}}@media only screen and (min-width:64rem){.cs-contacts-list-card{max-width:87.5rem;padding:2.5rem}.cs-contacts-list-title{font-size:2rem}.cs-contacts-grid{gap:1.75rem;grid-template-columns:1fr}.cs-contact-item{padding:1.75rem}.cs-contact-full-name{font-size:1.375rem}.cs-detail-label{font-size:.9375rem;min-width:5rem}.cs-detail-value{font-size:1rem}.cs-tag{font-size:.8125rem;padding:.375rem .625rem}}.cs-modal-overlay{align-items:center;background-color:rgba(0,0,0,.5);display:flex;height:100%;justify-content:center;left:0;padding:1.25rem;position:fixed;top:0;width:100%;z-index:1000}.cs-modal{background-color:#fff;border-radius:.75rem;box-shadow:0 1.25rem 3.75rem rgba(0,0,0,.15);max-height:90vh;max-width:31.25rem;overflow-y:auto;width:100%}.cs-modal-header{align-items:center;border-bottom:1px solid #e9ecef;display:flex;justify-content:space-between;margin-bottom:1.5rem;padding:1.5rem 1.5rem 0}.cs-modal-title{color:#1a1a1a;font-size:1.25rem;font-weight:700;margin:0}.cs-modal-close{background:none;border:none;border-radius:.375rem;color:#6c757d;cursor:pointer;padding:.5rem;transition:all .2s ease}.cs-modal-close:hover{background-color:#f8f9fa;color:#1a1a1a}.cs-modal-body{padding:0 1.5rem}.cs-contact-form .cs-form-row{display:flex;gap:1rem;margin-bottom:1.25rem}.cs-contact-form .cs-form-row:last-child{margin-bottom:0}.cs-contact-form .cs-form-field,.cs-contact-form .cs-form-field.cs-form-field-full{flex:1}.cs-contact-form .cs-form-field.cs-form-field-small{flex:0 0 5rem}.cs-contact-form .cs-form-field input,.cs-contact-form .cs-form-field select{background-color:#fff;border:1px solid #e0e0e0;border-radius:.5rem;color:#1a1a1a;font-size:.875rem;padding:.75rem 1rem;transition:all .2s ease;width:100%}.cs-contact-form .cs-form-field input:focus,.cs-contact-form .cs-form-field select:focus{border-color:var(--primary);box-shadow:0 0 0 .1875rem rgba(255,106,62,.1);outline:none}.cs-contact-form .cs-form-field input::-moz-placeholder,.cs-contact-form .cs-form-field select::-moz-placeholder{color:#6c757d}.cs-contact-form .cs-form-field input::placeholder,.cs-contact-form .cs-form-field select::placeholder{color:#6c757d}.cs-contact-form .cs-form-field .cs-field-label{color:#1a1a1a;display:block;font-size:.875rem;font-weight:600;margin-bottom:.5rem}.cs-contact-form .cs-form-field select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E");background-position:right .75rem center;background-repeat:no-repeat;background-size:1rem;cursor:pointer;padding-right:2.5rem}.cs-modal-footer{border-top:1px solid #e9ecef;display:flex;gap:.75rem;justify-content:flex-end;margin-top:1.5rem;padding:1.5rem}.cs-modal-btn{align-items:center;border:none;border-radius:.5rem;cursor:pointer;display:inline-flex;font-size:.875rem;font-weight:600;justify-content:center;padding:.75rem 1.5rem;text-decoration:none;transition:all .2s ease}.cs-modal-btn.cs-modal-btn-primary{background:linear-gradient(135deg,#007bff,#0056b3);border:none;box-shadow:0 2px 4px rgba(255,106,62,.3);color:#fff}.cs-modal-btn.cs-modal-btn-primary:hover{background:linear-gradient(135deg,#0056b3,#004085);box-shadow:0 4px 8px rgba(255,106,62,.4);transform:translateY(-1px)}.cs-modal-btn.cs-modal-btn-secondary{background-color:#fff;border:1px solid #e1e5e9;box-shadow:0 1px 2px rgba(0,0,0,.05);color:#64748b}.cs-modal-btn.cs-modal-btn-secondary:hover{background-color:#f8fafc;border-color:#cbd5e1;box-shadow:0 2px 4px rgba(0,0,0,.1);color:#334155;transform:translateY(-1px)}@media screen and (max-width:768px){.cs-modal{margin:1.25rem;max-width:none}.cs-modal-body,.cs-modal-footer,.cs-modal-header{padding-left:1.25rem;padding-right:1.25rem}.cs-contact-form .cs-form-row{flex-direction:column;gap:.75rem}.cs-contact-form .cs-form-field.cs-form-field-small{flex:1}}