/* 网页验收版：方向、实操提示与履历，沿用既有像素办公室。 */
[hidden] { display: none !important; }
button:focus-visible, a:focus-visible, textarea:focus-visible { outline: 3px solid #317cac; outline-offset: 3px; }
#web-tools { display: grid; gap: 7px; padding-bottom: 7px; }
.goal-picker-label { color: #51616f; font-size: 12px; font-weight: 700; }
.goal-picker { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
.goal-option { min-height: 44px; padding: 7px 4px; color: #304861; background: #fff8e9; border: 1px solid #9ca8ad; border-bottom-width: 3px; border-radius: 3px; font: 700 13px/1.3 "PingFang SC", "Microsoft YaHei", sans-serif; cursor: pointer; }
.goal-option.selected { background: #efc77b; color: #243444; border-color: #a57c36; }
.web-coach { display: flex; align-items: start; gap: 8px; padding: 8px; background: #e5edf0; color: #2b5068; border-left: 3px solid #497b99; }
.web-coach p { flex: 1; margin: 0; font-size: 12px; line-height: 1.55; }
.web-coach button { flex: none; min-height: 44px; padding: 4px 6px; border: 0; background: transparent; color: #355d74; font: 700 12px "PingFang SC", sans-serif; cursor: pointer; }
.web-save-status { margin: 0; color: #52646a; font-size: 11px; line-height: 1.5; }
.web-save-status.is-error { color: #923a35; font-weight: 700; }
.resume-overlay { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: flex-start; justify-content: center; padding: max(14px, env(safe-area-inset-top)) 12px max(14px, env(safe-area-inset-bottom)); overflow-y: auto; background: #0d192bef; }
.resume-dialog { width: min(100%, 480px); padding: 14px; color: #18283a; background: #f5ecd9; border: 3px solid #71859b; box-shadow: 4px 4px 0 #102036; }
.resume-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.resume-head h2 { margin: 0; font: 800 20px/1.4 "PingFang SC", sans-serif; }
.resume-close { width: 44px; height: 44px; font-size: 28px; background: #142236; color: #fff6e5; border: 0; border-radius: 3px; cursor: pointer; }
.resume-canvas { display: block; width: 100%; height: auto; background: #f5ecd9; border: 1px solid #a8a18e; }
.resume-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.resume-actions .btn { min-height: 48px; padding: 8px; font-size: 14px; }
.resume-status { margin: 12px 0; color: #34566d; font-size: 13px; line-height: 1.5; }
.resume-tip { color: #637078; font-size: 12px; line-height: 1.55; margin-bottom: 0; }
.resume-copy { width: 100%; min-height: 100px; margin-top: 10px; color: #18283a; background: #fff8e9; }
body.game-active .stat-label, body.game-active .stat-label b { font-size: 13px; }
body.game-active .op-forecast .op-estimate { font-size: 13px; }
@media (min-width: 1024px) {
  #web-tools { grid-area: tools; gap: 9px; padding: 10px 12px; background: var(--px-paper); border: 2px solid #a9987e; }
  .goal-option { font-size: 14px; }
  .web-coach p { font-size: 13px; }
  body.game-active #screen-game.active { grid-template-rows: auto auto auto auto auto minmax(0, 1fr); grid-template-areas: "hud hud" "scene stats" "scene tools" "scene goal" "narr actions" "quick actions"; }
}
@media (max-width: 360px) { .goal-option { font-size: 12px; } .web-coach { flex-direction: column; gap: 0; } .web-coach button { min-height: 44px; align-self: end; } }
