/* Shared geometric information cards, including detail and history pages. */
body :is(.mini-stat,.workspace-metrics>div,.staff-workload-metrics>div,.workload-person-metric,.project-pulse>div,.profile-hours-breakdown>div,.information-metric,.zd-kpi,.zd-statline>div) {
  position:relative; isolation:isolate; overflow:hidden; min-width:0;
  border:1px solid var(--border-color); border-radius:16px; padding:20px;
  background:var(--bg-card); text-align:left;
}
body :is(.mini-stat,.workspace-metrics>div,.staff-workload-metrics>div,.workload-person-metric,.project-pulse>div,.profile-hours-breakdown>div,.information-metric,.zd-kpi,.zd-statline>div)::after {
  content:''; position:absolute; z-index:-1; width:88px; height:88px;
  right:-28px; bottom:-32px; transform:rotate(45deg);
  border:1px solid color-mix(in srgb,var(--studio-teal) 24%,transparent);
  background:var(--studio-tint);
}
body :is(.mini-stat,.workspace-metrics>div,.staff-workload-metrics>div,.workload-person-metric,.project-pulse>div,.profile-hours-breakdown>div,.information-metric,.zd-statline>div)::before {
  content:''; display:block; width:24px; height:24px; margin-bottom:12px;
  border:5px solid var(--studio-teal); border-radius:7px 7px 7px 1px; opacity:.65;
}
body :is(.workspace-metrics,.staff-workload-metrics,.project-pulse) { gap:12px; }
body :is(.mini-stat,.workspace-metrics>div,.staff-workload-metrics>div,.workload-person-metric,.project-pulse>div) strong { display:block; font-size:1.7rem; line-height:1.2; font-variant-numeric:tabular-nums; }
body .information-metric :is(.h3,.h5) { margin-top:8px; overflow-wrap:anywhere; }
body .profile-hours-breakdown { gap:12px; }
body :is(.request-card,.workspace-project-card,.workload-person-card,.workspace-more-card) { border-top:3px solid var(--studio-teal); }
body .table>tbody>tr>td:first-child { border-left:3px solid var(--studio-tint); }
body .table>tbody>tr:hover>td:first-child { border-left-color:var(--studio-teal); }
body .activity-feed .activity-item::before { content:''; position:absolute; left:-6px; top:8px; width:10px; height:10px; background:var(--studio-teal); transform:rotate(45deg); }
.profile-picture-form { padding:20px; border:1px solid var(--border-color); border-radius:16px; background:var(--bg-card); margin-bottom:20px; }
.profile-photo-editor { display:flex; align-items:center; gap:20px; }
.profile-photo-preview { width:88px; height:88px; border-radius:22px; object-fit:cover; border:3px solid var(--studio-teal); flex-shrink:0; }
.profile-photo-controls { flex:1; min-width:0; }
.profile-photo-controls input { max-width:100%; }
.profile-photo-status:empty { display:none; }
@media(max-width:575px) {
  body :is(.mini-stat,.workspace-metrics>div,.staff-workload-metrics>div,.project-pulse>div,.information-metric,.zd-kpi,.zd-statline>div) { padding:14px; }
  .profile-photo-editor { flex-wrap:wrap; gap:12px; }
  .profile-photo-controls { flex-basis:100%; }
}

body .project-pulse:has(>div:nth-child(2):last-child) { grid-template-columns:repeat(2,minmax(0,1fr)); }
body .profile-month-card { position:relative; isolation:isolate; overflow:hidden; }
body .profile-month-card::after { content:""; position:absolute; z-index:-1; right:-48px; top:-48px; width:160px; height:160px; border:1px solid var(--border-color); background:var(--studio-tint); transform:rotate(45deg); }
