@import url(https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;500;600;700;800&display=swap);
:host {
  --color-brand-950: #062e24;
  --color-brand-900: #0b4d3c;
  --color-brand-800: #0f6b57;
  --color-brand-700: #138a72;
  --color-brand-600: #16a085;
  --color-brand-500: #1abc9c;
  --color-brand-400: #33c3af;
  --color-brand-300: #66d2c3;
  --color-brand-200: #99e1d7;
  --color-brand-100: #ccf0eb;
  --color-brand-50: #e6f7f5;

  --color-neutral-950: #0a0c0d;
  --color-neutral-900: #141719;
  --color-neutral-800: #1f2326;
  --color-neutral-700: #2e3337;
  --color-neutral-600: #4a545b;
  --color-neutral-500: #6b7780;
  --color-neutral-400: #9ba7ae;
  --color-neutral-300: #d1d8dc;
  --color-neutral-200: #e8ecee;
  --color-neutral-100: #f2f3f4;
  --color-neutral-70: #f7f7f7;
  --color-neutral-50: #fafbfb;
  --color-surface-white: #ffffff;

  --color-surface-soft: var(--color-brand-50);
  --color-surface-soft-strong: var(--color-brand-100);
  --color-surface-danger-soft: #ffefef;
  --color-border-soft: var(--color-neutral-200);
  --color-border-brand: rgba(26, 188, 156, 0.18);
  --color-border-danger-soft: #ffdfdf;

  --color-text-strong: var(--color-neutral-950);
  --color-text-default: var(--color-neutral-800);
  --color-text-muted: var(--color-neutral-600);
  --color-text-subtle: var(--color-neutral-500);
  --color-text-on-brand: var(--color-surface-white);

  --color-success: var(--color-brand-600);
  --color-danger: #d64545;
  --color-danger-strong: #ff7777;

  --shadow-soft:
    0 10px 26px rgba(20, 23, 25, 0.06),
    0 4px 10px rgba(20, 23, 25, 0.04);
  --shadow-button:
    0 10px 20px rgba(26, 188, 156, 0.18),
    0 2px 6px rgba(20, 23, 25, 0.08);

  --radius-card-lg: 28px;
  --radius-card-md: 22px;
  --radius-card-sm: 18px;
  --radius-pill: 999px;

  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 40px;
  --space-6: 48px;
  --space-7: 56px;
  --space-8: 64px;

  --font-family-base: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-family-brand: "Be Vietnam Pro", var(--font-family-base);
  --font-size-display: clamp(2.4rem, 4vw, 4.5rem);
  --font-size-h1: clamp(2rem, 3.2vw, 3.25rem);
  --font-size-h2: clamp(1.75rem, 2.6vw, 2.5rem);
  --font-size-h3: 1.375rem;
  --font-size-body-lg: 1.125rem;
  --font-size-body: 1rem;
  --font-size-body-sm: 0.9375rem;
  --font-size-caption: 0.8125rem;

  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-black: 800;
}

:host {
  color: var(--color-text-default);
  font-family: var(--font-family-base);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--color-text-default);
  font-family: var(--font-family-base);
}

button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: inherit;
}

.ksef-problem-cards-section {
  display: grid;
  gap: 1.25rem;
  width: 100%;
  color: var(--color-text-default);
  font-family: var(--font-family-brand);
}

.ksef-problem-cards-section__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.ksef-problem-cards-section__grid--single-column {
  grid-template-columns: minmax(0, 1fr);
}

.ksef-problem-cards-section__card {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  min-width: 0;
  padding: 1.5rem;
  border: 1px solid var(--color-border-soft);
  border-radius: 1rem;
  background: var(--color-surface-white);
  box-shadow:
    0 39px 79px rgba(0, 0, 0, 0.03),
    0 7px 10px rgba(0, 0, 0, 0.04);
}

.ksef-problem-cards-section__icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 3rem;
  height: 3rem;
  padding: 0.25rem;
  border-radius: 0.75rem;
  background: var(--color-surface-soft);
  color: var(--color-brand-600);
}

.ksef-problem-cards-section__icon-wrap--green {
  background: var(--color-surface-soft);
}

.ksef-problem-cards-section__icon-wrap--red {
  background: var(--color-surface-danger-soft);
}

.ksef-problem-cards-section__icon,
.ksef-problem-cards-section__info-icon {
  flex: 0 0 auto;
}

.ksef-problem-cards-section__icon--green,
.ksef-problem-cards-section__info-icon--green {
  color: var(--color-brand-600);
}

.ksef-problem-cards-section__icon--red,
.ksef-problem-cards-section__info-icon--red {
  color: var(--color-danger-strong);
}

.ksef-problem-cards-section__content {
  display: grid;
  gap: 1.3125rem;
  min-width: 0;
  flex: 1 1 auto;
}

.ksef-problem-cards-section__copy {
  display: grid;
  gap: 0.25rem;
}

.ksef-problem-cards-section__title,
.ksef-problem-cards-section__description,
.ksef-problem-cards-section__bullet,
.ksef-problem-cards-section__footer-text,
.ksef-problem-cards-section__mini-item-text,
.ksef-problem-cards-section__info-text {
  margin: 0;
}

.ksef-problem-cards-section__title {
  color: var(--color-text-strong);
  font-size: 1.125rem;
  font-weight: var(--font-weight-bold);
  line-height: 1.35;
}

.ksef-problem-cards-section__description,
.ksef-problem-cards-section__bullet,
.ksef-problem-cards-section__footer-text,
.ksef-problem-cards-section__mini-item-text {
  color: var(--color-text-muted);
  font-size: var(--font-size-body-sm);
  font-weight: var(--font-weight-regular);
  line-height: 1.55;
}

.ksef-problem-cards-section__bullets {
  display: grid;
  gap: 0.5rem;
}

.ksef-problem-cards-section__mini-items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
}

.ksef-problem-cards-section__mini-item {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  min-width: 0;
}

.ksef-problem-cards-section__mini-item-icon {
  color: var(--color-text-muted);
}

.ksef-problem-cards-section__info-bar {
  display: inline-flex;
  align-items: center;
  justify-self: center;
  gap: 0.375rem;
  min-width: 0;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-brand-200);
  border-radius: 0.75rem;
  background: var(--color-surface-soft);
  color: var(--color-text-muted);
}

.ksef-problem-cards-section__info-bar--green {
  border-color: var(--color-brand-200);
  background: var(--color-surface-soft);
}

.ksef-problem-cards-section__info-bar--red {
  border-color: var(--color-border-danger-soft);
  background: var(--color-surface-danger-soft);
}

.ksef-problem-cards-section__info-text {
  color: inherit;
  font-size: 1rem;
  font-weight: var(--font-weight-regular);
  line-height: 1.5;
}

@media (max-width: 720px) {
  .ksef-problem-cards-section__card {
    gap: 1rem;
    padding: 1.25rem;
  }

  .ksef-problem-cards-section__icon-wrap {
    width: 2.75rem;
    height: 2.75rem;
  }

  .ksef-problem-cards-section__content {
    gap: 1rem;
  }
}

@media (max-width: 520px) {
  .ksef-problem-cards-section__card {
    padding: 1.125rem;
  }

  .ksef-problem-cards-section__title {
    font-size: 1.0625rem;
  }

  .ksef-problem-cards-section__description,
  .ksef-problem-cards-section__bullet,
  .ksef-problem-cards-section__footer-text,
  .ksef-problem-cards-section__mini-item-text {
    font-size: 0.875rem;
  }

  .ksef-problem-cards-section__info-bar {
    justify-self: stretch;
    width: 100%;
  }

  .ksef-problem-cards-section__info-text {
    font-size: 0.9375rem;
  }
}

