/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

:root {
    --color-page: #f9f3e7;
    --color-shell: #fff9ee;
    --color-surface: #fffdf8;
    --color-surface-soft: rgba(255, 249, 238, 0.75);
    --color-text: #17120f;
    --color-muted: #5d554d;
    --color-subtle: #7b6f5f;
    --color-border: #dfd5c3;
    --color-primary: #17120f;
    --color-primary-text: #fff9ee;
    --color-feed: #ffd05b;
    --color-feed-soft: #fff4cf;
    --color-feed-text: #5d3f00;
    --color-sleep: #aee0ff;
    --color-sleep-soft: #e7f6ff;
    --color-sleep-text: #21485e;
    --color-danger: #c94a4a;
    --shadow-shell: 0 0 80px rgba(23, 18, 15, 0.1);
    --shadow-inset: inset 0 -2px 0 rgba(23, 18, 15, 0.08);
}

body[data-theme="health_ring"] {
    --color-page: #f1ece3;
    --color-shell: #f7f2e9;
    --color-surface: #fbf8f1;
    --color-surface-soft: rgba(251, 248, 241, 0.78);
    --color-text: #24211d;
    --color-muted: #6e665d;
    --color-subtle: #83786d;
    --color-border: rgba(36, 33, 29, 0.14);
    --color-primary: #24211d;
    --color-primary-text: #f7f2e9;
    --color-feed: #b8798d;
    --color-feed-soft: #ead3db;
    --color-feed-text: #4b2f38;
    --color-sleep: #7897ad;
    --color-sleep-soft: #dfe8ec;
    --color-sleep-text: #2f4049;
    --color-danger: #b85f58;
    --shadow-shell: none;
}

body[data-theme="poppies"] {
    --color-page: #f2eee6;
    --color-shell: #faf7ef;
    --color-surface: #fffdf6;
    --color-surface-soft: rgba(255, 253, 246, 0.8);
    --color-text: #17191f;
    --color-muted: #605c55;
    --color-subtle: #857d70;
    --color-border: rgba(23, 25, 31, 0.16);
    --color-primary: #263477;
    --color-primary-text: #fffdf6;
    --color-feed: #c65d5e;
    --color-feed-soft: #bfc7ec;
    --color-feed-text: #5f263b;
    --color-sleep: #bfc7ec;
    --color-sleep-soft: #e4e9fb;
    --color-sleep-text: #263477;
    --color-danger: #d23a30;
    --shadow-shell: none;
}

.app-body {
    min-height: 100vh;
    background: var(--color-page);
    color: var(--color-text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.app-display {
    font-family: Georgia, "Times New Roman", serif;
    letter-spacing: 0;
}

.app-shell {
    max-width: 64rem;
    min-height: 100vh;
    margin: 0 auto;
    background: var(--color-shell);
    box-shadow: var(--shadow-shell);
}

.app-header {
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 1px solid var(--color-border);
    background: color-mix(in srgb, var(--color-shell) 95%, transparent);
    backdrop-filter: blur(8px);
}

.app-brand-row,
.app-nav,
.app-main {
    max-width: 56rem;
    margin: 0 auto;
    padding-inline: 1.25rem;
}

.app-brand-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.5rem;
}

.app-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 1.25rem;
    color: var(--color-text);
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    text-decoration: none;
}

.app-brand-mark {
    display: grid;
    width: 2rem;
    height: 2rem;
    place-items: center;
    border-radius: 999px;
    background: var(--color-primary);
    color: var(--color-primary-text);
    font-size: 0.875rem;
}

.theme-dot {
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: 1.25rem;
    border-radius: 999px;
    background: var(--color-feed);
    box-shadow: 0 0 0 2px var(--color-primary);
}

.app-nav {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    font-size: 1rem;
    font-weight: 700;
}

.app-nav-link {
    border-bottom: 4px solid transparent;
    padding-bottom: 1rem;
    color: var(--color-muted);
    text-decoration: none;
    white-space: nowrap;
}

.app-nav-link:hover,
.app-nav-link.is-active {
    color: var(--color-text);
}

.app-nav-link.is-active {
    border-bottom-color: var(--color-primary);
}

.app-main {
    padding-block: 2rem;
}

.page-stack {
    width: 100%;
}

.page {
    width: 100%;
}

.page--narrow {
    max-width: 42rem;
}

.page-stack > * + * {
    margin-top: 2.5rem;
}

.section-stack > * + * {
    margin-top: 1.5rem;
}

.page > * + * {
    margin-top: 2rem;
}

.page-header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.page-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.page-eyebrow {
    color: var(--color-muted);
    font-size: 1.125rem;
    font-weight: 600;
}

.page-title {
    margin-top: 0.5rem;
    color: var(--color-text);
    font-size: 3.25rem;
    line-height: 0.9;
}

.section-title {
    font-size: 1.125rem;
    font-weight: 800;
}

.helper-text {
    color: var(--color-muted);
    font-size: 0.875rem;
    font-weight: 700;
}

.notice {
    display: inline-flex;
    border-radius: 999px;
    background: #d9f3dc;
    padding: 0.5rem 1rem;
    color: #24542a;
    font-size: 0.875rem;
    font-weight: 800;
}

.form-card,
.record-card {
    border: 1px solid var(--color-border);
    border-radius: 1.5rem;
    background: var(--color-surface);
    padding: 1.25rem;
}

.form-card--error {
    border-color: var(--color-danger);
    background: #ffe2e2;
    color: #8a2929;
    font-weight: 800;
}

.medication-form-section {
    border: 0;
    border-top: 1px solid color-mix(in srgb, var(--color-border) 72%, transparent);
    margin: 1.5rem 0 0;
    padding: 1.5rem 0 0;
}

.medication-form-section:first-of-type {
    border-top: 0;
    margin-top: 0;
    padding-top: 0;
}

.record-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.25rem;
}

.empty-card {
    border: 1px solid var(--color-border);
    border-radius: 1.5rem;
    background: var(--color-surface);
    padding: 1.5rem;
    color: var(--color-muted);
    font-weight: 700;
    text-align: center;
}

.empty-card--action {
    text-align: left;
}

.empty-card--shortcut {
    display: grid;
    gap: 0.35rem;
    color: var(--color-muted);
    text-decoration: none;
    transition: border-color 160ms ease, transform 160ms ease;
}

.empty-card--shortcut strong {
    color: var(--color-text);
    font-size: 1.05rem;
}

.empty-card--shortcut:hover {
    border-color: color-mix(in srgb, var(--color-text) 28%, var(--color-border));
    transform: translateY(-1px);
}

.empty-card__title {
    margin-top: 0.75rem;
    color: var(--color-text);
    font-size: 1.45rem;
    font-weight: 900;
    line-height: 1.1;
}

.dashboard-grid {
    display: grid;
    gap: 1.25rem;
}

.dashboard-heading {
    display: grid;
    gap: 1rem;
}

.dashboard-date-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.dashboard-date-form,
.dashboard-date-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.dashboard-date-input {
    min-height: 2.25rem;
    width: 9.5rem;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    background: color-mix(in srgb, var(--color-surface) 64%, transparent);
    padding: 0.45rem 0.8rem;
    color: var(--color-text);
    font-weight: 800;
}

.dashboard-grid--two {
    grid-template-columns: 1fr;
}

.dashboard-grid--summary {
    grid-template-columns: 1fr;
}

.card {
    border: 1px solid var(--color-border);
    border-radius: 1.5rem;
    background: var(--color-surface);
    padding: 1rem;
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.summary-card,
.action-card {
    border-radius: 2rem;
    color: var(--color-text);
    box-shadow: var(--shadow-inset);
}

.summary-card {
    padding: 1.5rem;
}

.action-card {
    padding: 1.75rem;
    text-align: center;
}

.feed-card {
    background: var(--color-feed);
}

.sleep-card {
    background: var(--color-sleep);
}

.medicine-card {
    background: color-mix(in srgb, var(--color-sleep) 38%, var(--color-feed));
}

.summary-label,
.action-group-label {
    color: var(--label-color, var(--color-text));
    font-size: 1.125rem;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.2;
    text-transform: none;
}

.summary-label {
    letter-spacing: 0;
}

.summary-label--feed,
.action-group-label--feed {
    --label-color: var(--color-feed-text);
}

.summary-label--sleep {
    --label-color: var(--color-sleep-text);
}

.summary-value {
    margin-top: 1.25rem;
    font-size: 3.75rem;
    line-height: 0.9;
}

.metric-grid {
    display: grid;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.metric-grid--single {
    grid-template-columns: minmax(0, 1fr);
}

.metric-card {
    min-width: 0;
    border-radius: 1rem;
    background: var(--color-surface-soft);
    padding: 1rem;
}

.metric-label {
    color: var(--label-color, var(--color-text));
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.25;
    text-transform: none;
}

.metric-value {
    margin-top: 0.5rem;
    font-size: 2rem;
    line-height: 1.12;
}

.metric-value--compact {
    font-size: 2rem;
    line-height: 1.12;
    overflow-wrap: anywhere;
}

.insight-grid {
    display: grid;
    gap: 1.25rem;
}

.insight-card {
    border-radius: 2rem;
    padding: 1.5rem;
    color: var(--color-text);
    box-shadow: var(--shadow-inset);
}

.insight-card--feed {
    background: var(--color-feed);
}

.insight-card--sleep {
    background: var(--color-sleep);
}

.insight-card__label {
    color: var(--label-color, var(--color-text));
    font-size: 1.125rem;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.2;
    text-transform: none;
}

.insight-card--feed .insight-card__label,
.insight-card--feed .insight-metric__label {
    --label-color: var(--color-feed-text);
}

.insight-card--sleep .insight-card__label,
.insight-card--sleep .insight-metric__label {
    --label-color: var(--color-sleep-text);
}

.insight-card__hero {
    margin-top: 1.25rem;
    font-size: 3.75rem;
    line-height: 0.9;
}

.insight-card__meta {
    margin-top: 0.75rem;
    color: var(--color-muted);
    font-size: 0.875rem;
    font-weight: 800;
    line-height: 1.35;
}

.insight-metric-grid {
    display: grid;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.insight-metric {
    min-width: 0;
    border-radius: 1rem;
    background: var(--color-surface-soft);
    padding: 1rem;
}

.insight-metric__label {
    color: var(--label-color, var(--color-text));
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.25;
    text-transform: none;
}

.insight-metric__value {
    margin-top: 0.5rem;
    font-size: 2.35rem;
    line-height: 1;
}

.insight-metric__value--compact {
    overflow-wrap: anywhere;
}

.insight-metric__meta {
    margin-top: 0.45rem;
    color: var(--color-muted);
    font-size: 0.875rem;
    font-weight: 800;
    line-height: 1.35;
}

.insight-pill-grid {
    display: grid;
    gap: 0.5rem;
    margin-top: 0.9rem;
}

.insight-pill {
    border-top: 1px solid
        color-mix(in srgb, var(--color-muted) 18%, transparent);
    padding-top: 0.6rem;
}

.insight-pill__label {
    color: var(--color-muted);
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.25;
    text-transform: none;
}

.insight-pill__value {
    margin-top: 0.2rem;
    color: var(--color-text);
    font-size: 0.95rem;
    font-weight: 900;
    line-height: 1.25;
}

.insight-pill__value span {
    display: block;
}

.insight-side-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
    margin-top: 0.25rem;
}

.insight-side-stats__value {
    font-size: 1.75rem;
    line-height: 1;
}

.insight-side-stats__label,
.insight-side-stats__empty {
    margin-top: 0.2rem;
    color: var(--color-muted);
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.25;
}

.insight-side-stats__empty {
    align-self: end;
}

.insight-trend-grid {
    display: grid;
    gap: 0.5rem;
    margin-top: 1rem;
}

.insight-trend {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    border-top: 1px solid
        color-mix(in srgb, var(--color-muted) 18%, transparent);
    padding-top: 0.65rem;
}

.insight-trend__label {
    color: var(--color-muted);
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.25;
    text-transform: none;
}

.insight-trend__value {
    font-weight: 900;
    text-align: right;
}

.insight-controls {
    display: grid;
    gap: 0.6rem;
}

.insight-window-links,
.insight-date-links,
.insight-date-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.insight-window-links,
.insight-date-links {
    align-items: center;
}

.insight-window-link,
.insight-date-link,
.insight-go-button {
    display: inline-flex;
    min-height: 2rem;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--color-text);
    padding: 0.35rem 0.75rem;
    font-size: 0.9rem;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
}

.insight-window-link.is-active,
.insight-go-button {
    background: var(--color-primary);
    color: var(--color-primary-text);
}

.insight-date-link {
    color: var(--color-muted);
}

.insight-date-link--primary {
    color: var(--color-feed-text);
}

.insight-date-input {
    min-height: 2rem;
    width: 8.75rem;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    background: color-mix(in srgb, var(--color-surface) 68%, transparent);
    padding: 0.35rem 0.75rem;
    color: var(--color-text);
    font-weight: 800;
}

.daily-list {
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: 1.25rem;
    background: var(--color-surface);
}

.daily-row {
    display: grid;
    gap: 1rem;
    padding: 1rem;
}

.daily-row + .daily-row {
    border-top: 1px solid var(--color-border);
}

.daily-row.is-current {
    background: var(--color-feed-soft);
}

.daily-row__date {
    font-weight: 900;
}

.daily-stat-grid {
    display: grid;
    gap: 0.75rem;
}

.daily-stat {
    min-width: 0;
}

.daily-stat__label {
    color: var(--color-muted);
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.25;
    text-transform: none;
}

.daily-stat__value {
    margin-top: 0.2rem;
    font-size: 1rem;
    font-weight: 900;
    line-height: 1.25;
}

.daily-stat__meta {
    margin-top: 0.2rem;
    color: var(--color-muted);
    font-size: 0.875rem;
    font-weight: 800;
    line-height: 1.3;
}

.meta-text {
    margin-top: 0.15rem;
    color: var(--color-muted);
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.35;
}

.empty-text {
    margin-top: 1rem;
    color: var(--color-muted);
    font-weight: 700;
}

.action-card-title {
    font-size: 1.125rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: none;
    text-align: left;
}

.action-card-body {
    margin-top: 1.25rem;
}

.action-card-body > * + * {
    margin-top: 1.25rem;
}

.action-group {
    text-align: left;
}

.action-group-label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.25;
    text-transform: none;
}

.button-grid {
    display: grid;
    gap: 0.5rem;
}

.button-stack {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
}

.btn--compact {
    min-height: 2.25rem;
    padding: 0.5rem 0.875rem;
}

.btn--block {
    width: 100%;
}

.btn--primary {
    background: var(--color-primary);
    color: var(--color-primary-text);
}

.btn--secondary {
    background: var(--color-surface);
    color: var(--color-text);
}

.btn--restart {
    background: var(--color-primary);
    color: var(--color-primary-text);
}

.btn--feed {
    background: var(--color-feed);
    color: var(--color-text);
}

.btn--sleep {
    background: var(--color-sleep);
    color: var(--color-text);
}

.btn--night-feed {
    background: #f29f05;
    color: var(--color-text);
}

.btn--night-resettle {
    background: #9bd8f4;
    color: var(--color-text);
}

.btn--night-transfer {
    background: #c7a7d8;
    color: var(--color-text);
}

.btn--night-nappy {
    background: #9fcfbb;
    color: var(--color-text);
}

.btn--night-awake {
    background: #d76a6a;
    color: #fffdf8;
}

.active-tracker-header {
    display: grid;
    gap: 1rem;
}

.active-tracker-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.5rem 1rem;
    margin-top: 0.25rem;
    font-weight: 800;
}

.active-tracker-inline-time {
    font-size: 2.25rem;
    line-height: 1;
}

.active-tracker-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    max-width: 100%;
    overflow: visible;
}

.active-action-form {
    flex: 1 1 9rem;
    display: inline-flex;
    min-width: 0;
}

.active-action-form .btn,
.active-action-form .action-menu {
    width: 100%;
}

.action-menu {
    flex: 1 1 9rem;
    position: relative;
    min-width: 0;
}

.active-tracker-controls > .btn {
    flex: 1 1 6rem;
}

.action-menu summary {
    list-style: none;
}

.action-menu summary::-webkit-details-marker {
    display: none;
}

.action-menu-panel {
    position: absolute;
    top: calc(100% + 0.35rem);
    right: 0;
    z-index: 4;
    display: flex;
    gap: 0.35rem;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    background: var(--color-shell);
    padding: 0.35rem;
    box-shadow: 0 0.75rem 2rem rgba(23, 18, 15, 0.12);
    max-height: min(28rem, calc(100vh - 2rem));
    overflow-y: auto;
    overscroll-behavior: contain;
}

.action-menu--wide .action-menu-panel {
    width: min(22rem, calc(100vw - 2rem));
    border-radius: 1.25rem;
}

.action-menu-panel--stacked {
    flex-direction: column;
    align-items: stretch;
    gap: 0.6rem;
    padding: 0.75rem;
}

.action-menu-group {
    display: grid;
    gap: 0.35rem;
}

.action-menu-label {
    color: var(--color-muted);
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.action-menu-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.action-menu-close {
    display: none;
}

.active-event-dialog {
    position: fixed;
    inset: 0;
    width: min(calc(100% - 2rem), 28rem);
    max-height: calc(100dvh - 2rem);
    margin: auto;
    border: 1px solid var(--color-border);
    border-radius: 1.5rem;
    background: var(--color-shell);
    color: var(--color-text);
    padding: 0;
    box-shadow: 0 1.25rem 4rem rgba(23, 18, 15, 0.18);
    overflow: hidden;
}

.active-event-dialog::backdrop {
    background: rgba(23, 18, 15, 0.26);
}

.active-event-dialog-body {
    max-height: calc(100dvh - 2rem);
    overflow-y: auto;
    padding: 1.25rem;
    overscroll-behavior: contain;
}

.active-event-dialog-message {
    margin-top: 0.75rem;
    color: var(--color-text);
    font-size: 1.35rem;
    font-weight: 900;
    line-height: 1.15;
}

.active-event-dialog-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.active-event-dialog-secondary-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.delete-confirm-dialog {
    position: fixed;
    inset: 0;
    width: min(calc(100% - 2rem), 26rem);
    max-height: calc(100dvh - 2rem);
    margin: auto;
    border: 1px solid var(--color-border);
    border-radius: 1.5rem;
    background: var(--color-shell);
    color: var(--color-text);
    padding: 0;
    box-shadow: 0 1.25rem 4rem rgba(23, 18, 15, 0.18);
    overflow: hidden;
}

.delete-confirm-dialog::backdrop {
    background: rgba(23, 18, 15, 0.26);
}

.delete-confirm-dialog__body {
    max-height: calc(100dvh - 2rem);
    overflow-y: auto;
    padding: 1.25rem;
    overscroll-behavior: contain;
}

.delete-confirm-dialog__message {
    margin-top: 0.75rem;
    color: var(--color-text);
    font-size: 1.35rem;
    font-weight: 900;
    line-height: 1.15;
}

.delete-confirm-dialog__actions {
    display: flex;
    flex-direction: column-reverse;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.date-panel {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    border: 1px solid var(--color-border);
    border-radius: 1.5rem;
    background: var(--color-surface);
    padding: 1rem;
}

.date-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    color: var(--color-subtle);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.date-input {
    margin-top: 0.5rem;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    background: var(--color-shell);
    padding: 0.5rem 1rem;
    font-weight: 700;
}

.amount-input {
    width: 100%;
    margin-top: 0.5rem;
    border: 1px solid var(--color-border);
    border-radius: 1rem;
    background: var(--color-surface);
    padding: 0.75rem 1rem;
    color: var(--color-text);
    font-weight: 800;
}

.amount-sheet-backdrop {
    position: fixed;
    inset: 0;
    z-index: 30;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background: rgba(23, 18, 15, 0.26);
    padding: 1rem;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.amount-sheet-backdrop[hidden] {
    display: none;
}

.amount-sheet {
    width: min(100%, 28rem);
    max-height: calc(100dvh - 2rem);
    border: 1px solid var(--color-border);
    border-radius: 1.5rem 1.5rem 1rem 1rem;
    background: var(--color-shell);
    padding: 1.25rem;
    box-shadow: 0 1.25rem 4rem rgba(23, 18, 15, 0.18);
    overflow-y: auto;
    overscroll-behavior: contain;
}

.amount-sheet > * + * {
    margin-top: 1rem;
}

.amount-sheet-grid {
    display: grid;
    gap: 0.75rem;
}

.amount-sheet-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.amount-sheet--transfer {
    width: min(100%, 32rem);
}

.transfer-outcome-group {
    border-top: 1px solid var(--color-border);
    padding-top: 1rem;
}

.transfer-outcome-group > * + * {
    margin-top: 0.75rem;
}

@media (max-width: 639px) {
    .action-menu-panel {
        position: fixed;
        right: 1rem;
        bottom: max(1rem, env(safe-area-inset-bottom));
        left: 1rem;
        top: auto;
        z-index: 35;
        width: auto;
        max-height: calc(100dvh - 2rem - env(safe-area-inset-bottom));
        border-radius: 1.25rem;
        padding: 2.25rem 0.75rem 0.75rem;
    }

    .action-menu-close {
        position: absolute;
        top: 0.55rem;
        right: 0.65rem;
        display: grid;
        width: 1.75rem;
        height: 1.75rem;
        place-items: center;
        border: 0;
        border-radius: 999px;
        background: color-mix(in srgb, var(--color-muted) 12%, transparent);
        color: var(--color-muted);
        font-size: 1rem;
        font-weight: 900;
        line-height: 1;
    }

    .action-menu--wide .action-menu-panel {
        width: auto;
    }

    .action-menu-panel:not(.action-menu-panel--stacked) {
        flex-wrap: wrap;
    }

    .action-menu-row {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
    }

    .action-menu-row .btn,
    .action-menu-row form,
    .action-menu-row form .btn {
        width: 100%;
    }

    .amount-sheet-backdrop {
        align-items: center;
        padding: max(1rem, env(safe-area-inset-top)) 1rem
            max(1rem, env(safe-area-inset-bottom));
    }

    .amount-sheet {
        border-radius: 1.25rem;
    }
}

.recent-list {
    border: 1px solid var(--color-border);
    border-radius: 1.25rem;
    background: var(--color-surface);
    overflow: hidden;
}

.recent-list > * + * {
    border-top: 1px solid var(--color-border);
}

.recent-item {
    display: block;
    padding: 1rem;
    color: var(--color-text);
    text-decoration: none;
}

.recent-item:hover {
    background: color-mix(in srgb, var(--color-feed) 18%, var(--color-surface));
}

.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--color-border);
    border-radius: 1.25rem;
    background: var(--color-surface);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.data-table th,
.data-table td {
    border-bottom: 1px solid var(--color-border);
    padding: 0.75rem;
    text-align: left;
    vertical-align: middle;
}

.data-table th {
    color: var(--color-muted);
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    white-space: nowrap;
}

.data-table tbody tr:last-child td {
    border-bottom: 0;
}

.data-table__primary {
    font-weight: 900;
    white-space: nowrap;
}

.data-table__meta {
    color: var(--color-muted);
    font-weight: 700;
}

.data-table__actions {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.35rem;
}

.data-table__actions .btn {
    min-height: 2.1rem;
    padding: 0.35rem 0.7rem;
    font-size: 0.8125rem;
}

.medication-profile-grid {
    display: grid;
    gap: 1.25rem;
}

.medication-profile {
    border-radius: 2rem;
    background: color-mix(
        in srgb,
        var(--color-sleep) 26%,
        var(--color-surface)
    );
    padding: 1.25rem;
    box-shadow: var(--shadow-inset);
}

.medication-card-grid {
    display: grid;
    gap: 0.85rem;
}

.medication-card {
    border: 1px solid color-mix(in srgb, var(--color-border) 70%, transparent);
    border-radius: 1.5rem;
    background: var(--color-surface-soft);
    padding: 1rem;
}

.medication-card--clickable {
    position: relative;
}

.medication-card--clickable:hover {
    border-color: color-mix(
        in srgb,
        var(--color-text) 30%,
        var(--color-border)
    );
}

.medication-card__cover-link {
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
}

.medication-card--clickable .medication-card__due-link,
.medication-card--clickable .medication-card__utility-link,
.medication-card--clickable .record-actions {
    position: relative;
    z-index: 2;
}

.medication-card--due {
    background: var(--color-feed-soft);
}

.medication-card--wait {
    background: color-mix(
        in srgb,
        var(--color-sleep) 22%,
        var(--color-surface)
    );
}

.medication-card--danger {
    border-color: color-mix(
        in srgb,
        var(--color-danger) 65%,
        var(--color-border)
    );
    background: #ffe2e2;
}

.medication-card__top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 1rem;
}

.medication-card__name {
    margin-top: 0.5rem;
    font-size: 1.45rem;
    font-weight: 900;
    line-height: 1.05;
}

.medication-card__kind {
    color: var(--color-muted);
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    line-height: 1.1;
    text-transform: uppercase;
}

.medication-card__due {
    color: var(--color-muted);
    font-size: 0.95rem;
    font-weight: 900;
    line-height: 1.25;
    text-align: right;
}

.medication-card__due-label,
.medication-card__due-value,
.medication-card__due-time {
    display: block;
}

.medication-card__due-label {
    color: var(--color-subtle);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.medication-card__due-value {
    margin-top: 0.5rem;
    color: var(--color-text);
    font-size: 1.35rem;
    line-height: 1;
}

.medication-card__due--compact {
    align-self: end;
    padding-bottom: 0.1rem;
}

.medication-card__due--compact .medication-card__due-value {
    margin-top: 0;
}

.medication-card__due-time {
    margin-top: 0.15rem;
    color: var(--color-muted);
    font-size: 0.85rem;
}

.medication-card__due-link {
    color: inherit;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 0.18em;
}

.medication-card__utility-link {
    display: inline-block;
    color: var(--color-muted);
    font-size: 0.85rem;
    font-weight: 900;
    line-height: 1.1;
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 0.16em;
}

.medication-card__meta {
    margin-top: 0.85rem;
    color: var(--color-muted);
    font-size: 0.875rem;
    font-weight: 800;
    line-height: 1.45;
    max-width: 42rem;
}

.medication-card__meta > * + * {
    margin-top: 0.2rem;
}

.dose-progress {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.75rem;
}

.dose-progress__dot {
    width: 0.65rem;
    height: 0.65rem;
    border: 2px solid color-mix(in srgb, var(--color-primary) 52%, transparent);
    border-radius: 999px;
    background: transparent;
}

.dose-progress__dot.is-filled {
    background: var(--color-primary);
}

.medication-overview-item .dose-progress {
    margin-top: 0.1rem;
}

.medication-overview-item .dose-progress__dot {
    width: 0.55rem;
    height: 0.55rem;
    border-width: 1.5px;
}

.medication-dose-days {
    display: grid;
    gap: 1rem;
}

.medication-dose-day {
    border: 1px solid var(--color-border);
    border-radius: 1.5rem;
    background: var(--color-surface);
    padding: 1rem;
}

.medication-dose-day__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.medication-dose-day__header .section-title {
    margin-top: 0.15rem;
}

.medication-dose-day__header .dose-progress {
    flex: 0 0 auto;
    justify-content: flex-end;
    margin-top: 0.2rem;
}

.medication-dose-list {
    margin-top: 1rem;
    border-top: 1px solid var(--color-border);
}

.medication-dose-row {
    display: grid;
    grid-template-columns: minmax(5rem, 0.7fr) minmax(0, 1.4fr) auto;
    gap: 1rem;
    align-items: center;
    padding: 0.9rem 0;
    border-bottom: 1px solid color-mix(in srgb, var(--color-border) 72%, transparent);
}

.medication-dose-row:last-child {
    border-bottom: 0;
}

.medication-dose-row__time strong {
    display: block;
    font-size: 1.1rem;
    line-height: 1.05;
}

.medication-dose-row__time span {
    display: block;
    margin-top: 0.15rem;
    color: var(--color-muted);
    font-size: 0.85rem;
    font-weight: 800;
}

.medication-dose-row__details p:first-child {
    font-weight: 900;
}

.medication-dose-row__actions {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.5rem;
}

.medication-strength-fields {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 7rem;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.medication-schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(7rem, 1fr));
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.medication-schedule-input {
    width: 100%;
    border: 1px solid var(--color-border);
    border-radius: 1rem;
    background: var(--color-surface);
    padding: 0.75rem 1rem;
    color: var(--color-text);
    font-weight: 800;
}

.medication-overview {
    background: color-mix(
        in srgb,
        var(--color-sleep) 18%,
        var(--color-surface)
    );
}

.medication-overview-grid {
    display: grid;
    gap: 0.75rem;
}

.medication-overview-item {
    display: grid;
    gap: 0.9rem;
    border: 1px solid var(--color-border);
    border-radius: 1rem;
    background: var(--color-surface-soft);
    padding: 0.95rem;
    color: var(--color-text);
    text-decoration: none;
}

.medication-overview-item__actions {
    justify-content: flex-end;
    align-self: end;
}

.medication-overview-item__actions .btn {
    min-height: 1.95rem;
    padding: 0.4rem 0.8rem;
    background: color-mix(in srgb, var(--color-surface) 82%, white);
    font-size: 0.76rem;
    box-shadow: none;
}

.medication-overview-item.medication-card--due {
    background: var(--color-feed-soft);
}

.medication-overview-item.medication-card--wait {
    background: color-mix(
        in srgb,
        var(--color-sleep) 18%,
        var(--color-surface)
    );
}

.medication-overview-item.medication-card--danger {
    border-color: color-mix(
        in srgb,
        var(--color-danger) 65%,
        var(--color-border)
    );
    background: #ffe2e2;
}

.medication-overview-item__name {
    margin-top: 0.2rem;
    font-size: 1.05rem;
    font-weight: 900;
    line-height: 1.08;
}

.medication-overview-item__timing {
    display: grid;
    gap: 0.35rem;
    color: var(--color-muted);
    font-size: 0.82rem;
    font-weight: 900;
    line-height: 1.25;
}

.medication-overview-item__body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) max-content;
    align-items: end;
    gap: 0.65rem;
}

.medication-overview-item__timing p {
    display: grid;
    grid-template-columns: 3.6rem minmax(0, 1fr);
    align-items: baseline;
    gap: 0.5rem;
}

.medication-overview-item__timing-label {
    color: var(--color-subtle);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.medication-overview-item__timing strong {
    color: var(--color-text);
    text-align: right;
}

.medication-overview-item__next {
    display: grid;
    justify-items: end;
    gap: 0.05rem;
}

.medication-overview-item__next small {
    color: var(--color-muted);
    font-size: 0.78em;
    font-weight: 900;
    line-height: 1;
}

@media (max-width: 44rem) {
    .medication-dose-day__header {
        display: grid;
        grid-template-columns: 1fr;
    }

    .medication-dose-day__header .dose-progress {
        justify-content: flex-start;
    }

    .medication-dose-row {
        grid-template-columns: 1fr;
        gap: 0.55rem;
    }

    .medication-dose-row__actions {
        justify-content: flex-start;
    }

    .medication-overview-item__body {
        grid-template-columns: 1fr;
    }

    .medication-overview-item__actions {
        justify-content: flex-start;
    }
}

.timeline-track {
    position: relative;
    height: 1.75rem;
    margin-top: 1.75rem;
    border: 1px solid var(--color-border);
    border-radius: 1rem;
    background: transparent;
}

.timeline-track--compact {
    height: 1rem;
    margin-top: 0;
}

.timeline-segments {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    overflow: hidden;
}

.timeline-segment {
    position: absolute;
    top: 0;
    height: 100%;
    border-radius: 0;
}

.timeline-now {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 2;
    width: 0;
    overflow: visible;
    pointer-events: none;
}

.timeline-now::before {
    position: absolute;
    top: -2rem;
    left: 50%;
    z-index: 3;
    transform: translateX(-50%);
    color: var(--color-danger);
    content: "Now";
    font-size: 0.65rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
}

.timeline-now::after {
    position: absolute;
    top: -1.35rem;
    bottom: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    width: 0.125rem;
    border-radius: 999px;
    background: var(--color-danger);
    content: "";
}

.timeline-comparison {
    position: relative;
}

.timeline-now--comparison {
    top: 0;
    bottom: 0;
    z-index: 4;
}

.timeline-now--comparison::before {
    content: none;
}

.timeline-now--comparison::after {
    top: -0.5rem;
    bottom: -0.5rem;
    width: 1px;
    opacity: 0.68;
}

.timeline-ticks {
    position: relative;
    height: 1rem;
    margin-top: 0.35rem;
    color: var(--color-subtle);
    font-size: 0.75rem;
    font-weight: 700;
}

.timeline-ticks span {
    position: absolute;
    top: 0;
}

.timeline-ticks span:nth-child(1) {
    left: 0;
}

.timeline-ticks span:nth-child(2) {
    left: 12.5%;
    transform: translateX(-50%);
}

.timeline-ticks span:nth-child(3) {
    left: 25%;
    transform: translateX(-50%);
}

.timeline-ticks span:nth-child(4) {
    left: 37.5%;
    transform: translateX(-50%);
}

.timeline-ticks span:nth-child(5),
.timeline-ticks span:nth-child(6),
.timeline-ticks span:nth-child(7),
.timeline-ticks span:nth-child(8) {
    transform: translateX(-50%);
}

.timeline-ticks span:nth-child(5) {
    left: 50%;
}

.timeline-ticks span:nth-child(6) {
    left: 62.5%;
}

.timeline-ticks span:nth-child(7) {
    left: 75%;
}

.timeline-ticks span:nth-child(8) {
    left: 87.5%;
}

.timeline-ticks span:nth-child(9) {
    right: 0;
}

.timeline-tick--minor {
    color: color-mix(in srgb, var(--color-subtle) 58%, transparent);
    font-weight: 600;
}

.timeline-ticks--comparison {
    margin-left: 0;
}

@media (min-width: 640px) {
    .timeline-ticks--comparison {
        margin-left: calc(8rem + 0.5rem);
    }
}

.timeline-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    color: var(--color-muted);
    font-size: 0.75rem;
    font-weight: 700;
}

.timeline-key {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.swatch {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 999px;
}

.live-progress {
    position: relative;
}

.live-event-segment {
    position: absolute;
    top: 0;
    height: 100%;
    border-radius: 999px;
    background: var(--color-danger);
    opacity: 0.85;
}

.live-event-segment--feed {
    display: flex;
    overflow: hidden;
    background: transparent;
    opacity: 1;
}

.live-event-feed-side {
    height: 100%;
}

.live-event-feed-side--left {
    background: #a86f00;
}

.live-event-feed-side--right {
    background: #e3b13f;
}

.live-event-feed-nutritive {
    height: 100%;
    background: rgba(93, 63, 0, 0.45);
}

.record-progress {
    position: relative;
    display: flex;
    height: 0.8rem;
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    background: transparent;
}

.record-progress__fill {
    position: relative;
    min-width: 0.35rem;
    height: 100%;
    overflow: hidden;
}

.record-progress__fill--left {
    background: #a86f00;
}

.record-progress__fill--right {
    background: #e3b13f;
}

.record-progress__fill--single {
    background: var(--color-primary);
}

.record-progress__fill--settling {
    background: #6faed2;
}

.record-progress__fill--sleep {
    background: var(--color-primary);
}

.record-progress__fill--night-event {
    background: var(--color-danger);
}

.record-progress__fill--night-event-feed {
    background: #e3b13f;
}

.record-progress__fill--night-event-resettle {
    background: #6faed2;
}

.record-progress__fill--night-event-transfer {
    background: #c7a7d8;
}

.record-progress__fill--night-event-nappy_change {
    background: #9fcfbb;
}

.record-progress__tint {
    height: 100%;
    background: rgba(93, 63, 0, 0.45);
}

.record-progress__event {
    position: absolute;
    top: 0;
    height: 100%;
    border-radius: 999px;
    background: var(--color-danger);
    opacity: 0.88;
}

@media (min-width: 420px) {
    .button-grid,
    .metric-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .metric-grid--single {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (min-width: 40rem) {
    .active-tracker-header {
        grid-template-columns: minmax(12rem, 1fr) auto;
        align-items: start;
    }

    .active-tracker-controls {
        flex-wrap: nowrap;
        justify-content: flex-end;
    }

    .active-action-form,
    .action-menu,
    .active-tracker-controls > .btn {
        flex: 0 0 auto;
    }

    .active-action-form .btn,
    .active-action-form .action-menu {
        width: auto;
    }

    .app-nav {
        gap: 2rem;
        font-size: 1.125rem;
    }

    .app-main {
        padding-block: 2.5rem;
    }

    .page-header {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
    }

    .dashboard-heading {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: end;
    }

    .dashboard-date-nav {
        justify-content: flex-end;
    }

    .insight-controls {
        justify-items: end;
        text-align: right;
    }

    .insight-window-links,
    .insight-date-links,
    .insight-date-form {
        justify-content: flex-end;
    }

    .page-title {
        font-size: 4.5rem;
    }

    .dashboard-grid--two {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-grid--summary.dashboard-grid--balanced {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-grid--summary.dashboard-grid--feed-wide {
        grid-template-columns: minmax(0, 3fr) minmax(14rem, 1fr);
    }

    .dashboard-grid--summary.dashboard-grid--sleep-wide {
        grid-template-columns: minmax(14rem, 1fr) minmax(0, 3fr);
    }

    .insight-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .medication-profile-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .medication-card__top {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: start;
    }

    .medication-card__due {
        text-align: right;
    }

    .medication-overview-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .medication-overview-item {
        grid-template-columns: minmax(0, 1fr);
    }

    .insight-metric-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .insight-metric--wide {
        grid-column: 1 / -1;
    }

    .insight-pill-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .daily-row {
        grid-template-columns: 8rem minmax(0, 1fr);
        align-items: start;
    }

    .daily-stat-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .date-panel,
    .date-form {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
    }

    .amount-sheet-backdrop {
        align-items: center;
    }

    .amount-sheet {
        border-radius: 1.5rem;
    }

    .amount-sheet-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .amount-sheet-actions {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .active-event-dialog-secondary-actions {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .delete-confirm-dialog__actions {
        flex-direction: row;
        justify-content: flex-end;
    }
}

body[data-theme="health_ring"] {
    background: #f1ece3;
    color: #24211d;
}

body[data-theme="health_ring"] .app-display {
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    font-weight: 500;
}

body[data-theme="health_ring"] .bg-\[\#f9f3e7\],
body[data-theme="health_ring"] .bg-\[\#fff9ee\],
body[data-theme="health_ring"] .bg-\[\#fffdf8\],
body[data-theme="health_ring"] .bg-\[\#fff9ee\]\/75,
body[data-theme="health_ring"] .bg-\[\#fff9ee\]\/95 {
    background-color: #f7f2e9;
}

body[data-theme="health_ring"] .shadow-\[0_0_80px_rgba\(23\,18\,15\,0\.10\)\] {
    box-shadow: none;
}

body[data-theme="health_ring"] header {
    border-bottom-color: rgba(36, 33, 29, 0.09);
}

body[data-theme="health_ring"] .border-\[\#dfd5c3\],
body[data-theme="health_ring"] .border-\[\#d4a52c\],
body[data-theme="health_ring"] .border-\[\#e6b63c\],
body[data-theme="health_ring"] .border-\[\#8ac8ec\] {
    border-color: rgba(36, 33, 29, 0.14);
}

body[data-theme="health_ring"] .text-\[\#17120f\],
body[data-theme="health_ring"] .text-\[\#5d3f00\],
body[data-theme="health_ring"] .text-\[\#21485e\] {
    color: #24211d;
}

body[data-theme="health_ring"] .text-\[\#5d554d\],
body[data-theme="health_ring"] .text-\[\#7b6f5f\] {
    color: #6e665d;
}

body[data-theme="health_ring"] .bg-\[\#17120f\] {
    background-color: #24211d;
}

body[data-theme="health_ring"] .text-\[\#fff9ee\] {
    color: #f7f2e9;
}

body[data-theme="health_ring"] .bg-\[\#ffd05b\],
body[data-theme="health_ring"]
    .has-\[\:checked\]\:bg-\[\#ffd05b\]:has(:checked) {
    background-color: #b8798d;
}

body[data-theme="health_ring"] .bg-\[\#aee0ff\],
body[data-theme="health_ring"]
    .has-\[\:checked\]\:bg-\[\#aee0ff\]:has(:checked) {
    background-color: #7897ad;
}

body[data-theme="health_ring"] .bg-\[\#fff4cf\] {
    background-color: #ead3db;
}

body[data-theme="health_ring"] .bg-\[\#e7f6ff\],
body[data-theme="health_ring"] .bg-\[\#e9f6ff\] {
    background-color: #dfe8ec;
}

body[data-theme="health_ring"] .bg-\[\#fff4d8\] {
    background-color: #eee4d2;
}

body[data-theme="health_ring"] .bg-\[\#d9f3dc\] {
    background-color: #e1e7cf;
}

body[data-theme="health_ring"] .bg-\[\#ffe2e2\] {
    background-color: #ead3db;
}

body[data-theme="health_ring"] .bg-\[\#a86f00\] {
    background-color: #8f6474;
}

body[data-theme="health_ring"] .bg-\[\#e3b13f\] {
    background-color: #a56f83;
}

body[data-theme="health_ring"] .bg-\[\#6faed2\] {
    background-color: #7897ad;
}

body[data-theme="health_ring"] .bg-\[\#c94a4a\] {
    background-color: #b85f58;
}

body[data-theme="health_ring"] .text-\[\#c94a4a\],
body[data-theme="health_ring"] .text-\[\#8a2929\],
body[data-theme="health_ring"] .text-\[\#24542a\] {
    color: #24211d;
}

body[data-theme="health_ring"] .focus\:outline-\[\#ffd05b\]:focus,
body[data-theme="health_ring"] .focus\:outline-\[\#aee0ff\]:focus {
    outline-color: #a56f83;
}

body[data-theme="health_ring"]
    .has-\[\:checked\]\:border-\[\#17120f\]:has(:checked),
body[data-theme="health_ring"] .ring-\[\#17120f\] {
    border-color: #24211d;
    --tw-ring-color: #24211d;
}

body[data-theme="health_ring"] .hover\:bg-\[\#3a2f29\]:hover {
    background-color: #34302b;
}

body[data-theme="health_ring"] .hover\:bg-\[\#fff4d8\]:hover,
body[data-theme="health_ring"] .hover\:bg-\[\#ffe2e2\]:hover {
    background-color: #e7d7c9;
}

body[data-theme="poppies"] {
    background: #f2eee6;
    color: #17191f;
}

body[data-theme="poppies"] .app-display {
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    font-weight: 800;
}

body[data-theme="poppies"] .bg-\[\#f9f3e7\],
body[data-theme="poppies"] .bg-\[\#fff9ee\],
body[data-theme="poppies"] .bg-\[\#fffdf8\],
body[data-theme="poppies"] .bg-\[\#fff9ee\]\/75,
body[data-theme="poppies"] .bg-\[\#fff9ee\]\/95 {
    background-color: #faf7ef;
}

body[data-theme="poppies"] .shadow-\[0_0_80px_rgba\(23\,18\,15\,0\.10\)\] {
    box-shadow: none;
}

body[data-theme="poppies"] header {
    border-bottom-color: rgba(23, 25, 31, 0.1);
}

body[data-theme="poppies"] .border-\[\#dfd5c3\],
body[data-theme="poppies"] .border-\[\#d4a52c\],
body[data-theme="poppies"] .border-\[\#e6b63c\],
body[data-theme="poppies"] .border-\[\#8ac8ec\] {
    border-color: rgba(23, 25, 31, 0.16);
}

body[data-theme="poppies"] .text-\[\#17120f\],
body[data-theme="poppies"] .text-\[\#5d3f00\],
body[data-theme="poppies"] .text-\[\#21485e\] {
    color: #17191f;
}

body[data-theme="poppies"] .text-\[\#5d554d\],
body[data-theme="poppies"] .text-\[\#7b6f5f\] {
    color: #605c55;
}

body[data-theme="poppies"] .bg-\[\#17120f\] {
    background-color: #263477;
}

body[data-theme="poppies"] .text-\[\#fff9ee\] {
    color: #fffdf6;
}

body[data-theme="poppies"] .bg-\[\#ffd05b\],
body[data-theme="poppies"] .has-\[\:checked\]\:bg-\[\#ffd05b\]:has(:checked) {
    background-color: #f2b2c7;
}

body[data-theme="poppies"] .bg-\[\#aee0ff\],
body[data-theme="poppies"] .has-\[\:checked\]\:bg-\[\#aee0ff\]:has(:checked) {
    background-color: #9caef0;
}

body[data-theme="poppies"] .bg-\[\#fff4cf\] {
    background-color: #f6dbe4;
}

body[data-theme="poppies"] .bg-\[\#e7f6ff\],
body[data-theme="poppies"] .bg-\[\#e9f6ff\] {
    background-color: #e4e9fb;
}

body[data-theme="poppies"] .bg-\[\#fff4d8\] {
    background-color: #efe4c0;
}

body[data-theme="poppies"] .bg-\[\#d9f3dc\] {
    background-color: #dce7bf;
}

body[data-theme="poppies"] .bg-\[\#ffe2e2\] {
    background-color: #f6dbe4;
}

body[data-theme="poppies"] .bg-\[\#a86f00\] {
    background-color: #08763e;
}

body[data-theme="poppies"] .bg-\[\#e3b13f\] {
    background-color: #e9ca77;
}

body[data-theme="poppies"] .bg-\[\#6faed2\] {
    background-color: #8fa2e7;
}

body[data-theme="poppies"] .bg-\[\#c94a4a\] {
    background-color: #d23a30;
}

body[data-theme="poppies"] .text-\[\#c94a4a\],
body[data-theme="poppies"] .text-\[\#8a2929\],
body[data-theme="poppies"] .text-\[\#24542a\] {
    color: #17191f;
}

body[data-theme="poppies"] .focus\:outline-\[\#ffd05b\]:focus,
body[data-theme="poppies"] .focus\:outline-\[\#aee0ff\]:focus {
    outline-color: #263477;
}

body[data-theme="poppies"]
    .has-\[\:checked\]\:border-\[\#17120f\]:has(:checked),
body[data-theme="poppies"] .ring-\[\#17120f\] {
    border-color: #263477;
    --tw-ring-color: #263477;
}

body[data-theme="poppies"] .hover\:bg-\[\#3a2f29\]:hover {
    background-color: #34427d;
}

body[data-theme="poppies"] .hover\:bg-\[\#fff4d8\]:hover,
body[data-theme="poppies"] .hover\:bg-\[\#ffe2e2\]:hover {
    background-color: #f0ddd4;
}
