/* Manager HQ Deep dive: chart cards. Uses the manager.html tokens (teal, gold, cream, ink, muted, line). */
.deepdive .dd-sub{margin:-6px 0 12px;color:var(--muted);font-size:13px;line-height:1.45}
.dd-tools{display:flex;align-items:center;gap:0;margin:0 0 8px}
.dd-toollabel{font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);margin-right:10px}
.dd-rbtn{appearance:none;font:inherit;font-size:13px;font-weight:700;color:var(--teal);background:#fff;border:1.5px solid var(--teal);
  padding:0 14px;min-height:44px;cursor:pointer;margin-left:-1.5px;border-radius:0}
.dd-rbtn:first-of-type{border-radius:3px 0 0 3px;margin-left:0}
.dd-rbtn:last-of-type{border-radius:0 3px 3px 0}
.dd-rbtn[aria-pressed="true"]{background:var(--teal);color:#fff}
.dd-rbtn:focus-visible,.dd-head:focus-visible,.dd-retry:focus-visible{outline:3px solid var(--gold);outline-offset:2px}
.dd-hint{color:var(--muted);font-size:12px;line-height:1.4;margin:0 0 12px}
.dd-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
.dd-cell{background:#fff;border:1px solid var(--line);border-radius:3px;padding:12px 14px 12px;min-width:0}
.dd-head{appearance:none;font:inherit;color:inherit;background:none;border:0;padding:0;width:100%;text-align:left;cursor:pointer;
  display:flex;align-items:flex-start;justify-content:space-between;gap:10px;min-height:44px;margin:-6px 0 0}
.dd-title{font-family:Fraunces,serif;font-weight:600;font-size:16px;line-height:1.25;padding-top:6px}
.dd-more{flex:0 0 auto;font-size:12px;font-weight:700;color:var(--teal);padding-top:8px;white-space:nowrap}
.dd-more::after{content:' \203A';color:var(--gold-deep)}
.dd-cell.is-open .dd-more::after{content:' \2039'}
.dd-take{font-size:14px;font-weight:600;line-height:1.4;color:var(--ink);margin:2px 0 8px;min-height:20px}
.dd-take.dd-skelline{min-height:20px}
.dd-chart{position:relative;height:var(--ddh,250px);width:100%}
.dd-chart canvas{max-width:100%}
.dd-cell.is-open .dd-chart{height:max(var(--ddh,250px),min(460px,70vh))}
.dd-cap{font-size:12px;color:var(--muted);line-height:1.4;margin:8px 0 0}
.dd-note{font-size:12px;color:var(--muted);line-height:1.4;margin:4px 0 0}
.dd-skel{height:250px;display:flex;align-items:flex-end;gap:8px;padding:6px 2px 0}
.dd-skel i{flex:1;background:var(--line);border-radius:2px;animation:ddpulse 1.4s ease-in-out infinite}
.dd-skel i:nth-child(1){height:48%}.dd-skel i:nth-child(2){height:72%;animation-delay:.15s}.dd-skel i:nth-child(3){height:58%;animation-delay:.3s}
.dd-skel i:nth-child(4){height:86%;animation-delay:.45s}.dd-skel i:nth-child(5){height:64%;animation-delay:.6s}
@keyframes ddpulse{0%,100%{opacity:.45}50%{opacity:1}}
.dd-state{min-height:150px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:6px;padding:8px 2px}
.dd-state b{font-size:14px}
.dd-state span{font-size:13px;color:var(--muted);line-height:1.45}
.dd-error b{color:var(--down)}
.dd-retry{appearance:none;font:inherit;font-weight:700;font-size:14px;color:#fff;background:var(--teal);border:0;border-radius:3px;
  min-height:44px;padding:0 18px;margin-top:6px;cursor:pointer}
@media (min-width:920px){
  .dd-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .dd-cell.is-open{grid-column:1 / -1}
  .dd-chart{height:var(--ddh,270px)}
}
@media (prefers-reduced-motion:reduce){.dd-skel i{animation:none;opacity:.7}}
