* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100vh;
}

/* ---- Menu bar ---- */
.menu-bar {
  display: flex;
  align-items: center;
  padding: 0;
  background: var(--sz-color-menu);
  border-bottom: 1px solid var(--sz-color-button-shadow);
  user-select: none;
  flex-shrink: 0;
}

.menu-item {
  position: relative;
  padding: 3px 8px;
  cursor: default;
  color: var(--sz-color-menu-text);
}

.menu-item:hover,
.menu-item.open {
  background: var(--sz-color-highlight);
  color: var(--sz-color-highlight-text);
}

.menu-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: var(--sz-color-menu);
  border: 1px solid var(--sz-color-button-shadow);
  box-shadow: 2px 2px 4px rgba(0,0,0,0.2);
  z-index: 1000;
  padding: 2px 0;
}

.menu-item.open > .menu-dropdown {
  display: block;
}

.menu-entry {
  padding: 4px 24px 4px 8px;
  cursor: default;
  color: var(--sz-color-menu-text);
  white-space: nowrap;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.menu-entry:hover {
  background: var(--sz-color-highlight);
  color: var(--sz-color-highlight-text);
}

.menu-entry.disabled {
  color: var(--sz-color-gray-text);
  pointer-events: none;
}

.menu-entry .shortcut {
  margin-left: 24px;
  font-size: 10px;
  opacity: 0.7;
}

.menu-entry.checkbox::before,
.menu-entry.radio::before {
  content: '';
  display: inline-block;
  width: 16px;
  margin-left: -4px;
  margin-right: 2px;
  text-align: center;
}

.menu-entry.checkbox.checked::before {
  content: '\2713';
}

.menu-entry.radio.checked::before {
  content: '\2022';
}

.menu-separator {
  height: 1px;
  background: var(--sz-color-button-shadow);
  margin: 2px 4px;
}

/* ---- Toolbar ---- */
.toolbar {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 2px 4px;
  background: var(--sz-color-button-face);
  border-bottom: 1px solid var(--sz-color-button-shadow);
  flex-shrink: 0;
  user-select: none;
}

.toolbar button {
  padding: 2px 8px;
  font-size: 10px;
  font-family: Tahoma, Verdana, sans-serif;
  cursor: default;
  white-space: nowrap;
}

.toolbar button.active {
  background: var(--sz-color-highlight);
  color: var(--sz-color-highlight-text);
}

.toolbar-sep {
  width: 1px;
  height: 18px;
  background: var(--sz-color-button-shadow);
  margin: 0 3px;
}

.toolbar-label {
  font-size: 10px;
  margin-right: 2px;
  color: var(--sz-color-button-text);
}

.toolbar select {
  font-size: 10px;
  font-family: Tahoma, Verdana, sans-serif;
  max-width: 180px;
}

/* ---- Main split ---- */
.main-split {
  flex: 1;
  display: flex;
  overflow: hidden;
  min-height: 0;
}

/* ---- Editor panel (left) ---- */
.editor-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 200px;
  overflow: hidden;
}

/* ---- Splitter ---- */
.splitter {
  width: 5px;
  cursor: col-resize;
  background: var(--sz-color-button-face);
  border-left: 1px solid var(--sz-color-button-shadow);
  border-right: 1px solid var(--sz-color-button-shadow);
  flex-shrink: 0;
}

.splitter:hover {
  background: var(--sz-color-button-light);
}

/* ---- Preview panel (right) ---- */
.preview-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 200px;
  overflow: hidden;
  background: var(--sz-color-window);
}

.preview-panel.hidden {
  display: none;
}

.preview-header {
  padding: 3px 8px;
  background: var(--sz-color-button-face);
  border-bottom: 1px solid var(--sz-color-button-shadow);
  font-size: 10px;
  font-weight: bold;
  color: var(--sz-color-button-text);
  user-select: none;
  flex-shrink: 0;
}

.preview-content {
  flex: 1;
  overflow: auto;
  padding: 12px 16px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 12px;
  line-height: 1.6;
  color: var(--sz-color-window-text);
}

.preview-content h1 { font-size: 20px; margin: 0 0 8px; padding-bottom: 4px; border-bottom: 1px solid var(--sz-color-button-shadow); }
.preview-content h2 { font-size: 16px; margin: 16px 0 6px; padding-bottom: 3px; border-bottom: 1px solid var(--sz-color-button-shadow); }
.preview-content h3 { font-size: 13px; margin: 12px 0 4px; }
.preview-content p { margin: 0 0 8px; }
.preview-content ul, .preview-content ol { margin: 0 0 8px; padding-left: 20px; }
.preview-content li { margin: 2px 0; }
.preview-content code { background: rgba(0,0,0,0.06); padding: 1px 4px; font-size: 11px; font-family: Consolas, monospace; border-radius: 2px; }
.preview-content pre { background: rgba(0,0,0,0.06); padding: 8px 12px; margin: 0 0 8px; overflow-x: auto; border-radius: 3px; }
.preview-content pre code { background: none; padding: 0; }
.preview-content img { max-width: 100%; }
.preview-content table { border-collapse: collapse; margin: 0 0 8px; width: 100%; }
.preview-content th, .preview-content td { border: 1px solid var(--sz-color-button-shadow); padding: 4px 8px; font-size: 11px; text-align: left; }
.preview-content th { background: var(--sz-color-button-face); font-weight: bold; }
.preview-content blockquote { border-left: 3px solid var(--sz-color-button-shadow); margin: 0 0 8px; padding: 4px 12px; color: var(--sz-color-gray-text); }
.preview-content .badge { display: inline-block; margin: 0 4px 4px 0; }
.preview-content .badge img { vertical-align: middle; }

/* ---- Wizard panel ---- */
.wizard-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.wizard-progress {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  background: var(--sz-color-button-face);
  border-bottom: 1px solid var(--sz-color-button-shadow);
  flex-shrink: 0;
  flex-wrap: wrap;
}

.wizard-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--sz-color-button-shadow);
  flex-shrink: 0;
}

.wizard-dot.completed {
  background: var(--sz-color-highlight);
}

.wizard-dot.current {
  background: var(--sz-color-hot-tracking, var(--sz-color-highlight));
  box-shadow: 0 0 3px var(--sz-color-highlight);
}

.wizard-step-label {
  font-size: 10px;
  color: var(--sz-color-gray-text);
  margin-left: 4px;
}

.wizard-step-container {
  flex: 1;
  overflow-y: auto;
  padding: 12px 16px;
}

.wizard-step-title {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 8px;
  color: var(--sz-color-window-text);
}

.wizard-step-help {
  font-size: 10px;
  color: var(--sz-color-gray-text);
  margin-bottom: 10px;
}

.wizard-nav {
  display: flex;
  gap: 4px;
  padding: 6px 12px;
  background: var(--sz-color-button-face);
  border-top: 1px solid var(--sz-color-button-shadow);
  flex-shrink: 0;
  justify-content: flex-end;
}

.wizard-nav button {
  padding: 3px 16px;
  font-size: 11px;
  cursor: default;
}

/* ---- Form panel ---- */
.form-panel {
  flex: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.form-sections {
  flex: 1;
  overflow-y: auto;
  padding: 8px 12px;
}

.form-fieldset {
  margin-bottom: 8px;
  border: 1px solid var(--sz-color-button-shadow);
  background: var(--sz-color-window);
}

.form-fieldset-header {
  display: flex;
  align-items: center;
  padding: 4px 8px;
  background: var(--sz-color-button-face);
  cursor: default;
  user-select: none;
  font-size: 11px;
  font-weight: bold;
  color: var(--sz-color-button-text);
}

.form-fieldset-header .toggle-arrow {
  margin-right: 4px;
  font-size: 9px;
}

.form-fieldset-header .required-badge {
  margin-left: auto;
  font-size: 9px;
  color: var(--sz-color-gray-text);
  font-weight: normal;
}

.form-fieldset-body {
  padding: 8px;
}

.form-fieldset.collapsed .form-fieldset-body {
  display: none;
}

.form-fieldset.collapsed .toggle-arrow {
  transform: rotate(-90deg);
}

/* ---- Field editors ---- */
.field-editor input[type="text"],
.field-editor textarea,
.field-editor select {
  width: 100%;
  font-family: Tahoma, Verdana, sans-serif;
  font-size: 11px;
  padding: 3px 4px;
  border: 1px solid var(--sz-color-button-shadow);
  background: var(--sz-color-window);
  color: var(--sz-color-window-text);
}

.field-editor textarea {
  font-family: Consolas, monospace;
  resize: vertical;
  min-height: 60px;
}

.field-editor .code-lang-row {
  display: flex;
  gap: 4px;
  margin-bottom: 4px;
  align-items: center;
}

.field-editor .code-lang-row label {
  font-size: 10px;
  color: var(--sz-color-gray-text);
}

.field-editor .code-lang-row select {
  width: auto;
  max-width: 120px;
}

/* List editor */
.list-editor .list-item-row {
  display: flex;
  gap: 4px;
  margin-bottom: 3px;
  align-items: center;
}

.list-editor .list-item-row input {
  flex: 1;
}

.list-editor .list-item-row button {
  padding: 1px 6px;
  font-size: 10px;
  cursor: default;
  flex-shrink: 0;
}

.list-editor .list-add {
  font-size: 10px;
  cursor: default;
  margin-top: 3px;
}

/* Checklist editor */
.checklist-editor .checklist-item-row {
  display: flex;
  gap: 4px;
  margin-bottom: 3px;
  align-items: center;
}

.checklist-editor .checklist-item-row input[type="checkbox"] {
  width: auto;
  flex-shrink: 0;
}

.checklist-editor .checklist-item-row input[type="text"] {
  flex: 1;
}

/* Tags editor */
.tags-editor .tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  margin-bottom: 4px;
  min-height: 24px;
  padding: 3px;
  border: 1px solid var(--sz-color-button-shadow);
  background: var(--sz-color-window);
}

.tags-editor .tag {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 1px 6px;
  background: var(--sz-color-highlight);
  color: var(--sz-color-highlight-text);
  font-size: 10px;
  cursor: default;
  user-select: none;
}

.tags-editor .tag .tag-remove {
  cursor: pointer;
  font-size: 9px;
  opacity: 0.7;
}

.tags-editor .tag .tag-remove:hover {
  opacity: 1;
}

.tags-editor .tag-input-row {
  display: flex;
  gap: 4px;
}

.tags-editor .tag-input-row input {
  flex: 1;
}

/* Table editor */
.table-editor table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 4px;
}

.table-editor th,
.table-editor td {
  border: 1px solid var(--sz-color-button-shadow);
  padding: 2px;
}

.table-editor th {
  background: var(--sz-color-button-face);
}

.table-editor input {
  border: none;
  width: 100%;
  font-size: 10px;
  padding: 2px;
  background: transparent;
  color: inherit;
}

.table-editor .table-controls {
  display: flex;
  gap: 4px;
  font-size: 10px;
}

.table-editor .table-controls button {
  font-size: 10px;
  cursor: default;
  padding: 1px 6px;
}

/* Author fields */
.author-editor .author-row {
  display: flex;
  gap: 4px;
  margin-bottom: 4px;
  align-items: center;
}

.author-editor .author-row label {
  width: 60px;
  font-size: 10px;
  color: var(--sz-color-gray-text);
  flex-shrink: 0;
}

.author-editor .author-row input {
  flex: 1;
}

/* License selector */
.license-editor select {
  margin-bottom: 4px;
}

.license-editor .license-custom {
  display: none;
}

.license-editor .license-custom.visible {
  display: block;
}

/* Badges editor */
.badges-editor .badge-section {
  margin-bottom: 8px;
}

.badges-editor .badge-section-header {
  font-size: 9px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--sz-color-gray-text);
  border-bottom: 1px solid var(--sz-color-button-shadow);
  padding-bottom: 2px;
  margin-bottom: 4px;
}

.badges-editor .badge-repo-context {
  display: flex;
  gap: 4px;
  margin-bottom: 4px;
}

.badges-editor .badge-repo-context input {
  flex: 1;
  min-width: 0;
}

/* Category groups */
.badges-editor .badge-category {
  margin-bottom: 6px;
}

.badges-editor .badge-category-header {
  font-size: 9px;
  color: var(--sz-color-gray-text);
  margin-bottom: 2px;
}

.badges-editor .badge-category-items {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
}

/* Preset toggle buttons */
.badges-editor .badge-preset-btn {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px 7px;
  font-size: 10px;
  font-family: Tahoma, Verdana, sans-serif;
  cursor: default;
  border: 1px solid var(--sz-color-button-shadow);
  background: var(--sz-color-window);
  color: var(--sz-color-window-text);
  white-space: nowrap;
  border-radius: 8px;
  user-select: none;
}

.badges-editor .badge-preset-btn:hover {
  border-color: var(--sz-color-highlight);
}

.badges-editor .badge-preset-btn.selected {
  background: var(--sz-color-highlight);
  color: var(--sz-color-highlight-text);
  border-color: var(--sz-color-highlight);
}

/* Badge builder panel */
.badges-editor .badge-builder {
  border: 1px solid var(--sz-color-button-shadow);
  background: var(--sz-color-window);
  padding: 6px;
}

.badges-editor .badge-builder-preview {
  text-align: center;
  min-height: 24px;
  margin-bottom: 6px;
  padding: 4px;
  background: var(--sz-color-button-face);
  border: 1px solid var(--sz-color-button-shadow);
}

.badges-editor .badge-builder-preview img {
  max-height: 28px;
  vertical-align: middle;
}

.badges-editor .badge-builder-row {
  display: flex;
  gap: 4px;
  margin-bottom: 4px;
  align-items: center;
}

.badges-editor .badge-builder-row > label {
  width: 68px;
  font-size: 10px;
  color: var(--sz-color-gray-text);
  flex-shrink: 0;
}

.badges-editor .badge-builder-row > input,
.badges-editor .badge-builder-row > select {
  flex: 1;
  min-width: 0;
}

.badges-editor .badge-builder-color-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.badges-editor .color-palette {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
}

.badges-editor .color-swatch {
  width: 14px;
  height: 14px;
  border: 1px solid var(--sz-color-button-shadow);
  cursor: default;
  flex-shrink: 0;
}

.badges-editor .color-swatch:hover {
  outline: 1px solid var(--sz-color-window-text);
  outline-offset: 0px;
}

.badges-editor .color-swatch.selected {
  outline: 2px solid var(--sz-color-window-text);
  outline-offset: 0px;
}

.badges-editor .badge-builder-actions {
  justify-content: flex-end;
  margin-top: 2px;
}

.badges-editor .badge-builder-actions button {
  padding: 2px 14px;
  font-size: 10px;
  cursor: default;
}

/* Logo autocomplete */
.badges-editor .badge-builder-logo-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  position: relative;
}

.badges-editor .badge-logo-input {
  width: 100%;
  font-family: Tahoma, Verdana, sans-serif;
  font-size: 11px;
  padding: 3px 4px;
  border: 1px solid var(--sz-color-button-shadow);
  background: var(--sz-color-window);
  color: var(--sz-color-window-text);
}

.badges-editor .badge-logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(28px, 1fr));
  gap: 2px;
  max-height: 96px;
  overflow-y: auto;
  border: 1px solid var(--sz-color-button-shadow);
  padding: 2px;
  background: var(--sz-color-window);
}

.badges-editor .badge-logo-tile {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  cursor: default;
  user-select: none;
}

.badges-editor .badge-logo-tile:hover {
  border-color: var(--sz-color-highlight);
  background: var(--sz-color-button-highlight);
}

.badges-editor .badge-logo-tile.selected {
  border-color: var(--sz-color-highlight);
  background: var(--sz-color-highlight);
}

.badges-editor .badge-logo-tile.selected img {
  filter: brightness(10);
}

.badges-editor .badge-logo-letter {
  font-size: 12px;
  font-weight: bold;
  color: var(--sz-color-gray-text);
  line-height: 1;
}

.badges-editor .badge-logo-hover-name {
  font-size: 9px;
  color: var(--sz-color-gray-text);
  font-style: italic;
  min-height: 12px;
}

/* Color input row (input + pick button) */
.badges-editor .badge-color-input-row {
  display: flex;
  gap: 2px;
  align-items: center;
}

.badges-editor .badge-color-input-row input {
  flex: 1;
  min-width: 0;
}

.badges-editor .badge-color-pick-btn {
  padding: 2px 6px;
  font-size: 10px;
  cursor: default;
  flex-shrink: 0;
  line-height: 1;
}

/* Active badges list */
.badges-editor .badge-list {
  min-height: 24px;
}

.badges-editor .badge-list-empty {
  font-size: 10px;
  font-style: italic;
  color: var(--sz-color-gray-text);
  padding: 4px 0;
}

.badges-editor .badge-list-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 3px;
  border-bottom: 1px solid var(--sz-color-button-shadow);
}

.badges-editor .badge-list-item:last-child {
  border-bottom: none;
}

.badges-editor .badge-list-main-row {
  display: flex;
  align-items: center;
  gap: 4px;
}

.badges-editor .badge-list-main-row > img {
  max-height: 18px;
  flex-shrink: 0;
}

.badges-editor .badge-list-label {
  flex: 1;
  font-size: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.badges-editor .badge-list-controls {
  display: flex;
  gap: 2px;
  flex-shrink: 0;
}

.badges-editor .badge-list-controls button {
  padding: 0 4px;
  font-size: 9px;
  cursor: default;
  line-height: 16px;
}

/* Badge override fields */
.badges-editor .badge-list-overrides {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding-left: 22px;
}

.badges-editor .badge-override-field {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 9px;
  color: var(--sz-color-gray-text);
}

.badges-editor .badge-override-field input {
  width: 80px;
  font-family: Tahoma, Verdana, sans-serif;
  font-size: 9px;
  padding: 1px 3px;
  border: 1px solid var(--sz-color-button-shadow);
  background: var(--sz-color-window);
  color: var(--sz-color-window-text);
}

/* Images editor */
.images-editor .image-row {
  display: flex;
  gap: 4px;
  margin-bottom: 3px;
  align-items: center;
}

.images-editor .image-row input {
  flex: 1;
}

.images-editor .image-row input:first-of-type {
  flex: 2;
}

/* Template selector (wizard step 0) */
.template-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 8px;
}

.template-card {
  border: 2px solid var(--sz-color-button-shadow);
  padding: 10px;
  cursor: default;
  background: var(--sz-color-window);
}

.template-card:hover {
  border-color: var(--sz-color-highlight);
}

.template-card.selected {
  border-color: var(--sz-color-highlight);
  background: var(--sz-color-highlight);
  color: var(--sz-color-highlight-text);
}

.template-card-name {
  font-weight: bold;
  font-size: 12px;
  margin-bottom: 4px;
}

.template-card-desc {
  font-size: 10px;
  opacity: 0.8;
}

.template-card-count {
  font-size: 9px;
  margin-top: 4px;
  opacity: 0.6;
}

/* ---- Status bar ---- */
.status-bar {
  display: flex;
  align-items: center;
  padding: 2px 8px;
  background: var(--sz-color-button-face);
  border-top: 1px solid var(--sz-color-button-shadow);
  font-size: 11px;
  color: var(--sz-color-button-text);
  flex-shrink: 0;
  user-select: none;
  gap: 12px;
  min-height: 20px;
}

.status-bar .status-section {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.status-quality {
  font-weight: bold;
}

.status-quality.good { color: #2e7d32; }
.status-quality.ok { color: #e65100; }
.status-quality.poor { color: #c00; }

.status-bar.hidden {
  display: none;
}

.status-lines {
  flex: 1;
  text-align: right;
  color: var(--sz-color-gray-text);
}

/* ---- Copy tooltip ---- */
.copy-tooltip {
  position: fixed;
  background: var(--sz-color-window-text);
  color: var(--sz-color-window);
  padding: 3px 8px;
  font-size: 10px;
  border-radius: 3px;
  pointer-events: none;
  z-index: 3000;
  opacity: 0;
  transition: opacity 0.15s;
}

.copy-tooltip.visible {
  opacity: 1;
}

/* ---- Dialogs ---- */
.dialog-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.3);
  z-index: 2000;
  justify-content: center;
  align-items: center;
}

.dialog-overlay.visible {
  display: flex;
}

.dialog {
  background: var(--sz-color-button-face);
  border: 2px outset var(--sz-color-button-highlight);
  min-width: 300px;
  max-width: 400px;
  box-shadow: 3px 3px 8px rgba(0,0,0,0.3);
}

.dialog-title {
  background: var(--sz-color-highlight);
  color: var(--sz-color-highlight-text);
  padding: 4px 8px;
  font-weight: bold;
  font-size: 11px;
  user-select: none;
}

.dialog-body {
  padding: 12px;
  font-size: 11px;
}

.dialog-body p {
  margin-bottom: 8px;
}

.dialog-buttons {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 8px 12px;
}

.dialog-buttons button {
  min-width: 72px;
  padding: 3px 12px;
  font-size: 11px;
  cursor: default;
}

/* ---- Template editor specifics ---- */
.tpl-editor-toolbar {
  display: flex;
  gap: 4px;
  margin-bottom: 8px;
  align-items: center;
}

.tpl-editor-toolbar select {
  flex: 1;
  font-size: 11px;
}

.tpl-editor-toolbar button {
  font-size: 10px;
  padding: 2px 8px;
  cursor: default;
}

.tpl-field-row {
  display: flex;
  gap: 4px;
  margin-bottom: 4px;
  align-items: center;
}

.tpl-field-row label {
  width: 80px;
  font-size: 10px;
  flex-shrink: 0;
}

.tpl-field-row input {
  flex: 1;
  font-size: 11px;
  padding: 2px 4px;
}

.tpl-sections-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 8px 0 4px;
  font-size: 11px;
  font-weight: bold;
}

.tpl-sections-header button {
  font-size: 10px;
  padding: 1px 6px;
  cursor: default;
}

.tpl-section-row {
  display: flex;
  gap: 4px;
  margin-bottom: 3px;
  align-items: center;
  padding: 2px 4px;
  background: var(--sz-color-window);
  border: 1px solid var(--sz-color-button-shadow);
}

.tpl-section-row .drag-handle {
  cursor: grab;
  font-size: 12px;
  opacity: 0.5;
  flex-shrink: 0;
}

.tpl-section-row input[type="text"] {
  flex: 1;
  font-size: 10px;
  padding: 1px 3px;
}

.tpl-section-row select {
  font-size: 10px;
  width: 80px;
}

.tpl-section-row label {
  font-size: 10px;
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
}

.tpl-section-row button {
  font-size: 10px;
  padding: 0 4px;
  cursor: default;
  flex-shrink: 0;
}
