/* MiAuto V4 · Publicación rápida, visual y orientada a celular.
   Aislado al panel / formulario. No afecta landing ni catálogos privados. */
.ma-v4-dashboard,.ma-v4-form{color:#151719;padding-top:37px;padding-bottom:110px}
.ma-v4-dashboard .ma-overline,.ma-v4-form .ma-overline{font-size:11px;font-weight:740;letter-spacing:.11em;color:#777b7e}
.ma-dash-top{display:flex;align-items:end;justify-content:space-between;gap:22px;margin-bottom:29px}
.ma-dash-top h1{margin:8px 0 0;font-size:clamp(39px,4.9vw,69px);line-height:1.02;letter-spacing:-.07em;font-weight:820}
.ma-punctuation{color:#bd925b}
.ma-plan-chip{display:inline-flex;align-items:center;white-space:nowrap;border:1px solid #e2e3e3;padding:9px 12px;font-size:12px;font-weight:670;color:#51565a;border-radius:100px}
.ma-hero-upload{display:grid;grid-template-columns:1fr 1fr;min-height:430px;background:#f0f1f0;position:relative;overflow:hidden;border-radius:9px}
.ma-upload-words{padding:46px 0 36px 53px;position:relative;z-index:2;align-self:center}
.ma-upload-words h2{font-size:clamp(66px,7.5vw,114px);line-height:.90;letter-spacing:-.092em;font-weight:850;margin:13px 0 31px}
.ma-upload-target{cursor:pointer;display:flex;align-items:center;justify-content:center;gap:11px;font-size:16px;font-weight:720;user-select:none;transition:transform .16s ease,background .16s ease}
.ma-upload-words>.ma-upload-target{background:#17191b;color:white;width:max-content;min-height:70px;padding:10px 25px 10px 16px;border-radius:5px}
.ma-upload-target:hover{transform:translateY(-2px)}
.ma-upload-target:focus-visible{outline:3px solid #bb905a;outline-offset:3px}
.ma-upload-target input[type=file]{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.ma-upload-motion{display:inline-flex;align-items:center;justify-content:center}
.ma-upload-motion svg{width:43px;height:43px;animation:ma-arrow-float 1.8s ease-in-out infinite}
@keyframes ma-arrow-float{0%,100%{transform:translateY(3px)}50%{transform:translateY(-5px)}}
.ma-upload-cars{position:relative;overflow:hidden;min-height:430px;pointer-events:none}
.ma-upload-cars img{position:absolute;object-fit:contain;mix-blend-mode:multiply;width:105%;height:78%;right:-9%;bottom:1%;filter:drop-shadow(0 10px 12px rgba(0,0,0,.08))}
.ma-upload-cars img:first-child{width:90%;right:10%;top:-12%;bottom:auto;transform:rotate(-1deg);opacity:.9}
.ma-upload-cars img:last-child{width:94%;right:-12%;bottom:-8%;transform:rotate(1deg)}
.ma-upload-status{font-size:13px;font-weight:640;min-height:20px;margin-top:17px;color:#374151;max-width:320px}
.ma-upload-error{color:#ad3b2b!important}
.ma-uploader-progress{margin-top:5px;width:min(240px,90%);height:6px;border-radius:6px;background:#d5d7d7;overflow:hidden}
.ma-uploader-progress>div{background:#252729;height:100%;width:0;transition:width .15s linear}
.ma-upload-percent{display:block;font-size:25px;font-variant-numeric:tabular-nums;margin-top:8px;line-height:1}
.ma-upload-thumbs{display:flex;flex-wrap:wrap;gap:8px;margin-top:13px}
.ma-stage-thumb{width:76px;height:64px;position:relative;border-radius:5px;overflow:hidden;border:1px solid rgba(15,15,15,.08);background:#e7e8e8;flex:none}
.ma-stage-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.ma-stage-thumb button{position:absolute;right:1px;top:1px;border:0;color:#fff;background:rgba(0,0,0,.8);width:23px;height:23px;border-radius:50%;cursor:pointer;font-size:18px;line-height:1}
.ma-dashboard-numbers{display:flex;align-items:center;gap:0;border-bottom:1px solid #e9e9e9;padding:37px 0 38px;margin-bottom:55px}
.ma-dashboard-numbers>a:not(.ma-dashboard-link){display:flex;gap:11px;align-items:center;min-width:165px;border-right:1px solid #e6e7e7;padding:0 25px 0 0;margin-right:25px;text-decoration:none;color:inherit}
.ma-dashboard-numbers>a>strong{font-size:34px;line-height:1;letter-spacing:-.06em}
.ma-dashboard-numbers>a>span{font-size:13px;color:#696d6f}
.ma-dashboard-link{margin-left:auto;font-size:13px;font-weight:740;display:inline-flex;align-items:center;gap:9px;color:inherit;text-decoration:none}
.ma-subsection-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:20px}
.ma-subsection-heading h2,.ma-dash-bottom h2{font-size:24px;letter-spacing:-.045em;margin:0;font-weight:800}
.ma-subsection-heading a,.ma-text-link{font-size:13px;font-weight:730;color:#222;display:inline-flex;align-items:center;gap:8px;text-decoration:none;background:transparent;border:0;padding:0;cursor:pointer}
.ma-dash-bottom{display:grid;grid-template-columns:1.3fr 1fr;gap:24px;margin-top:34px}
.ma-dash-bottom>div{border-top:1px solid #dedfdf;padding:27px 0}
.ma-dash-bottom p{font-size:13px;color:#707476;margin:8px 0 15px}
.ma-share-inline{display:flex;gap:8px;align-items:center;margin-bottom:10px}
.ma-share-inline input{width:min(100%,360px);background:#f4f5f5;border:1px solid #e2e2e2;padding:11px;border-radius:4px;font-size:12px}
.ma-dash-bottom form{margin-top:12px}
.ma-v4-form .ma-back{font-size:13px;text-decoration:none;color:#62666a;display:inline-block;margin-bottom:6px;font-weight:600}
.ma-v4-form .ma-dash-top{margin-bottom:25px}
.ma-publish-grid{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1fr);align-items:start;gap:38px}
.ma-pictures{position:relative;min-width:0}
.ma-pictures-area{min-height:364px;background:#f0f1f1;border:1.5px dashed #bfc4c5;border-radius:8px;flex-direction:column;gap:8px;padding:28px;text-align:center}
.ma-pictures-area strong{font-size:22px;letter-spacing:-.04em}
.ma-pictures-area small{font-size:12px;font-weight:500;color:#737879}
.ma-pictures-area .ma-upload-motion svg{width:65px;height:65px}
.ma-pictures-area.ma-drag-over{background:#e4ebe9;border-color:#263e38}
.ma-pictures .ma-upload-status{margin-top:11px}
.ma-pictures .ma-upload-thumbs{margin-top:16px;gap:9px}
.ma-pictures .ma-stage-thumb{width:calc((100% - 27px)/4);height:auto;aspect-ratio:1.16}
.ma-image-help{font-size:11px;color:#959a9c;margin-top:9px}
.ma-js .ma-quick-fields.is-awaiting{display:none}
.ma-quick-fields{min-width:0;scroll-margin-top:110px}
.ma-fields-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:23px;gap:10px}
.ma-fields-heading h2{font-size:25px;margin:0;letter-spacing:-.05em;font-weight:800}
.ma-fields-heading span{font-size:12px;color:#8e9395}
.ma-completion{min-width:66px;display:flex;flex-direction:column;align-items:end;gap:5px}
.ma-completion strong{font-size:21px;font-weight:780;letter-spacing:-.03em;font-variant-numeric:tabular-nums}
.ma-completion>div{height:4px;width:64px;background:#e9ebeb;overflow:hidden;border-radius:4px}
.ma-completion>div>span{height:100%;display:block;background:#1e2425;width:0;transition:width .2s}
.ma-simple-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.ma-simple-fields label,.ma-extra-fields label{font-size:12px;color:#41484a;font-weight:670;display:flex;flex-direction:column;gap:7px}
.ma-simple-fields input,.ma-simple-fields select,.ma-simple-fields textarea,.ma-extra-fields input,.ma-extra-fields select{background:#f7f8f8;border:1px solid #e1e3e4;border-radius:4px;padding:14px 13px;color:#171a1a;outline:none;font-size:16px;line-height:1.25;width:100%;min-height:52px;box-sizing:border-box;font-weight:530}
.ma-simple-fields input:focus,.ma-simple-fields select:focus,.ma-simple-fields textarea:focus,.ma-extra-fields input:focus,.ma-extra-fields select:focus{border-color:#34393b;box-shadow:0 0 0 2px rgba(52,57,59,.08)}
.ma-field-wide{grid-column:1/-1}
.ma-simple-fields textarea{resize:vertical;min-height:84px}
.ma-optional{font-size:11px!important;font-weight:450;color:#929494}
.ma-extras{margin-top:17px;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9;padding:16px 0}
.ma-extras summary{font-size:13px;font-weight:740;cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center}
.ma-extras summary::-webkit-details-marker{display:none}
.ma-extras[open] summary>span{transform:rotate(45deg)}
.ma-extras summary>span{font-size:24px;transition:transform .18s}
.ma-extra-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding-top:20px}
.ma-extra-fields .ma-check-row{display:flex;flex-direction:row;align-items:center;gap:9px;grid-column:1/-1;font-size:12px}
.ma-extra-fields input[type=checkbox]{width:17px;min-height:17px}
.ma-field-info{font-size:12px;color:#767b7d;line-height:1.5}
.ma-authority{display:flex;align-items:start;gap:11px;color:#62666a;font-size:12px;line-height:1.45;cursor:pointer;margin:17px 0 21px}
.ma-authority input{width:18px;height:18px;flex:none;margin:0;accent-color:#222}
.ma-submit{display:flex;justify-content:center;align-items:center;gap:14px;background:#171a1b;color:#fff;border:0;border-radius:4px;min-height:60px;font-size:16px;font-weight:750;cursor:pointer;width:100%}
.ma-submit:hover{background:#37393a}
.ma-edit-photos{margin-top:28px;border-top:1px solid #eee;padding-top:20px;display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.ma-edit-photos h3{flex:1 0 100%;font-size:17px}
.ma-remove-existing{width:90px;display:flex;flex-direction:column;gap:5px}
.ma-remove-existing img{aspect-ratio:4/3;object-fit:cover;width:100%;border-radius:4px}
.ma-remove-existing button{cursor:pointer;border:1px solid #ddd;background:#fff;padding:5px}
@media(max-width:980px){
 .ma-upload-words{padding-left:30px}.ma-upload-words h2{font-size:clamp(63px,8.1vw,90px)}
 .ma-publish-grid{gap:21px}.ma-dashboard-numbers>a:not(.ma-dashboard-link){min-width:0;flex:1;margin-right:15px;padding-right:15px}
}
@media(max-width:720px){
 .ma-v4-dashboard,.ma-v4-form{padding-top:23px;padding-bottom:67px}
 .ma-dash-top{margin-bottom:18px;align-items:center}
 .ma-dash-top h1{font-size:42px}
 .ma-hero-upload{grid-template-columns:1fr;min-height:0}
 .ma-upload-words{padding:35px 25px 13px;position:relative}
 .ma-upload-words h2{font-size:76px;line-height:.9;margin-bottom:21px}
 .ma-upload-words>.ma-upload-target{width:100%;justify-content:center;min-height:66px}
 .ma-upload-cars{height:215px;min-height:0}
 .ma-upload-cars img{height:95%;width:88%;right:-3%;bottom:-22%}
 .ma-upload-cars img:first-child{width:72%;right:32%;top:-19%;height:115%}
 .ma-dashboard-numbers{margin-bottom:32px;padding:21px 0;display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
 .ma-dashboard-numbers>a:not(.ma-dashboard-link){display:flex;flex-direction:column;align-items:start;gap:4px;margin:0;padding:0 9px 0 0;border-right:1px solid #eee}
 .ma-dashboard-numbers>a>strong{font-size:29px}
 .ma-dashboard-numbers>a>span{font-size:11px}
 .ma-dashboard-link{grid-column:1/-1;margin:6px 0 0}
 .ma-dash-bottom{grid-template-columns:1fr;gap:0}
 .ma-publish-grid{grid-template-columns:1fr;gap:23px}
 .ma-pictures-area{min-height:275px}
 .ma-simple-fields{gap:12px}
 .ma-quick-fields{padding-top:5px}
 .ma-quick-fields .ma-fields-heading{margin-bottom:20px}
}
@media(max-width:410px){.ma-dash-top h1{font-size:38px}.ma-plan-chip{font-size:10px;padding:7px}.ma-upload-words h2{font-size:66px}.ma-simple-fields{gap:10px}.ma-extra-fields{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.ma-upload-motion svg{animation:none}.ma-upload-target,.ma-completion>div>span,.ma-extras summary>span{transition:none}}

/* Correcciones específicas: las reglas heredadas para <label> no deben apagar el CTA. */
.ma-v4-dashboard .ma-upload-words>label.ma-upload-target{color:#fff;font-weight:760;font-size:16px;flex-direction:row;gap:10px}
.ma-v4-form .ma-pictures>label.ma-upload-target{color:#17191b;flex-direction:column;font-weight:710}
.ma-upload-percent[hidden],.ma-uploader-progress[hidden]{display:none!important}
.ma-upload-cars img:first-child{width:115%;height:100%;right:-11%;top:0;bottom:0;transform:none;opacity:1}
@media(max-width:720px){.ma-upload-cars img:first-child{width:110%;height:110%;right:-7%;top:-11%;bottom:auto}}
