:root {
      --primary: #FF6BA6;
      --success: #22c55e;
      --warning: #f59e0b;
      --danger: #ef4444;
    }
    :root {
      --sidebar-width: 240px;
      --sidebar-width-collapsed: 64px;
      --topbar-height: 64px;
    }

    .admin-reports-v2 {
      display: flex;
      min-height: 100vh;
      background: #f9fafb;
    }

    .logo-link {
      display: flex;
      align-items: center;
      gap: 12px;
      text-decoration: none;
      color: inherit;
    }
    .logo-img {
      width: 32px;
      height: 32px;
      object-fit: contain;
      flex-shrink: 0;
    }
    .logo-text {
      font-size: 1.25rem;
      font-weight: 700;
      color: #111827;
      white-space: nowrap;
      transition: opacity 0.3s ease;
    }
    
    .sidebar-role .role-badge {
      display: inline-block;
      padding: 3px 10px;
      background: #e0e7ff;
      color: #3730a3;
      border-radius: 4px;
      font-size: 0.75rem;
      font-weight: 500;
      white-space: nowrap;
    }
    .nav-label {
      transition: opacity 0.3s ease;
      white-space: nowrap;
      font-size: 0.8125rem;
    }
    .nav-divider {
      height: 1px;
      background: #e5e7eb;
      margin: 8px 12px;
    }
    
    .sidebar.collapsed 

    /* メインコンテンツ */
    .main-content {
      margin-left: var(--sidebar-width) !important;
      padding: 24px;
      background: #f9fafb;
      width: calc(100% - var(--sidebar-width)) !important;
      max-width: none !important;
      box-sizing: border-box;
      transition: margin-left 0.3s ease, width 0.3s ease;
    }
    .sidebar.collapsed ~ .main-content {
      margin-left: var(--sidebar-width-collapsed) !important;
      padding: 24px;
      background: #f9fafb;
      width: calc(100% - var(--sidebar-width-collapsed)) !important;
      max-width: none !important;
      box-sizing: border-box;
      transition: margin-left 0.3s ease, width 0.3s ease;
    }
    .content-wrapper {
      display: flex;
      flex-direction: column;
      gap: 24px;
    }

    /* トップバー */
    .topbar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 24px;
    }
    .topbar-left h1 {
      font-size: 1.75rem;
      font-weight: 700;
      color: #111827;
      margin: 0;
    }
    .topbar-right {
      display: flex;
      align-items: center;
      gap: 16px;
    }

    /* ヘッダー */
    .page-header {
      display: flex;
      align-items: center;
      gap: 16px;
      margin-bottom: 24px;
    }
    .back-btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 8px 16px;
      background: #fff;
      border: 1px solid #e2e8f0;
      border-radius: 8px;
      color: #475569;
      text-decoration: none;
      font-size: 0.875rem;
    }
    .back-btn:hover { background: #f8fafc; }
    .page-title { flex: 1; font-size: 1.5rem; font-weight: 700; color: #1e293b; margin: 0; }
    .header-actions { display: flex; gap: 12px; }

    /* 統計 */
    .stats-row {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 16px;
      width: 100%;
    }
    .stat-card {
      background: #fff;
      border: 1px solid #e2e8f0;
      border-radius: 12px;
      padding: 20px;
      text-align: center;
    }
    .stat-value { font-size: 2rem; font-weight: 700; color: var(--primary); }
    .stat-label { font-size: 0.875rem; color: #64748b; margin-top: 4px; }

    /* フィルター */
    .filters-section {
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
      align-items: center;
      padding: 16px;
      background: #fff;
      border: 1px solid #e2e8f0;
      border-radius: 12px;
      box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    }
    .search-box {
      position: relative;
      flex: 1;
      min-width: 200px;
    }
    .search-box i {
      position: absolute;
      left: 12px;
      top: 50%;
      transform: translateY(-50%);
      color: #94a3b8;
    }
    .search-box input {
      width: 100%;
      padding: 10px 12px 10px 40px;
      border: 1px solid #e2e8f0;
      border-radius: 8px;
      font-size: 0.875rem;
    }
    .filter-select, .filter-input {
      padding: 10px 12px;
      border: 1px solid #e2e8f0;
      border-radius: 8px;
      font-size: 0.875rem;
      background: #fff;
    }
    .date-separator { color: #94a3b8; }

    /* テーブル */
    .table-container {
      background: #fff;
      border: 1px solid #e2e8f0;
      border-radius: 12px;
      overflow: hidden;
    }
    .reports-table {
      width: 100%;
      border-collapse: collapse;
    }
    .reports-table th {
      background: #f8fafc;
      padding: 14px 16px;
      text-align: left;
      font-size: 0.8rem;
      font-weight: 600;
      color: #64748b;
      text-transform: uppercase;
      border-bottom: 1px solid #e2e8f0;
    }
    .reports-table td {
      padding: 16px;
      border-bottom: 1px solid #f1f5f9;
      font-size: 0.9rem;
      color: #334155;
    }
    .reports-table tbody tr:hover { background: #f8fafc; }
    .loading-cell { text-align: center; padding: 40px !important; color: #94a3b8; }

    /* ステータスバッジ */
    .status-badge {
      display: inline-block;
      padding: 4px 12px;
      border-radius: 20px;
      font-size: 0.75rem;
      font-weight: 600;
    }
    .status-pending { background: #fef3c7; color: #92400e; }
    .status-approved { background: #dcfce7; color: #166534; }
    .status-rejected { background: #fee2e2; color: #991b1b; }
    
    /* 再提出通知バッジ */
    .resubmitted-badge {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      padding: 4px 10px;
      border-radius: 12px;
      font-size: 0.7rem;
      font-weight: 600;
      background: #3b82f6;
      color: #ffffff;
      animation: pulse 2s infinite;
    }
    
    .resubmitted-badge i {
      font-size: 0.7rem;
    }
    
    @keyframes pulse {
      0%, 100% {
        opacity: 1;
      }
      50% {
        opacity: 0.7;
      }
    }
    
    /* 再提出された行のハイライト */
    .resubmitted-row {
      background-color: #eff6ff !important;
    }
    
    .resubmitted-row:hover {
      background-color: #dbeafe !important;
    }

    /* アクションボタン */
    .action-btns { display: flex; gap: 8px; }
    .action-btn {
      width: 32px;
      height: 32px;
      border: none;
      border-radius: 6px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.8rem;
      transition: all 0.2s;
    }
    .action-btn.view { background: #e0f2fe; color: #0284c7; }
    .action-btn.edit { background: #fef3c7; color: #d97706; }
    .action-btn.share { background: #dbeafe; color: #2563eb; }
    .action-btn.comment { background: #fef3c7; color: #d97706; }
    .action-btn.delete { background: #fee2e2; color: #dc2626; }
    .action-btn:hover { transform: scale(1.1); }
    
    /* URL発行モーダル */
    .share-info {
      padding: 20px 0;
    }
    .share-info p {
      margin-bottom: 20px;
      color: #64748b;
      font-size: 0.95rem;
    }
    .url-display-container {
      display: flex;
      gap: 12px;
      margin-bottom: 16px;
    }
    .url-input {
      flex: 1;
      padding: 12px 16px;
      border: 1px solid #e5e7eb;
      border-radius: 8px;
      font-size: 0.9rem;
      background: #f9fafb;
      color: #1e293b;
    }
    .url-input:focus {
      outline: none;
      border-color: var(--primary);
      background: #fff;
    }
    .copy-success-message {
      padding: 12px;
      background: #d1fae5;
      color: #065f46;
      border-radius: 8px;
      font-size: 0.9rem;
      margin-bottom: 16px;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    /* ボタン */
    .btn {
      padding: 10px 20px;
      border: none;
      border-radius: 8px;
      font-size: 0.875rem;
      font-weight: 600;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      transition: all 0.2s;
    }
    .btn-primary { background: var(--primary); color: #fff; }
    .btn-primary:hover { background: #ff5a9a; }
    .btn-outline { background: #fff; color: #475569; border: 1px solid #e2e8f0; }
    .btn-outline:hover { background: #f8fafc; }
    .btn-success { background: var(--success); color: #fff; }
    .btn-success:hover { background: #16a34a; }
    .btn-warning { background: var(--warning); color: #fff; }
    .btn-warning:hover { background: #d97706; }
    .btn-danger { background: var(--danger); color: #fff; }
    .btn-danger:hover { background: #dc2626; }

    /* ページネーション */
    .pagination {
      display: flex;
      justify-content: flex-end;
      gap: 8px;
      margin: 0;
    }
    .page-btn {
      padding: 8px 14px;
      border: 1px solid #e2e8f0;
      border-radius: 6px;
      background: #fff;
      cursor: pointer;
      font-size: 0.875rem;
    }
    .page-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }
    .page-btn:hover:not(.active) { background: #f8fafc; }

    /* モーダル */
    .modal-dialog {
      border: none;
      border-radius: 16px;
      padding: 0;
      max-width: 600px;
      width: 90vw;
      box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
    }
    .modal-dialog:not([open]) {
      display: none;
    }
    .modal-dialog::backdrop { background: rgba(0,0,0,0.5); }
    .modal-content { padding: 0; }
    .modal-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 20px 24px;
      border-bottom: 1px solid #e2e8f0;
    }
    .modal-header h3 { margin: 0; font-size: 1.25rem; color: #1e293b; }
    .btn-help-modal {
      width: 32px;
      height: 32px;
      border: none;
      background: transparent;
      color: #64748b;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 6px;
      transition: all 0.2s;
      font-size: 1.2rem;
    }
    .btn-help-modal:hover {
      background: #f1f5f9;
      color: #FF6BA6;
    }
    .modal-close {
      background: none;
      border: none;
      font-size: 1.25rem;
      color: #94a3b8;
      cursor: pointer;
    }
    .modal-dialog-large {
      max-width: 95vw;
      width: 900px;
      max-height: 95vh;
    }
    .modal-body { padding: 0; }
    .modal-body-scrollable {
      max-height: calc(95vh - 140px);
      overflow-y: auto;
      padding: 0;
    }
    .modal-footer {
      display: flex;
      justify-content: center;
      gap: 12px;
      padding: 16px 24px;
      border-top: 1px solid #e2e8f0;
      background: #fff;
      position: sticky;
      bottom: 0;
    }

    /* フォーム */
    .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
    .form-field { margin-bottom: 16px; }
    .form-field label { display: block; font-size: 0.875rem; font-weight: 600; color: #475569; margin-bottom: 6px; }
    .form-field input, .form-field select, .form-field textarea {
      width: 100%;
      padding: 10px 12px;
      border: 1px solid #e2e8f0;
      border-radius: 8px;
      font-size: 0.9rem;
    }
    .form-field input:focus, .form-field select:focus, .form-field textarea:focus {
      outline: none;
      border-color: var(--primary);
    }
    .time-range { display: flex; align-items: center; gap: 8px; }
    .time-range input { flex: 1; }
    .required { color: var(--danger); }

    /* モーダル内レポートコンテナ */
    .report-container-modal {
      background: #fff;
      border-radius: 0;
      overflow: hidden;
    }
    .report-header-modal {
      background: #FF679C;
      color: #fff;
      padding: 16px 24px;
    }
    .report-header-content-modal {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }
    .form-group-inline-modal {
      display: flex;
      align-items: center;
      gap: 12px;
      flex-wrap: wrap;
    }
    .form-label-inline-modal {
      font-size: 1rem;
      font-weight: 600;
      color: #fff;
      min-width: 80px;
    }
    .form-select-inline-modal,
    .form-input-inline-modal {
      flex: 1;
      min-width: 150px;
      padding: 8px 12px;
      border: 1px solid rgba(255,255,255,0.3);
      border-radius: 6px;
      background: rgba(255,255,255,0.9);
      color: #333;
      font-size: 0.95rem;
    }
    .form-select-inline-modal:focus,
    .form-input-inline-modal:focus {
      outline: none;
      border-color: #fff;
      background: #fff;
      box-shadow: 0 0 0 3px rgba(255,255,255,0.3);
    }
    .items-list-bar-modal {
      background: #f9f9f9;
      padding: 12px 24px;
      border-bottom: 1px solid #eee;
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 15px;
    }
    .items-list-modal {
      display: flex;
      align-items: center;
      gap: 15px;
      flex-wrap: wrap;
      flex: 1;
    }
    .items-list-label-modal {
      font-weight: 600;
      color: #555;
      font-size: 0.9rem;
    }
    .items-list-items-modal {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }
    .items-list-item-modal {
      font-size: 0.9rem;
      color: #333;
      padding: 6px 12px;
      background: #ffffff;
      border: 1px solid #e5e7eb;
      border-radius: 4px;
    }
    .items-list-empty-modal {
      font-size: 0.9rem;
      color: #999;
      font-style: italic;
    }
    .action-buttons-group-modal {
      display: flex;
      gap: 12px;
      align-items: center;
    }
    .add-buttons-group-modal {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
    }
    .modal-footer .add-buttons-group-modal {
      width: 100%;
      justify-content: center;
    }
    .btn-add-item-modal {
      padding: 8px 16px;
      background: #FF679C;
      color: #fff;
      border: none;
      border-radius: 6px;
      font-size: 0.9rem;
      font-weight: 600;
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 6px;
      transition: background 0.2s;
    }
    .btn-add-item-modal:hover {
      background: #e55a8a;
    }
    .cleaning-section-modal {
      padding: 24px;
      border-bottom: 1px solid #eee;
    }
    .cleaning-section-modal:last-child {
      border-bottom: none;
    }
    .item-header-modal {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 15px;
      margin-bottom: 20px;
    }
    .item-title-group-modal {
      flex: 1;
      min-width: 200px;
      display: flex;
      flex-direction: column;
      gap: 8px;
    }
    .item-title-input-modal,
    .item-title-select-modal {
      width: 100%;
      font-size: 1.2rem;
      font-weight: 600;
      color: #222;
      padding: 8px 12px;
      border: 1px solid #e5e7eb;
      border-radius: 6px;
      background: #fff;
      cursor: pointer;
    }
    .item-title-input-modal {
      cursor: text;
    }
    .item-title-input-modal:focus,
    .item-title-select-modal:focus {
      outline: none;
      border-color: #FF679C;
      box-shadow: 0 0 0 3px rgba(255, 103, 156, 0.1);
    }
    .item-details-modal {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      padding-top: 5px;
    }
    .detail-tag-input-modal {
      padding: 6px 12px;
      background: #f0f4f8;
      color: #555;
      border: 1px solid #e5e7eb;
      border-radius: 20px;
      font-size: 0.85rem;
    }
    .detail-tag-input-modal:focus {
      outline: none;
      border-color: #FF679C;
      background: #fff;
    }
    .subsection-modal {
      margin-top: 20px;
    }
    .subsection-title-modal {
      font-size: 1.1rem;
      font-weight: 600;
      color: #333;
      border-bottom: 2px solid #333;
      padding-bottom: 5px;
      margin-top: 25px;
      margin-bottom: 15px;
    }
    .subsection-modal textarea {
      width: 100%;
      min-height: 100px;
      padding: 12px;
      border: 1px solid #e5e7eb;
      border-radius: 8px;
      font-size: 0.95rem;
      font-family: inherit;
      resize: vertical;
    }
    .subsection-modal textarea:focus {
      outline: none;
      border-color: #FF679C;
      box-shadow: 0 0 0 3px rgba(255, 103, 156, 0.1);
    }
    .image-grid-modal {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 16px;
      margin-top: 20px;
    }
    .image-category-modal {
      display: flex;
      flex-direction: column;
      gap: 8px;
      align-items: center;
      padding: 16px;
      border-radius: 12px;
    }
    /* 作業前のスタイル */
    .image-category-modal.before-category {
      background: linear-gradient(135deg, #fef3c7 0%, #fef9c3 100%);
      border: 2px solid #f59e0b;
    }
    .image-category-modal.before-category .image-category-title-modal {
      color: #b45309;
    }
    .image-category-modal.before-category .image-category-title-modal i {
      color: #f59e0b;
    }
    /* 作業後のスタイル */
    .image-category-modal.after-category {
      background: linear-gradient(135deg, #d1fae5 0%, #ecfdf5 100%);
      border: 2px solid #10b981;
    }
    .image-category-modal.after-category .image-category-title-modal {
      color: #047857;
    }
    .image-category-modal.after-category .image-category-title-modal i {
      color: #10b981;
    }
    .image-category-title-modal {
      font-size: 1rem;
      font-weight: 700;
      color: #444;
      margin: 0;
      text-align: center;
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
    }
    .image-category-title-modal i {
      font-size: 1.1rem;
    }
    .image-list-modal {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 8px;
      width: 100%;
      max-width: 100%;
    }
    .image-item-modal {
      position: relative;
      aspect-ratio: 1;
      border-radius: 8px;
      overflow: hidden;
      border: 1px solid #ccc;
      background: #fafafa;
    }
    .image-item-modal img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    .image-upload-btn-modal {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      width: 100%;
      height: 100%;
      background: #f9fafb;
      border: 2px dashed #d1d5db;
      cursor: pointer;
      transition: all 0.2s;
    }
    .image-upload-btn-modal:hover {
      background: #ffffff;
      border-color: #FF679C;
    }
    .image-upload-btn-modal input[type="file"] {
      display: none;
    }
    .image-upload-btn-modal i {
      font-size: 2rem;
      color: #FF679C;
      margin-bottom: 8px;
    }
    .image-upload-btn-modal span {
      font-size: 0.75rem;
      color: #6b7280;
    }
    .image-add-btns-modal {
      display: flex;
      flex-direction: column;
      gap: 4px;
      border: none;
      background: transparent;
    }
    .image-add-btns-modal .image-upload-btn-modal,
    .image-add-btns-modal .image-media-btn-modal,
    .image-add-btns-modal .image-warehouse-btn-modal {
      flex: 1;
      min-height: 50px;
      border-radius: 6px;
    }
    .image-media-btn-modal,
    .image-warehouse-btn-modal {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      width: 100%;
      background: #f0f9ff;
      border: 2px dashed #0ea5e9;
      cursor: pointer;
      transition: all 0.2s;
      padding: 8px;
    }
    .image-media-btn-modal:hover {
      background: #e0f2fe;
      border-color: #0284c7;
    }
    .image-media-btn-modal i {
      font-size: 1.5rem;
      color: #0ea5e9;
      margin-bottom: 4px;
    }
    .image-media-btn-modal span {
      font-size: 0.75rem;
      color: #0369a1;
    }
    .image-warehouse-btn-modal {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      width: 100%;
      background: #f0fdf4;
      border: 2px dashed #22c55e;
      cursor: pointer;
      transition: all 0.2s;
    }
    .image-warehouse-btn-modal:hover {
      background: #dcfce7;
      border-color: #16a34a;
    }
    .image-warehouse-btn-modal i {
      font-size: 1.5rem;
      color: #16a34a;
      margin-bottom: 4px;
    }
    .image-warehouse-btn-modal span {
      font-size: 0.75rem;
      color: #15803d;
    }
    
    /* 画像倉庫モーダル */
    .warehouse-filters {
      display: flex;
      gap: 12px;
      margin-bottom: 20px;
      padding: 16px;
      background: #f9fafb;
      border-radius: 8px;
    }
    .form-group {
      margin-bottom: 16px;
    }
    .form-label {
      display: block;
      font-size: 0.875rem;
      font-weight: 600;
      color: #374151;
      margin-bottom: 6px;
    }
    .form-label .required {
      color: #ef4444;
    }
    .form-textarea {
      width: 100%;
      padding: 10px 12px;
      border: 1px solid #d1d5db;
      border-radius: 8px;
      font-size: 0.875rem;
      font-family: inherit;
      resize: vertical;
      min-height: 100px;
    }
    .form-textarea:focus {
      outline: none;
      border-color: var(--primary);
      box-shadow: 0 0 0 3px rgba(255, 107, 156, 0.1);
    }
    .warehouse-filters .form-group {
      flex: 1;
      margin: 0;
    }
    .warehouse-category-section {
      margin-bottom: 24px;
    }
    .warehouse-category-section:last-child {
      margin-bottom: 0;
    }
    .warehouse-category-title {
      font-size: 1rem;
      font-weight: 600;
      color: #374151;
      margin-bottom: 12px;
      padding-bottom: 8px;
      border-bottom: 2px solid #e5e7eb;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .warehouse-category-title i {
      color: var(--primary, #FF6BA6);
    }
    .warehouse-images-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
      gap: 12px;
      max-height: 500px;
      overflow-y: auto;
    }
    .warehouse-image-item {
      position: relative;
      aspect-ratio: 1;
      border-radius: 8px;
      overflow: hidden;
      border: 2px solid #e5e7eb;
      cursor: pointer;
      transition: all 0.2s;
    }
    .warehouse-image-item:hover {
      border-color: var(--primary, #FF6BA6);
      transform: scale(1.05);
    }
    .warehouse-image-item.selected {
      border-color: var(--primary, #FF6BA6);
      border-width: 3px;
      box-shadow: 0 0 0 3px rgba(255, 107, 166, 0.2);
    }
    .warehouse-image-item img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    .warehouse-image-item .image-check {
      position: absolute;
      top: 4px;
      right: 4px;
      width: 24px;
      height: 24px;
      background: var(--primary, #FF6BA6);
      color: #fff;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.75rem;
    }
    .image-remove-modal {
      position: absolute;
      top: 4px;
      right: 4px;
      width: 32px;
      height: 32px;
      background: #ef4444;
      color: #ffffff;
      border: none;
      border-radius: 50%;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    }
    .item-remove-btn-modal {
      padding: 8px 16px;
      background: #ef4444;
      color: #fff;
      border: none;
      border-radius: 6px;
      font-size: 0.9rem;
      font-weight: 600;
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 6px;
    }
    .item-remove-btn-modal:hover {
      background: #dc2626;
    }

    /* 画像セクション、コメントセクション、作業内容セクション */
    .image-section-modal,
    .comment-section-modal,
    .work-content-section-modal {
      padding: 24px;
      border-bottom: 1px solid #eee;
    }
    .image-section-modal:last-child,
    .comment-section-modal:last-child,
    .work-content-section-modal:last-child {
      border-bottom: none;
    }
    .section-header-modal {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 20px;
    }
    .section-title-modal {
      font-size: 1.2rem;
      font-weight: 600;
      color: #333;
      margin: 0;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .section-remove-btn-modal {
      padding: 8px 16px;
      background: #ef4444;
      color: #fff;
      border: none;
      border-radius: 6px;
      font-size: 0.9rem;
      font-weight: 600;
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 6px;
    }
    .section-remove-btn-modal:hover {
      background: #dc2626;
    }
    .comment-textarea-modal,
    .work-content-textarea-modal {
      width: 100%;
      min-height: 100px;
      padding: 12px;
      border: 1px solid #e5e7eb;
      border-radius: 8px;
      font-size: 0.95rem;
      font-family: inherit;
      resize: vertical;
    }
    .comment-textarea-modal:focus,
    .work-content-textarea-modal:focus {
      outline: none;
      border-color: #FF679C;
      box-shadow: 0 0 0 3px rgba(255, 103, 156, 0.1);
    }

    /* 詳細表示 */
    .detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
    .detail-item { margin-bottom: 16px; }
    .detail-label { font-size: 0.75rem; color: #64748b; margin-bottom: 4px; }
    .detail-value { font-size: 0.95rem; color: #1e293b; font-weight: 500; }

    /* レスポンシブ */
    @media (max-width: 1024px) {
      .stats-row { grid-template-columns: repeat(2, 1fr); }
    }
    /* ヘルプコンテンツ */
    .help-content {
      padding: 8px 0;
    }
    .help-section {
      margin-bottom: 32px;
    }
    .help-section:last-child {
      margin-bottom: 0;
    }
    .help-section h4 {
      font-size: 1.1rem;
      font-weight: 600;
      color: #1e293b;
      margin: 0 0 16px 0;
      padding-bottom: 8px;
      border-bottom: 2px solid #e2e8f0;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .help-section h4 i {
      color: #FF6BA6;
    }
    .help-item {
      margin-bottom: 20px;
      padding: 16px;
      background: #f8fafc;
      border-radius: 8px;
      border-left: 3px solid #FF6BA6;
    }
    .help-item:last-child {
      margin-bottom: 0;
    }
    .help-item h5 {
      font-size: 0.95rem;
      font-weight: 600;
      color: #334155;
      margin: 0 0 8px 0;
    }
    .help-item p {
      font-size: 0.9rem;
      color: #64748b;
      margin: 0 0 12px 0;
      line-height: 1.6;
    }
    .help-item ul,
    .help-item ol {
      margin: 8px 0 0 0;
      padding-left: 24px;
      font-size: 0.9rem;
      color: #475569;
      line-height: 1.8;
    }
    .help-item li {
      margin-bottom: 6px;
    }
    .help-item code {
      background: #e2e8f0;
      padding: 2px 6px;
      border-radius: 4px;
      font-size: 0.85rem;
      font-family: 'Courier New', monospace;
      color: #1e293b;
    }
    .help-warnings {
      list-style: none;
      padding-left: 0;
    }
    .help-warnings li {
      padding: 12px 16px;
      margin-bottom: 8px;
      background: #fef3c7;
      border-left: 3px solid #f59e0b;
      border-radius: 6px;
      font-size: 0.9rem;
      color: #92400e;
      line-height: 1.6;
    }
    .help-warnings li:before {
      content: "⚠️ ";
      margin-right: 8px;
    }

    @media (max-width: 768px) {
      .container { padding: 0 16px; }
      .page-header { flex-wrap: wrap; }
      .stats-row { grid-template-columns: 1fr 1fr; }
      .filters-section { flex-direction: column; }
      .search-box { width: 100%; }
      .form-row { grid-template-columns: 1fr; }
      .table-container { overflow-x: auto; }
    }

    /* ブランド選択・店舗選択モーダルを前面に表示 */
    #brand-select-modal-admin,
    #store-select-modal-admin,
    #image-section-type-modal-admin {
      z-index: 2000 !important;
    }
