/* MY LIFE v14｜六大功能手機自然捲動 V1｜2026-11-05
   記一筆：只讓最外層 #content 捲動；表單自身不再生出第二捲軸。
   留下的紀錄：#listArea 內含搜尋/月份小結/圖表/紀錄，只捲一次。
   app 的原有 bindList 仍監測 #listArea，往下滑會收起月份小結。
*/
@media(max-width:600px){
 body[data-page="category"][data-category-tab="scenery"] #content.category-layout{
   overflow-y:auto!important;overflow-x:hidden;overscroll-behavior:contain;
 }
 body[data-page="category"][data-category-tab="scenery"] #category-scenery{
   flex:0 0 auto;min-height:0;height:auto;
   overflow:visible!important;justify-content:flex-start;
   padding-bottom:24px;
 }
 body[data-page="category"] .category-inline-form{height:auto;max-height:none;}
 body[data-page="category"][data-category-tab="records"] #content.category-layout{
   overflow:hidden!important;
 }
 body[data-page="category"][data-category-tab="records"] #category-records{
   display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden;
 }
 body[data-page="category"][data-category-tab="records"] #category-records>#listArea{
   display:block;flex:1;min-height:0;height:auto;overflow-y:auto;overflow-x:hidden;
   overscroll-behavior:contain;-webkit-overflow-scrolling:touch;
 }
 body[data-page="category"][data-category-tab="records"] #listArea>.record-panel-tools{
   display:block;margin:0 0 12px;padding:0;overflow:visible;
 }
 body[data-page="category"] .summary-box[open]>.summary-content,
 body[data-page="category"] .summary-box>.summary-content{
   max-height:none!important;height:auto!important;
   overflow:visible!important;
 }
 body[data-page="category"] .summary-box[open] .v245-card,
 body[data-page="category"] .summary-box .v245-card{
   height:auto!important;max-height:none!important;overflow:visible!important;
 }
 body[data-page="category"] .summary-box .v245-card .chart-content{
   min-height:0!important;height:auto;max-height:none!important;
   overflow:visible;
 }
 body[data-page="category"] .v245-card .mood-stage{
   height:350px!important;overflow:visible;
 }
 body[data-page="category"] .v245-card .study-chart-wrap .chart-svg,
 body[data-page="category"] .v245-card .sleep-dot-svg{
   width:100%;height:auto!important;max-height:none!important;
 }
}
