/* The IPO calendar. Prefix ipo-. */
.ipo-top { align-items: center; flex-wrap: wrap; gap: 8px 12px; min-height: 32px; margin-bottom: 8px; }
.ipo-count { font-size: 12px; color: var(--tx-3); white-space: nowrap; }
.ipo-line { margin-left: auto; font-size: 11.5px; color: var(--mut); }
.ipo-cat { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 6px; color: var(--mut); font-size: 12px; font-weight: 600; white-space: nowrap; }
.ipo-cat[aria-pressed="true"] { background: var(--line-2); color: var(--tx); }
.ipo-cats { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.ipo-rule { margin-bottom: 12px; max-width: 90ch; }
.ipo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; align-items: start; }
.ipo-grid2 { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 12px; }
.ipo-stage { min-width: 0; overflow: hidden; }
.ipo-sh { padding: 10px 14px 9px; border-bottom: 1px solid var(--line); }
.ipo-sh > div:first-child { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.ipo-sn { font-size: 13px; font-weight: 600; }
.ipo-sc { font-size: 15px; font-weight: 600; }
.ipo-sm { margin-top: 2px; font-size: 11.5px; color: var(--mut); line-height: 1.4; }
.ipo-list { list-style: none; margin: 0; padding: 0 14px; }
.ipo-card { display: flex; flex-direction: column; gap: 3px; padding: 10px 0; border-bottom: 1px solid var(--line-3); min-width: 0; }
.ipo-card:last-child { border-bottom: 0; }
.ipo-card.empty { padding: 14px 0; }
.ipo-l1 { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; min-width: 0; }
.ipo-nm { font-size: 13px; font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
a.ipo-nm:hover { text-decoration: underline; text-underline-offset: 2px; }
.ipo-pg { flex: none; font-size: 11px; color: var(--si-tx-2); white-space: nowrap; }
.ipo-sub { font-size: 11.5px; color: var(--mut); }
.ipo-l3 { display: flex; align-items: center; gap: 6px; min-width: 0; font-family: var(--mono); font-size: 10.5px; color: var(--tx-3); }
.ipo-l3 .chip { text-decoration: none; }
.ipo-l3 .chip:hover { color: var(--tx); }
.ipo-px { font-size: 11.5px; color: var(--tx-3); }
.ipo-px span { color: var(--mut); }
.ipo-more { padding: 10px 14px 12px; border-top: 1px solid var(--line-3); }
.ipo-priv { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; margin-top: 12px; padding: 10px 14px; }
.ipo-ph { flex: none; font-size: 12px; font-weight: 600; }
.ipo-chips { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ipo-chip { padding: 2px 10px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 12px; color: var(--tx-3); white-space: nowrap; }
.ipo-chip.on { border-color: var(--si-bd); background: var(--si-bg); color: var(--si-tx); }
.ipo-cnt { flex: none; font-size: 11.5px; color: var(--mut); }
.ipo-foot { margin-top: 12px; max-width: 110ch; }
@media (max-width: 1280px) { .ipo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .ipo-grid, .ipo-grid2 { grid-template-columns: minmax(0, 1fr); } .ipo-line { display: none; } .ipo-cnt { flex-basis: 100%; } }

/* the calendar (ruling 168(n)): a month of the record's filings, one colour a kind of event */
.k-filed { --k: var(--dim); } .k-amended { --k: var(--line-hover); } .k-effective { --k: var(--si); } .k-priced { --k: var(--rec); } .k-listed { --k: var(--amber); } .k-withdrawn { --k: var(--violet); }
.cal-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 18px; margin-top: 12px; }
.cal-nav { display: flex; align-items: center; gap: 10px; }
.cal-nav .icon-btn { width: 30px; height: 28px; font-size: 16px; line-height: 1; }
.cal-nav .icon-btn[disabled] { opacity: 0.35; cursor: default; }
.cal-month { min-width: 150px; text-align: center; font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.cal-legend { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 11.5px; color: var(--tx-3); }
.cal-legend span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.cal-legend i, .cal-what i, .cal-dots i { flex: none; width: 8px; height: 8px; border-radius: 2px; background: var(--k); }
.cal-wrap { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 14px; margin-top: 10px; }
.cal-grid { flex: 2.2 1 560px; min-width: 0; overflow: hidden; }
.cal-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.cal-week span { padding: 7px 8px; font-size: 10.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mut); }
.cal-cells { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.cal-cell { min-height: 104px; min-width: 0; display: flex; flex-direction: column; gap: 4px; padding: 6px 6px 7px; border: 0; border-right: 1px solid var(--line-3); border-bottom: 1px solid var(--line-3); border-radius: 0; background: transparent; color: inherit; font: inherit; text-align: left; }
.cal-cell:nth-child(7n) { border-right: 0; }
.cal-cell.off { background: rgba(11, 14, 20, 0.45); }
.cal-cell.after .cal-n { color: var(--dim); }
button.cal-cell { cursor: pointer; }
button.cal-cell:hover { background: rgba(148, 163, 184, 0.05); }
button.cal-cell[aria-pressed="true"] { background: rgba(59, 130, 246, 0.10); box-shadow: inset 0 0 0 1px var(--si-bd); }
.cal-n { font-size: 11.5px; color: var(--tx-3); }
.cal-cell.has .cal-n { color: var(--tx); font-weight: 600; }
.cal-evs { display: flex; flex-direction: column; gap: 3px; min-width: 0; width: 100%; }
.cal-ev { display: block; padding: 1px 6px; border-left: 2px solid var(--k); border-radius: 3px; background: rgba(148, 163, 184, 0.07); font-size: 11px; line-height: 16px; color: var(--tx-2); }
.cal-more { font-size: 10.5px; color: var(--mut); padding-left: 2px; }
.cal-dots { display: none; align-items: center; gap: 3px; flex-wrap: wrap; }
.cal-dots b { font-size: 10px; font-weight: 500; color: var(--mut); }
.cal-panel { flex: 1 1 320px; min-width: 0; max-height: 720px; overflow: auto; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.cal-ph { position: sticky; top: 0; z-index: 1; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 11px 14px; border-bottom: 1px solid var(--line); background: var(--panel); }
.cal-ph b { font-size: 14px; font-weight: 600; }
.cal-list { list-style: none; margin: 0; padding: 0; }
.cal-item { padding: 10px 14px 4px; border-top: 1px solid var(--line-3); }
.cal-item:first-child { border-top: 0; }
.cal-item > .ipo-list { list-style: none; margin: 4px 0 0; padding: 0; }
.cal-what { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--tx-3); }
.cal-what .lab { flex: none; }
.ipo-calnote { margin-top: 10px; max-width: 110ch; }
@media (max-width: 900px) {
  .cal-cell { min-height: 54px; padding: 5px 4px; align-items: center; }
  .cal-evs { display: none; }
  .cal-dots { display: flex; justify-content: center; }
  .cal-week span { padding: 6px 2px; text-align: center; letter-spacing: 0.02em; }
  .cal-month { min-width: 120px; font-size: 15px; }
  .cal-panel { max-height: none; }
  .ipo-cats, .ipo-views { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
}
