.moto-preview{display:flex;align-items:center;gap:24px;background:#f4f7fb;border-radius:12px;padding:16px}.moto-preview img{object-fit:contain;background:white;border-radius:8px}.moto-preview small{display:block;margin:8px 0;color:#596b85}.moto-preview a,.section-card a{color:#285ebe}#duplicate-warning:not(:empty){padding:14px;background:#fff1d7;border:1px solid #e4b14e;border-radius:10px;color:#724511}#whatsapp-link{display:none!important}.converted{background:#edf8f5;border-radius:10px;padding:14px}.converted input{font-size:24px;font-weight:750;color:#087d70}.form-grid small,.muted{font-size:14px;line-height:1.5;color:#66758b}.calendar-layout{display:grid;grid-template-columns:minmax(380px,1.3fr) minmax(300px,1fr);gap:20px}.calendar-toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.calendar-toolbar h2{text-transform:capitalize;margin:0}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;margin-top:18px}.weekday{text-align:center;font-size:14px;color:#6c7c90;padding:8px 0}.calendar-cell{min-height:94px;text-align:left;border:1px solid #e4e9f1;border-radius:8px;background:#fff;display:flex;flex-direction:column;align-items:flex-start;padding:8px;gap:6px;cursor:pointer;color:#172844}.calendar-cell b{font-size:16px}.calendar-cell span{font-size:12px;color:#285ebe}.calendar-cell small{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;color:#6c7c90}.calendar-cell:hover{background:#f0f5ff}.calendar-cell.selected{background:#eaf1ff;border:2px solid #477cf3}.calendar-cell.today b{border-radius:50%;background:#172844;color:#fff;padding:3px 7px}.calendar-layout .agenda-row{flex-wrap:wrap;gap:10px}.calendar-layout .agenda-name{min-width:130px}.presence-label{padding:6px 10px;background:#eef1f5;border-radius:6px;color:#62718a;width:fit-content}.presence-label.online{background:#e3f6ed;color:#0b7854}.location-state{font-weight:650;color:#0a7160}#due-dialog{max-width:850px;width:90vw}#account-dialog{max-width:680px}#quote-document{display:none}body[data-role=vendedor] .team-panel{display:none}#account-status,#password-status{font-size:14px;color:#a12838}.section-card p{line-height:1.6}.quote-motorcycle{display:flex;align-items:center;gap:40px}.quote-motorcycle img{width:300px;height:230px;object-fit:contain}.quote-brand{border-bottom:4px solid #e83242;padding-bottom:10px}.quote-brand h1{color:#182c50}.section-card select{max-width:100%}@media(max-width:1100px){.calendar-layout{grid-template-columns:1fr}.calendar-cell{min-height:85px}}@media(max-width:600px){.calendar-cell{padding:5px;min-height:72px}.calendar-cell span{font-size:12px}.calendar-cell small{display:none}.calendar-grid{gap:2px}.moto-preview{flex-direction:column;gap:8px}.calendar-toolbar h2{font-size:19px}.quote-motorcycle img{width:160px}}@media print{#quote-document{display:block!important}dialog{display:none!important}.quote-motorcycle img{width:270px;height:210px}#quote-document a{color:inherit}}
button:disabled{cursor:not-allowed}
.calendar-layout>article:nth-child(2){max-height:760px;overflow:auto}
/* Colores de etapa y seguimiento de metas por marca. */
.colored-column{background:color-mix(in srgb,var(--stage-accent) 7%,#fff);border-top:5px solid var(--stage-accent);border-radius:12px;padding:14px}.colored-column .column-heading{color:#142844}.lead-card.stage-card{border-left:5px solid var(--stage-accent);background:color-mix(in srgb,var(--stage-accent) 8%,white)}.lead-card.stage-card:hover{background:color-mix(in srgb,var(--stage-accent) 15%,white);border-color:var(--stage-accent)}.card-stage{display:inline-block;font-size:14px;font-weight:700;margin:10px 0 0;padding:3px 8px;border-radius:5px;background:color-mix(in srgb,var(--stage-accent) 18%,white);color:#172b46}.credit-fields{border-top:1px solid #dce5f0;padding-top:16px}.credit-fields[hidden]{display:none}.payment-summary{padding:18px;background:#eef5ff;border:1px solid #cadcf5;border-radius:12px;color:#172b46;line-height:1.6}.payment-summary .payment-summary{border:0;padding:0}.payment-summary h2{font-size:20px;margin-top:0}.credit-totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.credit-totals span{display:block;font-size:14px}.credit-totals strong{display:block;font-size:21px}.payment-summary small{display:block;font-size:14px}.goals-panel{margin-bottom:24px}.goal-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.goal-actions input{width:180px}.brand-goals{display:grid;grid-template-columns:1fr 1fr;gap:24px}.brand-goal{padding:22px;background:#eff4ff;border-radius:12px}.brand-goal.haojue{background:#fff0f1}.goal-numbers{display:flex;gap:10px;align-items:baseline;margin:12px 0}.goal-numbers strong{font-size:38px;color:#173c82}.goal-numbers span{color:#51627a;font-size:14px}.goal-numbers b{margin-left:auto;color:#173c82}.haojue .goal-numbers strong,.haojue .goal-numbers b{color:#a62336}.goal-track{height:10px;background:#d8e3f7;border-radius:6px;overflow:hidden;margin-bottom:12px}.goal-track span{display:block;height:100%;background:#3269cc}.haojue .goal-track{background:#f0cfd5}.haojue .goal-track span{background:#d3364e}.brand-goal small{font-size:14px;color:#455875}.goals-panel>.muted{margin:16px 0 0}#goals-dialog{width:min(640px,94vw)}#goals-status{color:#a12838}body[data-role=vendedor] #dash-seller,body[data-role=vendedor] #seller-filter{display:none}@media(max-width:650px){.brand-goals{grid-template-columns:1fr}.credit-totals{grid-template-columns:1fr}.goals-panel .chart-heading{flex-wrap:wrap;gap:14px}.goal-numbers strong{font-size:32px}}@media print{.credit-totals{grid-template-columns:repeat(3,1fr)}.payment-summary{break-inside:avoid;background:white;border:1px solid #8395ac}}

.account-remove{color:#a21e32;margin:10px 0 0 8px;border-color:#e5bac2}.removed-accounts{margin-top:24px}.removed-accounts summary{cursor:pointer;font-weight:700}.removed-row{display:flex;gap:20px;justify-content:space-between;align-items:center;padding:12px 0;border-top:1px solid #e0e6ee}#remove-account-dialog{max-width:520px}#remove-account-dialog p{line-height:1.6}#remove-account-status{color:#a21e32}

#remove-lead-dialog{max-width:540px}#remove-lead-dialog p{line-height:1.6}#remove-lead-error{color:#a21e32}.quote-bank{break-inside:avoid;border-top:1px solid #adb9c8;margin-top:18px;padding-top:14px;font-size:14px}.quote-bank .credit-totals{grid-template-columns:1fr 1fr;margin-top:12px}.quote-bank p{line-height:1.6}@media print{.quote-motorcycle img{height:150px;width:210px}.quote-bank{font-size:12px}}

.dash-controls{flex-wrap:wrap;justify-content:flex-end}.dash-controls #report-days{max-width:230px}@media(max-width:750px){.dash-controls{justify-content:flex-start}}
/* The editor shows the current task and keeps earlier data in collapsible sections. */
.lead-stage-header{padding:18px;background:#f3f6fc;border:1px solid #dce5f4;border-radius:12px;margin-bottom:18px;display:grid;grid-template-columns:1fr auto;gap:8px 16px;align-items:end}
.lead-stage-header p{grid-column:1/-1;margin:0;color:#53657d;font-size:13px;line-height:1.5}
.lead-stage-header label{margin:0}
.lead-stage-sections details,.lead-history{border:1px solid #e0e6ef;border-radius:12px;margin:12px 0;padding:14px 18px}
.lead-stage-sections summary,.lead-history summary{cursor:pointer;font-weight:700;color:#1c304f}
.lead-stage-sections details[open] summary{margin-bottom:16px}
.lead-stage-sections details[hidden],.lead-stage-sections label[hidden]{display:none!important}
.lead-stage-sections #model-preview{grid-column:1/-1}
.lead-stage-sections .form-grid>p{margin:0;color:#5e7088;line-height:1.6}
.lead-history #history{margin-top:14px}
@media(max-width:600px){.lead-stage-header{grid-template-columns:1fr}.lead-stage-header .btn{width:100%}.lead-stage-sections details{padding:14px}.form-footer{flex-wrap:wrap}}

.followup-filters{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:20px;align-items:end}.followup-filters label{flex:1;min-width:160px}.followup-filters input,.followup-filters select{width:100%}.repeat-purchase-action{margin:10px 0}.quote-discount{padding:12px;background:#eef7f3;border-radius:8px;margin:12px 0}
