.date-popover { position:fixed; inset:auto; margin:0; padding:0; width:260px; max-width:calc(100vw - 24px); max-height:calc(100dvh - 24px); overflow:auto; border:1px solid #ededed; border-radius:14px; background:#fff; color:#333; box-shadow:0 9px 24px #0003; font-size:12px; }
.date-popover::backdrop { background:transparent; }
.date-popover-body { padding:12px 16px 0; }
.date-tabs { display:flex; padding:2px; border-radius:8px; background:#f4f4f4; height:32px; }
.date-tabs button { flex:1; color:#999; border-radius:6px; font-size:12px; }
.date-tabs button.selected { background:white; color:#333; box-shadow:0 1px 3px #00000009; }
.date-fast { display:flex; align-items:center; justify-content:space-between; height:64px; padding:0 2px; }
.date-fast-button { display:grid; place-items:center; color:#888; width:35px; height:34px; border-radius:6px; }
.date-fast-button:hover { background:#f5f5f5; color:var(--accent); }
.date-fast-button svg { width:25px; height:25px; stroke-width:1.4; }
.date-month-header { height:35px; display:flex; align-items:center; gap:2px; }
.date-month-label { margin-right:auto; font-size:14px; text-align:left; }
.date-month-header > button:not(.date-month-label) { width:17px; height:26px; color:#aaa; font-size:19px; }
.date-month-header > button.date-return-month { font-size:13px; }
.date-calendar-weekdays,.date-calendar-grid { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); text-align:center; }
.date-calendar-weekdays { align-items:center; height:27px; color:#aaa; }
.date-calendar-day { min-width:0; height:30px; display:flex; flex-direction:column; align-items:center; justify-content:center; color:#333; font-size:12px; }
.date-calendar-day > span { display:grid; place-items:center; width:27px; height:27px; border-radius:50%; }
.date-calendar-day:hover > span { background:#f3f3f3; }
.date-calendar-day.outside { color:#bbb; }
.date-calendar-day.today > span { color:var(--accent); background:#f0f2ff; }
.date-calendar-day.selected > span { color:white; background:var(--accent); }
.date-calendar-day.in-range { background:#f1f3ff; }
.date-calendar-day small { font-size:9px; line-height:11px; color:#aaa; }
.date-calendar-grid:has(small) .date-calendar-day { height:40px; }
.date-setting-row { display:flex; align-items:center; gap:9px; height:38px; width:100%; font-size:12px; text-align:left; border-radius:5px; }
.date-calendar-grid + .date-setting-row { margin-top:12px; }
.date-setting-row svg { width:16px; height:16px; color:#8e8e8e; stroke-width:1.5; }
.date-setting-row:hover { background:#f8f8f8; }
.date-setting-value { margin-left:auto; color:#999; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; max-width:125px; }
.date-chevron { color:#bbb; font-size:16px; margin-left:auto; }
.date-setting-value:not(:empty)+.date-chevron { margin-left:0; }
.date-popover-footer { display:flex; gap:8px; padding:16px; }
.date-popover-footer button { flex:1; height:30px; border-radius:6px; font-size:13px; }
.date-lunar-anchor { color:#999; font-size:11px; margin:4px 0 8px; }
.date-clear { border:1px solid #e6e6e6; color:#999; }
.date-confirm { background:var(--accent); color:white; }
.date-clear:hover { background:#f7f7f7; }
.date-confirm:hover { filter:brightness(.97); }
.date-subheader { display:flex; align-items:center; gap:12px; height:36px; margin-bottom:12px; }
.date-subheader strong { font-size:14px; font-weight:500; }
.date-back { color:#aaa; width:20px; height:28px; font-size:23px; }
.date-input-field { display:flex; flex-direction:column; gap:5px; margin:0 0 10px; font-size:12px; color:#888; min-width:0; }
.date-input-field input,.date-input-field select,.date-input-field textarea { width:100%; border:1px solid #e5e5e5; border-radius:5px; padding:5px 7px; height:33px; background:white; color:#444; font-size:12px; }
.date-input-field textarea { min-height:80px; resize:vertical; }
.date-selected-inputs,.date-time-fields,.date-interval { display:grid; grid-template-columns:1fr 1fr; gap:7px; }
.date-selected-inputs input { padding:3px; font-size:10px; }
.date-selected-inputs label { font-size:11px; }
.date-check { display:flex; align-items:center; gap:8px; min-height:30px; cursor:pointer; color:#555; }
.date-check input { width:13px; height:13px; accent-color:var(--accent); margin:0; }
.date-custom-reminders { border-top:1px solid #eee; margin-top:8px; padding-top:10px; color:#999; }
.date-custom-reminders > span { display:block; margin-bottom:8px; }
.date-custom-reminder { display:flex; justify-content:space-between; align-items:center; padding:5px 0; color:#666; }
.date-custom-reminder button { color:#aaa; padding:3px 6px; }
.date-add-reminder,.date-preview-button { font-size:12px; color:var(--accent); padding:5px 0; }
.date-repeat-options { display:grid; margin:0 -6px 8px; }
.date-repeat-option { min-height:31px; text-align:left; padding:4px 6px; display:flex; align-items:center; justify-content:space-between; border-radius:4px; }
.date-repeat-option:hover { background:#f4f4f4; }
.date-repeat-option > span:last-child { color:var(--accent); }
.date-popover.custom-repeat { width:360px; }
.date-custom-weekdays { display:flex; flex-wrap:wrap; gap:9px; margin-bottom:8px; }
.date-custom-weekdays .date-check { gap:4px; }
.date-field-caption { display:block; color:#999; margin-bottom:3px; }
.date-repeat-preview { color:#888; font-size:11px; line-height:1.8; }
.date-scope-note { color:#888; margin:0 0 12px; }
.date-scope-choice { display:block; width:100%; padding:11px; border:1px solid #eee; border-radius:5px; margin:7px 0; text-align:left; }
.date-scope-choice:hover { background:#f5f6ff; color:var(--accent); }
.date-month-options { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; padding-bottom:16px; }
.date-month-options button { padding:8px 0; border-radius:5px; }
.date-month-options button:hover { background:#f1f3ff; color:var(--accent); }
.date-popover-error { margin:6px 16px 12px; background:#fff0ef; border:1px solid #f3d0cd; color:#bc4f4b; padding:8px; border-radius:5px; line-height:1.6; font-size:12px; }
.date-zone-fields{display:grid;gap:10px;margin-top:14px}.date-zone-fields .date-input-field{min-width:0}.date-zone-fields input{width:100%}.date-zone-note{font-size:12px;color:var(--muted,#888);line-height:1.6;margin:7px 0}.date-fold-fields{display:grid;gap:10px;margin-top:8px}
