.query-calendar{position:fixed;z-index:8000;width:248px;max-width:calc(100vw - 12px);min-height:320px;padding:8px 10px 10px;border:1px solid #e1e3e7;border-radius:3px;background:#fff;box-shadow:0 6px 16px #0003;color:#202936;font:12px Arial,sans-serif;overflow:auto}
.calendar-heading{display:flex;align-items:center;gap:0;min-height:32px;margin-bottom:8px;white-space:nowrap}
.query-calendar .calendar-button{border:0;border-radius:3px;background:transparent;color:inherit;padding:0;min-height:32px;height:32px;min-width:32px;font:inherit;line-height:32px;text-align:center}
.query-calendar .calendar-button:hover{background:#edf4ff;color:#448aff}.query-calendar .calendar-heading>.calendar-button:not(.calendar-title){font-size:20px;color:#5c6673}
.query-calendar .calendar-title{flex:1;min-width:0;color:#448aff;overflow:hidden;text-overflow:ellipsis}
.calendar-heading>span{padding-left:4px;overflow:hidden;text-overflow:ellipsis}
.calendar-week{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));text-align:center;align-items:center;min-height:32px}
.calendar-week>[role=columnheader]{font-size:11px;color:#90959d}.calendar-week .calendar-button{min-width:0;width:100%}.query-calendar .selected{color:#448aff;background:#edf4ff}.query-calendar .other-month{color:#999}
.calendar-footer{display:flex;align-items:center;gap:8px;margin-top:8px}.query-calendar .calendar-today{border:1px solid #abb0b5;height:28px;min-height:28px;line-height:26px;padding:0 12px;color:#0675bc}
.query-calendar .calendar-footer input{width:62px;min-width:0;min-height:28px;height:28px;padding:3px 6px;font:12px Arial,sans-serif}.calendar-error{font-size:12px;color:#b43b2c;white-space:normal;line-height:1.35}.calendar-error:not(:empty){padding-top:7px}
.query-calendar .calendar-year{margin:0 4px 4px;width:calc(100% - 8px);min-height:28px;height:28px;font:13px Arial,sans-serif;padding:4px 8px}.calendar-months{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(4,32px);grid-auto-flow:column;gap:0}.calendar-months .calendar-button{white-space:normal;line-height:16px;min-width:0;overflow-wrap:anywhere}
#query-panel .period .query-date-editor{width:100%;max-width:none;min-width:0;font:inherit;padding:6px 8px}.query-date-editor[aria-invalid=true]{border-color:#b43b2c}
