/* Sibling rule views retain their own routes and content. */
#app .rules-center-page > .page { min-height: 0; padding: 0; }
.rules-center-nav {
  position: sticky;
  top: 0;
  z-index: 8;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface, #fff);
}
.rules-center-nav a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 9px 14px;
  border: 1px solid transparent;
  border-radius: 3px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 550;
  text-decoration: none;
}
.rules-center-nav a:hover { background: #edf4fc; color: #104f93; }
.rules-center-nav a[aria-current="page"] {
  border-color: #8cb5e4;
  background: #e2efff;
  color: #104f93;
  box-shadow: inset 0 -3px #1671c8;
  font-weight: 700;
}
.rules-center-nav a:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.rules-center-nav svg { width: 17px; height: 17px; flex-shrink: 0; }

/* Match the bounded settings workspace; only the rule body owns long content. */
#app:has(> .rules-center-page) { height: calc(100dvh - var(--topbar-height)); min-height: 0; overflow: hidden; }
#app > .rules-center-page { display: flex; flex-direction: column; height: 100%; min-height: 0; gap: 6px; padding: 8px 12px; overflow: hidden; }
#app .rules-center-nav { position: static; flex-shrink: 0; margin: 0; }
#app .rules-workspace { display: flex; flex-direction: column; flex: 1; gap: 6px; min-width: 0; min-height: 0; overflow: hidden; }
#app .rules-workspace > :not(.rules-workarea) { flex-shrink: 0; }
.rules-toolbar { position: relative; z-index: 10; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 10px; padding: 4px 8px; border: 1px solid var(--line); border-radius: 4px; background: #fff; }
.rules-toolbar > div, .rules-toolbar-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; min-width: 0; }
.rules-toolbar h2 { margin: 0; font-size: 14px; line-height: 22px; }
.rules-project-control { flex: 1; justify-content: flex-start; }
.rules-project-control label { color: #596b7f; font-size: 12px; white-space: nowrap; }
#app .rules-project-control .select { flex: 1; width: auto; min-width: 120px; max-width: 280px; }
.rules-project-control .button { flex-shrink: 0; }
.rules-result-count { color: #596b7f; font-size: 12px; white-space: nowrap; }
#app .rules-workspace .button { min-height: 36px; padding: 7px 10px; border-radius: 4px; box-shadow: none; font-size: 12px; }
.rules-workspace :is(a, button, input, select, summary, [tabindex]):focus-visible { outline: 2px solid #1873cc; outline-offset: 2px; }
.rules-maintenance-note { display: flex; align-items: flex-start; gap: 7px; color: #596b7f; font-size: 12px; line-height: 20px; }
.rules-maintenance-note svg { width: 15px; height: 18px; flex-shrink: 0; }
#app .rules-workspace .rule-project-scope { display: grid; grid-template-columns: minmax(240px, 1.1fr) minmax(180px, 1fr) auto; align-items: end; gap: 10px 16px; min-height: 0; margin: 0; padding: 10px 12px; border-radius: 4px; box-shadow: none; }
.rules-workspace .rule-project-scope > div { min-width: 0; }
#app .rules-workspace .rule-project-scope label { display: block; margin-bottom: 4px; color: #596b7f; font-size: 12px; }
#app .rules-workspace .select { width: 100%; min-width: 0; height: 36px; border-radius: 4px; font-size: 13px; }
#app .rules-workspace .rule-profile-summary { display: grid; gap: 4px; align-self: center; }
#app .rules-workspace .rule-profile-summary strong { font-size: 13px; line-height: 20px; overflow-wrap: anywhere; }
#app .rules-workspace .rule-profile-summary small { color: #596b7f; font-size: 12px; }
.rules-meta-strip { display: flex; flex-wrap: wrap; gap: 8px 24px; padding: 0 2px; font-size: 12px; color: #596b7f; }
.rules-meta-strip > span { display: inline-flex; align-items: baseline; gap: 8px; }
.rules-meta-strip strong { color: var(--ink); font-size: 13px; font-variant-numeric: tabular-nums; }
.rules-filters { display: grid; grid-template-columns: minmax(180px, 1fr) 200px auto auto; align-items: center; gap: 8px; padding: 0; border: 0; background: transparent; }
.rules-filters > label { display: flex; align-items: center; min-width: 0; gap: 6px; color: #596b7f; font-size: 12px; }
.rules-filters > label > span:first-child { white-space: nowrap; }
.rules-filters .rules-search { position: relative; display: block; }
.rules-search > span:first-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.rules-search > span:last-child { display: flex; align-items: center; gap: 8px; min-width: 0; height: 36px; padding: 0 9px; border: 1px solid var(--line); border-radius: 4px; }
.rules-search > span:last-child:focus-within { border-color: #1873cc; }
.rules-search svg { flex-shrink: 0; width: 16px; height: 16px; }
.rules-search input { width: 100%; min-width: 0; height: 100%; border: 0; background: transparent; color: var(--ink); font: inherit; font-size: 13px; }
.rules-search input:focus-visible { outline-offset: 0; }
.rules-workarea { display: grid; grid-template-columns: 144px minmax(0, 1fr); flex: 1; min-height: 0; min-width: 0; gap: 8px; }
.rules-workarea.rules-directory-collapsed { grid-template-columns: minmax(0, 1fr); }
.rules-directory[hidden] { display: none; }
.rules-directory { display: flex; flex-direction: column; align-items: stretch; gap: 3px; min-height: 0; overflow: auto; padding: 6px; border: 1px solid var(--line); border-radius: 4px; background: #fff; }
.rules-directory > strong { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px; padding: 6px; color: var(--ink); font-size: 13px; }
.rules-directory > strong small { display: none; }
.rules-directory button { display: flex; flex: 0 0 auto; align-items: center; justify-content: space-between; gap: 8px; min-height: 40px; padding: 8px; border: 1px solid transparent; border-radius: 3px; background: #fff; color: #40546c; font-size: 12px; text-align: left; }
.rules-directory button > span { display: flex; flex-wrap: wrap; gap: 5px; min-width: 0; }
.rules-directory button small { white-space: nowrap; color: #596b7f; font-size: 11px; }
.rules-directory button:hover:enabled, .rules-directory button:focus-visible { border-color: #8cb5e4; background: #e2efff; color: #104f93; }
.rules-directory button:disabled { opacity: .45; cursor: default; }
.rules-scroll { min-width: 0; min-height: 0; overflow: auto; border: 1px solid var(--line); border-radius: 4px; background: #fff; overscroll-behavior: contain; }
#app .rules-workspace .rule-library { border: 0; box-shadow: none; overflow: visible; }
#app .rules-workspace .process-rule-list { display: block; }
#app .rules-workspace .process-rule-row { display: block; min-height: 0; padding: 10px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: #fff; }
#app .rules-workspace .process-rule-heading { display: grid; grid-template-columns: minmax(0, 1fr) 124px; align-items: start; gap: 8px 12px; margin-bottom: 8px; }
#app .rules-workspace .process-rule-code { display: inline-flex; align-items: baseline; gap: 6px; width: auto; padding: 0; }
#app .rules-workspace .process-rule-code strong { font-size: 13px; }
#app .rules-workspace .process-rule-title { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
#app .rules-workspace .process-rule-title strong { font-size: 14px; overflow-wrap: anywhere; }
#app .rules-workspace .process-rule-heading p { margin: 5px 0 0; color: #596b7f; font-size: 12px; line-height: 20px; white-space: normal; overflow-wrap: anywhere; }
#app .rules-workspace .process-rule-meta { display: flex; grid-column: auto; grid-row: auto; flex-direction: column; align-items: stretch; gap: 8px; min-width: 0; }
#app .rules-workspace .process-rule-meta .badge { align-self: flex-end; white-space: normal; text-align: center; }
#app .rules-workspace .process-rule-meta .button { justify-content: center; white-space: normal; }
#app .rules-workspace .process-rule-details summary { min-height: 40px; grid-template-columns: minmax(0, 1fr) 16px; gap: 4px 8px; }
#app .rules-workspace .process-rule-details summary > span { grid-column: 1; font-size: 12px; }
#app .rules-workspace .process-rule-details summary > b { grid-column: 1; font-size: 11px; white-space: normal; font-weight: 400; }
#app .rules-workspace .process-rule-details summary > svg { grid-column: 2; grid-row: 1 / 3; }
#app .rules-workspace .process-rule-detail-body { display: flex; flex-direction: column; gap: 16px; padding: 12px; }
#app .rules-workspace .process-rule-step-groups { display: flex; flex-direction: column; gap: 12px; }
#app .rules-workspace .process-rule-step-group { display: block; padding: 0; border: 0; background: transparent; }
#app .rules-workspace .process-rule-step-group > strong { display: block; margin-bottom: 6px; color: var(--ink); font-size: 13px; }
#app .rules-workspace .process-rule-step-group ol { display: block; padding-left: 22px; }
#app .rules-workspace .process-rule-step-group li { display: list-item; margin: 0; padding: 8px 0; border: 0; border-bottom: 1px solid #edf1f6; background: transparent; }
#app .rules-workspace .process-rule-step-group li > span { display: block; font-size: 13px; line-height: 20px; }
#app .rules-workspace .process-rule-step-group li > small { display: block; max-width: 100%; margin: 3px 0 0; color: #596b7f; font-size: 12px; line-height: 20px; white-space: normal; overflow-wrap: anywhere; }
#app .rules-workspace .process-rule-materials { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 0; border: 0; background: transparent; }
#app .rules-workspace .process-rule-materials > strong { font-size: 13px; }
#app .rules-workspace .process-rule-materials > span { padding: 6px 0; border: 0; border-radius: 0; background: transparent; }
#app .rules-workspace .process-rule-materials :is(b, small) { white-space: normal; overflow-wrap: anywhere; font-size: 12px; line-height: 20px; }
#app .rules-workspace .after-sales-rule-groups { display: flex; flex-direction: column; gap: 0; }
#app .rules-workspace .after-sales-rule-group { min-width: 0; overflow: visible; border: 0; border-radius: 0; box-shadow: none; }
#app .rules-workspace .after-sales-rule-group > header { padding: 12px; border-bottom: 1px solid var(--line); background: #f5f8fc; }
#app .rules-workspace .after-sales-rule-group h2 { font-size: 14px; }
#app .rules-workspace .after-sales-rule-group header p { font-size: 12px; line-height: 20px; }
#app .rules-workspace .after-sales-rule-list { max-height: none; overflow: visible; }
#app .rules-workspace .after-sales-rule-item > summary { grid-template-columns: 50px minmax(0, 1fr) 76px 16px; min-height: 56px; padding: 10px 12px; }
#app .rules-workspace .after-sales-rule-index { max-width: 100%; overflow-wrap: anywhere; white-space: normal; }
#app .rules-workspace .after-sales-rule-title strong { font-size: 13px; line-height: 21px; }
#app .rules-workspace .after-sales-rule-title small, #app .rules-workspace .after-sales-rule-meta { font-size: 12px; line-height: 20px; }
#app .rules-workspace .after-sales-rule-count { font-size: 11px; }
#app .rules-workspace .after-sales-rule-body { gap: 12px; padding: 12px; }
#app .rules-workspace .after-sales-rule-sub { font-size: 12px; line-height: 20px; }
#app .rules-workspace .after-sales-rule-sub > b { font-size: 12px; white-space: normal; }
#app .rules-workspace :is(.after-sales-rule-terms, .after-sales-rule-detail) { grid-template-columns: 76px minmax(0, 1fr); }
#app .rules-workspace .after-sales-rule-detail span { line-height: 20px; }
#app .rules-workspace .after-sales-rule-empty { min-height: 200px; border: 0; box-shadow: none; }
.rules-help { position: static; }
.rules-help > summary { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 6px 8px; cursor: pointer; list-style: none; color: #315d88; font-size: 12px; }
.rules-help > summary::-webkit-details-marker { display: none; }
.rules-help > summary svg { width: 14px; height: 14px; }
.rules-help-body { position: absolute; top: 100%; right: 0; width: min(640px, calc(100vw - 60px)); max-height: min(45dvh, 480px); overflow: auto; padding: 14px; border: 1px solid var(--line); border-radius: 4px; background: #fff; box-shadow: 0 6px 20px #18334d22; }
.rules-help-body h3 { margin: 0 0 8px; font-size: 14px; }
.rules-help-body p { color: #596b7f; font-size: 12px; line-height: 20px; }
#app .rules-help-body .after-sales-rule-order-list { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0; margin-bottom: 16px; }
#app .rules-help-body .after-sales-rule-order { border: 0; background: #f5f8fc; border-radius: 3px; }
#app .rules-help-body .after-sales-rule-order :is(strong, span) { font-size: 12px; line-height: 20px; }
body:has(.rules-center-page) .rule-editor-modal { width: min(1040px, calc(100vw - 32px)); }
body:has(.rules-center-page) .rule-editor-modal .modal-head h2 { font-size: 16px; line-height: 24px; }
body:has(.rules-center-page) .rule-editor-modal .form-field > label { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
body:has(.rules-center-page) .rule-editor-modal .rule-lines { min-height: 100px; height: 140px; max-width: 100%; font-size: 13px; line-height: 22px; }
@media (max-width: 1100px) {
  #app > .rules-center-page { padding: 8px; gap: 6px; }
  .rules-workarea { grid-template-columns: 140px minmax(0, 1fr); gap: 8px; }
  #app .rules-workspace .process-rule-heading { grid-template-columns: minmax(0, 1fr); }
  #app .rules-workspace .process-rule-meta { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; }
  #app .rules-workspace .process-rule-meta .badge { align-self: center; }
  #app .rules-workspace .rule-project-scope { grid-template-columns: minmax(0, 1fr) auto; }
  #app .rules-workspace .rule-profile-summary { grid-column: 1; grid-row: 2; }
  #app .rules-workspace .rule-project-scope > .button { grid-column: 2; grid-row: 2; }
  #app .rules-workspace .rule-project-scope > div:first-child { grid-column: 1 / -1; }
  #app .rules-workspace .button, #app .rules-workspace .select, .rules-help > summary, .rules-directory button { min-height: 44px; }
  .rules-search > span:last-child { height: 44px; }
}
@media (max-width: 600px), (max-height: 650px) {
  #app > .rules-center-page { padding: 8px; }
  #app .rules-workspace { display: block; overflow: auto; overscroll-behavior: contain; }
  #app .rules-workspace > * { margin-bottom: 6px; }
  .rules-toolbar { position: relative; gap: 6px; padding: 4px 6px; }
  .rules-toolbar h2 { font-size: 14px; }
  .rules-toolbar-actions { gap: 4px; }
  #app .rules-workspace .rules-toolbar .button { padding: 6px 8px; }
  .rules-filters { grid-template-columns: minmax(0, 1fr) auto auto; padding: 0; gap: 6px; }
  .rules-filters .rules-search { grid-column: 1 / -1; }
  .rules-filters > label:not(.rules-search) > span:first-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .rules-project-control { flex: 1 1 100%; }
  #app .rules-workspace .rules-search input { font-size: 16px; }
  .rules-workarea { display: block; }
  .rules-directory { flex-direction: row; overflow-x: auto; margin-bottom: 8px; padding: 4px; }
  .rules-directory > strong { align-self: center; flex: 0 0 auto; font-size: 12px; }
  .rules-directory > strong small { display: none; }
  .rules-directory button { max-width: 190px; }
  .rules-directory button > span { flex-wrap: nowrap; }
  .rules-scroll { min-height: 200px; overflow: visible; overscroll-behavior: auto; }
  #app .rules-workspace .rule-project-scope { padding: 8px; }
  #app .rules-workspace .after-sales-rule-item > summary { grid-template-columns: 40px minmax(0, 1fr) 16px; gap: 4px 8px; }
  #app .rules-workspace .after-sales-rule-count { grid-column: 2; text-align: left; }
  #app .rules-workspace .after-sales-rule-item > summary > svg { grid-column: 3; grid-row: 1 / 3; }
  #app .rules-workspace :is(.after-sales-rule-terms, .after-sales-rule-detail) { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  #app .rules-workspace .after-sales-rule-sub.muted { padding: 0; }
  body:has(.rules-center-page) .rule-editor-modal { width: calc(100vw - 16px); }
  body:has(.rules-center-page) .rule-editor-modal .form-grid { grid-template-columns: minmax(0, 1fr); }
  body:has(.rules-center-page) .rule-editor-modal :is(.input, .select, .textarea) { font-size: 16px; }
  body:has(.rules-center-page) .rule-editor-modal .button { min-height: 44px; }
}
@media (min-width: 601px) and (max-height: 650px) {
  .rules-toolbar .rules-project-control { flex: 1 1 280px; }
  .rules-filters { grid-template-columns: minmax(160px, 1fr) 180px auto auto; }
  .rules-filters .rules-search { grid-column: auto; }
}

/* Expanded rules: one reading surface with aligned, named information rows. */
#app .rules-workspace .process-rule-details > summary { min-height: 42px; }
#app .rules-workspace .process-rule-detail-body { gap: 20px; padding: 12px 14px 18px; }
.rule-detail-index { display: flex; flex-wrap: wrap; gap: 6px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.rule-detail-index button { min-height: 34px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 4px; background: #fff; color: #315d88; font-size: 12px; }
.rule-detail-index button:hover { border-color: #8cb5e4; background: #edf4fc; }
.rule-detail-section { min-width: 0; }
.rule-detail-section > header { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 0 0 8px; border-bottom: 2px solid #e6edf5; }
.rule-detail-section h3 { margin: 0; color: var(--ink); font-size: 14px; line-height: 23px; }
.rule-detail-section > header > span { color: #596b7f; font-size: 12px; }
#app .rules-workspace .rule-branch-heading { margin: 14px 0 0; color: #315d88; font-size: 13px; line-height: 22px; }
#app .rules-workspace .process-rule-step-group > .rule-step-list { display: block; margin: 0; padding: 0; list-style: none; }
#app .rules-workspace .rule-step-list > .rule-step-entry { display: block; width: 100%; min-width: 0; max-width: none; margin: 0; padding: 14px 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; }
#app .rules-workspace .rule-step-list > .rule-step-entry:last-child { padding-bottom: 0; border-bottom: 0; }
.rule-step-heading { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; margin-bottom: 10px; }
.rule-step-heading h4 { margin: 0; color: var(--ink); font-size: 14px; line-height: 24px; }
.rule-step-number { align-self: stretch; display: grid; min-width: 28px; align-items: center; color: #315d88; font-size: 13px; font-variant-numeric: tabular-nums; font-weight: 650; }
.rule-step-code { color: #596b7f; font-size: 12px; font-variant-numeric: tabular-nums; }
.rule-step-required { padding: 1px 6px; border: 1px solid #d4dfeb; border-radius: 3px; color: #40546c; background: #f5f8fc; font-size: 12px; line-height: 20px; }
.rule-detail-facts { margin: 0; }
.rule-detail-facts > div { display: grid; grid-template-columns: 100px minmax(0, 1fr); align-items: start; gap: 8px 12px; padding: 8px 0; }
.rule-detail-facts dt { padding-top: 2px; color: #596b7f; font-size: 12px; line-height: 22px; }
.rule-detail-facts dd { min-width: 0; margin: 0; color: var(--ink); font-size: 13px; line-height: 24px; overflow-wrap: anywhere; }
.rule-alias-list { display: flex; flex-wrap: wrap; gap: 5px 7px; }
.rule-alias-list > span { padding: 1px 7px; border: 1px solid #e0e7ef; border-radius: 3px; background: #f7f9fc; font-size: 12px; line-height: 22px; }
.rule-pattern { display: block; max-width: 100%; padding: 7px 9px; border-left: 2px solid #b9cee5; background: #f5f8fc; color: #344d66; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 12px; line-height: 22px; white-space: pre-wrap; overflow-wrap: anywhere; word-break: break-word; }
.rule-pattern-exclude { border-left-color: #d8bcb2; background: #fcf8f6; }
.rule-detail-muted, .rule-detail-empty { color: #596b7f; font-size: 12px; line-height: 22px; }
.rule-detail-empty { margin: 0; padding: 14px 0 0; }
.rule-constraint-facts > div { border-bottom: 1px solid #edf1f6; }
.rule-constraint-facts > div:last-child { border-bottom: 0; }
#app .rules-workspace .rule-branch-flow { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
#app .rules-workspace .rule-branch-flow > li { display: flex; align-items: baseline; gap: 5px; min-width: 0; max-width: 100%; padding: 3px 7px; border: 1px solid #e0e7ef; border-radius: 3px; background: #f7f9fc; font-size: 12px; line-height: 22px; overflow-wrap: anywhere; }
.rule-branch-flow > li > span { color: #596b7f; }
.rule-detail-materials { width: 100%; border-collapse: collapse; table-layout: fixed; }
.rule-detail-materials th, .rule-detail-materials td { padding: 10px 8px; border-bottom: 1px solid #e6edf5; text-align: left; vertical-align: top; overflow-wrap: anywhere; font-size: 13px; line-height: 22px; }
.rule-detail-materials th { background: #f7f9fc; color: #596b7f; font-size: 12px; font-weight: 550; }
.rule-detail-materials th:first-child { width: 32%; }
.rule-detail-materials td > strong, .rule-detail-materials td > span { display: block; }
.rule-detail-materials td > strong { font-weight: 550; }
.rule-detail-materials td p { margin: 0 0 3px; }
#app .rules-workspace .rule-keyword-disclosure > summary { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; min-height: 34px; padding: 4px 8px; border: 1px solid #d4dfeb; border-radius: 3px; background: #fff; color: #315d88; cursor: pointer; }
#app .rules-workspace .rule-keyword-disclosure > summary > span { font-size: 12px; font-weight: 400; }
#app .rules-workspace .rule-keyword-disclosure > summary > svg { width: 14px; height: 14px; margin-left: auto; transform: none; }
#app .rules-workspace .rule-keyword-disclosure[open] > summary > svg { transform: rotate(180deg); }
.rule-keyword-text { padding-top: 8px; font-size: 13px; line-height: 25px; overflow-wrap: anywhere; white-space: normal; }
@media (max-width: 1100px) {
  .rule-detail-index button, #app .rules-workspace .rule-keyword-disclosure > summary { min-height: 44px; }
}
@media (max-width: 600px) {
  #app .rules-workspace .process-rule-detail-body { padding: 10px; gap: 18px; }
  .rule-detail-facts > div { grid-template-columns: minmax(0, 1fr); gap: 3px; padding: 7px 0; }
  .rule-detail-facts dt { font-weight: 600; }
  .rule-step-heading { gap: 5px 8px; }
  .rule-detail-materials, .rule-detail-materials tbody, .rule-detail-materials tr, .rule-detail-materials td { display: block; width: 100%; }
  .rule-detail-materials thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .rule-detail-materials tr { padding: 10px 0; border-bottom: 1px solid var(--line); }
  .rule-detail-materials td { padding: 4px 0; border: 0; }
  .rule-detail-materials td::before { display: block; margin-bottom: 3px; color: #596b7f; font-size: 12px; font-weight: 600; content: attr(data-label); }
}
