j3w1-progress { display: block; }
j3w1-progress {
  color-scheme: dark;
  background: var(--color-surface-canvas);
  color: var(--color-text-default);
  font-family: var(--font-family-mono);
  font-size: var(--font-size-ui-md);
  line-height: var(--font-line-height-ui-md);
}
j3w1-progress, j3w1-progress *, j3w1-progress *::before, j3w1-progress *::after { box-sizing: border-box; }
j3w1-progress button, j3w1-progress input, j3w1-progress select, j3w1-progress textarea { font: inherit; }
j3w1-progress ::selection {
  background: var(--color-interaction-text-selection-bg);
  color: var(--color-interaction-text-selection-text);
}
j3w1-progress .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

j3w1-progress .progress {
  display: grid;
  gap: var(--space-4);
  min-width: 0;
  max-width: calc(var(--font-size-ui-md) * 28);
  color: var(--color-text-default);
  --_stripes: repeating-linear-gradient(
    45deg,
    var(--color-action-primary-bg) 0 var(--space-8),
    var(--color-interaction-pressed-bg) var(--space-8) var(--space-16)
  );
}

j3w1-progress .progress-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-2) var(--space-8);
  font-size: var(--font-size-ui-sm);
  line-height: var(--font-line-height-ui-sm);
}

j3w1-progress .progress-label {
  color: var(--color-text-bright);
}

j3w1-progress .progress-error-glyph {
  display: none;
  color: var(--color-status-danger-text);
  font-weight: var(--font-weight-bold);
}

j3w1-progress .progress-value {
  color: var(--color-text-default);
  font-variant-numeric: tabular-nums;
}
j3w1-progress .progress-bar {
  display: block;
  width: 100%;
  height: var(--space-4);
  appearance: none;
  background: var(--color-interaction-pressed-bg);
  border: 0;
  border-radius: var(--radius-none);
  color: var(--color-action-primary-bg);
  overflow: hidden;
}

j3w1-progress .progress-bar::-webkit-progress-bar {
  background: var(--color-interaction-pressed-bg);
  border-radius: var(--radius-none);
}

j3w1-progress .progress-bar::-webkit-progress-value {
  background: var(--color-action-primary-bg);
  border-radius: var(--radius-none);
}

j3w1-progress .progress-bar::-moz-progress-bar {
  background: var(--color-action-primary-bg);
  border-radius: var(--radius-none);
}
j3w1-progress .progress-bar:indeterminate {
  background: var(--_stripes);
}

j3w1-progress .progress-bar:indeterminate::-webkit-progress-bar {
  background: var(--_stripes);
}

j3w1-progress .progress-bar:indeterminate::-webkit-progress-value {
  background: transparent;
}

j3w1-progress .progress-bar:indeterminate::-moz-progress-bar {
  background: transparent;
}

j3w1-progress .progress-detail {
  margin: 0;
  color: var(--color-text-muted);
  font-size: var(--font-size-ui-sm);
  line-height: var(--font-line-height-ui-sm);
}
@media (prefers-reduced-motion: reduce) {
  j3w1-progress .progress-bar,
  j3w1-progress .progress-bar::-webkit-progress-bar,
  j3w1-progress .progress-bar::-webkit-progress-value {
    animation: none;
    transition: none;
  }
}

@media (forced-colors: active) {
  j3w1-progress .progress-bar {
    border-color: CanvasText;
  }

  j3w1-progress .progress-bar:indeterminate,
  j3w1-progress .progress-bar:indeterminate::-webkit-progress-bar {
    background: repeating-linear-gradient(45deg, CanvasText 0 var(--space-8), Canvas var(--space-8) var(--space-16));
  }
}

j3w1-progress [hidden] { display: none !important; }
j3w1-progress .j3w1-visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
j3w1-progress .j3w1-readonly-text { white-space: pre; overflow: auto; font: inherit; }
j3w1-progress dialog.dialog:modal, j3w1-progress dialog.command-palette-dialog:modal {
  position: fixed; inset: 0; margin: auto;
  max-width: calc(100vw - var(--space-32)); max-height: calc(100dvh - var(--space-32)); overflow: auto;
}
j3w1-progress dialog.drawer:modal { position: fixed; inset-block: 0; margin-block: 0; max-height: 100dvh; height: 100dvh; overflow: auto; }
j3w1-progress dialog.drawer-start:modal { inset-inline-start: 0; inset-inline-end: auto; margin-inline: 0; }
j3w1-progress dialog.drawer-end:modal { inset-inline-end: 0; inset-inline-start: auto; margin-inline: 0; }
j3w1-progress .menu-list, j3w1-progress .combobox-listbox, j3w1-progress .tooltip-popup, j3w1-progress .popover-panel { z-index: var(--z-popover); }
j3w1-progress .tooltip-popup:not([hidden]) { display: block; width: max-content; max-width: min(calc(var(--font-size-ui-md) * 24), calc(100vw - var(--space-32))); }
j3w1-progress .combobox-option[aria-selected=true] { background: var(--color-interaction-selection-bg); color: var(--color-interaction-selection-text); }
j3w1-progress .menu-list [role=menu] { min-width: calc(var(--font-size-ui-md) * 10); }
j3w1-progress [data-tree-toggle] { border: 0; padding: 0 var(--space-4); background: transparent; color: inherit; font: inherit; cursor: pointer; }
j3w1-progress .file-input-zone[data-dragging=true] { outline: var(--border-width-emphasis) dashed var(--color-interaction-drop-target); }
j3w1-progress .data-table-resize { cursor: col-resize; touch-action: none; }
j3w1-progress .wizard-panel[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) {
  j3w1-progress, j3w1-progress * { scroll-behavior: auto; animation: none; transition: none; }
}
@media (forced-colors: active) {
  j3w1-progress .chart-series { fill: CanvasText; stroke: CanvasText; }
  j3w1-progress [aria-selected=true] { border-inline-start: var(--border-width-emphasis) solid Highlight; }
}
