.lp-preview { width: 100%; padding: 20px; background: #f4efe7; border: 1px solid #e6e0d5; border-radius: 18px; box-shadow: 0 16px 40px #23211d0c; color: #1e293b; font-size: 15px; line-height: 1.55; }
.lp-panel { background: white; border: 1px solid #e6e0d5; border-radius: 12px; overflow: hidden; min-width: 0; }
.lp-panel__heading { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 16px 20px; border-bottom: 1px solid #e6e0d5; font-weight: 600; }
.lp-panel__heading span { color: #756f62; font-size: 13px; font-weight: 400; }
.lp-panel__heading b { background: #56643f; color: white; padding: 3px 8px; border-radius: 4px; }
.lp-overview { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; align-items: start; max-height: 540px; overflow: hidden; mask-image: linear-gradient(#000 0%, #000 88%, transparent 100%); }
.lp-overview .lp-plan { grid-column: 1 / -1; grid-row: 1; }
.lp-overview .lp-floorplan { max-height: 250px; padding: 10px; }
.lp-overview .lp-panel__heading { padding: 12px; }
.lp-overview .lp-panel__heading span { display: none; }
.lp-overview .lp-chat__messages { padding: 12px; }
.lp-overview .lp-summary { margin: 12px; padding: 12px; }
.lp-chat { display: flex; flex-direction: column; }
.lp-chat__messages { padding: 20px; display: grid; gap: 16px; flex: 1; align-content: start; }
.lp-message { padding: 16px; background: #f1ede4; border-radius: 12px 12px 12px 2px; max-width: 92%; }
.lp-message span { display: block; color: #56643f; font-size: 12px; font-weight: 600; margin-bottom: 6px; }
.lp-message--user { margin-left: auto; background: #dfe6d1; border-radius: 12px 12px 2px 12px; }
.lp-input { margin: 0 20px 20px; padding: 12px 16px; border: 1px solid #e6e0d5; border-radius: 24px; color: #756f62; display: flex; justify-content: space-between; }
.lp-input span { color: #56643f; }
.lp-summary { margin: 20px; padding: 18px; border: 1px solid #e6e0d5; border-radius: 10px; }
.lp-summary > strong { display: block; margin-bottom: 12px; }
.lp-summary > div, .lp-offer__group > div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; }
.lp-summary > div span:last-child, .lp-offer__group > div span:last-child, .lp-total strong:last-child { white-space: nowrap; }
.lp-total { flex-wrap: wrap; border-top: 1px solid #e6e0d5; margin-top: 8px; padding-top: 12px !important; }
.lp-summary small { display: block; color: #756f62; font-size: 12px; margin-top: 6px; }
.lp-offer__group { margin: 0 20px; padding: 16px 0; border-top: 1px solid #e6e0d5; }
.lp-offer__group > strong { display: block; margin-bottom: 8px; }
.lp-floorplan { display: block; width: 100%; max-height: 540px; padding: 20px; background: #fafaf7; }
.lp-floorplan text { font: 15px Inter, sans-serif; fill: #56643f; }
.lp-plan__legend { padding: 12px 20px; color: #756f62; border-top: 1px solid #e6e0d5; font-size: 13px; }
.lp-preview--chat, .lp-preview--offer { max-width: 620px; }
.lp-preview--planner-2d, .lp-preview--planner-3d { max-width: 900px; }
.lp-scene__canvas { position: relative; aspect-ratio: 1.6; background: #e9e7e0; }
.lp-scene__canvas canvas { display: block; width: 100%; height: 100%; }
.lp-scene__fallback { position: absolute; inset: 0; overflow: hidden; }
.lp-scene__fallback .lp-panel__heading, .lp-scene__fallback .lp-plan__legend { display: none; }
.lp-scene__status { position: absolute; bottom: 12px; left: 12px; right: 12px; padding: 8px 12px; background: #fffffff0; border-radius: 6px; font-size: 13px; }
@media (max-width: 640px) { .lp-preview { padding: 10px; } .lp-overview { grid-template-columns: minmax(0, 1fr); } .lp-overview .lp-plan { grid-column: auto; } .lp-panel__heading, .lp-chat__messages { padding: 14px; } .lp-summary { margin: 14px; padding: 14px; } .lp-offer__group { margin: 0 14px; } .lp-scene__canvas { aspect-ratio: 1; } }
.lp-offer__details { padding: 0 20px; }
.lp-offer__section { padding: 16px 0 10px; font-weight: 700; color: #56643f; border-bottom: 1px solid #e6e0d5; }
.lp-offer__position { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 14px; padding: 9px 0; border-bottom: 1px solid #eee9e0; font-size: 13px; }
.lp-offer__position-title { overflow-wrap: anywhere; }
.lp-offer__position-price { white-space: nowrap; font-weight: 500; }
.lp-offer__position small { grid-column: 1 / -1; color: #756f62; font-size: 11px; }
.lp-offer__position--labour { border-bottom: none; padding-bottom: 3px; }
.lp-offer__provenance { margin: 16px 20px; font-size: 11px; line-height: 1.6; color: #756f62; }
@media (max-width: 640px) { .lp-offer__details { padding: 0 14px; } .lp-offer__provenance { margin: 14px; } }
