.hebrew-date-picker > button { display: flex; align-items: center; width: 100%; justify-content: space-between; gap: 12px; cursor: pointer; }
.hebrew-date-picker > button:disabled { cursor: default; }
.hebrew-date-picker > button svg { width: 20px; height: 20px; flex: 0 0 20px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.hebrew-date-picker-panel { box-sizing: border-box; position: fixed; inset: auto; margin: 0; width: min(330px, calc(100vw - 16px)); padding: 12px; overflow: auto; border: 1px solid var(--accent-border); border-radius: var(--panel-radius, 10px); background: var(--panel-bg); color: var(--text-body); box-shadow: 0 8px 24px var(--shadow-color); font: inherit; direction: rtl; }
.hebrew-date-picker-heading { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.hebrew-date-picker-heading select { flex: 1 1 0; min-width: 0; width: auto; padding-inline: 6px; }
.hebrew-date-picker-heading > button { padding: 6px; width: 40px; height: 40px; flex: 0 0 40px; justify-content: center; }
.hebrew-date-picker-heading > button svg { width: 26px; height: 26px; fill: currentColor; flex: none; }
.hebrew-date-picker-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; }
.hebrew-date-picker-row { display: contents; }
.hebrew-date-picker-weekday { display: flex; align-items: center; justify-content: center; min-height: 30px; margin-bottom: 4px; border-bottom: 1px solid var(--line-subtle); border-radius: 4px 4px 0 0; background: var(--surface-interactive); color: var(--accent-dark); font-size: 14px; font-weight: 700; }
.hebrew-date-picker-grid button { border: 1px solid color-mix(in srgb, var(--line-subtle) 55%, transparent); border-radius: 4px; background: transparent; color: inherit; font: inherit; min-height: 38px; padding: 3px; cursor: pointer; }
.hebrew-date-picker-grid button:hover { background: var(--surface-interactive); }
/* Preserve day availability styling inside forms with generic disabled-button rules. */
.hebrew-date-picker-grid [role="gridcell"]:disabled { opacity: 0.35; cursor: not-allowed; background: transparent; }
.hebrew-date-picker-grid button[aria-selected="true"] { background: var(--surface-interactive); border-color: var(--accent-primary); color: var(--accent-primary); font-weight: 700; }
.hebrew-date-picker-grid button:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: -2px; }
.hebrew-date-picker-status { margin: 8px 0 0; font-size: 13px; line-height: 1.4; }
