/* publisher dashboard pages: styles only these pages use. Loaded after dash.css. */

.dp-site { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; min-width: 0; }
.dp-site-text { display: flex; flex-direction: column; min-width: 0; }
.dp-site-text b { font-weight: 510; color: var(--c-text); }
.dp-site-text span { font-size: 12px; line-height: 18px; color: var(--c-text-4); }
.dp-site:hover b { text-decoration: underline; text-underline-offset: 2px; }

.dp-foot { margin: 0; font-size: 12px; line-height: 18px; color: var(--c-text-4); }
.d-card-body > .c-scroll + .sa-pager + .dp-foot, .d-card-body > .c-scroll + .dp-foot { padding-top: 14px; border-top: 1px solid var(--c-line-soft); margin: 0 -20px -20px; padding-inline: 20px; padding-bottom: 14px; }

.dp-domain { font-family: var(--c-mono, "Geist Mono", ui-monospace, monospace); font-size: 13px; color: var(--c-text-3); background: none; padding: 0; }
.dp-stack { display: flex; flex-direction: column; gap: 28px; scroll-margin-top: 16px; }
.d-card, .d-stats { scroll-margin-top: 16px; }
.dp-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.dp-add { align-items: start; }

.dp-lines { display: flex; flex-direction: column; margin: -20px -20px 0; }
.dp-line { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; border-top: 1px solid var(--c-line-soft); }
.dp-line:first-child { border-top: 0; }
.dp-line > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.dp-line b { font-weight: 510; color: var(--c-text); font-size: 13px; }
.dp-line span { font-size: 12px; line-height: 18px; color: var(--c-text-4); }
.dp-line form { margin: 0; flex: none; }
.dp-lines + .dp-foot { padding-top: 14px; border-top: 1px solid var(--c-line-soft); margin: 0 -20px -20px; padding: 14px 20px; }

.dp-pay { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.dp-pay > form { margin: 0; }
.dp-big { font-size: 40px; line-height: 46px; font-weight: 510; letter-spacing: -0.026em; color: var(--c-text); font-variant-numeric: tabular-nums; }
.dp-big .sa-money { white-space: normal; }
.dp-next { margin: 0; font-size: 13px; line-height: 20px; color: var(--c-text-3); }
.dp-next strong { color: var(--c-text); font-weight: 510; }
.dp-stripe { display: flex; align-items: center; gap: 10px; align-self: stretch; padding: 12px 14px; border: 1px solid var(--c-line); border-radius: var(--c-r-input, 8px); background: rgba(255, 255, 255, 0.02); font-size: 13px; color: var(--c-text-2); }
.dp-stripe-setup { justify-content: space-between; align-items: center; flex-wrap: wrap; }
.dp-stripe-setup > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; max-width: 520px; }
.dp-stripe-setup b { font-weight: 510; color: var(--c-text); }
.dp-stripe-setup span { font-size: 12px; line-height: 18px; color: var(--c-text-4); }
.dp-stripe-setup form { margin: 0; }

#needs .d-row-text b, #review .d-row-text b, #info .d-row-text b,
#needs .d-row-text span, #review .d-row-text span, #info .d-row-text span { white-space: normal; overflow: visible; }

#install .sa-hosts { padding-bottom: 4px; }

@media (max-width: 760px) {
  .dp-two { grid-template-columns: minmax(0, 1fr); }
  .dp-line { align-items: flex-start; flex-direction: column; }
  .dp-big { font-size: 32px; line-height: 38px; }
}

#payouts td:first-child, #payouts th:first-child { white-space: nowrap; }

/* Account health: each item's cell in its level's color, with a symbol so it reads without color. */
#needs .d-cell { background: var(--c-warning-tint); color: var(--c-warning-text); }
#review .d-cell { background: var(--c-info-tint); color: var(--c-info-text); }
#info .d-cell { background: var(--c-chip); color: var(--c-text-2); }
