/* XSeller V3.6.3-R4.3 — Typography scale + history layout fix */
:root {
  --xs-r43-fs-xs: clamp(12.5px, 0.72vw, 13.5px);
  --xs-r43-fs-sm: clamp(13.5px, 0.78vw, 14.5px);
  --xs-r43-fs-md: clamp(14.5px, 0.84vw, 15.5px);
  --xs-r43-fs-lg: clamp(15.5px, 0.92vw, 16.5px);
  --xs-r43-fs-xl: clamp(17px, 1vw, 18px);
}

body, button, input, textarea, select {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
small,
.text-xs,
.text-sm,
.muted,
.hint,
.helper,
.note,
.caption,
.subtext,
.placeholder,
#sidebar,
#sidebar a,
#sidebar button,
#sidebar small,
label,
input::placeholder,
textarea::placeholder,
select,
option {
  font-size: var(--xs-r43-fs-sm) !important;
}

#sidebar .tool,
#sidebar .sideLink,
#sidebar .adminlink,
#sidebar .sectionTitle,
#sidebar .groupTitle {
  font-size: var(--xs-r43-fs-sm) !important;
  line-height: 1.35 !important;
}

main p,
main small,
main .muted,
main .helper,
main .hint,
main .description,
main .subtext,
main .text-sm,
main .text-xs,
main label,
main input,
main textarea,
main select,
main button {
  font-size: var(--xs-r43-fs-md);
}

main h1 { font-size: clamp(38px, 3.1vw, 46px); }
main h2 { font-size: clamp(28px, 2.2vw, 34px); }
main h3 { font-size: clamp(20px, 1.5vw, 24px); }

.xs-r43-history-fixed,
.xs-r43-history-fixed * {
  box-sizing: border-box;
}

.xs-r43-history-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
}

.xs-r43-history-subline {
  display: block !important;
  margin-top: 6px !important;
  font-size: var(--xs-r43-fs-sm) !important;
  line-height: 1.55 !important;
  color: rgba(226,232,240,.78) !important;
}

.xs-r43-history-actions {
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
}

.xs-r43-history-card,
.xs-r43-history-item,
.xs-r43-history-row {
  font-size: var(--xs-r43-fs-md) !important;
}

.xs-r43-history-title {
  font-size: var(--xs-r43-fs-lg) !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
}

.xs-r43-history-desc {
  display: block !important;
  margin-top: 6px !important;
  font-size: var(--xs-r43-fs-sm) !important;
  line-height: 1.55 !important;
  color: rgba(226,232,240,.78) !important;
}

.xs-r43-history-meta {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
  font-size: var(--xs-r43-fs-xs) !important;
}

.xs-r43-history-cta {
  margin-left: auto !important;
}
