/* ============================================================
   Desktop UI layer for 提报页 (2026-08-04)
   仅作用于宽屏（>760px）；手机端(≤760px)样式完全不受影响。
   视觉语言与 mobile-ui.css 一致（橙色卡片系），适配桌面布局。
   纯样式层：不改任何 JS/结构/钩子。
   ============================================================ */
@media (min-width: 761px) {

  /* ---------- 页面壳：加宽 ---------- */
  .page-home .shell {
    max-width: 1120px !important;
    padding: 20px 28px 108px !important;
  }
  .page-home .hero { padding: 0 !important; }

  /* ---------- 公告栏：桌面横幅 ---------- */
  .page-home .announcement-board {
    min-height: 88px !important;
    padding: 40px 22px 14px !important;
    border-radius: 18px !important;
    border-color: rgba(255, 120, 0, .18) !important;
    background: linear-gradient(135deg, #fff, #fff4e9) !important;
    box-shadow: 0 8px 24px rgba(255, 120, 0, .08) !important;
  }
  .page-home .announcement-label { left: 18px !important; top: 10px !important; font-size: 11px !important; color: #ff7800 !important; }
  .page-home .announcement-label small { font-size: 10px !important; }
  .page-home .announcement-summary { min-height: 40px !important; font-size: 17px !important; line-height: 23px !important; }

  /* ---------- 身份行 ---------- */
  .page-home .identity-line { margin: 14px 0 0 !important; }
  .page-home .identity { font-size: 16px !important; }
  .page-home .admin-entry,
  .page-home .name-remark,
  .page-home .exit-preview {
    min-height: 38px !important;
    padding: 8px 16px !important;
    font-size: 13px !important;
    border-radius: 999px !important;
  }
  .page-home .admin-entry:hover,
  .page-home .name-remark:hover { opacity: .85; }

  /* ---------- 周规划横幅 / 草稿横幅（桌面版） ---------- */
  .weekly-alert,
  .draft-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 12px 0;
    padding: 12px 16px;
    border: 1px solid rgba(239, 35, 60, .18);
    border-radius: 13px;
    background: #fff0f1;
    color: #a2081b;
    font-size: 13px;
    line-height: 1.5;
  }
  .weekly-alert span, .draft-banner .draft-dialog { flex: 1; min-width: 0; }
  .weekly-alert a {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border: 0;
    border-radius: 10px;
    background: #fff;
    color: inherit;
    font-size: 13px;
    font-weight: 750;
    text-decoration: none;
    white-space: nowrap;
  }
  .draft-banner { border-color: rgba(255, 120, 0, .2); background: #fff4e9; color: #8d4300; }
  .draft-banner .draft-dialog { display: flex; align-items: center; gap: 10px; padding: 0; background: transparent; box-shadow: none; }
  .draft-banner .draft-title { display: none; }
  .draft-banner .draft-text { flex: 1; margin: 0; color: inherit; font-size: 13px; line-height: 1.5; }
  .draft-banner .draft-actions { display: flex; flex: 0 0 auto; gap: 8px; }
  .draft-banner button {
    min-height: 38px;
    padding: 8px 18px;
    border: 0;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 750;
    white-space: nowrap;
  }
  .draft-banner .draft-restore { background: #ff7800; color: #fff; }
  .draft-banner .draft-discard { background: #fff; color: #8d4300; border: 1px solid #f0d9c4; }

  /* ---------- 待完成任务条 ---------- */
  .page-home .task-strip { margin-top: 10px; border-radius: 14px; }
  .page-home .task-home-item { min-height: 44px; align-items: center; }
  .page-home .task-home-item:hover { background: #fffaf4; }

  /* ---------- 提报卡片网格（桌面多列） ---------- */
  .page-home #reportCard { margin-top: 14px !important; }
  .page-home .head { padding: 16px 20px 13px !important; font-size: 18px !important; }
  .page-home .task-module-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(205px, 1fr)) !important;
    gap: 12px !important;
    padding: 16px 20px !important;
  }
  .page-home .row.task-module { display: block !important; min-width: 0; padding: 0 !important; border: 0 !important; }

  .task-module-button {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    min-height: 118px !important;
    padding: 14px 13px 12px;
    border: 1px solid #f0e2d2;
    border-radius: 14px;
    background: #fff;
    color: #14213d;
    text-align: left;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(91, 57, 24, .05);
    transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
  }
  .task-module-button:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 120, 0, .45);
    box-shadow: 0 10px 24px rgba(255, 120, 0, .13);
  }
  .task-module-button:focus-visible { outline: 2px solid #ff7800; outline-offset: 2px; }
  .task-module-name {
    display: -webkit-box;
    width: 100%;
    overflow: hidden;
    font-size: 14px;
    font-weight: 780;
    line-height: 1.35;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
  .task-module-rule { display: block; width: 100%; margin-top: 5px; color: #6f7787; font-size: 12px; white-space: nowrap; }
  .task-module-value {
    display: block;
    max-width: 100%;
    margin-top: auto;
    padding-top: 8px;
    color: #9aa0aa;
    font-size: 13px;
    font-weight: 800;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .task-module-photo {
    position: absolute;
    right: 9px;
    bottom: 9px;
    max-width: 64px;
    overflow: hidden;
    padding: 3px 7px;
    border-radius: 999px;
    background: #fff1e5;
    color: #b44d00;
    font-size: 10px;
    font-weight: 750;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .task-module.has-photo .task-module-value { max-width: calc(100% - 48px); }
  .task-module.is-filled .task-module-button { border-color: rgba(45, 164, 78, .3); background: #f1fbf4; }
  .task-module.is-filled .task-module-value { color: #187a35; }
  .task-module.has-error .task-module-button { border-color: rgba(239, 35, 60, .32); background: #fff7f7; }

  /* ---------- 编辑器（桌面居中弹层，更宽） ---------- */
  .task-module.editing .task-editor-template {
    width: min(560px, calc(100vw - 48px)) !important;
    border-radius: 20px !important;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .28) !important;
  }
  .task-editor-head { padding: 16px 20px 13px !important; }
  .task-editor-head b { font-size: 18px !important; }
  .task-editor-head span { font-size: 13px !important; }
  .task-editor-close:hover { background: #ffe9d8; color: #a94700; }
  .task-editor-body { padding: 16px 20px 20px !important; }
  .task-editor-label { margin-bottom: 10px !important; font-size: 13px !important; }
  .task-editor-template .qty-stepper {
    grid-template-columns: 56px 84px 56px;
    width: 196px;
    height: 58px;
    margin: 0 auto;
    border-radius: 14px;
  }
  .task-editor-template .qty-stepper button { min-width: 56px; min-height: 56px; font-size: 26px; }
  .task-editor-template .qty-stepper .qty {
    width: 84px !important;
    height: 56px !important;
    min-height: 56px !important;
    font-size: 22px !important;
  }
  .task-editor-notice { margin-top: 15px !important; padding: 12px 14px !important; font-size: 13px !important; }
  .task-editor-notice b { font-size: 14px !important; }
  .photo-line { margin-top: 13px; }
  .page-home .photo-btn { min-height: 42px !important; display: inline-flex; align-items: center; }
  .task-editor-done { min-height: 52px !important; border-radius: 14px !important; font-size: 16px !important; }

  /* ---------- 底部操作栏：悬浮居中工具栏 ---------- */
  .page-home .actions {
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1120px;
    border-radius: 18px 18px 0 0;
    padding: 12px 20px calc(12px + env(safe-area-inset-bottom)) !important;
  }
  .page-home .actions .btn { height: 50px !important; font-size: 15px !important; border-radius: 14px !important; }
  .page-home .primary:hover:not(:disabled) { background: #e96700; }
  .page-home .secondary:hover:not(:disabled) { background: #fff1e5; }

  /* ---------- 激励卡 / 弹窗 ---------- */
  .page-home .panel { padding: 18px 20px !important; font-size: 14px !important; }
  .draft-mask { padding: 40px !important; }
  .draft-dialog { width: min(420px, 100%) !important; border-radius: 20px !important; padding: 22px !important; }
  .draft-dialog button:hover:not(:disabled) { opacity: .9; }

  /* ---------- 进度面板桌面位置 ---------- */
  .app-progress-panel { bottom: calc(96px + env(safe-area-inset-bottom)) !important; }
}
