.mdes-cal-root{--mdes-blue:#1d568a;--mdes-border:#e3eaf0;--mdes-text:#26384a;font-family:inherit;color:var(--mdes-text);line-height:1.45}.mdes-cal-root *{box-sizing:border-box}.mdes-cal-root button{font:inherit;cursor:pointer}.mdes-cal-shell{background:#fff;border:1px solid var(--mdes-border);border-radius:18px;padding:22px;box-shadow:0 12px 35px rgba(24,57,82,.06)}.mdes-header{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-bottom:22px}.mdes-cal-logo{max-width:110px;max-height:70px;object-fit:contain}.mdes-header-text{flex:1;min-width:180px}.mdes-header h2{font-size:clamp(21px,2.6vw,30px);margin:0;color:#1b3e5c}.mdes-header p{margin:4px 0 0;color:#738494}.mdes-year-controls{display:flex;align-items:center;gap:12px}.mdes-year-controls strong{font-size:24px}.mdes-year-controls button,.mdes-close{border:1px solid var(--mdes-border);background:#f8fafc;color:#244c6a;border-radius:9px;min-width:36px;min-height:36px;font-size:25px}.mdes-year-controls button:disabled{opacity:.35;cursor:not-allowed}.mdes-months{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.mdes-month{display:block;text-align:left;border:1px solid var(--mdes-border);border-radius:13px;background:#fff;padding:13px;color:inherit;transition:box-shadow .2s,border-color .2s;min-width:0}.mdes-month:hover{border-color:#9ac1de;box-shadow:0 7px 22px rgba(29,86,138,.12)}.mdes-month-title{font-size:16px;font-weight:750;color:#1d568a;margin-bottom:10px}.mdes-weekdays,.mdes-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px}.mdes-weekdays{margin-bottom:5px}.mdes-weekdays span{text-align:center;font-size:10px;font-weight:750;color:#8796a4}.mdes-day,.mdes-empty{position:relative;display:flex;align-items:center;justify-content:center;flex-direction:column;aspect-ratio:1;min-width:0;border-radius:6px}.mdes-day{border:1px solid transparent;background:#f8fafc;color:#344b5f;font-size:12px;padding:0}.mdes-day:hover{border-color:#5d99c5}.mdes-today{outline:2px solid #3d88c4;outline-offset:-2px;font-weight:800}.mdes-dots{position:absolute;bottom:2px;display:flex;gap:2px}.mdes-dots i{width:4px;height:4px;border-radius:50%;display:block}.mdes-footer{font-size:12px;color:#85929d;margin-top:16px;text-align:center}.mdes-cal-modal[hidden]{display:none}.mdes-cal-modal{position:fixed;inset:0;z-index:999999;display:flex;align-items:center;justify-content:center;padding:18px}.mdes-modal-backdrop{position:absolute;inset:0;background:rgba(11,28,43,.68)}.mdes-modal-panel{position:relative;width:min(1050px,100%);max-height:92vh;overflow:auto;background:#fff;border-radius:17px;box-shadow:0 25px 80px rgba(0,0,0,.26)}.mdes-modal-head{display:flex;align-items:center;gap:14px;border-bottom:1px solid var(--mdes-border);padding:18px 24px}.mdes-modal-head>div{flex:1}.mdes-modal-head small{color:#7b8a98}.mdes-modal-head h3{margin:0;font-size:26px;color:#1c527e}.mdes-modal-body{display:grid;grid-template-columns:minmax(0,1fr) minmax(250px,.85fr);gap:22px;padding:22px}.mdes-expanded-grid{min-width:0}.mdes-expanded-grid .mdes-weekdays span{font-size:12px}.mdes-expanded-grid .mdes-days{gap:6px}.mdes-expanded-grid .mdes-day{font-size:17px;border-radius:9px}.mdes-expanded-grid .mdes-dots i{width:7px;height:7px}.mdes-events{min-width:0}.mdes-events-head{display:flex;align-items:center;gap:10px;justify-content:space-between;flex-wrap:wrap;margin-bottom:12px}.mdes-events h4{margin:0;font-size:18px}.mdes-primary{border:0;border-radius:8px;background:#1d568a;color:#fff;padding:9px 13px}.mdes-event-list{max-height:48vh;overflow:auto;padding-right:4px}.mdes-event{border:1px solid var(--mdes-border);border-left:5px solid #2979b8;padding:12px;border-radius:8px;margin-bottom:9px;background:#fff}.mdes-event.mdes-selected{background:#f1f7fc}.mdes-event-date{font-size:12px;color:#6e8293;margin-bottom:4px}.mdes-event strong{font-size:14px}.mdes-event p{font-size:13px;margin:6px 0 0;white-space:pre-wrap}.mdes-event-actions{display:flex;gap:8px;margin-top:8px}.mdes-event-actions button,.mdes-form-actions button:not(.mdes-primary){background:#f3f7fa;border:1px solid var(--mdes-border);border-radius:6px;padding:5px 9px}.mdes-muted{color:#7b8b98}.mdes-edit-form{border-top:1px solid var(--mdes-border);margin-top:18px;padding-top:14px;display:grid;gap:10px}.mdes-edit-form h4{margin:0}.mdes-edit-form label{font-size:13px;font-weight:650;display:grid;gap:4px}.mdes-edit-form input:not([type=color]),.mdes-edit-form textarea{width:100%;border:1px solid #cbd7e0;border-radius:7px;padding:9px;font:inherit}.mdes-edit-form input[type=color]{width:65px;height:36px;padding:2px}.mdes-form-dates{display:grid;grid-template-columns:1fr 1fr;gap:9px}.mdes-form-actions{display:flex;gap:8px;flex-wrap:wrap}.mdes-form-status{margin:0;color:#a43e36;font-size:13px}.mdes-modal-open{overflow:hidden}@media(max-width:900px){.mdes-months{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.mdes-cal-shell{padding:12px}.mdes-months{grid-template-columns:1fr}.mdes-month{padding:12px}.mdes-day{font-size:14px}.mdes-weekdays span{font-size:11px}.mdes-modal-body{grid-template-columns:1fr;padding:14px}.mdes-modal-head{padding:13px}.mdes-modal-head h3{font-size:20px}.mdes-modal-panel{max-height:95vh}.mdes-event-list{max-height:none}.mdes-cal-modal{padding:8px}.mdes-form-dates{grid-template-columns:1fr}}
.mdes-report-button{background:#1d568a;color:#fff;border:0;border-radius:9px;padding:10px 14px;font-size:13px;font-weight:700;white-space:normal}.mdes-report-button:hover{background:#15446e}@media(max-width:650px){.mdes-report-button{order:3;width:100%}}

/* V1.0.3: visibilidade garantida do botão de relatório */
.mdes-cal-root .mdes-report-button{display:inline-flex!important;align-items:center;justify-content:center;visibility:visible!important;opacity:1!important;min-height:40px;position:relative;z-index:1}
