/* Extracted from jobs/index.html <style> */
    .jobs-page {
      max-width: 980px;
      margin: 0 auto;
      padding: 20px;
    }
    .page-header {
      display: flex;
      align-items: center;
      justify-content: flex-start;
      margin-bottom: 24px;
      flex-wrap: wrap;
      gap: 12px;
    }
    .page-header h1 {
      margin: 0;
      font-size: 1.6rem;
      color: var(--color-primary);
    }
    .back-btn {
      padding: 8px 14px;
      background: var(--color-primary);
      color: white;
      border: none;
      border-radius: 6px;
      cursor: pointer;
      font-size: 0.875rem;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 36px;
    }
    .jobs-loading, .jobs-empty, .jobs-error, .login-required-message {
      text-align: center;
      padding: 26px;
      border-radius: 8px;
      margin-bottom: 16px;
    }
    .jobs-loading { color: var(--color-text-light); }
    .jobs-empty { background: #f8f9fa; color: var(--color-text-light); }
    .jobs-error {
      background: #fee2e2;
      border: 1px solid #fecaca;
      color: #991b1b;
    }
    .login-required-message {
      background: #fff3cd;
      border: 1px solid #ffc107;
      color: #856404;
    }
    .jobs-review-note {
      margin-bottom: 16px;
      padding: 12px 14px;
      border-radius: 8px;
      background: #eff6ff;
      border: 1px solid #bfdbfe;
      color: #1d4ed8;
      font-size: 0.9rem;
    }
    .jobs-profile-entry {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      margin-bottom: 16px;
      padding: 14px 16px;
      border-radius: 10px;
      background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 100%);
      border: 1px solid #bfdbfe;
    }
    .jobs-profile-entry-copy {
      display: grid;
      gap: 4px;
    }
    .jobs-profile-entry-title {
      font-size: 0.95rem;
      font-weight: 700;
      color: #1d4ed8;
    }
    .jobs-profile-entry-text {
      font-size: 0.86rem;
      color: #475569;
      line-height: 1.6;
    }
    .jobs-highlight {
      background: #fef08a;
      color: inherit;
      border-radius: 0.2em;
      padding: 0 0.12em;
      box-decoration-break: clone;
      -webkit-box-decoration-break: clone;
    }
    .jobs-list {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }
    .jobs-filters {
      display: flex;
      flex-direction: column;
      gap: 10px;
      margin-bottom: 16px;
      align-items: stretch;
    }
    .jobs-filter-row {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      align-items: flex-start;
      width: 100%;
    }
    .jobs-filter-label {
      display: block;
      font-size: 0.78rem;
      font-weight: 600;
      color: #475569;
      margin-bottom: 4px;
    }
    .jobs-filter-group--contract {
      flex: 0 0 150px;
      min-width: 130px;
    }
    .jobs-filter-group--remote {
      flex: 0 0 170px;
      min-width: 150px;
    }
    .jobs-filter-group--work-mode {
      flex: 0 0 170px;
      min-width: 150px;
    }
    .jobs-filter-group--sort {
      flex: 0 0 220px;
      min-width: 200px;
    }
    .jobs-filter-group--keyword {
      flex: 1 1 100%;
      min-width: 0;
    }
    .jobs-filter-input, .jobs-filter-select {
      border: 1px solid #cbd5e1;
      border-radius: 6px;
      padding: 7px 10px;
      min-height: 36px;
      font-size: 0.9rem;
      background: #fff;
      color: var(--color-text);
    }
    .jobs-filter-input {
      flex: 1 1 240px;
      min-width: 220px;
    }
    .jobs-filter-group {
      flex: 1 1 240px;
      min-width: 220px;
      display: flex;
      flex-direction: column;
      gap: 6px;
    }
    .jobs-filter-group .jobs-filter-input {
      flex: none;
      min-width: 0;
      width: 100%;
    }
    .jobs-filter-note {
      margin: 0;
      font-size: 0.8rem;
      color: #92400e;
      line-height: 1.5;
    }
    .jobs-filter-inline-error {
      display: none;
      margin: 0;
      font-size: 0.8rem;
      color: #991b1b;
      line-height: 1.5;
    }
    .jobs-filter-actions {
      display: inline-flex;
      gap: 8px;
      align-self: flex-end;
    }
    .jobs-filter-btn {
      border: 1px solid #cbd5e1;
      border-radius: 6px;
      padding: 7px 10px;
      min-height: 36px;
      cursor: pointer;
      font-size: 0.86rem;
      background: #f8fafc;
      color: #0f172a;
    }
    .jobs-filter-btn.primary {
      border-color: #2563eb;
      background: #2563eb;
      color: #fff;
    }
    .jobs-pagination {
      margin-top: 16px;
      display: none;
      align-items: center;
      justify-content: center;
      gap: 10px;
      flex-wrap: wrap;
    }
    .jobs-pagination-status {
      font-size: 0.86rem;
      color: var(--color-text-light);
      min-width: 140px;
      text-align: center;
    }
    .jobs-pagination-btn {
      border: 1px solid #cbd5e1;
      border-radius: 6px;
      padding: 6px 10px;
      background: #f8fafc;
      color: #0f172a;
      cursor: pointer;
      font-size: 0.85rem;
      min-width: 72px;
    }
    .jobs-pagination-btn:disabled {
      opacity: 0.5;
      cursor: not-allowed;
    }
    .job-item, .job-detail-card {
      background: white;
      border: 1px solid #e0e0e0;
      border-radius: 8px;
      padding: 16px;
    }
    .job-item-title, .job-detail-title {
      font-weight: 700;
      color: var(--color-text);
      margin: 0 0 10px 0;
      font-size: 1.05rem;
    }
    .job-card-header,
    .job-detail-header {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 12px;
      margin-bottom: 10px;
    }
    .job-card-header .job-item-title,
    .job-detail-header .job-detail-title {
      margin-bottom: 0;
      flex: 1;
      min-width: 0;
    }
    .job-card-title-line {
      display: flex;
      align-items: center;
      flex: 1;
      flex-wrap: wrap;
      gap: 8px 10px;
      min-width: 0;
    }
    .job-card-header .job-card-title-line .job-item-title,
    .job-detail-header .job-card-title-line .job-detail-title {
      flex: 0 1 auto;
      min-width: 0;
      overflow-wrap: anywhere;
    }
    .job-contract-badge {
      display: inline-flex;
      align-items: center;
      flex: 0 0 auto;
      padding: 3px 8px;
      border-radius: 999px;
      font-size: 0.76rem;
      font-weight: 700;
      line-height: 1.35;
    }
    .job-contract-badge--full-time {
      background: #e0e7ff;
      color: #3730a3;
    }
    .job-contract-badge--b2b {
      background: #f3e8ff;
      color: #6b21a8;
    }
    .job-contract-badge--spot {
      background: #e2e8f0;
      color: #334155;
    }
    .job-company-name,
    .job-detail-company-name {
      margin: -2px 0 10px;
      font-size: 0.94rem;
      font-weight: 700;
      line-height: 1.5;
      color: #334155;
    }
    .job-item-meta, .job-detail-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 10px 16px;
      font-size: 0.86rem;
      color: var(--color-text-light);
      margin-bottom: 10px;
    }
    .job-item-meta {
      padding-left: 12px;
      border-left: 2px solid #eef2f7;
    }
    .job-detail-meta-summary {
      padding-left: 12px;
    }
    .job-detail-meta-summary {
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      gap: 6px;
      margin: 10px 0 14px;
      font-size: 0.9rem;
      color: var(--color-text);
    }
    .job-detail-meta-summary > div {
      line-height: 1.6;
    }
    .job-item-meta-label, .job-detail-meta-label {
      font-weight: 600;
      color: var(--color-text);
      margin-right: 4px;
    }
    .job-item-salary-supplement {
      min-width: 0;
      margin: -2px 0 10px;
      padding-left: 12px;
      font-size: 0.86rem;
      line-height: 1.5;
      color: var(--color-text-light);
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    .job-item-salary-supplement-value {
      color: var(--color-text-light);
    }
    .job-item-actions {
      margin-top: 10px;
    }
    .job-item-detail-block-title {
      margin-top: 12px;
    }
    .job-item .job-item-description-preview {
      font-size: 0.88rem;
      line-height: 1.65;
      color: var(--color-text);
      margin: 0 0 10px;
      padding-left: 12px;
      white-space: pre-wrap;
      word-break: break-word;
    }
    .job-item-description-preview-suffix {
      color: var(--color-text-light);
      font-weight: 600;
    }
    .job-badges {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-bottom: 10px;
    }
    .job-badge {
      display: inline-flex;
      align-items: center;
      padding: 4px 8px;
      border-radius: 999px;
      font-size: 0.78rem;
      font-weight: 700;
      background: #eff6ff;
      color: #1d4ed8;
    }
    /* スポット: 業務マッチチップのオレンジと区別するためスレート系 */
    .job-badge.spot {
      background: #e2e8f0;
      color: #334155;
    }
    .job-feature-list,
    .job-matching-list,
    .requirement-chip-list {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin: 8px 0 0;
    }
    .job-matching-list {
      padding-left: 12px;
    }
    .requirement-chip-list {
      margin-top: 6px;
      padding-left: 12px;
    }
    .job-matching-summary {
      margin-top: 10px;
    }
    .job-matching-heading {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 0.86rem;
      font-weight: 700;
      color: #334155;
      margin-bottom: 4px;
    }
    .job-feature-chip,
    .job-matching-chip,
    .requirement-chip {
      display: inline-flex;
      align-items: center;
      padding: 4px 8px;
      border-radius: 999px;
      font-size: 0.8rem;
      background: #f1f5f9;
      color: #334155;
    }
    /* 一致: 資格マッチチップの緑と区別（ティール系） */
    .requirement-chip.matched {
      background: #ccfbf1;
      color: #0f766e;
      border: 1px solid #5eead4;
    }
    .requirement-item-list {
      display: flex;
      flex-direction: column;
      gap: 10px;
      margin: 6px 0 0;
      padding-left: 12px;
    }
    .requirement-item {
      display: flex;
      flex-direction: column;
      gap: 4px;
    }
    .requirement-item-main {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 8px;
    }
    .requirement-state-badge {
      display: inline-flex;
      align-items: center;
      border-radius: 999px;
      padding: 3px 8px;
      font-size: 0.74rem;
      font-weight: 700;
      border: 1px solid transparent;
      white-space: nowrap;
    }
    .requirement-state-badge.match {
      background: #ccfbf1;
      color: #0f766e;
      border-color: #5eead4;
    }
    .requirement-state-badge.close {
      background: #e0e7ff;
      color: #3730a3;
      border-color: #a5b4fc;
    }
    /* 学習中・興味あり: ツールマッチチップの紫と区別（ローズ系） */
    .requirement-state-badge.learning {
      background: #ffe4e6;
      color: #9f1239;
      border-color: #fda4af;
    }
    .requirement-state-badge.missing {
      background: #f1f5f9;
      color: #475569;
      border-color: #cbd5e1;
    }
    .requirement-state-note {
      font-size: 0.8rem;
      color: #64748b;
      line-height: 1.5;
      padding-left: 4px;
    }
    .job-matching-note,
    .requirements-note {
      margin-top: 4px;
      padding-left: 12px;
      font-size: 0.9rem;
      color: var(--color-text-light);
      line-height: 1.6;
      white-space: pre-wrap;
    }
    .job-match-rate-card {
      display: inline-flex;
      align-items: baseline;
      gap: 10px;
      padding: 10px 12px;
      border-radius: 12px;
      border: 1px solid #93c5fd;
      background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 100%);
      box-shadow: 0 8px 20px rgba(37, 99, 235, 0.12);
      color: #1d4ed8;
      flex-shrink: 0;
    }
    .job-match-rate-label {
      font-size: 0.72rem;
      font-weight: 800;
      letter-spacing: 0.06em;
    }
    .job-match-rate-value {
      font-size: 1.25rem;
      font-weight: 800;
      line-height: 1;
    }
    .job-link-btn {
      display: inline-block;
      border: 1px solid #cbd5e1;
      border-radius: 6px;
      padding: 6px 10px;
      color: #0f172a;
      text-decoration: none;
      font-size: 0.85rem;
      background: #f8fafc;
    }
    .job-link-btn.primary-link {
      border-color: #2563eb;
      background: #2563eb;
      color: #fff;
    }
    .job-apply-btn {
      border: 1px solid #166534;
      border-radius: 6px;
      padding: 8px 12px;
      color: #ffffff;
      background: #15803d;
      font-size: 0.9rem;
      cursor: pointer;
    }
    .job-apply-btn:disabled {
      opacity: 0.6;
      cursor: not-allowed;
    }
    .job-apply-note {
      margin-top: 10px;
      font-size: 0.85rem;
      color: var(--color-text-light);
    }
    .job-action-links {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      align-items: center;
    }
    .job-detail-description {
      white-space: pre-wrap;
      line-height: 1.65;
      margin: 0;
    }
    .detail-block-title {
      margin: 12px 0 8px;
      font-size: 0.95rem;
      font-weight: 700;
      color: var(--color-text);
    }
    .job-detail-section {
      margin-top: 20px;
      padding-top: 16px;
      border-top: 1px solid #e5e7eb;
    }
    .job-detail-section-title {
      margin: 0 0 12px;
      font-size: 1.08rem;
      font-weight: 800;
      line-height: 1.4;
      color: var(--color-text);
    }
    .job-detail-subsection {
      margin-top: 14px;
      padding-left: 12px;
    }
    .job-detail-subsection:first-of-type {
      margin-top: 0;
    }
    .job-detail-subsection-title {
      margin: 0 0 6px;
      font-size: 0.92rem;
      font-weight: 700;
      line-height: 1.45;
      color: #334155;
    }
    .job-detail-section-body {
      padding-left: 12px;
      font-size: 0.94rem;
      line-height: 1.75;
      color: var(--color-text);
    }
    .job-detail-meta-labor-conditions {
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      gap: 10px;
      margin-bottom: 0;
      font-size: 0.9rem;
      color: var(--color-text);
    }
    .job-detail-condition-item {
      line-height: 1.65;
      padding-left: 12px;
    }
    .job-detail-condition-value {
      display: block;
      padding-left: 12px;
    }
    .job-detail-meta-labor-conditions .job-detail-meta-label {
      display: block;
      margin: 0 0 2px;
      color: #334155;
      font-size: 0.84rem;
    }
    .jobs-modal {
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.45);
      display: none;
      align-items: center;
      justify-content: center;
      z-index: 10000;
      padding: 16px;
    }
    .jobs-modal-content {
      width: min(520px, 100%);
      background: #fff;
      border-radius: 12px;
      border: 1px solid #e5e7eb;
      box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
      padding: 18px;
    }
    .jobs-modal-title {
      margin: 0 0 8px;
      font-size: 1.05rem;
      color: var(--color-text);
    }
    .jobs-modal-body {
      margin: 0;
      color: var(--color-text-light);
      line-height: 1.6;
      white-space: pre-wrap;
    }
    .jobs-modal-list {
      margin: 8px 0 0 16px;
      color: var(--color-text-light);
      line-height: 1.5;
    }
    .jobs-modal-actions {
      margin-top: 14px;
      display: flex;
      justify-content: flex-end;
      gap: 8px;
      flex-wrap: wrap;
    }
    .jobs-modal-btn {
      border: 1px solid #d1d5db;
      background: #f9fafb;
      color: var(--color-text);
      border-radius: 8px;
      padding: 8px 12px;
      cursor: pointer;
      font-size: 0.9rem;
    }
    .jobs-modal-btn.primary {
      border-color: #2563eb;
      background: #2563eb;
      color: #fff;
    }

    @media (max-width: 640px) {
      .jobs-page {
        padding: 16px;
      }

      .job-card-header,
      .job-detail-header {
        flex-direction: column;
      }

      .job-card-header .job-match-rate-card,
      .job-detail-header .job-match-rate-card {
        align-self: flex-start;
      }

      .jobs-profile-entry {
        align-items: stretch;
        padding: 12px;
      }

      .jobs-profile-entry-copy {
        width: 100%;
      }

      #jobs-profile-entry-link,
      .job-link-btn,
      .job-apply-btn,
      .jobs-modal-btn {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
      }

      .jobs-filter-actions,
      .job-action-links,
      .jobs-modal-actions {
        flex-direction: column;
        align-items: stretch;
      }
    }

/* Extracted from jobs/index.html style attributes */
.csp-jobs-1 {
  display: none;
}
.csp-jobs-2 {
  display:none;
}
