/* Date Duration Calculator — furniture beyond the shared .ftb-tool block. */

.ftb-tool-dd .ftb-dd-inputs{display:grid;gap:var(--ftb-space-4);
	grid-template-columns:1fr;margin-bottom:var(--ftb-space-5)}
@media (min-width:600px){.ftb-tool-dd .ftb-dd-inputs{grid-template-columns:1fr 1fr}}
.ftb-tool-dd input[type=date]{min-height:var(--ftb-control-h);width:100%;
	padding:var(--ftb-space-2) var(--ftb-space-3);font-family:inherit;
	font-size:var(--ftb-text-base);color:var(--ftb-text);background:var(--ftb-bg);
	border:1px solid var(--ftb-border-strong);border-radius:var(--ftb-radius)}
.ftb-tool-dd input[type=date]:focus-visible{outline:2px solid var(--ftb-primary);
	outline-offset:2px}

/* The two answers, side by side and equally weighted. Showing only one is the
   whole reason competing tools produce off-by-one arguments. */
.ftb-tool-dd .ftb-dd-answers{display:grid;gap:var(--ftb-space-4);
	grid-template-columns:1fr;margin:var(--ftb-space-5) 0}
@media (min-width:600px){.ftb-tool-dd .ftb-dd-answers{grid-template-columns:1fr 1fr}}
.ftb-tool-dd .ftb-dd-answer{display:flex;flex-direction:column;
	gap:var(--ftb-space-1);padding:var(--ftb-space-5);text-align:center;
	background:var(--ftb-surface);border:1px solid var(--ftb-border);
	border-radius:var(--ftb-radius-lg);
	/* Reserved so the answer appearing never shifts the page (§10 CLS). */
	min-height:132px;justify-content:center}
.ftb-tool-dd .ftb-dd-big{font-size:var(--ftb-text-3xl);
	font-weight:var(--ftb-fw-bold);color:var(--ftb-primary);line-height:1.1;
	font-variant-numeric:tabular-nums}
.ftb-tool-dd .ftb-dd-lab{font-size:var(--ftb-text-base);
	font-weight:var(--ftb-fw-semi);color:var(--ftb-text)}
.ftb-tool-dd .ftb-dd-note{font-size:var(--ftb-text-xs);color:var(--ftb-text-muted)}
.ftb-tool-dd .ftb-dd-summary{margin:0 0 var(--ftb-space-5);
	font-size:var(--ftb-text-base);color:var(--ftb-text-muted);min-height:1.6em}

.ftb-tool-dd .ftb-dd-grid{display:grid;gap:var(--ftb-space-3);
	grid-template-columns:repeat(2,1fr);margin:0 0 var(--ftb-space-4)}
@media (min-width:600px){.ftb-tool-dd .ftb-dd-grid{grid-template-columns:repeat(3,1fr)}}
@media (min-width:1024px){.ftb-tool-dd .ftb-dd-grid{grid-template-columns:repeat(6,1fr)}}
.ftb-tool-dd .ftb-dd-grid>div{padding:var(--ftb-space-3);text-align:center;
	background:var(--ftb-surface);border:1px solid var(--ftb-border);
	border-radius:var(--ftb-radius);min-height:74px;display:flex;
	flex-direction:column;justify-content:center;gap:var(--ftb-space-1)}
.ftb-tool-dd .ftb-dd-grid dt{font-size:var(--ftb-text-xs);
	color:var(--ftb-text-muted);font-weight:var(--ftb-fw-semi)}
.ftb-tool-dd .ftb-dd-grid dd{margin:0;font-size:var(--ftb-text-md);
	font-weight:var(--ftb-fw-bold);font-variant-numeric:tabular-nums;
	overflow-wrap:anywhere}
.ftb-tool-dd .ftb-dd-crosslink{margin:0 0 var(--ftb-space-4);
	font-size:var(--ftb-text-sm);color:var(--ftb-text-muted);
	max-width:var(--ftb-maxw-prose)}
