/* Rankable Audit Client — structural baseline only.
   Deliberately unopinionated on color/typography so each site's theme
   fully controls the look. Only layout/spacing basics live here. */

.rankable-wizard { max-width: 640px; }

.rankable-wizard-rail { display: flex; align-items: center; margin-bottom: 24px; }
.rankable-wizard-step-icon { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex: none; }
.rankable-wizard-step-icon svg { width: 18px; height: 18px; }
.rankable-wizard-rail-line { flex: 1 1 auto; height: 1px; margin: 0 6px; }

.rankable-wizard-panel { display: none; }
.rankable-wizard-panel.is-active { display: block; }

.rankable-wizard-title { margin: 0 0 6px; }
.rankable-wizard-sub { margin: 0 0 20px; }

.rankable-wizard-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 24px; gap: 10px; }

.rankable-wizard-summary { margin: 0; }
.rankable-wizard-summary-row { display: flex; justify-content: space-between; padding: 12px 0; border-top: 1px solid rgba(0,0,0,.08); }
.rankable-wizard-summary-row dt { font-weight: 600; margin: 0; }
.rankable-wizard-summary-row dd { margin: 0; text-align: right; }

.rankable-wizard-loading { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 40px 0; text-align: center; }
.rankable-wizard-spinner { width: 28px; height: 28px; border-radius: 50%; border: 3px solid rgba(0,0,0,.1); border-top-color: currentColor; animation: rankable-spin 0.8s linear infinite; }
@keyframes rankable-spin { to { transform: rotate(360deg); } }

.rankable-audit-tabs { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.rankable-audit-tab { padding: 10px 18px; cursor: pointer; }

.rankable-standalone-report { max-width: 640px; margin: 0 auto; }
.rankable-dashboard { max-width: 760px; margin: 0 auto; }
.rankable-dashboard-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 32px; gap: 16px; }
.rankable-dashboard-empty { text-align: center; padding: 60px 0; }
.rankable-dashboard-items { display: flex; flex-direction: column; gap: 1px; }
.rankable-dashboard-item { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; text-decoration: none; border-top: 1px solid rgba(0,0,0,.08); gap: 16px; }
.rankable-dashboard-item-main { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.rankable-dashboard-item-url { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rankable-dashboard-item-badge { font-size: .78em; opacity: .7; }
.rankable-dashboard-item-stats { display: flex; gap: 14px; align-items: center; flex: none; }
.rankable-report-eyebrow { margin: 0 0 8px; font-size: .85em; opacity: .7; }
.rankable-report-meta { display: flex; gap: 10px; align-items: center; margin: 10px 0 24px; }
.rankable-report-badge { padding: 4px 12px; border-radius: 999px; font-size: .8em; }
.rankable-report-date { font-size: .85em; opacity: .6; }
.rankable-report-footer-link { margin-top: 28px; text-align: center; }
.rankable-report-url { opacity: .7; margin-bottom: 24px; }
.rankable-report-error { text-align: center; max-width: 480px; margin: 0 auto; }

.rankable-unlock-divider { display: flex; align-items: center; gap: 12px; margin: 28px 0 16px; }
.rankable-unlock-divider::before, .rankable-unlock-divider::after { content: ''; flex: 1 1 auto; height: 1px; background: rgba(0,0,0,.1); }
.rankable-unlock-divider span { font-size: .85em; opacity: .7; white-space: nowrap; }

.rankable-unlock-contents { margin: 0 0 20px; padding-left: 20px; }
.rankable-unlock-contents li { margin-bottom: 6px; font-size: .92em; }

.rankable-audit-input { padding: 0 14px; height: 44px; min-height: 44px; max-height: 44px; width: 100%; box-sizing: border-box; line-height: 1.2; }
.rankable-audit-select { cursor: pointer; }
.btn:disabled { opacity: .4; cursor: not-allowed; pointer-events: none; }
.rankable-wizard-step-icon.is-skipped { opacity: .3; }
.rankable-wizard-rail-line.is-skipped { opacity: .3; }
.rankable-wizard-summary-row[hidden] { display: none; }
.btn { padding: 0 20px; min-height: 44px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }

.rankable-audit-revenue-inputs { display: flex; gap: 10px; flex-wrap: wrap; width: 100%; margin-top: 14px; }
.rankable-audit-field { flex: 1 1 200px; display: flex; flex-direction: column; gap: 4px; margin-top: 14px; }
.rankable-audit-field-label { font-size: .82em; opacity: .8; }
.rankable-audit-field-note { width: 100%; font-size: .82em; opacity: .65; margin: 8px 0 0; }

.rankable-audit-status { margin-top: 12px; min-height: 1.4em; }
.rankable-audit-status.is-error { color: #c0392b; }

.rankable-audit-result { margin-top: 24px; }
.rankable-result-card { padding: 20px; border: 1px solid rgba(0,0,0,.1); }

.rankable-revenue-headline { display: flex; flex-direction: column; gap: 4px; margin-bottom: 14px; }
.rankable-revenue-label { font-size: .85em; opacity: .75; }
.rankable-revenue-amount { font-size: 2.2em; font-weight: 700; line-height: 1.1; }
.rankable-revenue-detail { margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid rgba(0,0,0,.08); }
.rankable-revenue-missed { font-weight: 600; }

.rankable-assumptions { margin-top: 10px; font-size: .82em; opacity: .8; }
.rankable-assumptions summary { cursor: pointer; }
.rankable-assumptions ul { margin: 8px 0 0; padding-left: 18px; }
.rankable-assumptions li { margin-bottom: 6px; }
.rankable-assumption-source { opacity: .75; }

.rankable-result-score { font-size: 1.1em; margin-bottom: 10px; }
.rankable-locked-note { opacity: .7; font-style: italic; }

.rankable-unlock-form { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }

.rankable-check-list, .rankable-question-list { list-style: none; margin: 16px 0 0; padding: 0; }
.rankable-check-list li, .rankable-question-list li { padding: 10px 0; border-top: 1px solid rgba(0,0,0,.08); }
.rankable-check-pass { }
.rankable-check-fail { }
.rankable-scan-incomplete { opacity: .7; font-style: italic; }
.rankable-model-attribution { opacity: .7; font-size: .9em; }
