/* HSPingal app theme: renamer. Loaded after the app's own styles. */
:root {
  --bg: var(--c-bg);
  --surface: #f3edff;
  --card: #fbf9ff;
  --card2: #ffffff;
  --border: rgba(30,17,54,.16);
  --border2: rgba(30,17,54,.16);
  --accent: #6d28d9;
  --accent2: #ff6fb5;
  --on-accent: #ffffff;
  --text: var(--c-fg);
  --text2: var(--c-sub);
  --muted: #6d5f94;
  --success: #0d7a6e;
  --ok: #0d7a6e;
  --danger: #c0263a;
  --warn: #a15c00;
  --warning: #a15c00;
  --glow: rgba(109,40,217, .2);
  --app-w: 1180px;
  --app-font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, Roboto, sans-serif;
  color-scheme: light;
}

.app-mast { background: var(--c-bg); }

/* A label maker: settings on one side, the live list of names on the other. */
.app-mast { background: linear-gradient(180deg, #d9c9ff, var(--c-bg)); border-bottom: 0; }
.drop-zone { border: 2px dashed #6d28d9 !important; border-radius: 18px !important; background: #fbf9ff; padding: 30px 22px; }
.drop-zone.over { background: #fff; }
.drop-text { color: var(--c-fg); font-weight: 700; }
.section, .file-table { border-radius: 18px; }
.inp, .sel { background: #fff; }
.mode-tab { border-radius: 999px; background: #fff; }
.mode-tab.active { background: #6d28d9 !important; border-color: #6d28d9 !important; color: #fff !important; }
.file-row.header { background: #1e1136; color: #e6dbff; }
.fname.new { color: #6d28d9; }
.dl-btn, .clear-btn { border-radius: 999px; }
.hint code { background: #e6dbff; padding: 0 .3em; border-radius: 4px; }
@media (min-width: 980px) {
  .panel.show { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 0 20px; align-items: start; }
  .panel.show > .section { grid-column: 1; grid-row: 1 / span 8; margin-top: 0; }
  .panel.show > :not(.section) { grid-column: 2; }
  .panel.show > .file-table { margin-top: 0; }
}
