/* Pelorus 5.0 shell additions: About actions, facts, Feedback page, transfer sheet.
   Uses the app's own tokens only (app.css), so both themes follow automatically. */

/* Insights kit theme, through its variables only (never fork feedback.css). */
:root {
  --insights-accent: var(--accent);
  --insights-ink: var(--on-accent);
  --insights-surface: var(--bg3);
  --insights-line: var(--border);
  --insights-star: var(--accent);
}

/* About: Feedback · Update · Install, equal width, one row */
.about-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 2px 0 8px; }
.about-actions .btn { min-height: 44px; padding: 0 6px; }
.about-status { font-size: 13px; color: var(--text2); min-height: 0; margin: 0 0 8px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.about-status:empty { display: none; }
.about-status .btn { min-height: 36px; }

/* Facts: label and value on one line */
.about-facts { margin: 0 0 12px; padding: 10px 12px; background: var(--bg3); border: 1px solid var(--border); border-radius: var(--radius-sm); display: grid; gap: 6px; }
.about-facts > div { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; }
.about-facts dt { color: var(--text2); }
.about-facts dd { margin: 0; text-align: right; color: var(--text); overflow-wrap: anywhere; }
.about-facts a, .about-text a { color: var(--accent2); }

/* Feedback page: full screen over the chart, its own scroll container */
#feedback-screen {
  position: fixed; inset: 0; z-index: 3000; overflow-y: auto; overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch; background: var(--bg); color: var(--text);
  padding: env(safe-area-inset-top) env(safe-area-inset-right) calc(env(safe-area-inset-bottom) + 24px) env(safe-area-inset-left);
}
#feedback-screen[hidden] { display: none; }
#feedback-screen .insights-page { padding-top: 16px; }
#feedback-screen .insights-page > .insights-secondary { justify-self: start; }
#feedback-screen textarea { scroll-margin-bottom: 40vh; }

/* Transfer sheet (one-time, from the old address) */
.transfer-line { font-size: 14px; line-height: 1.5; margin: 0 0 8px; color: var(--text); }
.transfer-muted { color: var(--text2); }

/* Edition switch label hint, same rhythm as other settings rows */
#edition-opts .unit-opt { min-width: 56px; }
