.app-tools{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px;font-size:14px;color:#607d74}.app-tools button{min-height:44px}.app-sync-status{display:flex;flex-wrap:wrap;gap:6px 14px;align-items:center;margin:-8px 0 18px;font-size:14px;color:#456d5e}.app-sync-status>span{flex:1;min-width:180px}.sync-warning{color:#85652c}.install-guide{font-size:16px;line-height:1.85}.install-guide ul{padding-left:22px}.install-guide .primary{display:block;margin-top:12px}
@media(max-width:700px){
 html{scroll-padding-bottom:100px}body{font-size:16px}.workspace{margin-left:0;padding-bottom:calc(80px + env(safe-area-inset-bottom))}
 .sidebar{position:fixed;top:auto;bottom:0;left:0;width:100%;height:auto;z-index:30;padding:4px 8px calc(5px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid #dae5df;border-bottom:0;box-shadow:0 -3px 20px #123d2908;display:block}
 .sidebar .brand,.sidebar .nav-label,.sidebar .sidebar-note,.sidebar .sidebar-bottom{display:none}.sidebar nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px;margin:0}
 .sidebar .nav-item{display:flex;flex-direction:column;gap:3px;padding:8px 1px;margin:0;font-size:13px;line-height:1.5;min-height:58px;border-radius:9px;white-space:normal;text-align:center}
 .sidebar .nav-item>span:first-child{display:block;font-size:21px;line-height:1.2}.sidebar .nav-item.active{background:#eaf4ef;color:#15634d}
 .topbar{padding:calc(10px + env(safe-area-inset-top)) 16px 10px;height:auto;min-height:48px;gap:8px}.breadcrumb{font-size:13px}.breadcrumb>span{margin:0 8px}.breadcrumb{white-space:nowrap}.top-actions{min-width:0}.demo-pill{font-size:12px;overflow:hidden;text-overflow:ellipsis;max-width:145px;white-space:nowrap}
 main{padding:12px 14px 20px;min-width:0}.app-tools{margin-bottom:10px}.app-tools>span{font-size:14px}.page-heading{margin-bottom:16px;gap:12px;flex-wrap:wrap}.page-heading .eyebrow{display:none}.page-heading h1{font-size:23px;line-height:1.55;margin:0}.page-heading>div{min-width:0;flex:1 1 100%}.page-heading p{font-size:14px;margin:8px 0 0}.page-heading .primary{margin:0;font-size:14px;min-height:44px;padding:10px 16px}
 .data-notice{font-size:13px;padding:10px 12px;line-height:1.7;margin-bottom:16px}.app-sync-status{font-size:13px;margin:0 0 16px}.app-sync-status button{min-height:40px}.app-sync-status>span{flex-basis:100%}
 .company-bar{gap:10px;padding:12px;margin-bottom:16px}.company-bar label{font-size:14px}.company-bar select{order:3;flex:1 1 100%;width:100%;font-size:16px;min-height:46px}.company-bar button{margin-left:auto;min-height:42px}
 .stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:20px}.stat{min-width:0;padding:14px;text-align:left}.stat-top{font-size:14px;line-height:1.6;min-height:44px;gap:5px}.stat-top>span{display:none}.stat-value{font-size:27px;margin:8px 0}.stat-value.words{font-size:19px}.stat-value small{font-size:12px}.stat-bottom{font-size:12px;line-height:1.7}
 .panel,.summary-card,.report-brief{padding:16px;min-width:0}.section-header{gap:12px;flex-wrap:wrap}.section-header h2{font-size:17px}.section-header h3{font-size:17px}.small-note,.plot-note,.comparison-note,.status-note{font-size:13px;line-height:1.8}.history-panel{margin-top:16px}.history-panel h3{font-size:16px}
 .scope-chips{gap:8px;overflow-x:auto;flex-wrap:nowrap;padding-bottom:6px;max-width:100%}.scope-chips button{flex-shrink:0;min-height:44px;font-size:14px;padding:9px 12px}.trend-controls{gap:12px;margin:14px 0}.trend-controls>label{width:100%;font-size:14px;gap:8px}.trend-controls input{flex:1;min-width:70px;width:auto}.trend-controls select{min-height:44px;font-size:16px;flex:1}.market-switches{width:100%;gap:12px;justify-content:space-between}.market-switch{min-height:44px;font-size:14px;gap:5px}.market-switch input{width:28px;height:22px}.market-switch .line-key{width:16px;margin-right:0}.chart-legend{font-size:13px;gap:12px}.trend-scroll{margin-top:16px;max-width:100%;-webkit-overflow-scrolling:touch}.trend-scroll::after{content:'左右滑动，查看完整时间范围';display:block;position:sticky;left:0;padding:8px 12px;background:#f3f7f5;color:#56756a;font-size:12px;width:calc(100% - 24px)}
 .five-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.fact{min-width:0;padding:12px}.fact label{font-size:13px}.fact strong{font-size:23px}.fact small{font-size:12px}.five-facts .mini-trend{max-width:100%}.report-row{flex-direction:column;align-items:stretch;gap:12px}.report-row h3{font-size:16px}.report-actions{flex-wrap:wrap;gap:12px}.news-card{padding:16px}.news-card h3{font-size:16px}.news-card p{font-size:15px}.news-meta,.news-footer{flex-wrap:wrap;font-size:13px}.news-date-form input,.news-date-form select{width:100%;min-width:0;font-size:16px}.news-date-form label{min-width:120px}.quote-main{flex-wrap:wrap}
 button,a,select,input{touch-action:manipulation}button.primary,button.secondary,.file-button{min-height:44px}input,select,textarea,.form-field textarea,.form-field input{font-size:16px}.icon-button{min-width:44px;min-height:44px}.text-button{font-size:14px}dialog{width:calc(100vw - 24px);max-height:calc(90dvh - env(safe-area-inset-bottom));padding:18px}.modal-copy{font-size:16px;line-height:1.8}.form-actions{flex-wrap:wrap}.sheet-toolbar{gap:10px}.sheet-stats{grid-template-columns:1fr 1fr}.editable-sheet input{font-size:16px!important}
 #toast{bottom:calc(86px + env(safe-area-inset-bottom));width:max-content;max-width:90vw;font-size:14px;padding:12px 16px}footer{padding:12px 16px;font-size:12px;gap:8px}
}
@media(max-width:700px){.page-heading>div{flex:1;min-width:190px}.page-heading h1{font-size:20px;text-wrap:balance}.page-heading p{display:none}.page-heading .primary{padding:10px;font-size:13px;align-self:center}.data-notice{display:none}.stat-top{min-height:44px}.company-bar{margin-top:8px}.app-sync-status>span{line-height:1.8}.app-tools{margin-bottom:8px}}
@media(max-width:700px){.home-chart-heading label{white-space:nowrap}.home-chart-heading select{width:auto;flex:1;min-width:0}}
