/* V10 additions. The V9 light palette and home menu layout stay intact. */
.discover-sheet{overflow:visible;max-width:880px;margin:auto}
.discover-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}
.discover-actions{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0}
.discover-actions>*{min-width:0;max-width:100%}
.discover-candidate{border:1px solid #cbd7da;border-radius:12px;padding:18px;margin-top:14px;background:#f7faf9;overflow-wrap:anywhere}
.discover-candidate .section-title{align-items:flex-start;flex-wrap:wrap}
.discover-candidate h3{font-size:17px;line-height:1.6}
.discover-candidate p{white-space:pre-wrap;line-height:1.8;margin:10px 0}
.discover-matches{padding:12px;border:1px solid #cbd7da;border-radius:8px;margin-top:10px}
.discover-matches button{text-align:left;width:100%;margin-top:8px}
.discover-matches small{display:block;font-weight:400;line-height:1.7;overflow-wrap:anywhere}
.quick-link{display:inline-flex;align-items:center;min-height:44px;color:#087c75;text-decoration:underline;overflow-wrap:anywhere}
#future-pane input,#future-pane select{font-size:16px}
#future-pane .import-check{display:flex;align-items:flex-start;gap:10px;font-size:14px;line-height:1.8;margin:12px 0}
#future-pane .import-check input{width:22px;min-height:22px;flex:0 0 22px;margin-top:4px}
#future-pane .error[hidden]{display:none}
.links-panel article{overflow-wrap:anywhere;white-space:pre-wrap;margin-top:14px}
#home-pane .home-diagnostics{font-size:13px}
#home-pane .home-diagnostics .hint{margin-top:12px}
.import-sheet .import-check{line-height:1.8}
@supports(content-visibility:auto){#companies .company{content-visibility:auto;contain-intrinsic-size:auto 160px}.discover-candidate{content-visibility:auto;contain-intrinsic-size:auto 380px}}
@media(max-width:430px){.discover-fields{grid-template-columns:minmax(0,1fr)}.discover-actions>*{flex:1 1 130px}.discover-candidate{padding:14px}.discover-candidate .tag{white-space:normal}}
@media screen{
 html[data-theme="dark"] .discover-candidate,html[data-theme="dark"] .discover-matches{background:var(--app-surface);color:var(--app-text);border-color:var(--app-line)}
 html[data-theme="dark"] .discover-candidate .hint,html[data-theme="dark"] .discover-matches small{color:var(--app-muted)}
 html[data-theme="dark"] .quick-link{color:var(--app-accent)}
 html[data-theme="dark"] #future-pane .import-check input{accent-color:var(--app-accent)}
}

.company strong,.company-next,.plan-company strong,.plan-company span,.plan-card p{overflow-wrap:anywhere}

/* Discovery and existing sales data share a compact, read-only result card. */
.discover-registered{border:1px solid #cbd7da;border-radius:10px;padding:10px 12px;margin:10px 0;overflow-wrap:anywhere;min-width:0}
.discover-registered h3{font-size:16px;line-height:1.5;margin:0}
.discover-registered .section-title{flex-wrap:wrap;align-items:flex-start;gap:6px}
.discover-registered p,.discover-candidate p{line-height:1.55;margin:6px 0;white-space:pre-wrap}
.discover-registered .tag{white-space:normal}
.discover-industry{font-size:14px}
.discover-actions>button,.discover-actions>a,.discover-sheet summary{min-height:44px;box-sizing:border-box;white-space:normal;overflow-wrap:anywhere}
.discover-actions>a{display:inline-flex;align-items:center;justify-content:center}
.discover-sheet>h2{font-size:17px}
.discover-registered .discover-actions{margin:8px 0 0}
.discover-matches{padding:8px}
.discover-candidate{padding:12px;margin-top:10px}
#discover-registered-results:empty{display:none}
@media screen{html[data-theme="dark"] .discover-registered{background:var(--app-surface);color:var(--app-text);border-color:var(--app-line)}html[data-theme="dark"] .discover-registered .hint{color:var(--app-muted)}}
