/* /elf-calendar/ only (hand-written). The site's tokens from style.css. */
.ecal-form{margin:24px 0 8px;padding:22px 20px 18px;border-radius:22px;background:var(--card);box-shadow:var(--shadow-paper)}
.ecal-form[hidden]{display:none}
.ecal .where{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:0 0 18px}
.ecal .where>span{font-size:15px;font-weight:700;color:var(--muted)}
.ecal .where-b{display:inline-flex;padding:4px;border-radius:999px;background:var(--paper-2)}
.ecal .where button{min-height:44px;padding:0 16px;border:0;border-radius:999px;background:none;color:var(--ink);font:inherit;font-weight:700;cursor:pointer}
.ecal .where button[aria-pressed="true"]{background:var(--night);color:var(--night-ink)}
.ecal-row{display:grid;gap:14px}
@media (min-width:640px){.ecal-row{grid-template-columns:1fr 1fr 1fr}}
.ecal-f{margin:0;min-width:0}
.ecal-f>label,.ecal-r legend{display:block;margin-bottom:6px;font-weight:700;font-size:16px}
.ecal-f input[type=date],.ecal-f input[type=time]{width:100%;min-height:52px;padding:0 12px;border:2px solid var(--line);border-radius:12px;background:#fff;color:var(--ink);font:inherit;font-size:17px}
.ecal-f input:focus-visible{outline:3px solid var(--lamp);outline-offset:2px;border-color:var(--night)}
.ecal-hint{margin:6px 0 0;font-size:14px;color:var(--muted)}
.ecal-r{margin-top:18px;padding:0;border:0}
.ecal-r label{display:flex;align-items:center;gap:10px;min-height:44px;font-size:17px;cursor:pointer}
.ecal-r input{width:22px;height:22px;accent-color:var(--night);flex:none}
.ecal-sum{margin:16px 0 0;font-weight:600}
.ecal-err{margin:10px 0 0;color:#A3321F;font-weight:700}
.ecal-err[hidden],.ecal-done[hidden]{display:none}
.ecal-done{margin:4px 0 0;padding:12px 14px;border-radius:12px;background:var(--paper)}
.ecal-list{margin-top:14px}
.ecal-list summary{min-height:44px;display:flex;align-items:center;font-weight:700;cursor:pointer}
.ecal-list ol{margin:6px 0 0;padding-left:1.6em;columns:2 260px;column-gap:28px}
.ecal-list li{break-inside:avoid;margin:0 0 6px}
.ecal-d{display:inline-block;min-width:8.2em;color:var(--muted);font-variant-numeric:tabular-nums}
.ecal-steps li{margin-bottom:10px}

/* Room kept for the tool before its script runs (audit WHX-04, 14 Nov). The page marks <html class="js"> just before the tool; with
   scripts on, the tool's box is laid out unseen from the first paint, so the words under it don't jump down a screen when it shows.
   With scripts off nothing is kept and the page reads as before. */
.js .ecal-form[hidden]{display:block!important;visibility:hidden}
