:root {
  color-scheme: light;
  --bg: #f7f8fb;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: #ffffff;
  --text: #111827;
  --muted: #667085;
  --line: rgba(17, 24, 39, 0.12);
  --primary: #111827;
  --primary-text: #ffffff;
  --accent: #0ea5e9;
  --danger: #dc2626;
  --warning: #b45309;
  --success: #047857;
  --shadow: 0 18px 60px rgba(15, 23, 42, 0.12);
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0c0f14;
  --surface: rgba(20, 24, 33, 0.78);
  --surface-strong: #151a23;
  --text: #f8fafc;
  --muted: #a2acba;
  --line: rgba(248, 250, 252, 0.13);
  --primary: #f8fafc;
  --primary-text: #0c0f14;
  --accent: #38bdf8;
  --shadow: 0 18px 70px rgba(0, 0, 0, 0.36);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(14, 165, 233, 0.18), transparent 30rem),
    linear-gradient(135deg, var(--bg), color-mix(in srgb, var(--bg) 82%, var(--accent)));
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: blur(18px);
}

.brand { display: inline-flex; align-items: center; gap: .75rem; min-width: 0; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--line);
  border-radius: .75rem;
  background: var(--surface-strong);
  box-shadow: var(--shadow);
  font-size: .8rem;
  font-weight: 800;
}
.brand strong, .brand small { display: block; }
.brand small { color: var(--muted); font-size: .78rem; margin-top: .1rem; }
.nav-actions, .button-row { display: flex; align-items: center; gap: .6rem; }
.nav-actions { flex-wrap: wrap; justify-content: flex-end; }
.button-row.wrap { flex-wrap: wrap; }

.ghost-btn, .primary-btn, .download-btn, .icon-btn {
  border: 1px solid var(--line);
  border-radius: .7rem;
  cursor: pointer;
  min-height: 2.65rem;
  padding: .68rem .95rem;
  transition: transform .16s ease, border-color .16s ease, background .16s ease, opacity .16s ease;
}
.ghost-btn, .icon-btn {
  background: var(--surface);
  color: var(--text);
}
.ghost-btn.active { background: var(--surface-strong); outline: 2px solid color-mix(in srgb, var(--accent), transparent 45%); }
.primary-btn, .download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--primary-text);
  border-color: transparent;
  font-weight: 700;
}
.icon-btn { width: 2.65rem; padding: 0; }
button:hover, .download-btn:hover, .tool-card:hover { transform: translateY(-1px); border-color: color-mix(in srgb, var(--accent), var(--line)); }
button:disabled { cursor: not-allowed; opacity: .55; transform: none; }

main { width: min(1180px, calc(100% - 2rem)); margin: 0 auto; }
body.wide-mode main,
body.wide-mode .footer {
  width: min(1560px, calc(100% - 1.5rem));
}
body.compact-mode .tool-grid { gap: .55rem; }
body.compact-mode .tool-card {
  min-height: 5.9rem;
  padding: .75rem;
}
body.compact-mode .tool-card strong { margin-bottom: .3rem; }
body.compact-mode .tool-card span {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: .86rem;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 23rem;
  gap: 2rem;
  align-items: end;
  min-height: 56vh;
  padding: clamp(3rem, 8vw, 6rem) 0 2rem;
}
.eyebrow {
  margin: 0 0 .7rem;
  color: var(--accent);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 1.1rem;
  max-width: 52rem;
  font-size: clamp(2.4rem, 7vw, 5.8rem);
  line-height: .98;
  letter-spacing: 0;
}
h2 { margin-bottom: .45rem; font-size: clamp(1.6rem, 3vw, 2.35rem); letter-spacing: 0; }
h3 { margin-bottom: .9rem; font-size: 1.05rem; }
.hero-text { max-width: 43rem; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.25rem); line-height: 1.75; }
.pill-row { display: flex; flex-wrap: wrap; gap: .65rem; }
.pill-row span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  padding: .56rem .82rem;
  color: var(--text);
  font-size: .9rem;
}
.hero-panel, .notice, .explain-card, .control-card, .preview-card, .tool-card, .result-card, .confirm-box {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}
.hero-panel { border-radius: 1.1rem; padding: 1.3rem; }
.hero-panel p, .footer p, .preview-card p { color: var(--muted); line-height: 1.7; }
.status-dot {
  width: .65rem;
  height: .65rem;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 .35rem color-mix(in srgb, var(--success) 18%, transparent);
  margin-bottom: 1rem;
}
.notice {
  display: flex;
  gap: .75rem;
  margin: 1rem 0 3rem;
  padding: 1rem 1.1rem;
  border-radius: .9rem;
  color: var(--muted);
}
.notice strong { color: var(--text); white-space: nowrap; }
.explain-card {
  margin: -1.4rem 0 3rem;
  border-radius: .9rem;
  padding: .95rem 1.1rem;
}
.explain-card summary { cursor: pointer; font-weight: 800; }
.explain-card p { color: var(--muted); line-height: 1.7; margin: .75rem 0 0; }

.tools-section, .workspace { padding: 1.5rem 0 3.5rem; }
.section-heading { margin-bottom: 1rem; }
.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .9rem;
}
.tool-card {
  text-align: left;
  min-height: 8.6rem;
  border-radius: .9rem;
  padding: 1rem;
  cursor: pointer;
  color: var(--text);
}
.tool-card.active { outline: 2px solid color-mix(in srgb, var(--accent), transparent 40%); background: var(--surface-strong); }
.tool-card strong { display: block; margin-bottom: .5rem; font-size: 1rem; }
.tool-card span { color: var(--muted); line-height: 1.55; font-size: .92rem; }

.workspace-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1rem;
}
.workspace-head p { color: var(--muted); margin-bottom: 0; }
.tool-panel { display: none; }
.tool-panel.active { display: block; }
.panel-grid {
  display: grid;
  grid-template-columns: minmax(18rem, 24rem) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}
.control-card, .preview-card {
  border-radius: 1rem;
  padding: 1rem;
}
.control-card.full { width: 100%; }
.dropzone {
  display: grid;
  place-items: center;
  min-height: 8.5rem;
  margin-bottom: .85rem;
  border: 1.5px dashed color-mix(in srgb, var(--accent), var(--line));
  border-radius: .9rem;
  background: color-mix(in srgb, var(--surface-strong) 78%, transparent);
  cursor: pointer;
  text-align: center;
  padding: 1rem;
}
.dropzone.dragover {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 10%, var(--surface-strong));
}
.dropzone.compact { min-height: 5.2rem; }
.dropzone input { display: none; }
.dropzone span { font-weight: 800; }
.dropzone small { display: block; margin-top: .35rem; color: var(--muted); }
.field { display: grid; gap: .35rem; margin-bottom: .8rem; color: var(--muted); font-size: .9rem; }
.field input, .field select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: .65rem;
  background: var(--surface-strong);
  color: var(--text);
  min-height: 2.65rem;
  padding: .55rem .7rem;
}
.field-help { min-height: 1.15rem; color: var(--muted); line-height: 1.45; }
.field-help.error { color: var(--danger); }
.field-help.warn { color: var(--warning); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
.file-list { list-style: none; margin: .85rem 0; padding: 0; display: grid; gap: .55rem; }
.file-list li {
  display: flex;
  justify-content: space-between;
  gap: .8rem;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: .7rem;
  background: var(--surface-strong);
  padding: .7rem .75rem;
  cursor: grab;
}
.file-list button { min-height: 2rem; padding: .25rem .55rem; border-radius: .55rem; }
.file-list small { color: var(--muted); }
.file-meta, .mini-summary {
  border: 1px solid var(--line);
  border-radius: .75rem;
  background: color-mix(in srgb, var(--surface-strong) 82%, transparent);
  color: var(--muted);
  line-height: 1.6;
  margin: .65rem 0 .85rem;
  padding: .65rem .75rem;
  font-size: .9rem;
}
.file-meta:empty { display: none; }
.compact-actions { margin: -.15rem 0 .85rem; }
.thumb-grid, .image-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(8rem, 1fr));
  gap: .8rem;
  min-height: 8rem;
}
.thumb-grid.size-small { grid-template-columns: repeat(auto-fill, minmax(7.5rem, 1fr)); }
.thumb-grid.size-medium { grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr)); }
.thumb-grid.size-large { grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); }
.thumb-size-toggle {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .45rem;
  margin: .7rem 0;
  color: var(--muted);
  font-size: .88rem;
}
.thumb-size-toggle .ghost-btn {
  min-height: 2rem;
  padding: .3rem .62rem;
  width: auto;
}
.thumb-size-toggle .ghost-btn.active {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 10%, var(--surface-strong));
}
.large-preview {
  border: 1px solid var(--line);
  border-radius: .9rem;
  background: color-mix(in srgb, var(--surface-strong) 82%, transparent);
  margin-bottom: .9rem;
  overflow: hidden;
}
.large-preview-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .55rem;
  border-bottom: 1px solid var(--line);
  padding: .65rem;
}
.large-preview-toolbar input,
.large-preview-toolbar select {
  min-height: 2.3rem;
  border: 1px solid var(--line);
  border-radius: .6rem;
  background: var(--surface-strong);
  color: var(--text);
  padding: .35rem .55rem;
}
.large-preview-toolbar input { width: 4.6rem; }
.large-preview-toolbar .ghost-btn { min-height: 2.3rem; padding: .35rem .65rem; width: auto; }
.large-preview-stage {
  position: relative;
  display: grid;
  place-items: start center;
  min-height: 28rem;
  max-height: min(72vh, 56rem);
  overflow: auto;
  padding: .9rem;
}
.large-preview-page {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
  background: #fff;
  box-shadow: 0 14px 35px rgba(15, 23, 42, .18);
}
.large-preview-page canvas {
  display: block;
  width: 100%;
  height: auto;
}
.large-preview-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.large-preview .placement-box,
.large-preview .watermark-preview,
.large-preview .page-number-preview {
  pointer-events: auto;
}
.watermark-preview {
  position: absolute;
  display: grid;
  place-items: center;
  color: #64748b;
  font-weight: 800;
  white-space: nowrap;
  transform-origin: center;
  user-select: none;
}
.watermark-tile {
  position: absolute;
  inset: -10%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: center;
  justify-items: center;
}
.watermark-tile .watermark-preview { position: static; }
.page-number-preview {
  position: absolute;
  font-weight: 700;
  white-space: nowrap;
}
.annotate-line-preview {
  position: absolute;
  height: 0;
  border-top: 3px solid var(--accent);
  transform-origin: left center;
}
.annotate-circle-preview { border-radius: 999px; }
.large-loading, .large-error {
  width: 100%;
  min-height: 18rem;
  display: grid;
  place-items: center;
  color: var(--muted);
  text-align: center;
  padding: 1rem;
}
.thumb {
  position: relative;
  border: 1px solid var(--line);
  border-radius: .8rem;
  background: var(--surface-strong);
  padding: .55rem;
  text-align: center;
  cursor: pointer;
}
.thumb.selected { outline: 2px solid var(--accent); }
.thumb canvas, .image-preview-grid img {
  width: 100%;
  height: auto;
  border-radius: .45rem;
  background: #fff;
}
.thumb-canvas-wrap { position: relative; overflow: hidden; border-radius: .45rem; background: #fff; }
.thumb-canvas-wrap canvas { display: block; }
.thumb canvas.rotated-preview { transform-origin: center; transition: transform .16s ease; }
.placement-box {
  position: absolute;
  left: 12%;
  top: 12%;
  width: 28%;
  height: 14%;
  border: 2px solid var(--accent);
  border-radius: .35rem;
  background: color-mix(in srgb, var(--accent) 18%, transparent);
  box-shadow: 0 0 0 1px rgba(255,255,255,.65) inset;
  cursor: grab;
  touch-action: none;
  z-index: 2;
}
.placement-box::after {
  content: "";
  position: absolute;
  inset: .25rem;
  border: 1px dashed rgba(255,255,255,.85);
  border-radius: .2rem;
}
.thumb .page-label { display: block; margin-top: .45rem; color: var(--muted); font-size: .82rem; }
.empty-preview {
  display: grid;
  place-items: center;
  min-height: 15rem;
  border: 1px dashed var(--line);
  border-radius: .9rem;
  color: var(--muted);
  text-align: center;
  padding: 1rem;
}
.alerts { display: grid; gap: .6rem; margin-bottom: 1rem; }
.alert {
  border: 1px solid var(--line);
  border-radius: .8rem;
  background: var(--surface-strong);
  padding: .85rem 1rem;
  color: var(--muted);
}
.alert.error { border-color: color-mix(in srgb, var(--danger), var(--line)); color: var(--danger); }
.alert.success { border-color: color-mix(in srgb, var(--success), var(--line)); color: var(--success); }
.alert.warn { border-color: color-mix(in srgb, var(--warning), var(--line)); color: var(--warning); }
.hidden { display: none !important; }
.result-card {
  margin-top: .85rem;
  border-radius: .9rem;
  padding: .9rem;
  background: color-mix(in srgb, var(--surface-strong) 86%, transparent);
}
.result-card strong { display: block; margin-bottom: .35rem; color: var(--success); }
.result-card p { margin: .2rem 0 .75rem; color: var(--muted); }
.result-card ul { margin: .5rem 0 .75rem; padding-left: 1.1rem; color: var(--muted); line-height: 1.7; }
.status-list {
  display: grid;
  gap: .45rem;
  margin: .75rem 0;
}
.status-row {
  display: flex;
  justify-content: space-between;
  gap: .8rem;
  border-bottom: 1px solid var(--line);
  padding: .45rem 0;
}
.status-row b { color: var(--text); }
.status-ok { color: var(--success); }
.status-warn { color: var(--warning); }
.status-bad { color: var(--danger); }
.permission-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .55rem;
  margin: .8rem 0;
}
.permission-grid label,
.check-field {
  display: flex;
  align-items: flex-start;
  gap: .45rem;
  color: var(--muted);
  line-height: 1.5;
}
.check-field {
  margin: .8rem 0;
  border: 1px solid var(--line);
  border-radius: .7rem;
  background: var(--surface-strong);
  padding: .7rem;
}
.download-btn.pulse { animation: pulse-download 1.8s ease; }
.confirm-backdrop {
  position: fixed;
  z-index: 49;
  inset: 0;
  background: rgba(0, 0, 0, .28);
  backdrop-filter: blur(3px);
}
.confirm-box {
  position: fixed;
  z-index: 50;
  left: 50%;
  top: 50%;
  width: min(24rem, calc(100% - 2rem));
  transform: translate(-50%, -50%);
  border-radius: 1rem;
  padding: 1rem;
}
@keyframes pulse-download {
  40% { box-shadow: 0 0 0 .45rem color-mix(in srgb, var(--accent) 18%, transparent); }
}
.signature-pad {
  width: 100%;
  height: 11rem;
  border: 1px solid var(--line);
  border-radius: .8rem;
  background: #fff;
  touch-action: none;
  margin-bottom: .7rem;
}
.footer {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--line);
}

@media (max-width: 860px) {
  .hero, .panel-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 2.5rem; }
  .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .workspace-head, .notice { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 560px) {
  main, .footer { width: min(100% - 1rem, 1180px); }
  .topbar { padding: .75rem; }
  .brand small, .mode-toggle { display: none; }
  .tool-grid, .form-grid, .permission-grid { grid-template-columns: 1fr; }
  .button-row { align-items: stretch; flex-direction: column; }
  .button-row.wrap { flex-direction: row; }
  .ghost-btn, .primary-btn, .download-btn { width: 100%; }
  .button-row.wrap .ghost-btn, .button-row.wrap .primary-btn { width: auto; flex: 1 1 8rem; }
  .thumb-grid, .image-preview-grid { grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr)); }
  .compact-actions .ghost-btn { min-width: 7rem; }
  .file-list li { align-items: flex-start; flex-direction: column; }
  .large-preview-stage { min-height: 22rem; padding: .55rem; }
  .large-preview-toolbar .ghost-btn,
  .large-preview-toolbar select,
  .large-preview-toolbar input { flex: 1 1 auto; }
}

/* ==================== v0.2.0 New Sections ==================== */

/* Version Badge */
.version-badge {
  display: inline-block;
  margin-top: .9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  padding: .35rem .85rem;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 700;
}

/* 3-Step Guide */
.step-guide {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  padding: 2.5rem 0 3rem;
  flex-wrap: wrap;
}
.step-card {
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  padding: 1.5rem 2rem;
  min-width: 10rem;
  flex: 1 1 10rem;
  max-width: 14rem;
}
.step-num {
  display: inline-grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--primary);
  color: var(--primary-text);
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: .7rem;
}
.step-card h3 {
  margin-bottom: .4rem;
  font-size: 1.1rem;
}
.step-card p {
  color: var(--muted);
  font-size: .92rem;
  margin: 0;
}
.step-arrow {
  font-size: 1.6rem;
  color: var(--muted);
  flex-shrink: 0;
}

/* Privacy Section */
.privacy-section {
  padding: 2rem 0 3rem;
}
.privacy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.privacy-card {
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  padding: 1.5rem;
  text-align: center;
}
.privacy-icon {
  font-size: 2rem;
  margin-bottom: .7rem;
}
.privacy-card h3 {
  margin-bottom: .5rem;
  font-size: 1.05rem;
}
.privacy-card p {
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.65;
  margin: 0;
}

/* Roadmap Section */
.roadmap-section {
  padding: 2rem 0 3rem;
}
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.roadmap-card {
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  padding: 1.5rem;
  position: relative;
}
.roadmap-status {
  display: inline-block;
  border: 1px solid color-mix(in srgb, var(--accent), var(--line));
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 10%, var(--surface));
  color: var(--accent);
  padding: .25rem .7rem;
  font-size: .78rem;
  font-weight: 700;
  margin-bottom: .75rem;
}
.roadmap-card h3 {
  margin-bottom: .45rem;
  font-size: 1.05rem;
}
.roadmap-card p {
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.65;
  margin: 0;
}

/* New Footer */
.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  text-align: center;
}
.footer-brand {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: .35rem;
  font-size: .95rem;
}
.footer-sep {
  color: var(--muted);
}
.footer-sub {
  color: var(--muted);
  font-size: .85rem;
  margin: 0;
}
.footer-privacy {
  color: var(--muted);
  font-size: .85rem;
  max-width: 36rem;
  line-height: 1.65;
  margin: .5rem 0 0;
}

/* Responsive for new sections */
@media (max-width: 860px) {
  .step-guide { gap: .8rem; }
  .step-arrow { display: none; }
  .step-card { min-width: 6rem; padding: 1rem; }
  .privacy-grid, .roadmap-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .step-guide { flex-direction: column; }
  .step-card { max-width: 100%; width: 100%; }
  .footer-brand { font-size: .85rem; }
}

/* ==================== v0.3.0 New Styles ==================== */

/* File list summary in result cards */
.file-list-summary {
  margin: .5rem 0 .75rem;
  padding: .65rem .75rem;
  border: 1px solid var(--line);
  border-radius: .7rem;
  background: color-mix(in srgb, var(--surface-strong) 82%, transparent);
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.6;
  max-height: 8rem;
  overflow-y: auto;
  word-break: break-all;
}

/* ZIP download button highlight */
.zip-download-btn {
  animation: pulse-download 1.8s ease;
}

/* Split mode select styling */
#splitMode {
  font-weight: 700;
}

/* Manage range input styling */
#manageRange {
  font-family: monospace;
}

/* Enhanced tool panel field descriptions */
.split-mode-desc {
  font-size: .88rem;
  color: var(--muted);
  margin: -.3rem 0 .6rem;
  line-height: 1.5;
}
