/* Reports Center - Event Calendar V1. All rules scoped to ec classes. */
.az-eventcalendar { border-radius:14px; padding:18px; }
.ec-print-head {display:none}
.ec-tools {display:flex;justify-content:space-between;gap:14px;align-items:center;flex-wrap:wrap;margin-bottom:16px}
.ec-month {display:flex;align-items:center;gap:9px}
.ec-month strong {font-size:20px;color:#153a65;min-width:160px;text-align:center}
.ec-month button,.ec-actions button {border:1px solid #bfd1e5;background:#fff;color:#154c83;border-radius:9px;padding:10px 13px;cursor:pointer;font-weight:650}
.ec-month button:first-child,.ec-month button:nth-child(3){font-size:22px;line-height:18px}
.ec-controls {display:flex;gap:9px;flex-wrap:wrap}
.ec-controls label{display:flex;flex-direction:column;gap:5px;font-size:11px;color:#526984;font-weight:650}
.ec-controls select{border:1px solid #cad8e9;border-radius:8px;padding:9px;color:#143b64;background:#fff;max-width:210px;min-width:130px}
.ec-summary {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-bottom:12px}
.ec-summary>div,.ec-stat{border:1px solid #e2eaf4;border-radius:10px;background:#f7f9fc;padding:12px;text-align:left;display:flex;flex-direction:column;gap:6px}
.ec-stat {cursor:pointer}
.ec-stat.is-active {border-color:#c09433;box-shadow:inset 0 0 0 1px #c09433;background:#fff8e8}
.ec-summary small{font-size:11px;color:#61758c}
.ec-summary strong{font-size:22px;color:#163b65}
.ec-warn{font-size:12px;color:#546b80;margin:8px 0 15px}
.ec-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border:1px solid #dce7f3;border-radius:12px;overflow:hidden;background:#fff}
.ec-dow{background:#183d67;color:#fff;text-align:center;font-size:12px;font-weight:700;padding:11px 4px}
.ec-cell,.ec-blank{min-height:105px;min-width:0;border:0;border-right:1px solid #e7edf5;border-bottom:1px solid #e7edf5;background:#fff;padding:8px 6px;display:flex;flex-direction:column;gap:4px;text-align:left}
.ec-cell{cursor:pointer;color:#163c64}
.ec-cell:hover{background:#f4f9ff}
.ec-cell.selected{background:#edf5ff;box-shadow:inset 0 0 0 2px #498fe3}
.ec-cell.today .ec-num{border-radius:50%;background:#b88929;color:white;width:26px;height:26px;display:inline-grid;place-items:center}
.ec-num{font-weight:750;font-size:13px;min-height:25px}
.ec-mini{border-radius:5px;padding:4px 5px;font-size:10px;font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.ec-more{font-size:10px;color:#496c92}
.ec-confirmed{background:#e1f6e8;color:#17613a}
.ec-tentative{background:#fff2cb;color:#8b5e06}
.ec-pending{background:#e5efff;color:#2156a4}
.ec-lost{background:#ffe6e6;color:#a23737}
.ec-cancelled{background:#e9edf2;color:#5d6975}
.ec-ongoing{background:#e9e3ff;color:#6041a9}
.ec-cancellation-pending{background:#ffecd7;color:#9b4a05}
.ec-bottom{display:grid;grid-template-columns:1fr 1.25fr;gap:15px;margin-top:16px}
.ec-day-list,.ec-overview,.ec-undated{border:1px solid #e2eaf2;background:#fbfcff;border-radius:11px;padding:15px;min-width:0}
.ec-list-top{display:flex;align-items:center;justify-content:space-between;gap:10px}
.ec-list-top span{font-size:12px;color:#526e87}
.ec-day-list h3,.ec-overview h3,.ec-undated h3{font-size:15px;color:#143b65;margin:0 0 8px}
.ec-overview>p,.ec-undated>p{font-size:12px;color:#65768a;margin:0 0 8px}
.ec-detail{border-left:4px solid #93b4d4;border-radius:7px;background:#fff;padding:10px;margin:8px 0;display:flex;align-items:flex-start;justify-content:space-between;gap:9px;flex-wrap:wrap}
.ec-detail.ec-confirmed{border-left-color:#349d60}.ec-detail.ec-lost{border-left-color:#c94d4d}.ec-detail.ec-tentative{border-left-color:#d6a32d}
.ec-detail-main,.ec-detail-side{display:flex;flex-direction:column;align-items:flex-start;gap:4px}
.ec-detail-main strong{font-size:13px;color:#153958}.ec-detail-main small,.ec-detail-side small{font-size:11px;color:#697f96}
.ec-detail-side span{font-size:12px;color:#1b456d;font-weight:700}
.ec-chip{font-style:normal;border-radius:999px;padding:3px 8px;font-size:10px;font-weight:700;white-space:nowrap}
.ec-register{max-height:370px;overflow:auto}
.ec-register-row{border:0;border-bottom:1px solid #e3ebf3;width:100%;display:flex;gap:8px;align-items:center;text-align:left;padding:9px 2px;background:transparent;cursor:pointer}
.ec-register-row:hover{background:#f0f6ff}
.ec-register-row>b{font-size:11px;color:#436185;flex-shrink:0}
.ec-register-row>span{flex:1;min-width:0;font-weight:700;font-size:12px;color:#16395b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ec-register-row small{display:block;color:#77899b;font-size:10px;font-weight:450;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ec-empty,.ec-loading{padding:18px;text-align:center;color:#71859b;font-size:13px}
.ec-error{padding:12px;color:#a83529;background:#fff0eb;border-radius:7px}
.ec-undated{margin-top:16px}.ec-actions{display:flex;gap:9px;justify-content:flex-end;margin:15px 0 3px}
.ec-actions .az-primary{background:#195eaa;color:#fff;border-color:#195eaa}
.ec-note{font-size:11px;color:#788ba0;margin-top:12px}
.ec-print-footer{display:none}
@media(max-width:950px){.ec-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.ec-bottom{grid-template-columns:1fr}}
@media(max-width:650px){.ec-controls{width:100%}.ec-controls label{flex:1;min-width:115px}.ec-controls select{min-width:0;max-width:100%}.ec-month strong{min-width:125px;font-size:16px}.ec-cell,.ec-blank{min-height:81px;padding:5px 3px}.ec-mini{font-size:8px}.ec-num{font-size:11px}}
@media print{
 .az-hero,.az-side,.ec-tools,.ec-actions,.ec-bottom,.ec-undated,.ec-note,.ec-warn,.az-content-head{display:none!important}
 .az-eventcalendar{box-shadow:none!important;border:none!important;padding:0!important}
 .az-shell,.az-main,.az-page{display:block!important;width:100%!important;margin:0!important;padding:0!important;max-width:none!important}
 .ec-print-head{display:flex;align-items:center;justify-content:center;gap:15px;border-bottom:2px solid #b99138;margin-bottom:15px;padding:6px 0 12px}
 .ec-print-head img{width:60px;height:60px;object-fit:contain}.ec-print-head h2{font-size:20px;margin:0;color:#123456}.ec-print-head p{text-align:center;margin:5px 0;color:#a78229}
 .ec-print-footer{display:flex;justify-content:space-between;border-top:1px solid #b99138;padding:8px;margin-top:14px;font-size:11px}
 .ec-print-footer strong{color:#a17b20}
 .ec-calendar{page-break-inside:avoid}.ec-cell,.ec-blank{min-height:65px!important}.ec-mini{font-size:9px}
}
