/* Lab skin: comparator page (lab-compare.js, lot 5). Loaded with the comparator app of a lab site only; reads
   the --lab-* tokens. The table scrolls sideways inside its own box on phones with the criteria column fixed;
   "Imprimer ou PDF" prints the table alone. */

.lcp { margin: 8px 0 48px; min-height: 560px; }
.lcp-tools { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 16px; margin: 0 0 18px; }
.lcp-add { display: grid; gap: 6px; flex: 1 1 260px; min-width: 0; }
.lcp-add label { font: 500 12px/1 var(--lab-label); letter-spacing: .08em; text-transform: uppercase; color: var(--lab-graphite); }
.lcp-add select { width: 100%; min-height: 48px; padding: 0 12px; border: 1.5px solid var(--lab-line-strong); border-radius: 12px; background: var(--lab-white); font: 500 15px/1 var(--lab-body); color: var(--lab-heading); }
.lcp-add select:focus { outline: 3px solid var(--lab-deep); outline-offset: 2px; }
.lcp-full { flex: 1 1 260px; margin: 0; font-size: 14px; color: var(--lab-graphite); }
.lcp-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; font: 600 14.5px/1 var(--lab-body); color: var(--lab-heading); cursor: pointer; }
.lcp-toggle input { width: 18px; height: 18px; accent-color: var(--lab-deep); }
.lcp-tools .lab-btn { min-height: 48px; }
.lcp-empty { display: grid; gap: 14px; justify-items: start; max-width: 620px; padding: 28px; border: 1px dashed var(--lab-line-strong); border-radius: var(--lab-radius-lg); background: var(--lab-white); }
.lcp-empty > * { margin: 0; }
.lcp-empty .lcp-add { width: 100%; }
.lcp-empty-title { font: 800 22px/1.2 var(--lab-display); color: var(--lab-heading); }
.lcp-hint { font-size: 14px; color: var(--lab-graphite); }
.lcp-remove { min-height: 32px; padding: 0 10px; border: 0; background: none; color: var(--lab-graphite); font: 500 12.5px/1 var(--lab-body); text-decoration: underline; cursor: pointer; }
.lcp-remove:hover { color: #8a2a1f; }

/* Table: criteria column fixed, one column per bike. */
.lcp-table { overflow-x: auto; border: 1px solid var(--lab-line); border-radius: var(--lab-radius-lg); background: var(--lab-white); }
.lcp-table:focus-visible { outline: 3px solid var(--lab-deep); outline-offset: 2px; }
.lcp-table table { width: 100%; min-width: 620px; margin: 0; border-collapse: separate; border-spacing: 0; font-size: 15px; }
.lcp-table th, .lcp-table td { padding: 12px 14px; border-bottom: 1px solid var(--lab-line); text-align: left; vertical-align: top; }
.lcp-table tbody th[scope="row"], .lcp-corner { position: sticky; left: 0; z-index: 1; width: 22%; min-width: 130px; background: var(--lab-white); font: 500 12.5px/1.3 var(--lab-label); letter-spacing: .03em; color: var(--lab-graphite); }
.lcp-table thead th { position: sticky; top: 0; z-index: 2; background: var(--lab-white); vertical-align: bottom; }
.lcp-corner { z-index: 3 !important; vertical-align: bottom !important; font-size: 11px !important; letter-spacing: .1em !important; text-transform: uppercase; }
.lcp-bike { display: grid; gap: 8px; justify-items: start; min-width: 0; }
.lcp-media { display: grid; place-items: center; width: 100%; aspect-ratio: 4 / 3; max-width: 220px; border-radius: 12px; background: var(--lab-grey); color: var(--lab-grey-brand); overflow: hidden; }
.lcp-media img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.lcp-media .lh-drawing { width: 60%; height: auto; }
.lcp-name { font: 700 16px/1.25 var(--lab-display); color: var(--lab-heading) !important; text-decoration: none !important; }
.lcp-name:hover { text-decoration: underline !important; text-decoration-color: var(--lab-orange) !important; }
.lcp-group th { padding-top: 18px; background: var(--lab-paper) !important; font: 700 12px/1 var(--lab-label) !important; letter-spacing: .12em; text-transform: uppercase; color: var(--lab-heading) !important; position: static !important; }
.lcp-table td { font-family: var(--lab-data); font-variant-numeric: tabular-nums; color: var(--lab-heading); }
.lcp-table td.is-lead { background: var(--lab-tint); font-weight: 600; }
.lcp-table td.is-lead::after { content: " ●"; color: var(--lab-orange-title); font-size: 10px; }
.lcp-table td.is-na { color: #9aa6a0; font-family: var(--lab-body); font-style: italic; }
.lcp-table tr.is-same td { color: var(--lab-graphite); }
.lcp-table tr.is-diff th[scope="row"] { box-shadow: inset 3px 0 0 var(--lab-orange); }
.lcp-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.lcp-links .lab-btn { min-height: 40px; padding: 0 14px; font-size: 13.5px; }
.lcp-links small { flex-basis: 100%; font: 500 11.5px/1.3 var(--lab-label); color: var(--lab-graphite); }
.lcp-legend { margin: 12px 0 0; font: 500 12.5px/1.45 var(--lab-label); color: var(--lab-graphite); }
.lcp-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--lab-tint); box-shadow: inset 0 0 0 2px var(--lab-orange-title); vertical-align: -1px; }

/* "Quel vélo choisir ?" */
.lcp-synth { display: grid; gap: 16px; margin: 0 0 20px; padding: clamp(20px, 3vw, 36px); }
.lcp-synth:focus { outline: 3px solid var(--lab-orange); outline-offset: 3px; }
.lcp-synth > * { margin: 0 !important; }
.lcp-synth h2 { font: 800 clamp(20px, 1rem + .9vw, 28px)/1.25 var(--lab-display) !important; color: var(--lab-white) !important; max-width: 46ch; }
.lcp-synth-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 12px; }
.lcp-synth-bike { display: grid; gap: 8px; align-content: start; padding: 16px; border-radius: 14px; background: rgba(16, 26, 23, .35); }
.lcp-synth-bike > * { margin: 0 !important; }
.lcp-synth-bike h3 { font: 700 17px/1.25 var(--lab-display) !important; color: var(--lab-white) !important; }
.lcp-synth-label { font: 600 11.5px/1 var(--lab-label); letter-spacing: .12em; text-transform: uppercase; color: var(--lab-orange); }
.lcp-synth ul { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; font-size: 14px; color: #e6eee9; }
.lcp-synth ul li { position: relative; padding-left: 16px; }
.lcp-synth ul.is-lead li::before { content: "+"; position: absolute; left: 0; color: var(--lab-orange); font-weight: 700; }
.lcp-synth ul.is-behind li::before { content: "−"; position: absolute; left: 0; color: var(--lab-mist); font-weight: 700; }
.lcp-synth-missing { font-size: 13px; color: var(--lab-mist); }
.lcp-synth-uses { grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 8px !important; }
.lcp-synth-uses li { display: grid; gap: 2px; padding: 10px 12px !important; border-radius: 12px; background: rgba(16, 26, 23, .35); }
.lcp-synth-uses b { font: 600 12px/1.2 var(--lab-label); color: var(--lab-mist); }
.lcp-synth-uses span { font: 700 15px/1.25 var(--lab-display); color: var(--lab-white); }
.lcp-synth-uses small { font-size: 12.5px; color: var(--lab-mist); }
.lcp-synth-note { font: 500 12px/1.45 var(--lab-label); color: var(--lab-mist); }

@media (max-width: 600px) {
	.lcp-tools .lab-btn, .lcp-toggle { flex: 1 1 100%; justify-content: center; }
	.lcp-table tbody th[scope="row"], .lcp-corner { min-width: 104px; width: 104px; font-size: 11.5px; }
	.lcp-media { max-width: 140px; }
}

@media print {
	.aos-skin-lab #header, .aos-skin-lab .lab-searchbar, .aos-skin-lab #footer, .aos-skin-lab .aos-site-footer-band, .aos-skin-lab .aos-share, .aos-skin-lab .aos-chat-launcher, .lcp-tools, .lcp-remove, .lcp-links .lab-btn { display: none !important; }
	.lcp-table { overflow: visible; border: 0; }
	.lcp-table table { min-width: 0; font-size: 11pt; }
	.lcp-table tbody th[scope="row"], .lcp-corner, .lcp-table thead th { position: static; }
	.lcp-synth { background: #fff !important; color: #000 !important; border: 1px solid #999; }
	.lcp-synth *, .lcp-synth h2, .lcp-synth h3 { color: #000 !important; }
}

/* Method text printed by the server under the app (decision A): readable width, set apart from the tool. */
.lcp-about { max-width: 72ch; margin: 48px 0 0; padding-top: 28px; border-top: 1px solid var(--lab-line); }
.lcp-about h2 { margin: 0 0 12px; }
.lcp-about p { margin: 0 0 12px; color: var(--lab-graphite); }
