.xd-due-panel { gap: 10px; min-height: 572px; }
.xd-due-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.xd-due-row { width: 100%; display: flex; align-items: center; gap: 10px; text-align: left; font: inherit; color: inherit; background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--green); border-radius: 10px; padding: 7px 10px; cursor: pointer; }
.xd-due-row[data-st="soon"] { border-left-color: var(--amber); }
.xd-due-row[data-st="over"] { border-left-color: var(--red); }
.xd-due-row[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--ink); }
.xd-due-row:focus-visible, .xd-due-panel select:focus-visible, .xd-due-range:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.xd-due-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.xd-due-main small, .xd-due-side small { color: var(--muted); font-size: 12px; }
.xd-due-side { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; text-align: right; }
.xd-due-row .xd-badge[data-st="ok"] { background: #DDF2E7; color: var(--green); }
.xd-due-row .xd-badge[data-st="soon"] { background: #FFF1C2; color: #7A5200; }
.xd-due-row .xd-badge[data-st="over"] { background: #FDE7E5; color: var(--red); }
.xd-due-legend { margin: 0; font-size: 11.5px; color: var(--muted); display: flex; flex-wrap: wrap; align-items: center; gap: 2px 6px; }
.xd-due-d { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.xd-due-d.g { background: var(--green); } .xd-due-d.y { background: var(--amber); } .xd-due-d.r { background: var(--red); }
.xd-due-ctl { gap: 6px; }
.xd-due-int { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; }
.xd-due-int select { font: inherit; font-size: 13px; padding: 4px 8px; border: 1px solid var(--line); border-radius: 7px; background: #fff; color: var(--ink); min-width: 110px; }
.xd-due-range { width: 100%; accent-color: var(--amber); }
.xd-due-today { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.xd-due-panel .xd-btn-dark { align-self: stretch; height: auto; padding: 9px 12px; line-height: 1.2; }
.xd-due-panel .xd-mail { min-height: 58px; }
.xd-due-panel ~ .xd-toast { white-space: normal; text-align: center; width: max-content; max-width: calc(100% - 28px); border-radius: 14px; }
