    .container { max-width: 1200px; }

    /* タブ */
    .tabs {
      display: flex; border-bottom: 2px solid var(--navy-pale);
      margin-bottom: 24px; gap: 4px;
    }
    .tab-btn {
      padding: 10px 24px; background: none; border: none;
      border-bottom: 3px solid transparent; margin-bottom: -2px;
      font-size: 15px; font-weight: 700; font-family: inherit;
      color: var(--gray-600); cursor: pointer;
      transition: color 0.2s, border-color 0.2s;
    }
    .tab-btn:hover { color: var(--navy); }
    .tab-btn.active { color: var(--navy); border-bottom-color: var(--navy); }
    .tab-panel { display: none; }
    .tab-panel.active { display: block; }

    .page-toolbar {
      display: flex; justify-content: space-between; align-items: center;
      gap: 12px; flex-wrap: wrap; margin-bottom: 16px;
    }
    .page-toolbar .left, .page-toolbar .right {
      display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
    }
    .filter-select {
      padding: 9px 14px; border: 1.5px solid var(--gray-200); border-radius: var(--radius-sm);
      font-size: 14px; font-family: inherit; background: #fff; min-width: 240px;
    }
    .filter-select:focus {
      outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(26,58,92,0.12);
    }

    .action-btns { display: flex; gap: 6px; flex-wrap: wrap; }
    .link-like {
      background: none; border: none; color: var(--accent); cursor: pointer;
      font-family: inherit; font-size: 14px; padding: 0; text-decoration: underline;
    }

    tr.expired td  { background: #fdecea !important; }
    tr.expiring td { background: #fff8e1 !important; }

    /* モーダル */
    .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;
    }
    .modal-box.wide { max-width: 720px; }
    .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; }
    .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
    @media (max-width: 500px) { .form-row { grid-template-columns: 1fr; } }

    /* 確認モーダル */
    .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); }
