/* ══════════════════════════════════════════════════════════════════════
   screening.css — screening- og kvalitetssiden (/screening, sc-*).
   Ét gitter over hele porteføljen: score, datakvalitet, signaler.
   ══════════════════════════════════════════════════════════════════════ */

.sc-page     { padding: 1.5rem 2rem; max-width: 1700px; font-family: 'Segoe UI', sans-serif; }
.sc-header   { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: .8rem; }
.sc-title    { font-size: 1.35rem; font-weight: 600; color: #1a1a2e; margin: 0; }
.sc-subtitle { font-size: 13px; color: #6b7280; }
.sc-fitinfo  { font-size: 12px; color: #6b7280; background: #f3f4f6; padding: 4px 10px; border-radius: 999px; }
.sc-loading  { padding: 2rem; text-align: center; color: #9ca3af; font-size: 13px; }
.sc-status   { padding: 8px 12px; border-radius: 6px; font-size: 13px; }
.sc-status-error { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }

.sc-toolbar  { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 8px 12px;
               background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 8px; margin-bottom: 10px; }
.sc-bands    { display: inline-flex; gap: 6px; }
.sc-bandbtn  { border: 1px solid transparent; border-radius: 999px; padding: 3px 11px; font-size: 12px; font-weight: 600; cursor: pointer; }
.sc-bandbtn.off { opacity: .35; }
.sc-select   { height: 30px; padding: 0 8px; border: 1px solid #d1d5db; border-radius: 6px; background: #fff; font-size: 13px; }
.sc-search   { height: 30px; padding: 0 10px; border: 1px solid #d1d5db; border-radius: 6px; font-size: 13px; min-width: 220px; }
.sc-check    { font-size: 12.5px; color: #4b5563; display: inline-flex; gap: 5px; align-items: center; }
.sc-spacer   { flex: 1; }
.sc-meta     { font-size: 12px; color: #6b7280; }

.sc-table-wrap { overflow-x: auto; border: 1px solid #e5e7eb; border-radius: 8px; background: #fff; }
.sc-table    { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.sc-table thead { background: #f9fafb; position: sticky; top: 0; z-index: 1; }
.sc-table th { text-align: left; font-weight: 600; color: #6b7280; font-size: 11.5px; padding: 7px 8px; border-bottom: 1px solid #e5e7eb; white-space: nowrap; }
.sc-table td { padding: 5px 8px; border-bottom: 1px solid #f3f4f6; white-space: nowrap; vertical-align: middle; }
.sc-table tbody tr:hover td { background: #fafafa; }
.sc-sort     { cursor: pointer; user-select: none; }
.sc-sort:hover { color: #1f2937; }
.sc-num      { text-align: right; font-variant-numeric: tabular-nums; }
.sc-name a   { color: #1f2937; font-weight: 600; text-decoration: none; }
.sc-name a:hover { text-decoration: underline; }
.sc-ticker   { margin-left: 6px; font-size: 11px; color: #9ca3af; }
.sc-sector   { color: #6b7280; max-width: 160px; overflow: hidden; text-overflow: ellipsis; }
.sc-stale    { margin-left: 6px; color: #b45309; font-weight: 700; cursor: help; }
.sc-warn     { color: #b45309; font-weight: 600; }
.sc-muted    { color: #9ca3af; font-style: italic; }
.sc-cheap    { color: #166534; font-weight: 700; }
.sc-rich     { color: #991b1b; font-weight: 700; }
.sc-row-q td { background: #fffbeb; }
.sc-row-q:hover td { background: #fef3c7 !important; }

.sc-band     { display: inline-block; min-width: 34px; text-align: center; padding: 2px 7px; border-radius: 5px; font-weight: 700; font-size: 12px; }
.sc-band-A   { background: #dcfce7; color: #166534; }
.sc-band-B   { background: #fef3c7; color: #92400e; }
.sc-band-C   { background: #fee2e2; color: #991b1b; }

.sc-spec a   { color: #4338ca; text-decoration: none; font-weight: 600; }
.sc-conf     { margin-left: 5px; color: #6b7280; font-size: 11.5px; }
.sc-promoted { margin-left: 4px; color: #166534; font-weight: 700; }

.sc-reasons  { white-space: normal; max-width: 420px; }
.sc-reason   { display: inline-block; margin: 1px 4px 1px 0; padding: 1px 7px; border-radius: 4px; background: #f3f4f6; color: #4b5563; font-size: 11px; }
.sc-row-q .sc-reason { background: #fde68a; color: #78350f; }

.sc-foot     { margin-top: 10px; font-size: 11.5px; color: #9ca3af; }
