body input.date-picker-source{display:none!important}
body button.date-picker-trigger{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:48px;padding:12px 16px;background:var(--date-field-bg,var(--gui-control));color:var(--date-field-color,var(--gui-text));border:0;border-bottom:1px solid var(--gui-line);border-radius:0;font:inherit;text-align:left;cursor:pointer;box-sizing:border-box}
body button.date-picker-trigger svg{flex-shrink:0}
body button.date-picker-trigger:disabled{opacity:.5;cursor:not-allowed}
body .date-picker-error{display:block;color:var(--gui-error);font-size:14px;line-height:20px;margin-top:8px}
body .date-picker-error:empty{display:none}
body .date-picker-popup{position:fixed;inset:auto;margin:0;padding:12px;width:min(360px,calc(100vw - 16px));max-height:calc(100dvh - 16px);overflow:auto;box-sizing:border-box;background:var(--gui-light,#ededeb);color:#111;border:1px solid var(--gui-line);border-radius:0;font:400 16px/24px var(--gui-font,Arial);box-shadow:0 8px 24px #0003}
body .date-picker-popup .dp-head{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;gap:4px;align-items:center;margin-bottom:8px}
body .date-picker-popup .dp-head strong{text-align:center;font-weight:600}
body .date-picker-popup .dp-week,body .date-picker-popup .dp-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:2px}
body .date-picker-popup .dp-week span{text-align:center;color:#666;font-size:14px;line-height:24px;padding-bottom:4px}
body .date-picker-popup button{display:flex;align-items:center;justify-content:center;min-width:0;min-height:44px;padding:8px 4px;border:0;border-radius:0;background:transparent;color:#111;font:inherit;cursor:pointer}
body .date-picker-popup button.dp-outside{color:#666}
body .date-picker-popup button:hover:not(:disabled){background:#ddd}
body .date-picker-popup button[aria-pressed=true],body .date-picker-popup button[aria-pressed=true]:hover{background:var(--gui-accent,#f4d84a);color:#111;font-weight:600}
body .date-picker-popup button[aria-current=date]{text-decoration:underline;text-underline-offset:4px}
body .date-picker-popup button:disabled{opacity:.3;cursor:not-allowed}
body .date-picker-popup button:focus-visible,body .date-picker-trigger:focus-visible{outline:2px solid var(--gui-accent,#f4d84a);outline-offset:1px}
body .date-picker-popup .dp-foot{display:flex;justify-content:space-between;gap:8px;border-top:1px solid #aaa;margin-top:8px;padding-top:4px}
body .date-picker-popup [hidden]{display:none!important}
