.yc-hero { margin-bottom: 2rem; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,0.05); }
.yc-hero__img { width: 100%; height: auto; display: block; }
.yc-tool {
  --yc-ink: #193036;
  --yc-muted: #53686d;
  --yc-brand: #1e6b62;
  --yc-brand-dark: #125249;
  --yc-pale: #eaf6f2;
  --yc-line: #cfdfdb;
  --yc-accent: #d96754;
  --yc-alert: #fff9e6;
  max-width: 860px;
  margin: 2rem auto;
  color: var(--yc-ink);
  border: 1px solid var(--yc-line);
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(25,48,54,.08);
}
.yc-tool__intro { padding: 2rem 2rem 1.2rem; background: linear-gradient(135deg, #eef9f5 0%, #fff 100%); }
.yc-tool__eyebrow { margin: 0 0 .35rem; color: var(--yc-brand-dark); font-size: .8rem; font-weight: 800; letter-spacing: .09em; }
.yc-tool__intro h2 { margin: 0 0 .6rem; font-size: clamp(1.55rem, 4vw, 2.25rem); line-height: 1.35; }
.yc-tool__intro p:last-child { margin-bottom: 0; color: var(--yc-muted); }
.yc-tool__notice { margin: 1.5rem 2rem 0; padding: 1rem 1.1rem; border-left: 5px solid #d4aa32; border-radius: 8px; background: var(--yc-alert); color: #5b4d1e; font-size: .92rem; line-height: 1.75; }
.yc-form { padding: 1.5rem 2rem 2rem; }
.yc-form fieldset { min-width: 0; margin: 0 0 2rem; padding: 0 0 1.5rem 0; border: none; border-radius: 12px; background: #ffffff; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04); overflow: hidden; }
.yc-form legend { width: 100%; margin: 0 0 1.25rem; padding: 1rem 1.5rem; background: var(--yc-brand); color: #ffffff; font-size: 1.1rem; font-weight: 800; box-sizing: border-box; }
.yc-form .yc-grid, .yc-form .yc-form__hint, .yc-form .yc-field { padding: 0 1.5rem; }
.yc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.yc-grid--children { grid-template-columns: 1fr 1fr; max-width: 500px; }
.yc-field { display: grid; gap: .35rem; }
.yc-field label { font-weight: 700; font-size: .95rem; }
.yc-field input, .yc-field select { width: 100%; min-height: 52px; padding: .75rem 1rem; border: 2px solid var(--yc-line); border-radius: 8px; background: #fafcfc; color: var(--yc-ink); font: inherit; font-size: 1rem; transition: all 0.2s ease; }
.yc-field input:hover, .yc-field select:hover { background: #fff; border-color: #aabfba; }
.yc-field input:focus, .yc-field select:focus { border-color: var(--yc-brand); outline: none; background: #fff; box-shadow: 0 0 0 4px rgba(30,107,98,.15); }
.yc-field small, .yc-form__hint { color: var(--yc-muted); font-size: .82rem; line-height: 1.55; }
.yc-form__hint { margin: .85rem 0 0; }
.yc-form__actions { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.yc-button { min-height: 56px; padding: 1rem 1.5rem; border: none; border-radius: 999px; background: linear-gradient(135deg, var(--yc-brand) 0%, var(--yc-brand-dark) 100%); color: #fff; cursor: pointer; font: inherit; font-size: 1.1rem; font-weight: 800; box-shadow: 0 8px 20px rgba(30,107,98,.25); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.yc-button:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(30,107,98,.35); }
.yc-reset { border: 0; background: transparent; color: var(--yc-brand-dark); cursor: pointer; font: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: .16em; }
.yc-result { margin: 0 2rem 2rem; padding: 2rem 1.5rem; border-radius: 16px; border: 2px solid var(--yc-brand); box-shadow: 0 8px 32px rgba(30,107,98,.08); }

.yc-consultation-card { margin-top: 2.5rem; padding: 1.5rem; border-radius: 12px; background: #f4f8fc; border: 1px solid #d4e4f4; text-align: center; }
.yc-consultation-card h4 { margin: 0 0 .75rem; color: #1a4b82; font-size: 1.2rem; font-weight: 800; }
.yc-consultation-card p { margin: 0 0 1.25rem; color: #334d66; font-size: .95rem; line-height: 1.6; }
.yc-consultation-btn { display: inline-block; padding: 1rem 2rem; border-radius: 999px; background: #2b7bc4; color: #fff !important; font-size: 1rem; font-weight: 800; text-decoration: none; box-shadow: 0 4px 12px rgba(43,123,196,.2); transition: all 0.2s ease; }
.yc-consultation-btn:hover { background: #1e5d99; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(43,123,196,.3); }
.yc-result--success { border: 1px solid #8ec2b7; background: #eef9f5; }
.yc-result--error { border: 1px solid #e9b0a7; background: #fff1ef; }
.yc-result h3 { margin-top: 0; }
.yc-result__label { margin: 0; color: var(--yc-brand-dark); font-weight: 800; }
.yc-result__range { margin: .2rem 0 .35rem; color: var(--yc-brand-dark); font-size: clamp(2rem, 7vw, 3.2rem); font-weight: 900; line-height: 1.2; }
.yc-result__amount { margin-bottom: .2rem; }
.yc-result__annual { margin-top: 0; color: var(--yc-muted); font-size: .9rem; }
.yc-result__details { margin: 1.25rem 0; padding: 1rem; border-radius: 8px; background: rgba(255,255,255,.72); }
.yc-result__details h3 { margin-bottom: .5rem; font-size: 1rem; }
.yc-result__details p { margin: .35rem 0; font-size: .9rem; }
.yc-result__warning { margin: 1.5rem 0; padding: 1.5rem; border-radius: 8px; background: #fff8f5; border: 1px solid #f2e3db; }
.yc-result__warning p { margin: 0; color: #5c4333; font-size: .95rem; line-height: 1.7; }

.yc-tool__subheading {
  margin: 0 0 1rem 0 !important;
  padding: 0.75rem 1rem !important;
  background: #f0f7f6 !important;
  border: none !important;
  border-left: 4px solid var(--yc-brand) !important;
  color: var(--yc-brand-dark) !important;
  font-size: 1.1rem !important;
  font-weight: 800 !important;
  line-height: 1.4 !important;
}

.yc-tool__subheading--warning {
  background: #fff3cd !important;
  border-left: 4px solid #ffc107 !important;
  color: #856404 !important;
}
.yc-tool__sources { padding: 1.5rem 2rem 2rem; border-top: 1px solid var(--yc-line); background: #fbfdfc; }
.yc-tool__sources h3 { margin-top: 0; font-size: 1rem; }
.yc-tool__sources p, .yc-tool__sources li { color: var(--yc-muted); font-size: .88rem; }
.yc-tool__sources ul { margin-bottom: 0; padding-left: 1.2rem; }
.yc-tool a { color: var(--yc-brand-dark); }
@media (max-width: 620px) {
  .yc-tool__intro, .yc-form, .yc-tool__sources { padding-left: 1.1rem; padding-right: 1.1rem; }
  .yc-tool__notice, .yc-result { margin-left: 1.1rem; margin-right: 1.1rem; }
  .yc-grid, .yc-grid--children { grid-template-columns: 1fr; }
  .yc-form fieldset { padding: 1rem; }
  .yc-form__actions { align-items: stretch; flex-direction: column; }
  .yc-button { width: 100%; }
}

.yc-tool__eyebrow span {
  display: inline-block;
  margin-right: .45rem;
  padding: .18rem .48rem;
  border-radius: 999px;
  background: var(--yc-brand-dark);
  color: #fff;
  font-size: .72rem;
  letter-spacing: .04em;
}
.yc-result__action-plan {
  margin-top: 1.25rem;
  padding: 1.2rem;
  border: 1px solid #b7d7cf;
  border-radius: 10px;
  background: #fff;
}
.yc-result__step {
  margin: 0 0 .28rem;
  color: var(--yc-brand-dark);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .1em;
}
.yc-result__action-plan h3 { margin: 0 0 .6rem; color: var(--yc-brand-dark); font-size: 1.08rem; }
.yc-result__action-plan ol { margin: .65rem 0 1rem; padding-left: 1.35rem; }
.yc-result__action-plan li { margin: .45rem 0; line-height: 1.7; }
.yc-result__link {
  display: inline-flex;
  padding: .62rem .85rem;
  border-radius: 7px;
  background: var(--yc-brand);
  color: #fff !important;
  font-weight: 800;
  text-decoration: none;
}
.yc-result__link:hover { background: var(--yc-brand-dark); color: #fff !important; }
.yc-result__statutory {
  margin-top: 1rem;
  padding: .95rem 1rem;
  border-left: 4px solid #d4aa32;
  border-radius: 6px;
  background: #fff9e6;
  color: #5b4d1e;
  font-size: .9rem;
  line-height: 1.75;
}
.yc-result__statutory a { font-weight: 800; }

.yc-result__scenario {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  background: #f0f7f6;
  border-radius: 8px;
}
.yc-result__scenario--special {
  background: #fff8eb;
}
.yc-result__scenario h4 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  color: #193036;
}
.yc-result__scenario p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}
.yc-result__scenario strong {
  font-size: 1.1rem;
  color: #176054;
}
.yc-result__scenario--special strong {
  color: #b05c00;
}
