input[data-calendar]{cursor:pointer;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%232f496c' stroke-width='1.8'%3E%3Crect x='3' y='5' width='18' height='16' rx='3'/%3E%3Cpath d='M7 3v5m10-5v5M3 11h18'/%3E%3C/svg%3E");background-position:right 10px center;background-repeat:no-repeat;padding-right:38px}
.date-dialog{width:min(360px,94vw);max-height:88vh;border:1px solid #c7d1de;border-radius:20px;padding:16px;color:#182941;background:#fff;font:inherit;box-shadow:0 18px 70px #18294144}
.date-dialog::backdrop{background:#101d3580}
.date-dialog header,.date-dialog section,.date-dialog footer{display:flex;align-items:center;gap:6px;margin-bottom:10px}
.date-dialog header{justify-content:space-between}.date-dialog footer{margin:10px 0 0}
.date-dialog button,.date-dialog select{font:inherit;color:inherit;background:#edf1f7;border:0;border-radius:8px;padding:7px;cursor:pointer}
.date-dialog select{width:auto;min-width:0;flex:1}
.date-days:not([hidden]){display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;text-align:center}
.date-days button{min-height:36px}.date-dialog button:hover,.date-dialog [aria-pressed=true]{background:#243d65;color:white}
