.wh-history,.wh-results{display:grid;gap:1.25rem;min-width:0}
.wh-history .panel{padding:clamp(1rem,3vw,1.6rem);border-radius:20px;min-width:0}
.wh-filters,.wh-custom{display:flex;flex-wrap:wrap;align-items:end;gap:.7rem 1.1rem}
.wh-custom[hidden],.wh-error[hidden]{display:none}
.wh-filters label{min-width:0;max-width:100%;display:grid;gap:.12rem;font-size:var(--type-ui);font-weight:600;color:#46636a}
.wh-filters select,.wh-filters input,.wh-filters button{box-sizing:border-box;min-height:48px;max-width:100%;font:inherit;color:#102f36}
.wh-filters select,.wh-filters input{font-size:var(--type-body)}
.wh-filters button{font-size:var(--type-ui)}
.wh-filters select,.wh-filters input{background:#fff;border:1px solid #a7bfb4;border-radius:12px;padding:.32rem .65rem;width:auto}
.wh-history h2{margin:0;font-size:var(--type-section);line-height:1.35;overflow-wrap:anywhere}
.wh-history .wh-overview{background:#eef8f2;border:0}
.wh-overview-head{display:flex;align-items:center;gap:.75rem}
.wh-portrait,.wh-initial{width:3.2rem;height:3.2rem;flex:none;border-radius:50%;object-fit:cover}
.wh-initial{display:grid;place-items:center;background:#c7e8da;color:#1a574d;font-size:1.35rem;font-weight:650}
.wh-overview-head h2{letter-spacing:-.035em}
.wh-overview-head p,.wh-empty p,.wh-history details p,.wh-coverage{color:#46636a;margin:.16rem 0 0;line-height:1.45}
.wh-overview-head p{font-size:var(--type-ui)}
.wh-stats{margin:1.45rem 0 .25rem;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,6rem),1fr));gap:.85rem .55rem}
.wh-stats>div{display:flex;flex-direction:column;gap:.14rem;min-width:0}
.wh-stats dd{order:-1;font-variant-numeric:tabular-nums;font-size:var(--type-metric);line-height:1.25;font-weight:700;margin:0;letter-spacing:-.025em}
.wh-stats dt,.wh-week figcaption,.wh-day h3,.wh-walk small,.wh-coverage{color:#46636a}
.wh-stats dt,.wh-week figcaption{font-size:var(--type-meta);line-height:1.25;font-weight:600}
.wh-coverage{font-size:var(--type-meta);margin-top:.6rem}
.wh-week{margin:1.1rem 0 0;padding-top:.8rem;border-top:1px solid #cfdfd5}
.wh-week ol{padding:0;margin:.45rem 0 0;list-style:none;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:.3rem}
.wh-week li{display:grid;grid-template-rows:.95rem 2.25rem auto;justify-items:center;align-items:end;gap:.12rem;min-width:0}
.wh-week li span,.wh-week li small{font-size:var(--type-meta);line-height:1.3}
.wh-week li span{font-weight:700}.wh-week li i{width:min(70%,1.65rem);min-height:3px;border-radius:5px;background:#b3cfc0}
.wh-week i:not([data-level="0"]){background:#167963}
.wh-week i[data-level="1"]{height:25%}.wh-week i[data-level="2"]{height:50%}.wh-week i[data-level="3"]{height:75%}.wh-week i[data-level="4"]{height:100%}
.wh-history .wh-walks{background:transparent;border:0;padding:0}
.wh-day{margin-top:.9rem}
.wh-day h3{margin:0;padding:0 0 .37rem;font-size:var(--type-meta);line-height:1.4;font-weight:650}
.wh-walk{min-height:56px;box-sizing:border-box;display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;gap:.75rem;align-items:center;padding:.75rem .9rem;background:#fff;border:1px solid #d6e3da;border-radius:14px;text-decoration:none;color:#102f36}
.wh-walk+.wh-walk{margin-top:.35rem}
.wh-walk strong,.wh-walk small,.wh-measure span{display:block;overflow-wrap:anywhere}
.wh-walk small{font-size:var(--type-meta)}
.wh-walk:hover{background:#eaf8ef}.wh-time{font-variant-numeric:tabular-nums;font-size:var(--type-ui);font-weight:650}
.wh-measure{font-size:var(--type-ui);text-align:right}
.wh-chevron{align-self:center;font-size:1.4rem;color:#46636a}
.wh-history details{border-top:1px solid #d1dfd7;margin-top:1rem}
.wh-history details summary{display:list-item;align-content:center;min-height:48px;cursor:pointer;font-size:var(--type-ui);font-weight:650}
.wh-history details p{font-size:var(--type-body)}
.wh-error{margin:0;padding:.8rem 1rem;background:#faeee9;border-radius:10px;color:#793917}
@media(max-width:590px){
  .wh-history,.wh-results{gap:1rem}
  .wh-filters label{flex:1 1 7.8rem}.wh-custom{width:100%}
  .wh-walk{grid-template-columns:min-content minmax(0,1fr) min-content;gap:.15rem .75rem}
  .wh-walk-name,.wh-measure{grid-column:2}
  .wh-measure{text-align:left}.wh-measure span,.wh-measure small{display:inline}
  .wh-measure small::before{content:' · '}
  .wh-chevron{grid-column:3;grid-row:1/3}
}
@media(max-width:22rem){.wh-stats{column-gap:.45rem}.wh-walk{padding:.65rem}}

.wh-history .wh-overview{background:#fff6dd;border:1px solid #e5d7b1;border-radius:24px}
.wh-overview .wh-portrait,.wh-overview .wh-initial{width:3.6rem;height:3.6rem;box-shadow:0 0 0 3px #fffdf6}
.wh-stats>div{border-left:2px solid #d7c99e;padding-left:10px}
.wh-history .wh-week{background:#fffdf6;border:1px solid #e6dcc3;border-radius:14px;padding:12px}
@media(min-width:850px){
 .wh-history .wh-overview:has(.wh-week){display:grid;grid-template-columns:minmax(0,1.15fr) minmax(200px,.85fr);column-gap:clamp(16px,3vw,40px);align-items:start}
 .wh-overview .wh-coverage{grid-column:1}
 .wh-overview .wh-week{grid-column:2;grid-row:1/4;align-self:stretch;display:grid;align-content:center;margin:0}
}

.vl-list {
  max-width:56rem;
  display:grid;
  gap:1.3rem;
  color:var(--ink);
}
.vl-list h2 {margin:0;font-size:var(--type-section);line-height:1.3;letter-spacing:-.025em}
.vl-applied {display:flex;align-items:center;gap:.6rem;flex-wrap:wrap}
.vl-more>details,.vl-list>.vl-empty {border-radius:18px;border:1px solid var(--line);background:white;padding:clamp(.9rem,2.6vw,1.55rem)}
.vl-date {margin:.95rem 0 0;container:visit-day / inline-size}
.vl-date h3 {font-size:var(--type-meta);letter-spacing:0;line-height:1.5;margin:0 0 .35rem;color:#435e58}
.vl-date ul {list-style:none;margin:0;padding:0;border:1px solid var(--line);border-radius:13px;background:white}
.vl-date li+li {border-top:1px solid var(--line)}
.vl-row {display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:.8rem;padding:.65rem .75rem;min-height:60px;color:inherit;text-decoration:none;line-height:1.4;border-radius:11px}
.vl-row:hover {background:#edf8f2}
.vl-portrait {width:2.65rem;height:2.65rem;border-radius:50%;overflow:hidden;display:grid;place-items:center;background:#d9efe4;color:#1a5847;font-weight:700}
.vl-portrait img {width:100%;height:100%;object-fit:cover}
.vl-pet,.vl-when {display:grid;gap:.1rem;min-width:0}
.vl-pet {overflow-wrap:anywhere}
.vl-when {text-align:right;justify-items:end;font-variant-numeric:tabular-nums}
.vl-when time {font-size:var(--type-ui);font-weight:650;white-space:nowrap}
.vl-row small {font-size:var(--type-meta);color:var(--muted)}
.vl-chevron {color:#32624e;font-size:1.25rem}
.vl-list .vl-search {display:block;box-sizing:border-box;width:100%;max-width:34rem;margin:.65rem 0 0;min-height:44px;border:1px solid #9bb4ab;border-radius:11px;background:#fff;padding:.5rem .75rem;font:inherit;font-size:var(--type-body);color:var(--ink)}
.vl-applied {justify-content:flex-start;margin:.45rem 0 0;font-size:var(--type-ui)}
.vl-link {background:transparent;border:0;color:#1c624d;text-decoration:underline;cursor:pointer;font:inherit;font-size:var(--type-ui);font-weight:650;min-height:44px}
.vl-filter-form {display:grid;gap:1rem}
.vl-filter-form label {display:grid;gap:.3rem;font-size:var(--type-ui);font-weight:650;min-width:0}
.vl-filter-form input,.vl-filter-form select {box-sizing:border-box;min-height:46px;width:100%;max-width:100%;min-width:0;background:#fff;border:1px solid #9bb4ab;border-radius:9px;padding:.4rem .55rem;color:var(--ink);font:inherit;font-size:var(--type-body);font-weight:400}
.vl-dates {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem}
.vl-list .vl-filter,.vl-list .vl-older {min-height:44px}
.vl-older {margin-top:.8rem}
.vl-empty {margin:.9rem 0 .2rem;color:var(--muted)}
.vl-more {display:grid;gap:.6rem}
.vl-more>details {padding:.35rem clamp(.9rem,2.6vw,1.55rem)}
.vl-more>details>summary {cursor:pointer;min-height:44px;align-content:center;font-weight:650}
.vl-more summary small {font-weight:500;color:var(--muted)}
.vl-more>details[open]>div {margin:0 0 .75rem}
.vl-more .vl-totals {padding-top:.6rem}
.vl-result-count {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(max-width:480px){
  .vl-row {grid-template-columns:auto minmax(0,1fr) auto;column-gap:.6rem;row-gap:.12rem;padding:.6rem .65rem}
  .vl-portrait {grid-row:1/3;width:2.35rem;height:2.35rem}
  .vl-when {grid-column:2;display:flex;align-items:center;gap:.45rem;flex-wrap:wrap;text-align:left}
  .vl-chevron {grid-column:3;grid-row:1/3}
}
@container visit-day (max-width:16rem){
  .vl-row {grid-template-columns:auto minmax(0,1fr) auto}
  .vl-portrait,.vl-chevron {grid-row:1}
  .vl-chevron {grid-column:3}
  .vl-when {grid-column:1/-1;grid-row:2;display:flex;flex-wrap:wrap;align-items:baseline;gap:.15rem .6rem;text-align:start}
  .vl-when time {max-width:100%;white-space:normal}
}

.vl-register {min-width:0}
.vl-groups {display:flex;flex-wrap:wrap;gap:.25rem;border-bottom:1px solid var(--line)}
.vl-groups button {display:inline-flex;align-items:center;justify-content:center;gap:.4rem;min-height:44px;padding:.5rem .8rem;border:0;border-bottom:3px solid transparent;background:transparent;font:inherit;font-size:var(--type-ui);font-weight:650;color:var(--muted);cursor:pointer}
.vl-groups button[aria-pressed=true] {color:#174f42;border-bottom-color:#27715a}
.vl-groups button span {padding:.06rem .4rem;border-radius:.5rem;background:#e7eae3;color:#3c554c;font-size:var(--type-meta);font-variant-numeric:tabular-nums}
.vl-groups button[aria-pressed=true] span {background:#d0eddc;color:#184e3c}
.vl-tools {display:grid;grid-template-columns:minmax(0,30rem) max-content;align-items:center;gap:.5rem;margin:.8rem 0}
.vl-tools .vl-filter {white-space:nowrap}
.vl-tools .vl-search {min-width:0;max-width:30rem;margin:0}
.vl-list .vl-live {margin-top:1rem;padding:.8rem;border:1px solid #b3d6c3;background:#eaf6ee;border-radius:14px}
.vl-live .vl-date {margin-top:.35rem}
.vl-live h2 {font-size:var(--type-card)}
@media(max-width:420px){
  .vl-groups {gap:0}
  .vl-groups button {padding:.4rem .42rem;gap:.25rem}
}

.vl-period-tools {display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.5rem}
.vl-period-tools .vl-itinerary {min-height:44px}
