/* /Components/Medicaments/MedicamentCard.razor.rz.scp.css */
.card[b-n1dof3ye6z] {
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: 100%;
    min-height: 236px;
    padding: 20px;
    text-align: left;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 20px;
    transition: border-color .15s, transform .15s, box-shadow .15s;
}

@media (hover: hover) {
    .card:hover[b-n1dof3ye6z] {
        border-color: color-mix(in srgb, var(--pill) 55%, var(--line));
        transform: translateY(-2px);
        box-shadow: 0 14px 30px -18px color-mix(in srgb, var(--pill) 60%, transparent);
    }
}

.card:active[b-n1dof3ye6z] { transform: scale(.985); }

@media (max-width: 640px) {
    .card[b-n1dof3ye6z] { min-height: 0; padding: 18px; gap: 16px; }
}

.top[b-n1dof3ye6z] { display: flex; align-items: center; gap: 12px; }

.swatch[b-n1dof3ye6z] {
    flex: none;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 13px;
    background: color-mix(in srgb, var(--pill) 13%, white);
}

.name[b-n1dof3ye6z] {
    display: block;
    flex: 1;
    min-width: 0;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.15rem;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.count[b-n1dof3ye6z] { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; }
.count strong[b-n1dof3ye6z] { font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.count > span:not(.chip)[b-n1dof3ye6z] { color: var(--muted); }
.count .chip[b-n1dof3ye6z] { margin-left: auto; align-self: center; }

/* loader bar showing percentage of remaining doses */
.strip[b-n1dof3ye6z] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: color-mix(in srgb, var(--paper) 60%, white);
}

.loader-track[b-n1dof3ye6z] {
    flex: 1;
    position: relative;
    height: 10px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--line) 70%, white);
    overflow: hidden;
    box-shadow: inset 0 1px 2px rgba(16, 38, 43, .08);
}

.loader-fill[b-n1dof3ye6z] {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, color-mix(in srgb, var(--pill) 80%, white), var(--pill));
    box-shadow: 0 1px 2px rgba(16, 38, 43, .18);
    transition: width .35s ease;
}

.loader-label[b-n1dof3ye6z] {
    flex: none;
    font-family: var(--font-display);
    font-size: .88rem;
    font-weight: 700;
    color: var(--ink-2);
    min-width: 42px;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.foot[b-n1dof3ye6z] {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: .9rem;
}
/* /Components/Medicaments/MedicamentDialog.razor.rz.scp.css */
.packages[b-568g9v53ko] { margin-top: 26px; }

.section-head[b-568g9v53ko] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 4px 12px;
    margin-bottom: 12px;
}
.section-head h3[b-568g9v53ko] { font-size: 1.15rem; }

.first-run[b-568g9v53ko] {
    margin-top: 22px;
    padding: 16px;
    border-radius: 14px;
    background: #F1F6F5;
    color: var(--ink-2);
}

.doses-card[b-568g9v53ko] {
    margin-top: 18px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #FBFDFD;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.doses-header[b-568g9v53ko] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 12px;
}

.doses-title[b-568g9v53ko] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.doses-title label[b-568g9v53ko] {
    font-weight: 700;
    font-size: .92rem;
    color: var(--ink);
}

.doses-formatted[b-568g9v53ko] {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--ink-2);
}

.doses-controls[b-568g9v53ko] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.stepper[b-568g9v53ko] {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 250px;
}

.step-btn[b-568g9v53ko] {
    flex: none;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    background: #fff;
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1;
    color: var(--ink);
    cursor: pointer;
    transition: background-color .12s, border-color .12s, transform .08s;
}

.step-btn:hover:not(:disabled)[b-568g9v53ko] {
    background: var(--brand-wash);
    border-color: var(--brand);
    color: var(--brand-ink);
}

.step-btn:active:not(:disabled)[b-568g9v53ko] {
    transform: scale(.95);
}

.step-btn:disabled[b-568g9v53ko] {
    opacity: .35;
    cursor: not-allowed;
}

.doses-input[b-568g9v53ko] {
    text-align: center;
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    height: 42px;
    padding: 0 8px;
}

/* Remove spin arrows for cleaner stepper aesthetic */
.doses-input[b-568g9v53ko]::-webkit-outer-spin-button,
.doses-input[b-568g9v53ko]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.doses-input[type="number"][b-568g9v53ko] {
    -moz-appearance: textfield;
}

.quick-chips[b-568g9v53ko] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.chip-btn[b-568g9v53ko] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    font-size: .82rem;
    font-weight: 600;
    color: var(--ink-2);
    cursor: pointer;
    transition: all .12s;
}

.chip-btn:hover:not(:disabled)[b-568g9v53ko] {
    background: var(--brand-wash);
    border-color: var(--brand);
    color: var(--brand-ink);
}

.chip-btn:disabled[b-568g9v53ko] {
    opacity: .4;
    cursor: not-allowed;
}

.chip-btn.chip-sync[b-568g9v53ko] {
    background: var(--brand-wash);
    border-color: color-mix(in srgb, var(--brand) 30%, var(--line));
    color: var(--brand-ink);
}

.chip-btn.chip-sync:hover:not(:disabled)[b-568g9v53ko] {
    border-color: var(--brand);
    background: color-mix(in srgb, var(--brand-wash) 75%, white);
}

.chip-btn.chip-zero[b-568g9v53ko] {
    color: var(--muted);
}
.chip-btn.chip-zero:hover:not(:disabled)[b-568g9v53ko] {
    color: var(--danger-ink);
    background: var(--danger-wash);
    border-color: var(--danger-wash);
}

.doses-hint[b-568g9v53ko] {
    font-size: .84rem;
    color: var(--muted);
    line-height: 1.4;
    margin: 0;
}

@media (max-width: 560px) {
    .doses-card[b-568g9v53ko] { padding: 14px 16px; }
    .stepper[b-568g9v53ko] { max-width: none; width: 100%; }
    .step-btn[b-568g9v53ko] { width: 44px; height: 44px; }
    .doses-input[b-568g9v53ko] { height: 44px; }
}
/* /Components/Medicaments/Packages/Package.razor.rz.scp.css */
.pkg[b-52z50j20x6] {
    display: grid;
    grid-template-columns: 72px 1fr auto;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    list-style: none;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #FBFDFD;
}

.qty[b-52z50j20x6] { display: flex; flex-direction: column; align-items: center; line-height: 1.1; }
.qty strong[b-52z50j20x6] { font-family: var(--font-display); font-size: 1.5rem; }
.qty span[b-52z50j20x6] { color: var(--muted); font-size: .78rem; }

.when[b-52z50j20x6] { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.expires[b-52z50j20x6] { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-weight: 600; }
.muted[b-52z50j20x6] { font-size: .88rem; }
/* /Components/Medicaments/Packages/PackageList.razor.rz.scp.css */
.list[b-tt6jsj4w43] { display: grid; gap: 10px; margin: 0; padding: 0; }

.none[b-tt6jsj4w43] {
    padding: 18px;
    border: 1px dashed var(--line-strong);
    border-radius: 14px;
    color: var(--ink-2);
    text-align: center;
}

.add[b-tt6jsj4w43] { margin-top: 20px; padding: 18px; border-radius: 16px; background: #F1F6F5; }
.add h4[b-tt6jsj4w43] { font-size: 1rem; margin-bottom: 12px; }

.row[b-tt6jsj4w43] { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }

.error[b-tt6jsj4w43] { margin-bottom: 12px; color: var(--danger-ink); font-weight: 600; font-size: .92rem; }

@media (max-width: 560px) {
    .row[b-tt6jsj4w43] { grid-template-columns: 1fr; }
}
/* /Components/Medications/DoseStepper.razor.rz.scp.css */
.stepper[b-x9asrw7r05] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 14px 8px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #FBFDFD;
}

.label[b-x9asrw7r05] { display: flex; align-items: center; gap: 6px; font-weight: 600; color: var(--ink-2); }
.controls[b-x9asrw7r05] { display: flex; align-items: center; gap: 10px; }

output[b-x9asrw7r05] { min-width: 2ch; text-align: center; font-family: var(--font-display); font-size: 2rem; font-weight: 700; line-height: 1; }

.step[b-x9asrw7r05] {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    background: #fff;
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
}
.step:hover:not(:disabled)[b-x9asrw7r05] { background: var(--brand-wash); border-color: var(--brand); }
.step:disabled[b-x9asrw7r05] { opacity: .4; cursor: not-allowed; }

@media (max-width: 560px) {
    .stepper[b-x9asrw7r05] { flex-direction: row; justify-content: space-between; padding: 8px 8px 8px 16px; border-radius: 14px; }
    .step[b-x9asrw7r05] { width: 44px; height: 44px; font-size: 1.4rem; }
    output[b-x9asrw7r05] { min-width: 2.2ch; font-size: 1.7rem; }
    .controls[b-x9asrw7r05] { gap: 12px; }
}
/* /Components/Medications/MedicationCard.razor.rz.scp.css */
.card[b-rly2rvi9iq] {
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: 100%;
    min-height: 236px;
    padding: 20px;
    text-align: left;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 20px;
    transition: border-color .15s, transform .15s, box-shadow .15s;
}

@media (hover: hover) {
    .card:hover[b-rly2rvi9iq] {
        border-color: color-mix(in srgb, var(--pill) 55%, var(--line));
        transform: translateY(-2px);
        box-shadow: 0 14px 30px -18px color-mix(in srgb, var(--pill) 60%, transparent);
    }
}

.card:active[b-rly2rvi9iq] { transform: scale(.985); }

@media (max-width: 640px) {
    .card[b-rly2rvi9iq] { min-height: 0; padding: 18px; gap: 16px; }
}

.top[b-rly2rvi9iq] { display: flex; align-items: center; gap: 12px; }

.swatch[b-rly2rvi9iq] {
    flex: none;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 13px;
    background: color-mix(in srgb, var(--pill) 13%, white);
}

.name[b-rly2rvi9iq] {
    display: block;
    flex: 1;
    min-width: 0;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.15rem;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.slots[b-rly2rvi9iq] { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }

.slot[b-rly2rvi9iq] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 12px 6px 10px;
    border-radius: 14px;
    background: color-mix(in srgb, var(--pill) 10%, white);
}

.slot b[b-rly2rvi9iq] { font-family: var(--font-display); font-size: 1.75rem; line-height: 1; }
.slot small[b-rly2rvi9iq] { display: flex; align-items: center; gap: 4px; color: var(--ink-2); font-size: .78rem; font-weight: 600; }
.slot.none[b-rly2rvi9iq] { background: #F3F6F6; }
.slot.none b[b-rly2rvi9iq], .slot.none small[b-rly2rvi9iq] { color: var(--muted); font-weight: 500; }

.runway[b-rly2rvi9iq] { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px; }
.date[b-rly2rvi9iq] { color: var(--muted); font-size: .9rem; }
/* /Components/Medications/MedicationDialog.razor.rz.scp.css */
.group[b-sezga4fmc1] { margin-top: 24px; }
.group > h3[b-sezga4fmc1] { font-size: 1.1rem; margin-bottom: 10px; }

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

.summary[b-sezga4fmc1] { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: #F1F6F5; color: var(--ink-2); }
.summary strong[b-sezga4fmc1] { color: var(--ink); }
.summary.problem[b-sezga4fmc1] { background: var(--warn-wash); color: var(--warn); }

@media (max-width: 560px) {
    .steppers[b-sezga4fmc1] { grid-template-columns: 1fr; gap: 8px; }
}

.blocked[b-sezga4fmc1] { display: grid; justify-items: start; gap: 14px; padding: 18px; border-radius: 14px; background: #F1F6F5; color: var(--ink-2); }
.blocked a[b-sezga4fmc1] { text-decoration: none; }
/* /Components/Shared/EmptyState.razor.rz.scp.css */
.empty[b-wamnvbyw4m] {
    display: grid;
    justify-items: center;
    gap: 10px;
    text-align: center;
    margin-top: 40px;
    padding: 56px 24px;
    border: 2px dashed var(--line-strong);
    border-radius: 24px;
}

.art[b-wamnvbyw4m] {
    display: grid;
    place-items: center;
    width: 96px;
    height: 96px;
    margin-bottom: 8px;
    border-radius: 28px;
    background: var(--brand-wash);
}

.empty h2[b-wamnvbyw4m] { font-size: 1.5rem; }
.empty p[b-wamnvbyw4m] { max-width: 46ch; color: var(--ink-2); margin-bottom: 12px; }
/* /Components/Shared/Modal.razor.rz.scp.css */
.backdrop[b-ylalku2xgv] {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    padding: 24px;
    touch-action: none;
}

/* the dimmed scrim is its own layer so it can fade independently of the sheet */
.dim[b-ylalku2xgv] {
    position: absolute;
    inset: 0;
    background: rgba(16, 38, 43, .46);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    animation: fade-in-b-ylalku2xgv .2s ease-out;
}

.sheet[b-ylalku2xgv] {
    position: relative;
    display: flex;
    flex-direction: column;
    width: min(660px, 100%);
    max-height: min(92vh, 860px);
    max-height: min(92dvh, 860px);
    background: var(--surface);
    border-radius: 24px;
    box-shadow: 0 30px 80px -24px rgba(16, 38, 43, .5);
    outline: none;
    animation: sheet-in-b-ylalku2xgv .22s cubic-bezier(.2, .8, .2, 1);
}

.grabber[b-ylalku2xgv] { display: none; }

.sheet-head[b-ylalku2xgv] {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px 26px 6px;
}

.titles[b-ylalku2xgv] { flex: 1; min-width: 0; }
.titles h2[b-ylalku2xgv] { font-size: 1.5rem; overflow-wrap: anywhere; }
.titles p[b-ylalku2xgv] { color: var(--muted); margin-top: 4px; font-size: .95rem; }

.sheet-body[b-ylalku2xgv] {
    padding: 14px 26px 24px;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.sheet-foot[b-ylalku2xgv] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 16px 26px;
    border-top: 1px solid var(--line);
}

/* ---------- exit ---------- */
.backdrop.closing[b-ylalku2xgv] { pointer-events: none; }
.backdrop.closing .dim[b-ylalku2xgv] { animation: fade-out-b-ylalku2xgv .22s ease-in forwards; }
.backdrop.closing .sheet[b-ylalku2xgv] { animation: sheet-out-b-ylalku2xgv .2s ease-in forwards; }

@keyframes fade-in-b-ylalku2xgv { from { opacity: 0; } }
@keyframes fade-out-b-ylalku2xgv { to { opacity: 0; } }
@keyframes sheet-in-b-ylalku2xgv { from { opacity: 0; transform: translateY(14px) scale(.98); } }
@keyframes sheet-out-b-ylalku2xgv { to { opacity: 0; transform: translateY(10px) scale(.98); } }
@keyframes sheet-in-mobile-b-ylalku2xgv { from { transform: translate3d(0, 100%, 0); } }
@keyframes sheet-out-mobile-b-ylalku2xgv { to { transform: translate3d(0, 100%, 0); } }

/* ---------- Phones: bottom sheet ---------- */
@media (max-width: 640px) {
    .backdrop[b-ylalku2xgv] { align-items: end; padding: 0; }

    .sheet[b-ylalku2xgv] {
        width: 100%;
        max-height: calc(100vh - 12px - env(safe-area-inset-top));
        max-height: calc(100dvh - 12px - env(safe-area-inset-top));
        border-radius: 24px 24px 0 0;
        box-shadow: 0 -12px 40px -16px rgba(16, 38, 43, .45);
        animation: sheet-in-mobile-b-ylalku2xgv .4s cubic-bezier(.32, .72, 0, 1);
    }

    .backdrop.closing .sheet[b-ylalku2xgv] { animation: sheet-out-mobile-b-ylalku2xgv .28s cubic-bezier(.4, 0, 1, 1) forwards; }

    .grabber[b-ylalku2xgv] {
        display: block;
        flex: none;
        width: 40px;
        height: 5px;
        margin: 10px auto 0;
        border-radius: 999px;
        background: var(--line-strong);
    }

    .sheet-head[b-ylalku2xgv] { align-items: center; gap: 8px; padding: 8px 10px 4px 20px; }
    .titles h2[b-ylalku2xgv] { font-size: 1.3rem; }
    .sheet-body[b-ylalku2xgv] { padding: 10px 20px 20px; }

    /* primary action first and full width; secondary actions share the row below */
    .sheet-foot[b-ylalku2xgv] {
        gap: 8px;
        padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
        box-shadow: 0 -10px 24px -18px rgba(16, 38, 43, .4);
    }
    .sheet-foot[b-ylalku2xgv]  .spacer { display: none; }
    .sheet-foot[b-ylalku2xgv]  .btn { height: 46px; }
    .sheet-foot[b-ylalku2xgv]  .btn-primary { order: -1; flex: 1 0 100%; }
    .sheet-foot[b-ylalku2xgv]  .btn-ghost { flex: 1; }
}

@media (max-width: 640px) and (max-height: 520px) {
    /* landscape phones: let the sheet use the whole height */
    .sheet[b-ylalku2xgv] { max-height: 100dvh; border-radius: 16px 16px 0 0; }
}
/* /Components/Shared/ToastHost.razor.rz.scp.css */
.toasts[b-a61yu88z3y] {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 200;
    display: grid;
    gap: 10px;
    justify-items: end;
    pointer-events: none;
}

.toast[b-a61yu88z3y] {
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: min(380px, calc(100vw - 32px));
    padding: 12px 16px;
    border-radius: 14px;
    background: var(--ink);
    color: #fff;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 16px 36px -14px rgba(16, 38, 43, .55);
    animation: slide-b-a61yu88z3y .22s cubic-bezier(.2, .8, .2, 1);
}

.toast .dot[b-a61yu88z3y] { flex: none; width: 9px; height: 9px; border-radius: 50%; background: #5FD3BC; }
.toast.error[b-a61yu88z3y] { background: #8F2A17; }
.toast.error .dot[b-a61yu88z3y] { background: #FFB4A3; }

@keyframes slide-b-a61yu88z3y { from { opacity: 0; transform: translateY(10px); } }

@keyframes drop-b-a61yu88z3y { from { opacity: 0; transform: translateY(-10px); } }

/* on phones toasts sit at the top so they never cover a sheet's action buttons */
@media (max-width: 820px) {
    .toasts[b-a61yu88z3y] {
        left: 12px;
        right: 12px;
        top: calc(env(safe-area-inset-top) + 68px);
        bottom: auto;
        justify-items: stretch;
    }
    .toast[b-a61yu88z3y] { max-width: none; animation-name: drop-b-a61yu88z3y; }
}
/* /Layout/MainLayout.razor.rz.scp.css */
.shell[b-5qeqe1xhjb] {
    display: grid;
    grid-template-columns: 248px minmax(0, 1fr);
    min-height: 100vh;
    min-height: 100dvh;
}

.content[b-5qeqe1xhjb] {
    width: 100%;
    max-width: 1240px;
    padding: 52px clamp(20px, 4vw, 60px) 96px;
}

@media (max-width: 820px) {
    .shell[b-5qeqe1xhjb] { grid-template-columns: minmax(0, 1fr); }
    .content[b-5qeqe1xhjb] {
        padding: 24px max(16px, env(safe-area-inset-right)) calc(56px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
    }
}
/* /Layout/NavMenu.razor.rz.scp.css */
.nav[b-oj7mlqmbgi] {
    position: sticky;
    top: 0;
    align-self: start;
    height: 100vh;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 28px 18px;
    border-right: 1px solid var(--line);
    background: #F7FAF9;
}

.brand[b-oj7mlqmbgi] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 10px;
    text-decoration: none;
    color: var(--ink);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: -.02em;
}

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

.link[b-oj7mlqmbgi] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 12px;
    border-radius: 12px;
    color: var(--ink-2);
    text-decoration: none;
    font-weight: 600;
}

.link:hover[b-oj7mlqmbgi] { background: #EAF1F0; }
.link.active[b-oj7mlqmbgi] { background: var(--surface); color: var(--brand-ink); box-shadow: inset 0 0 0 1px var(--line); }

/* ---------- Phones & small tablets: slim sticky top bar ---------- */
@media (max-width: 820px) {
    .nav[b-oj7mlqmbgi] {
        z-index: 30;
        height: auto;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: calc(10px + env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) 10px max(16px, env(safe-area-inset-left));
        border-right: 0;
        border-bottom: 1px solid var(--line);
        background: color-mix(in srgb, #F7FAF9 86%, transparent);
        -webkit-backdrop-filter: blur(14px) saturate(1.4);
        backdrop-filter: blur(14px) saturate(1.4);
    }

    .brand[b-oj7mlqmbgi] { padding: 0; gap: 8px; font-size: 1.25rem; }

    /* the two destinations become a segmented control */
    .links[b-oj7mlqmbgi] {
        flex-direction: row;
        gap: 2px;
        padding: 4px;
        border-radius: 14px;
        background: #E4ECEB;
    }

    .link[b-oj7mlqmbgi] {
        gap: 7px;
        padding: 8px 12px;
        border-radius: 10px;
        font-size: .9rem;
        white-space: nowrap;
    }

    .link svg[b-oj7mlqmbgi] { width: 18px; height: 18px; flex: none; }
    .link:hover[b-oj7mlqmbgi] { background: transparent; }
    .link.active[b-oj7mlqmbgi], .link.active:hover[b-oj7mlqmbgi] { background: var(--surface); box-shadow: 0 1px 3px rgba(16, 38, 43, .16); }
}

/* make room: keep the logo mark, drop the wordmark */
@media (max-width: 470px) {
    .brand span[b-oj7mlqmbgi] { display: none; }
    .links[b-oj7mlqmbgi] { flex: 1; }
    .link[b-oj7mlqmbgi] { flex: 1; justify-content: center; }
}

/* tiny phones: text only */
@media (max-width: 370px) {
    .link svg[b-oj7mlqmbgi] { display: none; }
}
/* /Pages/Auth/Login.razor.rz.scp.css */
.login[b-c6gk7vrwdn] {
    max-width: 22rem;
    margin: 4rem auto;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.login input[b-c6gk7vrwdn] {
    padding: .7rem .9rem;
    border: 1px solid #c9ced6;
    border-radius: .6rem;
    font-size: 1rem;
}

.login button[b-c6gk7vrwdn] {
    padding: .7rem;
    border: 0;
    border-radius: .6rem;
    font-size: 1rem;
    cursor: pointer;
    background: #3b6ef5;
    color: #fff;
}

.login button:disabled[b-c6gk7vrwdn] { opacity: .6; cursor: default; }
.login button.link[b-c6gk7vrwdn] { background: none; color: #3b6ef5; padding: .25rem; }
.login .error[b-c6gk7vrwdn] { color: #c62828; margin: 0; }
/* /Pages/Medicaments/Medicaments.razor.rz.scp.css */
.add-tile[b-dvkzz3gozl] {
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 8px;
    min-height: 236px;
    border: 2px dashed var(--line-strong);
    border-radius: 20px;
    background: transparent;
    color: var(--ink-2);
    font-weight: 600;
    cursor: pointer;
    transition: border-color .15s, color .15s, background-color .15s;
}

.add-tile:hover[b-dvkzz3gozl] { border-color: var(--brand); color: var(--brand-ink); background: color-mix(in srgb, var(--brand) 6%, transparent); }

.no-match[b-dvkzz3gozl] { margin-top: 24px; color: var(--muted); }
/* /Pages/Medications/Medications.razor.rz.scp.css */
.no-match[b-bzjxin51pr] { margin-top: 24px; color: var(--muted); }
/* /Pages/NotFound.razor.rz.scp.css */
