/* Candidate 3, Contact Profiles only. Existing shell and auth remain untouched. */
.contact-profiles-workspace{--cp-blue:#0759e8;--cp-navy:#061f42;--cp-ink:#102a50;--cp-muted:#60758f;--cp-line:#d7e2f3;--cp-soft:#eef4ff;max-width:1180px;color:var(--cp-ink);font:14px/1.5 Arial,Helvetica,sans-serif}.title:has(.contact-page-actions){max-width:1180px;margin-left:auto;margin-right:auto}.contact-page-intro{margin:0 0 24px;font-size:15px;font-weight:500;color:var(--cp-ink)}
.contact-profiles-workspace button,.contact-page-actions button,.contact-profiles-workspace .contact-action-menu>summary{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:8px 16px;border:1px solid var(--cp-blue,#0759e8);border-radius:8px;color:var(--cp-blue,#0759e8);background:#fff;font:600 14px/1.25 Arial,Helvetica,sans-serif;cursor:pointer;box-sizing:border-box;max-width:100%}.contact-page-actions button.primary{background:#0759e8;color:#fff}.contact-icon-button svg{width:20px;height:20px;flex:0 0 20px;stroke-width:1.7}.contact-profiles-workspace :focus-visible,.contact-page-actions :focus-visible{outline:2px solid #0759e8;outline-offset:4px}.contact-profiles-workspace button:hover,.contact-page-actions button:hover{background:#eef4ff}.contact-page-actions button.primary:hover{background:#061f42}.contact-profiles-workspace button:disabled{opacity:.55;cursor:not-allowed}
.contact-profiles-workspace .contact-info-banner{display:flex;gap:16px;align-items:center;padding:20px 24px;border:1px solid transparent;border-radius:12px;background:linear-gradient(110deg,#dce9ff,#eef4ff);margin:0 0 24px;color:var(--cp-ink)}.contact-profiles-workspace .contact-info-icon{width:44px;height:44px;flex:0 0 44px;background:#c4daff;color:var(--cp-blue)}.contact-profiles-workspace .contact-info-banner strong{font-size:16px;font-weight:700}.contact-profiles-workspace .contact-info-banner p{font-size:14px;font-weight:500;line-height:1.5;margin:4px 0 0}.contact-profiles-workspace .contact-learn-more{border-color:transparent;background:transparent;white-space:nowrap;padding:8px}.contact-learn-more svg{width:16px;height:16px;transform:rotate(180deg)}
.contact-profiles-workspace .contact-profiles-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;margin:0}.contact-profiles-workspace .contact-profile-card{display:grid;grid-template-columns:88px minmax(0,1fr) 144px;gap:16px;padding:24px;align-items:center;background:#fff;border:1px solid var(--cp-line);border-radius:12px;box-shadow:0 2px 3px #061f4208;position:relative;min-width:0}.contact-profiles-workspace .contact-profile-card.default-contact{grid-template-columns:120px minmax(0,1fr) minmax(150px,.65fr) 144px;padding:44px 24px 24px;min-height:208px;border-color:var(--cp-blue);background:linear-gradient(110deg,#fff,#eef4ff)}
.contact-profiles-workspace .default-profile-tag{left:16px;top:0;gap:8px;background:var(--cp-blue);border-radius:0 0 6px 6px;padding:4px 12px;font-size:12px;color:#fff}.contact-profiles-workspace .default-profile-tag svg{width:16px;height:16px}.contact-profiles-workspace .contact-portrait{width:88px;height:88px;min-width:88px;aspect-ratio:1;border-radius:50%;overflow:hidden;align-self:center;background:var(--cp-soft)}.contact-profiles-workspace .default-contact .contact-portrait{width:120px;height:120px;min-width:120px}.contact-profiles-workspace .contact-name-line{gap:8px;margin:0 0 12px;align-items:center}.contact-profiles-workspace .contact-name-line h2{margin:0;font-size:20px;line-height:1.25;font-weight:700}.contact-profiles-workspace .enterprise-tag{font-size:12px;padding:4px 8px;border-radius:12px;background:#dce9ff;color:var(--cp-blue);white-space:normal}.contact-profiles-workspace .contact-details p{font-size:14px;font-weight:500;line-height:1.5;gap:10px;margin:7px 0;color:var(--cp-ink)}.contact-profiles-workspace .contact-details p svg{width:18px;height:18px;color:var(--cp-blue);stroke-width:1.7}
.contact-profiles-workspace .contact-apps{grid-column:3;border-left:1px solid var(--cp-line);padding-left:16px;align-self:stretch;display:flex;flex-direction:column;justify-content:center;min-width:0}.contact-profiles-workspace .default-contact .contact-apps{grid-column:3;padding-left:24px}.contact-profiles-workspace .contact-apps>strong{font-size:14px;font-weight:700}.contact-profiles-workspace .contact-app-icons{gap:12px;margin:12px 0;min-width:0;flex-wrap:wrap}.contact-profiles-workspace .contact-app-icons img{width:32px;height:32px;flex:0 0 32px;max-width:32px;object-fit:contain}.contact-profiles-workspace .contact-app-name{font-size:12px;max-width:100%;overflow-wrap:anywhere}.contact-profiles-workspace .contact-app-icons small{color:var(--cp-muted);font-weight:500;font-size:12px}.contact-profiles-workspace .contact-app-overflow{border:0;min-height:32px;border-radius:16px;padding:4px 8px;background:#e5ecf7;font-size:12px;color:#466080}.contact-profiles-workspace .contact-active{gap:8px;margin-top:4px;font-size:14px}.contact-profiles-workspace .contact-card-actions{grid-column:3;grid-row:1;align-self:start;justify-content:flex-end;gap:8px}.contact-profiles-workspace .default-contact .contact-card-actions{grid-column:4;align-self:center}.contact-profiles-workspace .contact-profile-card:not(.default-contact) .contact-apps{padding-top:56px}.contact-profiles-workspace .contact-card-actions>button{padding:8px 12px}
.contact-action-menu{position:relative}.contact-profiles-workspace .contact-action-menu>summary{list-style:none;width:40px;padding:0;font-size:24px}.contact-action-menu>summary::-webkit-details-marker{display:none}.contact-menu-items{position:absolute;right:0;top:calc(100% + 8px);z-index:8;min-width:176px;padding:8px;background:#fff;border:1px solid var(--cp-line);border-radius:12px;box-shadow:0 8px 24px #061f4220}.contact-menu-items button{width:100%;justify-content:flex-start!important;border-color:transparent!important;white-space:nowrap}
.contact-section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:32px 0 16px}.contact-section-heading h2{font-size:20px;margin:0;font-weight:700}.contact-section-heading label{display:flex;align-items:center;gap:8px;flex-shrink:0;font-size:14px;font-weight:600}.contact-section-heading select{height:44px;max-width:100%;padding:8px 16px;border:1px solid var(--cp-line);border-radius:8px;background:#fff;color:var(--cp-ink);font:500 14px Arial}.contact-secondary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.contact-profiles-workspace .connected-profile-footer{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 24px;margin-top:32px;padding:24px;background:linear-gradient(110deg,#f8faff,#eef4ff);border:1px solid var(--cp-line);border-radius:12px}.contact-profiles-workspace .connected-profile-footer h2{font-size:20px;gap:12px;line-height:1.25}.contact-profiles-workspace .connected-profile-footer h2 svg{width:28px;height:28px;color:var(--cp-blue)}.contact-profiles-workspace .connected-profile-footer p{margin:0 0 0 40px;font-size:14px;color:var(--cp-ink)}.contact-profiles-workspace .connected-profile-footer>.contact-app-icons{margin:8px 0 0 40px}.contact-profiles-workspace .connected-profile-footer>.contact-icon-button{grid-column:2;grid-row:1/4;align-self:center}
@media(max-width:1199px){.contact-profiles-workspace .contact-profile-card.default-contact{grid-template-columns:100px minmax(0,1fr) 180px}.contact-profiles-workspace .default-contact .contact-portrait{width:100px;height:100px;min-width:100px}.contact-profiles-workspace .default-contact .contact-card-actions{grid-column:2/4;grid-row:auto;justify-content:flex-end}.contact-secondary-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:767px){.contact-page-actions{width:100%;justify-content:flex-start}.contact-page-actions button{font-size:13px}.contact-profiles-workspace .contact-info-banner{padding:16px;flex-wrap:wrap;gap:12px}.contact-profiles-workspace .contact-info-banner>div{flex:1 1 calc(100% - 60px)}.contact-profiles-workspace .contact-learn-more{margin:0 0 0 56px;min-height:40px}.contact-profiles-workspace .contact-profile-card,.contact-profiles-workspace .contact-profile-card.default-contact{grid-template-columns:72px minmax(0,1fr);gap:16px;padding:44px 16px 16px;align-items:start}.contact-profiles-workspace .contact-profile-card:not(.default-contact){padding-top:16px;grid-template-columns:60px minmax(0,1fr)}.contact-profiles-workspace .contact-portrait{width:60px;height:60px;min-width:60px}.contact-profiles-workspace .default-contact .contact-portrait{width:72px;height:72px;min-width:72px}.contact-profiles-workspace .contact-details{display:contents}.contact-profiles-workspace .contact-name-line{grid-column:2;align-self:center;margin:0;gap:8px}.contact-profiles-workspace .contact-name-line h2{font-size:19px}.contact-profiles-workspace .contact-details p{grid-column:1/-1;margin:0;font-size:13px}.contact-profiles-workspace .contact-apps,.contact-profiles-workspace .default-contact .contact-apps,.contact-profiles-workspace .contact-profile-card:not(.default-contact) .contact-apps{grid-column:1/-1;border-left:0;border-top:1px solid var(--cp-line);padding:16px 0 0}.contact-profiles-workspace .contact-card-actions,.contact-profiles-workspace .default-contact .contact-card-actions{grid-column:1/-1;grid-row:auto;justify-content:flex-start;align-self:start}.contact-profiles-workspace .contact-app-icons img{width:24px;height:24px;max-width:24px;flex-basis:24px}.contact-section-heading{align-items:flex-start;flex-wrap:wrap;margin-top:24px}.contact-section-heading h2{font-size:19px}.contact-secondary-grid{gap:16px}.contact-profiles-workspace .connected-profile-footer{display:flex;flex-direction:column;align-items:flex-start;padding:16px;gap:12px;margin-top:24px}.contact-profiles-workspace .connected-profile-footer h2{font-size:19px}.contact-profiles-workspace .connected-profile-footer p,.contact-profiles-workspace .connected-profile-footer>.contact-app-icons{margin:0}.contact-profiles-workspace .connected-profile-footer>.contact-icon-button{align-self:flex-start}}
