/* Comparison only: preserve the restored platform outside this component. */
.mc-comparison,.mc-dialog{--mc-ink:#12283f;--mc-muted:#718096;--mc-blue:#087cff;--mc-surface:#f2f7fc;color:var(--mc-ink);font:15px/1.45 Arial,Helvetica,sans-serif;-webkit-font-smoothing:antialiased}
.mc-comparison *,.mc-dialog *{box-sizing:border-box}.mc-comparison [hidden],.mc-dialog [hidden]{display:none!important}
.mc-comparison button,.mc-dialog button,.mc-dialog input{font:inherit;cursor:pointer;letter-spacing:normal}.mc-comparison button,.mc-dialog button{appearance:none;text-transform:none;box-shadow:none}
.mc-comparison button:focus-visible,.mc-comparison a:focus-visible,.mc-comparison summary:focus-visible,.mc-dialog button:focus-visible,.mc-dialog input:focus-visible{outline:2px solid #087cff;outline-offset:3px}
.mc-comparison h2,.mc-comparison h3,.mc-dialog h2,.mc-comparison p{margin:0}.mc-comparison a{color:inherit;text-decoration:none}.mc-comparison{padding:0 2px 22px}.mc-body{min-width:0}.mc-muted,.mc-note{color:var(--mc-muted)}
.mc-toolbar{display:flex;align-items:center;justify-content:space-between;margin:0 0 12px;min-height:40px}.mc-link{padding:8px 0 8px 14px;color:var(--mauto-ds-color-primary,#3c78da);background:transparent;border:0;min-height:44px}
.mc-strip{overflow-x:auto;scrollbar-width:none;overscroll-behavior-x:contain}.mc-strip::-webkit-scrollbar{display:none}.mc-track{display:grid;grid-template-columns:repeat(var(--mc-count),minmax(0,1fr));gap:20px;width:100%}.mc-track>*{min-width:0}
.mc-product{position:relative}.mc-product-link{display:block}.mc-photo{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:18px;background:#f1f6fb;display:block}.mc-photo-empty{display:grid;place-content:center;color:var(--mc-muted);font-size:12px}
.mc-product-info{padding:12px 1px 8px}.mc-product h3{font-size:19px;line-height:1.3;font-weight:500;overflow-wrap:anywhere;margin-bottom:5px}.mc-price{font-size:20px;line-height:1.35;white-space:normal;display:block;letter-spacing:-.35px}
.mc-remove,.mc-close{background:#ffffffed;color:#20354b;border:0;width:40px;height:40px;border-radius:13px;display:grid;place-content:center;font-size:28px!important;line-height:1}.mc-remove{position:absolute;top:8px;right:8px}.mc-remove:hover,.mc-action:hover,.mc-close:hover{background:#eaf3fd}
.mc-action{color:var(--mauto-ds-color-primary,#3c78da);border:0;background:#edf5ff;border-radius:13px;min-height:44px;padding:10px 16px;font-weight:600!important}.mc-settings{display:flex;align-items:center;gap:16px;justify-content:space-between;margin:14px 0 5px;padding:12px 0}
.mc-switch-label{display:flex;align-items:center;justify-content:space-between;gap:20px;flex:1;min-height:44px;font-size:16px;cursor:pointer;margin:0!important}.mc-toggle{position:relative;display:inline-block;width:46px;height:28px;flex:none}.mc-toggle input{position:absolute;inset:0;opacity:0;z-index:1;margin:0;width:100%;height:100%;cursor:pointer}.mc-toggle-track{display:block;width:46px;height:28px;border-radius:20px;background:#d9e0e9;transition:background .16s}.mc-toggle-track:after{content:'';display:block;position:absolute;top:3px;left:3px;width:22px;height:22px;border-radius:50%;background:white;box-shadow:0 1px 4px #20354b26;transition:transform .16s}.mc-toggle input:checked+.mc-toggle-track{background:#087cff}.mc-toggle input:checked+.mc-toggle-track:after{transform:translateX(18px)}.mc-toggle input:focus-visible+.mc-toggle-track{outline:2px solid #087cff;outline-offset:4px}.mc-toggle input:disabled+.mc-toggle-track{opacity:.45}
.mc-note{font-size:12px;line-height:1.5;padding:4px 0 18px}.mc-status{font-size:13px;color:#536d88;min-height:24px;padding:8px 0;margin:0}.mc-group{background:#fff;border-radius:20px;margin:0 0 12px;padding:0 18px;box-shadow:0 6px 30px #1b487105}.mc-group-title{list-style:none;display:flex;align-items:center;gap:12px;cursor:pointer;min-height:66px;padding:16px 0}.mc-group-title::-webkit-details-marker{display:none}.mc-group-title h2{font-size:18px;font-weight:700;flex:1;line-height:1.3}.mc-count{color:#8391a2;font-size:16px;font-variant-numeric:tabular-nums}.mc-chevron{font-size:20px;line-height:1;color:#7b8da0;transition:transform .16s}details:not([open])>.mc-group-title .mc-chevron{transform:rotate(180deg)}
.mc-row{padding:12px 0 14px;border-top:1px solid #f1f5f9}.mc-row:first-child{border-top:0;padding-top:3px}.mc-row:last-child{padding-bottom:22px}.mc-row-label{color:#7a8899;font-size:13px;margin-bottom:7px;line-height:1.4}.mc-value{font-size:16px;display:flex;align-items:baseline;gap:7px;overflow-wrap:anywhere}.mc-missing{color:#95a2b0}.mc-color{width:15px;height:15px;display:inline-block;border-radius:50%;border:1px solid #bac5d0;flex:none;align-self:center}
.mc-sticky{position:sticky;top:0;height:0;z-index:15}.mc-mini{position:absolute;left:-2px;right:-2px;top:0;background:#fffffffa;padding:12px 2px;box-shadow:0 5px 14px #233f6012;border-bottom:1px solid #edf2f7}.mc-product-mini .mc-product-link{display:flex;align-items:center;gap:10px}.mc-product-mini .mc-photo{width:52px;height:48px;aspect-ratio:auto;border-radius:10px;flex:none}.mc-product-mini .mc-product-info{min-width:0;padding:0}.mc-product-mini h3{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-bottom:4px}.mc-product-mini .mc-price{font-size:14px;letter-spacing:-.2px}
.mc-add-slot{min-height:180px;background:linear-gradient(145deg,#f5f9fe,#edf5ff);border:0;border-radius:18px;color:var(--mauto-ds-color-primary,#3c78da);font-size:30px!important;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px}.mc-add-slot span{font-size:14px;font-weight:500}.mc-empty{text-align:center;padding:48px 18px 60px;background:#f6faff;border-radius:22px}.mc-empty-mark{font-size:36px;color:var(--mauto-ds-color-primary,#3c78da);margin-bottom:12px}.mc-empty h2{font-size:24px;margin-bottom:10px}.mc-empty p{max-width:360px;margin:0 auto 24px;color:var(--mc-muted)}.mc-empty-differences{padding:28px 20px;background:#fff;border-radius:18px;color:#6a7f94;text-align:center}.mc-scroll-hint{display:none}
.mc-dialog{width:min(100% - 24px,1024px);max-width:1024px;max-height:92dvh;border:0;border-radius:24px;padding:0 22px 20px;margin:auto;background:#f7faff;overscroll-behavior:contain;box-shadow:0 20px 80px #122c4d30}.mc-dialog::backdrop{background:#10203565}.mc-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 0 12px}.mc-dialog-head h2{font-size:22px;line-height:1.3}.mc-dialog .mc-close{background:#fff;flex:none}.mc-dialog .mc-sticky{top:0}
.mc-picker{max-width:650px;min-height:320px;background:white}.mc-search{display:flex;gap:8px;margin:12px 0}.mc-search input{min-width:0;flex:1;border:0;border-radius:13px;background:#f2f7fd;color:#12283f;padding:12px 14px;font-size:16px;box-shadow:none;outline:none}.mc-pick{display:flex;align-items:center;gap:14px;width:100%;padding:14px 0;text-align:left;background:#fff;color:#12283f;border:0;border-bottom:1px solid #edf2f8}.mc-pick .mc-photo{width:100px;height:70px;flex:none;border-radius:12px}.mc-pick>span:nth-child(2){flex:1;min-width:0}.mc-pick strong{font-size:15px;display:block}.mc-pick small{display:block;font-size:13px;color:#728197;margin-top:4px}.mc-pick-state{color:var(--mauto-ds-color-primary,#3c78da);font-size:13px}.mc-comparison button:disabled,.mc-dialog button:disabled{opacity:.5;cursor:default}
.cm-app[data-screen-name=compare]{max-width:none;background:#f6f9fd}.cm-app[data-screen-name=compare]>.cm-header{background:transparent}.cm-app[data-screen-name=compare] .mc-group{border:0}
@media(min-width:1000px){.mc-cards .mc-photo{aspect-ratio:16/9}.mc-comparison{padding:0 8px 30px}.mc-group{padding:0 24px}.mc-group-title h2{font-size:21px}.mc-row-label{font-size:14px}.mc-value{font-size:18px}.mc-settings{max-width:620px;gap:28px}.mc-product h3{font-size:23px}.mc-price{font-size:25px}.mc-product-mini h3{font-size:15px}.mc-product-mini .mc-price{font-size:16px}}
@media(max-width:600px){.mc-track{gap:14px}.mc-body[data-mc-count="3"] .mc-track{width:calc(150% + 7px)}.mc-product h3{font-size:16px}.mc-price{font-size:17px}.mc-photo{border-radius:15px}.mc-product-info{padding-top:10px}.mc-remove{width:34px;height:34px;top:6px;right:6px;font-size:25px!important;border-radius:11px}.mc-settings{flex-wrap:wrap;gap:8px;margin-top:8px}.mc-switch-label{font-size:14px}.mc-add{font-size:12px!important;padding:8px 12px}.mc-note{font-size:11px}.mc-group{padding:0 14px;border-radius:18px}.mc-group-title h2{font-size:17px}.mc-group-title{gap:9px;min-height:62px}.mc-row-label{font-size:13px}.mc-value{font-size:15px}.mc-row{padding-top:10px;padding-bottom:13px}.mc-product-mini .mc-photo{width:38px;height:38px;border-radius:8px}.mc-product-mini .mc-product-link{gap:7px}.mc-product-mini h3{font-size:11px}.mc-product-mini .mc-price{font-size:12px}.mc-mini{padding:10px 2px}.mc-dialog{width:100%;max-width:100%;max-height:96dvh;margin:auto 0 0;border-radius:22px 22px 0 0;padding:0 12px 18px}.mc-dialog-head{padding:16px 2px 8px}.mc-dialog-head h2{font-size:20px}.mc-add-slot{min-height:155px}.mc-scroll-hint{display:block!important;font-size:11px;color:#7c8da1;margin:0 0 8px!important}.mc-toolbar{font-size:13px}.mc-pick .mc-photo{width:82px;height:60px}.mc-search{gap:6px}}
@media(prefers-reduced-motion:reduce){.mc-comparison *{transition:none!important}}
.mc-source-note{font-size:11px!important;color:#8997a7;margin:0 0 14px!important}.mc-atlas{background-repeat:no-repeat}.mc-comparison .mc-group{padding-left:0;padding-right:0}.mc-comparison .mc-group-title{padding-left:0;padding-right:0}
/* Local specificity keeps legacy Cars resets out of the comparison controls. */
.mc-comparison .mc-remove{background:#ffffffed;border:0;border-radius:11px;color:#20354b;box-shadow:0 2px 8px #193d5d12}.mc-comparison .mc-action{background:#edf5ff;color:var(--mauto-ds-color-primary,#3c78da);border:0;border-radius:13px}.mc-comparison .mc-link{color:var(--mauto-ds-color-primary,#3c78da);background:transparent;border:0}.mc-comparison .mc-product h3{font-weight:500}.mc-comparison .mc-note{font-size:12px;line-height:1.5;padding:4px 0 18px;margin:0}.mc-comparison .mc-status{font-size:13px;margin:0}.mc-comparison .mc-product-mini h3{font-weight:500}.mc-comparison .mc-row-label{font-weight:400}.mc-comparison .mc-settings{margin-bottom:5px}
@media(max-width:600px){.mc-comparison .mc-note{font-size:11px}}
.mc-comparison .mc-photo,.mc-dialog .mc-photo{object-fit:contain}
@media(min-width:1000px){.mc-cards .mc-photo{max-height:270px}}

/* v474: compact comparison with clear section hierarchy. */
html body .mc-dialog{background:#fff;width:min(calc(100% - 32px),860px);max-height:82dvh;padding:0 16px 10px;border-radius:22px}
html body .mc-dialog-head{padding:8px 0 4px;gap:8px;min-height:48px}
html body .mc-dialog-head h2{font:650 20px/1.25 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:-.4px}
html body .mc-comparison{padding:0 0 4px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
html body .mc-toolbar{min-height:36px;margin:0 0 4px;font-size:12px}
html body .mc-demo-label{font-size:11px;color:#788391}
html body .mc-track{gap:12px}
html body .mc-product{border-radius:15px;background:linear-gradient(145deg,#f8fafc,#eef4fa);padding:6px}
html body .mc-product-info{padding:6px 3px 3px}
html body .mc-product h3{font-size:16px;line-height:1.25;margin-bottom:3px;font-weight:550}
html body .mc-price{font-size:18px;line-height:1.3}
html body .mc-cards .mc-photo{aspect-ratio:16/10;max-height:190px;border-radius:11px}
html body .mc-add-slot{min-height:130px;border-radius:15px;gap:4px;background:linear-gradient(145deg,#fafcfe,#edf4fc)}
html body .mc-add-slot span{font-size:13px}
html body .mc-remove,html body .mc-close{background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important;width:44px;height:44px;font:400 26px/1 system-ui!important}
html body .mc-remove{top:0;right:0;text-shadow:0 1px 3px white,0 0 5px white}
html body .mc-settings{max-width:none;gap:12px;padding:4px 0;margin:4px 0 6px}
html body .mc-switch-label{font-size:14px;gap:10px;justify-content:flex-start}
html body .mc-toggle{width:46px;height:28px}
html body .mc-toggle input{appearance:none!important;opacity:0!important;border:0!important;box-shadow:none!important;padding:0!important;min-height:0!important;position:absolute!important;inset:0!important;width:46px!important;height:28px!important;margin:0!important}
html body .mc-toggle-track{background:#e3e8ee;border:0;box-shadow:inset 0 1px 2px #1b35450c}
html body .mc-toggle input:checked+.mc-toggle-track{background:#27b878}
html body .mc-toggle-track:before{content:'✓';position:absolute;left:7px;top:5px;font:600 12px/18px system-ui;color:white;opacity:0}
html body .mc-toggle input:checked+.mc-toggle-track:before{opacity:1}
html body .mc-toggle input:checked+.mc-toggle-track:after{transform:translateX(18px);background:#fff}
html body .mc-group{padding:0 12px!important;margin:0 0 8px;background:linear-gradient(120deg,#f5f8fc,#fbfcfe);border:0;box-shadow:none;border-radius:14px}
html body .mc-group:nth-of-type(even){background:linear-gradient(120deg,#f4f8f9,#fbfcfc)}
html body .mc-group-title{min-height:44px;padding:10px 0!important;gap:8px}
html body .mc-group-title h2{font-size:15px;font-weight:650;letter-spacing:-.15px}
html body .mc-count{font-size:12px}
html body .mc-row{padding:7px 0;border-color:#e5ebf2}
html body .mc-row:last-child{padding-bottom:10px}
html body .mc-row-label{font-size:12px;color:#627487;margin-bottom:4px}
html body .mc-value{font-size:14px;color:#23364a}
html body .mc-status:empty{display:none}
html body .mc-status{min-height:0;padding:4px 0;font-size:12px}
html body .mc-empty{padding:22px 12px}
html body .mc-empty p{margin-bottom:12px}
@media(min-width:600px) and (max-width:1099px){html body .mc-dialog{width:min(calc(100% - 40px),720px)}html body .mc-cards .mc-photo{max-height:165px}}
@media(max-width:599px){html body .mc-dialog{width:100%;max-height:85dvh;padding:0 10px 8px;border-radius:20px 20px 0 0}html body .mc-dialog-head h2{font-size:18px}html body .mc-track{gap:8px}html body .mc-product h3{font-size:14px}html body .mc-price{font-size:15px}html body .mc-add-slot{min-height:115px}html body .mc-cards .mc-photo{max-height:120px}html body .mc-group{padding:0 10px!important}html body .mc-switch-label{font-size:13px}html body .mc-settings{flex-wrap:nowrap}html body .mc-add{padding:6px 10px;min-height:40px}}
html body dialog.mc-dialog.mc-dialog{padding:0 14px 8px!important;min-height:0!important}
html body dialog.mc-dialog>.mauto-platform-sheet__handle{height:16px!important;min-height:16px!important;margin:0!important;padding:0!important}
html body dialog.mc-dialog>.mc-dialog-head{min-height:44px!important;padding:0!important}
@media(max-width:599px){html body dialog.mc-dialog.mc-dialog{padding:0 10px 8px!important}}

/* V530: compact, keyboard-accessible preference assistant. */
.mc-advisor{margin:16px 0 8px;padding:16px;border:1px solid #dce5ef;border-radius:18px;background:#fff;color:#172536}
.mc-advisor>summary{cursor:pointer;width:fit-content;list-style:none}.mc-advisor>summary::-webkit-details-marker{display:none}
.mc-advisor-form{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:14px}.mc-advisor-form>label{display:grid;gap:7px;font-size:14px;font-weight:500}
.mc-advisor-form input[type=number],.mc-advisor-form select{box-sizing:border-box;width:100%;min-width:0;min-height:44px;border:1px solid #c7d2df;border-radius:10px;padding:10px;background:#fff;color:#172536;font:inherit}
.mc-advisor-form fieldset{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:12px;border:0;padding:0;margin:0}.mc-advisor-form legend{margin-bottom:10px;font-size:14px}.mc-advisor-check{display:flex;align-items:center;gap:8px;font-size:14px;min-height:32px}.mc-advisor-check input{width:18px;height:18px;accent-color:var(--mauto-ds-color-primary,#3c78da)}
.mc-advisor-card{border-top:1px solid #e5ebf2;padding:12px 0}.mc-advisor-result p{line-height:1.5;font-size:14px}.mc-advisor-result h3{font-size:18px;margin-top:18px}.mc-advisor :focus-visible{outline:2px solid #2876cd;outline-offset:3px}
@media(max-width:599px){.mc-advisor{padding:12px}.mc-advisor-form{grid-template-columns:1fr}.mc-advisor-form>.mc-action{width:100%;min-height:44px}}

.mc-pair{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:16px}.mc-pair label{min-width:0;font:14px/1.4 system-ui}.mc-pair select{display:block;width:100%;min-height:44px;font:inherit;border:1px solid #ccd6e4;border-radius:12px;background:white;color:#24374f}.mc-product .tr-actions{margin-top:12px}.mc-product .tr-actions>button{font-size:12px;min-height:52px}
@media(max-width:600px){.mc-comparison .mc-track{grid-template-columns:repeat(2,minmax(0,1fr));width:100%;min-width:0}.mc-comparison .mc-product{min-width:0}.mc-comparison .mc-strip{overflow:visible}.mc-comparison .mc-row-label{width:100%}.mc-comparison .mc-row{display:block}.mc-comparison .mc-product h3{overflow-wrap:anywhere}.mc-comparison .mc-value{min-width:0;overflow-wrap:anywhere}.mc-comparison .mc-product .tr-actions{grid-template-columns:1fr}.mc-pair select{font-size:16px}}
