/* overlay.css — Shopfloor Addons live demo build */


html.wo-panel-noscroll,
html.wo-panel-noscroll body {
  overflow: hidden !important;
}

.wo-panel-overlay,
.wo-panel-overlay * {
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.wo-panel-overlay[hidden],
.wo-panel-overlay [hidden] {
  display: none !important;
}

.wo-panel-overlay {
  --wp-bg: #fafafa;
  --wp-surface: #ffffff;
  --wp-border: #e4e4e7;
  --wp-border-soft: #f0f0f2;
  --wp-text: #18181b;
  --wp-muted: #8b8b93;
  --wp-scroll-thumb: #c6ccd4;
  --wp-scroll-thumb-hover: #aeb7c3;
  --wp-accent: #4f46e5;
  --wp-accent-soft: #eef0fe;
  --wp-cnc: #1e3a8a;
  --wp-edging: #0284c7;
  --wp-danger: #dc2626;
  --wp-ok: #16a34a;
  --wp-danger-bg: rgba(220, 38, 38, 0.30);
  --wp-ok-bg: rgba(22, 163, 74, 0.13);
  --wp-chip-bg: #f4f4f5;
  --wp-shadow: 0 10px 30px rgba(24, 24, 27, 0.1);
  --wp-row-alt: #f7f7f9;
  --wp-cnc-bg: rgba(30, 58, 138, 0.13);
  --wp-edging-bg: rgba(2, 132, 199, 0.14);
  
  --wp-cnc-area: rgba(30, 58, 138, 0.05);
  --wp-edging-area: rgba(2, 132, 199, 0.06);
  
  --wp-hover: #dbeafe;
  --wp-hover-border: #93c5fd;
  --wp-warn: #b45309;
}

.wo-panel-overlay[data-theme="dark"] {
  --wp-scroll-thumb: #555b66;
  --wp-scroll-thumb-hover: #707887;
  --wp-bg: #101012;
  --wp-surface: #18181b;
  --wp-border: #2a2a2e;
  --wp-border-soft: #222226;
  --wp-text: #f4f4f5;
  --wp-muted: #8b8b93;
  --wp-accent: #818cf8;
  --wp-accent-soft: #201f3a;
  --wp-cnc: #6f9bff;
  --wp-edging: #7dd3fc;
  --wp-danger: #f87171;
  --wp-ok: #4ade80;
  --wp-danger-bg: rgba(248, 113, 113, 0.32);
  --wp-ok-bg: rgba(74, 222, 128, 0.16);
  --wp-chip-bg: #1f1f23;
  --wp-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  --wp-row-alt: #1b1b1f;
  --wp-cnc-bg: rgba(111, 155, 255, 0.18);
  --wp-edging-bg: rgba(125, 211, 252, 0.18);
  --wp-cnc-area: rgba(111, 155, 255, 0.08);
  --wp-edging-area: rgba(125, 211, 252, 0.08);
  --wp-hover: rgba(96, 165, 250, 0.22);
  --wp-hover-border: rgba(147, 197, 253, 0.45);
  --wp-warn: #fbbf24;
}

.wo-panel-overlay,
.wo-panel-overlay * {
  scrollbar-color: var(--wp-scroll-thumb) transparent;
  scrollbar-width: thin;
}
.wo-panel-overlay *:hover {
  scrollbar-color: var(--wp-scroll-thumb-hover) transparent;
}

.wo-panel-overlay {
  position: fixed;
  inset: 0;
  background: var(--wp-bg);
  display: flex;
  flex-direction: column;
  color: var(--wp-text);
  font-size: 15px;
  letter-spacing: -0.006em;
}

.wo-panel-header {
  flex: none;
  background: var(--wp-surface);
  border-bottom: 1px solid var(--wp-border);
  
  padding: 5px 10px;
}

.wo-panel-header-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.wo-panel-page-switch {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  overflow-x: auto;
  max-width: 100%;
}
.wo-panel-page-switch .wo-panel-tab:nth-child(3) { margin-left: 22px; }
.wo-panel-header-row > .wo-panel-search-wrap { grid-column: 1; grid-row: 1; }
.wo-panel-header-row > .wo-panel-btn-group { grid-column: 3; grid-row: 1; justify-self: end; }
.wo-panel-page-switch .wo-panel-tab {
  padding: 6px 9px;
  font-size: 12px;
}

.wo-panel-btn-group {
  display: flex;
  gap: 4px;
  flex: none;
  
  margin-left: auto;
}

.wo-panel-icon-btn {
  border: 1px solid var(--wp-border);
  background: var(--wp-bg);
  color: var(--wp-muted);
  border-radius: 8px;
  width: 32px;
  height: 32px;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.12s ease, color 0.12s ease, border-color 0.12s ease;
}
.wo-panel-icon-btn:hover {
  background: var(--wp-chip-bg);
  color: var(--wp-text);
  border-color: var(--wp-accent);
}

.wo-panel-tabs {
  display: inline-flex;
  gap: 1px;
  background: var(--wp-chip-bg);
  border-radius: 9px;
  padding: 3px;
  flex: none;
}

.wo-panel-tab {
  border: none;
  background: transparent;
  color: var(--wp-muted);
  font-size: 14.5px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 7px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.12s ease, color 0.12s ease;
}
.wo-panel-tab:hover {
  color: var(--wp-text);
}
.wo-panel-tab--active {
  background: var(--wp-surface);
  color: var(--wp-text);
  box-shadow: 0 1px 2px rgba(24, 24, 27, 0.08);
}

.wo-panel-search-wrap {
  position: relative;
  flex: 1;
  min-width: 0;
  max-width: 680px;
}

.wo-panel-search-input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--wp-border);
  border-radius: 8px;
  font-size: 14.5px;
  background: var(--wp-bg);
  color: var(--wp-text);
  transition: border-color 0.12s ease;
}
.wo-panel-search-input::placeholder {
  color: var(--wp-muted);
}
.wo-panel-search-input:focus {
  outline: none;
  border-color: var(--wp-accent);
}

.wo-panel-search-results {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: var(--wp-surface);
  border: 1px solid var(--wp-border);
  border-radius: 9px;
  box-shadow: var(--wp-shadow);
  max-height: 560px;
  overflow-y: auto;
  
  z-index: 50;
}

.wo-panel-search-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  cursor: pointer;
  font-size: 13.5px;
  border-bottom: 1px solid var(--wp-border-soft);
}
.wo-panel-search-result:last-child {
  border-bottom: none;
}

.wo-panel-search-result:nth-child(even) {
  background: var(--wp-chip-bg);
}
.wo-panel-search-result:hover {
  background: var(--wp-accent-soft, var(--wp-border));
}

.wo-panel-search-result-label {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wo-panel-search-result-badges {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 6px;
  flex: none;
  max-width: 55%;
}

.wo-panel-stage-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.wo-panel-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
}
.wo-panel-status-badge--done {
  background: var(--wp-ok-bg);
  color: var(--wp-ok);
}
.wo-panel-status-badge--pending {
  background: var(--wp-danger-bg);
  color: var(--wp-danger);
}

.wo-panel-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  background: #18181b;
  color: #f4f4f5;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.005em;
  padding: 8px 15px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  z-index: 2147483647;
  max-width: 60vw;
  text-align: center;
}
.wo-panel-toast--error {
  background: #7a2323;
  color: #ffdede;
}
.wo-panel-toast--ok {
  background: #1c4a2e;
  color: #d7ffe6;
}

.wo-panel-columns {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  min-height: 0;
}

.wo-panel-queues-view {
  display: flex;
  flex: 1;
  min-height: 0;
  min-width: 0;
}
.wo-panel-machine-board {
  grid-template-columns: repeat(var(--wo-machine-columns, 3), minmax(350px, 1fr));
  overflow-x: auto;
}
.wo-panel-queues-view[hidden],
.wo-panel-machine-board[hidden],
.wo-panel-history-view[hidden] {
  display: none;
}
.wo-panel-machine-column .wo-panel-col-tag-label {
  font-size: 12px;
  text-transform: none;
  letter-spacing: 0;
}
.wo-panel-machine-column .wo-panel-col-tag {
  padding: 6px 10px;
}
.wo-panel-machine-column .wo-panel-col-header {
  gap: 6px;
}
.wo-panel-machine-column {
  padding: 10px 8px;
}
.wo-panel-machine-column .wo-panel-table td,
.wo-panel-machine-column .wo-panel-table th {
  padding-left: 4px;
  padding-right: 4px;
}
.wo-panel-machine-column .wo-panel-table th.wo-panel-col--cp {
  width: 34px;
}
.wo-panel-machine-column .wo-panel-table th.wo-panel-col--since {
  width: 48px;
}
.wo-panel-machine-column .wo-panel-table th.wo-panel-col--sheets {
  width: 48px;
}
.wo-panel-machine-column .wo-panel-file-btn {
  padding: 4px;
  font-size: 11px;
  max-width: 100%;
}

.wo-panel-col {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  padding: 10px 16px 10px;
}
.wo-panel-col[data-queue="cnc"] {
  background: var(--wp-cnc-area);
  border-right: 1px solid var(--wp-border);
}
.wo-panel-col[data-queue="edging"] {
  background: var(--wp-cnc-area);
}

.wo-panel-col-header {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.wo-panel-col-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--wp-cnc-bg);
  color: var(--wp-cnc);
}
.wo-panel-col[data-queue="edging"] .wo-panel-col-tag,
.wo-panel-history-group[data-queue="edging"] .wo-panel-col-tag {
  background: transparent;
  color: var(--wp-edging);
}

.wo-panel-col-tag-label {
  font-size: 14.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: inherit;
}

.wo-panel-count {
  font-size: 14.5px;
  color: var(--wp-muted);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.wo-panel-list-wrap {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: auto;
}

.wo-panel-group {
  width: 100%;
  margin-bottom: 12px;
  border: 1px solid var(--wp-border);
  border-radius: 10px;
  background: var(--wp-surface);
  overflow: hidden;
}
.wo-panel-group:last-child {
  margin-bottom: 0;
}

.wo-panel-group-header {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 8px;
  padding: 10px 12px;
  background: var(--wp-chip-bg);
  border-bottom: 1px solid var(--wp-border);
  cursor: pointer;
  user-select: none;
}
.wo-panel-group-header--collapsed {
  border-bottom: none;
}
.wo-panel-group-header:hover {
  background: var(--wp-border-soft);
}

.wo-panel-group-caret {
  display: inline-block;
  flex: none;
  font-size: 10px;
  color: var(--wp-muted);
  transform: rotate(90deg);
  transition: transform 0.12s ease;
}
.wo-panel-group-header--collapsed .wo-panel-group-caret {
  transform: rotate(0deg);
}

.wo-panel-group-label {
  flex: 1;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--wp-text);
}

.wo-panel-group-count {
  font-size: 13px;
  font-weight: 600;
  color: var(--wp-muted);
  font-variant-numeric: tabular-nums;
}

.wo-panel-table thead th.wo-panel-col-title {
  text-align: left;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 700;
  color: var(--wp-muted);
  background: transparent;
  padding: 8px 8px 6px;
  border-bottom: 1px solid var(--wp-border);
}

.wo-panel-grip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  min-height: 28px;
  border-radius: 7px;
  cursor: grab;
  color: var(--wp-muted);
  font-size: 20px;
  line-height: 1;
  touch-action: none;
  flex: none;
}
.wo-panel-grip:hover {
  background: var(--wp-chip-bg);
  color: var(--wp-text);
}
.wo-panel-grip:active {
  cursor: grabbing;
}

.wo-panel-rank-td {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--wp-muted);
  font-variant-numeric: tabular-nums;
  text-align: center;
  width: 34px;
}

.wo-panel-rank--editable {
  cursor: text;
  border-radius: 4px;
  transition: background 0.12s ease, color 0.12s ease;
}
.wo-panel-rank--editable:hover {
  background: var(--wp-chip-bg);
  color: var(--wp-accent);
}
.wo-panel-rank--editing {
  padding: 0;
}
.wo-panel-rank-input {
  width: 28px;
  font: inherit;
  font-variant-numeric: tabular-nums;
  text-align: center;
  color: var(--wp-text);
  background: var(--wp-surface);
  border: 1px solid var(--wp-accent);
  border-radius: 4px;
  padding: 1px 2px;
  outline: none;
}

.wo-panel-name {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--wp-text);
  text-decoration: none;
  cursor: pointer;
  letter-spacing: -0.005em;
}
.wo-panel-name:hover {
  color: var(--wp-accent);
}

.wo-panel-empty {
  font-size: 12px;
  color: var(--wp-muted);
  padding: 20px 4px;
  text-align: center;
}

.wo-panel-table-wrap {
  width: 100%;
  padding: 2px 4px 4px;
  overflow-x: auto;
}

.wo-panel-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 13.5px;
}

.wo-panel-table td {
  padding: 7px 8px;
  border-bottom: 1px solid var(--wp-border-soft);
  vertical-align: middle;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wo-panel-row.wo-panel-item--alt {
  background: var(--wp-row-alt);
}

.wo-panel-row:hover {
  background: var(--wp-chip-bg);
}

.wo-panel-td-grip,
.wo-panel-table th.wo-panel-col--grip {
  width: 32px;
  padding: 2px 4px !important;
  color: var(--wp-muted);
}

.wo-panel-rank-td,
.wo-panel-table th.wo-panel-col--cp {
  width: 48px;
}

.wo-panel-td-name,
.wo-panel-table th.wo-panel-col--name {
  font-weight: 600;
  white-space: normal;
}

.wo-panel-td-date,
.wo-panel-table th.wo-panel-col--since {
  width: 130px;
  color: var(--wp-muted);
  font-variant-numeric: tabular-nums;
  cursor: default;
  white-space: nowrap;
}

.wo-panel-td-sheets,
.wo-panel-table th.wo-panel-col--sheets {
  width: 68px;
  color: var(--wp-muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  text-align: center;
}

.wo-panel-sheets-toggle {
  padding: 1px 5px;
  border: 1px solid transparent;
  border-radius: 5px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
}
.wo-panel-sheets-toggle:hover {
  border-color: var(--wp-accent);
  background: var(--wp-accent-soft);
  color: var(--wp-accent);
}

.wo-panel-item--dragging {
  opacity: 0.4;
}

@keyframes wo-panel-spin {
  to { transform: rotate(360deg); }
}

.wo-panel-item--saving .wo-panel-grip {
  color: transparent;
  cursor: progress;
  position: relative;
}
.wo-panel-item--saving .wo-panel-grip::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border: 2px solid var(--wp-border);
  border-top-color: var(--wp-accent);
  border-radius: 50%;
  animation: wo-panel-spin 0.6s linear infinite;
}
.wo-panel-item--saving .wo-panel-rank-td {
  color: var(--wp-accent);
}

.wo-panel-item--saving > td:first-child {
  box-shadow: inset 3px 0 0 var(--wp-accent);
}

@keyframes wo-panel-flash-error {
  from { background-color: var(--wp-danger-bg); }
  to { background-color: transparent; }
}
.wo-panel-item--failed > td {
  animation: wo-panel-flash-error 1.1s ease-out;
}
.wo-panel-item--saved .wo-panel-grip {
  color: var(--wp-ok);
}
.wo-panel-item--failed .wo-panel-grip {
  color: var(--wp-danger);
}

@media (prefers-reduced-motion: reduce) {
  .wo-panel-item--saving .wo-panel-grip::after { animation-duration: 2s; }
  .wo-panel-item--failed > td { animation: none; }
}

.wo-panel-file-btn {
  border: 1px solid var(--wp-border);
  background: transparent;
  color: var(--wp-text);
  border-radius: 6px;
  padding: 3px 9px;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.12s ease, color 0.12s ease, background 0.12s ease;
}
.wo-panel-file-btn:hover:not(:disabled) {
  background: var(--wp-accent-soft);
  border-color: var(--wp-accent);
  color: var(--wp-accent);
}
.wo-panel-file-btn:disabled {
  opacity: 0.4;
  cursor: default;
}

.wo-panel-popover {
  z-index: 61;
  position: fixed;
  min-width: 180px;
  max-width: 320px;
  max-height: 260px;
  overflow-y: auto;
  background: var(--wp-surface);
  border: 1px solid var(--wp-border);
  border-radius: 9px;
  box-shadow: var(--wp-shadow);
  padding: 4px;
}

.wo-panel-popover-item {
  padding: 7px 10px;
  font-size: 12px;
  border-radius: 6px;
  cursor: pointer;
}
.wo-panel-popover-item:hover {
  background: var(--wp-chip-bg);
  color: var(--wp-accent);
}
.wo-panel-popover-item--disabled {
  color: var(--wp-muted);
  cursor: default;
}
.wo-panel-popover-item--disabled:hover {
  background: transparent;
  color: var(--wp-muted);
}

.wo-panel-popover-empty {
  padding: 10px;
  font-size: 11.5px;
  color: var(--wp-muted);
  text-align: center;
}

.wo-panel-pdf-viewer {
  position: absolute;
  inset: 0;
  background: var(--wp-bg);
  display: flex;
  flex-direction: column;
  z-index: 20;
}

.wo-panel-pdf-viewer-bar {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 16px;
  background: var(--wp-surface);
  border-bottom: 1px solid var(--wp-border);
}

.wo-panel-pdf-viewer-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--wp-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wo-panel-pdf-viewer-frame {
  flex: 1;
  width: 100%;
  border: none;
  background: #fff;
}

.wo-panel-history-view {
  flex: 1;
  display: flex;
  overflow: hidden;
  min-height: 0;
}

.wo-panel-history-group {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  padding: 10px 16px 10px;
}
.wo-panel-history-group[data-queue="cnc"] {
  flex: 3;
  background: var(--wp-cnc-area);
  border-right: 1px solid var(--wp-border);
}
.wo-panel-history-group[data-queue="edging"] {
  flex: 2;
  background: var(--wp-cnc-area);
}

.wo-panel-history-people {
  flex: 1;
  display: flex;
  gap: 12px;
  min-height: 0;
}

.wo-panel-person-col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  min-height: 0;
  border: 1px solid var(--wp-border);
  border-radius: 10px;
  background: var(--wp-surface);
  overflow: hidden;
}

.wo-panel-person-head {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 8px 10px;
  background: var(--wp-chip-bg);
  border-bottom: 1px solid var(--wp-border);
}

.wo-panel-person-name {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--wp-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wo-panel-person-list {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  list-style: none;
  margin: 0;
  padding: 4px 8px;
}

.wo-panel-person-item {
  padding: 7px 2px;
  border-bottom: 1px solid var(--wp-border-soft);
}
.wo-panel-person-item:last-child {
  border-bottom: none;
}

.wo-panel-history-wo {
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  color: var(--wp-text);
}
.wo-panel-history-wo:hover {
  color: var(--wp-accent);
}

.wo-panel-history-note {
  font-size: 11.5px;
  color: var(--wp-text);
  margin-top: 2px;
}

.wo-panel-history-meta {
  font-size: 13px;
  color: var(--wp-muted);
  margin-top: 2px;
}

.wo-panel-person-more {
  flex: none;
  margin: 6px 8px 8px;
  border: 1px solid var(--wp-border);
  background: transparent;
  color: var(--wp-muted);
  font-size: 11px;
  font-weight: 600;
  padding: 6px;
  border-radius: 7px;
  cursor: pointer;
  transition: color 0.12s ease, border-color 0.12s ease;
}
.wo-panel-person-more:hover:not(:disabled) {
  color: var(--wp-text);
  border-color: var(--wp-accent);
}
.wo-panel-person-more:disabled {
  opacity: 0.5;
  cursor: default;
}

.wo-panel-native-grip {
  position: absolute;
  top: 0;
  bottom: 0;
  
  left: 34px;
  right: -8px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  cursor: grab;
  color: #9091a0;
  font-size: 19px;
  line-height: 1;
  touch-action: none;
  user-select: none;
  transition: background 0.12s ease, color 0.12s ease;
}
.wo-panel-native-grip:hover {
  background: rgba(79, 70, 229, 0.14);
  color: #4f46e5;
}
.wo-panel-native-grip:active {
  cursor: grabbing;
}

tr.o_data_row.wo-panel-native-dragging {
  opacity: 0.45;
}

td.wo-panel-cp-cell {
  position: relative;
}

.wo-panel-cp-label {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  max-width: 34px;
  height: 22px;
  margin: 0 auto;
  padding: 0 6px;
  border-radius: 6px;
  color: #6b6c7e;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: background 0.12s ease, color 0.12s ease;
}
.wo-panel-cp-label:hover {
  background: rgba(79, 70, 229, 0.14);
  color: #4f46e5;
}

td.wo-panel-cp-cell .o_field_wor_cp_inline_edit input {
  width: 38px;
  min-width: 0;
  padding-left: 2px;
  padding-right: 2px;
}

.wo-panel-native-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  background: #18181b;
  color: #f4f4f5;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.005em;
  padding: 8px 15px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  z-index: 2147483647;
  max-width: 60vw;
  text-align: center;
}
.wo-panel-native-toast--error {
  background: #7a2323;
  color: #ffdede;
}

td.wo-panel-wo-cell {
  border-radius: 4px;
  transition: background-color 0.12s ease;
}

.wo-panel-header-action-source {
  display: none !important;
}

.wo-panel-group-controls {
  display: inline-flex;
  margin-left: 6px;
  flex: 0 0 auto;
}
.wo-panel-group-controls[hidden] {
  display: none;
}

.wo-panel-color-dot {
  --wo-dot: transparent;
  display: inline-block;
  vertical-align: middle;
  width: 12px;
  height: 12px;
  margin-right: 6px;
  padding: 0;
  border-radius: 50%;
  background: var(--wo-dot);
  border: 1.5px dashed rgba(113, 113, 122, 0.55);
  cursor: pointer;
  flex: none;
  line-height: 0;
  opacity: 0.75;
  transition: opacity 0.12s ease, transform 0.12s ease, box-shadow 0.12s ease;
}
.wo-panel-color-dot[data-has-color="1"] {
  border: 1.5px solid rgba(255, 255, 255, 0.75);
  opacity: 1;
}
.wo-panel-color-dot:hover,
.wo-panel-color-dot:focus-visible {
  opacity: 1;
  transform: scale(1.3);
  box-shadow: inset 0 0 0 20px rgba(0, 0, 0, 0.2);
}

.wo-panel-color-pop {
  position: fixed;
  z-index: 2147483647;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: #ffffff;
  color: #18181b;
  border: 1px solid rgba(24, 24, 27, 0.08);
  border-radius: 16px;
  box-shadow: 0 18px 44px rgba(15, 15, 20, 0.22), 0 2px 6px rgba(15, 15, 20, 0.08);
  padding: 12px;
  width: 288px;
  animation: wo-panel-color-pop-in 0.12s ease-out;
}
.wo-panel-color-pop * {
  box-sizing: border-box;
  font-family: inherit;
}
.wo-panel-color-pop[data-theme="dark"] {
  background: #1f1f23;
  color: #f4f4f5;
  border-color: rgba(255, 255, 255, 0.1);
}

@keyframes wo-panel-color-pop-in {
  from {
    opacity: 0;
    transform: translateY(-4px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.wo-panel-color-pop-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  opacity: 0.55;
  padding: 0 2px 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wo-panel-color-grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 5px;
}
.wo-panel-color-grid--standard {
  margin-top: 2px;
}

.wo-panel-color-standard-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  opacity: 0.5;
  padding: 10px 2px 5px;
}

.wo-panel-color-opt {
  --wo-dot: transparent;
  width: 100%;
  aspect-ratio: 1 / 1;
  padding: 0;
  
  border: 1px solid rgba(24, 24, 27, 0.12);
  border-radius: 50%;
  background: var(--wo-dot);
  cursor: pointer;
  position: relative;
  transition: transform 0.12s ease;
}
.wo-panel-color-pop[data-theme="dark"] .wo-panel-color-opt {
  border-color: rgba(255, 255, 255, 0.16);
}
.wo-panel-color-opt:active {
  transform: scale(1.3);
  z-index: 1;
}
.wo-panel-color-opt--on {
  transform: scale(1.4);
  z-index: 1;
}
.wo-panel-color-opt--on::after {
  content: "✓";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(24, 24, 27, 0.72);
  font-size: 10px;
  font-weight: 700;
}
.wo-panel-color-opt--on[data-wo-dark="1"]::after {
  color: rgba(255, 255, 255, 0.92);
}

.wo-panel-color-term-row {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px 8px;
  border: 1px solid rgba(24, 24, 27, 0.14);
  border-radius: 10px;
  background: rgba(24, 24, 27, 0.02);
  transition: border-color 0.12s ease, background 0.12s ease;
}
.wo-panel-color-term-row:focus-within {
  border-color: rgba(59, 130, 246, 0.65);
  background: transparent;
}
.wo-panel-color-pop[data-theme="dark"] .wo-panel-color-term-row {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
}

.wo-panel-color-current {
  --wo-dot: transparent;
  flex: none;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--wo-dot);
  border: 1.5px dashed rgba(113, 113, 122, 0.5);
}
.wo-panel-color-current[data-has-color="1"] {
  border: 1px solid rgba(24, 24, 27, 0.2);
}

.wo-panel-color-term {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0;
  border: none;
  outline: none;
  background: transparent;
  color: inherit;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 18px;
}

.wo-panel-color-count {
  font-size: 11px;
  opacity: 0.6;
  padding: 5px 3px 0;
}
.wo-panel-color-count[data-empty="1"] {
  color: #dc2626;
  opacity: 0.85;
}
.wo-panel-color-pop[data-theme="dark"] .wo-panel-color-count[data-empty="1"] {
  color: #fca5a5;
}

.wo-panel-color-sugs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 7px 0 9px;
}
.wo-panel-color-sug {
  --wo-dot: transparent;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  max-width: 100%;
  padding: 3px 7px;
  font-size: 11px;
  font-weight: 500;
  color: inherit;
  background: rgba(24, 24, 27, 0.05);
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.12s ease, border-color 0.12s ease;
}
.wo-panel-color-sug[data-has-color="1"] {
  background: var(--wo-dot);
}
.wo-panel-color-sug--on {
  border-color: rgba(59, 130, 246, 0.7);
}
.wo-panel-color-pop[data-theme="dark"] .wo-panel-color-sug {
  background: rgba(255, 255, 255, 0.08);
}
.wo-panel-color-pop[data-theme="dark"] .wo-panel-color-sug[data-has-color="1"] {
  color: #18181b;
}
.wo-panel-color-sug-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.wo-panel-color-sug-n {
  flex: none;
  font-variant-numeric: tabular-nums;
  font-size: 10px;
  font-weight: 600;
  opacity: 0.55;
}

.wo-panel-color-clear {
  margin-top: 10px;
  width: 100%;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 500;
  color: inherit;
  background: transparent;
  border: 1px solid rgba(24, 24, 27, 0.12);
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.12s ease, border-color 0.12s ease;
}
.wo-panel-color-clear:disabled {
  opacity: 0.4;
  cursor: default;
}
.wo-panel-color-pop[data-theme="dark"] .wo-panel-color-clear {
  border-color: rgba(255, 255, 255, 0.14);
}

.wo-panel-td-name {
  transition: background-color 0.12s ease;
}

.wo-panel-overlay .wo-panel-color-dot {
  width: 13px;
  height: 13px;
  margin-right: 2px;
}

.wo-qs-nav {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: center;
  height: 30px;
  margin: 0 8px;
  padding: 0 9px;
  
  color: #1f2937;
  background: #ffffff;
  border: 1px solid #ced4da;
  border-radius: 6px;
  box-shadow: none;
  transition: border-color 0.12s ease, box-shadow 0.12s ease, width 0.12s ease;
}
.wo-qs-nav:hover {
  border-color: #adb5bd;
}
.wo-qs-nav:focus-within {
  border-color: #7c7bad; 
  box-shadow: 0 0 0 2px rgba(124, 123, 173, 0.2);
}
.wo-qs-nav-icon {
  width: 13px;
  height: 13px;
  flex: none;
  color: #6c757d;
  pointer-events: none;
}
.wo-qs-nav-input {
  width: 168px;
  min-width: 0;
  padding: 0;
  font: inherit;
  font-size: 0.8125rem;
  line-height: 1;
  color: #1f2937;
  background: transparent;
  border: 0;
  outline: none;
  transition: width 0.12s ease;
}
.wo-qs-nav-input::placeholder {
  color: #9ca3af;
  opacity: 1;
}
.wo-qs-nav-input:focus {
  width: 240px;
}
.wo-qs-nav-clear {
  flex: none;
  width: 16px;
  height: 16px;
  padding: 0;
  font: inherit;
  font-size: 14px;
  line-height: 1;
  color: #6c757d;
  background: transparent;
  border: 0;
  border-radius: 50%;
  opacity: 0.75;
  cursor: pointer;
}
.wo-qs-nav-clear:hover {
  opacity: 1;
  background: rgba(24, 24, 27, 0.1);
}

@media (max-width: 1280px) {
  .wo-qs-nav-input {
    width: 116px;
  }
  .wo-qs-nav-input:focus {
    width: 180px;
  }
}

.wo-qs-home {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 0 0 24px;
  padding: 0 12px;
}

.wo-qs-nav.wo-qs-nav--home {
  flex: 0 1 auto;
  align-self: center;
  height: 42px;
  margin: 0;
  padding: 0 14px;
  gap: 9px;
  border-radius: 21px;
  box-shadow: 0 1px 2px rgba(15, 15, 20, 0.06);
}
.wo-qs-nav.wo-qs-nav--home:focus-within {
  box-shadow: 0 0 0 3px rgba(124, 123, 173, 0.22);
}
.wo-qs-nav--home .wo-qs-nav-icon {
  width: 16px;
  height: 16px;
}
.wo-qs-nav--home .wo-qs-nav-input {
  width: 320px;
  max-width: 100%;
  font-size: 0.9375rem;
}
.wo-qs-nav--home .wo-qs-nav-input:focus {
  width: 420px;
}
.wo-qs-nav--home .wo-qs-nav-clear {
  width: 20px;
  height: 20px;
  font-size: 16px;
}

@media (max-width: 720px) {
  .wo-qs-nav--home .wo-qs-nav-input,
  .wo-qs-nav--home .wo-qs-nav-input:focus {
    width: 200px;
  }
}

.wo-qs-results {
  position: fixed;
  z-index: 2147483000;
  box-sizing: border-box;
  max-height: 62vh;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 4px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 12.5px;
  color: #18181b;
  background: #ffffff;
  border: 1px solid rgba(24, 24, 27, 0.1);
  border-radius: 12px;
  box-shadow: 0 18px 44px rgba(15, 15, 20, 0.22), 0 2px 6px rgba(15, 15, 20, 0.08);
}
.wo-qs-results * {
  box-sizing: border-box;
}
.wo-qs-results[data-theme="dark"] {
  color: #f4f4f5;
  background: #1f1f23;
  border-color: rgba(255, 255, 255, 0.1);
}

.wo-qs-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px 6px 6px;
  border-radius: 8px;
  cursor: pointer;
}
.wo-qs-item:hover,
.wo-qs-item--active {
  background: rgba(24, 24, 27, 0.06);
}
.wo-qs-results[data-theme="dark"] .wo-qs-item:hover,
.wo-qs-results[data-theme="dark"] .wo-qs-item--active {
  background: rgba(255, 255, 255, 0.08);
}

.wo-qs-mark {
  flex: none;
  
  width: 7px;
  margin-right: -4px;
  align-self: stretch;
  min-height: 26px;
  border-radius: 999px;
  background: transparent;
}
.wo-qs-mark[data-on="0"] {
  background: rgba(24, 24, 27, 0.08);
}
.wo-qs-results[data-theme="dark"] .wo-qs-mark[data-on="0"] {
  background: rgba(255, 255, 255, 0.08);
}

.wo-qs-item-main {
  flex: 1 1 auto;
  min-width: 0;
}

.wo-qs-label {
  display: block;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wo-qs-sub {
  padding: 1px 0 0;
  font-size: 11px;
  opacity: 0.6;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wo-qs-hit {
  font-weight: 800;
  border-radius: 3px;
  background: rgba(250, 204, 21, 0.32);
}
.wo-qs-results[data-theme="dark"] .wo-qs-hit {
  background: rgba(250, 204, 21, 0.26);
}

.wo-qs-badges {
  flex: none;
  display: flex;
  align-items: center;
  gap: 5px;
}

.wo-qs-stage {
  padding: 2px 7px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: 999px;
  white-space: nowrap;
}

.wo-qs-badge {
  padding: 2px 6px;
  font-size: 10px;
  font-weight: 600;
  border-radius: 999px;
  white-space: nowrap;
}
.wo-qs-badge--done {
  color: #15803d;
  background: rgba(34, 197, 94, 0.16);
}
.wo-qs-badge--pending {
  color: #9a3412;
  background: rgba(249, 115, 22, 0.14);
}
.wo-qs-results[data-theme="dark"] .wo-qs-badge--done {
  color: #86efac;
}
.wo-qs-results[data-theme="dark"] .wo-qs-badge--pending {
  color: #fdba74;
}

.wo-qs-empty {
  padding: 10px 8px;
  opacity: 0.6;
}

.wo-qs-head {
  padding: 5px 8px 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.45;
}

.wo-qs-more {
  display: block;
  width: 100%;
  margin-top: 2px;
  padding: 7px 8px;
  font: inherit;
  font-weight: 600;
  color: inherit;
  background: transparent;
  border: none;
  border-top: 1px solid rgba(24, 24, 27, 0.1);
  border-radius: 0 0 8px 8px;
  cursor: pointer;
}
.wo-qs-more:hover {
  background: rgba(24, 24, 27, 0.06);
}
.wo-qs-results[data-theme="dark"] .wo-qs-more {
  border-top-color: rgba(255, 255, 255, 0.12);
}
.wo-qs-results[data-theme="dark"] .wo-qs-more:hover {
  background: rgba(255, 255, 255, 0.08);
}

.wo-qs-detail {
  position: fixed;
  z-index: 2147483001;
  box-sizing: border-box;
  width: 320px;
  padding: 0 12px 11px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 12px;
  color: #18181b;
  background: #ffffff;
  border: 1px solid rgba(24, 24, 27, 0.1);
  border-radius: 12px;
  box-shadow: 0 18px 44px rgba(15, 15, 20, 0.22);
  overflow: hidden;
  pointer-events: none;
}
.wo-qs-detail * {
  box-sizing: border-box;
}
.wo-qs-detail[data-theme="dark"] {
  color: #f4f4f5;
  background: #1f1f23;
  border-color: rgba(255, 255, 255, 0.1);
}

.wo-qs-detail-top {
  height: 5px;
  margin: 0 -12px 10px;
}
.wo-qs-detail-top[data-on="0"] {
  height: 11px;
  margin-bottom: 0;
  background: transparent;
}

.wo-qs-detail-title {
  font-weight: 700;
  line-height: 1.3;
}
.wo-qs-detail-project {
  padding-top: 2px;
  font-size: 11px;
  opacity: 0.65;
  line-height: 1.35;
}
.wo-qs-detail-body {
  margin-top: 9px;
  padding-top: 8px;
  border-top: 1px solid rgba(24, 24, 27, 0.1);
  display: grid;
  gap: 3px;
}
.wo-qs-detail[data-theme="dark"] .wo-qs-detail-body {
  border-top-color: rgba(255, 255, 255, 0.12);
}
.wo-qs-detail-row {
  display: flex;
  gap: 8px;
  align-items: baseline;
}
.wo-qs-detail-label {
  flex: none;
  width: 104px;
  font-size: 11px;
  opacity: 0.55;
}
.wo-qs-detail-value {
  flex: 1 1 auto;
  min-width: 0;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.wo-qs-detail-pending {
  opacity: 0.4;
}
.wo-qs-detail-muted {
  font-weight: 400;
  opacity: 0.6;
}

.wo-machining-action,
.wo-machining-client-host,
.wo-assembling-action,
.wo-assembling-client-host,
.wo-stats-action,
.wo-stats-client-host {
  position: relative;
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.wo-panel-overlay.wo-panel-overlay--inline {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.wo-panel-overlay--inline .wo-panel-search-wrap,
.wo-panel-overlay--inline .wo-panel-close-btn {
  display: none !important;
}

.wo-machining-entry,
.wo-assembling-entry {
  cursor: pointer;
}

.o_main_navbar .o_menu_sections .wo-machining-entry--active,
.wo-machining-entry.wo-machining-entry--active,
.o_main_navbar .o_menu_sections .wo-assembling-entry--active,
.wo-assembling-entry.wo-assembling-entry--active {
  background: var(--NavBar-entry-backgroundColor--hover, #e9ecef);
  font-weight: 700;
  text-decoration: none;
}

.wo-panel-person-item--marked {
  position: relative;
  padding-left: 13px;
}
.wo-panel-history-mark {
  position: absolute;
  left: 0;
  top: 7px;
  bottom: 7px;
  width: 7px;
  border-radius: 999px;
}

.wo-panel-rowcard {
  position: fixed;
  z-index: 60;
  width: 340px;
  padding: 0 14px 12px;
  max-height: calc(100vh - 20px);
  overflow-y: auto;
  background: var(--wp-surface);
  color: var(--wp-text);
  border: 1px solid var(--wp-border);
  border-radius: 12px;
  box-shadow: var(--wp-shadow);
  font-size: 12.5px;
  pointer-events: auto;
}

.wo-panel-rowcard-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--wp-border);
}

.wo-panel-rowcard[data-page="sheets"] {
  width: 560px;
}

.wo-panel-rowcard-tabs {
  display: flex;
  gap: 4px;
  margin: 10px 0 2px;
  padding: 3px;
  border-radius: 8px;
  background: var(--wp-chip-bg);
}
.wo-panel-rowcard-tab {
  flex: 1 1 0;
  padding: 4px 8px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--wp-muted);
  font: inherit;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.12s ease, color 0.12s ease;
}
.wo-panel-rowcard-tab:hover {
  color: var(--wp-text);
}

.wo-panel-rowcard-tab[aria-selected="true"] {
  background: var(--wp-accent-soft);
  color: var(--wp-accent);
}

.wo-panel-sheets-summary {
  margin: 10px 0 6px;
  font-size: 11px;
  color: var(--wp-muted);
  font-variant-numeric: tabular-nums;
}
.wo-panel-sheets-status {
  padding: 18px 0;
  font-size: 11.5px;
  color: var(--wp-muted);
  text-align: center;
}

.wo-panel-sheets-scroll {
  max-height: 320px;
  overflow: auto;
  border: 1px solid var(--wp-border-soft);
  border-radius: 8px;
}
.wo-panel-sheets-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11.5px;
}
.wo-panel-sheets-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 6px 8px;
  background: var(--wp-surface);
  border-bottom: 1px solid var(--wp-border);
  color: var(--wp-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-align: left;
  white-space: nowrap;
}
.wo-panel-sheets-table td {
  padding: 5px 8px;
  border-bottom: 1px solid var(--wp-border-soft);
  vertical-align: top;
}
.wo-panel-sheets-table tr:last-child td {
  border-bottom: 0;
}
.wo-panel-sheets-count,
.wo-panel-sheets-table th.wo-panel-sheets-col--count {
  width: 40px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.wo-panel-sheets-qty,
.wo-panel-sheets-table th.wo-panel-sheets-col--needed,
.wo-panel-sheets-table th.wo-panel-sheets-col--used {
  width: 46px;
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.wo-panel-sheets-code,
.wo-panel-sheets-table th.wo-panel-sheets-col--code {
  width: 76px;
  color: var(--wp-muted);
  white-space: nowrap;
}
.wo-panel-sheets-material {
  min-width: 120px;
  overflow-wrap: anywhere;
}
.wo-panel-sheets-comments {
  max-width: 100px;
  color: var(--wp-muted);
  overflow-wrap: anywhere;
}
.wo-panel-sheets-state {
  width: 76px;
}
.wo-panel-sheets-chip {
  display: inline-block;
  padding: 1px 6px;
  border-radius: 999px;
  background: var(--wp-chip-bg);
  color: var(--wp-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.wo-panel-sheets-chip[data-state="done"] {
  background: var(--wp-ok-bg);
  color: var(--wp-ok);
}

.wo-panel-sheets-chip[data-state="cancelled"] {
  background: var(--wp-chip-bg);
  color: var(--wp-danger);
}

.wo-panel-rowcard-top {
  height: 5px;
  margin: 0 -14px 10px;
}
.wo-panel-rowcard-top[data-on="0"] {
  height: 12px;
  margin-bottom: 0;
  background: transparent;
}

.wo-panel-rowcard-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}
.wo-panel-rowcard-queue {
  padding: 2px 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-radius: 999px;
}
.wo-panel-rowcard-queue[data-queue="cnc"] {
  color: var(--wp-cnc);
  background: var(--wp-cnc-bg);
}
.wo-panel-rowcard-queue[data-queue="edging"] {
  color: var(--wp-edging);
  background: var(--wp-edging-bg);
}
.wo-panel-rowcard-cp {
  font-size: 11px;
  font-weight: 700;
  color: var(--wp-muted);
  font-variant-numeric: tabular-nums;
}

.wo-panel-rowcard-title {
  font-weight: 700;
  line-height: 1.3;
}
.wo-panel-rowcard-project {
  padding-top: 2px;
  font-size: 11.5px;
  color: var(--wp-muted);
  line-height: 1.35;
}

.wo-panel-rowcard-bars {
  display: grid;
  gap: 8px;
  margin-top: 11px;
}
.wo-panel-rowcard-bar-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 3px;
}
.wo-panel-rowcard-bar-label {
  font-size: 11px;
  color: var(--wp-muted);
}
.wo-panel-rowcard-bar-value {
  font-size: 11px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.wo-panel-rowcard-track {
  height: 6px;
  border-radius: 999px;
  background: var(--wp-chip-bg);
  overflow: hidden;
}
.wo-panel-rowcard-fill {
  height: 100%;
  border-radius: 999px;
  background: var(--wp-accent);
  transition: width 0.15s ease;
}
.wo-panel-rowcard-fill[data-tone="done"] {
  background: var(--wp-ok);
}

.wo-panel-rowcard-dates {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 11px;
  padding-top: 10px;
  border-top: 1px solid var(--wp-border-soft);
}
.wo-panel-rowcard-date {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.wo-panel-rowcard-date-main {
  font-weight: 700;
}
.wo-panel-rowcard-date-rel {
  font-size: 11px;
  color: var(--wp-muted);
}
.wo-panel-rowcard-date-rel[data-tone="late"] {
  color: var(--wp-danger);
  font-weight: 700;
}
.wo-panel-rowcard-date-rel[data-tone="soon"] {
  color: var(--wp-edging);
  font-weight: 700;
}

.wo-panel-rowcard-body {
  display: grid;
  gap: 3px;
  margin-top: 11px;
  padding-top: 10px;
  border-top: 1px solid var(--wp-border-soft);
}
.wo-panel-rowcard-line {
  display: flex;
  gap: 8px;
  align-items: baseline;
}
.wo-panel-rowcard-key {
  flex: none;
  width: 104px;
  font-size: 11px;
  color: var(--wp-muted);
}
.wo-panel-rowcard-val {
  flex: 1 1 auto;
  min-width: 0;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.wo-panel-rowcard-val[data-tone="muted"] {
  font-weight: 400;
  color: var(--wp-muted);
}

.wo-machining-app .o_app_icon.wo-machining-app-icon {
  width: 100%;
  aspect-ratio: 1 / 1;
  min-height: 3rem;
  padding: 7%;
  object-fit: contain;
  background: #ffffff;
  border: 1px solid rgba(24, 24, 27, 0.08);
}

.wo-machining-app .o_app_icon.wo-machining-app-icon--drawn {
  padding: 0;
  background-color: #4f46e5;
  border: 0;
  color: #ffffff;
}
.wo-machining-app .wo-machining-app-glyph {
  position: static;
  width: 58%;
  height: auto;
  max-width: 100%;
  overflow: visible;
}

.o-dropdown--menu.wo-panel-optcols-menu {
  
  columns: 2;
  column-gap: 0;
  min-width: 420px;
  max-width: min(560px, 92vw);
  
  overflow: visible;
  max-height: none;
}

.o-dropdown--menu.wo-panel-optcols-menu > .o-dropdown-item {
  break-inside: avoid;
}

@media (max-width: 620px) {
  .o-dropdown--menu.wo-panel-optcols-menu {
    columns: 1;
    min-width: 0;
  }
}

.wo-panel-machine-column {
  padding: 0;
  border-right: 1px solid var(--wp-border);
}
.wo-panel-machine-column:last-child { border-right: 0; }
.wo-panel-machine-column.wo-panel-drop-target { box-shadow: inset 0 0 0 2px var(--wp-accent); }
.wo-panel-list-wrap:has(.wo-panel-item) > .wo-panel-empty { display: none; }
.wo-panel-machine-column .wo-panel-col-header {
  justify-content: space-between;
  min-height: 34px;
  padding: 5px 10px;
  margin: 0;
  border-bottom: 1px solid var(--wp-border);
}
.wo-panel-machine-column .wo-panel-col-tag {
  display: block;
  min-width: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.wo-panel-machine-column .wo-panel-col-tag-label { font-size: 12.5px; }
.wo-panel-machine-column .wo-panel-count {
  font-size: 11px;
  padding: 1px 6px;
  border-radius: 4px;
  background: var(--wp-surface);
}
.wo-panel-machine-column .wo-panel-group {
  border: 0;
  border-radius: 0;
  margin: 0;
  overflow: visible;
}
.wo-panel-machine-column .wo-panel-table-wrap { padding: 0; overflow: visible; }
.wo-panel-machine-column .wo-panel-table { font-size: 12px; }
.wo-panel-machine-column .wo-panel-table td { height: 29px; padding: 3px 5px; }
.wo-panel-machine-column .wo-panel-table thead {
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--wp-surface);
}
.wo-panel-machine-column .wo-panel-table th.wo-panel-col-title { padding: 5px; font-size: 10px; }
.wo-panel-machine-column .wo-panel-td-name { white-space: nowrap; }
.wo-panel-machine-column .wo-panel-name { font-size: 12px; font-weight: 500; }
.wo-panel-machine-column .wo-panel-grip { min-width: 24px; min-height: 23px; font-size: 18px; }
.wo-panel-machine-column .wo-panel-table th.wo-panel-col--grip { width: 29px; }
.wo-panel-machine-column .wo-panel-rank-td { font-size: 11.5px; }
.wo-panel-header .wo-panel-search-input { padding: 6px 10px; font-size: 12.5px; }
@media (max-width: 650px) {
  .wo-panel-header-row { gap: 5px; }
  .wo-panel-header .wo-panel-search-wrap { min-width: 0; }
}

.wo-panel-history-column .wo-panel-history-table { table-layout: fixed; }
.wo-panel-history-table th.wo-panel-history-col-date { width: 76px; }
.wo-panel-history-table th.wo-panel-history-col-images { width: 122px; }
.wo-panel-history-column .wo-panel-history-table td { height: 52px; }
.wo-panel-history-row:nth-child(even) { background: var(--wp-row-alt); }
.wo-panel-history-table .wo-panel-history-info { padding-left: 9px; }
.wo-panel-history-table .wo-panel-history-wo {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-decoration: none;
  font-size: 12px;
}
.wo-panel-history-table .wo-panel-history-meta {
  font-size: 13px;
  line-height: 1.35;
}
.wo-panel-history-table .wo-panel-history-note {
  font-size: 10.5px;
  line-height: 1.35;
}
.wo-panel-history-date { color: var(--wp-muted); font-size: 10.5px; line-height: 1.4; }
.wo-panel-history-images { color: var(--wp-muted); text-align: center; }
.wo-panel-thumbnails { display: flex; gap: 3px; align-items: center; }
.wo-panel-image-author { font-size: 12px; color: var(--wp-muted); white-space: normal; }
.wo-panel-thumbnail {
  position: relative;
  width: 35px;
  height: 35px;
  padding: 0;
  flex: none;
  border: 1px solid var(--wp-border);
  border-radius: 4px;
  background: var(--wp-chip-bg);
  overflow: hidden;
  cursor: pointer;
}
.wo-panel-thumbnail img { display: block; width: 100%; height: 100%; object-fit: cover; }
.wo-panel-thumbnail img[hidden] { display: none; }
.wo-panel-thumbnail:hover { border-color: var(--wp-accent); }
.wo-panel-thumbnail--more img { filter: blur(2px) brightness(0.6); }
.wo-panel-thumbnail-count {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(0, 0, 0, 0.25);
  font-weight: 700;
  font-size: 12px;
}
.wo-panel-thumbnail--failed::before { content: "▧"; color: var(--wp-muted); }
.wo-panel-images-retry { border: 0; background: transparent; color: var(--wp-muted); font-size: 10px; cursor: pointer; }
.wo-panel-image-viewer {
  width: min(1100px, calc(100vw - 32px));
  height: min(850px, calc(100vh - 32px));
  max-width: none;
  max-height: none;
  padding: 0;
  margin: auto;
  border: 1px solid var(--wp-border);
  border-radius: 10px;
  background: var(--wp-bg);
  color: var(--wp-text);
  overflow: hidden;
}
.wo-panel-gallery-host { display: contents; }
.o_list_view .wo-panel-native-images { width: 122px; min-width: 122px; max-width: 122px; vertical-align: middle; }
.wo-panel-native-images .wo-panel-thumbnail { border-color: #c6ccd4; background: transparent; }
.wo-panel-image-viewer[open] { display: flex; flex-direction: column; }
.wo-panel-image-viewer::backdrop { background: rgba(10, 15, 24, 0.75); }
.wo-panel-image-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--wp-border);
  flex: none;
}
.wo-panel-image-caption { flex: 1; min-width: 0; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wo-panel-image-body { display: flex; flex: 1; min-height: 0; align-items: center; gap: 8px; padding: 10px; }
.wo-panel-image-stage { position: relative; flex: 1; min-width: 0; height: 100%; display: grid; place-items: center; }
.wo-panel-image-full { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.wo-panel-image-status { position: absolute; padding: 12px; text-align: center; color: var(--wp-muted); }
.wo-panel-image-arrow { flex: none; width: 36px; height: 48px; border: 1px solid var(--wp-border); border-radius: 6px; background: var(--wp-surface); color: var(--wp-text); font-size: 32px; cursor: pointer; }
.wo-panel-image-arrow:hover { background: var(--wp-chip-bg); }
.wo-panel-image-arrow[hidden], .wo-panel-image-full[hidden], .wo-panel-image-status[hidden] { display: none; }
@media (max-width: 980px) {
  .wo-panel-header-row { display: flex; flex-wrap: wrap; }
  .wo-panel-page-switch { max-width: 100%; margin-inline: auto; }
  .wo-panel-header-row > .wo-panel-search-wrap { flex-basis: 100%; }
  .wo-panel-header .wo-panel-search-wrap { flex: 1; }
}

.wo-asm .wo-panel-header {
  padding: 4px 10px;
}

.wo-asm-status {
  grid-column: 1;
  grid-row: 1;
  font-size: 12px;
  color: var(--wp-muted);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.wo-asm-status[data-tone="error"] {
  color: var(--wp-danger);
}

.wo-asm-view {
  flex: 1;
  min-height: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.wo-asm-view[hidden] {
  display: none;
}

.wo-asm-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 14px;
  align-content: start;
  overflow-y: auto;
  min-height: 0;
}
@media (max-width: 980px) {
  .wo-asm-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.wo-asm-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  padding: 14px 16px 16px;
  border: 1px solid var(--wp-border);
  border-radius: 12px;
  background: var(--wp-surface);
}

.wo-asm-card[data-idle="1"] {
  background: transparent;
  border-style: dashed;
}

.wo-asm-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.wo-asm-avatar {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  user-select: none;
}
.wo-asm-avatar--sm {
  width: 20px;
  height: 20px;
  font-size: 9px;
}
.wo-asm-card[data-idle="1"] .wo-asm-avatar {
  opacity: 0.55;
}

.wo-asm-card-who {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 6px;
}
.wo-asm-card-name {
  flex: 1;
  min-width: 0;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--wp-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wo-asm-card-status {
  flex: none;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--wp-muted);
  white-space: nowrap;
}
.wo-asm-card-status-text {
  overflow: hidden;
  text-overflow: ellipsis;
}
.wo-asm-dot {
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--wp-ok);
}
.wo-asm-card[data-idle="0"] .wo-asm-card-status {
  color: var(--wp-ok);
  font-weight: 600;
}

.wo-asm-card-history {
  flex: none;
  align-self: center;
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  font-size: 11px;
  color: var(--wp-muted);
  cursor: pointer;
  opacity: 0.55;
  white-space: nowrap;
  transition: opacity 90ms ease, background-color 90ms ease, color 90ms ease;
}
.wo-asm-card:hover .wo-asm-card-history {
  opacity: 1;
}
.wo-asm-card-history:hover,
.wo-asm-card-history:focus-visible {
  opacity: 1;
  background: var(--wp-hover);
  border-color: var(--wp-hover-border);
  color: var(--wp-text);
  outline: none;
}

.wo-asm-mark {
  flex: none;
  align-self: stretch;
  width: 4px;
  border-radius: 999px;
  background: rgba(24, 24, 27, 0.08);
}
.wo-asm[data-theme="dark"] .wo-asm-mark {
  background: rgba(255, 255, 255, 0.1);
}

.wo-asm-current {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  padding: 7px 10px;
  border-radius: 8px;
  background: var(--wp-chip-bg);
}

.wo-asm-entry {
  cursor: pointer;
  transition: background-color 90ms ease, box-shadow 90ms ease;
}
.wo-asm-entry:hover,
.wo-asm-entry:focus-visible {
  background: var(--wp-hover);
  box-shadow: inset 0 0 0 1px var(--wp-hover-border);
  outline: none;
}
.wo-asm-card[data-idle="1"] .wo-asm-current {
  opacity: 0.75;
}
.wo-asm-current-top {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
}
.wo-asm-current-when {
  flex: none;
  font-size: 11px;
  color: var(--wp-muted);
  font-variant-numeric: tabular-nums;
}
.wo-asm-current-action {
  font-size: 10.5px;
  color: var(--wp-muted);
}

.wo-asm-previous {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.wo-asm-previous-line {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  padding: 3px 8px;
  border-radius: 6px;
}
.wo-asm-previous-top {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
}
.wo-asm-previous-when {
  flex: none;
  font-size: 10.5px;
  color: var(--wp-muted);
  font-variant-numeric: tabular-nums;
}
.wo-asm-previous-action {
  font-size: 9.5px;
  color: var(--wp-muted);
  opacity: 0.85;
}

.wo-asm-wo {
  min-width: 0;
  flex: 1;
  color: var(--wp-text);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
}

.wo-asm-wo:hover,
.wo-asm-wo:focus,
.wo-asm-wo:focus-visible,
.wo-asm-entry:hover .wo-asm-wo {
  text-decoration: none;
}
.wo-asm-wo--current {
  font-size: 14px;
  font-weight: 700;
}
.wo-asm-wo--previous {
  font-size: 12.5px;
  color: var(--wp-muted);
}

.wo-asm-card-empty {
  font-size: 12.5px;
  color: var(--wp-muted);
}

.wo-asm-queue-col {
  flex: 1;
  min-height: 0;
  padding: 8px 10px 10px;
}
.wo-asm-queue-col .wo-panel-col-header {
  padding-bottom: 6px;
  margin-bottom: 6px;
}

.wo-asm-queue-table {
  font-size: 12.5px;
  table-layout: auto;
}
.wo-asm-queue-table td {
  height: 29px;
  padding: 3px 10px 3px 6px;
}
.wo-asm-queue-table th,
.wo-asm-queue-table td {
  white-space: nowrap;
}
.wo-asm-queue-table th.wo-panel-col--spacer,
.wo-asm-td-spacer {
  width: 100%;
  padding: 0;
}
.wo-asm-td-images {
  text-align: left;
}
.wo-asm-td-cabinets {
  font-variant-numeric: tabular-nums;
  color: var(--wp-muted);
}

.wo-asm-queue-table th.wo-panel-col--since,
.wo-asm-td-since {
  padding-left: 52px;
}
.wo-asm-td-since[data-tone="guess"] {
  color: var(--wp-muted);
  font-style: italic;
}

.wo-asm-td-projectno {
  font-variant-numeric: tabular-nums;
}
.wo-asm-td--none {
  color: var(--wp-muted);
}

.wo-asm-td-dispatch {
  font-variant-numeric: tabular-nums;
  color: var(--wp-muted);
}
.wo-asm-td-dispatch[data-tone="soon"] {
  color: var(--wp-warn);
  font-weight: 600;
}
.wo-asm-td-dispatch[data-tone="late"] {
  color: var(--wp-danger);
  font-weight: 700;
}

.wo-asm-td-progress {
  width: 168px;
}
.wo-asm-bar {
  position: relative;
  display: block;
  width: 100%;
  min-width: 152px;
  height: 15px;
  border-radius: 999px;
  overflow: hidden;
  background: var(--wp-chip-bg);
  box-shadow: inset 0 0 0 1px var(--wp-border);
}

.wo-asm-bar-fill {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: 999px;
  background: var(--wp-accent);
  opacity: 0.3;
  transition: width 160ms ease;
}
.wo-asm-bar[data-state="done"] .wo-asm-bar-fill {
  background: var(--wp-ok);
  opacity: 0.4;
}
.wo-asm-bar[data-state="idle"] .wo-asm-bar-fill {
  background: transparent;
}
.wo-asm-bar-label {
  position: relative;
  display: block;
  text-align: center;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 15px;
  font-variant-numeric: tabular-nums;
  color: var(--wp-text);
}
.wo-asm-bar[data-state="done"] .wo-asm-bar-label {
  color: var(--wp-ok);
}

.wo-asm-td-people .wo-asm-who {
  max-width: 170px;
}
.wo-asm-who-more {
  flex: none;
  font-size: 10px;
  font-weight: 700;
  color: var(--wp-muted);
}
.wo-asm-who {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.wo-asm-who-name {
  font-size: 11.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wo-asm-who-none {
  color: var(--wp-muted);
}

.wo-asm-modal {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(9, 9, 11, 0.45);
}

.wo-asm-modal-card {
  display: flex;
  flex-direction: column;
  width: min(520px, 100%);
  max-height: min(680px, 100%);
  border: 1px solid var(--wp-border);
  border-radius: 14px;
  background: var(--wp-surface);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
  color: var(--wp-text);
  font-size: 12.5px;
  overflow: hidden;
}

.wo-asm-modal-head {
  flex: none;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 14px 14px 12px 16px;
  border-bottom: 1px solid var(--wp-border);
}
.wo-asm-modal-name {
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wo-asm-modal-close {
  flex: none;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--wp-muted);
  font: inherit;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.wo-asm-modal-close:hover,
.wo-asm-modal-close:focus-visible {
  background: var(--wp-hover);
  border-color: var(--wp-hover-border);
  color: var(--wp-text);
  outline: none;
}

.wo-asm-modal-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 16px 16px;
}

.wo-asm-modal-section {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--wp-muted);
}
.wo-asm-modal-section[hidden] {
  display: none;
}

.wo-asm-personcard-who {
  flex: 1;
  min-width: 0;
}
.wo-asm-personcard-sub {
  font-size: 11.5px;
  color: var(--wp-muted);
}

.wo-asm-personcard-list,
.wo-asm-personcard-feed {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.wo-asm-personcard-line {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  min-width: 0;
  padding: 4px 5px;
  border-radius: 6px;
}
.wo-asm-personcard-line:hover {
  background: var(--wp-hover);
}
.wo-asm-personcard-linebody {
  flex: 1;
  min-width: 0;
}
.wo-asm-personcard-wo {
  display: block;
  color: var(--wp-text);
  text-decoration: none;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
}
.wo-asm-personcard-wo:hover,
.wo-asm-personcard-wo:focus,
.wo-asm-personcard-wo:focus-visible,
.wo-asm-personcard-line:hover .wo-asm-personcard-wo {
  text-decoration: none;
}
.wo-asm-personcard-note {
  font-size: 10.5px;
  color: var(--wp-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.wo-asm-personcard-when {
  flex: none;
  font-size: 10.5px;
  color: var(--wp-muted);
  font-variant-numeric: tabular-nums;
}
.wo-asm-personcard-repeats {
  flex: none;
  font-size: 10px;
  font-weight: 700;
  color: var(--wp-muted);
}
.wo-asm-personcard-hint,
.wo-asm-personcard-status {
  font-size: 11px;
  color: var(--wp-muted);
}

.wo-asm-personcard-btn,
.wo-asm-personcard-more {
  align-self: stretch;
  margin-top: 2px;
  padding: 7px 10px;
  border: 1px solid var(--wp-border);
  border-radius: 8px;
  background: var(--wp-chip-bg);
  color: var(--wp-text);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.wo-asm-personcard-btn:hover:not(:disabled),
.wo-asm-personcard-more:hover:not(:disabled) {
  background: var(--wp-hover);
  border-color: var(--wp-hover-border);
}
.wo-asm-personcard-btn:disabled,
.wo-asm-personcard-more:disabled {
  opacity: 0.6;
  cursor: default;
}
.wo-asm-personcard-btn[hidden],
.wo-asm-personcard-more[hidden],
.wo-asm-personcard-feed[hidden],
.wo-asm-personcard-status[hidden] {
  display: none;
}

.wo-asm-app-icon {
  aspect-ratio: 1 / 1;
  width: 100%;
  color: var(--wp-accent, #4f46e5);
  background: rgba(79, 70, 229, 0.1);
}
.wo-asm-app-glyph {
  width: 60%;
  height: 60%;
}

.wo-edge-scan-action {
  position: absolute;
  inset: 0;
}
.wo-edge-scan-client-host {
  position: absolute;
  inset: 0;
}

.wo-es-root {
  --es-bg: #0f1316;
  --es-surface: #171d22;
  --es-surface-2: #1e252c;
  --es-line: #2b343c;
  --es-line-soft: #222a31;
  --es-ink: #e9eef2;
  --es-muted: #94a3ae;
  --es-ok: #3fbf6f;
  --es-dup: #e8a33d;
  --es-bad: #e8544a;
  --es-action: #5b8def;

  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--es-bg);
  color: var(--es-ink);
  font-family: ui-sans-serif, "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.45;
  font-feature-settings: "tnum" 1;
}
.wo-es-root *,
.wo-es-root *::before,
.wo-es-root *::after {
  box-sizing: border-box;
}
.wo-es-hidden {
  display: none !important;
}

.wo-es-root .wo-es-btn {
  font: inherit;
  color: var(--es-ink);
  background: var(--es-surface-2);
  border: 1px solid var(--es-line);
  border-radius: 6px;
  padding: 9px 16px;
  cursor: pointer;
}
.wo-es-root .wo-es-btn:hover {
  background: #262f37;
}
.wo-es-root .wo-es-btn:focus-visible {
  outline: 2px solid var(--es-action);
  outline-offset: 2px;
}
.wo-es-root .wo-es-btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
}
.wo-es-root .wo-es-btn--small {
  padding: 5px 11px;
  font-size: 13px;
}
.wo-es-root .wo-es-btn--primary {
  background: var(--es-action);
  border-color: var(--es-action);
  color: #08121f;
  font-weight: 600;
}
.wo-es-root .wo-es-btn--primary:hover {
  background: #6f9bf3;
}
.wo-es-root .wo-es-select {
  font: inherit;
  color: var(--es-ink);
  background: var(--es-surface-2);
  border: 1px solid var(--es-line);
  border-radius: 6px;
  padding: 8px 10px;
}

.wo-es-setup {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 32px;
  overflow: auto;
}
.wo-es-card {
  width: min(620px, 100%);
  background: var(--es-surface);
  border: 1px solid var(--es-line);
  border-radius: 10px;
  padding: 30px 32px 26px;
}
.wo-es-root .wo-es-h1 {
  margin: 0 0 6px;
  font-size: 25px;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--es-ink);
}
.wo-es-root .wo-es-lede {
  margin: 0 0 22px;
  color: var(--es-muted);
}
.wo-es-field {
  margin-bottom: 18px;
}
.wo-es-root .wo-es-field label {
  display: block;
  font-size: 13px;
  color: var(--es-muted);
  margin-bottom: 6px;
}
.wo-es-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.wo-es-sessions {
  margin-top: 26px;
  border-top: 1px solid var(--es-line-soft);
  padding-top: 18px;
}
.wo-es-root .wo-es-sessions h2 {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--es-ink);
}
.wo-es-session {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--es-line-soft);
  font-size: 13px;
}
.wo-es-session-name {
  flex: 1;
  min-width: 0;
  word-break: break-all;
}
.wo-es-session-meta {
  flex: none;
  color: var(--es-muted);
}

.wo-es-scan {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
}
.wo-es-header {
  flex: none;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--es-line);
  background: var(--es-surface);
}
.wo-es-job {
  min-width: 0;
}
.wo-es-job-name {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  word-break: break-all;
}
.wo-es-job-sub {
  font-size: 13px;
  color: var(--es-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wo-es-spacer {
  flex: 1;
}
.wo-es-count {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.wo-es-count-now {
  font-size: 34px;
  font-weight: 650;
  line-height: 1;
  letter-spacing: -0.02em;
}
.wo-es-count-total {
  font-size: 17px;
  color: var(--es-muted);
}
.wo-es-progress {
  flex: none;
  height: 3px;
  background: var(--es-line-soft);
}
.wo-es-progress-fill {
  height: 100%;
  width: 0;
  background: var(--es-ok);
  transition: width 0.25s ease;
}

.wo-es-strip {
  flex: none;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 18px 20px;
  min-height: 148px;
  border-bottom: 1px solid var(--es-line);
  background: var(--es-surface);
  transition: background-color 0.18s ease;
}
.wo-es-strip[data-status="ok"] {
  background: #11301e;
}
.wo-es-strip[data-status="dup"] {
  background: #33260c;
}
.wo-es-strip[data-status="unknown"] {
  background: #38150f;
}
.wo-es-strip-thumb {
  width: 112px;
  height: 112px;
  flex: none;
  display: none;
  object-fit: contain;
  background: #0b0f12;
  border: 1px solid var(--es-line);
  border-radius: 6px;
}
.wo-es-strip-thumb[src] {
  display: block;
}
.wo-es-strip-body {
  flex: 1;
  min-width: 0;
}
.wo-es-strip-status {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 2px;
}
.wo-es-strip[data-status="idle"] .wo-es-strip-status {
  color: var(--es-muted);
  font-weight: 400;
}
.wo-es-strip[data-status="ok"] .wo-es-strip-status {
  color: var(--es-ok);
}
.wo-es-strip[data-status="dup"] .wo-es-strip-status {
  color: var(--es-dup);
}
.wo-es-strip[data-status="unknown"] .wo-es-strip-status {
  color: var(--es-bad);
}
.wo-es-strip-name {
  font-size: 40px;
  font-weight: 650;
  line-height: 1.1;
  letter-spacing: -0.02em;
  word-break: break-all;
}
.wo-es-strip[data-status="idle"] .wo-es-strip-name {
  font-size: 26px;
  font-weight: 500;
  color: var(--es-muted);
}
.wo-es-strip-side {
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.wo-es-root .wo-es-code {
  font: 400 15px ui-monospace, "Cascadia Mono", Consolas, monospace;
  letter-spacing: 0.04em;
  color: var(--es-ink);
  background: #0b0f12;
  border: 1px solid var(--es-line);
  border-radius: 6px;
  padding: 9px 12px;
  width: 240px;
}
.wo-es-root .wo-es-code:focus {
  outline: none;
  border-color: var(--es-action);
}
.wo-es-root .wo-es-code::placeholder {
  color: #5d6b76;
  letter-spacing: 0;
}
.wo-es-focus-warn {
  display: none;
  font-size: 13px;
  color: var(--es-dup);
}
.wo-es-root[data-focus="lost"] .wo-es-focus-warn {
  display: block;
}

.wo-es-main {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr 300px;
}
.wo-es-pane {
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.wo-es-pane + .wo-es-pane {
  border-left: 1px solid var(--es-line);
}
.wo-es-pane-head {
  flex: none;
  padding: 12px 18px;
  border-bottom: 1px solid var(--es-line-soft);
}
.wo-es-pane-title {
  font-size: 15px;
  font-weight: 600;
}
.wo-es-pane-title span {
  color: var(--es-muted);
  font-weight: 400;
}
.wo-es-pane-scroll {
  flex: 1;
  overflow: auto;
  padding: 16px 18px;
}
.wo-es-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  gap: 12px;
}
.wo-es-part {
  border: 1px solid var(--es-line);
  border-radius: 6px;
  background: var(--es-surface);
  overflow: hidden;
}
.wo-es-part-img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #0b0f12;
}
.wo-es-part-name {
  padding: 7px 9px;
  font-size: 12px;
  line-height: 1.3;
  word-break: break-all;
  border-top: 1px solid var(--es-line-soft);
}
.wo-es-root .wo-es-log {
  list-style: none;
  margin: 0;
  padding: 0;
}
.wo-es-root .wo-es-log li {
  display: flex;
  gap: 10px;
  align-items: baseline;
  padding: 7px 0;
  border-bottom: 1px solid var(--es-line-soft);
  font-size: 13px;
}
.wo-es-root .wo-es-log time {
  flex: none;
  color: var(--es-muted);
  font-variant-numeric: tabular-nums;
}
.wo-es-log-name {
  flex: 1;
  min-width: 0;
  word-break: break-all;
}
.wo-es-log li[data-status="dup"] .wo-es-log-name {
  color: var(--es-dup);
}
.wo-es-log li[data-status="unknown"] .wo-es-log-name {
  color: var(--es-bad);
}
.wo-es-root .wo-es-empty {
  margin: 0;
  color: var(--es-muted);
  font-size: 14px;
}

.wo-es-report {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(6, 9, 11, 0.82);
}
.wo-es-report-card {
  width: min(760px, 100%);
  max-height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--es-surface);
  border: 1px solid var(--es-line);
  border-radius: 10px;
}
.wo-es-report-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--es-line);
}
.wo-es-root .wo-es-report-head h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--es-ink);
}
.wo-es-report-actions {
  display: flex;
  gap: 8px;
}
.wo-es-root .wo-es-report-text {
  margin: 0;
  padding: 18px 20px;
  overflow: auto;
  color: var(--es-ink);
  background: transparent;
  border: 0;
  font: 400 13px/1.55 ui-monospace, "Cascadia Mono", Consolas, monospace;
  white-space: pre-wrap;
  word-break: break-word;
}

@media (max-width: 980px) {
  .wo-es-main {
    grid-template-columns: 1fr;
  }
  .wo-es-pane + .wo-es-pane {
    border-left: 0;
    border-top: 1px solid var(--es-line);
    max-height: 240px;
  }
  .wo-es-strip {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wo-es-root * {
    transition: none !important;
  }
}

.wo-es-sim {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 250px;
  padding: 12px 14px;
  background: var(--es-surface-2);
  border: 1px dashed #46525c;
  border-radius: 8px;
}
.wo-es-sim b {
  font-size: 13px;
  font-weight: 600;
}
.wo-es-sim small {
  font-size: 12px;
  line-height: 1.4;
  color: var(--es-muted);
}
.wo-es-root .wo-es-sim .wo-es-btn {
  text-align: left;
}

.wo-edge-scan-app-icon {
  aspect-ratio: 1 / 1;
  width: 100%;
  color: var(--wp-accent, #4f46e5);
  background: rgba(79, 70, 229, 0.1);
}
.wo-edge-scan-app-glyph {
  width: 58%;
  height: auto;
}

.wo-st {
  --st-c0: #2a78d6;
  --st-c1: #eb6834;
  --st-c2: #1baf7a;
  --st-c3: #eda100;
  --st-c4: #e87ba4;
  --st-c5: #008300;
  --st-c6: #4a3aa7;
  --st-c7: #e34948;
  --st-none: #a1a09a;
  --st-grid: #ededf0;
  --st-axis: #d4d4d8;
  --st-weekend: rgba(24, 24, 27, 0.028);
  --st-hl: rgba(24, 24, 27, 0.06);
  --st-ease: cubic-bezier(0.22, 1, 0.36, 1);
  background: var(--wp-bg);
}
.wo-st[data-theme="dark"] {
  --st-c0: #3987e5;
  --st-c1: #d95926;
  --st-c2: #199e70;
  --st-c3: #c98500;
  --st-c4: #d55181;
  --st-c5: #008300;
  --st-c6: #9085e9;
  --st-c7: #e66767;
  --st-none: #6d6c67;
  --st-grid: #26262a;
  --st-axis: #3a3a3f;
  --st-weekend: rgba(255, 255, 255, 0.022);
  --st-hl: rgba(255, 255, 255, 0.07);
}

.wo-st-scroll {
  position: absolute;
  inset: 0;
  overflow: auto;
}
.wo-st-page {
  max-width: 1920px;
  margin: 0 auto;
  padding: 28px 32px 48px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

@keyframes wo-st-rise {
  from { opacity: 0; transform: translateY(8px); }
}
.wo-st.is-entering .wo-st-page > * {
  animation: wo-st-rise 0.55s var(--st-ease) backwards;
}
.wo-st.is-entering .wo-st-page > :nth-child(2) { animation-delay: 60ms; }
.wo-st.is-entering .wo-st-page > :nth-child(4) { animation-delay: 120ms; }
.wo-st.is-entering .wo-st-page > :nth-child(5) { animation-delay: 190ms; }
.wo-st.is-entering .wo-st-page > :nth-child(6) { animation-delay: 260ms; }

.wo-st-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}
.wo-st-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--wp-accent);
  margin-bottom: 4px;
}
.wo-st .wo-st-title {
  margin: 0;
  font-size: 26px;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--wp-text);
}
.wo-st-subtitle {
  margin: 4px 0 0;
  font-size: 13.5px;
  color: var(--wp-muted);
}
.wo-st-head-side {
  display: flex;
  align-items: center;
  gap: 10px;
}
.wo-st-updated {
  font-size: 12.5px;
  color: var(--wp-muted);
  font-variant-numeric: tabular-nums;
}
.wo-st .wo-st-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid var(--wp-border);
  border-radius: 10px;
  background: var(--wp-surface);
  color: var(--wp-text);
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.wo-st .wo-st-icon-btn:hover {
  background: var(--wp-chip-bg);
}
.wo-st .wo-st-icon-btn:active {
  transform: scale(0.94);
}
@keyframes wo-st-spin {
  to { transform: rotate(360deg); }
}
.wo-st-icon-btn.is-spinning svg {
  animation: wo-st-spin 0.8s linear infinite;
}

.wo-st-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
}
.wo-st-control {
  display: flex;
  align-items: center;
  gap: 10px;
}
.wo-st-control-label {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--wp-muted);
}
.wo-st-seg {
  position: relative;
  display: inline-flex;
  padding: 3px;
  border-radius: 11px;
  background: var(--wp-chip-bg);
  border: 1px solid var(--wp-border-soft);
}
.wo-st-seg-thumb {
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 0;
  width: 0;
  opacity: 0;
  border-radius: 8px;
  background: var(--wp-surface);
  box-shadow: 0 1px 2px rgba(24, 24, 27, 0.08), 0 2px 8px rgba(24, 24, 27, 0.06);
  transition: transform 0.32s var(--st-ease), width 0.32s var(--st-ease), opacity 0.2s ease;
  pointer-events: none;
}
.wo-st[data-theme="dark"] .wo-st-seg-thumb {
  background: #2c2c31;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}
.wo-st .wo-st-seg-btn {
  position: relative;
  z-index: 1;
  padding: 6px 14px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--wp-muted);
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.2s ease;
}
.wo-st .wo-st-seg-btn:hover {
  color: var(--wp-text);
}
.wo-st .wo-st-seg-btn.is-active {
  color: var(--wp-text);
  font-weight: 600;
}
.wo-st .wo-st-seg-btn:focus-visible {
  outline: 2px solid var(--wp-accent);
  outline-offset: 1px;
}

.wo-st-error {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--wp-danger-bg);
  color: var(--wp-text);
  font-size: 13.5px;
}
.wo-st .wo-st-link-btn {
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  font-weight: 600;
  color: var(--wp-text);
  text-decoration: underline;
  cursor: pointer;
}

.wo-st-tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
@media (max-width: 1000px) {
  .wo-st-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.wo-st-tile {
  position: relative;
  padding: 16px 18px 15px;
  border-radius: 14px;
  background: var(--wp-surface);
  border: 1px solid var(--wp-border);
  transition: border-color 0.2s ease, transform 0.25s var(--st-ease), box-shadow 0.25s var(--st-ease);
  min-width: 0;
}
.wo-st-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(24, 24, 27, 0.07);
}
.wo-st[data-theme="dark"] .wo-st-tile:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
.wo-st-tile-label {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--wp-muted);
}
.wo-st-tile-value {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  font-size: 30px;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--wp-text);
  min-width: 0;
}
.wo-st-tile-name {
  font-size: 22px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wo-st-tile-sub {
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--wp-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wo-st.is-loading .wo-st-tile-value {
  color: transparent;
  border-radius: 8px;
  width: 60%;
  background: linear-gradient(90deg, var(--wp-chip-bg) 0%, var(--wp-border-soft) 50%, var(--wp-chip-bg) 100%);
  background-size: 200% 100%;
  animation: wo-st-shimmer 1.2s ease-in-out infinite;
}

.wo-st-delta {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-right: 2px;
  padding: 1px 6px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.wo-st-delta--up { color: var(--wp-ok); background: var(--wp-ok-bg); }
.wo-st-delta--down { color: var(--wp-danger); background: rgba(220, 38, 38, 0.1); }
.wo-st-delta--flat { color: var(--wp-muted); background: var(--wp-chip-bg); }

.wo-st-swatch {
  flex: none;
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--sw, var(--st-none));
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}
.wo-st-swatch--lg {
  width: 14px;
  height: 14px;
  border-radius: 4px;
}

.wo-st-card {
  padding: 18px 20px 16px;
  border-radius: 16px;
  background: var(--wp-surface);
  border: 1px solid var(--wp-border);
}
.wo-st-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 18px;
  margin-bottom: 12px;
}
.wo-st .wo-st-card-title {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--wp-text);
}

.wo-st-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.wo-st .wo-st-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px 5px 9px;
  border: 1px solid var(--wp-border);
  border-radius: 999px;
  background: var(--wp-surface);
  color: var(--wp-text);
  font: inherit;
  font-size: 12.5px;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, opacity 0.2s ease, transform 0.15s ease;
}
.wo-st .wo-st-chip:hover {
  background: var(--wp-chip-bg);
}
.wo-st .wo-st-chip:active {
  transform: scale(0.96);
}
.wo-st-chip-name {
  font-weight: 500;
}
.wo-st-chip-count {
  color: var(--wp-muted);
  font-variant-numeric: tabular-nums;
}
.wo-st .wo-st-chip.is-off {
  opacity: 0.55;
}
.wo-st .wo-st-chip.is-off .wo-st-swatch {
  background: transparent;
  box-shadow: inset 0 0 0 1.5px var(--sw);
}
.wo-st .wo-st-chip.is-off .wo-st-chip-name {
  text-decoration: line-through;
}

.wo-st-chart {
  position: relative;
  height: clamp(300px, 48vh, 520px);
  outline: none;
  border-radius: 10px;
}
.wo-st-chart:focus-visible {
  box-shadow: 0 0 0 2px var(--wp-accent);
}
.wo-st-svg {
  display: block;
  overflow: visible;
  font-size: 11.5px;
  user-select: none;
}
.wo-st-weekends rect {
  fill: var(--st-weekend);
}
.wo-st-grid line {
  stroke: var(--st-grid);
  stroke-width: 1;
  shape-rendering: crispEdges;
}
.wo-st-ytick {
  fill: var(--wp-muted);
  font-variant-numeric: tabular-nums;
}
.wo-st-baseline {
  stroke: var(--st-axis);
  stroke-width: 1;
  shape-rendering: crispEdges;
}
.wo-st-xl {
  fill: var(--wp-muted);
  font-variant-numeric: tabular-nums;
  transition: fill 0.15s ease;
}
.wo-st-xl-wd {
  font-weight: 500;
}
.wo-st-xl.is-today {
  fill: var(--wp-accent);
  font-weight: 600;
}
.wo-st-xl.is-active {
  fill: var(--wp-text);
  font-weight: 600;
}
.wo-st-hit {
  fill: transparent;
  cursor: crosshair;
}

.wo-st-hl {
  fill: var(--st-hl);
  opacity: 0;
  transition: transform 0.26s var(--st-ease), opacity 0.18s ease;
  pointer-events: none;
}
.wo-st-svg.is-hovering .wo-st-hl {
  opacity: 1;
}

@keyframes wo-st-grow {
  from { transform: scaleY(0); }
}
.wo-st-bar {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  transition: opacity 0.22s ease, filter 0.22s ease;
}
.wo-st-svg.is-animating .wo-st-bar {
  animation: wo-st-grow 0.7s var(--st-ease) backwards;
  animation-delay: var(--d, 0ms);
}
.wo-st-svg.is-hovering .wo-st-day:not(.is-active) .wo-st-bar {
  opacity: 0.3;
}
.wo-st-day.is-active .wo-st-bar {
  filter: saturate(1.12) brightness(1.05);
}
.wo-st-svg.has-focus .wo-st-bar:not(.is-focus) {
  opacity: 0.16;
}
.wo-st-svg.has-focus.is-hovering .wo-st-day.is-active .wo-st-bar:not(.is-focus) {
  opacity: 0.3;
}

@keyframes wo-st-pop {
  from { opacity: 0; transform: translateY(4px); }
}
.wo-st-vlabel {
  fill: var(--wp-text);
  font-size: 11.5px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  animation: wo-st-pop 0.25s var(--st-ease) backwards;
  animation-delay: var(--d, 0ms);
  pointer-events: none;
}

.wo-st-tip {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  min-width: 240px;
  max-width: 320px;
  padding: 12px 14px 11px;
  border-radius: 12px;
  background: var(--wp-surface);
  border: 1px solid var(--wp-border);
  box-shadow: var(--wp-shadow);
  font-size: 13px;
  color: var(--wp-text);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.16s ease, transform 0.24s var(--st-ease);
}
.wo-st-tip.is-visible {
  opacity: 1;
}
.wo-st-tip-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--wp-muted);
  font-size: 12.5px;
  font-weight: 500;
}
.wo-st-tip-tag {
  padding: 1px 7px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  color: var(--wp-accent);
  background: var(--wp-accent-soft);
}
.wo-st-tip-tag--muted {
  color: var(--wp-muted);
  background: var(--wp-chip-bg);
}
.wo-st-tip-total {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 4px 0 10px;
  color: var(--wp-muted);
}
.wo-st-tip-total strong {
  font-size: 24px;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--wp-text);
}
.wo-st-tip-total .wo-st-delta {
  margin-left: auto;
  align-self: center;
}
.wo-st-tip-none {
  color: var(--wp-muted);
  font-size: 12.5px;
}
.wo-st-tip-rows {
  display: grid;
  grid-template-columns: 10px auto minmax(40px, 1fr) auto auto;
  align-items: center;
  column-gap: 8px;
  row-gap: 7px;
  padding-top: 10px;
  border-top: 1px solid var(--wp-border-soft);
}
.wo-st-tip-row {
  display: contents;
}
.wo-st-tip-name {
  white-space: nowrap;
}
.wo-st-tip-row.is-zero .wo-st-tip-name,
.wo-st-tip-row.is-zero .wo-st-tip-val {
  color: var(--wp-muted);
}
.wo-st-tip-bar {
  height: 6px;
  border-radius: 3px;
  background: var(--wp-chip-bg);
  overflow: hidden;
}
@keyframes wo-st-fill {
  from { transform: scaleX(0); }
}
.wo-st-tip-bar-fill {
  display: block;
  height: 100%;
  border-radius: 3px;
  background: var(--sw);
  transform-origin: 0 50%;
  animation: wo-st-fill 0.4s var(--st-ease) backwards;
}
.wo-st-tip-val {
  font-weight: 600;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.wo-st-tip-pct {
  min-width: 30px;
  text-align: right;
  font-size: 11.5px;
  color: var(--wp-muted);
  font-variant-numeric: tabular-nums;
}

.wo-st-empty {
  position: absolute;
  inset: 0 0 40px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--wp-muted);
  font-size: 14px;
  pointer-events: none;
}
.wo-st-empty[hidden] {
  display: none;
}

@keyframes wo-st-shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}
@keyframes wo-st-breathe {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 1; }
}
.wo-st-skel {
  position: absolute;
  inset: 18px 8px 44px 40px;
  display: none;
  align-items: flex-end;
  justify-content: space-around;
  gap: 8px;
  border-bottom: 1px solid var(--st-axis);
}
.wo-st.is-loading .wo-st-skel {
  display: flex;
}
.wo-st-skel span {
  flex: 0 1 22px;
  border-radius: 4px 4px 0 0;
  background: var(--wp-chip-bg);
  animation: wo-st-breathe 1.4s ease-in-out infinite;
}

.wo-st-table-wrap {
  overflow-x: auto;
}
.wo-st-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  color: var(--wp-text);
}
.wo-st-table th {
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 500;
  text-align: left;
  color: var(--wp-muted);
  border-bottom: 1px solid var(--wp-border);
  white-space: nowrap;
}
.wo-st-table th.num {
  text-align: right;
}
.wo-st-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--wp-border-soft);
  white-space: nowrap;
  transition: background-color 0.15s ease;
}
.wo-st-table .num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.wo-st-table .share {
  width: 34%;
}
.wo-st-table tbody tr {
  animation: wo-st-rise 0.4s var(--st-ease) backwards;
  animation-delay: calc(var(--row, 0) * 40ms);
}
.wo-st-table tbody tr:hover td {
  background: var(--wp-row-alt);
}
.wo-st-table tbody tr.is-off {
  opacity: 0.5;
}
.wo-st-table tfoot td {
  border-bottom: 0;
  border-top: 1px solid var(--wp-border);
  color: var(--wp-muted);
  font-weight: 500;
}
.wo-st-table tfoot .wo-st-td-strong {
  color: var(--wp-text);
}
.wo-st-td-name {
  font-weight: 500;
}
.wo-st-td-name .wo-st-swatch {
  margin-right: 9px;
  vertical-align: -1px;
}
.wo-st-td-strong {
  font-weight: 650;
}
.wo-st-share-track {
  display: inline-block;
  vertical-align: middle;
  width: calc(100% - 52px);
  height: 8px;
  border-radius: 4px;
  background: var(--wp-chip-bg);
  overflow: hidden;
}
.wo-st-share-fill {
  display: block;
  height: 100%;
  border-radius: 4px;
  background: var(--sw);
  transform-origin: 0 50%;
  transition: width 0.5s var(--st-ease);
  animation: wo-st-fill 0.7s var(--st-ease) backwards;
  animation-delay: calc(var(--row, 0) * 40ms + 120ms);
}
.wo-st-share-pct {
  display: inline-block;
  vertical-align: middle;
  width: 44px;
  text-align: right;
  font-size: 12.5px;
  color: var(--wp-muted);
  font-variant-numeric: tabular-nums;
}

@media (prefers-reduced-motion: reduce) {
  .wo-st * {
    animation: none !important;
    transition: none !important;
  }
}

.wo-st-hit {
  cursor: pointer;
}
.wo-st-tip-hint {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--wp-border-soft);
  font-size: 11.5px;
  color: var(--wp-muted);
}
.wo-st-table tbody tr {
  cursor: pointer;
}

.wo-st-sel {
  fill: var(--st-hl);
  stroke: var(--st-axis);
  stroke-width: 1;
  opacity: 0;
  transition: transform 0.3s var(--st-ease), opacity 0.2s ease;
  pointer-events: none;
}
.wo-st-svg.has-selected .wo-st-sel {
  opacity: 1;
}
.wo-st-xl.is-selected {
  fill: var(--wp-text);
  font-weight: 700;
}

.wo-st-backdrop {
  position: absolute;
  inset: 0;
  z-index: 20;
  background: rgba(24, 24, 27, 0.18);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.wo-st[data-theme="dark"] .wo-st-backdrop {
  background: rgba(0, 0, 0, 0.45);
}
.wo-st.has-drawer .wo-st-backdrop {
  opacity: 1;
  pointer-events: auto;
}

.wo-st-drawer {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 21;
  display: flex;
  flex-direction: column;
  width: min(560px, 100%);
  background: var(--wp-bg);
  border-left: 1px solid var(--wp-border);
  box-shadow: -18px 0 48px rgba(24, 24, 27, 0.12);
  transform: translateX(104%);
  visibility: hidden;
  transition: transform 0.38s var(--st-ease), width 0.38s var(--st-ease), visibility 0s linear 0.38s;
}
.wo-st[data-theme="dark"] .wo-st-drawer {
  box-shadow: -18px 0 48px rgba(0, 0, 0, 0.55);
}
.wo-st-drawer[data-kind="day"] {
  width: min(1760px, calc(100% - 24px));
}
.wo-st.has-drawer .wo-st-drawer {
  transform: none;
  visibility: visible;
  transition: transform 0.38s var(--st-ease), width 0.38s var(--st-ease), visibility 0s;
}

.wo-st-dr-head {
  flex: none;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px 16px;
  background: var(--wp-surface);
  border-bottom: 1px solid var(--wp-border);
}
.wo-st-dr-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--wp-muted);
}
.wo-st .wo-st-dr-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 3px 0 0;
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--wp-text);
}
.wo-st-dr-sub {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--wp-muted);
  font-variant-numeric: tabular-nums;
}
.wo-st-dr-actions {
  display: flex;
  gap: 6px;
}
.wo-st-dr-actions .wo-st-icon-btn {
  font-size: 20px;
  line-height: 1;
}
.wo-st .wo-st-icon-btn:disabled {
  opacity: 0.35;
  cursor: default;
}
.wo-st .wo-st-icon-btn[hidden] {
  display: none !important;
}

.wo-st-dr-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding: 18px 24px 32px;
}
@keyframes wo-st-swap {
  from { opacity: 0; transform: translateX(10px); }
}
.wo-st-dr-body.is-swapping > * {
  animation: wo-st-swap 0.32s var(--st-ease) backwards;
}
.wo-st-dr-empty {
  padding: 40px 0;
  text-align: center;
  color: var(--wp-muted);
}

.wo-st-daycols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 14px;
  align-items: start;
}
.wo-st-daycol {
  border-radius: 14px;
  background: var(--wp-surface);
  border: 1px solid var(--wp-border);
  border-top: 3px solid var(--sw);
  overflow: hidden;
  animation: wo-st-rise 0.4s var(--st-ease) backwards;
  animation-delay: calc(var(--row, 0) * 50ms);
}
.wo-st-daycol.is-empty {
  opacity: 0.6;
}
.wo-st-daycol-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--wp-border-soft);
}
.wo-st-daycol.is-empty .wo-st-daycol-head {
  border-bottom: 0;
}
.wo-st-daycol-titles {
  flex: 1 1 auto;
  min-width: 0;
}
.wo-st-daycol-name {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wo-st-daycol-meta {
  font-size: 12px;
  color: var(--wp-muted);
  font-variant-numeric: tabular-nums;
}
.wo-st-daycol-count {
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -0.02em;
}
.wo-st-daycol .wo-st-timeline {
  padding: 10px 12px 12px;
}

.wo-st-mday {
  margin-bottom: 18px;
  animation: wo-st-rise 0.4s var(--st-ease) backwards;
  animation-delay: calc(var(--row, 0) * 40ms);
}
.wo-st .wo-st-mday-head {
  position: sticky;
  top: -18px;
  z-index: 1;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  margin: 0 0 6px;
  padding: 8px 10px;
  border: 0;
  border-radius: 8px;
  background: var(--wp-bg);
  color: var(--wp-text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.wo-st .wo-st-mday-head:hover {
  background: var(--wp-chip-bg);
}
.wo-st-mday-date {
  font-size: 14px;
  font-weight: 650;
}
.wo-st-mday-meta {
  font-size: 12px;
  color: var(--wp-muted);
  font-variant-numeric: tabular-nums;
}

.wo-st-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.wo-st-run {
  position: relative;
  display: flex;
  gap: 10px;
  padding: 9px 11px 9px 9px;
  border-radius: 10px;
  background: var(--wp-surface);
  border: 1px solid var(--wp-border-soft);
  animation: wo-st-rise 0.35s var(--st-ease) backwards;
  animation-delay: calc(var(--row, 0) * 25ms + 60ms);
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.wo-st-daycol .wo-st-run {
  background: var(--wp-bg);
}
.wo-st-run:hover {
  border-color: var(--wp-border);
}
.wo-st-run-mark {
  flex: none;
  width: 4px;
  border-radius: 2px;
  background: var(--wp-border);
}
.wo-st-run-body {
  flex: 1 1 auto;
  min-width: 0;
}
.wo-st-run-top {
  display: flex;
  align-items: baseline;
  gap: 7px;
}
.wo-st-run-count {
  flex: none;
  min-width: 26px;
  font-size: 14px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.wo-st-run-project {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wo-st-run-time {
  flex: none;
  font-size: 12px;
  color: var(--wp-muted);
  font-variant-numeric: tabular-nums;
}
.wo-st-run-wos {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 10px;
  margin: 2px 0 0 33px;
}
.wo-st .wo-st-run-wo,
.wo-st .wo-st-run-wo:hover,
.wo-st .wo-st-run-wo:focus,
.wo-st .wo-st-run-wo:focus-visible {
  font-size: 12px;
  color: var(--wp-muted);
  text-decoration: none;
}
.wo-st .wo-st-run-wo:hover {
  color: var(--wp-accent);
}
.wo-st-run-mats {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 6px 0 0 33px;
}
.wo-st-mat {
  max-width: 100%;
  padding: 2px 7px;
  border-radius: 6px;
  background: var(--wp-chip-bg);
  font-size: 11.5px;
  color: var(--wp-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wo-st-mat b {
  margin-right: 4px;
  font-weight: 700;
}
.wo-st-mat--more {
  color: var(--wp-muted);
  cursor: help;
}
.wo-st-gap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 2px 0;
  font-size: 11.5px;
  color: var(--wp-muted);
  font-variant-numeric: tabular-nums;
}
.wo-st-gap::before,
.wo-st-gap::after {
  content: "";
  flex: 1 1 auto;
  border-top: 1px dashed var(--wp-border);
}

.wo-st-shift {
  padding: 10px 14px 8px;
  border-bottom: 1px solid var(--wp-border-soft);
}
.wo-st-shift-track {
  position: relative;
  height: 16px;
  border-radius: 4px;
  background: var(--wp-chip-bg);
}

.wo-st-shift-window {
  position: absolute;
  top: 0;
  bottom: 0;
  border-radius: 4px;
  background: var(--wp-surface);
  box-shadow: inset 0 0 0 1px var(--wp-border);
}
.wo-st-daycol .wo-st-shift-window {
  background: var(--wp-bg);
}
.wo-st-shift-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 4px;
  font-size: 11px;
  color: var(--wp-muted);
  font-variant-numeric: tabular-nums;
}
.wo-st-gap--shift {
  font-style: italic;
}

@keyframes wo-st-seg {
  from { transform: scaleX(0); }
}

.wo-st-shift-seg {
  position: absolute;
  top: 2px;
  bottom: 2px;
  border-radius: 3px;
  background: var(--sw);
  opacity: 0.55;
  box-shadow: inset -2px 0 0 var(--wp-surface);
  transform-origin: 0 50%;
  animation: wo-st-seg 0.45s var(--st-ease) backwards;
  animation-delay: calc(var(--row, 0) * 45ms + 120ms);
  transition: opacity 0.15s ease;
}
.wo-st-shift-seg.is-alt {
  opacity: 0.85;
}
.wo-st-shift-seg:hover {
  opacity: 1;
}

.wo-st-shift-tail {
  position: absolute;
  top: 2px;
  bottom: 2px;
  border-radius: 3px;
  background: repeating-linear-gradient(135deg, var(--wp-border) 0 3px, transparent 3px 7px);
}

.wo-st-run-dur {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 3px 0 0 33px;
  font-variant-numeric: tabular-nums;
}
.wo-st-run-dur-main {
  padding: 1px 7px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--wp-text);
  background: var(--wp-chip-bg);
}
.wo-st-run-dur-per {
  font-size: 11.5px;
  color: var(--wp-muted);
}

.wo-st-run-dur {
  flex-wrap: wrap;
}
.wo-st-run-marked {
  margin-left: auto;
  font-size: 11.5px;
  color: var(--wp-muted);
}

.wo-st {
  --st-heat: #2a78d6;
}
.wo-st[data-theme="dark"] {
  --st-heat: #3987e5;
}
.wo-st-card-sub {
  margin: 3px 0 0;
  font-size: 12.5px;
  color: var(--wp-muted);
  max-width: 720px;
}

.wo-st-mtip {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 30;
  padding: 8px 11px;
  border-radius: 10px;
  background: var(--wp-surface);
  border: 1px solid var(--wp-border);
  box-shadow: var(--wp-shadow);
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--wp-muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.12s ease;
}
.wo-st-mtip.is-visible {
  opacity: 1;
}
.wo-st-mtip-title {
  font-weight: 600;
  color: var(--wp-text);
}

.wo-st-sf-key {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--wp-muted);
}
.wo-st-sf-key-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.wo-st-sf-key-item::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.wo-st-sf-key-item--first::before {
  background: var(--wp-surface);
  box-shadow: inset 0 0 0 2px var(--wp-text);
}
.wo-st-sf-key-item--last::before {
  background: var(--wp-text);
}
.wo-st-sf-key-item--avg::before {
  width: 3px;
  height: 12px;
  border-radius: 2px;
  background: var(--wp-text);
}

.wo-st-sf {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.wo-st-sf-row {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) 240px;
  align-items: center;
  gap: 16px;
  animation: wo-st-rise 0.4s var(--st-ease) backwards;
  animation-delay: calc(var(--row, 0) * 60ms);
}
.wo-st-sf-row--axis {
  animation: none;
}
.wo-st-sf-name {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wo-st-sf-axis {
  position: relative;
  height: 18px;
}
.wo-st-sf-hour {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  font-size: 11px;
  color: var(--wp-muted);
  font-variant-numeric: tabular-nums;
}
.wo-st-sf-track {
  position: relative;
  height: 40px;
  border-radius: 8px;
  background: var(--wp-chip-bg);
  cursor: pointer;
}
.wo-st-sf-shift {
  position: absolute;
  top: 0;
  bottom: 0;
  border-radius: 8px;
  background: var(--wp-surface);
  box-shadow: inset 0 0 0 1px var(--wp-border);
}
.wo-st-sf-grid {
  position: absolute;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: var(--wp-border-soft);
}

.wo-st-sf-span {
  position: absolute;
  top: 50%;
  height: 4px;
  margin-top: -2px;
  border-radius: 2px;
  background: var(--sw);
  opacity: 0.1;
  transition: opacity 0.15s ease;
}
@keyframes wo-st-dot {
  from { transform: translate(-50%, -50%) scale(0); }
}
.wo-st-sf-dot {
  position: absolute;
  top: 50%;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.55;
  animation: wo-st-dot 0.35s var(--st-ease) backwards;
  animation-delay: calc(var(--i, 0) * 12ms + 150ms);
  transition: opacity 0.15s ease, transform 0.15s var(--st-ease);
}
.wo-st-sf-dot.is-first {
  background: var(--wp-surface);
  box-shadow: inset 0 0 0 2.5px var(--sw);
}
.wo-st-sf-dot.is-last {
  background: var(--sw);
  box-shadow: 0 0 0 2px var(--wp-surface);
}
.wo-st-sf-track.has-hot .wo-st-sf-dot {
  opacity: 0.18;
}
.wo-st-sf-track.has-hot .wo-st-sf-dot.is-hot {
  opacity: 1;
  z-index: 2;
  transform: translate(-50%, -50%) scale(1.35);
}
.wo-st-sf-track .wo-st-sf-span.is-hot {
  opacity: 0.6;
}
.wo-st-sf-avg {
  position: absolute;
  top: 5px;
  bottom: 5px;
  width: 3px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--wp-text);
  opacity: 0.8;
  z-index: 1;
}
.wo-st-sf-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  text-align: right;
  font-size: 14px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.wo-st-sf-stats--head {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--wp-muted);
}

.wo-st-heat-wrap {
  overflow-x: auto;
}
.wo-st-heat {
  display: grid;
  grid-template-columns: 64px repeat(var(--cols), minmax(46px, 1fr));
  gap: 4px;
  min-width: max-content;
}
.wo-st-heat-corner {
  min-height: 1px;
}
.wo-st-heat-hour {
  padding-bottom: 2px;
  font-size: 11px;
  text-align: center;
  color: var(--wp-muted);
  font-variant-numeric: tabular-nums;
}
.wo-st-heat-hour.is-off {
  opacity: 0.6;
}
.wo-st-heat-day {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-right: 6px;
  font-size: 13px;
  font-weight: 500;
}
.wo-st-heat-day small {
  font-size: 11px;
  font-weight: 400;
  color: var(--wp-muted);
}
@keyframes wo-st-cell {
  from { opacity: 0; transform: scale(0.85); }
}
.wo-st-heat-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  border-radius: 6px;
  background: color-mix(in srgb, var(--heat) calc(var(--v) * 88% + 8%), var(--wp-surface));
  font-size: 12px;
  font-weight: 600;
  color: var(--wp-text);
  font-variant-numeric: tabular-nums;
  cursor: default;
  animation: wo-st-cell 0.4s var(--st-ease) backwards;
  animation-delay: calc(var(--i, 0) * 6ms);
  transition: transform 0.15s var(--st-ease), box-shadow 0.15s ease, background-color 0.3s ease;
}
.wo-st-heat.is-swapping .wo-st-heat-cell {
  animation-duration: 0.3s;
}
.wo-st-heat-cell.is-strong {
  color: #fff;
}
.wo-st-heat-cell.is-zero {
  background: var(--wp-chip-bg);
}
.wo-st-heat-cell.is-off.is-zero {
  background: repeating-linear-gradient(135deg, var(--wp-chip-bg) 0 4px, transparent 4px 8px);
}
.wo-st-heat-cell:hover {
  transform: scale(1.08);
  box-shadow: 0 0 0 2px var(--wp-surface), 0 0 0 3px var(--heat);
  z-index: 1;
}
.wo-st-heat-legend {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 11.5px;
  color: var(--wp-muted);
  font-variant-numeric: tabular-nums;
}
.wo-st-heat-ramp {
  width: 140px;
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--heat) 8%, var(--wp-surface)), var(--heat));
}

@media (max-width: 1100px) {
  .wo-st-sf-row {
    grid-template-columns: 140px minmax(0, 1fr) 200px;
  }
}

.wo-st-controls {
  position: sticky;
  top: 0;
  z-index: 10;
  margin: -10px -32px 0;
  padding: 10px 32px;
  background: var(--wp-bg);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.wo-st-controls.is-stuck {
  border-bottom-color: var(--wp-border);
  box-shadow: 0 6px 16px -10px rgba(24, 24, 27, 0.25);
}
.wo-st[data-theme="dark"] .wo-st-controls.is-stuck {
  box-shadow: 0 6px 16px -10px rgba(0, 0, 0, 0.7);
}

.wo-st-scroll {
  overflow-x: hidden;
}
.wo-st-controls,
.wo-st-controls.is-stuck,
.wo-st[data-theme="dark"] .wo-st-controls.is-stuck {
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
}
.wo-st-controls::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: -1;
  width: 100vw;
  transform: translateX(-50%);
  background: var(--wp-bg);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.wo-st-controls.is-stuck::before {
  border-bottom-color: var(--wp-border);
  box-shadow: 0 6px 16px -10px rgba(24, 24, 27, 0.25);
}
.wo-st[data-theme="dark"] .wo-st-controls.is-stuck::before {
  box-shadow: 0 6px 16px -10px rgba(0, 0, 0, 0.7);
}

.wo-st-svg.is-animating .wo-st-bar {
  animation: none;
}
.wo-st-stack {
  transform-box: fill-box;
  transform-origin: 50% 100%;
}
.wo-st-svg.is-animating .wo-st-stack {
  animation: wo-st-grow 0.7s var(--st-ease) backwards;
  animation-delay: var(--d, 0ms);
}
.wo-st-slabel {
  fill: #fff;
  font-size: 11px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  pointer-events: none;
  animation: wo-st-pop 0.25s var(--st-ease) backwards;
  animation-delay: var(--d, 0ms);
}
.wo-st-slabel.is-ink {
  fill: #18181b;
}

.wo-st-svg.is-animating .wo-st-bar--grow {
  animation: wo-st-grow 0.7s var(--st-ease) backwards;
  animation-delay: var(--d, 0ms);
}

.wo-st-card-tools {
  display: flex;
  align-items: center;
  gap: 12px;
}
.wo-st-settings {
  position: relative;
}
.wo-st .wo-st-settings-btn svg {
  transition: transform 0.4s var(--st-ease);
}
.wo-st .wo-st-settings.is-open .wo-st-settings-btn {
  background: var(--wp-chip-bg);
}
.wo-st .wo-st-settings.is-open .wo-st-settings-btn svg {
  transform: rotate(60deg);
}

.wo-st-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 15;
  width: 280px;
  padding: 6px;
  border-radius: 12px;
  background: var(--wp-surface);
  border: 1px solid var(--wp-border);
  box-shadow: var(--wp-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px) scale(0.98);
  transform-origin: top right;
  transition: opacity 0.16s ease, transform 0.2s var(--st-ease), visibility 0s linear 0.2s;
}
.wo-st-settings.is-open .wo-st-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.16s ease, transform 0.2s var(--st-ease), visibility 0s;
}
.wo-st-menu-title {
  padding: 6px 10px 4px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--wp-muted);
}
.wo-st .wo-st-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 8px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--wp-text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.12s ease;
}
.wo-st .wo-st-menu-item:hover {
  background: var(--wp-chip-bg);
}
.wo-st-mode-glyph {
  flex: none;
  color: var(--wp-muted);
}
.wo-st-menu-item.is-active .wo-st-mode-glyph {
  color: var(--wp-accent);
}
.wo-st-menu-text {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-width: 0;
}
.wo-st-menu-label {
  font-size: 13.5px;
  font-weight: 500;
}
.wo-st-menu-hint {
  font-size: 11.5px;
  color: var(--wp-muted);
}
.wo-st-menu-check {
  flex: none;
  font-size: 14px;
  font-weight: 700;
  color: var(--wp-accent);
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.15s ease, transform 0.2s var(--st-ease);
}
.wo-st-menu-item.is-active .wo-st-menu-check {
  opacity: 1;
  transform: none;
}

@keyframes wo-st-total-in {
  from { opacity: 0; }
}
.wo-st-total {
  fill: var(--wp-muted);
  font-size: 11.5px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  pointer-events: none;
  transition: fill 0.15s ease, opacity 0.2s ease, transform 0.22s var(--st-ease);
}
.wo-st-totals.is-upright .wo-st-total {
  font-size: 10.5px;
}
.wo-st-svg.is-animating .wo-st-total {
  animation: wo-st-total-in 0.35s ease backwards;
  animation-delay: var(--d, 0ms);
}
.wo-st-total.is-active {
  fill: var(--wp-text);
  font-weight: 700;
}
.wo-st-svg.is-hovering .wo-st-total:not(.is-active) {
  opacity: 0.35;
}

.wo-st-totals.is-grouped:not(.is-upright) .wo-st-total.is-active {
  transform: translateY(-16px);
}

.wo-st-daycols > .wo-st-dr-empty {
  grid-column: 1 / -1;
}

.wo-st-sf-fri {
  position: absolute;
  top: 3px;
  bottom: 3px;
  width: 1px;
  background: var(--wp-muted);
  opacity: 0.5;
}

.wo-st-xl .wo-st-xl-wd {
  font-size: 10.5px;
  font-weight: 500;
  opacity: 0.8;
}
.wo-st-xl.is-active .wo-st-xl-wd,
.wo-st-xl.is-selected .wo-st-xl-wd,
.wo-st-xl.is-today .wo-st-xl-wd {
  opacity: 1;
}

.wo-st-sf-track {
  height: 40px;
  transition: height 0.3s var(--st-ease);
}
.wo-st-sf-dot {
  width: var(--ds, 11px);
  height: var(--ds, 11px);
  opacity: 0.7;
}
.wo-st-sf-dot.is-first {
  box-shadow: inset 0 0 0 2px var(--sw);
}
.wo-st-sf-dot.is-last {
  box-shadow: 0 0 0 1.5px var(--wp-surface);
}
.wo-st-sf-span {
  height: 2px;
  margin-top: -1px;
  opacity: 0.18;
}
.wo-st-sf-track.has-hot .wo-st-sf-span {
  opacity: 0.06;
}
.wo-st-sf-track.has-hot .wo-st-sf-span.is-hot {
  height: 3px;
  margin-top: -1.5px;
  opacity: 0.75;
  z-index: 2;
}
.wo-st-sf-track.has-hot .wo-st-sf-dot.is-hot {
  z-index: 3;
}

.wo-st-card--day {
  --tl-label: 232px;
  --tl-gap: 14px;
  outline: none;
}
.wo-st-tl-layout {
  display: grid;
  grid-template-columns: 264px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.wo-st-cal {
  position: sticky;
  top: 64px;
}
.wo-st-cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}
.wo-st-cal-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--wp-text);
}
.wo-st .wo-st-cal-head .wo-st-icon-btn:disabled {
  opacity: 0.35;
  cursor: default;
}
.wo-st-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
  transition: opacity 0.2s ease;
}
.wo-st-cal-grid.is-loading {
  opacity: 0.45;
}
.wo-st-cal-wd {
  padding-bottom: 2px;
  text-align: center;
  font-size: 11px;
  font-weight: 500;
  color: var(--wp-muted);
}
.wo-st .wo-st-cal-day {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  min-height: 40px;
  padding: 3px 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--wp-text);
  font: inherit;
  cursor: pointer;
  font-variant-numeric: tabular-nums;
  transition: background-color 0.15s ease, box-shadow 0.15s ease;
}
.wo-st .wo-st-cal-day.has-cuts {
  background: color-mix(in srgb, var(--st-heat) var(--mix, 0%), transparent);
}
.wo-st .wo-st-cal-day:hover:not(:disabled) {
  box-shadow: inset 0 0 0 1px var(--wp-border);
}
.wo-st .wo-st-cal-day.is-selected {
  box-shadow: inset 0 0 0 2px var(--wp-text);
}
.wo-st .wo-st-cal-day:focus-visible {
  outline: 2px solid var(--wp-accent);
  outline-offset: 1px;
}
.wo-st .wo-st-cal-day:disabled {
  opacity: 0.3;
  cursor: default;
}
.wo-st-cal-day.is-weekend .wo-st-cal-num {
  color: var(--wp-muted);
}
.wo-st-cal-num {
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.2;
}
.wo-st-cal-day.is-today .wo-st-cal-num {
  color: var(--wp-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.wo-st-cal-n {
  min-height: 12px;
  font-size: 10.5px;
  line-height: 1.1;
  color: var(--wp-muted);
}
.wo-st-cal-day.has-cuts .wo-st-cal-n {
  color: var(--wp-text);
}
.wo-st-cal-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 12px;
  margin-top: 10px;
  font-size: 12px;
}
.wo-st-cal-status {
  color: var(--wp-muted);
}
.wo-st-cal-status.is-error {
  color: var(--wp-danger);
}

.wo-st-tl-main {
  min-width: 0;
}
.wo-st-tl-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.wo-st-tl-eyebrow {
  font-size: 12px;
  font-weight: 500;
  color: var(--wp-muted);
}
.wo-st .wo-st-tl-title {
  margin-top: 2px;
  font-size: 18px;
}
.wo-st-tl-key {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin: 12px 0 14px;
  font-size: 11.5px;
  color: var(--wp-muted);
}
.wo-st-tl-key-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.wo-st-tl-key-swatch {
  display: inline-block;
  width: 16px;
  height: 10px;
  border-radius: 3px;
}
.wo-st-tl-key-swatch.is-bar {
  background: color-mix(in srgb, var(--st-c0) 35%, var(--wp-surface));
  box-shadow: inset -3px 0 0 var(--st-c0);
}
.wo-st-tl-key-swatch.is-mark {
  width: 2px;
  height: 12px;
  border-radius: 1px;
  background: var(--wp-text);
}
.wo-st-tl-key-swatch.is-tail {
  background: repeating-linear-gradient(135deg, var(--wp-border) 0 3px, transparent 3px 6px);
  box-shadow: inset 0 0 0 1px var(--wp-border-soft);
}
.wo-st-tl-key-swatch.is-break {
  background: color-mix(in srgb, var(--st-c3) 16%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--st-c3) 45%, transparent);
}
.wo-st-tl-key-swatch.is-off {
  background: var(--wp-chip-bg);
  box-shadow: inset 0 0 0 1px var(--wp-border-soft);
}

.wo-st-tl-axis {
  display: grid;
  grid-template-columns: var(--tl-label) minmax(0, 1fr);
  gap: var(--tl-gap);
  height: 20px;
}
.wo-st-tl-ticks {
  position: relative;
}
.wo-st-tl-tick {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  font-size: 11px;
  color: var(--wp-muted);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.wo-st-tl-tick.is-first { transform: none; }
.wo-st-tl-tick.is-last { transform: translateX(-100%); }

.wo-st-tl-body {
  position: relative;
  border-top: 1px solid var(--wp-border-soft);
}
.wo-st-tl-back {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--tl-label) + var(--tl-gap));
  right: 0;
  pointer-events: none;
}
.wo-st-tl-front {
  z-index: 3;
}
.wo-st-tl-back > span {
  position: absolute;
  top: 0;
  bottom: 0;
}
.wo-st-tl-off {
  background: var(--wp-chip-bg);
  opacity: 0.7;
}
.wo-st-tl-break {
  background: color-mix(in srgb, var(--st-c3) 12%, transparent);
  border-left: 1px dashed color-mix(in srgb, var(--st-c3) 55%, transparent);
  border-right: 1px dashed color-mix(in srgb, var(--st-c3) 55%, transparent);
}
.wo-st-tl-hour {
  width: 1px;
  background: var(--st-grid);
}
.wo-st-tl-now {
  width: 2px;
  margin-left: -1px;
  background: var(--st-c7);
}
.wo-st-tl-now-label {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translate(-50%, -2px);
  padding: 0 5px;
  border-radius: 999px;
  background: var(--st-c7);
  color: #fff;
  font-size: 10.5px;
  font-weight: 600;
  line-height: 16px;
  white-space: nowrap;
}

.wo-st-tl-lane {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: var(--tl-label) minmax(0, 1fr);
  gap: var(--tl-gap);
  min-height: 58px;
  border-bottom: 1px solid var(--wp-border-soft);
  animation: wo-st-rise 0.4s var(--st-ease) backwards;
  animation-delay: calc(var(--row, 0) * 45ms);
}
.wo-st-tl-label {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding: 8px 0;
}
.wo-st-tl-names {
  flex: 1 1 auto;
  min-width: 0;
}
.wo-st-tl-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--wp-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wo-st-tl-meta {
  font-size: 11.5px;
  color: var(--wp-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-variant-numeric: tabular-nums;
}
.wo-st-tl-count {
  flex: none;
  font-size: 16px;
  font-weight: 700;
  color: var(--wp-text);
  font-variant-numeric: tabular-nums;
}
.wo-st-tl-lane.is-idle .wo-st-tl-name,
.wo-st-tl-lane.is-idle .wo-st-tl-count {
  color: var(--wp-muted);
}
.wo-st-tl-track {
  position: relative;
  min-width: 0;
}

@keyframes wo-st-tl-grow {
  from { transform: scaleX(0); }
}
.wo-st .wo-st-tl-bar {
  position: absolute;
  top: 9px;
  height: 28px;
  display: flex;
  align-items: center;
  min-width: 0;
  margin: 0;
  padding: 0 7px 0 6px;
  border: 0;
  border-radius: 4px;
  
  --bar: var(--pj, var(--sw));
  background: color-mix(in srgb, var(--bar) 26%, var(--wp-surface));
  box-shadow: inset -3px 0 0 var(--bar);
  color: var(--wp-text);
  font: inherit;
  text-align: left;
  overflow: hidden;
  cursor: pointer;
  transform-origin: 0 50%;
  animation: wo-st-tl-grow 0.45s var(--st-ease) backwards;
  animation-delay: calc(var(--row, 0) * 45ms + var(--i, 0) * 25ms + 80ms);
  transition: background-color 0.15s ease;
}
.wo-st .wo-st-tl-bar.is-alt {
  background: color-mix(in srgb, var(--bar) 42%, var(--wp-surface));
}
.wo-st .wo-st-tl-bar:hover {
  background: color-mix(in srgb, var(--bar) 55%, var(--wp-surface));
}
.wo-st .wo-st-tl-bar.is-selected {
  outline: 2px solid var(--wp-text);
  outline-offset: 1px;
  z-index: 2;
}
.wo-st .wo-st-tl-bar:focus-visible {
  outline: 2px solid var(--wp-accent);
  outline-offset: 1px;
}
.wo-st-tl-bar-text {
  min-width: 0;
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wo-st-tl-tail {
  position: absolute;
  top: 9px;
  height: 28px;
  border-radius: 4px;
  background: repeating-linear-gradient(135deg, var(--wp-border) 0 3px, transparent 3px 7px);
}

.wo-st-tl-mark {
  position: absolute;
  bottom: 5px;
  width: 2px;
  height: 11px;
  margin-left: -1px;
  border-radius: 1px;
  background: var(--wp-text);
  opacity: 0.6;
  z-index: 2;
}
.wo-st-tl-mark.is-many {
  width: 3px;
  margin-left: -1.5px;
  opacity: 0.85;
}
.wo-st-tl-mark::before {
  content: "";
  position: absolute;
  inset: -6px -4px;
}
.wo-st-tl-mark:hover {
  opacity: 1;
  background: var(--wp-accent);
}

.wo-st-tl-empty {
  padding: 26px 0 8px;
  text-align: center;
  font-size: 13px;
  color: var(--wp-muted);
}
.wo-st-tl-hint {
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--wp-muted);
}
.wo-st-tl-hint:empty {
  display: none;
}

.wo-st-card--tldetail.is-swapping {
  animation: wo-st-rise 0.35s var(--st-ease);
}
.wo-st .wo-st-tl-detail-title {
  display: flex;
  align-items: center;
  gap: 9px;
}
.wo-st-tl-detail-project {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.wo-st-tl-detail-project.has-color {
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--pj);
}
.wo-st-tl-detail .wo-st-run {
  background: var(--wp-bg);
}

@media (max-width: 1100px) {
  .wo-st-tl-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .wo-st-cal {
    position: static;
    max-width: 360px;
  }
  .wo-st-card--day {
    --tl-label: 170px;
  }
}

.wo-st-legend--bar {
  justify-content: flex-end;
}

.wo-st-controls {
  align-items: flex-end;
}
.wo-st-control {
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}
.wo-st-control--legend {
  margin-left: auto;
  align-items: flex-end;
}

.wo-st-tl-zoombar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  min-height: 22px;
  margin-bottom: 8px;
  font-size: 12px;
  color: var(--wp-muted);
}
.wo-st-tl-zoomtext {
  margin-right: auto;
}
.wo-st-tl-navrow {
  display: grid;
  grid-template-columns: var(--tl-label) minmax(0, 1fr);
  gap: var(--tl-gap);
  margin-bottom: 8px;
}
.wo-st-tl-nav {
  position: relative;
  height: 22px;
  border-radius: 6px;
  background: var(--wp-chip-bg);
  box-shadow: inset 0 0 0 1px var(--wp-border-soft);
  cursor: pointer;
  touch-action: none;
  user-select: none;
}
.wo-st-tl-nav-mark {
  position: absolute;
  top: 5px;
  bottom: 5px;
  width: 1px;
  background: var(--wp-muted);
  opacity: 0.55;
  pointer-events: none;
}
.wo-st-tl-nav-win {
  position: absolute;
  top: 0;
  bottom: 0;
  min-width: 6px;
  border-radius: 6px;
  background: color-mix(in srgb, var(--wp-accent) 16%, transparent);
  box-shadow: inset 0 0 0 1.5px var(--wp-accent);
  cursor: grab;
}
.wo-st.is-panning,
.wo-st.is-panning .wo-st-tl-nav-win {
  cursor: grabbing;
}

.wo-st-tl-track,
.wo-st-tl-back:not(.wo-st-tl-front) {
  overflow: hidden;
}
.wo-st-tl-track {
  cursor: crosshair;
  user-select: none;
  touch-action: pan-y;
}
.wo-st-tl-hour.is-minor {
  opacity: 0.55;
}
.wo-st-tl.is-static .wo-st-tl-lane,
.wo-st-tl.is-static .wo-st-tl-bar {
  animation: none;
}
.wo-st-tl-brushlayer {
  z-index: 4;
  overflow: visible !important;
}
.wo-st-tl-brush {
  background: color-mix(in srgb, var(--wp-accent) 14%, transparent);
  border-left: 1.5px solid var(--wp-accent);
  border-right: 1.5px solid var(--wp-accent);
}
.wo-st-tl-brush-label {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translate(-50%, -3px);
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--wp-accent);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  line-height: 16px;
  white-space: nowrap;
}
.wo-st.is-brushing,
.wo-st.is-brushing .wo-st-tl-bar {
  cursor: col-resize;
}

.wo-st-pal {
  position: relative;
}
.wo-st .wo-st-pal.is-open .wo-st-pal-btn {
  background: var(--wp-chip-bg);
}
.wo-st-pal-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 30;
  width: 560px;
  max-width: calc(100vw - 32px);
  max-height: min(75vh, 680px);
  overflow-y: auto;
  padding: 6px;
  border-radius: 12px;
  background: var(--wp-surface);
  border: 1px solid var(--wp-border);
  box-shadow: var(--wp-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px) scale(0.98);
  transform-origin: top right;
  transition: opacity 0.16s ease, transform 0.2s var(--st-ease), visibility 0s linear 0.2s;
}
.wo-st-pal.is-open .wo-st-pal-panel {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.16s ease, transform 0.2s var(--st-ease), visibility 0s;
}
.wo-st-pal-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}
.wo-st-pal-col {
  min-width: 0;
}
.wo-st-pal-cols + .wo-st-menu-title {
  margin-top: 4px;
  border-top: 1px solid var(--wp-border);
  padding-top: 10px;
}
.wo-st-pal-edit {
  grid-template-columns: 1fr 1fr;
}
.wo-st .wo-st-pal-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 7px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--wp-text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.12s ease;
}
.wo-st .wo-st-pal-opt:hover {
  background: var(--wp-chip-bg);
}
.wo-st-pal-name {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wo-st-pal-opt.is-active .wo-st-pal-name {
  font-weight: 700;
}
.wo-st-pal-strip {
  flex: none;
  display: flex;
  gap: 2px;
}
.wo-st-pal-dot {
  width: 16px;
  height: 18px;
  border-radius: 3px;
}
.wo-st-pal-opt.is-active .wo-st-menu-check {
  opacity: 1;
  transform: none;
}
.wo-st-pal-edit {
  display: grid;
  gap: 2px;
  padding: 0 4px 4px;
}
.wo-st-pal-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 6px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--wp-text);
  cursor: pointer;
}
.wo-st-pal-row:hover {
  background: var(--wp-chip-bg);
}
.wo-st .wo-st-pal-input {
  flex: none;
  width: 30px;
  height: 22px;
  padding: 0;
  border: 1px solid var(--wp-border);
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
}
.wo-st .wo-st-pal-input::-webkit-color-swatch-wrapper {
  padding: 0;
}
.wo-st .wo-st-pal-input::-webkit-color-swatch {
  border: 0;
  border-radius: 3px;
}
.wo-st-pal-row-name {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wo-sh {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.wo-sh[hidden] {
  display: none;
}
.wo-sh-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}
@media (max-width: 1100px) {
  .wo-sh-grid { grid-template-columns: minmax(0, 1fr); }
}
.wo-sh-unit {
  margin-left: 6px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--wp-muted);
}
.wo-sh-loading {
  padding: 28px 0;
  text-align: center;
  color: var(--wp-muted);
  animation: wo-st-breathe 1.4s ease-in-out infinite;
}
.wo-sh-note {
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--wp-muted);
}
.wo-sh-pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--wp-chip-bg);
  font-size: 12px;
  color: var(--wp-text);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.wo-sh-pill--hot {
  background: color-mix(in srgb, var(--st-c0) 16%, transparent);
  font-weight: 600;
}
.wo-sh-code {
  flex: none;
  display: inline-block;
  margin-right: 7px;
  padding: 1px 5px;
  border-radius: 4px;
  background: var(--wp-chip-bg);
  font-size: 11px;
  font-weight: 600;
  color: var(--wp-muted);
  font-variant-numeric: tabular-nums;
}

.wo-sh-q {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.wo-sh-q-row {
  display: grid;
  grid-template-columns: minmax(120px, 190px) minmax(0, 1fr) 130px;
  grid-template-areas: "name track days" "name meta days";
  align-items: center;
  column-gap: 14px;
  row-gap: 4px;
  animation: wo-st-rise 0.4s var(--st-ease) backwards;
  animation-delay: calc(var(--row, 0) * 50ms);
}
.wo-sh-q-name {
  grid-area: name;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  min-width: 0;
}
.wo-sh-q-name .wo-st-swatch {
  background: var(--sw);
}
.wo-sh-q-track {
  grid-area: track;
  height: 12px;
  border-radius: 6px;
  background: var(--wp-chip-bg);
  overflow: hidden;
}
.wo-sh-q-fill {
  display: block;
  height: 100%;
  border-radius: 6px;
  background: var(--sw);
  transform-origin: 0 50%;
  animation: wo-st-fill 0.7s var(--st-ease) backwards;
  animation-delay: calc(var(--row, 0) * 50ms + 120ms);
}
.wo-sh-q-fill.is-unknown {
  background: repeating-linear-gradient(45deg, var(--wp-border) 0 6px, transparent 6px 12px);
}
.wo-sh-q-meta {
  grid-area: meta;
  font-size: 12px;
  color: var(--wp-muted);
  font-variant-numeric: tabular-nums;
}
.wo-sh-q-days {
  grid-area: days;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-variant-numeric: tabular-nums;
}
.wo-sh-q-days strong {
  font-size: 15px;
  font-weight: 650;
}
.wo-sh-q-days span {
  font-size: 12px;
  color: var(--wp-muted);
}
.wo-sh-upstream {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--wp-border-soft);
}
.wo-sh-upstream-label {
  font-size: 12px;
  color: var(--wp-muted);
  margin-right: 2px;
}

.wo-sh-badge {
  flex: none;
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  background: var(--wp-chip-bg);
  color: var(--wp-muted);
}
.wo-sh-badge--late { color: var(--wp-danger); background: rgba(220, 38, 38, 0.12); }
.wo-sh-badge--tight { color: var(--wp-warn); background: rgba(217, 119, 6, 0.14); }
.wo-sh-badge--ok { color: var(--wp-ok); background: var(--wp-ok-bg); }
.wo-sh-risk-sum {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.wo-sh-risk-of {
  font-size: 12.5px;
  color: var(--wp-muted);
}
.wo-sh-risk {
  display: flex;
  flex-direction: column;
  max-height: 460px;
  overflow-y: auto;
  margin: 0 -6px;
}
.wo-sh-risk-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 14px;
  padding: 9px 6px 9px 10px;
  border-bottom: 1px solid var(--wp-border-soft);
  animation: wo-st-rise 0.35s var(--st-ease) backwards;
  animation-delay: calc(var(--row, 0) * 25ms);
}
.wo-sh-risk-row.is-late {
  box-shadow: inset 3px 0 0 var(--wp-danger);
}
.wo-sh-risk-row.is-tight {
  box-shadow: inset 3px 0 0 var(--wp-warn);
}
.wo-sh-risk-who {
  min-width: 0;
}
.wo-sh-risk-top {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.wo-sh-proj {
  min-width: 0;
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wo-sh-proj.has-color {
  padding: 1px 7px;
  border-radius: 4px;
  background: var(--pj);
}
.wo-sh-risk-sub {
  margin-top: 3px;
  font-size: 12px;
  color: var(--wp-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wo-st .wo-sh-risk-wo {
  color: var(--wp-text);
  font-weight: 500;
  text-decoration: none;
}
.wo-st .wo-sh-risk-wo:hover {
  text-decoration: underline;
}
.wo-sh-risk-when {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-size: 12px;
  color: var(--wp-muted);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.wo-sh-risk-when span:first-child {
  color: var(--wp-text);
}

.wo-st .wo-sh-search {
  width: 240px;
  max-width: 100%;
  padding: 6px 10px;
  border: 1px solid var(--wp-border);
  border-radius: 8px;
  background: var(--wp-bg);
  color: var(--wp-text);
  font: inherit;
  font-size: 13px;
}
.wo-st .wo-sh-search:focus {
  outline: 2px solid var(--wp-accent);
  outline-offset: -1px;
}
.wo-sh-table tbody tr {
  cursor: default;
}
.wo-sh-table th.is-sortable {
  padding: 0;
}
.wo-st .wo-sh-sort {
  display: flex;
  align-items: center;
  gap: 4px;
  width: 100%;
  padding: 8px 12px;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
}
.wo-sh-table th.num .wo-sh-sort {
  justify-content: flex-end;
}
.wo-sh-table th.is-sorted {
  color: var(--wp-text);
}
.wo-sh-sort-dir {
  font-size: 9px;
}
.wo-sh-td-mat {
  max-width: 360px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wo-sh-mat-name {
  font-weight: 500;
}
.wo-sh-td-split {
  width: 16%;
  min-width: 110px;
}
.wo-sh-split {
  display: flex;
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
  background: var(--wp-chip-bg);
  transform-origin: 0 50%;
  animation: wo-st-fill 0.6s var(--st-ease) backwards;
  animation-delay: calc(var(--row, 0) * 30ms + 100ms);
}
.wo-sh-split-seg {
  display: block;
  flex-basis: 0;
  background: var(--sw);
}
.wo-sh-split-seg + .wo-sh-split-seg {
  box-shadow: inset 1px 0 0 var(--wp-surface);
}
.wo-sh-td-hot {
  font-weight: 650;
  color: var(--st-c0);
}
.wo-sh-td-warn {
  color: var(--wp-warn);
  font-weight: 600;
}
.wo-sh-td-muted {
  color: var(--wp-muted);
}
.wo-st .wo-sh-more {
  margin-top: 12px;
}

.wo-sh-mix {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
@media (max-width: 1000px) {
  .wo-sh-mix { grid-template-columns: minmax(0, 1fr); }
}
.wo-sh-mix-title {
  margin: 4px 0 8px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--wp-muted);
}
.wo-sh-bar {
  padding: 5px 0;
  animation: wo-st-rise 0.35s var(--st-ease) backwards;
  animation-delay: calc(var(--row, 0) * 35ms);
}
.wo-sh-bar-label {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  margin-bottom: 4px;
}
.wo-sh-bar-name {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-weight: 500;
}
.wo-sh-bar-val {
  flex: none;
  color: var(--wp-muted);
  font-variant-numeric: tabular-nums;
}
.wo-sh-bar-track {
  height: 6px;
  border-radius: 3px;
  background: var(--wp-chip-bg);
  overflow: hidden;
}
.wo-sh-bar-fill {
  display: block;
  height: 100%;
  border-radius: 3px;
  background: var(--st-heat);
  transform-origin: 0 50%;
  animation: wo-st-fill 0.6s var(--st-ease) backwards;
  animation-delay: calc(var(--row, 0) * 35ms + 100ms);
}

.wo-sh-prep {
  display: flex;
  flex-direction: column;
  max-height: 520px;
  overflow-y: auto;
  margin: 0 -6px;
}
.wo-sh-prep-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 110px;
  align-items: center;
  gap: 12px;
  padding: 8px 6px;
  border-bottom: 1px solid var(--wp-border-soft);
  animation: wo-st-rise 0.35s var(--st-ease) backwards;
  animation-delay: calc(var(--row, 0) * 25ms);
}
.wo-sh-prep-left {
  min-width: 0;
}
.wo-sh-prep-name {
  display: flex;
  align-items: center;
  min-width: 0;
  font-size: 13.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wo-sh-prep-meta {
  margin-top: 2px;
  font-size: 12px;
  color: var(--wp-muted);
}
.wo-sh-prep-nums {
  display: flex;
  gap: 6px;
}
.wo-sh-prep-when {
  font-size: 12px;
  color: var(--wp-muted);
  text-align: right;
  white-space: nowrap;
}

.wo-sh-usage {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 8px;
}
.wo-sh-usage-stat {
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--wp-bg);
  border: 1px solid var(--wp-border-soft);
}
.wo-sh-usage-value {
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}
.wo-sh-usage-stat.is-warn .wo-sh-usage-value {
  color: var(--wp-warn);
}
.wo-sh-usage-label {
  margin-top: 2px;
  font-size: 12px;
  color: var(--wp-muted);
}
.wo-sh-usage-row {
  padding: 4px 0;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.wo-sh-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.wo-sh-tps-machines {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}
.wo-sh-tps-chip {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 150px;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--wp-bg);
  border: 1px solid var(--wp-border-soft);
  box-shadow: inset 3px 0 0 var(--sw, transparent);
  animation: wo-st-rise 0.4s var(--st-ease) backwards;
}
.wo-sh-tps-chip.is-all {
  background: var(--wp-chip-bg);
}
.wo-sh-tps-chip-name {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  color: var(--wp-muted);
}
.wo-sh-tps-chip-name .wo-st-swatch {
  background: var(--sw);
}
.wo-sh-tps-chip strong {
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}
.wo-sh-tps-chip-sub {
  font-size: 12px;
  color: var(--wp-muted);
  font-variant-numeric: tabular-nums;
}
.wo-sh-tps-mh .wo-st-swatch {
  margin-right: 6px;
  vertical-align: -1px;
}
.wo-sh-tps-range-h,
.wo-sh-tps-range {
  width: 24%;
  min-width: 160px;
}
.wo-sh-tps-track {
  position: relative;
  display: block;
  height: 10px;
  border-radius: 5px;
  background: var(--wp-chip-bg);
}
.wo-sh-tps-band {
  position: absolute;
  top: 0;
  bottom: 0;
  border-radius: 5px;
  background: color-mix(in srgb, var(--st-heat) 45%, transparent);
  transform-origin: 0 50%;
  animation: wo-st-fill 0.6s var(--st-ease) backwards;
  animation-delay: calc(var(--row, 0) * 30ms + 100ms);
}
.wo-sh-tps-med {
  position: absolute;
  top: -3px;
  bottom: -3px;
  width: 3px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--st-heat);
}
.wo-sh-tps tr.is-few td,
.wo-sh-tps td.is-few {
  opacity: 0.5;
}
.wo-sh-tps td.is-fast {
  color: var(--wp-ok);
  font-weight: 600;
}
.wo-sh-tps td.is-slow {
  color: var(--wp-danger);
  font-weight: 600;
}

.wo-sh-card-title {
  display: flex;
  align-items: center;
  gap: 8px;
}
.wo-st .wo-sh-i {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  padding: 0;
  border: 1px solid var(--wp-border);
  border-radius: 50%;
  background: var(--wp-surface);
  color: var(--wp-muted);
  font: italic 700 11px/1 Georgia, "Times New Roman", serif;
  cursor: pointer;
  transition: background-color 0.12s ease, color 0.12s ease, border-color 0.12s ease;
}
.wo-st .wo-sh-i:hover,
.wo-st .wo-sh-i.is-on,
.wo-st .wo-sh-i.is-popped {
  background: var(--wp-accent);
  border-color: var(--wp-accent);
  color: #fff;
}
.wo-st .wo-sh-i:focus-visible {
  outline: 2px solid var(--wp-accent);
  outline-offset: 2px;
}
.wo-sh .wo-st-tile-label {
  display: flex;
  align-items: center;
  gap: 7px;
}

.wo-sh-info {
  max-width: 920px;
  margin-top: 10px;
  padding: 12px 16px 12px 14px;
  border-radius: 10px;
  background: var(--wp-bg);
  border: 1px solid var(--wp-border-soft);
  border-left: 3px solid var(--wp-accent);
  color: var(--wp-text);
  animation: wo-st-rise 0.25s var(--st-ease);
}
.wo-sh-info[hidden] {
  display: none;
}
.wo-sh-info-lead {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 600;
}
.wo-sh-info-list {
  margin: 0;
  padding-left: 18px;
  font-size: 13.5px;
  line-height: 1.55;
}
.wo-sh-info-list li + li {
  margin-top: 4px;
}

.wo-sh-click {
  cursor: pointer;
}
.wo-sh-click:focus-visible {
  outline: 2px solid var(--wp-accent);
  outline-offset: 2px;
  border-radius: 6px;
}
.wo-sh .wo-st-tile.wo-sh-click:hover,
.wo-sh .wo-st-tile.is-popped {
  border-color: var(--wp-accent);
}
.wo-sh-q-row.wo-sh-click,
.wo-sh-risk-row.wo-sh-click,
.wo-sh-prep-row.wo-sh-click,
.wo-sh-bar.wo-sh-click,
.wo-sh-usage-row.wo-sh-click {
  border-radius: 8px;
  transition: background-color 0.12s ease;
}
.wo-sh-q-row.wo-sh-click {
  margin: -6px;
  padding: 6px;
}
.wo-sh-bar.wo-sh-click {
  margin: 0 -6px;
  padding: 5px 6px;
}
.wo-sh-usage-row.wo-sh-click {
  margin: 0 -6px;
  padding: 4px 6px;
}
.wo-sh-q-row.wo-sh-click:hover,
.wo-sh-risk-row.wo-sh-click:hover,
.wo-sh-prep-row.wo-sh-click:hover,
.wo-sh-bar.wo-sh-click:hover,
.wo-sh-usage-row.wo-sh-click:hover,
.wo-sh .is-popped:not(.wo-st-tile):not(.wo-sh-i) {
  background: var(--wp-row-alt);
}
.wo-sh-table tbody tr.wo-sh-click {
  cursor: pointer;
}
.wo-sh-table tbody tr.is-popped td {
  background: var(--wp-row-alt);
}
.wo-sh-tps td.wo-sh-tps-cell.wo-sh-click:hover {
  text-decoration: underline;
}
.wo-sh-tps-chip.wo-sh-click {
  transition: border-color 0.12s ease, transform 0.2s var(--st-ease);
}
.wo-sh-tps-chip.wo-sh-click:hover,
.wo-sh-tps-chip.is-popped {
  border-color: var(--wp-accent);
  transform: translateY(-1px);
}
.wo-sh-usage-stat.wo-sh-click:hover,
.wo-sh-usage-stat.is-popped {
  border-color: var(--wp-accent);
}
.wo-sh-pill.wo-sh-click:hover,
.wo-sh-pill.is-popped {
  background: var(--wp-border);
}
.wo-st .wo-sh-badge-btn {
  border: 0;
  font-family: inherit;
  cursor: pointer;
}
.wo-st .wo-sh-badge-btn.is-on {
  box-shadow: inset 0 0 0 1.5px currentColor;
}

.wo-sh-pop {
  position: fixed;
  z-index: 40;
  display: flex;
  flex-direction: column;
  width: 400px;
  max-width: calc(100vw - 24px);
  border-radius: 14px;
  background: var(--wp-surface);
  border: 1px solid var(--wp-border);
  box-shadow: 0 18px 48px rgba(24, 24, 27, 0.18), 0 2px 6px rgba(24, 24, 27, 0.08);
  color: var(--wp-text);
  overflow: hidden;
}
.wo-st[data-theme="dark"] .wo-sh-pop {
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.55), 0 2px 6px rgba(0, 0, 0, 0.4);
}
.wo-sh-pop.is-wide {
  width: 560px;
}
.wo-sh-pop.is-in {
  animation: wo-sh-pop-in 0.18s var(--st-ease);
}
@keyframes wo-sh-pop-in {
  from { opacity: 0; transform: translateY(-4px) scale(0.985); }
}
.wo-sh-pop-head {
  flex: none;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 10px 10px 16px;
  border-bottom: 1px solid var(--wp-border-soft);
}
.wo-sh-pop-title {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 14.5px;
  font-weight: 650;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wo-sh-pop-title-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.wo-sh-pop-title .wo-st-swatch {
  background: var(--sw);
}
.wo-st .wo-sh-pop-x {
  flex: none;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--wp-muted);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.wo-st .wo-sh-pop-x:hover {
  background: var(--wp-chip-bg);
  color: var(--wp-text);
}
.wo-sh-pop-body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 12px 16px 16px;
  font-size: 13px;
}
.wo-sh-pop-body .wo-sh-info-lead {
  font-size: 13.5px;
}
.wo-sh-pop-body .wo-sh-info-list {
  font-size: 13px;
}
.wo-sh-pop-raw {
  margin-bottom: 10px;
  font-size: 12px;
  color: var(--wp-muted);
  word-break: break-word;
}
.wo-sh-pop-wohead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.wo-sh-pop-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
  margin: 0;
}
.wo-sh-pop.is-wide .wo-sh-pop-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.wo-sh-pop-stat {
  min-width: 0;
}
.wo-sh-pop-stat dt {
  font-size: 11.5px;
  color: var(--wp-muted);
}
.wo-sh-pop-stat dd {
  margin: 1px 0 0;
  font-size: 14px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wo-sh-pop-stat.is-ok dd { color: var(--wp-ok); }
.wo-sh-pop-stat.is-bad dd { color: var(--wp-danger); }
.wo-sh-pop-stat.is-warn dd { color: var(--wp-warn); }
.wo-sh-pop-stat.is-hot dd { color: var(--st-c0); }
.wo-sh-pop-sec {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--wp-border-soft);
}
.wo-sh-pop-sec-title {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--wp-muted);
}
.wo-sh-pop-sec-note {
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}
.wo-sh-pop-empty {
  padding: 8px 0;
  color: var(--wp-muted);
}
.wo-st .wo-sh-pop-more {
  margin-top: 8px;
}

.wo-sh-pop-bars {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.wo-sh-pop-bar {
  padding: 4px 6px;
  margin: 0 -6px;
  border-radius: 6px;
  animation: wo-st-rise 0.3s var(--st-ease) backwards;
  animation-delay: calc(var(--row, 0) * 20ms);
}
.wo-sh-pop-bar.wo-sh-click:hover,
.wo-sh-pop-bar.is-popped {
  background: var(--wp-row-alt);
}
.wo-sh-pop-bar-label {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 3px;
}
.wo-sh-pop-bar-name {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wo-sh-pop-bar-name .wo-st-swatch {
  background: var(--sw);
}
.wo-sh-pop-bar-val {
  flex: none;
  color: var(--wp-muted);
  font-variant-numeric: tabular-nums;
}
.wo-sh-pop-bar-track {
  height: 5px;
  border-radius: 3px;
  background: var(--wp-chip-bg);
  overflow: hidden;
}
.wo-sh-pop-bar-fill {
  display: block;
  height: 100%;
  border-radius: 3px;
  background: var(--sw, var(--st-heat));
  transform-origin: 0 50%;
  animation: wo-st-fill 0.5s var(--st-ease) backwards;
}

.wo-sh-pop-list {
  display: flex;
  flex-direction: column;
}
.wo-sh-pop-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 6px;
  margin: 0 -6px;
  border-radius: 6px;
  border-bottom: 1px solid var(--wp-border-soft);
}
.wo-sh-pop-row:last-child {
  border-bottom: 0;
}
.wo-sh-pop-row.wo-sh-click:hover,
.wo-sh-pop-row.is-popped {
  background: var(--wp-row-alt);
}
.wo-sh-pop-row .wo-st-swatch {
  background: var(--sw);
}
.wo-sh-pop-row-main {
  flex: 1 1 auto;
  min-width: 0;
}
.wo-sh-pop-row-top {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}
.wo-sh-pop-row-top .wo-sh-proj {
  font-size: 13px;
}
.wo-sh-pop-row-sub {
  margin-top: 2px;
  font-size: 12px;
  color: var(--wp-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-variant-numeric: tabular-nums;
}
.wo-st .wo-sh-pop-wo {
  color: var(--wp-text);
  font-weight: 500;
  text-decoration: none;
}
.wo-st .wo-sh-pop-wo:hover {
  text-decoration: underline;
}
.wo-sh-pop-row-right {
  flex: none;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.wo-sh-pop-row-right.is-warn { color: var(--wp-warn); }
.wo-sh-pop-row-right.is-bad { color: var(--wp-danger); }

.wo-sh-pop-spark {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 56px;
}
.wo-sh-pop-spark-col {
  flex: 1 1 0;
  height: 100%;
  display: flex;
  align-items: flex-end;
  border-radius: 2px;
}
.wo-sh-pop-spark-col.is-weekend {
  background: var(--st-weekend);
}
.wo-sh-pop-spark-bar {
  display: block;
  width: 100%;
  min-height: 1px;
  border-radius: 2px 2px 0 0;
  background: var(--st-heat);
}
.wo-sh-pop-spark-axis,
.wo-sh-pop-hist-axis {
  display: flex;
  justify-content: space-between;
  margin-top: 4px;
  font-size: 11px;
  color: var(--wp-muted);
}
.wo-sh-pop-hist {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 78px;
}
.wo-sh-pop-hist-col {
  flex: 1 1 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: stretch;
}
.wo-sh-pop-hist-bar {
  display: block;
  min-height: 1px;
  border-radius: 3px 3px 0 0;
  background: color-mix(in srgb, var(--st-heat) 70%, transparent);
}
.wo-sh-pop-hist-label {
  margin-top: 3px;
  font-size: 10px;
  text-align: center;
  color: var(--wp-muted);
  font-variant-numeric: tabular-nums;
}
.wo-sh-pop-hist-axis {
  justify-content: flex-end;
}

.wo-st .wo-sh-pop-back {
  flex: none;
  padding: 4px 8px;
  border: 0;
  border-radius: 8px;
  background: var(--wp-chip-bg);
  color: var(--wp-text);
  font: inherit;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
}
.wo-st .wo-sh-pop-back:hover {
  background: var(--wp-border);
}

.wo-st-period-row {
  display: flex;
  align-items: stretch;
  gap: 8px;
}
.wo-st-rp {
  position: relative;
  display: flex;
}
.wo-st .wo-st-rp-btn {
  width: auto;
  min-width: 38px;
  height: auto;
  padding: 0 10px;
  gap: 7px;
  border-radius: 11px;
  border-color: var(--wp-border-soft);
  background: var(--wp-chip-bg);
  color: var(--wp-muted);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.wo-st .wo-st-rp-btn:hover {
  color: var(--wp-text);
}
.wo-st .wo-st-rp-btn.is-active {
  background: var(--wp-surface);
  border-color: var(--wp-accent);
  color: var(--wp-text);
  box-shadow: 0 1px 2px rgba(24, 24, 27, 0.08), 0 2px 8px rgba(24, 24, 27, 0.06);
}
.wo-st[data-theme="dark"] .wo-st-rp-btn.is-active {
  background: #2c2c31;
}
.wo-st .wo-st-rp.is-open .wo-st-rp-btn {
  color: var(--wp-text);
  border-color: var(--wp-accent);
}
.wo-st-rp-label:empty {
  display: none;
}

.wo-st-rp-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 30;
  width: 600px;
  max-width: calc(100vw - 32px);
  padding: 14px 16px 12px;
  border-radius: 14px;
  background: var(--wp-surface);
  border: 1px solid var(--wp-border);
  box-shadow: var(--wp-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px) scale(0.98);
  transform-origin: top left;
  transition: opacity 0.16s ease, transform 0.2s var(--st-ease), visibility 0s linear 0.2s;
}
.wo-st-rp.is-open .wo-st-rp-panel {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.16s ease, transform 0.2s var(--st-ease), visibility 0s;
}
.wo-st-rp-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.wo-st .wo-st-rp-nav {
  width: 30px;
  height: 30px;
  font-size: 18px;
  line-height: 1;
}
.wo-st .wo-st-rp-nav:disabled {
  opacity: 0.35;
  cursor: default;
}
.wo-st-rp-titles {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  text-align: center;
}
.wo-st-rp-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--wp-text);
}
.wo-st-rp-months {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}
.wo-st-rp-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  row-gap: 3px;
  align-content: start;
}
.wo-st .wo-st-rp-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--wp-text);
  font: inherit;
  cursor: pointer;
  font-variant-numeric: tabular-nums;
  transition: background-color 0.12s ease, color 0.12s ease;
}
.wo-st .wo-st-rp-day:hover:not(.is-future):not(.is-in) {
  background: var(--wp-chip-bg);
  border-radius: 8px;
}
.wo-st .wo-st-rp-day:focus-visible {
  outline: 2px solid var(--wp-accent);
  outline-offset: -2px;
  border-radius: 8px;
}
.wo-st .wo-st-rp-day.is-future {
  opacity: 0.3;
  cursor: default;
}
.wo-st-rp-num {
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.2;
}
.wo-st-rp-n {
  min-height: 11px;
  font-size: 10px;
  line-height: 1.1;
  color: var(--wp-muted);
}
.wo-st-rp-day.is-weekend .wo-st-rp-num {
  color: var(--wp-muted);
}
.wo-st-rp-day.is-today .wo-st-rp-num {
  color: var(--wp-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.wo-st .wo-st-rp-day.is-in {
  background: var(--wp-accent-soft);
}
.wo-st .wo-st-rp-day.is-start {
  border-top-left-radius: 9px;
  border-bottom-left-radius: 9px;
}
.wo-st .wo-st-rp-day.is-end {
  border-top-right-radius: 9px;
  border-bottom-right-radius: 9px;
}
.wo-st .wo-st-rp-day.is-in:nth-child(7n + 8) {
  border-top-left-radius: 9px;
  border-bottom-left-radius: 9px;
}
.wo-st .wo-st-rp-day.is-in:nth-child(7n + 14) {
  border-top-right-radius: 9px;
  border-bottom-right-radius: 9px;
}
.wo-st .wo-st-rp-day.is-start,
.wo-st .wo-st-rp-day.is-end {
  background: var(--wp-accent);
}
.wo-st-rp-day.is-start .wo-st-rp-num,
.wo-st-rp-day.is-end .wo-st-rp-num,
.wo-st-rp-day.is-start .wo-st-rp-n,
.wo-st-rp-day.is-end .wo-st-rp-n {
  color: #fff;
  text-decoration: none;
}

.wo-st-rp-panel.is-picking .wo-st-rp-day.is-in:not(.is-start):not(.is-end) {
  background: color-mix(in srgb, var(--wp-accent-soft) 70%, transparent);
}
.wo-st-rp-day.is-anchor {
  box-shadow: inset 0 0 0 2px var(--wp-text);
}
.wo-st-rp-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 16px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--wp-border-soft);
}
.wo-st-rp-summary {
  font-size: 13px;
  font-weight: 600;
  color: var(--wp-text);
  font-variant-numeric: tabular-nums;
}
.wo-st-rp-hint {
  font-size: 12px;
  color: var(--wp-muted);
}
