/* /Components/ComboChart.razor.rz.scp.css */
.plot[b-zj4iy2gl50] { position: relative; height: 280px; }

.grid[b-zj4iy2gl50] { position: absolute; left: 0; right: 0; border-top: 1px dashed #dde3e1; }
.grid.top[b-zj4iy2gl50] { top: 30%; }
.grid.mid[b-zj4iy2gl50] { top: 65%; }

.tick-y[b-zj4iy2gl50] { position: absolute; left: 0; font-size: 0.7rem; color: #4e5a57; }
.tick-y.top[b-zj4iy2gl50] { top: calc(30% - 14px); }
.tick-y.mid[b-zj4iy2gl50] { top: calc(65% - 14px); }

.bars[b-zj4iy2gl50] { position: absolute; inset: 0; display: flex; align-items: flex-end; }

.bar[b-zj4iy2gl50] {
    flex: 1 1 0;
    min-width: 0;
    /* app.css gives every button a 44px tap height, which made small months look tall */
    min-height: 0;
    padding: 0;
    border: none;
    border-radius: 3px 3px 0 0;
    background: transparent;
    display: flex;
    flex-direction: column-reverse;
    overflow: hidden;
    opacity: 0.8;
    cursor: pointer;
}

.bar span[b-zj4iy2gl50] { display: block; width: 100%; }
.bar.dim[b-zj4iy2gl50] { opacity: 0.45; }
.bar.on[b-zj4iy2gl50] { opacity: 1; outline: 2px solid #17201e; outline-offset: 1px; }

.plot svg[b-zj4iy2gl50] { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }

.marker[b-zj4iy2gl50] {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    border: 2px solid;
    background: #fff;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.marker.big[b-zj4iy2gl50] { width: 10px; height: 10px; }

.cursor[b-zj4iy2gl50] { position: absolute; top: 0; bottom: 0; width: 2px; background: rgba(23, 32, 30, 0.5); pointer-events: none; }

.baseline[b-zj4iy2gl50] { height: 1px; background: #8a9692; margin-top: -10px; }

.ticks[b-zj4iy2gl50] { position: relative; height: 16px; }

.ticks span[b-zj4iy2gl50] {
    position: absolute;
    top: 0;
    transform: translateX(-50%);
    white-space: nowrap;
    font-size: 0.7rem;
    color: #4e5a57;
}

.ticks span.end[b-zj4iy2gl50] { right: 0; transform: none; }

.scrub[b-zj4iy2gl50] { display: flex; flex-direction: column; gap: 2px; font-size: 0.75rem; color: #4e5a57; }
.scrub input[b-zj4iy2gl50] { width: 100%; height: 44px; margin: 0; accent-color: #1e6b61; }

.dot[b-zj4iy2gl50] {
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}
/* /Components/DayCard.razor.rz.scp.css */
.day-card[b-t72vkmzep7] {
    background: #fff;
    border-radius: 16px;
    padding: 10px 14px 12px;
    margin-top: 12px;
}

.head[b-t72vkmzep7] { display: flex; align-items: baseline; gap: 8px; margin-bottom: 8px; }
.title[b-t72vkmzep7] { font-weight: 700; }
.sub[b-t72vkmzep7] { font-size: 0.85rem; color: #4e5a57; }

.feelings[b-t72vkmzep7] { display: flex; gap: 8px; }

.feel[b-t72vkmzep7] {
    flex: 1;
    height: 48px;
    border-radius: 24px;
    border: 2px solid #1e6b61;
    background: #fff;
    color: #1e6b61;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.feel[b-t72vkmzep7] { white-space: nowrap; padding: 0 6px; }
.feel.on[b-t72vkmzep7] { background: #1e6b61; color: #fff; }
.feel:disabled[b-t72vkmzep7] { opacity: 0.6; cursor: default; }

.tags[b-t72vkmzep7] { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
/* /Components/EventRow.razor.rz.scp.css */
.row[b-z6ur8xszoh] {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    gap: 8px;
    min-height: 44px;
    padding: 0;
    border: none;
    border-bottom: 1px solid #eef2f1;
    background: transparent;
    font: inherit;
    font-size: 1rem;
    color: inherit;
    text-align: left;
    cursor: pointer;
}
.who[b-z6ur8xszoh] { margin-left: auto; color: #4e5a57; font-size: 0.9rem; }

/* Colour mark per kind: seizures red, sleep blue */
.kind[b-z6ur8xszoh] { width: 4px; height: 28px; border-radius: 2px; background: #c62828; flex-shrink: 0; }
.kind.sleep[b-z6ur8xszoh] { background: #2b5fb8; }

/* Time in its own column, what happened bold, tags and comment underneath in grey */
.time[b-z6ur8xszoh] { width: 3.2rem; flex-shrink: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.time.with-day[b-z6ur8xszoh] { width: 6.6rem; }
.main[b-z6ur8xszoh] { flex: 1; min-width: 0; display: flex; flex-direction: column; padding: 6px 0; text-align: left; }
.what[b-z6ur8xszoh] { font-weight: 500; }
.detail[b-z6ur8xszoh] { font-size: 0.85rem; color: #4e5a57; }
/* /Components/MeasurementForm.razor.rz.scp.css */
.chart-card[b-7jti5rex93] { background: #f4f6f5; border-radius: 12px; padding: 10px; }
.chart-head[b-7jti5rex93] { display: flex; justify-content: space-between; font-size: 0.9rem; margin-bottom: 4px; }
.chart-head span[b-7jti5rex93], .muted[b-7jti5rex93] { color: #4e5a57; }
.dose-row[b-7jti5rex93] { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.grow[b-7jti5rex93] { flex: 1; }
.value[b-7jti5rex93] { width: 80px; text-align: center; font-size: 1.15rem; font-weight: 700; }
.result[b-7jti5rex93] { background: #eef2f9; border-radius: 10px; padding: 10px 12px; margin-top: 10px; display: flex; flex-direction: column; gap: 4px; }
.row-between[b-7jti5rex93] { display: flex; justify-content: space-between; font-size: 0.9rem; }

.actions[b-7jti5rex93] { display: flex; gap: 8px; justify-content: flex-end; margin-top: 16px; }
/* /Components/MedicationChangeForm.razor.rz.scp.css */
.chart-card[b-fr1y0jn7uj] { background: #f4f6f5; border-radius: 12px; padding: 10px; }
.chart-head[b-fr1y0jn7uj] { display: flex; justify-content: space-between; font-size: 0.9rem; margin-bottom: 4px; }
.chart-head span[b-fr1y0jn7uj], .muted[b-fr1y0jn7uj] { color: #4e5a57; }
.small[b-fr1y0jn7uj] { font-size: 0.8rem; }
.legend[b-fr1y0jn7uj] { display: flex; gap: 12px; font-size: 0.75rem; color: #4e5a57; margin-top: 4px; }
.legend span[b-fr1y0jn7uj] { display: flex; align-items: center; gap: 4px; }
.legend i[b-fr1y0jn7uj] { display: inline-block; }
.legend .dose[b-fr1y0jn7uj] { width: 14px; height: 3px; background: #2b5fb8; }
.legend .new[b-fr1y0jn7uj] { width: 14px; border-top: 3px dashed #2b5fb8; }
.legend .bars[b-fr1y0jn7uj] { width: 10px; height: 10px; border-radius: 2px; background: #cfe6e1; }
.dose-row[b-fr1y0jn7uj] { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.dose-label[b-fr1y0jn7uj] { flex: 1; }
.dose-label small[b-fr1y0jn7uj] { color: #4e5a57; margin-left: 4px; }
.dose-value[b-fr1y0jn7uj] { width: 72px; text-align: center; font-size: 1.15rem; font-weight: 700; }
.result[b-fr1y0jn7uj] { background: #eef2f9; border-radius: 10px; padding: 10px 12px; margin-top: 10px; }

.actions[b-fr1y0jn7uj] { display: flex; gap: 8px; justify-content: flex-end; margin-top: 16px; }
/* /Components/MedicationGivenCard.razor.rz.scp.css */
.med-card[b-hcx7d0mb25] {
    background: #fff;
    border-radius: 16px;
    padding: 6px 14px;
    display: flex;
    flex-direction: column;
}

.row[b-hcx7d0mb25] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
}

.row + .row[b-hcx7d0mb25] { border-top: 1px solid #eef2f1; }

.icon[b-hcx7d0mb25] {
    width: 40px;
    height: 40px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #e8eeec;
    color: #4e5a57;
}

.icon.done[b-hcx7d0mb25] { background: #dff1ea; color: #1e6b61; }

.status[b-hcx7d0mb25] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.title[b-hcx7d0mb25] { font-weight: 700; }
.sub[b-hcx7d0mb25] { font-size: 0.85rem; color: #4e5a57; }

.give[b-hcx7d0mb25] {
    height: 48px;
    min-width: 88px;
    padding: 0 16px;
    border-radius: 24px;
    border: 2px solid #1e6b61;
    background: #1e6b61;
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.give.outlined[b-hcx7d0mb25] { background: #fff; color: #1e6b61; }
.give:disabled[b-hcx7d0mb25] { opacity: 0.5; cursor: default; }

/* /Components/NewEventDialog.razor.rz.scp.css */
.tabs[b-9jsl6yarb2] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    padding: 4px;
    margin-bottom: 16px;
    border-radius: 12px;
    background: #e4e9e7;
}

.tabs button[b-9jsl6yarb2] {
    height: 40px;
    border: none;
    border-radius: 9px;
    background: transparent;
    font: inherit;
    font-size: 0.95rem;
    color: #17201e;
    cursor: pointer;
}

.tabs button.active[b-9jsl6yarb2] {
    background: #fff;
    font-weight: 700;
}
/* /Components/SeizureButtons.razor.rz.scp.css */
.duration-grid[b-kmgliqq6dv] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.duration[b-kmgliqq6dv] {
    height: 52px;
    border-radius: 12px;
    border: 1px solid #c9d1ce;
    background: #fff;
    color: #17201e;
    font: inherit;
    font-size: 0.95rem;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
}

.duration:active[b-kmgliqq6dv] {
    background: #cfe6e1;
}
/* /Components/SeizureEditForm.razor.rz.scp.css */
[b-sjxpjt1qno] .duration-presets {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.4rem;
}

.duration-fields[b-sjxpjt1qno] {
    display: flex;
    gap: 0.75rem;
}

.history[b-sjxpjt1qno] {
    margin: 4px 0 0;
    padding-left: 18px;
    font-size: 0.85rem;
    line-height: 1.5;
}

.history .when[b-sjxpjt1qno] {
    color: #4e5a57;
}

.actions[b-sjxpjt1qno] {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    align-items: center;
    margin-top: 16px;
}

.rescue[b-sjxpjt1qno] { display: flex; flex-direction: column; gap: 8px; }
.rescue-head[b-sjxpjt1qno] { display: flex; justify-content: space-between; align-items: baseline; }
.rescue-head a[b-sjxpjt1qno] { font-size: 0.8rem; color: #1e6b61; }
.dose[b-sjxpjt1qno] { border: 1px solid #f1d0cc; border-radius: 10px; padding: 6px 10px 10px; background: #fdf6f5; }
.dose-head[b-sjxpjt1qno] { display: flex; align-items: center; gap: 8px; }
.dose-head strong[b-sjxpjt1qno] { color: #b42318; }
.dose-head .legacy[b-sjxpjt1qno] { font-size: 0.75rem; color: #4e5a57; }
.dose-head[b-sjxpjt1qno]  button { margin-left: auto; }
.dose-fields[b-sjxpjt1qno] { display: grid; grid-template-columns: 1fr 0.8fr 1fr; gap: 6px; }
.rescue-add[b-sjxpjt1qno] { display: flex; flex-wrap: wrap; gap: 6px; }

.looks[b-sjxpjt1qno] { display: flex; flex-wrap: wrap; gap: 6px; }
/* /Components/SeizureNotification.razor.rz.scp.css */
.toast-container[b-dhfwlxy5ny] {
    position: fixed;
    /* Use safe-area-inset for iPhone notch/Dynamic Island */
    top: calc(20px + env(safe-area-inset-top, 0px));
    left: 50%;
    transform: translateX(-50%);
    z-index: 2147483647; /* Max z-index for iOS */
    pointer-events: none;
    /* Ensure visibility on iOS */
    -webkit-transform: translateX(-50%);
    width: auto;
}

.toast-notification[b-dhfwlxy5ny] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    animation: toastSlideIn-b-dhfwlxy5ny 0.4s ease-out;
    -webkit-animation: toastSlideIn 0.4s ease-out;
    pointer-events: auto;
    min-width: 280px;
    max-width: 90vw;
    /* Force GPU layer on iOS for better rendering */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

@keyframes toastSlideIn-b-dhfwlxy5ny {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.toast-icon[b-dhfwlxy5ny] {
    font-size: 1.4rem;
}

.toast-message[b-dhfwlxy5ny] {
    flex: 1;
}

.toast-success[b-dhfwlxy5ny] {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    border: none;
}

.toast-error[b-dhfwlxy5ny] {
    background: linear-gradient(135deg, #dc3545, #e83e8c);
    color: white;
    border: none;
}
/* /Components/SeizureTimer.razor.rz.scp.css */
.timer-wrap[b-2epmueu023] {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 0 20px;
}

.timer-button[b-2epmueu023] {
    width: 180px;
    height: 180px;
    border-radius: 90px;
    border: 8px solid #cfe6e1;
    background: #1e6b61;
    color: #fff;
    font: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
}

.timer-button.running[b-2epmueu023] {
    background: #b42318;
    border-color: #f6d3cf;
}

.timer-title[b-2epmueu023] {
    font-size: 1.25rem;
    font-weight: 700;
}

.timer-elapsed[b-2epmueu023] {
    font-size: 2.2rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.timer-sub[b-2epmueu023] {
    font-size: 0.8rem;
}

.give-rescue[b-2epmueu023] {
    margin-top: 10px;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 24px;
    border: 2px solid #b42318;
    background: #fff;
    color: #b42318;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}
/* /Components/SleepCard.razor.rz.scp.css */
.sleep-card[b-ie2jdosy9m] {
    background: #fff;
    border-radius: 16px;
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.icon[b-ie2jdosy9m] {
    width: 48px;
    height: 48px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon.asleep[b-ie2jdosy9m] { background: #dce7f7; color: #2b5fb8; }
.icon.awake[b-ie2jdosy9m] { background: #fdf0dd; color: #b45309; }

.status[b-ie2jdosy9m] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
}

button.status[b-ie2jdosy9m] {
    border: none;
    background: transparent;
    padding: 4px 0;
    font: inherit;
    color: inherit;
    text-align: left;
    cursor: pointer;
    min-height: 44px;
}

.edit-hint[b-ie2jdosy9m] { display: flex; align-items: center; gap: 2px; font-size: 0.8rem; color: #1e6b61; }

.title[b-ie2jdosy9m] { font-size: 1.05rem; font-weight: 700; }
.sub[b-ie2jdosy9m] { font-size: 0.85rem; color: #4e5a57; }

.toggle[b-ie2jdosy9m] {
    height: 52px;
    padding: 0 18px;
    border-radius: 26px;
    border: 2px solid #1e6b61;
    background: #1e6b61;
    color: #fff;
    font: inherit;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
}

.toggle.outlined[b-ie2jdosy9m] { background: #fff; color: #1e6b61; }
.toggle:disabled[b-ie2jdosy9m] { opacity: 0.5; cursor: default; }

.sheet-backdrop[b-ie2jdosy9m] {
    position: fixed;
    inset: 0;
    background: rgba(23, 32, 30, 0.35);
    z-index: 1300;
}

.sheet[b-ie2jdosy9m] {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1301;
    max-width: 560px;
    margin: 0 auto;
    background: #fff;
    border-radius: 20px 20px 0 0;
    padding: 12px 16px calc(20px + env(safe-area-inset-bottom));
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.15);
}

.handle[b-ie2jdosy9m] {
    align-self: center;
    width: 40px;
    height: 4px;
    border-radius: 2px;
    background: #c9d1ce;
}

.causes[b-ie2jdosy9m] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.actions[b-ie2jdosy9m] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.add-wake[b-ie2jdosy9m] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 100%;
    min-height: 56px;
    margin-top: 8px;
    padding: 0 14px;
    border: 1px dashed #9fb5ae;
    border-radius: 12px;
    background: transparent;
    font: inherit;
    font-size: 0.9rem;
    color: #1e6b61;
    cursor: pointer;
}

.sub.estimated[b-ie2jdosy9m] { color: #b45309; }

/* One tap each while asleep: big enough for a tired thumb in the dark */
.quick[b-ie2jdosy9m] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 8px;
}

.quick-btn[b-ie2jdosy9m] {
    min-height: 64px;
    border: 2px solid #2b5fb8;
    border-radius: 16px;
    background: #fff;
    color: #2b5fb8;
    font: inherit;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
}

.quick-btn:disabled[b-ie2jdosy9m] { opacity: 0.5; cursor: default; }

.saved[b-ie2jdosy9m] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    padding: 10px 12px;
    border-radius: 12px;
    background: #e6f2ee;
    color: #1e4f47;
    font-size: 0.9rem;
}

.saved.warn[b-ie2jdosy9m] { background: #fdf0dd; color: #7a4a0b; }
/* /Components/Stats.razor.rz.scp.css */
.stats-container[b-16xfk3l00g] {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1rem 0.75rem;
    max-width: 100%;
}

.stats-section[b-16xfk3l00g] {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.stats-section h3[b-16xfk3l00g] {
    margin-top: 0;
    margin-bottom: 0.75rem;
    color: #333;
    font-size: 1.1rem;
    word-wrap: break-word;
}

.stats-section p[b-16xfk3l00g] {
    margin: 0.5rem 0;
    line-height: 1.6;
    font-size: 0.95rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.stats-section strong[b-16xfk3l00g] {
    color: #0066cc;
    font-weight: 600;
    word-wrap: break-word;
}

.duration-short[b-16xfk3l00g] {
    color: #28a745;
    font-weight: 500;
    display: inline-block;
    margin: 0.25rem 0.25rem 0.25rem 0;
}

.duration-medium[b-16xfk3l00g] {
    color: #007bff;
    font-weight: 500;
    display: inline-block;
    margin: 0.25rem 0.25rem 0.25rem 0;
}

.duration-long[b-16xfk3l00g] {
    color: #dc3545;
    font-weight: 500;
    display: inline-block;
    margin: 0.25rem 0.25rem 0.25rem 0;
}

.warning[b-16xfk3l00g] {
    color: #856404;
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    border-radius: 4px;
    padding: 0.75rem;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    word-wrap: break-word;
}

.success[b-16xfk3l00g] {
    color: #155724;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 4px;
    padding: 0.75rem;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    word-wrap: break-word;
}

/* Mobile optimizations */
@media (max-width: 767px) {
    .stats-container[b-16xfk3l00g] {
        padding: 0.5rem;
        gap: 1rem;
    }

    .stats-section[b-16xfk3l00g] {
        padding: 0.75rem;
    }

    .stats-section h3[b-16xfk3l00g] {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .stats-section p[b-16xfk3l00g] {
        font-size: 0.9rem;
        margin: 0.4rem 0;
    }

    .duration-short[b-16xfk3l00g],
    .duration-medium[b-16xfk3l00g],
    .duration-long[b-16xfk3l00g] {
        display: inline-block;
        margin-right: 0.5rem;
    }
}

@media (min-width: 768px) {
    .stats-container[b-16xfk3l00g] {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
    }
}
/* /Components/StudyHelp.razor.rz.scp.css */
.help-button[b-rhdcpijoub] {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 22px;
    border: 1px solid #c9d1ce;
    background: #fff;
    color: #1e6b61;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.help[b-rhdcpijoub] { display: flex; flex-direction: column; gap: 6px; font-size: 0.95rem; line-height: 1.45; }
.help p[b-rhdcpijoub] { margin: 0; }
.help h3[b-rhdcpijoub] { margin: 10px 0 0; font-size: 1rem; font-weight: 700; }
.help ol[b-rhdcpijoub], .help ul[b-rhdcpijoub] { margin: 0; padding-left: 1.2rem; display: flex; flex-direction: column; gap: 4px; }

.types[b-rhdcpijoub] { margin: 4px 0 0; display: flex; flex-direction: column; gap: 4px; font-size: 0.85rem; color: #4e5a57; }
.types div[b-rhdcpijoub] { display: flex; gap: 8px; }
.types dt[b-rhdcpijoub] { font-weight: 700; color: #17201e; width: 1rem; flex-shrink: 0; }
.types dd[b-rhdcpijoub] { margin: 0; }
/* /Components/SyncStatus.razor.rz.scp.css */
.sync[b-gnn848k8du] { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; background: #eef5f3; font-size: 0.85rem; }
.sync.warn[b-gnn848k8du] { background: #fdecea; }
/* /Components/TodaySeizures.razor.rz.scp.css */
.today[b-0ycjfoumwu] {
    margin-top: 20px;
    background: #fff;
    border-radius: 12px;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.label[b-0ycjfoumwu] { font-size: 0.8rem; color: #4e5a57; }
.empty[b-0ycjfoumwu] { font-size: 0.95rem; color: #4e5a57; }
.head[b-0ycjfoumwu] { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.head-actions[b-0ycjfoumwu] { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }

/* How many seizures and how long, above the rows */
.summary[b-0ycjfoumwu] { font-size: 0.95rem; color: #4e5a57; padding: 2px 0 6px; border-bottom: 1px solid #eef2f1; }
.summary strong[b-0ycjfoumwu] { color: #c62828; }
/* /Layout/BottomNav.razor.rz.scp.css */
.bottom-nav[b-xwz1utbd8a] {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1200;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    height: calc(64px + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
    background: #fff;
    border-top: 1px solid #dde3e1;
}

.bottom-nav a[b-xwz1utbd8a] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    font-size: 0.75rem;
    color: #4e5a57;
    text-decoration: none;
}

.bottom-nav a.active[b-xwz1utbd8a] {
    color: #1e6b61;
    font-weight: 700;
}

/* Desktop keeps the side menu */
@media (min-width: 960px) {
    .bottom-nav[b-xwz1utbd8a] { display: none; }
}
/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-t7pzey9uta] {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100vw;
    overflow-x: hidden;
    /* Support iPhone safe areas */
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
}

main[b-t7pzey9uta] {
    flex: 1;
    width: 100%;
    min-width: 0;
}

.sidebar[b-t7pzey9uta] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
    width: 100vw;
    min-height: 0;
    height: auto;
    position: static;
}

.content[b-t7pzey9uta] {
    padding: 1rem;
    width: 100%;
    box-sizing: border-box;
    max-width: 100%;
    overflow-x: hidden;
}

@media (max-width: 640.98px) {
    .sidebar[b-t7pzey9uta] {
        width: 100vw;
        height: auto;
        min-height: 0;
        position: static;
    }
    
    .content[b-t7pzey9uta] {
        padding: 1rem max(0.75rem, env(safe-area-inset-left));
        padding-bottom: max(1rem, env(safe-area-inset-bottom));
        font-size: 1.05rem;
    }
    
    .page[b-t7pzey9uta] {
        width: 100%;
        overflow-x: hidden;
        padding-left: 0;
        padding-right: 0;
    }
}

@media (min-width: 641px) {
    .page[b-t7pzey9uta] {
        flex-direction: row;
    }

    .sidebar[b-t7pzey9uta] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    /* In landscape on narrow devices, make the sidebar a narrow icon strip so content gets more space */
    @media (orientation: landscape) and (max-width: 1024px) {
        .sidebar[b-t7pzey9uta] {
            width: 56px !important;
            min-width: 56px;
            overflow: visible;
        }

        /* Ensure main content takes full remaining width without extra left padding */
        .content[b-t7pzey9uta] {
            padding-left: 0.75rem !important;
        }
    }

    .top-row[b-t7pzey9uta] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-t7pzey9uta]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-t7pzey9uta], article[b-t7pzey9uta] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* /Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-av4777kfqo] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-av4777kfqo] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-av4777kfqo] {
    font-size: 1.1rem;
}

.nav-item[b-av4777kfqo]  .bi {
    font-size: 1.25rem;
    margin-right: 0.75rem;
    vertical-align: middle;
    line-height: 1;
}

.nav-item[b-av4777kfqo] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-av4777kfqo] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-av4777kfqo] {
        padding-bottom: 1rem;
    }

    .nav-item[b-av4777kfqo]  a,
    .nav-item[b-av4777kfqo]  button {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        text-decoration: none;
        background: transparent;
        border: none;
        width: 100%;
        text-align: left;
    }

.nav-item[b-av4777kfqo]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-av4777kfqo]  a:hover,
.nav-item[b-av4777kfqo]  button:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

@media (max-width: 640.98px) {
    /* Add safe area insets for iPhone notch and home indicator */
    .top-row[b-av4777kfqo] {
        min-height: 3.5rem;
        padding-left: max(0.5rem, env(safe-area-inset-left));
        padding-right: max(0.5rem, env(safe-area-inset-right));
        padding-top: env(safe-area-inset-top);
        position: sticky;
        top: 0;
        z-index: 1000;
        display: flex;
        align-items: center;
    }
    
    .top-row .container-fluid[b-av4777kfqo] {
        display: flex;
        align-items: center;
        padding: 0;
        width: 100%;
    }
    
    /* Place hamburger on the left for better thumb accessibility */
    .navbar-toggler[b-av4777kfqo] {
        order: -1;
        margin-right: 0.75rem;
        margin-left: 0;
        /* Larger touch target for easier tapping - 44x44pt minimum for iOS */
        min-width: 44px;
        min-height: 44px;
        padding: 0.5rem;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px solid rgba(255, 255, 255, 0.15);
    }
    
    .navbar-brand[b-av4777kfqo] {
        flex: 1;
        text-align: left;
        margin: 0;
        font-size: 1.25rem;
    }
    
    .nav-scrollable[b-av4777kfqo] {
        max-width: 100vw;
        overflow-y: auto;
        background: #23233a;
        padding-bottom: max(1rem, env(safe-area-inset-bottom));
        padding-left: max(0.5rem, env(safe-area-inset-left));
        padding-right: max(0.5rem, env(safe-area-inset-right));
    }
    
    .nav-item[b-av4777kfqo] {
        font-size: 1.05rem;
        padding-bottom: 0.75rem;
    }
    
    /* Larger touch targets for nav items */
    .nav-item[b-av4777kfqo]  a,
    .nav-item[b-av4777kfqo]  button {
        min-height: 48px;
        font-size: 1.1rem;
        padding-left: 1.2rem;
        padding-right: 1.2rem;
        display: flex;
        align-items: center;
    }
}

@media (min-width: 641px) {
    .navbar-toggler[b-av4777kfqo] {
        display: none;
    }

    .collapse[b-av4777kfqo] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }

    .nav-scrollable[b-av4777kfqo] {
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}

/* Show a hamburger menu on devices that are in landscape and reasonably narrow (phones/tablets).
   This will hide the persistent sidebar and allow the menu to slide in when opened. */
@media (orientation: landscape) and (max-width: 1024px) {
    .navbar-toggler[b-av4777kfqo] {
        display: block;
    }

    /* Ensure collapsed state hides the sidebar */
    /* Collapsed state becomes a narrow left column showing only icons */
    .collapse[b-av4777kfqo] {
        display: block !important;
        position: fixed;
        top: 3.5rem;
        left: 0;
        width: 56px;
        max-width: 80px;
        height: calc(100vh - 3.5rem);
        background: #23233a;
        padding: 0.25rem 0.5rem;
        box-shadow: 2px 0 12px rgba(0,0,0,0.4);
        transform: none;
        transition: width 0.18s ease;
        z-index: 2000;
        overflow: visible; /* allow the hamburger to sit above without clipping */
    }

    /* Slide-in sidebar for the opened state */
    .nav-scrollable[b-av4777kfqo] {
        position: fixed;
        top: 3.5rem;
        left: 0;
        width: 75%;
        max-width: 420px;
        height: calc(100vh - 3.5rem);
        background: #23233a;
        padding: 1rem;
        box-shadow: 2px 0 12px rgba(0,0,0,0.4);
        transform: translateX(-110%);
        transition: transform 0.25s ease, left 0.18s ease, width 0.18s ease;
        z-index: 2000;
        overflow-y: auto;
    }

    /* When open, slide the full menu in */
    .nav-scrollable.open[b-av4777kfqo] {
        transform: translateX(0);
        width: 75%;
    }

    /* When collapsed (narrow column), show only icons centered and hide text */
    .collapse .nav-item[b-av4777kfqo] {
        display: block;
        padding: 0.35rem 0;
    }

    .collapse .nav-item[b-av4777kfqo]  a {
        justify-content: center;
        padding-left: 0.25rem;
        padding-right: 0.25rem;
        font-size: 0; /* hide text label */
        height: 3rem;
        line-height: 3rem;
    }

    .collapse .nav-item[b-av4777kfqo]  a .bi {
        margin-right: 0;
        top: 0;
        width: 1.6rem;
        height: 1.6rem;
        background-size: contain;
    }

    /* Show tooltip-like text on hover for wide enough devices */
    .collapse .nav-item[b-av4777kfqo]  a:hover { font-size: 0; }

    /* Hide the brand text on narrow landscape so only the icon column remains */
    .top-row .navbar-brand[b-av4777kfqo] {
        display: none !important;
    }

    /* Position the hamburger inside the narrow left column, centered horizontally */
    .navbar-toggler[b-av4777kfqo] {
        position: fixed;
        /* Center vertically in the top-row (3.5rem) */
        top: calc((3.5rem - 40px) / 2);
        left: 8px; /* center within the 56px column (small left offset)
                    keeps it away from the edge and avoids cropping */
        z-index: 2100;
        width: 40px;
        height: 40px;
        padding: 0.1rem; /* reduce padding so icon isn't cropped */
        display: flex;
        align-items: center;
        justify-content: center;
        background: transparent;
        border: none;
    }
}
/* /Pages/AdminUsers.razor.rz.scp.css */
.admin-users-container[b-eur9sm5sk3] {
    padding: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.admin-users-container h1[b-eur9sm5sk3] {
    color: #2c3e50;
    margin-bottom: 30px;
}

.table-responsive[b-eur9sm5sk3] {
    margin-top: 20px;
}

.btn-group[b-eur9sm5sk3] {
    display: flex;
    gap: 5px;
}

.btn-group .btn[b-eur9sm5sk3] {
    margin: 0;
    min-width: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-group .btn span[b-eur9sm5sk3] {
    font-size: 1rem;
}

.btn .bi[b-eur9sm5sk3] {
    margin-right: 0.5rem;
    vertical-align: middle;
    line-height: 1;
}

.modal-backdrop[b-eur9sm5sk3] {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1040;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal.show[b-eur9sm5sk3] {
    display: block;
    z-index: 1050;
}

.modal-dialog[b-eur9sm5sk3] {
    margin: 1.75rem auto;
    max-width: 500px;
}

.badge[b-eur9sm5sk3] {
    font-size: 0.85rem;
    padding: 0.35em 0.65em;
}

.alert[b-eur9sm5sk3] {
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .table-responsive[b-eur9sm5sk3] {
        font-size: 0.9rem;
    }
    
    .btn-group[b-eur9sm5sk3] {
        gap: 3px;
    }
    
    .btn-group .btn[b-eur9sm5sk3] {
        padding: 0.25rem 0.4rem;
        font-size: 0.875rem;
        min-width: 32px;
    }
}
/* /Pages/Bmis.razor.rz.scp.css */
.bmi-page[b-o7akzw74qf] {
    padding: 1rem;
}

/* Fix button icon alignment on mobile */
[b-o7akzw74qf] .mud-button-root {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
}

[b-o7akzw74qf] .mud-button-root .mud-button-icon-start {
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
}

[b-o7akzw74qf] .mud-button-label {
    display: flex !important;
    align-items: center !important;
}

/* Better button sizing on mobile */
@media (max-width: 640.98px) {
    [b-o7akzw74qf] .mud-button-root {
        padding: 0.75rem 1rem !important;
        min-height: 48px !important;
        font-size: 0.95rem !important;
    }
    
    [b-o7akzw74qf] .mud-button-root .mud-icon-root {
        font-size: 1.25rem !important;
    }
    
    .button-stack[b-o7akzw74qf] {
        width: 100%;
    }
    
    .export-buttons[b-o7akzw74qf] {
        width: 100%;
    }
}

.add-button-container[b-o7akzw74qf] {
    text-align: center;
    margin-bottom: 1.5rem;
}

.btn-add-bmi[b-o7akzw74qf] {
    background: #0c296b;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.8em 1.5em;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-add-bmi:hover[b-o7akzw74qf] {
    background: #1747b5;
}

.bmi-form[b-o7akzw74qf] {
    margin-bottom: 2rem;
}

.bmi-form .form-group[b-o7akzw74qf] {
    margin-bottom: 1rem;
}

.bmi-form label[b-o7akzw74qf] {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 500;
    color: #333;
}

.bmi-form input[type=\"number\"][b-o7akzw74qf],
.bmi-form input[type=\"date\"][b-o7akzw74qf] {
    width: 100%;
    box-sizing: border-box;
    font-size: 1.1rem;
    padding: 0.7em;
    border: 1px solid #ccc;
    border-radius: 6px;
}

.bmi-form input[type=\"number\"]:focus[b-o7akzw74qf],
.bmi-form input[type=\"date\"]:focus[b-o7akzw74qf] {
    outline: none;
    border-color: #0c296b;
}

.form-buttons[b-o7akzw74qf] {
    display: flex;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.btn-save[b-o7akzw74qf],
.btn-cancel[b-o7akzw74qf] {
    flex: 1;
    padding: 0.8em;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-save[b-o7akzw74qf] {
    background: #0c296b;
    color: white;
}

.btn-save:hover:not(:disabled)[b-o7akzw74qf] {
    background: #1747b5;
}

.btn-save:disabled[b-o7akzw74qf] {
    background: #999;
    cursor: not-allowed;
}

.btn-cancel[b-o7akzw74qf] {
    background: #e0e0e0;
    color: #333;
}

.btn-cancel:hover:not(:disabled)[b-o7akzw74qf] {
    background: #d0d0d0;
}

.success-message[b-o7akzw74qf] {
    color: #28a745;
    background: #d4edda;
    border: 1px solid #c3e6cb;
    padding: 0.7em;
    border-radius: 4px;
    margin-bottom: 1rem;
    text-align: center;
}

.error-message[b-o7akzw74qf] {
    color: #da3333;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    padding: 0.7em;
    border-radius: 4px;
    margin-bottom: 1rem;
    text-align: center;
}

.bmi-stats[b-o7akzw74qf] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card[b-o7akzw74qf] {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.stat-card h3[b-o7akzw74qf] {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: #333;
}

.stat-card p[b-o7akzw74qf] {
    margin: 0.5rem 0;
    font-size: 1.5rem;
    font-weight: bold;
    color: #0066cc;
}

.stat-card small[b-o7akzw74qf] {
    display: block;
    color: #666;
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

/* Chart container styling - consistent with other charts */
.chart-container[b-o7akzw74qf] {
    margin-top: 2rem;
}

.bmi-chart-wrapper[b-o7akzw74qf] {
    position: relative;
    width: 100%;
    height: 500px;
    min-height: 500px;
}

.bmi-chart-wrapper canvas[b-o7akzw74qf] {
    width: 100% !important;
    height: 100% !important;
}

/* Tablet and larger screens */
@media (min-width: 768px) {
    .bmi-chart-wrapper[b-o7akzw74qf] {
        height: 550px;
        min-height: 550px;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .bmi-chart-wrapper[b-o7akzw74qf] {
        height: 600px;
        min-height: 600px;
    }
}

/* Tablet */
@media (min-width: 641px) and (max-width: 1024px) {
    .bmi-chart-wrapper[b-o7akzw74qf] {
        height: 650px;
        min-height: 650px;
    }
}

/* Desktop */
@media (min-width: 1025px) {
    .bmi-chart-wrapper[b-o7akzw74qf] {
        height: 700px;
        min-height: 700px;
    }
}

.bmi-chart-container[b-o7akzw74qf] {
    width: 100%;
    max-width: 100vw;
    background: #fcfcfd;
    border-radius: 7px;
    padding: 1rem 0.5rem;
    box-sizing: border-box;
    overflow-x: auto;
    margin-top: 2rem;
    min-height: 400px;
}

.chart-header[b-o7akzw74qf] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.chart-header h2[b-o7akzw74qf] {
    margin: 0;
    color: #333;
    font-size: 1.3rem;
    flex: 1 1 auto;
}

.chart-header button[b-o7akzw74qf] {
    flex-shrink: 0;
}

.bmi-chart-container canvas[b-o7akzw74qf] {
    width: 100% !important;
    max-width: 100vw;
    height: auto !important;
    display: block;
    min-height: 350px;
}

@media (orientation: portrait) and (max-width: 768px) {
    .bmi-chart-container[b-o7akzw74qf] {
        min-height: 450px;
    }
    
    .bmi-chart-container canvas[b-o7akzw74qf] {
        min-height: 400px;
    }
}

@media (min-width: 700px) {
    .bmi-chart-container[b-o7akzw74qf] {
        padding: 1.5rem 2rem;
        max-width: 900px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Make the chart taller in landscape on small devices */
@media (orientation: landscape) and (max-width: 1024px) {
    .bmi-chart-container canvas[b-o7akzw74qf] {
        min-height: 500px;
    }
}

.trend-card[b-o7akzw74qf] {
    background: #fff;
    border-radius: 16px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 640px;
}

.card-head[b-o7akzw74qf] { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.trend-card h2[b-o7akzw74qf] { margin: 0; font-size: 1.1rem; font-weight: 700; }
.muted[b-o7akzw74qf] { color: #4e5a57; }
.small[b-o7akzw74qf] { font-size: 0.75rem; }

.download[b-o7akzw74qf] {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 22px;
    border: 1px solid #c9d1ce;
    background: #fff;
    color: #1e6b61;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.segmented[b-o7akzw74qf] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    padding: 4px;
    border-radius: 22px;
    background: #e4e9e7;
}

.segmented button[b-o7akzw74qf] {
    height: 40px;
    border: none;
    border-radius: 18px;
    background: transparent;
    font: inherit;
    font-size: 0.95rem;
    color: #17201e;
    cursor: pointer;
}

.segmented button.on[b-o7akzw74qf] { background: #fff; font-weight: 700; }

.chips[b-o7akzw74qf] { display: flex; flex-wrap: wrap; gap: 6px; }

.chip[b-o7akzw74qf] {
    min-height: 36px;
    padding: 0 12px;
    border-radius: 18px;
    border: 1px solid #c9d1ce;
    background: #fff;
    display: flex;
    align-items: center;
    gap: 6px;
    font: inherit;
    font-size: 0.8rem;
    color: #17201e;
    cursor: pointer;
}

.chip.on[b-o7akzw74qf] { background: #17201e; border-color: #17201e; color: #fff; }
.line-swatch[b-o7akzw74qf] { width: 14px; height: 4px; border-radius: 2px; }
.value[b-o7akzw74qf] { opacity: 0.75; }

.readout[b-o7akzw74qf] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 10px;
    background: #eef5f3;
    font-size: 0.85rem;
}

.readout span[b-o7akzw74qf] { text-align: right; }
/* /Pages/CaregiverShift.razor.rz.scp.css */
.shift-page[b-k9cgax5qfa] {
    max-width: 560px;
    margin: 0 auto;
}

.head[b-k9cgax5qfa] {
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
}

.register[b-k9cgax5qfa] {
    height: 88px;
    border-radius: 16px;
    background: #1e6b61;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.shift-page[b-k9cgax5qfa]  .sleep-card {
    margin-bottom: 16px;
}

.shift-page[b-k9cgax5qfa]  .med-card {
    margin-bottom: 8px;
}
/* /Pages/Diary.razor.rz.scp.css */
.diary-page[b-end10yqnsg] {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.week-nav[b-end10yqnsg] {
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 480px;
}

.week-title[b-end10yqnsg] {
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.week-title span[b-end10yqnsg] { font-size: 0.85rem; color: #4e5a57; }

.tabs[b-end10yqnsg] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    background: #e8eeec;
    border-radius: 22px;
    padding: 4px;
    max-width: 480px;
}

.tabs button[b-end10yqnsg] {
    height: 40px;
    border-radius: 20px;
    border: none;
    background: transparent;
    font: inherit;
    font-weight: 500;
    color: #4e5a57;
    cursor: pointer;
}

.tabs button.on[b-end10yqnsg] { background: #fff; color: #17201e; }

.warn[b-end10yqnsg] {
    background: #fdf0dd;
    border-radius: 12px;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: #5c2c04;
}

.warn-head[b-end10yqnsg] { display: flex; gap: 8px; align-items: flex-start; }

.untyped[b-end10yqnsg] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.when[b-end10yqnsg] { font-weight: 500; }

.type-buttons[b-end10yqnsg] { display: flex; gap: 6px; }

.type-buttons button[b-end10yqnsg] {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    border: 1px solid #c9a27a;
    background: #fff;
    font: inherit;
    font-weight: 700;
    color: #17201e;
    cursor: pointer;
}

.table-box[b-end10yqnsg] {
    background: #fff;
    border-radius: 12px;
    overflow-x: auto;
}

table[b-end10yqnsg] {
    border-collapse: collapse;
    width: 100%;
    min-width: 720px;
    font-size: 0.9rem;
}

th[b-end10yqnsg], td[b-end10yqnsg] {
    border-bottom: 1px solid #eef2f1;
    padding: 8px 6px;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

tbody th[b-end10yqnsg] {
    text-align: left;
    font-weight: 500;
    width: 220px;
}

thead th[b-end10yqnsg] { color: #1e6b61; }
thead th:first-child[b-end10yqnsg] { text-align: right; }
.dates th[b-end10yqnsg] { font-size: 0.8rem; font-weight: 500; }
.num[b-end10yqnsg] { font-size: 1rem; }

tr.sub th[b-end10yqnsg] { font-weight: 400; color: #4e5a57; padding-left: 18px; }

td.dim[b-end10yqnsg] { color: #8a9692; }
td.alert[b-end10yqnsg] { color: #b42318; font-weight: 700; }
td.wrap[b-end10yqnsg] { white-space: normal; font-size: 0.8rem; }
tr.warn-row td:not(.dim)[b-end10yqnsg] { color: #b45309; font-weight: 700; }

.legend[b-end10yqnsg] {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.85rem;
    color: #4e5a57;
}

.legend div[b-end10yqnsg] { display: flex; gap: 8px; }
.legend dt[b-end10yqnsg] { font-weight: 700; color: #17201e; width: 1rem; }
.legend dd[b-end10yqnsg] { margin: 0; }

.report-row[b-end10yqnsg] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 12px;
}

.report-row span[b-end10yqnsg] { font-size: 0.8rem; color: #4e5a57; }

.title-row[b-end10yqnsg] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}
/* /Pages/DosageRecommendation.razor.rz.scp.css */
.analysis-container[b-sxi5fil6pd] {
    padding: 1rem;
}


.summary-cards[b-sxi5fil6pd] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card[b-sxi5fil6pd] {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.stat-card h4[b-sxi5fil6pd] {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.stat-value[b-sxi5fil6pd] {
    font-size: 1.8rem;
    font-weight: bold;
    color: #333;
    margin: 0;
}

.medication-overview[b-sxi5fil6pd],
.chart-section[b-sxi5fil6pd],
.correlation-analysis[b-sxi5fil6pd],
.recommendations[b-sxi5fil6pd],
.data-table-section[b-sxi5fil6pd] {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.medication-overview h4[b-sxi5fil6pd],
.chart-section h4[b-sxi5fil6pd],
.correlation-analysis h4[b-sxi5fil6pd],
.recommendations h4[b-sxi5fil6pd],
.data-table-section h4[b-sxi5fil6pd] {
    margin-top: 0;
    margin-bottom: 1rem;
    color: #333;
}

.chart-controls[b-sxi5fil6pd] {
    margin-bottom: 1rem;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.correlation-grid[b-sxi5fil6pd] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.correlation-card[b-sxi5fil6pd] {
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 1rem;
    transition: transform 0.2s;
}

.correlation-card:hover[b-sxi5fil6pd] {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.correlation-card.correlation-weak[b-sxi5fil6pd] {
    border-color: #6c757d;
    background-color: #f8f9fa;
}

.correlation-card.correlation-moderate[b-sxi5fil6pd] {
    border-color: #ffc107;
    background-color: #fff8e1;
}

.correlation-card.correlation-strong[b-sxi5fil6pd] {
    border-color: #dc3545;
    background-color: #ffe5e5;
}

.correlation-card h5[b-sxi5fil6pd] {
    margin-top: 0;
    font-size: 1.1rem;
}

.correlation-value[b-sxi5fil6pd] {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin: 0.5rem 0;
}

.correlation-number[b-sxi5fil6pd] {
    font-size: 1.5rem;
    font-weight: bold;
}

.correlation-label[b-sxi5fil6pd] {
    font-size: 0.9rem;
    color: #666;
}

.correlation-desc[b-sxi5fil6pd] {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 0;
}

.recommendation-list[b-sxi5fil6pd] {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recommendation-item[b-sxi5fil6pd] {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    border-left: 4px solid;
}

.recommendation-item.info[b-sxi5fil6pd] {
    background-color: #e7f3ff;
    border-color: #0d6efd;
}

.recommendation-item.warning[b-sxi5fil6pd] {
    background-color: #fff8e1;
    border-color: #ffc107;
}

.recommendation-item.high[b-sxi5fil6pd] {
    background-color: #ffe5e5;
    border-color: #dc3545;
}

.recommendation-item.medium[b-sxi5fil6pd] {
    background-color: #fff4e6;
    border-color: #fd7e14;
}

.recommendation-item.success[b-sxi5fil6pd] {
    background-color: #e8f5e9;
    border-color: #28a745;
}

.recommendation-icon[b-sxi5fil6pd] {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.recommendation-content[b-sxi5fil6pd] {
    flex-grow: 1;
}

.recommendation-content strong[b-sxi5fil6pd] {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.recommendation-content p[b-sxi5fil6pd] {
    margin: 0;
    font-size: 0.9rem;
    color: #555;
}

.data-table-section table[b-sxi5fil6pd] {
    font-size: 0.9rem;
}

.data-table-section th[b-sxi5fil6pd] {
    background-color: #f8f9fa;
    font-weight: 600;
}

@media (max-width: 768px) {
    .summary-cards[b-sxi5fil6pd] {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .correlation-grid[b-sxi5fil6pd] {
        grid-template-columns: 1fr;
    }
    
    .chart-controls[b-sxi5fil6pd] {
        justify-content: center;
    }
}

.trend-card[b-sxi5fil6pd] {
    background: #fff;
    border-radius: 16px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 640px;
}

.trend-card h2[b-sxi5fil6pd] { margin: 0; font-size: 1.1rem; font-weight: 700; }
.muted[b-sxi5fil6pd] { color: #4e5a57; }
.small[b-sxi5fil6pd] { font-size: 0.75rem; }

.segmented[b-sxi5fil6pd] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    padding: 4px;
    border-radius: 22px;
    background: #e4e9e7;
}

.segmented button[b-sxi5fil6pd] {
    height: 40px;
    border: none;
    border-radius: 18px;
    background: transparent;
    font: inherit;
    font-size: 0.95rem;
    color: #17201e;
    cursor: pointer;
}

.segmented button.on[b-sxi5fil6pd] { background: #fff; font-weight: 700; }

.chips[b-sxi5fil6pd] { display: flex; flex-wrap: wrap; gap: 6px; }

.chip[b-sxi5fil6pd] {
    min-height: 36px;
    padding: 0 12px;
    border-radius: 18px;
    border: 1px solid #c9d1ce;
    background: #fff;
    display: flex;
    align-items: center;
    gap: 6px;
    font: inherit;
    font-size: 0.8rem;
    color: #17201e;
    cursor: pointer;
}

.chip.on[b-sxi5fil6pd] { background: #17201e; border-color: #17201e; color: #fff; }
.line-swatch[b-sxi5fil6pd] { width: 14px; height: 4px; border-radius: 2px; }
.line-swatch.dashed[b-sxi5fil6pd] { background-image: linear-gradient(90deg, transparent 50%, #fff 50%) !important; background-size: 6px 4px; }
.value[b-sxi5fil6pd] { opacity: 0.75; }

.readout[b-sxi5fil6pd] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 10px;
    background: #eef5f3;
    font-size: 0.85rem;
}

.readout span[b-sxi5fil6pd] { text-align: right; }

.change[b-sxi5fil6pd] { font-size: 0.875rem; padding-top: 6px; border-top: 1px solid #eef2f1; }

.weight-dose[b-sxi5fil6pd] { padding: .6rem 0; border-top: 1px solid var(--mud-palette-lines-default); font-size: .9rem; line-height: 1.45; }
.weight-dose .name a[b-sxi5fil6pd] { font-size: .8rem; margin-left: .4rem; }
.weight-dose .suggest[b-sxi5fil6pd] { margin-top: .15rem; }
.weight-dose .limits[b-sxi5fil6pd] { color: var(--mud-palette-text-secondary); font-size: .8rem; }
.weight-dose .limits.capped[b-sxi5fil6pd] { color: var(--mud-palette-warning); }
/* /Pages/Home.razor.rz.scp.css */
.sleep[b-6u9t7qf0u7] {
    margin-top: 12px;
}

.log-page[b-6u9t7qf0u7] {
    max-width: 560px;
    margin: 0 auto;
}

.sleep[b-6u9t7qf0u7]  .med-card {
    margin-bottom: 12px;
}

.title-row[b-6u9t7qf0u7] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}
/* /Pages/Issues.razor.rz.scp.css */
.list[b-pipiifecs1] {
    display: flex;
    flex-direction: column;
    padding: 4px 12px;
    border-radius: 12px;
    background: var(--mud-palette-surface);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}
/* /Pages/LengthMonthPage.razor.rz.scp.css */
.month-page[b-7jhvt7zp5k] {
    max-width: 640px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.head[b-7jhvt7zp5k] { display: flex; align-items: center; gap: 8px; }
.head .title[b-7jhvt7zp5k] { flex: 1; }

.download[b-7jhvt7zp5k] {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 24px;
    border: 1px solid #c9d1ce;
    background: #fff;
    color: #1e6b61;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.download:disabled[b-7jhvt7zp5k] { opacity: 0.5; cursor: default; }

.segmented[b-7jhvt7zp5k] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    padding: 4px;
    border-radius: 22px;
    background: #e4e9e7;
}

.segmented button[b-7jhvt7zp5k] {
    height: 40px;
    border: none;
    border-radius: 18px;
    background: transparent;
    font: inherit;
    font-size: 0.95rem;
    color: #17201e;
    cursor: pointer;
}

.segmented button.on[b-7jhvt7zp5k] { background: #fff; font-weight: 700; }

.segmented.small[b-7jhvt7zp5k] { grid-template-columns: repeat(2, minmax(0, 1fr)); border-radius: 10px; padding: 3px; gap: 3px; }
.segmented.small button[b-7jhvt7zp5k] { height: 36px; border-radius: 8px; font-size: 0.875rem; }

.card[b-7jhvt7zp5k] {
    background: #fff;
    border-radius: 16px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

h2[b-7jhvt7zp5k] { margin: 0; font-size: 1rem; font-weight: 700; }

.muted[b-7jhvt7zp5k] { color: #4e5a57; }
.small[b-7jhvt7zp5k] { font-size: 0.75rem; }
.row-between[b-7jhvt7zp5k] { display: flex; justify-content: space-between; align-items: baseline; }

.legend[b-7jhvt7zp5k] { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: 0.8rem; }
.legend > span[b-7jhvt7zp5k] { display: flex; align-items: center; gap: 6px; }
.swatch[b-7jhvt7zp5k] { width: 12px; height: 12px; border-radius: 3px; }

.chips[b-7jhvt7zp5k] { display: flex; flex-wrap: wrap; gap: 6px; }

.chip[b-7jhvt7zp5k] {
    min-height: 36px;
    padding: 0 12px;
    border-radius: 18px;
    border: 1px solid #c9d1ce;
    background: #fff;
    display: flex;
    align-items: center;
    gap: 6px;
    font: inherit;
    font-size: 0.8rem;
    color: #17201e;
    cursor: pointer;
}

.chip.on[b-7jhvt7zp5k] { background: #17201e; border-color: #17201e; color: #fff; }
.line-swatch[b-7jhvt7zp5k] { width: 14px; height: 4px; border-radius: 2px; }
.dose[b-7jhvt7zp5k] { opacity: 0.75; }

.readout[b-7jhvt7zp5k] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 10px;
    background: #eef5f3;
    font-size: 0.85rem;
}

.readout span[b-7jhvt7zp5k] { text-align: right; }

.change[b-7jhvt7zp5k] { display: flex; flex-direction: column; gap: 2px; padding-top: 6px; border-top: 1px solid #eef2f1; }

.chip.fever .dot-swatch[b-7jhvt7zp5k] { width: 8px; height: 8px; border-radius: 4px; background: #c2410c; }
.fever-legend[b-7jhvt7zp5k] { display: flex; flex-wrap: wrap; gap: 12px; }
.fever-legend i[b-7jhvt7zp5k] { display: inline-block; width: 8px; height: 8px; border-radius: 4px; margin-right: 4px; }
.insight[b-7jhvt7zp5k] { font-size: 0.9rem; padding: 8px 0; border-top: 1px solid #eef2f1; }

.head-actions[b-7jhvt7zp5k] { display: flex; align-items: center; gap: 8px; }
.chip.rescue .dot-swatch[b-7jhvt7zp5k] { width: 8px; height: 8px; border-radius: 4px; background: #b42318; }

.round[b-7jhvt7zp5k] {
    width: 44px;
    height: 44px;
    border-radius: 22px;
    border: 1px solid #c9d1ce;
    background: #fff;
    color: #1e6b61;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.round.primary[b-7jhvt7zp5k] { background: #1e6b61; border-color: #1e6b61; color: #fff; }
.round:disabled[b-7jhvt7zp5k] { opacity: 0.5; cursor: default; }

.chart-card[b-7jhvt7zp5k] { gap: 8px; padding: 10px 12px 12px; }
.period[b-7jhvt7zp5k] { align-self: flex-start; border: none; background: transparent; padding: 4px 0; font: inherit; font-size: 1rem; font-weight: 700; color: #17201e; cursor: pointer; }
.dates[b-7jhvt7zp5k] { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.dates label[b-7jhvt7zp5k] { display: flex; flex-direction: column; gap: 2px; font-size: 0.75rem; color: #4e5a57; }
.dates input[b-7jhvt7zp5k] { height: 40px; border: 1px solid #c9d1ce; border-radius: 8px; padding: 0 8px; font: inherit; font-size: 0.95rem; color: #17201e; min-width: 0; }

.overview[b-7jhvt7zp5k] { display: flex; flex-direction: column; gap: 4px; margin-top: 4px; }
.strip[b-7jhvt7zp5k] { position: relative; height: 44px; border-radius: 8px; background: #f4f6f5; }
.strip svg[b-7jhvt7zp5k] { position: absolute; inset: 0; width: 100%; height: 100%; }
.strip .window[b-7jhvt7zp5k] { position: absolute; top: 0; bottom: 0; background: rgba(30, 107, 97, 0.16); border: 2px solid #17201e; border-radius: 6px; box-sizing: border-box; pointer-events: none; }
/* Two native range inputs on top of each other: only their thumbs take touches */
.strip .handle[b-7jhvt7zp5k] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; background: transparent; pointer-events: none; -webkit-appearance: none; appearance: none; }
.strip .handle[b-7jhvt7zp5k]::-webkit-slider-runnable-track { background: transparent; height: 100%; }
.strip .handle[b-7jhvt7zp5k]::-moz-range-track { background: transparent; }
.strip .handle[b-7jhvt7zp5k]::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 18px; height: 44px; border-radius: 6px; background: rgba(23, 32, 30, 0.85); cursor: ew-resize; }
.strip .handle[b-7jhvt7zp5k]::-moz-range-thumb { pointer-events: auto; width: 18px; height: 44px; border: none; border-radius: 6px; background: rgba(23, 32, 30, 0.85); cursor: ew-resize; }
.overview .axis[b-7jhvt7zp5k] { display: flex; justify-content: space-between; }
.nav[b-7jhvt7zp5k] { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.nav button[b-7jhvt7zp5k] { min-height: 38px; border-radius: 19px; border: 1px solid #c9d1ce; background: #fff; font: inherit; font-size: 0.8rem; color: #17201e; cursor: pointer; padding: 0 4px; }
.nav button:disabled[b-7jhvt7zp5k] { opacity: 0.4; cursor: default; }
.segmented.presets[b-7jhvt7zp5k] { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.legend-item[b-7jhvt7zp5k] { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 8px; border: none; border-radius: 8px; background: transparent; font: inherit; font-size: 0.85rem; color: #17201e; cursor: pointer; }
.legend-item.off[b-7jhvt7zp5k] { opacity: 0.4; text-decoration: line-through; }
.chip.off[b-7jhvt7zp5k] { opacity: 0.55; text-decoration: line-through; }
/* /Pages/Medications.razor.rz.scp.css */
.medications-page[b-09zqe2xui7] {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.medications-page h1[b-09zqe2xui7] {
    margin-bottom: 20px;
    color: #333;
}

.add-button-container[b-09zqe2xui7] {
    margin: 20px 0;
}

.btn-add-medication[b-09zqe2xui7] {
    padding: 10px 20px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.btn-add-medication:hover[b-09zqe2xui7] {
    background-color: #218838;
}

.medication-form[b-09zqe2xui7] {
    margin-bottom: 30px;
}

.medications-stats[b-09zqe2xui7] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.stat-card[b-09zqe2xui7] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.stat-card h3[b-09zqe2xui7] {
    margin: 0 0 10px 0;
    font-size: 14px;
    opacity: 0.9;
}

.stat-card p[b-09zqe2xui7] {
    margin: 5px 0;
    font-size: 24px;
    font-weight: bold;
}

.stat-card small[b-09zqe2xui7] {
    font-size: 12px;
    opacity: 0.8;
}

.medications-table-container[b-09zqe2xui7] {
    margin-top: 40px;
}

.medications-table-container h2[b-09zqe2xui7] {
    margin-bottom: 20px;
    color: #333;
}

.medications-table-container table[b-09zqe2xui7] {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.medications-table-container thead[b-09zqe2xui7] {
    background-color: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
}

.medications-table-container th[b-09zqe2xui7] {
    padding: 12px;
    text-align: left;
    font-weight: 600;
    color: #333;
}

.medications-table-container td[b-09zqe2xui7] {
    padding: 12px;
    border-bottom: 1px solid #dee2e6;
}

.medications-table-container tbody tr:hover[b-09zqe2xui7] {
    background-color: #f8f9fa;
}

.add-button-container[b-09zqe2xui7] {
    margin: 20px 0;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-add-medication[b-09zqe2xui7],
.btn-export-csv[b-09zqe2xui7],
.btn-import-csv[b-09zqe2xui7] {
    padding: 10px 20px;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.btn-add-medication[b-09zqe2xui7] {
    background-color: #28a745;
}

.btn-add-medication:hover[b-09zqe2xui7] {
    background-color: #218838;
}

.btn-export-csv[b-09zqe2xui7] {
    background-color: #007bff;
}

.btn-export-csv:hover[b-09zqe2xui7] {
    background-color: #0056b3;
}

.btn-import-csv[b-09zqe2xui7] {
    background-color: #6c757d;
}

.btn-import-csv:hover[b-09zqe2xui7] {
    background-color: #5a6268;
}

.success-message[b-09zqe2xui7] {
    color: #28a745;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    padding: 12px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.error-message[b-09zqe2xui7] {
    color: #dc3545;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    padding: 12px;
    border-radius: 5px;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .medications-stats[b-09zqe2xui7] {
        grid-template-columns: 1fr;
    }

    .medications-table-container table[b-09zqe2xui7] {
        font-size: 14px;
    }

    .medications-table-container th[b-09zqe2xui7],
    .medications-table-container td[b-09zqe2xui7] {
        padding: 8px;
    }
}
/* /Pages/MedicationsNow.razor.rz.scp.css */
.subhead[b-8ksjkz3ojl] { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.card[b-8ksjkz3ojl] { background: #fff; border-radius: 14px; padding: 12px 14px; margin-bottom: 8px; display: flex; flex-direction: column; gap: 6px; box-shadow: 0 1px 3px rgba(0,0,0,0.08); }
.card.buccolam[b-8ksjkz3ojl] { border: 2px solid #b42318; }
.cols[b-8ksjkz3ojl] { display: grid; grid-template-columns: 1fr 72px 72px; gap: 8px; align-items: baseline; padding: 0 2px; }
.cols > span:not(:first-child)[b-8ksjkz3ojl] { text-align: right; }
.name[b-8ksjkz3ojl] { font-size: 1.05rem; font-weight: 700; }
.name.bucc[b-8ksjkz3ojl] { color: #b42318; }
.dose[b-8ksjkz3ojl] { font-size: 1.05rem; font-weight: 700; }
.row-between[b-8ksjkz3ojl] { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.grow[b-8ksjkz3ojl] { flex: 1; min-width: 0; font-size: 0.9rem; }
.block[b-8ksjkz3ojl] { display: block; }
.muted[b-8ksjkz3ojl] { color: #4e5a57; }
.small[b-8ksjkz3ojl] { font-size: 0.8rem; }
.actions[b-8ksjkz3ojl] { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
/* /Pages/PaperLog.razor.rz.scp.css */
.shift-row[b-qz6bczjvql] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.shift-label[b-qz6bczjvql] {
    flex: 1;
    text-align: center;
    text-transform: capitalize;
}

[b-qz6bczjvql] .shift-date {
    flex: 1;
    min-width: 150px;
}

.muted[b-qz6bczjvql] {
    color: #6b7672;
    font-weight: 400;
}

.rows[b-qz6bczjvql] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.row[b-qz6bczjvql] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 4px 0 12px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.row.existing[b-qz6bczjvql] {
    background: #eceff0;
    box-shadow: none;
}

.time[b-qz6bczjvql] {
    font-weight: 700;
    font-size: 1.05rem;
    width: 4.6rem;
    white-space: nowrap;
}

/* The weekday, so a line after midnight shows it is the next day */
.time small[b-qz6bczjvql] {
    font-weight: 400;
    font-size: 0.75rem;
    color: #6b7570;
}

.length[b-qz6bczjvql] {
    width: 6rem;
}

.comment[b-qz6bczjvql] {
    flex: 1;
    color: #555f5b;
    font-size: 0.9rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.entry-grid[b-qz6bczjvql] {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 8px;
    align-items: center;
}

.chips[b-qz6bczjvql] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.kinds[b-qz6bczjvql] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.entry-grid.time-only[b-qz6bczjvql] {
    grid-template-columns: 1fr;
}

.row.sleep .length[b-qz6bczjvql] {
    color: #3d5a80;
}

.warnings[b-qz6bczjvql] {
    margin: 0 0 6px;
    padding-left: 18px;
}
/* /Pages/SeizureCalendar.razor.rz.scp.css */
.calendar-container[b-6d4yydrj68] {
    max-width: 500px;
    margin: 0 auto;
    padding: 1rem;
}

.calendar-header[b-6d4yydrj68] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.calendar-header h2[b-6d4yydrj68] {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    text-transform: capitalize;
}

.nav-btn[b-6d4yydrj68] {
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #007AFF;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: background 0.2s;
}

.nav-btn:hover[b-6d4yydrj68] {
    background: rgba(0, 122, 255, 0.1);
}

.calendar-grid[b-6d4yydrj68] {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    margin-bottom: 1.5rem;
}

.weekday-header[b-6d4yydrj68] {
    text-align: center;
    font-size: 0.85rem;
    font-weight: 500;
    color: #8e8e93;
    padding: 0.5rem 0;
}

.calendar-day[b-6d4yydrj68] {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 50%;
    position: relative;
    transition: all 0.2s;
}

.calendar-day:hover[b-6d4yydrj68] {
    background: rgba(0, 122, 255, 0.1);
}

.day-number[b-6d4yydrj68] {
    font-size: 1.1rem;
    font-weight: 400;
}

.other-month .day-number[b-6d4yydrj68] {
    color: #c7c7cc;
}

.today[b-6d4yydrj68] {
    background: #000;
    color: white;
}

.today .day-number[b-6d4yydrj68] {
    color: white;
    font-weight: 600;
}

.selected[b-6d4yydrj68] {
    background: #007AFF;
    color: white;
}

.selected .day-number[b-6d4yydrj68] {
    color: white;
}

.has-seizures .seizure-indicator[b-6d4yydrj68] {
    position: absolute;
    bottom: 2px;
    font-size: 0.65rem;
    background: #FF3B30;
    color: white;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.selected .seizure-indicator[b-6d4yydrj68] {
    background: white;
    color: #007AFF;
}

/* Seizure List */
.seizure-list[b-6d4yydrj68] {
    background: #f2f2f7;
    border-radius: 12px;
    padding: 1rem;
}

.seizure-list-header[b-6d4yydrj68] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.seizure-list h3[b-6d4yydrj68] {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: capitalize;
    color: #1c1c1e;
}

.seizure-item[b-6d4yydrj68] {
    display: flex;
    background: white;
    border-radius: 10px;
    margin-bottom: 0.5rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.seizure-item[b-6d4yydrj68] {
    cursor: pointer;
    align-items: center;
}

[b-6d4yydrj68] .seizure-edit-icon {
    color: #c7c7cc;
    margin-right: 0.75rem;
}

.seizure-time-bar[b-6d4yydrj68] {
    width: 4px;
    background: #FF3B30;
    flex-shrink: 0;
}

.seizure-content[b-6d4yydrj68] {
    flex: 1;
    padding: 0.75rem 1rem;
}

.seizure-title[b-6d4yydrj68] {
    font-weight: 600;
    font-size: 1rem;
    color: #1c1c1e;
    margin-bottom: 0.25rem;
}

.seizure-details[b-6d4yydrj68] {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: #8e8e93;
}

.seizure-comment[b-6d4yydrj68] {
    margin-top: 0.25rem;
    font-size: 0.85rem;
    color: #3a3a3c;
    white-space: pre-line;
}

.seizure-time[b-6d4yydrj68],
.seizure-duration[b-6d4yydrj68] {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.day-summary[b-6d4yydrj68] {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem;
    background: white;
    border-radius: 10px;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: #8e8e93;
}

.no-seizures[b-6d4yydrj68] {
    text-align: center;
    padding: 2rem;
    color: #8e8e93;
}

.no-seizures span[b-6d4yydrj68] {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.5rem;
}

.no-seizures p[b-6d4yydrj68] {
    margin: 0;
    font-size: 1rem;
}

/* Mobile optimizations */
@media (max-width: 400px) {
    .calendar-container[b-6d4yydrj68] {
        padding: 0.5rem;
    }
    
    .day-number[b-6d4yydrj68] {
        font-size: 0.95rem;
    }
    
    .seizure-details[b-6d4yydrj68] {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .day-summary[b-6d4yydrj68] {
        flex-direction: column;
        gap: 0.25rem;
        text-align: center;
    }
}

/* Redesign: heat-shaded days, Buccolam marker, day stats and 24h strip */
.calendar-day[b-6d4yydrj68] {
    border: 2px solid transparent;
    background: transparent;
    font: inherit;
    color: inherit;
    border-radius: 10px;
}

.calendar-day.heat-1[b-6d4yydrj68] { background: #a7d3cb; }
.calendar-day.heat-2[b-6d4yydrj68] { background: #4e9c90; color: #fff; }
.calendar-day.heat-3[b-6d4yydrj68] { background: #1e6b61; color: #fff; }
.calendar-day.heat-2 .day-number[b-6d4yydrj68],
.calendar-day.heat-3 .day-number[b-6d4yydrj68] { color: #fff; }

.calendar-day.selected[b-6d4yydrj68] {
    border-color: #17201e;
}

.calendar-day.today:not(.heat-1):not(.heat-2):not(.heat-3)[b-6d4yydrj68] {
    background: #17201e;
}

.buccolam-dot[b-6d4yydrj68] {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 8px;
    height: 8px;
    border-radius: 4px;
    background: #b42318;
    border: 1px solid #fff;
}

.heat-legend[b-6d4yydrj68] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    font-size: 0.75rem;
    color: #4e5a57;
    margin: -0.75rem 0 1rem;
}

.heat-legend span[b-6d4yydrj68] { display: flex; align-items: center; gap: 4px; }
.heat-legend i[b-6d4yydrj68] { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.heat-legend .heat-1[b-6d4yydrj68] { background: #a7d3cb; }
.heat-legend .heat-2[b-6d4yydrj68] { background: #4e9c90; }
.heat-legend .heat-3[b-6d4yydrj68] { background: #1e6b61; }
.heat-legend .buccolam-key[b-6d4yydrj68] { width: 8px; height: 8px; border-radius: 4px; background: #b42318; }

.day-stats[b-6d4yydrj68] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 0.75rem;
}

.day-stats div[b-6d4yydrj68] {
    background: #fff;
    border-radius: 10px;
    padding: 8px 10px;
    display: flex;
    flex-direction: column;
}

.day-stats b[b-6d4yydrj68] { font-size: 1.15rem; }
.day-stats b.bucc[b-6d4yydrj68] { color: #b42318; }
.day-stats span[b-6d4yydrj68] { font-size: 0.75rem; color: #4e5a57; }

.day-strip[b-6d4yydrj68] {
    position: relative;
    height: 32px;
    border-radius: 8px;
    background: #eef1f0;
    overflow: hidden;
}

.night-band[b-6d4yydrj68] { position: absolute; top: 0; bottom: 0; background: #e2e7ef; }
.night-band.left[b-6d4yydrj68] { left: 0; width: 33.3%; }
.night-band.right[b-6d4yydrj68] { left: 87.5%; width: 12.5%; }

.strip-dot[b-6d4yydrj68] {
    position: absolute;
    top: 9px;
    width: 14px;
    height: 14px;
    margin-left: -7px;
    border-radius: 7px;
    background: #1e6b61;
    border: 2px solid #fff;
}

.strip-dot.bucc[b-6d4yydrj68] { background: #b42318; }

.strip-axis[b-6d4yydrj68] {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: #4e5a57;
    margin: 2px 0 0.75rem;
}

.calendar-day.other-month[b-6d4yydrj68] { opacity: 0.45; }
.nav-btn[b-6d4yydrj68] { color: #1e6b61; }
.calendar-header h2[b-6d4yydrj68], .seizure-list h3[b-6d4yydrj68] { text-transform: none; }
.calendar-header h2[b-6d4yydrj68]::first-letter, .seizure-list h3[b-6d4yydrj68]::first-letter { text-transform: uppercase; }

/* Redesign: seizures expand in place for editing */
.seizure-card[b-6d4yydrj68] {
    background: #fff;
    border-radius: 12px;
    margin-bottom: 0.5rem;
    overflow: hidden;
}

.seizure-card .seizure-item[b-6d4yydrj68] {
    width: 100%;
    min-height: 56px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    margin: 0;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    font: inherit;
    text-align: left;
    color: #17201e;
    cursor: pointer;
}

.seizure-card .seizure-time[b-6d4yydrj68] {
    font-size: 1.05rem;
    font-weight: 700;
    width: 3.2rem;
    color: #17201e;
}

.seizure-main[b-6d4yydrj68] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.seizure-card .seizure-comment[b-6d4yydrj68] {
    margin: 0;
    font-size: 0.85rem;
    color: #4e5a57;
}

.inline-edit[b-6d4yydrj68] {
    border-top: 1px solid #dde3e1;
    padding: 12px;
}

.seizure-list[b-6d4yydrj68] {
    background: transparent;
    padding: 0;
}

/* Seizures over 30 s and 10 min+: a badge with the day's longest, long days also get a ring */
/* Every day number sits at the same height, so a badge below never shifts it */
.calendar-day[b-6d4yydrj68] { justify-content: flex-start; padding-top: 6px; }
.calendar-day.long[b-6d4yydrj68] { box-shadow: 0 0 0 3px #c2410c; }

/* Over 30 s: just a quiet note in the day's own text colour; 10 min+ stands out in orange */
.len-badge[b-6d4yydrj68],
.len-key[b-6d4yydrj68] {
    padding: 0 3px;
    border-radius: 4px;
    color: inherit;
    opacity: 0.8;
    font-size: 10px;
    font-weight: 500;
    line-height: 13px;
    white-space: nowrap;
}

.len-badge[b-6d4yydrj68] { position: absolute; left: 50%; bottom: 3px; transform: translateX(-50%); }
.len-badge.long[b-6d4yydrj68],
.len-key.long[b-6d4yydrj68] { background: #c2410c; color: #fff; opacity: 1; font-weight: 700; }

.long-banner[b-6d4yydrj68],
.medium-summary[b-6d4yydrj68] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 12px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.long-banner[b-6d4yydrj68] { background: #c2410c; color: #fff; }
.medium-summary[b-6d4yydrj68] { background: #fff; }

.month-chips[b-6d4yydrj68] { display: flex; flex-wrap: wrap; gap: 6px; }

.month-chips button[b-6d4yydrj68] {
    min-height: 40px;
    padding: 0 12px;
    border-radius: 20px;
    border: 1px solid #c9d1ce;
    background: #fff;
    color: #17201e;
    font: inherit;
    font-size: 0.85rem;
    cursor: pointer;
}

.month-chips button.on[b-6d4yydrj68] { background: #17201e; border-color: #17201e; color: #fff; }

.len-chip[b-6d4yydrj68] {
    font-size: 0.7rem;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 10px;
    background: #e8eeec;
    color: #4e5a57;
}

.len-chip.long[b-6d4yydrj68] { background: #c2410c; color: #fff; font-weight: 700; }
.long-banner .month-chips button[b-6d4yydrj68] { border-color: #fff; color: #9a3412; }

.buccolam-dot.preventive[b-6d4yydrj68], .heat-legend .buccolam-key.preventive[b-6d4yydrj68] { background: #f4a7a0; }
.preventive-item[b-6d4yydrj68] { border-left: 3px solid #f4a7a0; }
.seizure-place[b-6d4yydrj68] { font-size: 0.8rem; color: #4e5a57; }
/* /Pages/Seizures.razor.rz.scp.css */
.seizures-page[b-1i6hozyl4n] {
    max-width: 560px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.segmented[b-1i6hozyl4n] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    padding: 4px;
    border-radius: 22px;
    background: #e4e9e7;
}

.segmented button[b-1i6hozyl4n] {
    height: 40px;
    border: none;
    border-radius: 18px;
    background: transparent;
    font: inherit;
    font-size: 0.95rem;
    color: #17201e;
    cursor: pointer;
}

.segmented button.on[b-1i6hozyl4n] { background: #fff; font-weight: 700; }

.stats[b-1i6hozyl4n] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.stats div[b-1i6hozyl4n] {
    background: #fff;
    border-radius: 14px;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
}

.stats b[b-1i6hozyl4n] { font-size: 1.5rem; }
.stats span[b-1i6hozyl4n] { font-size: 0.75rem; color: #4e5a57; }

.card[b-1i6hozyl4n] {
    background: #fff;
    border-radius: 16px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

h2[b-1i6hozyl4n] { margin: 0; font-size: 1rem; font-weight: 700; }

.row-between[b-1i6hozyl4n] { display: flex; justify-content: space-between; align-items: baseline; }
.muted[b-1i6hozyl4n] { color: #4e5a57; }
.small[b-1i6hozyl4n] { font-size: 0.75rem; }

.readout[b-1i6hozyl4n] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 40px;
    padding: 8px 10px;
    box-sizing: border-box;
    border-radius: 10px;
    background: #eef5f3;
    font-size: 0.9rem;
}

.readout b[b-1i6hozyl4n] { font-size: 1.15rem; }

.plot[b-1i6hozyl4n] { position: relative; height: 200px; margin-top: 8px; }

.grid[b-1i6hozyl4n] { position: absolute; left: 0; right: 0; border-top: 1px dashed #dde3e1; }
.grid.top[b-1i6hozyl4n] { top: 0; }
.grid.mid[b-1i6hozyl4n] { top: 50%; }

.tick-y[b-1i6hozyl4n] { position: absolute; right: 0; font-size: 0.7rem; color: #4e5a57; }
.tick-y.top[b-1i6hozyl4n] { top: -14px; }
.tick-y.mid[b-1i6hozyl4n] { top: calc(50% - 14px); }

.bars[b-1i6hozyl4n] {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
}

.bar-hit[b-1i6hozyl4n] {
    flex: 1 1 0;
    min-width: 0;
    height: 100%;
    padding: 0;
    border: none;
    background: transparent;
    display: flex;
    align-items: flex-end;
    cursor: pointer;
}

.bar[b-1i6hozyl4n] {
    display: block;
    width: 100%;
    border-radius: 3px 3px 0 0;
    background: #8fbdb3;
}

.bar.on[b-1i6hozyl4n] { background: #1e6b61; }
.bar.zero[b-1i6hozyl4n] { height: 3px; background: #dde3e1; }
.bar.zero.on[b-1i6hozyl4n] { background: #8a9692; }

.baseline[b-1i6hozyl4n] { height: 1px; background: #8a9692; }

.ticks[b-1i6hozyl4n] { position: relative; height: 16px; }

.ticks span[b-1i6hozyl4n] {
    position: absolute;
    top: 0;
    transform: translateX(-50%);
    white-space: nowrap;
    font-size: 0.7rem;
    color: #4e5a57;
}

.ticks span.end[b-1i6hozyl4n] { right: 0; transform: none; }

.scrub[b-1i6hozyl4n] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 0.75rem;
    color: #4e5a57;
}

.scrub input[b-1i6hozyl4n] { width: 100%; height: 44px; margin: 0; accent-color: #1e6b61; }

.seizure-row[b-1i6hozyl4n] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 40px;
    border-top: 1px solid #eef2f1;
}

.time[b-1i6hozyl4n] { font-weight: 700; min-width: 48px; }
.len[b-1i6hozyl4n] { flex: 1; }
/* /Pages/Sleep.razor.rz.scp.css */
.sleep-page[b-sog76gfxfs] {
    max-width: 560px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.head[b-sog76gfxfs] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.legend[b-sog76gfxfs] {
    display: flex;
    gap: 14px;
    font-size: 0.75rem;
    color: #4e5a57;
}

.legend span[b-sog76gfxfs] { display: flex; align-items: center; gap: 6px; }
.legend i[b-sog76gfxfs] { width: 14px; height: 10px; border-radius: 3px; }

.night[b-sog76gfxfs] { background: #2b5fb8; }
.nap[b-sog76gfxfs] { background: #8fb0e6; }
.awake[b-sog76gfxfs] { background: #e8eeec; }

.day[b-sog76gfxfs] {
    background: #fff;
    border-radius: 12px;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.day-head[b-sog76gfxfs] {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border: none;
    background: transparent;
    padding: 0;
    font: inherit;
    color: #17201e;
    cursor: pointer;
    text-align: left;
    min-height: 32px;
}

.label[b-sog76gfxfs] { font-size: 0.95rem; font-weight: 700; }
.total[b-sog76gfxfs] { font-size: 0.95rem; font-weight: 700; color: #1e6b61; }
.empty[b-sog76gfxfs], .extra[b-sog76gfxfs] { font-size: 0.85rem; color: #4e5a57; }

.track[b-sog76gfxfs] {
    position: relative;
    height: 18px;
    border-radius: 4px;
    background: #e8eeec;
    overflow: hidden;
}

.seg[b-sog76gfxfs] {
    position: absolute;
    top: 0;
    bottom: 0;
}

.axis[b-sog76gfxfs] {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: #4e5a57;
    margin-top: -4px;
}

.facts[b-sog76gfxfs] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    font-size: 0.8rem;
}

.facts div[b-sog76gfxfs] { display: flex; flex-direction: column; }
.facts span[b-sog76gfxfs] { color: #4e5a57; }
.facts strong[b-sog76gfxfs] { font-size: 0.95rem; }

.lines[b-sog76gfxfs] { display: flex; flex-direction: column; border-top: 1px solid #dde3e1; }

.facts .estimated[b-sog76gfxfs] { color: #b45309; }
