@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css');

.hm20w-months-tool-2027 {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  overflow-x: clip;
  color: #122033;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

.hm20w-months-tool-2027 .hm20w-shell,
.hm20w-months-tool-2027 .hm20w-shell div,
.hm20w-months-tool-2027 .hm20w-shell section,
.hm20w-months-tool-2027 .hm20w-shell h1,
.hm20w-months-tool-2027 .hm20w-shell h2,
.hm20w-months-tool-2027 .hm20w-shell p,
.hm20w-months-tool-2027 .hm20w-shell span,
.hm20w-months-tool-2027 .hm20w-shell strong,
.hm20w-months-tool-2027 .hm20w-shell label,
.hm20w-months-tool-2027 .hm20w-shell input,
.hm20w-months-tool-2027 .hm20w-shell select,
.hm20w-months-tool-2027 .hm20w-shell button {
  box-sizing: border-box;
}

.hm20w-months-tool-2027 .hm20w-shell {
  width: 100%;
  padding: 28px 14px;
  background:
    radial-gradient(circle at 18% 0%, rgba(47, 139, 255, 0.13), transparent 34%),
    radial-gradient(circle at 88% 18%, rgba(126, 92, 255, 0.12), transparent 32%),
    linear-gradient(180deg, #f7fbff 0%, #ffffff 52%, #f8fafc 100%);
}

.hm20w-months-tool-2027 .hm20w-heading {
  max-width: 880px;
  margin: 0 auto 18px;
  text-align: center;
}

.hm20w-months-tool-2027 .hm20w-title {
  margin: 0;
  color: #0c1b2d;
  font-size: 31px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0;
}

.hm20w-months-tool-2027 .hm20w-subtitle {
  max-width: 720px;
  margin: 10px auto 0;
  color: #506174;
  font-size: 16px;
}

.hm20w-months-tool-2027 .hm20w-card {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 14px;
  border: 1px solid rgba(76, 112, 156, 0.18);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 50px rgba(24, 50, 82, 0.12);
}

.hm20w-months-tool-2027 .hm20w-main-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.hm20w-months-tool-2027 .hm20w-result-panel {
  min-width: 0;
  padding: 18px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(19, 102, 214, 0.95), rgba(29, 173, 205, 0.92) 55%, rgba(122, 104, 231, 0.92));
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.hm20w-months-tool-2027 .hm20w-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #eef8ff;
  font-size: 13px;
  font-weight: 700;
}

.hm20w-months-tool-2027 .hm20w-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: #bcf3ff;
  box-shadow: 0 0 0 4px rgba(188, 243, 255, 0.16);
}

.hm20w-months-tool-2027 .hm20w-result-heading {
  margin: 16px 0 8px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
  font-weight: 700;
}

.hm20w-months-tool-2027 .hm20w-answer {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 7px;
  min-width: 0;
}

.hm20w-months-tool-2027 .hm20w-answer-weeks,
.hm20w-months-tool-2027 .hm20w-answer-text,
.hm20w-months-tool-2027 .hm20w-answer-unit {
  font-size: 18px;
  font-weight: 700;
}

.hm20w-months-tool-2027 .hm20w-answer-months {
  max-width: 100%;
  overflow-wrap: anywhere;
  color: #ffffff;
  font-size: 58px;
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: 0;
}

.hm20w-months-tool-2027 .hm20w-method {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
}

.hm20w-months-tool-2027 .hm20w-metrics {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 18px;
}

.hm20w-months-tool-2027 .hm20w-metric-card {
  min-width: 0;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.13);
}

.hm20w-months-tool-2027 .hm20w-metric-label {
  display: block;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 700;
}

.hm20w-months-tool-2027 .hm20w-metric-card strong {
  display: block;
  margin-top: 4px;
  color: #ffffff;
  font-size: 18px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.hm20w-months-tool-2027 .hm20w-controls-panel {
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(76, 112, 156, 0.14);
  border-radius: 18px;
  background: #ffffff;
}

.hm20w-months-tool-2027 .hm20w-controls-heading {
  margin: 0 0 14px;
  color: #102033;
  font-size: 20px;
  line-height: 1.2;
}

.hm20w-months-tool-2027 .hm20w-field-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 13px;
}

.hm20w-months-tool-2027 .hm20w-label {
  display: block;
  margin-bottom: 7px;
  color: #26394e;
  font-size: 14px;
  font-weight: 800;
}

.hm20w-months-tool-2027 .hm20w-input,
.hm20w-months-tool-2027 .hm20w-select {
  width: 100%;
  min-height: 48px;
  padding: 0 13px;
  border: 1px solid #cbd8e6;
  border-radius: 12px;
  background: #fbfdff;
  color: #122033;
  font: inherit;
  font-size: 16px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.hm20w-months-tool-2027 .hm20w-select {
  padding-right: 34px;
}

.hm20w-months-tool-2027 .hm20w-input:focus,
.hm20w-months-tool-2027 .hm20w-select:focus {
  border-color: #2479e7;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(36, 121, 231, 0.14);
}

.hm20w-months-tool-2027 .hm20w-help {
  display: block;
  margin-top: 7px;
  color: #66778a;
  font-size: 13px;
}

.hm20w-months-tool-2027 .hm20w-error {
  min-height: 22px;
  margin: 10px 0 0;
  color: #b42318;
  font-size: 14px;
  font-weight: 700;
}

.hm20w-months-tool-2027 .hm20w-presets {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 12px;
}

.hm20w-months-tool-2027 .hm20w-preset,
.hm20w-months-tool-2027 .hm20w-btn {
  min-width: 0;
  min-height: 46px;
  border-radius: 12px;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease, border-color 150ms ease, background-color 150ms ease;
}

.hm20w-months-tool-2027 .hm20w-preset {
  border: 1px solid #d4e0ed;
  background: #f7fbff;
  color: #21364d;
}

.hm20w-months-tool-2027 .hm20w-preset:hover {
  border-color: #8fb8ea;
  background: #eef7ff;
}

.hm20w-months-tool-2027 .hm20w-preset.is-active {
  border-color: #2479e7;
  background: #e7f1ff;
  color: #0c5dc6;
}

.hm20w-months-tool-2027 .hm20w-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 13px;
}

.hm20w-months-tool-2027 .hm20w-btn {
  border: 1px solid transparent;
  padding: 0 16px;
}

.hm20w-months-tool-2027 .hm20w-btn-primary {
  background: linear-gradient(135deg, #176fe4, #19a8c9);
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(25, 119, 217, 0.22);
}

.hm20w-months-tool-2027 .hm20w-btn-secondary {
  border-color: #d4e0ed;
  background: #ffffff;
  color: #23374e;
}

.hm20w-months-tool-2027 .hm20w-btn:hover,
.hm20w-months-tool-2027 .hm20w-preset:hover {
  transform: translateY(-1px);
}

.hm20w-months-tool-2027 .hm20w-btn:active,
.hm20w-months-tool-2027 .hm20w-preset:active {
  transform: translateY(0);
}

.hm20w-months-tool-2027 .hm20w-btn:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
  box-shadow: none;
}

.hm20w-months-tool-2027 .hm20w-btn:focus-visible,
.hm20w-months-tool-2027 .hm20w-preset:focus-visible {
  outline: 3px solid rgba(36, 121, 231, 0.32);
  outline-offset: 3px;
}

.hm20w-months-tool-2027 .hm20w-status {
  min-height: 22px;
  margin: 10px 0 0;
  color: #18734d;
  font-size: 14px;
  font-weight: 800;
}

.hm20w-months-tool-2027 .hm20w-feature-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 14px;
}

.hm20w-months-tool-2027 .hm20w-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(76, 112, 156, 0.14);
  border-radius: 14px;
  background: #f8fbff;
  color: #23374e;
}

.hm20w-months-tool-2027 .hm20w-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border-radius: 10px;
  background: #e8f3ff;
  color: #126bd4;
  font-weight: 900;
}

.hm20w-months-tool-2027 .hm20w-feature strong {
  min-width: 0;
  font-size: 14px;
  line-height: 1.25;
}

@media (min-width: 320px) and (max-width: 374px) {
  .hm20w-months-tool-2027 .hm20w-shell { padding: 24px 10px; }
  .hm20w-months-tool-2027 .hm20w-title { font-size: 30px; }
  .hm20w-months-tool-2027 .hm20w-subtitle { font-size: 16px; }
  .hm20w-months-tool-2027 .hm20w-card { padding: 10px; border-radius: 18px; }
  .hm20w-months-tool-2027 .hm20w-result-panel,
  .hm20w-months-tool-2027 .hm20w-controls-panel { padding: 14px; }
  .hm20w-months-tool-2027 .hm20w-answer-months { font-size: 48px; }
  .hm20w-months-tool-2027 .hm20w-input,
  .hm20w-months-tool-2027 .hm20w-select,
  .hm20w-months-tool-2027 .hm20w-preset,
  .hm20w-months-tool-2027 .hm20w-btn { min-height: 46px; }
  .hm20w-months-tool-2027 .hm20w-presets { grid-template-columns: 1fr; }
  .hm20w-months-tool-2027 .hm20w-feature { padding: 11px; }
}

@media (min-width: 375px) and (max-width: 429px) {
  .hm20w-months-tool-2027 .hm20w-shell { padding: 28px 12px; }
  .hm20w-months-tool-2027 .hm20w-title { font-size: 32px; }
  .hm20w-months-tool-2027 .hm20w-subtitle { font-size: 16px; }
  .hm20w-months-tool-2027 .hm20w-card { padding: 12px; }
  .hm20w-months-tool-2027 .hm20w-result-panel,
  .hm20w-months-tool-2027 .hm20w-controls-panel { padding: 16px; }
  .hm20w-months-tool-2027 .hm20w-answer-months { font-size: 54px; }
  .hm20w-months-tool-2027 .hm20w-presets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hm20w-months-tool-2027 .hm20w-feature-strip { grid-template-columns: 1fr; }
}

@media (min-width: 430px) and (max-width: 767px) {
  .hm20w-months-tool-2027 .hm20w-shell { padding: 34px 16px; }
  .hm20w-months-tool-2027 .hm20w-title { font-size: 36px; }
  .hm20w-months-tool-2027 .hm20w-subtitle { font-size: 17px; }
  .hm20w-months-tool-2027 .hm20w-card { padding: 16px; }
  .hm20w-months-tool-2027 .hm20w-result-panel,
  .hm20w-months-tool-2027 .hm20w-controls-panel { padding: 20px; }
  .hm20w-months-tool-2027 .hm20w-answer-months { font-size: 64px; }
  .hm20w-months-tool-2027 .hm20w-metrics,
  .hm20w-months-tool-2027 .hm20w-feature-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hm20w-months-tool-2027 .hm20w-presets { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hm20w-months-tool-2027 .hm20w-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .hm20w-months-tool-2027 .hm20w-shell { padding: 44px 22px; }
  .hm20w-months-tool-2027 .hm20w-title { font-size: 44px; }
  .hm20w-months-tool-2027 .hm20w-subtitle { font-size: 18px; }
  .hm20w-months-tool-2027 .hm20w-card { padding: 18px; }
  .hm20w-months-tool-2027 .hm20w-main-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .hm20w-months-tool-2027 .hm20w-result-panel,
  .hm20w-months-tool-2027 .hm20w-controls-panel { padding: 22px; }
  .hm20w-months-tool-2027 .hm20w-answer-months { font-size: 70px; }
  .hm20w-months-tool-2027 .hm20w-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hm20w-months-tool-2027 .hm20w-presets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hm20w-months-tool-2027 .hm20w-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hm20w-months-tool-2027 .hm20w-feature-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .hm20w-months-tool-2027 .hm20w-shell { padding: 56px 28px; }
  .hm20w-months-tool-2027 .hm20w-title { font-size: 52px; }
  .hm20w-months-tool-2027 .hm20w-subtitle { font-size: 18px; }
  .hm20w-months-tool-2027 .hm20w-card { padding: 22px; }
  .hm20w-months-tool-2027 .hm20w-main-grid { grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr); gap: 18px; }
  .hm20w-months-tool-2027 .hm20w-result-panel,
  .hm20w-months-tool-2027 .hm20w-controls-panel { padding: 26px; }
  .hm20w-months-tool-2027 .hm20w-answer-months { font-size: 82px; }
  .hm20w-months-tool-2027 .hm20w-field-grid { grid-template-columns: 1fr; }
  .hm20w-months-tool-2027 .hm20w-metrics { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hm20w-months-tool-2027 .hm20w-presets { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hm20w-months-tool-2027 .hm20w-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hm20w-months-tool-2027 .hm20w-feature-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .hm20w-months-tool-2027 .hm20w-input,
  .hm20w-months-tool-2027 .hm20w-select,
  .hm20w-months-tool-2027 .hm20w-preset,
  .hm20w-months-tool-2027 .hm20w-btn {
    transition: none;
  }
}