/* Media Hub supplemental styles. Inherits the monitor-hub.css base. */

.mh-modal-wide {
  max-width: 800px;
  width: 90%;
}

.mediah-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--mh-border, #333);
  padding-bottom: 0.75rem;
  margin-bottom: 1rem;
}

.mediah-modal-body {
  max-height: 60vh;
  overflow-y: auto;
  padding: 0.5rem 0;
}

.mediah-variant {
  border: 1px solid var(--mh-border, #333);
  border-radius: 0.5rem;
  padding: 1rem;
  margin-bottom: 0.75rem;
  background: var(--mh-card-bg, rgba(255, 255, 255, 0.02));
}

.mediah-variant-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.mediah-variant-platform {
  font-weight: 600;
  text-transform: capitalize;
}

.mediah-variant-char-count {
  font-size: 0.85rem;
  color: var(--mh-muted, #888);
}

.mediah-variant-draft {
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.5;
  white-space: pre-wrap;
  padding: 0.5rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 0.25rem;
  border: 1px solid var(--mh-border, #333);
}

.mediah-guardian-banner {
  padding: 0.5rem 0.75rem;
  border-radius: 0.25rem;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}

.mediah-guardian-passed {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.mediah-guardian-flagged {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.mediah-guardian-critical {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Action queue card — platform variant badges + click hint */

.mediah-variant-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.5rem;
}

.mediah-variant-badge {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  background: rgba(20, 184, 166, 0.15);
  border: 1px solid rgba(20, 184, 166, 0.4);
  border-radius: 0.25rem;
  color: #14b8a6;
  font-size: 0.75rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}

.mediah-variant-count {
  margin-left: auto;
  font-size: 0.7rem;
  color: #10b981;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mediah-click-hint {
  margin-top: 0.6rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  font-style: italic;
}

.mediah-queue-item {
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.mediah-queue-item:hover {
  background: rgba(20, 184, 166, 0.05);
  border-color: rgba(20, 184, 166, 0.4);
}
.mediah-queue-item:hover .mediah-click-hint {
  color: #14b8a6;
}

/* Long-form copy-assist variant (Substack, Medium, Reddit, LinkedIn) */

.mediah-longform {
  border-color: var(--mh-accent, #14b8a6);
}

.mediah-longform-field {
  margin-bottom: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--mh-border-soft, rgba(255, 255, 255, 0.05));
}

.mediah-longform-field:last-of-type {
  border-bottom: none;
}

.mediah-longform-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--mh-muted, #888);
  margin-bottom: 0.35rem;
  letter-spacing: 0.02em;
}

.mediah-longform-value {
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.5;
  color: var(--mh-text-primary, #e5e7eb);
  padding: 0.4rem 0.6rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 0.25rem;
  font-size: 0.9rem;
  word-wrap: break-word;
}

.mediah-copy-btn {
  font-size: 0.75rem;
  padding: 0.15rem 0.5rem;
  min-width: 4rem;
}

.mediah-longform-cta {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--mh-border, #333);
  font-size: 0.85rem;
  color: var(--mh-muted, #888);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mediah-record-url-input {
  width: 100%;
  padding: 0.4rem 0.6rem;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--mh-border, #444);
  border-radius: 0.25rem;
  color: var(--mh-text-primary, #e5e7eb);
  font-family: monospace;
  font-size: 0.85rem;
}

.mediah-record-url-input:focus {
  outline: none;
  border-color: var(--mh-accent, #14b8a6);
}

.mediah-topic-row {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--mh-border-soft, rgba(255, 255, 255, 0.05));
}

.mediah-topic-row:last-child {
  border-bottom: none;
}

.mediah-topic-score {
  display: inline-block;
  min-width: 2.5rem;
  font-variant-numeric: tabular-nums;
  color: var(--mh-accent, #14b8a6);
  font-weight: 600;
  margin-right: 0.5rem;
}

.mediah-topic-text {
  display: inline;
}

.mediah-topic-source {
  font-size: 0.8rem;
  color: var(--mh-muted, #888);
  margin-left: 0.5rem;
}

.mediah-promote-btn {
  margin-left: 0.5rem;
  font-size: 0.8rem;
  padding: 0.2rem 0.5rem;
}
