/* ============================================
   Pixelius Shared Components
   Buttons, Modals, Toast, Forms, Queue, etc.
   ============================================ */

/* ============================================
   Buttons
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  height: 2.25rem;
  padding: 0 1rem;
  border: none;
  border-radius: 0.5rem;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
  user-select: none;
  line-height: 1;
}

.btn svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Primary */
.btn-primary {
  background: var(--accent);
  color: var(--text-inverse);
}
.btn-primary:hover:not(:disabled) {
  background: var(--accent-hover);
}
.btn-primary:active:not(:disabled) {
  background: var(--accent-active);
}

/* Secondary */
.btn-secondary {
  background: var(--bg-secondary);
  color: var(--text-primary);
}
.btn-secondary:hover:not(:disabled) {
  background: var(--bg-tertiary);
}

/* Ghost */
.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
}
.btn-ghost:hover:not(:disabled) {
  background: var(--queue-item-hover);
  color: var(--text-primary);
}

/* Outline */
.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}
.btn-outline:hover:not(:disabled) {
  background: var(--accent-bg);
}

/* Danger */
.btn-danger {
  background: var(--error);
  color: #ffffff;
}
.btn-danger:hover:not(:disabled) {
  opacity: 0.9;
}

/* Small */
.btn-sm {
  height: 1.75rem;
  padding: 0 0.625rem;
  font-size: 0.75rem;
  border-radius: 0.375rem;
}
.btn-sm svg {
  width: 0.875rem;
  height: 0.875rem;
}

/* Icon only */
.btn-icon {
  width: 2.25rem;
  padding: 0;
}
.btn-icon.btn-sm {
  width: 1.75rem;
}

/* ============================================
   Import Buttons (Add Files / Add Folder)
   ============================================ */

.import-actions {
  display: flex;
  gap: 0.375rem;
  padding: 0.75rem 1rem;
}

.import-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  height: 2.25rem;
  border: 1.5px dashed var(--border-strong);
  border-radius: 0.5rem;
  background: transparent;
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
}

.import-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-bg);
}

.import-btn svg {
  width: 1rem;
  height: 1rem;
}

/* ============================================
   Queue List
   ============================================ */

.queue-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1rem;
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
}

.queue-title {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.queue-count {
  font-size: 0.6875rem;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

.queue-list {
  flex: 1;
  overflow-y: auto;
  padding: 0.25rem;
}

.queue-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background 0.15s ease;
  position: relative;
}

.queue-item:hover {
  background: var(--queue-item-hover);
}

.queue-item.active {
  background: var(--queue-item-active);
}

.queue-item-thumb {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.375rem;
  overflow: hidden;
  background: var(--bg-secondary);
  flex-shrink: 0;
}

.queue-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.queue-item-info {
  flex: 1;
  min-width: 0;
}

.queue-item-name {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-primary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.queue-item-meta {
  font-size: 0.6875rem;
  color: var(--text-muted);
  margin-top: 0.125rem;
}

.queue-item-status {
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
  flex-shrink: 0;
}

.queue-item-status.pending { color: var(--text-muted); background: var(--badge-bg); }
.queue-item-status.queued { color: var(--accent); background: var(--accent-bg); }
.queue-item-status.processing { color: var(--warning); background: var(--warning-bg); }
.queue-item-status.done { color: var(--success); background: var(--success-bg); }
.queue-item-status.error { color: var(--error); background: var(--error-bg); }

.queue-item-remove {
  position: absolute;
  top: 0.25rem;
  right: 0.25rem;
  width: 1.25rem;
  height: 1.25rem;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  transition: all 0.15s ease;
}
.queue-item:hover .queue-item-remove { display: flex; }
.queue-item-remove:hover { background: var(--error-bg); color: var(--error); }

/* Queue progress bar on item */
.queue-item-progress {
  position: absolute;
  bottom: 0;
  left: 0.5rem;
  right: 0.5rem;
  height: 2px;
  background: var(--progress-bg);
  border-radius: 1px;
}

.queue-item-progress-fill {
  height: 100%;
  background: var(--progress-fill);
  border-radius: 1px;
  transition: width 0.3s ease;
}

/* Queue Item Buttons (icon-only action buttons) */
.queue-item-actions {
  display: flex;
  gap: 0.25rem;
  flex-shrink: 0;
}

.queue-item-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border: none;
  border-radius: 0.375rem;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.15s ease;
  padding: 0;
}

.queue-item-btn:hover {
  background: var(--queue-item-hover);
  color: var(--text-primary);
}

.queue-item-btn.remove:hover {
  background: var(--error-bg);
  color: var(--error);
}

.queue-item-btn.run-one:hover,
.queue-item-btn.run:hover {
  background: var(--accent-bg, rgba(99, 102, 241, 0.1));
  color: var(--accent);
}

.queue-item-btn svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* Queue Resolution Select (per-item dropdown) */
.queue-res-select {
  height: 1.5rem;
  padding: 0 0.375rem;
  border: 1px solid var(--border);
  border-radius: 0.25rem;
  background: var(--surface);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.6875rem;
  font-weight: 500;
  cursor: pointer;
  outline: none;
  transition: border-color 0.15s ease;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.25rem center;
  padding-right: 1.125rem;
}

.queue-res-select:hover {
  border-color: var(--accent);
}

.queue-res-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.15);
}

/* Queue Smoothness Control (per-item in Refine) */
.queue-smoothness-ctrl {
  display: inline-flex;
  align-items: center;
  gap: 0.125rem;
}

.queue-smoothness-label {
  font-size: 0.625rem;
  font-weight: 600;
  color: var(--text-muted);
}

.queue-smoothness-input {
  width: 2.5rem;
  height: 1.5rem;
  padding: 0 0.25rem;
  border: 1px solid var(--border);
  border-radius: 0.25rem;
  background: var(--surface);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.6875rem;
  font-weight: 600;
  text-align: center;
  outline: none;
  transition: border-color 0.15s ease;
  -moz-appearance: textfield;
}

.queue-smoothness-input::-webkit-inner-spin-button,
.queue-smoothness-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.queue-smoothness-input:hover {
  border-color: var(--accent);
}

.queue-smoothness-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.15);
}

/* Queue Actions */
.queue-actions {
  display: flex;
  gap: 0.375rem;
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--divider);
}

/* Queue Empty State */
.queue-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  text-align: center;
  color: var(--text-muted);
}

.queue-empty svg {
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.5rem;
  opacity: 0.4;
}

.queue-empty p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ============================================
   Settings Controls (Resolution, Autosave, etc.)
   ============================================ */

.settings-group {
  padding: 0.75rem 1rem;
}

.settings-label {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.375rem;
}

/* Resolution Buttons */
.resolution-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.25rem;
}

.resolution-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.375rem 0.25rem;
  border: 1px solid var(--border);
  border-radius: 0.375rem;
  background: transparent;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
}

.resolution-btn:hover {
  border-color: var(--accent);
  background: var(--accent-bg);
}

.resolution-btn.active {
  border-color: var(--accent);
  background: var(--accent-bg);
  color: var(--accent);
}

.resolution-btn .res-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-primary);
}

.resolution-btn.active .res-label {
  color: var(--accent);
}

.resolution-btn .res-detail {
  font-size: 0.625rem;
  color: var(--text-muted);
}

/* Toggle Switch */
.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0;
}

.toggle-label {
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

.toggle-switch {
  position: relative;
  width: 2.75rem;
  height: 1.5rem;
  background: var(--slider-track);
  border-radius: 0.75rem;
  cursor: pointer;
  transition: background 0.2s ease;
  border: none;
  padding: 0;
}

.toggle-switch.active {
  background: var(--accent);
}

.toggle-switch::after {
  content: '';
  position: absolute;
  top: 0.125rem;
  left: 0.125rem;
  width: 1.25rem;
  height: 1.25rem;
  background: white;
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease;
}

.toggle-switch.active::after {
  transform: translateX(1.25rem);
}

/* Smoothness Slider */
.slider-group {
  padding: 0.75rem 1rem;
}

.slider-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.slider-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-primary);
}

.slider-value {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.slider-input {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 0.25rem;
  background: var(--slider-track);
  border-radius: 0.125rem;
  outline: none;
  cursor: pointer;
}

.slider-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 1.25rem;
  height: 1.25rem;
  background: var(--slider-thumb);
  border: 1px solid var(--slider-thumb-border);
  border-radius: 50%;
  box-shadow: var(--slider-thumb-shadow);
  cursor: pointer;
  transition: transform 0.15s ease;
}

.slider-input::-webkit-slider-thumb:hover {
  transform: scale(1.1);
}

.slider-input::-moz-range-thumb {
  width: 1.25rem;
  height: 1.25rem;
  background: var(--slider-thumb);
  border: 1px solid var(--slider-thumb-border);
  border-radius: 50%;
  box-shadow: var(--slider-thumb-shadow);
  cursor: pointer;
}

.slider-hint {
  font-size: 0.6875rem;
  color: var(--text-muted);
  margin-top: 0.375rem;
}

/* ============================================
   Toast Notifications
   ============================================ */

.toast-container {
  position: fixed;
  top: 4rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  animation: toastIn 0.3s ease forwards;
  pointer-events: auto;
  max-width: 25rem;
}

.toast.hiding {
  animation: toastOut 0.2s ease forwards;
}

.toast svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.toast-success {
  background: var(--surface);
  color: var(--success);
  border: 1px solid var(--success);
}
.toast-error {
  background: var(--surface);
  color: var(--error);
  border: 1px solid var(--error);
}
.toast-info {
  background: var(--surface);
  color: var(--accent);
  border: 1px solid var(--accent);
}
.toast-warning {
  background: var(--surface);
  color: var(--warning);
  border: 1px solid var(--warning);
}

@keyframes toastIn {
  from { opacity: 0; transform: translateY(-1rem); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes toastOut {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-1rem); }
}

/* ============================================
   Modal / Overlay
   ============================================ */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: var(--overlay);
  backdrop-filter: blur(var(--overlay-blur));
  -webkit-backdrop-filter: blur(var(--overlay-blur));
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
}

.modal-overlay.show {
  display: flex;
}

.modal {
  background: var(--surface);
  border-radius: 1rem;
  box-shadow: var(--shadow-xl);
  padding: 1.5rem;
  max-width: 26rem;
  width: 100%;
  animation: modalIn 0.25s ease;
  max-height: calc(100vh - 4rem);
  overflow-y: auto;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.modal-title {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-primary);
}

.modal-close {
  width: 1.75rem;
  height: 1.75rem;
  border: none;
  border-radius: 50%;
  background: var(--bg-secondary);
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}
.modal-close:hover {
  background: var(--bg-tertiary);
  color: var(--text-primary);
}
.modal-close svg {
  width: 0.875rem;
  height: 0.875rem;
}

.modal-body {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.6;
}

.modal-footer {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
  margin-top: 1.25rem;
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

/* ============================================
   Forms / Inputs
   ============================================ */

.input {
  width: 100%;
  height: 2.25rem;
  padding: 0 0.75rem;
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: 0.5rem;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.15s ease;
}

.input:focus {
  border-color: var(--input-focus-border);
  box-shadow: 0 0 0 3px var(--accent-bg);
}

.input::placeholder {
  color: var(--text-muted);
}

/* ============================================
   Empty / Welcome State
   ============================================ */

.welcome-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-align: center;
  padding: 2rem;
  color: var(--text-muted);
}

.welcome-icon {
  width: 4rem;
  height: 4rem;
  margin-bottom: 1rem;
  opacity: 0.3;
  color: var(--text-muted);
}

.welcome-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.375rem;
}

.welcome-desc {
  font-size: 0.8125rem;
  color: var(--text-muted);
  max-width: 20rem;
}

/* Drop zone overlay */
.drop-zone-overlay {
  position: absolute;
  inset: 0;
  background: var(--accent-bg);
  border: 2px dashed var(--accent);
  border-radius: 0.75rem;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 50;
  pointer-events: none;
}

.drop-zone-overlay.active {
  display: flex;
}

.drop-zone-text {
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent);
}

/* ============================================
   Progress / Processing
   ============================================ */

.processing-overlay {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  gap: 1rem;
}

.progress-ring {
  width: 4rem;
  height: 4rem;
}

.progress-bar {
  width: 100%;
  max-width: 16rem;
  height: 0.25rem;
  background: var(--progress-bg);
  border-radius: 0.125rem;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: var(--progress-fill);
  border-radius: 0.125rem;
  transition: width 0.5s ease;
}

.progress-text {
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

.progress-percent {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
}

/* Spinner */
.spinner {
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

/* ============================================
   Recent Files
   ============================================ */

.recent-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--divider);
}

.recent-title {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.recent-list {
  flex: 1;
  overflow-y: auto;
  padding: 0.25rem;
}

.recent-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background 0.15s ease;
}

.recent-item:hover {
  background: var(--queue-item-hover);
}

.recent-item-thumb {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.375rem;
  object-fit: cover;
  background: var(--bg-secondary);
  flex-shrink: 0;
}

.recent-item-info {
  flex: 1;
  min-width: 0;
}

.recent-item-name {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-primary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recent-item-meta {
  font-size: 0.6875rem;
  color: var(--text-muted);
}

.recent-item-actions {
  display: flex;
  gap: 0.25rem;
  flex-shrink: 0;
}

.recent-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.625rem;
  height: 1.625rem;
  border: none;
  border-radius: 0.375rem;
  background: var(--bg-secondary);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.15s ease;
  padding: 0;
}

.recent-btn svg {
  width: 12px;
  height: 12px;
}

.recent-btn:hover {
  background: var(--queue-item-hover);
  color: var(--text-primary);
}

.recent-btn.upscale:hover {
  background: var(--accent-bg, rgba(99, 102, 241, 0.1));
  color: var(--accent);
}

.recent-btn.refine:hover {
  background: rgba(175, 82, 222, 0.1);
  color: #AF52DE;
}

.recent-btn.download:hover {
  background: var(--success-bg);
  color: var(--success);
}

.recent-btn.delete:hover {
  background: var(--error-bg);
  color: var(--error);
}

/* ============================================
   Points Panel
   ============================================ */

.points-panel {
  padding: 1.5rem;
}

.points-balance {
  text-align: center;
  margin-bottom: 1.5rem;
}

.points-amount {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
}

.points-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 0.125rem;
}

.points-costs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.points-cost-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.75rem;
  background: var(--bg-secondary);
  border-radius: 0.5rem;
  font-size: 0.8125rem;
}

.points-cost-item .cost-res {
  font-weight: 500;
  color: var(--text-primary);
}

.points-cost-item .cost-pts {
  font-weight: 600;
  color: var(--accent);
}

/* Redeem */
.redeem-input-group {
  display: flex;
  gap: 0.5rem;
}

/* ============================================
   Badges
   ============================================ */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.125rem 0.5rem;
  border-radius: 1rem;
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.badge-blue { background: var(--accent-bg); color: var(--accent); }
.badge-green { background: var(--success-bg); color: var(--success); }
.badge-yellow { background: var(--warning-bg); color: var(--warning); }
.badge-red { background: var(--error-bg); color: var(--error); }
.badge-purple { background: rgba(175, 82, 222, 0.1); color: #AF52DE; }
.badge-gray { background: var(--badge-bg); color: var(--text-muted); }

/* ============================================
   Blur Analysis (Deblur-specific)
   ============================================ */

.blur-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
}

.blur-badge.sharp { background: var(--success-bg); color: var(--success); }
.blur-badge.slight { background: var(--warning-bg); color: var(--warning); }
.blur-badge.moderate { background: rgba(255, 149, 0, 0.15); color: #E68A00; }
.blur-badge.heavy { background: var(--error-bg); color: var(--error); }
