/* Functional tool/print behavior; visual components and themes come from site.css. */
[data-tools] [hidden]{display:none!important}
.tools-email{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;max-width:100%;margin:0}
.tools-hub>.text-link{margin-right:1.5rem}
[data-tools] .tools-table .num{white-space:nowrap;overflow-wrap:normal}
/* Keep the data wide enough to compare; only the named region scrolls. */
@media screen{
 [data-result-table]{container-type:inline-size}
 [data-result-table] table{min-width:22rem}
 [data-result-table] table[data-columns="4"]{min-width:26rem}
 [data-result-table] table[data-columns="5"]{min-width:34rem}
 [data-result-table] th:first-child{width:7rem;min-width:7rem;max-width:7rem}
 /* Measure the result container, so a wide page with a narrow result keeps its hint. */
 @container (min-width:36rem){
  .tools-table-hint:not([data-columns="5"]){position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
 }
 @container (min-width:44rem){
  .tools-table-hint[data-columns="5"]{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
 }
}
@media print{
 html,body{background:#fff;color:#111;color-scheme:light}
 [data-tools]{--ink:#111;--muted:#333;--surface:#fff;--surface-soft:#fff;--border:#999;--accent:#111;color:#111}
 .tools-form,.tools-support,.tools-controls,.tools-hub,[data-announcement],[data-tools]>.breadcrumbs,[data-tools]>.page-heading{display:none!important}
 [data-tools] .result-card{border:0;padding:0;color:#111;background:#fff;break-inside:auto}
 [data-tools] .result-value{font-size:1.5rem}
 .tools-email{font-size:11pt;line-height:1.5}
 [data-worksheet]{break-inside:auto}
 .tools-table-hint{display:none}
 [data-result-table] .table-wrap{overflow:visible}
 [data-result-table] th,[data-result-table] td{padding:.45rem .5rem}
}
