.wb-date-filter{min-width:0;max-width:100%;font-size:13px;color:var(--text)}
.wb-date-shortcuts,.wb-date-custom{display:flex;flex-wrap:wrap;align-items:center;gap:5px}
.wb-date-label{margin-right:7px;white-space:nowrap}
.wb-date-filter .wb-date-shortcut{padding:8px 12px;min-height:36px;border-radius:5px;font:inherit;white-space:nowrap;background:var(--bg-elev);color:var(--text);border:1px solid var(--border)}
.wb-date-filter .wb-date-shortcut[aria-pressed=true],.wb-date-popup .wb-date-months [aria-pressed=true]{background:var(--accent);color:var(--on-accent);border-color:var(--accent)}
.wb-date-custom{gap:12px;margin-top:10px}
.wb-date-custom label{display:flex;align-items:center;gap:8px;min-width:0}
.wb-date-custom input{font:inherit;max-width:100%;min-width:0;padding:8px 10px;border:1px solid var(--border);border-radius:5px;background:var(--bg-elev);color:var(--text)}
.wb-date-selected{display:block;margin-top:7px;color:var(--text-2);font-variant-numeric:tabular-nums}
.wb-date-popup{position:fixed;inset:auto;margin:0;padding:12px;width:332px;max-width:calc(100vw - 16px);max-height:calc(100vh - 16px);overflow:auto;box-sizing:border-box;border:1px solid var(--border);border-radius:10px;background:var(--bg-elev);color:var(--text);box-shadow:var(--shadow-lg);font-size:13px}
.wb-date-popup header{display:flex;align-items:center;gap:5px;margin-bottom:10px}
.wb-date-popup header button{padding:5px 9px;min-height:32px}
.wb-date-popup [data-date-close]{margin-left:auto}
.wb-date-popup .wb-date-year{display:flex;align-items:center;gap:2px;margin:0;min-width:0}
.wb-date-popup .wb-date-year input{width:68px;min-width:0;padding:5px 3px;font:inherit;background:var(--bg);color:var(--text);border:1px solid var(--border);border-radius:4px}
.wb-date-popup select{width:auto;min-width:0;padding:5px;font:inherit;background:var(--bg);color:var(--text);border:1px solid var(--border);border-radius:4px}
.wb-date-popup .wb-date-months{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.wb-date-popup .wb-date-months button{font:inherit;min-height:34px;padding:6px}
.wb-date-popup .wb-date-calendar{width:100%;table-layout:fixed;border-collapse:separate;border-spacing:0 4px;margin:0}
.wb-date-popup .wb-date-calendar th,.wb-date-popup .wb-date-calendar td{text-align:center;padding:0;border:0;font:inherit}
.wb-date-popup .wb-date-calendar th{height:30px;color:var(--text-2)}
.wb-date-popup .wb-date-calendar button{width:100%;min-height:34px;border:0;border-radius:0;background:transparent;color:inherit;cursor:pointer;font:inherit;padding:4px 0}
.wb-date-popup .wb-date-week:hover td,.wb-date-popup .wb-date-week:focus-within td{background:var(--bg-hover)}
.wb-date-popup .wb-date-calendar td.is-selected{background:var(--accent-soft);color:var(--text)}
.wb-date-popup .wb-date-calendar .is-selected:first-child,.wb-date-popup .wb-date-calendar .is-selected:last-child{background:var(--accent);color:var(--on-accent)}
.wb-date-popup .wb-date-calendar td:first-child{border-radius:5px 0 0 5px}.wb-date-popup .wb-date-calendar td:last-child{border-radius:0 5px 5px 0}
.wb-date-popup .wb-date-calendar .is-other-month:not(.is-selected){color:var(--muted)}
.wb-date-popup footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px;border-top:1px solid var(--border);padding-top:10px;margin-top:8px;font-variant-numeric:tabular-nums}
.wb-date-popup button:focus-visible,.wb-date-filter button:focus-visible,.wb-date-popup input:focus-visible,.wb-date-popup select:focus-visible{outline:2px solid var(--focus,var(--accent));outline-offset:1px}
.wb-date-pending{color:var(--text-2);font-size:13px;margin:6px 0}.wb-date-pending[hidden]{display:none!important}
@media(max-width:700px){.wb-date-filter .wb-date-shortcut{padding:8px 10px}.wb-date-label{flex-basis:100%}.wb-date-custom{align-items:flex-start}.wb-date-custom label{flex-wrap:wrap}}

.wb-date-popup .wb-date-days button:hover,.wb-date-popup .wb-date-days button:focus-visible{background:var(--accent-soft)}
.wb-date-popup .wb-date-days td.is-selected{border-radius:5px;background:var(--accent);color:var(--on-accent)}
