/* Typography follows the Android Compose sizes and weights at the default text scale. */
body {
 --android-font: Roboto, -apple-system, "Segoe UI", system-ui, sans-serif;
 --android-caption: .6875rem;
 --android-caption-line: .875rem;
 --android-section: .8125rem;
 --android-section-tracking: .025rem;
 font-family: var(--android-font);
 font-size: .9375rem;
 font-weight: 400;
 line-height: 1.375rem;
 letter-spacing: .01em;
}

body[data-theme="light"] {
 --android-caption: .71875rem;
 --android-caption-line: .9375rem;
 --android-section: .75rem;
 --android-section-tracking: .05rem;
 letter-spacing: .0067em;
}

button {
 font-weight: 500;
}

body[data-tab="1"] main h1,
body[data-tab="3"] main h1 {
 font-size: 1.375rem;
 font-weight: 600;
 line-height: 1.75rem;
 letter-spacing: .009rem;
}

body[data-tab="2"] .schedule-navbar h1,
.service-screen h1 {
 font-size: 1.25rem;
 font-weight: 600;
 line-height: 1.625rem;
 letter-spacing: 0;
}

.home-title {
 font-weight: 500;
 line-height: 1.1;
 letter-spacing: 0;
}

.connection,
.arc-copy label {
 font-weight: 500;
}

.temperatures strong,
.arc-copy strong {
 font-weight: 700;
}

.temperatures div+div strong {
 font-weight: 600;
}

.service-grid strong,
.control-copy strong,
.detail-gauge h2 {
 font-weight: 600;
}

.detail-gauge h2 {
 font-size: 1.625rem;
 line-height: 2rem;
}

.detail-gauge strong {
 font-size: 1.375rem;
 font-weight: 700;
 line-height: 1.75rem;
}

.service-screen dd,
.service-reset-button {
 font-weight: 600;
}

.stats-meta {
 font-size: .75rem;
 line-height: 1rem;
}

.stats-overview button {
 font-size: var(--android-caption);
 line-height: var(--android-caption-line);
}

.stats-overview strong {
 font-size: 1.125rem;
 font-weight: 600;
 line-height: 1.5rem;
}

.stats-totals h2 {
 font-size: var(--android-section);
 font-weight: 500;
 line-height: 1rem;
 letter-spacing: var(--android-section-tracking);
}

.stats-totals strong,
.stats-runtime-row strong,
.stats-primary-actions button {
 font-size: .9375rem;
 font-weight: 600;
 line-height: 1.375rem;
}

.settings-lead {
 font-size: .8125rem;
 line-height: 1.125rem;
}

.settings-section summary strong {
 font-size: .9375rem;
 font-weight: 600;
 line-height: 1.25rem;
}

.settings-section summary small {
 font-size: .75rem;
 font-weight: 400;
 line-height: 1rem;
}

.settings-switch-row,
.settings-content label:not(.mapping-choice) {
 font-size: .875rem;
 line-height: 1.25rem;
}

.settings-content input:not([type="checkbox"]):not([type="radio"]):not([type="range"]) {
 font-family: var(--android-font);
}

.schedule-master strong,
body[data-tab="2"] #schedule-add {
 font-size: .9375rem;
 font-weight: 600;
}

.schedule-option strong,
.schedule-empty {
 font-size: .8125rem;
 font-weight: 400;
 line-height: 1.125rem;
}

.schedule-option small,
.schedule-dialog p,
.schedule-dialog legend,
.schedule-times span {
 font-size: .6875rem;
 font-weight: 400;
 line-height: .9375rem;
}

.schedule-dialog h2 {
 font-size: 1.375rem;
 font-weight: 600;
 line-height: 1.75rem;
}

.schedule-times strong,
.schedule-stepper output {
 font-size: 1.75rem;
 font-weight: 600;
 line-height: 2.125rem;
}

.schedule-choice span {
 font-size: .875rem;
 font-weight: 400;
}

.schedule-chips span {
 font-size: .8125rem;
 font-weight: 400;
}

.schedule-choice input:checked+span,
.schedule-chips input:checked+span,
.schedule-dialog-actions button:last-child {
 font-weight: 600;
}
