.apl-calendar-input::-webkit-calendar-picker-indicator{display:none}
.apl-calendar-control{display:inline-flex;align-items:center;gap:4px;max-width:100%}
.apl-calendar-control input{min-width:0}
.apl-calendar-control .apl-calendar-toggle{width:auto!important;flex:none;display:inline-flex;align-items:center;justify-content:center;background:#fff;color:#17324d;border:1px solid #687b90;border-radius:4px;cursor:pointer;padding:6px 10px;min-height:34px}
.apl-calendar-toggle:disabled{background:#e5e7eb;color:#4b5563;cursor:default}
.apl-calendar{position:fixed;z-index:10050;width:296px;max-width:calc(100vw - 16px);box-sizing:border-box;padding:12px;background:#fff;color:#172b42;border:1px solid #687b90;border-radius:8px;box-shadow:0 6px 24px #0004;font:14px/1.4 sans-serif}
.apl-calendar button{background:#fff;color:#172b42;border:1px solid transparent;border-radius:4px;cursor:pointer;min-width:32px;min-height:32px;padding:3px;font:inherit}
.apl-calendar button:hover{background:#e6eff8;color:#172b42}
.apl-calendar button:focus-visible,.apl-calendar-toggle:focus-visible{outline:2px solid #245ba0;outline-offset:1px}
.apl-calendar button:disabled{background:#eef0f3;color:#555e69;cursor:default;text-decoration:line-through}
.apl-calendar button[data-date][aria-pressed="true"]{background:#bbf7d0;color:#14532d}
.apl-calendar .apl-calendar__other{background:#fff;color:#566476}
.apl-calendar__head,.apl-calendar__foot{display:flex;align-items:center;justify-content:space-between;gap:8px;background:#fff;color:#172b42}
.apl-calendar strong,.apl-calendar th{background:#fff;color:#172b42}
.apl-calendar table{width:100%;table-layout:fixed;border-collapse:collapse;margin:8px 0;background:#fff;color:#172b42}
.apl-calendar th,.apl-calendar td{text-align:center;padding:1px;border:0}
.apl-calendar td button{width:100%}
[data-theme="dark"] .apl-calendar,[data-theme="dark"] .apl-calendar strong,[data-theme="dark"] .apl-calendar th,[data-theme="dark"] .apl-calendar table,[data-theme="dark"] .apl-calendar__head,[data-theme="dark"] .apl-calendar__foot{background:#172b42;color:#f2f5fa}
[data-theme="dark"] .apl-calendar button,[data-theme="dark"] .apl-calendar-toggle{background:#172b42;color:#f2f5fa}
[data-theme="dark"] .apl-calendar .apl-calendar__other{background:#172b42;color:#bdcadd}
[data-theme="dark"] .apl-calendar button:hover{background:#304e70;color:#fff}
[data-theme="dark"] .apl-calendar button:disabled{background:#26394e;color:#bac4d0}
[data-theme="dark"] .apl-calendar button[data-date][aria-pressed="true"]{background:#bbf7d0;color:#14532d}
