.project-module{display:flex;flex-direction:column;gap:24px;padding:32px;min-width:0}.project-module #project-panel{display:flex;flex-direction:column;gap:24px}.project-panel{display:flex;flex-direction:column;gap:16px;padding:24px}.project-fields{display:grid;gap:16px;align-items:start}.project-fields>div{display:flex;flex-direction:column;gap:4px;min-width:0}.two-columns{grid-template-columns:repeat(2,minmax(0,1fr))}.three-columns{grid-template-columns:repeat(3,minmax(0,1fr))}.project-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.project-metrics .metric-value{font-size:28px;overflow-wrap:anywhere}.project-value{display:block;font-size:24px}.project-filters{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr) minmax(0,1fr);gap:16px;align-items:center}.project-filters .field{min-width:0}.project-record-list{border:1px solid var(--color-border);border-radius:12px;background:var(--color-surface);min-width:0}.project-row{display:grid;align-items:center;gap:16px;padding:16px 24px;min-width:0;border-bottom:1px solid var(--color-border);text-align:left}.project-row:last-child{border-bottom:0}.project-row>div{display:flex;flex-direction:column;gap:4px;min-width:0;overflow-wrap:anywhere}.project-row>.module-actions{flex-direction:row}.project-column-headings{background:var(--color-canvas);font-size:14px;color:var(--color-muted);border-radius:12px 12px 0 0}.current-menu .project-row{grid-template-columns:minmax(140px,2fr) minmax(70px,.8fr) minmax(80px,.9fr) minmax(130px,1.3fr) minmax(155px,1.4fr) 48px}.current-menu .field label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.current-menu .ratio-pair{gap:12px}.current-menu .ratio-pair strong{font-size:16px}.project-row .field-helper:empty{display:none}.projects-row{grid-template-columns:2fr 2fr 1fr 1.5fr}.cost-row{grid-template-columns:minmax(160px,2fr) minmax(70px,1fr) minmax(100px,1fr) minmax(100px,1fr) minmax(100px,1fr) minmax(165px,1.5fr)}.cash-preview .project-row,.owner-outlook .project-row{grid-template-columns:repeat(5,minmax(0,1fr))}.mobile-cell-label{display:none}.project-shareholder{display:grid;grid-template-columns:2fr 1fr 48px;gap:16px;align-items:center}.project-contribution,.project-payment-row{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr) 48px;gap:16px;align-items:center;padding:16px}.project-contribution>div{display:flex;flex-direction:column}.project-check{display:flex;align-items:center;gap:12px;min-height:44px}.project-check input{width:20px;height:20px;flex:none}.project-mix-list,.project-schedule-list{max-height:460px;overflow-y:auto;padding-right:4px}.project-mix-row{display:grid;grid-template-columns:minmax(120px,2fr) 1.3fr 1fr;gap:16px;align-items:center;padding:12px 0;border-bottom:1px solid var(--color-border)}.performance-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.performance-card{display:flex;flex-direction:column;gap:16px;padding:24px}.performance-card h2{border-top:3px solid var(--color-brand);padding-top:16px}.performance-card.neutral h2{border-color:var(--color-positive,#47701f)}.performance-card.optimistic h2{border-color:var(--color-warning,#a85207)}.performance-card .field-helper:empty{display:none}.performance-card .project-fields{padding-top:12px;border-top:1px solid var(--color-border)}.project-recovery{display:flex;flex-direction:column;gap:8px;border-top:1px solid var(--color-border);padding-top:16px}.scenario-compact-selector{display:none}.recovery-legend{display:flex;gap:24px;flex-wrap:wrap}.recovery-key{border-left:4px solid var(--color-brand);padding-left:8px;font-size:14px}.recovery-key.neutral{border-color:var(--color-positive,#47701f);border-left-style:dashed}.recovery-key.optimistic{border-color:var(--color-warning,#a85207);border-left-style:dotted}.project-cost-dialog{width:min(900px,calc(100% - 32px))}.project-schedule-row{display:grid;grid-template-columns:1fr 1fr 1.2fr;gap:16px;align-items:center;border-bottom:1px solid var(--color-border);padding:12px 0}.project-schedule-row .button{white-space:normal}.project-selector{width:248px;max-width:100%;display:flex;flex-direction:column;background:var(--color-nav-selected);border-radius:8px;padding:8px 12px;gap:0;color:var(--color-on-brand)}.sidebar-content{gap:24px}.shared-library-divider{display:flex;align-items:center;gap:12px;padding:12px 16px;height:44px;font-size:14px;line-height:20px;opacity:.75;white-space:nowrap}.shared-library-divider span:first-child,.shared-library-divider span:last-child{height:1px;background:var(--color-nav-divider);flex:1;min-width:1px}.compact-project-bar{display:none}.compact-navigation-toggle{color:var(--color-on-brand);background:transparent}.project-module .notice ul{padding-left:20px}.project-module a{overflow-wrap:anywhere}
@media(max-width:1399px) and (min-width:1100px){.cost-row{grid-template-columns:2fr 1fr 1fr 1fr}.cost-row>:nth-child(2){display:none}.cost-row>:last-child{grid-column:1/-1}.current-menu .project-row{grid-template-columns:1.6fr .8fr .9fr 1.3fr 1.5fr 44px;gap:12px;padding:16px}}
@media(max-width:1099px){.compact-project-bar{display:flex;align-items:center;gap:12px;background:var(--color-brand);padding:12px 20px;color:var(--color-on-brand)}.compact-project-bar .project-selector{width:240px;padding:4px 12px}.compact-project-bar .avatar{width:40px;height:40px}.dashboard-content>.page-heading,.ingredients-content>.back-link:first-child,.ingredients-content>.module-heading:first-child>div:first-child,.pricing-module>.module-heading:first-child>div:first-child,.recipes-content>.module-heading:first-child>div:first-child{margin-left:0;min-height:0}.project-module{padding:24px}.performance-cards:not(.overview-comparison){grid-template-columns:1fr}.performance-cards:not(.overview-comparison) .performance-card{display:none}.performance-cards:not(.overview-comparison) .performance-card.editing-scenario{display:flex}.scenario-compact-selector{display:block}.current-menu .project-column-headings,.cost-row.project-column-headings{display:none}.current-menu .project-row,.project-row.cost-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:20px}.current-menu .project-row>div:first-child,.cost-row>div:first-child{grid-column:1/-1}.current-menu .project-row>div:last-child{grid-column:2;grid-row:1;justify-self:end}.cost-row>div:last-child{grid-column:1/-1}.current-menu .field label{position:static;width:auto;height:auto;clip-path:none}.mobile-cell-label{display:block;font-size:14px;color:var(--color-muted)}.overview-comparison{grid-template-columns:1fr}.project-metrics{gap:12px}.project-metrics .metric-value{font-size:24px}.current-menu .ratio-pair{flex-wrap:wrap}.cash-preview .project-column-headings{display:none}.cash-preview .project-row{grid-template-columns:repeat(2,minmax(0,1fr))}.cash-preview .project-row>strong{grid-column:1/-1}}
@media(max-width:699px){.project-module{padding:20px;gap:20px}.project-module #project-panel{gap:20px}.project-panel,.performance-card{padding:20px}.project-metrics,.project-fields,.project-filters{grid-template-columns:1fr}.project-metrics .metric-card{min-height:100px}.project-metrics .metric-value{font-size:28px}.current-menu .project-row{display:grid;border:1px solid var(--color-border);border-radius:12px;margin-bottom:16px;background:var(--color-surface)}.current-menu.project-record-list{border:0;background:transparent}.current-menu .project-row>div:nth-child(4){grid-column:1/-1}.project-shareholder{grid-template-columns:minmax(0,1fr) 90px 44px;gap:8px}.project-shareholder .field label{font-size:14px}.projects-row{grid-template-columns:1fr}.projects-row.project-column-headings{display:none}.owner-outlook .project-column-headings{display:none}.owner-outlook .project-row{grid-template-columns:repeat(2,minmax(0,1fr))}.owner-outlook .project-row>strong{grid-column:1/-1}.project-mix-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.project-mix-row .project-check{grid-column:1/-1}.project-schedule-row{grid-template-columns:1fr}.project-schedule-row>*{min-width:0}.project-contribution{grid-template-columns:1fr 44px}.project-contribution>strong{grid-column:1;grid-row:2}.project-contribution>.grizzlys-record-menu{grid-column:2;grid-row:1/3}.compact-project-bar{padding:8px 12px;gap:8px}.compact-project-bar .project-selector{width:auto;flex:1;max-width:250px}.project-module .module-actions{flex-wrap:wrap}.project-module .module-actions .button{white-space:normal}.project-module .grizzlys-record-menu{flex:none}.project-cost-dialog{width:calc(100% - 24px)}}
.project-module .panel{background:var(--color-surface);border:1px solid var(--color-border);border-radius:12px;min-width:0}.project-module .project-panel,.project-module .performance-card{padding:24px}.project-module .button{align-self:flex-start}.project-module .pricing-toolbar>.button{flex:none}@media(max-width:699px){.project-module .project-panel,.project-module .performance-card{padding:20px}}
@media(max-width:1099px){.current-menu .project-row.project-column-headings{display:none}.current-menu .project-row>div:first-child{grid-column:1;grid-row:1}}
.monthly-cash-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;min-width:0}.monthly-cash-toolbar h2{min-width:0}.monthly-cash-toolbar>.field{width:200px;max-width:50%;flex-shrink:0}.monthly-cash-toolbar .field-helper:empty{display:none}
.monthly-cash-scroll{width:100%;min-width:0;max-height:min(560px,65vh);overflow:auto;overscroll-behavior:contain;border:1px solid var(--color-border);border-radius:12px;background:var(--color-surface);isolation:isolate}.monthly-cash-scroll:focus-visible{outline:2px solid var(--color-brand);outline-offset:3px}
.monthly-cash-grid{width:max-content;min-width:100%;border-collapse:separate;border-spacing:0;table-layout:fixed}.monthly-cash-grid th,.monthly-cash-grid td{min-width:184px;padding:16px;text-align:left;vertical-align:middle;border-bottom:1px solid var(--color-border);white-space:nowrap;background:var(--color-surface)}.monthly-cash-grid thead th{position:sticky;top:0;z-index:3;width:184px;max-width:184px;white-space:normal;background:var(--color-canvas);font-size:14px;line-height:20px;font-weight:600;box-shadow:inset 0 -1px var(--color-border)}.monthly-cash-grid tr>:first-child{position:sticky;left:0;z-index:2;min-width:144px;width:144px;max-width:144px;border-right:1px solid var(--color-border)}.monthly-cash-grid thead tr>:first-child{z-index:4}.monthly-cash-grid tbody th{font-weight:600}.monthly-cash-grid tbody th>span{display:block}.monthly-cash-grid tbody th>.small{font-weight:400;color:var(--color-muted)}.monthly-cash-grid tbody tr:last-child>*{border-bottom:0}.monthly-cash-grid .cash-result,.monthly-cash-grid .cash-closing{font-weight:700;background:var(--color-canvas)}
@media(max-width:699px){.monthly-cash-toolbar{gap:12px}.monthly-cash-toolbar>.field{width:148px}.monthly-cash-scroll{max-height:60vh}.monthly-cash-grid th,.monthly-cash-grid td{min-width:176px;padding:12px 16px}.monthly-cash-grid tr>:first-child{min-width:128px;width:128px;max-width:128px}}
.scenario-assumptions{display:flex;flex-direction:column;gap:24px;min-width:0}.revenue-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.revenue-summary>div{min-width:0;overflow-wrap:anywhere}.revenue-summary>div:last-child{grid-column:1/-1}@media(max-width:699px){.scenario-assumptions{gap:20px}}
.cash-flow-section{display:flex;flex-direction:column;gap:16px;min-width:0}.cash-flow-controls{display:flex;align-items:flex-end;gap:16px;min-height:88px;border-bottom:1px solid var(--color-border);min-width:0}.cash-flow-controls>.costing-tabs{flex:1;border-bottom:0}.cash-flow-controls>.grizzlys-select-field{width:200px;flex:0 0 200px}.cash-flow-controls .field-helper:empty{display:none}.cash-flow-controls>.grizzlys-select-field{padding-bottom:8px}.cash-flow-panel{min-width:0}.cash-flow-panel{min-height:min(var(--cash-height,0px),560px,65vh)}.cash-flow-panel .monthly-cash-grid thead th{height:72px}.monthly-cash-summary th,.monthly-cash-summary td{min-width:184px}
@media(max-width:699px){.cash-flow-controls{gap:12px}.cash-flow-controls>.grizzlys-select-field{width:128px;flex-basis:128px}.cash-flow-controls .text-tab{white-space:normal;line-height:20px;min-width:min-content}.cash-flow-panel{min-height:min(var(--cash-height,0px),560px,60vh)}}

.cash-flow-rows-1{--cash-height:148px}.cash-flow-rows-2{--cash-height:224px}.cash-flow-rows-3{--cash-height:300px}.cash-flow-rows-4{--cash-height:376px}.cash-flow-rows-5{--cash-height:452px}.cash-flow-rows-6{--cash-height:528px}.cash-flow-rows-7{--cash-height:560px}.cash-flow-rows-8{--cash-height:560px}
.investment-grid-scroll{width:100%;min-width:0;max-height:min(420px,60vh);overflow:auto;border:1px solid var(--color-border);border-radius:12px;background:var(--color-surface)}.investment-grid-scroll:focus-visible{outline:2px solid var(--color-brand);outline-offset:3px}.investment-grid{width:100%;min-width:800px;border-collapse:separate;border-spacing:0}.investment-grid th,.investment-grid td{padding:12px 16px;text-align:left;vertical-align:middle;border-bottom:1px solid var(--color-border);background:var(--color-surface)}.investment-grid thead th{position:sticky;top:0;z-index:2;background:var(--color-canvas);font-size:14px;line-height:20px;font-weight:600;white-space:nowrap;box-shadow:inset 0 -1px var(--color-border)}.investment-grid tbody th{font-weight:600;min-width:180px;max-width:320px;overflow-wrap:anywhere}.investment-grid tbody td{white-space:nowrap}.investment-grid .investment-reference{min-width:160px;max-width:320px;white-space:normal;overflow-wrap:anywhere}.investment-grid tfoot th,.investment-grid tfoot td{font-weight:700;background:var(--color-canvas);border-bottom:0}.investment-grid .button{min-height:44px;padding:8px 12px;white-space:nowrap}.investment-schedule-warning{display:block;font-size:14px;line-height:20px;font-weight:400;color:var(--color-warning,#a85207);margin-top:4px}
.pricing-toolbar.investment-section-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px 12px}.investment-section-heading h2{min-width:0}.investment-section-heading>.button{justify-self:end;align-self:center;min-height:44px;padding:8px 12px}.investment-section-heading>p{grid-column:1/-1}@media(max-width:699px){.investment-section-heading h2{font-size:20px;line-height:28px}}
@media(max-width:699px){.cash-flow-rows-1{--cash-height:140px}.cash-flow-rows-2{--cash-height:208px}.cash-flow-rows-3{--cash-height:276px}.cash-flow-rows-4{--cash-height:344px}.cash-flow-rows-5{--cash-height:412px}.cash-flow-rows-6{--cash-height:480px}.cash-flow-rows-7{--cash-height:548px}.cash-flow-rows-8{--cash-height:560px}}
