/* Team-dashboard leadership profile drawer — benchmark/help styles copied verbatim from
   src/css/my-profile.css so the mirrored bars render identically. Keep in sync. */
.benchmark-item {
      margin-bottom: 12px;
      padding: 12px 14px;
      border-radius: 16px;
      background: linear-gradient(180deg, #fbfefc 0%, #ffffff 100%);
      border: 1px solid rgba(15, 23, 42, 0.06);
      box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    }
.benchmark-item:last-child { margin-bottom: 0; }
.benchmark-header {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 12px;
      margin-bottom: 8px;
    }
.benchmark-title-group {
      display: flex;
      flex-direction: column;
      gap: 4px;
    }
.benchmark-label {
      font-weight: 700;
      font-size: 0.98rem;
      display: inline-flex;
      align-items: center;
      flex-wrap: wrap;
    }
.benchmark-help-icon {
      margin-left: 8px;
    }
.benchmark-value-group {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      flex-wrap: wrap;
      justify-content: flex-end;
    }
.benchmark-value-stack {
      text-align: right;
    }
.benchmark-value {
      display: block;
      font-family: 'JetBrains Mono', monospace;
      font-weight: 700;
      font-size: 1.15rem;
      color: var(--text-primary);
      line-height: 1.1;
    }
.benchmark-delta {
      display: inline-block;
      margin-top: 4px;
      font-size: 0.78rem;
      font-weight: 600;
    }
.benchmark-delta.good {
      color: #15803d;
    }
.benchmark-delta.warning {
      color: #c2410c;
    }
.benchmark-bar-shell {
      padding-top: 26px; /* headroom so the "Avg" marker above the bar is never clipped */
    }
.benchmark-bar-container {
      position: relative;
      height: 10px;
      background: var(--bg-secondary);
      border-radius: 6px;
      /* NOT overflow:hidden — the Avg marker sits above the bar and must stay visible.
         The fill has its own border-radius, so corners still look rounded. */
    }
.benchmark-bar {
      height: 100%;
      max-width: 100%;
      border-radius: 6px;
      transition: width 0.4s ease;
      background: linear-gradient(90deg, var(--accent-green), var(--accent-lime));
    }
.benchmark-bar.warning {
      background: linear-gradient(90deg, #f59e0b, #fbbf24);
    }
.benchmark-avg-marker {
      position: absolute;
      top: -20px;
      transform: translateX(-50%);
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 5px;
      z-index: 2;
    }
.benchmark-avg-marker-pin {
      width: 12px;
      height: 2px;
      background: #0f172a;
      border-radius: 999px;
    }
.benchmark-avg-label {
      font-size: 0.68rem;
      font-weight: 700;
      color: #0f172a;
      background: rgba(255, 255, 255, 0.96);
      padding: 2px 7px;
      border-radius: 999px;
      border: 1px solid rgba(15, 23, 42, 0.08);
    }
.benchmark-meta {
      display: flex;
      justify-content: space-between;
      gap: 10px;
      margin-top: 8px;
      font-size: 0.72rem;
      color: var(--text-muted);
    }
/* Three "Company Min / Company Average / Company Max" labels distributed evenly so the
       longer wording stays readable on a phone (left / center / right within each third). */
    .benchmark-meta span { flex: 1; min-width: 0; }
.benchmark-meta span:nth-child(2) { text-align: center; }
.benchmark-meta span:nth-child(3) { text-align: right; }
.benchmark-note {
      margin-top: 8px;
      display: flex;
      gap: 6px;
      flex-wrap: wrap;
      align-items: baseline;
      font-size: 0.78rem;
      line-height: 1.35;
    }
.benchmark-note.good {
      color: #166534;
    }
.benchmark-note.warning {
      color: #c2410c;
    }
.benchmark-note.subtle {
      color: var(--text-muted);
    }
.benchmark-note-title {
      font-size: 0.76rem;
      font-weight: 700;
    }
.benchmark-note-text {
      font-size: 0.76rem;
      line-height: 1.35;
    }
.lower-better {
      font-size: 0.75rem;
      color: var(--text-muted);
      font-style: italic;
    }
/* Help Tooltips */
    .help-icon {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 18px;
      height: 18px;
      border-radius: 50%;
      background: var(--bg-secondary);
      color: var(--text-muted);
      font-size: 0.7rem;
      font-weight: 700;
      cursor: help;
      margin-left: 6px;
      position: relative;
      transition: all 0.2s;
      flex-shrink: 0;
    }
.help-icon:hover {
      background: var(--accent-blue-light);
      color: var(--accent-blue);
    }
.help-tooltip {
      position: absolute;
      bottom: calc(100% + 8px);
      left: 50%;
      transform: translateX(-50%);
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      border-radius: 8px;
      padding: 12px;
      width: 280px;
      box-shadow: var(--shadow-lg);
      z-index: 100;
      opacity: 0;
      visibility: hidden;
      transition: all 0.2s;
      pointer-events: none;
    }
.help-icon:hover .help-tooltip {
      opacity: 1;
      visibility: visible;
    }
.help-tooltip::after {
      content: '';
      position: absolute;
      top: 100%;
      left: 50%;
      transform: translateX(-50%);
      border: 6px solid transparent;
      border-top-color: var(--bg-card);
    }
.help-tooltip-title {
      font-size: 0.85rem;
      font-weight: 700;
      color: var(--text-primary);
      margin-bottom: 6px;
    }
.help-tooltip-text {
      font-size: 0.8rem;
      color: var(--text-secondary);
      line-height: 1.5;
    }
/* Help Tooltips */
    .help-icon {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 18px;
      height: 18px;
      background: var(--bg-secondary);
      border-radius: 50%;
      font-size: 11px;
      color: var(--text-muted);
      cursor: help;
      margin-left: 6px;
      position: relative;
    }
.help-icon:hover {
      background: var(--accent-green);
      color: white;
    }
.help-tooltip {
      position: absolute;
      bottom: calc(100% + 8px);
      left: 50%;
      transform: translateX(-50%);
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      border-radius: 8px;
      padding: 12px 16px;
      width: 250px;
      box-shadow: var(--shadow-lg);
      z-index: 100;
      display: none;
      text-align: left;
      font-size: 0.85rem;
      line-height: 1.5;
    }
.help-icon:hover .help-tooltip {
      display: block;
    }
.help-tooltip-title {
      font-weight: 600;
      margin-bottom: 4px;
      color: var(--text-primary);
    }
.help-tooltip-content {
      color: var(--text-muted);
    }
/* ===== END TECHNICIAN PROFILE DESIGN SYSTEM REFINEMENTS ===== */

/* ===== END MISSING CSS CLASSES ===== */

/* Tap-to-open help tooltips on touch devices (hover is unavailable on mobile,
   the primary device for this page). The .help-open class is toggled in init.js. */
.help-icon.help-open .help-tooltip {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto;
}
.benchmark-list {
  display: grid;
  gap: 14px;
}
/* "You" marker on benchmark bars (the tech's own value) — below the bar so it
   doesn't collide with the "Avg" pin above. */
.benchmark-bar-shell { padding-bottom: 22px; }
/* "You" sits ON the number line (centered on the track), a prominent blue dot above the
   gray company bubbles, with the label tucked just below the track. */
.benchmark-you-marker {
  position: absolute; top: 50%; transform: translate(-50%, -50%); z-index: 3;
}
.benchmark-you-dot {
  display: block; width: 14px; height: 14px; border-radius: 50%;
  background: var(--accent-blue, #2563eb); border: 3px solid #fff;
  box-shadow: 0 0 0 1px rgba(15,23,42,0.18);
}
.benchmark-you-label {
  position: absolute; top: 15px; left: 50%; transform: translateX(-50%);
  font-size: 0.6rem; font-weight: 800; color: var(--accent-blue, #2563eb); white-space: nowrap;
}
/* Company reference points plotted ON the track as bubbles: Min (left), Avg (mid), Max
   (right) — so the tech can see where they fall on a clear number line. Neutral gray; the
   Avg is a touch darker/larger to stand out. The blue "You" dot (z-index 3) sits on top. */
.benchmark-co-bubble {
  position: absolute; top: 50%; transform: translate(-50%, -50%);
  width: 13px; height: 13px; border-radius: 50%; z-index: 1;
  background: #64748b; border: 2px solid #fff;
}
.benchmark-co-bubble.bm-avg { width: 15px; height: 15px; background: #1e293b; }
/* ── Drawer chrome (Push 4c) ── */
#techProfileDrawer {
  position: fixed; top: 0; right: 0; height: 100vh; height: 100dvh; width: 480px; max-width: 100vw;
  background: var(--bg-primary, #0f172a); color: var(--text-primary, #e2e8f0);
  box-shadow: -8px 0 32px rgba(0,0,0,0.35); z-index: 601;
  transform: translateX(100%); transition: transform 0.25s ease; overflow: hidden;
  border-left: 1px solid var(--border-subtle, #334155);
  display: flex; flex-direction: column; overscroll-behavior: contain;
}
#techProfileDrawer.open { transform: translateX(0); }
#techProfileDrawer:focus { outline: none; }
#tpdOverlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.52); z-index: 600;
}
.tpd-head {
  flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) 12px 18px; background: var(--bg-card, #1e293b);
  border-bottom: 1px solid var(--border-subtle, #334155);
  position: relative; z-index: 2;
}
.tpd-title { font-weight: 700; font-size: 0.98rem; min-width: 0; overflow-wrap: anywhere; }
.tpd-title:focus-visible { outline: 3px solid var(--accent-blue, #2563eb); outline-offset: 3px; border-radius: 4px; }
.tpd-close {
  background: transparent; border: none; color: var(--text-muted, #94a3b8);
  font-size: 1.1rem; cursor: pointer; padding: 0; width: 44px; height: 44px;
  display: inline-grid; place-items: center; border-radius: 10px; flex: 0 0 44px;
}
.tpd-close:hover { background: rgba(148, 163, 184, 0.14); }
.tpd-close:focus-visible { outline: 3px solid var(--accent-blue, #2563eb); outline-offset: 2px; }
.tpd-body {
  flex: 1 1 auto; min-height: 0; min-width: 0; overflow: auto;
  padding: 16px max(18px, env(safe-area-inset-right)) max(40px, env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left));
  overflow-wrap: anywhere;
}
.tpd-body > * { min-width: 0; max-width: 100%; }
.tpd-h4 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-muted, #94a3b8); margin: 18px 0 10px; }
.tpd-cards { display: flex; flex-wrap: wrap; gap: 10px; }
.tpd-card {
  flex: 1 1 120px; background: var(--bg-card, #1e293b); border: 1px solid var(--border-subtle, #334155);
  border-radius: 10px; padding: 12px; text-align: center;
}
.tpd-card-val { font-size: 1.3rem; font-weight: 700; }
.tpd-card-lbl { font-size: 0.78rem; color: var(--text-muted, #94a3b8); margin-top: 2px; }
.tpd-card-sub { font-size: 0.68rem; color: var(--text-secondary, #64748b); }
.tpd-empty { color: var(--text-muted, #94a3b8); padding: 24px 4px; text-align: center; font-size: 0.9rem; }
.tpd-context { margin-top: 18px; font-size: 0.72rem; color: var(--text-secondary, #475569); font-style: italic; }
.tpd-warn { margin-top: 8px; font-size: 0.78rem; color: #b45309; }
@media (max-width: 520px) { #techProfileDrawer { width: 100vw; border-left: 0; } }

/* ── Conversation Card (in-review coaching brief) — renders into both the dark team drawer
   and the LIGHT review-capture page, so colors are tints/explicit + theme vars carry text. ── */
.tpd-opening { background: var(--bg-card-alt, rgba(148,163,184,0.10)); border: 1px solid var(--border-subtle, rgba(148,163,184,0.35)); border-radius: 14px; padding: 14px 16px; margin-bottom: 14px; }
.tpd-opening-name { font-weight: 800; font-size: 1.1rem; }
.tpd-opening-sub { font-size: 0.78rem; color: var(--text-muted, #94a3b8); margin-top: 2px; }
.tpd-opening-trend { margin-top: 10px; font-size: 0.84rem; font-weight: 600; }
.tpd-opening-trend .good { color: #15803d; }
.tpd-opening-trend .warn { color: #c2410c; }
.tpd-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.tpd-vchip { display: inline-flex; align-items: center; gap: 5px; padding: 6px 11px; border-radius: 999px; font-size: 0.8rem; font-weight: 700; line-height: 1.25; }
.tpd-vchip.good { background: #dcfce7; color: #14532d; }
.tpd-vchip.warn { background: #fde9c8; color: #92400e; }
.tpd-block { border-radius: 14px; padding: 14px 16px; margin-bottom: 14px; border: 1px solid var(--border-subtle, rgba(148,163,184,0.3)); }
.tpd-block-h { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 800; margin-bottom: 10px; color: var(--text-muted, #94a3b8); }
.tpd-recognize { background: rgba(34,197,94,0.07); border-left: 4px solid #22c55e; }
.tpd-recognize .tpd-block-h { color: #15803d; }
.tpd-discuss { background: rgba(245,158,11,0.08); border-left: 4px solid #f59e0b; }
.tpd-discuss .tpd-block-h { color: #b45309; }
.tpd-quote { margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: var(--bg-card, rgba(255,255,255,0.05)); border: 1px solid var(--border-subtle, rgba(148,163,184,0.3)); }
.tpd-quote-text { font-style: italic; font-size: 0.9rem; line-height: 1.45; }
.tpd-quote-meta { font-size: 0.7rem; color: var(--text-muted, #94a3b8); margin-top: 5px; }
.tpd-quote-lead { font-size: 0.74rem; font-weight: 700; margin-top: 6px; }
.tpd-quote-good { border-left: 3px solid #22c55e; }
.tpd-quote-good .tpd-quote-lead { color: #15803d; }
.tpd-quote-warn { border-left: 3px solid #f59e0b; }
.tpd-quote-warn .tpd-quote-lead { color: #b45309; }
.tpd-quote-list { display: grid; gap: 8px; max-height: 420px; margin-top: 12px; overflow-y: auto; padding-right: 2px; scrollbar-gutter: stable; }
.tpd-quote-list .tpd-quote { margin-top: 0; }
.tpd-split { margin-top: 12px; }
.tpd-split-head { display: flex; justify-content: space-between; font-size: 0.82rem; font-weight: 600; margin-bottom: 6px; }
.tpd-cancel-reasons { display: grid; gap: 6px; margin-top: 8px; }
.tpd-cancel-reasons span { align-items: baseline; display: grid; gap: 8px; grid-template-columns: 22px minmax(0, 1fr) auto; font-size: 0.75rem; }
.tpd-cancel-reasons b { color: var(--text-primary, #0f172a); font-size: 0.88rem; text-align: right; }
.tpd-cancel-reasons small { color: var(--text-secondary, #475569); font-size: 0.66rem; white-space: nowrap; }
.tpd-split-bar { display: flex; height: 14px; border-radius: 7px; overflow: hidden; background: var(--bg-secondary, #e2e8f0); }
.tpd-split-seg { min-width: 3px; }
.tpd-split-seg.ctrl { background: #f59e0b; }
.tpd-split-seg.unctrl { background: #94a3b8; }
.tpd-split-seg.uncat { background: #cbd5e1; }
.tpd-split-legend { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 7px; font-size: 0.74rem; color: var(--text-secondary, #475569); }
.tpd-split-legend .dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 4px; vertical-align: middle; }
.tpd-split-legend .dot.ctrl { background: #f59e0b; }
.tpd-split-legend .dot.unctrl { background: #94a3b8; }
.tpd-split-legend .dot.uncat { background: #cbd5e1; }
.tpd-chip { display: inline-block; padding: 3px 9px; border-radius: 999px; background: var(--bg-secondary, rgba(148,163,184,0.18)); font-size: 0.72rem; margin: 4px 4px 0 0; color: var(--text-secondary, #475569); }
.tpd-trend.tpd-block { background: var(--bg-card-alt, rgba(37,99,235,0.05)); border-left: 4px solid #2563eb; }
.tpd-trend-row { display: flex; flex-wrap: wrap; gap: 10px; }
.tpd-trend-cell { flex: 1 1 90px; text-align: center; padding: 8px; border-radius: 10px; background: var(--bg-card, rgba(255,255,255,0.04)); border: 1px solid var(--border-subtle, rgba(148,163,184,0.3)); }
.tpd-trend-lbl { font-size: 0.7rem; color: var(--text-muted, #94a3b8); }
.tpd-trend-val { font-size: 1rem; font-weight: 700; margin-top: 2px; }
.tpd-trend-delta { font-size: 0.72rem; font-weight: 700; margin-left: 3px; }
.tpd-trend-delta.up { color: #15803d; }
.tpd-trend-delta.down { color: #c2410c; }
.tpd-goals.tpd-block { border-left: 4px solid #8b5cf6; }
.tpd-goal { margin-top: 8px; }
.tpd-goal-top { display: flex; align-items: center; gap: 7px; font-size: 0.84rem; }
.tpd-goal-text { flex: 1; }
.tpd-goal-pct { font-weight: 700; font-size: 0.78rem; }
.tpd-goal-badge { width: 18px; text-align: center; }
.tpd-goal-badge.achieved { color: #15803d; }
.tpd-goal-bar { height: 6px; border-radius: 4px; background: var(--bg-secondary, #e2e8f0); margin-top: 4px; overflow: hidden; }
.tpd-goal-bar > div { height: 100%; background: linear-gradient(90deg, #8b5cf6, #a78bfa); }
.tpd-details { margin-top: 8px; border-top: 1px solid var(--border-subtle, rgba(148,163,184,0.3)); padding-top: 10px; }
.tpd-details > summary { cursor: pointer; font-size: 0.82rem; font-weight: 700; color: var(--text-muted, #94a3b8); padding: 6px 0; }

/* ── Aggregate-only Office / CSR profile ── */
.tpd-office-profile {
  display: grid;
  gap: 14px;
  width: 100%;
  min-width: 0;
}
.tpd-office-hero,
.tpd-office-section {
  min-width: 0;
  border: 1px solid var(--border-subtle, rgba(148, 163, 184, 0.3));
  border-radius: 16px;
  background: var(--bg-card, #1e293b);
}
.tpd-office-hero {
  padding: 18px;
  background:
    radial-gradient(circle at 100% 0, rgba(34, 197, 94, 0.16), transparent 45%),
    var(--bg-card, #1e293b);
}
.tpd-office-eyebrow {
  margin: 0 0 5px;
  color: var(--accent-green, #22c55e);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.tpd-office-hero h1 {
  margin: 0;
  color: var(--text-primary, #f8fafc);
  font-size: clamp(1.25rem, 6vw, 1.7rem);
  line-height: 1.15;
  overflow-wrap: anywhere;
}
.tpd-office-hero > p:not(.tpd-office-eyebrow) {
  margin: 6px 0 0;
  color: var(--text-muted, #94a3b8);
}
.tpd-review-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 14px;
  padding: 10px 16px;
  border-radius: 10px;
  background: #0f766e;
  color: #fff;
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
}
.tpd-review-action:hover { background: #115e59; }
.tpd-review-action:focus-visible { outline: 3px solid #f59e0b; outline-offset: 3px; }
.tpd-office-scope {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.tpd-office-scope > span,
.tpd-office-state {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 0.68rem;
  font-weight: 750;
  line-height: 1.2;
}
.tpd-office-scope > span {
  background: rgba(148, 163, 184, 0.14);
  color: var(--text-secondary, #cbd5e1);
}
.tpd-office-comparison {
  border: 1px solid rgba(148, 163, 184, 0.34);
}
.tpd-office-section {
  padding: 16px;
}
.tpd-office-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.tpd-office-section h2 {
  min-width: 0;
  margin: 0;
  color: var(--text-primary, #f8fafc);
  font-size: 1rem;
  line-height: 1.25;
}
.tpd-office-state {
  flex: 0 0 auto;
  min-height: 24px;
  padding: 3px 8px;
  background: rgba(148, 163, 184, 0.16);
  color: var(--text-muted, #cbd5e1);
}
.tpd-office-state.current {
  background: rgba(34, 197, 94, 0.16);
  color: #166534;
}
.tpd-office-state.pending {
  background: rgba(245, 158, 11, 0.17);
  color: #fcd34d;
}
.tpd-office-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  min-width: 0;
}
.tpd-office-tile {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--border-subtle, rgba(148, 163, 184, 0.26));
  border-radius: 12px;
  background: rgba(148, 163, 184, 0.07);
}
.tpd-office-tile-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 6px;
  color: var(--text-muted, #94a3b8);
  font-size: 0.7rem;
  line-height: 1.25;
}
.tpd-office-tile-top .tpd-office-state { display: none; }
.tpd-office-tile strong {
  display: block;
  margin-top: 8px;
  color: var(--text-primary, #f8fafc);
  font-size: 1.3rem;
  line-height: 1.1;
  overflow-wrap: anywhere;
}
.tpd-office-tile small {
  display: block;
  margin-top: 5px;
  color: var(--text-secondary, #94a3b8);
  font-size: 0.68rem;
  line-height: 1.3;
}
.tpd-office-notice,
.tpd-office-empty,
.tpd-office-source-date {
  margin: 0;
  color: var(--text-muted, #94a3b8);
  font-size: 0.8rem;
  line-height: 1.5;
}
.tpd-office-grid + .tpd-office-notice,
.tpd-office-source-date + .tpd-office-grid {
  margin-top: 10px;
}
.tpd-office-quote {
  margin: 0 0 10px;
  padding: 12px 14px;
  border-left: 3px solid var(--accent-green, #22c55e);
  border-radius: 0 12px 12px 0;
  background: rgba(34, 197, 94, 0.07);
}
.tpd-office-quote:last-child { margin-bottom: 0; }
.tpd-office-quote p {
  margin: 0;
  color: var(--text-primary, #f8fafc);
  font-size: 0.9rem;
  font-style: italic;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.tpd-office-quote footer {
  margin-top: 7px;
  color: #475569;
  font-size: 0.7rem;
}
.tpd-office-programs {
  display: grid;
  gap: 7px;
  margin: 12px 0 0;
  padding: 12px 0 0;
  border-top: 1px solid var(--border-subtle, rgba(148, 163, 184, 0.26));
  list-style: none;
}
.tpd-office-programs li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
  color: var(--text-secondary, #cbd5e1);
  font-size: 0.75rem;
}
.tpd-office-programs li span { min-width: 0; overflow-wrap: anywhere; }
.tpd-office-programs li strong { flex: 0 0 auto; color: var(--text-primary, #f8fafc); }
.tpd-office-contract-error {
  padding: 18px;
  border: 1px solid rgba(245, 158, 11, 0.45);
  border-radius: 14px;
  background: rgba(245, 158, 11, 0.09);
  color: var(--text-primary, #f8fafc);
  font-size: 0.86rem;
  line-height: 1.5;
}
.tpd-office-contract-list {
  display: grid;
  gap: 8px;
  min-width: 0;
}
.tpd-office-contract-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--border-subtle, rgba(148, 163, 184, 0.26));
  border-radius: 10px;
  background: rgba(148, 163, 184, 0.07);
  color: var(--text-secondary, #cbd5e1);
  font-size: 0.78rem;
}
.tpd-office-contract-row > span { min-width: 0; }
.tpd-office-contract-row small {
  display: block;
  margin-top: 3px;
  color: var(--text-muted, #94a3b8);
  font-size: 0.68rem;
  line-height: 1.35;
}
.tpd-office-contract-row strong {
  flex: 0 0 auto;
  color: var(--text-primary, #f8fafc);
  text-align: right;
}
.tpd-office-contract-row em {
  display: block;
  color: var(--text-muted, #94a3b8);
  font-size: 0.64rem;
  font-style: normal;
  font-weight: 700;
}

@media (max-width: 360px) {
  .tpd-head { padding-left: 12px; }
  .tpd-body { padding-left: 12px; padding-right: 12px; }
  .tpd-office-hero,
  .tpd-office-section { padding: 14px; }
  .tpd-office-grid { grid-template-columns: minmax(0, 1fr); }
  .tpd-office-section-head { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  #techProfileDrawer { transition: none; }
}
