/* r14: service terms and selected-work preview; deliberately scoped to the two edited routes. */
.r14-example-preview {
  width: 100%;
  overflow: hidden;
  border: 1px solid #b8c4bc;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 42px rgb(24 40 34 / 7%);
}
.r14-preview-bar {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .5rem 1rem;
  border-bottom: 1px solid #d8ded9;
  color: #42544a;
  background: #f3f5f2;
  font-size: .75rem;
}
.r14-preview-bar span:first-child { font-weight: 650; }
.r14-example-preview iframe {
  display: block;
  width: 100%;
  height: 500px;
  border: 0;
  background: #f5f1e7;
}
.r14-preview-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem 1rem;
  border-top: 1px solid #d8ded9;
  color: #46554d;
  font-size: .75rem;
}
.r14-preview-note a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: #174d38;
  font-weight: 600;
  text-underline-offset: .25em;
}
.r14-preview-note a:focus-visible { outline: 3px solid #ac502c; outline-offset: 3px; }
.showcase-media .r14-example-preview { max-width: 800px; }


.r14-service-detail .r14-service-conditions { max-width: 100%; margin-top: 2.5rem; }
.r14-service-detail .r14-conditions-label {
  margin: 0 0 1rem;
  color: #42544a;
  font-size: 1rem;
  letter-spacing: .04em;
}
.r14-service-detail .r14-conditions-label--scope { margin-top: 2.5rem; }
.r14-fee-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.r14-service-detail .r14-fee-card {
  min-width: 0;
  margin: 0;
  padding: 1.25rem 1.35rem;
  border: 1px solid #d8ded9;
  border-top: 3px solid #215a43;
  background: #fff;
}
.r14-service-detail .r14-fee-card--cms { border-top-color: #714b35; }
.r14-service-detail .r14-fee-card p { max-width: none; }
.r14-service-detail .r14-fee-card__label {
  margin: 0 0 .35rem;
  color: #536258;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
}
.r14-service-detail .r14-fee-card__price {
  margin: 0 0 .8rem;
  color: #182822;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 700;
  line-height: 1.45;
  font-variant-numeric: tabular-nums;
}
.r14-service-detail .r14-fee-card__price span {
  color: #536258;
  font-size: .7rem;
  font-weight: 500;
  white-space: normal;
}
.r14-service-detail .r14-fee-card p:last-child {
  margin-bottom: 0;
  color: #33443a;
  font-size: .86rem;
  line-height: 1.8;
}
.r14-service-detail > ul { margin-top: 1.5rem; }
.r14-service-detail > p:last-child {
  max-width: 72ch;
  padding: 1.25rem 1.4rem;
  border-left: 2px solid #9aa99e;
  background: #f5f7f4;
  font-size: .9rem;
  line-height: 1.9;
}

@media (max-width: 600px) {
  .r14-example-preview { border-radius: 6px; }
  .r14-preview-bar { min-height: 40px; padding-inline: .75rem; font-size: .68rem; }
  .r14-example-preview iframe, .website .r14-example-preview iframe { height: 420px; }
  .r14-preview-note { align-items: flex-start; flex-direction: column; gap: .35rem; padding: .65rem .8rem; }
  .r14-preview-note a { min-height: 44px; }
  .r14-fee-grid { grid-template-columns: minmax(0, 1fr); gap: .75rem; }
  .r14-service-detail .r14-fee-card { padding: 1rem 1.1rem; }
  .r14-service-detail .r14-conditions-label--scope { margin-top: 2rem; }
  .r14-service-detail > p:last-child { padding: 1rem; }
}
