/* KAZAJOZ V1519.7 · Add-on de mecánica para corredores */
#app .nav [data-kazajoz-rider-mechanics]{border:1px solid #4ba2e2;background:#163b67;color:#fff;margin-top:8px;min-height:44px}
#app .nav [data-kazajoz-rider-mechanics]:hover{background:#0c66ab}
#app .nav .mek-icon{width:19px;display:inline-block;font-size:19px}
#app .page-intro .mek-quick-entry{display:inline-flex;align-items:center;justify-content:center;gap:9px;white-space:nowrap;border:1px solid #b5d7ee;background:#e8f5ff;color:#115589;border-radius:11px;padding:10px 14px;font-weight:750;min-height:42px;margin-left:auto}
#app .page-intro .mek-quick-entry:hover{background:#d5edff}
body.mek-open{overflow:hidden}
.mek-shade,.mek-shade *{box-sizing:border-box}
.mek-shade{position:fixed;inset:0;z-index:10000;overflow-y:auto;background:rgba(7,22,41,.72);display:flex;align-items:flex-start;justify-content:center;padding:clamp(9px,3vw,24px)}
.mek-card{width:min(760px,100%);max-height:calc(100dvh - 30px);overflow:hidden;display:flex;flex-direction:column;background:#fff;color:#173954;border-radius:17px;box-shadow:0 18px 56px #061c2c66;border:1px solid #c3d5e7}
.mek-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:20px 24px;background:linear-gradient(115deg,#0a2a50,#16598c);color:white;flex:none}
.mek-header small{font-size:10px;letter-spacing:.09em;color:#b4d4ec}.mek-header h2{margin:4px 0 0;font-size:24px;line-height:1.2;color:#fff}
.mek-header button{width:39px;height:39px;background:#ffffff24;color:#fff;font-size:29px;line-height:1;border:1px solid #ffffff55;border-radius:10px}
.mek-body{padding:23px 26px 26px;overflow:auto;min-height:130px}
.mek-intro{color:#5d7288;font-size:13px;line-height:1.55;margin:0 0 18px}
.mek-race-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(205px,1fr));gap:10px;margin-bottom:18px}
.mek-race{display:grid;gap:7px;text-align:left;padding:13px 15px;background:#f7fbff;border:1px solid #c8ddec;border-radius:10px;color:#163b5c;min-height:74px}
.mek-race strong{font-size:13px;line-height:1.35}.mek-race span{font-size:11px;color:#5a7892}
.mek-race.selected{border-color:#176bb0;background:#e6f3ff;box-shadow:inset 0 0 0 1px #176bb0}
.mek-selected{border-top:1px solid #e3ebf1;padding-top:20px}.mek-selected h3{font-size:19px;margin:0 0 5px}
.mek-small,.mek-foot{font-size:12px;color:#627a8e;line-height:1.5}.mek-foot{border-top:1px solid #e6edf4;padding-top:15px;margin:20px 0 0}
.mek-summary{background:#edf6fc;border:1px solid #c5dfef;border-radius:11px;padding:11px 15px;margin:15px 0;display:grid;gap:7px}
.mek-summary p{font-size:12px;margin:0;line-height:1.55}
.mek-selected form{display:grid;gap:14px;margin:16px 0}
.mek-selected fieldset{border:1px solid #dae6ee;border-radius:10px;padding:12px 15px;margin:0}
.mek-selected legend{font-size:12px;font-weight:750;padding:0 7px}
.mek-selected label:not(.mek-choice){display:grid;gap:8px;font-size:12px;font-weight:700;color:#203e58}
.mek-selected .mek-choice{display:flex;align-items:center;gap:9px;line-height:1.7;font-size:13px;margin:7px 0}
.mek-selected input[type=radio]{width:17px;height:17px;flex:none}
.mek-selected input:not([type=radio]),.mek-selected textarea{display:block;width:100%;border:1px solid #c7d5e2;border-radius:9px;background:#fff;color:#20364c;padding:11px 12px;font-size:13px;min-height:42px;line-height:1.5}
.mek-selected input[type=file]{font-size:12px;min-width:0}.mek-selected small{font-size:11px;color:#678095;line-height:1.45}
.mek-issue-fields{display:grid;gap:13px}.mek-issue-fields[hidden]{display:none!important}
.mek-primary{background:#0d609b;color:#fff;border:0;border-radius:10px;padding:12px 16px;font-size:13px;font-weight:750;min-height:42px;justify-self:start}
.mek-primary:hover{background:#1376b8}.mek-primary:disabled{opacity:.55;cursor:wait}
.mek-empty{padding:25px 20px;background:#f5f9fc;border:1px dashed #c5d8e6;border-radius:10px;text-align:center;font-size:13px;line-height:1.6;color:#59718a}
.mek-error{padding:12px 15px;border:1px solid #e5b0b7;color:#a33142;background:#fff0f2;border-radius:10px;margin:0 0 16px;font-size:12px}
.mek-loading{padding:25px;text-align:center;color:#6c8293}
.mek-actions{padding:12px 24px;border-top:1px solid #e2eaf1;display:flex;justify-content:space-between;gap:9px;background:#f8fafc;flex:none}
.mek-actions button{border:1px solid #cbdbe6;background:#fff;color:#194d75;border-radius:8px;padding:9px 11px;min-height:38px;font-weight:700;font-size:12px}
.mek-chat{border-top:1px solid #e1eaf1;margin-top:24px;padding-top:18px}
.mek-chat h3{font-size:15px;margin:0 0 13px}
.mek-messages{background:#f8fbfd;border-radius:11px;padding:12px;border:1px solid #e0e9f0;display:grid;gap:9px;max-height:230px;overflow:auto}
.mek-message{padding:10px 12px;border-radius:9px;background:#eef3f8;border:1px solid #d8e5ef}
.mek-message.self{background:#e5f5ff;border-color:#badcf0}
.mek-message span{font-size:10px;color:#61788c}.mek-message p{font-size:12px;margin:6px 0 0;color:#203e56;overflow-wrap:anywhere}
.mek-link-btn{display:inline-flex;justify-content:center;text-decoration:none;border:1px solid #c5deef;border-radius:8px;padding:8px 10px;color:#0d6399;font-size:12px;background:#f5fbff;max-width:100%}
.mek-photo-preview{padding-top:15px}.mek-photo-preview img{max-width:100%;max-height:330px;object-fit:contain;border-radius:9px;border:1px solid #cbdbe5}
@media(max-width:640px){.mek-shade{padding:0}.mek-card{width:100%;max-height:100dvh;height:100dvh;border-radius:0}.mek-header{padding:17px 16px}.mek-header h2{font-size:22px}.mek-body{padding:16px 15px 24px}.mek-race-list{grid-template-columns:1fr}.mek-actions{padding:11px 14px}#app .page-intro .mek-quick-entry{margin:11px 0 0;align-self:flex-start}}
