    /* ================= REQUESTED V6: counted member counting + long-name wrapping ================= */
    .actual-member-toggle {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      padding: 8px 10px;
      border-radius: 12px;
      border: 1px solid var(--border);
      background: var(--surface2);
      color: var(--text);
      font-size: 0.74rem;
      font-weight: 900;
      cursor: pointer;
      user-select: none;
      white-space: nowrap;
    }

    .actual-member-toggle input {
      width: 16px;
      height: 16px;
      accent-color: var(--green);
      cursor: pointer;
    }

    .actual-member-toggle.not-counted {
      color: var(--red);
      background: #fff0f3;
      border-color: rgba(228, 87, 46, 0.45);
    }

    [data-theme="dark"] .actual-member-toggle.not-counted {
      background: #3b1721;
    }

    .count-state-chip,
    .status-not-counted {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 4px;
      padding: 4px 9px;
      border-radius: 999px;
      border: 1px solid var(--border);
      background: rgba(6, 148, 148, 0.1);
      color: var(--green);
      font-size: 0.68rem;
      font-weight: 900;
      line-height: 1.1;
      white-space: nowrap;
    }

    .count-state-chip.not-counted,
    .status-not-counted {
      background: #fff0f3;
      color: var(--red);
      border-color: rgba(228, 87, 46, 0.45);
    }

    [data-theme="dark"] .count-state-chip.not-counted,
    [data-theme="dark"] .status-not-counted {
      background: #3b1721;
    }

    .member-head-stack {
      display: grid;
      justify-items: center;
      gap: 6px;
      min-width: 0;
    }

    .member-head-stack .name-badge,
    .mobile-card-top .name-badge,
    .daily-meal-name-badge,
    .bazar-member-cell .name-badge {
      max-width: 100%;
      min-width: 0;
      white-space: normal !important;
      overflow-wrap: anywhere;
      word-break: break-word;
      text-align: center;
      line-height: 1.15;
      height: auto;
    }

    .bazar-sheet-table th,
    .bazar-sheet-table td,
    .bazar-summary-sheet th,
    .bazar-summary-sheet td {
      white-space: normal !important;
      overflow-wrap: anywhere;
      word-break: break-word;
      line-height: 1.25;
    }

    .bazar-member-head th,
    .bazar-member-cell {
      height: auto !important;
      min-height: 36px;
      vertical-align: middle;
    }

    .bazar-summary-sheet th,
    .bazar-summary-sheet td {
      min-height: 36px;
      padding: 8px 7px !important;
    }

    .bazar-summary-sheet td:first-child {
      max-width: 170px;
      line-height: 1.2;
    }

    .bazar-summary-sheet .amount-receive,
    .bazar-summary-sheet .amount-give {
      white-space: nowrap;
    }

    @media (max-width: 720px) {
      .mess-member-item {
        grid-template-columns: 1fr;
      }

      .manager-actions {
        justify-content: flex-start;
        width: 100%;
      }

      .actual-member-toggle {
        width: 100%;
        justify-content: center;
      }

      .result-mobile-detail-grid .result-mobile-field strong,
      .result-mobile-detail-grid .result-mobile-field span,
      .member-mobile-card,
      .member-mobile-card * {
        min-width: 0;
        overflow-wrap: anywhere;
        word-break: break-word;
      }
    }
  
