/* GARAGEM88 V8.101 — Detalhes modernos e Ordem de Serviço; exclusivo do painel da Agenda. */
.agenda-detail-overlay{background:rgba(11,29,46,.52)!important;backdrop-filter:blur(2px)}
.agenda-detail{width:min(555px,96vw)!important;height:100dvh!important;padding:0!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;background:#f7faff!important;box-shadow:-20px 0 70px #0d243c36!important;font-family:Inter,'Segoe UI',Arial,sans-serif!important;color:#173552}
.agenda-detail button,.agenda-detail textarea{font-family:Inter,'Segoe UI',Arial,sans-serif!important}
.agenda-detail-head{background:white!important;padding:21px 24px!important;display:flex;align-items:center;gap:10px;border-bottom:1px solid #dce7f1!important;flex:0 0 auto}
.agenda-detail-heading{display:flex;align-items:center;gap:12px;min-width:0;flex:1}
.agenda-detail-heading-icon{display:grid;place-items:center;width:44px;height:44px;flex:0 0 44px;border-radius:12px;background:#e9f3ff;color:#1768d4}
.agenda-detail-head h2{margin:0!important;font-size:18px!important;letter-spacing:-.3px;color:#142f49;font-weight:800!important}
.agenda-detail-heading p{margin:3px 0 0;font-size:11px;color:#7a8ca0}
.agenda-detail-close{display:grid;place-items:center;width:36px;height:36px;flex:0 0 36px;border:0!important;border-radius:10px;background:#f1f6fb!important;color:#395c78;font-size:25px!important;line-height:1}
.agenda-detail-close:hover{background:#e4effa!important}
#agendaDetailContent{flex:1!important;min-height:0!important;display:flex!important;flex-direction:column!important}
.g88-details-body{flex:1;min-height:0;overflow-y:auto;padding:20px 22px;scrollbar-color:#becbdb transparent;scrollbar-width:thin}
.agenda-detail-summary,.agenda-detail-services-section,.agenda-detail-notes,.agenda-message{background:#fff!important;border:1px solid #dce7f2!important;border-radius:13px!important;box-shadow:0 1px 3px #153d6108}
.agenda-detail-summary{padding:18px 18px 14px;margin-bottom:13px}
.agenda-detail-summary-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:11px;flex-wrap:wrap}
.agenda-detail-kicker{font-size:10px;font-weight:800;letter-spacing:1.1px;color:#7b91a7}
.agenda-detail-status{padding:5px 10px;background:#eef5ff;color:#1768d4;border-radius:999px;font-weight:750;font-size:11px}
.agenda-detail-person{font-size:20px;display:block;font-weight:800;color:#143655;letter-spacing:-.4px;line-height:1.2}
.agenda-detail-car{font-size:14px;color:#607c94;margin:3px 0 13px}
.agenda-detail-datetime{display:flex;align-items:center;gap:9px;padding-top:10px;border-top:1px solid #ecf1f7;font-size:12px;font-weight:700;color:#315b80}
.agenda-detail-section{padding:15px 17px!important;margin:0 0 13px!important;border-bottom:0!important}
.agenda-detail-section-title{display:flex;align-items:center;gap:9px;font-size:14px;color:#1a3754;font-weight:800}
.agenda-detail-mini-icon{display:grid;place-items:center;width:27px;height:27px;min-width:27px;border-radius:8px;background:#eaf3ff;color:#1768d4;font-size:17px;line-height:1}
.agenda-detail-count{font-size:11px;color:#1768d4;padding:3px 7px;border-radius:20px;background:#eaf3ff}
.agenda-detail-services{display:flex;flex-direction:column;gap:7px;margin-top:13px!important;max-height:185px;overflow-y:auto;scrollbar-width:thin}
.agenda-detail-service{display:flex;align-items:center;gap:10px;background:#f7faff!important;border:1px solid #e1eaf4!important;padding:9px 10px!important;color:#24425d;font-size:13px;line-height:1.35}
.agenda-detail-index{background:#e7f1ff;color:#1768d4;width:23px;height:23px;border-radius:7px;display:grid;place-items:center;flex:0 0 23px;font-size:11px;font-weight:800}
.agenda-detail-notes p{margin:12px 0 0 2px;color:#536b80;line-height:1.45;font-size:12px;white-space:pre-wrap}
.agenda-message{margin:0!important;padding:15px 17px!important;background:#fff!important}
.agenda-message-title{margin-bottom:11px!important;display:flex;align-items:center;gap:9px}
.agenda-message-title strong{font-size:14px;display:block;color:#1a3754}
.agenda-message-title small{font-size:11px;color:#8393a2;display:block;margin-top:2px;font-weight:400}
.agenda-message textarea{border:1px solid #d3e1ed!important;background:#fafdff!important;border-radius:8px!important;display:block;width:100%;min-height:145px!important;max-height:230px;resize:vertical!important;padding:11px 12px!important;color:#344d64!important;font-size:12px!important;line-height:1.55!important;outline:none}
.agenda-message textarea:focus{border-color:#388aea!important;box-shadow:0 0 0 3px #e3f2ff}
.g88-details-footer{flex:0 0 auto;border-top:1px solid #dce7f1;background:white;padding:15px 22px 14px}
.g88-details-footer .agenda-detail-actions{display:grid!important;grid-template-columns:1fr 1.14fr 1fr;gap:8px;margin:0!important;padding:0!important}
.g88-details-footer .agenda-detail-actions button{min-width:0!important;white-space:nowrap;display:flex;align-items:center;justify-content:center;gap:6px;border-radius:9px!important;font:700 12px Inter,'Segoe UI',Arial,sans-serif!important;min-height:42px;cursor:pointer;transition:background .15s}
.g88-details-footer .agenda-send{background:#19a957!important;color:white!important;border:1px solid #19a957!important;padding:10px 12px!important}
.g88-details-footer .agenda-print-btn{background:#1768d4!important;color:white!important;border:1px solid #1768d4!important;padding:10px 9px!important}
.g88-details-footer .agenda-edit-btn{background:#f3f8fe!important;color:#1768d4!important;border:1px solid #bcd8f8!important;padding:10px 10px!important}
.g88-details-footer .agenda-delete-btn{display:block;margin:11px auto 0!important;background:transparent!important;border:0!important;color:#ba5360!important;font-size:12px!important;font-weight:650!important;padding:4px 8px!important;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
@media(max-width:560px){.agenda-detail-head{padding:14px 16px!important}.g88-details-body{padding:14px 13px}.g88-details-footer{padding:12px 13px}.agenda-detail-head h2{font-size:16px!important}.agenda-detail-heading p{font-size:10px}.g88-details-footer .agenda-detail-actions button{font-size:11px!important}.agenda-detail-summary{padding:15px 13px}}
@media(max-width:370px){.g88-details-footer .agenda-detail-actions{grid-template-columns:1fr}.g88-details-footer .agenda-detail-actions button{min-height:37px}.g88-details-footer .agenda-delete-btn{margin-top:4px!important}}
