/* Core Connect Phase 33F.20A — User Profiles and Avatars */
.cc-shared-avatar33f20,
.cc-company-logo33f20,
.cc-company-logo-preview33f20,
.cc-ca-company-logo33f20,
.tenant-avatar.cc-company-logo33f20 {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  flex:0 0 auto;
  font-weight:700;
}
.cc-shared-avatar33f20 {
  background:transparent;
  color:inherit;
}
.cc-company-logo33f20,
.cc-company-logo-preview33f20,
.cc-ca-company-logo33f20,
.tenant-avatar.cc-company-logo33f20 {
  background:#eaf2fd;
  color:#2878e8;
}
.cc-shared-avatar33f20 img,
.cc-company-logo33f20 img,
.cc-company-logo-preview33f20 img,
.cc-ca-company-logo33f20 img,
.tenant-avatar.cc-company-logo33f20 img {
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}
.cc-profile-layout33f20 {
  display:grid;
  grid-template-columns:minmax(300px,.85fr) minmax(0,1.15fr);
  gap:var(--cc-space-5,20px);
  align-items:start;
}
.cc-profile-layout33f20 > :last-child { grid-column:2; }
.cc-profile-identity33f20 { grid-row:span 2; display:grid; gap:22px; }
.cc-profile-identity33f20 > h2 { margin:0; }
.cc-profile-preview33f20a {
  display:flex;
  align-items:center;
  gap:18px;
  padding:20px;
  border:1px solid #dce3ea;
  border-radius:16px;
  background:linear-gradient(145deg,#f8fbff,#eef4fb);
}
.cc-profile-preview33f20a > div:last-child { display:grid; gap:4px; min-width:0; }
.cc-profile-preview33f20a strong { color:#182230; font-size:20px; line-height:1.25; overflow-wrap:anywhere; }
.cc-profile-preview33f20a span { color:#475467; overflow-wrap:anywhere; }
.cc-profile-preview33f20a small { color:#667085; line-height:1.45; margin-top:4px; }
.cc-profile-avatar33f20 {
  width:96px;
  height:96px;
  min-width:96px;
  max-width:96px;
  min-height:96px;
  max-height:96px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  position:relative;
  overflow:hidden;
  flex:0 0 96px;
  border-radius:50%;
  background:transparent;
  font-size:30px;
  box-shadow:0 0 0 4px #fff,0 0 0 5px #d0d9e4;
  contain:layout paint;
}
.cc-profile-live-avatar33f20a > img,
.cc-profile-live-avatar33f20a > span {
  position:absolute;
  inset:0;
  width:100% !important;
  height:100% !important;
  min-width:0 !important;
  max-width:100% !important;
  min-height:0 !important;
  max-height:100% !important;
  margin:0 !important;
  padding:0 !important;
  border-radius:inherit;
  align-items:center;
  justify-content:center;
}
.cc-profile-live-avatar33f20a > img { display:block; background:transparent; object-fit:cover; object-position:center; }
.cc-profile-live-avatar33f20a > span { display:flex; background:#2878e8; color:#fff; font-weight:700; }
.cc-profile-live-avatar33f20a [hidden] { display:none !important; }
.cc-profile-avatar-controls33f20a { display:grid; gap:10px; }
.cc-profile-avatar-controls33f20a h3 { margin:0; color:#344054; font-size:15px; }
.cc-profile-avatar-controls33f20a > small { color:#667085; }
.cc-profile-picture-actions33f20 { display:flex; gap:8px; flex-wrap:wrap; }
.cc-avatar-choices33f20a {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}
.cc-avatar-choice33f20a {
  display:grid;
  grid-template-columns:48px minmax(0,1fr);
  align-items:center;
  gap:10px;
  width:100%;
  min-height:66px;
  padding:8px 10px;
  border:1px solid #dce3ea;
  border-radius:12px;
  background:#fff;
  color:#344054;
  text-align:left;
  cursor:pointer;
  transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease;
}
.cc-avatar-choice33f20a:hover { border-color:#9fbbe0; transform:translateY(-1px); }
.cc-avatar-choice33f20a:focus-visible { outline:3px solid rgba(40,120,232,.28); outline-offset:2px; }
.cc-avatar-choice33f20a.active { border-color:#2878e8; box-shadow:0 0 0 2px rgba(40,120,232,.14); }
.cc-avatar-choice33f20a img { width:48px; height:48px; border-radius:50%; object-fit:cover; display:block; }
.cc-avatar-choice33f20a > span { display:grid; gap:2px; min-width:0; }
.cc-avatar-choice33f20a strong { color:#182230; font-size:13px; }
.cc-avatar-choice33f20a small { color:#667085; font-size:11px; line-height:1.3; }
.cc-ca-company-logo33f20 { width:60px; height:60px; border-radius:14px; font-size:22px; background:#fff; border:1px solid #dce3ea; }
.cc-company-branding33f20 { display:grid; gap:20px; }
.cc-company-brand-preview33f20 { display:flex; align-items:center; gap:20px; min-height:140px; padding:24px; border:1px solid #dce3ea; border-radius:14px; background:#fff; }
.cc-company-brand-preview33f20 > div:last-child { display:grid; gap:5px; }
.cc-company-brand-preview33f20 strong { font-size:20px; color:#182230; }
.cc-company-brand-preview33f20 span { color:#667085; }
.cc-company-logo-preview33f20 { width:132px; height:88px; border-radius:12px; border:1px solid #dce3ea; background:#f8fafc; font-size:28px; }
.cc-company-logo-preview33f20 img { object-fit:contain; padding:8px; box-sizing:border-box; }
.cc-company-logo-actions33f20 { display:flex; gap:10px; flex-wrap:wrap; }
.user-chip .cc-shared-avatar33f20 { width:32px; height:32px; border-radius:50%; }
.cc-ca-person-cell33f20 { display:flex; align-items:center; gap:10px; min-width:0; }
.cc-ca-person-cell33f20 > span { display:grid; min-width:0; }
.cc-ca-person-avatar33f20 { width:34px; height:34px; border-radius:50%; font-size:12px; }
.cc-ca-member-avatar33f20 { width:52px; height:52px; border-radius:50%; font-size:17px; }
@media (max-width:900px){
  .cc-profile-layout33f20 { grid-template-columns:1fr; }
  .cc-profile-layout33f20 > :last-child { grid-column:auto; }
  .cc-profile-identity33f20 { grid-row:auto; }
}
@media (max-width:600px){
  .cc-profile-preview33f20a { align-items:flex-start; padding:16px; }
  .cc-profile-avatar33f20 { width:76px; height:76px; min-width:76px; max-width:76px; min-height:76px; max-height:76px; flex-basis:76px; font-size:24px; }
  .cc-avatar-choices33f20a { grid-template-columns:1fr; }
  .cc-company-brand-preview33f20 { align-items:flex-start; flex-direction:column; }
  .cc-company-logo-preview33f20 { width:100%; height:120px; }
}
@media (forced-colors:active){
  .cc-avatar-choice33f20a.active { outline:3px solid Highlight; outline-offset:2px; }
}

/* Phase 33F.20B — Company Profile and Branding */
.cc-company-brand-preview33f20 small {
  color:#667085;
  line-height:1.45;
}
.cc-company-brand-preview33f20 [hidden] { display:none !important; }
.cc-company-brand-preview-compact33f20b {
  min-height:116px;
  padding:18px;
  background:linear-gradient(145deg,#f8fbff,#eef4fb);
}
.cc-company-profile-form33f20b { gap:18px; }
.cc-company-profile-edit-preview33f20b {
  display:grid;
  gap:8px;
  padding-bottom:4px;
}
.cc-company-profile-edit-preview33f20b > small { color:#667085; line-height:1.45; }
.cc-company-profile-kicker33f20b {
  color:#475467;
  font-size:12px;
  font-weight:700;
  letter-spacing:.04em;
  text-transform:uppercase;
}
.cc-company-profile-fieldset33f20b {
  display:grid;
  gap:14px;
  min-width:0;
  margin:0;
  padding:18px;
  border:1px solid #dce3ea;
  border-radius:14px;
  background:#fff;
}
.cc-company-profile-fieldset33f20b legend {
  padding:0 8px;
  color:#344054;
  font-size:14px;
  font-weight:700;
}
@media (max-width:600px){
  .cc-company-brand-preview-compact33f20b { min-height:0; }
  .cc-company-profile-fieldset33f20b { padding:15px; }
}
