  /* entry bar */
  .tpl-entry-bar { display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
  .tpl-entry-tab { padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 620; color: var(--muted); background: rgba(255,255,255,.055); border: 1px solid var(--border); transition: .15s; }
  .tpl-entry-tab:hover { color: var(--fg); border-color: var(--border-strong); }
  .tpl-entry-tab.sel { color: var(--fg); background: color-mix(in oklch, var(--accent) 13%, transparent); border-color: color-mix(in oklch, var(--accent) 38%, transparent); }

  /* template layout: category list + template list */
  .tpl-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 0; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.042)); box-shadow: var(--shadow); }
  .tpl-category-sidebar { min-width: 0; border-right: 1px solid var(--border); }
  #tpl-list { min-width: 0; }
  .tpl-col { padding: 16px; }
  .tpl-col-head { font-size: 11px; font-weight: 650; color: var(--subtle); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 12px; padding: 0; }
  .tpl-row-btn { display: flex; align-items: center; width: 100%; padding: 6px 10px; border-radius: var(--radius-sm); font-size: 13px; color: var(--muted); text-align: left; gap: 6px; transition: .12s; font-weight: 510; }
  .tpl-row-btn:hover { background: rgba(255,255,255,.05); color: var(--fg); }
  .tpl-row-btn.sel { color: var(--fg); background: rgba(255,255,255,.08); }
  .tpl-row-btn .badge { margin-left: auto; font-size: 11px; color: var(--subtle); font-family: var(--font-mono); }
  .tpl-col-actions { padding: 10px 8px 0; display: flex; gap: 4px; }
  .category-inline-create-toggle { width: 22px; height: 22px; display: grid; place-items: center; border: 0; border-radius: 6px; color: var(--muted); font-size: 18px; line-height: 1; cursor: pointer; }
  .category-inline-create-toggle:hover, .category-inline-create-toggle:focus-visible { background: rgba(255,255,255,.08); color: var(--fg); outline: none; }
  .category-inline-create-form { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 5px; padding: 4px 0 8px; }
  .category-inline-create-form input { min-width: 0; height: 30px; border: 1px solid var(--border); border-radius: 6px; padding: 0 8px; background: rgba(255,255,255,.045); color: var(--fg); font: inherit; font-size: 12px; }
  .category-inline-create-form input:focus { border-color: color-mix(in oklch, var(--accent) 64%, transparent); outline: none; }
  .category-inline-list { display: grid; gap: 2px; max-height: min(60vh, 480px); overflow-y: auto; padding-right: 2px; }
  .category-inline-all-wrap { margin-bottom: 2px; }
  .category-inline-row { min-height: 36px; display: grid; grid-template-columns: minmax(0, 1fr) 24px; align-items: center; gap: 3px; border-radius: var(--radius-sm); }
  .entry-inline-row { min-height: 38px; grid-template-columns: 30px minmax(0, 1fr) 24px; }
    .entry-drag-handle { display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 1px solid transparent; border-radius: 6px; color: var(--muted); font-size: 16px; font-weight: 300; line-height: 1; cursor: grab; touch-action: none; user-select: none; }
    .entry-drag-handle:hover, .entry-drag-handle:focus-visible { color: var(--fg); border-color: var(--border-strong); background: rgba(255,255,255,.065); outline: none; }
    body.entry-row-sorting { cursor: grabbing; user-select: none; }
    body.entry-row-sorting .entry-drag-handle { cursor: grabbing; }
  .entry-inline-row.is-hidden .category-inline-select { color: var(--subtle); opacity: .72; }
  .category-inline-row:hover { background: transparent; }
  .category-inline-row.is-hidden .category-inline-select { color: var(--subtle); opacity: .72; }
  .category-inline-row.is-hidden .category-inline-hidden-label { color: var(--subtle); }
  .category-inline-content { min-width: 0; display: flex; align-items: center; gap: 6px; }
  .category-inline-content .tpl-row-btn { min-width: 0; white-space: nowrap; }
  .category-inline-content .category-inline-select, .category-inline-all { background: transparent; white-space: nowrap; }
  .category-inline-content .category-inline-select:hover, .category-inline-content .category-inline-select:focus-visible, .category-inline-all:hover, .category-inline-all:focus-visible { background: transparent; }
  .category-inline-content .category-inline-select.sel, .category-inline-all.sel { color: var(--fg); font-weight: 650; }
  .category-inline-hidden-label { flex: 0 0 auto; color: var(--muted); font-size: 10px; }
  .category-inline-rename-form { min-width: 0; width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px; }
  .category-inline-rename-form input { grid-column: 1 / -1; }
  .category-inline-rename-form input { min-width: 0; height: 30px; border: 1px solid var(--border); border-radius: 6px; padding: 0 8px; background: rgba(255,255,255,.045); color: var(--fg); font: inherit; font-size: 12px; }
  .category-inline-rename-form input:focus { border-color: color-mix(in oklch, var(--accent) 64%, transparent); outline: none; }
  .category-inline-row .row-act-wrap { margin-left: 0; }
  .category-inline-row .row-act-trigger { width: 24px; height: 28px; color: var(--muted); font-size: 18px; }
  .category-inline-row .row-drop { position: fixed; z-index: 20000; top: auto; right: auto; min-width: 108px; margin-top: 0; }
  .category-inline-row .category-inline-content > .tpl-row-btn { padding-left: 5px; padding-right: 5px; }

  /* row action menu */
  .row-act-wrap { position: relative; margin-left: auto; flex-shrink: 0; }
  .row-act-trigger { display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 6px; font-size: 14px; color: var(--subtle); cursor: pointer; }
  .row-act-trigger:hover { background: rgba(255,255,255,.08); color: var(--fg); }
  .row-drop { position: absolute; right: 0; top: 100%; z-index: 999; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 8px 32px rgba(0,0,0,.5); padding: 4px; min-width: 120px; display: none; margin-top: 4px; }
  .row-drop.open { display: block; }
  .row-drop-item { display: flex; align-items: center; gap: 6px; padding: 7px 10px; border-radius: var(--radius-sm); font-size: 13px; color: var(--fg); cursor: pointer; white-space: nowrap; }
  .row-drop-item:hover { background: rgba(255,255,255,.06); }
  .row-drop-item.danger { color: var(--danger); }

  /* template table — div-based grid rows */
  .tpl-toolbar { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; border-bottom: 1px solid var(--border); }
  .tpl-path { font-size: 13px; color: var(--muted); }
  .tpl-path strong { color: var(--fg); font-weight: 600; }
  .tpl-toolbar-create { min-height: 32px; padding: 0 10px; border: 1px solid transparent; border-radius: 8px; background: transparent; color: #fff; font-size: 13px; font-weight: 700; transition: background-color .15s, border-color .15s; }
  .tpl-toolbar-create:hover, .tpl-toolbar-create:focus-visible { border-color: var(--border-strong); background: rgba(255,255,255,.065); outline: none; }
  html.light .tpl-toolbar-create { color: var(--fg); }
  html.light .tpl-toolbar-create:hover, html.light .tpl-toolbar-create:focus-visible { background: rgba(0,0,0,.05); }
  .tpl-table { padding: 16px; overflow-x: auto; }
  .table-head { margin-bottom: 4px; }
  .table-head .tpl-grid { color: var(--subtle); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; font-weight: 650; border: none; background: none; padding: 6px 16px; }
  .table-head .tpl-grid:hover { background: none; border-color: transparent; }
  .tpl-grid { display: grid; grid-template-columns: 34px 60px minmax(100px, 1fr) minmax(190px, 206px); align-items: center; gap: 10px; }
  .tpl-row { min-width: 678px; display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 0; border: 0; border-bottom: 1px solid var(--border); transition: border-color .15s, background .15s; }
  .tpl-row .row-actions { justify-self: end; }
  .tpl-row-preview-name { min-width: 0; display: grid; grid-template-columns: auto minmax(140px, 1fr); align-items: center; gap: 14px; }
  .tpl-row-preview-name .cell-name { min-width: 0; align-self: center; overflow-wrap: anywhere; }
  /* 系列项卡片：单层框，拖动/编辑钉在卡片左上、右上两角，名字居中，展示图 4 格 */
  .style-card {
    position: relative;
    width: 135px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px 10px 10px;
    cursor: default;
  }
  .style-card-head {
    min-height: 22px;
    padding: 0 24px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  #template-editor .style-card .emotion-cat-item-drag {
    position: absolute;
    left: 8px;
    top: 8px;
    transform: none;
  }
  #template-editor .style-card .emotion-cat-item-menu-btn {
    position: absolute;
    right: 8px;
    top: 8px;
    transform: none;
  }
  #template-editor .style-card-head .emotion-cat-item-name {
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .style-card-samples { display: block; width: 100%; }
  .style-card-samples-wide { width: 100%; }
  .style-card-sample {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    overflow: hidden;
    display: grid;
    place-items: center;
    cursor: pointer;
  }
  .style-card-sample img { width: 100%; height: auto; max-height: 100%; object-fit: contain; display: block; }
  .style-card-sample-wide { aspect-ratio: 4 / 1; width: 100%; }
  .style-card-sample-wide img { width: 100%; height: auto; max-height: 100%; object-fit: contain; }
  .style-card-sample.is-empty { border: 1px dashed var(--border-strong); color: var(--muted); font-size: 16px; }
  .style-card-sample.is-empty:hover, .style-card-sample:hover { border-color: var(--accent); }
  .tpl-row:last-child { border-bottom: 0; }
  .tpl-row + .tpl-row { margin-top: 0; }
  .tpl-row:hover { background: rgba(255,255,255,.04); }
  /* 模板信息卡：名称 + 横向缩略图合并在一个圆角框里（同手机端模板卡） */
  .tpl-template-card { display: contents; }
  .tpl-template-card-head { display: none; }
  .tpl-template-card .thumb-cell,
  .tpl-template-card .thumb-cell.thumb-grid-cell,
  .tpl-row-preview-name > .thumb-cell { width: auto; height: 76px; gap: 2px; border: 1px solid var(--border-strong); border-radius: 14px; background: transparent; }
  .tpl-row-preview-name > .thumb-cell:not(.thumb-grid-cell) { width: 76px; }
  .tpl-row-preview-name > .thumb-cell.thumb-cell-wide { width: 304px; }
  .tpl-row-preview-name > .thumb-cell.thumb-grid-cell { width: 304px; }
  .thumb-cell { width: 60px; height: 60px; border-radius: 14px; overflow: hidden; display: grid; place-items: center; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
  .thumb-cell img { width: 100%; height: 100%; object-fit: contain; display: block; }
  .thumb-cell.thumb-grid-cell { display: grid; gap: 1px; width: 240px; height: 60px; background: transparent; place-items: initial; }
  .thumb-cell.thumb-grid-cell img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 0; min-width: 0; }
  .thumb-cell.thumb-grid-cell img.is-broken { visibility: hidden; background: rgba(255,255,255,.04); }
  .cell-name { font-weight: 680; letter-spacing: -.01em; font-size: 14px; }
  .cell-desc { color: var(--muted); font-size: 12px; margin-top: 3px; line-height: 1.4; }
  .cell-mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: 13px; }
  .row-actions { display: flex; gap: 8px; justify-content: space-between; align-items: center; }
  .row-actions .btn { min-width: 58px; }
  .btn:disabled { cursor: not-allowed; opacity: .38; background: rgba(255,255,255,.035); color: var(--subtle); border-color: rgba(255,255,255,.08); box-shadow: none; }
  .btn:disabled:hover { background: rgba(255,255,255,.035); border-color: rgba(255,255,255,.08); }
  .home-featured-toggle { min-width: 0; display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 11px; line-height: 1.25; }
  .home-featured-toggle span { min-width: 0; overflow-wrap: anywhere; }
  .home-featured-toggle-btn { min-height: 26px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: 999px; background: rgba(255,255,255,.065); color: var(--muted); font-size: 11px; font-weight: 600; line-height: 1.2; white-space: nowrap; transition: .15s; }
  .home-featured-toggle-btn:hover:not(:disabled):not(.is-disabled) { background: rgba(255,255,255,.1); border-color: var(--border-strong); color: var(--fg); }
  .home-featured-toggle-btn.is-on { background: linear-gradient(135deg, color-mix(in oklch, var(--accent) 76%, black), var(--accent)); border-color: color-mix(in oklch, var(--accent) 70%, white); color: oklch(13% 0.018 245); font-weight: 650; }
  .home-featured-toggle-btn.is-on:hover:not(:disabled):not(.is-disabled) { background: linear-gradient(135deg, color-mix(in oklch, var(--accent) 66%, black), var(--accent-hover)); }
  html.light .home-featured-toggle-btn.is-on { background: linear-gradient(135deg, var(--accent), oklch(60% 0.16 170)); color: #fff; box-shadow: 0 8px 24px oklch(50% 0.18 170 / 28%); }
  .home-featured-toggle-btn.is-disabled, .home-featured-toggle-btn:disabled { cursor: not-allowed; opacity: .45; background: rgba(255,255,255,.035); color: var(--subtle); border-color: rgba(255,255,255,.08); box-shadow: none; }
  .home-featured-remove { min-height: 24px; padding: 0 8px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: 999px; background: rgba(255,255,255,.065); color: var(--muted); font-size: 11px; font-weight: 600; line-height: 1.2; white-space: nowrap; transition: .15s; }
  .home-featured-remove:hover { background: color-mix(in oklch, var(--danger) 16%, transparent); border-color: color-mix(in oklch, var(--danger) 45%, transparent); color: var(--danger); }
  .tpl-row .tpl-index { font-family: var(--font-mono); font-size: 12px; color: var(--subtle); text-align: center; user-select: none; }
  .tpl-row-drag-handle { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 1px solid transparent; border-radius: 10px; color: #fff; font-size: 18px; font-weight: 800; letter-spacing: -2px; line-height: 1; cursor: grab; touch-action: none; user-select: none; }
  .tpl-row-drag-handle:hover, .tpl-row-drag-handle:focus-visible { color: #fff; border-color: var(--border-strong); background: rgba(255,255,255,.065); outline: none; }
  body.tpl-row-sorting { cursor: grabbing; user-select: none; }
  body.tpl-row-sorting .tpl-row-drag-handle { cursor: grabbing; }
  .tpl-row.tpl-row-sort-placeholder { border-color: color-mix(in oklch, var(--accent) 58%, transparent); background: color-mix(in oklch, var(--accent) 9%, transparent); }
  .tpl-row.tpl-row-sort-placeholder > * { visibility: hidden; }
  .tpl-row-drag-ghost { position: fixed; z-index: 10000; margin: 0; pointer-events: none; background: var(--surface); border-color: color-mix(in oklch, var(--accent) 72%, transparent); box-shadow: 0 18px 52px rgba(0,0,0,.42); opacity: .96; }
  .home-featured-list { display: grid; gap: 3px; }
  .home-featured-row { min-width: 0; min-height: 42px; display: grid; grid-template-columns: 24px 34px minmax(0, 1fr) 46px; align-items: center; gap: 7px; padding: 4px 3px; border: 1px solid transparent; border-radius: var(--radius-sm); }
  .home-featured-row:hover { border-color: var(--border); background: rgba(255,255,255,.04); }
  .home-featured-row strong { min-width: 0; overflow: hidden; color: var(--fg); font-size: 12px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
  .home-featured-thumb { width: 34px; height: 34px; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--border); border-radius: 7px; background: rgba(255,255,255,.05); }
  .home-featured-thumb img { width: 100%; height: 100%; display: block; object-fit: contain; }
  .home-featured-drag-handle { width: 24px; height: 32px; display: grid; place-items: center; padding: 0; border: 1px solid transparent; border-radius: 6px; color: #fff; font-size: 14px; font-weight: 800; line-height: 1; cursor: grab; touch-action: none; user-select: none; }
  .home-featured-drag-handle:hover, .home-featured-drag-handle:focus-visible { border-color: var(--border-strong); background: rgba(255,255,255,.065); color: #fff; outline: none; }
  .home-featured-empty { padding: 5px 8px; color: var(--muted); font-size: 12px; line-height: 1.5; }
  body.home-featured-sorting { cursor: grabbing; user-select: none; }
  body.home-featured-sorting .home-featured-drag-handle { cursor: grabbing; }
  .home-featured-sort-placeholder { border-color: color-mix(in oklch, var(--accent) 58%, transparent); background: color-mix(in oklch, var(--accent) 9%, transparent); }
  .home-featured-sort-placeholder > * { visibility: hidden; }
  .home-featured-drag-ghost { position: fixed; z-index: 13000; margin: 0; pointer-events: none; border-color: color-mix(in oklch, var(--accent) 72%, transparent); background: var(--surface); box-shadow: 0 18px 52px rgba(0,0,0,.42); opacity: .96; }
  .tpl-add-row { display: block; padding: 0 16px; border: none; }
  .tpl-add-row:hover { background: none; border-color: transparent; }
  .tpl-add-btn { width: 100%; min-height: 44px; padding: 10px; border: 1px dashed var(--border-strong); border-radius: var(--radius); background: transparent; color: var(--fg); font-size: 13px; font-weight: 650; transition: .15s; display: flex; align-items: center; justify-content: center; }
  .tpl-add-btn:hover { border-color: var(--accent); background: color-mix(in oklch, var(--accent) 8%, transparent); }

  /* category management dialog */
  .tpl-col-head-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; letter-spacing: 0; text-transform: none; }
  .category-manage-trigger { flex: 0 0 auto; border: 0; background: transparent; color: var(--accent); font-size: 11px; font-weight: 650; cursor: pointer; }
  .category-manage-trigger:hover, .category-manage-trigger:focus-visible { color: var(--fg); outline: none; }
  .category-dialog-overlay { position: fixed; inset: 0; z-index: 12000; display: none; place-items: center; padding: 24px; background: rgba(0,0,0,.58); backdrop-filter: blur(8px); }
  .category-dialog-overlay.open { display: grid; }
  .category-dialog { width: min(760px, calc(100vw - 32px)); max-height: min(760px, calc(100vh - 48px)); overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--border-strong); border-radius: 8px; background: var(--surface); box-shadow: 0 24px 80px rgba(0,0,0,.52); }
  .category-dialog-header { min-height: 76px; padding: 20px 22px; display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; border-bottom: 1px solid var(--border); }
  .category-dialog-header h2 { margin: 0; color: var(--fg); font-size: 19px; letter-spacing: 0; }
  .category-dialog-header p { margin: 6px 0 0; color: var(--muted); font-size: 12px; }
  .category-dialog-close { width: 34px; height: 34px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid transparent; border-radius: 6px; color: var(--muted); font-size: 24px; line-height: 1; cursor: pointer; }
  .category-dialog-close:hover, .category-dialog-close:focus-visible { border-color: var(--border); background: rgba(255,255,255,.06); color: var(--fg); outline: none; }
  .category-module-tabs { padding: 14px 22px 0; display: flex; gap: 6px; border-bottom: 1px solid var(--border); }
  .category-module-tabs button { min-height: 38px; padding: 0 14px 12px; border-bottom: 2px solid transparent; color: var(--muted); font-size: 13px; font-weight: 620; cursor: pointer; }
  .category-module-tabs button:hover { color: var(--fg); }
  .category-module-tabs button.active { border-color: var(--accent); color: var(--fg); }
  .category-create-form { padding: 16px 22px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; border-bottom: 1px solid var(--border); }
  .category-create-form input, .category-rename-form input { min-width: 0; height: 38px; border: 1px solid var(--border); border-radius: 6px; padding: 0 11px; background: rgba(255,255,255,.045); color: var(--fg); font: inherit; }
  .category-create-form input:focus, .category-rename-form input:focus { border-color: color-mix(in oklch, var(--accent) 64%, transparent); outline: none; }
  .category-list { min-height: 210px; overflow: auto; padding: 10px 14px 16px; }
  .category-list-empty { min-height: 180px; display: grid; place-items: center; color: var(--muted); font-size: 13px; }
  .category-management-row { min-height: 64px; display: grid; grid-template-columns: 38px minmax(150px, 1fr) 72px auto; align-items: center; gap: 12px; padding: 8px; border: 1px solid transparent; border-radius: 7px; }
  .category-management-row + .category-management-row { border-top-color: var(--border); border-radius: 0 0 7px 7px; }
  .category-management-row:hover { background: rgba(255,255,255,.035); }
  .category-management-row.is-hidden .category-row-name strong { color: var(--muted); }
  .category-drag-handle { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid transparent; border-radius: 6px; color: #fff; font-size: 16px; font-weight: 800; letter-spacing: -2px; cursor: grab; touch-action: none; user-select: none; }
  .category-drag-handle:hover, .category-drag-handle:focus-visible { border-color: var(--border); color: #fff; outline: none; }
  .category-row-name { min-width: 0; }
  .category-row-name strong { display: block; overflow: hidden; color: var(--fg); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
  .category-row-name span { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; }
  .category-row-actions { display: flex; justify-content: flex-end; gap: 6px; }
  .category-row-actions .btn.danger { color: var(--danger); }
  .category-rename-form { min-width: 0; display: grid; grid-template-columns: minmax(100px, 1fr) auto auto; gap: 6px; }
  body.category-row-sorting { cursor: grabbing; user-select: none; }
  .category-row-sort-placeholder { border-color: color-mix(in oklch, var(--accent) 58%, transparent); background: color-mix(in oklch, var(--accent) 9%, transparent); }
  .category-row-sort-placeholder > * { visibility: hidden; }
  .category-row-drag-ghost { position: fixed; z-index: 13000; margin: 0; pointer-events: none; border-color: color-mix(in oklch, var(--accent) 72%, transparent); background: var(--surface); box-shadow: 0 18px 52px rgba(0,0,0,.42); opacity: .96; }


  @media (max-width: 720px) {
    .tpl-layout { grid-template-columns: 1fr; }
    .tpl-category-sidebar { border-right: 0; border-bottom: 1px solid var(--border); }
    .category-dialog-overlay { padding: 12px; }
    .category-dialog { width: calc(100vw - 24px); max-height: calc(100vh - 24px); }
    .category-dialog-header, .category-create-form { padding-left: 16px; padding-right: 16px; }
    .category-module-tabs { padding-left: 10px; padding-right: 10px; overflow-x: auto; }
    .category-management-row { grid-template-columns: 32px minmax(110px, 1fr) 68px; }
    .category-row-actions { grid-column: 2 / -1; justify-content: flex-start; }
  }
