.cc-identity {
  display:flex; align-items:center; justify-content:center; gap:14px; padding:12px;
  margin:0 0 10px; text-align:left; color:#edf8ff; background:#102331;
  border:1px solid #354c5b; border-top:2px solid #d5b47f; border-radius:11px;
}
.cc-identity[hidden], .cc-company-logo[hidden] {display:none}
.cc-identity img,.cc-company-logo {width:52px;height:52px;object-fit:cover;border-radius:7px}
.cc-identity div,.cc-brand-name {min-width:0;overflow-wrap:anywhere}
.cc-identity strong {display:block;font-size:1.1rem}
.cc-identity small {color:#b8cdda}
.sub:has(.cc-brand-name) {display:flex;align-items:center;gap:10px}
.cc-company-logo {object-fit:contain;flex:none}
.cc-brand-name {font-weight:650;color:#cfe5f0}
#cc-company-settings {text-decoration:none}
@media(max-width:520px){.cc-company-logo,.cc-identity img{width:40px;height:40px}}
.tb-company-toolbar {display:flex;align-items:center;gap:.55rem;flex-wrap:wrap;margin:.5rem 0}
.tb-company-toolbar[hidden] {display:none}
.tb-company-status {color:#b7cdda;font-size:.85rem}
#groupe .tb-company-node {gap:8px;justify-content:center;align-items:center;text-align:center;overflow-wrap:anywhere;padding:14px}
#groupe .tb-company-node strong {font-size:1.1rem;line-height:1.25}
#groupe .tb-company-service{background:#143543;border-color:#487682}
#groupe .tb-company-leader{background:#203748;border-color:#d9b77c}
#groupe .tb-company-claudia{background:#253247;border-color:#99acda}
.tb-company-profile img,.tb-company-monogram{display:grid;place-items:center;width:58px;height:58px;object-fit:cover;margin:0 auto 7px;border-radius:50%;background:#223f50;color:#f0d8a4}
#groupe .tb-company-remove{position:absolute;right:4px;top:4px;padding:6px;z-index:4}
.tb-company-dialog{padding:1.3rem;background:#102331;color:#eef8ff;border:1px solid #648694;border-radius:12px}
.tb-company-dialog::backdrop{background:#07121abe}

/* Service-only visual system. Historical agent cards are deliberately untouched. */
#groupe .tb-company-node.tb-company-service {
 --accent:#b9c9e2;--tint:#233747;
 background:linear-gradient(155deg,var(--tint),#102333 95%);
 border:1px solid var(--accent);border-radius:23px;
 box-shadow:0 12px 28px #0005,inset 0 1px 0 #ffffff12;
 padding:15px 10px;gap:12px;color:#f5f8fc;
 font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif;
}
#groupe .tb-company-service .tb-service-category {font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--accent);font-weight:650}
#groupe .tb-company-service .tb-service-glyph {display:grid;place-items:center;width:58px;height:58px;border-radius:19px;background:#ffffff0e;color:var(--accent);border:1px solid #ffffff19;flex:none}
#groupe .tb-company-service .tb-service-glyph svg {width:32px;height:32px;fill:none;stroke:currentColor;stroke-width:1.55;stroke-linecap:round;stroke-linejoin:round}
#groupe .tb-company-node.tb-company-service strong {font-size:15px;line-height:1.25;font-weight:650;letter-spacing:-.02em;color:#f5f8fc;max-width:100%;overflow-wrap:normal}
#groupe .tb-company-service:hover {box-shadow:0 12px 28px #0006,0 0 0 2px var(--accent)}
#groupe .tb-company-service[data-service-style="0"] { --accent:#9be6c9;--tint:#163d38; }
#groupe .tb-company-service[data-service-style="1"] { --accent:#d1baff;--tint:#302743; }
#groupe .tb-company-service[data-service-style="2"] { --accent:#b9d2ec;--tint:#253747; }
#groupe .tb-company-service[data-service-style="3"] { --accent:#ffdb9d;--tint:#403725; }
#groupe .tb-company-service[data-service-style="4"] { --accent:#f5b7cc;--tint:#402b38; }
#groupe .tb-company-service[data-service-style="5"] { --accent:#b6b5f5;--tint:#292e48; }
#groupe .tb-company-service[data-service-style="6"] { --accent:#99e1e3;--tint:#193d45; }
#groupe .tb-company-service[data-service-style="7"] { --accent:#92c5ff;--tint:#203a55; }
#groupe .tb-company-service[data-service-style="8"] { --accent:#f5b88d;--tint:#423326; }
#groupe .tb-company-service[data-service-style="9"] { --accent:#d0dda1;--tint:#343d29; }
#groupe .tb-company-service[data-service-style="10"] { --accent:#b8dfa8;--tint:#2b402e; }
#groupe .tb-company-service[data-service-style="11"] { --accent:#e0b8f8;--tint:#392b4b; }
#groupe .tb-company-service[data-service-style="12"] { --accent:#94dcd3;--tint:#193b3c; }

/* Premium V2: services only, same historical card dimensions. */
#groupe .tb-company-node.tb-company-service{background:linear-gradient(155deg,var(--tint),#202832);border-radius:24px;gap:8px;padding:12px 9px;justify-content:center;display:flex;flex-direction:column}
#groupe .tb-company-service .tb-service-category{font-size:12px;letter-spacing:.07em}
#groupe .tb-company-service .tb-service-glyph{width:64px;height:64px;background:var(--accent);color:#18242e;border-radius:20px;box-shadow:0 5px 12px #0003}
#groupe .tb-company-service .tb-service-glyph svg{width:38px;height:38px;stroke-width:1.8}
#groupe .tb-company-node.tb-company-service strong{font-size:16px;line-height:1.18;overflow-wrap:anywhere}
#groupe .tb-company-service .tb-company-remove{font-size:14px;min-width:28px;min-height:28px;cursor:pointer}

#groupe .tb-company-node.tb-company-service strong{font-size:18px;line-height:1.12}
#groupe .tb-company-service .tb-company-remove{font-size:20px;min-width:36px;min-height:36px;color:#f4d5d5}

/* Human cards share the Command Center canvas and its native controls. */
#groupe .tb-company-human{background:linear-gradient(155deg,#204348,#202832);border-color:#74b6ad;gap:5px}
#groupe .tb-company-human .tb-company-profile{width:100%;min-width:0}
#groupe .tb-company-human .tb-company-profile strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;max-width:100%;overflow:hidden;white-space:normal;overflow-wrap:anywhere}
#groupe .tb-company-human > small:first-of-type{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
#groupe .tb-company-human .tb-human-tag{color:#a3d7cf;letter-spacing:.04em;font-size:11px}
#groupe .tb-company-monogram svg,.tb-human-photo svg,.tb-add-human svg{fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
#groupe .tb-company-monogram svg,.tb-human-photo svg{width:28px;height:28px}
#groupe .tb-service-add{position:absolute;left:4px;top:4px;min-width:36px;min-height:36px;padding:3px;color:var(--accent);font-size:23px;z-index:4}
#groupe .tb-add-human{display:inline-flex;align-items:center;gap:6px}
#groupe .tb-add-human svg{width:15px;height:15px}
.tb-human-dialog{width:min(460px,calc(100% - 24px));max-height:calc(100dvh - 32px);overflow:auto}
.tb-human-dialog h3{margin:0 0 16px;font-size:1.25rem}
.tb-human-dialog h4{margin:8px 0 0}
.tb-human-form,.tb-human-tasks{display:grid;gap:10px}
.tb-human-field{display:grid;gap:5px;min-width:0;font-size:.88rem;color:#cedde7}
.tb-human-field input,.tb-human-field select{box-sizing:border-box;width:100%;min-height:40px;padding:8px 10px;border:1px solid #536874;border-radius:8px;background:#0b1c29;color:#eef8ff;font:inherit;font-size:16px}
.tb-human-task{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:end}
.tb-human-task .btn{min-width:42px;min-height:40px}
.tb-human-photo,.tb-human-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.tb-human-photo img,.tb-human-photo .tb-company-monogram{width:58px;height:58px;object-fit:cover;border-radius:50%;margin:0}
.tb-human-actions{justify-content:flex-end}
.tb-human-dialog .tb-human-primary{background:#b6e1d8;color:#0b2226;border-color:#b6e1d8;font-weight:700}
.tb-human-feedback{margin:0;color:#ffcf94}
.tb-human-feedback:empty,.tb-human-tasks:empty{display:none}
.tb-human-dialog > .btn{margin:0 6px 6px 0}
