/* ===================================================== Machine detail body */
.mdetail__grid {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 8px 16px;
  align-items: baseline;
}
.mdetail__k {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.mdetail__v {
  color: var(--text);
  font-size: 13px;
  word-break: break-word;
}
.mdetail__section {
  margin-top: 22px;
}
.mdetail__section h3 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin: 0 0 10px;
}

/* Inline mini table inside the detail (sessions / events / keys). */
.minitable {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
.minitable th {
  text-align: left;
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-faint);
  font-weight: 700;
  padding: 0 10px 6px 0;
}
.minitable td {
  padding: 6px 10px 6px 0;
  border-top: 1px solid var(--border);
  color: var(--text);
  vertical-align: top;
}
.minitable .mono {
  color: var(--text-muted);
}

/* ============================================================ Key reveal === */
.keyreveal__warn {
  display: flex;
  gap: 11px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--warn-soft);
  border: 1px solid var(--warn-soft);
  color: var(--text);
  font-size: 13px;
  margin-bottom: 14px;
}
.keyreveal__warnicon {
  flex: 0 0 auto;
  margin-top: 1px;
  color: var(--warn);
}
.keyreveal__warn strong {
  display: block;
  margin-bottom: 3px;
}
.keyreveal__warn span {
  color: var(--text-muted);
}
.keyreveal__value {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--panel-2);
  border: 1px solid var(--border-strong);
}
.keyreveal__key {
  flex: 1;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  word-break: break-all;
  user-select: all;
}
.keyreveal__hint {
  margin-top: 10px;
  font-size: 12px;
  color: var(--text-muted);
}

/* ====================================================== Delete options === */
.optline {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  font-size: 13px;
  color: var(--text);
  cursor: pointer;
}
.optline input[type="checkbox"] {
  margin-top: 2px;
  width: 15px;
  height: 15px;
  accent-color: var(--accent);
  flex: 0 0 auto;
}
.optline__note {
  color: var(--warn);
  font-style: normal;
}

/* Revoked rows read dimmer. */
.key--revoked td {
  color: var(--text-faint);
}
.key--revoked .mono {
  color: var(--text-faint);
}
