/* ═══ Warrior Desk viewer (⚡ tab) — leans on the site's existing CSS vars ═══ */
#warrior-mount { display: block; }

.wd-top {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 10px; margin-bottom: 12px;
}
.wd-mode {
  font-family: var(--font-mono); font-size: var(--text-xs); text-transform: uppercase;
  letter-spacing: .06em; padding: 2px 8px; border: 1px solid var(--border-strong);
  border-radius: 999px; color: var(--green-deep);
}
.wd-actions { display: flex; gap: 6px; align-items: center; }
.wd-actions input {
  font-family: var(--font-mono); text-transform: uppercase; width: 92px;
  padding: 5px 8px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: var(--card); color: var(--ink);
}
.wd-stale { color: #c0564b; font-size: var(--text-xs); font-weight: 600; margin-left: 6px; }

.wd-strip {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px;
}
.wd-cell {
  display: flex; flex-direction: column; min-width: 84px; padding: 8px 12px;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm);
}
.wd-cell-l { font-size: var(--text-xs); color: var(--clay); text-transform: uppercase; letter-spacing: .05em; }
.wd-cell-v { font-family: var(--font-mono); font-size: var(--text-base); }
.wd-halt { width: 100%; color: #c0564b; font-weight: 600; padding-top: 4px; }

.wd-h { margin: 18px 0 8px; font-size: var(--text-lg); }

.wd-card {
  background: var(--card); border: 1px solid var(--border);
  border-left: 4px solid var(--border-strong); border-radius: var(--radius);
  padding: 12px 14px; margin-bottom: 10px;
}
.wd-card-ok { border-left-color: var(--green); }
.wd-card-no { border-left-color: #c0564b; opacity: .9; }
.wd-card-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.wd-sym { font-weight: 700; font-size: var(--text-lg); }
.wd-tag {
  font-family: var(--font-mono); font-size: var(--text-xs); color: var(--clay);
  border: 1px solid var(--border); border-radius: 999px; padding: 1px 7px;
}
.wd-grade { font-weight: 800; border-radius: 6px; padding: 1px 8px; color: #fff; }
.wd-grade.wd-a { background: var(--green); }
.wd-grade.wd-b { background: var(--clay); }
.wd-grade.wd-c { background: #c0564b; }
.wd-ok { color: var(--green-deep); font-weight: 600; }
.wd-no { color: #c0564b; font-weight: 600; }
.wd-trig { color: var(--green-deep); font-size: var(--text-xs); }
.wd-wait { color: var(--clay); font-size: var(--text-xs); }

.wd-plan {
  font-family: var(--font-mono); font-size: var(--text-sm); margin: 8px 0;
  padding: 8px 10px; background: var(--green-soft); border-radius: var(--radius-sm);
  line-height: 1.6;
}
.wd-reasons { font-size: var(--text-sm); color: #c0564b; margin: 8px 0; }
.wd-thesis { font-size: var(--text-sm); line-height: 1.55; margin: 6px 0; }

.wd-details summary { cursor: pointer; color: var(--green-deep); font-size: var(--text-sm); }
.wd-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 10px; }
@media (max-width: 760px) { .wd-grid2 { grid-template-columns: 1fr; } }

.wd-steps { font-size: var(--text-xs); line-height: 1.5; padding-left: 18px; margin: 0; }
.wd-steps li { margin-bottom: 2px; }
.wd-step-PASS b { color: var(--green-deep); }
.wd-step-FAIL b { color: #c0564b; }

.wd-metrics, .wd-table {
  width: 100%; border-collapse: collapse; font-family: var(--font-mono); font-size: var(--text-xs);
}
.wd-metrics td { padding: 2px 6px; border-bottom: 1px solid var(--border); }
.wd-metrics td:first-child { color: var(--clay); }
.wd-table th, .wd-table td { padding: 5px 8px; border-bottom: 1px solid var(--border); text-align: right; }
.wd-table th:first-child, .wd-table td:first-child { text-align: left; }
.wd-watch { cursor: pointer; }
.wd-watch:hover { background: var(--green-soft); }

.wd-rules { list-style: none; padding: 0; margin: 6px 0; font-size: var(--text-sm); line-height: 1.7; }
.wd-bottom { margin-top: 14px; }
.wd-disc { font-size: var(--text-xs); color: var(--clay); margin-top: 16px; font-style: italic; }
.wd-empty { padding: 22px; text-align: center; }
