.route-toolbar{display:flex;align-items:end;gap:12px;flex-wrap:wrap}.route-toolbar label{display:grid;gap:6px;font-size:14px}.route-toolbar input,.route-toolbar select{max-width:100%;min-height:44px}.route-layout{display:grid;grid-template-columns:290px minmax(0,1fr);gap:20px}.route-layout .panel{min-width:0}.route-work{min-height:350px}button,.action-link{cursor:pointer}body button:not(.dialog-title button),.action-link{border:1px solid #ccd5dc;border-radius:9px;padding:10px 14px;background:white;color:#12324d;font:600 14px Inter,system-ui;text-decoration:none;min-height:42px}body .heading button,#addStop,.dialog-actions button{background:#cda153;border-color:#cda153}.route-choice{width:100%;text-align:left;margin-bottom:9px;display:grid;gap:5px}.route-choice.selected{background:#12324d;color:white;border-color:#12324d}.route-choice small{font-size:14px;opacity:.85}.stop-card{border:1px solid #dce3e7;border-radius:12px;padding:18px;margin:14px 0}.stop-top{display:flex;gap:12px;align-items:start;justify-content:space-between}.stop-top h3{font-size:18px;margin:0 0 6px}.stop-top p{margin:6px 0;font-size:14px;line-height:1.5;overflow-wrap:anywhere}.stop-number{background:#eef2f5;min-width:32px;height:32px;display:grid;place-items:center;border-radius:50%;font-weight:700}.stop-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.stop-actions .quiet{border:0;color:#657686}.stop-status{padding:5px 8px;background:#eef2f5;border-radius:8px;font-size:14px}.stop-status.realizada{background:#e5f2ea;color:#276244}.stop-status.ausente,.stop-status.aplazada{background:#f6edda;color:#895c16}.contact-item,.followup{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:15px 0;border-bottom:1px solid #e1e6e9}.contact-item p,.followup p{margin:5px 0;font-size:14px}.dialog-pad{padding:22px}.client-form-grid label{font-size:14px}.client-form-grid input,.client-form-grid textarea,.client-form-grid select{font-size:16px}button:disabled{opacity:.5;cursor:default}#pageError{padding:16px;background:#fae7e4;color:#9b382f;border-radius:12px}#toast{z-index:10000;max-width:90vw}dialog #toast{position:sticky}.route-work>div[hidden]{display:none}.followup.overdue{border-left:3px solid #a36916;padding-left:12px}#routeList{max-height:620px;overflow:auto}#visitHistory .stop-card{margin-top:0}.empty-copy{padding:20px 0;color:#647586}body header{height:auto;min-height:72px;gap:14px;flex-wrap:wrap;padding-top:12px;padding-bottom:12px}body header nav a{display:inline;font-size:14px}body header nav{gap:14px}a{color:#12324d}.route-toolbar input[type=search]{width:300px}.error-inline{background:#fae7e4;color:#9b382f;padding:12px;margin:12px;border-radius:8px}body dialog form{display:block}.route-empty-link{display:inline-block;margin-top:10px}#routeSubtitle{font-size:14px;color:#647586}
.route-toolbar button[aria-pressed=true]{background:#12324d;color:#fff;border-color:#12324d}
@media(max-width:850px){.route-layout{grid-template-columns:1fr}#routeList{display:flex;gap:10px;overflow:auto;max-height:none}.route-choice{min-width:230px;width:230px;flex-shrink:0}.route-toolbar{align-items:stretch}.route-toolbar label{flex:1 1 150px}.contact-item,.followup{align-items:start;flex-wrap:wrap}.stop-top{flex-wrap:wrap}.stop-status{margin-left:auto}.heading h1{font-size:32px}.panel{padding:16px}main{margin-top:20px}.stop-actions .action-link,.stop-actions button{flex:1 1 auto;text-align:center}.route-toolbar input[type=search]{width:100%}}

#requestsPanel{margin-bottom:20px}#requestsPanel .panel-head{align-items:start;gap:12px;flex-wrap:wrap}#requestsPanel .panel-head p{margin:5px 0 0;color:#596b79;line-height:1.45}#requestManageForm .dialog-actions{flex-wrap:wrap;gap:10px}
.agenda-summary{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0 20px}.agenda-summary strong{font-size:14px;background:#eef2f5;padding:9px 12px;border-radius:8px}.agenda-summary .agenda-alert{background:#fce8df;color:#a33d26}
.agenda-group{margin:22px 0 28px}.agenda-group h3{font-size:20px;margin:0 0 11px}.agenda-item{border:1px solid #dce3e7;border-radius:12px;padding:16px 18px;margin:10px 0;min-width:0}.agenda-item.overdue{border-left:5px solid #b54730;background:#fff9f7}.agenda-item.undated{border-left:5px solid #b68931;background:#fffcf6}.agenda-date{font-weight:700;color:#12324d;margin-right:12px}.agenda-item.overdue .agenda-date{color:#a33d26}.agenda-kind,.agenda-rep,.agenda-note{color:#596b79}.agenda-item h4{font-size:18px;margin:8px 0 4px}.agenda-item p{font-size:14px;line-height:1.45;margin:4px 0;overflow-wrap:anywhere}.agenda-item .stop-actions{margin-top:12px}.agenda-item .agenda-note{white-space:pre-line}
@media(max-width:850px){#requestsPanel .panel-head .stop-actions{margin-top:8px}.agenda-item{padding:14px}.agenda-item .stop-actions button,.agenda-item .stop-actions .action-link{flex:1 1 auto}}
