.tmdsl-brand-page {
  --tmdsl-primary-fallback: #347d82;
  --tmdsl-accent-fallback: #4db3b9;
  --tmdsl-dark-fallback: #2f323c;
  min-height: 100vh;
  padding: 40px 18px;
  background-color: #f5f9fa;
  background-size: cover;
  background-position: center;
  font-family: var(--tmdsl-font, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
}

.tmdsl-blank-template {
  margin: 0;
  background: #f5f9fa;
}

.tmdsl-blank-main {
  min-height: 100vh;
}

.tmdsl-auth-page,
.tmdsl-survey-page {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

body.tmdsl-hide-theme-shell > header,
body.tmdsl-hide-theme-shell > footer,
body.tmdsl-hide-theme-shell .site-header,
body.tmdsl-hide-theme-shell .site-footer,
body.tmdsl-hide-theme-shell #masthead,
body.tmdsl-hide-theme-shell #colophon,
body.tmdsl-hide-theme-shell .elementor-location-header,
body.tmdsl-hide-theme-shell .elementor-location-footer,
body.tmdsl-hide-theme-shell [data-elementor-type="header"],
body.tmdsl-hide-theme-shell [data-elementor-type="footer"],
body.tmdsl-hide-theme-shell .breakdance-header,
body.tmdsl-hide-theme-shell .breakdance-footer,
body.tmdsl-hide-theme-shell .bde-header-builder,
body.tmdsl-hide-theme-shell .bde-footer-builder {
  display: none !important;
}

.tmdsl-brand-logo {
  display: block;
  max-width: 190px;
  height: auto;
}

.tmdsl-brand-logo.auth,
.tmdsl-brand-logo.survey {
  margin: 0 auto 18px;
}

.tmdsl-brand-logo.topbar {
  max-width: 112px;
  margin-bottom: 10px;
}

.tmdsl-app {
  max-width: 920px;
  margin: 0 auto;
  font-family: var(--tmdsl-font, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
  color: var(--tmdsl-dark, #1f2933);
}

.tmdsl-dashboard-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 18px;
}

.tmdsl-dashboard-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid #d8e2e8;
  border-radius: 8px;
  background: #fff;
  color: var(--tmdsl-dark, #2f323c);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}

.tmdsl-dashboard-nav a.is-active {
  background: var(--tmdsl-primary, #347d82);
  color: #fff;
  border-color: var(--tmdsl-primary, #347d82);
}

.tmdsl-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: var(--tmdsl-primary, #347d82);
  color: #fff;
  border-radius: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.tmdsl-topbar strong {
  display: block;
  font-size: 16px;
  line-height: 1.2;
}

.tmdsl-topbar small {
  display: block;
  font-size: 12px;
  opacity: 0.85;
}

.tmdsl-logout {
  color: #fff;
  text-decoration: underline;
  font-size: 13px;
}

.tmdsl-section {
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--tmdsl-accent, #4db3b9) 25%, #e0e6ec);
  border-radius: 10px;
  padding: 18px;
  margin-bottom: 20px;
  box-shadow: 0 1px 2px rgba(15, 58, 95, 0.04);
}

.tmdsl-section h2 {
  margin: 0 0 14px;
  font-size: 18px;
}

.tmdsl-form .tmdsl-field {
  margin-bottom: 14px;
}

.tmdsl-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 14px;
}

.tmdsl-form input[type="text"],
.tmdsl-form input[type="tel"],
.tmdsl-form input[type="password"],
.tmdsl-form input[type="email"],
.tmdsl-form select {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #cbd5dd;
  border-radius: 8px;
  font-size: 16px;
  box-sizing: border-box;
  background: #fff;
}

.tmdsl-form input:focus,
.tmdsl-form select:focus {
  outline: none;
  border-color: var(--tmdsl-primary, #347d82);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--tmdsl-accent, #4db3b9) 24%, transparent);
}

.tmdsl-date-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 8px;
}

.tmdsl-two-col {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 12px;
}

.tmdsl-button,
.tmdsl-button-secondary {
  display: inline-block;
  padding: 12px 18px;
  background: var(--tmdsl-primary, #347d82);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease;
}

.tmdsl-button:hover {
  background: var(--tmdsl-dark, #2f323c);
}

.tmdsl-button-block {
  width: 100%;
}

.tmdsl-button-secondary {
  background: var(--tmdsl-accent, #4db3b9);
  margin-top: 12px;
}

.tmdsl-button-secondary:hover {
  background: var(--tmdsl-primary, #347d82);
}

.tmdsl-button-mini {
  padding: 6px 10px;
  background: var(--tmdsl-accent, #4db3b9);
  color: #fff;
  border-radius: 6px;
  font-size: 12px;
  text-decoration: none;
  font-weight: 600;
}

.tmdsl-button-mini:hover {
  background: var(--tmdsl-primary, #347d82);
}

.tmdsl-alert {
  padding: 12px 14px;
  border-radius: 8px;
  margin-bottom: 16px;
  font-size: 14px;
}

.tmdsl-alert-success {
  background: #e6f8ee;
  color: #137e3a;
  border: 1px solid #b4e7c8;
}

.tmdsl-alert-error {
  background: #fdecea;
  color: #c1392b;
  border: 1px solid #f4b6ae;
}

.tmdsl-auth-box {
  max-width: 420px;
  margin: 18px auto;
  background: #fff;
  border: 1px solid #e0e6ec;
  border-radius: 10px;
  padding: 26px;
  box-shadow: 0 2px 10px rgba(15, 58, 95, 0.06);
}

.tmdsl-auth-title {
  margin: 0 0 16px;
  font-size: 20px;
  text-align: center;
}

.tmdsl-remember {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  margin-bottom: 14px;
  cursor: pointer;
}

.tmdsl-login-form button {
  margin-top: 6px;
}

.tmdsl-suggest-wrap {
  position: relative;
}

.tmdsl-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #cbd5dd;
  border-top: none;
  border-radius: 0 0 8px 8px;
  max-height: 240px;
  overflow-y: auto;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(15, 58, 95, 0.1);
}

.tmdsl-suggestion {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 10px 12px;
  border-bottom: 1px solid #eef1f4;
  cursor: pointer;
}

.tmdsl-suggestion:last-child {
  border-bottom: none;
}

.tmdsl-suggestion:hover {
  background: #f4f7fa;
}

.tmdsl-suggestion strong {
  display: block;
  font-size: 14px;
}

.tmdsl-suggestion span {
  display: block;
  font-size: 12px;
  color: #6c7a86;
}

.tmdsl-suggestion-empty {
  padding: 10px 12px;
  font-size: 13px;
  color: #6c7a86;
}

.tmdsl-selected-doctor {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  margin: -2px 0 14px;
  border: 1px solid color-mix(in srgb, var(--tmdsl-accent, #4db3b9) 55%, #d8e4e7);
  border-radius: 8px;
  background: color-mix(in srgb, var(--tmdsl-accent, #4db3b9) 10%, #fff);
}

.tmdsl-selected-doctor[hidden] {
  display: none;
}

.tmdsl-selected-doctor strong,
.tmdsl-selected-doctor span {
  display: block;
}

.tmdsl-selected-doctor span {
  color: #52616d;
  font-size: 13px;
  margin-top: 2px;
}

.tmdsl-selected-doctor button {
  border: 0;
  background: var(--tmdsl-primary, #347d82);
  color: #fff;
  border-radius: 7px;
  min-height: 34px;
  padding: 7px 10px;
  font-weight: 700;
  cursor: pointer;
}

.tmdsl-form input.is-locked,
.tmdsl-form input[readonly].is-locked {
  background: #eef6f7;
  border-color: var(--tmdsl-accent, #4db3b9);
  color: #44515c;
}

/* ---------- Link gerado ---------- */

.tmdsl-generated {
  background: color-mix(in srgb, var(--tmdsl-accent, #4db3b9) 8%, #fff);
  border-color: color-mix(in srgb, var(--tmdsl-accent, #4db3b9) 35%, #d8e4e7);
}

.tmdsl-copy-row {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.tmdsl-copy-row input {
  flex: 1;
  min-width: 200px;
  padding: 10px 12px;
  border: 1px solid #cbd5dd;
  border-radius: 8px;
  font-size: 14px;
  background: #fff;
}

.tmdsl-copy {
  padding: 10px 16px;
  background: var(--tmdsl-primary, #347d82);
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
}

.tmdsl-copy:hover {
  background: var(--tmdsl-dark, #2f323c);
}

/* ---------- Lista de links recentes ---------- */

.tmdsl-legend {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.tmdsl-links-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tmdsl-section-heading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.tmdsl-section-heading h2 {
  margin-bottom: 0;
}

.tmdsl-filter-bar {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) minmax(118px, .7fr) minmax(96px, .55fr) auto;
  gap: 8px;
  margin: 0 0 14px;
}

.tmdsl-filter-bar input,
.tmdsl-filter-bar select {
  width: 100%;
  min-height: 36px;
  border: 1px solid #cbd5dd;
  border-radius: 7px;
  padding: 7px 8px;
  font: inherit;
  font-size: 12px;
}

.tmdsl-empty {
  margin: 0;
  font-size: 14px;
  color: #6c7a86;
  font-style: italic;
}

.tmdsl-link-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border: 1px solid #e0e6ec;
  border-radius: 8px;
  background: #fff;
  flex-wrap: wrap;
}

.tmdsl-link-row-compact {
  padding: 10px 12px;
  gap: 10px;
}

.tmdsl-link-row-compact .tmdsl-edit-details {
  margin-top: 6px;
  padding-top: 8px;
}

.tmdsl-link-row.tmdsl-status-submitted {
  background: #f0fbf4;
  border-color: #b4e7c8;
}

.tmdsl-link-row.tmdsl-status-opened {
  background: #fefaee;
  border-color: #ecdfb0;
}

.tmdsl-link-main {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 200px;
}

.tmdsl-link-main strong {
  font-size: 15px;
}

.tmdsl-link-meta {
  font-size: 13px;
  color: #5a6772;
}

.tmdsl-when-submitted {
  color: #137e3a;
  font-weight: 600;
}

.tmdsl-link-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.tmdsl-link-actions code {
  font-size: 12px;
  background: #eef1f4;
  padding: 3px 7px;
  border-radius: 4px;
  color: #1f2933;
}

.tmdsl-edit-details {
  width: 100%;
  margin-top: 12px;
  border-top: 1px solid #e4e8ee;
  padding-top: 10px;
}

.tmdsl-edit-details summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--tmdsl-primary, #347d82);
}

.tmdsl-edit-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.tmdsl-create-form {
  margin: 14px 0 18px;
  padding: 14px;
  border: 1px solid #dfe6ed;
  border-radius: 8px;
  background: #f8fafb;
}

.tmdsl-edit-form label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 13px;
  font-weight: 700;
}

.tmdsl-edit-form input {
  width: 100%;
  min-height: 38px;
  border: 1px solid #b9c2d0;
  border-radius: 6px;
  padding: 7px 9px;
  font: inherit;
}

.tmdsl-edit-form select {
  width: 100%;
  min-height: 38px;
  border: 1px solid #b9c2d0;
  border-radius: 6px;
  padding: 7px 9px;
  font: inherit;
  background: #fff;
}

.tmdsl-analysis-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.tmdsl-analysis-card {
  padding: 14px;
  border: 1px solid #dbe6eb;
  border-radius: 8px;
  background: #fbfdfd;
}

.tmdsl-analysis-card strong {
  display: block;
  font-size: 26px;
  color: var(--tmdsl-primary, #347d82);
}

.tmdsl-analysis-card span {
  display: block;
  color: #62727d;
  font-size: 13px;
}

.tmdsl-edit-actions {
  grid-column: 1 / -1;
  display: flex;
  gap: 8px;
}

.tmdsl-danger-mini,
.tmdsl-neutral-mini {
  min-height: 34px;
  border: 0;
  border-radius: 6px;
  background: #9f2f2f;
  color: #fff;
  font-weight: 700;
  padding: 7px 10px;
  cursor: pointer;
}

.tmdsl-neutral-mini {
  background: #eef1f4;
  color: #44515c;
}

.tmdsl-survey-shell {
  width: min(760px, 100%);
  max-width: 760px;
  margin: 0 auto;
  color: #172033;
}

.tmdsl-survey-hero {
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--tmdsl-accent, #4db3b9) 35%, #d8dee8);
  border-radius: 8px;
  padding: 28px;
  margin-bottom: 18px;
  box-shadow: 0 10px 24px rgba(47, 50, 60, 0.07);
  text-align: center;
}

.tmdsl-survey-eyebrow {
  margin: 0 0 6px;
  color: var(--tmdsl-primary, #347d82);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.tmdsl-survey-hero h2 {
  margin: 0 0 8px;
}

.tmdsl-native-form {
  display: grid;
  gap: 18px;
  padding-bottom: 88px;
}

.tmdsl-question-section {
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--tmdsl-accent, #4db3b9) 28%, #d8dee8);
  border-radius: 8px;
  padding: 18px;
  box-shadow: 0 8px 18px rgba(47, 50, 60, 0.05);
}

.tmdsl-question-section-head {
  border-bottom: 1px solid #e6edf1;
  margin-bottom: 14px;
  padding-bottom: 12px;
}

.tmdsl-question-section-head h3 {
  margin: 0;
  font-size: 18px;
  color: var(--tmdsl-dark, #2f323c);
}

.tmdsl-question-section-head p {
  margin: 5px 0 0;
  color: #62727d;
  font-size: 14px;
}

.tmdsl-question {
  background: #fbfdfd;
  border: 1px solid color-mix(in srgb, var(--tmdsl-accent, #4db3b9) 18%, #dde7ec);
  border-radius: 8px;
  padding: 16px;
  margin: 0 0 12px;
}

.tmdsl-question:last-child {
  margin-bottom: 0;
}

.tmdsl-question legend {
  padding: 0;
  font-weight: 700;
}

.tmdsl-radio-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
  margin-top: 12px;
}

.tmdsl-radio-list label {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #cbd4df;
  border-radius: 6px;
  padding: 12px 14px;
  cursor: pointer;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.tmdsl-radio-list label:hover {
  border-color: var(--tmdsl-accent, #4db3b9);
  box-shadow: 0 8px 18px color-mix(in srgb, var(--tmdsl-accent, #4db3b9) 16%, transparent);
}

.tmdsl-radio-list input:checked ~ .tmdsl-option-text,
.tmdsl-radio-list input:checked ~ .tmdsl-option-emoji {
  font-weight: 800;
}

.tmdsl-radio-list label:has(input:checked) {
  border-color: var(--tmdsl-primary, #347d82);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--tmdsl-accent, #4db3b9) 24%, transparent);
}

.tmdsl-option-emoji {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--tmdsl-accent, #4db3b9) 16%, #fff);
  font-size: 30px;
  flex: 0 0 auto;
}

.tmdsl-option-text {
  color: var(--tmdsl-dark, #2f323c);
}

.tmdsl-question textarea {
  width: 100%;
  min-height: 120px;
  margin-top: 12px;
  border: 1px solid #b9c2d0;
  border-radius: 6px;
  padding: 9px 11px;
  font: inherit;
}

.tmdsl-question textarea:focus {
  outline: none;
  border-color: var(--tmdsl-primary, #347d82);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--tmdsl-accent, #4db3b9) 24%, transparent);
}

.tmdsl-survey-muted {
  color: #5d6a78;
}

.tmdsl-answer-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.tmdsl-answer-list p {
  margin: 4px 0 0;
}

/* ---------- Badges de status ---------- */

.tmdsl-badge {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  border: 1px solid transparent;
  white-space: nowrap;
}

.tmdsl-badge.tmdsl-status-pending {
  background: color-mix(in srgb, var(--tmdsl-dark, #2f323c) 7%, #fff);
  color: #5a6772;
  border-color: #d9dee3;
}

.tmdsl-badge.tmdsl-status-opened {
  background: #fef5d4;
  color: #8a6500;
  border-color: #ecdfb0;
}

.tmdsl-badge.tmdsl-status-submitted {
  background: #d4f4dd;
  color: #137e3a;
  border-color: #98dab1;
}

/* ---------- Mobile ---------- */

@media (max-width: 540px) {
  .tmdsl-section {
    padding: 14px;
  }
  .tmdsl-link-row {
    flex-direction: column;
    align-items: stretch;
  }
  .tmdsl-link-actions {
    justify-content: flex-start;
  }
  .tmdsl-topbar {
    padding: 12px 14px;
  }
  .tmdsl-date-row {
    grid-template-columns: 1fr 1.4fr 1fr;
  }
  .tmdsl-edit-form {
    grid-template-columns: 1fr;
  }
  .tmdsl-two-col,
  .tmdsl-filter-bar,
  .tmdsl-analysis-grid {
    grid-template-columns: 1fr;
  }
}

/* Sumir com o contexto da pesquisa por padrao (caso queiram embutir no Forminator) */
.tmdsl-survey-context {
  padding: 10px 14px;
  background: color-mix(in srgb, var(--tmdsl-accent, #4db3b9) 8%, #fff);
  border-left: 3px solid var(--tmdsl-primary, #347d82);
  font-size: 14px;
  color: #1f2933;
  margin-bottom: 18px;
}

/* ---------- Refinamentos 1.7.1 ---------- */

.tmdsl-brand-page,
.tmdsl-brand-page * {
  box-sizing: border-box;
}

.tmdsl-brand-page {
  width: 100%;
  min-height: 100vh;
  padding: 32px 16px;
  background-color: #f6fafb;
  color: var(--tmdsl-dark, #2f323c);
}

.tmdsl-blank-main {
  min-height: 100vh;
  display: flex;
}

.tmdsl-blank-main > .tmdsl-brand-page {
  flex: 1;
}

.tmdsl-dashboard-page {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.tmdsl-dashboard-page .tmdsl-app {
  width: min(1040px, 100%);
}

.tmdsl-auth-page,
.tmdsl-survey-page {
  min-height: 100vh;
  justify-content: center;
}

.tmdsl-auth-page {
  align-items: center;
}

.tmdsl-survey-page {
  align-items: flex-start;
}

body.tmdsl-hide-theme-shell .brxe-header,
body.tmdsl-hide-theme-shell .brxe-footer,
body.tmdsl-hide-theme-shell .ct-header,
body.tmdsl-hide-theme-shell .ct-footer,
body.tmdsl-hide-theme-shell .wp-site-blocks > header,
body.tmdsl-hide-theme-shell .wp-site-blocks > footer {
  display: none !important;
}

.tmdsl-section,
.tmdsl-auth-box,
.tmdsl-link-row,
.tmdsl-survey-hero,
.tmdsl-question-section {
  border-radius: 8px;
  background: var(--tmdsl-light, #fff);
}

.tmdsl-section h2,
.tmdsl-topbar strong,
.tmdsl-link-main strong,
.tmdsl-survey-hero h2,
.tmdsl-question-section-head h3,
.tmdsl-question legend {
  line-height: 1.22;
  overflow-wrap: anywhere;
}

.tmdsl-section h2 {
  font-size: 17px;
}

.tmdsl-survey-shell {
  width: min(760px, 100%);
}

.tmdsl-survey-hero {
  padding: 24px;
}

.tmdsl-survey-hero h2 {
  font-size: 26px;
  margin-bottom: 10px;
}

.tmdsl-survey-hero p {
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.55;
  font-size: 15px;
}

.tmdsl-question-section-head h3 {
  font-size: 17px;
}

.tmdsl-question legend {
  font-size: 15px;
}

.tmdsl-radio-list {
  grid-template-columns: 1fr !important;
}

.tmdsl-radio-list label {
  width: 100%;
  min-height: 58px;
}

.tmdsl-option-emoji {
  width: 42px;
  height: 42px;
  font-size: 25px;
}

.tmdsl-button,
.tmdsl-button-secondary,
.tmdsl-copy,
.tmdsl-button-mini,
.tmdsl-danger-mini,
.tmdsl-neutral-mini {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
}

.tmdsl-button,
.tmdsl-button-secondary {
  min-height: 42px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 700;
}

.tmdsl-copy,
.tmdsl-button-mini,
.tmdsl-danger-mini,
.tmdsl-neutral-mini {
  min-height: 32px;
  padding: 0 10px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 700;
}

.tmdsl-copy-row .tmdsl-copy {
  min-height: 38px;
  font-size: 13px;
}

.tmdsl-link-actions .tmdsl-copy,
.tmdsl-link-actions .tmdsl-button-mini {
  min-width: 78px;
}

.tmdsl-link-row {
  align-items: center;
}

.tmdsl-link-main {
  min-width: min(100%, 240px);
}

.tmdsl-link-meta {
  line-height: 1.35;
}

.tmdsl-edit-details summary {
  font-size: 13px;
}

@media (max-width: 640px) {
  .tmdsl-brand-page {
    padding: 18px 12px;
  }

  .tmdsl-topbar {
    align-items: flex-start;
    border-radius: 8px;
  }

  .tmdsl-brand-logo.topbar {
    max-width: 96px;
  }

  .tmdsl-dashboard-nav {
    gap: 6px;
  }

  .tmdsl-dashboard-nav a {
    min-height: 32px;
    padding: 6px 9px;
    font-size: 12px;
  }

  .tmdsl-survey-hero {
    padding: 20px 16px;
  }

  .tmdsl-survey-hero h2 {
    font-size: 22px;
  }

  .tmdsl-question-section {
    padding: 14px;
  }

  .tmdsl-radio-list label {
    align-items: flex-start;
    padding: 11px 12px;
  }

  .tmdsl-link-actions {
    width: 100%;
  }

  .tmdsl-link-actions code {
    width: 100%;
  }

  .tmdsl-link-actions .tmdsl-copy,
  .tmdsl-link-actions .tmdsl-button-mini {
    flex: 1 1 0;
  }
}
