
@page { size: A4 landscape; margin: 12mm 12mm 16mm; }
* { box-sizing: border-box; }
.tbra { font-family: "Segoe UI","Noto Sans",Arial,sans-serif; color:#1d2733; font-size:10px; }
.tbra h1 { font-size:22px; margin:0 0 2px; color:#26364a; text-transform:uppercase; letter-spacing:.5px; }
.tbra h2 { font-size:18px; text-align:center; margin:14px 0 6px; }
.tbra .sub { color:#555; margin-bottom:6px; } .tbra .sub b { color:#26364a; }
.tbra .generic { background:#fff4d6; border:1px solid #e3c46a; color:#6b4b00; padding:5px 9px; margin:6px 0 10px; font-size:10.5px; }
.tbra table.main { width:100%; border-collapse:collapse; border:1.5px solid #26364a; }
.tbra th { background:#eef0f3; color:#4a5560; text-align:left; font-size:12px; padding:6px 8px; border:1px solid #26364a; }
.tbra th .hint { font-size:9px; font-weight:normal; color:#777; }
.tbra td { vertical-align:top; padding:7px; border:1px solid #26364a; line-height:1.4; }
.tbra tr { break-inside: avoid; }
.tbra .c1{width:8%} .tbra .c2{width:22%} .tbra .c3{width:15%} .tbra .c4{width:8%} .tbra .c5{width:39%} .tbra .c6{width:8%}
.tbra .cat { font-weight:700; font-size:11.5px; } .tbra .scheme { display:block; font-weight:normal; font-size:8.5px; color:#666; margin-top:3px; }
.tbra .nas { color:#777; font-style:italic; text-align:center; }
.tbra ul { margin:0; padding-left:14px; } .tbra li { margin-bottom:3px; }
.tbra .ctl ul { column-count:2; column-gap:16px; font-size:9.2px; } .tbra .ctl li { break-inside:avoid; margin-bottom:2px; }
.tbra .risk { font-weight:700; } .tbra .risk .ls{font-size:11px} .tbra .risk .sc{font-size:12px} .tbra .risk .bd{font-size:9.5px;margin-top:3px;text-transform:uppercase}
.tbra .risk .miss { font-weight:normal; font-size:8.5px; color:#555; margin-top:4px; text-transform:none; }
.tbra .H{background:#f7d7dc;color:#a3182f} .tbra .M{background:#fff1cc;color:#8a6200} .tbra .L{background:#d8eedf;color:#1d6b36} .tbra .NA{background:#eceff2;color:#666}
.tbra .chip { display:inline-block; min-width:18px; text-align:center; border-radius:3px; font-size:9px; font-weight:700; padding:0 3px; }
.tbra .lvl { display:inline-block; font-size:7.5px; font-weight:700; text-transform:uppercase; border-radius:2px; padding:0 3px; margin-right:3px; background:#e3e8ef; color:#26364a; }
.tbra .lvl.eliminate,.tbra .lvl.substitute{background:#1d6b36;color:#fff} .tbra .lvl.engineering{background:#2f74c0;color:#fff}
.tbra .lvl.segregation{background:#6a55b5;color:#fff} .tbra .lvl.ppe{background:#8a6200;color:#fff}
.tbra .prov { color:#b55d00; font-weight:700; } .tbra .arrow { color:#888; margin:0 2px; font-size:9px; }
.tbra .src { color:#7a8591; font-size:8px; margin-left:3px; } .tbra.hide-src .src { display:none !important; }  /* beats .hz .src / .src.also */
.tbra .add { margin-top:6px; padding-top:5px; border-top:1px dashed #aaa; }
.tbra .viz { display:flex; gap:28px; align-items:center; justify-content:center; flex-wrap:wrap; }
.tbra .legend { display:flex; gap:16px; justify-content:center; font-size:11px; color:#555; margin-bottom:4px; }
.tbra .sw { display:inline-block; width:22px; height:11px; border:2px solid; vertical-align:-1px; margin-right:4px; }
.tbra svg .tick{font-size:10px;fill:#888} .tbra svg .ax{font-size:12px;fill:#555;font-weight:600} .tbra svg .na{font-size:11px;fill:#888;font-style:italic}
.tbra .sum .estag { display:inline-block; font-size:8px; font-weight:700; text-transform:uppercase; color:#8a4500; border:1px dashed #b55d00; border-radius:2px; padding:0 3px; margin-left:3px; }
.tbra .sum td.nas { font-size:9.5px; } .tbra .sum .sch { font-size:8.5px; color:#666; }
.tbra .sumcol, .tbra table.sum { break-inside: avoid; page-break-inside: avoid; }  /* summary and Score/Rating tables never split (15a-4) */
.tbra .why td { vertical-align:top; }
.tbra .cathead .shortfall { font-size:9px; color:#ffd7a8; font-weight:700; margin-top:2px; }
.tbra .radar-note { font-size:9px; color:#666; max-width:420px; }
.tbra table.sum { border-collapse:collapse; } .tbra .sum td,.tbra .sum th { font-size:10.5px; padding:4px 9px; border:1px solid #c7ccd3; }
.tbra .guide { border:1.5px solid #26364a; margin-top:12px; } .tbra .guide h3 { margin:0; padding:6px 9px; background:#26364a; color:#fff; font-size:12px; }
.tbra .guide .item { padding:6px 9px; border-top:1px solid #d9dde3; } .tbra .guide .item.stop { background:#f7d7dc; }
.tbra .guide .trig { font-size:8.5px; text-transform:uppercase; color:#6b7480; letter-spacing:.3px; }
.tbra .guide .cite { font-size:8.5px; color:#555; font-style:italic; }
.tbra .guide .quote { font-size:9px; color:#26364a; font-style:italic; margin-right:3px; } .tbra .guide .flag { font-size:8.5px; color:#a3182f; }
.tbra .ai { border:1.5px dashed #b55d00; margin-top:12px; padding:6px 9px; } .tbra .ai .lab { color:#b55d00; font-weight:700; margin:2px 0 4px; font-size:14px; }
.tbra .ai .l4 { display:inline-block; background:#b55d00; color:#fff; font-size:10px; font-weight:700; padding:0 5px; border-radius:3px; }
.tbra table.map { width:100%; border-collapse:collapse; } .tbra .map td,.tbra .map th { font-size:8.8px; padding:3px 6px; border:1px solid #c7ccd3; }
.tbra .rel-primary { background:#26364a; color:#fff; font-weight:700; } .tbra .rel-secondary { background:#e3e8ef; } .tbra .rel-none { color:#aaa; }
.tbra .notes { margin-top:10px; font-size:9.3px; color:#6b4b00; background:#fff8e6; border:1px solid #e8d49a; padding:6px 10px; }
.tbra .defs { margin-top:10px; font-size:9.3px; } .tbra .defs dt { font-weight:700; } .tbra .defs dd { margin:0 0 4px 12px; }
.tbra .page { page-break-after: always; }
.tbra .srcver { margin-top:10px; font-size:9px; color:#555; border-top:1px solid #c7ccd3; padding-top:5px; }
.tbra table.rows .r1{width:19%} .tbra table.rows .r2{width:16%} .tbra table.rows .r3,.tbra table.rows .r5{width:8%} .tbra table.rows .r4{width:31%}
.tbra table.rows .r6{width:6%} .tbra table.rows .r7{width:12%} .tbra.hide-src .srccol { display:none; }
@media print { .tbra table.rows .r6{width:19%} .tbra table.rows .r4{width:26%} .tbra table.rows .r2{width:14%} .tbra table.rows .r1{width:17%} }
.tbra .subhead td { background:#e3e8ef; color:#26364a; font-weight:700; font-size:10.5px; padding:3px 8px; }
.tbra .gapnote td { background:#fff1cc; color:#6b4b00; font-size:9px; padding:3px 8px; }
.tbra .cathead .worstnote { font-size:9px; color:#f3c89a; font-style:italic; margin-top:2px; }
.tbra .also { font-size:8.5px; color:#5c6670; margin-top:2px; } .tbra .risk .harm { font-size:8px; text-transform:uppercase; font-weight:600; }
.tbra .tag.fill { display:inline-block; background:#b55d00; color:#fff; margin:2px 0 0 4px; white-space:normal; }
.tbra .why { font-size:8px; color:#5c6670; font-style:italic; margin-top:3px; }
.tbra .fallback { background:#8a4500; color:#fff; font-weight:700; font-size:12px; padding:6px 10px; margin:6px 0; border-radius:3px; }
.tbra .basedon { font-size:10px; color:#26364a; margin:4px 0 6px; } .tbra .basedon b { color:#26364a; }
.tbra table.rows td { padding:4px 6px; font-size:9.4px; }
.tbra .cathead td { background:#26364a; color:#fff; padding:5px 8px; } .tbra .cathead .catname { font-weight:700; font-size:12px; margin-right:12px; }
.tbra .cathead .catsum { font-size:10px; } .tbra .cathead .catcount { float:right; font-size:9px; color:#c9d2de; }
.tbra .cathead .miss { color:#c9d2de; } .tbra .pill { padding:0 4px; border-radius:3px; font-size:9px; }
.tbra .rows .risk { text-align:center; } .tbra .rows .risk .ls { font-size:10px; } .tbra .rows .risk.NA .bd { text-transform:none; font-weight:normal; font-style:italic; }
.tbra .rows .ctl1 ul { padding-left:2px; list-style:none; } .tbra .rows .ctl1 li { margin-bottom:2px; }
.tbra .tag { display:inline-block; background:#eef0f3; color:#26364a; border-radius:3px; padding:0 4px; font-size:8.5px; font-weight:600; white-space:nowrap; }
.tbra .regtag { color:#1f4e79; font-size:8.5px; font-weight:600; }  /* gTBRA G11: a site register row ref and its own scores */
.tbra .srcline { color:#26364a; }
.tbra .regnote { font-style:italic; }
.tbra .tag.ai { background:#b55d00; color:#fff; } .tbra .src.also, .tbra .src.lib { display:block; margin:3px 0 0; }
.tbra .airow td { background:#fffaf2; } .tbra .airow .ai-ns { background:#fbe9d6; color:#8a4500; font-size:8.5px; font-weight:700; }
.tbra .hz .src { display:block; margin:2px 0 0; }
.tbra tr.pending td { background:#fffaf2; color:#8a4500; font-style:italic; padding:6px 8px; }
.tbra td.aiest { background:#fff !important; border:1.5px dashed #b55d00; font-style:italic; font-weight:600; }
.tbra .assume { font-weight:600; color:#26364a; }
.tbra .overview { margin:6px 0; padding:6px 10px; border:2px solid #8a4500; border-radius:4px; color:#8a4500; font-weight:700; }
.tbra td.aiest .est { font-size:7.5px; text-transform:uppercase; letter-spacing:.4px; color:#8a4500; font-style:normal; }
.tbra td.aiest.H { color:#a3182f; } .tbra td.aiest.M { color:#8a6200; } .tbra td.aiest.L { color:#1d6b36; } .tbra td.aiest.NA { color:#777; }
.tbra .aireason { font-size:8px; color:#8a4500; font-style:italic; margin-top:2px; }
.tbra .cathead .aiworst { font-size:9px; font-style:italic; color:#f3c89a; margin-left:14px; }
.tbra .sense { background:#e8f0fb; border:1px solid #9cbbe3; color:#1f3f66; padding:5px 9px; margin:6px 0; font-size:11px; }
.tbra .sense button { font-size:11px; padding:2px 9px; margin-left:4px; }
.tbra .aifoot { color:#8a4500; }
.tbra .aionly { background:#a3182f; color:#fff; font-weight:700; font-size:13px; padding:7px 11px; margin:6px 0; border-radius:3px; }
.tbra .aionly.amber, .tbra .aionly.offline { background:#8a4500; }  /* prompt 24e: red only for a prohibited activity */
.tbra .aionly.reviewed { background:#1d6b36; }  /* gTBRA G8: marked reviewed by a competent person */
.tbra .rid { font-weight:700; letter-spacing:.3px; } .tbra .rid a { color:inherit; }
.tbra .qr { float:right; margin:0 0 4px 10px; text-align:center; font-size:7px; color:#555; max-width:190px; overflow-wrap:anywhere; }
.tbra .qr svg { display:block; margin:0 auto 1px; width:22mm; height:22mm; }
.tbra .signoff { margin-top:14px; break-inside:avoid; page-break-inside:avoid; font-size:10px; }
.tbra .signoff h3 { font-size:12px; margin:0 0 4px; }
.tbra .signoff table { border-collapse:collapse; width:100%; table-layout:fixed; border:1px solid #9aa4b1; margin-bottom:2px; }
.tbra .signoff th, .tbra .signoff td { border:1px solid #9aa4b1; padding:4px 6px; text-align:left; vertical-align:bottom; }
.tbra .signoff th { background:#eef2f6; font-weight:700; } .tbra .signoff td { height:34px; }
.tbra .signoff td.role { font-weight:700; vertical-align:middle; } .tbra .signoff col.role { width:16%; }
.tbra .nodata { font-size:16px; color:#777; font-style:italic; padding:40px 60px; border:1.5px dashed #c7ccd3; }
/* prompt 16: one row per category */
.tbra table.cons .k1{width:8%} .tbra table.cons .k2{width:21%} .tbra table.cons .k3{width:17%} .tbra table.cons .k4,.tbra table.cons .k6{width:8%}
.tbra table.cons .k5{width:32%} .tbra table.cons .k7{width:6%}
@media print { .tbra table.cons .k7{width:19%} .tbra table.cons .k5{width:25%} .tbra table.cons .k2{width:18%} .tbra table.cons .k3{width:14%} .tbra table.cons .k1{width:7%} }
.tbra table.cons td { padding:5px 6px; font-size:9.4px; } .tbra table.cons .cat { font-size:11.5px; }
.tbra table.cons .risk { text-align:center; } .tbra table.cons .risk .ls { font-size:10.5px; }
.tbra table.cons .risk.NA .bd { text-transform:none; font-weight:normal; font-style:italic; } .tbra table.cons .risk.empty { background:#fff; }
.tbra table.cons .risk .est { font-size:7.5px; text-transform:uppercase; letter-spacing:.4px; color:#8a4500; border:1px dashed #b55d00; border-radius:2px; margin-bottom:2px; }
.tbra table.cons .ctl1 ul { padding-left:2px; list-style:none; } .tbra table.cons .ctl1 li { margin-bottom:2px; }
.tbra .hzgroup { font-weight:700; font-size:9px; color:#26364a; text-transform:uppercase; letter-spacing:.3px; margin:3px 0 2px; }
.tbra .hzgroup + ul { margin-bottom:4px; } .tbra .nohz { color:#666; font-style:italic; } .tbra .nohz .hint { font-size:8.5px; }
.tbra .refs { margin-top:12px; font-size:10px; break-inside:avoid; } .tbra .refs h3 { font-size:12px; margin:0 0 2px; }
.tbra .general { margin-top:10px; border:1px solid #c9d3df; border-left:4px solid #2f74c0; padding:6px 10px; break-inside:avoid; font-size:11px; }
.tbra .general h3 { font-size:13px; margin:0 0 2px; } .tbra .general .hint { margin:0 0 3px; color:#555; font-size:10px; }
.tbra .general ul { margin:2px 0 0 16px; padding:0; } .tbra .general li { margin:2px 0; }
.tbra .refs ul { margin:2px 0 0 16px; padding:0; } .tbra .refs .hint { margin:0; color:#555; } .tbra .refs .tbv { color:#8a5a00; font-style:italic; } .tbra .refs .tbr { color:#a00; font-weight:bold; } .tbra .refs .chk { color:#555; }
.tbra .lawtag { color:#1f4e79; font-size:0.9em; }
.tbra .disclaimer { margin-top:16px; font-size:8.5px; color:#333; line-height:1.45; border-top:1px solid #c7ccd3; padding-top:6px;
  break-inside: avoid; page-break-inside: avoid; }
.tbra table.cons tr.cathead, .tbra table.cons tr.gapnote { break-after: avoid; page-break-after: avoid; }  /* a category's details stay with its row */
.tbra .disclaimer p { margin:0 0 4px; } .tbra .disclaimer .copy { text-align:center; margin-top:6px; }
/* prompt 17/18: a category row may continue on the next page (bullets break between items, never inside one). On every page
   the repeated heading draws the table's top line, and the table itself (cloned at each page break) draws its outer frame
   and the bottom line. Cells draw only their top and left lines: a cell whose text ended on an earlier page has no box on
   the next page, so a line it drew would be missing there (prompt 18, #214); the next row's top line closes the row
   instead, and to_pdf adds the column lines to the table's background (COLUMN_LINES_JS) for the empty parts. */
.tbra table.cons { border-collapse:separate; border-spacing:0; border:1.5px solid #26364a; border-top:0;
  box-decoration-break:clone; -webkit-box-decoration-break:clone; background-repeat:no-repeat; background-origin:border-box; }
.tbra table.cons thead { display:table-header-group; }
.tbra table.cons th { border:0; border-top:1.5px solid #26364a; border-bottom:1px solid #26364a; border-left:1px solid #26364a; }
.tbra table.cons td { border:0; border-top:1px solid #26364a; border-left:1px solid #26364a; }
.tbra table.cons th:first-child, .tbra table.cons td:first-child { border-left:0; }
.tbra table.cons tbody tr:first-child td { border-top:0; }
.tbra table.cons tr.cathead td, .tbra table.cons tr.gapnote td { border-left:0; }
.tbra table.cons tfoot { display:table-footer-group; } .tbra table.cons td.tend { padding:0; height:0; border-left:0; }
.tbra table.cons tr.catrow { break-inside:auto; page-break-inside:auto; }
.tbra table.cons li { break-inside:avoid; page-break-inside:avoid; }
.tbra .gen { white-space:nowrap; }
.tbra .disclaimer { font-family:"Segoe UI","Noto Sans",Arial,sans-serif; }  /* always English, in a Latin font */
.tbra.lang-my { font-family:"Noto Sans Myanmar","Myanmar Text","Segoe UI","Noto Sans",Arial,sans-serif; }
.tbra.lang-my td, .tbra.lang-my li { line-height:1.6; }
.tbra.lang-my h1 { text-transform:none; }
/* prompt 18: Chromium repeats the table heading on every page (and so draws the table's top line) only while the heading is
   short; to_pdf moves the hints into this legend and shrinks the heading when it would take more than 15% of the page */
.tbra .hintlegend { display:none; font-size:9px; color:#555; margin:2px 0 4px; }
/* prompt 24g: the write-in row after each category, printed only */
.tbra table.cons tr.writein { display:none; }
@media print { .tbra table.cons tr.writein { display:table-row; } }
.tbra table.cons tr.writein { height:2.5cm; break-inside:avoid; page-break-inside:avoid; }
.tbra table.cons tr.writein td { background:#fff; padding:2px 6px 0; vertical-align:top; }
.tbra table.cons tr.writein td.wcat { border-top:0; }
.tbra table.cons tr.writein .wh { font-size:7.5px; line-height:1.2; color:#8a939d; font-weight:600; font-style:normal; }
.tbra table.cons tr.writein .wl { height:0.5cm; border-bottom:0.5px solid #d3d8de; }
/* prompt 24g (#227 Myanmar): when a cell's text ends within its bottom padding and its last item's margin at a page's end,
   Chromium does not break the row there and moves the whole table to the next page (page 1 held only the head). Printed
   category rows end with their text, so a row breaks wherever its cells' text ends. */
@media print { .tbra table.cons tr.catrow td { padding-bottom:0; } .tbra table.cons tr.catrow td > :last-child,
  .tbra table.cons tr.catrow li:last-child { margin-bottom:0; } }
.fit-hints .tbra .hintlegend { display:block; } .fit-hints .tbra table.cons th .hint { display:none; }
/* prompt 24h: the browser's print (offline print) as the server PDF. The banners, tags, risk cells and the radar keep their
   colours without the print dialog's "Background graphics"; one print font stack for both: the server (Linux) has no Segoe
   UI and prints Arial's metric twin Liberation Sans, the browser on Windows prints Arial */
.tbra, .tbra * { -webkit-print-color-adjust:exact; print-color-adjust:exact; }
@media print { .tbra, .tbra .disclaimer { font-family:Arial,"Liberation Sans",sans-serif; }
  .tbra.lang-my { font-family:"Noto Sans Myanmar",Arial,"Liberation Sans",sans-serif; } }
