.ex-app {
  font-family: var(--font-sans, 'Plus Jakarta Sans', system-ui, sans-serif);
  color: #111815;
}
.ex-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.95fr);
  gap: 20px;
  align-items: start;
}
@media (max-width: 900px) { .ex-grid { grid-template-columns: 1fr; } }

.ex-card, .ex-result-card {
  background: #ffffff;
  border: 1px solid #dfe5de;
  border-radius: 16px;
  padding: 22px;
}
.ex-head { margin-bottom: 16px; }
.ex-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  color: #1b5e46;
  background: #e8f4ee;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}
.ex-head h2 { margin: 0; font-size: 18px; font-weight: 800; color: #111815; }

.ex-q { margin-bottom: 16px; }
.ex-q:last-child { margin-bottom: 0; }
.ex-q-lbl {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #111815;
  margin-bottom: 6px;
}
.ex-q-hint {
  margin: 0 0 8px;
  font-size: 12.5px;
  color: #5b6862;
  line-height: 1.45;
}
.ex-q select {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #cfd8d1;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
  font-family: inherit;
  color: #111815;
  background: #fcfdfb;
}
.ex-seg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.ex-seg-btn {
  border: 1px solid #cfd8d1;
  background: #f8faf7;
  color: #3d4c45;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
}
.ex-seg-btn.is-active {
  background: #14332b;
  color: #ffffff;
  border-color: #14332b;
}

.ex-result-col { position: sticky; top: 84px; }
.ex-result-card {
  box-shadow: 0 12px 30px rgba(17, 24, 21, 0.06);
  border-width: 2px;
}
.ex-result-card.is-exempt { border-color: #1b5e46; }
.ex-result-card.is-notice { border-color: #d97706; }
.ex-result-card.is-required { border-color: #b91c1c; }

.ex-status-pill {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 4px 11px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.is-exempt .ex-status-pill { background: #e8f4ee; color: #14332b; }
.is-notice .ex-status-pill { background: #fef7e6; color: #7c4a03; }
.is-required .ex-status-pill { background: #fee2e2; color: #991b1b; }

.ex-result-title { margin: 0 0 8px; font-size: 20px; font-weight: 800; line-height: 1.25; }
.ex-result-summary { margin: 0 0 14px; font-size: 14.5px; color: #3d4c45; line-height: 1.6; }

.ex-rule-box {
  background: #f4f7f4;
  border: 1px solid #dfe5de;
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 16px;
}
.ex-rule-lbl { font-size: 12px; font-weight: 800; color: #1b5e46; letter-spacing: 0.04em; }
.ex-rule-val { font-size: 13.5px; font-weight: 600; color: #111815; margin-top: 3px; }

.ex-still-req h4 { margin: 0 0 8px; font-size: 14px; font-weight: 800; color: #111815; }
.ex-still-req ul {
  margin: 0 0 18px;
  padding-left: 18px;
  font-size: 13.5px;
  color: #3d4c45;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.ex-cta-group { display: flex; flex-direction: column; gap: 8px; }
.ex-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
}
.ex-btn-primary { background: #14332b; color: #ffffff; }
.ex-btn-primary:hover { background: #1b5e46; }
.ex-btn-outline { background: #ffffff; color: #14332b; border-color: #cfd8d1; }
.ex-btn-outline:hover { border-color: #14332b; }

.ex-legal-note {
  margin: 14px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: #64736c;
}
