:root {
  --ink: #202a22;
  --muted: #5b6a60;
  font-synthesis: weight;
}

body,
button,
input,
select,
textarea {
  font-family: "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", sans-serif;
}

body { font-size: 15px; line-height: 1.5; }
button, input, select, textarea { line-height: 1.45; }
input::placeholder, textarea::placeholder { color: #7a887e; font-weight: 400; }

.brand { font-weight: 700; letter-spacing: .035em; }
.brand small::after { color: #b0bdb3; font-weight: 400; letter-spacing: 0; }
.side nav > button[data-view] { font-size: 14px; font-weight: 500; }
.side nav > button[data-view].active { font-weight: 700; }
.side nav .roast-subnav button { font-size: 13px; font-weight: 500; }
.side nav .roast-subnav button.active { font-weight: 700; }
header > span:first-child { font-size: 14px; }
header #crumb { color: var(--ink); font-weight: 600; }

.pagehead em,
.dialoghead em { font-size: 12px; font-weight: 700; letter-spacing: .1em; }
.pagehead h1 { font-size: 26px; font-weight: 700; line-height: 1.3; letter-spacing: 0; }
.pagehead p,
#meta { font-size: 14px; line-height: 1.5; }
.dialoghead h2 { font-size: 22px; font-weight: 700; line-height: 1.35; }
.cardhead strong,
.power-header strong,
.history-card .cardhead strong { font-size: 16px; font-weight: 700; }
.cardhead small,
.power-header small { font-size: 13px; line-height: 1.45; }

.form label,
.panel > label,
.editor-grid label,
.sensory-basic label,
.sensory-test label,
.record-filters label,
.history-tools label,
.account-row label,
.component-head {
  color: #536158;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
}
.bean-type-fieldset legend { font-size: 13px; font-weight: 500; }
.form input,
.form select,
.panel input,
.panel select,
.panel textarea,
.editor-grid input,
.editor-grid select,
.editor-grid textarea,
.component-row select,
.component-row input,
.sensory-basic input,
.sensory-basic select,
.sensory-test input,
.sensory-test textarea,
.record-filters input,
.record-filters select,
.history-tools input,
.history-tools select { font-size: 14px; font-weight: 400; }
#batch,
.record small,
.history-table td:nth-child(2),
.metrics strong,
.phase strong,
.sensory-scores b { font-variant-numeric: tabular-nums; }
#batch { font-weight: 600; }

.primary,
.ghost,
.module-tools button,
.account-button,
.data-button,
.roast-switcher .new-roast { font-size: 14px; font-weight: 600; }
.record-actions button,
.history-table button,
.bulk-toolbar button,
.record-filters button,
.account-row button { font-size: 13px; font-weight: 500; }
.tabs button { font-size: 14px; font-weight: 500; }
.tabs button.active { font-weight: 700; }

.record-list-header,
.history-table th { font-size: 13px; font-weight: 600; color: #536158; }
.history-table td { font-size: 13px; font-weight: 400; }
.history-table td strong { font-weight: 600; }
#beanList .record small,
#profileList .record small { font-size: 12px; font-weight: 500; }
#beanList .record h3,
#profileList .record h3 { font-size: 15px; font-weight: 700; }
#beanList .record p,
#beanList .record > span,
#profileList .record p,
#profileList .record > span { font-size: 14px; font-weight: 400; }
.tag { font-size: 12px; font-weight: 600; }
#cuppingList .sensory-row { font-size: 14px; }
#cuppingList .sensory-row strong { font-weight: 700; }
#cuppingList .sensory-row small { font-size: 12px; }
.sensory-scores span { font-size: 12px; }
.sensory-scores b { font-size: 13px; font-weight: 700; }
.sensory-test header strong { font-size: 16px; font-weight: 700; }
.sensory-test header span { font-size: 19px; font-weight: 700; }

.record-filters select,
.history-tools select,
.bulk-toolbar button,
.bulk-toolbar [data-bulk-count],
.hint,
#status,
.compare-options p,
.module-import-body .module-import-hint { font-size: 13px; }
.chart-events label,
.pills span,
.headrow,
.minute code { font-size: 12px; }
.chart-events strong,
.headrow { font-weight: 600; }
svg text { font-family: "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", sans-serif; }

.login-brand { font-weight: 700; }
.login-brand span { font-weight: 700; }
#loginTitle { font-weight: 700; }
.login-card label { font-size: 14px; font-weight: 500; }
.login-card button { font-weight: 600; }

@media (max-width: 700px) {
  .side nav > button[data-view],
  .side nav .roast-subnav button { font-size: 0; }
  .pagehead h1 { font-size: 22px; }
}

@media (min-width: 1800px) {
  .view { max-width: 1680px; padding: 30px; }
  .pagehead { margin-bottom: 24px; }
  .pagehead h1 { font-size: 28px; }
  .pagehead p, #meta { font-size: 15px; }
  .side nav > button[data-view] { font-size: 15px; }
  .side nav .roast-subnav button { font-size: 14px; }
  .record-list-header, .history-table th { font-size: 14px; }
  .history-table td { font-size: 14px; }
  .history-table td, .history-table th { padding-top: 14px; padding-bottom: 14px; }
  #beanList .record, #profileList .record { min-height: 64px; }
  #beanList .record h3, #profileList .record h3 { font-size: 16px; }
  .record-actions button, .history-table button { font-size: 14px; }
  .record-filters label, .history-tools label { font-size: 14px; }
}
