/* Календарь выбора даты: оформление как у выбора месяца в финансах (.tx-month-popover). */
.dp-popover { position:absolute; top:calc(100% + 8px); left:0; z-index:40; width:300px; padding:14px; border-radius:14px; border:1px solid var(--line); background:var(--paper); color:var(--ink); box-shadow:0 12px 30px rgba(0,0,0,.35); text-align:left; }
.dp-popover.dp-right { left:auto; right:0; }
html[data-theme="dark"] .dp-popover { background:var(--neo-raised); }
.dp-head { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-bottom:12px; font-weight:700; }
.dp-head b { font-size:16px; }
html body button.dp-nav.dp-nav { display:inline-flex; align-items:center; justify-content:center; width:32px; height:32px; padding:0!important; border:1px solid var(--line)!important; border-radius:50%!important; background:var(--soft)!important; color:var(--muted)!important; font-size:16px; box-shadow:none!important; cursor:pointer; }
html body button.dp-title.dp-title { flex:1; padding:6px 8px!important; border:0!important; border-radius:10px!important; background:transparent!important; color:var(--ink)!important; font:inherit; font-size:16px; font-weight:700; box-shadow:none!important; cursor:pointer; }
html body button.dp-title.dp-title:hover { background:color-mix(in srgb,var(--muted) 16%,transparent)!important; transform:none; }
.dp-week,.dp-days { display:grid; grid-template-columns:repeat(7,1fr); gap:4px; }
.dp-week { margin-bottom:6px; color:var(--muted); font-size:12px; font-weight:700; text-align:center; }
.dp-days i { display:block; }
html body button.dp-day.dp-day { position:relative; height:36px; padding:0!important; border:1px solid transparent!important; border-radius:10px!important; background:transparent!important; color:var(--ink)!important; font:inherit; font-size:14px; font-weight:600; box-shadow:none!important; cursor:pointer; }
html body button.dp-day.dp-day:hover:not(:disabled) { background:color-mix(in srgb,var(--accent) 16%,transparent)!important; transform:none; }
html body button.dp-day.dp-day.is-today { border-color:var(--accent)!important; }
html body button.dp-day.dp-day.is-selected { background:var(--accent)!important; border-color:var(--accent)!important; color:#fff!important; }
html body button.dp-day.dp-day:disabled { opacity:.35; cursor:default; }
.dp-mark { position:absolute; left:50%; bottom:3px; width:6px; height:6px; border-radius:50%; transform:translateX(-50%); }
.dp-mark.is-full { background:#3fb37f; } .dp-mark.is-most { background:#9bcf5b; } .dp-mark.is-some { background:#f2b94b; } .dp-mark.is-zero { background:#e5484d; }
.dp-day.is-selected .dp-mark { box-shadow:0 0 0 1.5px #fff; }
.dp-foot { display:flex; justify-content:center; margin-top:10px; }
html body button.dp-today.dp-today { padding:7px 16px!important; border:1px solid var(--line)!important; border-radius:10px!important; background:var(--soft)!important; color:var(--ink)!important; font:inherit; font-size:14px; font-weight:650; box-shadow:none!important; cursor:pointer; }
html body button.dp-today.dp-today:disabled { opacity:.4; cursor:default; }
.dp-months { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; }
html body button.dp-month.dp-month { padding:10px 4px!important; border:1px solid var(--line)!important; border-radius:10px!important; background:var(--soft)!important; color:var(--ink)!important; font:inherit; font-size:14px; box-shadow:none!important; cursor:pointer; }
html body button.dp-month.dp-month.is-selected { background:var(--accent)!important; border-color:var(--accent)!important; color:#fff!important; }
.dp-mark.is-pending { background:#5b92c6; }
