/* Admin workspace refinement. Loaded after the legacy admin layers.
   data-density also keeps the final workspace cascade above older theme rules. */
html body #app .shell.workspace-shell .main[class].page-admin {
  --admin-ink: #253449;
  --admin-muted: #6e7b8f;
  --admin-line: #e4e9f1;
  --admin-accent: #365d9e;
  --admin-soft: #f1f5fb;
  --admin-field: #d7dfe9;
  width: 100%;
  min-width: 0;
  max-width: none;
  padding: 22px clamp(16px, 2.3vw, 36px) 36px;
  background: #f4f6fa;
}
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density]:not(.admin-review-only) {
  grid-template-columns: 208px minmax(0, 1fr);
  gap: 22px;
  font-size: 13px;
  line-height: 1.65;
}
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-sidebar {
  padding: 12px 10px;
  border: 1px solid var(--admin-line);
  border-radius: 10px;
  background: #fff;
  box-shadow: none;
  scrollbar-width: thin;
}
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-sidebar-heading { padding: 4px 8px 14px; border-bottom: 1px solid var(--admin-line); }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-sidebar-heading h2 { font-size: 15px; font-weight: 650; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-sidebar-mark { width: 30px; height: 30px; border-radius: 6px; background: #edf2fa; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-nav-group { margin-top: 15px; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-nav-group-title { margin: 0 10px 6px; color: #8491a2; font-size: 11px; letter-spacing: .04em; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-nav-item { min-height: 40px; margin-top: 3px; padding: 9px 10px; gap: 10px; border-radius: 6px; font-size: 13px; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-nav-item:hover { background: #f5f7fb; color: var(--admin-ink); }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-nav-item[aria-current="page"] { background: #eaf0fb; color: var(--admin-accent); font-weight: 650; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-nav-item.active::after { top: 11px; bottom: 11px; left: 0; width: 3px; border-radius: 0 2px 2px 0; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-nav-badge { border-radius: 4px; font-size: 10px; background: #f2f5fa; color: #657793; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] > .admin-workspace { min-width: 0; padding: 24px; border: 1px solid var(--admin-line); border-radius: 10px; background: #fff; box-shadow: none; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-main-panel { padding: 0; border: 0; background: transparent; box-shadow: none; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-module-heading { align-items: center; gap: 20px; margin: 0 0 22px; padding: 0 0 20px; border-bottom: 1px solid var(--admin-line); }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-module-heading h1 { margin: 0; color: var(--admin-ink); font-size: 24px; font-weight: 650; letter-spacing: -.025em; line-height: 1.4; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-module-heading h1 .icon { width: 22px; height: 22px; color: var(--admin-accent); }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-module-heading p { margin: 6px 0 0; color: var(--admin-muted); font-size: 13px; line-height: 1.65; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-module-eyebrow { margin-bottom: 5px; color: #8a95a6; font-size: 11px; letter-spacing: .03em; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] :is(.admin-section-heading, .admin-detail-title) { align-items: flex-start; gap: 14px; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-section-heading h2 { font-size: 17px; font-weight: 650; color: var(--admin-ink); }

/* Quiet controls with distinct primary actions and keyboard-only focus. */
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-button { min-height: 38px; margin: 0; padding: 8px 13px; border: 1px solid var(--admin-field); border-radius: 6px; background: #fff; color: #455670; font-family: inherit; font-size: 12px; font-weight: 550; line-height: 1.5; box-shadow: none !important; transform: none !important; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-button .icon { width: 15px; height: 15px; flex: none; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-button:not(:disabled):is(:hover, :active) { background: #f3f6fb; border-color: #b7c6dc; color: #284f87; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-button.primary { background: var(--admin-accent); border-color: var(--admin-accent); color: #fff; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-button.primary:not(:disabled):is(:hover, :active) { background: #2a4d85; border-color: #2a4d85; color: #fff; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-button.danger { background: #fff; border-color: #e6ccd2; color: #a74455; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-button.danger:not(:disabled):is(:hover, :active) { background: #fff4f6; border-color: #d8aab5; color: #943445; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-button:disabled { background: #f4f6f8; border-color: #e4e8ef; color: #98a2b2; cursor: not-allowed; opacity: 1; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-button.primary:disabled { background: #e9eef7; border-color: #e0e7f1; color: #8495b1; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] :is(button, a, input, textarea, select, summary, .hb-select-trigger):focus-visible { outline: 2px solid #7190c1 !important; outline-offset: 2px; box-shadow: none !important; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] :is(button, a, summary):focus:not(:focus-visible) { outline: none; }

/* Search, data tools and record counts form three stable layers. */
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-list-toolbar { display: block; margin: 0; padding: 0; border: 0; background: transparent; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-toolbar { display: grid; grid-template-columns: minmax(180px, 1fr) minmax(130px, 170px) auto; align-items: center; gap: 10px; width: 100%; margin: 0; padding: 14px; border: 0; border-radius: 8px; background: #f6f8fb; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-toolbar-simple { grid-template-columns: minmax(180px, 1fr) auto; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-toolbar > * { grid-row: auto !important; grid-column: auto !important; width: auto; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-toolbar > label.admin-search { grid-column: 1 !important; grid-row: 1 !important; padding-right: 62px; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] :is(.admin-search, .admin-search:focus-within) { display: flex; align-items: center; gap: 9px; min-width: 0; height: 40px; min-height: 40px; margin: 0; padding: 0 12px; border: 1px solid var(--admin-field) !important; border-radius: 6px; background: #fff !important; color: #8a97a9; outline: none !important; box-shadow: none !important; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-search .icon { width: 16px; height: 16px; flex: none; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-toolbar .admin-search input,
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-toolbar .admin-search input:is(:focus, :focus-visible) { flex: 1; min-width: 0; width: 100%; height: 38px; min-height: 38px; margin: 0; padding: 8px 0; border: 0 !important; border-radius: 0 !important; outline: none !important; background: transparent !important; color: var(--admin-ink); font-size: 13px; line-height: 1.5; box-shadow: none !important; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-search input::placeholder { color: #95a0af; opacity: 1; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-toolbar > .admin-search-clear { display: inline-grid; grid-column: 1 !important; grid-row: 1 !important; justify-self: end; align-self: center; z-index: 1; place-items: center; flex: none; width: 44px; height: 30px; min-width: 44px; min-height: 30px; margin: 0 6px 0 0; padding: 0 5px; border: 0; border-radius: 4px; background: transparent; color: #7e8ca0; font: inherit; font-size: 11px; line-height: 1; cursor: pointer; box-shadow: none; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-search-clear:hover { background: #eef2f7; color: #425b80; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-toolbar > .admin-search-clear[hidden] { display: none; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-filter-label { min-width: 0; margin: 0; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-filter-label :is(select, .hb-select-trigger) { min-width: 0; width: 100%; height: 40px; min-height: 40px; padding-block: 8px; border: 1px solid var(--admin-field); border-radius: 6px; background: #fff; color: #4c5e78; font-size: 13px; box-shadow: none; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-toolbar > .admin-button { min-height: 40px; padding-inline: 18px; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-table-tools { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; width: 100%; margin: 16px 0 0; padding: 0; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] :is(.admin-table-tools-left, .admin-table-tools-right) { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; min-width: 0; margin: 0; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-table-tools-right { margin-left: auto; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-table-caption { color: #4c5f7c; font-size: 13px; font-weight: 650; line-height: 1.5; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-density-control { display: inline-flex; align-items: center; gap: 2px; min-width: 0; padding: 3px; border: 1px solid var(--admin-line); border-radius: 6px; background: #f5f7fa; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-density-control button { min-width: 50px; min-height: 30px; margin: 0; padding: 5px 10px; border: 0; border-radius: 4px; background: transparent; color: #78869b; font: inherit; font-size: 12px; line-height: 1.5; cursor: pointer; box-shadow: none; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-density-control button[aria-pressed="true"] { background: #fff; color: var(--admin-accent); font-weight: 650; box-shadow: 0 1px 3px rgb(42 61 89 / 8%); }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-density-control button:disabled { color: #9ca7b6; cursor: not-allowed; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-list-meta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin: 15px 0 12px; color: var(--admin-muted); font-size: 12px; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-row-count { color: #738096; font-size: 12px; font-variant-numeric: tabular-nums; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-active-filters { gap: 7px; margin: 0; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-filter-chip { max-width: 100%; padding: 4px 9px; border: 1px solid #e0e7f2; border-radius: 4px; background: #f3f6fc; color: #587096; overflow-wrap: anywhere; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-active-filters .admin-button { min-height: 28px; padding: 4px 7px; border-color: transparent; background: transparent; color: var(--admin-accent); font-size: 11px; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-page-size { gap: 8px; color: var(--admin-muted); font-size: 12px; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-page-size select { width: 68px; min-height: 34px; height: 34px; border: 1px solid var(--admin-field); border-radius: 6px; padding: 6px 24px 6px 9px; font-size: 12px; }

/* Column choices stay outside the scrolling table. */
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-column-picker { position: relative; z-index: 12; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-column-menu { position: absolute; top: calc(100% + 8px); right: 0; z-index: 12; width: 230px; min-width: 190px; max-width: min(260px, calc(100vw - 44px)); max-height: min(460px, 65dvh); overflow-y: auto; padding: 12px; border: 1px solid var(--admin-line); border-radius: 8px; background: #fff; box-shadow: 0 10px 30px rgb(32 52 84 / 12%); }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-column-menu label { display: flex; align-items: center; gap: 9px; min-height: 34px; margin: 0; padding: 6px 7px; border-radius: 4px; color: #4b5b73; font-size: 12px; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-column-menu label:hover { background: #f4f7fb; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-column-menu input { flex: none; width: 15px; height: 15px; margin: 0; accent-color: var(--admin-accent); }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] :is(.admin-column-description, .admin-column-count) { margin: 0 0 8px; padding: 0 6px; color: #8390a3; font-size: 11px; line-height: 1.6; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-column-menu > .admin-button { width: 100%; min-height: 34px; margin-top: 8px; }

/* Real tables retain horizontal scrolling; actions remain visible on wide displays. */
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] :is(.admin-table-wrap, .table-scroll) { min-width: 0; max-width: 100%; max-height: none; border: 1px solid var(--admin-line); border-radius: 8px; background: #fff; overflow-x: auto !important; overflow-y: hidden !important; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: #c5cfdf #f6f8fb; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-table { display: table; min-width: 720px; width: 100%; margin: 0; border-collapse: separate; border-spacing: 0; table-layout: auto; background: #fff; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-table[data-resource="users"] { min-width: 1250px; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-user-courses .admin-table { min-width: 680px; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-table thead { display: table-header-group; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-table tbody { display: table-row-group; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-table tr { display: table-row; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-table :is(th, td) { display: table-cell; padding: 14px 16px; vertical-align: middle; color: var(--admin-ink); font-size: 13px; line-height: 1.65; text-align: left; overflow-wrap: anywhere; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-table th { padding-block: 12px; border: 0; border-bottom: 1px solid var(--admin-line); background: #f6f8fb; color: #728098; font-size: 12px; font-weight: 550; white-space: nowrap; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-table td { border: 0; border-bottom: 1px solid #eaf0f6; background: #fff !important; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-table td::before { display: none; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-table tbody > tr:hover:not(.admin-confirm-row) > td { background: #f9fbfe !important; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-table tbody > tr:last-child > td { border-bottom: 0; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-table :is(th, td)[hidden] { display: none !important; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density="compact"] .admin-table :is(th, td) { padding-block: 9px; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-sort { display: inline-flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 24px; width: 100%; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-sort span[aria-hidden] { color: #a4b0c1; font-size: 12px; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] th:is([aria-sort="ascending"], [aria-sort="descending"]) .admin-sort { color: var(--admin-accent); }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-record { max-width: 320px; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-record strong { color: #2c3b50; font-size: 13px; font-weight: 600; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-record span { margin-top: 4px; color: #8a96a7; font-size: 11px; line-height: 1.5; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-number { font-variant-numeric: tabular-nums; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-status { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border: 0; border-radius: 4px; font-size: 11px; line-height: 1.5; white-space: nowrap; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-status-active { background: #ebf6f0; color: #388168; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-status-inactive { background: #f0f3f7; color: #8591a3; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-table td.admin-actions { position: sticky; right: 0; z-index: 2; width: 194px; min-width: 194px; max-width: 230px; box-shadow: -1px 0 0 var(--admin-line); }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-table:has(td.admin-actions) thead th:last-child { position: sticky; right: 0; z-index: 3; min-width: 194px; background: #f6f8fb; box-shadow: -1px 0 0 var(--admin-line); }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-row-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; min-width: 0; max-width: 220px; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-actions .admin-button { min-height: 32px; margin: 0; padding: 5px 9px; border-color: transparent; background: transparent; color: var(--admin-accent); font-size: 12px; white-space: nowrap; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-actions .admin-button.danger { color: #ac5060; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-row-more { min-width: 0; max-width: 100%; margin: 0; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-row-more > summary { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 32px; margin: 0; padding: 5px 8px; border: 1px solid transparent; border-radius: 5px; background: transparent; color: #7b8a9f; font: inherit; font-size: 12px; font-weight: 500; line-height: 1.5; list-style: none; cursor: pointer; white-space: nowrap; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-row-more > summary::-webkit-details-marker { display: none; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-row-more > summary:hover { border-color: #dde5f0; background: #f0f4fa; color: #4d6d9a; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-row-more[open] { flex-basis: 100%; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-row-more[open] > summary { border-color: #dce5f1; background: #f2f6fc; color: var(--admin-accent); }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-row-secondary { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3px; margin: 8px 0 0; padding: 6px; border: 1px solid #e4eaf3; border-radius: 6px; background: #f8fafd; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-row-secondary .admin-button { justify-content: flex-start; min-height: 30px; width: 100%; padding: 5px 8px; text-align: left; white-space: normal; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-row-more:not([open]) > .admin-row-secondary { display: none; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-catalog-state { margin-top: 4px; font-size: 11px; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-pagination { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 0; padding: 18px 0 0; color: #7a879b; font-size: 12px; font-variant-numeric: tabular-nums; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-pagination > div { display: flex; align-items: center; gap: 7px; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-pagination .admin-button { min-height: 34px; padding: 6px 11px; }

/* Explicit feedback does not obscure the current data. */
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] :is(.admin-error, .admin-notice, .admin-loading, .admin-save-status, .admin-form-error-summary) { display: flex; align-items: flex-start; gap: 9px; margin: 0 0 14px; padding: 12px 14px; border: 1px solid #e0e7f2; border-radius: 6px; background: #f4f7fc; color: #5b7196; font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] :is(.admin-error, .admin-form-error-summary) { border-color: #f0d9df; background: #fff7f8; color: #a64659; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-form-error-summary { display: block; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-form-error-summary ul { margin: 7px 0 0; padding-left: 18px; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-form-error-summary button { margin: 0; padding: 2px 0; border: 0; background: transparent; color: #a64659; font: inherit; text-align: left; cursor: pointer; box-shadow: none; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-notice { border-color: #dbece4; background: #f3faf6; color: #3d7e64; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] :is(.admin-loading, .admin-save-status) .icon { width: 16px; height: 16px; margin-top: 2px; flex: none; animation: none !important; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; min-height: 230px; padding: 34px 16px; border: 1px solid var(--admin-line); border-radius: 8px; background: #fbfcfe; color: #8d9aae; text-align: center; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-empty > .icon { width: 30px; height: 30px; color: #a5b3c6; stroke-width: 1.4; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-empty h3 { margin: 0; color: #78879e; font-size: 14px; font-weight: 500; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] :is(.admin-list-notice, .admin-role-guide) { padding: 11px 13px; border: 0; border-radius: 6px; background: #f7f9fc; color: #79889e; font-size: 12px; line-height: 1.7; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-confirm-row > td { padding: 16px; background: #f5f8fd !important; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-confirm { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; border: 0; background: transparent; }

/* Form fields and footer are consistently grouped rather than stacked cards. */
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] :is(.admin-record-editor, .admin-knowledge-editor) { position: relative; margin: 0 0 24px; padding: 20px; border: 1px solid #dce5f1; border-radius: 8px; background: #fcfdff; box-shadow: none; scroll-margin-top: calc(var(--workspace-header-height, 76px) + 18px); }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-record-editor > .admin-section-heading { margin-bottom: 20px; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-editor-meta { display: block; margin: 5px 0 0; padding: 0; border: 0; color: #8792a3; font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-editor-status { color: #8b97a8; font-size: 11px; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-editor-status[data-dirty="true"] { color: var(--admin-accent); }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] :is(.admin-editor-fields, .admin-knowledge-fields, .admin-provider-fields) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 22px; min-width: 0; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] :is(.admin-editor-fields, .admin-knowledge-fields, .admin-provider-fields) > label { display: flex; flex-direction: column; align-items: stretch; gap: 8px; min-width: 0; margin: 0; color: #52617a; font-size: 12px; font-weight: 550; line-height: 1.6; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] :is(.admin-editor-fields, .admin-knowledge-fields) > :is(.wide, .admin-field-note, .admin-subtitle, .admin-editor-warning) { grid-column: 1 / -1; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-knowledge-fields > label.admin-knowledge-editorial { flex-direction: row; align-items: center; gap: 9px; padding-top: 26px; font-weight: 400; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-knowledge-relations-editor { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--admin-line); }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-knowledge-relation-row { gap: 12px; margin: 14px 0; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-knowledge-relation-row > label { display: flex; flex-direction: column; gap: 7px; color: #7b8aa1; font-size: 12px; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] :is(.admin-record-editor, .admin-knowledge-editor, .admin-provider, .admin-model-form, .speech-settings, .maintenance-workspace, .culture-review, .course-quality, .english-review) :is(input:not([type="checkbox"], [type="radio"], [type="range"]), select, textarea, .hb-select-trigger) { min-width: 0; width: 100%; max-width: 100%; min-height: 40px; margin: 0; padding: 10px 12px; border: 1px solid var(--admin-field); border-radius: 6px; background: #fff; color: var(--admin-ink); font-family: inherit; font-size: 13px; font-weight: 400; line-height: 1.6; box-shadow: none; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] :is(.admin-record-editor, .admin-knowledge-editor, .admin-provider, .admin-model-form, .speech-settings) :is(input, textarea):focus { border-color: #9fb4d5; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] :is(.admin-record-editor, .admin-knowledge-editor, .admin-provider, .admin-model-form, .speech-settings) :is(input, select, textarea):disabled { background: #f4f6f9; color: #98a4b5; cursor: not-allowed; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] :is(.admin-record-editor, .admin-provider) :is(input, select, textarea)[readonly] { background: #f5f7fb; color: #75859d; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] :is(.admin-editor-fields, .admin-knowledge-fields) textarea { min-height: 120px; resize: vertical; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] :is(.admin-field-hint, .admin-field-note) { margin: 0; color: #8b98aa; font-size: 11px; font-weight: 400; line-height: 1.65; overflow-wrap: anywhere; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-field-error { display: block; margin: 0; color: #ad4a5e; font-size: 11px; font-weight: 400; line-height: 1.6; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] [aria-invalid="true"] { border-color: #d58b9b !important; background: #fffafb; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-field-error:empty { display: none; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-editor-actions { position: sticky; bottom: 0; z-index: 4; display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 9px; margin: 24px -20px -20px; padding: 16px 20px; border: 0; border-top: 1px solid #e3eaf3; border-radius: 0 0 8px 8px; background: #fcfdff; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-editor-actions .admin-editor-status { flex: 1 1 120px; min-width: 0; margin: 0 auto 0 0; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-record-detail { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; margin: 20px 0 0; padding: 0; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-record-detail > div { min-width: 0; margin: 0; padding: 0; border: 0; background: transparent; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-record-detail dt { color: #8c99ab; font-size: 11px; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-record-detail dd { margin: 6px 0 0; color: #42546d; font-size: 13px; overflow-wrap: anywhere; }

/* Service groups use the same form language and one persistent save footer. */
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] :is(.admin-services, .admin-model-service, .admin-speech-entry, .admin-service-entry) { margin: 0 0 24px; padding: 0 0 24px; border: 0; border-bottom: 1px solid var(--admin-line); border-radius: 0; background: transparent; box-shadow: none; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-services-overview { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 20px 0 26px; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-service-summary { gap: 9px; padding: 16px; border: 1px solid #e4eaf4; border-radius: 7px; background: #f7f9fd; color: #4a5b75; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-service-summary-name { font-size: 13px; font-weight: 650; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-service-summary > small { color: #93a0b1; font-size: 11px; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-provider-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-provider { display: flex; flex-direction: column; gap: 18px; min-width: 0; margin: 0; padding: 20px 0 0; border: 0; border-top: 1px solid var(--admin-line); border-radius: 0; background: transparent; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-provider legend { padding: 0 12px 0 0; color: var(--admin-ink); font-size: 16px; font-weight: 650; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-provider-description { max-width: 660px; color: #8491a4; font-size: 12px; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-provider-controls { gap: 14px; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-provider-field[data-field="endpoint"] { grid-column: 1 / -1; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-field-label { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; font-size: 12px; font-weight: 550; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-field-label small { color: #92a0b2; font-size: 11px; font-weight: 400; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-check { align-items: flex-start; gap: 8px; color: #6e7c91; font-size: 12px; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-check input { flex: none; width: 15px; height: 15px; margin-top: 3px; accent-color: var(--admin-accent); }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-key-actions { gap: 8px; margin-top: 4px; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-clear-key { color: #aa6876; font-size: 11px; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-service-features { display: block; margin: 26px 0 0; padding: 20px 0 0; border: 0; border-top: 1px solid var(--admin-line); border-radius: 0; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-feature-option { min-height: 88px; padding: 14px; border: 1px solid #e8edf4; border-radius: 6px; background: #f8fafd; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-feature-option small { color: #92a0b2; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-service-footer { position: sticky; bottom: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 26px 0 0; padding: 16px 0 0; border-top: 1px solid var(--admin-line); background: #fff; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-service-footer .admin-services-draft-status { margin: 0 0 5px; color: #8d99ab; font-size: 12px; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-service-footer .admin-services-draft-status[data-dirty="true"] { color: var(--admin-accent); font-weight: 550; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-model-status { padding: 16px; border: 0; border-radius: 7px; background: #f6f8fc; gap: 16px 24px; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-model-status dt { font-size: 11px; color: #8a97aa; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-model-form { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 16px; margin: 20px 0; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-model-form > label { display: flex; flex: 1 1 300px; flex-direction: column; gap: 8px; color: #61718a; font-size: 12px; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-model-form .form-actions { margin: 0; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .speech-settings input[type="range"] { min-height: 24px; width: 100%; padding: 0; border: 0; border-radius: 0; background: transparent; accent-color: var(--admin-accent); }

/* Overview keeps numbers, trends and work queues visually distinct. */
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-stat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 0 0 22px; border: 1px solid var(--admin-line); border-radius: 8px; background: #fafbfd; overflow: hidden; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-stat { min-height: 106px; padding: 16px 18px; border: 0; border-right: 1px solid var(--admin-line); border-bottom: 1px solid var(--admin-line); border-radius: 0; background: transparent; box-shadow: none; text-align: left; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-stat:nth-child(3n) { border-right: 0; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-stat:nth-last-child(-n+3) { border-bottom: 0; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-stat > span { color: #8794a7; font-size: 12px; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-stat > strong { margin: 10px 0 0; color: #314660; font-size: 28px; font-weight: 650; font-variant-numeric: tabular-nums; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-stat > small { display: none; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-stat:hover { background: #f2f6fc; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] :is(.admin-analytics, .admin-priorities, .admin-operations) { margin: 0; padding: 22px 0; border: 0; border-top: 1px solid var(--admin-line); border-radius: 0; background: transparent; box-shadow: none; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-priority { padding: 15px; border: 1px solid var(--admin-line); border-radius: 7px; background: #f9fbfe; box-shadow: none; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-priority:hover { background: #f2f6fc; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-priority p { font-size: 12px; color: #8b98ab; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-overview-ledger { margin-top: 20px; padding: 16px 18px; border: 1px solid var(--admin-line); border-radius: 7px; background: #f8fafd; box-shadow: none; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] :is(.admin-list-diagnostics, .admin-role-guide-help, .admin-overview-diagnostics) > summary { color: #8492a7; font-size: 12px; }

/* Unsaved changes confirmations are modal without animated entrance effects. */
html body #app .shell.workspace-shell .main[class].page-admin :is(.admin-unsaved-backdrop, .admin-services-discard-backdrop) { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 20px; background: rgb(26 39 60 / 34%); overflow-y: auto; }
html body #app .shell.workspace-shell .main[class].page-admin :is(.admin-unsaved-confirm, .admin-services-discard) { min-width: 0; width: min(440px, 100%); max-height: calc(100dvh - 40px); margin: auto; padding: 26px; border: 1px solid #e6ebf3; border-radius: 10px; background: #fff; color: #354962; font-size: 13px; line-height: 1.7; box-shadow: 0 20px 70px rgb(15 35 66 / 18%); overflow-y: auto; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-unsaved-dialog { display: block; width: 100%; margin: 0; padding: 0; text-align: left; }
html body #app .shell.workspace-shell .main[class].page-admin :is(.admin-unsaved-confirm, .admin-services-discard) :is(h2, h3) { margin: 0 0 10px; color: #2d405b; font-size: 19px; font-weight: 650; line-height: 1.5; }
html body #app .shell.workspace-shell .main[class].page-admin :is(.admin-unsaved-confirm, .admin-services-discard) p { margin: 0; color: #8190a6; font-size: 13px; line-height: 1.75; }
html body #app .shell.workspace-shell .main[class].page-admin :is(.admin-unsaved-confirm, .admin-services-discard) :is(.admin-unsaved-actions, .admin-discard-actions) { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 9px; margin-top: 24px; }
html body #app .shell.workspace-shell .main[class].page-admin :is(.admin-unsaved-confirm, .admin-services-discard) .admin-button { min-height: 38px; padding: 8px 13px; border-radius: 6px; font-size: 12px; }

/* Existing admin detail dialogs follow the workspace forms without styling other modals. */
#modal-root .admin-dialog { width: min(1020px, calc(100vw - 48px)); max-width: calc(100vw - 48px); padding: 26px; border: 1px solid #e4eaf3; border-radius: 10px; background: #fff; color: #34455f; box-shadow: 0 20px 70px rgb(17 36 65 / 20%); }
#modal-root .admin-dialog :is(h2, h3) { color: #2e405a; }
#modal-root .admin-dialog label { gap: 8px; color: #65758e; font-size: 12px; }
#modal-root .admin-dialog :is(input:not([type="checkbox"], [type="radio"], [type="range"]), select, textarea) { min-height: 40px; padding: 10px 12px; border: 1px solid #d7dfe9; border-radius: 6px; background: #fff; color: #34455f; font-size: 13px; box-shadow: none; }
#modal-root .admin-dialog :is(button, a, input, select, textarea):focus-visible { outline: 2px solid #7190c1; outline-offset: 2px; box-shadow: none; }
#modal-root .admin-dialog :is(.admin-field-hint, .admin-field-note) { color: #8b98aa; font-size: 11px; line-height: 1.65; }
#modal-root .admin-dialog .admin-field-error { color: #ad4a5e; font-size: 11px; line-height: 1.6; }
#modal-root .admin-dialog [aria-invalid="true"] { border-color: #d58b9b; background: #fffafb; }

@media (min-width: 1700px) {
  html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density]:not(.admin-review-only) { grid-template-columns: 224px minmax(0, 1fr); gap: 26px; }
  html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] > .admin-workspace { padding: 28px 30px; }
  html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-stat-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-stat:nth-child(n) { border-right: 1px solid var(--admin-line); border-bottom: 0; }
  html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-stat:last-child { border-right: 0; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density]:not(.admin-review-only) { grid-template-columns: 72px minmax(0, 1fr); gap: 16px; }
  html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-sidebar { padding-inline: 8px; }
  html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-sidebar-heading { padding-inline: 0; justify-content: center; }
  html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-nav-item { justify-content: center; padding-inline: 8px; }
  html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] > .admin-workspace { padding: 20px; }
  html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-toolbar { grid-template-columns: minmax(120px, 1fr) minmax(120px, 145px) auto; padding: 12px; gap: 8px; }
  html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-toolbar-simple { grid-template-columns: minmax(120px, 1fr) auto; }
  html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-feature-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
  html body #app .shell.workspace-shell .main[class].page-admin { padding: 14px 12px 26px; }
  html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density]:not(.admin-review-only) { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-sidebar { position: relative; top: auto; max-height: none; padding: 8px; border-radius: 8px; }
  html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-sidebar-heading { margin: 0; padding: 0; border: 0; }
  html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-navigation { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--admin-line); }
  html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-module-toggle { display: flex; align-items: center; gap: 10px; width: 100%; height: 44px; min-height: 44px; margin: 0; padding: 8px 10px; border: 0; border-radius: 6px; background: #f7f9fd; color: var(--admin-accent); font-size: 13px; line-height: 1.5; }
  html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] > .admin-workspace { padding: 18px 14px; border-radius: 8px; }
  html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-module-heading { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 5px 10px; margin-bottom: 14px; padding-bottom: 12px; }
  html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-module-copy { display: contents; }
  html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-module-heading h1 { grid-column: 1; grid-row: 2; min-width: 0; font-size: 21px; }
  html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-module-heading h1 .icon { width: 20px; height: 20px; }
  html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-module-heading p { grid-column: 1 / -1; grid-row: 3; margin: 0; font-size: 12px; line-height: 1.6; }
  html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-module-heading p.admin-module-eyebrow { grid-row: 1; margin: 0; font-size: 10px; line-height: 1.5; }
  html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-module-heading > .admin-button { grid-column: 2; grid-row: 2; min-height: 44px; margin: 0; padding: 8px 10px; white-space: nowrap; }
  html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] :is(.admin-toolbar, .admin-toolbar-simple) { grid-template-columns: minmax(0, 1fr) auto; gap: 9px; padding: 12px; }
  html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-toolbar:not(.admin-toolbar-simple) > .admin-search { grid-column: 1 / -1 !important; width: 100%; }
  html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-toolbar:not(.admin-toolbar-simple) > .admin-search-clear { grid-column: 1 / -1 !important; }
  html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-toolbar > .admin-filter-label { grid-column: 1 !important; min-width: 0; width: 100%; }
  html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-toolbar > .admin-button { grid-column: 2 !important; min-height: 42px; padding-inline: 15px; }
  html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-toolbar > .admin-search { min-height: 42px; height: 42px; }
  html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-toolbar .admin-search input { min-height: 40px; height: 40px; font-size: 16px; }
  html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-filter-label :is(select, .hb-select-trigger) { min-height: 42px; height: 42px; }
  html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-toolbar > .admin-search-clear { min-height: 34px; height: 34px; }
  html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-table-tools { gap: 8px; margin-top: 12px; }
  html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-table-tools-right { justify-content: flex-end; flex: 1 1 100%; gap: 7px; max-width: 100%; margin-left: 0; }
  html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] :is(.admin-button, .admin-actions .admin-button, .admin-row-more > summary) { min-height: 40px; }
  html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-table-tools .admin-button { padding-inline: 10px; }
  html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-density-control { margin-right: auto; }
  html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-density-control button { min-width: 42px; min-height: 32px; padding-inline: 7px; font-size: 11px; }
  html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-list-meta { gap: 8px 10px; margin-block: 12px 10px; }
  html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-list-results { flex: 1 1 130px; min-width: 0; gap: 8px; }
  html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-page-size { margin-left: auto; }
  html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-table { min-width: 720px; }
  html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-table :is(th, td) { padding: 13px 14px; font-size: 12px; }
  html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-table :is(th, td.admin-actions) { position: static; width: auto; min-width: 0; box-shadow: none; }
  html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-table:has(td.admin-actions) thead th:last-child { position: static; min-width: 194px; box-shadow: none; }
  html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-pagination { align-items: flex-start; flex-wrap: wrap; gap: 10px; padding-top: 16px; }
  html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-pagination > div { margin-left: auto; }
  html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] :is(.admin-editor-fields, .admin-knowledge-fields, .admin-record-detail, .admin-provider-fields, .admin-services-overview, .admin-feature-grid) { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] :is(.admin-record-editor, .admin-knowledge-editor) { padding: 16px; }
  html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-editor-actions { margin: 20px -16px -16px; padding: 14px 16px; }
  html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-editor-actions .admin-editor-status { flex-basis: 100%; }
  html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-knowledge-fields > label.admin-knowledge-editorial { padding-top: 0; }
  html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] :is(.admin-record-editor, .admin-knowledge-editor, .admin-provider, .admin-model-form, .speech-settings, .maintenance-workspace, .culture-review, .course-quality, .english-review) :is(input:not([type="checkbox"], [type="radio"], [type="range"]), select, textarea, .hb-select-trigger) { min-height: 44px; font-size: 16px; }
  html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-services-overview { gap: 9px; margin-block: 16px 22px; }
  html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-service-summary { padding: 12px 14px; }
  html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-service-summary > small { grid-column: 1; }
  html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-provider-header { gap: 12px; }
  html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-provider-grid { gap: 24px; }
  html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-service-footer { align-items: flex-start; flex-wrap: wrap; gap: 12px; padding-top: 14px; }
  html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-service-save-copy { flex: 1 1 100%; }
  html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-service-footer > .admin-button { margin-left: auto; }
  html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-stat { min-height: 96px; padding: 14px; }
  html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-stat:nth-child(n) { border-right: 1px solid var(--admin-line); border-bottom: 1px solid var(--admin-line); }
  html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-stat:nth-child(2n) { border-right: 0; }
  html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-stat:nth-last-child(-n+2) { border-bottom: 0; }
  html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-stat > strong { font-size: 25px; }
  html body #app .shell.workspace-shell .main[class].page-admin :is(.admin-unsaved-backdrop, .admin-services-discard-backdrop) { padding: 16px; }
  html body #app .shell.workspace-shell .main[class].page-admin :is(.admin-unsaved-confirm, .admin-services-discard) { max-height: calc(100dvh - 32px); padding: 22px; }
  #modal-root .admin-dialog { width: calc(100vw - 24px); max-width: calc(100vw - 24px); padding: 18px; border-radius: 8px; }
  #modal-root .admin-dialog :is(input:not([type="checkbox"], [type="radio"], [type="range"]), select, textarea) { min-height: 44px; font-size: 16px; }
}
@media (max-width: 380px) {
  html body #app .shell.workspace-shell .main[class].page-admin { padding-inline: 8px; }
  html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] > .admin-workspace { padding-inline: 12px; }
  html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-toolbar { padding: 10px; }
  html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-table-tools-right { justify-content: flex-start; }
  html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-density-control { flex: 1 1 auto; margin-right: 0; }
  html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-column-menu { right: auto; left: 0; width: 220px; }
}

/* Keep record navigation and editing reachable without scrolling a full dataset. */
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] :is(.admin-actions .admin-button, .admin-row-more > summary, .admin-row-secondary .admin-button, .admin-density-control button, .admin-sort) { min-height: 36px; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-record-editor { scroll-margin-top: calc(var(--admin-sticky-top, 96px) + 12px); }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-editor-actions { position: sticky; bottom: 0; z-index: 4; background: #fff; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-active-sort { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; color: #708097; font-size: 12px; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] :is(.admin-active-sort .admin-button, .admin-active-filters .admin-button) { min-height: 36px; padding: 6px 9px; border-color: transparent; background: transparent; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-pagination { flex-wrap: wrap; justify-content: flex-start; gap: 8px 14px; padding-block: 14px 0; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-pagination-top { margin: 0 0 12px; padding: 8px 0; border-block: 1px solid var(--admin-line); scroll-margin-top: var(--admin-sticky-top, 96px); }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-pagination-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-left: auto; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-page-numbers { display: flex; align-items: center; gap: 4px; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-pagination .admin-button { min-height: 36px; padding: 6px 10px; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-pagination .admin-page-number { min-width: 36px; padding-inline: 8px; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-page-number[aria-current="page"] { border-color: #d3dfed; background: #edf3fa; color: var(--admin-accent); font-weight: 600; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-page-gap { padding-inline: 3px; color: #8b98aa; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-page-jump { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-page-jump input { width: 64px; min-height: 36px; height: 36px; margin: 0; padding: 6px 8px; border: 1px solid var(--admin-field); border-radius: 6px; background: var(--field-surface, #f8fafc); color: var(--admin-ink); font: inherit; font-variant-numeric: tabular-nums; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-page-jump input:is(:focus, :focus-visible) { border-color: var(--admin-field) !important; outline: none !important; box-shadow: none !important; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-page-jump-error { flex-basis: 100%; color: #a64659; font-size: 12px; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] :is(.admin-page-jump-error, .admin-settings-panel, [data-service-panel])[hidden] { display: none !important; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-list .admin-table-wrap { max-height: clamp(280px, calc(100dvh - 310px), 640px); overflow: auto !important; overscroll-behavior: contain; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-list .admin-table thead th { position: sticky; top: 0; z-index: 4; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-list .admin-table:has(td.admin-actions) thead th:last-child { z-index: 5; }

/* Tabs change the visible section, while mounted fields and private drafts stay intact. */
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-settings-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; padding-bottom: 12px; border-bottom: 1px solid var(--admin-line); }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-settings-tabs .admin-button[aria-selected="true"] { border-color: #d3dfed; background: #edf3fa; color: var(--admin-accent); }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-settings-panel :is(.admin-service-entry, .admin-speech-entry, .admin-model-service) { margin-block: 0; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-services-overview[role="tablist"] { display: flex; gap: 6px; margin: 16px 0; padding: 0 0 5px; overflow-x: auto; scrollbar-width: thin; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-services-overview [role="tab"] { display: inline-flex; flex: 1 0 max-content; align-items: center; justify-content: center; gap: 6px; min-height: 40px; margin: 0; padding: 8px 12px; border: 1px solid var(--admin-field); border-radius: 6px; background: #fff; color: #52627a; font: inherit; font-size: 12px; cursor: pointer; box-shadow: none; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-services-overview [role="tab"][aria-selected="true"] { border-color: #d3dfed; background: #edf3fa; color: var(--admin-accent); }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-services-overview [role="tab"] :is(.admin-status, small) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-services-overview [role="tab"][data-dirty="true"]::after { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: #7899c5; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-services-overview [role="tab"][data-has-errors="true"]::after { content: "!"; color: #a64659; font-weight: 600; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-provider-list { gap: 0; }
html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-service-features[role="tabpanel"] { margin-top: 0; }
@media (max-width: 640px) {
 html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-pagination { gap: 8px; }
 html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-page-summary { flex-basis: 100%; }
 html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-pagination-controls { margin-left: 0; }
 html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-page-numbers { display: none; }
 html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-pagination .admin-button { min-height: 40px; }
 html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-page-jump input { min-height: 40px; height: 40px; font-size: 16px; }
 html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-list .admin-table-wrap { max-height: min(62dvh, 480px); }
 html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-settings-tabs { gap: 5px; }
 html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-settings-tabs .admin-button { flex: 1 1 auto; padding-inline: 8px; }
 html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-services-overview [role="tab"] { padding-inline: 10px; }
}
@media (pointer: coarse) {
 html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] :is(.admin-actions .admin-button, .admin-row-more > summary, .admin-row-secondary .admin-button, .admin-density-control button, .admin-sort, .admin-pagination .admin-button, .admin-settings-tabs .admin-button, .admin-services-overview [role="tab"]) { min-height: 44px; }
}

/* Desktop lists share their controls across the width instead of adding tall layers. */
@media (min-width: 1024px) {
 html body #app .shell.workspace-shell .main[class].page-admin { padding-top: 16px; }
 html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] > .admin-workspace { padding-block: 16px 22px; }
 html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-module-heading { gap: 12px; margin-bottom: 10px; padding-bottom: 10px; }
 html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-module-heading h1 { font-size: 22px; line-height: 1.35; }
 html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-module-heading p { margin-top: 4px; font-size: 12px; line-height: 1.5; }
 html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-module-copy > .admin-module-eyebrow { margin: 0 0 3px; font-size: 10px; line-height: 1.4; }
 html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-content > .admin-section-heading { margin-bottom: 8px; }
 html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-list { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 8px 12px; }
 html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-list > * { grid-column: 1 / -1; min-width: 0; }
 html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-list > .admin-list-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; margin: 0; padding: 8px 10px; border-radius: 7px; background: #f6f8fb; }
 html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-list-toolbar > .admin-toolbar { flex: 1 1 340px; min-width: 0; width: auto; grid-template-columns: minmax(120px, 1fr) minmax(115px, 145px) auto; gap: 8px; padding: 0; border-radius: 0; background: transparent; }
 html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-list-toolbar > .admin-toolbar-simple { grid-template-columns: minmax(120px, 1fr) auto; }
 html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-list-toolbar > .admin-table-tools { flex: 0 1 auto; width: auto; min-width: 0; gap: 8px; margin: 0; }
 html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-table-tools :is(.admin-table-tools-left, .admin-table-tools-right) { gap: 6px; }
 html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-table-tools .admin-table-caption { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
 html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] :is(.admin-list-toolbar .admin-button, .admin-module-heading > .admin-button) { min-height: 36px; padding: 6px 10px; }
 html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-list-toolbar :is(.admin-search, .admin-search:focus-within, .admin-filter-label select, .admin-filter-label .hb-select-trigger) { min-height: 36px; height: 36px; }
 html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-list-toolbar .admin-search input { min-height: 34px; height: 34px; padding-block: 6px; }
 html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-list-toolbar .admin-density-control { padding: 0; }
 html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-list-toolbar .admin-density-control button { min-height: 34px; padding: 5px 8px; }
 html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-list > .admin-list-meta { grid-column: 1; align-self: center; min-height: 36px; gap: 6px 10px; margin: 0; }
 html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-list-meta .admin-list-results { flex: 1 1 auto; gap: 4px 8px; }
 html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-list-meta .admin-page-size { flex: none; gap: 6px; margin: 0; }
 html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-list-meta .admin-page-size select { min-height: 36px; height: 36px; }
 html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-list > .admin-pagination-top { grid-column: 2; align-self: center; min-width: 0; gap: 6px 10px; margin: 0; padding: 0; border: 0; }
 html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-pagination-top .admin-pagination-controls { gap: 4px; margin-left: 0; }
 html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-pagination-top .admin-button { padding-inline: 8px; }
 html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-pagination-top .admin-page-numbers { gap: 3px; }
 html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-list > :is(.admin-list-notice, .admin-role-guide-help) { margin: 0; padding-block: 6px; }
 html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-list > .admin-pagination-bottom { margin: 0; padding-top: 4px; }
}
@media (min-width: 1024px) and (max-width: 1199px) {
 html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-pagination-top .admin-page-numbers { display: none; }
}
@media (min-width: 1024px) and (pointer: coarse) {
 html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] :is(.admin-list-toolbar .admin-button, .admin-module-heading > .admin-button, .admin-list-toolbar .admin-density-control button) { min-height: 44px; }
 html body #app .shell.workspace-shell .main[class].page-admin .admin-console[data-density] .admin-list-toolbar :is(.admin-search, .admin-search:focus-within, .admin-filter-label select, .admin-filter-label .hb-select-trigger) { min-height: 44px; height: 44px; }
}
