/* Org chart: each child owns its drop and its half of the connecting bar.
   Zero-gap tracks keep the bars continuous; spacing belongs inside each track. */
.org{--org-line:2px;--org-drop:36px;--org-stem:46px;margin-top:56px;display:flex;flex-direction:column;align-items:center}
.org .t0{position:relative;padding:0}
.org .t0::after{content:"";position:absolute;top:100%;left:calc(50% - var(--org-line)/2);height:var(--org-drop);width:var(--org-line);background:var(--s)}
.org .t1{position:relative;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;width:100%;max-width:820px;margin-top:var(--org-drop);padding:0}
.org .col{position:relative;display:flex;flex-direction:column;align-items:center;min-width:0;padding:var(--org-drop) 20px 0}
.org .col::before,.org .org-child::before{content:"";position:absolute;top:0;left:0;width:100%;height:var(--org-line);background:var(--s)}
.org .col:first-child::before,.org .org-child:first-child::before{left:50%;width:50%}
.org .col:last-child::before,.org .org-child:last-child::before{width:50%}
.org .col::after,.org .org-child::after{content:"";position:absolute;top:0;left:calc(50% - var(--org-line)/2);height:var(--org-drop);width:var(--org-line);background:var(--s)}
.org .alf .node{align-self:auto;position:relative;flex:none}
/* Flexible section starts at Alfred's actual bottom, not the taller support box. */
.org .org-stem{display:block;position:relative;flex:1;min-height:var(--org-stem);width:var(--org-line);background:var(--s)}
.org .org-stem::after{content:"";position:absolute;top:100%;left:0;width:100%;height:var(--org-stem);background:var(--s)}
.org .t2{--org-drop:28px;position:relative;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:0;width:100%;margin-top:var(--org-stem);padding:0}
.org .org-child{position:relative;display:flex;min-width:0;padding:var(--org-drop) 7px 0}
.org .tnode{display:block;width:100%;min-width:0}
/* Tablet/mobile: two nested connected lists, with no desktop bars left behind. */
@media(max-width:1000px){
 .org{align-items:stretch}
 .org .t0,.org .t0 .node{width:100%}
 .org .t0::after,.org .col::after,.org .org-child::after,.org .org-stem{display:none}
 .org .t1,.org .t2{display:flex;flex-direction:column;align-self:stretch;gap:0;max-width:none;width:auto;margin:0;padding:0 0 0 32px}
 .org .t1 .exe{order:-1}
 .org .col{align-items:stretch;padding:24px 0 0}
 .org .col::before,.org .col:first-child::before,.org .col:last-child::before,
 .org .org-child::before,.org .org-child:first-child::before,.org .org-child:last-child::before{left:-16px;top:0;width:var(--org-line);height:100%}
 .org .col.alf::before{height:calc(50% + 12px)}
 .org .node,.org .grp{position:relative;width:100%}
 .org .col>.node::before,.org .col>.grp::before{content:"";position:absolute;top:calc(50% - var(--org-line)/2);right:100%;width:18px;height:var(--org-line);background:var(--s)}
 .org .t2{margin-left:32px}
 .org .org-child{padding:16px 0 0}
 .org .org-child:last-child::before{height:calc(50% + 8px)}
 .org .tnode{position:relative;display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:2px 12px;align-items:center;text-align:left;padding:12px}
 .org .tnode::before{content:"";position:absolute;right:100%;top:calc(50% - var(--org-line)/2);height:var(--org-line);width:18px;background:var(--s)}
 .org .tnode img{width:48px;height:48px;margin:0;grid-row:1/3}
 .org .tnode b{min-height:0}.org .tnode span{margin:0;grid-column:2}.org .tnode em{grid-column:3;grid-row:1/3;margin:0}
 .org .grp{text-align:left}.org .mini{justify-content:flex-start}
}
@media(max-width:420px){
 .org .tnode{grid-template-columns:40px minmax(0,1fr);gap:4px 10px}
 .org .tnode img{width:40px;height:40px;grid-row:1/4}
 .org .tnode em{grid-column:2;grid-row:3;justify-self:start}
}
/* 21 Nov: placeholder initial in a team box (lead without an approved photo yet) matches the photo size. */
.org .tnode .ini{display:flex;color:#fff;width:60px;height:60px;margin:0 auto 10px;font-size:22px;border:0}
@media(max-width:1000px){.org .tnode .ini{width:48px;height:48px;margin:0;grid-column:1;grid-row:1/3}}
@media(max-width:420px){.org .tnode .ini{width:40px;height:40px;grid-row:1/4}}
