/* ============================================================
   Mobile adaptation (<768px)
   Loaded after styles.css. Only mobile rules live here.
   Tablet (768px+) keeps the desktop layout.
   ============================================================ */

@media (max-width: 767px) {

  /* ---------- Global ---------- */
  * {
    -webkit-tap-highlight-color: transparent;
  }

  *:focus:not(:focus-visible) {
    outline: none;
  }

  .main {
    padding: 16px 12px 40px;
  }

  .modules-section {
    padding: 0;
    margin: -32px auto 32px;
  }

  .section-title {
    font-size: 24px;
  }

  .module {
    margin-bottom: 32px;
    padding-top: 24px;
  }

  .module-head {
    margin-bottom: 16px;
  }

  /* Smaller background shapes on mobile */
  .shape-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -70px;
  }

  .shape-2 {
    width: 240px;
    height: 240px;
    bottom: -70px;
    left: -60px;
  }

  .shape-3 {
    width: 180px;
    height: 180px;
    left: calc(50% - 90px);
  }

  /* ---------- Header ---------- */
  .header {
    background: #ffffff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .header-inner {
    height: 56px;
    padding: 0 16px;
  }

  .nav {
    display: none;
  }

  .logo-img {
    width: 28px;
    height: 28px;
  }

  .logo-text {
    font-size: 16px;
  }

  /* ---------- Hero product cards ---------- */
  .product-cards {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .card-title {
    font-size: 20px;
  }

  .hero-section .card-body {
    padding: 16px 16px 20px;
  }

  /* Core products: tags stay on one line — centered when they fit,
     horizontally scrollable when they overflow */
  .card-tags {
    width: 100%;
    width: max-content;
    max-width: 100%;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .card-tags::-webkit-scrollbar {
    display: none;
  }

  .card-tags .tag {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .tag {
    padding: 4px 10px;
  }

  /* ---------- More products carousel ---------- */
  .carousel-section {
    margin-top: -16px;
  }

  .carousel-container {
    gap: 0;
    margin-top: 0;
  }

  /* Edge overlays: cover the peeking neighbours so only the centered
     card stays clickable. The wrapper bleeds 12px on each side, the
     card is 72% wide, so each strip is (14% - 2px) of the container. */
  .carousel-edge {
    width: calc(14% - 2px);
  }

  .carousel-edge-left {
    left: -12px;
  }

  .carousel-edge-right {
    right: -12px;
  }

  .carousel-arrow {
    position: absolute;
    top: calc(50% - 26px);
    transform: translateY(-50%);
    margin-top: 0;
    align-self: auto;
    width: 36px;
    height: 36px;
    z-index: 11;
  }

  .carousel-arrow:hover {
    transform: translateY(-50%) scale(0.95);
  }

  .carousel-arrow-left {
    left: 2px;
  }

  .carousel-arrow-right {
    right: 2px;
  }

  .carousel-wrapper {
    margin: 0 -12px;
    padding: 12px 12px 64px;
    -webkit-mask-image: linear-gradient(to right, transparent, black 12px, black calc(100% - 12px), transparent);
    mask-image: linear-gradient(to right, transparent, black 12px, black calc(100% - 12px), transparent);
  }

  .carousel-track {
    gap: 16px;
  }

  .carousel-item {
    width: 72%;
    min-width: 0;
    min-height: 164px;
    padding: 20px 16px;
  }

  .carousel-label {
    bottom: 12px;
    right: 12px;
  }

  /* ---------- Scroll arrow overlays (shared by all modules) ---------- */
  .card-detail .card-arrows,
  .card-units-wrap .card-arrows,
  .card-grid-wrap .card-arrows,
  .scale-minis-wrap .card-arrows,
  .assess-scroll-wrap .card-arrows {
    display: flex;
    top: 50%;
    left: 10px;
    right: 10px;
    bottom: auto;
    transform: translateY(-50%);
    justify-content: space-between;
    pointer-events: none;
  }

  .card-detail .card-arrows {
    top: 76px;
    left: 30px;
    right: 30px;
  }

  .card-detail .card-arrows .card-arrow,
  .card-units-wrap .card-arrow,
  .card-grid-wrap .card-arrow,
  .scale-minis-wrap .card-arrow,
  .assess-scroll-wrap .card-arrow {
    position: relative;
    pointer-events: auto;
    width: 36px;
    height: 36px;
    color: var(--text-secondary);
    background: var(--card-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  /* Larger touch targets (52px) without changing the visual size */
  .card-detail .card-arrows .card-arrow::after,
  .card-units-wrap .card-arrow::after,
  .card-grid-wrap .card-arrow::after,
  .scale-minis-wrap .card-arrow::after,
  .assess-scroll-wrap .card-arrow::after,
  .carousel-arrow::after,
  .course-media-arrow::after {
    content: '';
    position: absolute;
    top: -8px;
    right: -8px;
    bottom: -8px;
    left: -8px;
  }

  .card-units-wrap .card-arrow:disabled,
  .card-units-wrap .card-arrow:disabled:hover,
  .card-grid-wrap .card-arrow:disabled,
  .card-grid-wrap .card-arrow:disabled:hover,
  .scale-minis-wrap .card-arrow:disabled,
  .scale-minis-wrap .card-arrow:disabled:hover,
  .assess-scroll-wrap .card-arrow:disabled,
  .assess-scroll-wrap .card-arrow:disabled:hover {
    background: var(--glass-bg);
    color: var(--text-muted);
    box-shadow: none;
    cursor: default;
  }

  /* ---------- Default card modules (言语评估 / 上肢体感) ---------- */
  #cat-1-1 .card,
  #cat-9 .card {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
  }

  .card-main {
    grid-column: 1;
    grid-row: 1;
    min-height: 0;
    padding: 20px;
  }

  .card-cover-ph {
    grid-column: 1;
    grid-row: 2;
    height: 200px;
  }

  .card-title-row {
    gap: 12px;
  }

  .card-name {
    font-size: 20px;
  }

  .card-main .card-link {
    position: static;
    left: auto;
    bottom: auto;
    align-self: flex-start;
    margin-top: 16px;
  }

  #cat-1-1 .card-main .card-link {
    align-self: center;
  }

  #cat-1-1 .card-detail .card-link {
    position: static;
    left: auto;
    bottom: auto;
    display: flex;
    width: max-content;
    margin: 12px auto 0;
  }

  #cat-1-1 .card-cover-ph {
    grid-row: 1;
  }

  #cat-1-1 .card-main {
    grid-row: 2;
  }

  .card-detail {
    grid-row: 3;
    padding: 0 20px 20px;
  }

  .scroll-x {
    gap: 8px;
    -webkit-mask-image: none !important;
    mask-image: none !important;
  }

  #cat-1-1 .card-item {
    width: 144px;
    height: 144px;
  }

  /* ---------- 智力评估 (card-stats) ---------- */
  .module-body .card.card-stats {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    gap: 16px;
  }

  .card-stats .card-cover-ph {
    grid-column: 1;
    grid-row: 1;
    min-height: 200px;
    height: auto;
  }

  .card-stats .card-main .card-cover-ph {
    width: 100%;
    height: 200px;
    min-height: 200px;
    margin-bottom: 16px;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
  }

  .card-stats .card-main {
    grid-column: 1;
    grid-row: 2;
    padding: 20px;
  }

  .card-numbers {
    gap: 24px;
    margin: 16px 0;
  }

  .num-val {
    font-size: 56px;
    line-height: 56px;
  }

  .card-units {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    margin-top: 0;
    padding: 4px 0 4px 4px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .card-units::-webkit-scrollbar {
    display: none;
  }

  .card-units .card-unit {
    flex: 0 0 144px;
    width: 144px;
    height: 144px;
    aspect-ratio: auto;
  }

  .card-units-wrap {
    position: relative;
  }

  .card-link-top {
    position: static;
    top: auto;
    right: auto;
    align-self: center;
    margin-top: 16px;
  }

  #cat-1-2 .card-main .card-link-top {
    align-self: center;
  }

  /* ---------- 精品课程 (course) ---------- */
  .course-layout {
    flex-direction: column;
    gap: 16px;
    min-width: 0;
  }

  .course-content {
    position: relative;
    top: auto;
    height: auto;
    padding: 20px;
    gap: 16px;
  }

  .course-content .card-link {
    position: static;
    top: auto;
    right: auto;
    align-self: center;
  }

  .course-content-head {
    min-width: 0;
  }

  .course-content-head .premium-tags {
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin-top: 16px;
  }

  .course-content-head .premium-tags::-webkit-scrollbar {
    display: none;
  }

  .course-content-head .premium-tags .tag {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .course-media {
    flex: none;
    height: 220px;
  }

  .course-media-track {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .course-media-track img {
    scroll-snap-align: start;
  }

  .course-media-arrows {
    left: 8px;
    right: 8px;
  }

  .course-media-arrow {
    position: relative;
    width: 36px;
    height: 36px;
  }

  /* Course cards: two per row, image on top with the name below */
  .course-cards {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .course-card {
    position: relative;
    flex-direction: column;
    height: auto;
    min-height: 0;
    gap: 12px;
    padding: 12px;
  }

  .course-card-ph {
    flex: none;
    align-self: auto;
    width: 100%;
    aspect-ratio: 285 / 160;
  }

  .course-card-main {
    overflow: visible;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
  }

  .course-card-name {
    font-size: 16px;
  }

  /* Course cards: keep only the image, course name and arrow link on mobile */
  .course-card-desc {
    display: none;
  }

  .course-card-link {
    margin: 0;
    align-self: center;
    flex-shrink: 0;
    gap: 0;
    padding: 4px;
    font-size: 0;
  }

  /* Tapping anywhere on the card follows the course link */
  .course-card-link::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
  }

  /* ---------- 多媒体课程 (premium) ---------- */
  .premium-content {
    gap: 16px;
    padding: 20px;
  }

  .premium-content .card-link {
    position: static;
    bottom: auto;
    right: auto;
    align-self: center;
  }

  .premium-top {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  /* Tabs stay on one line, horizontally scrollable when they overflow */
  .premium-tabs {
    justify-content: flex-start;
    gap: 8px;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .premium-tabs::-webkit-scrollbar {
    display: none;
  }

  .premium-tab {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 8px 12px;
    font-size: 14px;
  }

  /* One image per view, no edge fade */
  .premium-shot-track {
    gap: 0;
    -webkit-mask-image: none !important;
    mask-image: none !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .premium-shot-ph {
    flex: 0 0 100%;
    width: 100%;
    height: 200px;
    scroll-snap-align: start;
  }

  .premium-main {
    position: relative;
  }

  /* Arrows overlay the image, like the 精品课程 module */
  .premium-arrows {
    position: absolute;
    top: 50%;
    left: 8px;
    right: 8px;
    bottom: auto;
    transform: translateY(-50%);
    justify-content: space-between;
    gap: 0;
    pointer-events: none;
  }

  .premium-arrow {
    pointer-events: auto;
    position: relative;
    width: 36px;
    height: 36px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  .premium-bookmark {
    width: 72px;
    height: 72px;
    top: 8px;
    right: 4px;
  }

  .premium-badge {
    top: 42px;
    right: 40px;
    font-size: 14px;
  }

  /* ---------- 送教上门 ---------- */
  .visit-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .visit-panel {
    padding: 20px;
  }

  .visit-panel .card-link {
    position: static;
    top: auto;
    right: auto;
    align-self: center;
    margin-top: 16px;
  }

  #cat-3 .card-grid-4col {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    margin-top: 0;
    padding: 4px 0 4px 4px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  #cat-3 .card-grid-4col::-webkit-scrollbar {
    display: none;
  }

  #cat-3 .card-grid-4col .card-item {
    flex: 0 0 144px;
    width: 144px;
    height: 144px;
    aspect-ratio: auto;
  }

  .card-grid-wrap {
    position: relative;
    margin-top: 24px;
  }

  #cat-3 .visit-image {
    height: 200px !important;
  }

  #cat-3 .visit-panel .visit-image {
    width: calc(100% + 40px);
    height: 200px !important;
    margin: -20px -20px 16px;
    border: none;
    border-radius: 0 !important;
    box-shadow: none;
  }

  #cat-3 .visit-panel {
    overflow: hidden;
  }

  #cat-3 .num-stack {
    height: auto !important;
    flex-direction: row;
    gap: 32px;
  }

  #cat-3 .visit-panel .num-stack {
    margin: 16px 0 0;
  }

  #cat-3 .visit-panel .num-card {
    flex: 0 0 auto;
    padding: 0;
    min-height: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  #cat-3 .visit-panel .num-card-icon {
    display: none;
  }

  #cat-3 .visit-panel .num-card-title {
    position: static;
    font-size: 14px;
    line-height: 1.3;
  }

  #cat-3 .visit-panel .num-card-header {
    margin-bottom: 4px;
  }

  #cat-3 .visit-panel .num-item {
    margin-top: 0;
  }

  #cat-3 .num-card {
    min-height: 140px;
    padding: 16px;
  }

  #cat-3 .num-card .num-val {
    font-size: 48px;
    line-height: 48px;
  }

  /* ---------- 谱系孤独症 ---------- */
  #cat-4-1 .content-block {
    padding: 20px;
    gap: 16px;
    overflow: hidden;
  }

  #cat-4-1 .content-block .card-link {
    position: static;
    top: auto;
    right: auto;
    order: 1;
    align-self: center;
  }

  #cat-4-1 .content-row {
    flex-direction: column;
    gap: 16px;
  }

  #cat-4-1 .table-zone {
    min-width: 0;
    flex-direction: column;
    overflow: visible;
  }

  /* The open details' own bottom border would double the table edge */
  #cat-4-1 .scale-table.is-tabbed .scale-table-group.is-current .scale-table-expand.is-open {
    border-bottom: none;
  }

  /* Scale name column is redundant: the tabs already show it */
  #cat-4-1 .scale-table-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  #cat-4-1 .scale-table-row .scale-table-col:first-child {
    display: none;
  }

  /* Rows are not clickable: scales are switched by the tabs */
  #cat-4-1 .scale-table-row:not(.scale-table-head) {
    cursor: default;
  }

  #cat-4-1 .scale-table-row:not(.scale-table-head):hover {
    background: rgba(0, 0, 0, 0.02);
  }

  /* Tabs + one scale at a time (tabs built by responsive.js) */
  #cat-4-1 .autism-tabs {
    margin-bottom: 16px;
  }

  #cat-4-1 .autism-tabs .premium-tab:hover,
  #cat-4-1 .autism-tabs .premium-tab.active {
    color: var(--lavender);
  }

  #cat-4-1 .autism-tabs .premium-tab::after {
    background: var(--lavender);
  }

  #cat-4-1 .scale-table.is-tabbed .scale-table-group {
    display: none;
  }

  #cat-4-1 .scale-table.is-tabbed .scale-table-group.is-current {
    display: flex;
  }

  #cat-4-1 .scale-table-col {
    padding: 10px 8px;
    font-size: 12px;
    text-align: center;
  }

  #cat-4-1 .scale-table-expand {
    padding: 12px;
  }

  /* Wrapped lines share the item-row rhythm: the list row gap moves into
     the line-height, so item rows keep the same visual spacing (~23.8+8px)
     and a wrapped second line gets exactly the same spacing */
  #cat-4-1 .scale-table-expand .detail-list {
    gap: 0 16px;
  }

  #cat-4-1 .scale-table-expand .detail-item {
    align-items: flex-start;
    line-height: 32px;
  }

  #cat-4-1 .scale-table-expand .detail-item .icon-dot {
    margin-top: 13px;
  }

  /* Tags above the list */
  #cat-4-1 .scale-table-expand-inner .tags {
    order: -1;
  }

  /* Slightly darker row below the header */
  #cat-4-1 .scale-table-group .scale-table-row {
    background: rgba(0, 0, 0, 0.02);
  }

  /* Tags stay on one line, horizontally scrollable when they overflow */
  #cat-4-1 .scale-table-expand .tags {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  #cat-4-1 .scale-table-expand .tags::-webkit-scrollbar {
    display: none;
  }

  #cat-4-1 .scale-table-expand .tags .tag {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  #cat-4-1 .aside {
    flex: none;
  }

  /* Image moved to the top of the card (see responsive.js) */
  #cat-4-1 .content-block .aside-ph {
    flex: 0 0 auto !important;
    width: calc(100% + 40px) !important;
    height: 200px;
    min-height: 0;
    margin: -20px -20px 16px;
    border: none;
    border-radius: 0 !important;
    background: transparent;
    box-shadow: none;
  }

  /* ---------- 肢体类 ---------- */
  #cat-4-2 .content-block {
    padding: 20px;
    gap: 16px;
    overflow: hidden;
  }

  #cat-4-2 .content-block .aside-ph {
    flex: 0 0 auto !important;
    width: calc(100% + 40px) !important;
    height: 200px;
    min-height: 0;
    margin: -20px -20px 16px;
    border: none;
    border-radius: 0 !important;
    background: transparent;
    box-shadow: none;
  }

  #cat-4-2 .content-block .card-link {
    position: static;
    top: auto;
    right: auto;
    order: 1;
    align-self: center;
  }

  #cat-4-2 .content-row {
    flex-direction: column;
    gap: 16px;
  }

  #cat-4-2 .tab-zone {
    flex: none;
    width: 100%;
  }

  /* Tighter horizontal padding, same as the other modules' tabs */
  #cat-4-2 .scale-tab,
  #cat-2-3 .assess-level-tab {
    padding: 8px 12px;
  }

  #cat-4-2 .zone-panel {
    margin-top: 16px;
    padding: 16px;
  }

  #cat-4-2 .zone-panel .detail-item {
    max-width: none;
  }

  #cat-4-2 .zone-letter {
    margin-right: 12px;
  }

  #cat-4-2 .zone-number {
    display: none;
  }

  #cat-4-2 .aside {
    flex-direction: column;
    gap: 12px;
  }

  #cat-4-2 .feature-panel {
    flex: none;
    width: 100%;
    padding: 16px;
  }

  #cat-4-2 .feature-panel .detail-title {
    font-size: 16px;
  }

  #cat-4-2 .feature-panel .detail-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 12px;
  }

  #cat-4-2 .feature-panel .detail-item {
    height: auto;
    min-height: 32px;
  }

  #cat-4-2 .aside-ph {
    min-height: 200px;
  }

  /* ---------- 心理类 ---------- */
  #cat-4-3 .content-block {
    padding: 20px;
    gap: 16px;
  }

  #cat-4-3 .content-block .card-link {
    position: static;
    top: auto;
    right: auto;
    order: 1;
    align-self: center;
  }

  #cat-4-3 .content-row {
    flex-direction: column;
    gap: 16px;
  }

  #cat-4-3 .scale-panel {
    flex: none;
    width: 100%;
    order: 2;
  }

  #cat-4-3 .scale-minis {
    flex: none;
    width: 100%;
    max-width: none;
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    padding: 4px 0 4px 4px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  #cat-4-3 .scale-minis::-webkit-scrollbar {
    display: none;
  }

  #cat-4-3 .scale-mini {
    flex: 0 0 144px;
    width: 144px;
    height: 144px;
    aspect-ratio: auto;
  }

  #cat-4-3 .scale-mini.wide {
    flex: 0 0 144px;
    width: 144px;
    height: 144px;
    min-height: 0;
    aspect-ratio: auto;
  }

  .scale-minis-wrap {
    position: relative;
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
  }

  #cat-4-3 .scale-table-wrap {
    flex: none;
    width: 100%;
    min-width: 0;
    order: 1;
  }

  /* Tabs + one scale at a time (tabs built by responsive.js) */
  #cat-4-3 .psy-tabs {
    width: max-content;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  #cat-4-3 .psy-tabs .premium-tab:hover,
  #cat-4-3 .psy-tabs .premium-tab.active {
    color: var(--red);
  }

  #cat-4-3 .psy-tabs .premium-tab::after {
    background: var(--red);
  }

  /* Arrow entrance during a scale switch (matches the card fade-in) */
  @keyframes psy-arrow-in {
    from {
      opacity: 0;
      transform: translateY(12px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  #cat-4-3 .scale-minis-wrap .card-arrow.psy-in {
    animation: psy-arrow-in 0.2s ease both;
  }

  #cat-4-3 .scale-table.is-tabbed .scale-table-group {
    display: none;
  }

  #cat-4-3 .scale-table.is-tabbed .scale-table-group.is-current {
    display: contents;
  }

  #cat-4-3 .scale-table.is-tabbed .scale-table-group:nth-child(2) .scale-table-row::before {
    display: none;
  }

  #cat-4-3 .scale-table-wrap .scale-table-col {
    height: 52px;
    font-size: 24px;
    padding-left: 0;
    padding-right: 0;
  }

  #cat-4-3 .scale-table-name {
    font-size: 28px;
    line-height: 36px;
  }

  #cat-4-3 .scale-table-wrap .scale-table-expand {
    transition: none;
    padding-left: 0;
    padding-right: 0;
  }

  #cat-4-3 .scale-table-wrap .scale-table-expand.is-open {
    max-height: 520px;
    padding-left: 0;
    padding-right: 0;
  }

  #cat-4-3 .scale-table-expand-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 16px;
    padding-bottom: 12px;
  }

  #cat-4-3 .scale-table-expand-inner .detail-subtitle {
    grid-column: 1 / -1;
  }

  #cat-4-3 .scale-table-expand-inner .detail-list {
    grid-column: 1;
  }

  #cat-4-3 .zone-numbers {
    grid-column: 2;
    position: static;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-top: 24px;
  }

  #cat-4-3 .zone-number-val {
    font-size: 40px;
    line-height: 40px;
  }

  /* ---------- 资源教室 ---------- */
  #cat-5 .assess-zone {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 20px;
  }

  #cat-5 .assess-scroll {
    width: 100%;
    max-width: none;
    gap: 12px;
    scroll-snap-type: x mandatory;
  }

  #cat-5 .assess-card {
    flex: 0 0 100%;
    width: 100%;
    height: auto;
    min-height: 0;
    scroll-snap-align: start;
  }

  #cat-5 .assess-img {
    aspect-ratio: auto;
    height: 180px;
  }

  #cat-5 .assess-card span[data-icon] {
    display: none !important;
  }

  .assess-scroll-wrap {
    position: relative;
    width: 100%;
    min-width: 0;
  }

  #cat-5 .assess-name {
    font-size: 18px;
    line-height: 26px;
  }

  #cat-5 .assess-side {
    height: auto;
    min-width: 0;
  }

  #cat-5 .assess-title {
    font-size: 20px;
    line-height: 1.3;
  }

  #cat-5 .assess-arrows {
    display: none;
  }

  #cat-5 .assess-zone .card-link {
    position: static;
    right: auto;
    bottom: auto;
    order: 2;
    align-self: center;
    margin-top: 4px;
  }

  /* Scrolling cards go below the text, above the product link */
  #cat-5 .assess-scroll,
  #cat-5 .assess-scroll-wrap {
    order: 1;
  }

  /* ---------- IEP ---------- */
  #cat-6 .content-block {
    padding: 20px;
    gap: 16px;
    overflow: hidden;
  }

  #cat-6 .content-block .iep-cell-image {
    width: calc(100% + 40px);
    height: 200px;
    min-height: 200px;
    margin: -20px -20px 16px;
    padding: 0;
  }

  #cat-6 .content-block .iep-cell-image img {
    border-radius: 0 !important;
  }

  #cat-6 .content-block .card-link {
    position: static;
    top: auto;
    right: auto;
    order: 1;
    align-self: center;
  }

  #cat-6 .iep-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    gap: 16px;
  }

  #cat-6 .iep-cell {
    padding: 16px;
    grid-column: 1;
  }

  #cat-6 .iep-cell-left {
    padding: 0;
  }

  #cat-6 .iep-cell-left .card-item-row {
    gap: 12px;
  }

  #cat-6 .iep-cell-left .card-item {
    min-height: 150px;
  }

  #cat-6 .iep-numbers-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 16px 52px;
    margin-top: 16px;
    padding-left: 8px;
  }

  #cat-6 .iep-number-group {
    display: grid;
    justify-items: start;
    gap: 6px;
    min-width: 0;
    text-align: left;
  }

  #cat-6 .iep-number-group .card-item-label {
    position: static;
    width: auto;
    font-size: 16px;
    line-height: 22px;
    text-align: left;
  }

  #cat-6 .iep-number-group .iep-big-numbers {
    position: static;
    justify-content: flex-start;
    margin: 0;
    gap: 20px;
  }

  /* Two milestones (both red), one obstacle, one transition */
  #cat-6 .iep-number-group:nth-child(1) .card-item-label,
  #cat-6 .iep-number-group:nth-child(1) .iep-big-number-val,
  #cat-6 .iep-number-group:nth-child(2) .card-item-label,
  #cat-6 .iep-number-group:nth-child(2) .iep-big-number-val {
    color: var(--red);
  }

  #cat-6 .iep-number-group:nth-child(3) .card-item-label,
  #cat-6 .iep-number-group:nth-child(3) .iep-big-number-val {
    color: var(--sage);
  }

  #cat-6 .iep-number-group:nth-child(4) .card-item-label,
  #cat-6 .iep-number-group:nth-child(4) .iep-big-number-val {
    color: var(--blue);
  }

  #cat-6 .iep-cell-left .card-item-row {
    display: none;
  }

  #cat-6 .iep-cell-left .card-item-label {
    top: 12px;
    left: 12px;
    font-size: 16px;
    line-height: 22px;
  }

  #cat-6 .iep-big-numbers {
    position: static;
    margin-top: 10px;
    gap: 20px;
  }

  #cat-6 .iep-big-number-val {
    font-size: 48px;
  }

  #cat-6 .iep-big-number-plus {
    font-size: 24px;
  }

  #cat-6 .iep-cell .detail-item {
    height: auto;
    min-height: 32px;
  }

  #cat-6 .iep-cell-image {
    min-height: 200px;
    padding: 0;
  }

  /* ---------- 上肢体感 features ---------- */
  #cat-9 .card-cover-ph {
    grid-row: 1;
  }

  #cat-9 .card-main {
    grid-row: 2;
    padding-bottom: 0;
  }

  #cat-9 .card > .card-link {
    position: static;
    left: auto;
    bottom: auto;
    justify-self: center;
    display: flex;
    width: max-content;
    margin: 0 0 20px;
  }

  /* Tags stay on one line, horizontally scrollable when they overflow */
  #cat-9 .premium-tags {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  #cat-9 .premium-tags::-webkit-scrollbar {
    display: none;
  }

  #cat-9 .premium-tags .tag {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .training-product-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 20px;
  }

  /* Icon + title on one line, description below */
  .training-product-feature {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    column-gap: 8px;
    row-gap: 6px;
    padding: 12px;
  }

  .training-product-feature > div {
    display: contents;
  }

  .training-product-feature-icon {
    grid-column: 1;
    grid-row: 1;
    flex: none;
  }

  .training-product-feature h4 {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    font-size: 14px;
  }

  .training-product-feature p {
    grid-column: 1 / -1;
    grid-row: 2;
    font-size: 12px;
    line-height: 1.5;
  }

  /* ---------- 康复云平台 ---------- */
  #cat-8 .promo-banner {
    height: auto;
    gap: 16px;
    padding: 20px;
  }

  #cat-8 .promo-banner .card-link {
    position: static;
    top: auto;
    right: auto;
    order: 1;
    align-self: center;
  }

  #cat-8 .promo-tabs {
    justify-content: flex-start;
    gap: 8px;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  #cat-8 .promo-tabs::-webkit-scrollbar {
    display: none;
  }

  #cat-8 .promo-tab {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 8px 12px;
    font-size: 14px;
  }

  #cat-8 .shot-split {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  #cat-8 .shot-detail {
    padding: 16px;
  }

  /* As many items per row as fit (usually two), otherwise one per row;
     items never wrap their text */
  #cat-8 .shot-detail .detail-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4px 12px;
  }

  #cat-8 .shot-detail .detail-item {
    flex: 0 0 auto;
    height: auto;
    min-height: 32px;
    white-space: nowrap;
  }

  #cat-8 .shot-ph {
    min-height: 200px;
  }

  #cat-8 .shot-detail .shot-ph {
    width: 100%;
    min-height: 180px;
    margin-top: 8px;
    border: none;
    border-radius: 0;
  }

  /* ---------- 数据总览 ---------- */
  .data-section {
    margin-bottom: 24px;
  }

  .data-map-stack {
    display: flex;
    flex-direction: column;
  }

  .map-header {
    position: static;
    transform: none;
    order: -1;
    width: auto;
    margin-bottom: 12px;
  }

  .map-header .map-title {
    font-size: 24px;
  }

  .map-header .map-tags {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0 12px;
  }

  .map-header .map-tags::-webkit-scrollbar {
    display: none;
  }

  .map-header .tag {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .data-map {
    display: none;
  }

  .data-layer {
    position: static;
    width: 100%;
  }

  .data-layer .layer-features {
    display: none;
  }

  .data-layer .detail-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 16px;
  }

  .data-layer .layer-numbers {
    position: static;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    margin-top: 8px;
    padding: 0 16px;
  }

  /* One stat per row: title on the left, number on the right */
  .data-layer .layer-num {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .data-layer .layer-num .num-row {
    margin-top: 0;
    margin-left: auto;
  }

  .data-layer .layer-num .layer-num-title {
    margin-left: 0;
  }

  /* Circular icon background, like the 上肢体感 feature cards */
  .data-layer .layer-num-icon {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--blue-tag-bg);
  }

  .data-layer .layer-num-icon svg {
    width: 18px;
    height: 18px;
  }

  .data-layer .num-val {
    font-size: 40px;
    line-height: 40px;
  }

  /* ---------- Footer ---------- */
  .footer-inner {
    padding: 0 20px;
  }

  .footer-grid {
    flex-direction: column;
    gap: 24px;
    padding: 40px 0 24px;
  }

  .footer-cols {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    width: 100%;
  }

  .footer-col:last-child {
    grid-column: auto;
  }

  /* Items stay on one line, horizontally scrollable when they overflow */
  .footer-col ul {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 14px 28px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .footer-col ul::-webkit-scrollbar {
    display: none;
  }

  .footer-col:not(:last-child) li {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  /* 联系我们 keeps one item per row */
  .footer-col:last-child ul {
    flex-direction: column;
    gap: 8px;
    overflow-x: visible;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }

  /* ---------- Floating buttons & panels ---------- */
  .floating-buttons {
    top: 7px;
    right: 12px;
    bottom: auto;
    flex-direction: row;
    gap: 6px;
  }

  #scrollTopBtn {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 48px;
    height: 48px;
    background: var(--card-bg);
    box-shadow: var(--shadow-soft);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  #scrollTopBtn .float-icon {
    width: 20px;
    height: 20px;
  }

  body.panel-open #scrollTopBtn {
    transform: translateY(80px);
    opacity: 0;
    pointer-events: none;
  }

  .float-btn {
    width: 42px;
    height: 42px;
  }

  .floating-buttons .float-btn {
    background: transparent;
    box-shadow: none;
  }

  .float-icon {
    width: 18px;
    height: 18px;
  }

  .float-tooltip {
    display: none !important;
  }

  .floating-buttons .float-btn[aria-expanded="true"] {
    background: var(--accent-coral);
  }

  .floating-buttons .float-btn[aria-expanded="true"] .float-icon svg,
  .floating-buttons .float-btn[aria-expanded="true"] .float-text {
    color: var(--text-on-dark);
  }

  .support-panel,
  .notice-panel,
  .app-panel,
  .menu-drawer {
    left: 12px;
    right: 12px;
    top: 68px;
    bottom: auto;
    width: auto;
    max-height: calc(100vh - 80px);
  }

  /* 产品菜单: two columns, scrollable when the expanded list is tall */
  #menuDrawer .menu-nav-list {
    column-count: 2;
    column-gap: 16px;
  }

  #menuDrawer .menu-nav-item {
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
  }

  /* Left: 入学评估 / 培智课程 / 送教上门 / 孤独症; the rest on the right */
  #menuDrawer .menu-nav-item:nth-child(5) {
    break-before: column;
    -webkit-column-break-before: always;
  }

  /* Align the QR codes with the content above; the middle gap stays 16px */
  .support-qr-item,
  .app-qr-item {
    flex: 1;
  }

  .support-qr-placeholder,
  .app-qr-placeholder {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }

  /* Taller banner so the app panel fills more of the screen */
  #appPanel .app-banner-carousel {
    height: 292px;
  }

  .support-overlay,
  .notice-overlay,
  .app-overlay,
  .menu-overlay {
    touch-action: none;
  }

  .notice-panel {
    height: min(520px, calc(100vh - 96px));
  }

  /* Notice detail modal open: the notice panel recedes behind it */
  #noticePanel.is-behind {
    transform: scale(0.96);
  }

  .notice-modal-overlay {
    left: 12px;
    right: 12px;
    top: 68px;
    bottom: auto;
    width: auto;
    height: min(520px, calc(100vh - 96px));
    max-height: calc(100vh - 80px);
  }

  /* ---------- Lightbox ---------- */
  .lightbox {
    padding: 16px;
  }
}

/* ============================================================
   Small phones (<=480px)
   ============================================================ */

@media (max-width: 480px) {
  .section-title {
    font-size: 22px;
  }

  .carousel-item {
    width: 82%;
  }

  .carousel-edge {
    width: calc(9% - 2px);
  }
}

/* Touch devices: avoid sticky hover state on the floating buttons */
@media (max-width: 767px) and (hover: none) {
  .floating-buttons .float-btn:not([aria-expanded="true"]):hover {
    transform: none;
    background: transparent;
    box-shadow: none;
  }

  #scrollTopBtn:hover {
    transform: none;
    background: var(--card-bg);
    box-shadow: var(--shadow-soft);
  }

  .floating-buttons .float-btn:not([aria-expanded="true"]):hover .float-icon svg,
  .floating-buttons .float-btn:not([aria-expanded="true"]):hover .float-text {
    color: var(--text-secondary);
  }

  .floating-buttons .float-btn[aria-expanded="true"]:hover {
    transform: none;
  }

  /* Arrow buttons: no sticky hover, feedback moves to press */
  .carousel-arrow:hover,
  .card-arrow:hover,
  .premium-arrow:hover,
  .course-media-arrow:hover {
    background: var(--card-bg);
    color: var(--text-secondary);
    box-shadow: var(--shadow-soft);
  }

  .carousel-arrow:hover {
    transform: translateY(-50%);
  }

  .card-arrow:hover,
  .premium-arrow:hover,
  .course-media-arrow:hover {
    transform: none;
  }

  #cat-1-1 .card-arrow:hover,
  .assess-zone .card-arrow:hover {
    background: var(--card-bg);
    color: var(--text-secondary);
    box-shadow: var(--shadow-soft);
  }

  #cat-4-3 .scale-table-row:not(.scale-table-head):hover {
    background: transparent;
    border-radius: 0;
  }

  #cat-4-3 .scale-table-row:hover .scale-table-icon {
    color: var(--text-muted);
  }

  .product-card:hover {
    transform: none;
    box-shadow: var(--shadow-soft);
  }

  /* Carousel items: no sticky hover, feedback moves to press */
  .carousel-item:hover {
    box-shadow: var(--shadow-soft);
  }

  .carousel-item:hover .carousel-icon {
    top: 8px;
    left: 8px;
    background: transparent;
  }

  .carousel-item:hover .carousel-icon svg {
    color: var(--accent-coral);
  }

  /* Product / link buttons: no sticky hover */
  .card-btn:hover,
  .card-link:hover,
  .card-link-top:hover {
    transform: none !important;
    box-shadow: none !important;
  }

  /* 技术支持弹框: hover feedback moves to press */
  .support-link:hover {
    background: transparent;
    border-color: var(--border);
    color: var(--text-primary);
  }

  .support-link.is-pressed {
    background: rgba(232, 132, 107, 0.06);
    border-color: var(--accent-coral);
    color: var(--accent-coral);
  }

  /* 更新通知弹框: 选择日期按钮 hover → press */
  .notice-time:hover {
    border-color: var(--border);
  }

  .notice-time.is-pressed {
    border-color: var(--accent-coral);
  }

  /* 更新通知弹框: 通知条目 hover → press 加深 */
  .notice-item:hover {
    background: transparent;
  }

  .notice-item:hover .notice-dot {
    transform: none;
    opacity: 1;
  }

  .notice-item.is-pressed {
    background: var(--border-light);
    border-radius: 8px;
  }

  /* 产品菜单: hover feedback moves to press */
  .menu-nav-link:hover {
    background: transparent;
    color: var(--text-primary);
  }

  .menu-nav-child:hover {
    background: transparent;
    color: var(--text-secondary);
  }

  .menu-nav-link:hover .menu-nav-caret {
    color: var(--text-secondary);
  }

  .menu-nav-link.is-pressed {
    background: var(--coral-bg-light);
    color: var(--accent-coral);
  }

  .menu-nav-link.is-pressed .menu-nav-caret {
    color: var(--accent-coral);
  }

  .course-card-link:hover,
  .course-card:hover .course-card-link {
    background: transparent !important;
    color: var(--coral) !important;
  }

  .course-card:hover .course-card-ph {
    border-color: var(--border);
  }

  .course-card-link:hover svg {
    transform: none !important;
  }

  /* Module cards: no sticky hover border/lift on touch */
  #cat-1-1 .card-item:hover,
  #cat-1-2 .card-unit:hover,
  #cat-3 .visit-panel .card-item:hover,
  #cat-4-3 .scale-mini:hover,
  #cat-5 .assess-card:hover {
    border-color: var(--border);
    transform: none;
  }

  #cat-9 .training-product-feature:hover {
    border-color: var(--border-light);
    transform: none;
  }

  /* Pressable elements: quick press, softer release */
  .card-btn,
  .card-link,
  .card-link-top,
  .course-card-link,
  .course-card,
  .float-btn,
  .carousel-arrow {
    touch-action: manipulation;
    transition: transform 0.18s ease, filter 0.18s ease, box-shadow 0.18s ease,
      background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  }

  .is-pressed {
    transition: transform 0.12s ease-out, filter 0.12s ease-out,
      box-shadow 0.12s ease-out, background-color 0.12s ease-out,
      color 0.12s ease-out, border-color 0.12s ease-out !important;
  }

  /* Press feedback (JS-driven, instant) */
  .card-btn.is-pressed,
  .card-link.is-pressed,
  .card-link-top.is-pressed {
    transform: scale(0.96) !important;
  }

  .card-btn.is-pressed {
    box-shadow: var(--shadow-coral) !important;
  }

  .card-illustration-1 + .card-body .card-btn.is-pressed {
    box-shadow: var(--shadow-sage) !important;
  }

  .card-illustration-3 + .card-body .card-btn.is-pressed {
    box-shadow: var(--shadow-lavender) !important;
  }

  .card-link.is-pressed {
    box-shadow: var(--shadow-coral) !important;
  }

  .visit-panel .card-link.is-pressed,
  .card-link-top.is-pressed {
    box-shadow: var(--shadow-blue) !important;
  }

  .premium-content .card-link.is-pressed,
  .content-block .card-link.is-pressed {
    box-shadow: var(--shadow-sage) !important;
  }

  .assess-zone .card-link.is-pressed,
  .promo-banner .card-link.is-pressed,
  #cat-4-1 .card-link.is-pressed {
    box-shadow: var(--shadow-lavender) !important;
  }

  #cat-4-3 .card-link.is-pressed {
    box-shadow: var(--shadow-red) !important;
  }

  .course-card.is-pressed {
    transform: scale(0.97);
    border-color: var(--coral);
  }

  /* Module cards: accent border while pressing instead of hover */
  #cat-1-1 .card-item.is-pressed,
  #cat-9 .training-product-feature.is-pressed {
    border-color: var(--coral);
  }

  #cat-1-2 .card-unit.is-pressed,
  #cat-3 .visit-panel .card-item.is-pressed {
    border-color: var(--blue);
  }

  #cat-4-3 .scale-mini.is-pressed {
    border-color: var(--red);
  }

  #cat-5 .assess-card.is-pressed {
    border-color: var(--lavender);
  }

  /* Module cards: press scale, same feel as the course cards */
  #cat-1-1 .card-item.is-pressed,
  #cat-1-2 .card-unit.is-pressed,
  #cat-3 .visit-panel .card-item.is-pressed,
  #cat-4-3 .scale-mini.is-pressed,
  #cat-9 .training-product-feature.is-pressed {
    transform: scale(0.97);
  }

  /* Carousel items: press scale only */
  .carousel-item.is-pressed {
    transform: scale(0.97);
  }

  .float-btn:not([aria-expanded="true"]).is-pressed {
    transform: scale(0.94);
  }

  /* Wins over the sticky-hover reset on #scrollTopBtn */
  #scrollTopBtn.is-pressed {
    transform: scale(0.92);
  }

  /* Arrow buttons: unified press feedback (scale + color) */
  .carousel-arrow.is-pressed,
  .card-arrow.is-pressed,
  .course-media-arrow.is-pressed,
  .premium-arrow.is-pressed {
    background: var(--accent-coral);
    color: var(--text-on-dark);
    box-shadow: var(--shadow-coral);
    transform: scale(0.92);
  }

  .carousel-arrow.is-pressed {
    transform: translateY(-50%) scale(0.92);
  }

  #cat-1-1 .card-arrow.is-pressed,
  .assess-zone .card-arrow.is-pressed {
    background: var(--accent-coral);
    color: var(--text-on-dark);
    box-shadow: var(--shadow-coral);
  }
}

/* ============================================================
   Tablet (768px - 1180px)
   Render the desktop layout on a larger virtual viewport and scale
   it down, so the desktop fixed/min widths fit without breaking.
   ============================================================ */

@media (min-width: 768px) and (max-width: 1180px) {
  html {
    zoom: 0.8;
  }
}

/* ============================================================
   Phones + small tablets (<= 1000px): hide the header nav links
   ============================================================ */

@media (max-width: 1000px) {
  .nav {
    display: none;
  }
}

/* ============================================================
   Lock the page scroll while a panel is open (all sizes)
   ============================================================ */

html {
  scrollbar-gutter: stable;
}

body.panel-open {
  overflow: hidden;
}

/* ============================================================
   产品菜单: scrollable list + a gap below the header on desktop
   ============================================================ */

#menuDrawer .menu-drawer-body {
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
}

#menuDrawer .menu-drawer-body::-webkit-scrollbar {
  display: none;
}

/* 技术支持 / 家校共育: let the body scroll when the content is tall */
.support-panel-body,
.app-panel-body {
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
}

.support-panel-body::-webkit-scrollbar,
.app-panel-body::-webkit-scrollbar {
  display: none;
}

@media (min-width: 768px) {
  #menuDrawer {
    max-height: calc(100vh - 104px);
  }
}

/* Short windows: anchor every panel to the same bottom as the 产品菜单,
   so their tops never leave the viewport */
@media (min-width: 768px) and (max-height: 799px) {
  .support-panel,
  .notice-panel,
  .app-panel,
  .menu-drawer {
    bottom: 24px;
    max-height: calc(100vh - 104px);
  }
}

/* Tablet with enough height: the content fits, so don't scroll it */
@media (min-width: 768px) and (max-width: 1180px) and (min-height: 800px) {
  .support-panel-body,
  .app-panel-body,
  #menuDrawer .menu-drawer-body {
    overflow-y: visible;
  }
}

/* Tablet: let these panels grow to their content (no height cap).
   更新通知 keeps its original height limit. */
@media (min-width: 768px) and (max-width: 1180px) {
  .support-panel,
  .app-panel,
  .menu-drawer,
  #menuDrawer {
    max-height: none;
  }
}
