.cp-preview {
  display:grid;
  grid-template-columns:minmax(245px,.78fr) minmax(0,1.22fr);
  column-gap:34px;
  min-width:0;
  max-width:100%;
  padding:28px;
  border:1px solid var(--line,#34363a);
  border-top-color:color-mix(in srgb,var(--gold,#dcb780) 65%,var(--line,#34363a));
  border-radius:16px;
  background:var(--surface,#181a1d);
  color:var(--ink,#f5f0e8);
  font-family:var(--sans,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif);
}
.cp-preview *,.cp-preview *::before,.cp-preview *::after { box-sizing:border-box; }
.cp-preview button { font:inherit; cursor:pointer; }
.cp-preview :focus-visible { outline:2px solid var(--accent,#dcb780); outline-offset:4px; border-radius:6px; }
.cp-heading { grid-column:1/-1; display:flex; align-items:baseline; justify-content:space-between; gap:16px; margin-bottom:17px; font-size:15px; font-weight:500; }
.cp-heading>span:last-child { color:var(--muted,#b4b5b7); font-size:12px; font-weight:400; font-variant-numeric:tabular-nums; white-space:nowrap; }
.cp-candidates { grid-column:1/-1; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); border-block:1px solid var(--line,#34363a); margin-bottom:26px; }
.cp-candidate { position:relative; display:flex; align-items:center; min-width:0; text-align:left; gap:14px; padding:10px 16px 10px 8px; border:0; background:transparent; color:var(--muted,#b4b5b7); transition:background .2s,color .2s; }
.cp-candidate+.cp-candidate { border-left:1px solid var(--line,#34363a); }
.cp-candidate::after { content:''; position:absolute; left:8px; right:8px; bottom:-1px; height:2px; background:var(--gold,#dcb780); transform:scaleX(0); transform-origin:left; transition:transform .25s; }
.cp-candidate:hover { color:var(--ink,#f5f0e8); background:var(--surface-2,#222529); }
.cp-candidate.is-selected { color:var(--ink,#f5f0e8); background:color-mix(in srgb,var(--gold,#dcb780) 4%,transparent); }
.cp-candidate.is-selected::after { transform:scaleX(1); }
.cp-candidate img { display:block; flex:0 0 98px; width:98px; height:64px; margin:0; object-fit:contain; transition:transform .3s; }
.cp-candidate:hover img { transform:translateX(3px); }
.cp-car-choice { flex:1; min-width:0; display:flex; align-items:center; justify-content:space-between; gap:10px; font-size:13px; font-weight:500; line-height:1.5; }
.cp-car-check { display:grid; place-items:center; width:16px; height:16px; flex:0 0 16px; border:1px solid var(--line,#34363a); border-radius:50%; }
.cp-car-check svg { width:10px; height:10px; opacity:0; }
.cp-candidate.is-selected .cp-car-check { color:#211d17; background:var(--gold,#dcb780); border-color:var(--gold,#dcb780); }
.cp-candidate.is-selected .cp-car-check svg { opacity:1; }
.cp-totals { display:flex; flex-direction:column; justify-content:center; gap:22px; padding:4px 34px 6px 0; border-right:1px solid var(--line,#34363a); }
.cp-total>span { display:block; color:var(--muted,#b4b5b7); font-size:13px; line-height:1.6; }
.cp-total strong { display:block; margin-block:5px 8px; font-size:clamp(32px,3.6vw,45px); line-height:1.14; font-weight:400; letter-spacing:-.055em; font-variant-numeric:tabular-nums; white-space:nowrap; }
.cp-total small { display:inline-block; color:var(--muted,#b4b5b7); font-size:12px; line-height:1.7; }
.cp-total-arrow { display:none; color:var(--quiet,#92969c); }
.cp-total-arrow svg { width:18px; height:18px; }
.cp-total-alternative strong,.cp-total-alternative .cp-difference { color:var(--accent,#dcb780); }
.cp-meter { display:block; height:3px; background:var(--line,#34363a); margin-top:12px; overflow:hidden; }
.cp-meter::after { content:''; display:block; width:var(--cost-share); height:100%; background:var(--muted,#b4b5b7); }
.cp-total-alternative .cp-meter::after { background:var(--gold,#dcb780); }
.cp-table-wrap { min-width:0; max-width:100%; overflow-x:auto; scrollbar-width:thin; scrollbar-color:var(--line,#34363a) transparent; }
.cp-table-wrap table { width:100%; min-width:420px; border-collapse:collapse; text-align:left; font-size:13px; }
.cp-table-wrap thead th { padding:10px 10px 16px; font-size:11px; font-weight:400; color:var(--muted,#b4b5b7); white-space:nowrap; }
.cp-table-wrap th:first-child,.cp-table-wrap td:first-child { padding-left:0; }
.cp-table-wrap th:last-child,.cp-table-wrap td:last-child { padding-right:0; }
.cp-table-wrap thead th:not(:first-child),.cp-table-wrap tbody td { text-align:right; }
.cp-table-wrap tbody tr { border-top:1px solid var(--line,#34363a); }
.cp-table-wrap tbody th,.cp-table-wrap tbody td { padding:19px 10px; font-weight:400; font-variant-numeric:tabular-nums; white-space:nowrap; }
.cp-table-wrap tbody th strong { display:block; font-size:13px; font-weight:450; }
.cp-table-wrap tbody th span { display:block; color:var(--muted,#b4b5b7); font-size:11px; margin-top:5px; }
.cp-table-wrap tbody td:last-child { color:var(--accent,#dcb780); }
.cp-table-wrap .cp-mobile-distance { display:none; }
.cp-basis { grid-column:1/-1; border-top:1px solid var(--line,#34363a); margin-top:26px; font-size:13px; }
.cp-basis summary { display:flex; align-items:center; justify-content:space-between; gap:20px; padding-top:18px; list-style:none; cursor:pointer; color:var(--muted,#b4b5b7); }
.cp-basis summary:hover { color:var(--ink,#f5f0e8); }
.cp-basis summary::-webkit-details-marker { display:none; }
.cp-basis summary>span { color:var(--accent,#dcb780); font-size:23px; font-weight:300; line-height:1; transition:transform .2s; }
.cp-basis[open] summary>span { transform:rotate(45deg); }
.cp-basis dl { display:grid; grid-template-columns:1fr 1fr; gap:20px; margin:22px 0; }
.cp-basis dt { color:var(--ink,#f5f0e8); font-size:12px; font-weight:500; margin-bottom:5px; }
.cp-basis dd { margin:0; font-size:12px; color:var(--muted,#b4b5b7); line-height:1.8; }
.cp-basis p { margin:18px 0 0; color:var(--muted,#b4b5b7); font-size:12px; line-height:1.8; }
.cp-basis ul { list-style:none; padding:0; margin:18px 0; }
.cp-basis li { display:flex; justify-content:space-between; gap:12px; padding-block:8px; color:var(--muted,#b4b5b7); font-size:11px; line-height:1.7; font-variant-numeric:tabular-nums; }
.cp-basis li+li { border-top:1px solid var(--line,#34363a); }
.cp-basis li>span:last-child { text-align:right; }
.cp-sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0; }
@media(max-width:1050px) {
 .cp-preview { grid-template-columns:minmax(220px,.72fr) minmax(0,1.28fr); column-gap:25px; padding:24px; }
 .cp-candidate { gap:8px; padding-inline:6px 12px; }
 .cp-candidate img { flex-basis:76px; width:76px; height:55px; }
 .cp-car-choice { font-size:12px; gap:6px; }
 .cp-totals { padding-right:25px; }
 .cp-total strong { font-size:36px; }
}
@media(max-width:800px) {
 .cp-preview { grid-template-columns:1fr; padding:24px; }
 .cp-candidates { margin-bottom:22px; }
 .cp-totals { display:grid; grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); border-right:0; border-bottom:1px solid var(--line,#34363a); padding:0 0 24px; gap:20px; }
 .cp-total-arrow { display:block; margin-top:33px; }
 .cp-total strong { font-size:38px; }
 .cp-table-wrap { margin-top:15px; }
 .cp-basis { margin-top:8px; }
}
@media(max-width:600px) {
 .cp-preview { padding:20px 16px; border-radius:14px; }
 .cp-heading { font-size:14px; gap:10px; }
 .cp-heading>span:last-child { font-size:11px; }
 .cp-candidate { flex-direction:column; gap:0; padding:6px 5px 12px; }
 .cp-candidate img { flex:none; width:74px; max-width:100%; height:48px; }
 .cp-car-choice { width:100%; flex:auto; font-size:11px; align-items:flex-start; gap:4px; }
 .cp-car-check { margin-top:2px; width:13px; height:13px; flex-basis:13px; }
 .cp-car-check svg { width:8px; height:8px; }
 .cp-totals { gap:10px; padding-bottom:22px; }
 .cp-total strong { font-size:clamp(25px,6.7vw,34px); }
 .cp-total>span { font-size:12px; }
 .cp-total small { font-size:11px; }
 .cp-total-arrow { margin-top:29px; }
 .cp-total-arrow svg { width:15px; height:15px; }
 .cp-table-wrap table { min-width:0; font-size:12px; }
 .cp-table-wrap th:nth-child(2),.cp-table-wrap td:nth-child(2) { display:none; }
 .cp-table-wrap .cp-mobile-distance { display:block; }
 .cp-table-wrap tbody th strong { font-size:12px; white-space:normal; line-height:1.5; }
 .cp-table-wrap tbody th span { white-space:normal; max-width:130px; }
 .cp-table-wrap thead th { font-size:10px; padding-block:10px 13px; }
 .cp-table-wrap thead th,.cp-table-wrap tbody td,.cp-table-wrap tbody th { padding-inline:6px; }
 .cp-table-wrap tbody td,.cp-table-wrap tbody th { padding-block:15px; }
 .cp-table-wrap th:first-child { padding-left:0; }
 .cp-table-wrap td:last-child,.cp-table-wrap th:last-child { padding-right:0; }
 .cp-basis summary { font-size:12px; }
 .cp-basis dl { grid-template-columns:1fr; gap:14px; }
 .cp-basis li { flex-wrap:wrap; gap:3px 12px; }
 .cp-basis li>span:last-child { text-align:left; }
}
@media(max-width:350px) {
 .cp-preview { padding-inline:13px; }
 .cp-heading { font-size:13px; }
 .cp-heading>span:last-child { font-size:10px; }
 .cp-car-choice { font-size:10px; }
 .cp-car-check { width:12px; height:12px; flex-basis:12px; }
 .cp-totals { gap:7px; }
 .cp-total strong { font-size:25px; }
 .cp-total>span { font-size:11px; }
 .cp-total small { font-size:10px; }
 .cp-table-wrap table,.cp-table-wrap tbody th strong { font-size:11px; }
}
@media(prefers-reduced-motion:reduce) {
 .cp-preview *,.cp-preview *::before,.cp-preview *::after { transition:none!important; animation:none!important; }
}
