/* Domain Authority Checker — in-app view. Uses the shared --rf-* design tokens. */
.pg-authority .da-intro { margin-bottom: 16px; }

.da-input-card { margin-bottom: 20px; }
.da-form { display: grid; gap: 12px; padding: 4px 2px 2px; }
.da-field-label { font-size: 12px; font-weight: 650; color: var(--rf-muted); }
.da-textarea {
  width: 100%; min-height: 104px; padding: 12px 14px; resize: vertical;
  border: 1px solid var(--rf-line); border-radius: 10px; background: var(--rf-bg);
  color: var(--rf-text); font: inherit; font-size: 14px; line-height: 1.7; outline: 0;
}
.da-textarea:focus { border-color: var(--rf-indigo); box-shadow: 0 0 0 3px var(--rf-tint); background: var(--rf-surface); }
.da-textarea:disabled { opacity: .6; }
.da-form-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.da-hint { display: inline-flex; align-items: center; gap: 6px; color: var(--rf-muted); font-size: 12px; }
.da-hint .ic { width: 15px; height: 15px; }
.da-form-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }

.da-metrics { margin-bottom: 20px; }

/* Score column */
.da-score-cell { min-width: 160px; }
.da-score { display: grid; gap: 6px; max-width: 190px; }
.da-score-head { display: flex; align-items: baseline; gap: 8px; }
.da-num { font-size: 22px; font-weight: 760; letter-spacing: -.03em; line-height: 1; color: var(--rf-text); }
.da-band { font-size: 11px; font-weight: 650; color: var(--rf-muted); }
.da-bar { position: relative; height: 7px; border-radius: 99px; background: var(--rf-soft); overflow: hidden; }
.da-bar-fill { display: block; width: 0; height: 100%; border-radius: 99px; background: var(--rf-indigo); transition: width .5s cubic-bezier(.22,.61,.36,1); }
.da-high .da-num { color: var(--rf-green-ink); }
.da-high .da-bar-fill { background: var(--rf-green); }
.da-mid .da-num { color: var(--rf-amber-ink); }
.da-mid .da-bar-fill { background: var(--rf-amber); }
.da-low .da-bar-fill { background: var(--rf-blue); }
.da-none .da-num { color: var(--rf-muted); }
.da-sub { font-size: 11px; color: var(--rf-muted); }

.da-flag { display: inline-flex; align-items: center; gap: 5px; margin-top: 2px; padding: 2px 7px; border-radius: 99px; background: var(--rf-amber-soft); color: var(--rf-amber-ink); font-size: 10px; font-weight: 650; width: max-content; }
.da-flag .ic { width: 12px; height: 12px; }

/* Domain column */
.da-domain { display: flex; align-items: center; gap: 10px; }
.da-domain-ic { width: 18px; height: 18px; color: var(--rf-muted); flex: none; }
.da-domain strong { font-size: 13px; font-weight: 680; word-break: break-all; }
.da-asof { display: block; margin-top: 2px; color: var(--rf-muted); font-size: 11px; }

.da-table td { vertical-align: middle; }
.da-muted { color: var(--rf-muted); }
.da-error { color: var(--rf-red-ink); font-size: 12px; }

@media (max-width: 720px) {
  .da-form-foot { align-items: stretch; }
  .da-form-actions { width: 100%; }
  .da-form-actions .rf-btn { flex: 1; justify-content: center; }
}
