.english-date-picker { display:block; min-width:0; }
input[type="date"][hidden],.english-date-popover:not([open]) { display:none !important; }
.english-date-picker .english-date-trigger {
  display:flex; align-items:center; justify-content:space-between; gap:10px;
  width:100%; min-height:43px; padding:8px 12px; text-align:start; font:inherit;
  background:var(--hf-surface,var(--canvas,#fff)); color:var(--hf-ink,var(--ink,#252119));
  border:1px solid var(--hf-line,var(--line,#ded1b6)); border-radius:10px;
}
.english-date-trigger svg { display:block; flex:none; width:17px; height:17px; }
.english-date-popover {
  box-sizing:border-box; width:min(350px,calc(100vw - 28px)); max-height:calc(100dvh - 24px);
  padding:14px; overflow:auto; border:1px solid var(--hf-line,var(--line,#ded1b6)); border-radius:15px;
  background:var(--hf-surface,var(--panel,#fff)); color:var(--hf-ink,var(--ink,#252119));
  box-shadow:0 14px 40px rgb(0 0 0 / .2);
}
.english-date-popover::backdrop { background:rgb(0 0 0 / .4); }
.english-date-top,.english-date-grid { display:grid; align-items:center; gap:4px; text-align:center; }
.english-date-top { grid-template-columns:36px minmax(0,1fr) 36px; margin-bottom:10px; }
.english-date-top button { display:grid; place-items:center; line-height:1; }
.english-date-top svg { display:block; width:16px; height:16px; }
.english-date-grid { grid-template-columns:repeat(7,minmax(0,1fr)); }
.english-date-grid>span { font-size:.77rem; }
.english-date-popover button {
  min-height:36px; padding:4px; font:inherit; color:inherit;
  background:var(--hf-paper,var(--canvas,#f6f1e8)); border:1px solid var(--hf-line,var(--line,#ded1b6)); border-radius:7px;
}
.english-date-popover button:disabled { opacity:.5; }
.english-date-popover button[aria-pressed="true"] {
  font-weight:700; background:var(--hf-ink,var(--ink,#252119)); color:var(--hf-surface,var(--panel,#fff));
}
.english-date-actions { display:flex; justify-content:space-between; gap:8px; margin-top:10px; }
.english-date-actions button { padding-inline:9px; }
.english-date-error { display:block; margin-top:4px; font-size:.82rem; color:var(--error,var(--hf-ink,#9d343b)); }
.english-date-error[hidden] { display:none; }
