/* PRO V5: shared, keyboard-friendly date-tool design; scoped to .pro-date-tool. */
.pro-date-tool { --tool-border:var(--card-border,#dde5de); --tool-tint:var(--box-bg,#fff); }
.pro-date-tool .dt-intro {max-width: 760px; margin:0 auto 22px; line-height:1.75; color:var(--text-muted);text-align:center;}
.pro-date-tool .dt-layout {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px;margin:26px 0 34px;}
.pro-date-tool .dt-panel {background:var(--tool-tint);border:1px solid var(--tool-border);border-radius:22px;padding:clamp(18px,3vw,28px);box-shadow:0 10px 26px rgba(2,66,56,.06);}
.pro-date-tool .dt-panel h2 {margin:0 0 14px;font-size:1.2rem;color:var(--teal);}
.pro-date-tool .dt-form {display:grid;gap:16px;}
.pro-date-tool .dt-field {display:grid;gap:7px;min-width:0;}
.pro-date-tool .dt-label {font-size:.9rem;font-weight:700;color:var(--text-main);}
.pro-date-tool .dt-input {width:100%;min-width:0;min-height:52px;border:1.5px solid var(--input-border,#cfdcd5);background:var(--input-bg,#fff);color:var(--text-main);border-radius:14px;padding:12px 14px;font:inherit;}
.pro-date-tool .dt-input:focus-visible,.pro-date-tool button:focus-visible,.pro-date-tool input:focus-visible {outline:3px solid var(--gold,#cca94e);outline-offset:3px;}
.pro-date-tool .dt-row {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;}
.pro-date-tool .dt-switch {display:flex;flex-wrap:wrap;gap:9px;}
.pro-date-tool .dt-switch label {display:inline-flex;gap:7px;align-items:center;border:1px solid var(--tool-border);border-radius:999px;padding:9px 13px;cursor:pointer;color:var(--text-main);font-weight:600;font-size:.88rem;}
.pro-date-tool .dt-switch label:has(input:checked) {border-color:var(--teal);background:rgba(0,135,111,.08);}
.pro-date-tool [hidden] {display:none !important;}
.pro-date-tool .dt-result {display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:12px;min-width:0;}
.pro-date-tool .dt-kicker {letter-spacing:.09em;text-transform:uppercase;font-size:.73rem;font-weight:800;color:var(--text-muted);}
.pro-date-tool .dt-answer {font-size:clamp(1.6rem,3vw,2.5rem);color:var(--teal);line-height:1.25;overflow-wrap:anywhere;}
.pro-date-tool .dt-muted {font-size:.9rem;color:var(--text-muted);line-height:1.65;}
.pro-date-tool .dt-alert {color:#ba3535;font-weight:600;min-height:1rem;}
.pro-date-tool .dt-copy {padding:9px 17px;border-radius:10px;border:1px solid var(--teal);color:var(--teal);background:transparent;cursor:pointer;font-weight:700;}
.pro-date-tool .dt-comparison {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:6px;width:100%;}
.pro-date-tool .date-comparison-card {display:flex;flex-direction:column;gap:8px;padding:13px;border:1px solid var(--tool-border);border-radius:14px;min-width:0;}
.pro-date-tool .date-comparison-card.selected {border-color:var(--teal);box-shadow:inset 0 0 0 1px var(--teal);}
.pro-date-tool .date-comparison-card span {font-size:.77rem;line-height:1.4;color:var(--text-muted);}
.pro-date-tool .date-comparison-card strong {font-size:.94rem;color:var(--text-main);overflow-wrap:anywhere;}
.pro-date-tool .dt-guide {margin-top:24px;max-width:850px;}
.pro-date-tool .dt-guide h2 {font-size:1.35rem;color:var(--teal);margin:25px 0 8px;}
.pro-date-tool .dt-guide p,.pro-date-tool .dt-guide li {line-height:1.85;margin-bottom:12px;}
.pro-date-tool .dt-guide a {color:var(--teal);text-decoration:underline;text-underline-offset:3px;}
@media(max-width:800px) {.pro-date-tool .dt-layout {grid-template-columns:1fr;} .pro-date-tool .dt-comparison {grid-template-columns:1fr;}}
@media(max-width:440px) {.pro-date-tool .dt-panel {padding:17px;} .pro-date-tool .dt-row {gap:6px;} .pro-date-tool .dt-input {padding:10px 7px;}}
