/* 江苏华辰企管中心数字化工作平台 V2.6.126 · 手机端深度优化层
   目标：320–900px 稳定布局、清晰字号、触控友好、键盘/安全区适配、无页面级横向滚动。 */

@media (max-width:900px){
  :root{
    --hc-mobile-gap:12px;
    --hc-mobile-radius:16px;
    --hc-mobile-control:46px;
    --hc-mobile-bottom:68px;
    --mobile-bottom-nav-height:var(--hc-mobile-bottom)!important;
  }

  html,body{width:100%;max-width:100%;overflow-x:clip!important}
  html{scroll-padding-top:62px;-webkit-text-size-adjust:100%;text-size-adjust:100%}
  body{padding-bottom:0!important;background:#f2f6fa!important;overscroll-behavior-x:none}
  .shell,.main,.content,.page-transition,.unified-view,.executive-workspace,.leader-workspace-shell{min-width:0!important;max-width:100%!important;width:100%!important;box-sizing:border-box!important}
  .content{padding:14px 12px calc(var(--hc-mobile-bottom) + 24px + env(safe-area-inset-bottom))!important;margin:0!important}

  /* 顶部栏：手机端显示“当前页面名”，而不是笼统的平台名。 */
  .topbar{position:sticky!important;top:0!important;z-index:55!important;min-height:58px!important;padding:8px 10px!important;gap:8px!important;background:rgba(248,251,254,.96)!important;border-bottom:1px solid #dce6ef!important;backdrop-filter:blur(18px) saturate(1.1)!important;box-shadow:0 3px 16px rgba(20,61,104,.055)!important}
  .sidebar,.sidebar-toggle{display:none!important}
  .topbar-title{min-width:0!important;flex:1 1 auto!important}
  .topbar-title h1{display:block!important;margin:0!important;font-size:17px!important;line-height:1.25!important;color:#173a57!important;font-weight:850!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  .topbar-title h1:after{content:none!important;display:none!important}
  .topbar-title p{display:none!important}
  .topbar-tools{display:flex!important;align-items:center!important;gap:5px!important;min-width:0!important;margin-left:auto!important}
  .topbar-status-button,.topbar-more>summary{width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;padding:0!important;border-radius:12px!important;display:grid!important;place-items:center!important}
  .topbar-status-button .ui-icon,.topbar-more>summary .ui-icon{width:18px!important;height:18px!important}
  .topbar-more>summary span{display:none!important}
  .topbar-more-menu{right:0!important;left:auto!important;width:min(286px,calc(100vw - 24px))!important;max-width:calc(100vw - 24px)!important;border-radius:15px!important;padding:8px!important}
  .topbar-more-menu button{min-height:44px!important;font-size:13px!important;border-radius:10px!important}
  .topbar-more-menu .sync{width:100%!important;height:auto!important;min-height:42px!important;justify-content:flex-start!important;padding:9px 10px!important;border-radius:10px!important}
  .topbar-more-menu .sync span{display:block!important;white-space:normal!important;line-height:1.45!important;font-size:11px!important}

  /* 页面标题区：页面名称由顶部栏承担，保留说明和操作。 */
  .pagehead{display:block!important;margin:0 0 12px!important;min-width:0!important}
  .pagehead h2,.pagehead-title-sr{display:none!important}
  .pagehead p{margin:0!important;color:#708398!important;font-size:12px!important;line-height:1.65!important;white-space:normal!important;overflow-wrap:anywhere!important}
  .pagehead .actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;margin-top:10px!important;width:100%!important}
  .pagehead .actions:empty{display:none!important}
  .pagehead .actions>*{min-width:0!important;max-width:100%!important}
  .pagehead .actions>.btn,.pagehead .actions>button{width:100%!important;min-height:44px!important;justify-content:center!important}
  .pagehead .actions>*:only-child{grid-column:1/-1!important}

  /* 基础卡片、标题、正文可读性 */
  .panel,.stat,.person,.owner-task-group,.daily-dept,.daily-person,.department-group,.system-account-group,
  .quick-report-grid>article,.executive-top-kpis article,.executive-workspace .panel{border-radius:var(--hc-mobile-radius)!important;box-shadow:0 5px 18px rgba(25,65,106,.045)!important}
  .panel{padding:14px!important}
  .panel h3,.section-head h3{font-size:15px!important;line-height:1.4!important}
  .panel-sub,.section-head p{font-size:11px!important;line-height:1.6!important}
  .section-head{gap:8px!important;align-items:flex-start!important;flex-wrap:wrap!important}
  .section-head>div{min-width:0!important;flex:1 1 210px!important}
  .section-head .btn,.section-head .text-link{min-height:40px!important;font-size:11px!important}
  .scope-note,.overview-strip,.status-banner{font-size:12px!important;line-height:1.6!important;border-radius:13px!important}
  .overview-strip{align-items:flex-start!important;flex-wrap:wrap!important;padding:11px 12px!important}
  .overview-strip small{width:100%!important;margin-left:0!important}

  /* 所有常用交互目标统一触控尺寸。 */
  button,.btn,.icon-button,select,input[type=date],input[type=text],input[type=password],input[type=number],input[type=search],textarea{touch-action:manipulation}
  .btn{min-height:44px!important;padding-left:12px!important;padding-right:12px!important;font-size:12px!important}
  .icon-button{min-width:40px!important;min-height:40px!important}
  .field input,.field select,.toolbar input,.toolbar select,.quick-report-selector select{min-height:var(--hc-mobile-control)!important;font-size:16px!important}
  .field textarea{font-size:15px!important;line-height:1.65!important;min-height:104px!important}
  .field span{font-size:12px!important;line-height:1.5!important}

  /* KPI：固定双列，避免半张卡片和手指误滑。 */
  .stats,.analysis-kpis,.executive-kpis,.daily-overview,.admin-affair-kpis,.person-period-kpis,.temp-summary,.my-task-stats,.work-report-scope-kpis,.executive-top-kpis{
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;overflow:visible!important;margin:0!important;padding:0!important
  }
  .stats>*,.analysis-kpis>*,.executive-kpis>*,.daily-overview>*,.admin-affair-kpis>*,.person-period-kpis>*,.temp-summary>*,.my-task-stats>*,.work-report-scope-kpis>*,.executive-top-kpis>*{
    min-width:0!important;width:auto!important;min-height:92px!important;padding:12px!important
  }
  .stat strong{font-size:26px!important;margin-top:9px!important}
  .stat label,.stat small,.analysis-kpis small,.executive-kpis small,.daily-overview small,.admin-affair-kpis small,.person-period-kpis small,.my-task-stats small{font-size:10px!important;line-height:1.45!important;white-space:normal!important}
  .analysis-kpis b,.executive-kpis b,.daily-overview b,.admin-affair-kpis b,.person-period-kpis b,.my-task-stats b{font-size:21px!important}

  /* Dashboard：首页欢迎区由横向大 Banner 改为紧凑信息卡。 */
  .welcome-banner{display:grid!important;grid-template-columns:1fr!important;gap:12px!important;min-height:0!important;padding:17px!important;margin-bottom:12px!important;border-radius:18px!important}
  .welcome-copy h2{font-size:21px!important;line-height:1.3!important;margin:10px 0 7px!important}
  .welcome-copy p{font-size:12px!important;line-height:1.7!important}
  .welcome-label{font-size:10px!important}
  .welcome-actions{display:grid!important;grid-template-columns:1fr!important;margin-top:13px!important}
  .welcome-actions .btn{width:100%!important}
  .focus-panel{min-width:0!important;width:100%!important;border-left:0!important;border-top:1px solid rgba(22,95,172,.12)!important;padding:12px 0 0!important;gap:10px!important}
  .focus-icon{width:44px!important;height:44px!important;border-radius:13px!important}
  .focus-panel small,.focus-panel p{font-size:10px!important;line-height:1.5!important}.focus-panel b{font-size:14px!important}
  .welcome-mascot{display:none!important}
  .dept-overview,.member-summary-grid,.leadership-grid{grid-template-columns:1fr!important;gap:9px!important}
  .dept-summary{padding:13px!important}.dept-summary-head b{font-size:13px!important}.dept-summary-kpis{font-size:10px!important}

  /* 我的任务：卡片优先、操作按钮不挤。 */
  .my-task-note{align-items:flex-start!important;flex-direction:column!important;gap:7px!important}
  .my-task-priority-note{margin-left:0!important;text-align:left!important}
  .owner-group-head{align-items:flex-start!important;flex-direction:column!important;gap:11px!important;padding:13px!important}
  .owner-group-kpis{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;width:100%!important;gap:7px!important}
  .owner-group-kpis span{min-width:0!important;padding:8px 6px!important}
  .task-table-wrap{max-width:100%!important;overflow:visible!important}.tablewrap:not(.task-table-wrap){max-width:100%!important;overflow-x:auto!important;overflow-y:visible!important;-webkit-overflow-scrolling:touch!important;overscroll-behavior-x:contain!important}
  .task-table tr,.tablewrap tr{min-width:0!important;max-width:100%!important}
  .task-table td,.tablewrap td{min-width:0!important}
  .task-title-cell b{font-size:13px!important;line-height:1.5!important}
  .task-title-cell .muted{font-size:10px!important;line-height:1.55!important}
  .task-table .progress,.tablewrap .progress{width:min(175px,58vw)!important;max-width:100%!important}
  .mobile-task-actions .row-actions,.task-table .row-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;width:100%!important;gap:7px!important}
  .mobile-task-actions .row-actions .icon-button,.task-table .row-actions .icon-button{width:100%!important;min-height:42px!important}
  .action-menu>div{position:fixed!important;left:12px!important;right:12px!important;top:auto!important;bottom:calc(var(--hc-mobile-bottom) + 10px + env(safe-area-inset-bottom))!important;width:auto!important;max-height:52dvh!important;overflow:auto!important;border-radius:16px!important;padding:8px!important;box-shadow:0 20px 60px rgba(5,37,75,.24)!important}
  .action-menu>div button{min-height:44px!important;font-size:13px!important;border-radius:9px!important}

  /* 筛选：一列堆叠，默认折叠仍保持足够点击面积。 */
  .mobile-filter-shell{margin-bottom:11px!important;border-radius:14px!important;overflow:hidden!important}
  .mobile-filter-toggle{min-height:50px!important;padding:0 13px!important}
  .mobile-filter-toggle b{font-size:13px!important}
  .mobile-filter-content{padding:10px!important}
  .mobile-filter-content .toolbar,.mobile-filter-content .person-period-filter,.my-task-toolbar{display:grid!important;grid-template-columns:1fr!important;gap:8px!important}
  .mobile-filter-content .view-switch,.my-task-toolbar .view-switch{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;width:100%!important}
  .mobile-filter-content .view-switch button,.my-task-toolbar .view-switch button{min-width:0!important;min-height:42px!important;padding:0 6px!important;font-size:11px!important}
  .toolbar-search{min-width:0!important;width:100%!important;height:46px!important}

  /* 工作报表：手机端重点突出两个生成入口。 */
  .quick-report-center.reports{padding:13px!important;border-radius:17px!important}
  .quick-report-center .quick-report-head{display:grid!important;grid-template-columns:1fr!important;gap:12px!important}
  .quick-report-center .quick-report-head h2{font-size:19px!important;line-height:1.35!important}
  .quick-report-center .quick-report-head p{font-size:11px!important;line-height:1.6!important}
  .quick-report-center .quick-report-date{width:100%!important;min-width:0!important}
  .quick-report-center .quick-report-grid{grid-template-columns:1fr!important;gap:10px!important}
  .quick-report-center .quick-report-grid>article{min-height:0!important;padding:14px!important;border-radius:15px!important}
  .quick-report-center .quick-report-card-title h3{font-size:15px!important}
  .quick-report-center .quick-report-card-title p,.quick-report-card-note{font-size:10px!important;line-height:1.55!important}
  .quick-report-center .quick-report-buttons,.work-report-guide-actions{display:grid!important;grid-template-columns:1fr!important;gap:8px!important}
  .quick-report-center .quick-report-buttons .btn,.work-report-guide-actions .btn{width:100%!important;min-height:44px!important}
  .work-report-support-grid{grid-template-columns:1fr!important;gap:10px!important}

  /* 领导最高工作台：缩小视觉占比但提升文字可读性。 */
  .executive-workspace{gap:10px!important}
  .executive-hero{display:grid!important;grid-template-columns:1fr!important;gap:12px!important;padding:18px 15px!important;border-radius:18px!important;min-height:0!important}
  .executive-hero h2{font-size:22px!important;line-height:1.28!important;margin:7px 0 5px!important}
  .executive-hero p{font-size:11px!important;line-height:1.65!important}
  .executive-hero-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;margin-top:13px!important}
  .executive-hero-actions button{min-width:0!important;min-height:42px!important;justify-content:center!important;padding:8px!important;font-size:10px!important;border-radius:10px!important}
  .executive-hero-status{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important;width:100%!important;max-width:none!important}
  .executive-hero-status article{min-width:0!important;padding:10px!important;border-radius:11px!important}
  .executive-hero-status small,.executive-hero-status span{font-size:8.5px!important;line-height:1.4!important}.executive-hero-status b{font-size:15px!important}
  .executive-main-grid,.executive-bottom-grid{grid-template-columns:1fr!important;gap:10px!important}
  .executive-focus-task{grid-template-columns:5px minmax(0,1fr)!important;gap:9px!important;padding:10px!important}
  .executive-focus-copy small,.executive-focus-copy>div{font-size:9px!important}.executive-focus-copy b{font-size:11px!important}.executive-focus-progress{grid-column:2!important;text-align:left!important}.executive-focus-progress strong{font-size:11px!important}.executive-focus-progress>span{max-width:180px!important}
  .executive-schedule-item{grid-template-columns:48px minmax(0,1fr)!important;padding:10px!important}.executive-schedule-actions{grid-column:2!important;justify-self:start!important}.executive-schedule-time b{font-size:11px!important}.executive-schedule-time span,.executive-schedule-main small{font-size:9px!important}.executive-schedule-main b{font-size:11px!important}.executive-schedule-main p{font-size:9px!important}
  .executive-dept-head b{font-size:11px!important}.executive-dept-head small{font-size:8.5px!important}.executive-dept-head i{font-size:8px!important}.executive-dept-metrics small{font-size:8px!important}.executive-dept-metrics b{font-size:13px!important}
  .executive-note-copy small,.executive-growth-item small{font-size:8.5px!important}.executive-note-copy b,.executive-growth-item b{font-size:11px!important}.executive-note-copy p,.executive-growth-item p{font-size:9.5px!important}
  .executive-growth-summary b{font-size:9px!important}.executive-growth-summary em{font-size:8.5px!important}

  /* 领导“我的工作记录”旧版工作台兼容。 */
  .leader-workspace-shell{gap:11px!important}.leader-workspace-hero{grid-template-columns:1fr!important;min-height:0!important;padding:18px 15px!important;border-radius:18px!important;gap:13px!important}
  .leader-workspace-hero-copy h2{font-size:22px!important}.leader-workspace-hero-copy>p{font-size:11px!important}.leader-workspace-quick{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;margin-top:14px!important}.leader-workspace-quick button{width:100%!important;min-height:42px!important;justify-content:center!important;font-size:10px!important}
  .leader-workspace-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}.leader-workspace-kpis article{grid-template-columns:34px minmax(0,1fr)!important;padding:11px!important}.leader-workspace-kpis b{font-size:19px!important}.leader-workspace-kpis small,.leader-workspace-kpis em{font-size:9px!important}
  .leader-workspace-grid,.leader-workspace-lists,.leader-notes-grid{grid-template-columns:1fr!important;gap:9px!important}.leader-work-item{grid-template-columns:34px minmax(0,1fr)!important;padding:11px!important}.leader-work-item-actions{grid-column:2!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;width:100%!important}.leader-work-item-actions .btn{height:38px!important;font-size:10px!important}

  /* 日工作进度 / 周月分析：复杂明细一律单列。 */
  .daily-date-actions,.admin-affair-date-actions,.person-period-nav,.executive-period,.period-nav{display:grid!important;grid-template-columns:44px minmax(0,1fr) 44px!important;gap:7px!important;width:100%!important;min-width:0!important}
  .daily-date-actions .btn,.admin-affair-date-actions .btn,.person-period-nav .icon-button,.executive-period .icon-button,.period-nav .icon-button{width:44px!important;min-width:44px!important;height:44px!important;padding:0!important}
  .daily-date-actions .daily-date-picker,.admin-affair-date-actions .daily-date-picker{min-width:0!important;width:100%!important}
  .daily-scope{grid-template-columns:auto minmax(0,1fr)!important;padding:11px!important}.daily-scope select{grid-column:1/-1!important;width:100%!important}
  .daily-dept-head{align-items:flex-start!important;flex-direction:column!important;gap:9px!important}.daily-dept-kpis{display:grid!important;grid-template-columns:1fr 1fr!important;width:100%!important;gap:7px!important}.daily-person-grid{grid-template-columns:1fr!important;gap:9px!important}.daily-person{padding:12px!important}.daily-person-name h3{font-size:14px!important}.daily-narrative li,.daily-no-summary{font-size:12px!important;line-height:1.72!important}
  .person-period-person>summary{grid-template-columns:1fr 22px!important;padding:12px!important}.person-period-summary-kpis{grid-column:1/-1!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important}.person-period-task-row{grid-template-columns:1fr!important;padding:11px!important}.person-period-task-row>*{grid-column:1!important}.person-period-task-name{grid-column:1!important}

  /* 专项平台：不让整页横向滚动，真正的宽表只在容器内滚。 */
  .office-table-wrap,.vehicle-dispatch-table-wrap,.vehicle-ledger-table,.monthly-plan-table-wrap,.media-content-panel,.media-detail-table,.media-top-archive,.executive-person-table{max-width:100%!important;overflow-x:auto!important;overscroll-behavior-x:contain!important;-webkit-overflow-scrolling:touch!important}
  .office-pager{align-items:stretch!important;flex-direction:column!important;gap:8px!important}.office-pager>div{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important}.office-pager .btn{width:100%!important}

  /* 弹窗：键盘出现时使用 visualViewport 高度，正文独立滚动。 */
  .backdrop{align-items:flex-end!important;padding:0!important;overflow:hidden!important}
  .modal,.modal.wide,#modal .modal.quick-report-modal,#modal .tomorrow-plan-modal,.daily-report-modal,.admin-report-modal{
    width:100%!important;max-width:none!important;height:auto!important;max-height:min(94dvh,calc(var(--hc-viewport-height,100dvh) - 4px))!important;border-radius:22px 22px 0 0!important;margin:0!important;overflow:hidden!important
  }
  .modal form,.modal-layout-root{min-height:0!important;max-height:inherit!important;overflow:hidden!important}
  .modalhead{padding:15px 14px 12px!important}.modalhead h2{font-size:18px!important;line-height:1.35!important}.modalhead p{font-size:11px!important;line-height:1.55!important;margin-top:4px!important}
  .modal form>.formgrid,.modal>.formgrid,.modal>.detail,.modal>.ocr-preview,.modal>.daily-report-preview,.modal-scroll-body,.daily-report-body,.admin-report-body{padding-left:13px!important;padding-right:13px!important;overscroll-behavior-y:contain!important;-webkit-overflow-scrolling:touch!important}
  .formgrid{grid-template-columns:1fr!important;gap:10px!important}.formgrid .full{grid-column:1!important}
  .modalfoot{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;padding:10px 13px calc(10px + env(safe-area-inset-bottom))!important;box-shadow:0 -8px 22px rgba(22,59,95,.05)!important}
  .modalfoot .btn{width:100%!important;min-height:46px!important}.modalfoot .btn.primary:last-child{grid-column:1/-1!important}

  /* 明日工作计划：选中任务后仍保持单一正文滚动，不出现嵌套宽度/高度问题。 */
  #modal .tomorrow-plan-modal{max-height:min(96dvh,calc(var(--hc-viewport-height,100dvh) - 2px))!important}
  #modal .tomorrow-plan-modal>#tomorrowPlanForm>.modal-scroll-body{padding:0!important;overflow-y:auto!important;overflow-x:hidden!important}
  .tomorrow-plan-body{padding:12px!important;gap:10px!important}
  .tomorrow-plan-intro{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;padding:12px!important}.tomorrow-plan-intro-title b{font-size:14px!important}.tomorrow-plan-intro-title p{font-size:10px!important}.tomorrow-plan-steps{display:grid!important;grid-template-columns:1fr!important;gap:5px!important}.tomorrow-plan-steps>b{display:none!important}.tomorrow-plan-steps span{white-space:normal!important;font-size:10px!important}
  .tomorrow-plan-summary{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important}.tomorrow-plan-summary article{padding:9px!important}.tomorrow-plan-summary small,.tomorrow-plan-summary em{font-size:8.5px!important}.tomorrow-plan-summary b{font-size:17px!important}
  .tomorrow-plan-list{max-height:none!important;overflow:visible!important;padding:6px 8px 10px!important}.tomorrow-plan-row,.tomorrow-plan-row.selected{grid-template-columns:32px minmax(0,1fr)!important;gap:8px!important;padding:11px 5px!important}.tomorrow-plan-target,.tomorrow-plan-description{grid-column:1/-1!important;margin-left:32px!important;max-width:none!important}.tomorrow-plan-target input,.tomorrow-plan-description textarea{font-size:15px!important}.tomorrow-plan-task-head{align-items:flex-start!important;flex-wrap:wrap!important}.tomorrow-plan-task-head b{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;font-size:12px!important}.tomorrow-plan-task small{font-size:9.5px!important;line-height:1.5!important}
  .tomorrow-plan-custom-grid{grid-template-columns:1fr!important}.tomorrow-plan-custom-grid>*{grid-column:1!important;margin-left:0!important}.tomorrow-plan-custom-grid input[type=text],.tomorrow-plan-custom-grid input[type=date],.tomorrow-plan-custom-grid select{height:46px!important;font-size:16px!important}.tomorrow-plan-custom-description textarea,.tomorrow-plan-custom-task-description textarea{font-size:15px!important}

  /* 底部导航：更易点击且文字不再过小。 */
  .mobile-bottom-nav{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;height:calc(var(--hc-mobile-bottom) + env(safe-area-inset-bottom))!important;padding:5px 4px env(safe-area-inset-bottom)!important;background:rgba(255,255,255,.97)!important;border-top:1px solid #d6e1eb!important;box-shadow:0 -9px 28px rgba(18,59,99,.13)!important;backdrop-filter:blur(18px) saturate(1.15)!important;overflow:visible!important}
  .mobile-bottom-nav button{min-width:0!important;min-height:58px!important;padding:2px!important;gap:2px!important;border-radius:11px!important;color:#6c8194!important}
  .mobile-bottom-nav button i{width:27px!important;height:27px!important;border-radius:9px!important}.mobile-bottom-nav button .ui-icon{width:19px!important;height:19px!important}.mobile-bottom-nav button span{font-size:10.5px!important;line-height:1.15!important;max-width:100%!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  .mobile-bottom-nav button.active{color:#176ed1!important}.mobile-bottom-nav button.active i{background:#e9f3ff!important}.mobile-bottom-nav button.active:after{top:-5px!important;width:28px!important}

  .mobile-nav-overlay{backdrop-filter:blur(3px)!important}
  .mobile-more-sheet{max-height:min(82dvh,calc(var(--hc-viewport-height,100dvh) - 24px))!important;padding:14px 12px calc(16px + env(safe-area-inset-bottom))!important;border-radius:22px 22px 0 0!important;overscroll-behavior:contain!important}
  .mobile-more-head{padding-bottom:12px!important}.mobile-more-user b{font-size:14px!important}.mobile-more-user small{font-size:10px!important}
  .mobile-more-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}.mobile-more-grid button{grid-template-columns:38px minmax(0,1fr) 16px!important;min-height:62px!important;padding:9px 10px!important;border-radius:13px!important}.mobile-more-grid button>span{font-size:12px!important;line-height:1.3!important}.mobile-more-actions{grid-template-columns:1fr 1fr!important;gap:8px!important}

  #toast{left:50%!important;right:auto!important;bottom:calc(var(--hc-mobile-bottom) + 12px + env(safe-area-inset-bottom))!important;max-width:calc(100vw - 24px)!important;transform:translateX(-50%)!important;font-size:12px!important;line-height:1.5!important}
  .back-to-top{right:12px!important;bottom:calc(var(--hc-mobile-bottom) + 14px + env(safe-area-inset-bottom))!important;width:42px!important;height:42px!important}

  /* 禁用桌面 hover 位移，避免触控后元素卡在偏移状态。 */
  .panel:hover,.person:hover,.stat:hover,.leader-work-item:hover,.executive-focus-task:hover,.executive-dept-card:hover{transform:none!important}
}

@media (max-width:560px){
  :root{--hc-mobile-gap:10px;--hc-mobile-bottom:66px}
  .content{padding-left:10px!important;padding-right:10px!important}
  .pagehead .actions{grid-template-columns:1fr!important}.pagehead .actions>*{grid-column:1!important}
  .stats,.analysis-kpis,.executive-kpis,.daily-overview,.admin-affair-kpis,.person-period-kpis,.temp-summary,.my-task-stats,.work-report-scope-kpis,.executive-top-kpis{gap:7px!important}
  .stats>*,.analysis-kpis>*,.executive-kpis>*,.daily-overview>*,.admin-affair-kpis>*,.person-period-kpis>*,.temp-summary>*,.my-task-stats>*,.work-report-scope-kpis>*,.executive-top-kpis>*{padding:10px!important;min-height:88px!important}
  .executive-hero-actions{grid-template-columns:1fr 1fr!important}.executive-hero-status{grid-template-columns:repeat(3,minmax(0,1fr))!important}.executive-top-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}.executive-dept-metrics{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .leader-workspace-quick{grid-template-columns:1fr 1fr!important}.leader-workspace-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .mobile-more-grid{grid-template-columns:1fr 1fr!important}.mobile-more-actions{grid-template-columns:1fr 1fr!important}
  .tomorrow-plan-summary{grid-template-columns:repeat(3,minmax(0,1fr))!important}.tomorrow-plan-summary article{padding:8px 6px!important}
}

@media (max-width:390px){
  .content{padding-left:8px!important;padding-right:8px!important}
  .topbar{padding-left:8px!important;padding-right:8px!important}.topbar-title h1{font-size:16px!important}
  .topbar-status-button,.topbar-more>summary{width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important}
  .stats>*,.analysis-kpis>*,.executive-kpis>*,.daily-overview>*,.admin-affair-kpis>*,.person-period-kpis>*,.temp-summary>*,.my-task-stats>*,.work-report-scope-kpis>*,.executive-top-kpis>*{padding:9px!important}
  .stat strong{font-size:24px!important}.analysis-kpis b,.executive-kpis b,.daily-overview b,.admin-affair-kpis b,.person-period-kpis b,.my-task-stats b{font-size:19px!important}
  .executive-hero-actions{grid-template-columns:1fr 1fr!important}.leader-workspace-quick{grid-template-columns:1fr!important}
  .executive-top-kpis{grid-template-columns:1fr 1fr!important}
  .mobile-more-grid{grid-template-columns:1fr!important}.mobile-more-actions{grid-template-columns:1fr!important}
  .modalfoot{grid-template-columns:1fr!important}.modalfoot .btn,.modalfoot .btn.primary:last-child{grid-column:1!important}
  /* 360–390px 仍保留任务卡双列元信息，减少单条任务过度拉长；仅极窄 340px 以下再切单列。 */
  .task-table tr{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr)!important}
  .task-table td{grid-column:auto!important}
  .task-table td.mobile-task-main,.task-table td.mobile-task-actions{grid-column:1/-1!important}
  .tomorrow-plan-target,.tomorrow-plan-description{margin-left:0!important}.tomorrow-plan-row,.tomorrow-plan-row.selected{grid-template-columns:30px minmax(0,1fr)!important}
}

@media (max-width:340px){
  .task-table tr{grid-template-columns:1fr!important}
  .task-table td,.task-table td.mobile-task-main,.task-table td.mobile-task-actions{grid-column:1!important}
  .executive-hero-actions,.executive-hero-status{grid-template-columns:1fr!important}
}

/* 横屏手机：保留底部导航，但控制弹窗和头部占高。 */
@media (max-width:900px) and (orientation:landscape) and (max-height:560px){
  :root{--hc-mobile-bottom:58px}
  .topbar{min-height:50px!important;padding-top:5px!important;padding-bottom:5px!important}.topbar-title h1{font-size:15px!important}
  .content{padding-top:10px!important}
  .mobile-bottom-nav button{min-height:50px!important}.mobile-bottom-nav button i{width:23px!important;height:23px!important}.mobile-bottom-nav button span{font-size:9.5px!important}
  .modal,.modal.wide,#modal .modal.quick-report-modal,#modal .tomorrow-plan-modal,.daily-report-modal,.admin-report-modal{max-height:min(97dvh,calc(var(--hc-viewport-height,100dvh) - 2px))!important}
  .modalhead{padding-top:10px!important;padding-bottom:9px!important}.modalhead p{display:none!important}
}

@media (prefers-reduced-motion:reduce){
  .mobile-more-sheet,.mobile-nav-overlay,.mobile-bottom-nav button,.topbar-more-menu{transition:none!important}
}


/* V2.6.126 · 手机端二次排版精修
   重点：视觉层级、卡片密度、任务操作区、工作报表、最高领导工作台、极窄屏稳定性。 */
@media (max-width:640px){
  :root{
    --hc-mobile-gap:10px;
    --hc-mobile-radius:15px;
    --hc-mobile-control:44px;
    --hc-mobile-bottom:64px;
    --hc-mobile-gutter:11px;
  }

  body{background:#f4f7fa!important;color:#173754!important}
  .content{
    padding:10px var(--hc-mobile-gutter) calc(var(--hc-mobile-bottom) + 20px + env(safe-area-inset-bottom))!important;
  }

  /* 顶栏：更薄、更像原生 App，顶部安全区不压文字。 */
  .topbar{
    min-height:54px!important;
    padding:calc(6px + env(safe-area-inset-top)) var(--hc-mobile-gutter) 6px!important;
    background:rgba(250,252,254,.965)!important;
    border-bottom-color:#e1e8ef!important;
    box-shadow:0 2px 12px rgba(20,61,104,.045)!important;
  }
  .topbar-title h1{font-size:16.5px!important;letter-spacing:-.15px!important}
  .topbar-status-button,.topbar-more>summary{
    width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important;
    border-radius:12px!important;background:#fff!important;border-color:#dce6ef!important;
  }

  /* 页头说明只作为辅助信息，不抢第一屏。 */
  .pagehead{margin-bottom:9px!important}
  .pagehead p{font-size:11px!important;line-height:1.5!important;color:#7a8da0!important;padding:0 1px!important}
  .pagehead .actions{margin-top:8px!important;gap:7px!important}
  .pagehead .actions>.btn,.pagehead .actions>button{min-height:42px!important;border-radius:11px!important}

  /* 统一卡片语言：减弱阴影、强化分组。 */
  .panel,.stat,.owner-task-group,.daily-dept,.daily-person,.department-group,.system-account-group,
  .quick-report-grid>article,.executive-top-kpis article,.executive-workspace .panel{
    border-radius:15px!important;
    border-color:#dde7f0!important;
    box-shadow:0 3px 12px rgba(28,73,118,.035)!important;
  }
  .panel{padding:13px!important}
  .dashboard-section{margin-top:10px!important}
  .section-head{gap:7px!important;margin-bottom:9px!important}
  .section-head h3{font-size:14.5px!important;letter-spacing:-.1px!important}
  .panel-sub,.section-head p{font-size:10px!important;line-height:1.5!important}
  .section-head .btn,.section-head .text-link{min-height:36px!important;padding:0 9px!important;border-radius:9px!important;font-size:10px!important}

  /* 首页：欢迎卡压缩高度，焦点成为清晰的次级信息条。 */
  .welcome-banner{
    padding:15px!important;gap:10px!important;margin-bottom:10px!important;border-radius:17px!important;
    background:linear-gradient(145deg,#fbfdff 0%,#edf6ff 100%)!important;
  }
  .welcome-label{padding:4px 8px!important;font-size:9px!important;letter-spacing:1.5px!important}
  .welcome-copy h2{font-size:20px!important;line-height:1.25!important;margin:9px 0 5px!important;letter-spacing:-.35px!important}
  .welcome-copy p{font-size:11px!important;line-height:1.55!important;color:#687e92!important}
  .welcome-actions{margin-top:10px!important}
  .focus-panel{
    display:grid!important;grid-template-columns:42px minmax(0,1fr)!important;align-items:center!important;
    gap:10px!important;padding:10px 0 0!important;margin-top:1px!important;
  }
  .focus-icon{width:42px!important;height:42px!important;border-radius:12px!important}
  .focus-panel small{font-size:9px!important}.focus-panel b{font-size:13px!important;margin-top:2px!important}.focus-panel p{font-size:9px!important;margin-top:2px!important;line-height:1.45!important}

  /* 首页 / 通用 KPI：更紧凑，数字与说明对齐。 */
  .stats,.analysis-kpis,.executive-kpis,.daily-overview,.admin-affair-kpis,.person-period-kpis,.temp-summary,.my-task-stats,.work-report-scope-kpis,.executive-top-kpis{
    gap:7px!important;
  }
  .stats>*,.analysis-kpis>*,.executive-kpis>*,.daily-overview>*,.admin-affair-kpis>*,.person-period-kpis>*,.temp-summary>*,.my-task-stats>*,.work-report-scope-kpis>*,.executive-top-kpis>*{
    min-height:80px!important;padding:10px!important;
  }
  .stat{min-height:82px!important}
  .stat-top span{width:31px!important;height:31px!important;border-radius:10px!important}
  .stat strong{font-size:23px!important;margin-top:7px!important;line-height:1!important}
  .stat label,.stat small{font-size:9.5px!important;line-height:1.35!important}

  /* “我的任务”统计卡：图标、数字、说明在同一视觉轴。 */
  .my-task-stats article{
    display:grid!important;grid-template-columns:32px minmax(0,1fr)!important;align-items:center!important;
    gap:9px!important;min-height:78px!important;padding:10px!important;
  }
  .my-task-stats article>span{width:32px!important;height:32px!important;border-radius:10px!important}
  .my-task-stats b{font-size:20px!important;line-height:1!important}
  .my-task-stats small{font-size:9.5px!important;line-height:1.35!important;margin-top:4px!important}
  .my-task-note{padding:10px 11px!important;border-radius:12px!important;font-size:10px!important;line-height:1.45!important}

  /* 任务卡：标题 > 元信息 > 进度/风险 > 操作，避免“表格感”。 */
  .task-table tbody{gap:9px!important}
  .task-table tr{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    gap:9px 12px!important;padding:13px!important;border-radius:15px!important;
    border-color:#dfe8f1!important;box-shadow:0 4px 14px rgba(29,75,119,.035)!important;
  }
  .task-table td{min-width:0!important}
  .task-table td:before{margin-bottom:4px!important;font-size:9px!important;font-weight:750!important;color:#8a9bad!important;letter-spacing:.15px!important}
  .task-table td.mobile-task-main{
    grid-column:1/-1!important;padding-bottom:10px!important;margin-bottom:0!important;border-bottom:1px solid #edf2f6!important;
  }
  .task-table .task-title-cell{grid-template-columns:34px minmax(0,1fr)!important;gap:9px!important;align-items:flex-start!important}
  .task-table .task-type-icon{width:34px!important;height:34px!important;border-radius:10px!important}
  .task-title-cell b{font-size:13px!important;line-height:1.45!important;letter-spacing:-.08px!important}
  .task-meta-line{gap:4px 7px!important;margin-top:5px!important}
  .task-meta-line span{font-size:9px!important;line-height:1.35!important;color:#8395a7!important}
  .task-table .progress{width:100%!important;max-width:none!important;height:6px!important}
  .task-table td.mobile-task-actions{
    grid-column:1/-1!important;padding-top:9px!important;border-top:1px solid #edf2f6!important;
  }
  .task-table td.mobile-task-actions:before{display:none!important}
  .task-table .compact-row-actions{
    display:grid!important;grid-template-columns:minmax(0,1fr) 42px!important;gap:7px!important;width:100%!important;justify-content:stretch!important;
  }
  .task-table .compact-row-actions .btn-link{
    width:100%!important;min-height:40px!important;justify-content:center!important;border-radius:10px!important;
    border:1px solid #d6e7f8!important;background:#f1f7fe!important;color:#176bc5!important;font-size:11px!important;font-weight:800!important;
  }
  .task-table .compact-row-actions .action-menu{width:42px!important;min-width:42px!important}
  .task-table .compact-row-actions .action-menu>summary{
    width:42px!important;height:40px!important;border-radius:10px!important;background:#fff!important;border-color:#dce6ef!important;
  }
  .owner-task-group{overflow:visible!important}
  .owner-group-head{padding:11px 12px!important;gap:9px!important}
  .owner-group-person .avatar{width:34px!important;height:34px!important;font-size:10px!important}
  .owner-group-person h3{font-size:13px!important}.owner-group-person p{font-size:9.5px!important}
  .owner-group-kpis{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:5px!important}
  .owner-group-kpis span{padding:7px 4px!important;border-radius:9px!important;font-size:8.5px!important}.owner-group-kpis b{font-size:13px!important}

  /* 筛选：展开后更像底层工具条，避免连续大块表单。 */
  .mobile-filter-shell{border-radius:13px!important;margin-bottom:9px!important}
  .mobile-filter-toggle{min-height:46px!important;padding:0 11px!important}
  .mobile-filter-content{padding:9px!important}.toolbar-search{height:44px!important}
  .mobile-filter-content .view-switch button,.my-task-toolbar .view-switch button{min-height:40px!important;border-radius:9px!important}

  /* 工作报表：明日计划与生成区统一为“入口卡”，减少重复空白。 */
  .work-report-page>.tomorrow-plan-entry{
    grid-template-columns:42px minmax(0,1fr)!important;gap:10px!important;padding:13px!important;margin-bottom:10px!important;border-radius:15px!important;
  }
  .work-report-page .tomorrow-plan-entry-icon{width:42px!important;height:42px!important;border-radius:12px!important}
  .work-report-page .tomorrow-plan-entry h2{font-size:15.5px!important;line-height:1.35!important}
  .work-report-page .tomorrow-plan-entry p{font-size:10px!important;line-height:1.5!important;margin-top:3px!important}
  .work-report-page .tomorrow-plan-entry-meta{margin-top:7px!important;gap:5px 10px!important}
  .work-report-page .tomorrow-plan-entry-action{grid-column:1/-1!important;margin-top:1px!important}
  .work-report-page .tomorrow-plan-entry-action .btn{height:41px!important;min-height:41px!important;border-radius:10px!important}
  .quick-report-center.reports{padding:12px!important;margin-bottom:10px!important;border-radius:15px!important}
  .quick-report-center .quick-report-head{gap:9px!important;margin-bottom:9px!important}
  .quick-report-center .quick-report-head h2{font-size:17px!important;margin-top:2px!important}
  .quick-report-center .quick-report-head p{font-size:10px!important;line-height:1.5!important}
  .quick-report-center .quick-report-grid{gap:8px!important}
  .quick-report-center .quick-report-grid>article{padding:12px!important;border-radius:13px!important}
  .quick-report-center .quick-report-card-title h3{font-size:14px!important}
  .quick-report-center .quick-report-buttons .btn{min-height:41px!important;border-radius:10px!important}
  .work-report-support-grid{gap:8px!important}
  .work-report-scope-kpis article{min-height:72px!important;padding:9px!important}
  .work-report-guide-panel ol{gap:7px!important}.work-report-guide-panel li{padding:9px!important;border-radius:10px!important}

  /* 最高领导工作台：第一屏更聚焦，快速操作与状态分层。 */
  .executive-workspace{gap:9px!important}
  .executive-hero{
    gap:11px!important;padding:15px!important;border-radius:17px!important;
    background:linear-gradient(145deg,#083f79 0%,#0d65a8 58%,#1382bb 100%)!important;
  }
  .executive-hero>div:first-child>span{font-size:9px!important;letter-spacing:1.1px!important}
  .executive-hero h2{font-size:21px!important;margin:6px 0 4px!important;letter-spacing:-.35px!important}
  .executive-hero p{font-size:10px!important;line-height:1.55!important;color:rgba(255,255,255,.78)!important}
  .executive-hero-actions{gap:6px!important;margin-top:10px!important}
  .executive-hero-actions button{min-height:39px!important;border-radius:9px!important;font-size:9.5px!important;padding:7px!important}
  .executive-hero-status{gap:6px!important}
  .executive-hero-status article{padding:9px!important;border-radius:10px!important;min-height:70px!important}
  .executive-hero-status small{font-size:8px!important}.executive-hero-status b{font-size:14px!important;margin:4px 0 2px!important}.executive-hero-status span{font-size:7.8px!important;line-height:1.35!important}
  .executive-top-kpis{gap:7px!important}
  .executive-top-kpis article{grid-template-columns:32px minmax(0,1fr)!important;gap:8px!important;min-height:74px!important;padding:9px!important}
  .executive-top-kpis article>span{width:32px!important;height:32px!important;border-radius:10px!important}
  .executive-top-kpis b{font-size:18px!important}.executive-top-kpis small,.executive-top-kpis em{font-size:8.5px!important;line-height:1.35!important}
  .executive-main-grid,.executive-bottom-grid{gap:8px!important}
  .executive-operating-kpis{grid-template-columns:1fr!important;gap:7px!important}
  .executive-operating-kpis article{padding:10px!important;border-radius:11px!important}
  .executive-operating-bottom{grid-template-columns:1fr!important;gap:9px!important}
  .executive-schedule-item,.executive-focus-task,.executive-dept-card,.executive-note-item,.executive-growth-item{border-radius:11px!important}

  /* 弹窗：手机上保留双按钮，避免“取消 / 保存”纵向占两行。 */
  .modal,.modal.wide,#modal .modal.quick-report-modal,.daily-report-modal,.admin-report-modal{
    border-radius:18px 18px 0 0!important;
  }
  .modalhead{padding:13px 13px 10px!important}.modalhead h2{font-size:17px!important}.modalhead p{font-size:10px!important}
  .modalfoot{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;padding:9px 11px calc(9px + env(safe-area-inset-bottom))!important}
  .modalfoot .btn{grid-column:auto!important;min-height:44px!important;border-radius:10px!important}
  .modalfoot .btn.primary:last-child{grid-column:auto!important}

  /* 底部导航：视觉重量更轻，内容区多拿回几像素。 */
  .mobile-bottom-nav{
    height:calc(var(--hc-mobile-bottom) + env(safe-area-inset-bottom))!important;
    padding:4px 4px env(safe-area-inset-bottom)!important;
    box-shadow:0 -7px 22px rgba(18,59,99,.10)!important;
  }
  .mobile-bottom-nav button{min-height:54px!important;border-radius:10px!important;gap:1px!important}
  .mobile-bottom-nav button i{width:25px!important;height:25px!important;border-radius:8px!important}
  .mobile-bottom-nav button .ui-icon{width:18px!important;height:18px!important}
  .mobile-bottom-nav button span{font-size:10px!important}
  .mobile-bottom-nav button.active:after{top:-4px!important;width:24px!important;height:2px!important}
}

@media (max-width:390px){
  :root{--hc-mobile-gutter:9px}
  .content{padding-left:var(--hc-mobile-gutter)!important;padding-right:var(--hc-mobile-gutter)!important}
  .topbar{padding-left:var(--hc-mobile-gutter)!important;padding-right:var(--hc-mobile-gutter)!important}
  .owner-group-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .task-table tr{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}
  .modalfoot{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .mobile-more-grid{grid-template-columns:1fr!important}
  .mobile-more-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

@media (max-width:340px){
  :root{--hc-mobile-gutter:7px}
  .stats,.analysis-kpis,.daily-overview,.my-task-stats,.work-report-scope-kpis,.executive-top-kpis{grid-template-columns:1fr!important}
  .task-table tr{grid-template-columns:1fr!important}
  .task-table td{grid-column:1!important}
  .task-table td.mobile-task-main,.task-table td.mobile-task-actions{grid-column:1!important}
  .executive-hero-actions{grid-template-columns:1fr 1fr!important}
  .executive-hero-status{grid-template-columns:1fr!important}
  .modalfoot{grid-template-columns:1fr!important}
}


/* V2.6.126 · 体检报告移动端加固：复杂数据表只在自身滚动，页面不被撑宽。 */
@media (max-width:900px){
  .tablewrap:not(.task-table-wrap),.vehicle-v243-table-wrap,.vehicle-dispatch-table-wrap,.vehicle-v218-raw-wrap,
  .office-table-wrap,.monthly-plan-table-wrap,.person-period-task-area,.executive-person-table,
  .draft-table,.dorm-table-scroll,.budget-table-wrap{
    width:100%!important;max-width:100%!important;min-width:0!important;overflow-x:auto!important;overflow-y:visible!important;
    -webkit-overflow-scrolling:touch!important;overscroll-behavior-x:contain!important;scrollbar-gutter:stable!important;
  }
  .vehicle-v218-raw-wrap{overflow:auto!important;max-height:min(68dvh,560px)!important}
  .draft-row,.vehicle-v243-table,.vehicle-dispatch-table,.person-period-task-head,.person-period-task-row,.executive-task-row{
    max-width:none!important;
  }
  .draft-table,.vehicle-v243-table-wrap,.vehicle-dispatch-table-wrap,.person-period-task-area,.executive-person-table{
    position:relative!important;
  }
  .draft-table:focus-within,.vehicle-v243-table-wrap:focus-within,.vehicle-dispatch-table-wrap:focus-within,
  .person-period-task-area:focus-within,.executive-person-table:focus-within{scrollbar-color:#8da9c3 #eef3f7!important}
  .modal-scroll-body,.modalbody,.mobile-more-sheet{overscroll-behavior:contain!important}
  .login-page,.shell{min-height:100dvh!important}
  .sidebar{height:100dvh!important}
}


/* V2.6.128 · 领导端手机专项：我的工作记录 + 企管中心工作全览 */
@media(max-width:900px){
  body.view-leaderworkspace .content,body.view-workanalysis .content{padding-left:10px!important;padding-right:10px!important}
  body.view-leaderworkspace .pagehead,body.view-workanalysis .pagehead{gap:8px!important;margin-bottom:9px!important}
  body.view-leaderworkspace .pagehead .actions,body.view-workanalysis .pagehead .actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;width:100%!important;gap:7px!important}
  body.view-leaderworkspace .pagehead .actions .btn,body.view-workanalysis .pagehead .actions .btn{width:100%!important;min-width:0!important;min-height:40px!important;padding:0 8px!important;font-size:10px!important}
  .leader-personal-workspace{gap:9px!important}
  .leader-personal-hero{grid-template-columns:1fr!important;gap:12px!important;padding:16px 14px!important;border-radius:16px!important}
  .leader-personal-hero-copy h2{font-size:20px!important;margin:5px 0 4px!important}
  .leader-personal-hero-copy p{font-size:10px!important;line-height:1.6!important}
  .leader-personal-quick{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}
  .leader-personal-quick button{min-height:42px!important;padding:7px!important;font-size:10px!important}
  .leader-personal-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}
  .leader-personal-kpis article{grid-template-columns:32px minmax(0,1fr)!important;gap:8px!important;padding:10px!important;border-radius:12px!important}
  .leader-personal-kpis article>span{width:32px!important;height:32px!important;border-radius:9px!important}
  .leader-personal-kpis b{font-size:17px!important}.leader-personal-kpis small,.leader-personal-kpis em{font-size:8px!important;line-height:1.35!important}
  .leader-personal-primary-grid,.leader-personal-secondary-grid,.leader-personal-growth-layout{grid-template-columns:1fr!important;gap:9px!important}
  .leader-personal-workspace .panel{padding:12px!important;border-radius:14px!important}
  .leader-personal-workspace .section-head{align-items:flex-start!important;gap:8px!important}
  .leader-personal-workspace .section-head h3{font-size:13px!important}
  .leader-personal-workspace .panel-sub{font-size:9px!important;line-height:1.45!important}
  .leader-personal-workspace .section-head>.btn,.leader-personal-workspace .section-head>.text-link{flex:none!important;min-height:34px!important;padding:0 8px!important;font-size:9px!important}
  .leader-personal-focus-list .leader-work-item,.leader-personal-decision-list .leader-work-item{grid-template-columns:32px minmax(0,1fr)!important;gap:8px!important;padding:10px!important}
  .leader-personal-focus-list .leader-work-item-icon,.leader-personal-decision-list .leader-work-item-icon{width:32px!important;height:32px!important}
  .leader-personal-focus-list .leader-work-item-actions,.leader-personal-decision-list .leader-work-item-actions{grid-column:1/-1!important;display:grid!important;grid-template-columns:minmax(0,1fr) 38px 38px!important;gap:6px!important;width:100%!important}
  .leader-personal-focus-list .leader-work-item-actions .btn,.leader-personal-decision-list .leader-work-item-actions .btn{width:100%!important;min-height:38px!important;font-size:9px!important}
  .leader-personal-focus-list .leader-work-item-actions .icon-button,.leader-personal-decision-list .leader-work-item-actions .icon-button{width:38px!important;height:38px!important}
  .leader-personal-workspace .executive-focus-task{grid-template-columns:5px minmax(0,1fr)!important;padding:10px!important}
  .leader-personal-workspace .executive-focus-progress{grid-column:2!important}
  .leader-personal-workspace .executive-schedule-item{grid-template-columns:46px minmax(0,1fr)!important}
  .leader-personal-growth-layout .executive-growth-summary{margin-bottom:0!important}
  .leader-personal-growth-layout .executive-growth-item{grid-template-columns:30px minmax(0,1fr) 32px!important}

  /* 企管中心工作全览：手机端从“桌面缩小版”改为纵向阅读。 */
  body.view-workanalysis .analysis-tabs-sticky{position:sticky!important;top:0!important;z-index:12!important;margin:0 -2px 8px!important;padding:4px 0 6px!important;background:rgba(246,249,252,.96)!important;backdrop-filter:blur(10px)}
  body.view-workanalysis .unified-module-tabs{display:flex!important;gap:5px!important;padding:5px!important;overflow-x:auto!important;scroll-snap-type:x proximity!important;scrollbar-width:none!important}
  body.view-workanalysis .unified-module-tabs::-webkit-scrollbar{display:none!important}
  body.view-workanalysis .unified-module-tabs button{flex:0 0 auto!important;min-height:36px!important;padding:0 10px!important;font-size:9px!important;scroll-snap-align:start!important}
  body.view-workanalysis .executive-clean-hero{min-height:0!important;padding:14px!important;border-radius:16px!important}
  body.view-workanalysis .executive-clean-hero-visual,body.view-workanalysis .executive-clean-hero-bg{opacity:.22!important}
  body.view-workanalysis .executive-period-floating{position:relative!important;inset:auto!important;width:100%!important;margin-bottom:10px!important}
  body.view-workanalysis .executive-clean-copy{max-width:none!important}
  body.view-workanalysis .executive-clean-copy h2{font-size:20px!important;line-height:1.25!important}
  body.view-workanalysis .executive-clean-copy p{font-size:10px!important}
  body.view-workanalysis .executive-leader-warm{padding:9px!important}
  body.view-workanalysis .executive-clean-tags{gap:5px!important;flex-wrap:wrap!important}
  body.view-workanalysis .executive-focus-strip{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}
  body.view-workanalysis .executive-focus-strip article{padding:10px!important;border-radius:12px!important}
  body.view-workanalysis .executive-focus-strip b{font-size:18px!important}
  body.view-workanalysis .executive-clean-grid{grid-template-columns:1fr!important;gap:9px!important}
  body.view-workanalysis .executive-alert-columns{grid-template-columns:1fr!important;gap:8px!important}
  body.view-workanalysis .executive-alert-item{grid-template-columns:minmax(0,1fr) auto!important;gap:8px!important;padding:10px 0!important}
  body.view-workanalysis .executive-alert-item b{font-size:10.5px!important;white-space:normal!important}
  body.view-workanalysis .executive-alert-item small{font-size:8.5px!important;line-height:1.45!important}
  body.view-workanalysis .executive-dept-compact{grid-template-columns:1fr!important}
  body.view-workanalysis .executive-work-browser{padding:12px!important}
  body.view-workanalysis .executive-browser-toolbar{grid-template-columns:1fr!important;gap:8px!important}
  body.view-workanalysis .executive-browser-toolbar label{width:100%!important}
  body.view-workanalysis .executive-browser-toolbar select{width:100%!important;font-size:15px!important}
  body.view-workanalysis .executive-browser-tips{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;width:100%!important}
  body.view-workanalysis .executive-browser-layout{grid-template-columns:1fr!important;gap:8px!important}
  body.view-workanalysis .executive-browser-sidebar{display:flex!important;gap:7px!important;overflow-x:auto!important;padding-bottom:3px!important;scrollbar-width:none!important}
  body.view-workanalysis .executive-browser-sidebar::-webkit-scrollbar{display:none!important}
  body.view-workanalysis .executive-person-chip{flex:0 0 210px!important;min-width:210px!important}
  body.view-workanalysis .executive-person-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.view-workanalysis .executive-task-list-simple article{grid-template-columns:1fr!important;gap:8px!important}
  body.view-workanalysis .executive-task-side{justify-content:flex-start!important;flex-wrap:wrap!important}
  body.view-workanalysis .executive-update-list article{grid-template-columns:1fr!important}
}
@media(max-width:360px){
  .leader-personal-quick{grid-template-columns:1fr!important}
  body.view-leaderworkspace .pagehead .actions,body.view-workanalysis .pagehead .actions{grid-template-columns:1fr!important}
  .leader-personal-kpis{grid-template-columns:1fr 1fr!important}
  body.view-workanalysis .executive-focus-strip{grid-template-columns:1fr 1fr!important}
}
