/* Local preview: restrained layout changes, shared filter-only date ranges. */
.topbar { min-height:64px; height:auto; }
.page-head { min-height:0; margin-bottom:20px; align-items:center; }
.page-head h1 { font-size:26px; line-height:1.3; margin:0 0 5px; }
.page-head .subtitle { margin:0; }
.sidebar-bottom { font-size:11px; line-height:1.8; padding-top:12px; overflow-wrap:anywhere; }
.management-group { margin-top:20px; }
.management-nav summary { display:flex; gap:14px; align-items:center; padding:12px 16px; cursor:pointer; font-size:14px; color:#66717d; }
.management-nav summary::after { content:'⌄'; margin-left:auto; }
.management-nav .sub-nav { padding-left:48px; font-size:13px; min-height:40px; }
.filterbar { align-items:flex-end; gap:12px; padding:16px; overflow:visible; position:relative; z-index:5; }
.filterbar > .field { flex:1 1 125px; min-width:115px; }
.filterbar > .date-range { flex:1.4 1 205px; min-width:190px; max-width:none; }
.filter-actions { display:flex; gap:8px; padding-bottom:0; }
.field label,.multi-label { line-height:1.4; margin-bottom:7px; }
.field select:disabled { background:#f3f3f2; color:var(--muted); opacity:1; cursor:not-allowed; }
.date-range { position:relative; }
.date-range .date-range-trigger { display:flex; align-items:center; justify-content:space-between; gap:10px; width:100%; height:42px; padding:0 12px; background:#fff; border:1px solid #d8dce2; border-radius:8px; color:#303c49; text-align:left; font:inherit; font-size:13px; cursor:pointer; }
.date-range-trigger svg { width:16px; height:16px; stroke:currentColor; fill:none; flex-shrink:0; }
.date-range-trigger span { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.date-range-trigger.is-empty { color:#8b939d; }
.date-range-trigger:focus-visible { outline:2px solid #b12e42; outline-offset:2px; }
.range-popover { position:absolute; top:calc(100% + 8px); left:0; z-index:80; width:580px; max-width:calc(100vw - 32px); padding:18px; background:#fff; border:1px solid #e5e7eb; border-radius:16px; box-shadow:0 16px 56px #1d273028; }
.range-popover[hidden] { display:none; }
.range-calendars { display:grid; grid-template-columns:1fr 1fr; gap:22px; }
.range-toolbar { display:flex; justify-content:space-between; align-items:center; gap:8px; }
.range-toolbar > div { display:flex; gap:8px; }
.range-toolbar select { height:30px; padding:3px; border:0; width:auto; min-width:0; font-size:12px; }
.range-toolbar > button { border:0; background:#f7f7f8; border-radius:6px; width:28px; height:28px; cursor:pointer; }
.range-month > strong { display:block; text-align:center; font-size:12px; margin:8px 0; }
.range-days > span { color:#939ba6; font-size:11px; padding:5px 0; }
.range-instruction { font-size:12px; color:#65707d; margin:14px 0; }
.range-footer { display:flex; justify-content:space-between; align-items:center; border-top:1px solid #f0f1f3; padding-top:12px; margin-top:12px; }
.range-footer > div { display:flex; gap:8px; }
.range-month-head { display:flex; align-items:center; justify-content:center; gap:7px; margin-bottom:12px; }
.range-month-head button { border:0; background:#f7f7f8; border-radius:6px; width:28px; height:28px; cursor:pointer; }
.range-month-head select { height:30px; padding:3px; border:0; background:#fff; width:auto; min-width:0; font-size:12px; }
.range-weekdays,.range-days { display:grid; grid-template-columns:repeat(7,1fr); gap:3px; text-align:center; }
.range-weekdays { color:#8c95a1; font-size:11px; margin:8px 0; }
.range-days button { border:0; background:transparent; border-radius:6px; height:31px; font-size:12px; color:#394552; cursor:pointer; }
.range-days button:hover { background:#faecee; }
.range-days .in-range { background:#fcf0f2; border-radius:0; }
.range-days button.selected,.range-days button.selected:hover { background:#ad3043; color:white; border-radius:6px; }
.range-hint { font-size:12px; color:#65707d; margin:14px 0; }
.range-actions { display:flex; gap:8px; justify-content:flex-end; border-top:1px solid #f0f1f3; padding-top:12px; }
.range-actions button { border:1px solid #e1e4e8; background:#fff; border-radius:7px; padding:7px 13px; cursor:pointer; }
.range-actions [data-range-apply] { background:#ad3043; color:#fff; border-color:#ad3043; }
.range-actions button:disabled { opacity:.4; cursor:not-allowed; }
@media(max-width:650px) { .range-calendars { grid-template-columns:1fr; } .range-calendars > :nth-child(2) { display:none; } .range-popover { width:290px; } .page-head { align-items:flex-start; gap:12px; } .page-head h1 { font-size:22px; } }
