/* Local layout for the client Checker BM screen. */
.checker-view {
  --checker-line: var(--adscale-border, #252525);
  --checker-muted: var(--adscale-muted, #9ca3af);
  --checker-field: var(--adscale-canvas, #000);
  --checker-surface: var(--adscale-surface, #080808);
  --checker-raised: var(--adscale-raised, #101010);
  --checker-text: var(--adscale-text, #f5f7fa);
  --checker-primary: var(--adscale-blue, #016fef);
  --checker-primary-hover: var(--adscale-blue-hover, #005fce);
  --checker-focus: var(--adscale-focus, rgba(1, 111, 239, .26));
  min-width: 0;
  min-height: 0;
}
.checker-view.active {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}
.checker-view [hidden] { display: none !important; }
.checker-view *, .checker-view *::before, .checker-view *::after { box-sizing: border-box; }
body.redesign-v6[data-view="bm-checker"] .workspace-head {
  grid-template-columns: minmax(0, 1fr) !important;
  height: 56px !important;
  min-height: 56px !important;
  max-height: 56px !important;
  margin: 0 !important;
  padding: 10px 16px !important;
  border-radius: 15px !important;
  background: var(--adscale-surface, #080808) !important;
  border-color: var(--adscale-border, #252525) !important;
  color: var(--adscale-text, #f5f7fa);
}
body.redesign-v6[data-view="bm-checker"] .workspace-head .eyebrow,
body.redesign-v6[data-view="bm-checker"] .workspace-head .head-actions { display: none !important; }
body.redesign-v6[data-view="bm-checker"] .workspace-head #pageTitle {
  margin: 0 !important;
  font-size: 30px !important;
  line-height: 1.1 !important;
}
body.redesign-v6 .checker-view .checker-main-panel,
body.redesign-v6 .checker-view .checker-results-panel {
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 15px !important;
  border-radius: 16px !important;
  background: var(--checker-surface) !important;
  border-color: var(--checker-line) !important;
  color: var(--checker-text);
  overflow: hidden !important;
}
.checker-main-head, .checker-results-head {
  display: flex;
  flex: 0 0 auto;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}
.checker-main-head > div:first-child, .checker-results-head > div:first-child { min-width: 0; }
.checker-view .checker-main-head h2, .checker-view .checker-results-head h2 {
  margin: 0;
  color: var(--checker-text);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.015em;
}
.checker-view .checker-description, .checker-results-head p {
  margin: 4px 0 0;
  color: var(--checker-muted);
  font-size: 12px;
  line-height: 1.4;
}
.checker-view .status-pill {
  flex: 0 1 auto;
  max-width: 150px;
  min-width: 0;
  padding: 4px 8px;
  color: var(--checker-muted);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  white-space: normal;
}
.checker-view .status-pill.connected { color: #86efac; border-color: #245936; background: #0b1d12; }
.checker-view .checker-config-panel {
  flex: 0 0 auto;
  min-width: 0;
  margin: 0;
  border: 1px solid var(--checker-line);
  border-radius: 9px;
  background: var(--checker-raised);
}
.checker-config-panel summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 32px;
  padding: 5px 9px;
  color: var(--checker-muted);
  font-size: 12px;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
  user-select: none;
}
.checker-config-panel summary::-webkit-details-marker { display: none; }
.checker-config-summary-right { display: inline-flex; align-items: center; gap: 7px; min-width: 0; }
.checker-config-panel .status-pill { max-width: 130px; padding: 2px 6px; font-size: 10px; }
.checker-config-chevron { font-size: 16px; line-height: 1; color: var(--checker-muted); transition: transform .15s; }
.checker-config-panel[open] .checker-config-chevron { transform: rotate(180deg); }
.checker-config-panel[open] summary { border-bottom: 1px solid var(--checker-line); }
.checker-config-content { min-width: 0; padding: 10px; }
body.redesign-v6 .checker-view form.checker-config-form {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 8px !important;
  align-items: end !important;
  min-width: 0 !important;
  margin: 0 !important;
}
body.redesign-v6 .checker-view .checker-config-form > label { grid-column: 1 / -1; min-width: 0 !important; }
body.redesign-v6 .checker-view .checker-config-form > button {
  width: 100% !important;
  min-width: 0 !important;
  min-height: 34px;
  padding: 7px 8px;
  font-size: 12px;
  line-height: 1.4;
}
.checker-view label { min-width: 0; color: var(--checker-text); font-size: 12px; font-weight: 650; }
.checker-view input, .checker-view select {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin-top: 5px;
  padding: 9px 10px;
  border: 1px solid var(--checker-line);
  border-radius: 8px;
  background: var(--checker-field);
  color: var(--checker-text);
  font-size: 13px;
  line-height: 1.4;
}
.checker-view input::placeholder, .checker-view textarea::placeholder { color: #6b7280; opacity: 1; }
.checker-view input:focus, .checker-view select:focus { outline: 2px solid var(--checker-primary); outline-offset: 1px; }
.checker-view .checker-hint {
  flex: 0 0 auto;
  min-width: 0;
  margin: 0;
  color: var(--checker-muted);
  font-size: 11px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.checker-view #checkerKeyHint { margin-top: 7px; }
.checker-connection-notice {
  flex: 0 0 auto;
  min-width: 0;
  max-height: 32px;
  overflow: auto;
  margin: 0;
  color: var(--checker-muted);
  font-size: 11px;
  line-height: 1.4;
  scrollbar-width: thin;
}
.checker-connection-notice[data-state="ready"] {
  max-height: 16px;
  color: var(--checker-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.checker-tabs {
  display: grid;
  flex: 0 0 auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  min-width: 0;
  padding: 4px;
  border: 1px solid var(--checker-line);
  border-radius: 10px;
  background: var(--adscale-canvas, #000);
}
body.redesign-v6 .checker-view button.checker-tab {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 7px;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 36px;
  margin: 0;
  padding: 7px 9px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: var(--checker-muted);
  box-shadow: none;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: none;
  text-align: left;
  white-space: normal;
}
.checker-tab svg { flex: 0 0 17px; width: 17px; height: 17px; opacity: .9; }
body.redesign-v6 .checker-view button.checker-tab:hover { background: var(--checker-raised); color: var(--checker-text); }
body.redesign-v6 .checker-view button.checker-tab[aria-selected="true"] {
  border-color: var(--checker-primary);
  background: var(--checker-primary);
  color: var(--checker-text);
}
.checker-view button:focus-visible, .checker-config-panel summary:focus-visible,
.checker-table-wrap:focus-visible { outline: 2px solid var(--checker-primary); outline-offset: 2px; }
.checker-query-panel {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
}
body.redesign-v6 .checker-view form.checker-query-form {
  display: flex !important;
  flex: 1 1 0 !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 8px !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
}
.checker-input-surface {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  min-width: 0;
  min-height: 180px;
  border: 1px solid var(--checker-line);
  border-radius: 10px;
  background: var(--checker-field);
  overflow: hidden;
}
.checker-input-surface:focus-within { border-color: var(--checker-primary); box-shadow: 0 0 0 2px var(--checker-focus); }
body.redesign-v6 .checker-view label.checker-items-label {
  display: flex !important;
  flex: 1 1 0;
  flex-direction: column;
  gap: 0 !important;
  min-width: 0 !important;
  min-height: 0;
  margin: 0;
  padding: 0 !important;
}
.checker-items-label > span {
  display: block;
  flex: 0 0 auto;
  padding: 9px 11px 0;
  color: var(--checker-muted);
  font-size: 12px;
  line-height: 1.4;
}
body.redesign-v6 .checker-view textarea#checkerItems {
  display: block;
  flex: 1 1 0;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  min-width: 0 !important;
  min-height: 120px !important;
  max-height: none;
  margin: 0;
  padding: 8px 11px 10px;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--checker-text);
  box-shadow: none !important;
  outline: none !important;
  font: 13px/1.65 ui-monospace, SFMono-Regular, Consolas, monospace;
  resize: none;
  overflow: auto;
  overflow-wrap: anywhere;
  overscroll-behavior: contain;
}
.checker-input-footer {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 29px;
  padding: 5px 10px;
  border-top: 1px solid var(--checker-line);
  background: var(--checker-raised);
}
body.redesign-v6 .checker-view button.checker-text-button {
  width: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0;
  background: transparent !important;
  color: var(--checker-muted);
  box-shadow: none !important;
  font-size: 11px;
  line-height: 1.4;
}
.checker-text-button:hover { color: var(--checker-primary-hover) !important; text-decoration: underline; }
.checker-count { color: var(--checker-text); font-size: 11px; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.checker-count[data-invalid="true"] { color: #fca5a5; }
.checker-manual-notice {
  flex: 0 0 auto;
  min-width: 0;
  margin: 0;
  padding: 7px 9px;
  border-left: 2px solid var(--checker-primary);
  border-radius: 0 6px 6px 0;
  background: var(--checker-raised);
  color: var(--checker-muted);
  font-size: 11px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.checker-query-actions { display: flex; flex: 0 0 auto; align-items: center; justify-content: space-between; gap: 12px; min-width: 0; }
.checker-shortcut { flex: 0 0 auto; color: var(--checker-muted); font-size: 11px; white-space: nowrap; }
body.redesign-v6 .checker-view .checker-query-actions button#checkerSubmit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px !important;
  width: auto !important;
  min-height: 39px;
  padding: 9px 16px;
  border: 0;
  border-radius: 9px;
  background: var(--checker-primary);
  color: var(--checker-text);
  box-shadow: 0 5px 17px var(--checker-focus);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0;
  text-transform: none;
  white-space: normal;
}
.checker-view button:disabled { opacity: .45; cursor: not-allowed; }
.checker-view .checker-feedback {
  flex: 0 0 auto;
  min-width: 0;
  max-height: 68px;
  overflow: auto;
  margin: 0;
  color: var(--checker-muted);
  font-size: 12px;
  line-height: 1.45;
  white-space: pre-line;
  overflow-wrap: anywhere;
  scrollbar-width: thin;
}
.checker-view .checker-feedback:empty { display: none; }
.checker-feedback[data-tone="error"]:not(:empty) { padding: 7px 9px; border: 1px solid #643030; border-radius: 8px; background: #250c0c; color: #fca5a5; }
.checker-feedback[data-tone="success"] { color: #86efac; }
.checker-config-content .checker-feedback:not(:empty) { margin-top: 8px; }
.checker-progress {
  display: grid;
  flex: 0 0 auto;
  grid-template-rows: 13px 12px 3px;
  gap: 2px;
  min-width: 0;
  height: 40px;
  padding: 3px 8px;
  border: 1px solid var(--checker-line);
  border-radius: 8px;
  background: var(--checker-raised);
}
.checker-progress-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 0; }
.checker-progress-head h3 { min-width: 0; overflow: hidden; margin: 0; color: var(--checker-text); font-size: 12px; font-weight: 700; line-height: 13px; text-overflow: ellipsis; white-space: nowrap; }
.checker-progress-elapsed { color: var(--checker-muted); font: 11px/13px ui-monospace, Consolas, monospace; white-space: nowrap; font-variant-numeric: tabular-nums; }
.checker-progress-detail { min-width: 0; overflow: hidden; margin: 0; color: var(--checker-muted); font-size: 11px; line-height: 12px; text-overflow: ellipsis; white-space: nowrap; }
.checker-progress-track { position: relative; isolation: isolate; height: 3px; overflow: hidden; border-radius: 99px; background: var(--checker-line); }
.checker-progress-fill { width: 0; max-width: 100%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--checker-primary), var(--checker-primary-hover)); transition: width .2s; }
.checker-progress[data-state="running"] .checker-progress-track::after {
  position: absolute;
  inset: 0 auto 0 -40%;
  width: 40%;
  content: "";
  background: linear-gradient(90deg, transparent, var(--checker-primary), var(--checker-primary-hover), transparent);
  animation: checker-compact-sweep 1.5s ease-in-out infinite;
}
.checker-progress[data-state="success"] { border-color: #245936; background: #0b1d12; }
.checker-progress[data-state="success"] .checker-progress-fill { width: 100% !important; background: #4ade80; }
.checker-progress[data-state="error"] { border-color: #643030; background: #250c0c; }
.checker-progress[data-state="error"] .checker-progress-fill { background: #f87171; }
.checker-results-panel { display: flex; flex-direction: column; container-name: checker-results; container-type: inline-size; }
.checker-results-head { padding-bottom: 3px; }
.checker-results-head > div:first-child { flex: 1 1 0; }
.checker-results-actions { display: flex; flex: 0 1 auto; justify-content: flex-end; align-items: center; flex-wrap: wrap; gap: 6px; min-width: 0; max-width: 65%; }
body.redesign-v6 .checker-view .checker-results-actions button {
  width: auto !important;
  min-width: 0 !important;
  min-height: 32px !important;
  padding: 6px 9px !important;
  border-radius: 7px;
  font-size: 12px !important;
  line-height: 1.4 !important;
  white-space: normal !important;
}
.checker-result-meta { display: flex; flex: 0 0 auto; flex-wrap: wrap; gap: 6px; min-width: 0; margin: 0; }
.checker-result-meta span { padding: 4px 8px; border: 1px solid var(--checker-line); border-radius: 7px; background: var(--checker-raised); color: var(--checker-muted); font-size: 11px; line-height: 1.4; }
.checker-result-meta strong { margin-right: 3px; color: var(--checker-text); }
.checker-empty {
  display: grid;
  flex: 0 0 auto;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 4px 11px;
  align-content: center;
  min-width: 0;
  min-height: 92px;
  margin: 2px 0 0;
  padding: 17px;
  border: 1px dashed var(--checker-line);
  border-radius: 10px;
  background: var(--checker-surface);
}
.checker-empty-mark { display: grid; grid-row: 1 / 3; align-self: center; place-items: center; width: 28px; height: 28px; border: 1px solid var(--checker-line); border-radius: 9px; background: var(--checker-raised); color: var(--checker-primary); font-size: 17px; }
.checker-empty strong { align-self: end; color: var(--checker-text); font-size: 14px; line-height: 1.4; }
.checker-empty p { margin: 0; color: var(--checker-muted); font-size: 12px; line-height: 1.5; }
.checker-results-toolbar { display: flex; flex: 0 0 auto; flex-direction: column; gap: 5px; min-width: 0; }
.checker-result-controls { display: grid; grid-template-columns: minmax(0, 1fr) minmax(120px, 150px) auto auto; align-items: end; gap: 8px; min-width: 0; }
.checker-result-controls label { display: block; min-width: 0; color: var(--checker-muted); font-size: 11px; font-weight: 600; line-height: 1.4; }
.checker-result-controls label > span { display: block; }
body.redesign-v6 .checker-view .checker-result-controls input,
body.redesign-v6 .checker-view .checker-result-controls select { height: 35px; min-width: 0 !important; margin-top: 4px; padding: 7px 9px; font-size: 12px; line-height: 1.4; }
body.redesign-v6 .checker-view .checker-result-controls > button { width: auto !important; min-width: 0 !important; min-height: 35px; padding: 7px 10px; border-radius: 8px; font-size: 12px; line-height: 1.4; white-space: nowrap; }
.checker-visible-count { color: var(--checker-muted); font-size: 11px; line-height: 1.4; }
.checker-result-groups { display: grid; flex: 1 1 0; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: minmax(180px, 1fr); align-items: stretch; gap: 9px; min-width: 0; min-height: 0; overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #3f3f46 var(--checker-surface); }
.checker-result-groups:has(> .checker-group-card:only-child) { grid-template-columns: minmax(0, 1fr); }
.checker-group-card { --checker-group-color: var(--checker-muted); --checker-group-tint: var(--checker-raised); display: grid; grid-template-rows: auto minmax(0, 1fr) auto; min-width: 0; min-height: 0; border: 1px solid var(--checker-line); border-top: 2px solid var(--checker-group-color); border-radius: 10px; background: var(--checker-surface); overflow: hidden; }
.checker-group-card:is([data-checker-group="verified"], [data-checker-group="status-active"]) { --checker-group-color: #4ade80; --checker-group-tint: #0b1d12; }
.checker-group-card:is([data-checker-group="pending"], [data-checker-group="status-failed"]) { --checker-group-color: #facc15; --checker-group-tint: #211b07; }
.checker-group-card:is([data-checker-group="rejected"], [data-checker-group="status-disabled"]) { --checker-group-color: #f87171; --checker-group-tint: #250c0c; }
.checker-group-card[data-checker-group="not-submitted"] { --checker-group-color: var(--checker-primary-hover); --checker-group-tint: var(--checker-raised); }
.checker-group-card[data-checker-group="other"] { --checker-group-color: var(--checker-muted); --checker-group-tint: var(--checker-raised); }
.checker-group-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 6px; min-width: 0; padding: 10px 9px; border-bottom: 1px solid var(--checker-line); background: var(--checker-group-tint); }
.checker-group-title { min-width: 0; margin: 0; color: var(--checker-group-color); font-size: 13px; font-weight: 700; line-height: 1.4; overflow-wrap: anywhere; }
.checker-group-count { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; min-width: 24px; min-height: 22px; padding: 2px 6px; border: 1px solid color-mix(in srgb, var(--checker-group-color) 25%, transparent); border-radius: 6px; background: #0000004d; color: var(--checker-group-color); font-size: 12px; font-weight: 750; line-height: 1.4; font-variant-numeric: tabular-nums; }
.checker-group-list { display: flex; flex-direction: column; gap: 8px; min-width: 0; min-height: 0; margin: 0; padding: 8px; overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #3f3f46 var(--checker-surface); }
.checker-group-list:focus-visible { outline: 2px solid var(--checker-primary); outline-offset: -2px; }
.checker-result-item { flex: 0 0 auto; min-width: 0; padding: 9px; border: 1px solid var(--checker-line); border-radius: 8px; background: var(--checker-raised); }
.checker-item-id { display: block; min-width: 0; max-width: 100%; margin: 0; color: var(--checker-text); font: 650 13px/1.5 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: 0; overflow-wrap: anywhere; }
.checker-item-status { display: block; min-width: 0; max-width: 100%; margin-top: 5px; color: var(--checker-group-color); font-size: 13px; line-height: 1.45; overflow-wrap: anywhere; }
.checker-result-groups[data-mode="status"] .checker-item-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 5px 8px;
}
.checker-item-status.checker-operational-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: 0 0 auto;
  margin: 0;
  padding: 2px 6px;
  border: 1px solid color-mix(in srgb, currentColor 35%, transparent);
  border-radius: 999px;
  background: var(--checker-group-tint);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.45;
  text-transform: uppercase;
}
.checker-operational-badge::before {
  flex: 0 0 6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}
.checker-item-details { min-width: 0; max-width: 100%; margin-top: 7px; padding-top: 6px; border-top: 1px solid var(--checker-line); }
.checker-item-details summary { color: var(--checker-muted); font-size: 12px; font-weight: 600; line-height: 1.5; cursor: pointer; overflow-wrap: anywhere; }
.checker-item-details dl { display: grid; gap: 8px; min-width: 0; margin: 8px 0 0; }
.checker-item-details dl > div { display: grid; gap: 2px; min-width: 0; }
.checker-item-details dt { color: var(--checker-muted); font-size: 11px; font-weight: 700; overflow-wrap: anywhere; }
.checker-item-details dd { min-width: 0; margin: 0; color: var(--checker-text); white-space: pre-wrap; overflow-wrap: anywhere; font: 11px/1.5 ui-monospace, Consolas, monospace; }
.checker-group-empty { min-width: 0; margin: 0; padding: 13px 6px; color: var(--checker-muted); font-size: 12px; line-height: 1.5; text-align: center; overflow-wrap: anywhere; }
.checker-group-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px; min-width: 0; padding: 8px; border-top: 1px solid var(--checker-line); background: var(--checker-surface); }
body.redesign-v6 .checker-view .checker-group-actions button { flex: 1 1 0; width: auto !important; min-width: 0 !important; min-height: 30px; padding: 6px 8px; border: 1px solid var(--checker-line); border-radius: 7px; background: var(--checker-raised); color: var(--checker-muted); font-size: 12px; line-height: 1.4; white-space: normal; }
body.redesign-v6 .checker-view .checker-group-actions button:hover { border-color: var(--checker-primary); color: var(--checker-text); }
@container checker-results (max-width: 599px) {
  .checker-result-controls { grid-template-columns: minmax(0, 1fr) auto auto; }
  .checker-search-control { grid-column: 1 / -1; }
  .checker-result-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(220px, 1fr); overflow-y: auto; overscroll-behavior: contain; }
}
@container checker-results (min-width: 380px) {
  .checker-result-groups:has(> .checker-group-card:nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@container checker-results (max-width: 379px) {
  .checker-result-groups { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 1000px) {
  body.redesign-v6[data-view="bm-checker"] { height: 100dvh; min-height: 0; overflow: hidden !important; }
  body.redesign-v6[data-view="bm-checker"] .shell {
    height: 100dvh !important;
    min-height: 0 !important;
    grid-template-columns: 266px minmax(0, 1fr) !important;
    align-items: stretch !important;
    gap: 12px !important;
    padding: 12px !important;
    overflow: hidden !important;
  }
  body.redesign-v6[data-view="bm-checker"] .sidebar { position: relative !important; top: 0 !important; height: 100% !important; min-height: 0 !important; }
  body.redesign-v6[data-view="bm-checker"] .workspace {
    display: grid !important;
    grid-template-rows: 56px minmax(0, 1fr) !important;
    gap: 10px !important;
    align-content: stretch !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }
  body.redesign-v6[data-view="bm-checker"] #view-bm-checker.active {
    grid-template-columns: minmax(330px, 360px) minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr);
    align-items: stretch;
    width: 100%;
    height: 100%;
    min-height: 0;
    gap: 12px;
    overflow: hidden;
  }
  body.redesign-v6[data-view="bm-checker"] .checker-main-panel { overflow-y: auto !important; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #3f3f46 var(--checker-surface); }
  body.redesign-v6[data-view="bm-checker"] .checker-main-panel,
  body.redesign-v6[data-view="bm-checker"] .checker-results-panel { height: 100%; }
}
@media (min-width: 1000px) and (max-width: 1180px) {
  body.redesign-v6[data-view="bm-checker"] .shell { grid-template-columns: 220px minmax(0, 1fr) !important; }
  body.redesign-v6[data-view="bm-checker"] #view-bm-checker.active { grid-template-columns: 320px minmax(0, 1fr); gap: 10px; }
  body.redesign-v6[data-view="bm-checker"] .sidebar { padding: 12px !important; }
  body.redesign-v6[data-view="bm-checker"] .nav { display: grid !important; overflow: auto !important; }
  body.redesign-v6[data-view="bm-checker"] .nav button { width: 100% !important; min-width: 0 !important; }
  body.redesign-v6[data-view="bm-checker"] .logout { display: block !important; }
  .checker-results-head { flex-wrap: wrap; }
  .checker-results-actions { max-width: 100%; }
}
@media (max-width: 999px) {
  body.redesign-v6[data-view="bm-checker"] { height: auto; min-height: 100dvh; overflow-y: auto !important; }
  body.redesign-v6[data-view="bm-checker"] .shell {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: auto auto !important;
    grid-auto-rows: auto !important;
    align-items: start !important;
    overflow: visible !important;
  }
  body.redesign-v6[data-view="bm-checker"] .workspace {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    grid-template-rows: auto auto !important;
    grid-auto-rows: auto !important;
    align-content: start !important;
    gap: 12px !important;
    padding-bottom: 16px !important;
    overflow: visible !important;
  }
  body.redesign-v6[data-view="bm-checker"] #view-bm-checker.active {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: auto auto !important;
    grid-auto-rows: auto !important;
    align-items: start;
    align-content: start;
    overflow: visible !important;
  }
  body.redesign-v6 .checker-view .checker-main-panel,
  body.redesign-v6 .checker-view .checker-results-panel {
    flex: 0 0 auto !important;
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    padding: 15px !important;
    overflow: visible !important;
  }
  .checker-query-panel, body.redesign-v6 .checker-view form.checker-query-form {
    flex: 0 0 auto !important;
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }
  .checker-input-surface { flex: 0 0 auto; min-height: 0; }
  body.redesign-v6 .checker-view label.checker-items-label { flex: 0 0 auto; }
  body.redesign-v6 .checker-view textarea#checkerItems { flex: 0 0 auto; height: 220px !important; min-height: 180px !important; max-height: 420px; resize: vertical; font-size: 14px; }
  body.redesign-v6 .checker-view button.checker-tab { min-height: 44px; font-size: 14px; }
  .checker-input-footer { min-height: 36px; }
  body.redesign-v6 .checker-view button.checker-text-button { font-size: 14px; }
  .checker-count, .checker-view .checker-hint, .checker-connection-notice, .checker-manual-notice { font-size: 12px; }
  .checker-connection-notice { max-height: none; overflow: visible; }
  .checker-connection-notice[data-state="ready"] { max-height: none; white-space: normal; }
  .checker-view .status-pill { max-width: 160px; font-size: 11px; }
  .checker-manual-notice { padding: 9px 10px; }
  .checker-view input { font-size: 14px; }
  body.redesign-v6 .checker-view .checker-config-form > button { min-height: 40px; font-size: 14px; }
  .checker-progress { height: auto; min-height: 46px; grid-template-rows: auto auto 3px; padding: 7px 9px; gap: 3px; }
  .checker-progress-head h3 { font-size: 12px; line-height: 1.3; }
  .checker-progress-detail { font-size: 11px; line-height: 1.3; }
  .checker-view .checker-feedback { max-height: 110px; font-size: 13px; }
  .checker-result-groups { display: flex; flex: 0 0 auto; flex-direction: column; height: auto; min-height: auto; overflow: visible; }
  .checker-group-card { flex: 0 0 auto; grid-template-rows: auto minmax(0, auto) auto; min-height: 0; }
  .checker-group-list { max-height: 300px; }
  .checker-group-title { font-size: 14px; }
  body.redesign-v6 .checker-view .checker-result-controls input,
  body.redesign-v6 .checker-view .checker-result-controls select { min-height: 40px; font-size: 14px; }
  body.redesign-v6 .checker-view .checker-result-controls > button,
  body.redesign-v6 .checker-view .checker-group-actions button { min-height: 40px; font-size: 14px; }
  body.redesign-v6 .checker-view .checker-results-actions button { min-height: 38px !important; font-size: 14px !important; }
}
@media (max-width: 520px) {
  body.redesign-v6[data-view="bm-checker"] .workspace-head { height: 52px !important; min-height: 52px !important; max-height: 52px !important; padding: 9px 12px !important; }
  body.redesign-v6[data-view="bm-checker"] .workspace-head #pageTitle { font-size: 27px !important; }
  .checker-main-head { gap: 8px; }
  .checker-view .checker-main-head h2 { font-size: 20px; }
  .checker-view .checker-description { font-size: 11px; }
  .checker-view .status-pill { max-width: 120px; font-size: 10px; }
  .checker-tabs { gap: 5px; }
  body.redesign-v6 .checker-view button.checker-tab { gap: 6px; padding: 9px 7px; }
  .checker-tab svg { flex-basis: 16px; width: 16px; height: 16px; }
  .checker-results-head { flex-direction: column; gap: 9px; }
  .checker-results-actions { max-width: 100%; justify-content: flex-start; }
  .checker-result-meta span { font-size: 10px; padding: 4px 6px; }
  .checker-result-controls { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .checker-search-control, .checker-filter-control { grid-column: 1 / -1; }
  .checker-empty { padding: 14px 12px; min-height: 100px; }
}
@media (prefers-reduced-motion: reduce) {
  .checker-progress-track::after { animation: none !important; inset: 0 20% !important; width: auto !important; opacity: .65; }
  .checker-progress-fill, .checker-config-chevron { transition: none; }
}
@keyframes checker-compact-sweep { from { transform: translateX(0); } to { transform: translateX(350%); } }
