/* Mobile Structure V1: outer workflow only. Measurement components stay source-owned. */
.structure-intro-mobile { display: none; }

@media (max-width: 768px) {
  .structure-intro-desktop { display: none; }
  .structure-intro-mobile { display: inline; }
  #panel-1 #quadrant-banner { display: none !important; }
  #panel-1 #structure-page-utilities { margin-bottom: 10px; }
  #panel-1 #assessment-clinical-workflow { display: block; }

  #panel-1 #assessment-clinical-workflow > .structure-workflow-group[data-mobile-structure-active="false"] {
    display: none !important;
  }

  html:not([data-mobile-initial-section]) #panel-1 #assessment-clinical-workflow > .structure-workflow-group:not(#assessment-core-tests):not([data-mobile-structure-active="true"]),
  html[data-mobile-initial-section="assessment-core-tests"] #panel-1 #assessment-clinical-workflow > .structure-workflow-group:not(#assessment-core-tests):not([data-mobile-structure-active="true"]),
  html[data-mobile-initial-section="assessment-supporting-tests"] #panel-1 #assessment-clinical-workflow > .structure-workflow-group:not(#assessment-supporting-tests):not([data-mobile-structure-active="true"]),
  html[data-mobile-initial-section="assessment-integrated-validation"] #panel-1 #assessment-clinical-workflow > .structure-workflow-group:not(#assessment-integrated-validation):not([data-mobile-structure-active="true"]),
  html[data-mobile-initial-section="assessment-further-validation"] #panel-1 #assessment-clinical-workflow > .structure-workflow-group:not(#assessment-further-validation):not([data-mobile-structure-active="true"]) {
    display: none !important;
  }

  #panel-1 .structure-workflow-heading {
    display: grid;
    gap: 2px;
    margin: 0 0 10px;
    padding: 4px 1px 10px;
    border-bottom: 1px solid var(--mobile-app-line);
  }
  #panel-1 .structure-workflow-heading h2 { font-size: 18px; line-height: 1.25; }
  #panel-1 .structure-workflow-heading p { margin: 0; color: var(--mobile-app-gray); font-size: 11px; line-height: 1.45; }

  #panel-1 .structure-workflow-group-body { gap: 12px; }
  #panel-1 .compensation-block > .compensation-header {
    display: flex;
    min-height: var(--mobile-touch-target);
    padding-block: 0;
    align-items: center;
    box-sizing: border-box;
  }
  #panel-1 #assessment-supporting-tests #assessment-apley [onclick^="toggleSection"] {
    display: flex !important;
    width: 100%;
    min-height: var(--mobile-touch-target);
    align-items: center;
    box-sizing: border-box;
  }
  #panel-1 #assessment-supporting-tests #assessment-apley .collapsible-body > label,
  #panel-1 #assessment-supporting-tests .compensation-body > label,
  #panel-1 .compensation-block > .compensation-body > label {
    min-height: var(--mobile-touch-target);
    margin-bottom: 0 !important;
    padding-block: 5px;
    box-sizing: border-box;
  }
  #panel-1 .structure-workflow-supporting > .structure-workflow-group-body,
  #panel-1 .structure-workflow-integrated > .structure-workflow-group-body {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  #panel-1 .structure-workflow-further { padding-top: 0; }
  #panel-1 .further-validation-disclosure {
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
  }
  #panel-1 .further-validation-disclosure > summary {
    min-height: 0;
    padding: 4px 1px 10px;
    border-bottom: 1px solid var(--mobile-app-line);
    background: transparent;
    cursor: default;
  }
  #panel-1 .further-validation-disclosure > summary strong { font-size: 18px; }
  #panel-1 .further-validation-disclosure > summary small { margin-top: 2px; color: var(--mobile-app-gray); }
  #panel-1 .further-validation-disclosure > summary > span:last-child { display: none; }
  #panel-1 .further-validation-body { gap: 12px; padding: 10px 0 0; border: 0; }
  #panel-1 .supplemental-intro {
    margin: 0;
    padding: 10px 0 12px;
    border: 0;
    border-bottom: 1px solid var(--mobile-app-line);
    border-radius: 0;
    background: transparent;
  }

  #panel-1 .structure-workflow-integrated .section-title,
  #panel-1 .structure-workflow-further .section-title {
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    background: var(--mobile-app-white);
  }
}
