/* 電腦版統一配色；不改變手機版、列印與狀態提示色。 */
@media screen and (min-width:901px) {
  :root {
    --ink:#12332f; --muted:#526963; --paper:#fffdf8; --cream:#f1f4f1;
    --line:#d1ddda; --green-700:#17685f;
    --bg:#f1f4f1 !important; --surface:#fffdf8 !important;
    --text:#12332f !important; --accent:#17685f !important;
  }
  html,body,body.dashboard-page,body[class*="-page"] {
    background-color:#f1f4f1 !important;
  }
  body { color:#12332f !important; }
  .sidebar { background-color:#e6eeea !important; border-color:#d1ddda !important; }
  :is(.module-card,.summary-card,.system-management-card,.date-card,
      .data-panel,.form-panel,.login-panel,.login-card,.simple-panel,.order-panel,
      .simple-action-card,.card,.accounting-edit-panel,
      .employee-detail-card,.employee-detail-panel,.employee-summary-card,
      .form-application-card,.historical-import-card,.attendance-record-panel,
      .duty-calendar-card,.bonus-batch-card,.forecast-summary-card,.forecast-chart-section,
      .customer-info-card,.historical-salary-import-card,.historical-selected-detail-card,
      .leave-form-panel,.leave-record-panel,.maintenance-card,.part-lookup-panel,
      .payroll-rule-history-panel,.payroll-rule-version-card,.people-add-card,
      .quick-create-card,.quick-create-panel,.records-column-card,.release-panel,
      .report-list-panel,.salary-slip-card,.simple-entry-panel,.staff-announcement-card,
      .staff-date-card,.staff-forms-card,.staff-part-lookup-card,.staff-leave-panel,
      .forecast-summary article,
      .staff-card,.application-card,.employee-card,.salary-card,
      .account-detail-window,.account-detail-filter,.account-import-result-dialog,
      .staff-announcement-dialog,.site-dialog,.account-stats article,dialog) {
    background-color:#fffdf8 !important;
    border-color:#d1ddda !important;
  }
  :is(.module-card,.system-management-card,.simple-action-card,.card):hover {
    background-color:#f3f8f4 !important;
  }
  :is(.order-table,.accounting-edit-table,.account-table) td {
    background-color:#fffdf8;
  }
  :is(.order-table,.accounting-edit-table,.account-table) th {
    background-color:#e6eeea;
  }
}

/* 電腦版隱藏共用頁首；手機版維持原樣。 */
@media screen and (min-width:901px){header.topbar{display:none!important}}
