/* Days between dates: the two modes, the "Today" links, business-day settings and the two tables. */
.tool-days-between-dates fieldset{border:1px solid var(--line);border-radius:12px;padding:10px 12px;margin:12px 0 0;display:grid;gap:10px;min-width:0}
.tool-days-between-dates legend{font-weight:600;padding:0 4px}
.tool-days-between-dates [hidden]{display:none !important}
.tool-days-between-dates .seg{flex-wrap:wrap}
.tool-days-between-dates input[type=date]{min-width:0;width:100%}
.tool-days-between-dates .linkbtn{justify-self:start;align-self:flex-start;width:auto;margin-top:2px;background:none;border:0;padding:2px 0;color:var(--accent);font:inherit;font-size:.8rem;text-decoration:underline;cursor:pointer}
.tool-days-between-dates .linkbtn:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.tool-days-between-dates .db-three{grid-template-columns:minmax(0,1fr) minmax(0,.8fr) minmax(0,1.2fr)}
.tool-days-between-dates .db-own textarea{width:100%;min-height:5.5em;resize:vertical}
.tool-days-between-dates .check{margin:0}
.tool-days-between-dates td,.tool-days-between-dates th{text-align:left}
.tool-days-between-dates #days-between-dates-wdTable td:nth-child(2),.tool-days-between-dates #days-between-dates-wdTable th:nth-child(2){text-align:right}
.tool-days-between-dates #days-between-dates-holTable td:nth-child(2){white-space:normal}
.tool-days-between-dates tr.off td{color:var(--muted)}
.tool-days-between-dates .stat .sub{display:block;margin-top:2px;font-size:.8rem;font-weight:400;color:var(--muted)}
@media (max-width:400px){.tool-days-between-dates .row,.tool-days-between-dates .db-three{grid-template-columns:minmax(0,1fr)}}
