#manifest{box-sizing:border-box;width:min(100%,4in);min-height:6in;margin:1.5rem auto;padding:12px;background:white;color:black;border:1px solid #333;font:12px Arial,sans-serif}#manifest header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}#manifest img{width:48%;height:auto}#manifest h2{font-size:24px;margin:0;white-space:nowrap}#manifest p{margin:8px 0;overflow-wrap:anywhere}#manifest table{width:100%;border-collapse:collapse;table-layout:fixed}#manifest th,#manifest td{border:1px solid #333;padding:5px 3px;overflow-wrap:anywhere;text-align:center;vertical-align:middle;height:24px}#manifest th:first-child,#manifest td:first-child{width:37%;text-align:left}#manifest th{font-size:10px}#manifest footer{margin-top:12px;font-size:11px;font-weight:bold}
/* Footer geometry follows the current Flight Desk, not its old raster PDF. */
#manifest col:nth-child(1){width:35%}#manifest col:nth-child(2){width:19%}#manifest col:nth-child(3),#manifest col:nth-child(4){width:14%}#manifest col:nth-child(5){width:18%}
#manifest th:first-child,#manifest td:first-child{width:auto}
#manifest .weight-total-line td,#manifest .payload-total-line td{height:22px;background:transparent;font-weight:800;border:0}
#manifest .weight-total-line td:first-child{text-align:right;padding-right:7px}
#manifest .weight-total-line td:nth-child(2),#manifest .weight-total-line td:nth-child(3){border:1px solid #333;text-align:center;font-variant-numeric:tabular-nums}
#manifest .payload-total-line td{height:24px;border-bottom:1px solid #333}
#manifest .payload-total-line td:first-child{text-align:left;font-size:9px;font-weight:600;white-space:nowrap}
#manifest .payload-total-line td:nth-child(2){text-align:right;font-size:9px;white-space:nowrap;padding-right:7px}
#manifest .payload-total-line td:nth-child(3){border-left:1px solid #333;border-right:1px solid #333;text-align:center;font-variant-numeric:tabular-nums}
#manifest .cargo-line td{font-weight:800}
#manifest table{border:1px solid #333}
/* Seven passenger/cargo rows: 35px to approximately31.5px including padding/border. Text remains12px. */
#manifest tbody tr:not(.weight-total-line):not(.payload-total-line) td{height:21.5px;padding-top:4.5px;padding-bottom:4.5px}
