h1:focus {
    outline: none;
}

#blazor-error-ui {
    display: none;
}

#blazor-error-ui.show {
    display: block;
}

h1 {
    font-size: 2rem;
    font-weight: 700;
}

h2 {
    font-size: 1.25rem;
    font-weight: 700;
}

html,
body {
    height: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

img,
svg,
video {
    max-width: 100%;
    height: auto;
}

.content-wrap {
    color: var(--homepm-sky-text-color, var(--homepm-charcoal));
}

.content-wrap h1,
.content-wrap h2,
.content-wrap h3,
.content-wrap h4,
.content-wrap h5,
.content-wrap h6,
.content-wrap .form-label,
.content-wrap .form-check-label,
.content-wrap .list-date-heading,
.content-wrap .calendar-weekday,
.content-wrap .calendar-add-dates > span {
    color: var(--homepm-sky-text-color, var(--homepm-forest));
}

.content-wrap .text-secondary,
.content-wrap .form-text,
.content-wrap .list-date-heading small,
.content-wrap .job-window-zoom small {
    color: var(--homepm-sky-muted-text-color, var(--homepm-muted)) !important;
}

.landscape-footer,
.landscape-footer a {
    color: var(--homepm-sky-text-color, var(--homepm-forest));
}

.landscape-footer-copy,
.landscape-footer-links {
    color: inherit;
}

.landscape-footer a {
    font-weight: 850;
    text-decoration-color: currentColor;
}

.panel,
.dashboard-panel,
.empty-state,
.auth-panel,
.signin-panel,
.paper-sheet,
.quick-action-card,
.jobs-board-column,
.dashboard-budget-summary > div,
.funding-kpi-grid > div,
.funding-scenario-summary > div,
.funding-chart-panel,
.funding-bucket-card,
.funding-scenario-row,
.budget-bucket-card,
.budget-pipeline-group,
.budget-pipeline-card,
.budget-receipt-callout,
.budget-planning-grid > a,
.chart-panel,
.chart-stat-grid > div,
.budget-list > a,
.budget-warning-list > a,
.summary-tile,
.sky-test-controls,
.sky-test-debug-panel,
.sky-test-sample-panel {
    --homepm-sky-text-color: var(--homepm-forest);
    --homepm-sky-muted-text-color: var(--homepm-muted);
    color: var(--homepm-charcoal);
}

.paper-sheet h1,
.paper-sheet h2,
.paper-sheet h3,
.sky-test-debug-panel h1,
.sky-test-debug-panel h2,
.sky-test-debug-panel h3,
.sky-test-sample-panel h1,
.sky-test-sample-panel h2,
.sky-test-sample-panel h3 {
    color: var(--homepm-forest);
}

.paper-sheet .text-secondary,
.sky-test-controls .text-secondary,
.sky-test-debug-panel .text-secondary,
.sky-test-sample-panel .text-secondary {
    color: var(--homepm-muted) !important;
}

.page-actions,
.empty-state-actions {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: .5rem;
}

.page-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(9.75rem, 10rem));
    align-self: start;
    align-items: start;
    justify-content: end;
    width: 100%;
}

.page-action,
.page-actions .quick-action-card {
    align-self: start;
    align-content: start;
    width: 10rem;
    min-height: 3.6rem;
    padding: .65rem;
}

.page-actions > .btn,
.page-actions form > .btn {
    width: 10rem;
    min-height: 2.65rem;
    justify-content: center;
}

.page-actions form {
    display: grid;
    min-width: 0;
    margin: 0;
}

.dashboard-actions {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: .75rem;
    margin-bottom: 1rem;
}

.view-tabs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem;
}

.sky-test-page {
    display: grid;
    gap: 1rem;
}

.sky-test-controls,
.sky-test-debug-panel,
.sky-test-sample-panel {
    background: rgba(255, 253, 245, .84);
    border: 1px solid rgba(36, 57, 37, .14);
    border-radius: .5rem;
    box-shadow: 0 .85rem 2rem rgba(36, 57, 37, .1);
    backdrop-filter: blur(12px);
}

.sky-test-controls {
    display: grid;
    grid-template-columns: minmax(8rem, 1fr) minmax(10rem, 1fr) minmax(11rem, 1fr) minmax(14rem, 2fr) auto auto;
    gap: .85rem;
    align-items: end;
    padding: 1rem;
}

.sky-test-weather-status {
    grid-column: 1 / -1;
    color: var(--homepm-muted);
    font-size: .78rem;
    font-weight: 800;
}

.sky-test-field,
.sky-test-toggle {
    display: grid;
    gap: .35rem;
    color: var(--homepm-forest);
    font-size: .8rem;
    font-weight: 800;
}

.sky-test-toggle {
    display: flex;
    align-items: center;
    gap: .5rem;
    min-height: 2.75rem;
}

.sky-test-field input {
    min-height: 2.75rem;
    padding: .45rem .65rem;
    color: var(--homepm-ink);
    background: rgba(255, 253, 245, .94);
    border: 1px solid rgba(36, 57, 37, .22);
    border-radius: .5rem;
    font: inherit;
}

.sky-test-main-grid {
    display: grid;
    grid-template-columns: minmax(18rem, .9fr) minmax(22rem, 1.1fr);
    gap: 1rem;
}

.sky-test-debug-panel,
.sky-test-sample-panel {
    padding: 1rem;
}

.sky-test-debug-grid,
.sky-test-token-grid {
    display: grid;
    gap: .45rem;
}

.sky-test-debug-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sky-test-debug-grid div,
.sky-test-token-grid div,
.sky-test-swatch-row {
    display: flex;
    min-width: 0;
    justify-content: space-between;
    gap: .75rem;
    padding: .45rem .55rem;
    background: rgba(255, 253, 245, .58);
    border: 1px solid rgba(36, 57, 37, .08);
    border-radius: .4rem;
}

.sky-test-debug-grid span,
.sky-test-token-grid span,
.sky-test-swatch-row span {
    color: var(--homepm-muted);
    font-size: .78rem;
    font-weight: 800;
}

.sky-test-debug-grid strong,
.sky-test-token-grid code,
.sky-test-swatch-row code {
    min-width: 0;
    color: var(--homepm-forest);
    font-size: .78rem;
    overflow-wrap: anywhere;
}

.sky-test-swatch {
    width: 1.4rem;
    height: 1.4rem;
    flex: 0 0 auto;
    border: 1px solid rgba(36, 57, 37, .18);
    border-radius: 50%;
}

.sky-test-sky-text {
    min-height: 7rem;
    padding: 1rem;
    color: var(--homepm-sky-text-color, var(--homepm-forest));
    background: var(--homepm-sky-background, var(--sky-blue-anchor));
    border-radius: .5rem;
}

.sky-test-sky-text h3,
.sky-test-sky-text p {
    color: var(--homepm-sky-text-color, var(--homepm-forest));
}

.quick-action-card {
    display: grid;
    min-width: 0;
    gap: .18rem;
    padding: .85rem;
    color: var(--homepm-ink);
    text-decoration: none;
    background: rgba(255, 253, 248, .86);
    border: 1px solid rgba(201, 158, 103, .38);
    border-radius: .45rem;
    box-shadow: 0 .45rem 1rem rgba(36, 57, 37, .06);
}

button.quick-action-card {
    width: 100%;
    font: inherit;
    text-align: left;
}

.quick-action-card:hover {
    color: var(--homepm-copper);
    background: rgba(196, 122, 74, .08);
    border-color: rgba(196, 122, 74, .28);
}

.quick-action-card strong,
.quick-action-card span {
    overflow-wrap: anywhere;
}

.quick-action-card strong {
    color: var(--homepm-forest);
    font-size: .98rem;
}

.quick-action-card span {
    color: var(--homepm-muted);
    font-size: .8rem;
    font-weight: 700;
}

.shopping-address-text,
.shopping-address-link {
    white-space: pre-line;
}

address.shopping-address-link,
.mobile-address-card address {
    margin: 0;
    font-style: normal;
    white-space: pre-line;
}

.mobile-home-gateway {
    display: none;
}

.mobile-home-actions {
    display: grid;
    gap: .85rem;
}

.mobile-home-actions a,
.mobile-store-card,
.mobile-address-card,
.mobile-shopping-item,
.mobile-new-item {
    display: grid;
    gap: .35rem;
    padding: 1rem;
    color: var(--homepm-ink);
    text-decoration: none;
    background: rgba(255, 253, 248, .9);
    border: 1px solid rgba(201, 158, 103, .38);
    border-radius: .5rem;
    box-shadow: 0 .45rem 1rem rgba(36, 57, 37, .06);
}

.mobile-home-actions a strong,
.mobile-store-card strong,
.mobile-shopping-item strong {
    color: var(--homepm-forest);
}

.mobile-shopping-page {
    max-width: 48rem;
}

.mobile-shopping-header,
.mobile-receipt-heading,
.mobile-shopping-job-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.mobile-shopping-section,
.mobile-store-list,
.mobile-shopping-job-list,
.mobile-shopping-item-list,
.mobile-receipt-form,
.mobile-new-items {
    display: grid;
    gap: .85rem;
}

.mobile-shopping-section {
    margin-top: 1rem;
}

.mobile-address-card {
    color: var(--homepm-muted);
}

.mobile-address-card address {
    color: var(--homepm-forest);
    font-weight: 700;
}

.mobile-shopping-item-main,
.mobile-shopping-item-controls {
    display: grid;
    gap: .5rem;
}

.mobile-shopping-item-controls {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
    align-items: end;
}

.mobile-shopping-item-controls label,
.mobile-receipt-form label,
.mobile-new-item label {
    display: grid;
    gap: .25rem;
    color: var(--homepm-muted);
    font-size: .78rem;
    font-weight: 800;
}

.mobile-return-toggle {
    align-items: center;
    min-height: 2.5rem;
}

.mobile-receipt-money-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .65rem;
}

.mobile-save-receipt {
    width: 100%;
    margin-top: 1rem;
    min-height: 3rem;
}

.intent-flow-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .75rem;
}

.intent-flow-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .5rem .75rem;
    min-width: 0;
    padding: .85rem;
    color: var(--homepm-ink);
    text-decoration: none;
    background: rgba(255, 253, 248, .84);
    border: 1px solid rgba(109, 123, 86, .2);
    border-left: .28rem solid var(--homepm-sage);
    border-radius: .5rem;
    box-shadow: 0 .45rem 1rem rgba(36, 57, 37, .06);
}

.intent-flow-card:hover,
.intent-flow-card:focus {
    color: var(--homepm-copper);
    border-color: rgba(196, 122, 74, .3);
}

.intent-flow-card > span {
    color: var(--homepm-muted);
    font-size: .74rem;
    font-weight: 900;
    text-transform: uppercase;
}

.intent-flow-card > strong {
    color: var(--homepm-forest);
    font-family: var(--homepm-heading-font, "Playfair Display", Georgia, serif);
    font-size: 1.7rem;
    line-height: 1;
}

.intent-flow-card ol {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .35rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.intent-flow-card li {
    min-width: 0;
    color: var(--homepm-muted);
    font-size: .78rem;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.today-masthead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .9rem;
    min-width: 0;
    padding: .05rem .1rem .45rem;
    color: var(--homepm-sky-text-color, var(--homepm-charcoal));
    background: transparent;
}

.today-masthead-title,
.today-masthead-facts,
.today-masthead-facts div {
    display: flex;
    align-items: center;
    min-width: 0;
}

.today-masthead-title {
    gap: .6rem;
}

.today-masthead-title div,
.today-masthead-facts span:last-child {
    display: grid;
    min-width: 0;
    gap: .02rem;
}

.today-masthead-title span:not(.today-line-icon),
.today-masthead-facts small {
    color: var(--homepm-sky-muted-text-color, var(--homepm-muted));
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.today-masthead-title strong,
.today-masthead-facts strong {
    color: var(--homepm-sky-text-color, var(--homepm-forest));
}

.today-masthead-title strong {
    font-size: 1rem;
    line-height: 1.15;
    overflow-wrap: anywhere;
}

.today-masthead-facts strong {
    font-size: .92rem;
    line-height: 1.15;
    white-space: nowrap;
}

.today-masthead-facts {
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: .45rem .9rem;
}

.today-masthead-facts div {
    gap: .45rem;
}

.today-line-icon {
    position: relative;
    width: 1.45rem;
    height: 1.45rem;
    flex: 0 0 auto;
    color: var(--homepm-sky-text-color, var(--homepm-forest));
}

.today-weather-icon {
    width: 1.65rem;
    height: 1.65rem;
    flex: 0 0 auto;
    object-fit: contain;
}

.today-line-icon::before,
.today-line-icon::after {
    content: "";
    position: absolute;
    box-sizing: border-box;
}

.today-line-icon.is-calendar::before {
    inset: .23rem .16rem .12rem;
    border: 2px solid currentColor;
    border-radius: .18rem;
}

.today-line-icon.is-calendar::after {
    left: .35rem;
    right: .35rem;
    top: .54rem;
    border-top: 2px solid currentColor;
    box-shadow: -.08rem -.28rem 0 -.02rem currentColor, .44rem -.28rem 0 -.02rem currentColor;
}

.today-line-icon.is-clock::before {
    inset: .16rem;
    border: 2px solid currentColor;
    border-radius: 50%;
}

.today-line-icon.is-clock::after {
    left: .7rem;
    top: .42rem;
    width: .38rem;
    height: .42rem;
    border-left: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
}

.today-line-icon.is-home::before {
    left: .28rem;
    right: .28rem;
    bottom: .16rem;
    height: .72rem;
    border: 2px solid currentColor;
    border-top: 0;
    border-radius: 0 0 .16rem .16rem;
}

.today-line-icon.is-home::after {
    left: .32rem;
    top: .28rem;
    width: .82rem;
    height: .82rem;
    border-left: 2px solid currentColor;
    border-top: 2px solid currentColor;
    transform: rotate(45deg);
}

.page-container {
    display: grid;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    gap: 1.5rem;
}

.page-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(22rem, .95fr);
    align-items: start;
    gap: 1rem;
    color: var(--homepm-sky-text-color, var(--homepm-charcoal));
    min-height: 5rem;
}

.page-title,
.page-subtitle,
.panel-title,
.panel-subtitle,
.empty-title,
.empty-description {
    min-width: 0;
    overflow-wrap: anywhere;
}

.page-title,
.panel-title,
.empty-title {
    margin: 0;
}

.page-subtitle,
.panel-subtitle,
.empty-description {
    margin: .15rem 0 0;
}

.page-actions,
.empty-action {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: .5rem;
}

.page-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(9.75rem, 10rem));
    justify-content: end;
    width: 100%;
}

.page-action {
    display: grid;
    min-width: 0;
    align-content: start;
    gap: .18rem;
    width: 10rem;
    min-height: 3.6rem;
    padding: .65rem;
    color: var(--homepm-ink);
    text-decoration: none;
    background: rgba(255, 253, 248, .86);
    border: 1px solid rgba(201, 158, 103, .38);
    border-radius: .45rem;
    box-shadow: 0 .45rem 1rem rgba(36, 57, 37, .06);
}

.page-action:hover,
.page-action:focus {
    color: var(--homepm-copper);
    background: rgba(196, 122, 74, .08);
    border-color: rgba(196, 122, 74, .28);
}

.page-action strong,
.page-action span {
    overflow-wrap: anywhere;
}

.page-action strong {
    color: var(--homepm-forest);
    font-size: .98rem;
}

.page-action span {
    color: var(--homepm-muted);
    font-size: .8rem;
    font-weight: 700;
}

.today-header {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 1rem;
}

.workflow-action-toolbar {
    display: flex;
    justify-content: flex-end;
    gap: .75rem;
    margin-top: .1rem;
}

.page-actions:has(.workflow-action--icon) {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: .75rem;
}

.workflow-action--icon {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    align-content: center;
    gap: .28rem;
}

.workflow-action--icon .app-icon {
    width: 1.0rem;
    height: 1.0rem;
}

.page-action.workflow-action--icon,
.page-action.workflow-action--icon:link,
.page-action.workflow-action--icon:visited {
    width: auto;
    min-height: 1.25rem;
    padding: 0;
    color: var(--homepm-sky-text-color, var(--homepm-forest));
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.page-actions .quick-action-card.workflow-action--icon,
.page-actions .quick-action-card.workflow-action--icon:link,
.page-actions .quick-action-card.workflow-action--icon:visited {
    width: auto;
    min-height: 1.25rem;
    padding: 0;
    color: var(--homepm-sky-text-color, var(--homepm-forest));
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.page-action.workflow-action--icon:hover,
.page-action.workflow-action--icon:focus {
    color: var(--homepm-sky-text-color, var(--homepm-forest));
    background: transparent;
    text-decoration: underline;
    text-underline-offset: .18rem;
}

.page-action.workflow-action--icon:disabled {
    opacity: .72;
    cursor: default;
}

.page-action.workflow-action--icon:disabled:hover {
    text-decoration: none;
}

.page-actions .quick-action-card.workflow-action--icon:hover,
.page-actions .quick-action-card.workflow-action--icon:focus {
    color: var(--homepm-sky-text-color, var(--homepm-forest));
    background: transparent;
    text-decoration: underline;
    text-underline-offset: .18rem;
}

button.page-action.workflow-action--icon {
    font: inherit;
    cursor: pointer;
}

.page-action.workflow-action--icon strong {
    color: currentColor;
    font-family: var(--bs-body-font-family);
    font-size: .75rem;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
}

.page-actions .quick-action-card.workflow-action--icon strong {
    color: currentColor;
    font-family: var(--bs-body-font-family);
    font-size: .75rem;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
}

.summary-grid {
    row-gap: 1rem;
}

.summary-tile {
    display: grid;
    min-width: 0;
    gap: .18rem;
    height: 100%;
    padding: .75rem;
    color: var(--homepm-ink);
    text-decoration: none;
    background: rgba(255, 253, 248, .8);
    border: 1px solid rgba(109, 123, 86, .2);
    border-radius: .5rem;
}

a.summary-tile:hover,
a.summary-tile:focus {
    color: var(--homepm-copper);
    border-color: rgba(196, 122, 74, .28);
}

.summary-label {
    color: var(--homepm-muted);
    font-size: .72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.summary-value {
    color: var(--homepm-forest);
    font-family: var(--homepm-heading-font, "Playfair Display", Georgia, serif);
    font-size: 1.25rem;
    line-height: 1.1;
    overflow-wrap: anywhere;
}

.main-columns {
    align-items: start;
    row-gap: 1rem;
}

.column-primary,
.column-secondary {
    display: grid;
    align-content: start;
    gap: 1rem;
    min-width: 0;
}

.panel {
    display: grid;
    gap: .75rem;
    min-width: 0;
    min-height: 0;
    border-top: .25rem solid rgba(201, 158, 103, .72);
}

.panel-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    min-width: 0;
}

.panel-header > div {
    display: grid;
    min-width: 0;
    gap: .08rem;
}

.panel-action {
    flex: 0 0 auto;
    color: var(--homepm-copper);
    font-size: .82rem;
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
}

.panel-action:hover,
.panel-action:focus {
    color: var(--homepm-forest);
}

.panel-body {
    display: grid;
    gap: .75rem;
    min-width: 0;
}

.personalization-panel {
    border-top-color: rgba(103, 151, 133, .8);
}

.personalization-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr));
    gap: .6rem;
    min-width: 0;
}

.personalization-change {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    min-height: 6.25rem;
    text-decoration: none;
}

.personalization-change > :not(.list-item-action-cue) {
    grid-column: 1;
}

.personalization-change .list-item-action-cue {
    grid-column: 2;
    grid-row: 1 / span 3;
    align-self: center;
}

.personalization-change small {
    display: block;
    overflow-wrap: anywhere;
}

.daily-digest-panel {
    border-top-color: var(--color-clay-600);
}

.daily-digest-grid,
.daily-digest-actions,
.daily-digest-briefs {
    display: grid;
    min-width: 0;
    gap: .75rem;
}

.daily-digest-grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(16rem, .7fr);
    align-items: start;
}

.daily-digest-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.daily-digest-panel .list-item-card {
    padding: .8rem;
    border-left-width: .32rem;
    box-shadow: 0 .65rem 1.2rem rgba(36, 57, 37, .08);
}

.daily-digest-card-kicker {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    color: var(--homepm-copper);
    font-size: .72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.daily-digest-card-kicker .app-icon {
    width: .95rem;
    height: .95rem;
}

.digest-brief {
    display: grid;
    min-width: 0;
    gap: .12rem;
    padding: .68rem .75rem;
    color: var(--homepm-ink);
    text-decoration: none;
    border: 1px solid rgba(36, 57, 37, .12);
    border-radius: .45rem;
    background: rgba(232, 241, 240, .44);
}

.digest-brief:hover,
.digest-brief:focus {
    color: var(--homepm-copper);
    border-color: rgba(196, 122, 74, .26);
    background: rgba(196, 122, 74, .08);
}

.digest-brief > span:first-child {
    color: var(--homepm-muted);
    font-size: .68rem;
    font-weight: 900;
    text-transform: uppercase;
}

.digest-brief strong,
.digest-brief small {
    overflow-wrap: anywhere;
}

.digest-brief strong {
    color: var(--homepm-forest);
    font-size: .9rem;
}

.digest-brief small {
    color: var(--homepm-muted);
    font-size: .76rem;
    font-weight: 750;
}

.digest-weather-days {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .4rem;
}

.digest-weather-days span {
    display: grid;
    justify-items: center;
    gap: .1rem;
    min-width: 0;
    padding: .35rem;
    border-radius: .4rem;
    background: rgba(255, 253, 248, .7);
}

.digest-weather-days img {
    width: 1.8rem;
    height: 1.8rem;
    object-fit: contain;
}

.budget-pulse-strip {
    display: grid;
    gap: .65rem;
    min-width: 0;
}

.budget-pulse-bar {
    display: flex;
    min-width: 0;
    height: 1.15rem;
    overflow: hidden;
    border: 1px solid rgba(36, 57, 37, .14);
    border-radius: 999px;
    background: rgba(216, 212, 200, .5);
}

.budget-pulse-bar span {
    min-width: .45rem;
}

.budget-pulse-bar .is-estimated,
.budget-pulse-legend .is-estimated {
    background: rgba(154, 150, 145, .56);
}

.budget-pulse-bar .is-review,
.budget-pulse-legend .is-review {
    background: rgba(201, 158, 103, .76);
}

.budget-pulse-bar .is-committed,
.budget-pulse-legend .is-committed {
    background: rgba(198, 146, 62, .82);
}

.budget-pulse-bar .is-paid,
.budget-pulse-legend .is-paid {
    background: rgba(63, 107, 69, .8);
}

.budget-pulse-legend {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem .75rem;
    color: var(--homepm-muted);
    font-size: .76rem;
    font-weight: 850;
}

.budget-pulse-legend span {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}

.budget-pulse-legend i {
    width: .72rem;
    height: .72rem;
    flex: 0 0 auto;
    border-radius: 50%;
}

.home-timeline-mini,
.home-timeline-day {
    display: grid;
    min-width: 0;
    gap: .6rem;
}

.home-timeline-day {
    padding-left: .85rem;
    border-left: 2px solid rgba(109, 123, 86, .22);
}

.home-timeline-day h3 {
    display: flex;
    align-items: center;
    gap: .45rem;
    margin: 0;
    color: var(--homepm-forest);
    font-size: .9rem;
}

.home-timeline-day h3 small {
    color: var(--homepm-muted);
    font-size: .72rem;
    font-weight: 850;
}

.timeline-mini-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: .18rem .55rem;
    min-width: 0;
    padding: .58rem .65rem;
    color: var(--homepm-ink);
    text-decoration: none;
    border: 1px solid rgba(36, 57, 37, .1);
    border-radius: .45rem;
    background: rgba(255, 253, 248, .78);
}

.timeline-mini-item:hover,
.timeline-mini-item:focus {
    color: var(--homepm-copper);
    border-color: rgba(196, 122, 74, .24);
}

.timeline-mini-item .status {
    grid-row: 1 / span 2;
    align-self: start;
}

.timeline-mini-item strong,
.timeline-mini-item small {
    min-width: 0;
    overflow-wrap: anywhere;
}

.closer-look-list .list-item small + small {
    margin-top: .12rem;
}

.text-h1 {
    color: var(--homepm-sky-text-color, var(--homepm-forest));
    font-size: 1.55rem;
    line-height: 1.12;
}

.text-h2 {
    color: var(--homepm-forest);
    font-size: 1.22rem;
    line-height: 1.12;
}

.text-h3 {
    color: var(--homepm-sky-muted-text-color, var(--homepm-muted));
    font-family: var(--bs-body-font-family);
    font-size: .92rem;
    font-weight: 700;
    line-height: 1.35;
}

.text-body {
    color: var(--homepm-ink);
    font-size: .94rem;
    line-height: 1.4;
}

.text-caption {
    color: var(--homepm-muted);
    font-size: .78rem;
    font-weight: 700;
    line-height: 1.35;
}

.list {
    display: grid;
    gap: .5rem;
    min-width: 0;
}

.list-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .65rem;
}

.list-inline {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
}

.project-rollup-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(7rem, 1fr));
    gap: .45rem;
    margin: .55rem 0 0;
}

.project-rollup-metrics div {
    min-width: 0;
    padding: .5rem;
    border: 1px solid rgba(36, 57, 37, .12);
    border-radius: .4rem;
    background: rgba(255, 253, 248, .72);
}

.project-rollup-metrics dt {
    color: var(--homepm-muted);
    font-size: .68rem;
    font-weight: 900;
    text-transform: uppercase;
}

.project-rollup-metrics dd {
    margin: .1rem 0 0;
    color: var(--homepm-forest);
    font-weight: 800;
    overflow-wrap: anywhere;
}

.list-item {
    display: grid;
    min-width: 0;
    gap: .12rem;
    padding: .62rem .65rem;
    color: var(--homepm-ink);
    text-decoration: none;
    background: rgba(255, 253, 248, .82);
    border: 1px solid rgba(36, 57, 37, .1);
    border-radius: .45rem;
}

a.list-item:hover,
a.list-item:focus,
.list-item a:hover,
.list-item a:focus {
    color: var(--homepm-copper);
}

.list-item a {
    min-width: 0;
    gap: .16rem;
    color: var(--homepm-ink);
    text-decoration: none;
}

.page-action-button {
    border: 1px solid rgba(201, 158, 103, .38);
    text-align: left;
}

.page-action-button:disabled {
    opacity: .55;
}

.page-actions > .btn,
.page-actions form > .btn {
    width: 10rem;
    min-height: 2.65rem;
    justify-content: center;
}

details.list-item summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: .55rem;
    align-items: center;
    cursor: pointer;
    list-style: none;
}

details.list-item summary::-webkit-details-marker {
    display: none;
}

details.list-item summary::after {
    content: "Details";
    color: var(--homepm-copper);
    font-size: .72rem;
    font-weight: 900;
}

details.list-item[open] summary::after {
    content: "Hide details";
}

.list-item-card {
    align-content: space-between;
    gap: .55rem;
    padding: .85rem;
    border-left: .32rem solid var(--homepm-sage);
    box-shadow: 0 .45rem 1rem rgba(36, 57, 37, .06);
}

.list-item-split {
    grid-template-columns: minmax(6.4rem, auto) minmax(0, 1fr);
    align-items: center;
    gap: .65rem;
}

.list-item-split.has-action-cue {
    grid-template-columns: minmax(6.4rem, auto) minmax(0, 1fr) auto;
}

.list-item.has-action-cue:not(.list-item-split) {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
}

.list-item a.has-action-cue {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
}

.list-item-action-cue {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    color: var(--homepm-muted);
    border: 1px solid rgba(36, 57, 37, .12);
    border-radius: 999px;
    background: rgba(255, 253, 248, .9);
}

.list-item-action-cue .app-icon {
    width: .95rem;
    height: .95rem;
}

.list-item-opens-panel .list-item-action-cue {
    color: var(--homepm-forest);
    border-color: rgba(68, 112, 87, .24);
    background: rgba(232, 241, 240, .85);
}

.list-item-navigates .list-item-action-cue {
    color: var(--homepm-copper);
    border-color: rgba(170, 112, 62, .28);
}

.list-item-summary {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: .75rem;
}

.list-item span,
.list-item strong,
.list-item small,
.list-item b {
    min-width: 0;
    overflow-wrap: anywhere;
}

.list-item span {
    display: grid;
    gap: .08rem;
}

.list-item strong,
.list-item b {
    color: var(--homepm-forest);
}

.list-item form {
    margin: 0;
}

.list-item .btn {
    width: 100%;
}

.list-item-meta {
    color: var(--homepm-muted);
}

.status {
    display: inline-flex;
    min-height: 1.75rem;
    align-items: center;
    justify-content: center;
    width: fit-content;
    max-width: 100%;
    padding: .15rem .55rem;
    color: var(--homepm-forest);
    background: rgba(177, 182, 159, .18);
    border: 1px solid rgba(109, 123, 86, .22);
    border-radius: 999px;
    font-size: .74rem;
    font-weight: 900;
    text-transform: uppercase;
}

.status--critical {
    color: #5B271D;
    background: rgba(164, 82, 61, .14);
    border-color: rgba(164, 82, 61, .3);
}

.status--high,
.status--medium {
    color: #604214;
    background: rgba(198, 146, 62, .14);
    border-color: rgba(198, 146, 62, .3);
}

.status--low {
    color: var(--homepm-forest);
    background: rgba(177, 182, 159, .16);
    border-color: rgba(109, 123, 86, .2);
}

.status--info {
    color: #264B4B;
    background: rgba(79, 115, 115, .13);
    border-color: rgba(79, 115, 115, .28);
}

.board {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    overflow-y: visible;
    padding-bottom: .35rem;
    -webkit-overflow-scrolling: touch;
}

.board-column {
    flex: 0 0 min(17rem, 100%);
    display: grid;
    align-content: start;
    gap: .65rem;
    min-width: 0;
    padding: .75rem;
    background: rgba(255, 253, 248, .64);
    border: 1px solid rgba(36, 57, 37, .12);
    border-radius: .5rem;
}

.board-column.is-drop-target {
    background: rgba(201, 158, 103, .14);
    border-color: rgba(196, 122, 74, .44);
    box-shadow: inset 0 0 0 .12rem rgba(196, 122, 74, .12);
}

.board-column-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .65rem;
    padding-bottom: .5rem;
    border-bottom: 1px solid rgba(36, 57, 37, .1);
}

.board-column-title {
    margin: 0;
    font-family: var(--bs-body-font-family);
    font-size: .84rem;
    font-weight: 900;
    text-transform: uppercase;
}

.board-column-count {
    min-width: 1.75rem;
    padding: .1rem .45rem;
    color: var(--homepm-forest);
    text-align: center;
    background: rgba(177, 182, 159, .18);
    border-radius: 999px;
    font-weight: 900;
}

.board-column-body {
    display: grid;
    gap: .65rem;
    min-width: 0;
    min-height: 4.5rem;
}

.board-card {
    display: grid;
    gap: .55rem;
    min-width: 0;
    padding: .85rem;
    color: var(--homepm-ink);
    text-decoration: none;
    background: rgba(255, 253, 248, .92);
    border: 1px solid rgba(109, 123, 86, .22);
    border-left: .3rem solid var(--homepm-sage);
    border-radius: .5rem;
    box-shadow: 0 .35rem .9rem rgba(36, 57, 37, .07);
    cursor: grab;
}

.board-card:hover,
.board-card:focus {
    color: var(--homepm-copper);
    border-color: rgba(196, 122, 74, .3);
}

.board-card:active {
    cursor: grabbing;
}

.board-card.is-dragging {
    opacity: .45;
    transform: rotate(.35deg);
}

.board-card.status--critical,
.list-item.status--critical {
    border-left-color: var(--color-risk);
}

.board-card.status--medium,
.list-item.status--medium {
    border-left-color: var(--color-warning);
}

.board-card.status--info,
.list-item.status--info {
    border-left-color: var(--color-info);
}

.board-card.status--low {
    opacity: .78;
}

.board-card summary {
    display: grid;
    min-width: 0;
    gap: .28rem;
    cursor: pointer;
    list-style: none;
}

.board-card summary::-webkit-details-marker {
    display: none;
}

.board-card summary::after {
    content: "Details";
    color: var(--homepm-copper);
    font-size: .72rem;
    font-weight: 900;
}

.board-card[open] summary::after {
    content: "Hide details";
}

.board-card-title {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: .65rem;
}

.board-card-title strong,
.board-card small,
.board-card em {
    min-width: 0;
    overflow-wrap: anywhere;
}

.board-card-title strong,
.board-card em {
    color: var(--homepm-forest);
}

.board-card em {
    font-style: normal;
    font-weight: 900;
}

.board-card-meta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    min-width: 0;
    gap: .28rem;
}

.board-card-details,
.board-card-tags {
    display: grid;
    min-width: 0;
    gap: .55rem;
}

.board-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
}

.board-card-tags span {
    padding: .12rem .45rem;
    color: var(--homepm-muted);
    background: rgba(177, 182, 159, .14);
    border-radius: 999px;
    font-size: .74rem;
    font-weight: 800;
}

.board-card-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .35rem;
    margin: 0;
}

.board-card-facts div {
    min-width: 0;
    padding: .42rem;
    background: rgba(255, 253, 245, .82);
    border: 1px solid rgba(36, 57, 37, .09);
    border-radius: .4rem;
}

.board-card-facts dt {
    color: var(--homepm-muted);
    font-size: .66rem;
    font-weight: 900;
    text-transform: uppercase;
}

.board-card-facts dd {
    margin: .1rem 0 0;
    color: var(--homepm-forest);
    font-size: .82rem;
    font-weight: 900;
    overflow-wrap: anywhere;
}

.panel-grid {
    display: grid;
    gap: .65rem;
}

.panel-grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.panel-subpanel {
    display: grid;
    align-content: start;
    gap: .55rem;
    min-width: 0;
    padding: .85rem;
    background: rgba(255, 253, 248, .72);
    border: 1px solid rgba(36, 57, 37, .1);
    border-radius: .5rem;
}

.panel-subpanel-title {
    margin: 0;
    font-family: var(--bs-body-font-family);
    font-size: .84rem;
    font-weight: 900;
    text-transform: uppercase;
}

.empty-state {
    display: grid;
    gap: .55rem;
}

.content-section {
    display: grid;
    width: 100%;
    min-width: 0;
    gap: .65rem;
    margin-block-start: 1rem;
}

.content-section:first-child,
.analytics-main > .content-section,
.budget-two-column > .content-section,
.collision-side-panel > .content-section,
.dashboard-command-grid > .content-section {
    margin-block-start: 0;
}

.section-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    align-items: flex-start;
    justify-content: flex-end;
    justify-self: end;
    margin-left: auto;
    padding-top: .2rem;
    text-align: right;
}

.section-actions a {
    color: var(--homepm-sky-text-color, var(--homepm-forest));
    font-size: .82rem;
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
}

.section-actions a.btn {
    display: inline;
    width: auto;
    min-height: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    line-height: inherit;
    vertical-align: baseline;
}

.section-actions a.btn:hover,
.section-actions a.btn:focus {
    border-color: transparent;
    background: transparent;
    box-shadow: none;
}

.section-actions a:hover {
    color: var(--homepm-copper);
}

.saved-filter-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .45rem;
    margin-bottom: .9rem;
    padding-bottom: .85rem;
    border-bottom: 1px solid rgba(36, 57, 37, .1);
}

.saved-filter-row span {
    color: var(--homepm-muted);
    font-size: .78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.saved-filter-row a {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: .2rem .65rem;
    color: var(--homepm-forest);
    text-decoration: none;
    background: rgba(255, 253, 248, .78);
    border: 1px solid rgba(36, 57, 37, .18);
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 800;
}

.saved-filter-row a:hover {
    color: var(--homepm-white);
    background: var(--homepm-forest);
}

.list-date-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    margin: .35rem 0 .2rem;
    padding: .2rem .15rem .35rem;
    color: var(--homepm-forest);
    border-bottom: 1px solid rgba(36, 57, 37, .12);
    font-size: .86rem;
    font-family: var(--bs-body-font-family);
    font-weight: 900;
    text-transform: uppercase;
}

.list-date-heading small {
    color: var(--homepm-muted);
    font-size: .8rem;
    font-weight: 900;
    text-transform: none;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: minmax(18rem, 1fr) minmax(22rem, 1.35fr) minmax(18rem, 1fr);
    gap: 1rem;
}

.dashboard-command-grid {
    display: grid;
    grid-template-columns: minmax(18rem, 1fr) minmax(22rem, 1.35fr) minmax(18rem, 1fr);
    gap: 1rem;
}

.utility-section-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    align-items: stretch;
}

.utility-section-grid > .content-section {
    grid-template-rows: auto minmax(0, 1fr);
    margin-block-start: 0;
}

.utility-section-grid .panel-body {
    min-height: 10rem;
}

.utility-card-intro {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: .75rem;
}

.utility-card-intro .app-icon {
    width: 3.1rem;
    height: 3.1rem;
    color: var(--homepm-copper);
}

.utility-card-intro p {
    margin: 0;
}

.empty-state + .dashboard-command-grid {
    margin-top: 1.25rem;
}

.site-map-panel {
    min-height: 0;
}

.site-map-tree {
    display: grid;
    gap: .75rem;
}

.site-map-node {
    min-width: 0;
    border: 1px solid rgba(36, 57, 37, .12);
    border-radius: .5rem;
    background: rgba(255, 253, 248, .7);
}

.site-map-node summary {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: .65rem;
    align-items: center;
    padding: .8rem .9rem;
    cursor: pointer;
    list-style: none;
}

.site-map-node summary::-webkit-details-marker {
    display: none;
}

.site-map-node summary::before {
    display: inline-grid;
    place-items: center;
    width: 1.45rem;
    height: 1.45rem;
    border: 1px solid rgba(109, 123, 86, .24);
    border-radius: 999px;
    color: var(--homepm-forest);
    content: "+";
    font-weight: 900;
    line-height: 1;
}

.site-map-node[open] > summary::before {
    content: "-";
}

.site-map-node.is-leaf {
    display: grid;
    gap: .25rem;
    padding: .8rem .9rem;
}

.site-map-heading {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem .65rem;
    align-items: baseline;
    justify-content: space-between;
    min-width: 0;
}

.site-map-heading-main {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    align-items: center;
    min-width: 0;
}

.site-map-heading a,
.site-map-heading strong {
    color: var(--homepm-forest);
    font-weight: 900;
    text-decoration: none;
}

.site-map-heading a:hover {
    color: var(--homepm-copper);
}

.site-map-heading code {
    padding: .12rem .38rem;
    border: 1px solid rgba(109, 123, 86, .16);
    border-radius: .35rem;
    background: rgba(177, 182, 159, .12);
    color: var(--homepm-charcoal);
    font-size: .82rem;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.site-map-badge {
    padding: .12rem .45rem;
    border-radius: 999px;
    background: rgba(191, 121, 73, .12);
    color: var(--homepm-copper);
    font-size: .7rem;
    font-weight: 900;
    text-transform: uppercase;
}

.site-map-node p {
    margin: 0;
    padding: 0 .9rem .8rem;
    color: var(--homepm-muted);
    font-size: .9rem;
}

.site-map-node.is-leaf p {
    padding: 0;
}

.site-map-children {
    display: grid;
    gap: .6rem;
    margin: 0 .9rem .9rem 1.65rem;
    padding-left: .85rem;
    border-left: 2px solid rgba(109, 123, 86, .16);
}

.panel,
.dashboard-panel,
.empty-state,
.auth-panel,
.signin-panel,
.paper-sheet {
    background:
        linear-gradient(180deg, rgba(255, 255, 250, .98), rgba(255, 253, 245, .9)),
        var(--color-paper-card);
    border: 1px solid var(--homepm-border);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    box-shadow: var(--homepm-shadow);
}

.panel {
    border-top: .22rem solid rgba(177, 182, 159, .76);
}

.panel-body > .empty-state {
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.dashboard-panel {
    min-height: 11rem;
    border-top: .22rem solid rgba(177, 182, 159, .76);
}

.dashboard-panel.is-attention {
    border-top-color: var(--color-clay-600);
}

.dashboard-panel.is-risk {
    border-top-color: var(--color-risk);
    background:
        linear-gradient(180deg, rgba(255, 255, 250, .98), rgba(255, 253, 245, .9)),
        linear-gradient(90deg, rgba(164, 82, 61, .08), transparent);
}

.dashboard-panel.is-wide {
    grid-column: span 2;
}

.dashboard-panel.is-budget {
    min-height: 0;
}

.dashboard-panel.is-budget-analytics,
.funding-hero {
    position: relative;
    overflow: hidden;
    border-top-color: var(--homepm-forest);
    background:
        linear-gradient(135deg, rgba(36, 57, 37, .08), transparent 36%),
        linear-gradient(180deg, rgba(255, 253, 248, .98), rgba(245, 239, 229, .88)),
        var(--homepm-white);
}

.dashboard-job-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .5rem;
    margin-bottom: .85rem;
}

.dashboard-job-stats div {
    padding: .6rem;
    background: rgba(255, 253, 248, .74);
    border: 1px solid rgba(201, 158, 103, .34);
    border-radius: .45rem;
}

.dashboard-job-stats strong,
.dashboard-job-stats span {
    display: block;
}

.dashboard-job-stats strong {
    color: var(--homepm-forest);
    font-size: 1.35rem;
    line-height: 1;
}

.dashboard-job-stats span,
.dashboard-upcoming-jobs small {
    color: var(--homepm-muted);
    font-size: .78rem;
    font-weight: 700;
}

.dashboard-job-total {
    margin-bottom: .75rem;
    color: var(--homepm-muted);
}

.dashboard-upcoming-jobs,
.dashboard-list {
    display: grid;
    gap: .45rem;
}

.dashboard-upcoming-jobs a,
.dashboard-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    color: var(--homepm-ink);
    text-decoration: none;
    min-width: 0;
    padding: .55rem .6rem;
    border: 1px solid transparent;
    border-radius: .4rem;
}

.dashboard-list a span {
    display: grid;
    min-width: 0;
    gap: .1rem;
}

.dashboard-list strong,
.dashboard-list small {
    overflow-wrap: anywhere;
}

.dashboard-upcoming-jobs a:hover,
.dashboard-list a:hover {
    color: var(--homepm-copper);
    background: rgba(196, 122, 74, .08);
    border-color: rgba(196, 122, 74, .18);
}

.dashboard-list a.is-overdue,
.dashboard-list a.is-blocked {
    border-color: rgba(196, 122, 74, .36);
    border-left: .3rem solid var(--homepm-copper);
    background: rgba(196, 122, 74, .08);
}

.dashboard-list a.is-needs-bid {
    border-color: rgba(201, 158, 103, .32);
    border-left: .3rem solid var(--homepm-gold);
    background: rgba(201, 158, 103, .1);
}

.activity-dashboard-list a {
    align-items: flex-start;
}

.activity-dashboard-list a span {
    gap: .18rem;
}

.dashboard-budget {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .5rem 0;
    border-bottom: 1px solid var(--homepm-border);
}

.dashboard-budget span,
.dashboard-placeholder {
    color: var(--homepm-muted);
}

.dashboard-budget strong {
    color: var(--homepm-forest);
}

.dashboard-budget-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .65rem;
    margin-bottom: 1rem;
}

.dashboard-budget-summary div {
    min-width: 0;
    padding: .7rem;
    background: rgba(255, 253, 248, .76);
    border: 1px solid rgba(201, 158, 103, .34);
    border-radius: .45rem;
}

.dashboard-budget-summary span,
.dashboard-budget-summary strong {
    display: block;
}

.dashboard-budget-summary span {
    color: var(--homepm-muted);
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.dashboard-budget-summary strong {
    margin-top: .2rem;
    color: var(--homepm-forest);
    font-size: 1.35rem;
    line-height: 1.1;
    overflow-wrap: anywhere;
}

.dashboard-budget-breakdowns {
    display: grid;
    grid-template-columns: minmax(13rem, .8fr) minmax(16rem, 1.2fr);
    gap: 1rem;
}

.collision-watch-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.collision-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .75rem;
    margin-bottom: 1rem;
}

.collision-summary-grid div {
    min-width: 0;
    padding: .85rem;
    background: rgba(255, 253, 248, .86);
    border: 1px solid rgba(109, 123, 86, .22);
    border-radius: .5rem;
    box-shadow: 0 .45rem 1rem rgba(36, 57, 37, .06);
}

.collision-summary-grid span {
    display: block;
    color: var(--homepm-muted);
    font-size: .72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.collision-summary-grid strong {
    display: block;
    margin-top: .15rem;
    color: var(--homepm-forest);
    font-size: 1.45rem;
    line-height: 1;
}

.collision-workspace {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(19rem, .72fr);
    gap: 1rem;
    align-items: start;
}

.collision-side-panel {
    position: sticky;
    top: 1rem;
    display: grid;
    gap: 1rem;
    min-width: 0;
}

.collision-card-list {
    display: grid;
    gap: .75rem;
}

.collision-card-list.is-dashboard {
    gap: .55rem;
}

.collision-card {
    display: grid;
    gap: .7rem;
    min-width: 0;
    padding: 1rem;
    background: rgba(255, 253, 248, .9);
    border: 1px solid rgba(109, 123, 86, .22);
    border-left: .3rem solid var(--homepm-sage);
    border-radius: .5rem;
    box-shadow: 0 .4rem 1rem rgba(36, 57, 37, .07);
}

.collision-card.is-high {
    border-left-color: var(--homepm-copper);
    background: rgba(241, 216, 201, .36);
}

.collision-card.is-medium {
    border-left-color: var(--homepm-gold);
}

.collision-card.is-low {
    border-left-color: var(--homepm-sage);
}

.collision-card header,
.collision-card-actions,
.collision-meta-row {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: .5rem;
}

.collision-card header {
    justify-content: space-between;
}

.collision-card h2 {
    margin: .1rem 0 0;
    font-size: 1.05rem;
}

.collision-card p {
    margin: 0;
    color: var(--homepm-muted);
    line-height: 1.55;
}

.collision-card span,
.collision-card header > strong,
.collision-meta-row a,
.collision-meta-row span {
    overflow-wrap: anywhere;
}

.collision-card span,
.collision-card header > strong {
    color: var(--homepm-muted);
    font-size: .72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.collision-card header > strong {
    color: var(--homepm-forest);
}

.collision-meta-row {
    align-items: center;
}

.collision-meta-row a,
.collision-meta-row span {
    display: inline-flex;
    align-items: center;
    min-height: 1.65rem;
    padding: .18rem .5rem;
    color: var(--homepm-forest);
    text-decoration: none;
    background: rgba(177, 182, 159, .16);
    border: 1px solid rgba(109, 123, 86, .2);
    border-radius: 999px;
    font-size: .76rem;
    font-weight: 800;
}

.collision-meta-row a:hover {
    color: var(--homepm-copper);
    border-color: rgba(196, 122, 74, .28);
}

.collision-card-actions {
    align-items: center;
}

.collision-card-actions small {
    color: var(--homepm-muted);
    font-weight: 800;
}

.collision-timeline,
.collision-graph {
    display: grid;
    gap: .5rem;
}

.collision-timeline a {
    display: grid;
    grid-template-columns: 4.5rem minmax(0, 1fr);
    gap: .65rem;
    align-items: center;
    min-width: 0;
    padding: .55rem;
    color: var(--homepm-ink);
    text-decoration: none;
    background: rgba(255, 253, 248, .74);
    border: 1px solid rgba(36, 57, 37, .12);
    border-left: .25rem solid var(--homepm-sage);
    border-radius: .4rem;
}

.collision-timeline a.is-high {
    border-left-color: var(--homepm-copper);
}

.collision-timeline a.is-medium {
    border-left-color: var(--homepm-gold);
}

.collision-timeline time {
    color: var(--homepm-forest);
    font-size: .78rem;
    font-weight: 900;
}

.collision-timeline span {
    min-width: 0;
    overflow-wrap: anywhere;
    font-size: .85rem;
    font-weight: 700;
}

.collision-graph-card {
    display: grid;
    gap: .45rem;
    padding: .65rem;
    background: rgba(255, 253, 248, .74);
    border: 1px solid rgba(36, 57, 37, .12);
    border-radius: .45rem;
}

.collision-graph-card > strong {
    color: var(--homepm-forest);
    font-size: .82rem;
}

.collision-graph-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: .45rem;
    align-items: center;
}

.collision-graph-row span {
    min-width: 0;
    padding: .35rem .45rem;
    overflow-wrap: anywhere;
    background: rgba(177, 182, 159, .16);
    border: 1px solid rgba(109, 123, 86, .18);
    border-radius: .4rem;
    font-size: .78rem;
    font-weight: 800;
}

.collision-graph-row small {
    color: var(--homepm-muted);
    font-size: .72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.dashboard-budget-breakdowns h3 {
    margin-bottom: .55rem;
    font-size: 1rem;
    font-weight: 800;
}

.collision-watch-grid h3 {
    margin-bottom: .45rem;
    font-size: .92rem;
    font-weight: 900;
    text-transform: uppercase;
}

.dashboard-budget-list,
.dashboard-budget-job-list {
    display: grid;
    gap: .25rem;
}

.dashboard-budget-job-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .85rem;
    min-width: 0;
    padding: .6rem;
    color: var(--homepm-ink);
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: .4rem;
}

.dashboard-budget-job-list a:hover {
    color: var(--homepm-copper);
    background: rgba(196, 122, 74, .08);
    border-color: rgba(196, 122, 74, .18);
}

.dashboard-budget-job-list a > span {
    display: grid;
    min-width: 0;
    gap: .12rem;
}

.dashboard-budget-job-list a > span:last-child {
    flex: 0 0 auto;
    text-align: right;
}

.dashboard-budget-job-list strong,
.dashboard-budget-job-list small {
    overflow-wrap: anywhere;
}

.dashboard-budget-job-list small {
    color: var(--homepm-muted);
    font-size: .78rem;
    font-weight: 700;
}

.funding-kpi-grid,
.funding-scenario-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .7rem;
    margin-bottom: 1rem;
}

.funding-kpi-grid.is-compact,
.funding-scenario-summary.is-compact {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.funding-kpi-grid div,
.funding-scenario-summary div,
.funding-chart-panel {
    min-width: 0;
    padding: .85rem;
    border: 1px solid rgba(109, 123, 86, .22);
    border-radius: .5rem;
    background: rgba(255, 253, 248, .82);
    box-shadow: 0 .55rem 1.4rem rgba(36, 57, 37, .08);
}

.funding-kpi-grid span,
.funding-scenario-summary span {
    display: block;
    color: var(--homepm-muted);
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.funding-kpi-grid strong,
.funding-scenario-summary strong {
    display: block;
    margin-top: .2rem;
    color: var(--homepm-forest);
    font-size: 1.35rem;
    line-height: 1.1;
    overflow-wrap: anywhere;
}

.funding-chart-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(16rem, .7fr);
    gap: 1rem;
    align-items: stretch;
}

.funding-chart-panel h3 {
    margin-bottom: .75rem;
    font-size: 1rem;
    font-weight: 900;
}

.funding-bars,
.funding-dashboard-bars,
.funding-spark-list,
.funding-scenario-list {
    display: grid;
    gap: .65rem;
}

.funding-bar-row,
.funding-dashboard-row {
    display: grid;
    grid-template-columns: minmax(9rem, .9fr) minmax(10rem, 1.35fr) minmax(6rem, auto);
    gap: .7rem;
    align-items: center;
}

.funding-bar-label {
    display: grid;
    gap: .1rem;
    min-width: 0;
}

.funding-bar-label strong,
.funding-dashboard-row strong,
.funding-dashboard-row small {
    overflow-wrap: anywhere;
}

.funding-bar-label small,
.funding-dashboard-row small,
.funding-bar-values {
    color: var(--homepm-muted);
    font-size: .78rem;
    font-weight: 700;
}

.funding-bar-track {
    position: relative;
    min-width: 0;
    height: 1.15rem;
    overflow: hidden;
    border: 1px solid rgba(36, 57, 37, .16);
    border-radius: 999px;
    background: rgba(36, 57, 37, .08);
}

.funding-bar-track span {
    position: absolute;
    inset-block: 0;
    left: 0;
    border-radius: inherit;
}

.funding-bar-budget {
    background: rgba(177, 182, 159, .64);
}

.funding-bar-accepted {
    background: linear-gradient(90deg, rgba(109, 123, 86, .72), rgba(36, 57, 37, .74));
}

.funding-bar-paid {
    background: linear-gradient(90deg, rgba(191, 121, 73, .84), rgba(201, 158, 103, .9));
}

.funding-bar-values {
    display: grid;
    justify-items: end;
    gap: .1rem;
}

.funding-legend {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: .85rem;
    color: var(--homepm-muted);
    font-size: .78rem;
    font-weight: 800;
}

.funding-legend span {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}

.funding-legend i {
    display: inline-block;
    width: .85rem;
    height: .85rem;
    border-radius: 999px;
}

.funding-legend .is-budget {
    background: var(--homepm-sage);
}

.funding-legend .is-accepted {
    background: var(--homepm-forest);
}

.funding-legend .is-paid {
    background: var(--homepm-copper);
}

.funding-donut {
    display: grid;
    place-items: center;
    width: min(14rem, 68vw);
    aspect-ratio: 1;
    margin: .35rem auto 1rem;
    border-radius: 50%;
    background:
        conic-gradient(
            var(--homepm-copper) 0 var(--paid, 0%),
            var(--homepm-forest) var(--paid, 0%) calc(var(--paid, 0%) + var(--accepted, 0%)),
            rgba(177, 182, 159, .58) calc(var(--paid, 0%) + var(--accepted, 0%)) 100%);
    box-shadow: inset 0 0 0 1rem rgba(255, 253, 248, .72), 0 1rem 2rem rgba(36, 57, 37, .12);
}

.funding-donut div {
    display: grid;
    place-items: center;
    width: 55%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--homepm-white);
    border: 1px solid rgba(36, 57, 37, .14);
}

.funding-donut strong {
    color: var(--homepm-forest);
    font-size: 1.25rem;
    line-height: 1;
}

.funding-donut span {
    color: var(--homepm-muted);
    font-size: .75rem;
    font-weight: 900;
    text-transform: uppercase;
}

.funding-spark-list div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding-bottom: .45rem;
    border-bottom: 1px solid var(--homepm-border);
}

.funding-bucket-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.funding-bucket-card {
    display: grid;
    gap: .85rem;
    min-width: 0;
    padding: 1rem;
    border: 1px solid rgba(109, 123, 86, .22);
    border-top: .25rem solid var(--homepm-forest);
    border-radius: .5rem;
    background: rgba(255, 253, 248, .88);
    box-shadow: var(--homepm-shadow);
}

.funding-bucket-card.is-over {
    border-top-color: var(--homepm-copper);
}

.funding-bucket-card-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: .75rem;
}

.funding-bucket-card-heading h3 {
    margin: 0;
    font-size: 1.05rem;
}

.funding-bucket-card-heading span,
.funding-bucket-note {
    color: var(--homepm-muted);
    font-size: .82rem;
    font-weight: 700;
}

.funding-meter,
.meter {
    height: .55rem;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(36, 57, 37, .1);
}

.funding-meter span,
.meter span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--homepm-forest), var(--homepm-copper));
}

.funding-bucket-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .55rem;
    margin: 0;
}

.funding-bucket-stats div {
    min-width: 0;
}

.funding-bucket-stats dt {
    color: var(--homepm-muted);
    font-size: .72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.funding-bucket-stats dd {
    margin: 0;
    color: var(--homepm-forest);
    font-weight: 900;
    overflow-wrap: anywhere;
}

.funding-scenario-shell {
    display: grid;
    gap: 1rem;
}

.funding-scenario-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(5rem, auto) minmax(20rem, auto);
    gap: .85rem;
    align-items: center;
    padding: .85rem;
    border: 1px solid rgba(36, 57, 37, .12);
    border-radius: .5rem;
    background: rgba(255, 253, 248, .82);
}

.funding-scenario-list.is-compact .funding-scenario-row {
    grid-template-columns: minmax(0, 1fr) minmax(5rem, auto);
}

.funding-scenario-list.is-compact .funding-scenario-controls {
    grid-column: 1 / -1;
}

.funding-scenario-controls {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .4rem;
}

.funding-scenario-choice {
    display: inline-flex;
    align-items: center;
    min-height: 2.15rem;
    padding: .25rem .65rem;
    border: 1px solid rgba(36, 57, 37, .2);
    border-radius: 999px;
    color: var(--homepm-forest);
    background: rgba(255, 253, 248, .82);
    font: inherit;
    font-size: .78rem;
    font-weight: 900;
    cursor: pointer;
}

.funding-scenario-choice.is-selected,
.funding-scenario-choice[aria-pressed="true"] {
    color: var(--homepm-parchment-light);
    background: var(--homepm-forest);
    border-color: var(--homepm-forest);
}

.funding-scenario-choice:focus-visible {
    outline: 2px solid rgba(201, 158, 103, .7);
    outline-offset: 2px;
}

.budget-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
    gap: .75rem;
    margin-bottom: 1rem;
}

.budget-bucket-card,
.budget-pipeline-group,
.budget-receipt-callout,
.budget-planning-grid a {
    min-width: 0;
    border: 1px solid rgba(109, 123, 86, .22);
    border-radius: .5rem;
    background: rgba(255, 253, 248, .86);
    box-shadow: 0 .55rem 1.4rem rgba(36, 57, 37, .08);
}

.budget-bucket-card header span,
.budget-fact-grid dt,
.budget-pipeline-group header span,
.budget-pipeline-money dt,
.budget-receipt-callout span,
.budget-warning-list span,
.budget-warning-list small,
.budget-planning-grid span {
    color: var(--homepm-muted);
    font-size: .74rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.term-help {
    position: relative;
    display: inline-flex;
    align-items: center;
    width: fit-content;
    border-bottom: 1px dotted currentColor;
    cursor: help;
    outline: none;
}

.term-help::after {
    position: absolute;
    left: 0;
    bottom: calc(100% + .45rem);
    z-index: 30;
    width: min(18rem, 78vw);
    padding: .5rem .6rem;
    color: var(--homepm-white);
    background: var(--homepm-forest);
    border-radius: .375rem;
    box-shadow: 0 .55rem 1.25rem rgba(36, 57, 37, .18);
    content: attr(data-help);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.3;
    opacity: 0;
    pointer-events: none;
    text-transform: none;
    transform: translateY(.2rem);
    transition: opacity .12s ease, transform .12s ease;
}

.term-help:hover::after,
.term-help:focus-visible::after {
    opacity: 1;
    transform: translateY(0);
}

.chart-panel {
    display: grid;
    grid-template-columns: minmax(13rem, .6fr) minmax(16rem, 1fr);
    gap: 1rem;
    align-items: center;
    min-width: 0;
    padding: 1rem;
    border: 1px solid rgba(109, 123, 86, .22);
    border-radius: .5rem;
    background: rgba(255, 253, 248, .86);
    box-shadow: 0 .55rem 1.4rem rgba(36, 57, 37, .08);
}

.chart-panel--featured {
    grid-template-columns: 1fr;
    border-top: .25rem solid var(--homepm-forest);
}

.analytics-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(18rem, 1fr);
    gap: 1rem;
    align-items: start;
}

.analytics-main {
    display: grid;
    gap: 1rem;
    min-width: 0;
}

.analytics-main > .budget-two-column {
    width: 100%;
    margin-inline: 0;
}

.chart-rail {
    display: grid;
    align-content: start;
    gap: 1rem;
    min-width: 0;
}

.chart-rail-panel-body {
    display: grid;
    gap: 1rem;
}

.chart-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .55rem;
    margin-bottom: .75rem;
}

.chart-stat-grid div {
    min-width: 0;
    padding: .6rem;
    border: 1px solid rgba(36, 57, 37, .12);
    border-radius: .45rem;
    background: rgba(255, 253, 248, .74);
}

.chart-stat-grid span {
    display: block;
    color: var(--homepm-muted);
    font-size: .7rem;
    font-weight: 900;
    text-transform: uppercase;
}

.chart-stat-grid strong {
    display: block;
    margin-top: .15rem;
    color: var(--homepm-forest);
    font-size: 1.05rem;
    overflow-wrap: anywhere;
}

.bar-chart {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(3.1rem, 1fr));
    gap: .45rem;
    align-items: end;
    max-height: 15rem;
    min-height: 12rem;
    padding: .65rem;
    overflow: hidden;
    border: 1px solid rgba(36, 57, 37, .12);
    border-radius: .45rem;
    background:
        linear-gradient(180deg, rgba(177, 182, 159, .12), transparent),
        rgba(255, 253, 248, .72);
}

.bar-chart-item {
    display: grid;
    align-items: end;
    gap: .3rem;
    min-width: 0;
    height: 100%;
}

.bar-chart-track {
    position: relative;
    height: 8.25rem;
    overflow: hidden;
    border: 1px solid rgba(36, 57, 37, .14);
    border-radius: .35rem .35rem .2rem .2rem;
    background: rgba(177, 182, 159, .34);
}

.bar-chart-track span {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    min-height: .2rem;
    background: linear-gradient(180deg, var(--homepm-copper), var(--homepm-gold));
}

.bar-chart-item strong,
.bar-chart-item small {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: center;
}

.bar-chart-item strong {
    color: var(--homepm-forest);
    font-size: .72rem;
}

.bar-chart-item small {
    color: var(--homepm-muted);
    font-size: .66rem;
    font-weight: 800;
}

.chart-legend {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: .75rem;
    color: var(--homepm-muted);
    font-size: .78rem;
    font-weight: 800;
}

.chart-legend span {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}

.legend-swatch,
.chart-donut-legend i {
    display: inline-block;
    width: .85rem;
    height: .85rem;
    border-radius: 999px;
    flex: 0 0 auto;
}

.legend-swatch--budget {
    background: var(--homepm-sage);
}

.legend-swatch--consumed {
    background: var(--homepm-copper);
}

.legend-swatch--expected {
    background: var(--homepm-gold);
}

.legend-swatch--available {
    background: var(--homepm-olive);
}

.legend-swatch--buffer {
    background: var(--homepm-sage);
}

.budget-visual-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.chart-rail .chart-panel {
    grid-template-columns: 1fr;
}

.chart-rail .chart-donut {
    justify-self: end;
}

.chart-panel h3 {
    margin: 0 0 .25rem;
    font-size: 1rem;
}

.chart-donut-layout {
    display: grid;
    grid-template-columns: minmax(7.25rem, 9rem) minmax(0, 1fr);
    gap: .9rem;
    align-items: center;
}

.chart-donut {
    width: min(9rem, 42vw);
    aspect-ratio: 1;
    border-radius: 50%;
    border: 1px solid rgba(36, 57, 37, .14);
    box-shadow: inset 0 0 0 .7rem rgba(255, 253, 248, .72), 0 .65rem 1.4rem rgba(36, 57, 37, .1);
}

.chart-donut-legend {
    display: grid;
    gap: .4rem;
    min-width: 0;
}

.chart-donut-legend span {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: .55rem;
    min-width: 0;
    color: var(--homepm-muted);
    font-size: .78rem;
    font-weight: 800;
}

.chart-donut-legend em {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-style: normal;
}

.chart-donut-legend strong {
    color: var(--homepm-forest);
    flex: 0 0 auto;
}

.budget-bucket-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(13.5rem, 1fr));
    gap: 1rem;
}

.budget-bucket-card {
    display: grid;
    gap: .85rem;
    padding: 1rem;
    border-top: .25rem solid var(--homepm-forest);
}

.budget-bucket-card.is-warning {
    border-top-color: var(--homepm-copper);
}

.budget-bucket-card header,
.budget-pipeline-group header,
.budget-pipeline-card-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: .75rem;
}

.budget-bucket-card h3,
.budget-pipeline-group h3 {
    margin: 0;
    font-size: 1.05rem;
}

.budget-bucket-card header strong {
    color: var(--homepm-copper);
    font-size: .78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.budget-fact-grid,
.budget-pipeline-money {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .55rem;
    margin: 0;
}

.budget-fact-grid div,
.budget-pipeline-money div {
    min-width: 0;
}

.budget-fact-grid dd,
.budget-pipeline-money dd {
    margin: 0;
    color: var(--homepm-forest);
    font-weight: 900;
    overflow-wrap: anywhere;
}

.budget-pipeline-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    align-items: start;
}

.budget-pipeline-group {
    display: grid;
    gap: .75rem;
    padding: 1rem;
}

.budget-pipeline-list,
.budget-list,
.budget-warning-list {
    display: grid;
    gap: .65rem;
}

.budget-pipeline-card,
.budget-list a,
.budget-warning-list a,
.budget-planning-grid a {
    min-width: 0;
    color: var(--homepm-ink);
    text-decoration: none;
}

.budget-pipeline-card {
    display: grid;
    gap: .65rem;
    padding: .8rem;
    border: 1px solid rgba(36, 57, 37, .12);
    border-radius: .45rem;
    background: rgba(255, 253, 248, .78);
}

.budget-pipeline-card:hover,
.budget-list a:hover,
.budget-warning-list a:hover,
.budget-planning-grid a:hover {
    color: var(--homepm-copper);
    border-color: rgba(196, 122, 74, .28);
    background: rgba(196, 122, 74, .08);
}

.budget-pipeline-card-heading span,
.budget-list a span {
    display: grid;
    min-width: 0;
    gap: .12rem;
}

.budget-pipeline-card summary {
    cursor: pointer;
    list-style: none;
}

.budget-pipeline-card summary::-webkit-details-marker {
    display: none;
}

.budget-pipeline-card summary::after {
    content: "+";
    flex: 0 0 auto;
    color: var(--homepm-muted);
    font-weight: 900;
}

.budget-pipeline-card[open] summary::after {
    content: "-";
}

.budget-pipeline-details {
    display: grid;
    min-width: 0;
    gap: .55rem;
}

.budget-pipeline-details > a {
    color: var(--homepm-forest);
    font-size: .82rem;
    font-weight: 900;
    text-decoration: none;
}

.budget-pipeline-details > a:hover {
    color: var(--homepm-copper);
}

.budget-pipeline-card-heading strong,
.budget-pipeline-card-heading small,
.budget-list strong,
.budget-list small,
.budget-warning-list strong,
.budget-warning-list small,
.budget-planning-grid strong,
.budget-planning-grid span {
    overflow-wrap: anywhere;
}

.budget-pipeline-card-heading b,
.budget-list b {
    flex: 0 0 auto;
    color: var(--homepm-forest);
}

.budget-pipeline-card-heading {
    flex-wrap: wrap;
}

.budget-pipeline-card-heading b {
    min-width: 0;
    text-align: right;
    overflow-wrap: anywhere;
}

@media (max-width: 1320px) {
    .budget-pipeline-card-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .budget-pipeline-card-heading b {
        text-align: left;
    }
}

.budget-two-column {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    align-items: start;
}

.budget-receipt-callout {
    display: grid;
    gap: .2rem;
    margin-bottom: 1rem;
    padding: .9rem;
    border-left: .3rem solid var(--homepm-sage);
}

.budget-receipt-callout.is-warning {
    border-left-color: var(--homepm-copper);
    background: rgba(241, 216, 201, .38);
}

.budget-receipt-callout strong {
    color: var(--homepm-forest);
    font-size: 1.05rem;
}

.budget-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .85rem;
    padding: .7rem;
    border: 1px solid rgba(36, 57, 37, .12);
    border-radius: .45rem;
    background: rgba(255, 253, 248, .78);
}

.budget-list small {
    color: var(--homepm-muted);
    font-size: .78rem;
    font-weight: 700;
}

.budget-warning-list a {
    display: grid;
    gap: .15rem;
    padding: .85rem;
    border: 1px solid rgba(36, 57, 37, .12);
    border-left: .3rem solid var(--homepm-sage);
    border-radius: .45rem;
    background: rgba(255, 253, 248, .82);
}

.budget-warning-list a.is-review {
    border-left-color: var(--homepm-copper);
    background: rgba(241, 216, 201, .36);
}

.budget-warning-list a.is-cleanup {
    border-left-color: var(--homepm-gold);
}

.budget-warning-list strong {
    color: var(--homepm-forest);
}

.budget-planning-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .85rem;
}

.budget-planning-grid a {
    display: grid;
    align-content: start;
    gap: .35rem;
    padding: 1rem;
}

.budget-planning-grid strong {
    color: var(--homepm-forest);
}

.is-over-budget {
    color: var(--homepm-copper) !important;
}

.is-under-budget {
    color: var(--homepm-forest) !important;
}

.btn-icon-note {
    width: 2rem;
    height: 2rem;
    padding: 0;
    border-radius: 999px;
}

.promotion-summary .app-icon {
    width: .95rem;
    height: .95rem;
}

.promotion-summary {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    min-width: 0;
    padding: .7rem;
    border: 1px solid rgba(201, 158, 103, .24);
    border-radius: .45rem;
    background: rgba(255, 249, 174, .22);
}

.promotion-choice-group {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .6rem;
    margin-bottom: .8rem;
}

.promotion-choice {
    display: grid;
    grid-template-columns: 2rem minmax(0, 1fr);
    gap: .55rem;
    align-items: start;
    min-height: 5rem;
    padding: .8rem;
    text-align: left;
    color: var(--homepm-forest);
    background: rgba(255, 253, 245, .92);
    border: 1px solid rgba(36, 57, 37, .16);
    border-radius: .45rem;
}

.promotion-choice:hover,
.promotion-choice.is-active {
    color: var(--homepm-forest);
    background: rgba(223, 232, 206, .86);
    border-color: rgba(36, 57, 37, .38);
    box-shadow: inset 0 0 0 2px rgba(79, 115, 115, .18);
}

.promotion-choice .app-icon {
    width: 1.25rem;
    height: 1.25rem;
    margin-top: .15rem;
}

.promotion-choice strong,
.promotion-choice small {
    display: block;
    min-width: 0;
}

.promotion-choice strong {
    font-weight: 900;
}

.promotion-choice small {
    margin-top: .18rem;
    color: rgba(36, 57, 37, .72);
    font-weight: 700;
    line-height: 1.35;
}

@media (max-width: 700px) {
    .promotion-choice-group {
        grid-template-columns: 1fr;
    }
}

.dashboard-panel p,
.empty-state p,
.signin-panel p {
    line-height: 1.65;
}

.empty-state,
.auth-panel,
.signin-panel {
    max-width: 42rem;
}

.paper-sheet {
    border-radius: .25rem;
}

.paper-sheet {
    padding: .75rem;
    width: 100%;
}

.paper-sheet .job-list-row,
.paper-sheet .person-list-row,
.paper-sheet .bid-list-row,
.paper-sheet .task-list-row,
.paper-sheet .event-list-row {
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.paper-sheet .job-list-row:nth-child(even),
.paper-sheet .person-list-row:nth-child(even),
.paper-sheet .bid-list-row:nth-child(even),
.paper-sheet .task-list-row:nth-child(even),
.paper-sheet .event-list-row:nth-child(even) {
    background: rgba(92, 111, 74, .09);
}

.job-list,
.person-list,
.bid-list,
.task-list,
.event-list {
    display: grid;
    gap: .75rem;
}

.job-list-row,
.person-list-row,
.bid-list-row,
.task-list-row,
.event-list-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 253, 248, .9);
    border: 1px solid var(--homepm-border);
    border-radius: .5rem;
    box-shadow: 0 .35rem 1rem rgba(36, 57, 37, .08);
}

.job-list-row > div,
.person-list-row > div,
.bid-list-row > div,
.task-list-row > div,
.event-list-row > div {
    min-width: 0;
}

.bid-list-row.is-expiring,
.task-list-row.is-expiring,
.task-list-row.is-overdue,
.event-list-row.is-overdue,
.event-list-row.is-expiring {
    border-color: rgba(196, 122, 74, .58);
    border-left: .3rem solid var(--homepm-copper);
}

.task-list-row.is-overdue,
.event-list-row.is-overdue {
    background: rgba(196, 122, 74, .08);
}

.event-list-row.is-done {
    opacity: .78;
}

.job-title-link {
    color: var(--homepm-forest);
    font-size: 1.05rem;
    font-weight: 800;
    text-decoration: none;
}

.job-title-link:hover,
.job-card:hover {
    color: var(--homepm-copper);
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: .35rem;
    color: var(--homepm-muted);
    font-size: .9rem;
}

.job-meta span {
    padding-right: .5rem;
    border-right: 1px solid var(--homepm-border);
}

.job-meta span:last-child {
    border-right: 0;
}

.job-row-actions,
.person-row-status,
.bid-row-actions,
.job-heading-actions,
.job-form-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem;
}

.job-cost {
    min-width: 7rem;
    color: var(--homepm-muted);
    font-weight: 700;
    text-align: right;
}

.work-command-center .panel-body {
    display: grid;
    grid-template-columns: minmax(18rem, .85fr) minmax(0, 1.6fr);
    gap: 1rem;
    align-items: stretch;
}

.work-command-copy {
    display: grid;
    align-content: center;
    gap: .65rem;
    min-width: 0;
}

.work-command-copy h2,
.work-command-copy p {
    margin: 0;
}

.work-intelligence-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr));
    gap: .75rem;
    min-width: 0;
}

.work-intelligence-tile,
.work-stage-tile {
    display: grid;
    min-width: 0;
    align-content: start;
    gap: .35rem;
    padding: .9rem;
    color: var(--homepm-ink);
    text-decoration: none;
    background: rgba(255, 253, 248, .86);
    border: 1px solid rgba(36, 57, 37, .12);
    border-left: .25rem solid var(--homepm-sage);
    border-radius: .45rem;
    box-shadow: 0 .3rem .9rem rgba(36, 57, 37, .08);
}

.work-intelligence-tile:hover,
.work-stage-tile:hover {
    color: var(--homepm-forest);
    border-left-color: var(--homepm-copper);
    transform: translateY(-1px);
}

.work-intelligence-tile .app-icon {
    width: 1.15rem;
    height: 1.15rem;
    color: var(--homepm-copper);
}

.work-intelligence-tile strong {
    color: var(--homepm-forest);
    font-size: 1.8rem;
    line-height: 1;
}

.work-intelligence-tile span,
.work-stage-tile strong {
    font-weight: 900;
}

.work-intelligence-tile small,
.work-stage-tile small {
    color: var(--homepm-muted);
    font-size: .82rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.work-intelligence-tile.is-action,
.work-stage-tile.is-critical {
    border-left-color: var(--homepm-copper);
}

.work-intelligence-tile.is-cross-section {
    border-left-color: #5C6F4A;
}

.work-intelligence-tile.is-waiting,
.work-stage-tile.is-active {
    border-left-color: var(--homepm-forest);
}

.work-intelligence-tile.is-bid,
.work-stage-tile.is-ready {
    border-left-color: #486C7D;
}

.work-intelligence-tile.is-task,
.work-stage-tile.is-planning {
    border-left-color: #C6923E;
}

.work-stage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
    gap: .75rem;
}

.work-stage-count {
    display: inline-grid;
    width: 2rem;
    height: 2rem;
    place-items: center;
    color: var(--homepm-white);
    background: var(--homepm-sage);
    border-radius: 999px;
    font-weight: 900;
}

.jobs-page .jobs-board {
    padding: 1rem;
    background:
        linear-gradient(90deg, rgba(72, 96, 108, .08) 1px, transparent 1px),
        linear-gradient(180deg, rgba(72, 96, 108, .08) 1px, transparent 1px),
        rgba(255, 253, 248, .78);
    background-size: 1.15rem 1.15rem;
    border: 1px solid rgba(72, 96, 108, .14);
    border-radius: .5rem;
}

.job-card-task-count {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    width: fit-content;
    padding: .18rem .45rem;
    color: var(--homepm-forest) !important;
    background: rgba(177, 182, 159, .18);
    border: 1px solid rgba(92, 111, 74, .2);
    border-radius: 999px;
    font-weight: 800;
}

.job-card-task-count .app-icon {
    width: .82rem;
    height: .82rem;
}

.jobs-board {
    display: grid;
    grid-template-columns: repeat(6, minmax(14.5rem, 1fr));
    align-items: start;
    gap: .75rem;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    overflow-y: visible;
    padding-bottom: .5rem;
    scroll-padding-inline: .75rem;
    -webkit-overflow-scrolling: touch;
}

.jobs-board-column {
    min-width: 0;
    min-height: clamp(14rem, 46vh, 28rem);
    max-height: calc(100vh - 15rem);
    overflow-y: auto;
    padding: .75rem;
    background: rgba(255, 253, 248, .74);
    border: 1px solid var(--homepm-border);
    border-radius: .5rem;
    transition: background-color .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.jobs-board-column.is-drop-target {
    background: rgba(201, 158, 103, .14);
    border-color: var(--homepm-copper);
    box-shadow: inset 0 0 0 .12rem rgba(201, 158, 103, .24);
}

.jobs-board-header {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    margin-bottom: .75rem;
    padding: .1rem .1rem .55rem;
    background: linear-gradient(180deg, rgba(255, 253, 248, .98), rgba(255, 253, 248, .88));
    border-bottom: 1px solid rgba(36, 57, 37, .1);
    backdrop-filter: blur(8px);
}

.jobs-board-header h3,
.related-panel h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
}

.jobs-board-header span {
    display: grid;
    min-width: 1.75rem;
    height: 1.75rem;
    place-items: center;
    color: var(--homepm-white);
    background: var(--homepm-sage);
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 800;
}

.job-card {
    display: grid;
    min-width: 0;
    gap: .25rem;
    margin-bottom: .65rem;
    padding: .75rem;
    color: var(--homepm-ink);
    text-decoration: none;
    background: var(--homepm-white);
    border: 1px solid rgba(201, 158, 103, .45);
    border-left: .3rem solid var(--homepm-copper);
    border-radius: .45rem;
    cursor: grab;
    transition: opacity .16s ease, transform .16s ease, box-shadow .16s ease;
}

.job-card strong,
.job-card span,
.job-card small {
    overflow-wrap: anywhere;
}

.job-card:active {
    cursor: grabbing;
}

.job-card.is-dragging {
    opacity: .45;
    transform: rotate(.5deg);
    box-shadow: 0 .8rem 1.5rem rgba(36, 57, 37, .18);
}

.job-card span,
.job-card small {
    color: var(--homepm-muted);
}

.job-card-priority {
    font-size: .82rem;
    font-weight: 800;
    text-transform: uppercase;
}

.job-card-person,
.verification-icons {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}

.verification-icons {
    flex-wrap: nowrap;
}

.verification-icon {
    display: inline-grid;
    width: 1.35rem;
    height: 1.35rem;
    place-items: center;
    color: var(--hpm-black);
    background: rgba(196, 122, 74, .14);
    border: 1px solid rgba(196, 122, 74, .34);
    border-radius: 999px;
    font-size: .7rem;
    font-weight: 900;
    line-height: 1;
}

.verification-icon.is-verified {
    color: var(--homepm-forest);
    background: rgba(92, 111, 74, .16);
    border-color: rgba(92, 111, 74, .3);
}

.work-order-sheet {
    display: grid;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
    padding: clamp(1rem, 2.4vw, 1.75rem);
    color: #1F2620;
    background: #fff;
    border: 2px solid rgba(31, 38, 32, .86);
    border-radius: .18rem;
    box-shadow: 0 .55rem 1.4rem rgba(36, 57, 37, .12);
}

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

.work-order-kicker {
    display: inline-flex;
    margin-bottom: .35rem;
    color: var(--homepm-muted);
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.work-order-topline h2 {
    margin: 0;
    color: #141A15;
    font-size: clamp(1.65rem, 2.8vw, 2.45rem);
    font-weight: 900;
}

.work-order-topline p {
    max-width: 58rem;
    margin: .35rem 0 0;
    color: var(--homepm-muted);
    overflow-wrap: anywhere;
}

.work-order-number {
    display: grid;
    justify-items: end;
    gap: .25rem;
    min-width: 10rem;
    padding: .75rem;
    border: 1px solid rgba(31, 38, 32, .22);
    background: rgba(238, 240, 236, .72);
    text-align: right;
}

.work-order-number .app-icon {
    width: 1.25rem;
    height: 1.25rem;
}

.work-order-number strong {
    font-size: 1.1rem;
    font-weight: 900;
}

.work-order-number span {
    color: var(--homepm-muted);
    font-size: .82rem;
    font-weight: 800;
}

.work-order-block-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.5rem;
}

.work-order-block,
.work-order-table-block {
    min-width: 0;
}

.work-order-block h3,
.work-order-table-block h3 {
    margin: 0 0 .55rem;
    padding: .35rem .6rem;
    color: #141A15;
    background: #ECEFED;
    font-size: .95rem;
    font-weight: 900;
    text-transform: uppercase;
}

.work-order-table-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    min-width: 0;
    margin-bottom: .55rem;
}

.work-order-table-heading h3 {
    flex: 1;
    margin: 0;
}

.work-order-action-col {
    width: 4rem;
}

.work-order-actions {
    text-align: center;
}

.work-order-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.work-order-lines {
    display: grid;
    gap: .35rem;
    margin: 0;
}

.work-order-lines div {
    display: grid;
    grid-template-columns: minmax(6rem, .42fr) minmax(0, 1fr);
    gap: .45rem;
    align-items: end;
    min-width: 0;
    border-bottom: 1px solid rgba(31, 38, 32, .42);
}

.work-order-lines dt,
.work-order-lines dd {
    min-width: 0;
    margin: 0;
    overflow-wrap: anywhere;
}

.work-order-lines dt {
    color: #141A15;
    font-size: .78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.work-order-lines dd {
    color: #1F2620;
    font-weight: 700;
}

.work-order-table-grid {
    display: grid;
    gap: 1rem;
}

.work-order-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.work-order-table th,
.work-order-table td {
    padding: .55rem;
    border: 1px solid rgba(31, 38, 32, .74);
    vertical-align: top;
    overflow-wrap: anywhere;
}

.work-order-table th {
    background: #ECEFED;
    color: #141A15;
    font-size: .82rem;
    font-weight: 900;
    text-transform: uppercase;
}

.job-detail-tabs {
    display: grid;
    gap: 0;
    min-width: 0;
}

.job-detail-tab-list {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: .35rem;
    min-width: 0;
    border-bottom: 2px solid rgba(31, 38, 32, .82);
}

.job-detail-tab {
    min-height: 2.45rem;
    min-width: 8.25rem;
    padding: .55rem .85rem;
    color: var(--homepm-forest);
    background: rgba(177, 182, 159, .24);
    border: 1px solid rgba(31, 38, 32, .38);
    border-bottom: 0;
    border-radius: .16rem .16rem 0 0;
    font-weight: 900;
    text-align: left;
}

.job-detail-tab:hover,
.job-detail-tab:focus {
    color: var(--homepm-copper);
    background: rgba(255, 253, 248, .92);
}

.job-detail-tab.is-active {
    color: #141A15;
    background: #fff;
    border-color: rgba(31, 38, 32, .82);
    box-shadow: 0 2px 0 #fff;
    transform: translateY(2px);
}

.job-detail-tab-panel {
    min-width: 0;
    padding: .85rem;
    background: #fff;
    border: 2px solid rgba(31, 38, 32, .82);
    border-top: 0;
}

.job-tab-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    min-width: 0;
    margin-bottom: .85rem;
}

.job-tab-toolbar > div {
    display: grid;
    gap: .15rem;
    min-width: 0;
}

.job-tab-toolbar h3 {
    margin: 0;
    color: #141A15;
    font-size: 1rem;
    font-weight: 900;
    text-transform: uppercase;
}

.job-tab-toolbar span {
    color: var(--homepm-muted);
    font-size: .82rem;
    font-weight: 800;
}

.job-detail-tab-panel .paper-sheet {
    margin: 0;
}

.job-detail-tab-panel .empty-state {
    margin: 0;
}

.job-detail-tab-panel .activity-feed-panel-compact {
    margin: 0;
    padding: 0;
    border-top: 0;
    background: transparent;
}

.job-detail-tab-panel .activity-feed-panel-compact .panel-header,
.job-detail-tab-panel .activity-feed-panel-compact .panel-body {
    padding: 0;
}

.job-detail-tab-panel .activity-feed-panel-compact .panel-header {
    margin-bottom: .85rem;
}

.job-detail-tab-panel .supporting-info-panel-compact {
    margin: 0;
    padding: 0;
    border-top: 0;
    background: transparent;
}

.work-order-signoff {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(16rem, .75fr);
    gap: 1rem;
    align-items: end;
}

.work-order-signoff p {
    margin: 0;
    color: #1F2620;
    line-height: 1.45;
}

.work-order-signature-grid {
    display: grid;
    gap: .85rem;
}

.work-order-signature-grid div {
    display: grid;
    gap: .25rem;
}

.work-order-signature-grid strong {
    font-size: .82rem;
    font-weight: 900;
    text-transform: uppercase;
}

.work-order-signature-grid span {
    min-height: 1.8rem;
    border-bottom: 2px solid rgba(35, 111, 184, .85);
    color: var(--homepm-muted);
    font-weight: 700;
    overflow-wrap: anywhere;
}

.job-detail-summary,
.person-contact-grid,
.related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.presence-stack {
    position: fixed;
    right: 1.25rem;
    bottom: 4.5rem;
    z-index: 1030;
    display: flex;
    align-items: center;
    min-width: 3rem;
    min-height: 3rem;
}

.presence-avatar {
    position: absolute;
    right: calc(var(--presence-index) * 1.35rem);
    bottom: 0;
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    max-width: 2.6rem;
    min-height: 2.6rem;
    padding: .2rem;
    color: var(--homepm-white);
    background: var(--homepm-forest);
    border: 2px solid var(--homepm-white);
    border-radius: 999px;
    box-shadow: 0 .45rem 1rem rgba(36, 57, 37, .22);
    overflow: hidden;
    text-decoration: none;
    transition: right .16s ease, max-width .16s ease, padding .16s ease, background-color .16s ease;
}

.presence-avatar span {
    display: inline-grid;
    width: 2rem;
    height: 2rem;
    flex: 0 0 2rem;
    place-items: center;
    font-size: .78rem;
    font-weight: 900;
}

.presence-avatar strong {
    padding-right: .55rem;
    color: var(--homepm-white);
    font-size: .82rem;
    white-space: nowrap;
}

.presence-stack:hover .presence-avatar,
.presence-avatar:focus {
    right: calc(var(--presence-index) * 8.25rem);
    max-width: 12rem;
    padding-right: .45rem;
    background: var(--homepm-evergreen);
}

.member-summary {
    display: flex;
    align-items: center;
    gap: .75rem;
}

.member-avatar {
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid rgba(36, 57, 37, .18);
    border-radius: 50%;
    object-fit: cover;
    background: var(--homepm-sage);
}

.job-detail-summary > div,
.person-contact-grid > div,
.related-panel {
    padding: 1rem;
    background: rgba(255, 253, 248, .72);
    border: 1px solid rgba(201, 158, 103, .36);
    border-radius: .45rem;
}

.detail-label {
    display: block;
    margin-bottom: .3rem;
    color: var(--homepm-muted);
    font-size: .82rem;
    font-weight: 800;
    text-transform: uppercase;
}

.job-form-actions {
    margin-top: 1.25rem;
}

.job-form-panel {
    max-width: 56rem;
}

.job-form {
    display: grid;
    gap: 1rem;
}

.job-form .form-control,
.job-form .form-select,
.task-filters .form-control,
.task-filters .form-select,
.job-filters .form-control,
.job-filters .form-select,
.bid-filters .form-control,
.bid-filters .form-select,
.expense-filters .form-control,
.expense-filters .form-select,
.event-filters .form-control,
.event-filters .form-select {
    min-width: 0;
    min-height: 2.8rem;
}

.job-form textarea.form-control {
    min-height: 8rem;
}

.form-check-input {
    border-color: rgba(36, 57, 37, .34);
}

.form-check-input:checked {
    background-color: var(--homepm-forest);
    border-color: var(--homepm-forest);
}

.verification-pill {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: .25rem .6rem;
    color: var(--homepm-muted);
    background: rgba(154, 150, 145, .14);
    border: 1px solid rgba(154, 150, 145, .28);
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.verification-pill.is-verified {
    color: var(--homepm-forest);
    background: rgba(92, 111, 74, .16);
    border-color: rgba(92, 111, 74, .26);
}

.collision-check-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .65rem 1rem;
    padding: .7rem;
    background: rgba(255, 253, 248, .68);
    border: 1px solid rgba(201, 158, 103, .28);
    border-radius: .45rem;
}

.person-related-list {
    display: grid;
    gap: .35rem;
}

.person-related-list a {
    color: var(--homepm-forest);
    font-weight: 800;
    text-decoration: none;
}

.person-related-list a.is-expiring-link {
    color: var(--homepm-copper);
}

.supporting-info-panel {
    margin-bottom: 1.25rem;
}

.supporting-info-panel-compact {
    padding: 1rem 1.25rem 1.25rem;
    border-top: 1px solid var(--homepm-border);
    background: rgba(255, 253, 248, .66);
}

.supporting-info-heading {
    margin-top: 0;
}

.supporting-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.supporting-info-column {
    display: grid;
    align-content: start;
    gap: .85rem;
    min-width: 0;
}

.supporting-info-column h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
}

.supporting-info-form {
    display: grid;
    gap: .65rem;
    padding: .85rem;
    background: rgba(255, 253, 248, .72);
    border: 1px solid rgba(201, 158, 103, .32);
    border-radius: .45rem;
}

.supporting-info-form textarea.form-control {
    min-height: 6rem;
}

.supporting-info-list {
    display: grid;
    gap: .6rem;
}

.supporting-info-attachment-list {
    gap: .7rem;
}

.supporting-info-item {
    display: grid;
    gap: .25rem;
    min-width: 0;
    padding: .75rem;
    background: rgba(255, 253, 248, .84);
    border: 1px solid rgba(36, 57, 37, .12);
    border-radius: .4rem;
}

.supporting-info-item p,
.supporting-info-item strong,
.supporting-info-item a,
.supporting-info-item small {
    overflow-wrap: anywhere;
}

.supporting-info-item p {
    margin: 0;
}

.supporting-info-item a {
    color: var(--homepm-forest);
    font-weight: 800;
    text-decoration: none;
}

.supporting-info-item a:hover {
    color: var(--homepm-copper);
}

.supporting-info-item small {
    color: var(--homepm-muted);
    font-size: .78rem;
    font-weight: 700;
}

.attachment-index-card {
    display: grid;
    grid-template-columns: 4.15rem minmax(0, 1fr);
    gap: .75rem;
    min-width: 0;
    padding: .7rem;
    border: 1px solid rgba(36, 57, 37, .12);
    border-radius: .45rem;
    background: rgba(255, 253, 248, .84);
}

.attachment-index-card-thumbnail {
    display: grid;
    place-items: center;
    width: 4.15rem;
    aspect-ratio: 8.5 / 11;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(36, 57, 37, .12);
    border-radius: .28rem;
    background:
        linear-gradient(rgba(36, 57, 37, .06) 1px, transparent 1px) 0 2.1rem / 100% .72rem,
        #fffdf8;
    color: var(--homepm-forest);
    cursor: pointer;
    box-shadow: 0 .35rem .8rem rgba(57, 45, 31, .08);
}

.attachment-index-card-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.attachment-index-card-thumbnail span {
    align-self: start;
    justify-self: stretch;
    padding: .38rem .3rem;
    background: rgba(177, 182, 159, .2);
    color: var(--homepm-muted);
    font-size: .56rem;
    font-weight: 900;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
}

.attachment-index-card-thumbnail strong {
    color: rgba(36, 57, 37, .34);
    font-size: 1.05rem;
    font-weight: 900;
}

.attachment-index-card-body {
    display: grid;
    align-content: start;
    gap: .25rem;
    min-width: 0;
}

.attachment-index-card-title {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--homepm-forest);
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.attachment-index-card-title:hover,
.attachment-index-card-title:focus {
    color: var(--homepm-copper);
}

.attachment-index-card-body strong,
.attachment-index-card-body p,
.attachment-index-card-body small {
    min-width: 0;
    margin: 0;
    overflow-wrap: anywhere;
}

.attachment-index-card-body small {
    color: var(--homepm-muted);
    font-size: .78rem;
    font-weight: 700;
}

.activity-feed-panel {
    margin-bottom: 1.25rem;
}

.activity-feed-panel-compact {
    padding: 1rem 1.25rem 1.25rem;
    border-top: 1px solid var(--homepm-border);
    background: rgba(255, 253, 248, .66);
}

.activity-feed-heading {
    margin-top: 0;
}

.activity-feed-list {
    display: grid;
    gap: .6rem;
}

.activity-feed-list a {
    display: grid;
    min-width: 0;
    gap: .18rem;
    padding: .75rem;
    color: var(--homepm-ink);
    text-decoration: none;
    background: rgba(255, 253, 248, .84);
    border: 1px solid rgba(36, 57, 37, .12);
    border-left: .28rem solid rgba(201, 158, 103, .75);
    border-radius: .4rem;
}

.activity-feed-list a:hover {
    color: var(--homepm-copper);
    background: rgba(196, 122, 74, .08);
    border-color: rgba(196, 122, 74, .2);
    border-left-color: var(--homepm-copper);
}

.activity-feed-list strong,
.activity-feed-list small,
.activity-feed-action {
    overflow-wrap: anywhere;
}

.activity-feed-action {
    color: var(--homepm-forest);
    font-size: .78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.activity-feed-list small {
    color: var(--homepm-muted);
    font-size: .78rem;
    font-weight: 700;
}

.activity-feed-count {
    display: inline-flex;
    align-items: center;
    min-height: 1.35rem;
    margin-left: .35rem;
    padding: .08rem .42rem;
    color: var(--homepm-forest);
    background: rgba(177, 182, 159, .22);
    border: 1px solid rgba(109, 123, 86, .2);
    border-radius: 999px;
    font-size: .7rem;
    font-weight: 900;
    white-space: nowrap;
}

.bid-comparison-wrap {
    overflow-x: auto;
    padding: 0;
}

.bid-comparison-table {
    width: 100%;
    min-width: 56rem;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
}

.bid-comparison-table th,
.bid-comparison-table td {
    width: 15rem;
    padding: .85rem;
    vertical-align: top;
    border-bottom: 1px solid var(--homepm-border);
    border-right: 1px solid rgba(36, 57, 37, .08);
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.bid-comparison-table th:first-child {
    position: sticky;
    left: 0;
    z-index: 2;
    width: 11rem;
    color: var(--homepm-forest);
    background: var(--homepm-white);
}

.bid-comparison-table thead th {
    background: rgba(177, 182, 159, .16);
}

.bid-comparison-table thead th:first-child {
    z-index: 3;
}

.bid-comparison-table thead th:not(:first-child) {
    display: table-cell;
}

.bid-comparison-table tbody th a:not(.btn),
.bid-comparison-table tbody th span,
.bid-comparison-table td small {
    display: block;
    margin-top: .35rem;
}

.bid-comparison-table .bid-row-actions {
    align-items: flex-start;
    justify-content: flex-start;
}

.bid-comparison-table .is-accepted {
    background: rgba(109, 123, 86, .12);
}

.bid-comparison-table .is-placeholder {
    color: var(--homepm-muted);
    background: rgba(255, 253, 248, .82);
}

.bid-award-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .75rem;
    margin-bottom: 1rem;
}

.bid-award-summary div {
    min-width: 0;
    padding: .75rem;
    border: 1px solid var(--homepm-border);
    border-radius: .45rem;
    background: rgba(255, 253, 248, .82);
}

.bid-summary {
    margin-top: .45rem;
    max-width: 52rem;
}

.signin-wrap {
    min-height: calc(100vh - 7.25rem);
    display: grid;
    align-items: center;
    position: relative;
}

.signin-panel {
    max-width: 32rem;
}

.signin-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--homepm-border);
}

.signin-brand img {
    width: 5rem;
    height: auto;
    filter: drop-shadow(0 .25rem .5rem rgba(36, 57, 37, .18));
}

.signin-brand .brand-wordmark {
    font-size: 2rem;
    line-height: 1;
}

.brand-tagline {
    margin-top: .35rem;
    color: var(--homepm-copper);
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.calendar-view-toolbar,
.calendar-month-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    align-items: center;
}

.calendar-view-toolbar {
    justify-content: space-between;
    margin-bottom: 1rem;
}

.calendar-range-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    justify-content: flex-end;
}

.calendar-filter-panel {
    display: grid;
    gap: .85rem;
    min-width: 0;
}

.calendar-overview-panel {
    gap: .85rem;
}

.calendar-filter-panel summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 2rem;
    padding: 0;
    color: var(--homepm-forest);
    cursor: pointer;
    list-style: none;
}

.calendar-filter-panel summary::-webkit-details-marker {
    display: none;
}

.calendar-filter-panel summary::after {
    content: "+";
    display: inline-grid;
    width: 1.8rem;
    height: 1.8rem;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid rgba(36, 57, 37, .22);
    border-radius: 50%;
    font-size: 1.1rem;
    font-weight: 900;
}

.calendar-filter-panel[open] summary::after {
    content: "-";
}

.calendar-filter-panel summary span {
    display: grid;
    gap: .15rem;
    min-width: 0;
}

.calendar-filter-panel summary strong,
.calendar-filter-panel summary small {
    overflow-wrap: anywhere;
}

.calendar-filter-panel summary strong {
    font-size: .95rem;
    font-weight: 900;
}

.calendar-filter-panel summary small {
    color: var(--homepm-muted);
    font-size: .78rem;
    font-weight: 800;
}

.calendar-filter-body {
    display: grid;
    gap: 1rem;
    padding: .85rem 0 0;
    border-top: 1px solid rgba(201, 158, 103, .28);
}

.calendar-overview-panel {
    gap: .55rem;
    padding: .75rem;
}

.calendar-filter-panel {
    gap: .5rem;
}

.calendar-filter-panel summary {
    min-height: 1.6rem;
}

.calendar-filter-panel summary strong {
    font-size: .84rem;
}

.calendar-filter-panel summary small {
    font-size: .72rem;
}

.calendar-filter-body {
    gap: .55rem;
    padding-top: .55rem;
}

.calendar-filter-form {
    font-size: .82rem;
}

.calendar-filter-form .form-label {
    margin-bottom: .15rem;
    font-size: .68rem;
    font-weight: 900;
    text-transform: uppercase;
}

.calendar-filter-form .form-control,
.calendar-filter-form .form-select {
    min-height: 2rem;
    padding-top: .25rem;
    padding-bottom: .25rem;
    font-size: .82rem;
}

.calendar-filter-form .btn {
    min-height: 2rem;
    padding: .25rem .55rem;
    font-size: .8rem;
}

.calendar-filter-form .form-check {
    min-height: 1.25rem;
    margin-bottom: .2rem !important;
    font-size: .78rem;
}

.calendar-view-tabs {
    justify-content: flex-start;
}

.view-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    min-height: 2.25rem;
    padding: .35rem .75rem;
    color: var(--homepm-forest);
    text-decoration: none;
    border: 1px solid rgba(36, 57, 37, .14);
    border-radius: .45rem;
    background: rgba(255, 253, 248, .74);
    font-size: .82rem;
    font-weight: 900;
}

.view-tab:hover,
.view-tab:focus,
.view-tab.is-active {
    color: var(--homepm-forest);
    border-color: rgba(109, 123, 86, .34);
    background: rgba(177, 182, 159, .22);
}

.calendar-add-dates {
    justify-content: flex-end;
}

.calendar-add-dates > span {
    color: var(--homepm-muted);
    font-size: .78rem;
    font-weight: 900;
    text-transform: uppercase;
    white-space: nowrap;
}

.calendar-at-a-glance {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: .65rem;
}

.calendar-at-a-glance .is-conflict {
    background: rgba(196, 122, 74, .1);
    border-color: rgba(196, 122, 74, .34);
}

.calendar-at-a-glance {
    gap: .4rem;
}

.calendar-at-a-glance .summary-tile {
    min-height: auto;
    padding: .45rem .55rem;
}

.calendar-at-a-glance .summary-label {
    font-size: .66rem;
}

.calendar-at-a-glance .summary-value {
    font-size: 1rem;
}

.view-tab .app-icon {
    width: 1rem;
    height: 1rem;
}

.caldav-setup-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 8.75rem;
    gap: 1rem;
    align-items: end;
}

.caldav-setup-qr {
    display: grid;
    gap: .45rem;
    justify-items: center;
}

.caldav-qr-code {
    display: block;
    width: 8.25rem;
    height: 8.25rem;
    border: 1px solid rgba(36, 57, 37, .14);
    border-radius: .35rem;
    background: #fff;
}

.calendar-sync-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.calendar-provider-picker {
    max-width: 34rem;
}

.calendar-provider-picker-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .5rem;
    align-items: center;
}

.household-share-code {
    font-family: var(--homepm-font-mono, "Cascadia Mono", Consolas, monospace);
    font-weight: 900;
    letter-spacing: 0;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(8.5rem, 1fr));
    gap: .45rem;
    overflow-x: auto;
    padding-bottom: .5rem;
}

.calendar-weekday {
    min-width: 8.5rem;
    padding: .35rem .5rem;
    color: var(--homepm-muted);
    font-size: .78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.calendar-day {
    display: grid;
    align-content: start;
    min-width: 8.5rem;
    min-height: 9rem;
    padding: .6rem;
    background: rgba(255, 253, 248, .78);
    border: 1px solid var(--homepm-border);
    border-radius: .45rem;
}

.calendar-day.is-outside-month {
    opacity: .54;
    background: rgba(220, 205, 186, .24);
}

.calendar-day.is-today {
    border-color: rgba(196, 122, 74, .55);
    box-shadow: inset 0 0 0 .12rem rgba(196, 122, 74, .14);
}

.calendar-day-number {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    margin-bottom: .5rem;
    color: var(--homepm-forest);
    font-weight: 900;
}

.calendar-day-number strong {
    color: var(--homepm-copper);
    font-size: .68rem;
    text-transform: uppercase;
}

.calendar-day-actions {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}

.calendar-day-add {
    opacity: 0;
    transform: translateY(-.1rem);
    pointer-events: none;
    transition: opacity .12s ease, transform .12s ease;
    white-space: nowrap;
}

.calendar-day:hover .calendar-day-add,
.calendar-day:focus-within .calendar-day-add {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.calendar-event-stack {
    display: grid;
    max-height: 6.9rem;
    gap: .32rem;
    overflow-y: auto;
    padding-right: .15rem;
    scrollbar-color: rgba(36, 57, 37, .28) transparent;
    scrollbar-width: thin;
}

.calendar-event-stack::-webkit-scrollbar {
    width: .35rem;
}

.calendar-event-stack::-webkit-scrollbar-thumb {
    background: rgba(36, 57, 37, .24);
    border-radius: 999px;
}

.calendar-event {
    display: grid;
    min-width: 0;
    gap: .06rem;
    padding: .38rem .45rem;
    color: var(--homepm-ink);
    text-decoration: none;
    background: rgba(92, 111, 74, .12);
    border: 1px solid rgba(92, 111, 74, .24);
    border-left: .25rem solid var(--homepm-forest);
    border-radius: .35rem;
}

.calendar-event:hover {
    color: var(--homepm-copper);
    background: rgba(196, 122, 74, .08);
    border-color: rgba(196, 122, 74, .24);
}

.calendar-event span,
.calendar-event small {
    overflow-wrap: anywhere;
}

.calendar-event span {
    font-size: .82rem;
    font-weight: 900;
}

.calendar-event small,
.calendar-more {
    color: var(--homepm-muted);
    font-size: .72rem;
    font-weight: 800;
}

.calendar-day-number > span:first-child,
.calendar-event,
.calendar-event span,
.calendar-event small {
    max-width: 100%;
    min-width: 0;
}

.calendar-day-number > span:first-child,
.calendar-event span,
.calendar-event small {
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.calendar-day-actions {
    flex: 0 0 auto;
}

.calendar-day-add {
    white-space: normal;
}

.calendar-week-grid {
    grid-template-columns: repeat(7, minmax(10.5rem, 1fr));
}

.calendar-week-grid .calendar-day {
    align-content: start;
    height: auto;
    min-height: 16rem;
}

.calendar-week-grid .calendar-event-stack {
    max-height: none;
    overflow: visible;
}

.calendar-day-view {
    --calendar-day-hour-height: 4.25rem;
    display: grid;
    min-width: 42rem;
    border: 1px solid rgba(109, 123, 86, .45);
    background: rgba(255, 253, 248, .78);
}

.calendar-day-view-header,
.calendar-day-all-day,
.calendar-day-timeline {
    display: grid;
    grid-template-columns: 4.5rem minmax(0, 1fr);
}

.calendar-day-view-header {
    border-bottom: 1px solid rgba(36, 57, 37, .12);
}

.calendar-day-time-gutter {
    padding: .6rem .75rem;
    color: var(--homepm-muted);
    font-size: .82rem;
    font-weight: 800;
    text-align: right;
}

.calendar-day-column-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .15rem .5rem;
    align-items: center;
    min-height: 4.75rem;
    padding: .7rem .75rem;
    border-left: 1px solid rgba(109, 123, 86, .35);
}

.calendar-day-column-heading strong {
    font-size: 1rem;
    overflow-wrap: anywhere;
}

.calendar-day-column-heading span {
    grid-column: 1;
    font-size: 1.15rem;
    font-weight: 900;
}

.calendar-day-heading-add {
    grid-column: 2;
    grid-row: 1 / span 2;
}

.calendar-day-all-day {
    border-bottom: 1px solid rgba(36, 57, 37, .18);
}

.calendar-day-all-day-items {
    display: grid;
    gap: .35rem;
    min-height: 3.25rem;
    padding: .45rem .75rem;
    border-left: 1px solid rgba(109, 123, 86, .35);
}

.calendar-day-time-rail {
    display: grid;
    grid-template-rows: repeat(var(--calendar-day-hour-count), var(--calendar-day-hour-height));
    border-right: 1px solid rgba(109, 123, 86, .35);
}

.calendar-day-hour-label {
    padding: .45rem .75rem 0 0;
    color: var(--homepm-ink);
    font-size: .82rem;
    text-align: right;
}

.calendar-day-time-grid {
    position: relative;
    display: grid;
    grid-template-rows: repeat(var(--calendar-day-hour-count), var(--calendar-day-hour-height));
    min-height: calc(var(--calendar-day-hour-count) * var(--calendar-day-hour-height));
    background:
        repeating-linear-gradient(
            to bottom,
            transparent 0,
            transparent calc((var(--calendar-day-hour-height) / 2) - 1px),
            rgba(36, 57, 37, .12) calc((var(--calendar-day-hour-height) / 2) - 1px),
            rgba(36, 57, 37, .12) calc(var(--calendar-day-hour-height) / 2),
            transparent calc(var(--calendar-day-hour-height) / 2),
            transparent calc(var(--calendar-day-hour-height) - 1px),
            rgba(36, 57, 37, .22) calc(var(--calendar-day-hour-height) - 1px),
            rgba(36, 57, 37, .22) var(--calendar-day-hour-height)
        );
}

.calendar-day-hour-line {
    min-height: var(--calendar-day-hour-height);
}

.calendar-day-timed-event {
    position: absolute;
    right: auto;
    z-index: 1;
    align-content: start;
    min-height: 2rem;
    overflow: hidden;
    background: rgba(177, 210, 142, .64);
    border-left-width: .32rem;
    cursor: grab;
    touch-action: none;
}

.calendar-day-resize-handle {
    position: absolute;
    left: .35rem;
    right: .35rem;
    z-index: 2;
    height: .45rem;
    cursor: ns-resize;
}

.calendar-day-resize-handle.is-top {
    top: 0;
}

.calendar-day-resize-handle.is-bottom {
    bottom: 0;
}

.calendar-day-resize-handle::after {
    content: "";
    position: absolute;
    left: 40%;
    right: 40%;
    top: .16rem;
    height: .1rem;
    border-radius: 999px;
    background: rgba(36, 57, 37, .28);
    opacity: 0;
}

.calendar-day-timed-event:hover .calendar-day-resize-handle::after,
.calendar-day-timed-event:focus .calendar-day-resize-handle::after {
    opacity: 1;
}

.calendar-day-timed-event.is-dragging {
    z-index: 4;
    cursor: grabbing;
    opacity: .92;
    box-shadow: 0 .35rem .85rem rgba(36, 57, 37, .18);
}

.calendar-day-timed-event.is-saving {
    opacity: .72;
}

.calendar-day-timed-event strong,
.calendar-day-timed-event span,
.calendar-day-timed-event small {
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.calendar-day-timed-event strong {
    font-size: .86rem;
}

.calendar-day-timed-event span,
.calendar-day-timed-event small {
    color: var(--homepm-ink);
    font-size: .78rem;
    font-weight: 700;
}

.calendar-day-empty {
    margin: .75rem;
}

.calendar-entry-source {
    color: var(--homepm-forest);
    text-transform: uppercase;
}

.calendar-event.is-milestone {
    background: rgba(201, 158, 103, .16);
    border-color: rgba(201, 158, 103, .32);
    border-left-color: var(--homepm-gold);
}

.calendar-event.is-category-money {
    background: rgba(198, 146, 62, .14);
    border-color: rgba(198, 146, 62, .32);
    border-left-color: var(--color-warning);
}

.calendar-event.is-category-homehealth {
    background: rgba(79, 115, 115, .12);
    border-color: rgba(79, 115, 115, .28);
    border-left-color: var(--color-info);
}

.calendar-event.is-category-personal {
    background: rgba(177, 182, 159, .18);
    border-color: rgba(109, 123, 86, .28);
    border-left-color: var(--homepm-sage);
}

.calendar-event.is-deadline {
    background: rgba(196, 122, 74, .1);
    border-color: rgba(196, 122, 74, .26);
    border-left-color: var(--homepm-copper);
}

.calendar-event.is-done {
    color: var(--homepm-muted);
    background: rgba(92, 111, 74, .08);
    border-color: rgba(92, 111, 74, .18);
    border-left-color: var(--homepm-sage);
}

.calendar-event.is-done span {
    text-decoration: line-through;
}

.calendar-event.is-past-due {
    background: rgba(196, 122, 74, .14);
    border-color: rgba(196, 122, 74, .38);
    border-left-color: var(--homepm-copper);
}

.calendar-event.is-canceled {
    color: var(--hpm-black);
    opacity: .75;
    text-decoration: line-through;
    background: rgba(196, 122, 74, .08);
    border-color: rgba(196, 122, 74, .2);
}

.calendar-day-schedule {
    max-width: 62rem;
}

.job-window-gantt {
    --job-window-header-height: 1.6rem;
    --job-window-row-height: 2.55rem;
    --job-window-row-gap: .55rem;
    display: grid;
    grid-template-columns: minmax(12rem, 18rem) minmax(0, 1fr);
    gap: .8rem;
    min-width: 0;
    padding: 1rem;
    background: rgba(255, 253, 248, .78);
    border: 1px solid var(--homepm-border);
    border-radius: .5rem;
}

.panel-body > .job-window-gantt {
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
}

.job-window-chart-scroll {
    min-width: 0;
    overflow-x: auto;
    scrollbar-color: rgba(36, 57, 37, .28) transparent;
    scrollbar-width: thin;
}

.job-window-chart-scroll::-webkit-scrollbar {
    height: .45rem;
}

.job-window-chart-scroll::-webkit-scrollbar-thumb {
    background: rgba(36, 57, 37, .24);
    border-radius: 999px;
}

.job-window-labels,
.job-window-gantt-canvas {
    display: grid;
    gap: var(--job-window-row-gap);
}

.job-window-labels {
    min-width: 0;
    padding-top: calc(var(--job-window-header-height) + var(--job-window-row-gap));
}

.job-window-gantt-canvas {
    position: relative;
    width: var(--job-window-gantt-width, 400%);
    min-width: 28rem;
}

.job-window-today-line {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 0;
    width: 2px;
    pointer-events: none;
    background: rgba(191, 121, 73, .42);
    box-shadow: 0 0 .45rem rgba(191, 121, 73, .28);
    transform: translateX(-50%);
}

.job-window-gantt-header,
.job-window-row {
    min-width: 0;
}

.job-window-gantt-header {
    position: relative;
    z-index: 1;
    height: var(--job-window-header-height);
    color: var(--homepm-muted);
    font-size: .72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.job-window-gantt-header > span {
    position: absolute;
    top: 0;
    transform: translateX(-50%);
    white-space: nowrap;
}

.job-window-row {
    position: relative;
    z-index: 1;
    height: var(--job-window-row-height);
}

.job-window-label {
    display: grid;
    gap: .15rem;
    align-content: center;
    min-width: 0;
    height: var(--job-window-row-height);
    color: var(--homepm-forest);
    text-decoration: none;
}

.job-window-label strong,
.job-window-label small,
.job-window-bar span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.job-window-label strong {
    font-size: .92rem;
    font-weight: 900;
}

.job-window-label small {
    color: var(--homepm-muted);
    font-size: .76rem;
    font-weight: 800;
}

.job-window-track {
    position: relative;
    height: var(--job-window-row-height);
    background:
        linear-gradient(90deg, rgba(201, 158, 103, .28) 1px, transparent 1px),
        rgba(220, 205, 186, .2);
    background-size: calc(100% / var(--job-window-grid-count, 6)) 100%;
    border: 1px solid rgba(201, 158, 103, .26);
    border-radius: .45rem;
}

.job-window-bar {
    position: absolute;
    top: .32rem;
    bottom: .32rem;
    display: flex;
    align-items: center;
    min-width: 1.2rem;
    padding: 0 .55rem;
    color: var(--homepm-white);
    text-decoration: none;
    background: var(--homepm-forest);
    border-radius: .35rem;
    box-shadow: 0 .35rem .8rem rgba(36, 57, 37, .16);
}

.job-window-bar:link,
.job-window-bar:visited,
.job-window-bar:hover,
.job-window-bar:active {
    color: var(--homepm-parchment-light);
}

.job-window-bar span {
    min-width: 0;
    overflow: hidden;
    font-size: .72rem;
    font-weight: 900;
    text-shadow: 0 1px 1px rgba(0, 0, 0, .32);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.job-window-row.is-overdue .job-window-bar {
    background: var(--homepm-copper);
}

.job-window-row.is-circle .job-window-bar,
.job-window-row.is-diamond .job-window-bar {
    top: 50%;
    bottom: auto;
    width: 1.2rem !important;
    height: 1.2rem;
    min-width: 1.2rem;
    padding: 0;
    transform: translate(-50%, -50%);
}

.job-window-row.is-circle .job-window-bar {
    border-radius: 999px;
}

.job-window-row.is-diamond .job-window-bar {
    border-radius: .22rem;
    transform: translate(-50%, -50%) rotate(45deg);
}

.job-window-row.is-milestone .job-window-bar {
    background: var(--homepm-gold);
}

.job-window-row.is-task .job-window-bar {
    background: var(--homepm-olive);
}

.job-window-row.is-circle .job-window-bar span:not(.job-window-resize-handle),
.job-window-row.is-diamond .job-window-bar span:not(.job-window-resize-handle) {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.job-window-row.is-circle .job-window-resize-handle,
.job-window-row.is-diamond .job-window-resize-handle,
.job-window-bar[data-gantt-can-resize="false"] .job-window-resize-handle {
    display: none;
}

.job-window-row.is-done,
.job-window-label.is-done {
    opacity: .74;
}

.job-window-row.is-done .job-window-bar {
    background: var(--homepm-olive);
}

.job-window-bar {
    cursor: grab;
}

.job-window-bar.is-dragging {
    cursor: grabbing;
    opacity: .88;
}

.job-window-resize-handle {
    position: absolute;
    top: .18rem;
    bottom: .18rem;
    width: .45rem;
    border-radius: .25rem;
    background: rgba(255, 253, 245, .68);
    cursor: ew-resize;
}

.job-window-resize-handle.is-left {
    left: .18rem;
}

.job-window-resize-handle.is-right {
    right: .18rem;
}

.job-window-label[draggable="true"],
.job-window-row[draggable="true"] {
    cursor: grab;
}

.job-window-label.is-row-dragging,
.job-window-row.is-row-dragging {
    opacity: .45;
}

.job-window-zoom {
    display: grid;
    grid-template-columns: auto auto minmax(8rem, 12rem) auto;
    align-items: center;
    gap: .45rem;
    min-width: min(100%, 28rem);
}

.job-window-task-toggle {
    margin: 0;
    white-space: nowrap;
}

.job-window-task-toggle .form-check-label {
    color: var(--homepm-sky-muted-text-color, var(--homepm-muted));
    font-size: .78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.job-window-task-toggle .form-check-input {
    width: 1rem;
    height: 1rem;
    margin-top: .05rem;
    border-color: rgba(109, 123, 86, .42);
    background-color: rgba(255, 253, 248, .72);
    box-shadow: inset 0 .1rem .25rem rgba(36, 57, 37, .08);
}

.job-window-task-toggle .form-check-input:checked {
    border-color: var(--homepm-forest);
    background-color: var(--homepm-forest);
}

.job-window-zoom .form-label {
    margin: 0;
    color: var(--homepm-sky-muted-text-color, var(--homepm-muted));
    font-size: .78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.job-window-zoom .form-range {
    margin: 0;
    height: 1.05rem;
    accent-color: var(--homepm-forest);
    background-image: repeating-linear-gradient(
        90deg,
        transparent 0,
        transparent calc(25% - 1px),
        rgba(36, 57, 37, .24) calc(25% - 1px),
        rgba(36, 57, 37, .24) 25%
    );
    background-position: center;
    background-repeat: no-repeat;
    background-size: calc(100% - 1rem) .45rem;
}

.job-window-zoom .form-range::-webkit-slider-runnable-track {
    height: .38rem;
    border: 1px solid rgba(109, 123, 86, .18);
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(109, 123, 86, .34), rgba(201, 158, 103, .34));
    box-shadow: inset 0 .08rem .2rem rgba(36, 57, 37, .08);
}

.job-window-zoom .form-range::-webkit-slider-thumb {
    width: 1rem;
    height: 1rem;
    margin-top: -.36rem;
    border: 2px solid var(--homepm-forest);
    border-radius: 50%;
    background: var(--homepm-white);
    box-shadow: 0 .2rem .55rem rgba(36, 57, 37, .22);
}

.job-window-zoom .form-range::-moz-range-track {
    height: .38rem;
    border: 1px solid rgba(109, 123, 86, .18);
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(109, 123, 86, .34), rgba(201, 158, 103, .34));
    box-shadow: inset 0 .08rem .2rem rgba(36, 57, 37, .08);
}

.job-window-zoom .form-range::-moz-range-thumb {
    width: .85rem;
    height: .85rem;
    border: 2px solid var(--homepm-forest);
    border-radius: 50%;
    background: var(--homepm-white);
    box-shadow: 0 .2rem .55rem rgba(36, 57, 37, .22);
}

.job-window-zoom small {
    color: var(--homepm-sky-muted-text-color, var(--homepm-muted));
    font-size: .76rem;
    font-weight: 800;
    white-space: nowrap;
}

.job-window-zoom datalist {
    display: none;
}

a:not(.btn):not(.btn-close):not(.job-card):link {
    color: var(--homepm-link);
}

a:not(.btn):not(.btn-close):not(.job-card):visited {
    color: var(--homepm-link-visited);
}

a:not(.btn):not(.btn-close):not(.job-card):hover,
a:not(.btn):not(.btn-close):not(.job-card):active {
    color: var(--homepm-link-active);
}

.work-intelligence-tile:link,
.work-intelligence-tile:visited,
.work-stage-tile:link,
.work-stage-tile:visited {
    color: var(--homepm-ink);
}

.work-intelligence-tile:hover,
.work-intelligence-tile:active,
.work-stage-tile:hover,
.work-stage-tile:active {
    color: var(--homepm-forest);
}

.page-action.workflow-action--icon:not(.btn),
.page-action.workflow-action--icon:not(.btn):link,
.page-action.workflow-action--icon:not(.btn):visited,
.page-action.workflow-action--icon:not(.btn):hover,
.page-action.workflow-action--icon:not(.btn):active {
    color: var(--homepm-sky-text-color, var(--homepm-forest));
}

.page-actions .workflow-action--icon,
.page-actions .workflow-action--icon:link,
.page-actions .workflow-action--icon:visited,
.page-actions .workflow-action--icon:hover,
.page-actions .workflow-action--icon:focus,
.page-actions .workflow-action--icon:active,
.page-actions .workflow-action--icon strong,
.page-actions .workflow-action--icon .app-icon {
    color: var(--homepm-sky-text-color, #fff) !important;
}

@media (max-width: 1100px) {
    .page-header {
        grid-template-columns: 1fr;
    }

    .today-masthead {
        align-items: flex-start;
        flex-direction: column;
    }

    .today-masthead-facts {
        justify-content: flex-start;
    }

    .list-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .daily-digest-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-grid,
    .dashboard-command-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .utility-section-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .budget-bucket-grid,
    .budget-pipeline-grid,
    .budget-planning-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .analytics-layout,
    .budget-two-column {
        grid-template-columns: 1fr;
    }

    .chart-rail {
        order: -1;
    }

    .dashboard-actions {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .collision-workspace {
        grid-template-columns: 1fr;
    }

    .collision-side-panel {
        position: static;
    }

    .work-command-center .panel-body,
    .work-order-signoff {
        grid-template-columns: 1fr;
    }

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

    .work-order-block-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .global-capture-action {
        display: none;
    }

    .mobile-home-gateway {
        display: grid;
        gap: 1.25rem;
        min-height: calc(100vh - 8rem);
        align-content: center;
    }

    .today-full-site-content {
        display: none;
    }

    .today-page--full-site .mobile-home-gateway {
        display: none;
    }

    .today-page--full-site .today-full-site-content {
        display: block;
    }

    .row {
        --bs-gutter-x: .75rem;
    }

    .page-header,
    .dashboard-grid,
    .dashboard-command-grid,
    .job-list-row,
    .person-list-row,
    .bid-list-row,
    .task-list-row,
    .event-list-row,
    .job-detail-summary,
    .person-contact-grid,
    .related-grid {
        display: block;
    }

    .dashboard-actions {
        grid-template-columns: 1fr;
    }

    .mobile-shopping-header,
    .mobile-receipt-heading,
    .mobile-shopping-job-heading,
    .mobile-shopping-item-controls,
    .mobile-receipt-money-grid {
        display: grid;
        grid-template-columns: 1fr;
    }

    .board-card-title,
    .board-card-meta,
    .board-card-facts,
    .list-grid,
    .daily-digest-actions,
    .digest-weather-days,
    .list-item-split,
    .list-item-summary {
        grid-template-columns: 1fr;
    }

    .board {
        display: grid;
        grid-template-columns: 1fr;
        overflow-x: visible;
    }

    .board-column {
        padding: .65rem;
    }

    .today-masthead-facts {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        width: 100%;
    }

    .today-masthead-facts strong {
        white-space: normal;
    }

    .page-actions {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
        margin-top: 1rem;
    }

    .workflow-action-toolbar {
        display: flex;
        justify-content: flex-start;
        gap: .65rem;
        margin-top: .55rem;
    }

    .utility-section-grid {
        grid-template-columns: 1fr;
    }

    .sky-test-controls,
    .sky-test-main-grid {
        display: grid;
        grid-template-columns: 1fr;
    }

    .page-actions .btn,
    .page-actions .page-action,
    .empty-state-actions .btn,
    .view-tabs .btn {
        width: 100%;
    }

    .page-actions .page-action.workflow-action--icon,
    .page-actions .quick-action-card.workflow-action--icon {
        width: auto;
    }

    .empty-state-actions {
        display: grid;
    }

    .saved-filter-row {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: .65rem;
        -webkit-overflow-scrolling: touch;
    }

    .saved-filter-row a,
    .saved-filter-row span {
        flex: 0 0 auto;
    }

    .dashboard-panel.is-wide {
        grid-column: auto;
    }

    .dashboard-budget-summary,
    .bid-award-summary,
    .analytics-layout,
    .budget-bucket-grid,
    .budget-pipeline-grid,
    .budget-two-column,
    .chart-panel,
    .chart-donut-layout,
    .budget-planning-grid,
    .collision-summary-grid,
    .collision-workspace,
    .collision-watch-grid,
    .collision-check-grid,
    .dashboard-budget-breakdowns,
    .funding-kpi-grid,
    .funding-kpi-grid.is-compact,
    .funding-scenario-summary,
    .funding-scenario-summary.is-compact,
    .funding-chart-grid,
    .funding-bucket-grid,
    .funding-bar-row,
    .funding-dashboard-row,
    .funding-scenario-row,
    .funding-scenario-list.is-compact .funding-scenario-row {
        grid-template-columns: 1fr;
    }

    .collision-graph-row,
    .collision-timeline a {
        grid-template-columns: 1fr;
    }

    .page-header .btn {
        width: 100%;
        margin-top: 1rem;
    }

    .dashboard-panel,
    .paper-sheet,
    .job-list-row,
    .person-list-row,
    .bid-list-row,
    .task-list-row,
    .event-list-row,
    .job-detail-summary > div,
    .person-contact-grid > div,
    .related-panel {
        margin-bottom: 1rem;
    }

    .dashboard-job-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .jobs-board {
        gap: .45rem;
        grid-template-columns: repeat(6, minmax(13.25rem, 82vw));
        overflow-x: auto;
        padding-bottom: .85rem;
    }

    .jobs-board-column {
        padding: .45rem;
        max-height: calc(100vh - 13rem);
    }

    .jobs-board-header {
        align-items: flex-start;
        flex-direction: column;
        gap: .35rem;
    }

    .jobs-board-header h3 {
        font-size: .78rem;
    }

    .job-card {
        padding: .5rem;
        font-size: .78rem;
    }

    .btn-icon-note {
        width: 1.75rem;
        height: 1.75rem;
    }

    .work-intelligence-grid,
    .work-stage-grid,
    .work-order-topline,
    .work-order-lines div {
        grid-template-columns: 1fr;
    }

    .work-order-number {
        justify-items: start;
        min-width: 0;
        text-align: left;
    }

    .work-order-sheet {
        padding: .85rem;
    }

    .presence-stack {
        right: .8rem;
        bottom: .8rem;
    }

    .job-row-actions,
    .person-row-status,
    .bid-row-actions,
    .job-tab-toolbar,
    .funding-bucket-card-heading,
    .job-heading-actions,
    .job-form-actions {
        align-items: flex-start;
        flex-direction: column;
        margin-top: .75rem;
    }

    .job-form-actions .btn,
    .job-tab-toolbar .btn,
    .funding-bucket-card-heading .btn,
    .task-filters .btn,
    .job-filters .btn,
    .bid-filters .btn,
    .expense-filters .btn,
    .event-filters .btn,
    .person-filters .btn,
    .bid-row-actions .btn,
    .job-row-actions .btn,
    .person-row-status .btn {
        width: 100%;
    }

    .job-detail-tab-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .45rem;
        padding-bottom: .55rem;
        border-bottom: 1px solid rgba(31, 38, 32, .3);
    }

    .job-detail-tab {
        min-width: 0;
        border: 1px solid rgba(31, 38, 32, .32);
        border-radius: .38rem;
        text-align: center;
    }

    .job-detail-tab.is-active {
        box-shadow: inset 0 -.18rem 0 rgba(92, 111, 74, .6);
        transform: none;
    }

    .job-detail-tab-panel {
        padding: .65rem 0 0;
        border: 0;
    }

    .task-filters .d-flex,
    .job-filters .d-flex,
    .bid-filters .d-flex,
    .expense-filters .d-flex,
    .event-filters .d-flex,
    .person-filters .d-flex {
        display: grid !important;
        width: 100%;
    }

    .panel-header {
        align-items: flex-start;
        flex-direction: column;
        gap: .5rem;
    }

    .panel-header .d-flex,
    .section-actions {
        width: 100%;
    }

    .content-section > .panel-header {
        grid-template-columns: 1fr;
    }

    .section-actions {
        justify-content: flex-end;
        justify-self: end;
        text-align: right;
    }

    .panel-header .d-flex {
        align-items: stretch !important;
        flex-direction: column;
    }

    .calendar-grid {
        grid-template-columns: repeat(7, minmax(9.25rem, 78vw));
    }

    .calendar-view-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .calendar-view-tabs,
    .calendar-range-actions {
        justify-content: stretch;
        width: 100%;
    }

    .calendar-view-tabs .view-tab {
        flex: 1 1 8rem;
    }

    .calendar-range-actions .btn {
        flex: 1 1 4rem;
    }

    .supporting-info-grid {
        grid-template-columns: 1fr;
    }

    .calendar-month-actions {
        justify-content: stretch;
        margin-top: .75rem;
    }

    .calendar-month-actions a {
        flex: 1 1 auto;
    }

    .calendar-add-dates {
        justify-content: stretch;
        width: 100%;
    }

    .calendar-add-dates > span {
        flex: 1 0 100%;
    }

    .calendar-add-dates .btn {
        flex: 1 1 8rem;
    }

    .calendar-at-a-glance {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .caldav-setup-grid {
        grid-template-columns: 1fr;
    }

    .caldav-setup-qr {
        justify-items: start;
    }

    .job-cost {
        min-width: 0;
        text-align: left;
    }

    .funding-bar-values,
    .funding-scenario-controls {
        justify-items: start;
        justify-content: flex-start;
    }

    .chart-rail .chart-donut {
        justify-self: center;
    }

    .budget-list a,
    .budget-pipeline-card-heading {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 560px) {
    .today-masthead-facts {
        grid-template-columns: 1fr;
    }
}

.task-materials-editor {
    border: 1px solid rgba(61, 79, 88, .18);
    border-radius: 8px;
    max-width: 100%;
    overflow-x: auto;
    padding: 1rem;
}

.task-materials-heading {
    align-items: center;
    display: flex;
    justify-content: space-between;
    gap: .75rem;
    margin-bottom: .75rem;
}

.task-materials-heading h2 {
    font-size: 1rem;
    margin: 0;
}

.task-materials-heading p {
    margin: .15rem 0 0;
}

.task-materials-grid {
    display: grid;
    gap: .5rem;
    grid-template-columns: minmax(9rem, 1.2fr) minmax(12rem, 1.5fr) minmax(4rem, .45fr) minmax(5rem, .6fr) minmax(5rem, .6fr) minmax(8rem, 1fr) minmax(4rem, .45fr) minmax(3rem, .35fr);
    min-width: 56rem;
}

.task-materials-grid-head {
    color: var(--hpm-muted);
    font-size: .78rem;
    font-weight: 700;
}

.task-materials-check {
    align-items: center;
    display: flex;
    min-height: 2rem;
}

.task-materials-delete {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 2rem;
}

.task-materials-total {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: .65rem;
    margin-top: .85rem;
    color: var(--homepm-forest);
    font-weight: 900;
}

.task-materials-total span {
    color: var(--homepm-muted);
    font-size: .78rem;
    text-transform: uppercase;
}

.job-packet-page {
    max-width: 980px;
}

.job-packet-actions {
    display: flex;
    gap: .75rem;
    justify-content: flex-end;
    margin-bottom: 1rem;
}

.job-packet {
    background: #fff;
    border: 1px solid rgba(61, 79, 88, .18);
    box-shadow: var(--hpm-shadow-soft);
    color: var(--hpm-ink);
    padding: 2rem;
}

.job-packet-header,
.job-packet-two-column,
.job-packet-grid,
.job-packet-signature-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.job-packet-header {
    border-bottom: 2px solid rgba(61, 79, 88, .22);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
}

.job-packet-header span {
    color: var(--hpm-muted);
    font-size: .82rem;
    font-weight: 800;
    text-transform: uppercase;
}

.job-packet-header h1 {
    font-size: 2rem;
    margin: .25rem 0 .5rem;
}

.job-packet dl {
    margin: 0;
}

.job-packet dt {
    color: var(--hpm-muted);
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.job-packet dd {
    margin: 0 0 .65rem;
}

.job-packet-section {
    break-inside: avoid;
    margin-top: 1.5rem;
}

.job-packet-section h2 {
    border-bottom: 1px solid rgba(61, 79, 88, .18);
    font-size: 1.15rem;
    margin: 0 0 .75rem;
    padding-bottom: .35rem;
}

.job-packet-table {
    border-collapse: collapse;
    margin: .75rem 0 1rem;
    width: 100%;
}

.job-packet-table th,
.job-packet-table td {
    border: 1px solid rgba(61, 79, 88, .18);
    padding: .45rem .55rem;
    text-align: left;
    vertical-align: top;
}

.job-packet-table th {
    background: rgba(61, 79, 88, .07);
    font-size: .8rem;
    text-transform: uppercase;
}

.job-packet-signoff ul {
    display: grid;
    gap: .35rem;
    margin: 0 0 1.5rem 1.25rem;
}

.job-packet-signature-grid div {
    border-bottom: 1px solid var(--hpm-ink);
    min-height: 3rem;
    padding-top: 2rem;
}

.job-packet-signature-grid span {
    color: var(--hpm-muted);
    font-size: .8rem;
}

@media print {
    body {
        background: #fff;
    }

    .no-print,
    .mobile-topbar,
    .app-sidebar,
    .page-actions,
    .dashboard-actions,
    .calendar-view-toolbar,
    .calendar-month-actions,
    .bid-row-actions,
    .job-row-actions,
    .presence-stack,
    .landscape-footer {
        display: none !important;
    }

    .app-shell,
    .main-panel,
    .content-wrap {
        display: block !important;
        width: auto !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .page-header,
    .panel-header {
        break-after: avoid;
    }

    .dashboard-command-grid,
    .dashboard-budget-breakdowns,
    .calendar-at-a-glance,
    .collision-watch-grid,
    .job-detail-summary,
    .person-contact-grid,
    .related-grid {
        display: block;
    }

    .dashboard-panel,
    .paper-sheet,
    .job-list-row,
    .person-list-row,
    .bid-list-row,
    .task-list-row,
    .event-list-row {
        box-shadow: none;
        break-inside: avoid;
    }

    .calendar-grid,
    .jobs-board {
        overflow: visible;
    }

    .job-packet-page {
        max-width: none;
        padding: 0 !important;
    }

    .job-packet {
        border: 0;
        box-shadow: none;
        padding: 0;
    }

    .job-packet a {
        color: inherit;
        text-decoration: none;
    }
}

.valid.modified:not([type=checkbox]) {
    outline: 2px solid rgba(109, 123, 86, .55);
}

.invalid {
    outline: 2px solid rgba(191, 121, 73, .7);
}

.validation-message {
    color: var(--homepm-copper);
    font-weight: 700;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: var(--hpm-black);
}

.blazor-error-boundary {
    background: var(--hpm-terra-soft);
    border: 1px solid rgba(191, 121, 73, .45);
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: rgba(36, 57, 37, .42);
}

.property-link-fields {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    padding: 1rem;
    border: 1px solid rgba(36, 57, 37, .14);
    border-radius: .5rem;
    background: rgba(255, 253, 248, .72);
}

.property-link-summary {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
    margin-top: .4rem;
}

.property-link-summary span {
    display: inline-flex;
    align-items: center;
    min-height: 1.75rem;
    padding: .2rem .55rem;
    border: 1px solid rgba(109, 123, 86, .24);
    border-radius: 999px;
    background: rgba(177, 182, 159, .18);
    color: var(--homepm-forest);
    font-size: .85rem;
    font-weight: 700;
}

.property-profile-panel {
    display: grid;
    gap: .5rem;
}

.property-structure-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 24rem);
    gap: 1rem;
    align-items: start;
}

.property-structure-list {
    display: grid;
    gap: .75rem;
    padding: .75rem;
}

.property-area-list {
    display: grid;
    gap: .35rem;
    padding: .5rem;
}

.property-area-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .75rem;
    align-items: center;
    min-height: 2.75rem;
    padding: .45rem .5rem .45rem calc(.75rem + (var(--area-depth, 0) * 1.25rem));
    border: 1px solid rgba(36, 57, 37, .1);
    border-radius: .375rem;
    background: rgba(255, 253, 248, .78);
}

.property-area-main {
    min-width: 0;
    display: grid;
    gap: .15rem;
}

.property-area-main strong,
.property-area-main small,
.property-area-main span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.property-area-main span {
    color: var(--homepm-muted);
    font-size: .8rem;
    font-weight: 700;
}

.property-area-main small {
    color: var(--homepm-muted);
}

.property-structure-row {
    display: grid;
    gap: .75rem;
    padding: .9rem;
    border: 1px solid rgba(36, 57, 37, .12);
    border-radius: .5rem;
    background: rgba(255, 253, 248, .78);
}

.property-structure-form {
    display: grid;
    gap: .75rem;
    margin: 0;
}

.property-structure-form h3 {
    margin: 0;
    font-size: 1.15rem;
}

.property-landing-grid,
.property-hero-grid,
.property-top-grid,
.property-section-grid,
.property-linked-workflows {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 24rem);
    gap: 1rem;
    align-items: start;
}

.property-top-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(18rem, .75fr);
}

.property-profile-summary {
    display: grid;
    grid-template-columns: minmax(10rem, 16rem) minmax(0, 1fr);
    gap: 1rem;
    align-items: stretch;
}

.property-profile-summary-body {
    display: grid;
    gap: .85rem;
    min-width: 0;
}

.property-profile-photo {
    width: 100%;
    min-height: 12rem;
    height: 100%;
    max-height: 18rem;
    object-fit: cover;
    border-radius: .5rem;
    border: 1px solid rgba(36, 57, 37, .12);
    background: rgba(177, 182, 159, .18);
}

.property-linked-workflows {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.property-profile-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr));
    gap: .75rem;
    margin: 0;
}

.property-profile-facts div,
.property-overview-strip div {
    display: grid;
    gap: .15rem;
    min-width: 0;
}

.property-profile-facts dt,
.property-overview-strip span {
    color: var(--homepm-muted);
    font-size: .8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.property-profile-facts dd {
    margin: 0;
    color: var(--homepm-charcoal);
    font-weight: 800;
}

.property-attention-card {
    display: grid;
    gap: .75rem;
}

.property-attention-list,
.property-health-checklist,
.property-preview-list {
    display: grid;
    gap: .5rem;
}

.property-attention-list.is-scrollable,
.property-health-checklist.is-scrollable {
    max-height: 22rem;
    overflow: auto;
    padding-right: .25rem;
}

.property-attention-list a,
.property-health-checklist a,
.property-preview-list a,
.property-preview-list button {
    display: grid;
    gap: .15rem;
    min-width: 0;
    padding: .75rem;
    border: 1px solid rgba(36, 57, 37, .12);
    border-radius: .5rem;
    background: rgba(255, 253, 248, .74);
    color: var(--homepm-charcoal);
    font: inherit;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

.property-attention-list a:hover,
.property-health-checklist a:hover,
.property-preview-list a:hover,
.property-preview-list button:hover,
.property-preview-list button:focus {
    border-color: rgba(109, 123, 86, .42);
    background: rgba(248, 242, 229, .78);
}

.property-attention-list strong,
.property-health-checklist strong,
.property-preview-list strong,
.property-attention-list span,
.property-health-checklist small,
.property-preview-list span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.property-attention-list span,
.property-preview-list span {
    color: var(--homepm-muted);
    font-size: .9rem;
}

.property-health-checklist a {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
}

.property-health-checklist a > span {
    width: 1.05rem;
    aspect-ratio: 1;
    margin-top: .12rem;
    border: 2px solid var(--homepm-sage);
    border-radius: .22rem;
    background: rgba(255, 253, 248, .9);
}

.property-health-checklist strong,
.property-health-checklist small {
    grid-column: 2;
}

.property-health-checklist strong {
    color: var(--homepm-forest);
}

.property-health-checklist small {
    color: var(--homepm-muted);
    font-size: .86rem;
    font-weight: 700;
}

.property-overview-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(7.5rem, 1fr));
    gap: .75rem;
    margin: 1rem 0;
}

.property-overview-strip div {
    padding: .85rem;
    border: 1px solid rgba(36, 57, 37, .12);
    border-radius: .5rem;
    background: rgba(255, 253, 248, .78);
    box-shadow: 0 .6rem 1.5rem rgba(57, 45, 31, .05);
}

.property-overview-strip strong {
    color: var(--homepm-forest);
    font-size: 1.35rem;
}

.property-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
    gap: .75rem;
}

.property-side-editor {
    display: grid;
    gap: .75rem;
}

.property-notes-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 24rem);
    gap: 1rem;
    align-items: start;
}

.property-notes-list {
    display: grid;
    gap: .75rem;
}

.property-structure-form.is-danger-zone {
    border-color: rgba(167, 68, 47, .32);
    background: rgba(191, 121, 73, .08);
}

.property-summary-card {
    display: grid;
    gap: .75rem;
    min-width: 0;
    padding: .9rem;
    border: 1px solid rgba(36, 57, 37, .12);
    border-radius: .5rem;
    background: rgba(255, 253, 248, .82);
    box-shadow: 0 .7rem 1.6rem rgba(57, 45, 31, .05);
}

.property-summary-card[style*="--area-depth"] {
    margin-left: calc(var(--area-depth, 0) * .65rem);
}

.property-summary-card-heading {
    display: flex;
    justify-content: space-between;
    gap: .75rem;
    align-items: flex-start;
}

.property-summary-card-heading h3 {
    margin: 0;
    font-size: 1.05rem;
}

.property-summary-card-heading span,
.property-summary-card p {
    color: var(--homepm-muted);
    margin: 0;
}

.property-rollup-row {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
}

.property-rollup-row span,
.property-rollup-row a {
    display: inline-flex;
    align-items: center;
    min-height: 1.65rem;
    padding: .15rem .5rem;
    border: 1px solid rgba(109, 123, 86, .2);
    border-radius: 999px;
    background: rgba(177, 182, 159, .14);
    color: var(--homepm-forest);
    font-size: .78rem;
    font-weight: 800;
    text-decoration: none;
}

.property-document-groups {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
    gap: .75rem;
}

.property-document-groups h3 {
    margin: 0 0 .65rem;
    font-size: 1rem;
}

.property-inline-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
}

.property-compact-form {
    margin-top: .25rem;
}

.property-section-grid.property-top-grid,
.property-top-grid {
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 24rem);
}

.property-grid-pane {
    display: grid;
    gap: .75rem;
    min-width: 0;
}

.property-profile-summary {
    overflow: hidden;
    padding: 0;
}

.property-profile-summary,
.property-profile-summary-body {
    display: grid;
}

.property-profile-summary {
    grid-template-columns: minmax(30rem, 1.65fr) minmax(18rem, .85fr);
    gap: 0;
    align-items: stretch;
    border: 1px solid rgba(36, 57, 37, .08);
    border-radius: .5rem;
    background: rgba(255, 253, 248, .82);
    box-shadow: var(--homepm-shadow);
}

.property-profile-summary-body {
    grid-template-columns: 1fr;
    gap: .9rem;
    align-content: start;
    padding: 1rem 1.2rem 1.2rem;
    background: rgba(255, 253, 248, .76);
}

.property-profile-hero {
    display: block;
    width: 100%;
    min-height: clamp(21rem, 30vw, 34rem);
    height: 100%;
    object-fit: cover;
    background: rgba(177, 182, 159, .18);
}

.property-photo-carousel,
.property-photo-stage {
    display: grid;
    min-width: 0;
    height: 100%;
}

.property-photo-carousel {
    grid-template-rows: minmax(0, 1fr) auto;
    background: rgba(36, 57, 37, .08);
}

.property-photo-stage {
    position: relative;
    overflow: hidden;
}

.property-photo-stage .property-profile-hero {
    grid-area: 1 / 1;
}

.property-photo-link {
    display: grid;
    min-width: 0;
    height: 100%;
    color: inherit;
    text-decoration: none;
    padding: 0;
    background: transparent;
    border: 0;
    cursor: zoom-in;
}

.property-photo-link:hover .property-profile-hero,
.property-photo-link:focus .property-profile-hero {
    filter: saturate(1.04) contrast(1.02);
}

.property-photo-viewer-dialog {
    max-width: min(96vw, 96rem);
}

.property-photo-viewer-modal {
    min-height: min(92vh, 62rem);
}

.property-photo-viewer-body {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 0;
    padding: .75rem;
    background: rgba(20, 28, 20, .9);
}

.property-photo-viewer-body img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: calc(92vh - 9.5rem);
    object-fit: contain;
    border-radius: .35rem;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, .28);
}

.property-photo-nav {
    position: absolute;
    top: 50%;
    z-index: 1;
    display: inline-grid;
    place-items: center;
    width: 2.55rem;
    height: 2.55rem;
    padding: 0;
    color: var(--homepm-white);
    background: rgba(36, 57, 37, .74);
    border: 1px solid rgba(255, 253, 245, .44);
    border-radius: 50%;
    box-shadow: 0 .35rem 1rem rgba(0, 0, 0, .18);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    transform: translateY(-50%);
}

.property-photo-nav:hover,
.property-photo-nav:focus {
    background: var(--homepm-forest);
}

.property-photo-nav.is-prev {
    left: .75rem;
}

.property-photo-nav.is-next {
    right: .75rem;
}

.property-photo-count {
    position: absolute;
    right: .75rem;
    bottom: .75rem;
    z-index: 1;
    padding: .18rem .55rem;
    color: var(--homepm-white);
    background: rgba(36, 57, 37, .76);
    border: 1px solid rgba(255, 253, 245, .38);
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 900;
}

.property-photo-strip {
    display: flex;
    gap: .45rem;
    min-width: 0;
    overflow-x: auto;
    padding: .55rem;
    background: rgba(255, 253, 248, .82);
    border-top: 1px solid rgba(36, 57, 37, .12);
}

.property-photo-thumb {
    flex: 0 0 4.75rem;
    width: 4.75rem;
    aspect-ratio: 4 / 3;
    padding: .14rem;
    overflow: hidden;
    background: rgba(255, 253, 248, .86);
    border: 2px solid transparent;
    border-radius: .4rem;
}

.property-photo-thumb.is-active {
    border-color: var(--homepm-copper);
}

.property-photo-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: .28rem;
}

.property-profile-hero.is-empty {
    display: grid;
    place-items: center;
    min-height: 12rem;
    padding: 1rem;
    background:
        linear-gradient(135deg, rgba(109, 123, 86, .18), rgba(191, 121, 73, .14)),
        rgba(255, 253, 248, .86);
    color: var(--homepm-forest);
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(1.6rem, 4vw, 2.75rem);
    font-weight: 700;
    text-align: center;
}

.property-photo-editor-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
    gap: .65rem;
    margin-bottom: .75rem;
}

.property-photo-editor-item {
    display: grid;
    grid-template-columns: auto 5.25rem minmax(0, 1fr);
    gap: .65rem;
    min-width: 0;
    align-items: center;
    padding: .55rem;
    background: rgba(255, 253, 248, .72);
    border: 1px solid rgba(36, 57, 37, .14);
    border-radius: .5rem;
    cursor: grab;
}

.property-photo-editor-item:active {
    cursor: grabbing;
}

.property-photo-editor-item.is-dragging {
    opacity: .62;
    border-color: rgba(191, 121, 73, .42);
    background: rgba(241, 216, 201, .26);
}

.property-photo-drag-handle {
    display: grid;
    width: 1rem;
    height: 2.8rem;
    place-items: center;
    color: var(--homepm-muted);
}

.property-photo-drag-handle::before {
    content: "";
    width: .25rem;
    height: 1.7rem;
    background:
        radial-gradient(currentColor 1.5px, transparent 2px) 0 0 / .25rem .42rem;
}

.property-photo-editor-item img {
    width: 5.25rem;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: .35rem;
    background: rgba(177, 182, 159, .18);
}

.property-photo-editor-item > div {
    display: grid;
    align-content: start;
    gap: .28rem;
    min-width: 0;
}

.property-photo-editor-item strong {
    min-width: 0;
    color: var(--homepm-forest);
    font-size: .88rem;
    overflow-wrap: anywhere;
}

.property-photo-editor-check {
    min-height: 1.35rem;
    margin: 0;
}

@media (max-width: 1280px) {
    .property-profile-summary {
        grid-template-columns: 1fr;
    }

    .property-profile-hero {
        aspect-ratio: 16 / 7;
        min-height: 18rem;
        height: auto;
    }
}

.property-profile-description {
    margin: 0;
    color: var(--homepm-charcoal);
    line-height: 1.55;
}

.property-attention-card {
    align-self: stretch;
    min-height: 0;
}

.property-top-grid > .property-attention-card {
    grid-template-rows: auto minmax(0, 1fr);
    min-height: 0;
}

.property-top-grid > .property-attention-card:first-of-type {
    grid-column: 2;
    grid-row: 1 / span 2;
}

.property-attention-list.is-scrollable {
    max-height: 23.5rem;
}

.property-top-grid .property-attention-list.is-scrollable {
    max-height: none;
    min-height: 0;
    overflow: auto;
}

.property-table-toolbar {
    display: flex;
    gap: .75rem;
    align-items: center;
    justify-content: space-between;
    min-width: 0;
}

.property-table-toolbar .form-control {
    max-width: 24rem;
}

.property-table-toolbar .text-secondary {
    flex: 0 0 auto;
    font-size: .85rem;
    font-weight: 700;
}

.property-table-scroll {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: auto;
    border: 1px solid rgba(36, 57, 37, .12);
    border-radius: .5rem;
    background: #fefcf5;
}

.property-data-table {
    margin: 0;
    min-width: 0;
    font-size: .9rem;
}

.property-data-table thead th {
    position: sticky;
    top: 0;
    z-index: 1;
    border-bottom: 1px solid rgba(36, 57, 37, .16);
    background: rgba(248, 242, 229, .96);
    color: var(--homepm-muted);
    font-size: .75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.property-data-table td,
.property-data-table th {
    vertical-align: middle;
    padding: .65rem .75rem;
}

.property-data-table tbody tr {
    border-color: rgba(36, 57, 37, .1);
}

.property-data-table tbody tr:nth-child(odd) {
    --bs-table-bg: #fefcf5;
    background: #fefcf5;
}

.property-data-table tbody tr:nth-child(even) {
    --bs-table-bg: rgba(177, 182, 159, .16);
    background: rgba(177, 182, 159, .16);
}

.property-data-table tbody tr.property-clickable-row {
    cursor: pointer;
}

.property-data-table tbody tr.property-clickable-row:hover,
.property-data-table tbody tr.property-clickable-row:focus {
    outline: 2px solid rgba(109, 123, 86, .32);
    outline-offset: -2px;
}

.homepm-ambient-sky-host .property-data-table tbody tr:nth-child(even) {
    --bs-table-bg: rgba(247, 235, 221, .24);
    background: rgba(247, 235, 221, .24);
}

.property-data-table td {
    color: var(--homepm-charcoal);
}

.property-data-table td:not(:first-child) {
    color: var(--homepm-muted);
}

.property-data-table strong {
    color: var(--homepm-forest);
}

.property-table-actions {
    text-align: right;
    white-space: nowrap;
}

.property-area-tree-cell {
    --area-depth: 0;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: .45rem;
    align-items: center;
    min-width: 0;
    padding-left: calc(var(--area-depth) * 1.35rem);
}

.property-area-tree-cell > div {
    display: grid;
    gap: .05rem;
    min-width: 0;
}

.property-area-tree-cell strong,
.property-area-tree-cell small {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.property-area-tree-cell small {
    color: var(--homepm-muted);
    font-size: .75rem;
    font-weight: 700;
}

.property-area-tree-branch {
    position: relative;
    width: calc(.55rem + min(var(--area-depth), 1) * .65rem);
    height: 1.45rem;
}

.property-area-tree-branch::before,
.property-area-tree-branch::after {
    content: "";
    position: absolute;
    border-color: rgba(109, 123, 86, .34);
}

.property-area-tree-branch::before {
    top: -.4rem;
    bottom: .68rem;
    left: .25rem;
    border-left: 1px solid rgba(109, 123, 86, .3);
    opacity: var(--area-has-parent, 0);
}

.property-area-tree-branch::after {
    top: .68rem;
    left: .25rem;
    width: .75rem;
    border-top: 1px solid rgba(109, 123, 86, .3);
    opacity: var(--area-has-parent, 0);
}

.property-notes-list {
    max-height: 20rem;
    overflow: auto;
    padding-right: .25rem;
}

.supporting-info-item .btn {
    width: fit-content;
}

.property-document-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr));
    gap: .85rem;
    padding: .5rem;
}

.property-document-card-grid.is-scrollable {
    max-height: 34rem;
    overflow: auto;
    padding-right: .25rem;
}

.document-index-card {
    display: grid;
    grid-template-columns: 5.15rem minmax(0, 1fr);
    gap: .75rem;
    min-width: 0;
    padding: .75rem;
    border: 1px solid rgba(36, 57, 37, .12);
    border-radius: .5rem;
    background: rgba(255, 253, 248, .84);
    color: var(--homepm-charcoal);
    text-decoration: none;
    box-shadow: 0 .5rem 1.2rem rgba(57, 45, 31, .05);
}

.document-index-card-thumbnail {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: zoom-in;
}

.document-index-card-thumbnail:focus-visible {
    outline: 3px solid rgba(191, 121, 73, .42);
    outline-offset: 3px;
}

.document-index-card:hover,
.document-index-card:focus {
    color: var(--homepm-charcoal);
    border-color: rgba(109, 123, 86, .42);
    background: rgba(248, 242, 229, .78);
}

.document-index-card.is-missing {
    border-color: rgba(167, 68, 47, .25);
}

.document-index-card-body {
    display: grid;
    align-content: start;
    gap: .18rem;
    min-width: 0;
}

.document-index-card-body strong,
.document-index-card-body p,
.document-index-card-body span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.document-index-card-body strong {
    color: var(--homepm-forest);
    font-size: .92rem;
    white-space: nowrap;
}

.document-index-card-body a {
    min-width: 0;
    color: var(--homepm-forest);
    text-decoration: none;
}

.document-index-card-body a:hover,
.document-index-card-body a:focus {
    text-decoration: underline;
}

.document-index-card-body p {
    display: -webkit-box;
    margin: 0;
    color: var(--homepm-charcoal);
    font-size: .8rem;
    line-height: 1.25;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.document-index-card-body span {
    color: var(--homepm-muted);
    font-size: .72rem;
    font-weight: 700;
    white-space: nowrap;
}

.document-thumbnail {
    width: 100%;
    aspect-ratio: 8.5 / 11;
    overflow: hidden;
    border: 1px solid rgba(36, 57, 37, .16);
    border-radius: .28rem;
    background: #fffdf8;
    box-shadow: 0 .35rem .9rem rgba(57, 45, 31, .08);
}

.document-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.document-thumbnail-paper {
    display: grid;
    grid-template-rows: auto 1fr;
    height: 100%;
    padding: .45rem;
    background:
        linear-gradient(rgba(36, 57, 37, .06) 1px, transparent 1px) 0 2.1rem / 100% .72rem,
        #fffdf8;
}

.document-thumbnail-paper span {
    color: var(--homepm-muted);
    font-size: .55rem;
    font-weight: 800;
    line-height: 1.05;
    text-transform: uppercase;
}

.document-thumbnail-paper strong {
    place-self: center;
    color: rgba(36, 57, 37, .34);
    font-size: 1.2rem;
    font-weight: 800;
}

.document-thumbnail.is-missing .document-thumbnail-paper {
    background:
        linear-gradient(rgba(167, 68, 47, .08) 1px, transparent 1px) 0 2.1rem / 100% .72rem,
        rgba(191, 121, 73, .08);
}

.document-viewer-dialog {
    max-width: min(74rem, calc(100vw - 2rem));
}

.document-viewer-body {
    min-height: min(72vh, 48rem);
    display: grid;
    background: rgba(248, 242, 229, .55);
}

.document-viewer-frame {
    width: 100%;
    min-height: min(72vh, 48rem);
    border: 1px solid rgba(36, 57, 37, .14);
    border-radius: .5rem;
    background: #fefcf5;
}

.document-viewer-image-paper {
    display: grid;
    place-items: center;
    padding: 1.25rem;
}

.document-viewer-image-paper img {
    max-width: min(100%, 46rem);
    max-height: 70vh;
    padding: 1rem;
    object-fit: contain;
    border: 1px solid rgba(36, 57, 37, .14);
    border-radius: .35rem;
    background: #fff;
    box-shadow: 0 .75rem 2rem rgba(57, 45, 31, .14);
}

.property-area-detail-description {
    margin: 0;
    color: var(--homepm-charcoal);
    line-height: 1.55;
}

.property-area-detail-stats {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: .65rem;
}

.property-area-detail-stats div {
    display: grid;
    gap: .15rem;
    padding: .75rem;
    border: 1px solid rgba(36, 57, 37, .12);
    border-radius: .5rem;
    background: #fefcf5;
}

.property-area-detail-stats span {
    color: var(--homepm-muted);
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.property-area-detail-stats strong {
    color: var(--homepm-forest);
    font-size: 1.25rem;
}

.property-area-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .85rem;
}

.property-area-detail-box {
    display: grid;
    align-content: start;
    gap: .65rem;
    min-width: 0;
    padding: .85rem;
    border: 1px solid rgba(36, 57, 37, .12);
    border-radius: .5rem;
    background: rgba(255, 253, 248, .84);
}

.property-area-detail-box h3 {
    margin: 0;
    font-size: 1rem;
}

.property-area-detail-list {
    display: grid;
    gap: .45rem;
    max-height: 14rem;
    overflow: auto;
    padding-right: .2rem;
}

.property-area-detail-list a {
    display: grid;
    gap: .1rem;
    min-width: 0;
    padding: .55rem .6rem;
    border: 1px solid rgba(36, 57, 37, .1);
    border-radius: .45rem;
    background: #fefcf5;
    color: var(--homepm-charcoal);
    text-decoration: none;
}

.property-area-detail-list a:hover,
.property-area-detail-list a:focus {
    border-color: rgba(109, 123, 86, .38);
    color: var(--homepm-charcoal);
}

.property-area-detail-list strong,
.property-area-detail-list span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.property-area-detail-list strong {
    color: var(--homepm-forest);
}

.property-area-detail-list span {
    color: var(--homepm-muted);
    font-size: .82rem;
}

.app-icon {
    width: 1rem;
    height: 1rem;
    flex: 0 0 auto;
    display: inline-block;
    background-color: currentColor;
    -webkit-mask: var(--app-icon-url) center / contain no-repeat;
    mask: var(--app-icon-url) center / contain no-repeat;
}

.btn-primary .app-icon {
    color: #fff;
}

.milestone-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
    gap: .75rem;
}

.milestone-strip.is-dashboard {
    grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
}

.milestone-strip-item {
    min-height: 7rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: .35rem;
    padding: .85rem;
    color: var(--hpm-forest);
    text-decoration: none;
    background: var(--hpm-sand-soft);
    border: 1px solid rgba(36, 57, 37, .16);
    border-radius: .65rem;
}

.milestone-strip-item:hover,
.milestone-strip-item:focus {
    color: var(--hpm-forest);
    border-color: rgba(36, 57, 37, .36);
    box-shadow: 0 .5rem 1rem rgba(36, 57, 37, .08);
}

.milestone-strip-item span,
.milestone-strip-item small {
    color: var(--hpm-charcoal);
}

.milestone-strip-item.is-overdue {
    background: var(--hpm-terra-soft);
    border-color: var(--hpm-terra);
}

.milestone-strip-item.is-complete {
    background: var(--hpm-sage-soft);
}

.timeline-list {
    display: grid;
}

.timeline-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid var(--hpm-border);
}

.timeline-row:last-child {
    border-bottom: 0;
}

.timeline-row.is-overdue {
    background: var(--hpm-terra-soft);
}

.timeline-counts {
    display: grid;
    grid-template-columns: repeat(4, minmax(4.75rem, 1fr));
    gap: .5rem;
}

.timeline-counts a {
    min-height: 3.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: .45rem .55rem;
    text-align: center;
    text-decoration: none;
    color: var(--hpm-charcoal);
    background: rgba(255, 253, 245, .78);
    border: 1px solid var(--hpm-border);
    border-radius: .55rem;
}

.timeline-counts strong {
    color: var(--hpm-forest);
}

.timeline-counts span {
    font-size: .8rem;
}

@media (max-width: 760px) {
    .timeline-row {
        grid-template-columns: 1fr;
    }

    .timeline-counts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.btn-icon-only {
    width: 2.25rem;
    min-width: 2.25rem;
    padding-inline: 0;
}

.document-alert-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: .65rem;
    margin-bottom: 1.25rem;
}

.document-alert {
    display: grid;
    gap: .2rem;
    min-width: 0;
    padding: .8rem;
    color: var(--homepm-forest);
    text-decoration: none;
    background: rgba(255, 253, 248, .84);
    border: 1px solid rgba(109, 123, 86, .24);
    border-left: .3rem solid var(--homepm-sage);
    border-radius: .5rem;
    box-shadow: 0 .45rem 1rem rgba(36, 57, 37, .06);
}

.document-alert:hover {
    color: var(--homepm-copper);
    border-color: rgba(196, 122, 74, .28);
}

.document-alert.is-missing {
    background: rgba(241, 216, 201, .5);
    border-left-color: var(--homepm-copper);
}

.document-alert strong,
.document-alert span {
    overflow-wrap: anywhere;
}

.document-alert span {
    color: var(--homepm-muted);
    font-size: .78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.document-workspace {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(20rem, .8fr);
    gap: 1rem;
    align-items: start;
}

.document-list {
    display: grid;
    gap: .75rem;
}

.document-vault-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr));
    gap: .85rem;
}

.document-list-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 253, 248, .9);
    border: 1px solid var(--homepm-border);
    border-left: .25rem solid var(--homepm-sage);
    border-radius: .5rem;
    box-shadow: 0 .35rem 1rem rgba(36, 57, 37, .08);
}

.document-list-row.is-missing {
    border-left-color: var(--homepm-copper);
    background: rgba(241, 216, 201, .38);
}

.document-list-row > div {
    min-width: 0;
}

.document-row-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .45rem;
}

.document-tag-row,
.document-missing-types {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
    margin-top: .45rem;
}

.document-tag-row span,
.document-missing-types span {
    display: inline-flex;
    align-items: center;
    min-height: 1.65rem;
    padding: .18rem .5rem;
    color: var(--homepm-forest);
    background: rgba(201, 158, 103, .14);
    border: 1px solid rgba(201, 158, 103, .28);
    border-radius: 999px;
    font-size: .76rem;
    font-weight: 800;
}

.document-preview-panel {
    position: sticky;
    top: 1rem;
    min-width: 0;
}

.document-preview-card {
    display: grid;
    gap: 1rem;
    border-top: .25rem solid var(--homepm-sage);
}

.document-preview-card.is-missing {
    border-top-color: var(--homepm-copper);
}

.document-preview-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: .75rem;
}

.document-preview-heading h3 {
    margin: 0;
    font-size: 1.15rem;
}

.document-preview-text {
    margin: 0;
    padding: .85rem;
    line-height: 1.6;
    background: rgba(255, 253, 248, .78);
    border: 1px solid rgba(36, 57, 37, .12);
    border-radius: .5rem;
}

.document-missing-callout,
.document-open-preview {
    display: grid;
    gap: .2rem;
    padding: .9rem;
    color: var(--homepm-ink);
    text-decoration: none;
    border: 1px solid rgba(196, 122, 74, .28);
    border-radius: .5rem;
    background: rgba(241, 216, 201, .42);
}

.document-open-preview {
    border-color: rgba(109, 123, 86, .22);
    background: rgba(177, 182, 159, .16);
    text-align: left;
    cursor: pointer;
}

.document-open-preview:hover,
.document-open-preview:focus {
    color: var(--homepm-copper);
    border-color: rgba(196, 122, 74, .28);
    background: rgba(196, 122, 74, .08);
}

.document-missing-callout span,
.document-open-preview span {
    color: var(--homepm-muted);
    font-size: .82rem;
    font-weight: 700;
}

.document-preview-section {
    display: grid;
    gap: .55rem;
}

.document-preview-section h4,
.document-link-picker h3,
.document-packet-card h3 {
    margin: 0;
    font-family: var(--bs-body-font-family);
    font-size: .9rem;
    font-weight: 900;
    text-transform: uppercase;
}

.document-version-list,
.document-version-form,
.document-detail-form {
    display: grid;
    gap: .45rem;
}

.document-detail-form {
    padding: .75rem;
    border: 1px solid rgba(36, 57, 37, .12);
    border-radius: .5rem;
    background: rgba(255, 253, 248, .72);
}

.document-version-list a {
    display: grid;
    gap: .08rem;
    padding: .55rem .6rem;
    color: var(--homepm-ink);
    text-decoration: none;
    border: 1px solid rgba(36, 57, 37, .12);
    border-radius: .4rem;
    background: rgba(255, 253, 248, .72);
}

.document-version-list a:hover {
    color: var(--homepm-copper);
    border-color: rgba(196, 122, 74, .24);
    background: rgba(196, 122, 74, .08);
}

.document-version-list span {
    color: var(--homepm-muted);
    font-size: .76rem;
    font-weight: 700;
}

.document-version-card {
    display: grid;
    grid-template-columns: 4.15rem minmax(0, 1fr);
    gap: .75rem;
    min-width: 0;
    padding: .7rem;
    border: 1px solid rgba(36, 57, 37, .12);
    border-radius: .45rem;
    background: rgba(255, 253, 248, .84);
}

.document-version-card-thumbnail {
    width: 4.15rem;
    aspect-ratio: 8.5 / 11;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: .28rem;
    background: transparent;
    cursor: pointer;
}

.document-version-card-body {
    display: grid;
    align-content: start;
    gap: .25rem;
    min-width: 0;
}

.document-version-card-title {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--homepm-forest);
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.document-version-card-title:hover,
.document-version-card-title:focus {
    color: var(--homepm-copper);
}

.document-version-card-body strong,
.document-version-card-body small {
    min-width: 0;
    overflow-wrap: anywhere;
}

.document-version-card-body small {
    color: var(--homepm-muted);
    font-size: .78rem;
    font-weight: 700;
}

.document-version-form {
    margin-top: .5rem;
    padding-top: .75rem;
    border-top: 1px solid var(--homepm-border);
}

.document-link-picker {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .5rem;
    max-height: 17rem;
    overflow: auto;
    padding: .85rem;
    border: 1px solid rgba(36, 57, 37, .14);
    border-radius: .5rem;
    background: rgba(255, 253, 248, .72);
}

.document-link-picker h3,
.document-link-picker p {
    grid-column: 1 / -1;
}

.document-link-picker label {
    display: flex;
    align-items: flex-start;
    gap: .45rem;
    min-width: 0;
    padding: .5rem;
    border: 1px solid rgba(36, 57, 37, .1);
    border-radius: .4rem;
    background: rgba(255, 253, 248, .78);
    font-weight: 700;
}

.document-link-picker span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.document-packet-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.document-packet-card {
    display: grid;
    align-content: start;
    gap: .85rem;
    min-width: 0;
    padding: 1rem;
    border: 1px solid rgba(109, 123, 86, .22);
    border-radius: .5rem;
    background: rgba(255, 253, 248, .86);
    box-shadow: var(--homepm-shadow);
}

.document-packet-card p {
    margin: .35rem 0 0;
    color: var(--homepm-muted);
    line-height: 1.55;
}

.document-packet-stats {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: .75rem;
    padding: .65rem;
    background: rgba(177, 182, 159, .14);
    border: 1px solid rgba(109, 123, 86, .18);
    border-radius: .45rem;
}

.document-packet-stats strong {
    color: var(--homepm-forest);
    font-size: 1.35rem;
}

.document-packet-stats span {
    color: var(--homepm-muted);
    font-weight: 800;
}

@media (max-width: 860px) {
    .property-link-fields,
    .property-structure-grid,
    .property-landing-grid,
    .property-hero-grid,
    .property-top-grid,
    .property-section-grid,
    .property-linked-workflows,
    .property-notes-panel,
    .document-workspace,
    .document-packet-grid {
        grid-template-columns: 1fr;
    }

    .property-card-grid,
    .property-document-groups {
        grid-template-columns: 1fr;
    }

    .property-top-grid > .property-attention-card:first-of-type {
        grid-column: auto;
        grid-row: auto;
    }

    .property-summary-card[style*="--area-depth"] {
        margin-left: 0;
    }

    .property-inline-fields {
        grid-template-columns: 1fr;
    }

    .property-profile-summary {
        grid-template-columns: 1fr;
    }

    .property-profile-photo {
        height: 13rem;
        min-height: 13rem;
    }

    .property-profile-hero {
        aspect-ratio: 16 / 9;
        min-height: 14rem;
        height: auto;
    }

    .property-photo-carousel,
    .property-photo-stage {
        height: auto;
    }

    .property-photo-nav {
        width: 2.25rem;
        height: 2.25rem;
        font-size: 1.65rem;
    }

    .property-photo-editor-list {
        grid-template-columns: 1fr;
    }

    .property-table-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .property-table-toolbar .form-control {
        max-width: none;
    }

    .property-data-table thead {
        display: none;
    }

    .property-data-table,
    .property-data-table tbody,
    .property-data-table tr,
    .property-data-table td {
        display: block;
        width: 100%;
    }

    .property-data-table tr {
        padding: .65rem .75rem;
        border-bottom: 1px solid rgba(36, 57, 37, .12);
    }

    .property-data-table tr:last-child {
        border-bottom: 0;
    }

    .property-data-table td {
        display: grid;
        grid-template-columns: 7.5rem minmax(0, 1fr);
        gap: .75rem;
        padding: .3rem 0;
        border: 0;
    }

    .property-area-tree-cell {
        padding-left: calc(var(--area-depth) * .9rem);
    }

    .property-data-table td::before {
        content: attr(data-label);
        color: var(--homepm-muted);
        font-size: .72rem;
        font-weight: 800;
        text-transform: uppercase;
    }

    .property-table-actions {
        text-align: left;
    }

    .property-table-actions::before {
        content: "";
    }

    .property-document-card-grid {
        grid-template-columns: 1fr;
    }

    .document-index-card {
        grid-template-columns: 4.75rem minmax(0, 1fr);
    }

    .document-preview-panel {
        position: static;
    }

    .document-alert-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .document-link-picker {
        grid-template-columns: 1fr;
    }
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

.people-contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.people-filter-strip {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    align-items: center;
    margin-bottom: 1rem;
}

.people-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    min-height: 2.5rem;
    padding: .45rem .75rem;
    border: 1px solid rgba(36, 57, 37, .18);
    border-radius: .45rem;
    color: var(--homepm-ink);
    background: rgba(255, 252, 244, .82);
    text-decoration: none;
    font-weight: 800;
}

.people-filter-chip:hover,
.people-filter-chip:focus,
.people-filter-chip.is-active {
    border-color: rgba(50, 99, 89, .42);
    color: var(--homepm-evergreen);
    background: rgba(217, 232, 222, .86);
}

.people-filter-chip strong {
    min-width: 1.65rem;
    padding: .1rem .35rem;
    border-radius: 999px;
    background: rgba(36, 57, 37, .1);
    text-align: center;
    font-size: .78rem;
}

.people-filter-form {
    margin-bottom: 1rem;
}

.people-filter-form--single {
    display: grid;
    grid-template-columns: minmax(16rem, 1.8fr) repeat(2, minmax(10rem, .85fr)) minmax(6rem, .45fr) auto;
    gap: .8rem;
    align-items: end;
}

.people-filter-actions {
    display: flex;
    gap: .5rem;
    align-items: center;
}

.people-panel-header {
    gap: 1rem;
}

.panel:has(.people-table-scroll) {
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
}

.panel:has(.people-table-scroll) .panel-body {
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
}

.people-grid-shell {
    display: grid;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
}

.people-table-scroll {
    display: block;
    justify-self: stretch;
    width: 100%;
    max-width: 100%;
    max-inline-size: 100%;
    min-width: 0;
    overflow-x: auto;
    overflow-y: visible;
    box-sizing: border-box;
    contain: inline-size;
    background: rgba(255, 252, 244, 0.62);
    backdrop-filter: blur(2px);
}

.people-data-table {
    width: 100%;
    min-width: 58rem;
    table-layout: auto;
}

.people-data-table thead th {
    background: rgba(248, 242, 229, 0.88);
}

.people-sort-link {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    color: inherit;
    text-decoration: none;
}

.people-sort-link:hover,
.people-sort-link:focus,
.people-sort-link.is-active {
    color: var(--homepm-evergreen);
}

.people-sort-indicator {
    display: inline-block;
    width: 0;
    height: 0;
    border-inline: .28rem solid transparent;
}

.people-sort-link.is-asc .people-sort-indicator {
    border-bottom: .42rem solid currentColor;
}

.people-sort-link.is-desc .people-sort-indicator {
    border-top: .42rem solid currentColor;
}

.people-data-table th,
.people-data-table td {
    vertical-align: middle;
}

.people-data-table td {
    font-size: 0.92rem;
}

.people-data-table tbody tr:nth-child(odd) {
    --bs-table-bg: rgba(254, 252, 245, 0.82);
    background: rgba(254, 252, 245, 0.82);
}

.people-data-table tbody tr:nth-child(even) {
    --bs-table-bg: rgba(177, 182, 159, 0.14);
    background: rgba(177, 182, 159, 0.14);
}

.people-data-table tbody tr.people-row--attention {
    --bs-table-bg: rgba(183, 78, 52, .1);
    background: rgba(183, 78, 52, .1);
    box-shadow: inset .25rem 0 0 rgba(183, 78, 52, .8);
}

.people-data-table tbody tr.people-row--waiting:not(.people-row--attention) {
    --bs-table-bg: rgba(204, 149, 74, .12);
    background: rgba(204, 149, 74, .12);
    box-shadow: inset .25rem 0 0 rgba(204, 149, 74, .78);
}

.people-data-table small {
    line-height: 1.25;
}

.people-data-table .people-contact-actions {
    flex-wrap: nowrap;
}

.people-person-cell {
    display: flex;
    gap: .65rem;
    align-items: center;
    min-width: 0;
}

.people-name-stack {
    display: grid;
    gap: .12rem;
    min-width: 0;
}

.people-name-link,
.people-contact-name {
    overflow-wrap: anywhere;
}

.people-contact-name {
    display: inline-flex;
    width: fit-content;
    color: var(--homepm-slate);
    text-decoration: none;
}

.people-contact-name:hover,
.people-contact-name:focus {
    color: var(--homepm-copper);
    text-decoration: underline;
}

.people-type-icon {
    display: inline-grid;
    flex: 0 0 2rem;
    width: 2rem;
    height: 2rem;
    place-items: center;
    border-radius: .45rem;
    background: rgba(80, 108, 113, .12);
    color: var(--homepm-slate);
}

.people-type-icon .app-icon {
    width: 1.05rem;
    height: 1.05rem;
}

.people-signal-stack {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
}

.people-reliability {
    display: inline-flex;
    align-items: center;
    min-height: 1.75rem;
    padding: .2rem .55rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: .78rem;
    font-weight: 900;
    white-space: nowrap;
}

.people-reliability--strong {
    border-color: rgba(50, 99, 89, .32);
    color: #1f5f53;
    background: rgba(217, 232, 222, .9);
}

.people-reliability--good {
    border-color: rgba(80, 108, 113, .28);
    color: var(--homepm-slate);
    background: rgba(80, 108, 113, .12);
}

.people-reliability--watch {
    border-color: rgba(204, 149, 74, .35);
    color: #7a5623;
    background: rgba(204, 149, 74, .15);
}

.people-reliability--low {
    border-color: rgba(183, 78, 52, .35);
    color: var(--homepm-copper);
    background: rgba(183, 78, 52, .12);
}

.people-row-actions {
    display: flex;
    justify-content: flex-end;
}

.people-col-provider {
    width: 32%;
}

.people-col-status {
    width: 10%;
}

.people-col-attention {
    width: 15%;
}

.people-col-reliability {
    width: 12%;
}

.people-col-related {
    width: 25%;
}

.people-col-actions {
    width: 4.5rem;
}

.people-table-footer {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    align-items: center;
    justify-content: space-between;
    padding-top: .85rem;
    color: var(--homepm-slate);
    font-size: .86rem;
    font-weight: 800;
}

.people-pager {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
}

.people-page-count {
    min-width: 6.5rem;
    text-align: center;
}

.person-tab-list {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(36, 57, 37, .14);
}

.person-tab {
    display: inline-flex;
    align-items: center;
    min-height: 2.35rem;
    padding: .45rem .7rem;
    border: 1px solid transparent;
    border-bottom: 0;
    border-radius: .45rem .45rem 0 0;
    color: var(--homepm-slate);
    font-size: .9rem;
    font-weight: 850;
    text-decoration: none;
}

.person-tab:hover,
.person-tab:focus,
.person-tab.is-active {
    color: var(--homepm-evergreen);
    border-color: rgba(36, 57, 37, .14);
    background: rgba(255, 252, 244, .86);
}

.funding-scenario-panel.is-save-failed::after {
    content: "Scenario choice could not be saved. Try again.";
    padding: 0 .95rem .85rem;
    color: var(--homepm-copper);
    font-size: .78rem;
    font-weight: 800;
}

@media (max-width: 1400px) {
    .people-data-table {
        min-width: 54rem;
    }

    .people-col-provider {
        width: 31%;
    }

    .people-col-status {
        width: 10%;
    }

    .people-col-attention {
        width: 15%;
    }

    .people-col-reliability {
        width: 12%;
    }

    .people-col-related {
        width: 24%;
    }

    .people-col-actions {
        width: 4.25rem;
    }
}

@media (max-width: 1200px) {
    .people-data-table {
        min-width: 50rem;
    }

    .people-col-provider {
        width: 34%;
    }

    .people-col-status {
        width: 11%;
    }

    .people-col-attention {
        width: 16%;
    }

    .people-col-reliability {
        width: 13%;
    }

    .people-col-related {
        width: 21%;
    }

    .people-col-actions {
        width: 4rem;
    }
}

@media (max-width: 991.98px) {
    .people-filter-form--single {
        grid-template-columns: 1fr 1fr;
    }

    .people-filter-actions {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767.98px) {
    .people-filter-form--single {
        grid-template-columns: 1fr;
    }

    .people-contact-actions .btn {
        width: 100%;
    }

    .people-contact-actions {
        justify-content: flex-start;
        width: 100%;
    }

    .people-data-table {
        min-width: 0;
    }

    .people-data-table .people-contact-actions {
        flex-wrap: wrap;
    }
}

.property-link-option-list {
    display: grid;
    gap: .35rem;
    max-height: 11rem;
    min-height: 5.5rem;
    overflow-y: auto;
    padding: .45rem;
    border: 1px solid rgba(36, 57, 37, .18);
    border-radius: .45rem;
    background: rgba(255, 255, 255, .72);
}

.property-link-option {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: .45rem;
    min-height: 2rem;
    margin: 0;
    padding: .2rem .25rem;
    border-radius: .35rem;
    cursor: pointer;
}

.property-link-option:hover {
    background: rgba(109, 123, 86, .09);
}

.property-link-option input {
    margin: 0;
}

.property-link-option span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.work-page {
    display: grid;
    gap: 1rem;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.work-page > .page-header {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-inline: 0;
    justify-self: stretch;
}

.work-heading {
    align-items: flex-start;
}

.work-blocked-reason {
    color: var(--homepm-copper) !important;
}

@media (max-width: 980px) {
    .intent-flow-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .work-heading,
    .intent-flow-card ol {
        display: grid;
        grid-template-columns: 1fr;
    }

    .work-actions,
    .work-actions .btn,
    .work-empty-state .btn {
        width: 100%;
    }

}

.property-photo-viewer-nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: inline-grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    padding: 0;
    color: var(--homepm-white);
    background: rgba(36, 57, 37, .78);
    border: 1px solid rgba(255, 253, 245, .5);
    border-radius: 50%;
    box-shadow: 0 .55rem 1.35rem rgba(0, 0, 0, .28);
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1;
    transform: translateY(-50%);
}

.property-photo-viewer-nav:hover,
.property-photo-viewer-nav:focus {
    background: var(--homepm-forest);
}

.property-photo-viewer-nav.is-prev {
    left: 1rem;
}

.property-photo-viewer-nav.is-next {
    right: 1rem;
}

.property-photo-viewer-count {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    z-index: 2;
    padding: .18rem .55rem;
    color: var(--homepm-white);
    background: rgba(36, 57, 37, .78);
    border: 1px solid rgba(255, 253, 245, .42);
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 900;
}

.side-dialog {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 2060;
    display: grid;
    width: min(32rem, calc(100vw - 1rem));
    max-width: 100%;
    pointer-events: none;
}

.side-dialog--editor {
    width: min(44rem, calc(100vw - 1rem));
}

.side-dialog--extended {
    width: min(68.5rem, calc(100vw - 1rem));
}

.side-dialog--wide {
    width: min(56rem, calc(100vw - 1rem));
}

.side-dialog--viewer {
    width: min(68rem, calc(100vw - 1rem));
}

.side-dialog__surface {
    --homepm-sky-text-color: var(--homepm-forest);
    --homepm-sky-muted-text-color: var(--homepm-muted);
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    min-height: 0;
    margin: .75rem;
    overflow: hidden;
    color: var(--homepm-charcoal);
    background: linear-gradient(180deg, rgba(232, 241, 240, .78), rgba(255, 253, 245, .98) 28%), #fffdf5;
    border: 1px solid rgba(36, 57, 37, .16);
    border-radius: .5rem;
    box-shadow: 0 1.25rem 3.25rem rgba(26, 34, 26, .28);
    pointer-events: auto;
}

.side-dialog__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    min-width: 0;
    padding: 1rem 1.1rem;
    border-bottom: 1px solid rgba(36, 57, 37, .12);
    background: rgba(255, 253, 245, .88);
}

.side-dialog__title-group {
    display: grid;
    gap: .15rem;
    flex: 1 1 auto;
    min-width: 0;
}

.side-dialog__title-group h2 {
    margin: 0;
    color: var(--homepm-forest);
    font-size: 1.2rem;
    line-height: 1.2;
}

.side-dialog__title-group p {
    margin: 0;
    color: var(--homepm-muted);
    font-size: .86rem;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.side-dialog__index-link {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    gap: .35rem;
    min-height: 2rem;
    color: var(--homepm-forest);
    font-size: .82rem;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.side-dialog__index-link:hover,
.side-dialog__index-link:focus {
    color: var(--homepm-accent);
    text-decoration: underline;
}

.side-dialog__index-link .app-icon {
    width: 1rem;
    height: 1rem;
}

.side-dialog__body {
    min-height: 0;
    overflow: auto;
    padding: 1rem;
}

.side-dialog-form,
.side-dialog-section {
    display: grid;
    gap: 1rem;
}

.side-dialog-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    align-items: center;
    justify-content: flex-end;
}

.side-dialog-support {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(36, 57, 37, .12);
}

.typeahead-select {
    position: relative;
    display: grid;
    flex: 1 1 auto;
    gap: .35rem;
    min-width: 0;
}

.typeahead-control {
    position: relative;
    min-width: 0;
}

.typeahead-input {
    padding-right: 2.4rem;
}

.typeahead-control:has(.typeahead-open-linked) .typeahead-input {
    padding-right: 4.7rem;
}

.typeahead-clear {
    position: absolute;
    top: 50%;
    right: .45rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.65rem;
    height: 1.65rem;
    padding: 0;
    color: var(--homepm-muted);
    background: transparent;
    border: 0;
    border-radius: 999px;
    font-weight: 900;
    line-height: 1;
    transform: translateY(-50%);
}

.typeahead-clear:hover,
.typeahead-clear:focus {
    color: var(--homepm-forest);
    background: rgba(36, 57, 37, .08);
}

.typeahead-open-linked {
    position: absolute;
    top: 50%;
    right: 2.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.8rem;
    height: 1.8rem;
    color: var(--homepm-muted);
    border-left: 1px solid rgba(36, 57, 37, .12);
    transform: translateY(-50%);
}

.typeahead-open-linked:hover,
.typeahead-open-linked:focus {
    color: var(--homepm-forest);
}

.typeahead-menu {
    position: absolute;
    z-index: 1080;
    top: calc(100% + .25rem);
    right: 0;
    left: 0;
    display: grid;
    max-height: min(18rem, 45vh);
    overflow: auto;
    padding: .3rem;
    border: 1px solid rgba(36, 57, 37, .18);
    border-radius: .45rem;
    background: #fffdf8;
    box-shadow: 0 .9rem 2rem rgba(36, 57, 37, .16);
}

.typeahead-option {
    display: grid;
    gap: .1rem;
    width: 100%;
    min-height: 2.35rem;
    padding: .45rem .55rem;
    color: var(--homepm-charcoal);
    text-align: left;
    background: transparent;
    border: 0;
    border-radius: .35rem;
}

.typeahead-option:hover,
.typeahead-option:focus,
.typeahead-option.is-active {
    color: var(--homepm-forest);
    background: rgba(232, 241, 240, .9);
}

.typeahead-option--create {
    color: var(--homepm-copper);
    border-bottom: 1px solid rgba(36, 57, 37, .1);
}

.typeahead-option--create .typeahead-option-label::before {
    content: "+ ";
    font-weight: 900;
}

.typeahead-option-label {
    font-weight: 850;
    line-height: 1.25;
}

.typeahead-option-description,
.typeahead-option-group,
.typeahead-empty {
    color: var(--homepm-muted);
    font-size: .78rem;
    font-weight: 700;
}

.typeahead-empty {
    padding: .65rem;
}

.typeahead-selected-list {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
    min-width: 0;
}

.typeahead-selected-item {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    min-height: 1.9rem;
    gap: .35rem;
    padding: .2rem .32rem .2rem .55rem;
    color: var(--homepm-forest);
    background: rgba(232, 241, 240, .9);
    border: 1px solid rgba(72, 96, 108, .22);
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 850;
}

.typeahead-selected-item > span:first-child {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.typeahead-selected-item button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.35rem;
    height: 1.35rem;
    padding: 0;
    color: inherit;
    background: rgba(255, 253, 245, .68);
    border: 0;
    border-radius: 999px;
    font-size: .74rem;
    font-weight: 900;
    line-height: 1;
}

.typeahead-selected-item button:hover,
.typeahead-selected-item button:focus {
    background: rgba(36, 57, 37, .12);
}

.property-workspace {
    display: grid;
    gap: 1rem;
}

.property-hero {
    display: grid;
    grid-template-columns: minmax(22rem, .95fr) minmax(0, 1.05fr);
    min-height: clamp(24rem, 38vw, 34rem);
    overflow: hidden;
    border: 1px solid rgba(36, 57, 37, .12);
    border-radius: .5rem;
    background: linear-gradient(135deg, rgba(232, 241, 240, .9), rgba(255, 253, 245, .95) 52%, rgba(241, 216, 201, .46)), #fffdf5;
    box-shadow: var(--homepm-shadow);
}

.property-hero__media {
    min-width: 0;
    min-height: 0;
    background: rgba(36, 57, 37, .08);
}

.property-hero__media .property-photo-carousel,
.property-hero__media .property-photo-stage,
.property-hero__media .property-photo-link,
.property-hero__media .property-profile-hero {
    height: 100%;
}

.property-hero__media .property-profile-hero {
    min-height: 100%;
}

.property-hero__content {
    display: grid;
    grid-template-rows: auto minmax(1rem, 1fr) auto;
    align-content: stretch;
    gap: 1rem;
    min-width: 0;
    padding: clamp(1rem, 2.6vw, 2rem);
}

.property-hero__top {
    display: grid;
    gap: .85rem;
    align-self: start;
}

.property-hero__bottom {
    display: grid;
    grid-row: 3;
    gap: .9rem;
    align-self: end;
}

.property-hero__title-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    min-width: 0;
}

.property-hero__tools {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    gap: .5rem;
    flex-wrap: wrap;
}

.property-hero__eyebrow {
    margin: 0 0 .25rem;
    color: #48606C;
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.property-hero h1 {
    margin: 0;
    color: var(--homepm-forest);
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.02;
    overflow-wrap: anywhere;
}

.property-hero__address,
.property-hero__summary,
.property-hero__description {
    margin: 0;
    color: var(--homepm-charcoal);
    line-height: 1.45;
}

.property-hero__summary,
.property-hero__description {
    color: var(--homepm-muted);
    font-weight: 700;
}

.property-hero__facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(6.5rem, 1fr));
    gap: .65rem;
    margin: 0;
}

.property-hero__facts div {
    display: grid;
    gap: .1rem;
    min-width: 0;
    padding: .7rem;
    border: 1px solid rgba(36, 57, 37, .12);
    border-radius: .45rem;
    background: rgba(255, 253, 245, .72);
}

.property-hero__facts dt {
    color: var(--homepm-muted);
    font-size: .72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.property-hero__facts dd {
    margin: 0;
    color: var(--homepm-forest);
    font-weight: 900;
}

.property-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    align-items: center;
}

.chip--status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2rem;
    padding: .25rem .7rem;
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 900;
    white-space: nowrap;
}

.chip--status-critical {
    color: #5B271D;
    background: rgba(164, 82, 61, .14);
    border: 1px solid rgba(164, 82, 61, .3);
}

.chip--status-warning {
    color: #604214;
    background: rgba(198, 146, 62, .14);
    border: 1px solid rgba(198, 146, 62, .3);
}

.chip--status-ok {
    color: var(--homepm-forest);
    background: rgba(63, 107, 69, .12);
    border: 1px solid rgba(63, 107, 69, .24);
}

.property-tabs {
    position: sticky;
    top: .5rem;
    z-index: 5;
    display: flex;
    gap: .35rem;
    min-width: 0;
    overflow-x: auto;
    padding: .35rem;
    border: 1px solid rgba(36, 57, 37, .12);
    border-radius: .5rem;
    background: rgba(255, 253, 245, .9);
    box-shadow: 0 .55rem 1.35rem rgba(36, 57, 37, .08);
}

.property-tabs__tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    min-height: 2.6rem;
    padding: .45rem .8rem;
    color: var(--homepm-forest);
    border: 1px solid transparent;
    border-radius: .45rem;
    background: transparent;
    font-weight: 900;
    white-space: nowrap;
}

.property-tabs__tab:hover,
.property-tabs__tab:focus {
    border-color: rgba(36, 57, 37, .2);
    background: rgba(232, 241, 240, .56);
}

.property-tabs__tab.is-active {
    color: var(--homepm-forest);
    border-color: rgba(109, 123, 86, .34);
    background: rgba(177, 182, 159, .22);
}

.property-workspace__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(17rem, 22rem);
    gap: 1rem;
    align-items: start;
}

.property-workspace__main,
.property-tab-panel,
.property-overview-grid {
    display: grid;
    gap: 1rem;
    min-width: 0;
}

.property-tab-panel {
    --homepm-sky-text-color: var(--homepm-forest);
    --homepm-sky-muted-text-color: var(--homepm-muted);
    padding: 1rem;
    border: 1px solid rgba(36, 57, 37, .12);
    border-radius: .5rem;
    background: rgba(255, 253, 245, .8);
    box-shadow: 0 .7rem 1.5rem rgba(36, 57, 37, .06);
}

.property-tab-panel__header,
.property-overview-card__header {
    display: flex;
    justify-content: space-between;
    gap: .75rem;
    align-items: flex-start;
    min-width: 0;
}

.property-tab-panel__header h2,
.property-overview-card__header h2 {
    margin: 0;
    color: var(--homepm-forest);
    font-size: 1.2rem;
}

.property-tab-panel__header p {
    margin: .15rem 0 0;
    color: var(--homepm-muted);
    font-weight: 700;
}

.property-priority-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .85rem;
}

.card--priority,
.property-overview-card,
.card--system {
    --homepm-sky-text-color: var(--homepm-forest);
    --homepm-sky-muted-text-color: var(--homepm-muted);
    display: grid;
    gap: .85rem;
    min-width: 0;
    padding: .95rem;
    border: 1px solid rgba(36, 57, 37, .12);
    border-radius: .5rem;
    background: rgba(255, 253, 245, .86);
    box-shadow: 0 .55rem 1.2rem rgba(36, 57, 37, .05);
}

.card--priority {
    align-content: space-between;
    min-height: 10rem;
}

.card--priority-critical {
    border-color: rgba(164, 82, 61, .26);
    background: linear-gradient(180deg, rgba(164, 82, 61, .1), rgba(255, 253, 245, .92));
}

.card--priority h2,
.card--system strong {
    margin: .35rem 0 .15rem;
    color: var(--homepm-forest);
    font-size: 1.1rem;
}

.card--priority p,
.card--system span,
.property-overview-card p {
    margin: 0;
    color: var(--homepm-muted);
    line-height: 1.4;
}

.property-overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.property-overview-card:last-child {
    grid-column: 1 / -1;
}

.property-room-list,
.property-system-grid {
    display: grid;
    gap: .75rem;
}

.list-row--room {
    --area-depth: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: .75rem;
    align-items: center;
    min-width: 0;
    padding: .75rem;
    border: 1px solid rgba(36, 57, 37, .12);
    border-radius: .5rem;
    background: rgba(255, 253, 245, .86);
}

.property-row-main {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: .5rem;
    align-items: center;
    min-width: 0;
    padding: 0;
    padding-left: calc(var(--area-depth) * .85rem);
    color: inherit;
    text-align: left;
    background: transparent;
    border: 0;
}

.property-row-main strong,
.property-row-main small {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.property-row-main strong {
    color: var(--homepm-forest);
}

.property-row-main small,
.property-row-metrics span {
    color: var(--homepm-muted);
    font-size: .82rem;
    font-weight: 700;
}

.property-row-metrics {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .35rem;
}

.property-row-metrics span {
    display: inline-flex;
    align-items: center;
    gap: .22rem;
    min-height: 1.75rem;
    padding: .15rem .5rem;
    border: 1px solid rgba(72, 96, 108, .18);
    border-radius: 999px;
    background: rgba(232, 241, 240, .58);
}

.property-system-grid {
    grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
}

.card--system-warning {
    border-color: rgba(191, 121, 73, .26);
}

.property-system-card__main {
    display: grid;
    gap: .2rem;
    min-width: 0;
    padding: 0;
    color: inherit;
    text-align: left;
    background: transparent;
    border: 0;
}

.property-system-card__facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .5rem;
    margin: 0;
}

.property-system-card__facts dt {
    color: var(--homepm-muted);
    font-size: .7rem;
    font-weight: 900;
    text-transform: uppercase;
}

.property-system-card__facts dd {
    margin: 0;
    color: var(--homepm-forest);
    font-weight: 800;
    overflow-wrap: anywhere;
}

.property-system-card__actions,
.property-tab-panel__actions,
.property-editor-actions,
.property-panel-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    align-items: center;
}

.property-context-rail {
    display: grid;
    gap: .85rem;
    position: sticky;
    top: 4.35rem;
}

.property-rail-section {
    --homepm-sky-text-color: var(--homepm-forest);
    --homepm-sky-muted-text-color: var(--homepm-muted);
    display: grid;
    gap: .75rem;
    min-width: 0;
    padding: .9rem;
    border: 1px solid rgba(36, 57, 37, .12);
    border-radius: .5rem;
    background: rgba(255, 253, 245, .82);
}

.property-rail-section h2 {
    margin: 0;
    color: var(--homepm-forest);
    font-size: 1rem;
}

.property-rail-section dl {
    display: grid;
    gap: .45rem;
    margin: 0;
}

.property-rail-section dl div {
    display: flex;
    justify-content: space-between;
    gap: .75rem;
    min-width: 0;
}

.property-rail-section dt {
    color: var(--homepm-muted);
    font-weight: 800;
}

.property-rail-section dd {
    margin: 0;
    color: var(--homepm-forest);
    font-weight: 900;
}

.property-rail-section a,
.property-rail-section a:link,
.property-rail-section a:visited {
    color: inherit;
    text-decoration: none;
}

.property-rail-section a:hover,
.property-rail-section a:focus {
    color: var(--homepm-forest);
    text-decoration: underline;
    text-underline-offset: .18rem;
}

.property-rail-actions {
    display: grid;
    gap: .45rem;
}

.property-rail-actions a,
.property-rail-actions button {
    display: flex;
    align-items: center;
    gap: .45rem;
    min-height: 2.4rem;
    padding: .45rem .55rem;
    color: var(--homepm-forest);
    text-decoration: none;
    border: 1px solid rgba(36, 57, 37, .1);
    border-radius: .45rem;
    background: rgba(232, 241, 240, .46);
    font-weight: 800;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.property-editor-form,
.property-panel-detail,
.property-panel-section {
    display: grid;
    gap: .85rem;
}

.property-editor-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
}

.property-editor-context {
    display: grid;
    gap: .15rem;
    padding: .7rem .8rem;
    border: 1px solid rgba(72, 96, 108, .18);
    border-radius: .45rem;
    background: rgba(232, 241, 240, .52);
}

.property-editor-context span {
    color: var(--homepm-muted);
    font-size: .72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.property-editor-context strong {
    color: var(--homepm-forest);
}

.property-editor-flags {
    display: grid;
    gap: .45rem;
}

.property-editor-danger {
    display: grid;
    gap: .75rem;
    padding: .85rem;
    border: 1px solid rgba(139, 48, 38, .24);
    border-radius: .5rem;
    background: rgba(255, 244, 240, .78);
}

.property-editor-danger h3,
.property-editor-danger p {
    margin: 0;
}

.property-editor-danger h3 {
    color: #6f241c;
    font-size: 1rem;
}

.property-editor-danger p,
.property-editor-danger span {
    color: var(--homepm-charcoal);
    line-height: 1.45;
}

.property-editor-danger__confirm {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
}

.property-panel-description {
    margin: 0;
    color: var(--homepm-charcoal);
    line-height: 1.5;
}

.property-panel-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .55rem;
}

.property-panel-stats div {
    display: grid;
    gap: .1rem;
    min-width: 0;
    padding: .65rem;
    border: 1px solid rgba(36, 57, 37, .12);
    border-radius: .45rem;
    background: rgba(232, 241, 240, .46);
}

.property-panel-stats span {
    color: var(--homepm-muted);
    font-size: .7rem;
    font-weight: 900;
    text-transform: uppercase;
}

.property-panel-stats strong {
    color: var(--homepm-forest);
    font-size: 1.15rem;
}

.property-panel-section h3 {
    margin: 0;
    color: var(--homepm-forest);
    font-size: 1rem;
}

.property-panel-list {
    display: grid;
    gap: .45rem;
}

.property-panel-list a,
.property-panel-list button {
    display: grid;
    gap: .1rem;
    min-width: 0;
    padding: .62rem .7rem;
    color: var(--homepm-charcoal);
    text-align: left;
    text-decoration: none;
    border: 1px solid rgba(36, 57, 37, .1);
    border-radius: .45rem;
    background: rgba(255, 253, 245, .86);
}

.property-panel-list a:hover,
.property-panel-list a:focus,
.property-panel-list button:hover,
.property-panel-list button:focus {
    border-color: rgba(72, 96, 108, .34);
    background: rgba(232, 241, 240, .56);
}

.property-panel-list strong,
.property-panel-list span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.property-panel-list strong {
    color: var(--homepm-forest);
}

.property-panel-list span {
    color: var(--homepm-muted);
    font-size: .82rem;
    font-weight: 700;
}

.property-standalone-assets {
    --homepm-sky-text-color: var(--homepm-forest);
    --homepm-sky-muted-text-color: var(--homepm-muted);
    display: grid;
    gap: .75rem;
    min-width: 0;
    padding: .95rem;
    border: 1px solid rgba(36, 57, 37, .12);
    border-radius: .5rem;
    background: rgba(255, 253, 245, .86);
}

@media (max-width: 1180px) {
    .property-hero,
    .property-workspace__layout {
        grid-template-columns: 1fr;
    }

    .property-hero {
        min-height: 0;
    }

    .property-hero__media .property-profile-hero {
        min-height: 18rem;
        aspect-ratio: 16 / 8;
    }

    .property-context-rail {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .side-dialog {
        inset: auto 0 0;
        width: 100%;
        height: min(88vh, 44rem);
    }

    .side-dialog__surface {
        margin: .5rem;
        border-radius: .5rem .5rem 0 0;
    }

    .property-hero__title-row,
    .property-tab-panel__header,
    .property-overview-card__header,
    .property-editor-grid,
    .list-row--room {
        display: grid;
        grid-template-columns: 1fr;
    }

    .property-hero__tools {
        justify-content: flex-start;
    }

    .property-hero__content {
        padding: 1rem;
    }

    .property-priority-grid,
    .property-overview-grid,
    .property-context-rail {
        grid-template-columns: 1fr;
    }

    .property-overview-card:last-child {
        grid-column: auto;
    }

    .property-row-metrics {
        justify-content: flex-start;
    }
}

.content-wrap h3,
.side-dialog h3,
.panel h3 {
    font-family: var(--homepm-body-font, var(--bs-body-font-family));
    text-transform: none;
    letter-spacing: 0;
}

.main-panel:has(.plan-page)::before {
    display: none;
}

body:has(.plan-page) .main-panel,
body:has(.plan-page) .homepm-ambient-sky-host,
body:has(.plan-page) .homepm-ambient-sky__content {
    height: 100dvh;
    min-height: 0;
    overflow: hidden;
}

body:has(.plan-page) .homepm-ambient-sky-host--bypassed {
    position: relative;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
    background: #f7f8f5;
    color: var(--homepm-forest);
}

body:has(.plan-page) .homepm-ambient-sky-host--bypassed > .homepm-ambient-sky__content {
    position: relative;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    color: var(--homepm-forest);
}

body:has(.plan-page) .landscape-footer {
    display: none;
}

body:has(.plan-page) .global-capture-action {
    display: none;
}

body:has(.plan-page) .content-wrap:has(.plan-page) {
    --homepm-forest-safe-space: 0;
    flex: 1 1 auto;
    height: auto;
    min-height: 0;
    padding: .75rem;
    padding-bottom: .75rem;
    overflow: hidden;
}

.plan-page {
    width: 100%;
    height: 100%;
    min-height: 0;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    gap: .55rem;
}

.plan-page:has(.plan-alert) {
    grid-template-rows: auto auto minmax(0, 1fr);
}

.plan-topbar {
    --homepm-sky-text-color: var(--homepm-forest);
    --homepm-sky-muted-text-color: var(--homepm-muted);
    display: grid;
    grid-template-columns: minmax(12rem, 1fr) minmax(13rem, .65fr) minmax(11rem, .55fr) minmax(11rem, .55fr) auto;
    gap: .55rem;
    align-items: end;
    min-width: 0;
    padding: .65rem;
    color: var(--homepm-charcoal);
    background: rgba(255, 253, 245, .88);
    border: 1px solid rgba(36, 57, 37, .12);
    border-radius: .5rem;
    box-shadow: 0 .55rem 1.15rem rgba(36, 57, 37, .08);
}

.plan-title-block {
    min-width: 0;
    align-self: center;
}

.plan-title-block .page-title {
    font-size: 1.35rem;
    line-height: 1.05;
}

.plan-title-block .page-subtitle {
    color: var(--homepm-muted);
    font-size: .82rem;
}

.capture-photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(5.5rem, 1fr));
    gap: .5rem;
}

.capture-photo-preview {
    display: block;
    aspect-ratio: 1;
    overflow: hidden;
    border: 1px solid rgba(36, 57, 37, .16);
    border-radius: .45rem;
    background: var(--homepm-paper);
}

.capture-photo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.plan-canvas-picker,
.plan-canvas-create,
.plan-canvas-rename {
    display: grid;
    grid-template-columns: minmax(9rem, 1fr) 2.25rem;
    gap: .26rem .42rem;
    align-items: end;
    min-width: 0;
}

.plan-canvas-picker .form-label,
.plan-canvas-create .form-label,
.plan-canvas-rename .form-label {
    grid-column: 1 / -1;
    margin: 0;
    color: var(--homepm-muted);
    font-size: .66rem;
    font-weight: 900;
    text-transform: uppercase;
}

.plan-canvas-picker .form-control,
.plan-canvas-picker .form-select,
.plan-canvas-create .form-control,
.plan-canvas-rename .form-control {
    width: 100%;
    min-width: 0;
    min-height: 2.25rem;
    padding-block: .32rem;
    font-size: .84rem;
}

.plan-canvas-picker .btn-icon-only,
.plan-canvas-create .btn-icon-only,
.plan-canvas-rename .btn-icon-only,
.plan-actions .btn-icon-only {
    display: inline-grid;
    width: 2.25rem;
    min-width: 2.25rem;
    height: 2.25rem;
    min-height: 2.25rem;
    padding: 0;
    place-items: center;
    flex: 0 0 2.25rem;
}

.plan-canvas-picker .btn-icon-only .app-icon,
.plan-canvas-create .btn-icon-only .app-icon,
.plan-canvas-rename .btn-icon-only .app-icon,
.plan-actions .btn-icon-only .app-icon {
    width: 1rem;
    height: 1rem;
}

.plan-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: .38rem;
    min-width: 0;
}

.plan-actions .btn {
    min-height: 2.25rem;
}

.plan-actions .btn-primary {
    gap: .35rem;
    padding-inline: .7rem;
    font-weight: 900;
}

.plan-fullscreen-toggle {
    min-width: max-content;
    font-weight: 900;
}

body.plan-page-fullscreen {
    overflow: hidden;
}

body.plan-page-fullscreen .plan-page {
    position: fixed;
    inset: 0;
    z-index: 5000;
    height: 100dvh;
    min-height: 0;
    padding: .5rem;
    background: #f7f8f5;
}

body.plan-page-fullscreen .plan-topbar {
    grid-template-columns: minmax(13rem, 20rem) minmax(0, 1fr);
    align-items: center;
    padding: .45rem;
}

body.plan-page-fullscreen .plan-title-block,
body.plan-page-fullscreen .plan-canvas-create,
body.plan-page-fullscreen .plan-canvas-rename {
    display: none;
}

body.plan-page-fullscreen .plan-actions {
    justify-content: end;
}

body.plan-page-fullscreen .plan-fullscreen-toggle::before {
    content: "Exit ";
}

.plan-workspace {
    position: relative;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    background: #f7f8f5;
    border: 1px solid rgba(36, 57, 37, .18);
    border-radius: .5rem;
    box-shadow: inset 0 0 0 1px rgba(255, 253, 245, .62);
}

.plan-whiteboard-host {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
}

@media (max-width: 1180px) {
    .plan-topbar {
        grid-template-columns: minmax(12rem, 1fr) minmax(12rem, .8fr) auto;
    }

    .plan-canvas-create,
    .plan-canvas-rename {
        display: none;
    }
}

@media (max-width: 760px) {
    body:has(.plan-page) .main-panel,
    body:has(.plan-page) .homepm-ambient-sky-host,
    body:has(.plan-page) .homepm-ambient-sky__content {
        height: calc(100dvh - 4.75rem);
        min-height: 0;
        overflow: hidden;
    }

    body:has(.plan-page) .content-wrap:has(.plan-page) {
        height: auto;
        padding: .5rem;
        padding-bottom: .5rem;
        overflow: hidden;
    }

    .plan-page {
        gap: .45rem;
    }

    .plan-topbar {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        padding: .5rem;
    }

    .plan-title-block .page-subtitle,
    .plan-canvas-picker,
    .plan-actions .btn-outline-secondary {
        display: none;
    }

    .plan-title-block .page-title {
        font-size: 1.15rem;
    }

}
