


.wl-toolbar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.wl-toolbar .wl-grp { display: flex; align-items: center; gap: 4px; }
.wl-toolbar .wl-sp { flex: 1; }
.wl-count { font-size: 12px; color: var(--text-dim, #888); white-space: nowrap; }

.wl-stepper-host { display: inline-flex; align-items: center; }


.wl-list { display: flex; flex-direction: column; gap: 10px; }
.wl-group { background: var(--bg-card, #22222a); border: 1px solid var(--border, #333); border-radius: var(--radius-lg, 8px); overflow: hidden; }
.wl-group-head {
  display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 0;
  background: var(--bg-sunken, #1e1e26); border-bottom: 1px solid var(--border, #333);
  cursor: pointer; user-select: none;
}
.wl-group-head:hover { background: var(--bg-hover, #2a2a32); }

.wl-group-head .wl-tw, .wl-row > .wl-tw {
  width: 32px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--text-dim, #888); transition: background .12s, color .12s;
  appearance: none; background: none; border: none; padding: 0;
  border-radius: 0; font: inherit; cursor: pointer;
}
.wl-group-head .wl-tw { align-self: stretch; margin: -10px 0; }
.wl-row:has(> .wl-tw) { position: relative; }
.wl-row > .wl-tw { position: absolute; left: 0; top: 0; bottom: 0; }
.wl-group-head .wl-tw svg, .wl-row > .wl-tw svg { width: 12px; height: 12px; transition: transform .15s; }

.wl-group-head:hover .wl-tw, .wl-row:hover > .wl-tw { background: rgba(255, 255, 255, 0.05); color: var(--text-secondary, #ccc); }

.wl-group-head .wl-tw:hover, .wl-row > .wl-tw:hover { background: var(--bg-hover, #2a2a32); color: var(--text, #e0e0e0); }
.wl-group-head:has(.wl-tw:hover) { background: var(--bg-sunken, #1e1e26); }
.wl-row:has(> .wl-tw:hover) { background: transparent; }
.wl-group-head .wl-tw:focus-visible, .wl-row > .wl-tw:focus-visible { outline: 1px solid var(--accent, #5b8def); outline-offset: 1px; }
.wl-group.collapsed > .wl-group-head .wl-tw svg, .wl-group.collapsed > .wl-row > .wl-tw svg { transform: rotate(-90deg); }
.wl-group.collapsed .wl-group-head { border-bottom-color: transparent; }
.wl-group.collapsed .wl-rows { display: none; }
.wl-group-head .wl-lead { font-weight: 600; color: var(--text, #e0e0e0); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wl-group-head .wl-meta { color: var(--text-dim, #888); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wl-group-head .wl-meta b { color: var(--text-secondary, #ccc); font-weight: 500; }
.wl-group-head .wl-sp { flex: 1; }

.wl-row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 14px;
  padding: 9px 14px 9px 42px; border-top: 1px solid var(--border, #333);
}
.wl-rows > .wl-row:first-child { border-top: none; }
.wl-row:hover { background: var(--bg-hover, #2a2a32); }

.wl-openable { cursor: pointer; }
.wl-openable:focus-visible { outline: 1px solid var(--accent, #5b8def); outline-offset: -2px; }

.wl-row .wl-line { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.wl-row .wl-lead { font-weight: 500; color: var(--text, #e0e0e0); display: flex; align-items: center; gap: 8px; min-width: 0; }
.wl-row .wl-lead .wl-lead-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wl-row .wl-meta { color: var(--text-dim, #888); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wl-row .wl-meta b { color: var(--text-secondary, #ccc); font-weight: 500; }

.wl-row .wl-title { font-weight: 600; color: var(--text, #e0e0e0); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wl-row .wl-title + .wl-lead { font-weight: 400; color: var(--text-dim, #888); }
.wl-row .wl-title + .wl-lead .wl-lead-text { color: var(--text-secondary, #ccc); }

.wl-row .wl-row-note { color: var(--text-dim, #888); font-size: 12px; white-space: normal; }

.wl-meta .wl-stamp-approx { border-bottom: 1px dotted var(--border-strong, #555); }
.wl-mono { font-family: var(--font-mono, "Courier New", monospace); font-size: 11.5px; font-variant-numeric: tabular-nums; }


.wl-pill { font-size: 10.5px; padding: 1px 7px; border-radius: var(--radius-pill, 999px); border: 1px solid; line-height: 1.5; font-weight: 500; white-space: nowrap; }

.wl-pill.team { color: #8ab4f8; border-color: var(--accent-border); background: var(--accent-tint-selected); }

.wl-pill.official, .wl-pill.event { color: var(--text-dim, #888); border-color: var(--border, #333); background: var(--bg-hover, #2a2a32); }
.wl-pill.kind { color: var(--text-tertiary, #aaa); border-color: var(--border-strong, #444); }


.wl-pill.pending { color: var(--warning, #f0c150); border-color: var(--warning, #f0c150); background: none; }
.wl-pill.demo { color: var(--warning, #f0c150); border-color: color-mix(in srgb, var(--warning, #f0c150) 55%, transparent); background: color-mix(in srgb, var(--warning, #f0c150) 10%, transparent); }


.wl-tools { display: flex; gap: 4px; }
.wl-tool {
  height: 26px; padding: 0 9px; border-radius: var(--radius-sm, 4px);
  border: 1px solid var(--border-strong, #444); background: transparent;
  color: var(--text-secondary, #ccc); font-size: 12px; cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center; gap: 5px; white-space: nowrap;
}
.wl-tool[aria-disabled="true"] { opacity: 0.35; cursor: default; }
.wl-tool:hover { background: var(--bg-hover, #2a2a32); border-color: var(--text-faint, #555); color: var(--text, #e0e0e0); text-decoration: none; }

.wl-acts { display: flex; gap: 2px; }
.wl-acts .em-icon-btn--ghost.danger:hover { color: var(--danger, #c44); }

.wl-acts .wl-act-slot { visibility: hidden; }


.wl-detail { border-top: 1px solid var(--border, #333); background: var(--bg-sunken, #1e1e26); }
.wl-group.collapsed > .wl-detail { display: none; }


.wl-tablewrap { border: 1px solid var(--border, #333); border-radius: var(--radius-lg, 8px); overflow: auto; background: var(--bg-card, #22222a); }
.wl-detail .wl-tablewrap { border: none; border-radius: 0; background: transparent; }
.wl-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.wl-table th { text-align: left; font-weight: 500; color: var(--text-dim, #888); font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; padding: 9px 14px; background: var(--bg-sunken, #1e1e26); border-bottom: 1px solid var(--border, #333); white-space: nowrap; }
.wl-detail .wl-table th { background: transparent; padding-left: 36px; }
.wl-table td { padding: 8px 14px; border-top: 1px solid var(--border, #333); color: var(--text-secondary, #ccc); white-space: nowrap; }
.wl-detail .wl-table td { padding-left: 36px; border-top-color: color-mix(in srgb, var(--border, #333) 60%, transparent); font-size: 12.5px; }
.wl-table tbody tr:first-child td { border-top: none; }
.wl-table tbody tr.clickable { cursor: pointer; }
.wl-table tbody tr.clickable:hover td { background: var(--bg-hover, #2a2a32); }
.wl-table td.lead { color: var(--text, #e0e0e0); font-weight: 500; }
.wl-table td.num, .wl-table th.num { font-family: var(--font-mono, "Courier New", monospace); font-variant-numeric: tabular-nums; text-align: right; font-size: 12px; }
.wl-table td.best { color: #b99cff; }
.wl-table tr.deleted td { color: var(--text-faint, #555); text-decoration: line-through; }
.wl-table tr.deleted td .wl-pill { text-decoration: none; }
.wl-table td.arrow { color: var(--text-muted, #666); text-align: right; width: 24px; }
.wl-table td.dim { color: var(--text-dim, #888); }


.wl-table th.wl-sortable { padding: 0; }
.wl-table th.wl-sortable .wl-sort {
  display: inline-flex; align-items: center; gap: 5px;
  width: 100%; padding: 9px 14px;
  background: none; border: none; cursor: pointer;
  font: inherit; color: inherit; text-transform: inherit; letter-spacing: inherit;
  text-align: inherit; white-space: nowrap;
}
.wl-table th.wl-sortable.num .wl-sort { justify-content: flex-end; }
.wl-table th.wl-sortable .wl-sort:hover { color: var(--text, #e0e0e0); }
.wl-table th.wl-sortable .wl-sort:focus-visible { outline: 1px solid var(--accent, #5b8def); outline-offset: -2px; }
.wl-table th.wl-sortable .wl-sort-mark { display: inline-flex; opacity: 0; transition: opacity .12s, transform .12s; }
.wl-table th.wl-sortable .wl-sort-mark.asc { transform: rotate(180deg); }
.wl-table th.wl-sortable .wl-sort:hover .wl-sort-mark { opacity: 0.5; }
.wl-table th.wl-sortable.sorted { color: var(--text, #e0e0e0); }
.wl-table th.wl-sortable.sorted .wl-sort-mark { opacity: 1; color: var(--accent, #5b8def); }


.wl-pager { display: flex; align-items: center; justify-content: center; gap: 4px; padding: 14px 0 4px; flex-wrap: wrap; }

.wl-pager:empty { display: none; }
.wl-pager button {
  min-width: 30px; height: 30px; padding: 0 8px; border-radius: var(--radius-sm, 4px);
  border: 1px solid transparent; background: transparent; color: var(--text-tertiary, #aaa);
  cursor: pointer; font: inherit; font-family: var(--font-mono, "Courier New", monospace); font-size: 12.5px;
}
.wl-pager button:hover:not(:disabled) { background: var(--bg-hover, #2a2a32); border-color: var(--border-strong, #444); color: var(--text, #e0e0e0); }
.wl-pager button[aria-current="page"] { background: var(--accent-tint-selected); border-color: var(--accent-border); color: #fff; }
.wl-pager button:disabled { opacity: 0.3; }
.wl-pager .wl-dots { color: var(--text-muted, #666); padding: 0 4px; }
.wl-pager .wl-jump { margin-left: 14px; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-dim, #888); }
.wl-pager .wl-jump input { width: 46px; height: 28px; background: var(--bg-input, #25252a); border: 1px solid #3a3a40; border-radius: var(--radius-sm, 4px); color: var(--text, #e0e0e0); font-family: var(--font-mono, "Courier New", monospace); font-size: 12px; text-align: center; padding: 0; }
.wl-pager .wl-jump input:focus { outline: none; border-color: var(--accent, #5b8def); }


.wl-empty {
  position: relative; overflow: hidden; text-align: center;
  background: var(--bg-card, #22222a); border: 1px solid var(--border, #333); border-radius: var(--radius-lg, 8px);
  padding: 36px 24px; color: var(--text-tertiary, #aaa);
}
.wl-empty h3 { margin: 0 0 6px; font-size: 15px; font-weight: 600; color: var(--text, #e0e0e0); }
.wl-empty p { margin: 0 0 14px; font-size: 13px; max-width: 60ch; margin-left: auto; margin-right: auto; }
.wl-empty .wl-empty-actions { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.wl-empty .wl-empty-actions:empty { display: none; }


.wl-empty .wl-mark {
  
  position: absolute; right: 14px; top: 12px; bottom: 12px; width: 120px;
  background: url("/assets/fuel_pump_3d.hac7275ede0.png") center / contain no-repeat;
  filter: grayscale(1); opacity: var(--brand-mark-opacity, 0.12);
  pointer-events: none;
}
.wl-loading { padding: 24px; text-align: center; color: var(--text-dim, #888); font-size: 13px; }
.wl-error { padding: 14px; color: var(--danger-text, #e88); font-size: 13px; }


.wl-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 12px; }
.wl-kpi { background: var(--bg-card, #22222a); border: 1px solid var(--border, #333); border-radius: var(--radius-lg, 8px); padding: 12px 14px; }
.wl-kpi .wl-kpi-l { font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-dim, #888); margin-bottom: 6px; }
.wl-kpi .wl-kpi-vals { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.wl-kpi .wl-kpi-v { font-family: var(--font-mono, "Courier New", monospace); font-size: 20px; color: var(--text, #e0e0e0); font-variant-numeric: tabular-nums; }
.wl-kpi .wl-kpi-v small { font-size: 11px; color: var(--text-dim, #888); font-family: var(--font, system-ui); margin-left: 3px; }
.wl-kpi .wl-kpi-c { font-family: var(--font-mono, "Courier New", monospace); font-size: 13px; color: var(--text-dim, #888); font-variant-numeric: tabular-nums; }
.wl-kpi .wl-kpi-c .wl-kpi-clbl { font-family: var(--font, system-ui); font-size: 11px; margin-right: 4px; }
.wl-kpi .wl-kpi-delta { font-size: 11px; margin-left: auto; font-family: var(--font-mono, "Courier New", monospace); }
.wl-kpi .wl-kpi-delta.good { color: #7c6; }
.wl-kpi .wl-kpi-delta.bad { color: #e88; }
.wl-note { font-size: 12px; color: var(--text-dim, #888); display: flex; gap: 14px; align-items: center; flex-wrap: wrap; padding: 8px 12px; background: var(--bg-sunken, #1e1e26); border: 1px dashed var(--border-strong, #444); border-radius: var(--radius-md, 6px); margin-bottom: 12px; }
.wl-note b { color: var(--text-secondary, #ccc); font-weight: 500; font-family: var(--font-mono, "Courier New", monospace); }
.wl-crumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-dim, #888); margin-bottom: 14px; flex-wrap: wrap; }
.wl-crumb b { color: var(--text, #e0e0e0); font-weight: 600; }

.wl-crumb a, .wl-crumb a:visited { color: var(--accent, #5b8def); text-decoration: none; }
.wl-crumb a:hover { color: var(--accent, #5b8def); text-decoration: underline; }
.wl-intro { margin: 0 0 14px; color: var(--text-dim, #888); font-size: 13px; max-width: 68ch; }

.wl-intro.wide { max-width: none; }

@media (max-width: 800px) {
  .wl-row { grid-template-columns: 1fr; gap: 8px; padding-left: 14px; }
  .wl-kpis { grid-template-columns: 1fr; }
  .wl-group-head .wl-meta { display: none; }
}
