/* Styles isolés et mobile-first pour le calculateur surface -> temps. */
.time-calc {
  margin: 26px 0 36px;
  background: var(--paper);
  border: 1px solid #cbd9c9;
  border-radius: var(--radius);
  box-shadow: 0 10px 30px #173b2110;
  overflow: hidden;
}
.time-calc-head {
  background: linear-gradient(125deg,#e5efdf,#f4f7ed);
  padding: 20px 17px;
  border-bottom: 1px solid #d0e0ce;
}
.time-kicker {
  color: #28694a;
  font-size: .72rem;
  font-weight: 810;
  letter-spacing: .1em;
}
.article-body .time-calc-head h2 {
  margin: 7px 0 10px;
  font-size: clamp(1.4rem, 3.2vw, 1.94rem);
  line-height: 1.2;
}
.article-body .time-calc-head p {
  margin: 0;
  font-size: .92rem;
  line-height: 1.55;
}
.time-form { padding: 18px 16px; }
.article-body .time-example {
  font-size: .84rem;
  line-height: 1.5;
  margin: 0 0 16px;
  color: #4c6455;
}
.time-zones { display: grid; gap: 15px; }
.time-zone {
  border: 1px solid #d3e2d1;
  padding: 13px 11px 14px;
  border-radius: 10px;
  background: #f8faf4;
  min-width: 0;
  margin: 0;
}
.time-zone legend {
  color: var(--forest);
  font-size: .9rem;
  font-weight: 750;
  padding: 0 6px;
}
.time-zone legend span, .time-field label span {
  color: #586c5f;
  font-size: .76rem;
  font-weight: 500;
}
.time-zone-fields, .time-extra-fields {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.time-extra-fields { margin-top: 19px; gap: 17px; }
.time-field {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.time-field label {
  color: var(--forest);
  font-size: .87rem;
  line-height: 1.45;
  font-weight: 720;
}
.time-field input {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  color: var(--ink);
  font-weight: 700;
  font-size: 1rem;
  border: 1px solid #b7c9b9;
  border-radius: 8px;
  background: var(--paper);
}
.time-field input[aria-invalid="true"] {
  border: 2px solid #9e4035;
  background: #fff5f1;
}
.time-field input::placeholder { color: #62736a; font-weight: 500; }
.time-field small, .time-error {
  font-size: .79rem;
  line-height: 1.45;
}
.time-field small { color: #4c6455; }
.time-error { color: #963f32; font-weight: 650; }
.time-error:empty { display: none; }
.article-body .time-form-note {
  margin: 10px 0 0;
  font-size: .79rem;
  line-height: 1.5;
  color: #586c5f;
}
.time-reset {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: #276c48;
  font-size: .85rem;
  margin: 5px 0 9px;
}
.time-reset:focus-visible { outline: 3px solid #c88931; outline-offset: 3px; }
.time-result {
  background: var(--forest);
  color: #fffdf7;
  border-radius: 12px;
  padding: 18px 15px;
  overflow-wrap: anywhere;
}
.time-result-label {
  font-size: .76rem;
  color: #c4e1cd;
  font-weight: 760;
  letter-spacing: .08em;
}
.time-result-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
  margin: 12px 0 15px;
}
.time-result-grid > div {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  border: 1px solid #537c67;
  background: #1b4939;
  border-radius: 8px;
  padding: 13px 12px;
}
.time-result-grid > div span, .time-result-grid > div small {
  color: #d2e7d8;
  font-size: .81rem;
  line-height: 1.5;
}
.time-result-grid strong {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  letter-spacing: -.045em;
  line-height: 1.12;
}
.time-breakdown {
  border-bottom: 1px solid #537c67;
  padding-bottom: 10px;
  color: #d4e9d8;
  font-size: .9rem;
  line-height: 1.5;
}
.time-breakdown[hidden] { display: none; }
.article-body .time-result p {
  color: #edf7ed;
  font-size: .88rem;
  margin: 11px 0 0;
  line-height: 1.55;
}
.article-body .time-disclaimer, .article-body .time-noscript {
  line-height: 1.55;
  font-size: .79rem;
  color: #586c5f;
  margin: 12px 0 0;
}
.article-body .time-noscript { color: #963f32; }
.article-cta .time-cta-secondary { margin-left: 4px; }
@media (max-width: 425px) {
  .article-cta .button {
    width: 100%;
    white-space: normal;
    margin-left: 0;
  }
}
@media (min-width: 560px) {
  .time-calc-head { padding: 24px; }
  .time-form { padding: 24px; }
  .time-zone { padding: 14px 17px 16px; }
  .time-zone-fields, .time-extra-fields, .time-result-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 15px;
  }
  .time-result { padding: 22px; }
}
