.ct30-selector-wrap {
  --ct30-green: #1f8f49;
  --ct30-green-dark: #126834;
  --ct30-green-soft: #eaf7ef;
  --ct30-border: #dfe7e2;
  --ct30-text: #183028;
  --ct30-muted: #66746d;
  --ct30-bg: #ffffff;
  --ct30-radius: 22px;
  max-width: 1120px;
  margin: 36px auto;
  padding: 0 18px;
  color: var(--ct30-text);
  font-family: inherit;
}

.ct30-selector-wrap * { box-sizing: border-box; }

.ct30-hero {
  background: linear-gradient(135deg, #f4fbf6 0%, #ffffff 58%, #e5f5eb 100%);
  border: 1px solid var(--ct30-border);
  border-radius: 28px;
  padding: clamp(24px, 4vw, 44px);
  box-shadow: 0 18px 45px rgba(20, 60, 42, .08);
  margin-bottom: 18px;
}

.ct30-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--ct30-green-soft);
  color: var(--ct30-green-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.ct30-hero h2 {
  margin: 16px 0 10px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--ct30-text);
}

.ct30-hero p {
  margin: 0;
  max-width: 760px;
  color: var(--ct30-muted);
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.6;
}

.ct30-control-card {
  display: grid;
  grid-template-columns: minmax(160px, 220px) 1fr;
  gap: 14px 18px;
  align-items: center;
  background: var(--ct30-bg);
  border: 1px solid var(--ct30-border);
  border-radius: var(--ct30-radius);
  padding: 18px;
  margin-bottom: 18px;
  box-shadow: 0 10px 28px rgba(20, 60, 42, .06);
}

.ct30-control-card label {
  margin: 0;
  font-weight: 800;
  color: var(--ct30-text);
}

.ct30-select {
  width: 100%;
  min-height: 52px;
  padding: 0 18px;
  border: 1px solid #cdd9d2;
  border-radius: 16px;
  background: #fff;
  color: var(--ct30-text);
  font-size: 16px;
  outline: none;
}

.ct30-select:focus {
  border-color: var(--ct30-green);
  box-shadow: 0 0 0 4px rgba(31, 143, 73, .14);
}

.ct30-mini-note {
  grid-column: 2;
  margin-top: -6px;
  color: var(--ct30-muted);
  font-size: 13px;
}

.ct30-result {
  background: var(--ct30-bg);
  border: 1px solid var(--ct30-border);
  border-radius: 28px;
  padding: clamp(18px, 3vw, 30px);
  box-shadow: 0 18px 45px rgba(20, 60, 42, .08);
}

.ct30-result-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--ct30-border);
}

.ct30-code {
  display: inline-flex;
  min-width: 58px;
  justify-content: center;
  padding: 7px 11px;
  border-radius: 12px;
  background: var(--ct30-green);
  color: #fff;
  font-weight: 900;
  font-size: 14px;
  letter-spacing: .02em;
}

.ct30-result-head h3 {
  margin: 12px 0 8px;
  color: var(--ct30-text);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.ct30-result-head p {
  margin: 0;
  color: var(--ct30-muted);
  line-height: 1.55;
  font-size: 16px;
  max-width: 740px;
}

.ct30-category {
  flex: 0 0 auto;
  max-width: 220px;
  padding: 10px 14px;
  border-radius: 16px;
  background: #f7faf8;
  border: 1px solid var(--ct30-border);
  color: var(--ct30-green-dark);
  font-weight: 800;
  font-size: 13px;
  line-height: 1.35;
  text-align: right;
}

.ct30-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 22px;
}

.ct30-panel {
  border: 1px solid var(--ct30-border);
  border-radius: 20px;
  padding: 20px;
  background: #fff;
}

.ct30-panel-wide { grid-column: 1 / -1; }

.ct30-panel h4 {
  margin: 0 0 14px;
  color: var(--ct30-text);
  font-size: 18px;
  line-height: 1.25;
}

.ct30-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.ct30-panel li {
  position: relative;
  padding-left: 22px;
  color: #33463d;
  line-height: 1.5;
}

.ct30-panel li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .62em;
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--ct30-green);
}

.ct30-access-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.ct30-access-row {
  border: 1px solid var(--ct30-border);
  border-radius: 18px;
  padding: 16px;
  background: #fbfdfb;
}

.ct30-access-row.is-yes { border-color: #b7dec5; background: #f2fbf5; }
.ct30-access-row.is-limit { border-color: #e6d6a8; background: #fffaf0; }
.ct30-access-row.is-no { border-color: #efc2c2; background: #fff6f6; }

.ct30-access-title {
  font-weight: 900;
  margin-bottom: 10px;
  color: var(--ct30-text);
}

.ct30-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  padding: 5px 10px;
  font-weight: 900;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .03em;
  margin-bottom: 10px;
  background: #eef2ef;
}

.is-yes .ct30-pill { color: #126834; background: #dff4e6; }
.is-limit .ct30-pill { color: #8b6508; background: #fff0c2; }
.is-no .ct30-pill { color: #a73737; background: #ffe1e1; }

.ct30-access-row p {
  margin: 0;
  color: #45574f;
  font-size: 14px;
  line-height: 1.5;
}

.ct30-alert {
  margin-top: 18px;
  border-radius: 18px;
  padding: 16px 18px;
  background: #edf8f0;
  border: 1px solid #cde9d5;
  color: #203d31;
  line-height: 1.55;
}

.ct30-footer-note {
  margin-top: 14px;
  color: var(--ct30-muted);
  font-size: 13px;
  line-height: 1.5;
}

.ct30-empty {
  padding: 24px;
  color: var(--ct30-muted);
}

@media (max-width: 860px) {
  .ct30-control-card { grid-template-columns: 1fr; }
  .ct30-mini-note { grid-column: 1; }
  .ct30-result-head { flex-direction: column; }
  .ct30-category { max-width: none; text-align: left; }
  .ct30-grid { grid-template-columns: 1fr; }
  .ct30-access-list { grid-template-columns: 1fr; }
}
