/* Layout & Drawings: fit the Quick Look module into the hub shell. */
body{font:15px/1.6 var(--font-b)}
.tk-header nav{gap:18px}
.ly-bridge{margin:20px auto 0}
.ly-row{display:flex;flex-wrap:wrap;gap:14px;align-items:center;justify-content:space-between}
.ly-kpi{display:flex;gap:16px}.ly-kpi span{background:var(--navy);color:#fff;border-radius:6px;padding:6px 12px;font-size:13px}.ly-kpi b{color:var(--gold);font-size:1.1rem}
.sec{padding:24px 0 48px}
.ql-cta{border-top:3px solid var(--gold)}
/* Wide result tables scroll sideways on phones instead of widening the page */
@media (max-width:760px){.ql-mini,.ql-storage table,#qlCompare table{display:block;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}}
/* supplier system panel (internal) */
.ly-sup summary{cursor:pointer}
.sup-head{display:flex;flex-wrap:wrap;gap:8px;align-items:baseline;justify-content:space-between}
.sup-head h3{margin:0;color:#0B2545}.sup-head small{color:#6b7684;font-weight:400}
.sup-int{font-size:.8rem;background:#eef1f6;border:1px solid #c5cfdd;border-radius:999px;padding:2px 10px;color:#0B2545}
.sup-disc{font-size:.84rem;background:#fff8e6;border-left:4px solid #C9A227;padding:8px 10px;margin:8px 0;color:#3d3420}
.sup-row{display:flex;flex-wrap:wrap;gap:8px 14px;align-items:flex-end;margin:8px 0}
.sup-row label{display:flex;flex-direction:column;font-size:.85rem;gap:2px}
.sup-row select,.sup-row input[type=number],.sup-row input[type=date]{padding:5px 7px;border:1px solid #c5cfdd;border-radius:6px;font:inherit;max-width:340px}
.sup-row .sup-tog{flex-direction:row;align-items:center;gap:6px}
.sup-badge{font-weight:600;color:#0B2545;background:#f4f7fb;border:1px solid #9fb0c8;border-radius:6px;padding:6px 10px}
.ly-sup h4{margin:12px 0 4px;color:#0B2545;font-size:.95rem}.ly-sup h4 small{font-weight:400;color:#6b7684}
.sup-count{font-size:.78rem;font-weight:600;color:#4a5668;margin-left:6px}
.sup-table{width:100%;border-collapse:collapse;font-size:.82rem}
.sup-table th,.sup-table td{border-bottom:1px solid #e3e8ef;padding:4px 6px;text-align:left;vertical-align:top}
.sup-table th{background:#f4f7fb;color:#0B2545}
.sup-table small{color:#6b7684}
.sup-chip{display:inline-block;border-radius:999px;padding:1px 8px;font-size:.75rem;font-weight:600;white-space:nowrap}
.sup-ok{background:#e3f4e8;color:#1e6b34}.sup-flag{background:#fbe3e3;color:#a32020}.sup-np{background:#eceff3;color:#4a5668}.sup-check{background:#fff1d6;color:#8a5a00}.sup-info{background:#e6eefb;color:#0B2545}
.sup-src ul{font-size:.8rem;margin:6px 0;padding-left:18px}
.sup-ov{border-top:1px dashed #c5cfdd;margin-top:10px;padding-top:6px}
.sup-canvas{max-width:100%;max-height:360px;border:1px solid #c5cfdd;border-radius:6px;cursor:crosshair;display:block}
/* supplier style profile + compare */
.sup-style,.sup-cmp{margin:.6rem 0;border:1px solid #e3e8ef;border-radius:8px;padding:.4rem .6rem;background:#fff}
.sup-style summary,.sup-cmp summary{cursor:pointer;font-weight:700;color:#0B2545}
.sup-cmp-style{display:grid;grid-template-columns:max-content 1fr;gap:2px 10px;font-size:.78rem;margin:.4rem 0}
.sup-cmp-style dt{font-weight:700;color:#0B2545}
.sup-cmp-style dd{margin:0}
.sup-cmp-style dd.sup-np{color:#8a5a00;font-style:italic}
.sup-cmp-list{display:flex;flex-wrap:wrap;gap:4px 12px;font-size:.8rem;margin:.4rem 0;max-height:9rem;overflow:auto}
.sup-cmp-grid{display:grid;gap:10px;margin-top:.5rem}
.sup-cmp-card{border:1px solid #d5dbe3;border-radius:8px;padding:.5rem;background:#fbfcfd;min-width:0}
.sup-cmp-card[data-flags]:not([data-flags="0"]){border-color:#C62828}
.sup-cmp-card h5{margin:0 0 .3rem;color:#0B2545;font-size:.9rem;display:flex;justify-content:space-between;gap:6px;flex-wrap:wrap}
.sup-cmp-svg{width:100%;height:auto;max-height:300px;border:1px solid #e3e8ef;border-radius:4px;background:#fff}
.sup-cmp-legend{font-size:.76rem;margin:.3rem 0;display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.sup-cmp-legend .sw{display:inline-block;width:14px;height:14px;border:1px solid #888;border-radius:2px}
.sup-cmp-flags{font-size:.76rem;color:#C62828;margin:.3rem 0;padding-left:1.1rem}
.sup-cmp-ok{font-size:.76rem;color:#2e7d32;margin:.3rem 0}
@media (max-width:900px){.sup-cmp-grid{grid-template-columns:1fr!important}}
.sup-cmp-list label.sup-tog{display:inline-flex!important;align-items:center;gap:4px;white-space:nowrap}
