/* 运营落地执行 / 运营预算的手机和平板阅读（≤900px）：画布还原成普通文档流，每屏撑开高度，上下连续阅读。
   两个页面共用（预算页另有自己的封面规则在 ../budget/budget.css）。桌面样式见 exec.css。 */
@media (max-width: 900px) {
  html { height: auto; min-height: 100%; overflow-x: clip; overflow-y: auto; scroll-behavior: auto; -webkit-text-size-adjust: 100%; }
  body.exec { height: auto; min-height: 100%; overflow: visible; background: #fff; touch-action: pan-y pinch-zoom; }
  .exec .stage.edition { position: relative; inset: auto; width: 100%; height: auto; min-height: 100svh; transform: none; overflow: visible; }
  .exec .stage .deck-page { position: relative; inset: auto; width: 100%; height: auto; min-height: 0; padding: 28px clamp(20px, 5vw, 44px) 32px; overflow: visible; visibility: visible; opacity: 1; pointer-events: auto; transform: none; transition: none; }
  .exec .stage .deck-panel { border-top: 12px solid #f3f5f5; isolation: isolate; }
  .exec .deck-panel *, .exec .deck-cover * { animation: none !important; }

  /* 页眉、标题、正文、页脚改成顺序排布 */
  .exec .deck-panel .deck-topbar { position: static !important; inset: auto; height: auto; min-height: 52px; padding-bottom: 16px; gap: 10px; align-items: center; flex-wrap: wrap; }
  .exec .deck-panel .deck-brand { font-size: 23px; line-height: 1.4; letter-spacing: -.5px; }
  .exec .deck-panel .deck-brand span { font-size: 11px; line-height: 1.5; letter-spacing: 0; margin-left: 10px; padding-left: 10px; }
  .exec .deck-panel .deck-chapter-label { font-size: 12px; line-height: 1.5; margin-left: 0; flex: 1 0 55%; }
  .exec .deck-panel .deck-reading-hint { font-size: 12px; line-height: 1.5; margin-left: auto; }
  .exec .deck-panel .deck-heading { position: static !important; inset: auto; margin-top: 28px; }
  .exec .deck-panel .deck-kicker { font-size: 12px; line-height: 1.7; letter-spacing: .5px; overflow-wrap: anywhere; }
  .exec .deck-panel[data-lines] .deck-title { font-size: clamp(28px, 7vw, 44px); line-height: 1.28; letter-spacing: -1px; margin: 14px 0 0 !important; max-width: 100%; overflow-wrap: anywhere; text-wrap: pretty; }
  .exec .deck-panel .deck-title span { display: inline; }
  .exec .deck-panel .deck-title span + span::before { content: ""; display: block; }
  .exec .deck-panel .deck-summary { font-size: 16px; line-height: 1.8; margin-top: 16px; max-width: 100%; overflow-wrap: anywhere; }
  .exec .deck-panel[data-lines] .deck-body { position: static !important; top: auto !important; inset: auto; height: auto !important; margin-top: 28px; min-width: 0; overflow-wrap: anywhere; }
  .exec .deck-panel .deck-page-footer { position: static !important; inset: auto; height: auto; min-height: 0; margin-top: 32px; padding-top: 16px; gap: 16px; align-items: flex-start; }
  .exec .deck-panel .deck-footnote { font-size: 12px; line-height: 1.8; max-width: 100%; min-width: 0; overflow-wrap: anywhere; }
  .exec .deck-panel .deck-pagination { font-size: 11px; line-height: 1.8; flex-shrink: 0; }

  /* 内页的块：单列 */
  .xgrid { display: block; height: auto; }
  .xb { margin-bottom: 30px; }
  .xb:last-child { margin-bottom: 0; }
  .xb-title { font-size: 18px !important; }
  .xb-note { font-size: 13px !important; }

  /* 表格：每一行变成一张卡片，列名显示在数值前面 */
  .xb-table table, .xb-table tbody, .xb-table tr, .xb-table tbody th, .xb-table tbody td { display: block; width: auto; }
  .xb-table table { font-size: 15px; }
  .xb-table colgroup { display: none; }
  .xb-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .xb-table tbody tr { padding: 14px 0 12px; border-bottom: 1px solid var(--edition-line); }
  .xb-table tbody tr:first-child { border-top: 2px solid var(--edition-ink); }
  .xb-table tbody th { padding: 0 0 8px; border: 0; font-size: 17px; line-height: 1.45; white-space: normal; background: none; }
  .xb-table tbody td { display: grid; grid-template-columns: 6.2em minmax(0, 1fr); gap: 4px 10px; padding: 3px 0; border: 0; font-size: 15px; line-height: 1.6; background: none; }
  .xb-table tbody td::before { content: attr(data-label); font-size: 13px; font-weight: 700; color: var(--edition-muted); }
  .xb-table tbody td:empty { display: none; }
  .xb-table tr.hl { background: #fff4f1; padding-left: 12px; padding-right: 12px; border-bottom-color: var(--edition-accent); }
  .xb-table tr.hl th, .xb-table tr.hl td { background: none; padding-left: 0; }
  .is-dense .xb-table table, .is-tight .xb-table table { font-size: 15px; line-height: 1.6; }
  .is-dense .xb-table tbody th, .is-tight .xb-table tbody th { padding: 0 0 8px; }
  .is-dense .xb-table tbody td, .is-tight .xb-table tbody td { padding: 3px 0; }

  /* 卡片、步骤、清单、提示 */
  .xc-grid { display: block; }
  .xc { padding: 16px 0; }
  .xc h4 { font-size: 19px; }
  .xc p, .is-dense .xc p, .is-tight .xc p { font-size: 15.5px; line-height: 1.75; }
  .xs-list { display: block; border-top: 2px solid var(--edition-ink); }
  .xs, .xs + .xs { display: grid; grid-template-columns: 30px minmax(0, 1fr); padding: 12px 0; border-left: 0; border-bottom: 1px solid var(--edition-line); }
  .xs-n { margin: 3px 0 0; }
  .xs b, .is-tight .xb-steps.is-vertical .xs b { font-size: 17px; }
  .xs p, .is-tight .xb-steps.is-vertical .xs p { font-size: 15px; line-height: 1.7; }
  .xb-list li { font-size: 15.5px; line-height: 1.75; }
  .xb-callout { padding: 14px 16px; }
  .xb-callout p { font-size: 15.5px !important; line-height: 1.75 !important; }

  /* 运营落地执行的封面 */
  .exec .edition-header { position: static !important; inset: auto; height: auto; padding-bottom: 16px; border-bottom: 1px solid var(--edition-line); display: flex; flex-wrap: wrap; gap: 8px 16px; }
  .exec .edition-brand strong { font-size: 23px; }
  .exec .edition-brand span:last-child { font-size: 13px; }
  .exec .edition-navigation { margin-left: auto; }
  .exec .cover-reading-hint { font-size: 12px; }
  .exec .edition-hero { position: static !important; inset: auto; height: auto; margin-top: 36px; }
  .exec .hero-copy { position: static !important; inset: auto; width: auto; }
  .exec .hero-copy h1 { font-size: clamp(34px, 9vw, 52px); line-height: 1.25; letter-spacing: -2px; margin: 22px 0 0 -2px; }
  .exec .hero-description { font-size: 16px; line-height: 1.8; margin-top: 18px; }
  .exec .hero-description br { display: none; }
  .exec .strategy-statement { margin-top: 26px; }
  .exec-goal { position: static !important; width: auto; margin-top: 40px; }
  .exec-goal-steps li { grid-template-columns: 34px minmax(0, 1fr); padding: 16px 0; row-gap: 4px; }
  .exec-goal-steps b { font-size: 26px; }
  .exec-goal-steps em { grid-column: 2; font-size: 15px; }
  .exec-goal-steps li.is-north { margin: 0 -12px; padding-left: 12px; padding-right: 12px; }
  .exec-goal-note { font-size: 14px; }
  .exec .edition-footer { position: static !important; inset: auto; height: auto; margin-top: 36px; padding-top: 16px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
  .exec .direction-name span { font-size: 13px; line-height: 1.7; }
  .exec .direction-english { font-size: 10px; margin-top: 6px; }
}
