/* Report scene: a cover that turns over onto sample pages. Loaded by index.html, drawn by report.js. */
.card.report { background: #000; }
.rpt { position: absolute; inset: 0; }
/* The fade lives here, never on .book. Any opacity below 1 on a preserve-3d element flattens its pages into file order,
   which paints the last page on top and flashes it over the cover while the book fades in. */
.rpt-fade { position: absolute; inset: 0; perspective: 130cqw; opacity: 0; }
.rpt-spot { position: absolute; left: 50%; top: 48%; width: 90cqw; height: 62cqw; transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(200,151,90,.20) 0%, rgba(160,170,190,.07) 38%, rgba(0,0,0,0) 70%); }
.rpt-under { position: absolute; left: 50%; top: 50%; width: 60cqw; height: 5cqw; transform: translate(-50%, 25.5cqw);
  background: radial-gradient(ellipse at center, rgba(200,151,90,.30) 0%, rgba(200,151,90,0) 70%); filter: blur(.8cqw); }
.book { position: absolute; left: 50%; top: 50%; width: 37cqw; height: 47.9cqw; transform-style: preserve-3d; }
.leaf { position: absolute; inset: 0; transform-origin: left center; transform-style: preserve-3d; }
.face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; overflow: hidden; background: var(--off); box-shadow: 0 0 0 .1cqw rgba(255,255,255,.08); }
.face.bk { transform: rotateY(180deg); }
.face::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.55), rgba(0,0,0,0) 70%); opacity: var(--sh, 0); pointer-events: none; }
.face.bk::after { background: linear-gradient(270deg, rgba(0,0,0,.55), rgba(0,0,0,0) 70%); }
.face img { display: block; width: 100%; height: 100%; }
.rbadge { position: absolute; right: 2cqw; top: 2cqw; z-index: 4; background: var(--gray); color: var(--off); font-size: 1.1cqw; letter-spacing: .04cqw; padding: .4cqw 1.1cqw; border-radius: 10cqw; opacity: .45; }

/* Pages. 1cqw inside a page is 1% of the page width. Sketches carry no data: skeleton bars, generic Vendor A to D, shaded cells. */
.pg { position: absolute; inset: 0; container-type: inline-size; background: var(--off); color: var(--black); font-family: var(--body); }
.pg .hd { position: absolute; left: 8cqw; right: 8cqw; top: 5.5cqw; display: flex; justify-content: space-between; font-size: 2cqw; letter-spacing: .2cqw; color: #8a8a8a; text-transform: uppercase; }
.pg .bd { position: absolute; left: 8cqw; right: 8cqw; top: 12cqw; bottom: 10.5cqw; }
.pg .ft { position: absolute; left: 8cqw; right: 8cqw; bottom: 4.4cqw; display: flex; justify-content: space-between; font-size: 2cqw; color: #8a8a8a; }
.pg h2 { font-family: var(--head); font-weight: 400; font-size: 5.4cqw; line-height: 1.05; margin: 0; color: var(--black); }
.pg h2.sm { font-size: 4.4cqw; }
.pg .gr { height: .55cqw; width: 14cqw; background: var(--gold); margin: 2cqw 0 2.8cqw; }
.pg .sk { height: 1.6cqw; background: #D5D1CA; border-radius: .4cqw; margin: 0 0 1.7cqw; }
.pg .sk.d { background: #B9B4AB; }
.pg .sk.g { background: var(--gold); }
.pg .sub { font-size: 2.1cqw; letter-spacing: .15cqw; color: var(--gray); text-transform: uppercase; margin: 2.4cqw 0 1.5cqw; }
.pg .cap { font-size: 2.1cqw; color: #666; margin: 0 0 2cqw; line-height: 1.3; }
.pg .call { border-left: .7cqw solid var(--gold); background: #E6E3DE; padding: 2cqw 2.6cqw .8cqw; margin-top: 2.4cqw; }
.pg .call .sub { margin-top: 0; }
.pg .pill { height: 2.8cqw; border-radius: 3cqw; background: #CFE0D3; }
.pg .pill.m { background: #EADFC4; }
.pg .pill.f { background: #E6CFCB; }
.pg .rw { display: grid; align-items: center; gap: 2cqw; padding: 1.5cqw 0; border-bottom: .2cqw solid #D5D1CA; }
.pg .rw .sk { margin: 0; }
.pg .ch { display: inline-flex; align-items: center; justify-content: center; width: 3.2cqw; height: 3.2cqw; border-radius: .6cqw; color: #fff; font-weight: 700; font-size: 1.9cqw; flex: none; }
.pg .ch.eq { background: #CFCBC4; color: #555; }
.pg .ch.n { background: transparent; color: #9a958c; font-weight: 400; }
.pg .lgd { display: flex; flex-wrap: wrap; gap: 1.2cqw 3cqw; font-size: 1.9cqw; color: #555; margin-top: 2cqw; align-items: center; }
.pg .lgd i { display: inline-block; width: 3cqw; height: 1.5cqw; border-radius: .3cqw; margin-right: .9cqw; vertical-align: middle; }
.pg .lgd .sw { width: 2.4cqw; height: 2.4cqw; }

/* contents */
.pg .crow { display: flex; align-items: baseline; font-size: 2.5cqw; padding: .95cqw 0; }
.pg .crow.s { padding-left: 4cqw; color: #555; font-size: 2.3cqw; }
.pg .crow .cl { flex: 1; border-bottom: .2cqw dotted #9a958c; margin: 0 1.2cqw; transform: translateY(-.5cqw); }
.pg .crow .cp { color: #555; }

/* executive summary */
.pg .stats { display: flex; gap: 2.4cqw; margin: 0 0 2.6cqw; }
.pg .stat { flex: 1; border-top: .5cqw solid var(--gold); padding-top: 1.3cqw; }
.pg .stat .l { font-size: 1.8cqw; color: #666; text-transform: uppercase; letter-spacing: .1cqw; }
.pg .stat .v { height: 4.4cqw; width: 9cqw; background: #B9B4AB; border-radius: .5cqw; margin-top: 1.1cqw; }
.pg .bul { display: flex; gap: 2cqw; margin-bottom: 2.4cqw; }
.pg .bul i { flex: none; width: 2.2cqw; height: 2.2cqw; background: var(--gold); margin-top: .1cqw; }
.pg .bul div { flex: 1; }

/* scoring method */
.pg .scale { display: flex; height: 4.2cqw; border-radius: .5cqw; overflow: hidden; margin-top: .6cqw; }
.pg .scale b { display: block; height: 100%; }
.pg .scale-l { display: flex; justify-content: space-between; font-size: 1.8cqw; color: #666; margin-top: .8cqw; }

/* scorecard */
.pg .sc { display: grid; grid-template-columns: 13cqw repeat(9, 1fr) 11cqw; gap: .6cqw; align-items: stretch; }
.pg .sc .gh { font-size: 1.6cqw; letter-spacing: .08cqw; text-transform: uppercase; color: #555; padding-bottom: .6cqw; border-bottom: .5cqw solid var(--gold); text-align: center; white-space: nowrap; }
.pg .sc .gh.t { border-bottom-color: #727272; }
.pg .sc .gh.i { border-bottom-color: #B9B4AB; }
.pg .sc .h { font-size: 1.8cqw; font-weight: 700; text-align: center; padding: 1cqw 0 .8cqw; color: #333; }
.pg .sc .vn { font-size: 2.3cqw; display: flex; align-items: center; }
.pg .sc .c { height: 6.2cqw; border: .15cqw solid #D5D1CA; display: flex; align-items: center; justify-content: center; }
.pg .sc .c i { display: block; height: .9cqw; width: 52%; background: rgba(26,26,26,.28); border-radius: .4cqw; }
.pg .sc .o { height: 6.2cqw; display: flex; align-items: center; }
.pg .sc .o i { display: block; height: 2.4cqw; background: #727272; border-radius: .4cqw; }
.pg .r1 { background: #C8975A; }
.pg .r2 { background: #D9B88C; }
.pg .r3 { background: #E8D6B8; }
.pg .r4 { background: #F3EBDD; }
.pg .na { background: repeating-linear-gradient(135deg, #d9d5cd 0 .6cqw, #ece9e3 .6cqw 1.2cqw); font-size: 1.6cqw; color: #666; font-weight: 700; }
.pg .nt { display: flex; align-items: center; gap: 1.4cqw; font-size: 1.9cqw; color: #555; margin-top: 1.6cqw; }
.pg .nt .na { display: inline-flex; width: 5cqw; height: 3cqw; align-items: center; justify-content: center; flex: none; }

/* overall weighted score */
.pg .ob { display: grid; grid-template-columns: 11cqw 1fr; align-items: center; gap: 2cqw; margin-bottom: 2.4cqw; }
.pg .ob .lb { font-size: 2.3cqw; }
.pg .trk { display: flex; height: 5.2cqw; background: #E3DFD8; border-radius: .5cqw; overflow: hidden; }
.pg .trk b { display: block; height: 100%; border-right: .25cqw solid var(--off); }
.pg .axis { display: flex; justify-content: space-between; margin-left: 13cqw; font-size: 1.8cqw; color: #8a8a8a; margin-top: -.6cqw; }
.pg .wt { display: grid; grid-template-columns: 22cqw 1fr; gap: 1.2cqw 2cqw; align-items: center; font-size: 2cqw; color: #444; }
.pg .wt .b { height: 1.9cqw; border-radius: .4cqw; }

/* results by KPI, by vendor, by flight */
.pg .lead { display: flex; align-items: center; gap: 2cqw; margin-bottom: 2cqw; font-size: 2.1cqw; color: #555; }
.pg .lead .tag { background: var(--gold); color: #1A1A1A; font-weight: 700; font-size: 2.1cqw; padding: .6cqw 1.8cqw; border-radius: 3cqw; }
.pg .kname { font-size: 3.2cqw; font-weight: 700; display: flex; align-items: center; gap: 1.4cqw; margin: 0 0 1.6cqw; }
.pg .kname i { display: inline-block; width: 2.2cqw; height: 2.2cqw; border-radius: 50%; background: var(--gold); }
.pg .plot { display: block; width: 100%; height: auto; }
.pg .wtl { display: grid; grid-template-columns: 11cqw 1fr; align-items: center; gap: 1.2cqw 2cqw; font-size: 2.1cqw; margin-bottom: 1.4cqw; }
.pg .wtl .s { display: flex; height: 2.6cqw; border-radius: .4cqw; overflow: hidden; }
.pg .wtl .s b { display: block; height: 100%; }
.pg .two { display: grid; grid-template-columns: 1fr 1fr; gap: 3cqw; }
.pg .fl { display: grid; grid-template-columns: 11cqw repeat(9, 1fr) 10cqw; gap: .5cqw; align-items: center; }
.pg .fl .h { font-size: 1.7cqw; font-weight: 700; text-align: center; color: #333; padding-bottom: .6cqw; }
.pg .fl .fn { font-size: 2cqw; color: #444; }
.pg .fl .x { display: flex; align-items: center; justify-content: center; height: 4.8cqw; border-bottom: .15cqw solid #E0DCD5; }
