/* Shared by the IRCC processing-times pages and the CBP airport wait-time pages. Uses the tools.css tokens. */
.dt-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 16px 0; }
.dt-stat { border: 1px solid var(--tool-border); border-radius: var(--tool-radius); background: var(--tool-surface); padding: 12px 14px; }
.dt-stat__n { display: block; font-size: 1.5rem; font-weight: 600; color: var(--tool-text); line-height: 1.2; }
.dt-stat__l { display: block; font-size: 13px; color: var(--tool-text-mute); margin-top: 2px; }
.dt-note { font-size: 14px; color: var(--tool-text-soft); }
.dt-quote { margin: 12px 0; padding: 10px 14px; border-left: 3px solid var(--tool-accent); background: var(--tool-accent-tint); font-size: 15px; }
.dt-quote cite { display: block; margin-top: 6px; font-size: 13px; color: var(--tool-text-mute); font-style: normal; }
.dt-quote cite a { text-decoration: underline; }
.dt-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.dt-table th, .dt-table td { text-align: left; padding: 7px 10px; border-bottom: 1px solid var(--tool-border); vertical-align: top; }
.dt-table th { font-weight: 600; color: var(--tool-text); white-space: nowrap; }
.dt-table td.num, .dt-table th.num { text-align: right; font-variant-numeric: tabular-nums; }
.dt-table tbody tr:hover { background: var(--tool-surface); }
.dt-table td.dim { color: var(--tool-text-mute); }
.dt-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 10px 0; }
.dt-filter { display: block; width: 100%; max-width: 360px; margin: 8px 0; }
.dt-chart { margin: 12px 0; max-width: 720px; }
.dt-chart .lc { width: 100%; height: auto; display: block; }
.lc-grid { stroke: var(--tool-border); stroke-width: 1; }
.lc-tick { fill: var(--tool-text-mute); font-size: 11px; }
.lc-line { stroke: var(--tool-accent); stroke-width: 2; }
.lc-dot { fill: var(--tool-accent); }
.dt-pill { display: inline-block; padding: 1px 8px; border-radius: 99px; font-size: 12px; background: var(--tool-accent-tint); color: var(--tool-accent-deep); }
.dt-result { font-size: 16px; }
.dt-result strong { color: var(--tool-text); }
.dt-links { list-style: none; margin: 8px 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 15px; }
.dt-links a { text-decoration: underline; text-underline-offset: 2px; }
.dt-fresh { font-size: 13px; color: var(--tool-text-mute); }
/* CBP weekday x hour heat table */
.awt-sr { position: absolute; left: -9999px; }
.awt-heat { border-collapse: separate; border-spacing: 2px; font-size: 12px; font-variant-numeric: tabular-nums; min-width: 760px; }
.awt-heat th { font-weight: 500; color: var(--tool-text-mute); padding: 2px 3px; text-align: center; }
.awt-heat tbody th { text-align: left; position: sticky; left: 0; background: var(--tool-bg); padding-right: 6px; }
.awt-heat td { text-align: center; min-width: 28px; height: 26px; border-radius: 3px; color: #111827; cursor: default; }
.awt-heat td.awt-nil { color: var(--tool-text-mute); background: transparent; }
.awt-heat td.awt-thin { opacity: .68; }
.awt-heat td.sel { outline: 2px solid var(--tool-text); outline-offset: 0; }
.awt-heat .w0 { background: #bfe8c9; } .awt-heat .w1 { background: #d9efb3; } .awt-heat .w2 { background: #f3efa4; }
.awt-heat .w3 { background: #fbd88b; } .awt-heat .w4 { background: #f8b27a; } .awt-heat .w5 { background: #ee8a7b; } .awt-heat .w6 { background: #d9606b; }
.awt-legend { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: 12px; color: var(--tool-text-soft); margin: 6px 0 10px; }
.awt-legend span::before { content: ""; display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 5px; vertical-align: -2px; background: var(--c); }
@media (max-width: 480px) { .dt-table { font-size: 13px; } .dt-table th, .dt-table td { padding: 6px 7px; } }
.dim { color: var(--tool-text-mute); }
