:root{--legal-primary:#1e3a5f;--legal-secondary:#2c5282;--legal-accent:#2196F3;--legal-light:#f7f9fc;--legal-border:#e0e0e0;--legal-text:#2d3748}.mfp-legal-calendar-frontend,.mfp-legal-calendar-frontend *{box-sizing:border-box}.mfp-legal-calendar-frontend{max-width:100%;margin:0 auto;background:#fff;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;position:relative}.mfp-calendar-header{background:#f0f4f8;padding:15px;border-bottom:3px solid var(--legal-primary)}.mfp-calendar-selectors-front{display:flex;justify-content:center;gap:10px;margin-bottom:15px;flex-wrap:wrap}.mfp-calendar-selectors-front select{padding:8px 12px;border:1px solid #cbd5e0;border-radius:4px;min-width:120px;height:40px;background:#fff}.mfp-calendar-selectors-front .mfp-btn,.mfp-calendar-navigation-front .mfp-btn{padding:0 15px;height:40px;border:1px solid var(--legal-border);background:#fff;border-radius:4px;cursor:pointer;font-weight:600}.mfp-calendar-selectors-front .mfp-btn{background:var(--legal-accent);color:#fff;border-color:var(--legal-accent)}.mfp-calendar-navigation-front{display:flex;justify-content:center;align-items:center;gap:10px}.mfp-current-month-front{font-size:16px;font-weight:700;color:var(--legal-primary);text-align:center;min-width:140px}#mfp-calendar-grid-front{display:grid;grid-template-columns:repeat(7,1fr);border:1px solid var(--legal-border);background:#fff}.mfp-calendar-day-header-front{background:var(--legal-primary);color:#fff;padding:10px 5px;text-align:center;font-weight:700;font-size:13px;border:1px solid rgb(255 255 255 / .1)}.mfp-calendar-day-front{min-height:100px;border:1px solid var(--legal-border);padding:5px;background:#fff;vertical-align:top}.mfp-calendar-day-front.today{background:#e3f2fd}.mfp-calendar-day-front.other-month{background:#f7f7f7;opacity:.6}.mfp-calendar-day-number-front{font-weight:700;margin-bottom:5px}.mfp-event-item-front{font-size:11px;padding:4px 6px;margin-bottom:3px;background:#fff;border-left:3px solid #ccc;cursor:pointer;box-shadow:0 1px 2px rgb(0 0 0 / .1);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}.mfp-event-item-front:hover{background:#f0f0f0;transform:translateX(2px);transition:transform 0.2s}.mfp-calendar-list-front{display:none}.mfp-list-day-front{margin-bottom:15px;border:1px solid var(--legal-border);border-radius:8px;overflow:hidden;background:#fff}.mfp-list-date-front{background:var(--legal-primary);color:#fff;padding:10px 15px;font-weight:700}.mfp-list-event-item-front{padding:15px;border-bottom:1px solid #eee;cursor:pointer;display:flex;align-items:flex-start;gap:12px}.mfp-list-event-item-front:last-child{border-bottom:none}.mfp-list-event-item-front:active{background:#f0f0f0}.mfp-list-event-dot{width:10px;height:10px;border-radius:50%;margin-top:5px;flex-shrink:0}.mfp-list-event-content{flex:1;min-width:0}.mfp-list-event-title{font-weight:600;color:var(--legal-text);font-size:14px;line-height:1.4;word-break:break-word}.mfp-overlay{position:fixed;top:0;left:0;width:100%;height:100%;z-index:99999;display:none;overflow-x:hidden;overflow-y:auto;-webkit-overflow-scrolling:touch;padding:10px}.mfp-event-details{background:#fff;width:90%;max-width:500px;border-radius:10px;box-shadow:0 10px 25px rgb(0 0 0 / .3);padding:20px;border-top:5px solid var(--legal-accent);z-index:100000;pointer-events:auto}.mfp-event-details h3{margin-top:0;font-size:18px;color:var(--legal-primary);border-bottom:1px solid #eee;padding-bottom:12px;margin-bottom:15px}.mfp-event-detail-item{margin-bottom:12px;padding:12px;background:#f8f9fa;border-radius:6px;border:1px solid #eee}.mfp-event-detail-label{font-size:11px;text-transform:uppercase;color:#718096;font-weight:700;margin-bottom:4px}.mfp-event-detail-value{font-size:14px;color:#2d3748;line-height:1.6;word-wrap:break-word;user-select:text;-webkit-user-select:text}.mfp-event-detail-value a{color:var(--legal-accent);text-decoration:underline;font-weight:600}#mfp-close-details{width:100%;margin-top:15px;padding:12px;background:var(--legal-primary);color:#fff;border:none;border-radius:6px;cursor:pointer;font-weight:600}.mfp-legend-front{margin-top:20px;display:flex;flex-wrap:wrap;gap:8px;background:#f8f9fa;padding:10px;border-radius:4px}.mfp-legend-item-front{font-size:12px;padding:4px 8px;background:#fff;border-radius:4px;display:flex;align-items:center;gap:5px;border:1px solid #eee}.mfp-legend-color-front{width:10px;height:10px;border-radius:50%}@media (max-width:768px){#mfp-calendar-grid-front{display:none!important}.mfp-calendar-list-front{display:block!important}.mfp-calendar-selectors-front{flex-direction:column}.mfp-calendar-selectors-front select,.mfp-calendar-selectors-front .mfp-btn{width:100%}.mfp-event-details{position:relative;margin:30px auto}}@media (min-width:769px){.mfp-calendar-list-front{display:none!important}#mfp-calendar-grid-front{display:grid!important}.mfp-event-details{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);margin:0;max-height:90vh;overflow-y:auto}}