/* Lavender Lotus Studio 9.2.2 — true-profit financial review and per-use rental costing */
.true-profit-panel{position:relative;isolation:isolate;background:linear-gradient(145deg,#fffdf9 0%,#fbf5f4 48%,#f4ecef 100%);border-color:rgba(95,58,77,.16);box-shadow:0 24px 70px rgba(65,40,53,.08)}
.true-profit-panel:before{content:"";position:absolute;inset:0 0 auto auto;width:260px;height:260px;border-radius:50%;background:radial-gradient(circle,rgba(171,133,151,.13),transparent 68%);pointer-events:none;z-index:-1}
.true-profit-panel .project-financials-head h2{max-width:820px;font-size:clamp(2.25rem,4.2vw,3.55rem);line-height:.92;letter-spacing:-.025em}
.true-profit-panel .project-financials-head p{max-width:800px}
.true-profit-formula{display:grid;grid-template-columns:auto minmax(0,1fr);gap:5px 22px;align-items:center;margin-top:24px;padding:18px 20px;border:1px solid rgba(95,58,77,.14);border-radius:18px;background:rgba(255,255,255,.72);box-shadow:inset 0 1px rgba(255,255,255,.8)}
.true-profit-formula span{font-size:.68rem;font-weight:850;letter-spacing:.12em;text-transform:uppercase;color:#866a79}
.true-profit-formula strong{font-family:"Cormorant Garamond",serif;font-size:1.35rem;font-weight:650;line-height:1.15;color:#3f2b35}
.true-profit-formula small{grid-column:2;color:var(--muted);font-size:.72rem;line-height:1.45}
.project-financial-metrics.true-profit-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.true-profit-metrics article{display:flex;flex-direction:column;min-height:146px;padding:18px 18px 16px;border-color:rgba(95,58,77,.13);background:rgba(255,255,255,.82);box-shadow:0 10px 28px rgba(54,35,45,.035)}
.true-profit-metrics article strong{font-family:"Cormorant Garamond",serif;font-size:1.75rem;line-height:1;margin-top:auto;padding-top:17px}
.true-profit-metrics article small{margin-top:8px;line-height:1.45}
.true-profit-metrics .tax-held-card{background:linear-gradient(145deg,#f7f3f7,#eee8f1);border-color:rgba(108,87,122,.17)}
.true-profit-metrics .tax-held-card strong{color:#665570}
.true-profit-metrics .actual-profit-card{border-width:1.5px}
.true-profit-metrics .actual-profit-card.profit-healthy{background:linear-gradient(145deg,#f7fbf7,#e9f3ec);border-color:#bdd6c4}
.true-profit-metrics .actual-profit-card.profit-healthy strong{color:#315f42}
.true-profit-metrics .actual-profit-card.profit-watch{background:linear-gradient(145deg,#fffaf0,#f7ecd5);border-color:#e1c88f}
.true-profit-metrics .actual-profit-card.profit-watch strong{color:#7a5a20}
.true-profit-metrics .actual-profit-card.profit-critical{background:linear-gradient(145deg,#fff7f5,#f8e3df);border-color:#dfb1a9}
.true-profit-metrics .actual-profit-card.profit-critical strong{color:#95483f}
.profit-status-banner{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:14px;padding:14px 18px;border-radius:15px;border:1px solid transparent}
.profit-status-banner strong{white-space:nowrap;font-size:.82rem}
.profit-status-banner span{font-size:.74rem;line-height:1.45;text-align:right}
.profit-status-banner.profit-healthy{background:#eaf4ed;border-color:#c7ddcd;color:#365f43}
.profit-status-banner.profit-watch{background:#faf0dc;border-color:#e8d19e;color:#74571e}
.profit-status-banner.profit-critical{background:#fae9e5;border-color:#e4bbb4;color:#8e453d}
.true-profit-completeness{display:grid;grid-template-columns:auto 1fr;gap:7px 18px;margin-top:12px;padding:15px 18px;border-radius:15px;background:#fff8f2;border:1px solid #edd6c6;color:#76523f}
.true-profit-completeness strong{display:flex;align-items:center;gap:8px;font-size:.78rem}
.true-profit-completeness strong svg{width:16px;height:16px}
.true-profit-completeness ul{grid-column:2;margin:0;padding-left:18px;font-size:.72rem;line-height:1.55}
.true-profit-completeness.complete{display:flex;align-items:center;background:#eef6f0;border-color:#cee1d3;color:#3c6248}
.true-profit-completeness.complete span{font-size:.72rem;line-height:1.45}
.actual-cost-main small{display:flex!important;align-items:center;gap:7px;flex-wrap:wrap}
.cost-bucket-pill{display:inline-flex;align-items:center;width:max-content;padding:4px 7px;border-radius:999px;font-size:.56rem;font-weight:850;line-height:1;letter-spacing:.055em;text-transform:uppercase;background:#eee7eb;color:#634d59}
.cost-bucket-direct_cost{background:#eee9e6;color:#65584f}
.cost-bucket-nina_labor{background:#eee7f1;color:#654f70}
.cost-bucket-rental_recovery{background:#e8f1ed;color:#3f6755}
.cost-bucket-overhead{background:#f5ecdc;color:#775d2b}
.cost-bucket-studio_investment{background:#e8edf4;color:#4b6078}
.cost-bucket-guidance{display:grid;gap:5px;padding:15px 17px;border:1px solid rgba(95,58,77,.13);border-radius:15px;background:linear-gradient(145deg,#fffdfb,#f8f1f3)}
.cost-bucket-guidance strong{font-size:.78rem;color:#4c3441}
.cost-bucket-guidance span{font-size:.71rem;line-height:1.55;color:var(--muted)}
.rental-recovery-fields{padding:18px;border:1px solid rgba(81,107,91,.18);border-radius:18px;background:linear-gradient(145deg,#f8fbf8,#edf4ef)}
.rental-recovery-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:15px}
.rental-recovery-heading h4{margin:.25rem 0 0;font-family:"Cormorant Garamond",serif;font-size:1.65rem;line-height:1;color:#334f40}
.rental-recovery-heading small{max-width:300px;color:#61736a;font-size:.68rem;line-height:1.5;text-align:right}
.rental-recovery-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.rental-recovery-grid .field{min-width:0}
.rental-per-use-preview{display:grid;align-content:center;gap:4px;padding:14px 16px;border-radius:14px;background:#fff;border:1px solid rgba(81,107,91,.16)}
.rental-per-use-preview span{font-size:.63rem;font-weight:850;letter-spacing:.08em;text-transform:uppercase;color:#64756c}
.rental-per-use-preview strong{font-family:"Cormorant Garamond",serif;font-size:1.55rem;color:#315841}
.rental-per-use-preview small{font-size:.63rem;line-height:1.4;color:#718078}
.true-profit-live-total{background:linear-gradient(145deg,#f3edf0,#eee5e9)}
.true-profit-live-total strong{font-family:"Cormorant Garamond",serif;font-size:1.7rem}
.true-profit-cost-form [hidden]{display:none!important}
@media(max-width:1120px){.project-financial-metrics.true-profit-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.true-profit-metrics article{min-height:132px}}
@media(max-width:760px){.true-profit-formula{grid-template-columns:1fr;padding:16px}.true-profit-formula small{grid-column:1}.project-financial-metrics.true-profit-metrics{grid-template-columns:1fr 1fr}.true-profit-metrics article{min-height:132px}.profit-status-banner{display:grid}.profit-status-banner span{text-align:left}.true-profit-completeness{grid-template-columns:1fr}.true-profit-completeness ul{grid-column:1}.true-profit-completeness.complete{display:grid}.rental-recovery-heading{display:grid;gap:8px}.rental-recovery-heading small{text-align:left}.rental-recovery-grid{grid-template-columns:1fr}.rental-per-use-preview{min-height:92px}}
@media(max-width:480px){.project-financial-metrics.true-profit-metrics{grid-template-columns:1fr}.true-profit-metrics article{min-height:auto}.true-profit-metrics article strong{padding-top:13px}.true-profit-panel .project-financials-head h2{font-size:2.35rem}.rental-recovery-fields{padding:15px}.cost-bucket-guidance{padding:13px 14px}}
.true-profit-settings-card{background:linear-gradient(145deg,#fffdf9,#f6eef1);border-color:rgba(95,58,77,.15)}
.true-profit-settings-card h3{margin:.4rem 0 .55rem;font-family:"Cormorant Garamond",serif;font-size:2.15rem;line-height:1}
.true-profit-settings-card>p{margin:0;color:var(--muted);line-height:1.65}
.true-profit-settings-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:18px}
.true-profit-settings-grid>div{display:grid;gap:5px;padding:15px;border:1px solid rgba(95,58,77,.12);border-radius:15px;background:rgba(255,255,255,.76)}
.true-profit-settings-grid span{font-size:.62rem;font-weight:850;letter-spacing:.08em;text-transform:uppercase;color:#816777}
.true-profit-settings-grid strong{font-family:"Cormorant Garamond",serif;font-size:1.55rem;color:#4d3441}
.true-profit-settings-grid small{color:var(--muted);font-size:.66rem;line-height:1.45}
.true-profit-settings-rule{display:grid;gap:5px;margin-top:10px;padding:14px 15px;border-radius:14px;background:#edf4ef;color:#3f604c}
.true-profit-settings-rule strong{font-size:.74rem}
.true-profit-settings-rule span{font-size:.69rem;line-height:1.5}
@media(max-width:760px){.true-profit-settings-grid{grid-template-columns:1fr}}
.true-profit-schema-warning{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:18px;padding:14px 16px;border:1px solid #e3b7ae;border-radius:15px;background:#fff4f1;color:#84443c}
.true-profit-schema-warning>div{display:flex;align-items:center;gap:10px}.true-profit-schema-warning svg{flex:0 0 auto;width:17px;height:17px}.true-profit-schema-warning span{display:grid;gap:3px}.true-profit-schema-warning strong{font-size:.76rem}.true-profit-schema-warning small{font-size:.68rem;line-height:1.45}
@media(max-width:680px){.true-profit-schema-warning{align-items:stretch;display:grid}.true-profit-schema-warning .button{justify-content:center}}
