.atlas-date-field{position:relative;display:block;width:100%;min-width:0;max-width:100%}
.atlas-date-host{position:relative;display:block;width:100%;min-width:0;max-width:100%}
:where(:has(>.atlas-date-open[data-atlas-date-bound="1"])){position:relative;min-width:0}
.atlas-date-field>.atlas-temporal-input,
.atlas-date-field>input:is([type=date],[type=month],[type=datetime-local]),
.atlas-date-host .atlas-temporal-input,
input.atlas-temporal-input{box-sizing:border-box;display:block;width:100%;min-width:0;max-width:100%;padding-right:48px!important}
.atlas-date-field>.atlas-date-open,.atlas-date-host>.atlas-date-open{position:absolute;right:0;top:0;bottom:0;display:flex;align-items:center;justify-content:center;width:44px;min-width:44px;min-height:44px;padding:0;border:0;background:transparent;color:#526881;border-radius:9px;cursor:pointer}
.atlas-date-host>.atlas-date-open,.atlas-date-open[data-atlas-date-bound="1"]{position:absolute;right:0;top:auto;bottom:0;display:flex;align-items:center;justify-content:center;width:44px;min-width:44px;height:44px;min-height:44px;padding:0;border:0;background:transparent;color:#526881;border-radius:9px;cursor:pointer}
.atlas-date-field>.atlas-date-open:hover,.atlas-date-host>.atlas-date-open:hover{background:#eaf1f6}
.atlas-date-field>.atlas-date-open:focus-visible,.atlas-calendar-close:focus-visible,.atlas-month-picker button:focus-visible{outline:3px solid #2563eb;outline-offset:2px}
.atlas-date-field:has(>input:disabled)>.atlas-date-open,.atlas-date-host:has(input:disabled)>.atlas-date-open,.atlas-date-field:has(>input:read-only)>.atlas-date-open,.atlas-date-host:has(input:read-only)>.atlas-date-open,:where(:has(>input:disabled))>.atlas-date-open[data-atlas-date-bound="1"],:where(:has(>input:read-only))>.atlas-date-open[data-atlas-date-bound="1"]{opacity:.45;pointer-events:none}
.atlas-date-field input::-webkit-calendar-picker-indicator,.atlas-date-host input::-webkit-calendar-picker-indicator{opacity:0;width:0;padding:0;pointer-events:none}
.atlas-date-aux{position:fixed!important;left:-10000px!important;top:0!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}
.atlas-date-calendar.flatpickr-calendar{width:min(307.875px,calc(100vw - 16px));max-width:calc(100vw - 16px);border:1px solid #cbd9e4;border-radius:13px;overflow:hidden;box-shadow:0 16px 44px #18334d38}
.atlas-date-calendar .flatpickr-days,.atlas-date-calendar .dayContainer{width:100%;min-width:100%;max-width:100%}
.atlas-date-calendar .flatpickr-day{max-width:none}
.atlas-calendar-footer{display:flex;justify-content:flex-end;padding:8px;border-top:1px solid #e1e8ee;background:#f8fafc}
.atlas-calendar-close{min-width:88px;min-height:44px;padding:8px 14px;border:1px solid #b9cad8;border-radius:9px;background:#fff;color:#234258;font:600 14px/1.2 Inter,system-ui,sans-serif;cursor:pointer}
.atlas-month-picker{position:fixed;z-index:100000;display:grid;gap:10px;box-sizing:border-box;width:min(320px,calc(100vw - 16px));max-width:calc(100vw - 16px);padding:12px;border:1px solid #cbd9e4;border-radius:13px;background:#fff;color:#1d3446;box-shadow:0 16px 44px #18334d38}
.atlas-month-picker>header{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:8px}
.atlas-month-picker>header strong{text-align:center;font:700 17px/1.2 Inter,system-ui,sans-serif}
.atlas-month-picker>header button,.atlas-month-grid button{min-width:0;min-height:44px;padding:8px;border:1px solid #d5e0e8;border-radius:9px;background:#fff;color:inherit;font:600 13px/1.2 Inter,system-ui,sans-serif;cursor:pointer}
.atlas-month-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.atlas-month-grid button[aria-current=date]{border-color:#2269c7;background:#e8f1ff;color:#174a91}
.atlas-month-grid button:disabled{opacity:.35;cursor:not-allowed}
.atlas-month-picker>footer{display:flex;justify-content:flex-end}
@media(max-width:760px),(max-width:932px) and (max-height:500px){
 .atlas-date-calendar.flatpickr-calendar.open,.atlas-month-picker{position:fixed!important;left:50%!important;right:auto!important;top:50%!important;bottom:auto!important;transform:translate(-50%,-50%)!important}
 .atlas-date-calendar.flatpickr-calendar{width:min(308px,calc(100vw - 16px))}
 .atlas-month-picker{width:min(320px,calc(100vw - 16px));max-height:calc(100dvh - 16px);overflow-y:auto}
}
@media(max-width:932px) and (max-height:500px){
 .atlas-date-calendar .flatpickr-day{height:34px;line-height:34px}
}
