/* Supply records share the shell and reader; detail opens in place. */
.supply-workspace { min-width:0; }
.supply-view-bar,.supply-focus-bar { display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px; }
.supply-view-tabs { display:flex;gap:4px;padding:3px;border:1px solid var(--line);border-radius:8px; }
.supply-view-tabs button { padding:8px 12px;border-radius:5px;font-size:12px;color:var(--muted);min-height:34px; }
.supply-view-tabs button[aria-pressed=true] { background:var(--soft);color:var(--ink); }
.supply-workspace .directory-tools { margin-bottom:14px; }
.supply-workspace .result-count { display:none; }
.supply-overview { display:flex;align-items:center;gap:20px;flex-wrap:wrap;color:var(--muted);font-size:12px;margin:0 0 16px; }
.supply-overview strong { font-weight:500;color:var(--ink); }
.supply-columns,.supply-record>summary { display:grid;grid-template-columns:minmax(140px,1fr) minmax(140px,1fr) minmax(180px,1.45fr) 125px 14px;gap:18px;align-items:center;padding:12px; }
.supply-columns { border-block:1px solid var(--line);font-size:11px;color:var(--muted);padding-block:10px; }
.supply-record { border-bottom:1px solid var(--line); }
.supply-record>summary { min-height:76px;cursor:pointer;list-style:none;border-radius:5px; }
.supply-record>summary::-webkit-details-marker,.supply-partner>summary::-webkit-details-marker,.supply-scoped-record>summary::-webkit-details-marker,.supply-technologies>details>summary::-webkit-details-marker { display:none; }
.supply-identity { display:flex;align-items:center;gap:10px;min-width:0; }
.supply-identity>span { min-width:0; }
.supply-identity strong { display:block;font-size:13px;font-weight:500;line-height:1.45;overflow-wrap:anywhere; }
.supply-identity small,.supply-input small,.supply-stage small { display:block;font-size:11px;line-height:1.5;color:var(--muted);margin-top:3px; }
.supply-input,.supply-endpoint,.supply-stage { min-width:0;overflow-wrap:anywhere; }
.supply-input>strong { display:block;font-size:13px;font-weight:400;line-height:1.5; }
.supply-stage>span { font-size:12px;line-height:1.5; }
.supply-kind { color:var(--ink)!important; }
.supply-chevron { width:14px;height:14px;stroke:var(--muted);stroke-width:1.5;fill:none;flex-shrink:0; }
details[open]>summary>.supply-chevron { transform:rotate(180deg); }
.supply-record[open]>summary,.supply-partner[open]>summary { background:var(--soft); }
.supply-mobile-label { display:none; }
.supply-evidence { padding:18px 16px 16px; }
.supply-facts { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 24px;margin:0 0 15px; }
.supply-facts div { min-width:0; }
.supply-facts dt { font-size:11px;color:var(--muted);margin-bottom:5px; }
.supply-facts dd { margin:0;font-size:13px;line-height:1.6;overflow-wrap:anywhere; }
.supply-timing { color:var(--muted);font-size:12px;line-height:1.65;margin:8px 0 14px; }
.supply-sources { border-top:1px solid var(--line);padding-top:6px; }
.supply-sources>div { display:flex;align-items:center;justify-content:space-between;gap:16px; }
.supply-sources .source-link { margin:0;max-width:100%;white-space:normal;font-size:12px;line-height:1.5; }
.supply-sources .source-link span { overflow-wrap:anywhere; }
.supply-sources time { flex-shrink:0;color:var(--muted);font-size:11px; }
.supply-actions,.supply-partner-actions { display:flex;align-items:center;flex-wrap:wrap;gap:4px 12px;margin-top:12px; }
.supply-companies { display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:0 20px;border-top:1px solid var(--line); }
.supply-companies>button { display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left;padding:14px 12px;border-bottom:1px solid var(--line);border-radius:5px; }
.supply-companies>button>span:last-child,.supply-partner-count { font-size:11px;color:var(--muted);white-space:nowrap; }
.supply-focus-bar { border-bottom:1px solid var(--line);padding-bottom:14px; }
.supply-focus-bar>div:last-child { display:flex;gap:10px;flex-wrap:wrap; }
.supply-company-flow { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;container-type:inline-size; }
.supply-company-flow.supply-one-side { grid-template-columns:1fr; }
.supply-company-flow>section { min-width:0; }
.supply-company-flow h3 { display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0;padding:12px;font-size:14px;font-weight:500;border-bottom:1px solid var(--line); }
.supply-company-flow h3>span { font-size:11px;color:var(--muted);font-weight:400; }
.supply-partner { border-bottom:1px solid var(--line); }
.supply-partner>summary { display:flex;align-items:center;gap:12px;list-style:none;cursor:pointer;padding:14px 12px;border-radius:5px; }
.supply-partner>summary>.supply-identity { flex:1; }
.supply-partner-preview { flex:1;min-width:0;font-size:12px;line-height:1.5;color:var(--muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere; }
.supply-partner[open]>summary>.supply-partner-preview { display:none; }
.supply-partner-body { padding:0 12px 12px; }
.supply-partner-actions { margin:8px 0;justify-content:space-between; }
.supply-scoped-record { border-top:1px solid var(--line); }
.supply-scoped-record>summary { display:flex;justify-content:space-between;align-items:center;gap:14px;padding:12px 8px;list-style:none;cursor:pointer;border-radius:5px; }
.supply-scoped-record>summary strong { font-size:13px;font-weight:400;line-height:1.5; }
.supply-scoped-record>summary small { display:block;font-size:11px;color:var(--muted);line-height:1.5;margin-top:4px; }
.supply-scoped-record .supply-evidence { padding:12px 8px; }
.supply-scoped-record .supply-facts { grid-template-columns:repeat(2,minmax(0,1fr)); }
.supply-scoped-record .supply-sources>div { flex-wrap:wrap;gap:0;align-items:flex-start; }
.supply-scoped-record .supply-sources time { padding:0 8px 8px; }
.supply-more>summary { padding:14px 12px;cursor:pointer;font-size:12px;color:var(--muted); }
.supply-technologies>details { border-bottom:1px solid var(--line); }
.supply-technologies>details>summary { display:flex;align-items:center;gap:16px;list-style:none;padding:16px 12px;cursor:pointer;border-radius:5px; }
.supply-technologies>details>summary strong { font-size:14px;font-weight:500;flex:1; }
.supply-technologies>details>summary span { font-size:12px;color:var(--muted); }
.supply-technologies>details>.text-button { margin:12px; }
.supply-view-tabs button:hover,.supply-record>summary:hover,.supply-partner>summary:hover,.supply-scoped-record>summary:hover,.supply-companies>button:hover,.supply-technologies>details>summary:hover { background:var(--soft); }
.reader-body .supply-company-flow { grid-template-columns:1fr;gap:20px; }
/* Give hover backgrounds actual breathing room, without enlarging type or cards. */
.text-button { display:inline-flex;align-items:center;justify-content:center;min-height:32px;padding:6px 9px;border-radius:5px;line-height:1.45; }
.text-button:hover,.text-button:focus-visible { background:var(--soft);color:var(--ink); }
.source-link { padding:7px 8px;border-radius:5px;min-height:32px; }
.source-link:hover,.source-link:focus-visible { background:var(--soft); }
.entity-pill { padding:6px 9px;min-height:34px; }
.catalog-options label,.facet-options label { border-radius:5px;padding:9px 10px;min-height:38px; }
.catalog-options,.facet-options { padding:2px; }
.ui-option { min-height:38px;padding-block:9px; }
.page-tabs,.reader-tabs,.profile-subtabs { gap:8px; }
.page-tabs>a,.page-tabs>button,.reader-tabs>button,.profile-subtabs>button { display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:8px 10px;line-height:1.4;box-sizing:border-box; }
.page-tabs>a:hover,.page-tabs>button:hover,.reader-tabs>button:hover,.profile-subtabs>button:hover { background:transparent;color:var(--ink); }
.operation-record>summary,.operation-compact>details>summary { padding-inline:12px; }
.operations-column-head { padding-inline:12px; }
.record-row { padding-inline:12px; }
.card-footer .action,.card-footer .source { padding-inline:7px;border-radius:5px; }
.card-footer .action:hover,.card-footer .source:hover { background:var(--soft); }
.small-company { min-height:28px;padding:4px 6px;margin-left:-6px;border-radius:4px; }
.small-company:hover { background:var(--soft); }
.radar-item { padding:7px;border-radius:6px;margin-left:-7px; }
.radar-item:hover { background:var(--soft); }
.rail-follow { width:30px;height:30px;flex-shrink:0; }
.tabs { gap:12px; }
.tabs button,.tabs>a { padding-inline:9px; }
.tabs button:hover,.tabs>a:hover { background:transparent;color:var(--ink); }
.tabs>.filter-toggle { margin-left:auto;flex-shrink:0;height:32px;min-height:32px;padding:6px 9px;border:1px solid var(--line);border-radius:5px; }
.company-label { padding:4px 6px;margin:-4px -6px;border-radius:4px; }
.company-label:hover { background:var(--soft); }
.company-row>button[data-reader-company] { padding:6px;border-radius:5px; }
.company-row>button[data-reader-company]:hover { background:var(--soft); }
@media (max-width:1100px) and (min-width:761px) {
 .supply-columns,.supply-record>summary { grid-template-columns:minmax(110px,1fr) minmax(110px,1fr) minmax(150px,1.25fr) 105px 14px;gap:12px; }
 .supply-company-flow { grid-template-columns:1fr; }
}
@media (max-width:760px) {
 .tabs>.filter-toggle .filter-label { display:none; }
 .tabs>.filter-toggle { padding:6px; }
 .supply-view-bar { gap:8px;flex-wrap:wrap; }
 .supply-view-tabs { flex:1; }
 .supply-view-tabs button { flex:1;padding-inline:8px;min-height:38px; }
 .supply-view-bar>a { font-size:12px; }
 .supply-overview { gap:8px 16px;font-size:11px; }
 .supply-columns { display:none; }
 .supply-records { border-top:1px solid var(--line); }
 .supply-record>summary { grid-template-columns:1fr 1fr 14px;gap:12px;padding:14px 8px; }
 .supply-mobile-label { display:block;font-size:10px;color:var(--muted);margin-bottom:7px; }
 .supply-input { grid-column:1/3;grid-row:2; }
 .supply-stage { grid-column:1/3;grid-row:3;display:flex;align-items:center;justify-content:space-between;gap:10px; }
 .supply-stage small { margin:0; }
 .supply-record>summary>.supply-chevron { grid-column:3;grid-row:1; }
 .supply-identity { gap:8px;align-items:flex-start; }
 .supply-identity strong { font-size:12px; }
 .supply-identity small { font-size:11px; }
 .supply-facts { grid-template-columns:1fr 1fr;gap:14px; }
 .supply-evidence { padding:12px 8px; }
 .supply-sources>div { flex-wrap:wrap;gap:0; }
 .supply-sources time { padding:0 8px 8px; }
 .supply-companies,.supply-company-flow { grid-template-columns:1fr; }
 .supply-focus-bar { align-items:flex-start;flex-direction:column;gap:8px; }
 .supply-companies>button { padding-inline:8px; }
 .supply-actions .text-button { justify-content:flex-start; }
 .supply-partner>summary { display:grid;grid-template-columns:minmax(0,1fr) auto 14px;gap:8px; }
 .supply-partner-preview { grid-column:1/-1;grid-row:2; }
 .text-button,.source-link { min-height:38px; }
 .page-tabs,.reader-tabs { gap:5px; }
 .card-footer { gap:8px; }
}

.supply-identity .supply-company-name { display:block;padding:0;border:0;border-radius:2px;background:none;color:inherit;font:inherit;font-size:13px;font-weight:500;line-height:1.45;text-align:left;overflow-wrap:anywhere;cursor:pointer; }
.supply-identity .supply-company-name:hover { text-decoration:underline;text-underline-offset:3px; }
.supply-identity .supply-company-name:focus-visible { outline:2px solid var(--text);outline-offset:3px; }
.supply-partner-body>.supply-scoped-record:first-child { border-top:0; }

/* A supplier, its contribution, then one disclosure for evidence. */
.supply-clear .supply-partner>summary { display:grid;grid-template-columns:minmax(130px,28%) minmax(0,1fr) 14px;gap:20px;padding:16px 12px;align-items:start; }
.supply-clear .supply-partner-preview,.supply-clear .supply-partner[open]>summary>.supply-partner-preview { display:block;overflow:visible; }
.supply-clear .supply-partner-preview strong { display:block;color:var(--ink);font-size:13px;font-weight:400;line-height:1.55; }
.supply-clear .supply-partner-preview small,.supply-clear .supply-scoped-record>header small { display:block;font-size:11px;line-height:1.5;color:var(--muted);margin-top:5px; }
.supply-clear .supply-chevron { margin-top:5px; }
.supply-clear .supply-partner-body { padding:0 12px 12px; }
.supply-clear .supply-scoped-record>header { padding:14px 8px 0; }
.supply-clear .supply-scoped-record>header strong { font-size:13px;font-weight:400;line-height:1.55; }
.supply-clear .supply-evidence { padding:12px 8px; }
.supply-clear .supply-facts { gap:12px 24px;margin-bottom:10px; }
.supply-clear .supply-sources>div { flex-wrap:wrap; }
@media(max-width:600px) {
 .supply-clear .supply-partner>summary { grid-template-columns:minmax(0,1fr) 14px;gap:10px;padding:14px 8px; }
 .supply-clear .supply-partner-preview { grid-row:2;grid-column:1/-1; }
 .supply-clear .supply-chevron { grid-row:1;grid-column:2; }
}
