/* GTAX issuer directory and issuer page (apps/explorer/). Tokens: gtax site.css :root.
   The directory is a reference table set close, as the site's sector tables are; the
   GTAX code is the one element set in the display face's weight on every row. */
/* the site's main column and padding, as one block: the base sheet's wide-screen main is a heading-rail grid */
main.gd { display: block; }
.gd h1 { font-family: var(--display); font-weight: 700; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.05; color: var(--indigo); margin: 0 0 12px; text-wrap: balance; }
.gd-lede { max-width: var(--measure); font-size: 1.08rem; line-height: 1.6; margin: 0; }

.gd-filters { display: grid; grid-template-columns: minmax(0, 2fr) repeat(4, minmax(0, 1fr)); gap: 12px; margin: 28px 0 10px; }
.gd-field { display: grid; gap: 4px; min-width: 0; font-family: var(--display); font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--slate); }
.gd-field input, .gd-field select { width: 100%; min-width: 0; font: 400 0.95rem/1.3 var(--body); color: var(--ink); text-transform: none; letter-spacing: 0;
  background: #fff; border: 1px solid var(--rule); border-radius: 3px; padding: 8px 10px; }
.gd-field select:disabled { background: var(--tint); color: var(--slate); }
.gd-field input:focus-visible, .gd-field select:focus-visible { outline: 2px solid var(--teal); outline-offset: 1px; }

.gd-count { font-size: 0.92rem; color: var(--slate); margin: 6px 0 8px; font-variant-numeric: tabular-nums; }
.gd-table-wrap { overflow-x: auto; }
.gd-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.gd-table th { font-family: var(--display); font-weight: 500; font-size: 0.76rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--slate);
  text-align: left; padding: 8px; border-bottom: 1px solid var(--indigo); white-space: nowrap; }
.gd-table td { padding: 7px 8px; border-bottom: 1px solid var(--rule); font-size: 0.94rem; vertical-align: baseline; }
.gd-table tbody tr:hover { background: var(--tint); }
.gd-table a { color: var(--indigo); text-decoration: none; font-weight: 600; }
.gd-table a:hover, .gd-table a:focus-visible { color: var(--teal-deep); text-decoration: underline; }
.gd-code { font-family: var(--display); font-weight: 700; letter-spacing: 0.06em; color: var(--teal-deep); }
.gd-num { text-align: right; white-space: nowrap; }
.gd-by { font-size: 0.74rem; color: var(--slate); }
.gd-col-country { white-space: nowrap; }
.gd-more-row { margin: 14px 0 0; }
.gd-more { font-family: var(--display); font-size: 0.95rem; font-weight: 600; color: var(--teal-deep); background: #fff;
  border: 1px solid var(--teal-deep); border-radius: 3px; padding: 9px 16px 7px; cursor: pointer; }
.gd-more:hover { background: var(--tint); }
.gd-source { margin: 18px 0 0; font-size: 0.82rem; line-height: 1.45; color: var(--slate); max-width: var(--measure); }

/* issuer page */
.gi-back { margin: 0 0 14px; font-family: var(--display); font-size: 0.92rem; }
.gi-back a { color: var(--teal-deep); }
.gi-back a::before { content: "\2190  "; }
.gi-status { margin: 0; color: var(--slate); }
.gi-facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 22px; margin: 16px 0 26px; padding: 14px 0;
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); font-variant-numeric: tabular-nums; }
.gi-facts dt { font-family: var(--display); font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--slate); padding-top: 2px; }
.gi-facts dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }

@media (max-width: 900px) {
  .gd-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gd-filters .gd-name { grid-column: 1 / -1; }
  .gd-col-sub { display: none; }
}
@media (max-width: 600px) {
  .gd-filters { grid-template-columns: minmax(0, 1fr); }
  .gd-col-sector, .gd-col-country { display: none; }
  .gd-table td, .gd-table th { padding-left: 4px; padding-right: 4px; }
  .gi-facts { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .gi-facts dd { margin-bottom: 8px; }
}
