:root {
  --bg: #f6f8fb;
  --bg-soft: #eef3f9;
  --panel: #ffffff;
  --panel-2: #f8fbff;
  --text: #182230;
  --muted: #6b7a90;
  --line: #dbe4f0;
  --brand: #3b82f6;
  --brand-2: #2563eb;
  --shadow: 0 10px 30px rgba(37, 99, 235, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(59,130,246,.08), transparent 24%),
    linear-gradient(180deg, #f8fbff 0%, #f3f6fb 100%);
}

a { color: inherit; text-decoration: none; }
.container { width: min(1200px, calc(100% - 32px)); margin: 0 auto; }
.hero { padding: 24px 0 22px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.72); backdrop-filter: blur(8px); }
.eyebrow { color: var(--brand); margin: 0; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.simple-hero { padding: 26px 0 18px; }
.simple-hero-inner { display: flex; align-items: center; justify-content: space-between; }
h1 { margin: 6px 0 0; font-size: clamp(30px, 4vw, 42px); line-height: 1.08; }

.ghost-btn, .primary-btn, .copy-btn {
  display: inline-flex; align-items: center; justify-content: center; border-radius: 14px; padding: 11px 16px;
  border: 1px solid var(--line); cursor: pointer; font: inherit; color: var(--text); transition: .18s ease;
}
.primary-btn {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  border: none;
  box-shadow: 0 8px 20px rgba(37,99,235,.18);
}
.primary-btn:hover { transform: translateY(-1px); }
.secondary-link, .ghost-btn, .copy-btn { background: #fff; }
.ghost-btn:hover, .copy-btn:hover { background: #f5f8fc; }

.sidebar, .panel-block, .tool-card, .tool-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.main-layout { display: grid; grid-template-columns: 250px 1fr; gap: 24px; padding: 26px 0 40px; }
.sidebar { border-radius: 20px; padding: 18px; position: sticky; top: 20px; height: fit-content; }
.sidebar h3 { margin: 0 0 12px; }
.chip {
  display: block; width: 100%; text-align: left; padding: 10px 12px; margin: 8px 0; border-radius: 12px;
  border: 1px solid var(--line); background: #fff; color: var(--text); cursor: pointer; transition: .18s ease;
}
.chip.active, .chip:hover { background: #eff6ff; border-color: #bfdbfe; color: #1d4ed8; }

.sidebar-search { margin-top: 16px; }
.sidebar-search label { display: grid; gap: 8px; color: var(--muted); font-size: 14px; }
input, textarea, select {
  width: 100%; border-radius: 14px; border: 1px solid var(--line); background: #fff; color: var(--text);
  padding: 12px 14px; font: inherit; outline: none; transition: border-color .18s ease, box-shadow .18s ease;
}
input:focus, textarea:focus, select:focus {
  border-color: #93c5fd;
  box-shadow: 0 0 0 4px rgba(59,130,246,.12);
}
textarea { min-height: 180px; resize: vertical; }

.stats-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 22px; border-radius: 18px; padding: 16px;
}
.compact-stats { grid-template-columns: 1fr; width: fit-content; min-width: 220px; }
.stats-row div { display: grid; gap: 6px; }
.stats-row strong { font-size: 20px; }
.stats-row span { color: var(--muted); font-size: 14px; }

.quick-actions,
.page-actions-board {
  border-radius: 20px;
  padding: 18px 20px;
}
.quick-actions-head,
.page-actions-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.quick-actions-head h2,
.page-actions-head h2 {
  margin: 0 0 6px;
  font-size: 20px;
}
.quick-actions-head p,
.page-actions-head p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.quick-actions-buttons,
.page-actions-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.section-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.section-head h2 { margin: 0; }
.section-head span { color: var(--muted); font-size: 14px; }

.tool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.tool-card {
  border-radius: 16px; padding: 16px; cursor: pointer; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
  min-height: 124px; display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start; gap: 10px;
}
.tool-card .tag,
.tool-card h3,
.tool-card p {
  width: 100%;
}
.tool-card h3,
.tool-card p {
  text-align: left;
}
.tool-card:hover {
  transform: translateY(-2px);
  border-color: #bfdbfe;
  box-shadow: 0 12px 24px rgba(37,99,235,.10);
}
.tool-card .tag {
  display: inline-flex; width: fit-content; padding: 4px 8px; border-radius: 999px;
  background: #eff6ff; color: #2563eb; font-size: 11px; font-weight: 700;
}
.tool-card h3 { margin: 0; font-size: 17px; line-height: 1.35; }
.tool-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }

.tool-panel { margin-top: 24px; border-radius: 24px; padding: 22px; overflow: hidden; }
.hidden { display: none; }
.panel-preview {
  margin-bottom: 16px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px dashed #bfdbfe;
  background: #f8fbff;
  color: var(--muted);
  font-size: 14px;
}
.tool-workspace {
  margin-bottom: 16px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}
.workspace-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.workspace-head strong {
  font-size: 14px;
}
.workspace-head span {
  color: var(--muted);
  font-size: 13px;
}
.workspace-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.workspace-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: #eff6ff;
  color: #2563eb;
  font-size: 12px;
  font-weight: 600;
}
.panel-head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; align-items: start; margin-bottom: 20px; }
.panel-head > div { min-width: 0; }
.panel-head .ghost-btn { width: 100%; margin-left: 0; }
.panel-category {
  display: inline-flex; width: fit-content; padding: 5px 10px; border-radius: 999px;
  color: #2563eb; background: #eff6ff; margin: 0 0 10px; font-size: 12px; font-weight: 700; text-transform: uppercase;
}
.panel-head h2 { margin: 0 0 8px; }
.panel-desc { margin: 0; color: var(--muted); }

.tool-ui { display: grid; gap: 14px; }
.tool-ui.two-col { grid-template-columns: 1fr 1fr; }
label { display: grid; gap: 8px; font-size: 14px; color: var(--muted); }
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; }
.result-box {
  min-height: 180px; white-space: pre-wrap; word-break: break-word; padding: 14px; border-radius: 14px;
  border: 1px solid var(--line); background: #f8fbff;
}
.result-ok { color: #14532d; }
.result-err { color: #b91c1c; background: #fff7f7; border-color: #fecaca; }
.qr-wrap { display: grid; gap: 14px; align-items: start; }
.qr-wrap img { width: 220px; height: 220px; object-fit: contain; background: white; border-radius: 12px; padding: 10px; }
.content { display: grid; gap: 22px; }

.thumb-board {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  background: #f8fbff;
}
.thumb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 10px;
}
.thumb-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 8px;
  display: grid;
  gap: 6px;
  cursor: grab;
}
.thumb-item.dragging { opacity: .55; }
.thumb-item canvas {
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid #e5edf8;
  background: #fff;
}
.thumb-item strong {
  font-size: 12px;
  text-align: center;
  color: #1e3a8a;
}
.helper-note { margin: 0; color: var(--muted); font-size: 13px; }

.image-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 10px;
}
.image-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 8px;
}
.image-card img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid #e5edf8;
  display: block;
}
.image-card span {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .main-layout, .tool-ui.two-col, .stats-row, .compact-stats { grid-template-columns: 1fr; }
  .quick-actions-head, .page-actions-head { flex-direction: column; align-items: flex-start; }
  .workspace-head { flex-direction: column; align-items: flex-start; }
  .sidebar { position: static; }
  .panel-head { flex-direction: column; align-items: flex-start; }
  .panel-head .ghost-btn { width: 100%; }
}

@media (max-width: 640px) {
  .container { width: min(1200px, calc(100% - 20px)); }
  .hero { padding: 16px 0 14px; }
  h1 { font-size: 28px; }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .section-head span {
    text-align: left;
  }

  .tool-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .tool-card {
    padding: 14px;
    min-height: unset;
    align-items: flex-start;
  }
  .tool-card .tag,
  .tool-card h3,
  .tool-card p {
    margin: 0;
    width: 100%;
    text-align: left;
  }

  .tool-panel { padding: 14px; border-radius: 16px; }
  .panel-head { flex-direction: column; align-items: stretch; gap: 12px; }
  .panel-head > div { width: 100%; min-width: 0; }
  .panel-head .ghost-btn { width: 100%; margin-left: 0; }
  .panel-category, #panelTitle, .panel-desc { word-break: break-word; }

  .primary-btn, .ghost-btn { width: 100%; }
  .toolbar { display: grid; grid-template-columns: 1fr; }
  input, select, textarea { font-size: 16px; }
}


.editor-shell {
  display: grid;
  gap: 16px;
}
.editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.editor-toolbar .grow {
  flex: 1 1 220px;
}
.editor-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) 320px;
  gap: 16px;
}
.editor-canvas {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #f8fbff;
  padding: 14px;
}
.editor-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
  align-items: stretch;
}
.editor-page {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 10px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 8px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}
.editor-page.active {
  border-color: #60a5fa;
  box-shadow: 0 0 0 4px rgba(59,130,246,.12);
}
.editor-page.dragging { opacity: .5; }
.editor-page canvas {
  width: 100%;
  height: auto;
  border: 1px solid #e5edf8;
  border-radius: 10px;
  background: #fff;
}
.editor-page-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  align-items: start;
  column-gap: 8px;
  row-gap: 2px;
  min-height: 34px;
}
.editor-page-head strong {
  grid-column: 1;
  grid-row: 1;
  line-height: 1.2;
}
.editor-page-head span {
  grid-column: 1;
  grid-row: 2;
  line-height: 1.2;
}
.editor-page-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.mini-btn {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  border-radius: 10px;
  padding: 8px 10px;
  cursor: pointer;
  font: inherit;
}
.mini-btn:hover { background: #f5f8fc; }
.editor-side {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  padding: 16px;
  display: grid;
  gap: 14px;
  align-self: start;
}
.editor-side h3,
.editor-side h4 {
  margin: 0;
}
.editor-meta {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
}
.editor-drop {
  border: 1px dashed #bfdbfe;
  background: #eff6ff;
  color: #1d4ed8;
  border-radius: 14px;
  padding: 14px;
  text-align: center;
}
.editor-watermark-preview {
  padding: 12px;
  border-radius: 12px;
  background: #f8fbff;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
@media (max-width: 960px) {
  .editor-layout {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .editor-thumbs {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  }
  .editor-page-actions {
    grid-template-columns: 1fr 1fr;
  }
  .editor-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
}


.hero-top-entry {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-editor-btn {
  min-width: 180px;
  font-weight: 700;
}
.hero-top-entry span {
  color: var(--muted);
  font-size: 14px;
}
.secondary-actions {
  opacity: 0.96;
}
@media (max-width: 640px) {
  .hero-top-entry {
    align-items: stretch;
  }
  .hero-editor-btn {
    width: 100%;
  }
}

.topbar-layout {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}
.topbar-search {
  min-width: 320px;
  max-width: 420px;
  width: 100%;
}
.topbar-search label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}
.sidebar-search { display:none; }
@media (max-width: 820px) {
  .topbar-layout {
    flex-direction: column;
    align-items: stretch;
  }
  .topbar-search {
    min-width: 0;
    max-width: none;
  }
}

.main-layout-full {
  grid-template-columns: 1fr;
}
.main-layout-full .content {
  min-width: 0;
}
.main-layout-full .sidebar {
  display: none;
}


.compact-editor-shell { gap: 14px; }
.compact-editor-layout { grid-template-columns: minmax(0, 1.7fr) 280px; align-items: start; }
.compact-editor-canvas, .compact-editor-side { padding: 14px; }
.editor-toolbar-top { align-items: end; }
.editor-password { width: 220px; }
.editor-tabs-row {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}
.editor-tab {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 10px 14px;
  cursor: pointer;
  font: inherit;
  color: var(--text);
}
.editor-tab.active {
  background: #eff6ff;
  border-color: #93c5fd;
  color: #1d4ed8;
}
.editor-toolbar-actions {
  margin-bottom: 12px;
}
.editor-toolbar-actions .ghost-btn {
  width: auto;
}
.editor-subpanel {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 14px;
  padding: 12px;
  margin-bottom: 12px;
}
.editor-side h3, .editor-side h4 { margin-bottom: 8px; }
.editor-meta strong { color: var(--text); }
@media (max-width: 960px) {
  .compact-editor-layout { grid-template-columns: 1fr; }
  .editor-password { width: 100%; }
}


.container { width: min(1360px, calc(100% - 24px)); }
.tool-panel { padding: 16px; border-radius: 18px; }
.panel-preview, .tool-workspace { display: none !important; }
.panel-head { margin-bottom: 12px; }
.panel-head h2 { margin-bottom: 4px; font-size: 22px; }
.panel-desc { font-size: 13px; }
.compact-editor-layout { grid-template-columns: minmax(0, 1.9fr) 240px; gap: 12px; }
.compact-editor-canvas, .compact-editor-side { padding: 10px; border-radius: 14px; }
.editor-tabs-row { margin-bottom: 8px; }
.editor-tab { padding: 8px 12px; border-radius: 10px; }
.editor-toolbar { gap: 8px; }
.editor-toolbar-top { display: grid; grid-template-columns: minmax(0,1.2fr) 180px 120px 120px; gap: 8px; }
.editor-toolbar-top .grow, .editor-password { width: 100%; }
.editor-toolbar-top .primary-btn, .editor-toolbar-top .ghost-btn { width: 100%; }
.editor-toolbar-actions { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 8px; margin-bottom: 10px; align-items: stretch; }
.editor-toolbar-actions .ghost-btn { padding: 9px 10px; font-size: 13px; }
.editor-toolbar-actions > * { min-width: 0; }
.editor-thumbs { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }
.editor-page { padding: 8px; gap: 6px; border-radius: 12px; }
.editor-page-head strong, .editor-page-head span { font-size: 12px; }
.editor-page-actions { gap: 6px; }
.mini-btn { padding: 7px 8px; font-size: 12px; border-radius: 8px; }
.editor-side { gap: 10px; }
.editor-side h3 { font-size: 16px; }
.editor-side h4 { font-size: 14px; }
.editor-meta { gap: 4px; font-size: 12px; }
.editor-watermark-preview, .editor-subpanel { font-size: 12px; padding: 10px; }
.result-box { min-height: 72px; padding: 10px 12px; }
@media (max-width: 1080px) {
  .editor-toolbar-top { grid-template-columns: 1fr 1fr; }
  .editor-toolbar-actions { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .compact-editor-layout { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .container { width: min(1360px, calc(100% - 16px)); }
  .editor-toolbar-top { grid-template-columns: 1fr; }
  .editor-toolbar-actions { grid-template-columns: 1fr; }
  .editor-thumbs { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); }
}

.editor-thumbs { --editor-zoom: 1; grid-template-columns: repeat(auto-fill, minmax(calc(120px * var(--editor-zoom)), 1fr)); }
.editor-zoom-control {
  min-width: 100px;
  display: grid;
  align-content: start;
  gap: 6px;
  line-height: 1.2;
}
.editor-zoom-control select {
  width: 100%;
  min-width: 0;
}
@media (min-width: 1081px) {
  .editor-toolbar-actions { grid-template-columns: repeat(9, minmax(0,1fr)); }
}

.editor-page-head { cursor: grab; }
.editor-page.drag-over { border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37,99,235,.12); }

.editor-page-head::after,
.dual-page-head::after {
  content: '⋮⋮';
  color: #94a3b8;
  letter-spacing: 1px;
  font-size: 14px;
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
}
.page-mismatch strong,
.page-mismatch span {
  color: #dc2626;
  font-weight: 700;
}

.editor-preview-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
}
.editor-preview-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
}
.editor-preview-dialog {
  position: relative;
  width: min(1100px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  margin: 16px auto;
  background: #fff;
  border-radius: 18px;
  padding: 16px;
  overflow: auto;
  box-shadow: 0 20px 60px rgba(15,23,42,.28);
}
.editor-preview-close { margin-left: auto; display: flex; }
.editor-preview-content canvas {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--line);
}


.dual-topbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 12px;
}
.dual-editor-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.dual-board {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 12px;
  min-height: 520px;
}
.dual-board.active {
  border-color: #93c5fd;
  box-shadow: 0 0 0 3px rgba(59,130,246,.12);
}
.dual-board-head {
  display: grid;
  gap: 10px;
  margin-bottom: 10px;
}
.dual-board-head h3 {
  margin: 0;
  font-size: 18px;
}
.dual-board-head p {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--muted);
}
.dual-pick-btn {
  width: 100%;
}
.dual-pages {
  --dual-zoom: 1;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(calc(130px * var(--dual-zoom)), 1fr));
  gap: 10px;
  min-height: 420px;
  align-content: start;
  align-items: stretch;
}
.dual-page {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px;
  background: #f8fafc;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 8px;
}
.dual-page.active {
  border-color: #60a5fa;
  box-shadow: 0 0 0 4px rgba(59,130,246,.12);
}
.dual-page.drag-over {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}
.dual-page-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  align-items: start;
  column-gap: 8px;
  row-gap: 2px;
  min-height: 34px;
  cursor: grab;
}
.dual-page-head strong {
  grid-column: 1;
  grid-row: 1;
  line-height: 1.2;
}
.dual-page-head span {
  grid-column: 1;
  grid-row: 2;
  line-height: 1.2;
}
.dual-thumb-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
}
@media (max-width: 960px) {
  .dual-editor-grid {
    grid-template-columns: 1fr;
  }
  .dual-toolbar-actions {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}
@media (max-width: 640px) {
  .dual-toolbar-actions {
    grid-template-columns: 1fr;
  }
}


/* mobile panel hard-fix */
.tool-panel,
.panel-head,
.panel-head > div,
#toolBody,
.tool-ui,
.result-box,
.toolbar,
label,
input,
select,
textarea,
.primary-btn,
.ghost-btn {
  max-width: 100%;
}

.panel-head,
.panel-head > div,
.panel-desc,
#panelTitle,
#panelCategory {
  overflow-wrap: anywhere;
  word-break: break-word;
}

@media (max-width: 640px) {
  .tool-panel {
    width: 100%;
    padding: 12px;
  }
  .panel-head {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .panel-head > div {
    width: 100%;
  }
  .panel-head h2 {
    font-size: 20px;
    line-height: 1.3;
  }
  .panel-desc {
    font-size: 13px;
    line-height: 1.5;
  }
  .toolbar {
    display: grid;
    grid-template-columns: 1fr;
  }
}
