@layer gentri-refinement {
  html:root[data-bims-theme] body [data-complaint-wizard-ready] [hidden] { display:none!important; }
  html:root[data-bims-theme] body [data-complaint-wizard-ready] { width:100%!important;max-width:none!important;margin-inline:0!important; }
  html:root[data-bims-theme] body .complaint-wizard-tabs { display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px!important;list-style:none;margin:0 0 12px!important;padding:0!important; }
  html:root[data-bims-theme] body .complaint-wizard-tabs>li { min-width:0;margin:0!important;padding:0!important; }
  html:root[data-bims-theme] body .complaint-wizard-tabs button { display:flex!important;align-items:center;flex-direction:column;gap:6px;width:100%!important;min-width:0!important;max-width:none!important;height:100%!important;min-height:64px;margin:0!important;padding:0!important;text-align:center;white-space:normal;border:0!important;border-radius:0!important;background:transparent!important;color:var(--native-on-surface,#1d1b20)!important;font:inherit;box-shadow:none!important;cursor:pointer; }
  html:root[data-bims-theme] body .complaint-wizard-tabs strong { font-size:.875rem;font-weight:500;line-height:1.45;overflow-wrap:anywhere; }
  html:root[data-bims-theme] body .complaint-wizard-number { display:inline-grid;place-items:center;flex:0 0 32px;width:32px;height:32px;border-radius:50%;background:var(--native-surface-variant,#e7e0ec);color:var(--native-on-surface-variant,#49454f);font-size:.875rem; }
  html:root[data-bims-theme] body .complaint-wizard-tabs button:is(.is-active,.is-complete) .complaint-wizard-number { background:var(--native-primary,#6750a4);color:var(--native-on-primary,#fff); }
  html:root[data-bims-theme] body .complaint-wizard-progress { margin:0 0 16px!important;color:var(--native-on-surface-variant,#49454f);font-size:.875rem;line-height:1.5; }
  html:root[data-bims-theme] body .complaint-wizard-panel { width:100%;margin:0!important;scroll-margin-top:90px; }
  html:root[data-bims-theme] body .complaint-wizard-step-title { grid-column:1/-1;margin:0 0 6px!important;font-size:1.25rem;line-height:1.4;scroll-margin-top:90px; }
  html:root[data-bims-theme] body [data-complaint-wizard-ready] .complaint-review { grid-column:1/-1;width:100%; }
  html:root[data-bims-theme] body [data-complaint-wizard-ready] .complaint-review>summary { display:none!important; }
  html:root[data-bims-theme] body [data-complaint-wizard-ready]>.form-actions { display:flex!important;flex-wrap:wrap;gap:12px;align-items:center;justify-content:flex-start;margin-top:20px!important; }
  html:root[data-bims-theme] body [data-complaint-wizard-ready]>.form-actions>.btn { flex:0 1 auto;min-height:48px;margin:0!important; }
  html:root[data-bims-theme] body .complaint-wizard-tabs button:focus-visible { outline:3px solid var(--native-primary,#6750a4);outline-offset:3px; }
  @media(max-width:748px) {
    html:root[data-bims-theme] body .complaint-wizard-tabs { grid-template-columns:minmax(0,1fr);gap:8px!important; }
    html:root[data-bims-theme] body .complaint-wizard-tabs button { min-height:48px;flex-direction:row;gap:12px;padding:8px 12px!important;text-align:left;border-radius:12px!important;background:var(--native-surface,#fff)!important; }
    html:root[data-bims-theme] body .complaint-wizard-tabs button.is-active { background:var(--native-primary-container,#eaddff)!important;color:var(--native-on-primary-container,#21005d)!important; }
    html:root[data-bims-theme] body .complaint-wizard-panel { grid-template-columns:minmax(0,1fr)!important; }
    html:root[data-bims-theme] body .complaint-wizard-panel>* { min-width:0;grid-column:1!important; }
  }
}
