/* ==========================================================================
   Admin workspace grammar, Terminal Light (EXTEND_TO_ALL_SCREENS: Settings).
   The TL rail is the section nav (admin_settings.html overrides tl_sidebar),
   each block is a TL card with a header row, controls are TL buttons/inputs
   and tables follow table.tl-table. The legacy --go-* / --admin-* names are
   kept as aliases so admin-settings.js / admin-create.js markup keeps working.
   ========================================================================== */
body.admin-workspace {
  --admin-canvas: var(--tl-page); --admin-inverse: var(--tl-on-ink);
  --go-ink: var(--tl-ink); --go-ink2: var(--tl-ink-60); --go-ink3: var(--tl-ink-45);
  --go-line: var(--tl-line-10); --go-fill: var(--tl-fill-03); --go-card: var(--tl-control);
  font-family: var(--tl-font);
}

/* ---- Rail: admin sections (tl-side-link) ---- */
.as-rail .as-rail-back { margin-bottom: 10px; color: var(--tl-ink-50); font-size: 12.5px; gap: 6px; }
.as-rail .as-nav { display: flex; flex-direction: column; gap: 16px; }
.as-rail .as-nav-group { display: flex; flex-direction: column; gap: 1px; }
.as-rail .tl-side-link svg { flex: none; color: var(--tl-ink-45); }
.as-rail .tl-side-link.active { background: var(--tl-fill-06); color: var(--tl-ink); font-weight: 500; }
.as-rail .tl-side-link.active svg { color: var(--tl-ink); }
.as-band-kicker { margin-bottom: 6px; }

/* ---- Access check ---- */
.admin-workspace .admin-check-overlay { position: static; inset: auto; min-height: 0; display: block; max-width: 560px; background: var(--tl-card-bg); }

.admin-workspace .as-page { display: block; min-height: 0; padding: 0; }
.admin-workspace .as-content { max-width: 1240px; width: 100%; padding: 0; }
.admin-workspace .as-tab { display: none; min-width: 0; max-width: none; color: var(--tl-ink); font: 400 13.5px/1.5 var(--tl-font); }
.admin-workspace .as-tab.active { display: block; }
.admin-workspace .as-tab * { box-sizing: border-box; }
.admin-workspace .as-tab [hidden] { display: none !important; }
.admin-workspace .as-tab :is(h1,h2,h3,h4,p,fieldset) { margin-top: 0; color: var(--tl-ink); }
/* The band carries the section title + dek (admin-settings.js routeAdmin). */
.admin-workspace .as-tab .as-tab-title,
.admin-workspace .as-tab .as-tab-subtitle { display: none; }
.admin-workspace .as-tab-header-row { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin: 0 0 14px; }
.admin-workspace .as-tab-header-row > div { min-width: 0; }
.admin-workspace .as-tab-header-row > div:only-child, .admin-workspace .as-tab-header-row > div:empty { display: none; }
.admin-workspace .as-tab-header-row > button { flex-shrink: 0; }

/* ---- Card groups: header row (title + hint) then content ---- */
.admin-workspace :is(.as-card,.llm-card,.admin-overview-section,.admin-content-section,.lab-panel,.admin-new-task-form) {
  background: var(--tl-card-bg) !important; border: 1px solid var(--tl-line-07) !important; border-radius: var(--tl-r-card) !important;
  box-shadow: var(--tl-card-shadow) !important; padding: 14px 18px 16px !important; margin: 0 0 14px;
}
.admin-workspace .as-tab :is(.as-label,.admin-source-title,.admin-section-title) {
  display: block; font: 650 15px/1.3 var(--tl-font); letter-spacing: -.2px; text-transform: none; color: var(--tl-ink) !important; margin: 0 0 4px !important;
}
.admin-workspace .as-tab :is(.as-description,.admin-muted,.as-muted,.admin-loading,.as-loading) { color: var(--tl-ink-50) !important; font: 400 12.5px/1.5 var(--tl-font); }
.admin-workspace .as-tab :is(.as-description,.admin-muted) { max-width: 820px; margin-bottom: 12px; }

/* ---- Controls: tl-btn-ghost / tl-btn-ink / tl-input ---- */
.admin-workspace :is(.as-tab,.admin-modal,.as-modal) :is(button,input,select,textarea) { font-family: var(--tl-font); box-shadow: none; }
.admin-workspace .as-tab:not(:where(#tab-content)) button,
.admin-workspace :is(.admin-modal,.as-modal) button {
  width: auto; height: auto; min-height: 32px; margin: 0; padding: 0 12px; border: 1px solid var(--tl-line-12); border-radius: var(--tl-r-btn);
  background: var(--tl-control); color: var(--tl-ink); font-size: 13px; font-weight: 600; line-height: 30px; cursor: pointer; white-space: nowrap;
}
.admin-workspace .as-tab:not(:where(#tab-content)) button:hover { background: var(--tl-page); }
.admin-workspace .as-tab button:disabled { cursor: not-allowed; background: var(--tl-fill-06) !important; color: var(--tl-ink-40) !important; border-color: transparent !important; }
.admin-workspace :is(.as-tab,.admin-modal,.as-modal) :is(.as-btn-primary,.admin-btn-primary,.sa-btn-dark,.go-btn-primary) {
  color: var(--tl-on-ink) !important; background: var(--tl-ink) !important; border-color: var(--tl-ink) !important;
}
.admin-workspace :is(.as-tab,.admin-modal,.as-modal) :is(.as-btn-primary,.admin-btn-primary,.sa-btn-dark,.go-btn-primary):hover { background: var(--tl-ink-hover) !important; }
.admin-workspace :is(.as-tab,.admin-modal,.as-modal) :is(.admin-btn-danger,.as-btn-danger,.sa-btn-danger) { color: var(--tl-down) !important; border-color: var(--tl-line-12) !important; }
.admin-workspace :is(.as-tab,.admin-modal,.as-modal) :is(.admin-btn-danger,.as-btn-danger,.sa-btn-danger):hover { background: var(--tl-down-bg) !important; }
.admin-workspace :is(.as-tab,.admin-modal,.as-modal) :is(input:not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea) {
  color: var(--tl-ink) !important; background-color: var(--tl-control) !important; border: 1px solid var(--tl-line-10) !important; border-radius: var(--tl-r-btn) !important;
  font: 400 13px/20px var(--tl-font) !important; margin-bottom: 0; padding: 5px 11px !important; min-height: 32px; box-shadow: none !important; max-width: 100%;
}
.admin-workspace :is(.as-tab,.admin-modal,.as-modal) :is(input,select,textarea):focus { border-color: var(--tl-ink) !important; box-shadow: 0 0 0 3px var(--tl-fill-06) !important; }
.admin-workspace :is(.as-tab,.admin-modal,.as-modal) :is(input,textarea)::placeholder { color: var(--tl-ink-45); }
.admin-workspace :is(.as-tab,.admin-modal,.as-modal) select { appearance: none; padding-right: 30px !important; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m6 8 4 4 4-4' fill='none' stroke='%23888' stroke-width='1.5'/%3E%3C/svg%3E"); background-size: 18px; background-position: right 8px center; background-repeat: no-repeat; }
.admin-workspace :is(.as-tab,.admin-modal,.as-modal) option { color: var(--tl-ink); background: var(--tl-card); }
.admin-workspace :is(.as-tab,.admin-modal,.as-modal) :is(input[type=checkbox],input[type=radio]) { appearance: auto; height: 15px; width: 15px; min-width: 15px; margin: 0; accent-color: var(--tl-ink); }
.admin-workspace :is(.as-tab,.admin-modal,.as-modal) :is(label,legend) { color: var(--tl-ink-60); font-size: 12px; line-height: 1.5; }
.admin-workspace :is(.as-tab,.admin-modal,.as-modal) :is(button,input,select,textarea,summary,a):focus-visible,
.admin-workspace .as-nav-item:focus-visible { outline: none; box-shadow: var(--tl-focus-ring) !important; }
.admin-workspace .as-tab textarea { resize: vertical; }

/* ---- Tables: the Stats workbench / table.tl-table pattern ---- */
.admin-workspace .as-tab :is(.admin-table-scroll,.as-users-wrap,.go-table-wrap) { max-width: 100%; overflow-x: auto; border: 0; border-radius: 0; }
.admin-workspace .as-tab :is(table,.go-table,.admin-table,.as-users-table) { width: 100%; border-collapse: collapse; font-size: 13px; margin: 0; }
.admin-workspace .as-tab :is(table,.go-table,.admin-table,.as-users-table) :is(th,td) { color: var(--tl-ink) !important; background: transparent !important; border: 0 !important; border-bottom: 1px solid var(--tl-line-05) !important; padding: 9px 12px !important; font-size: 13px; line-height: 1.45; text-align: left; }
.admin-workspace .as-tab :is(table,.go-table,.admin-table,.as-users-table) th { color: var(--tl-ink-50) !important; background: var(--tl-fill-025) !important; border-top: 1px solid var(--tl-line-06) !important; border-bottom-color: var(--tl-line-06) !important; padding-top: 8px !important; padding-bottom: 8px !important; font-size: 11.5px; letter-spacing: 0; text-transform: none; font-weight: 500; white-space: nowrap; }
.admin-workspace .as-tab tbody tr:hover td { background: var(--tl-fill-03) !important; }

/* ---- Big numbers: tl-tile ---- */
.admin-workspace .as-tab .as-stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin: 0 0 14px; }
.admin-workspace .as-tab .as-stat { background: var(--tl-card-bg) !important; border: 1px solid var(--tl-line-07); border-radius: var(--tl-r-card); box-shadow: var(--tl-card-shadow); padding: 11px 14px; min-width: 0; }
.admin-workspace .as-tab .as-stat-n { font-size: 20px; font-weight: 600; letter-spacing: -.4px; font-variant-numeric: tabular-nums; color: var(--tl-ink); }
.admin-workspace .as-tab .as-stat-label { font-family: var(--tl-mono); font-size: 10px; letter-spacing: .5px; text-transform: uppercase; color: var(--tl-ink-50); }
.admin-workspace .as-tab .as-users-toolbar { margin-bottom: 12px; }
.admin-workspace .as-tab .as-tmpl-card { align-items: center; }
.admin-workspace .as-tab :is(.llm-title,.as-tmpl-title) { font-size: 15px; font-weight: 650; letter-spacing: -.2px; }
.admin-workspace .as-tab .llm-group { color: var(--tl-ink-45); font: 400 10.5px/1.4 var(--tl-mono); letter-spacing: .5px; text-transform: uppercase; margin: 22px 2px 10px; }
.admin-workspace #tab-llm .llm-controls { border-top: 1px solid var(--tl-line-06); }
.admin-workspace .as-tab .llm-badge { background: var(--tl-fill-06); color: var(--tl-ink-60); border-color: transparent; font-family: var(--tl-mono); border-radius: var(--tl-r-pill); }
.admin-workspace .as-tab .admin-breadcrumb { justify-content: flex-start; font-size: 12.5px; padding: 0; gap: 8px; margin: 0 0 14px; }
.admin-workspace .as-tab .admin-breadcrumb-item { padding: 0; min-height: 24px; border: 0; border-radius: 0; font-size: 12.5px; color: var(--tl-ink-60); }
.admin-workspace .as-tab :is(.admin-detail-title,.admin-page-title) { color: var(--tl-ink); font: 600 24px/1.2 var(--tl-font); letter-spacing: -.5px; }
.admin-workspace .as-tab .admin-detail-header-row { flex-wrap: wrap; gap: 12px; }
/* Group list: tl-row list inside one card */
.admin-workspace .as-tab .admin-group-grid { display: block; border: 1px solid var(--tl-line-07); border-radius: var(--tl-r-card); background: var(--tl-card-bg); box-shadow: var(--tl-card-shadow); overflow: hidden; }
.admin-workspace .as-tab .admin-group-card { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 12px 18px; background: none; border: 0; border-radius: 0; color: var(--tl-ink); text-decoration: none; transition: none; }
.admin-workspace .as-tab .admin-group-card + .admin-group-card { border-top: 1px solid var(--tl-line-05); }
.admin-workspace .as-tab .admin-group-card:hover { background: var(--tl-fill-03); transform: none; }
.admin-workspace .as-tab .admin-group-card-header { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0; }
.admin-workspace .as-tab .admin-group-card-name { font: 600 14px/1.4 var(--tl-font); color: var(--tl-ink); margin: 0; }
.admin-workspace .as-tab .admin-group-card-stats { display: flex; align-items: center; gap: 24px; margin: 0; white-space: nowrap; font: 400 12px var(--tl-mono); color: var(--tl-ink-50); }
.admin-workspace .as-tab :is(.admin-badge,.admin-task-kind) { color: var(--tl-ink-60); background: var(--tl-fill-06); border: 0; font: 600 10.5px var(--tl-mono); border-radius: var(--tl-r-pill); padding: 3px 8px; }
/* Sub tabs: tl-tabs underline */
.admin-workspace .as-tab .admin-sub-tab-bar { margin: 18px 0; border-bottom: 1px solid var(--tl-line-07); gap: 4px; padding: 0; display: flex; overflow-x: auto; }
.admin-workspace .as-tab button.admin-sub-tab { position: relative; border: 0 !important; border-radius: 0 !important; padding: 8px 10px 12px !important; min-height: 0; line-height: normal !important; color: var(--tl-ink-50); background: none !important; flex-shrink: 0; font-size: 13.5px; font-weight: 500; }
.admin-workspace .as-tab button.admin-sub-tab:hover { color: var(--tl-ink); }
.admin-workspace .as-tab button.admin-sub-tab.active { color: var(--tl-ink); box-shadow: inset 0 -2px 0 var(--tl-ink) !important; }
.admin-workspace .as-tab .job-group { border: 1px solid var(--tl-line-07); border-radius: var(--tl-r-card); background: var(--tl-card-bg); box-shadow: var(--tl-card-shadow); margin: 0 0 10px; }
.admin-workspace .as-tab .job-group-head { padding: 12px 18px; }
.admin-workspace .as-tab .job-group-body { padding: 0 18px 14px; }
.admin-workspace .as-tab .lab-panel { min-width: 0; }
.admin-workspace .as-tab .lab-textarea { width: 100%; margin-bottom: 12px; }
.admin-workspace .as-tab .admin-add-row { flex-wrap: wrap; }
.admin-workspace :is(.admin-modal,.as-modal,.admin-search-dropdown,.src-chip-options) { background: var(--tl-card); color: var(--tl-ink); border: 1px solid var(--tl-line-07); border-radius: var(--tl-r-card); box-shadow: var(--tl-float-shadow); max-width: calc(100vw - 32px); }
.admin-workspace :is(.admin-modal,.as-modal) :is(h2,h3,.admin-modal-title,.as-modal-title) { color: var(--tl-ink); font-weight: 650; font-size: 16px; letter-spacing: -.2px; }
.admin-workspace :is(.admin-modal,.as-modal) { max-height: calc(100vh - 50px); overflow: auto; }
/* Sources keeps its domain-specific layouts inside the same workspace. */
.admin-workspace #tab-sources .sa-wrap { padding:0; max-width:none; margin:0; }
.admin-workspace .admin-source-meta { display:flex; align-items:center; flex-wrap:wrap; gap:12px; color:var(--go-ink2); font-size:11px; margin:0 0 28px; }
.admin-workspace #saRefreshed { margin-left:auto; }
.admin-workspace #tab-sources .sa-status-strip { gap:24px; }
.admin-workspace #tab-sources button.sa-status-block { border:0; border-top:1px solid var(--go-line); border-radius:0; padding:15px 0; text-align:left; background:none; }
.admin-workspace #tab-sources button.sa-status-block.on { border-top-color:var(--go-ink); }
.admin-workspace #tab-sources :is(.sa-conf-head,.sa-type-toggle) { border:0; border-bottom:1px solid var(--go-line); border-radius:0; padding:18px 0; background:none; text-align:left; }
.admin-workspace #tab-sources :is(.sa-conf-head,.sa-type-toggle) .nm { color:var(--go-ink); font-size:16px; font-weight:600; text-transform:none; letter-spacing:-.25px; }
.admin-workspace #tab-sources .sa-seg { gap:2px; }
.admin-workspace #tab-sources :is(.sa-seg button,.sa-chip) { border:0; min-height:30px; padding:5px 11px; font-size:11px; }
.admin-workspace #tab-sources :is(.sa-seg button.on,.sa-chip.on) { color:var(--admin-inverse); background:var(--go-ink); }
.admin-workspace #tab-sources .sa-search { padding:0 10px; }
.admin-workspace #tab-sources .sa-search input { border:0!important; min-height:36px; }
.admin-workspace #tab-sources .sa-srcchip { padding:4px 10px; font-size:11px; line-height:1.4; }
.admin-workspace #tab-sources .sa-typerow { display:grid; width:100%; margin:0; border:0; border-bottom:1px solid var(--go-line); border-radius:0; padding:12px 0; background:none; text-align:left; }
.admin-workspace #tab-sources .sa-panel { background:var(--admin-canvas); }
.admin-workspace #tab-sources .sa-panel button.sa-x { padding:3px; border:0; min-height:28px; }
.admin-workspace #tab-sources .sa-panel a { color:var(--go-ink); }
.admin-workspace #tab-sources .sa-facts { gap:15px; }
.admin-workspace #tab-sources .sa-fact { border-top:1px solid var(--go-line); }
.admin-workspace #tab-sources .sa-ring { animation:none; display:none; }
@media(max-width:1100px) {
    .admin-workspace #tab-sources :is(.sa-teamrow,.sa-teamgrid-head) { grid-template-columns:140px repeat(3,minmax(100px,1fr)) 60px; gap:12px; }
  .admin-workspace #tab-sources .sa-conf { min-width:620px; }
  .admin-workspace #tab-sources :is(.sa-typegrid-head,.sa-typerow) { grid-template-columns:minmax(140px,1.4fr) 100px 55px 75px 50px 60px 60px; column-gap:8px; }
  .admin-workspace #saBrowse { overflow-x:auto; }
  .admin-workspace #tab-sources .sa-typegroup { min-width:680px; }
}
@media(max-width:768px) {
  .admin-workspace .as-tab :is(.as-users-wrap,.admin-table-scroll) { overflow-x:auto; }
  .admin-workspace .as-tab .admin-group-card { align-items:flex-start; }
  .admin-workspace .as-tab .admin-group-card-header { gap:6px; }
  .admin-workspace .as-tab .admin-group-card-stats { gap:10px; font-size:11px; }
  .admin-workspace #tab-sources .sa-status-strip { grid-template-columns:repeat(3,1fr); gap:12px; }
  .admin-workspace .as-tab .lab-grid { grid-template-columns:1fr; }
  .admin-workspace .as-tab .as-tmpl-card { flex-wrap:wrap; }
  .admin-workspace .as-tab .as-tmpl-actions { flex-wrap:wrap; }
}
@media(prefers-reduced-motion:reduce) { .admin-workspace .as-tab * { animation:none!important; transition:none!important; } }

.admin-workspace .admin-workspace .admin-group-search { margin-bottom:24px; max-width:420px; }
.admin-workspace .admin-group-search input { width:100%; }
.admin-workspace .as-tab .admin-member-link { color:var(--go-ink); font-weight:650; text-decoration:none; }
.admin-workspace .as-tab .admin-member-link:hover { text-decoration:underline; }
.admin-workspace .admin-group-header { font-size:13px; }
.admin-workspace .as-tab :is(.sa-conf-head,.sa-type-toggle) { width:100%; }

.admin-workspace #saOverlay { position:relative; z-index:11000; }
.admin-workspace #saOverlay .sa-backdrop { background:rgba(0,0,0,.32); }
.admin-workspace .as-tab .admin-tasks-table { table-layout:fixed; min-width:780px; }
.admin-workspace .as-tab .admin-tasks-table :is(td,th) { white-space:normal; overflow-wrap:anywhere; }
.admin-workspace .admin-tasks-table th:nth-child(1) { width:65px; }
.admin-workspace .admin-tasks-table th:nth-child(2) { width:36%; }
.admin-workspace .admin-tasks-table th:nth-child(3) { width:16%; }
.admin-workspace .admin-tasks-table th:nth-child(4) { width:16%; }
.admin-workspace .admin-tasks-table th:nth-child(5) { width:75px; }
.admin-workspace .admin-tasks-table th:nth-child(6) { width:110px; }
.admin-workspace .admin-tasks-table .admin-btn-small { margin-bottom:4px; }

.admin-workspace #adminContent .as-tab button.admin-sub-tab { border-radius:0; }
.admin-workspace #adminContent .as-tab :is(.sa-conf-head,.sa-type-toggle,.sa-status-block,.sa-typerow,.admin-breadcrumb-item) { border-radius:0; }
.admin-workspace .as-tab :is(.as-tmpl-desc,.as-user-email) { font-size:13px; line-height:1.65; }
.admin-workspace .as-users-table a { color:var(--go-ink); font-size:13px; text-decoration:none; font-weight:700; }
.admin-workspace .as-users-table a:hover { text-decoration:underline; }
.admin-workspace #tagLabViewContent .lab-textarea { margin-bottom:12px; }
.admin-workspace .as-tab :is(input[type=checkbox],input[type=radio]) { appearance:auto!important; border:0!important; background:none!important; }
/* Header editing uses the workspace palette, including its editable preview. */
.admin-workspace .as-tab .admin-thumbnail-slot { border-color:var(--go-line)!important; background:var(--go-fill)!important; }
.admin-workspace .as-tab .admin-thumbnail-slot span { color:var(--go-ink2)!important; }
.admin-workspace .ahe-wrapper { max-width:none; }
.admin-workspace .ahe-header { padding:0!important; min-height:0; }
.admin-workspace .ahe-header .tca-inner { display:grid; grid-template-columns:140px minmax(0,1fr) 220px; align-items:center; gap:24px; padding:24px; border:0; border-radius:8px; min-height:0; background:var(--go-fill); }
.admin-workspace .ahe-header .tca-image-section { margin:0; height:140px; width:140px; }
.admin-workspace .ahe-header .tca-image { width:140px; height:140px; border:0; }
.admin-workspace .ahe-header .tca-identity-section { display:block; margin:0; padding:0; }
.admin-workspace .ahe-header .tca-fields-section { padding:0; width:auto; }
.admin-workspace .ahe-header .tca-divider { display:none; }
.admin-workspace .ahe-header :is(.tca-first-name,.tca-team-line,.ah-bio-label,.ahe-placeholder) { color:var(--go-ink2); }
.admin-workspace .ahe-header :is(.tca-last-name,.ah-bio-value) { color:var(--go-ink); }
.admin-workspace .ahe-header .tca-first-name { font-size:16px; }
.admin-workspace .ahe-header .tca-last-name { font-size:30px; }
.admin-workspace .ahe-header .tca-team-line { font-size:13px; flex-wrap:wrap; }
.admin-workspace .ahe-header .tca-team-line>span { color:var(--go-ink2)!important; }
.admin-workspace .ahe-header .ah-bio-row { display:flex; gap:10px; padding:4px 0; font-size:12px; }
.admin-workspace .ahe-header .ah-bio-label { width:65px; flex-shrink:0; }
@media(max-width:1100px) {
  .admin-workspace .ahe-header .tca-inner { grid-template-columns:120px minmax(0,1fr); gap:20px; }
  .admin-workspace .ahe-header .tca-fields-section { grid-column:1 / -1; }
  .admin-workspace .ahe-header :is(.tca-image,.tca-image-section) { width:120px; height:120px; }
}
@media(max-width:480px) {
  .admin-workspace .ahe-header .tca-inner { grid-template-columns:80px minmax(0,1fr); padding:16px; gap:16px; }
  .admin-workspace .ahe-header :is(.tca-image,.tca-image-section) { width:80px; height:80px; }
  .admin-workspace .ahe-header .tca-last-name { font-size:24px; }
}

.admin-workspace #groupSubTabContent { margin-top:28px; }
/* Let fixed drawers layer above the global header instead of being trapped by main. */
.admin-workspace main.container, .admin-workspace .as-content { z-index:auto!important; }

/* Loading placeholders (template + JS) */
.admin-workspace .as-skel { padding: 4px 0; max-width: 520px; }
.admin-workspace .as-skel .tl-skel:first-child { width: 70%; }
.admin-workspace .as-skel .tl-skel:last-child { width: 45%; }
/* Pico sizes inputs from its own spacing vars; pin the TL control height. */
.admin-workspace :is(.as-tab,.admin-modal,.as-modal) :is(input:not([type=checkbox]):not([type=radio]):not([type=file]),select) { height: 32px !important; }
.admin-workspace #tab-sources .sa-search input { background: transparent !important; box-shadow: none !important; height: 30px !important; padding: 0 4px !important; }
/* Tables run edge to edge inside their card (Stats workbench table). */
.admin-workspace .as-card > :is(table,.as-users-wrap,.admin-table-scroll,.go-table-wrap),
.admin-workspace .as-card > div > :is(table.go-table,.as-users-wrap,.admin-table-scroll) { width: calc(100% + 36px) !important; max-width: none !important; margin-left: -18px !important; margin-right: -18px !important; }
.admin-workspace .as-card :is(table,.go-table,.admin-table,.as-users-table) :is(th,td):first-child { padding-left: 18px !important; }
.admin-workspace .as-card :is(table,.go-table,.admin-table,.as-users-table) :is(th,td):last-child { padding-right: 18px !important; }
.admin-workspace .as-card :is(table,.go-table,.admin-table,.as-users-table) tbody tr:last-child td { border-bottom: 0 !important; }
