    /* v6.8.6: 大画面対応（共通 .gs-page の var(--page-max)=1100 を上書き、複合セレクタで specificity 確保、v6.8.1 sites と同じ） */
    .container.gs-page { max-width: 1400px; }

    /* v6.8.6: コントロールカード（検索+主要操作 / フィルタ群 の 2 行構成、v6.8.1 sites パターン展開）
       旧 .page-toolbar / .search-box / .toggle-line（標準ラベル形式）は撤去（HTML から参照消失） */
    .control-card {
      background: var(--color-surface, #ffffff);
      border: 1px solid var(--color-border, rgba(60,64,67,.14));
      border-radius: 20px;
      padding: 16px 20px;
      margin-bottom: 16px;
      box-shadow: var(--shadow-1, 0 1px 2px rgba(60,64,67,.12), 0 1px 3px 1px rgba(60,64,67,.08));
    }
    .control-row {
      display: flex;
      gap: 10px;
      align-items: center;
      flex-wrap: wrap;
    }
    .control-row + .control-row { margin-top: 12px; }

    /* v6.8.6: 検索フィールド（虫眼鏡アイコン入り、ピル型） */
    .search-field {
      position: relative;
      flex: 1;
      min-width: 240px;
    }
    .search-icon {
      position: absolute;
      left: 16px;
      top: 50%;
      transform: translateY(-50%);
      color: var(--color-text-faint, #80868b);
      pointer-events: none;
    }
    .search-input {
      width: 100%;
      height: 44px;
      padding: 0 18px 0 42px;
      border: 1px solid var(--color-border, rgba(60,64,67,.14));
      border-radius: 9999px;
      background: var(--color-surface, #ffffff);
      color: var(--color-text, #202124);
      font-size: 13px;
      font-family: inherit;
      outline: none;
      transition: border-color 180ms, box-shadow 180ms;
    }
    .search-input:focus {
      border-color: var(--color-primary, #1a73e8);
      box-shadow: 0 0 0 3px var(--color-primary-soft, rgba(26,115,232,.10));
    }
    .search-input::placeholder { color: var(--color-text-faint, #80868b); }

    /* v6.8.6: コントロールバー内ボタン（共通 .gs-btn-pill の 44px に揃える）+ アイコン余白 */
    .control-btn {
      gap: 6px !important;
    }
    .control-btn svg { flex-shrink: 0; }

    /* v6.8.6: フィルタピル（ラベル + select を 1 ピル内に） */
    .filter-pill {
      height: 44px;
      padding: 0 14px 0 16px;
      border-radius: 9999px;
      background: var(--color-surface, #ffffff);
      border: 1px solid var(--color-border, rgba(60,64,67,.14));
      display: inline-flex;
      align-items: center;
      gap: 8px;
      cursor: pointer;
      transition: border-color 180ms, background 180ms;
    }
    .filter-pill:hover { border-color: var(--color-text-muted, #5f6368); }
    .filter-pill:focus-within {
      border-color: var(--color-primary, #1a73e8);
      box-shadow: 0 0 0 3px var(--color-primary-soft, rgba(26,115,232,.10));
    }
    .filter-pill-label {
      font-size: 11px;
      color: var(--color-text-muted, #5f6368);
      letter-spacing: .02em;
    }
    .filter-pill select {
      border: none;
      background: transparent;
      font-size: 13px;
      font-weight: 500;
      font-family: inherit;
      outline: none;
      cursor: pointer;
      color: var(--color-text, #202124);
      padding-right: 4px;
      max-width: 200px;
    }

    /* v6.8.6: 「無効化を表示」ラベル + トグルセル（フィルタピル群と縦中央揃え、行末右寄せ） */
    .toggle-with-label {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 0 12px;
      height: 44px;
      margin-left: auto;
    }
    .toggle-with-label .label-text {
      font-size: 13px;
      color: var(--color-text-muted, #5f6368);
      cursor: pointer;
      user-select: none;
    }

    /* v6.8.6: テーブルカード（コントロールカードと分離） */
    .data-card { padding: 16px 20px; }

    /* v6.8.5: トグルスイッチ（DESIGN.md §2-8 標準実装、v6.8.0 sites からコピー） */
    .toggle-switch {
      position: relative;
      width: 36px;
      height: 20px;
      display: inline-block;
      flex-shrink: 0;
      cursor: pointer;
    }
    .toggle-switch input { opacity: 0; width: 0; height: 0; }
    .toggle-slider {
      position: absolute;
      inset: 0;
      background: var(--gray-300, #c7c9cc);
      border-radius: 9999px;
      transition: background 180ms;
    }
    .toggle-slider::before {
      content: '';
      position: absolute;
      width: 16px; height: 16px;
      left: 2px; bottom: 2px;
      background: #fff;
      border-radius: 50%;
      transition: transform 180ms;
      box-shadow: 0 1px 2px rgba(0,0,0,0.15);
    }
    .toggle-switch input:checked + .toggle-slider { background: var(--color-primary, #1a73e8); }
    .toggle-switch input:checked + .toggle-slider::before { transform: translateX(16px); }
    .toggle-switch input:focus-visible + .toggle-slider {
      outline: 2px solid var(--color-primary, #1a73e8);
      outline-offset: 2px;
    }

    /* v6.8.7: データテーブル（<table> → <div> グリッドレイアウト 2 段表示）
       共通 style.css の table/th/td 紺色ベタ塗りスタイルから完全分離（v6.8.2 sites と同パターン） */
    .data-table {
      /* 6 列: 番号 / 得意先名+担当者 / 拠点 / 連絡先 / 状態 / 操作 */
      --grid-cols: 96px minmax(0, 2fr) 110px minmax(0, 1.8fr) 78px 110px;
      width: 100%;
      border-radius: 14px;
      overflow: hidden;
      border: 1px solid var(--color-divider, rgba(60,64,67,.10));
    }
    .data-table-header {
      display: grid;
      grid-template-columns: var(--grid-cols);
      gap: 12px;
      padding: 12px 20px;
      background: var(--color-surface-2, #f8fafd);
      border-bottom: 1px solid var(--color-divider, rgba(60,64,67,.10));
      font-size: 12px;
      font-weight: 500;
      color: var(--color-text-muted, #5f6368);
      letter-spacing: .02em;
      align-items: center;
    }
    .data-table-body { background: var(--color-surface, #ffffff); }

    .data-row {
      display: grid;
      grid-template-columns: var(--grid-cols);
      gap: 12px;
      padding: 12px 20px;
      border-bottom: 1px solid var(--color-divider, rgba(60,64,67,.10));
      align-items: center;
      font-size: 13px;
      color: var(--color-text, #202124);
      transition: background 180ms cubic-bezier(.2,0,0,1);
    }
    .data-row:last-child { border-bottom: none; }
    .data-row:hover { background: var(--color-surface-2, #f8fafd); }

    /* 無効化済みの得意先行（薄表示） */
    .data-row.inactive-row { color: var(--color-text-faint, #80868b); background: #fafafa; }
    .data-row.inactive-row:hover { background: #f1f3f4; }

    /* 状態セル・操作セル（中央 / 右寄せ） */
    .col-status { display: flex; align-items: center; justify-content: center; }
    .col-actions { display: flex; align-items: center; justify-content: flex-end; gap: 6px; }

    /* セル内テンプレート */
    .cell-stack { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
    .cell-primary {
      color: var(--color-text, #202124);
      font-size: 13px;
      font-weight: 500;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .cell-secondary {
      font-size: 11px;
      color: var(--color-text-faint, #80868b);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .cell-base {
      color: var(--color-text-muted, #5f6368);
      font-size: 13px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .cell-number {
      font-variant-numeric: tabular-nums;
      color: var(--color-text-muted, #5f6368);
    }
    .cell-faint {
      color: var(--color-text-faint, #80868b);
      font-size: 13px;
    }

    /* v6.8.7: ステータスバッジ（DESIGN.md §0-2「色はドット」原則・薄背景 + ドットで強調） */
    .status-badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 3px 10px 3px 8px;
      border-radius: 9999px;
      font-size: 11px;
      font-weight: 500;
      line-height: 1;
    }
    .status-badge.active   { background: var(--color-green-soft, rgba(24,128,56,.10)); color: #137333; }
    .status-badge.inactive { background: rgba(95,99,104,.10); color: #5f6368; }
    .status-dot {
      width: 6px; height: 6px;
      border-radius: 50%;
      flex-shrink: 0;
    }
    .status-dot.green { background: #188038; }
    .status-dot.gray  { background: #80868b; }

    /* v6.8.7: 編集ピル（共通 .gs-btn-pill 44px は操作列で過大 → 専用 30px） */
    .btn-edit-pill {
      height: 30px;
      padding: 0 14px;
      border-radius: 9999px;
      border: 1px solid var(--color-border, rgba(60,64,67,.14));
      background: var(--color-surface, #fff);
      color: var(--color-text, #202124);
      font-size: 12px;
      font-weight: 500;
      font-family: inherit;
      cursor: pointer;
      transition: background 150ms, border-color 150ms;
    }
    .btn-edit-pill:hover {
      background: var(--color-surface-2, #f8fafd);
      border-color: var(--color-text-muted, #5f6368);
    }

    /* 空 / ローディング / エラー行 */
    .data-row-empty {
      padding: 28px 20px;
      text-align: center;
      color: var(--color-text-muted, #5f6368);
      font-size: 13px;
    }

    /* v6.8.7: 旧 tr.inactive-row td / .action-btns は撤去（HTML から参照消失） */

    /* v6.8.5: 無効化アイコンボタン（赤太ボタン → 円形ゴミ箱アイコン、v6.8.0 sites からコピー） */
    .btn-delete-icon {
      width: 32px; height: 32px;
      display: inline-flex; align-items: center; justify-content: center;
      border-radius: 50%;
      border: 1px solid rgba(217, 48, 37, 0.30);
      background: #fff;
      color: #d93025;
      cursor: pointer;
      padding: 0;
      transition: background 150ms, border-color 150ms;
    }
    .btn-delete-icon:hover {
      background: rgba(217, 48, 37, 0.08);
      border-color: rgba(217, 48, 37, 0.55);
    }
    .btn-delete-icon:focus-visible {
      outline: 2px solid #d93025;
      outline-offset: 2px;
    }
    .btn-delete-icon svg { width: 16px; height: 16px; display: block; }

    /* v6.8.5: ページネーションバー（v6.8.0 sites からコピー、変数を DESIGN.md v2 系統に統一） */
    .pagination-bar {
      display: flex; justify-content: space-between; align-items: center;
      gap: 12px; flex-wrap: wrap;
      margin-top: 16px; padding-top: 12px;
      border-top: 1px solid var(--color-divider, rgba(60,64,67,.10));
      font-size: 13px; color: var(--color-text-muted, #5f6368);
    }
    .pagination-controls {
      display: flex; align-items: center; gap: 8px;
    }
    .page-btn {
      width: 32px; height: 32px;
      display: inline-flex; align-items: center; justify-content: center;
      border-radius: 50%;
      border: 1px solid var(--color-border, rgba(60,64,67,.14));
      background: var(--color-surface, #fff);
      color: var(--color-text, #3c4043);
      font-size: 18px; line-height: 1;
      cursor: pointer;
      font-family: inherit;
      transition: background 150ms, border-color 150ms;
    }
    .page-btn:hover:not(:disabled) {
      background: var(--color-surface-2, #f8fafd);
      border-color: var(--color-text-muted, #5f6368);
    }
    .page-btn:disabled {
      opacity: 0.4;
      cursor: not-allowed;
    }
    .page-number-info {
      min-width: 80px; text-align: center;
      font-variant-numeric: tabular-nums;
    }
    .page-size-select {
      height: 32px;
      padding: 0 10px;
      border: 1px solid var(--color-border, rgba(60,64,67,.14));
      border-radius: 9999px;
      background: var(--color-surface, #fff);
      color: var(--color-text, #202124);
      font-size: 13px; font-family: inherit;
      cursor: pointer;
    }
    .page-size-select:focus {
      outline: none;
      border-color: var(--color-primary, #1a73e8);
      box-shadow: 0 0 0 3px var(--color-primary-soft, rgba(26,115,232,.10));
    }

    /* モーダル */
    .modal-overlay {
      position: fixed; inset: 0; background: rgba(0,0,0,0.55);
      display: none; align-items: flex-start; justify-content: center;
      padding: 60px 16px; z-index: 200; overflow-y: auto;
    }
    .modal-overlay.active { display: flex; }
    .modal-box {
      background: var(--white); border-radius: var(--radius-lg);
      width: 100%; max-width: 520px; padding: 32px;
      box-shadow: var(--shadow-lg); position: relative;
    }
    /* v6.8.16: 編集モーダル幅を sites と統一（560px、modal-width-560 クラスで意図明示） */
    .modal-box.modal-width-560 { max-width: 560px; }

    /* v6.8.16: 編集モーダル再デザイン（sites.css と重複コピー、独立性最優先・最小変更原則）
       3 ブロック構造（ヘッダー / ボディ / フッター）+ セクション分割 */
    .modal-box.modal-edit-redesigned {
      padding: 0;
      max-height: calc(100vh - 64px);
      display: flex;
      flex-direction: column;
    }
    .modal-box.modal-edit-redesigned .modal-header {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      padding: 20px 24px 16px;
      border-bottom: 1px solid var(--color-divider, rgba(60,64,67,.10));
      flex-shrink: 0;
    }
    .modal-box.modal-edit-redesigned .modal-header .modal-title-area {
      display: flex;
      flex-direction: column;
      gap: 4px;
      flex: 1;
      min-width: 0;
    }
    .modal-box.modal-edit-redesigned .modal-header .modal-title {
      margin: 0 !important;
      padding: 0 !important;
      border-bottom: none !important;
      font-size: 18px;
      font-weight: 700;
      color: var(--navy);
    }
    .modal-box.modal-edit-redesigned .modal-header .modal-close {
      position: static;
      background: transparent;
      border: none;
      font-size: 22px;
      color: var(--gray-600);
      cursor: pointer;
      width: 32px;
      height: 32px;
      border-radius: 50%;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      line-height: 1;
      padding: 0;
    }
    .modal-box.modal-edit-redesigned .modal-header .modal-close:hover {
      background: rgba(60,64,67,.08);
    }
    .modal-box.modal-edit-redesigned .modal-body {
      padding: 16px 24px;
      overflow-y: auto;
      flex: 1;
    }
    .modal-edit-redesigned .form-section {
      background: var(--color-surface-2, #fafafa);
      border: 1px solid var(--color-divider, rgba(60,64,67,.08));
      border-radius: 12px;
      padding: 14px 16px;
      margin-bottom: 14px;
    }
    .modal-edit-redesigned .form-section:last-of-type { margin-bottom: 0; }
    .modal-edit-redesigned .form-section-title {
      margin: 0 0 12px 0;
      font-size: 12px;
      font-weight: 600;
      color: var(--color-text-muted, #5f6368);
      letter-spacing: 0.04em;
    }
    .modal-edit-redesigned .form-section .form-group { margin-bottom: 10px; }
    .modal-edit-redesigned .form-section .form-group:last-child { margin-bottom: 0; }
    .modal-edit-redesigned .form-section .form-group label {
      display: block;
      font-size: 13px;
      font-weight: 500;
      color: var(--color-text, #202124);
      margin-bottom: 6px;
    }
    .modal-edit-redesigned .form-section .form-group input[type="text"],
    .modal-edit-redesigned .form-section .form-group input[type="number"],
    .modal-edit-redesigned .form-section .form-group input[type="email"],
    .modal-edit-redesigned .form-section .form-group select,
    .modal-edit-redesigned .form-section .form-group textarea {
      width: 100%;
      padding: 8px 12px;
      border: 1px solid var(--color-border, rgba(60,64,67,.14));
      border-radius: 8px;
      font-size: 13px;
      font-family: inherit;
      background: var(--color-surface, #ffffff);
      transition: border-color 180ms;
    }
    .modal-edit-redesigned .form-section .form-group input:focus,
    .modal-edit-redesigned .form-section .form-group select:focus,
    .modal-edit-redesigned .form-section .form-group textarea:focus {
      outline: none;
      border-color: var(--color-primary, #1a73e8);
      box-shadow: 0 0 0 3px var(--color-primary-soft, rgba(26,115,232,.10));
    }
    .modal-edit-redesigned .form-section .form-group textarea {
      resize: vertical;
      min-height: 60px;
    }
    .modal-edit-redesigned .form-hint {
      display: block;
      margin-top: 4px;
      font-size: 11px;
      color: var(--color-text-faint, #80868b);
    }
    .modal-edit-redesigned .readonly-field {
      background: rgba(60,64,67,.04) !important;
      color: var(--color-text, #202124) !important;
      cursor: not-allowed;
    }
    .modal-edit-redesigned .readonly-field:focus {
      border-color: var(--color-border, rgba(60,64,67,.14)) !important;
      box-shadow: none !important;
    }

    /* v6.21.0: 警備業ソフトデータセクション内の入力要素を編集不可化（v6.20.0 sites.css 段階 3 と並列定義）
       - input[readonly] / select:disabled に統一スタイル適用
       - `.form-section#f_customer_code_group` プレフィックスで他セクション（連絡先 / 備考）への波及防止
       - opacity:1 でブラウザデフォルトの薄色化（select:disabled の 0.5-0.7）を上書き
       - 設計知見 #127 段階 4: マスタデータ編集権の責任分担 customers 横展開 */
    .modal-edit-redesigned .form-section#f_customer_code_group input[readonly],
    .modal-edit-redesigned .form-section#f_customer_code_group select:disabled {
      background: rgba(60,64,67,.04) !important;
      color: var(--color-text, #202124) !important;
      cursor: not-allowed;
      opacity: 1;
    }
    .modal-edit-redesigned .form-section#f_customer_code_group input[readonly]:focus,
    .modal-edit-redesigned .form-section#f_customer_code_group select:disabled:focus {
      border-color: var(--color-border, rgba(60,64,67,.14)) !important;
      box-shadow: none !important;
    }
    .modal-box.modal-edit-redesigned .modal-footer {
      padding: 14px 24px;
      border-top: 1px solid var(--color-divider, rgba(60,64,67,.10));
      flex-shrink: 0;
    }
    .modal-footer-split {
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .modal-footer-left,
    .modal-footer-right {
      display: flex;
      gap: 8px;
      align-items: center;
    }
    .modal-title {
      font-size: 18px; font-weight: 700; color: var(--navy);
      margin-bottom: 20px; padding-bottom: 12px;
      border-bottom: 2px solid var(--navy-pale);
    }
    .modal-close {
      position: absolute; top: 16px; right: 16px;
      background: none; border: none; font-size: 22px;
      cursor: pointer; color: var(--gray-600); line-height: 1;
      padding: 4px 8px; border-radius: 4px;
    }
    .modal-close:hover { background: var(--gray-200); }
    .modal-actions {
      display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px;
    }
    .required { color: var(--danger); margin-left: 4px; }

    /* 確認モーダル */
    .confirm-overlay {
      position: fixed; inset: 0; background: rgba(0,0,0,0.5);
      display: none; align-items: center; justify-content: center;
      z-index: 300; padding: 20px;
    }
    .confirm-overlay.active { display: flex; }
    .confirm-box {
      background: #fff; border-radius: var(--radius-md); padding: 24px;
      max-width: 420px; width: 100%; box-shadow: var(--shadow-lg);
    }
    .confirm-title { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
    .confirm-msg { font-size: 14px; color: var(--gray-800); margin-bottom: 20px; white-space: pre-wrap; }
    .confirm-actions { display: flex; justify-content: flex-end; gap: 10px; }

    /* トースト */
    .toast {
      position: fixed; top: 80px; right: 20px; z-index: 500;
      padding: 12px 18px; border-radius: var(--radius-sm);
      color: #fff; font-size: 14px; font-weight: 500;
      box-shadow: var(--shadow-md); opacity: 0; transform: translateY(-10px);
      transition: opacity 0.25s, transform 0.25s;
    }
    .toast.show { opacity: 1; transform: translateY(0); }
    .toast.success { background: var(--success); }
    .toast.error   { background: var(--danger); }

    @media (max-width: 600px) {
      .search-box { min-width: 0; flex: 1; }
      .modal-box { padding: 24px 20px; }
    }
