    /* ===== 营销中心 - 门店营销 ===== */
    #page-marketing.active { min-height: 100%; background: #fff; }
    .store-marketing-page {
      min-height: calc(100vh - 48px);
      padding: 26px 24px 48px;
      background: #fff;
    }
    .store-marketing-section h2 {
      margin: 0 0 20px;
      color: #20242b;
      font-size: 20px;
      font-weight: 600;
      line-height: 1.3;
    }
    .store-marketing-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(190px, 1fr));
      gap: 24px 30px;
      max-width: 1180px;
    }
    .store-marketing-card {
      min-width: 0;
      height: 104px;
      padding: 0 32px;
      display: flex;
      align-items: center;
      gap: 18px;
      border: 1px solid transparent;
      border-radius: 10px;
      background: #f7f8fa;
      color: #22262e;
      text-align: left;
      transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
    }
    .store-marketing-card:hover {
      border-color: #f3c999;
      box-shadow: 0 8px 24px rgba(46, 55, 72, .08);
      transform: translateY(-1px);
    }
    .store-marketing-icon {
      width: 62px;
      height: 62px;
      flex: 0 0 62px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: 10px;
      background: linear-gradient(145deg, #f59a3f 0%, #f5bd70 100%);
      color: #fff;
      box-shadow: inset 0 1px 0 rgba(255,255,255,.22);
    }
    .store-marketing-icon svg { width: 44px; height: 44px; }
    .store-marketing-icon-text { font-size: 31px; font-weight: 400; line-height: 1; }
    .store-marketing-copy { min-width: 0; display: flex; flex-direction: column; gap: 7px; }
    .store-marketing-copy strong {
      overflow: hidden;
      color: #23262e;
      font-size: 17px;
      font-weight: 500;
      line-height: 1.15;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    .store-marketing-copy small {
      overflow: hidden;
      color: #8f949d;
      font-size: 13px;
      font-weight: 400;
      line-height: 1.2;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    .store-marketing-order { margin-top: 42px; }

    @media (max-width: 1180px) {
      .store-marketing-grid { grid-template-columns: repeat(2, minmax(230px, 1fr)); }
    }
    @media (max-width: 760px) {
      .store-marketing-page { padding: 20px 16px 36px; }
      .store-marketing-grid { grid-template-columns: 1fr; }
      .store-marketing-card { padding: 0 24px; }
    }

    /* ===== 门店营销 - 活动列表 ===== */
    #page-marketing-special.active,
    #page-marketing-discount.active,
    #page-marketing-special-detail.active,
    #page-marketing-discount-detail.active { min-height: 100%; background: #f3f5f8; }
    .marketing-activity-page { min-height: calc(100vh - 48px); padding: 18px 12px 12px; background: #f3f5f8; }
    .marketing-list-tabs { height: 48px; display: flex; align-items: flex-end; gap: 12px; padding-left: 14px; }
    .marketing-list-tabs button {
      position: relative; min-width: 152px; height: 48px; padding: 0 28px; border-radius: 8px 8px 0 0;
      background: #e8ebef; color: #303640; font-size: 16px; font-weight: 500;
    }
    .marketing-list-tabs button.active { background: #fff; font-weight: 700; }
    .marketing-list-tabs button.active::after {
      content: ''; position: absolute; left: 36px; right: 36px; bottom: 9px; height: 5px;
      border-radius: 3px; background: #70c48f;
    }
    .marketing-list-panel {
      min-height: calc(100vh - 126px); padding: 26px 12px 14px; display: flex; flex-direction: column;
      border-radius: 8px; background: #fff;
    }
    .marketing-list-filter { display: flex; align-items: center; gap: 10px; padding: 0 2px 22px; }
    .marketing-list-filter > input,
    .marketing-date-filter,
    .marketing-pagination input,
    .marketing-product-search input,
    .marketing-form-row > input,
    .marketing-range-input,
    .marketing-type-row select,
    .marketing-price-input,
    .marketing-discount-input {
      height: 36px; border: 1px solid #dfe3e7; border-radius: 19px; background: #fff;
      color: #3a4049; font: inherit; outline: none; transition: border-color .15s, background .15s;
    }
    .marketing-list-filter > input { width: 210px; padding: 0 14px; }
    .marketing-date-filter { width: 390px; padding: 0 12px; display: grid; grid-template-columns: 1fr auto 1fr auto; align-items: center; gap: 8px; }
    .marketing-date-filter input { min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; color: #4c535e; }
    .marketing-date-filter span { color: #afb5bd; }
    .marketing-primary-btn,
    .marketing-outline-btn,
    .marketing-soft-btn {
      height: 36px; padding: 0 24px; border-radius: 19px; border: 1px solid #d8dde2;
      background: #fff; color: #343a43; white-space: nowrap;
    }
    .marketing-primary-btn { border-color: #76c492; background: #76c492; color: #fff; }
    .marketing-primary-btn:hover { border-color: #5eaf7c; background: #5eaf7c; }
    .marketing-outline-btn:hover { border-color: #65b786; color: #4ca873; }
    .marketing-add-btn { margin-left: auto; }
    .marketing-list-table-wrap { position: relative; flex: 1; min-height: 410px; overflow: auto; }
    .marketing-list-table,
    .marketing-product-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
    .marketing-list-table thead,
    .marketing-product-table thead { background: #f3f5f8; }
    .marketing-list-table th { height: 58px; padding: 0 18px; text-align: left; font-size: 13px; font-weight: 600; }
    .marketing-list-table td { height: 76px; padding: 0 18px; border-bottom: 1px solid #edf0f2; color: #242a31; font-size: 13px; }
    .marketing-list-table th:last-child,
    .marketing-list-table td:last-child { text-align: center; }
    .marketing-status-running { color: #62b783; }
    .marketing-effect-pill { min-width: 168px; height: 42px; border: 1px solid #65b985; border-radius: 22px; color: #68b888; }
    .marketing-row-actions { display: flex; justify-content: center; gap: 8px; }
    .marketing-row-actions button,
    .marketing-row-remove { height: 30px; padding: 0 12px; border: 1px solid #61b883; border-radius: 16px; color: #51aa75; background: #fff; }
    .marketing-row-actions button:hover,
    .marketing-row-remove:hover { background: #f1faf5; }
    .marketing-list-empty { padding: 80px 0; text-align: center; color: #a0a7b0; }
    .marketing-pagination { display: flex; align-items: center; justify-content: flex-end; gap: 8px; padding-top: 14px; color: #454c55; }
    .marketing-pagination button { width: 34px; height: 34px; border: 1px solid #e0e4e8; border-radius: 50%; color: #9ba2aa; }
    .marketing-pagination button.active { border-color: #77c795; background: #77c795; color: #fff; }
    .marketing-pagination .go { color: #5eb27d; background: #fff; }
    .marketing-pagination input { width: 76px; padding: 0 12px; border-radius: 18px; }
    .marketing-page-size { height: 34px; padding: 0 14px; display: inline-flex; align-items: center; border: 1px solid #e0e4e8; border-radius: 18px; }

    /* ===== 门店营销 - 活动详情/编辑 ===== */
    .marketing-detail-page { position: relative; min-height: calc(100vh - 48px); padding: 12px; background: #f3f5f8; }
    .marketing-detail-card { margin-bottom: 12px; padding: 26px 58px 30px; border-radius: 8px; background: #fff; }
    .marketing-detail-card h2 { margin: 0 0 24px; font-size: 18px; font-weight: 700; color: #20252c; }
    .marketing-form-row { min-height: 48px; display: grid; grid-template-columns: 92px minmax(280px, 460px); align-items: center; gap: 4px; }
    .marketing-form-row > label { color: #323840; font-weight: 500; }
    .marketing-form-row > label span { margin-right: 7px; color: #ed6666; }
    .marketing-form-row > input { width: 100%; padding: 0 14px; }
    .marketing-range-input { width: 100%; display: grid; grid-template-columns: 1fr auto 1fr auto; align-items: center; padding: 0 12px; gap: 8px; }
    .marketing-range-input input { min-width: 0; border: 0; outline: 0; background: transparent; color: inherit; font: inherit; }
    .marketing-range-input b,
    .marketing-range-input i { color: #adb4bc; font-style: normal; font-weight: 400; }
    .marketing-type-row { display: flex; align-items: center; gap: 10px; }
    .marketing-type-row select { width: 100%; padding: 0 14px; appearance: auto; }
    .marketing-type-row strong { min-width: 150px; font-size: 13px; font-weight: 500; }
    .marketing-scope-row { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 4px; }
    .marketing-scope-label { padding-top: 10px; font-weight: 500; color: #343a42; }
    .marketing-product-panel { min-height: 520px; padding: 26px 22px 18px; display: flex; flex-direction: column; background: #f6f7f9; }
    .marketing-product-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 22px; }
    .marketing-product-toolbar > div { display: flex; align-items: center; gap: 10px; }
    .marketing-product-search { margin-left: auto; }
    .marketing-product-search input { width: 230px; padding: 0 40px 0 14px; }
    .marketing-product-search { position: relative; }
    .marketing-product-search > span { position: absolute; right: 118px; color: #252a31; font-size: 18px; }
    .marketing-product-table { background: #fff; }
    .marketing-product-table th { height: 58px; padding: 0 14px; text-align: center; font-size: 13px; font-weight: 600; }
    .marketing-product-table th:first-child,
    .marketing-product-table td:first-child { width: 31%; text-align: left; }
    .marketing-product-table td { height: 84px; padding: 0 14px; border-bottom: 1px solid #edf0f2; text-align: center; font-size: 13px; }
    .marketing-product-cell { display: flex; align-items: center; gap: 10px; min-width: 0; }
    .marketing-product-cell > span:last-child { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
    .marketing-product-cell strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
    .marketing-product-cell small { color: #969ea8; }
    .marketing-product-thumb { width: 46px; height: 46px; flex: 0 0 46px; display: flex; align-items: center; justify-content: center; border-radius: 4px; font-size: 25px; }
    .marketing-product-thumb.purple { background: linear-gradient(135deg, #6e48aa, #e2b457); }
    .marketing-product-thumb.blue { background: linear-gradient(135deg, #5b8bd7, #eef5ff); }
    .marketing-product-thumb.mint { background: linear-gradient(135deg, #bed8c4, #f2e6c8); }
    .marketing-price-input { width: 110px; padding: 0 14px; }
    .marketing-product-footer { margin-top: auto; display: flex; align-items: center; justify-content: space-between; color: #969ea8; }
    .marketing-pagination.compact { padding-top: 12px; }
    .marketing-pagination.compact button { width: 32px; height: 32px; }
    .marketing-soft-btn { border-color: transparent; background: #f1f2f3; color: #858c95; }
    .marketing-discount-tools label { display: flex; align-items: center; gap: 8px; font-weight: 500; }
    .marketing-discount-input { width: 150px; display: grid; grid-template-columns: 1fr 42px; align-items: center; border-radius: 18px; overflow: hidden; }
    .marketing-discount-input input { min-width: 0; height: 34px; padding: 0 12px; border: 0; outline: 0; background: transparent; font: inherit; }
    .marketing-discount-input b { height: 100%; display: flex; align-items: center; justify-content: center; border-left: 1px solid #e2e5e8; font-weight: 500; }
    .marketing-participant-row { margin-top: 20px; }
    .marketing-participant-row > div { display: flex; gap: 22px; color: #737b85; }
    .marketing-detail-actions { position: sticky; bottom: 0; z-index: 5; padding: 12px 18px; display: flex; justify-content: flex-end; gap: 10px; border-radius: 8px; background: rgba(255,255,255,.96); box-shadow: 0 -4px 18px rgba(34,44,58,.06); }
    .marketing-detail-page.is-editing .marketing-detail-actions {
      position: absolute; top: 32px; right: 30px; bottom: auto; padding: 0;
      background: transparent; box-shadow: none;
    }
    .marketing-save-confirm { width: 420px; max-width: calc(100vw - 40px); }
    .marketing-save-confirm-close {
      width: 26px; height: 26px; display: inline-flex; align-items: center; justify-content: center;
      border-radius: 50%; color: #8c949e; font-size: 18px; line-height: 1;
    }
    .marketing-save-confirm-close:hover { background: #f1f3f5; color: #343a42; }
    .marketing-save-confirm-body { display: flex; align-items: flex-start; gap: 14px; padding: 24px 22px; }
    .marketing-save-confirm-icon {
      width: 34px; height: 34px; flex: 0 0 34px; display: flex; align-items: center; justify-content: center;
      border-radius: 50%; background: #fff4df; color: #e6a23c; font-size: 20px; font-weight: 700;
    }
    .marketing-save-confirm-copy strong { display: block; margin: 1px 0 8px; color: #242a31; font-size: 15px; }
    .marketing-save-confirm-copy p { margin: 0; color: #68717d; font-size: 13px; line-height: 1.7; }
    .marketing-save-confirm .modal-footer { padding: 12px 20px 16px; }
    .marketing-save-confirm .modal-btn { min-width: 84px; height: 34px; padding: 0 18px; border-radius: 18px; }
    .marketing-detail-page [data-marketing-editable]:disabled {
      opacity: 1; cursor: not-allowed; border-color: #e1e4e7; background-color: #f2f3f4; color: #a8afb7;
    }
    .marketing-detail-page input:not(:disabled):focus,
    .marketing-detail-page select:not(:disabled):focus { border-color: #65b985; background: #fff; }
    .marketing-detail-page.is-editing [data-marketing-editable] { color: #343a42; }

    @media (max-width: 1180px) {
      .marketing-list-filter { flex-wrap: wrap; }
      .marketing-add-btn { margin-left: 0; }
      .marketing-detail-card { padding: 24px 26px; }
      .marketing-product-toolbar { align-items: flex-start; flex-direction: column; }
      .marketing-product-search { margin-left: 0; }
    }
