/* Temto Performance Logic — uses project color & font family (landing-base.css vars) */
.performance-dashboard-page .tmto-pd-wrap {
  padding: 40px 20px;
  min-height: 60vh;
}

/* ——— Viewport-triggered animations ——— */
@keyframes tmtoPdFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.performance-dashboard-page .pd-ani {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.performance-dashboard-page .pd-ani.pd-inview {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children when parent gets pd-inview */
.performance-dashboard-page .pd-ani .tmto-pd-card,
.performance-dashboard-page .pd-ani .tmto-pd-mini {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1), transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.performance-dashboard-page .pd-ani.pd-inview .tmto-pd-card,
.performance-dashboard-page .pd-ani.pd-inview .tmto-pd-mini {
  opacity: 1;
  transform: translateY(0);
}
.performance-dashboard-page .pd-ani.pd-inview .tmto-pd-card:nth-child(1) { transition-delay: 0.05s; }
.performance-dashboard-page .pd-ani.pd-inview .tmto-pd-card:nth-child(2) { transition-delay: 0.1s; }
.performance-dashboard-page .pd-ani.pd-inview .tmto-pd-card:nth-child(3) { transition-delay: 0.15s; }
.performance-dashboard-page .pd-ani.pd-inview .tmto-pd-card:nth-child(4) { transition-delay: 0.2s; }
.performance-dashboard-page .pd-ani.pd-inview .tmto-pd-card:nth-child(5) { transition-delay: 0.25s; }
.performance-dashboard-page .pd-ani.pd-inview .tmto-pd-card:nth-child(6) { transition-delay: 0.3s; }
.performance-dashboard-page .pd-ani.pd-inview .tmto-pd-mini:nth-child(1) { transition-delay: 0.05s; }
.performance-dashboard-page .pd-ani.pd-inview .tmto-pd-mini:nth-child(2) { transition-delay: 0.1s; }
.performance-dashboard-page .pd-ani.pd-inview .tmto-pd-mini:nth-child(3) { transition-delay: 0.15s; }
.performance-dashboard-page .pd-ani.pd-inview .tmto-pd-mini:nth-child(4) { transition-delay: 0.2s; }
.performance-dashboard-page .pd-ani.pd-inview .tmto-pd-mini:nth-child(5) { transition-delay: 0.25s; }
.performance-dashboard-page .pd-ani.pd-inview .tmto-pd-mini:nth-child(6) { transition-delay: 0.3s; }

/* Info grid stagger */
.performance-dashboard-page .pd-ani .tmto-pd-infobox {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1), transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.performance-dashboard-page .pd-ani.pd-inview .tmto-pd-infobox {
  opacity: 1;
  transform: translateY(0);
}
.performance-dashboard-page .pd-ani.pd-inview .tmto-pd-infobox:nth-child(1) { transition-delay: 0.08s; }
.performance-dashboard-page .pd-ani.pd-inview .tmto-pd-infobox:nth-child(2) { transition-delay: 0.16s; }

/* Not grid stagger */
.performance-dashboard-page .pd-ani .tmto-pd-not {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1), transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.performance-dashboard-page .pd-ani.pd-inview .tmto-pd-not {
  opacity: 1;
  transform: translateY(0);
}
.performance-dashboard-page .pd-ani.pd-inview .tmto-pd-not:nth-child(1) { transition-delay: 0.05s; }
.performance-dashboard-page .pd-ani.pd-inview .tmto-pd-not:nth-child(2) { transition-delay: 0.12s; }
.performance-dashboard-page .pd-ani.pd-inview .tmto-pd-not:nth-child(3) { transition-delay: 0.19s; }
.performance-dashboard-page .pd-ani.pd-inview .tmto-pd-not:nth-child(4) { transition-delay: 0.26s; }

/* Panel: siglist and detail */
.performance-dashboard-page .pd-ani .tmto-pd-siglist,
.performance-dashboard-page .pd-ani .tmto-pd-detail {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1), transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.performance-dashboard-page .pd-ani.pd-inview .tmto-pd-siglist { transition-delay: 0.05s; }
.performance-dashboard-page .pd-ani.pd-inview .tmto-pd-detail { transition-delay: 0.12s; }
.performance-dashboard-page .pd-ani.pd-inview .tmto-pd-siglist,
.performance-dashboard-page .pd-ani.pd-inview .tmto-pd-detail {
  opacity: 1;
  transform: translateY(0);
}

/* Remove old load-only animations; use landing hero-style animations for header */
.performance-dashboard-page .tmto-pd-header.pd-ani {
  opacity: 1;
  transform: none;
}
.performance-dashboard-page .tmto-pd-header .tmto-pd-logo {
  opacity: 0;
  animation: hero-star-spin 0.45s ease-out forwards;
}
.performance-dashboard-page .tmto-pd-header .tmto-pd-title {
  opacity: 0;
  animation: hero-headline-reveal 1.1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s forwards;
}
.performance-dashboard-page .tmto-pd-header .tmto-pd-sub {
  opacity: 0;
  animation: hero-subtitle-in 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.45s forwards;
}

.performance-dashboard-page .tmto-pd-toggle {
  animation: none;
}

.performance-dashboard-page .tmto-pd-metrics .tmto-pd-card {
  animation: none;
}
.performance-dashboard-page .tmto-pd-metrics .tmto-pd-card:nth-child(1),
.performance-dashboard-page .tmto-pd-metrics .tmto-pd-card:nth-child(2),
.performance-dashboard-page .tmto-pd-metrics .tmto-pd-card:nth-child(3),
.performance-dashboard-page .tmto-pd-metrics .tmto-pd-card:nth-child(4),
.performance-dashboard-page .tmto-pd-metrics .tmto-pd-card:nth-child(5),
.performance-dashboard-page .tmto-pd-metrics .tmto-pd-card:nth-child(6) {
  animation: none;
}

.performance-dashboard-page .tmto-pd-metrics2 .tmto-pd-mini {
  animation: none;
}
.performance-dashboard-page .tmto-pd-metrics2 .tmto-pd-mini:nth-child(1),
.performance-dashboard-page .tmto-pd-metrics2 .tmto-pd-mini:nth-child(2),
.performance-dashboard-page .tmto-pd-metrics2 .tmto-pd-mini:nth-child(3),
.performance-dashboard-page .tmto-pd-metrics2 .tmto-pd-mini:nth-child(4),
.performance-dashboard-page .tmto-pd-metrics2 .tmto-pd-mini:nth-child(5),
.performance-dashboard-page .tmto-pd-metrics2 .tmto-pd-mini:nth-child(6) {
  animation: none;
}

.performance-dashboard-page .tmto-pd-chartbox {
  animation: none;
}

.performance-dashboard-page .tmto-pd-section-lbl {
  animation: none;
}

.performance-dashboard-page .tmto-pd-panel .tmto-pd-siglist,
.performance-dashboard-page .tmto-pd-panel .tmto-pd-detail {
  animation: none;
}
.performance-dashboard-page .tmto-pd-panel .tmto-pd-siglist { animation-delay: unset; }
.performance-dashboard-page .tmto-pd-panel .tmto-pd-detail { animation-delay: unset; }

.performance-dashboard-page .tmto-pd-info-grid .tmto-pd-infobox {
  animation: none;
}
.performance-dashboard-page .tmto-pd-info-grid .tmto-pd-infobox:nth-child(1),
.performance-dashboard-page .tmto-pd-info-grid .tmto-pd-infobox:nth-child(2) {
  animation: none;
}

.performance-dashboard-page .tmto-pd-not-grid .tmto-pd-not {
  animation: none;
}
.performance-dashboard-page .tmto-pd-not-grid .tmto-pd-not:nth-child(1),
.performance-dashboard-page .tmto-pd-not-grid .tmto-pd-not:nth-child(2),
.performance-dashboard-page .tmto-pd-not-grid .tmto-pd-not:nth-child(3),
.performance-dashboard-page .tmto-pd-not-grid .tmto-pd-not:nth-child(4) {
  animation: none;
}

.performance-dashboard-page .tmto-pd-footer {
  animation: none;
}

@media (prefers-reduced-motion: reduce) {
  .performance-dashboard-page .pd-ani,
  .performance-dashboard-page .pd-ani .tmto-pd-card,
  .performance-dashboard-page .pd-ani .tmto-pd-mini,
  .performance-dashboard-page .pd-ani .tmto-pd-infobox,
  .performance-dashboard-page .pd-ani .tmto-pd-not,
  .performance-dashboard-page .pd-ani .tmto-pd-siglist,
  .performance-dashboard-page .pd-ani .tmto-pd-detail,
  .performance-dashboard-page .tmto-pd-header .tmto-pd-logo,
  .performance-dashboard-page .tmto-pd-header .tmto-pd-title,
  .performance-dashboard-page .tmto-pd-header .tmto-pd-sub,
  .performance-dashboard-page .tmto-pd-toggle,
  .performance-dashboard-page .tmto-pd-metrics .tmto-pd-card,
  .performance-dashboard-page .tmto-pd-metrics2 .tmto-pd-mini,
  .performance-dashboard-page .tmto-pd-chartbox,
  .performance-dashboard-page .tmto-pd-section-lbl,
  .performance-dashboard-page .tmto-pd-panel .tmto-pd-siglist,
  .performance-dashboard-page .tmto-pd-panel .tmto-pd-detail,
  .performance-dashboard-page .tmto-pd-info-grid .tmto-pd-infobox,
  .performance-dashboard-page .tmto-pd-not-grid .tmto-pd-not,
  .performance-dashboard-page .tmto-pd-footer {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }
}

.tmto-pd {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  font-family: var(--font-sans);
  color: var(--text);
}

/* Page title: same as all h1 in project (#fff) + padding-top */
.tmto-pd-header {
  text-align: center;
  margin-bottom: 28px;
  padding-top: 24px;
  perspective: 800px;
}
.tmto-pd-logo {
  display: block;
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  object-fit: contain;
}
.tmto-pd-tag { font-size: 10px; letter-spacing: 4px; color: #247CC6; text-transform: uppercase; margin-bottom: 10px; opacity: .9; font-family: var(--font-sans); }
.tmto-pd-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -.5px;
  margin-bottom: 6px;
  background: linear-gradient(270deg, #07E0FD 0%, #247CC6 31.92%, #54308C 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: var(--font-sans);
}
.tmto-pd-sub { font-size: 12px; color: var(--text-muted); letter-spacing: 2px; font-family: var(--font-sans); }

/* Glass card style (matches landing .faq-card: transparent + blur) */
.tmto-pd-glass {
  background: rgba(16, 22, 37, 0.15);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.tmto-pd-toggle { display: flex; width: fit-content; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 6px; overflow: hidden; margin-bottom: 20px; flex-wrap: wrap; }
.tmto-pd-tbtn { padding: 7px 20px; font-size: 11px; letter-spacing: 2px; background: transparent; border: none; color: var(--text-muted); cursor: pointer; transition: all .3s; text-transform: uppercase; font-family: var(--font-sans); }
.tmto-pd-tbtn.tmto-pd-active { background: rgba(36, 124, 198, 0.15); color: #247CC6; }

/* Primary metrics */
.tmto-pd-metrics { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-bottom: 10px; }
.tmto-pd-card {
  background: rgba(16, 22, 37, 0.15);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px; padding: 14px; position: relative;
}
.tmto-pd-cdot { position: absolute; top: 12px; right: 12px; width: 6px; height: 6px; border-radius: 50%; background: #247CC6; animation: tmtoPdPulse 2s ease-in-out infinite; }
@keyframes tmtoPdPulse { 0%, 100% { opacity: .3; transform: scale(1); } 50% { opacity: 1; transform: scale(1.4); } }
.tmto-pd-clbl { font-size: 9px; letter-spacing: 2px; color: var(--text-muted); text-transform: uppercase; margin-bottom: 7px; font-family: var(--font-sans); }
.tmto-pd-cval { font-size: 1.3rem; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--text); font-family: var(--font-sans); }
.tmto-pd-green { color: #247CC6; }
.tmto-pd-blue { color: #247CC6; }
.tmto-pd-red { color: var(--red); }
.tmto-pd-csub { font-size: 9px; color: var(--text-muted); margin-top: 3px; font-family: var(--font-sans); }

/* Secondary mini metrics */
.tmto-pd-metrics2 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-bottom: 16px; }
.tmto-pd-mini {
  background: rgba(16, 22, 37, 0.15);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px; padding: 10px 12px; display: flex; flex-direction: column; gap: 5px;
}
.tmto-pd-mini-lbl { font-size: 9px; letter-spacing: 2px; color: var(--text-muted); text-transform: uppercase; font-family: var(--font-sans); }
.tmto-pd-mini-val { font-size: 1rem; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--text); font-family: var(--font-sans); }

/* Chart — same glass style; container matches dashboard equity chart (portfolio .equity-wrap) */
.tmto-pd-chartbox {
  background: rgba(16, 22, 37, 0.15);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(36, 124, 198, 0.25);
  border-radius: 12px; padding: 20px; position: relative; margin-bottom: 16px;
  box-shadow: 0 0 24px rgba(36, 124, 198, 0.06);
}
.tmto-pd-chartbox #tmto-pd-eq,
.tmto-pd-chartbox .tmto-pd-eq-canvas {
  width: 100% !important;
  height: 280px !important;
  max-height: 280px;
  min-height: 200px;
  cursor: crosshair;
  display: block;
}
.tmto-pd-charthead { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; flex-wrap: wrap; gap: 10px; }
.tmto-pd-chartlbl { font-size: 11px; letter-spacing: 2px; color: #247CC6; text-transform: uppercase; font-family: var(--font-sans); }
.tmto-pd-legend { display: flex; gap: 14px; font-size: 10px; color: var(--text-muted); font-family: var(--font-sans); }
.tmto-pd-legend span { display: flex; align-items: center; gap: 5px; }
.tmto-pd-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; }
.tmto-pd-legend-win { background: #247CC6; }
.tmto-pd-legend-loss { background: var(--red); }
.tmto-pd-legend-open { background: #07E0FD; }
.tmto-pd-tip {
  position: absolute; background: rgba(16, 22, 37, 0.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 8px; padding: 8px 12px; font-size: 11px; pointer-events: none; display: none; z-index: 20; min-width: 150px; color: var(--text-muted); line-height: 1.8; font-family: var(--font-sans);
}

/* Signal panel */
.tmto-pd-section-lbl { font-size: 10px; letter-spacing: 3px; color: var(--text-muted); text-transform: uppercase; margin-bottom: 12px; font-family: var(--font-sans); }
.tmto-pd-panel { display: grid; grid-template-columns: 1fr 300px; gap: 12px; margin-bottom: 16px; }
.tmto-pd-siglist {
  background: rgba(16, 22, 37, 0.15);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 7px;
}
.tmto-pd-siglist-cta { gap: 14px; }
.tmto-pd-siglist-msg { margin: 0; font-size: 12px; line-height: 1.6; color: var(--text-muted); font-family: var(--font-sans); }
.tmto-pd-siglist-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.tmto-pd-siglist-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 18px; border-radius: 8px; font-size: 12px; font-weight: 600;
  background: #247CC6; color: #fff; text-decoration: none; font-family: var(--font-sans);
}
.tmto-pd-siglist-btn:hover { filter: brightness(1.08); color: #fff; }
.tmto-pd-siglist-link { font-size: 12px; color: #247CC6; text-decoration: none; font-family: var(--font-sans); }
.tmto-pd-siglist-link:hover { color: #07E0FD; }
.tmto-pd-detail-static { min-height: auto; }
.tmto-pd-detail-note { margin: 0; font-size: 11px; line-height: 1.55; color: var(--text-muted); font-family: var(--font-sans); }
.tmto-pd-sigitem { display: flex; align-items: center; gap: 9px; padding: 9px 11px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, 0.12); cursor: pointer; transition: all .25s; font-size: 12px; font-family: var(--font-sans); color: var(--text); }
.tmto-pd-sigitem:hover,
.tmto-pd-sigitem.tmto-pd-sel { border-color: #247CC6; background: rgba(36, 124, 198, 0.08); }
.tmto-pd-sbadge { font-weight: 700; font-size: 10px; padding: 2px 7px; border-radius: 4px; min-width: 36px; text-align: center; font-family: var(--font-sans); }
.tmto-pd-sbuy { background: rgba(36, 124, 198, 0.12); color: #247CC6; }
.tmto-pd-ssell { background: rgba(246, 70, 93, 0.12); color: var(--red); }
.tmto-pd-sasset { flex: 1; color: var(--text-muted); }
.tmto-pd-srr { font-size: 10px; font-weight: 600; padding: 2px 6px; border-radius: 4px; font-family: var(--font-sans); }
.tmto-pd-rr-hi { background: rgba(36, 124, 198, 0.12); color: #247CC6; }
.tmto-pd-rr-mid { background: rgba(255, 209, 102, 0.12); color: var(--gold); }
.tmto-pd-rr-lo { background: rgba(246, 70, 93, 0.12); color: var(--red); }
.tmto-pd-sout { font-size: 11px; font-weight: 600; font-family: var(--font-sans); }
.tmto-pd-swin { color: #247CC6; }
.tmto-pd-sloss { color: var(--red); }
.tmto-pd-sconf { font-size: 10px; color: var(--text-muted); font-family: var(--font-sans); }
.tmto-pd-sigid { font-size: 10px; color: var(--text-muted); font-family: var(--font-sans); }

/* detail */
.tmto-pd-detail {
  background: rgba(16, 22, 37, 0.15);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px; padding: 16px;
}
.tmto-pd-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; gap: 8px; color: var(--text-muted); font-size: 11px; letter-spacing: 2px; text-align: center; min-height: 160px; font-family: var(--font-sans); }
.tmto-pd-dr { display: flex; justify-content: space-between; font-size: 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); padding: 5px 0; font-family: var(--font-sans); }
.tmto-pd-dr:last-child { border: none; }
.tmto-pd-dr span:first-child { color: var(--text-muted); }
.tmto-pd-dr span:last-child { color: var(--text); font-weight: 500; }
.tmto-pd-prob-bar { width: 100%; background: var(--border); height: 4px; border-radius: 2px; margin-top: 6px; }
.tmto-pd-prob-fill { height: 100%; border-radius: 2px; background: linear-gradient(90deg, var(--bg-card2), #247CC6); transition: width 1s ease; }
.tmto-pd-prob-pct { font-size: 1.2rem; font-weight: 700; color: #247CC6; margin-top: 4px; font-family: var(--font-sans); }
.tmto-pd-detail-hd { font-size: 9px; letter-spacing: 3px; color: var(--text-muted); text-transform: uppercase; margin-bottom: 10px; font-family: var(--font-sans); }
.tmto-pd-trade-link { margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--border); }
.tmto-pd-trade-link a { font-size: 10px; color: #247CC6; text-decoration: none; letter-spacing: 1px; font-family: var(--font-sans); }
.tmto-pd-trade-link a:hover { color: #07E0FD; }

/* Info grid */
.tmto-pd-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.tmto-pd-infobox {
  background: rgba(16, 22, 37, 0.15);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px; padding: 20px;
}
.tmto-pd-info-title { font-size: 10px; letter-spacing: 3px; color: var(--text-muted); text-transform: uppercase; margin-bottom: 14px; font-family: var(--font-sans); }
.tmto-pd-info-items { display: flex; flex-direction: column; gap: 8px; }
.tmto-pd-ii { font-size: 12px; color: var(--text-muted); display: flex; gap: 8px; line-height: 1.5; font-family: var(--font-sans); }
.tmto-pd-ii::before { content: '—'; color: var(--border); flex-shrink: 0; }
.tmto-pd-track-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.tmto-pd-tr { font-size: 11px; color: var(--text-muted); display: flex; align-items: center; gap: 7px; font-family: var(--font-sans); }
.tmto-pd-tr-full { grid-column: span 2; }
.tmto-pd-tr-dot { width: 5px; height: 5px; border-radius: 50%; background: #247CC6; flex-shrink: 0; }
.tmto-pd-audit { margin-top: 14px; font-size: 10px; color: var(--text-muted); letter-spacing: 1px; border-top: 1px solid rgba(255, 255, 255, 0.08); padding-top: 10px; font-family: var(--font-sans); }

/* Not grid */
.tmto-pd-not-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 20px; }
.tmto-pd-not {
  background: rgba(16, 22, 37, 0.15);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px; padding: 14px; font-size: 12px; color: var(--text-muted); line-height: 1.5; position: relative; font-family: var(--font-sans);
}
.tmto-pd-not::before { content: '✕'; position: absolute; top: 12px; right: 12px; font-size: 10px; color: rgba(255, 92, 92, 0.4); }
.tmto-pd-not strong { display: block; font-size: 9px; letter-spacing: 2px; color: var(--red); margin-bottom: 5px; text-transform: uppercase; font-family: var(--font-sans); }

.tmto-pd-footer { text-align: center; font-size: 11px; letter-spacing: 3px; color: var(--text-muted); padding: 16px 0 4px; text-transform: uppercase; font-family: var(--font-sans); }

/* ——— Responsive ——— */
@media (max-width: 900px) {
  .performance-dashboard-page .tmto-pd-wrap { padding-left: 16px; padding-right: 16px; }
  .tmto-pd-metrics { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .tmto-pd-metrics2 { grid-template-columns: repeat(3, 1fr); }
  .tmto-pd-panel { grid-template-columns: 1fr; }
  .tmto-pd-info-grid { grid-template-columns: 1fr; }
  .tmto-pd-not-grid { grid-template-columns: repeat(2, 1fr); }
  .tmto-pd-chartbox #tmto-pd-eq,
  .tmto-pd-chartbox .tmto-pd-eq-canvas { height: 240px !important; min-height: 180px; }
}

@media (max-width: 600px) {
  .performance-dashboard-page .tmto-pd-wrap {
    padding: 28px 16px 32px;
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
    padding-bottom: max(32px, env(safe-area-inset-bottom));
  }
  .tmto-pd-header { padding-top: 20px; margin-bottom: 24px; }
  .tmto-pd-logo { width: 56px; height: 56px; margin-bottom: 14px; }
  .tmto-pd-title { font-size: clamp(1.4rem, 5vw, 1.75rem); line-height: 1.25; }
  .tmto-pd-sub { font-size: 13px; letter-spacing: 1px; }
  .tmto-pd-toggle {
    width: 100%;
    justify-content: stretch;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 24px;
  }
  .tmto-pd-tbtn {
    padding: 12px 10px;
    font-size: 11px;
    flex: 1;
    min-width: 0;
    min-height: 44px;
    -webkit-tap-highlight-color: transparent;
  }
  .tmto-pd-metrics { grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 12px; }
  .tmto-pd-metrics2 { grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 20px; }
  .tmto-pd-card {
    padding: 16px 14px;
    border-radius: 14px;
  }
  .tmto-pd-cval { font-size: 1.2rem; }
  .tmto-pd-clbl { font-size: 10px; margin-bottom: 6px; }
  .tmto-pd-csub { font-size: 10px; }
  .tmto-pd-mini {
    padding: 14px 12px;
    border-radius: 12px;
  }
  .tmto-pd-mini-val { font-size: 1.05rem; }
  .tmto-pd-mini-lbl { font-size: 10px; }
  .tmto-pd-chartbox {
    padding: 18px 16px;
    border-radius: 14px;
    margin-bottom: 20px;
  }
  .tmto-pd-chartbox #tmto-pd-eq,
  .tmto-pd-chartbox .tmto-pd-eq-canvas { height: 220px !important; min-height: 180px; }
  .tmto-pd-charthead { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
  .tmto-pd-chartlbl { font-size: 12px; }
  .tmto-pd-legend { font-size: 11px; gap: 16px; }
  .tmto-pd-section-lbl { margin-bottom: 14px; font-size: 11px; }
  .tmto-pd-panel { gap: 16px; margin-bottom: 20px; }
  .tmto-pd-siglist { padding: 18px; border-radius: 14px; gap: 10px; }
  .tmto-pd-sigitem {
    padding: 14px 12px;
    border-radius: 12px;
    min-height: 48px;
    font-size: 12px;
    -webkit-tap-highlight-color: transparent;
  }
  .tmto-pd-sasset { width: 100%; order: 3; }
  .tmto-pd-detail { padding: 18px; border-radius: 14px; }
  .tmto-pd-dr { padding: 8px 0; font-size: 13px; }
  .tmto-pd-info-grid { gap: 16px; margin-bottom: 20px; }
  .tmto-pd-infobox { padding: 20px 18px; border-radius: 14px; }
  .tmto-pd-info-title { font-size: 11px; margin-bottom: 12px; }
  .tmto-pd-ii { font-size: 13px; }
  .tmto-pd-track-grid { grid-template-columns: 1fr; gap: 8px; }
  .tmto-pd-tr-full { grid-column: span 1; }
  .tmto-pd-tr { font-size: 12px; }
  .tmto-pd-not-grid { grid-template-columns: 1fr; gap: 12px; margin-bottom: 24px; }
  .tmto-pd-not {
    padding: 18px 36px 18px 18px;
    border-radius: 14px;
    font-size: 13px;
    line-height: 1.55;
  }
  .tmto-pd-not strong { font-size: 10px; margin-bottom: 6px; }
  .tmto-pd-footer { padding: 20px 0 8px; font-size: 12px; }
}

@media (max-width: 500px) {
  .tmto-pd-metrics { grid-template-columns: repeat(2, 1fr); }
  .tmto-pd-metrics2 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 380px) {
  .performance-dashboard-page .tmto-pd-wrap { padding: 24px 12px 28px; padding-left: max(12px, env(safe-area-inset-left)); padding-right: max(12px, env(safe-area-inset-right)); }
  .tmto-pd-header { padding-top: 16px; margin-bottom: 20px; }
  .tmto-pd-logo { width: 48px; height: 48px; margin-bottom: 12px; }
  .tmto-pd-title { font-size: 1.3rem; }
  .tmto-pd-sub { font-size: 12px; }
  .tmto-pd-tbtn { padding: 11px 8px; font-size: 10px; }
  .tmto-pd-metrics { gap: 10px; }
  .tmto-pd-metrics2 { gap: 10px; }
  .tmto-pd-card { padding: 14px 12px; border-radius: 12px; }
  .tmto-pd-cval { font-size: 1.1rem; }
  .tmto-pd-mini { padding: 12px 10px; border-radius: 10px; }
  .tmto-pd-mini-val { font-size: 1rem; }
  .tmto-pd-chartbox { padding: 16px 14px; border-radius: 12px; }
  .tmto-pd-chartbox #tmto-pd-eq,
  .tmto-pd-chartbox .tmto-pd-eq-canvas { height: 200px !important; min-height: 160px; }
  .tmto-pd-sigitem { padding: 12px; }
  .tmto-pd-not { padding: 16px 32px 16px 16px; font-size: 12px; }
}
