/* Working forms share the existing palette; spacing carries the hierarchy. */
#company-sources .card>summary,#company-lab>summary,.setup-card>summary{font-weight:600;cursor:pointer;line-height:1.5}
#company-sources .card[open]>summary,#company-lab[open]>summary{margin-bottom:16px}
#company-sources form{max-width:760px}
#company-sources .form-label,#company-lab .form-label{margin-top:16px}
#company-sources .hint,#company-lab .hint{font-size:var(--fs-ui);line-height:1.6;color:var(--text-2);margin:12px 0}
.cs-advanced{margin:16px 0;line-height:1.6}
.cs-advanced>summary{cursor:pointer;color:var(--text-2);font-size:var(--fs-ui)}
.cs-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}
.cs-results{margin-top:16px;overflow-wrap:anywhere}
.cs-results p:not(.hint){padding:16px 0;border-top:1px solid var(--line);line-height:1.65}
#cl-hypotheses>.tg-source{margin-top:28px;padding-top:24px}
#cl-hypotheses .cl-review{margin-top:20px}
.setup-group{padding:18px 0;border-top:1px solid var(--line)}
.setup-card[open]>summary{margin-bottom:16px}
@media(max-width:900px){.nav-group{flex:0 0 auto}nav button{min-height:36px}.brand h1{font-size:15px}}
@media(max-width:640px){#company-sources .btn,#company-lab .btn{min-height:44px}.brand{max-width:150px}}

.research-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.research-overview>div{display:flex;flex-direction:column}.research-overview strong{font-size:28px;font-weight:600;line-height:1.4}.research-overview .hint{font-size:var(--fs-ui);color:var(--text-2);line-height:1.5}#company-summary>.hint{margin:18px 0;color:var(--text-2);line-height:1.6}@media(max-width:640px){.research-overview{gap:10px}.research-overview .hint{font-size:12px}.research-overview strong{font-size:24px}}

#company-radar .hint{font-size:var(--fs-ui);line-height:1.6;color:var(--text-2);margin:10px 0}
.radar-row{padding:20px 0;border-top:1px solid var(--line)}.radar-row>summary{display:flex;justify-content:space-between;gap:20px;cursor:pointer;align-items:start}.radar-row .hint{display:block}.radar-rating{text-align:right;flex-shrink:0;font-size:var(--fs-ui)}.radar-detail{line-height:1.65;margin-top:20px}.radar-detail p{margin:12px 0}.radar-detail blockquote{margin:12px 0;padding:12px 16px;border-left:2px solid var(--line);overflow-wrap:anywhere}.radar-row strong{overflow-wrap:anywhere}@media(max-width:640px){.radar-row>summary{flex-direction:column;gap:8px}.radar-rating{text-align:left}}
