/* /Layout/PeriodNavigator.razor.rz.scp.css */
.period-navigator[b-y760kt6xab] {
    display: flex;
    align-items: center;
    position: relative;
}

/* "Go to today" floats just inside the next arrow, so the name doesn't move when it appears (BUD-135). */
.period-today[b-y760kt6xab] {
    position: absolute;
    top: 50%;
    right: 48px;
    transform: translateY(-50%);
}

/*
 * The name sits between two flexible spaces that share the spare room equally, so it's centred. While "Go to today"
 * shows, the right-hand space can't be narrower than the icon: a name that fits stays centred, a longer one moves left
 * just enough to keep clear of it, and only a name too long for the whole space is cut short (BUD-135).
 */
.period-name[b-y760kt6xab] {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.period-name[b-y760kt6xab]::before,
.period-name[b-y760kt6xab]::after {
    content: "";
    flex: 1 1 0;
    min-width: 0;
}

.has-today .period-name[b-y760kt6xab]::after {
    min-width: 40px;
}

.period-text[b-y760kt6xab] {
    flex: 0 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* The name as a menu: the size of the plain name, and cut short with an ellipsis like it. The ▾ is placed at the
   button's end, so the label's text can be cut short on its own. */
.period-choice[b-y760kt6xab]  .mud-menu,
.period-choice[b-y760kt6xab]  .mud-menu > * {
    flex: 0 1 auto;
    min-width: 0;
    max-width: 100%;
}

.period-choice[b-y760kt6xab]  .mud-button-root {
    position: relative;
    max-width: 100%;
    text-transform: none;
    font: inherit;
    letter-spacing: normal;
    padding: 2px 28px 2px 10px;
}

.period-choice[b-y760kt6xab]  .mud-button-label {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.period-choice[b-y760kt6xab]  .mud-button-icon-end {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
    color: var(--mud-palette-primary);
    /* Only as tall as the icon, so the icon itself is centred, not a line of text around it. */
    display: flex;
    align-items: center;
    line-height: 0;
}

/* Phones: a slightly smaller name, so it fits beside "Go to today" more often. */
@media (max-width: 599.98px) {
    .period-name[b-y760kt6xab] {
        font-size: 1.125rem;
    }
}
/* /Pages/Account/Settings.razor.rz.scp.css */
/* A household's name on the left and its plan on the right, the name wrapping if it's long (BUD-175). */
.plan-row[b-1ztf5u9xic] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 16px;
    align-items: baseline;
}

.plan-value[b-1ztf5u9xic] {
    white-space: nowrap;
    text-align: right;
}
/* /Pages/Activity/ActivityPage.razor.rz.scp.css */
/* A change (BUD-140): what was done, then the time on the right; the time wraps under it on phones. */
.activity-row[b-pfv8bglhsw] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    column-gap: 16px;
}

.activity-row + .activity-row[b-pfv8bglhsw] {
    border-top: 1px solid var(--mud-palette-lines-default);
}

.activity-row[b-pfv8bglhsw]  .activity-text {
    flex: 1 1 16rem;
    min-width: 0;
    overflow-wrap: anywhere;
}

.activity-row[b-pfv8bglhsw]  .activity-when {
    color: var(--mud-palette-text-secondary);
}
/* /Pages/Admin/AdminPage.razor.rz.scp.css */
/* The email box takes the width, with Find beside it, on one line even on a phone (UI conventions). */
.admin-search[b-0ilkzhl4ej] {
    display: flex;
    align-items: center;
    gap: 8px;
}
/* /Pages/CashFlow/CashFlowPage.razor.rz.scp.css */
/* Phones: the toggle and the account menu stay on one line; the menu takes the rest of the width and a long account
   name is cut short with an ellipsis (BUD-135). Larger screens can wrap as before. */
@media (max-width: 599.98px) {
    .cash-flow-toolbar[b-2f4hpr24hf] {
        flex-wrap: nowrap !important;
    }
}

/* Where an account's month starts again (BUD-136): a labelled line across the list. */
.month-start[b-2f4hpr24hf] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 4px 0 12px;
    color: var(--mud-palette-primary);
    font-size: 0.8125rem;
    font-weight: 500;
}

.month-start[b-2f4hpr24hf]::before,
.month-start[b-2f4hpr24hf]::after {
    content: "";
    flex: 1 1 0;
    border-top: 1px solid var(--mud-palette-lines-default);
}
/* /Pages/Home.razor.rz.scp.css */
/* A renewal coming up (BUD-123, BUD-129). */
.coming-up-row[b-zb3zy78jbv] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
        "name chip"
        "text chip";
    column-gap: 16px;
    align-items: start;
}

.coming-up-row[b-zb3zy78jbv]  .coming-up-name {
    grid-area: name;
    min-width: 0;
    overflow-wrap: anywhere;
}

.coming-up-row[b-zb3zy78jbv]  .coming-up-days {
    grid-area: chip;
    align-self: center;
}

.coming-up-row[b-zb3zy78jbv]  .coming-up-text {
    grid-area: text;
}

/* Phones: what to do takes the full width under the name and chip. */
@media (max-width: 599.98px) {
    .coming-up-row[b-zb3zy78jbv] {
        grid-template-areas:
            "name chip"
            "text text";
        column-gap: 12px;
    }

    .coming-up-row[b-zb3zy78jbv]  .coming-up-days {
        align-self: start;
    }
}

/* A recent change (BUD-139): what was done, then when, on the right; when wraps under it on phones. */
.activity-row[b-zb3zy78jbv] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    column-gap: 16px;
}

.activity-row[b-zb3zy78jbv]  .activity-text {
    flex: 1 1 16rem;
    min-width: 0;
    overflow-wrap: anywhere;
}

.activity-row[b-zb3zy78jbv]  .activity-when {
    color: var(--mud-palette-text-secondary);
}
/* /Pages/Households/HouseholdData.razor.rz.scp.css */
/* The data download log (BUD-141): an icon beside each entry, with long names wrapping beside it. */
.download-list[b-5pcjgk11yu] {
    list-style: none;
    margin: 0;
    padding: 0;
}

.download-list li[b-5pcjgk11yu] {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    align-items: start;
    padding: 8px 0;
}

.download-list li + li[b-5pcjgk11yu] {
    border-top: 1px solid var(--mud-palette-lines-default);
}

.download-list li > div[b-5pcjgk11yu] {
    min-width: 0;
    overflow-wrap: anywhere;
}
/* /Pages/Legal/LegalPage.razor.rz.scp.css */
/* The privacy notice and terms (BUD-152): readable prose, with headings spaced like sections. */
.legal[b-a4bml24lnw]  h2 {
    font-size: 1.25rem;
    font-weight: 500;
    margin: 1.5rem 0 0.5rem;
}

.legal[b-a4bml24lnw]  p,
.legal[b-a4bml24lnw]  li {
    line-height: 1.6;
}

.legal[b-a4bml24lnw]  ul {
    padding-left: 1.25rem;
    margin: 0 0 0.75rem;
}

.legal[b-a4bml24lnw]  p {
    margin: 0 0 0.75rem;
}

.legal[b-a4bml24lnw]  table {
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 0.75rem;
}

.legal[b-a4bml24lnw]  th,
.legal[b-a4bml24lnw]  td {
    text-align: left;
    vertical-align: top;
    padding: 6px 8px;
    border-bottom: 1px solid var(--mud-palette-lines-default);
}
/* /Pages/Outgoings/OutgoingList.razor.rz.scp.css */
/* The toolbar (BUD-131, BUD-134): compact menu buttons in one line, collapse/expand on the right. */
.outgoings-toolbar[b-7nrgi1fz5b] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.outgoings-toolbar .filter-menus[b-7nrgi1fz5b] {
    flex-wrap: wrap;
    gap: 8px;
}

.outgoings-toolbar[b-7nrgi1fz5b]  .mud-button-root:not(.mud-icon-button) {
    text-transform: none;
    max-width: 100%;
}

.outgoings-toolbar[b-7nrgi1fz5b]  .mud-button-label {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* The filters panel on phones (BUD-134): above the bottom bar, below MudBlazor's pop-up lists. */
.filter-sheet[b-7nrgi1fz5b] {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1150;
    max-height: 85vh;
    overflow-y: auto;
    padding: 16px 16px calc(16px + env(safe-area-inset-bottom));
    background-color: var(--mud-palette-surface);
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.2);
}
/* /Pages/Outgoings/Renewals.razor.rz.scp.css */
/* A renewal's icon, name and person (BUD-126, BUD-129). The name wraps word by word beside the icon. */
.renewal-title[b-w49v2y290y] {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "icon name person";
    column-gap: 8px;
    row-gap: 4px;
    align-items: center;
}

.renewal-title[b-w49v2y290y]  .renewal-icon {
    grid-area: icon;
    align-self: start;
    margin-top: 2px;
}

.renewal-title[b-w49v2y290y]  .renewal-name {
    grid-area: name;
}

.renewal-title[b-w49v2y290y]  .renewal-person {
    grid-area: person;
}

/* Phones: the person goes on the next line, lined up with the start of the name. */
@media (max-width: 599.98px) {
    .renewal-title[b-w49v2y290y] {
        grid-template-columns: auto minmax(0, 1fr);
        grid-template-areas:
            "icon name"
            ". person";
    }

    .renewal-title[b-w49v2y290y]  .renewal-person {
        justify-self: start;
    }
}
/* /Pages/Outgoings/ScheduleHistory.razor.rz.scp.css */
/* An item's actions (BUD-125, BUD-129). Larger screens keep MudBlazor's filled, outlined and text buttons in a row
   that wraps; phones turn them into equal tiles with the icon over a short label, so all five fit across. */
.item-actions[b-5cymk8dej3] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.item-actions[b-5cymk8dej3]  .label-short {
    display: none;
}

@media (max-width: 599.98px) {
    .item-actions[b-5cymk8dej3] {
        flex-wrap: nowrap;
    }

    .item-actions[b-5cymk8dej3]  .mud-button-root {
        flex: 1 1 0;
        min-width: 0;
        max-width: 112px;
        padding: 6px 4px;
    }

    /* Text buttons get the outline the others have, so the tiles match. */
    .item-actions[b-5cymk8dej3]  .mud-button-text {
        border: 1px solid var(--mud-palette-lines-inputs);
    }

    .item-actions[b-5cymk8dej3]  .mud-button-text-error {
        border-color: var(--mud-palette-error);
    }

    .item-actions[b-5cymk8dej3]  .mud-button-label {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2px;
        font-size: 0.8rem;
        line-height: 1.2;
        white-space: nowrap;
        text-transform: none;
    }

    .item-actions[b-5cymk8dej3]  .mud-button-icon-start {
        margin: 0;
    }

    .item-actions[b-5cymk8dej3]  .label-long {
        display: none;
    }

    .item-actions[b-5cymk8dej3]  .label-short {
        display: inline;
    }
}
/* /Pages/Premium/PremiumPage.razor.rz.scp.css */
.premium-current[b-o8fdycee1f] {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 12px;
    align-items: center;
}

.premium-plans[b-o8fdycee1f] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
    gap: 16px;
}

[b-o8fdycee1f].plan-premium {
    border-color: var(--mud-palette-primary);
}

.plan-list[b-o8fdycee1f] {
    margin: 0;
    padding-left: 1.25rem;
}

.plan-list li[b-o8fdycee1f] {
    padding: 2px 0;
}
/* /Plans/PremiumNotice.razor.rz.scp.css */
.premium-notice-grid[b-pzemdn2e60] {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 12px;
    align-items: start;
}

.premium-notice-title[b-pzemdn2e60] {
    font-weight: 600;
}
/* /Plans/PremiumPanel.razor.rz.scp.css */
.premium-panel-grid[b-c33ak1dvlm] {
    display: grid;
    grid-template-columns: auto 1fr auto;
    column-gap: 12px;
    align-items: start;
}

.premium-panel-title[b-c33ak1dvlm] {
    font-weight: 600;
}
