/* Shared component geometry. Keep content-driven heights and align each grid row. */
:root{--component-card-radius:12px;--component-card-padding:12px;--component-card-gap:8px}
#platform-overview .node,
#platform-overview .application-card{border-radius:var(--component-card-radius)}
#platform-overview .node{
 padding:var(--component-card-padding);
 gap:var(--component-card-gap);
 align-items:stretch;
 justify-content:flex-start;
 text-align:left;
 border-width:1.5px;
}
#platform-overview .node::after{display:none}
#platform-overview .node:hover{transform:none}
#platform-overview .grid{gap:12px;align-items:stretch}
#platform-overview .application-card{height:100%}
#platform-overview .applications .application-card>.node{border:0;flex:1}
#platform-overview .card-heading{
 display:flex;
 align-items:flex-start;
 justify-content:flex-start;
 gap:var(--component-card-gap);
 min-width:0;
 min-height:2.7rem;
 margin:0;
}
#platform-overview .card-heading .node-name{
 margin:0;
 min-height:0;
 line-height:1.35;
 align-self:flex-start;
}
#platform-overview .card-heading .node-top{
 position:static;
 flex:0 0 28px;
 width:28px;
 height:28px;
 margin:0;
 display:flex;
 align-items:center;
 justify-content:center;
}
#platform-overview .card-heading .node-top .icon,
#platform-overview .card-heading .application-logo{width:28px;height:28px;transform:none;filter:none}
#platform-overview .plane .card-heading .node-top{flex-basis:20px;width:20px;height:20px}
#platform-overview .plane .card-heading .node-top .icon{width:20px;height:20px}
#platform-overview .node>.product-associations,
#platform-overview .node>.node-type{margin:0}
#platform-overview .applications .application-countries{margin-top:auto;padding-top:8px}
#platform-overview .services .node{border-top-width:3px}
#platform-overview .services .node>*{align-self:start}
#platform-overview .services .service-platform-icon{flex:0 0 24px;width:24px;height:24px;object-fit:contain;margin-left:auto}
#platform-overview .services .service-tags{gap:6px}
#platform-overview .analytics-layer .node{min-height:120px}
/* Shared tracks align titles, lifecycle badges and facts without clipping long text. */
@supports(grid-template-rows:subgrid){
 #platform-overview .services .node{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  grid-template-rows:subgrid;
  grid-row:span 3;
  justify-content:stretch;
  justify-items:start;
  row-gap:var(--component-card-gap);
 }
}

/* Compact content-led cards for applications and the two supporting planes. */
#platform-overview .applications{gap:8px;align-items:stretch;grid-auto-rows:auto}
#platform-overview .plane .grid{gap:8px;align-items:start}
#platform-overview .applications .node,
#platform-overview .plane .node{padding:8px 10px;gap:5px;min-height:0}
#platform-overview .applications .node{padding:7px 8px;gap:3px}
#platform-overview .applications .application-card{height:100%}
#platform-overview .applications .application-card.external-application{border-style:dotted;border-color:#64758b}
#platform-overview .applications .application-card>.node{flex:1}
#platform-overview .applications .card-heading{min-height:0;gap:6px}
#platform-overview .applications .node-name{font-size:14px;line-height:1.3}
#platform-overview .applications .badge{font-size:10px;padding:1px 4px}
#platform-overview .applications .application-actor{font-size:11px;line-height:1.3}
#platform-overview .applications .application-actor .icon{width:14px;height:14px}
#platform-overview .plane .card-heading{min-height:0;gap:6px}
#platform-overview .applications .card-heading .node-top{flex-basis:20px;width:20px;height:20px}
#platform-overview .applications .card-heading .node-top .icon,
#platform-overview .applications .card-heading .application-logo{width:20px;height:20px}
#platform-overview .applications .application-countries{margin-top:auto;padding-top:4px}
#platform-overview .applications .application-country-tags{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:3px;max-width:155px;width:100%}
#platform-overview .applications .application-country-tag{padding:1px 2px;font-size:10px;text-align:center;letter-spacing:0}
