/* Tecnomocion: thumb-friendly mobile-first public repair request. */
.tm-mobile-repair, .rm-page { color: #17202e; }
.rm-page { background:#f5f6f9; min-height:80vh; padding:20px 14px 64px; }
.rm-shell {max-width:800px; margin:0 auto;}
.rm-back {display:inline-flex; color:#5e6470; text-decoration:none; font-size:14px; margin:6px 0 22px;}
.rm-back:hover {color:#ce173a;}
.rm-intro {margin:0 0 20px;}
.rm-eyebrow {font-weight:800; font-size:11px; letter-spacing:.14em; color:#c7193d; margin-bottom:9px;}
.rm-intro h1 {font-size:clamp(28px,5vw,40px); font-weight:850; letter-spacing:-.045em; line-height:1.13; margin:0 0 11px;}
.rm-intro p {font-size:16px; color:#626b78; margin:0; max-width:600px; line-height:1.55;}
.rm-login {display:flex; align-items:center; gap:13px; background:#fff; border:1px solid #e6e9ef; box-shadow:0 7px 22px rgba(28,34,52,.04); padding:13px 17px; border-radius:15px; margin:18px 0 23px;}
.rm-login-icon {display:grid; place-items:center; width:37px; height:37px; flex:0 0 37px; border-radius:12px; background:#fff0f3; color:#d21a40; font-weight:800;}
.rm-login-copy {display:flex; flex-direction:column; flex:1; min-width:0;}
.rm-login-copy strong {font-size:14px; font-weight:800;}
.rm-login-copy span {color:#69717c; font-size:12px; line-height:1.45;}
.rm-login-button {border:1px solid #dc163b; color:#bf0f32; font-weight:800; text-decoration:none; white-space:nowrap; padding:10px 13px; border-radius:9px; font-size:13px;}
.rm-login-button:hover {color:white; background:#c70d33;}
.rm-login-identified .rm-login-icon {color:#137b56; background:#e9fbf2;}
.rm-progress {display:flex; align-items:center; gap:12px; margin:18px 0; padding:0 3px;}
.rm-progress-item {display:flex; align-items:center; gap:9px; color:#838995; font-size:13px; font-weight:750; white-space:nowrap;}
.rm-progress-item b {display:grid; place-items:center; width:29px; height:29px; border:1px solid #cdd1dc; border-radius:50%; font-size:13px;}
.rm-progress-active {color:#b81035;}
.rm-progress-active b {background:#c91a40; border-color:#c91a40; color:white;}
.rm-progress-bar {height:2px; background:#dce0e7; flex:1;}
.rm-card {background:#fff; border:1px solid #e7e9ee; border-radius:17px; margin-bottom:16px; padding:24px; box-shadow:0 4px 22px rgba(20,28,46,.03);}
.rm-card h2 {font-size:20px; letter-spacing:-.018em; font-weight:800; margin:0 0 5px;}
.rm-card h2 small {font-size:12px; font-weight:500; color:#77808d;}
.rm-muted {color:#76808b; font-size:13px; line-height:1.5;}
.rm-card > .rm-muted {margin:0 0 18px;}
.rm-source {background:#eff8f4; border:1px solid #b8e6cd; border-radius:14px; padding:14px 16px; display:flex; align-items:flex-start; gap:10px; margin-bottom:16px;}
.rm-source-check {border-radius:100%; background:#d1f7e5; color:#14663f; display:grid; place-items:center; width:27px; height:27px; flex:0 0 27px;}
.rm-source strong {font-size:14px; display:block; line-height:1.45;}
.rm-source small {font-size:12px; display:block; color:#4e7861; margin-top:2px;}
.rm-unit-grid {display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:9px;}
.rm-unit {margin:0; display:block; min-width:0; position:relative; cursor:pointer;}
.rm-unit input {position:absolute; opacity:0; width:1px; height:1px;}
.rm-unit span {display:flex; justify-content:center; align-items:center; text-align:center; min-height:61px; font-size:13px; font-weight:700; line-height:1.3; border:1.5px solid #e1e4ea; border-radius:11px; padding:9px; transition:background .12s,border-color .12s; background:#fff; color:#283140;}
.rm-unit input:checked + span {border-color:#d21a43; background:#fff1f4; color:#af1234; box-shadow:0 0 0 1px #d21a43 inset;}
.rm-unit input:focus-visible + span {outline:3px solid #7898f4; outline-offset:2px;}
.rm-fault-list {display:flex; flex-wrap:wrap; gap:8px; margin-bottom:19px;}
.rm-fault-chip {display:block; cursor:pointer; margin:0;}
.rm-fault-chip input {position:absolute; width:1px; height:1px; opacity:0;}
.rm-fault-chip span {display:inline-flex; align-items:center; justify-content:center; min-height:40px; padding:8px 12px; border:1px solid #dce0e6; border-radius:9px; color:#434b58; font-size:13px; background:#fafbfc;}
.rm-fault-chip input:checked + span {background:#fff0f3; border-color:#cc153a; color:#ac1032; font-weight:750;}
.rm-fault-chip input:focus-visible + span {outline:3px solid #7d9afa;}
.rm-label, .rm-field > strong {display:block; font-size:13px; font-weight:780; color:#2b3443; margin-bottom:8px;}
.rm-label small, .rm-field strong small {font-weight:500; color:#8a9099;}
.rm-field {display:block; margin:0 0 15px;}
.rm-field > small {display:block; font-size:12px; color:#89909b; margin-top:6px; line-height:1.35;}
.rm-field input, .rm-field select, .rm-field textarea, .rm-card textarea {
 width:100%; padding:12px 13px; border:1px solid #d5dbe5; border-radius:9px; background:white;
 color:#263140; font-size:16px; box-shadow:none; line-height:1.45; min-height:49px;
}
.rm-field input:focus, .rm-field select:focus, .rm-field textarea:focus, .rm-card textarea:focus {border-color:#cc1240; outline:2px solid #ffccd5; outline-offset:1px;}
.rm-card > textarea {margin-bottom:8px;}
.rm-tip {color:#486953; font-size:12px; background:#f1f9f4; padding:9px 11px; border-radius:8px; margin:7px 0 19px;}
.rm-grid {display:grid; grid-template-columns:1fr 1fr; gap:14px;}
.rm-grid .rm-field {margin:0;}
.rm-extra {margin-top:14px;}
.rm-extra[hidden] {display:none !important;}
.rm-file-control {position:absolute; width:1px; height:1px; opacity:0; overflow:hidden;}
.rm-upload {display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; cursor:pointer; border:2px dashed #e5a3b3; border-radius:12px; background:#fffbfc; padding:24px 10px; margin:0;}
.rm-upload-icon {display:grid; place-items:center; font-size:26px; width:46px; height:46px; border-radius:15px; background:#ffe4ea; color:#b81035; margin-bottom:9px;}
.rm-upload strong {font-size:15px; font-weight:800; margin-bottom:3px;}
.rm-upload small {font-size:12px; color:#818792;}
.rm-file-feedback {font-size:12px; color:#5e6b78; margin:10px 0; overflow-wrap:anywhere;}
.rm-camera {display:inline-flex; cursor:pointer; font-size:13px; font-weight:700; padding:10px 13px; border:1px solid #e2e5eb; border-radius:9px; margin:0 0 8px; background:white;}
.rm-optional {background:white; border:1px solid #e7e9ee; border-radius:14px; margin-bottom:16px; overflow:hidden;}
.rm-optional summary {padding:17px 18px; font-size:14px; font-weight:740; cursor:pointer;}
.rm-optional summary span {font-size:12px; font-weight:500; color:#7b8592;}
.rm-optional-body {padding:9px 19px 17px;}
.rm-primary {appearance:none; cursor:pointer; display:flex; align-items:center; justify-content:space-between; gap:10px; width:100%; min-height:56px; background:#c9143c; border:1px solid #c9143c; color:white; padding:12px 20px; text-decoration:none; text-align:center; font-size:16px; font-weight:800; border-radius:12px; transition:background .15s;}
.rm-primary:hover {background:#a90b2f; color:white;}
.rm-primary:disabled {opacity:.65; cursor:wait;}
.rm-step-hint {color:#9298a2; font-size:12px; text-align:center; margin:11px 0 25px;}
.rm-prev {background:transparent; border:none; display:block; margin:12px auto 0; color:#646d79; font-size:14px; cursor:pointer; padding:10px;}
.rm-ready .rm-step[data-step="2"] {display:none;}
.rm-ready.rm-on-two .rm-step[data-step="1"] {display:none;}
.rm-ready.rm-on-two .rm-step[data-step="2"] {display:block;}
.rm-ready.rm-on-two .rm-progress-item:first-child {color:#89919a;}
.rm-ready.rm-on-two .rm-progress-item:first-child b {background:white; color:#89919a; border-color:#cdd1dc;}
.rm-ready.rm-on-two #rm-progress-two {color:#b81035;}
.rm-ready.rm-on-two #rm-progress-two b {background:#c91a40; color:white; border-color:#c91a40;}
.rm-error {padding:13px 16px; background:#fff1f2; color:#8c1631; border:1px solid #f0bcc6; border-radius:11px; margin:15px 0; display:flex; flex-direction:column; gap:5px; font-size:14px;}
.rm-consent {display:flex; align-items:flex-start; gap:9px; font-size:13px; color:#55606d; line-height:1.5; margin:18px 0 0; cursor:pointer;}
.rm-consent input {width:20px; height:20px; accent-color:#c9143c; flex-shrink:0; margin-top:0;}
.rm-consent a {color:#be1238;}
.rm-required {color:#b60f36;}
.rm-account-offer {display:flex; flex-direction:column; gap:5px; border-radius:12px; background:#f5f7fd; border:1px solid #e4e9f5; padding:14px; margin-top:15px;}
.rm-account-offer strong {font-size:14px;}
.rm-account-offer span {color:#788292; font-size:12px; line-height:1.4;}
.rm-account-offer a {font-weight:700; color:#bd163a; font-size:13px; margin-top:3px;}
.rm-honeypot {position:absolute !important; width:1px !important; height:1px !important; overflow:hidden !important; left:-9999px !important;}
.rm-success-shell {text-align:center; max-width:560px; background:white; border:1px solid #e4e6ef; border-radius:20px; margin:35px auto; padding:36px;}
.rm-success-icon {display:grid; place-items:center; width:70px; height:70px; border-radius:50%; background:#e9f9ee; color:#147b4b; font-size:32px; margin:0 auto 17px;}
.rm-success-shell h1 {font-size:30px; font-weight:850;}
.rm-success-shell > p {color:#67707b; font-size:16px;}
.rm-success-benefit {display:flex; flex-direction:column; gap:13px; margin:26px 0; padding:19px; border-radius:14px; background:#f7f8fb;}
.rm-success-benefit p {font-size:14px; margin:0; color:#68727c;}
.rm-success-benefit .rm-primary {justify-content:center;}
@media(max-width:640px) {
 .rm-page {padding:16px 11px 48px;}
 .rm-intro p {font-size:14px;}
 .rm-login {flex-wrap:wrap; padding:13px;}
 .rm-login-button {margin-left:50px; width:calc(100% - 50px); text-align:center;}
 .rm-card {padding:17px; border-radius:13px;}
 .rm-card h2 {font-size:18px;}
 .rm-unit-grid {grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px;}
 .rm-unit span {min-height:58px; font-size:12px;}
 .rm-grid {grid-template-columns:1fr; gap:15px;}
 .rm-progress {gap:8px;}
 .rm-success-shell {padding:24px 17px;}
}
@media(prefers-reduced-motion:reduce) {
 .rm-primary, .rm-unit span {transition:none;}
}

.rm-catalog-faults{background:#fbfcfd;border-radius:10px;padding:12px;margin-bottom:15px;border:1px solid #e6e9ee}
.rm-catalog-faults>strong{display:block;font-size:13px;margin-bottom:10px}
.rm-catalog-faults .rm-fault-list{margin-bottom:0}
.rm-catalog-faults[hidden]{display:none !important}


/* Compact site chrome and legible headings, independent from the theme. */
.rm-page {font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;}
.rm-page .rm-intro h1,
.rm-page .rm-card h2,
.rm-page .rm-success-shell h1 {color:#17202e !important; font-family:inherit;}
.rm-page .rm-card h2 small {color:#748090;}
.rm-page .rm-unit span {font-family:inherit;}
.rm-site-header {background:#101113; margin:-20px -14px 24px; padding:13px 20px;}
.rm-site-head-wrap {max-width:800px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:64px;}
.rm-site-brand {display:block;}
.rm-site-brand img {display:block;max-width:min(230px,55vw);max-height:58px;width:auto;height:auto;}
.rm-site-head-back {color:#f1f1f3;text-decoration:none;font-size:13px;font-weight:750;white-space:nowrap;border:1px solid #56565b;border-radius:8px;padding:9px 12px;}
.rm-site-head-back:hover {color:white;border-color:#ed3159;}
.rm-site-footer {display:flex;justify-content:space-between;align-items:center;gap:15px;flex-wrap:wrap;max-width:800px;margin:50px auto 4px;border-top:1px solid #dee1e8;padding:18px 0 0;color:#777f89;font-size:12px;}
.rm-site-footer nav {display:flex;gap:15px;}
.rm-site-footer a {color:#65707e;text-decoration:none;}
.rm-site-footer a:hover {color:#b70f37;}
@media(max-width:640px){
  .rm-site-header {margin:-16px -11px 22px;padding:12px 14px;}
  .rm-site-head-wrap {min-height:52px;}
  .rm-site-brand img {max-width:min(190px,51vw);max-height:50px;}
  .rm-site-head-back {padding:9px 9px;font-size:11px;}
}

/* Three compact steps for visitors; two for authenticated customers. */
.rm-ready .rm-step {display:none !important}
.rm-ready.rm-stage-1 .rm-step[data-step="1"],
.rm-ready.rm-stage-2 .rm-step[data-step="2"],
.rm-ready.rm-stage-3 .rm-step[data-step="3"] {display:block !important}
.rm-progress .rm-progress-item {min-width:0;font-size:12px}
.rm-progress-item.rm-progress-active b {background:#c91a40;color:white;border-color:#c91a40}
.rm-progress-item:not(.rm-progress-active) b {background:white;color:#858c99;border-color:#d0d4dc}
.rm-specific-questions {background:#f8f9fb;border-radius:12px;padding:15px;margin:12px 0 16px;border:1px solid #e9ecf1}
.rm-specific-questions .rm-field:last-child {margin-bottom:0}
.rm-manual-vehicle {margin:10px 0 15px}
.rm-vehicle-grid {margin-top:15px}
.rm-vehicle-grid .rm-field {margin-bottom:0}
.rm-login-confirm {border-color:#d8eede;background:#f9fffb}
.rm-diagnosis>.rm-optional-body {padding:0}
.rm-diagnosis .rm-extra:first-child {margin-top:0}
.rm-fault-chip input[value="Otro fallo"]+span {border-style:dashed}
@media (max-width:640px) {
 .rm-progress .rm-progress-item {gap:5px;font-size:10px}
 .rm-progress .rm-progress-item b {width:25px;height:25px;flex:0 0 25px}
 .rm-progress {gap:5px}
 .rm-specific-questions {padding:12px}
}

/* Plate lookup is a non-blocking enhancement. */
.rm-plate-field .rm-plate-button{
 display:inline-flex;align-items:center;justify-content:center;
 min-height:42px;margin-top:9px;padding:9px 14px;background:#fff;
 border:1px solid #c9143c;color:#ad1235;border-radius:9px;
 font-size:13px;font-weight:800;cursor:pointer;
}
.rm-plate-field .rm-plate-button:hover{background:#fff0f4}
.rm-plate-field .rm-plate-button:disabled{opacity:.62;cursor:wait}
.rm-plate-feedback{
 margin:15px 0 7px;padding:12px 14px;border-radius:10px;
 background:#edf7f2;border:1px solid #cfe6d6;color:#215d40;
 font-size:13px;line-height:1.5;
}
.rm-plate-feedback[data-kind=warning]{
 background:#fff8ed;border-color:#f0ddb5;color:#855622;
}
.rm-plate-feedback[data-kind=info]{
 background:#eff5ff;border-color:#cfdef6;color:#2a5784;
}
.rm-plate-feedback[hidden],.rm-plate-captcha[hidden]{display:none!important}
.rm-plate-captcha{margin:12px 0 5px;min-height:70px}
.rm-manual-vehicle .rm-optional-body{padding-top:14px}

/* Label photo is a first-class field beside the reference. */
.rm-piece-photo .rm-photo-choice {
 display:inline-flex;align-items:center;justify-content:center;min-height:46px;
 cursor:pointer;border-radius:10px;padding:10px 13px;
 color:#fff;background:#c9143c;border:1px solid #c9143c;
 font-size:13px;font-weight:800;text-align:center;
 margin:1px 8px 8px 0;
}
.rm-piece-photo .rm-photo-secondary{
 color:#b60d37;background:#fff;
}
.rm-piece-photo .rm-photo-choice:hover{box-shadow:0 0 0 2px #ffd3de;}
.rm-piece-photo>small{display:block;font-size:12px;color:#748092;margin-top:2px;}
.rm-diagnostic-other {
 display:block;width:100%;margin-top:10px;padding:12px 13px;min-height:47px;
 border:1px solid #c9143c;border-radius:9px;font-size:16px;
}
.rm-diagnostic-other[hidden]{display:none!important;}
.rm-four-vehicle{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;}
@media(max-width:640px){
 .rm-four-vehicle{grid-template-columns:1fr}
 .rm-piece-photo .rm-photo-choice{width:100%;margin-right:0}
}


/* Odoo's .rm-field input rule must not expand hidden file controls.
   Keep native gallery/camera inputs accessible through their labels. */
.rm-page input.rm-file-control {
  position:absolute !important;
  width:1px !important;
  height:1px !important;
  min-height:1px !important;
  max-width:1px !important;
  padding:0 !important;
  margin:0 !important;
  border:0 !important;
  overflow:hidden !important;
  opacity:0 !important;
  clip-path:inset(50%);
}

/* One uninterrupted grey surface for the category-specific questions. */
.rm-specific-questions .rm-cluster-km:not([hidden]) {
  margin-bottom: 15px;
}
.rm-specific-questions #rm-category-questions .rm-field:last-child {
  margin-bottom: 0;
}


/* Vehicle ID: European plate, light note, then required fuel + canonical master grid. */
.rm-plate-top{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);
 align-items:center;gap:14px;margin:10px 0 17px;}
.rm-plate-license{display:flex;min-width:0;height:51px;border:1px solid #cbd4e3;
 border-radius:8px;overflow:hidden;background:#fff;align-items:center;}
.rm-plate-license:focus-within{outline:2px solid #1853a1;outline-offset:0;}
.rm-license-eu{align-self:stretch;min-width:48px;background:#16459f;color:white;
 display:flex;align-items:center;flex-direction:column;justify-content:center;font-size:12px;gap:0;}
.rm-license-eu span{color:#f3c831;font-size:16px;line-height:18px;}
.rm-license-eu strong{font-size:14px;line-height:18px;color:white;}
.rm-plate-field .rm-plate-license input{min-width:0;border:0!important;box-shadow:none!important;
 outline:none!important;flex:1;padding:9px 10px;text-align:center;font-weight:700;
 letter-spacing:1px;background:transparent;}
.rm-plate-explain{margin:0;color:#667484;font-size:13px;line-height:1.45;}
@media(max-width:600px){.rm-plate-top{grid-template-columns:1fr;gap:7px}
.rm-plate-explain{font-size:12px}.rm-license-eu{min-width:42px}}

/* Compact photo controls: neutral Odoo-like styling on desktop; touch-friendly on mobile. */
.rm-piece-photo .rm-photo-actions {
 display:flex; flex-wrap:wrap;align-items:center;gap:8px;margin-top:8px;
}
.rm-piece-photo .rm-photo-actions .rm-photo-choice {
 width:auto;min-height:38px;margin:0;padding:8px 13px;
 border:1px solid #cdd5df;border-radius:8px;
 background:#fff;color:#343b46;font-size:13px;font-weight:600;
 box-shadow:none;line-height:1.3;
}
.rm-piece-photo .rm-photo-actions .rm-photo-choice:hover {
 border-color:#c9143c;background:#fff7f9;color:#a90e35;
 box-shadow:none;
}
.rm-piece-photo .rm-photo-actions .rm-photo-choice:focus-within,
.rm-piece-photo .rm-photo-actions .rm-photo-choice:focus-visible {
 outline:2px solid #c9143c;outline-offset:2px;
}
.rm-dtc-delete[hidden] {display:none!important;}
@media(min-width:768px) {
 .rm-piece-photo .rm-photo-actions .rm-photo-camera{display:none;}
}
@media(max-width:640px) {
 .rm-piece-photo .rm-photo-actions .rm-photo-choice {
   flex:1 1 135px;min-height:44px;max-width:100%;
   padding:11px 9px;
 }
}


/* Desktop piece-photo control: use the whole second column, not a small button.
   On touch devices retain two finger-friendly camera/gallery actions. */
@media (min-width: 768px) {
  .rm-piece-photo .rm-photo-actions {
    width: 100%;
  }
  .rm-piece-photo .rm-photo-actions .rm-photo-secondary {
    display: flex;
    width: 100%;
    flex: 1 1 100%;
    min-height: 58px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border: 1px dashed #bac5d5;
    border-radius: 11px;
    background: #f8fafc;
    color: #303a4b;
    font-size: 14px;
    font-weight: 650;
    cursor: pointer;
    transition: background .16s ease, border-color .16s ease;
  }
  .rm-piece-photo .rm-photo-actions .rm-photo-secondary::before {
    content: "+";
    display: inline-flex;
    width: 25px;
    height: 25px;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: #fbeaf0;
    color: #b90f3c;
    font-size: 19px;
    line-height: 1;
  }
  .rm-piece-photo .rm-photo-actions .rm-photo-secondary:hover {
    background: #fff4f7;
    border-color: #c9143c;
    color: #b30f3a;
  }
}
