@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');

.timiix-howmanyhours-page {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  overflow: hidden;
  padding: 36px 16px 48px;
  background: #f7f9fc;
  color: #0b1730;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.timiix-howmanyhours-page *,
.timiix-howmanyhours-page *::before,
.timiix-howmanyhours-page *::after {
  box-sizing: border-box;
}

.timiix-howmanyhours-page .thp-hero {
  max-width: 760px;
  margin: 0 auto 24px;
  padding: 24px;
  text-align: center;
  border: 1px solid #d9e2f0;
  border-radius: 20px;
  background: #f2f8f8;
}

.timiix-howmanyhours-page .thp-hero__eyebrow,
.timiix-howmanyhours-page .thp-eyebrow {
  margin: 0 0 8px;
  color: #3154c8;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1.3;
}

.timiix-howmanyhours-page .thp-hero h1,
.timiix-howmanyhours-page .thp-toolbox h2 {
  margin: 0;
  color: #0b1730;
  font-weight: 800;
  letter-spacing: -.035em;
}

.timiix-howmanyhours-page .thp-hero h1 {
  font-size: clamp(28px, 5vw, 42px);
  line-height: 1.12;
}

.timiix-howmanyhours-page .thp-hero > p:last-child,
.timiix-howmanyhours-page .thp-helper {
  margin: 10px 0 0;
  color: #52627a;
  font-size: 16px;
  line-height: 1.55;
}

.timiix-howmanyhours-page .thp-toolbox {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(22px, 4vw, 48px);
  border: 1px solid #d9e2f0;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(15, 35, 70, .08), 0 3px 12px rgba(15, 35, 70, .04);
}

.timiix-howmanyhours-page .thp-toolbox__header {
  text-align: center;
}

.timiix-howmanyhours-page .thp-toolbox h2 {
  font-size: clamp(25px, 4vw, 36px);
  line-height: 1.15;
}

.timiix-howmanyhours-page .thp-primary-result {
  margin: 28px auto;
  padding: 28px 20px;
  text-align: center;
  border: 1px solid #d9e2f0;
  border-radius: 20px;
  background: #f7f9fc;
}

.timiix-howmanyhours-page .thp-primary-result__number {
  color: #3154c8;
  font-size: clamp(54px, 11vw, 92px);
  font-weight: 800;
  letter-spacing: -.07em;
  line-height: .95;
  transition: color 220ms ease, transform 220ms ease;
}

.timiix-howmanyhours-page .thp-primary-result__label,
.timiix-howmanyhours-page .thp-count-card span,
.timiix-howmanyhours-page .thp-info-card__label {
  display: block;
  margin-top: 12px;
  color: #52627a;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .11em;
  line-height: 1.3;
}

.timiix-howmanyhours-page .thp-primary-result__context {
  margin: 9px 0 0;
  color: #52627a;
  font-size: 15px;
  line-height: 1.4;
}

.timiix-howmanyhours-page .thp-countdown-grid,
.timiix-howmanyhours-page .thp-info-grid {
  display: grid;
  gap: 14px;
}

.timiix-howmanyhours-page .thp-countdown-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 22px;
}

.timiix-howmanyhours-page .thp-info-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 28px;
}

.timiix-howmanyhours-page .thp-count-card,
.timiix-howmanyhours-page .thp-info-card {
  min-width: 0;
  border: 1px solid #d9e2f0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 5px 16px rgba(15, 35, 70, .035);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.timiix-howmanyhours-page .thp-count-card {
  padding: 22px 14px;
  text-align: center;
}

.timiix-howmanyhours-page .thp-count-card strong {
  display: block;
  color: #0b1730;
  font-size: clamp(30px, 5vw, 44px);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1;
  transition: color 220ms ease;
}

.timiix-howmanyhours-page .thp-info-card {
  padding: 18px;
}

.timiix-howmanyhours-page .thp-info-card__label {
  margin-top: 0;
}

.timiix-howmanyhours-page .thp-info-card strong {
  display: block;
  margin-top: 8px;
  overflow-wrap: anywhere;
  color: #0b1730;
  font-size: 15px;
  line-height: 1.4;
}

.timiix-howmanyhours-page .thp-count-card:hover,
.timiix-howmanyhours-page .thp-info-card:hover {
  border-color: #b9c9e3;
  box-shadow: 0 10px 24px rgba(15, 35, 70, .08);
  transform: translateY(-3px);
}

.timiix-howmanyhours-page .thp-controls {
  padding-top: 24px;
  border-top: 1px solid #d9e2f0;
}

.timiix-howmanyhours-page .thp-controls fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.timiix-howmanyhours-page .thp-controls legend {
  margin-bottom: 16px;
  color: #0b1730;
  font-size: 17px;
  font-weight: 750;
}

.timiix-howmanyhours-page .thp-control-row {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) minmax(130px, .8fr) auto;
  gap: 14px;
  align-items: end;
}

.timiix-howmanyhours-page .thp-field {
  min-width: 0;
}

.timiix-howmanyhours-page .thp-field label {
  display: block;
  margin-bottom: 7px;
  color: #52627a;
  font-size: 13px;
  font-weight: 700;
}

.timiix-howmanyhours-page .thp-field input {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid #c7d4e6;
  border-radius: 11px;
  outline: 0;
  background: #fff;
  color: #0b1730;
  font: inherit;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.timiix-howmanyhours-page .thp-field input:focus {
  border-color: #3154c8;
  box-shadow: 0 0 0 4px rgba(49, 84, 200, .15);
}

.timiix-howmanyhours-page .thp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.timiix-howmanyhours-page .thp-button {
  min-height: 48px;
  padding: 11px 15px;
  border: 1px solid transparent;
  border-radius: 11px;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.2;
  transition: background-color 200ms ease, border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.timiix-howmanyhours-page .thp-button:hover {
  transform: translateY(-2px);
}

.timiix-howmanyhours-page .thp-button--primary {
  background: #3154c8;
  color: #fff;
}

.timiix-howmanyhours-page .thp-button--primary:hover {
  background: #2445b0;
}

.timiix-howmanyhours-page .thp-button--secondary {
  border-color: #d9e2f0;
  background: #fff;
  color: #0b1730;
}

.timiix-howmanyhours-page .thp-button--secondary:hover {
  border-color: #b9c9e3;
  background: #f7f9fc;
}

.timiix-howmanyhours-page .thp-button:focus-visible {
  outline: 3px solid rgba(49, 84, 200, .35);
  outline-offset: 2px;
}

.timiix-howmanyhours-page .thp-status {
  min-height: 22px;
  margin: 18px 0 0;
  color: #087a45;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.5;
  text-align: center;
}

.timiix-howmanyhours-page .thp-status[data-state="error"] {
  color: #9d2c2c;
}

@media (min-width: 320px) and (max-width: 374px) {
  .timiix-howmanyhours-page {
    padding: 20px 10px 32px;
  }

  .timiix-howmanyhours-page .thp-hero,
  .timiix-howmanyhours-page .thp-toolbox {
    border-radius: 18px;
  }

  .timiix-howmanyhours-page .thp-hero {
    padding: 20px 14px;
  }

  .timiix-howmanyhours-page .thp-toolbox {
    padding: 20px 14px;
  }

  .timiix-howmanyhours-page .thp-primary-result {
    padding: 24px 10px;
  }

  .timiix-howmanyhours-page .thp-primary-result__number {
    font-size: 51px;
  }

  .timiix-howmanyhours-page .thp-countdown-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .timiix-howmanyhours-page .thp-info-grid,
  .timiix-howmanyhours-page .thp-control-row {
    grid-template-columns: 1fr;
  }

  .timiix-howmanyhours-page .thp-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .timiix-howmanyhours-page .thp-button {
    width: 100%;
  }
}

@media (min-width: 375px) and (max-width: 429px) {
  .timiix-howmanyhours-page {
    padding: 24px 14px 36px;
  }

  .timiix-howmanyhours-page .thp-countdown-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timiix-howmanyhours-page .thp-info-grid,
  .timiix-howmanyhours-page .thp-control-row {
    grid-template-columns: 1fr;
  }

  .timiix-howmanyhours-page .thp-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .timiix-howmanyhours-page .thp-button {
    width: 100%;
  }
}

@media (min-width: 430px) and (max-width: 767px) {
  .timiix-howmanyhours-page .thp-countdown-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timiix-howmanyhours-page .thp-info-grid {
    grid-template-columns: 1fr;
  }

  .timiix-howmanyhours-page .thp-control-row {
    grid-template-columns: 1fr 1fr;
  }

  .timiix-howmanyhours-page .thp-actions {
    grid-column: 1 / -1;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .timiix-howmanyhours-page {
    padding: 42px 24px 56px;
  }

  .timiix-howmanyhours-page .thp-countdown-grid,
  .timiix-howmanyhours-page .thp-info-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .timiix-howmanyhours-page .thp-info-card:last-child {
    grid-column: 2 / span 2;
  }

  .timiix-howmanyhours-page .thp-control-row {
    grid-template-columns: 1fr 1fr;
  }

  .timiix-howmanyhours-page .thp-actions {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1024px) {
  .timiix-howmanyhours-page {
    padding: 52px 32px 64px;
  }

  .timiix-howmanyhours-page .thp-countdown-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .timiix-howmanyhours-page .thp-info-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .timiix-howmanyhours-page *,
  .timiix-howmanyhours-page *::before,
  .timiix-howmanyhours-page *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}