/* Accident investigation kit forms (Lake Louise appendix I): kit header, boxed title, bordered table, page footer (R48). */
.kit-form { width: 7.6in; margin: 0 auto; padding: 0.3in 0.35in; background: #fff; color: #000; font: 9.5pt/1.35 "Arial Narrow", Arial, sans-serif; }
.kit-kit { margin: 0; text-align: center; color: #1f4fbf; font-size: 9pt; }
.kit-report { margin: 4px 0 6px; text-align: center; font: bold 10pt "Times New Roman", serif; }
.kit-title { margin: 0 0 8px; padding: 2px 0; border: 1px solid #000; text-align: center; font-size: 21pt; font-weight: 400; letter-spacing: 0.5px; }
.kit-table { margin: 0 0.15in; border: 1.2px solid #000; }
.kr { display: flex; border-bottom: 1px solid #000; min-height: 0.28in; }
.kr:last-child { border-bottom: 0; }
.kr.tall { min-height: 0.5in; }
.kr.xtall { min-height: 1.1in; }
.kr.double { border-bottom: 3px double #000; }
.kr.office { background: #e9e9e9; }
.kc { flex: 1; padding: 2px 5px; border-right: 1px solid #000; }
.kc:last-child { border-right: 0; }
.kc.w22 { flex: 0 0 22%; } .kc.w30 { flex: 0 0 30%; } .kc.w47 { flex: 0 0 47%; } .kc.w58 { flex: 0 0 58%; }
.kc small { font-size: 7.5pt; }
.kc small.center { display: block; text-align: center; }
.kgrid4 { display: inline-block; width: 24%; }
.kit-form .v { font-family: "Segoe Print", "Bradley Hand", "Comic Sans MS", cursive; font-size: 9.5pt; color: #0b2a6b; }
.kit-form .v.pre { white-space: pre-wrap; }
.kit-form .ruled { min-height: 440px; margin: 4px 0 0; background: repeating-linear-gradient(to bottom, transparent 0 19px, #999 19px 20px); line-height: 20px; }
.k-sig { height: 0.34in; vertical-align: middle; }

/* Generic layout pages (D48): headings, labels on their own line breaks, circled marks, kit ticks, gaps on screen. */
.kr.heading { background: #efefef; }
.kc.center { text-align: center; }
.kl { white-space: pre-line; }
.marks b { margin-left: 8px; }
.kr.stack .marks { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.kr.stack .marks b { margin-left: 0; }
.ticks { float: right; display: inline-flex; }
.tick { display: inline-block; width: 0.45in; min-height: 1.1em; margin-left: 4px; border-left: 1px solid #000; text-align: center; font-weight: 700; color: #0b2a6b; }
.kl + .v, .kl + .marks, .kl + span { margin-left: 5px; }
.kit-form .gap { display: inline-block; min-width: 1.4in; min-height: 1.1em; vertical-align: middle; background: #fff1a8; outline: 1px dashed #b45309; }
.kit-form.plain .kit-title.plain { border: 0; font-weight: 700; }
.kit-form.plain > .kr { border: 0; }
.kit-form.plain .kr.step { justify-content: center; margin: 6px 0; }
.kit-form.plain .kr.step .kc { flex: 0 1 60%; border: 1.5px solid #000; border-radius: 6px; text-align: center; padding: 6px; }
.kit-form.plain .kr.step .kc + .kc { margin-left: 12px; }
.kit-form.plain .kr.arrow { justify-content: center; font-weight: 700; color: #b45309; }
.kit-form.plain .kr.arrow .kc { flex: 0 1 30%; border: 0; text-align: center; }
.kit-form.plain .kr.arrow .kc::after { content: " ↓"; }
.kit-form.plain > .kr.boxed, .kit-form.plain > .kr.heading { border: 1px solid #000; margin-top: -1px; }
.kit-form.plain > .kr.boxed .kc { border-right: 1px solid #000; }
.kit-form.plain > .kr.boxed .kc:last-child { border-right: 0; }
.kit-form.plain > .kr:not(.step):not(.arrow):not(.boxed):not(.heading) .kc { border-bottom: 1px solid #999; }
/* A form of its own (frame "box"), such as the EMS transfer: bold title over a regular subtitle, one heavy box. */
.kit-title.box { border: 0; text-transform: uppercase; font-size: 15pt; font-weight: 700; line-height: 1.2; }
.kit-title.box small { display: block; font-size: 13pt; font-weight: 400; }
.kit-form.box .kit-table { border-width: 2px; }
/* A repeating grid (LayoutRow.Repeat), such as the sets of vitals: equal columns, one line per set. */
.kr.grid-head { font-size: 8pt; }
.kr.grid-line { min-height: 0.26in; }
.kr.grid-head .kc, .kr.grid-line .kc { padding: 1px 3px; }

.kit-footer { display: flex; justify-content: space-between; margin: 10px 0.15in 0; font-weight: 700; }
.kit-footer u { text-decoration: none; border-bottom: 1px solid #000; padding: 0 4px; }

.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.panel-head h2 { margin: 0; }

/* Accident statement: a two-sided half-letter card, front above the rule and back below, as scanned in the manual. */
.as-card { width: 7.6in; margin: 0 auto; padding: 0.3in 0.4in; background: #fff; color: #000; font: 10.5pt/1.4 "Times New Roman", serif; }
.as-half { min-height: 4.9in; }
.as-half + .as-half { border-top: 3px solid #000; padding-top: 0.2in; margin-top: 0.15in; }
.as-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 0.15in; }
.as-resort { font-size: 14pt; font-weight: 700; }
.as-title { font: 700 13pt Arial, sans-serif; letter-spacing: 0.5px; }
.as-row { display: flex; gap: 0.2in; margin: 0.06in 0; }
.as-l { flex: 1; text-transform: uppercase; }
.as-l.w50 { flex: 0 0 50%; } .as-l.w60 { flex: 0 0 60%; }
.as-l u { text-decoration: none; display: inline-block; min-width: 55%; border-bottom: 1px solid #000; text-transform: none; }
.as-lines { margin: 0; line-height: 0.27in; white-space: pre-wrap; background: repeating-linear-gradient(to bottom, transparent 0 25px, #000 25px 26px); }
.as-lines.front { min-height: 2.1in; }
.as-lines.back { min-height: 2.3in; }
.as-lines.patroller { min-height: 1.3in; }
.as-photo { display: block; max-width: 2.6in; max-height: 1.9in; margin-top: 4px; border: 1px solid #000; }
.as-cont { margin: 4px 0 0; text-align: center; font-size: 9pt; }
.as-card .v { font-family: "Segoe Print", "Bradley Hand", "Comic Sans MS", cursive; font-size: 10pt; color: #0b2a6b; }
.circled { border: 1.4px solid #0b2a6b; border-radius: 50%; padding: 0 4px; color: #0b2a6b; }

/* Diagrams: a large box, the drawing scaled into it. */
.kr.drawing { min-height: 6.8in; }
.kr.drawing .kc { display: flex; flex-direction: column; }
.kit-drawing { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 6.4in; }
.kit-drawing img { max-width: 100%; max-height: 6.4in; }
.kr.drawing.half { min-height: 4.2in; }
.kr.drawing.half .kit-drawing { min-height: 3.9in; }
.kr.drawing.half .kit-drawing img { max-height: 3.9in; }

/* The on-site diagram's legend: seven symbols a row, the names only. */
.kr.legend .kc { font-size: 7pt; text-align: center; padding: 2px; }
.kr.framed { border: 3px solid #000; min-height: 8.6in; }
.kr.framed .kit-drawing { min-height: 8.2in; }
