/* Phone Doctor — additions on top of /tools/assets/tools.css */
.pd-pledges { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 6px; color: var(--muted); max-width: 72ch; }
.pd-pledges strong { color: var(--text); }
.pd-steps { margin: 0 0 10px; padding-left: 20px; display: grid; gap: 8px; }
.pd-notice { margin: 0 0 16px; border-color: #4e88c6; }
.pd-notice p { margin: 6px 0 0; }
.pd-status { min-height: 1.4em; margin-top: 12px; }
.pd-status-ok { color: var(--ok); }
.pd-status-bad { color: var(--bad); }
.pd-progress { height: 6px; border-radius: 3px; background: var(--bg-soft); margin-top: 10px; overflow: hidden; }
.pd-progress > div { height: 100%; width: 0; background: var(--accent); transition: width 0.2s ease; }
.pd-report { display: grid; gap: 16px; margin: 24px 0; }
.pd-report[hidden], .pd-notice[hidden], .pd-progress[hidden] { display: none; }
.pd-summary { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.pd-summary-text p { margin: 4px 0 0; }
.pd-score-wrap { text-align: center; min-width: 110px; }
.pd-score { font-size: 3.4rem; font-weight: 800; line-height: 1; }
.pd-score-ok { color: var(--ok); }
.pd-score-warn { color: var(--warn); }
.pd-score-bad { color: var(--bad); }
.pd-finding { border: 1px solid var(--panel-border); border-radius: 10px; padding: 10px 12px; margin-top: 10px; background: rgba(7, 16, 29, 0.35); }
.pd-finding summary { cursor: pointer; display: flex; gap: 10px; align-items: center; }
.pd-finding-title { font-weight: 700; }
.pd-finding p { margin: 10px 0 0; color: var(--muted); }
.pd-finding.pd-high { border-color: #b8656d; }
.pd-finding.pd-medium { border-color: #b08a4a; }
.pd-badge-high { background: rgba(255, 191, 196, 0.16); color: var(--bad); }
.pd-badge-medium { background: rgba(255, 209, 136, 0.16); color: var(--warn); }
.pd-badge-low, .pd-badge-info { background: var(--accent-soft); color: var(--accent); }
.pd-evidence { margin: 10px 0 0; padding: 8px 10px; border-radius: 8px; background: #050b14; color: #c7dcf7; font-size: 0.82rem; white-space: pre-wrap; word-break: break-word; }
.pd-fix { color: var(--text) !important; }
.pd-credits { margin-top: 24px; }
.pd-credits a { color: var(--accent); }
