/* Scheme01 pinned 09/11 surfaces. No original business selectors modified. */
@layer plan01 {
  body.erp-plan01 .ad261-view { color: var(--erp-ink); min-width: 0; padding-bottom: 24px; }
  .ad261-view[hidden] { display: none !important; }
  .ad261-view .ad261-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 16px; }
  .ad261-heading h2 { margin: 0 0 4px; font-size: 29px; line-height: 1.28; font-weight: 740; letter-spacing: -.5px; }
  .ad261-heading p { margin: 0; color: #40536a; max-width: 74ch; }
  .ad261-actions { display: flex; flex: 0 0 auto; gap: 8px; }
  .ad261-view button, .ad261-view input, .ad261-view select { min-height: 39px; padding: 8px 12px; border: 1px solid var(--erp-line-strong); border-radius: 5px; background: #fff; color: var(--erp-ink); box-shadow: none; }
  .ad261-view button { cursor: pointer; white-space: nowrap; }
  .ad261-view button:hover:not(:disabled) { border-color: var(--erp-jade-600); background: #f6fcfa; }
  .ad261-view .ad261-primary { background: var(--erp-jade-600); border-color: var(--erp-jade-600); color: #fff; }
  .ad261-view .ad261-primary:hover:not(:disabled) { background: var(--erp-jade-700); color: #fff; }
  .ad261-view :is(button,input,select):disabled { cursor: not-allowed; color: #65758a; background: #f4f8fa; opacity: 1; }
  .ad261-view :is(button,input,select,summary,[tabindex]):focus-visible { outline: 2px solid var(--erp-jade-600); outline-offset: 3px; }
  .ad261-view ::selection { background: var(--erp-jade-100); color: var(--erp-ink); }
  .ad261-view input { caret-color: var(--erp-jade-700); }
  .ad261-view input::placeholder { color: #65758a; }
  .ad261-source { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 12px 15px; border: 1px solid var(--erp-line); border-radius: 5px; background: #f4f8fa; margin-bottom: 16px; color: #40536a; }
  .ad261-status-band { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 14px; }
  .ad261-status-band > span { border: 1px solid var(--erp-line); border-radius: 4px; background: #f4f8fa; padding: 7px 16px; min-height: 36px; }
  .ad261-status-band .ad261-status-current { background: var(--erp-jade-600); border-color: var(--erp-jade-600); color: #fff; }
  .ad261-status-band b { font-weight: 550; }
  .ad261-filters { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; margin-bottom: 12px; }
  .ad261-filters label { display: grid; gap: 4px; min-width: 0; color: #40536a; font-size: 12px; flex: 1 1 140px; }
  .ad261-filters .ad261-search { flex-basis: 260px; }
  .ad261-filters input, .ad261-filters select { width: 100%; min-width: 0; }
  .ad261-message { color: #40536a; margin: 8px 0 12px; min-height: 21px; }
  .ad261-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; color: #40536a; font-size: 12px; margin-bottom: 10px; }
  .ad261-scroll-hint { margin: 0 0 6px; color: #40536a; font-size: 12px; }
  .ad261-table-wrap { width: 100%; min-width: 0; max-width: 100%; overflow-x: auto; overscroll-behavior-x: contain; border: 1px solid var(--erp-line); border-radius: 5px; scrollbar-color: #66768c #f4f8fa; scrollbar-width: thin; }
  .ad261-view table { width: 100%; min-width: 1000px; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
  .ad261-view th { background: #f0f6f9; color: #40536a; text-align: left; padding: 12px; font-size: 12px; font-weight: 650; white-space: nowrap; border-bottom: 1px solid var(--erp-line); }
  .ad261-view td { padding: 12px; height: 54px; border-top: 1px solid var(--erp-line); vertical-align: middle; overflow-wrap: anywhere; }
  .ad261-view :is(th,td) + :is(th,td) { border-left: 1px solid var(--erp-line); }
  .ad261-view tbody tr:first-child td { background: #f6fcfa; }
  .ad261-view td small { display: block; margin-top: 4px; color: #40536a; }
  .ad261-view td button { min-height: 30px; padding: 4px 10px; font-size: 12px; }
  .ad261-view td details { max-width: 240px; }
  .ad261-view td summary { cursor: pointer; color: #1261ab; text-underline-offset: 3px; }
  .ad261-empty { height: 144px !important; text-align: center; color: #40536a; }
  .ad261-chip { display: inline-block; padding: 3px 8px; border-radius: 4px; background: #e8f2ff; color: #276aac; font-size: 12px; }
  .ad261-warning { background: #fff2dc; color: #172438; }
  .ad261-pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; color: #40536a; font-size: 12px; }
  .ad261-pager > div { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
  .ad261-pager label { display: flex; align-items: center; gap: 6px; }
  .ad261-pager button, .ad261-pager select { min-height: 32px; padding: 5px 9px; }
  .ad261-preview-summary { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border: 1px solid var(--erp-line); border-radius: 5px; padding: 16px 18px; margin-bottom: 16px; }
  .ad261-preview-summary > div { padding: 0 16px; border-right: 1px solid var(--erp-line); min-width: 0; }
  .ad261-preview-summary > div:first-child { padding-left: 0; }
  .ad261-preview-summary > div:last-child { border: 0; }
  .ad261-preview-summary span { display: block; color: #40536a; font-size: 12px; }
  .ad261-preview-summary strong { display: block; font-size: 20px; line-height: 1.5; margin-top: 4px; overflow-wrap: anywhere; }
  .ad261-boundary { border: 1px solid var(--erp-line); background: #f4f8fa; border-radius: 5px; margin-top: 26px; padding: 12px 15px; color: #40536a; }
  .ad261-boundary summary { cursor: pointer; }
  .ad261-boundary p { max-width: 75ch; }
  .ad261-detail { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--erp-line); }
  .ad261-detail-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  .ad261-detail-heading h3 { font-size: 20px; margin: 0; }
  .ad261-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
  @media (max-width: 980px) {
    .ad261-heading, .ad261-source { flex-wrap: wrap; }
    .ad261-filters label { flex-basis: 180px; }
    .ad261-preview-summary { grid-template-columns: repeat(2,minmax(0,1fr)); row-gap: 16px; }
    .ad261-preview-summary > div:nth-child(2) { border: 0; }
  }
  @media (max-width: 600px) {
    .ad261-heading h2 { font-size: 29px; }
    /* Explicit mobile accessibility exception to the compact desktop type scale. */
    body.erp-plan01 .ad261-view :is(input,select) { font-size: 16px !important; }
    .ad261-heading .ad261-actions { flex-wrap: wrap; width: 100%; }
    .ad261-filters label, .ad261-filters .ad261-search { flex-basis: 100%; }
    .ad261-source { display: block; }
    .ad261-source button { margin-top: 10px; }
    .ad261-preview-summary { grid-template-columns: 1fr; }
    .ad261-preview-summary > div { padding: 0; border: 0; }
  }
}

/* 286: rendered heading was reduced to the legacy h2 size. */
@layer plan01 {
  body.erp-plan01 .ad261-view .ad261-heading h2 {
    margin: 0 0 4px !important; color: #172438 !important;
    font-size: 29px !important; font-weight: 740 !important;
    line-height: 1.28 !important; letter-spacing: -.5px;
  }
}
