/* Original Excel profit panel hierarchy and palette; only the web detail pane. */
.web-profit-panel{color:#17365d;font-family:"Segoe UI",sans-serif}
.profit-panel-title{padding:11px 12px;background:#eaf3fb;border-bottom:1px solid #c5d9eb;color:#005797;font-size:11px;font-weight:700}
.web-profit-panel .profit-loss-card{display:grid;gap:14px;padding:12px}
.web-profit-panel .profit-loss-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:9px;padding:3px 1px 7px;border-bottom:1px solid #dbe5ef}
.web-profit-panel .profit-loss-heading>div{min-width:0}
.web-profit-panel .profit-loss-heading h2{margin:0;color:#123f70;font-size:16px;line-height:1.2}
.web-profit-panel .profit-loss-vehicle{margin-top:3px;color:#263f59;font-size:10px;font-weight:700}
.web-profit-panel .profit-status{font-size:11px;font-weight:600;padding:6px 10px;background:#fff2d7;color:#815700;white-space:nowrap}
.web-profit-panel .profit-status.ready{background:#139354;color:#fff}
.web-profit-panel .profit-status.service{background:#d78b10;color:#fff}
.web-profit-panel .profit-status.sold{background:#65768e;color:#fff}
.web-profit-panel .profit-loss-customer{margin-top:-7px;padding:0 1px 7px;color:#344b63;border-bottom:1px solid #dbe5ef;font-size:10px;overflow-wrap:anywhere}
.web-profit-panel .profit-loss-section h3{margin:0 0 6px;font-size:11px;color:#005797;font-weight:600}
.web-profit-panel .profit-loss-list{margin:0}
.web-profit-panel .profit-loss-list>div{display:flex;align-items:baseline;justify-content:space-between;gap:9px;min-height:25px;padding:5px 0;border-bottom:1px solid #edf2f7}
.web-profit-panel .profit-loss-list>div:last-child{border-bottom:0}
.web-profit-panel .profit-loss-list dt{color:#50657b;font-size:9.5px}
.web-profit-panel .profit-loss-list dd{margin:0;color:#17365d;font-size:10.5px;font-weight:700;white-space:nowrap}
.web-profit-panel .profit-loss-list .total{margin-top:2px;padding-top:7px;border-top:1px solid #cddbe8}
.web-profit-panel .profit-loss-list .total dt{color:#17365d;font-weight:700}
.web-profit-panel .profit-loss-list .income dd{color:#147a49}
.web-profit-panel .profit-loss-list .expense dd{color:#b42318}
.web-profit-panel .profit-loss-net{display:flex;align-items:baseline;justify-content:space-between;gap:8px;padding:11px 9px;color:#146c43;background:#effaf4;border:1px solid #9bd5b5;border-radius:4px}
.web-profit-panel .profit-loss-net.loss{color:#b42318;background:#fff1ef;border-color:#e6b7b2}
.web-profit-panel .profit-loss-net.unknown{color:#50657b;background:#f5f8fa;border-color:#c5d9eb}
.web-profit-panel .profit-loss-net span{font-size:10px;font-weight:800}
.web-profit-panel .profit-loss-net strong{font-size:14px;white-space:nowrap}
.detail-buttons.profit-panel-actions{grid-template-columns:1fr;gap:8px;padding:10px 12px}
.detail-buttons.profit-panel-actions button:not(:disabled){min-height:38px;color:#fff;background:#0b57d0;border:1px solid #0b57d0;border-radius:3px;font:700 10.5px "Segoe UI",sans-serif}
.detail-buttons.profit-panel-actions button:last-child:not(:disabled){color:#0b57d0;background:#fff}
.web-profit-panel.profit-loss-movements{display:grid;gap:7px}
.web-profit-panel .profit-loss-movement{display:grid;grid-template-columns:64px minmax(0,1fr) auto;gap:8px;align-items:center;padding:8px 0;border-bottom:1px solid #e2eaf2}
.web-profit-panel .profit-loss-movement time{color:#60758a;font-size:9px}
.web-profit-panel .profit-loss-movement div{min-width:0}
.web-profit-panel .profit-loss-movement b{display:block;color:#17365d;font-size:10px}
.web-profit-panel .profit-loss-movement small{display:block;overflow:hidden;margin-top:2px;color:#6a7b8c;font-size:8.5px;text-overflow:ellipsis;white-space:nowrap}
.web-profit-panel .profit-loss-movement strong{color:#147a49;font-size:10px;white-space:nowrap}
.web-profit-panel .profit-loss-movement.expense strong{color:#b42318}
.web-profit-panel .profit-loss-movement-empty{padding:18px 4px;color:#728196;text-align:center;font-size:11px}
