.mm-mode{
 --mm-ink:#171a1d;--mm-muted:#5b6168;--mm-paper:#f4f1ea;--mm-card:#fff;--mm-line:#d8d3c8;
 --mm-red:#b31f28;--mm-red-dark:#8e1720;--mm-stage:#14171a;--mm-blue:#0f6ea8;
 background:linear-gradient(180deg,#f8f6f1 0%,var(--mm-paper) 100%);color:var(--mm-ink);
 font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;padding:clamp(40px,6vw,76px) 0;
 border-top:1px solid #e2ddd2;border-bottom:1px solid #e2ddd2;
}
.mm-mode *{box-sizing:border-box}
.mm-mode [hidden]{display:none!important}
.mm-mode .wrap{max-width:1240px;margin:0 auto;padding-left:clamp(16px,3vw,28px);padding-right:clamp(16px,3vw,28px)}
.mm-mode .eyebrow{margin:0 0 12px;font-size:12px;font-weight:800;letter-spacing:.14em;color:var(--mm-red)}
.mm-mode .mm-heading{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(260px,.75fr);gap:clamp(20px,4vw,56px);align-items:end}
.mm-mode .mm-heading h2{margin:0;font-size:clamp(34px,4.6vw,58px);line-height:1.02;letter-spacing:-.035em;font-weight:800}
.mm-mode .mm-lede{margin:0 0 4px;font-size:clamp(15px,1.35vw,18px);line-height:1.55;color:#3f454b;max-width:390px}
.mm-mode .mm-notice{margin:26px 0 0;padding:12px 16px;background:#fff;border-left:3px solid var(--mm-red);font-size:13px;line-height:1.55;color:#3d4348;max-width:980px}
.mm-mode .mm-notice strong{color:var(--mm-ink)}

.mm-mode .mm-vehicles{border:0;padding:0;margin:28px 0 0}
.mm-mode .mm-vehicles legend,.mm-mode .mm-step-label{margin:0 0 9px;padding:0;font-size:12px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:#4a5056}
.mm-mode .mm-step{display:inline-grid;place-items:center;width:19px;height:19px;margin-right:6px;border-radius:50%;background:var(--mm-ink);color:#fff;font-size:11px;letter-spacing:0;vertical-align:1px}
.mm-mode .mm-vehicle-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;background:#ded9ce;padding:5px;border-radius:12px;max-width:560px}
.mm-mode .mm-vehicle-row label{position:relative;display:flex;align-items:center;justify-content:center;min-height:48px;border-radius:8px;cursor:pointer;font-size:15px;font-weight:700;color:#464c52;transition:background .15s,color .15s,box-shadow .15s}
.mm-mode .mm-vehicle-row input{position:absolute;opacity:0;width:1px;height:1px}
.mm-mode .mm-vehicle-row label:has(input:checked){background:var(--mm-card);color:var(--mm-ink);box-shadow:0 2px 8px #0000001a}
.mm-mode .mm-vehicle-row label:has(input:focus-visible){outline:3px solid #1467b4;outline-offset:2px}

.mm-mode .mm-service{margin-top:26px}
.mm-mode .mm-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.mm-mode .mm-tabs button{
 position:relative;display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;column-gap:10px;align-items:center;
 min-width:0;min-height:76px;padding:12px 14px;text-align:left;font:inherit;color:#3d4348;cursor:pointer;
 background:#fff;border:1px solid var(--mm-line);border-radius:12px;
}
.mm-mode .mm-tabs button:hover{border-color:#a9a297}
.mm-mode .mm-tabs .mm-tab-no{grid-row:1/3;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#eeeae1;color:#6a6f74;font-size:11px;font-weight:800;letter-spacing:.04em}
.mm-mode .mm-tabs strong{font-size:17px;line-height:1.2;letter-spacing:-.01em}
.mm-mode .mm-tabs small{font-size:12px;line-height:1.25;color:#63696f;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mm-mode .mm-tabs button[aria-selected=true]{background:var(--mm-ink);border-color:var(--mm-ink);color:#fff;box-shadow:0 6px 18px #171a1d26}
.mm-mode .mm-tabs button[aria-selected=true] .mm-tab-no{background:var(--mm-red);color:#fff}
.mm-mode .mm-tabs button[aria-selected=true] small{color:#c9c6bf}
.mm-mode .mm-tabs button:focus-visible{outline:3px solid #1467b4;outline-offset:3px}

.mm-mode .mm-layout{display:grid;grid-template-columns:minmax(0,1.58fr) minmax(310px,.92fr);gap:18px;align-items:start;margin-top:18px}
.mm-mode .mm-preview{min-width:0;background:var(--mm-card);border:1px solid var(--mm-line);border-radius:16px;overflow:hidden;box-shadow:0 10px 30px #2a251c0d}
.mm-mode .mm-stage-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 16px;border-bottom:1px solid #e7e3da}
.mm-mode .mm-stage-head>div{display:flex;align-items:baseline;gap:9px;min-width:0;flex-wrap:wrap}
.mm-mode #mm-vehicle-name{font-size:12px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--mm-red)}
.mm-mode #mm-preview-label{font-size:15px;font-weight:700;letter-spacing:-.01em}
.mm-mode .mm-chip{flex:0 0 auto;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#5e646a;background:#f0ece3;border-radius:999px;padding:6px 10px}
.mm-mode .mm-canvas-wrap{position:relative;background:var(--mm-stage)}
.mm-mode #mm-canvas{display:block;width:100%;height:auto;aspect-ratio:1000/620;background:var(--mm-stage)}
.mm-mode .mm-load-status{position:absolute;inset:0;display:grid;place-items:center;margin:0;color:#d8d5cd;font-size:13px;background:var(--mm-stage)}
.mm-mode .mm-load-status[hidden]{display:none}
.mm-mode .mm-stage-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 16px;border-top:1px solid #e7e3da;font-size:12px;color:#5b6168}
.mm-mode .mm-stage-footer button{font-size:12px;padding:7px 11px;min-height:38px}
.mm-mode #mm-caption{padding:0 16px 15px;margin:0}
.mm-mode .mm-small,.mm-mode p.mm-small{margin:8px 0 0;font-size:12px;line-height:1.55;color:var(--mm-muted)}
.mm-mode .mm-empty{padding:10px 12px;background:#f6f3ec;border-radius:8px}

.mm-mode .mm-controls{min-width:0;background:var(--mm-card);border:1px solid var(--mm-line);border-radius:16px;padding:clamp(18px,2.4vw,26px);box-shadow:0 10px 30px #2a251c0d}
.mm-mode .mm-kicker{margin:0 0 6px;font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--mm-red)}
.mm-mode .mm-controls h3{margin:0 0 8px;font-size:clamp(22px,2.4vw,28px);line-height:1.12;letter-spacing:-.025em}
.mm-mode .mm-controls p{font-size:14px;line-height:1.55}
.mm-mode [role=tabpanel]:focus-visible{outline:3px solid #1467b4;outline-offset:4px;border-radius:6px}
.mm-mode label{font-size:13px;font-weight:700;color:#33383d}
.mm-mode .mm-upload{margin:16px 0 4px;padding:14px;border:1px dashed #a9a196;border-radius:10px;background:#faf8f3}
.mm-mode input[type=file]{display:block;width:100%;max-width:100%;margin:9px 0 4px;font:inherit;font-size:12px}
.mm-mode input::file-selector-button{font:inherit;font-size:12px;font-weight:700;cursor:pointer;min-height:40px;padding:8px 12px;margin-right:10px;border:1px solid #a9a196;border-radius:6px;background:#fff;color:var(--mm-ink)}
.mm-mode .mm-status{margin:8px 0 0;font-size:12px;line-height:1.5;color:#3f6b4a;font-weight:600}
.mm-mode .mm-status.is-error{color:#9c1c25}
.mm-mode .mm-status:empty{display:none}
.mm-mode #mm-adjust{margin-top:16px;padding-top:4px;border-top:1px solid #e7e3da}
.mm-mode input[type=range]{display:block;width:100%;margin:6px 0 15px;min-height:30px;accent-color:var(--mm-red);cursor:pointer}
.mm-mode output{float:right;font-weight:700;color:var(--mm-ink);font-variant-numeric:tabular-nums}
.mm-mode button{font:inherit;cursor:pointer;min-height:44px;padding:10px 16px;border:1px solid #b3ada1;border-radius:8px;background:#fff;color:var(--mm-ink);font-weight:700}
.mm-mode button:hover{border-color:var(--mm-red)}
.mm-mode button:focus-visible,.mm-mode input:focus-visible,.mm-mode textarea:focus-visible{outline:3px solid #1467b4;outline-offset:3px}
.mm-mode .mm-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.mm-mode .mm-actions button{flex:1;min-width:130px;font-size:13px}
.mm-mode .mm-coverage{border:0;padding:0;margin:16px 0 4px;display:grid;gap:8px}
.mm-mode .mm-coverage legend{padding:0;margin-bottom:2px;font-size:11px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:#5b6168}
.mm-mode .mm-coverage label{position:relative;display:flex;align-items:flex-start;gap:10px;padding:11px 12px;border:1px solid var(--mm-line);border-radius:9px;background:#fcfbf8;cursor:pointer}
.mm-mode .mm-coverage label:has(input:checked){border-color:var(--mm-red);background:#fff;box-shadow:inset 0 0 0 1px var(--mm-red)}
.mm-mode .mm-coverage input{margin:3px 0 0;accent-color:var(--mm-red);width:16px;height:16px;flex:0 0 auto}
.mm-mode .mm-coverage strong{display:block;font-size:14px;line-height:1.3}
.mm-mode .mm-coverage small{display:block;font-size:11.5px;line-height:1.35;color:#6a7076;font-weight:500}
.mm-mode .mm-summary{margin-top:20px;padding-top:16px;border-top:1px solid #e7e3da}
.mm-mode .mm-summary span{display:block;margin-bottom:4px;font-size:10px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#6a7076}
.mm-mode .mm-summary strong{display:block;font-size:14px;line-height:1.5}
.mm-mode #mm-inquiry{width:100%;margin-top:14px;background:var(--mm-red);border-color:var(--mm-red);color:#fff}
.mm-mode #mm-inquiry:hover{background:var(--mm-red-dark);border-color:var(--mm-red-dark)}
.mm-mode .mm-disclaimer{max-width:980px;margin:20px 0 0;font-size:11.5px;line-height:1.6;color:#61676d}
.mm-mode dialog{width:min(580px,calc(100vw - 28px));max-height:90dvh;overflow:auto;padding:22px;border:1px solid #b3ada1;border-radius:14px;color:var(--mm-ink);background:#fff}
.mm-mode dialog::backdrop{background:#000000a6}
.mm-mode dialog h3{margin:0 0 8px;font-size:24px}
.mm-mode dialog p{font-size:13px;line-height:1.55}
.mm-mode #mm-draft{width:100%;margin:7px 0 4px;padding:11px;border:1px solid #a9a196;border-radius:7px;font:inherit;font-size:14px;color:var(--mm-ink);background:#faf8f3;min-height:150px}
.mm-mode #mm-copy-status{min-height:20px;margin:6px 0 0;color:#3f6b4a;font-weight:600}

@media(max-width:940px){
 .mm-mode .mm-heading{grid-template-columns:1fr;gap:12px;align-items:start}
 .mm-mode .mm-lede{max-width:620px}
 .mm-mode .mm-layout{grid-template-columns:minmax(0,1fr);gap:14px}
 .mm-mode .mm-tabs button{min-height:70px}
}
@media(max-width:560px){
 .mm-mode{padding:36px 0 44px}
 .mm-mode .mm-heading h2{font-size:clamp(30px,9vw,40px)}
 .mm-mode .mm-notice{margin-top:18px;font-size:12px}
 .mm-mode .mm-vehicle-row{max-width:none}
 .mm-mode .mm-vehicle-row label{min-height:44px;font-size:14px}
 .mm-mode .mm-tabs{gap:6px}
 .mm-mode .mm-tabs button{grid-template-columns:1fr;grid-template-rows:auto auto;padding:10px 8px;min-height:62px;text-align:center;justify-items:center;row-gap:2px}
 .mm-mode .mm-tabs .mm-tab-no{display:none}
 .mm-mode .mm-tabs strong{font-size:15px}
 .mm-mode .mm-tabs small{display:none}
 .mm-mode .mm-stage-head{padding:11px 12px}
 .mm-mode .mm-chip{font-size:9.5px;padding:5px 8px}
 .mm-mode #mm-preview-label{font-size:13px}
 .mm-mode .mm-stage-footer{padding:9px 12px;font-size:11px}
 .mm-mode #mm-caption{padding:0 12px 12px}
 .mm-mode .mm-controls{padding:18px 16px}
 .mm-mode .mm-actions button{min-width:0}
 .mm-mode dialog{padding:18px}
}
@media(prefers-reduced-motion:reduce){
 .mm-mode *{transition:none!important;scroll-behavior:auto!important}
}

/* Customer-photo flow: scoped, no page-wide changes. */
.mm-mode .mm-own-cta{margin:24px 0;padding:22px;border:2px solid var(--mm-red);border-radius:12px;background:#fff;display:grid;grid-template-columns:1fr auto;gap:12px 24px;align-items:center}
.mm-mode .mm-own-cta strong{font-size:23px;color:var(--mm-ink)}
.mm-mode .mm-own-cta p{margin:6px 0 0;font-size:14px;line-height:1.5}
.mm-mode #mm-use-own,.mm-mode #mm-apply-outlines{background:var(--mm-red);color:white;border-color:var(--mm-red);font-weight:800}
.mm-mode #mm-use-own{min-height:56px;font-size:17px;padding:14px 24px}
.mm-mode #mm-photo-status{grid-column:1/-1;font-size:12px;color:var(--mm-muted)}
.mm-mode .mm-vehicle-row:has(#mm-own-choice:not([hidden])){grid-template-columns:repeat(4,minmax(0,1fr));max-width:720px}
.mm-mode #mm-own-tools{margin:18px 0;padding:18px;background:white;border:1px solid var(--mm-line);border-radius:12px}
.mm-mode .mm-own-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.mm-mode .mm-own-actions strong{margin-right:auto}
.mm-mode #mm-outline-editor h3{font-size:22px;margin:12px 0}
.mm-mode #mm-outline-editor p{font-size:14px;line-height:1.5}
.mm-mode #mm-outline-editor .mm-actions{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}
.mm-mode #mm-outline-editor select{max-width:100%;min-height:44px;background:#fff;border:1px solid #868686;border-radius:6px;padding:8px;color:#171a1d;font:inherit}
.mm-mode #mm-outline-editor label{display:block;font-weight:700;margin:10px 0}
.mm-mode .mm-outline-confirm{font-size:14px;line-height:1.5}
.mm-mode .mm-outline-confirm input{width:20px;height:20px;vertical-align:middle;margin-right:8px;accent-color:var(--mm-red)}
.mm-mode #mm-outline-editor details{font-size:14px;margin:12px 0}
.mm-mode #mm-outline-editor summary{cursor:pointer;min-height:36px}
.mm-mode .mm-canvas-wrap{overflow:auto;max-width:100%}
.mm-mode[data-outlining=true] #mm-canvas{cursor:crosshair;touch-action:manipulation;max-width:none}
.mm-mode .is-error{color:#a21722!important}
.mm-mode .mm-outline-zoom{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.mm-mode .mm-outline-zoom span{font-size:12px;color:var(--mm-muted)}
.mm-mode #mm-outline-status{font-size:14px;font-weight:700;line-height:1.5}
.mm-mode #mm-point-status{min-height:22px}
.mm-mode button:disabled{opacity:.55;cursor:not-allowed}
@media(max-width:600px){.mm-mode .mm-own-cta{grid-template-columns:1fr;padding:16px}.mm-mode #mm-use-own{width:100%}.mm-mode .mm-vehicle-row:has(#mm-own-choice:not([hidden])){grid-template-columns:repeat(2,minmax(0,1fr))}.mm-mode .mm-own-actions button{flex:1}.mm-mode .mm-own-actions strong{flex-basis:100%}.mm-mode #mm-outline-editor .mm-actions button{flex:1 1 45%;padding:9px;font-size:13px}}
