/* 0.9.486 — mobile readability and proportion pass across the public app. */
.tim-makeup-app {
  --tm-mobile-caption: 11px;
  --tm-mobile-small: 12px;
  --tm-mobile-body: 14px;
  --tm-mobile-section: 18px;
  --tm-mobile-title: 20px;
  --tm-mobile-control: 46px;
}

/* Nearby partners: keep the compact cards, but restore a clear page hierarchy. */
.tim-makeup-app.tm-partners-mode .tm-partner-screen-head h1 {
  font-size: var(--tm-mobile-title) !important;
}
.tim-makeup-app.tm-partners-mode .tm-partner-body h2 {
  font-size: 15px !important;
  line-height: 1.3 !important;
}
.tim-makeup-app.tm-partners-mode .tm-partner-rating-location {
  font-size: 11px !important;
  line-height: 1.42 !important;
}
.tim-makeup-app.tm-partners-mode .tm-tag {
  font-size: 10px !important;
}
.tim-makeup-app.tm-partners-mode .tm-price {
  font-size: 11px !important;
}

/* Community: strengthen the reading layer without enlarging media/cards. */
.tim-makeup-app.community-html-parity .community-interests h2 {
  font-size: 16px !important;
}
.tim-makeup-app.community-html-parity .community-category {
  font-size: 12px !important;
  line-height: 1.3 !important;
}
.tim-makeup-app.community-html-parity .community-post h2 {
  font-size: 14px !important;
}
.tim-makeup-app.community-html-parity .community-post > header p {
  font-size: 11px !important;
}
.tim-makeup-app.community-html-parity .community-post p.community-post-text {
  font-size: 14px !important;
  line-height: 1.6 !important;
}
.tim-makeup-app.community-html-parity .community-post > footer button {
  font-size: 12px !important;
  min-height: 44px !important;
}
.tim-makeup-app.community-html-parity .community-sample-label {
  font-size: 10px !important;
}

/* Partner profile: labels and service details were the smallest layer in the app. */
.tim-makeup-app.tm-profile-route[data-green-profile-ready="1"] .tm-profile-contact-orbit-item {
  font-size: 10.5px !important;
  line-height: 1.2 !important;
}
.tim-makeup-app.tm-profile-route[data-green-profile-ready="1"] .tm-profile-tabs-green button {
  font-size: 13px !important;
}
.tim-makeup-app.tm-profile-route .tm-section:has(> .tm-profile-service-menu) > .tm-title-row > small::after {
  font-size: 11px !important;
}
.tim-makeup-app.tm-profile-route .tm-pricing-list .pl-copy strong {
  font-size: 14px !important;
}
.tim-makeup-app.tm-profile-route .tm-pricing-list .pl-trigger .pl-copy small {
  font-size: 11px !important;
  line-height: 1.4 !important;
  -webkit-line-clamp: 2 !important;
}
.tim-makeup-app.tm-profile-route .tm-pricing-list .pl-description {
  font-size: 12px !important;
}
.tim-makeup-app.tm-profile-route .tm-pricing-list .pl-body h3,
.tim-makeup-app.tm-profile-route .tm-pricing-list .pl-includes li,
.tim-makeup-app.tm-profile-route .tm-pricing-list .pl-note p {
  font-size: 12px !important;
}

/* Partner registration/configuration: readable labels and iOS-safe form fields. */
.tim-makeup-app.tm-partner-wizard-mode .tm-wizard-progress button {
  font-size: 10px !important;
  line-height: 1.25 !important;
}
.tim-makeup-app.tm-partner-wizard-mode .tm-wizard-page > header h2 {
  font-size: 18px !important;
}
.tim-makeup-app.tm-partner-wizard-mode .tm-wizard-page > header p {
  font-size: 11px !important;
}
.tim-makeup-app.tm-partner-wizard-mode .tm-config-card h3,
.tim-makeup-app.tm-partner-wizard-mode .tm-config-group {
  font-size: 16px !important;
}
.tim-makeup-app.tm-partner-wizard-mode .tm-config-card label > span:first-child,
.tim-makeup-app.tm-partner-wizard-mode .tm-registration-service-editor label > span,
.tim-makeup-app.tm-partner-wizard-mode .tm-wizard-card label > span {
  font-size: 12px !important;
}
.tim-makeup-app.tm-partner-wizard-mode input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.tim-makeup-app.tm-partner-wizard-mode select,
.tim-makeup-app.tm-partner-wizard-mode textarea {
  font-size: 16px !important;
}
.tim-makeup-app.tm-partner-wizard-mode .tm-wizard-actions button,
.tim-makeup-app.tm-partner-wizard-mode .tm-registration-add-service {
  font-size: 14px !important;
}

/* Authentication: preserve the compact card, remove the 9–11px reading layer. */
.tim-makeup-app.tm-auth-mode .tm-auth-brand > p {
  font-size: 12px !important;
}
.tim-makeup-app.tm-auth-mode .tm-auth-tabs button,
.tim-makeup-app.tm-auth-mode .tm-auth-socials > button,
.tim-makeup-app.tm-auth-mode .tm-auth-socials > a,
.tim-makeup-app.tm-auth-mode .tm-auth-form > .tm-btn {
  font-size: 13px !important;
}
.tim-makeup-app.tm-auth-mode .tm-auth-form .tm-field label {
  font-size: 12px !important;
}
.tim-makeup-app.tm-auth-mode .tm-auth-control input {
  font-size: 16px !important;
}
.tim-makeup-app.tm-auth-mode .tm-auth-form [data-forgot] {
  font-size: 12px !important;
}
.tim-makeup-app.tm-auth-mode .tm-auth-divider,
.tim-makeup-app.tm-auth-mode .tm-auth-switch {
  font-size: 11px !important;
}

@media (max-width: 370px) {
  .tim-makeup-app {
    --tm-mobile-title: 19px;
  }
  .tim-makeup-app.tm-partner-wizard-mode .tm-wizard-progress button {
    font-size: 9.5px !important;
  }
  .tim-makeup-app.community-html-parity .community-post p.community-post-text {
    font-size: 13.5px !important;
  }
}
