/* Product-page layout on top of the shared HDX-v2 tokens in site.css */
.page { padding: 24px 44px 48px; box-sizing: border-box; }
@media (max-width: 640px) { .page { padding: 18px 22px 36px; } }
.page .home { display: inline-block; margin: 8px 0 18px; font: 500 14px/1.4 Roboto, sans-serif; color: #007ce0; text-decoration: none; }
.page .home:hover { text-decoration: underline; }
.page h1 { font: 700 30px/1.2 Merriweather, serif; margin: 0 0 8px; }
.page .sub { color: #555; margin: 0 0 24px; max-width: 70ch; }
.page h2 { font: 700 21px/1.3 Merriweather, serif; margin: 34px 0 10px; }
.page h3 { font: 500 16px/1.35 Roboto, sans-serif; margin: 22px 0 6px; }
.page p, .page li { font: 400 15px/1.55 Roboto, sans-serif; max-width: 90ch; }
.page p.fn { color: #555; font-size: 13.5px; }
.page figure { margin: 12px 0 18px; }
.page figure img { max-width: 100%; height: auto; border: 1px solid #e6e6e6; border-radius: 6px; }
.page figcaption { color: #555; font: 400 13px/1.5 Roboto, sans-serif; max-width: 90ch; margin-top: 6px; }
.tw { overflow-x: auto; margin: 10px 0 18px; }
table { border-collapse: collapse; font: 400 13.5px/1.4 Roboto, sans-serif; min-width: 640px; }
th, td { text-align: left; padding: 6px 10px; border-bottom: 1px solid #e6e6e6; white-space: nowrap; }
th { background: #f4f4f4; font-weight: 500; }

/* At-a-glance status table under the coverage map */
.status table { min-width: 720px; }
.status th, .status td { white-space: normal; vertical-align: top; }
.status td.zn { white-space: nowrap; min-width: 150px; }
.status .tier { color: #555; font-size: 12px; }
.sw { display: inline-block; width: 14px; height: 14px; border-radius: 3px; margin-right: 8px; vertical-align: -2px; }
.sw-t1 { border: 1px solid rgba(0,0,0,.15); }
.sw-t2 { border: 2px dashed; box-sizing: border-box; }
.pill { display: inline-block; font: 500 11.5px/1.3 Roboto, sans-serif; padding: 2px 8px; border-radius: 10px; margin-right: 6px; color: #fff; }
.rate-good .pill, .pill.rate-good { background: #007a3d; }
.rate-mid .pill,  .pill.rate-mid  { background: #b86e00; }
.rate-weak .pill, .pill.rate-weak { background: #c0392b; }
td.rate-good { box-shadow: inset 4px 0 0 #007a3d; }
td.rate-mid  { box-shadow: inset 4px 0 0 #b86e00; }
td.rate-weak { box-shadow: inset 4px 0 0 #c0392b; }
.status .fn { display: block; color: #666; font-size: 12.5px; margin-top: 5px; }
.status table { min-width: 900px; }
.status td.imp { min-width: 190px; }
.bar { display: block; height: 7px; background: #eeeeea; border-radius: 4px; margin: 4px 0 2px; }
.bar span { display: block; height: 100%; border-radius: 4px; }
.barlab { display: block; font-size: 12px; color: #333; }

/* Hover-revealed anchor links on section headings */
.page h2, .page h3 { scroll-margin-top: 18px; }
.page h2 .anchor, .page h3 .anchor {
  margin-left: .4em; color: #007ce0; text-decoration: none; font-weight: 400;
  opacity: 0; transition: opacity .12s ease;
}
.page h2:hover .anchor, .page h3:hover .anchor,
.page h2 .anchor:focus, .page h3 .anchor:focus { opacity: 1; }
.page h2:target, .page h3:target { background: #fff6d9; box-shadow: -6px 0 0 #fff6d9, 6px 0 0 #fff6d9; }
@media (hover: none) { .page h2 .anchor, .page h3 .anchor { opacity: .35; } }

/* Harmonisation table: wrap freely, give the note column room */
.harmon table { min-width: 860px; table-layout: fixed; width: 100%; }
.harmon th, .harmon td { white-space: normal; vertical-align: top; }
.harmon td.zn { white-space: normal; min-width: 0; }
.harmon th:nth-child(1), .harmon td:nth-child(1) { width: 13%; }
.harmon th:nth-child(2), .harmon td:nth-child(2) { width: 30%; }
.harmon th:nth-child(3), .harmon td:nth-child(3) { width: 16%; }
.harmon th:nth-child(4), .harmon td:nth-child(4) { width: 41%; }
.harmon .fn { display: block; margin-top: 2px; color: #666; font-size: 12.5px; line-height: 1.45; }
.harmon .who { margin-bottom: 9px; }
.harmon .who:last-child { margin-bottom: 0; }

/* Zone district reference list */
.zlist table { min-width: 620px; }
.zlist th, .zlist td { white-space: normal; vertical-align: top; }
.zlist td.zn { white-space: nowrap; }
.zlist td.cnt { text-align: right; width: 70px; color: #52514e; }

/* District cautions: quiet superscript markers */
.zlist .dist { display: inline-block; margin: 0 11px 3px 0; }
.mk { color: #a33; font-size: 11px; letter-spacing: 1px; margin-left: 1px; cursor: help; }
.fn .mk { margin: 0 2px 0 0; }

/* Draft trigger page */
.callout { background: #fff8e6; border-left: 4px solid #b86e00; padding: 10px 14px; }
.page blockquote.wording { margin: 8px 0 14px; padding: 8px 14px; border-left: 4px solid #5b5b5b; background: #f5f5f5; color: #1a1a1a; }
.page figure figcaption.fn { font-size: 12px; color: #666; margin-top: 4px; }
.page h3 { margin-top: 22px; }
.trig-cmp td .fn { display: block; font-size: 11.5px; color: #666; white-space: normal; text-align: left; }
h2 .sw { display: inline-block; width: 14px; height: 14px; border-radius: 3px; margin-right: 9px; vertical-align: -1px; }
.trig-sum td, .trig-zone td, .trig-over td { vertical-align: top; }
.trig-sum td.num, .trig-zone td.num { text-align: right; white-space: nowrap; }
.trig-over table, .trig-zone table { min-width: 0; }
.trig-over td, .trig-over th { text-align: center; padding: 4px 8px; }
.trig-over td.fn { text-align: left; }
td.yr { font-weight: 500; white-space: nowrap; }
td.yr .fn { display: block; font-weight: 400; }
td.act { color: #fff; font-weight: 500; white-space: nowrap; }
td.act .d { display: block; font-weight: 400; font-size: 11.5px; opacity: .9; }
td.nodata { color: #777; font-size: 12px; background: repeating-linear-gradient(135deg, #f3f3f3 0 6px, #e6e6e6 6px 12px); }
td.any { color: #1a1a1a; font-size: 15px; }
.oc { font: 500 12px/1.3 Roboto, sans-serif; white-space: nowrap; }
.oc-hit { color: #007a3d; }
.oc-miss { color: #c0392b; }
.oc-fa { color: #777; font-weight: 400; }
.trig-sum table { table-layout: fixed; width: 100%; min-width: 760px; }
.trig-sum th, .trig-sum td { white-space: normal; }
.trig-zone th, .trig-zone td { white-space: normal; }
.trig-zone td.act, .trig-zone td.num { white-space: nowrap; }
/* trigger tables: cell-level fixes (a td must never be display:block) */
.trig-zone td.src { white-space: normal; font-size: 12px; color: #555; min-width: 110px; }
.trig-zone td.yr .fn, .trig-zone td.num .fn, .trig-sum td .fn { display: block; font-size: 11.5px; color: #666; }
.trig-over td.fn { display: table-cell; }
.trig-cmp table { min-width: 0; }
.trig-cmp td.num { text-align: right; }
ul.ext-notes { font-size: 13px; color: #444; margin-top: 4px; }
ul.ext-notes li { margin-bottom: 4px; }
ul.keypts li { margin-bottom: 7px; }
.trig-alloc table { min-width: 0; }
.trig-alloc td.num { text-align: right; white-space: nowrap; }
.trig-alloc tr.tot td { border-top: 2px solid #ccc; font-weight: 500; }
.trig-over td.src { white-space: normal; font-size: 12px; color: #555; text-align: left; }
pre { background: #f5f5f5; padding: 10px 12px; border-radius: 4px; font-size: 12.5px; overflow-x: auto; }
.trig-sum table { min-width: 1080px; }
.trig-sum th:nth-child(1) { width: 8%; }  .trig-sum th:nth-child(2) { width: 24%; }
.trig-sum th:nth-child(3) { width: 12%; } .trig-sum th:nth-child(4) { width: 9%; }
.trig-sum th:nth-child(5) { width: 8%; }  .trig-sum th:nth-child(6) { width: 15%; }
.trig-sum th:nth-child(7) { width: 6%; }  .trig-sum th:nth-child(8) { width: 7%; }
.trig-sum th:nth-child(9) { width: 6%; }  .trig-sum th:nth-child(10) { width: 6%; }
.trig-sum td.num .fn { white-space: normal; }
.trig-months table { min-width: 0; }
.trig-months td.mo, .trig-months th.mo { text-align: center; padding: 4px 6px; min-width: 30px; }
.trig-months th.win, .trig-months td.win { box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.trig-months th.win { background: #fff4d6; }
.trig-months td.zn { vertical-align: middle; white-space: nowrap; }
.trig-months td.src { white-space: nowrap; color: #444; }

/* timing grids: year x month, equal columns */
table.tgrid { table-layout: fixed; width: 100%; max-width: 640px; min-width: 0; border-collapse: separate; border-spacing: 2px; }
table.tgrid col.tg-y { width: 52px; }
table.tgrid th, table.tgrid td { padding: 0; border: 0; text-align: center; white-space: nowrap; }
table.tgrid thead th { font: 500 11.5px/1 Roboto, sans-serif; color: #666; padding: 4px 0; background: none; }
table.tgrid thead th.tg-win { color: #7a5600; font-weight: 700; }
table.tgrid th.tg-yr { font: 500 11.5px/1 Roboto, sans-serif; color: #444; text-align: right; padding-right: 8px; }
table.tgrid td.tg-c { height: 18px; background: #f4f4f2; border-radius: 3px; vertical-align: middle; }
table.tgrid td.tg-win { box-shadow: inset 0 0 0 1px #d9b24a; }
td.tg-on, i.tg-on { background: repeating-linear-gradient(135deg, #f8e3df 0 3px, #f4f4f2 3px 6px) !important; }
td.tg-on-major, i.tg-on-major { background: repeating-linear-gradient(135deg, #e7a79c 0 3px, #f8e3df 3px 6px) !important; }
.tg-act { display: inline-block; width: 10px; height: 10px; border-radius: 50%; box-shadow: 0 0 0 2px #fff; vertical-align: middle; }
.tg-x { display: inline-block; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid #444; background: #fff; vertical-align: middle; }
.tg-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 12.5px; color: #444; margin: 6px 0 12px; }
.tg-legend span { display: inline-flex; align-items: center; gap: 5px; }
.tg-sw { display: inline-block; width: 16px; height: 12px; border-radius: 2px; }
.tg-winsw { background: #f4f4f2; box-shadow: inset 0 0 0 1px #d9b24a; }
