



#panel-main { position: absolute; z-index: 5; top: var(--fa-gap); left: var(--fa-gap); width: var(--fa-w); max-height: calc(100dvh - 2 * var(--fa-gap));
  display: flex; flex-direction: column; background: var(--fa-surface); border-radius: var(--fa-r); box-shadow: var(--fa-shadow), var(--fa-ring); overflow: hidden; }
#pm-search { padding: 8px 8px 0; flex: none; }
#pm-field { position: relative; display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 12px; background: var(--fa-wash); border-radius: var(--fa-r-md); }
#pm-field:focus-within { box-shadow: 0 0 0 2px var(--fa-accent); }
#pm-field .sicon { width: 18px; height: 18px; color: var(--fa-faint); flex: none; }
#q { flex: 1; min-width: 0; height: 100%; border: none; background: transparent; font: inherit; font-size: 16px; color: var(--fa-text); padding: 0; }
#q:focus { outline: none; } #q::placeholder { color: var(--fa-faint); }
#pm-kbd { font-size: 11.5px; color: var(--fa-faint); border: 1px solid var(--fa-line); border-radius: 6px; padding: 1px 6px; flex: none; }
#pm-field:focus-within #pm-kbd, #pm-field.has-text #pm-kbd { display: none; }
#pm-spin { display: none; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--fa-line); border-top-color: var(--fa-accent); animation: pm-spin .8s linear infinite; flex: none; }
#panel-main.loading #pm-spin { display: block; }
@keyframes pm-spin { to { transform: rotate(360deg); } }



@keyframes ai-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }
.row.ai-reading .chip { animation: ai-pulse 1.2s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .row.ai-reading .chip { animation: none; } }
.row.ai-off .chip { opacity: 0.5; }
.row.ai-off .cta[disabled] { opacity: 0.5; cursor: default; }
#clearbtn { display: none; width: 28px; height: 28px; border: none; background: transparent; color: var(--fa-faint); cursor: pointer; border-radius: var(--fa-r-sm); flex: none; align-items: center; justify-content: center; }
#clearbtn.show { display: inline-flex; } #clearbtn:hover { color: var(--fa-text); background: var(--fa-line-2); }
#searchopts { display: flex; gap: 6px; padding: 8px 4px 0; flex-wrap: wrap; }
#searchopts label { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; user-select: none; padding: 7px 12px; border-radius: var(--fa-r-pill);
  font-weight: 500; font-size: 13px; color: var(--fa-mut); background: var(--fa-wash); white-space: nowrap; border: none; }
#searchopts label:has(input:checked) { color: var(--fa-accent-strong); background: var(--fa-accent-soft); }
#searchopts input { position: absolute; opacity: 0; width: 0; height: 0; margin: 0; }






#panel-main[data-state="place"] #searchopts, #panel-main[data-state="route"] #searchopts, #panel-main[data-state="reach"] #searchopts { visibility: hidden; pointer-events: none; }







#pm-back { display: flex; visibility: hidden; align-items: center; gap: 6px; padding: 12px 16px 4px; border: none; background: none; cursor: pointer; text-align: left;
  font-weight: 600; font-size: 13.5px; color: var(--fa-accent-strong); }
#pm-back.show { visibility: visible; }
#pm-body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
#pm-foot { flex: none; padding: 10px 16px 12px; font-size: 11.5px; color: var(--fa-faint); border-top: 1px solid var(--fa-line-2); }
#pm-foot:empty { display: none; }


.row { display: flex; gap: 12px; align-items: flex-start; padding: 11px 12px; margin: 0 6px; border-radius: var(--fa-r-md); cursor: pointer; color: var(--fa-text); }
.row:hover, .row.sel { background: var(--fa-accent-soft); }
.row .chip, .row .num { flex: none; margin-top: 1px; }
.row .num { width: 28px; height: 28px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 13px; }
.row .r-body { flex: 1; min-width: 0; line-height: 1.25; }
.row .r-top { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }








.row .r-name { font-weight: 600; font-size: 15px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row .r-dist { flex: none; color: var(--fa-faint); font-size: 12.5px; font-weight: 500; }
.row .r-sub { display: block; color: var(--fa-mut); font-size: 13.5px; margin-top: 2px; line-height: 1.35; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row .r-sub.wrap { white-space: normal; }
.row.note { cursor: default; } .row.note:hover { background: transparent; }
.row.note .r-name { color: #4a4742; font-weight: 600; white-space: normal; } .row.note .r-sub { white-space: normal; }
.row.warn .r-sub { color: var(--fa-warn); }
.row .cta { display: inline-block; margin-top: 8px; padding: 7px 12px; border-radius: var(--fa-r-pill); background: var(--fa-accent-soft); color: var(--fa-accent-strong); font-weight: 600; font-size: 13px; cursor: pointer; border: none; }
.row.skel .num { background: var(--fa-wash); } .row.skel .r-name, .row.skel .r-sub { display: block; height: 12px; border-radius: 6px; background: var(--fa-wash); }
.row.skel .r-name { width: 60%; } .row.skel .r-sub { width: 85%; margin-top: 8px; }
.code-tag { font-weight: 700; font-size: 11px; letter-spacing: 0.06em; color: var(--fa-accent-strong); background: var(--fa-accent-soft); border-radius: 6px; padding: 2px 6px; margin-left: 8px; vertical-align: 2px; }
.exact-badge { font-size: 11px; font-weight: 600; color: var(--fa-good); background: color-mix(in srgb, var(--fa-good) 12%, var(--fa-surface)); border-radius: 6px; padding: 2px 6px; margin-left: 6px; text-transform: none; letter-spacing: 0; border: none; }
.res-keys { display: flex; justify-content: space-between; gap: 10px; padding: 8px 16px 10px; font-size: 11.5px; color: var(--fa-faint); font-weight: 500; }
.res-list { padding: 6px 0; }









.idle-quick { display: flex; gap: 8px; padding: 12px 16px 4px; }
.idle-quick button { flex: 1; min-height: 68px; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 12px 6px; border: none; border-radius: var(--fa-r-md); background: var(--fa-wash); cursor: pointer;
  font-family: var(--fa-body); font-size: 12.5px; font-weight: 600; color: #4a4742; text-align: center; line-height: 1.2; }
.idle-quick button svg { width: 20px; height: 20px; color: var(--fa-accent-strong); }
.idle-quick button:hover { background: var(--fa-line); }
.idle-sec { padding: 14px 16px 6px; }


.pl-photo { display: block; width: calc(100% - 16px); height: 150px; margin: 4px 8px 0; object-fit: cover; border-radius: var(--fa-r-md); background: var(--fa-wash); }
.pl { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 10px; }
.pl-eyebrow { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13.5px; font-weight: 500; color: var(--fa-mut); }
.pl-eyebrow .chip { width: 24px; height: 24px; border-radius: 8px; } .pl-eyebrow .chip svg { width: 14px; height: 14px; }
.pl-eyebrow .open { color: var(--fa-good); font-weight: 600; } .pl-eyebrow .closed { color: var(--fa-danger); font-weight: 600; }
.pl-tag { font-size: 11.5px; color: var(--fa-faint); border: 1px solid var(--fa-line); border-radius: 6px; padding: 1px 6px; }
.pl-title { font-weight: 700; font-size: 24px; letter-spacing: -0.015em; line-height: 1.1; }


















.pl-title .chip { width: 24px; height: 24px; border-radius: 8px; margin-right: 8px;
                  vertical-align: top; position: relative; top: 1.2px; }
.pl-title .chip svg { width: 14px; height: 14px; }
.pl-title2 { font-size: 15px; color: var(--fa-mut); margin-top: 3px; }







.pl-what { font-size: 14px; color: #4a4742; margin-top: 5px; line-height: 1.35; }
:root[data-fa-dark] .pl-what { color: var(--fa-text); }

.pl-prov { font-size: 12.5px; color: var(--fa-faint); }
#panel-attrib { display: none; margin: 12px 0 0; }







.pl-addr { font-size: 14px; color: #4a4742; line-height: 1.4; } :root[data-fa-dark] .pl-addr { color: var(--fa-text); }
.pl-addr .prov { display: block; font-size: 12.5px; color: var(--fa-faint); } .pl-addr .prov.approx { color: var(--fa-warn); }










.pl-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.pl-actions + .pl-actions { margin-top: 8px; }
.pl-actions .pop-btn { flex: 1 1 120px; min-width: 120px; border: none; background: var(--fa-accent); color: #fff; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 10px; }
.pl-actions .pop-btn:hover { background: var(--fa-accent-strong); }
.pl-actions .fa-btn2 { flex: 1 1 120px; min-width: 120px; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 10px; box-sizing: border-box; }
.pl-actions .fa-btn2.icon { flex: 0 0 44px; width: 44px; min-width: 44px; padding: 0; display: inline-flex; align-items: center; justify-content: center; margin-left: auto; }
.pl-actions .fa-btn2.icon svg { width: 18px; height: 18px; }
.pl-actions a.fa-btn2 { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; line-height: 44px; }




.pl-era { margin: 2px 0 10px; }
.pl-era-line { font-size: 13.5px; color: var(--fa-mut); line-height: 1.35; }
.pl-era-bar { position: relative; height: 10px; margin-top: 7px; border-radius: 5px; overflow: hidden; background: var(--fa-wash); }
.pe-seg { position: absolute; top: 0; bottom: 0; background: var(--fa-line); }
.pe-seg.alt { background: var(--fa-line-2); }


.pe-mark { position: absolute; top: 0; bottom: 0; background: var(--fa-accent); border-radius: 3px; min-width: 4px; }
.pl-era-axis { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--fa-faint); margin-top: 3px; }
.pl-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pl-hero > div { background: var(--fa-wash); border-radius: var(--fa-r-md); padding: 10px 12px; line-height: 1.25; min-width: 0; }
.pl-hero .k { font-size: 11.5px; color: var(--fa-faint); font-weight: 500; }
.pl-hero .v { font-size: 14.5px; font-weight: 600; margin-top: 2px; overflow-wrap: anywhere; }
.pl-hero .v a { color: var(--fa-accent-strong); text-decoration: none; }
.pop-amen { display: flex; flex-wrap: wrap; gap: 6px; }
.pop-amen span { font-size: 12.5px; padding: 6px 10px; border-radius: var(--fa-r-pill); background: color-mix(in srgb, var(--fa-good) 12%, var(--fa-surface)); color: var(--fa-text); border: none; }
.pop-amen span.no { background: var(--fa-wash); color: var(--fa-faint); text-decoration: line-through; }
.enr-block { border: none; border-radius: var(--fa-r-md); padding: 12px 14px; background: var(--fa-wash); display: flex; flex-direction: column; gap: 6px; margin: 0; }
.enr-block.probable { background: color-mix(in srgb, #b07a1e 8%, var(--fa-surface)); }
.enr-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 12.5px; font-weight: 600; color: var(--fa-mut); text-transform: none; letter-spacing: 0; }
.enr-badge { font-size: 11px; padding: 2px 7px; border-radius: 6px; background: var(--fa-accent-soft); color: var(--fa-accent-strong); letter-spacing: 0; }
.enr-block.probable .enr-badge { background: color-mix(in srgb, #b07a1e 18%, var(--fa-surface)); color: var(--fa-warn); }

.sg { display: flex; flex-direction: column; gap: 8px; }
.sg-head { font-size: 12.5px; font-weight: 600; color: var(--fa-mut); }
.sg-src { border-radius: var(--fa-r-md); padding: 12px 14px; background: var(--fa-wash); display: flex; flex-direction: column; gap: 6px; }
.sg-line { font-size: 15px; line-height: 1.35; }
.sg-note, .sg-sub { color: var(--fa-mut); }
.sg-sub, .sg-by { font-size: 13.5px; line-height: 1.35; }
.sg-sub a, .sg-credit a { color: var(--fa-accent-strong); text-decoration: none; font-weight: 600; white-space: nowrap; }
.sg-stars { color: #b07a1e; letter-spacing: 1px; }
.sg-stars .sg-off { color: var(--fa-line); }
.sg-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sg-review { display: flex; flex-direction: column; gap: 3px; padding-top: 6px; border-top: 1px solid var(--fa-line-2); }
.sg-review[hidden] { display: none; }
.sg-quote { margin: 0; padding: 0 0 0 10px; border-left: 3px solid var(--fa-line); font-size: 14px; line-height: 1.45; overflow-wrap: anywhere; white-space: pre-line; }
.sg-more { align-self: flex-start; padding-top: 2px; }
.sg-credit { font-size: 12px; color: var(--fa-faint); line-height: 1.35; }


.enr-rows > div { display: grid; grid-template-columns: minmax(64px, max-content) 1fr; gap: 2px 12px; padding: 3px 0; font-size: 14px; align-items: baseline; }
.enr-rows .pf-k { color: var(--fa-faint); font-weight: 500; text-transform: none; letter-spacing: 0; font-size: 13.5px; }
.enr-rows .pf-v { font-weight: 500; text-align: left; min-width: 0; overflow-wrap: anywhere; line-height: 1.35; }
.enr-table { display: grid; grid-template-columns: auto 1fr auto; gap: 3px 12px; font-size: 13px; font-variant-numeric: tabular-nums; padding-top: 4px; border: none; }
.enr-table .th { font-size: 11px; color: var(--fa-faint); font-weight: 600; text-transform: none; letter-spacing: 0; }
.pl-demoted { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13.5px; font-weight: 600; color: var(--fa-accent-strong); padding-top: 2px; }
.pl-demoted button, .pl-demoted a { border: none; background: none; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: none; }
.pl-more { display: none; } .pl-more.open { display: block; }
.pl-hours { font-size: 14px; line-height: 1.5; white-space: pre-line; }
.pl-tags { display: grid; grid-template-columns: auto 1fr; gap: 3px 12px; font-size: 13px; }
.pl-tags dt { color: var(--fa-faint); margin: 0; } .pl-tags dd { margin: 0; overflow-wrap: anywhere; }
.pl-skel { padding: 16px; color: var(--fa-faint); font-size: 13.5px; }


#dirpanel { position: static; width: auto; max-height: none; background: transparent; border: none; box-shadow: none; padding: 4px 16px 16px; display: block; overflow: visible; }
#dirpanel .panel-head, #dirpanel .panel-grip { display: none; }
.dir-field { margin-bottom: 8px; } .dir-field input { padding-left: 34px; padding-right: 40px; }
.dir-field .dir-dot { border-radius: 50%; }


.fe-wrap { display: flex; flex-direction: column; gap: 8px; }
.fe { background: var(--fa-wash); border-radius: var(--fa-r-md); padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; }
.fe.ended { opacity: .72; }
.fe-skel { font-size: 13px; color: var(--fa-mut); }
.fe-state { font-size: 12.5px; font-weight: 600; } .fe-state.ok { color: var(--fa-good); } .fe-state.check { color: var(--fa-warn); } .fe-state.ended { color: var(--fa-faint); }
.fe-dates { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.fe-d { font-weight: 700; font-size: 20px; letter-spacing: -0.01em; line-height: 1.15; } .fe.ended .fe-d { text-decoration: line-through; text-decoration-thickness: 1px; }
.fe-days { font-size: 13px; color: var(--fa-mut); }
.fe-prov { font-size: 12.5px; color: var(--fa-mut); line-height: 1.4; } .fe-prov a { color: var(--fa-accent-strong); font-weight: 600; text-decoration: none; } .fe-prov .fe-name { color: var(--fa-text); }
.fe-check { font-size: 12.5px; color: var(--fa-warn); line-height: 1.4; } .fe-check q { quotes: '“' '”'; }
.fe-hol { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; line-height: 1.35; padding-top: 4px; border-top: 1px solid var(--fa-line-2); }
.fe-hol .tick { flex: none; margin-top: 5px; } .fe-hol b { font-weight: 600; } .fe-hol small { color: var(--fa-faint); } .fe-hol .fe-why { display: block; font-size: 12px; color: var(--fa-mut); }
.fe-more { padding-top: 2px; } .fe-toggle { border: none; background: none; padding: 0; font-family: var(--fa-body); font-weight: 600; font-size: 12.5px; color: var(--fa-accent-strong); cursor: pointer; }
.fe-src { font-size: 13px; line-height: 1.45; margin-top: 4px; } .fe-src q { quotes: '“' '”'; overflow-wrap: anywhere; } .fe-src small { color: var(--fa-faint); }
.fe-det { font-size: 11.5px; color: var(--fa-faint); margin-top: 4px; }








#pm-today { padding: 12px 16px 0; }


.td-strip { display: flex; flex-wrap: wrap; align-items: baseline; align-content: center; min-height: 44px; box-sizing: border-box;
  gap: 2px 8px; width: 100%; text-align: left; padding: 10px 12px;
  border: none; border-radius: var(--fa-r-md); background: var(--fa-accent-soft); color: var(--fa-text);
  font: inherit; font-size: 15px; font-weight: 500; line-height: 1.35; cursor: pointer; }
.td-strip.td-flat { background: var(--fa-wash); cursor: default; }



button.td-strip:hover { background: color-mix(in oklab, var(--fa-accent) 18%, transparent); box-shadow: var(--fa-shadow-sm); }




.td-strip.td-row { cursor: default; }


.td-t { display: inline; font: inherit; color: var(--fa-accent-strong); background: none; border: 0; padding: 0; margin: 0;
  cursor: pointer; text-align: left; text-decoration: underline; text-underline-offset: 3px;
  text-decoration-thickness: 1px; text-decoration-color: color-mix(in oklab, var(--fa-accent) 45%, transparent); }
.td-t:hover { text-decoration-color: var(--fa-accent-strong); }
.td-t:focus-visible { outline: 2px solid var(--fa-accent-strong); outline-offset: 2px; border-radius: 3px; }



.td-dis { color: var(--fa-ink); min-width: 0; }
.td-dis strong { font-weight: 600; }
.td-ev { font-weight: 600; }
.td-sep { color: var(--fa-faint); flex: none; }
.td-hol { color: var(--fa-mut); min-width: 0; }




.td-hol small { font-size: 13px; font-weight: 600; color: var(--fa-mut); white-space: nowrap; }




.td-strip.td-wide .td-ev { font-weight: 500; }
.td-when { color: var(--fa-mut); flex: none; font-weight: 500; }




.row.fr { cursor: pointer; border-left: 3px solid var(--fa-accent); }
.row.fr:hover { background: color-mix(in oklab, var(--fa-accent) 10%, transparent); }
.row.fr:focus-visible { outline: 2px solid var(--fa-accent-strong); outline-offset: -2px; }
#pm-firstrun { display: flex; flex-direction: column; gap: 2px; }



.row.trip { position: relative; padding-right: 34px; }
.row.trip .trip-x { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); }
.day-save { font: inherit; font-size: 13px; font-weight: 600; color: var(--fa-accent-strong);
  background: none; border: 0; padding: 2px 6px; margin-left: auto; cursor: pointer; border-radius: 4px; }
.day-save:hover { background: color-mix(in oklab, var(--fa-accent) 16%, transparent); }



#pm-holidays { padding: 10px 16px 16px; display: flex; flex-direction: column; }
.hol-title { font-weight: 700; font-size: 22px; letter-spacing: -0.015em; line-height: 1.1; }
.hol-sub { font-size: 13.5px; color: var(--fa-mut); margin-top: 4px; }
.hol-sub b { color: var(--fa-text); }
.hol-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.hol-chips.hide { display: none; }
.hol-chip { border: none; border-radius: var(--fa-r-pill); padding: 5px 10px; background: var(--fa-wash); color: var(--fa-text);
  font-family: var(--fa-body); font-weight: 600; font-size: 12.5px; cursor: pointer; }
.hol-chip:hover { background: var(--fa-accent-soft); color: var(--fa-accent-strong); }


.hol-period { display: flex; gap: 8px; align-items: flex-start; margin-top: 12px; padding: 10px 12px; font-size: 13px; line-height: 1.4;
  border-radius: var(--fa-r-md); background: color-mix(in oklab, var(--fa-accent) 8%, transparent); }
.hol-period i { width: 4px; border-radius: 2px; background: var(--fa-accent); flex: none; align-self: stretch; }
.hol-mo { display: flex; align-items: baseline; gap: 8px; padding: 14px 0 4px; }
.hol-mo span { font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--fa-faint); }
.hol-day { display: flex; align-items: baseline; gap: 12px; padding: 8px 0; border-top: 1px solid var(--fa-line-2); font-size: 14px; }
.hol-when { flex: none; min-width: 84px; font-weight: 600; font-size: 13.5px; color: var(--fa-mut); }

.hol-when.lw { color: var(--fa-accent-strong); }
.hol-what { flex: 1; min-width: 0; }
.hol-what small { display: block; font-size: 12.5px; color: var(--fa-faint); margin-top: 1px; }
.hol-reg { display: flex; flex-direction: column; }
.hol-reg.hide { display: none; }
.hol-none { margin-top: 12px; font-size: 13.5px; color: var(--fa-mut); line-height: 1.45; }
.hol-foot { margin-top: 14px; padding-top: 10px; border-top: 1px solid var(--fa-line-2); font-size: 11.5px; color: var(--fa-faint); line-height: 1.45; }
#pm-holidays .linkbtn { align-self: flex-start; padding: 12px 0 0; }







#pm-onnow { padding: 10px 16px 16px; display: flex; flex-direction: column; }
.on-title { font-weight: 700; font-size: 22px; letter-spacing: -0.015em; line-height: 1.1; }
.on-sub { font-size: 13.5px; color: var(--fa-mut); margin-top: 4px; }
.on-sub b { color: var(--fa-text); }
.on-sec { display: flex; align-items: baseline; gap: 8px; padding: 14px 0 4px; }
.on-sec span { font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--fa-faint); }




.on-row { display: flex; align-items: baseline; gap: 12px; width: 100%; min-height: 44px; padding: 8px 6px 8px 0;
  border: none; border-top: 1px solid var(--fa-line-2); border-radius: 0; background: none; text-align: left;
  font-family: var(--fa-body); font-size: 14px; color: var(--fa-text); cursor: pointer; }
.on-row:hover { background: var(--fa-wash); }
.on-when { flex: none; min-width: 86px; font-weight: 600; font-size: 13.5px; color: var(--fa-mut); }
.on-when small { display: block; font-weight: 500; font-size: 12px; color: var(--fa-faint); }

.on-row.is-live .on-when { color: var(--fa-accent-strong); }
.on-what { flex: 1; min-width: 0; }
.on-name { display: block; font-weight: 500; line-height: 1.25; }




.on-act { display: block; font-size: 12.5px; color: var(--fa-mut); margin-top: 1px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.on-meta { display: flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--fa-faint); margin-top: 2px; }
.on-none { margin-top: 12px; font-size: 13.5px; color: var(--fa-mut); line-height: 1.45; }
.on-foot { margin-top: 14px; padding-top: 10px; border-top: 1px solid var(--fa-line-2); font-size: 11.5px; color: var(--fa-faint); line-height: 1.45; }
#pm-onnow .linkbtn { align-self: flex-start; padding: 12px 0 0; }

#pm-onmap { padding: 10px 16px 2px; }
.om-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 4px 0 6px; }
.om-head .om-all { padding: 2px 4px; }
.om-row { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 6px 6px 6px 10px; margin-bottom: 6px;
  background: var(--fa-wash); border-radius: var(--fa-r-md); }
.om-row > svg { width: 18px; height: 18px; flex: none; color: var(--fa-accent-strong); }
.om-txt { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; flex: 1; }
.om-label { font-size: 14px; font-weight: 500; color: var(--fa-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.om-detail { font-size: 12.5px; color: var(--fa-mut); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }


.om-fix { display: block; font-size: 12.5px; color: var(--fa-mut); white-space: normal; padding-top: 2px; }
.om-fix .linkbtn { font-size: 12.5px; padding: 0 2px; }
.om-row.tappable { cursor: pointer; }
.om-row.tappable:hover { background: var(--fa-wash); }
.om-x { width: 32px; height: 32px; flex: none; display: flex; align-items: center; justify-content: center; border: none;
  background: none; border-radius: var(--fa-r-sm); color: var(--fa-mut); cursor: pointer; }
.om-x:hover { background: var(--fa-line); color: var(--fa-text); }
.om-x svg { width: 15px; height: 15px; }









.trip-x { width: 28px; height: 28px; flex: none; align-self: center; display: flex; align-items: center; justify-content: center;
  border-radius: var(--fa-r-sm); color: var(--fa-faint); }
.trip-x:hover { background: var(--fa-line); color: var(--fa-text); }
.trip-x svg { width: 15px; height: 15px; }
.om-said { font-size: 13px; color: var(--fa-mut); padding: 2px 2px 6px; }




.pl-credit { font-size: 11.5px; color: var(--fa-mut); padding: 4px 16px 0; }
.pl-credit a { color: var(--fa-mut); text-decoration: underline; text-underline-offset: 2px; }
.pl-credit a:hover { color: var(--fa-text); }
.maplibregl-popup-content .pl-credit { padding: 4px 12px 0; }












#win-era-wrap { margin-top: 14px; display: none; }
#win-era {
  display: flex; align-items: flex-end; gap: 4px; height: 96px;
  padding: 0 0 2px; border-bottom: 1px solid var(--fa-line);
}
#win-era .era {
  flex: 1 1 0; min-width: 0; height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch;
  background: none; border: 0; padding: 0; cursor: pointer; border-radius: var(--fa-r-sm);
  color: var(--fa-mut); font: inherit;
}
#win-era .era:hover { background: color-mix(in oklab, var(--fa-accent) 14%, transparent); }
#win-era .era.in { background: color-mix(in oklab, var(--fa-accent) 22%, transparent); color: var(--fa-text); }
#win-era .era i { display: block; width: 100%; background: var(--fa-accent); border-radius: 2px 2px 0 0; min-height: 2px; }
#win-era .era.in i { background: var(--fa-accent-strong); }
#win-era .era-n { font-size: 11px; line-height: 1.4; padding-top: 3px; overflow: hidden; }
#win-era .era-k { font-size: 11px; line-height: 1.3; color: var(--fa-faint); overflow: hidden; white-space: nowrap; }
#win-era-note { font-size: 12.5px; color: var(--fa-faint); line-height: 1.35; margin-top: 7px; }
#win-weeks-wrap { margin-top: 14px; }
#win-weeks {
  display: flex; align-items: flex-end; gap: 1px; height: 54px;
  padding: 0 0 2px; border-bottom: 1px solid var(--fa-line);
}
#win-weeks .wk {
  flex: 1 1 0; min-width: 0; height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: none; border: 0; padding: 0; cursor: pointer;
}
#win-weeks .wk:hover { background: color-mix(in oklab, var(--fa-accent) 14%, transparent); }
#win-weeks .wk.in { background: color-mix(in oklab, var(--fa-accent) 22%, transparent); }

#win-weeks .wk.edge { box-shadow: inset 1px 0 0 var(--fa-text), inset -1px 0 0 var(--fa-text); }



#win-weeks .wk.past i { opacity: 0.55; }
#win-weeks .wk.now { box-shadow: inset 2px 0 0 var(--fa-text); }
#win-weeks .wk i { display: block; width: 100%; }




#win-weeks .wk i.b-music     { background: var(--fa-band-music); }
#win-weeks .wk i.b-stage     { background: var(--fa-band-stage); }
#win-weeks .wk i.b-fairs     { background: var(--fa-band-fairs); }
#win-weeks .wk i.b-spectacle { background: var(--fa-band-spectacle); }
#win-weeks .wk i.b-other     { background: var(--fa-band-other); }
#win-weeks-legend { margin-top: 6px; font-size: 11px; color: var(--fa-mut); display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; }
.wb-key { display: inline-block; width: 9px; height: 9px; border-radius: 2px; vertical-align: -1px; }
.wb-music { background: var(--fa-band-music); } .wb-stage { background: var(--fa-band-stage); }
.wb-fairs { background: var(--fa-band-fairs); } .wb-spectacle { background: var(--fa-band-spectacle); }
.wb-other { background: var(--fa-band-other); }




.cat-domain {
  margin: 14px 0 4px; padding-bottom: 4px;
  border-bottom: 1px solid var(--fa-line);
}
.cat-domain:first-child { margin-top: 2px; }
.cat-domain[data-domain="event"] { color: var(--fa-accent); }




.pg{display:flex;flex-direction:column;margin-top:6px}
.pg-head{display:flex;justify-content:space-between;align-items:baseline;padding-bottom:4px}
.pg-count{font-size:12.5px;color:var(--fa-mut)}
.pg-month{font-size:11.5px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--fa-faint);
  padding:10px 0 4px;border-bottom:1px solid var(--fa-line-2);position:sticky;top:0;background:var(--fa-surface);z-index:1}
.pg-row{display:grid;grid-template-columns:52px minmax(0,1fr) auto;align-items:baseline;gap:10px;
  padding:7px 0;border-bottom:1px solid var(--fa-line-2);font-size:14.5px;line-height:1.3}
.pg-d{font-variant-numeric:tabular-nums;white-space:nowrap}














.pg-multi{grid-template-columns:auto minmax(0,1fr) auto}
.pg-d small{font-size:12.5px;color:var(--fa-mut)}
.pg-d b{font-weight:600}
.pg-name{font-weight:600;color:var(--fa-text);text-wrap:pretty;min-width:0}
.pg-sup{font-weight:400;color:var(--fa-mut)}
.pg-end{display:inline-flex;align-items:center;gap:10px;white-space:nowrap}
.pg-now{font-size:11.5px;font-weight:600;color:var(--fa-accent-strong);background:var(--fa-accent-soft);border-radius:var(--fa-r-pill);padding:2px 8px;white-space:nowrap}
.pg-kind{display:inline-flex;align-items:center;gap:5px;font-size:12px;color:var(--fa-mut);white-space:nowrap}
.pg-kind .chip{width:14px;height:14px}
.pg-text{font:inherit;font-size:12px;font-weight:500;color:var(--fa-accent-strong);background:none;border:0;padding:0;cursor:pointer}
.pg-row.is-past{opacity:.6}
.pg-row .pg-src{grid-column:2 / -1;grid-row:2;font-size:12.5px;color:var(--fa-mut);line-height:1.4}
.pg-foot{font-size:12.5px;color:var(--fa-mut);padding:10px 0 0;line-height:1.4}
.pg-past{align-self:flex-start;font:inherit;font-size:12.5px;font-weight:500;color:var(--fa-accent-strong);background:none;border:0;padding:6px 0 0;cursor:pointer}
.pg-past:hover,.pg-text:hover{text-decoration:underline}
.pg-skel{font-size:13px;color:var(--fa-mut);padding:8px 0}
@media (prefers-reduced-motion:no-preference){.pg-row .pg-src{animation:pg-in .16s ease-out}}
@keyframes pg-in{from{opacity:0;transform:translateY(-2px)}to{opacity:1;transform:none}}
