.mkdp-profile{--mkdp-profile-green:#184b43;--mkdp-profile-muted:#526176;--mkdp-profile-border:#d7e2df;scroll-margin-top:100px}
.mkdp-profile h2{margin:0 0 14px;font-size:clamp(23px,3vw,30px);line-height:1.25}
.mkdp-profile p{line-height:1.6}
.mkdp-profile-form label{margin:0;font-size:15px;color:#182235}
.mkdp-profile-form .mkdp-profile-field{gap:7px}
.mkdp-profile-form .mkdp-profile-field input,.mkdp-profile-form .mkdp-profile-field select,.mkdp-profile-form .mkdp-profile-field textarea{font-family:inherit;font-size:16px;line-height:1.45;min-height:46px;border-color:var(--mkdp-profile-border);margin:0}
.mkdp-profile-form .mkdp-profile-field input:focus,.mkdp-profile-form .mkdp-profile-field select:focus,.mkdp-profile-form .mkdp-profile-field textarea:focus{outline:3px solid #beddd4;outline-offset:2px;border-color:var(--mkdp-profile-green)}
.mkdp-profile-form .mkdp-profile-field [aria-invalid=true]{border-color:#b42318;box-shadow:0 0 0 1px #b42318}
.mkdp-profile-form legend{font-size:20px;line-height:1.4;margin-bottom:8px}
.mkdp-profile-form legend:focus{outline:0}
.mkdp-profile-step-help,.mkdp-profile-file-help{margin:0 0 18px;color:var(--mkdp-profile-muted);font-size:14px}
.mkdp-profile-full{grid-column:1/-1}
.mkdp-profile-prepare{padding:16px 18px;border:1px solid var(--mkdp-profile-border);background:#f6faf8;border-radius:12px;margin:18px 0}
.mkdp-profile-prepare p,.mkdp-profile-note p{margin:7px 0 0}
.mkdp-profile-stepper{margin:22px 0 10px}
.mkdp-profile-stepper ol{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0;padding:0;list-style:none}
.mkdp-profile-stepper li{margin:0;padding:0;min-width:0}
.mkdp-profile-stepper button{display:flex;align-items:center;gap:8px;width:100%;min-height:54px;padding:9px 10px;border:1px solid var(--mkdp-profile-border);border-radius:9px;background:#f6f9f8;color:#40554f;font-family:inherit;font-weight:600;font-size:13px;line-height:1.35;cursor:pointer;text-align:left;white-space:normal}
.mkdp-profile-stepper button span{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;flex:0 0 24px;border:1px solid #bbcfc7;border-radius:50%;font-size:12px}
.mkdp-profile-stepper button.is-current{color:#fff;background:var(--mkdp-profile-green);border-color:var(--mkdp-profile-green)}
.mkdp-profile-stepper button.is-current span{border-color:#adc7bf}
.mkdp-profile .mkdp-profile-progress{margin:10px 0 0;font-size:13px;color:var(--mkdp-profile-muted)}
.mkdp-profile-form-actions,.mkdp-profile-next-actions,.mkdp-upload-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px}
.mkdp-profile-form-actions{margin-top:24px;padding-top:18px;border-top:1px solid var(--mkdp-profile-border)}
.mkdp-profile-next-actions{margin:18px 0 24px}
.mkdp-profile .mkdp-profile-button,.mkdp-profile .mkdp-profile-secondary{min-height:46px;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;line-height:1.4;white-space:normal;text-align:center;font-family:inherit;transition:background-color .15s ease}
.mkdp-profile .mkdp-profile-secondary{padding:11px 16px;border:1px solid #9cb9b0;border-radius:9px;background:#fff;color:var(--mkdp-profile-green)!important;font-weight:600;font-size:15px;text-decoration:none;cursor:pointer}
.mkdp-profile .mkdp-profile-button:hover{background:#103d36}
.mkdp-profile .mkdp-profile-secondary:hover{background:#edf5f1}
.mkdp-profile button:focus-visible,.mkdp-profile a:focus-visible{outline:3px solid #9bcbbb;outline-offset:3px}
.mkdp-profile button:disabled{opacity:.65;cursor:wait}
.mkdp-profile-form .mkdp-profile-consent{font-size:14px;line-height:1.6;font-weight:400;align-items:flex-start;gap:12px}
.mkdp-profile-form .mkdp-profile-consent input{appearance:auto;accent-color:var(--mkdp-profile-green);min-width:20px;width:20px;height:20px;flex:0 0 20px;margin:2px 0 0;padding:0}
.mkdp-profile .mkdp-field-error{display:block;font-size:13px;font-weight:500;color:#a61b13;line-height:1.5}
.mkdp-profile .mkdp-profile-error-summary{margin:18px 0;border:1px solid #e9b8b3;border-left:4px solid #b42318;border-radius:8px;background:#fff5f4;padding:15px 18px;color:#851b15}
.mkdp-profile-error-summary ul{margin:8px 0 0;padding-left:20px}
.mkdp-profile-error-summary li{margin:5px 0;line-height:1.5}
.mkdp-profile-error-summary a{color:#851b15;text-decoration:underline}
.mkdp-profile .mkdp-profile-restored{font-size:14px;color:#475b54;background:#f4f8f6;padding:13px 16px;border-radius:9px}
.mkdp-profile .mkdp-upload{padding:16px;border:1px dashed #afc8be;border-radius:12px;background:#fafcfb;position:relative}
.mkdp-profile-form.is-enhanced .mkdp-upload input[type=file]{position:absolute;width:1px;height:1px;min-height:0;padding:0;border:0;overflow:hidden;opacity:0;pointer-events:none}
.mkdp-upload .mkdp-upload-actions{gap:8px 12px}
.mkdp-upload [data-mkdp-file-status]{overflow-wrap:anywhere;line-height:1.5}
.mkdp-upload .mkdp-profile-text-button{padding:5px 0;border:0;background:none;color:#8a3026;text-decoration:underline;font-family:inherit;font-weight:500;font-size:14px;line-height:1.4;cursor:pointer;min-height:36px}
.mkdp-upload [data-mkdp-file-preview],.mkdp-upload .mkdp-existing-document{color:var(--mkdp-profile-green);text-decoration:underline;line-height:1.5;padding:4px 0;overflow-wrap:anywhere}
.mkdp-profile-review-grid,.mkdp-profile-conflict dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 22px;margin:18px 0}
.mkdp-profile-review-grid>div,.mkdp-profile-conflict dl>div{padding:13px 0;border-bottom:1px solid var(--mkdp-profile-border);min-width:0}
.mkdp-profile-review-grid dt,.mkdp-profile-conflict dt{font-size:13px;color:var(--mkdp-profile-muted);font-weight:500;margin-bottom:5px}
.mkdp-profile-review-grid dd,.mkdp-profile-conflict dd{margin:0;font-size:15px;color:#182235;font-weight:600;overflow-wrap:anywhere;white-space:pre-line}
.mkdp-profile-conflict{margin:18px 0;padding:15px 18px;background:#fff9eb;border:1px solid #e2c784;border-radius:10px}
.mkdp-profile-conflict summary{cursor:pointer;font-weight:600;line-height:1.5}
@media(max-width:640px){.mkdp-profile-stepper ol{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.mkdp-profile-stepper button{font-size:12px;min-height:49px}.mkdp-profile-form .mkdp-profile-grid,.mkdp-profile-form .mkdp-profile-docs,.mkdp-profile-review-grid,.mkdp-profile-conflict dl{grid-template-columns:1fr}.mkdp-profile-form-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.mkdp-profile-form-actions [data-mkdp-next],.mkdp-profile-form-actions [data-mkdp-submit]{grid-column:2}.mkdp-profile-form-actions [data-mkdp-back][hidden]+[data-mkdp-next]{grid-column:1/-1}.mkdp-profile-form-actions button{width:100%;padding:11px 12px;font-size:14px}.mkdp-profile-next-actions>a{flex:1 1 180px}.mkdp-profile-form fieldset{margin:20px 0}.mkdp-profile-prepare{padding:14px}.mkdp-profile .mkdp-upload{padding:14px}.mkdp-profile .mkdp-profile-consent{font-size:14px}.mkdp-profile-form.is-enhanced [data-mkdp-step="3"]~.mkdp-profile-form-actions [data-mkdp-submit]{min-width:0}}
@media(prefers-reduced-motion:reduce){.mkdp-profile button,.mkdp-profile a{transition:none!important}}

.mkdp-profile-entry-actions{display:flex;align-items:center;flex-wrap:wrap;gap:14px 20px;margin-top:18px}.mkdp-profile-entry-actions>span{font-size:14px;line-height:1.5}.mkdp-profile-entry-actions>span>a,.mkdp-profile-submit-help a{color:var(--mkdp-profile-green);text-decoration:underline}.mkdp-profile-rights{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:18px 0}.mkdp-profile-rights>div{background:#f2f8f5;border:1px solid var(--mkdp-profile-border);padding:15px 17px;border-radius:10px}.mkdp-profile-rights p{margin:8px 0 0;font-size:14px}.mkdp-profile-review-note{padding:0 4px}.mkdp-profile-verification-fields{margin:16px 0 20px}.mkdp-profile-submit-help{font-size:13px;color:var(--mkdp-profile-muted);margin:16px 0 0}@media(max-width:640px){.mkdp-profile-rights{grid-template-columns:1fr}.mkdp-profile-entry-actions{align-items:flex-start;flex-direction:column}.mkdp-profile-entry-actions>.mkdp-profile-button{width:100%}}

/* Dealer UX refinement: stronger field contrast and clearer status hierarchy. */
.mkdp-profile .mkdp-profile-notice{scroll-margin-top:100px}.mkdp-profile-form .mkdp-profile-field input,.mkdp-profile-form .mkdp-profile-field select,.mkdp-profile-form .mkdp-profile-field textarea{border-color:#718b7b}.mkdp-profile .mkdp-profile-notice:focus{outline:3px solid #497e66;outline-offset:3px}
.mkdp-profile-prepare{background:#f4f8f5;border-color:#c7d8ce}.mkdp-profile-rights>div:first-child{background:#eaf4ed;border-color:#b9d0c1}.mkdp-profile .mkdp-upload{border-color:#91aa9d;background:#fbfcfb}.mkdp-profile-stepper button{border-color:#c5d3cc}.mkdp-profile-stepper button.is-current{box-shadow:0 5px 14px rgba(24,75,67,.10)}
@media(max-width:640px){.mkdp-profile-stepper button{font-size:12.5px}.mkdp-profile-form-actions{gap:8px}.mkdp-profile .mkdp-profile-button,.mkdp-profile .mkdp-profile-secondary{font-size:14px}}

.mkdp-profile-editor{margin-top:18px;border:1px solid #d7e3da;border-radius:12px;background:#fbfcfb;overflow:hidden}
.mkdp-profile-editor>summary{cursor:pointer;padding:14px 16px;font-weight:700;color:#205b40;list-style-position:inside}
.mkdp-profile-editor[open]>summary{border-bottom:1px solid #dbe5df;background:#f4f8f5}
.mkdp-profile-editor-note{margin:14px 16px 0;color:#5a6d62;font-size:13px}
.mkdp-profile-editor .mkdp-profile-form{padding:0 16px 16px}

/* Public individual dealer agreement */
.mkdp-agency-contract{max-width:920px;margin:32px auto;padding:24px}
.mkdp-agency-contract-text{white-space:pre-wrap;font:inherit;line-height:1.7;margin:20px 0 0;color:inherit}
