/* Fas 2 — trust row, spara/jämför, kategori-guider */

.quote-trust-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 0.75rem;
  margin: 0.5rem 0 0.75rem;
  padding: 0.5rem 0.75rem;
  background: #f8fafc;
  border-radius: 8px;
  font-size: 0.78rem;
  color: #64748b;
}

.quote-trust-row--compact {
  background: transparent;
  padding: 0.25rem 0;
  margin: 0.35rem 0 0.5rem;
}

.quote-trust-row-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
}

.quote-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.quote-trust-item i,
.quote-trust-item svg {
  width: 14px;
  height: 14px;
}

.quote-trust-verified {
  color: #059669;
  font-weight: 600;
}

.quote-trust-rating {
  color: #b45309;
}

.quote-trust-response {
  color: #0369a1;
}

.quote-trust-jobs {
  color: #5b21b6;
}

.quote-trust-profile-link {
  background: none;
  border: none;
  color: #4f46e5;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
}

.quote-meeting-btn .quote-meeting-label {
  white-space: nowrap;
}

.quote-save-btn--saved {
  color: #b45309 !important;
  border-color: #fcd34d !important;
  background: #fffbeb !important;
}

.quote-card-company-row {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid #e2e8f0;
}

.quote-card-company-row .quote-company-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.quote-card-company-name {
  font-weight: 600;
  color: #1e293b;
}

.saved-quotes-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 1rem 0;
  padding: 0.75rem 1rem;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  border: 1px solid #93c5fd;
  border-radius: 10px;
  font-size: 0.9rem;
}

.quote-compare-page {
  padding: 0.5rem 0 2rem;
}

.quote-compare-header h2 {
  margin: 0.5rem 0 1rem;
  font-size: 1.35rem;
}

.quote-compare-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #4f46e5;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
}

.quote-compare-table-wrap {
  overflow: visible;
  margin-top: 1.25rem;
}

.quote-compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.quote-compare-table th,
.quote-compare-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #e2e8f0;
  text-align: left;
  vertical-align: top;
}

.quote-compare-table th {
  background: #f8fafc;
  font-weight: 600;
  color: #475569;
}

.quote-compare-company {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.quote-compare-company .company-logo-fallback,
.quote-compare-company img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  flex-shrink: 0;
}

.quote-compare-price {
  font-weight: 700;
  color: #0f766e;
  white-space: nowrap;
  overflow: visible;
  position: relative;
}

.quote-compare-price-value {
  font-size: 1.05rem;
}

.quote-compare-price-caption {
  display: inline-flex;
  margin-top: 0.15rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: #64748b;
  text-transform: none;
  white-space: normal;
}

.quote-compare-tip-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  cursor: help;
  border-bottom: 1px dotted #94a3b8;
}

.quote-compare-tip {
  position: absolute;
  left: 0;
  top: calc(100% + 0.4rem);
  z-index: 45;
  width: max-content;
  max-width: min(16rem, 70vw);
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  background: #0f172a;
  color: #f8fafc;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.4;
  white-space: normal;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.18);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(2px);
  transition: opacity 0.12s ease, transform 0.12s ease, visibility 0.12s;
}

.quote-compare-tip-trigger:hover .quote-compare-tip,
.quote-compare-tip-trigger:focus-within .quote-compare-tip {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.quote-compare-rot {
  white-space: nowrap;
  font-size: 0.85rem;
}

.quote-compare-rot-value {
  display: block;
  font-weight: 700;
  color: #b45309;
}

.quote-compare-rot-type {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  color: #92400e;
}

.quote-compare-rot-empty {
  color: #94a3b8;
}

.quote-compare-summary--inline .quote-compare-diff {
  margin-bottom: 0;
}

.quote-compare-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
  min-width: 11.5rem;
}

.quote-compare-actions-main {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.4rem;
}

.quote-save-btn--icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
  color: #64748b;
  cursor: pointer;
  flex-shrink: 0;
}

.quote-save-btn--icon:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
  color: #0f172a;
}

.quote-save-btn--icon.quote-save-btn--saved {
  border-color: #fde68a;
  background: #fffbeb;
  color: #b45309;
}

.quote-save-btn--icon i,
.quote-save-btn--icon svg {
  width: 1rem;
  height: 1rem;
}

.quote-compare-btn-review {
  border: 1px solid #cbd5e1 !important;
  background: #fff !important;
  color: #0f172a !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  padding: 0.45rem 0.85rem !important;
  min-height: 2.25rem;
}

.quote-compare-btn-review:hover {
  background: #f8fafc !important;
  border-color: #94a3b8 !important;
}

.quote-compare-btn-accept {
  border: none !important;
  background: #059669 !important;
  color: #fff !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  padding: 0.45rem 0.95rem !important;
  min-height: 2.25rem;
}

.quote-compare-btn-accept:hover {
  background: #047857 !important;
}

.quote-compare-reject-link {
  appearance: none;
  border: none;
  background: transparent;
  color: #94a3b8;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.1rem 0.15rem;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.quote-compare-reject-link:hover {
  color: #b91c1c;
}

.quote-compare-empty {
  text-align: center;
  padding: 3rem 1.5rem;
  color: #64748b;
}

.quote-compare-empty h2 {
  color: #1e293b;
}

.category-guides-widget .category-guides-tips {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.category-guides-articles {
  margin-bottom: 1rem;
}

.category-guides-articles-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #64748b;
  margin: 0 0 0.5rem;
}

.category-guide-article-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
  color: #4f46e5;
  text-decoration: none;
  font-size: 0.875rem;
}

.category-guides-cta {
  margin-top: 0.5rem;
}

.is-hidden-compare {
  display: none !important;
}

/* Fas 3 — prisrimlighet, fler offerter */

.quote-price-label {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  cursor: help;
  max-width: 100%;
}

.quote-price-label i,
.quote-price-label svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

.quote-price-label-text {
  line-height: 1.2;
}

.quote-price-label-tip {
  position: absolute;
  left: 0;
  top: calc(100% + 0.4rem);
  z-index: 40;
  width: max-content;
  max-width: min(16rem, 70vw);
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  background: #0f172a;
  color: #f8fafc;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.4;
  white-space: normal;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.18);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(2px);
  transition: opacity 0.12s ease, transform 0.12s ease, visibility 0.12s;
}

.quote-price-label-tip::before {
  content: '';
  position: absolute;
  left: 0.9rem;
  top: -4px;
  width: 8px;
  height: 8px;
  background: #0f172a;
  transform: rotate(45deg);
}

.quote-price-label:hover .quote-price-label-tip,
.quote-price-label:focus-within .quote-price-label-tip,
.quote-price-label.is-tip-open .quote-price-label-tip {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.quote-price-label--within {
  background: #ecfdf5;
  color: #047857;
}

.quote-price-label--below {
  background: #eff6ff;
  color: #1d4ed8;
}

.quote-price-label--above {
  background: #fff7ed;
  color: #c2410c;
}

.quote-price-label--compact {
  font-size: 0.7rem;
  padding: 0.15rem 0.4rem;
}

.quote-compare-price-assessment {
  min-width: 8rem;
  overflow: visible;
  position: relative;
}

.quote-compare-table,
.quote-compare-table td,
.quote-compare-table tr {
  overflow: visible;
}

.recommended-quote-price-label {
  margin-top: 0.5rem;
}

.more-quotes-prompt {
  margin-bottom: 1rem;
}

.more-quotes-prompt-inner {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
  border: 1px solid #e2e8f0;
  border-radius: 12px;
}

.more-quotes-prompt-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 10px;
  color: #4f46e5;
}

.more-quotes-prompt-icon i,
.more-quotes-prompt-icon svg {
  width: 20px;
  height: 20px;
}

.more-quotes-prompt-body h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  color: #1e293b;
}

.more-quotes-prompt-body p {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  color: #64748b;
}

@media (max-width: 768px) {
  /* Compare: kortstack i stället för bred tabell */
  .quote-compare-table-wrap {
    overflow-x: visible;
    margin-top: 1rem;
  }

  .quote-compare-table,
  .quote-compare-table tbody {
    display: block;
    width: 100%;
  }

  .quote-compare-table thead {
    display: none;
  }

  .quote-compare-table tr {
    display: block;
    width: 100%;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.875rem 1rem;
    margin-bottom: 0.75rem;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  }

  .quote-compare-table td {
    display: block;
    width: 100%;
    padding: 0.35rem 0;
    border: none;
  }

  .quote-compare-table td[data-label]:not([data-label=""])::before {
    content: attr(data-label);
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #94a3b8;
    margin-bottom: 0.15rem;
  }

  .quote-compare-table td.quote-compare-price {
    font-size: 1.15rem;
    padding-top: 0.5rem;
  }

  .quote-compare-price-caption {
    display: none;
  }

  .quote-compare-price-assessment {
    min-width: 0;
  }

  .quote-compare-actions {
    align-items: stretch;
    margin-top: 0.5rem;
    padding-top: 0.65rem;
    border-top: 1px solid #f1f5f9;
    min-width: 0;
  }

  .quote-compare-actions-main {
    width: 100%;
    justify-content: stretch;
  }

  .quote-compare-actions-main .quote-compare-btn-review,
  .quote-compare-actions-main .quote-compare-btn-accept {
    flex: 1;
    min-height: 44px;
    justify-content: center;
  }

  .quote-compare-reject-link {
    align-self: center;
    min-height: 36px;
    padding: 0.35rem 0.5rem;
  }

  .quote-meeting-btn .quote-meeting-label {
    font-size: 0.75rem;
  }

  .more-quotes-prompt-inner {
    flex-direction: column;
    gap: 0.75rem;
  }
}

/* Fas 4 — dashboard widgets */

.saved-quotes-dashboard-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.saved-quotes-dashboard-card {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.875rem 1rem;
  background: #fff;
}

.saved-quotes-dashboard-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.saved-quotes-count {
  font-size: 0.75rem;
  color: #64748b;
  background: #f1f5f9;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
}

.saved-quotes-preview {
  margin: 0 0 0.75rem;
  padding-left: 1.1rem;
  font-size: 0.8125rem;
  color: #64748b;
}

.sign-pending-note {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  color: #64748b;
  margin: 0 0 0.75rem;
  padding: 0.5rem 0.75rem;
  background: #f8fafc;
  border-radius: 8px;
}

.sign-pending-list,
.review-reminder-list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.sign-pending-card,
.review-reminder-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 0.875rem;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
}

.sign-pending-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.sign-pending-card-body span {
  font-size: 0.8125rem;
  color: #64748b;
}

.review-reminder-card p {
  margin: 0.15rem 0 0;
  font-size: 0.8125rem;
  color: #64748b;
}

.invitation-status-list-wrap {
  margin-top: 0.875rem;
  padding-top: 0.875rem;
  border-top: 1px solid #e2e8f0;
}

.invitation-status-heading {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #475569;
  margin: 0 0 0.5rem;
}

.invitation-status-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.invitation-status-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.8125rem;
}

.invitation-status-badge {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
}

.inv-status-viewed .invitation-status-badge { background: #eff6ff; color: #1d4ed8; }
.inv-status-accepted .invitation-status-badge { background: #ecfdf5; color: #047857; }
.inv-status-declined .invitation-status-badge { background: #fef2f2; color: #b91c1c; }

.invitation-time {
  font-size: 0.72rem;
  color: #94a3b8;
}

.active-project-card-v2 {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 0.875rem;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  margin-bottom: 0.625rem;
  text-decoration: none;
  color: inherit;
  background: #fff;
  transition: box-shadow 0.15s;
}

.active-project-card-v2:hover {
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.active-project-title {
  font-weight: 600;
  font-size: 0.9rem;
  color: #111;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.active-project-meta {
  font-size: 0.78rem;
  color: #6b7280;
  margin-top: 0.15rem;
}

.active-project-next-step {
  margin-top: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
}

.active-project-next-step--action { color: #059669; }
.active-project-next-step--sign { color: #7c3aed; }
.active-project-next-step--waiting { color: #d97706; }
.active-project-next-step--done { color: #64748b; }

.active-project-badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  white-space: nowrap;
}

.active-project-badge--quotes { background: #ecfdf5; color: #065f46; }
.active-project-badge--waiting { background: #f3f4f6; color: #9ca3af; }

.meeting-soon-banner,
.meeting-action-banner {
  border-radius: 10px;
  padding: 0.875rem;
  margin-bottom: 0.75rem;
}

.meeting-soon-banner {
  background: linear-gradient(135deg, #eef2ff 0%, #f5f3ff 100%);
  border: 1px solid #c7d2fe;
}

.meeting-action-banner {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
  background: #fffbeb;
  border: 1px solid #fcd34d;
}

a.meeting-action-banner--link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
}

a.meeting-action-banner--link:hover {
  border-color: #f59e0b;
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.15);
}

a.meeting-action-banner--link .meeting-action-btn {
  pointer-events: none;
  text-align: center;
}

.meeting-action-banner-body {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  min-width: 0;
}

.meeting-action-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  color: #d97706;
  margin-top: 0.125rem;
}

.meeting-action-copy {
  flex: 1;
  min-width: 0;
}

.meeting-action-copy strong {
  display: block;
  font-size: 0.875rem;
  line-height: 1.35;
  color: #92400e;
}

.meeting-action-btn {
  align-self: flex-start;
  flex-shrink: 0;
  max-width: 100%;
}

.meeting-soon-banner .btn {
  align-self: flex-start;
}

.meeting-soon-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #4338ca;
  margin-bottom: 0.25rem;
}

.meeting-soon-banner p,
.meeting-action-banner p {
  margin: 0.15rem 0 0.5rem;
  font-size: 0.8125rem;
  color: #64748b;
}

.meeting-card-v2 {
  background: #fff;
  border-radius: 8px;
  padding: 0.875rem;
  margin-bottom: 0.625rem;
  border: 1px solid #e2e8f0;
}

.meeting-card-v2--soon {
  border-color: #a5b4fc;
  background: #fafaff;
}

.meeting-card-v2-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.meeting-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.meeting-soon-tag {
  font-size: 0.68rem;
  font-weight: 700;
  color: #4338ca;
  background: #eef2ff;
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
}

.meeting-card-v2-body {
  font-size: 0.875rem;
  color: var(--text-secondary, #475569);
  margin: 0 0 0 1.25rem;
}

.meeting-card-v2-body span {
  font-size: 0.8125rem;
  color: var(--text-muted, #94a3b8);
}

.recent-updates-filter-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #dc2626;
  margin: 0 0 0.5rem;
}

.hdh-review-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.hdh-review-modal {
  background: #fff;
  border-radius: 14px;
  width: 100%;
  max-width: 520px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.hdh-review-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
}

.hdh-review-modal-header h2 {
  margin: 0 0 0.25rem;
  font-size: 1.25rem;
}

.hdh-review-modal-header p {
  margin: 0;
  opacity: 0.9;
  font-size: 0.875rem;
}

.hdh-review-close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.25rem;
}

.hdh-review-modal-body {
  padding: 1.25rem 1.5rem;
}

.hdh-review-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.hdh-review-label .required {
  color: #dc2626;
}

.hdh-review-stars {
  display: flex;
  gap: 0.35rem;
  justify-content: center;
  margin-bottom: 0.35rem;
}

.hdh-review-star {
  background: none;
  border: none;
  font-size: 1.75rem;
  color: #d1d5db;
  cursor: pointer;
  padding: 0.15rem;
}

.hdh-review-star.active {
  color: #f59e0b;
}

.hdh-review-rating-text {
  text-align: center;
  color: #64748b;
  font-size: 0.875rem;
  margin: 0 0 1rem;
}

.hdh-review-textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font: inherit;
  resize: vertical;
}

.hdh-review-hint {
  display: block;
  margin-top: 0.35rem;
  color: #94a3b8;
  font-size: 0.8125rem;
}

.hdh-review-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  padding: 0 1.5rem 1.25rem;
}

/* —— Aktivitetsflöde: badge i rubrik, vänsterställda knappar —— */
.activity-header-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  min-width: 0;
  flex: 1;
}

.activity-header-main h4 {
  margin: 0;
}

.activity-status-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
  line-height: 1.2;
}

.activity-status-badge.badge-new {
  background: #1e293b;
  color: #fff;
}

.activity-status-badge.badge-pending {
  background: #f59e0b;
  color: #fff;
}

.activity-actions {
  justify-content: flex-start;
}

.btn-primary-action {
  width: auto;
  max-width: 100%;
}

/* —— Kategori-guider / Läs mer —— */
.category-guides-widget .category-guides-tips {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.category-guides-widget .tip-item {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  padding: 0.625rem 0.75rem;
  background: #f8fafc;
  border-radius: 8px;
}

.category-guides-widget .tip-item i,
.category-guides-widget .tip-item svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: #4f46e5;
}

.category-guides-widget .tip-item span {
  flex: 1;
  min-width: 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: #475569;
}

.category-guides-articles {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0 0 0.875rem;
}

.category-guides-articles-label {
  margin: 0 0 0.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
}

.category-guide-article-link {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.5rem 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: #4f46e5;
  text-decoration: none;
  border-bottom: 1px solid #f1f5f9;
}

.category-guide-article-link:last-child {
  border-bottom: none;
}

.category-guide-article-link:hover {
  color: #4338ca;
}

.category-guide-article-link i,
.category-guide-article-link svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.category-guide-article-link span,
.category-guides-widget .category-guide-article-link {
  word-break: break-word;
}

.category-guides-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.25rem;
}

.category-guides-cta i,
.category-guides-cta svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .activity-card {
    flex-direction: row;
    align-items: flex-start;
  }

  .activity-header {
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
  }

  .activity-time {
    margin-left: 0;
  }

  .btn-primary-action {
    width: auto;
    justify-content: flex-start;
  }
}

/* ProjectReachCard (Fas 3) */
.project-reach-card {
  margin-top: 0.75rem;
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
}

.project-reach-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.project-reach-card__header h4 {
  margin: 0;
  font-size: 0.95rem;
}

.project-reach-card__badge {
  font-size: 0.75rem;
  font-weight: 600;
  color: #4f46e5;
  background: #eef2ff;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
}

.project-reach-card__radius {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
}

.project-reach-card__progress {
  height: 8px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.project-reach-card__progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #4f46e5, #6366f1);
  border-radius: 999px;
}

.project-reach-card__quotes,
.project-reach-card__note {
  margin: 0.25rem 0;
  font-size: 0.8125rem;
  color: #64748b;
}

.project-reach-card__expand {
  margin-top: 0.75rem;
}

.project-reach-card--paused {
  border-color: #fcd34d;
  background: #fffbeb;
}
