/* Bounded content rows work consistently in Firefox as well as Chromium. */
.overlay .modal{display:grid;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden;max-height:calc(100dvh - 140px)}
.overlay .modal>.modal-body{overflow:auto;min-height:0;min-width:0;overscroll-behavior:contain;scrollbar-gutter:stable;touch-action:pan-x pan-y}
.management-window>#page-content,.window-page-content,.plane-inspector,.map-chat .chat-log{overscroll-behavior:contain;touch-action:pan-x pan-y}
.overlay .modal>.modal-head,.overlay .modal>.modal-foot{min-width:0}
.market7131-card .status{display:block;margin:4px 0 20px}.market7131-card>.btn{margin-top:auto;align-self:flex-start}
.exchange-table{table-layout:fixed;min-width:1050px!important;width:100%}.exchange-table .stock7131-identity{width:25%}.exchange-table .stock7131-price{width:13%}.exchange-table .stock7131-change{width:10%}.exchange-table .stock7131-report{width:23%}.exchange-table .stock7131-fleet{width:9%}.exchange-table .stock7131-stake{width:8%}.exchange-table .stock7131-actions{width:12%}
.exchange-table td,.exchange-table th{white-space:normal!important;overflow-wrap:anywhere;vertical-align:top}.exchange-table td>small{max-width:none;white-space:normal;overflow-wrap:anywhere;clear:both}.exchange-table td:nth-child(2),.exchange-table td:nth-child(3){font-variant-numeric:tabular-nums}.stock7131-company{display:grid;grid-template-columns:44px minmax(0,1fr);gap:12px;align-items:start}.exchange-table .stock7131-company .airline-mark{float:none;margin:0;max-width:44px}.stock7131-company>div{min-width:0}.stock7131-company .stock-company-name{display:block;max-width:100%;line-height:1.45;text-wrap:pretty;white-space:normal}.stock7131-company small{max-width:none!important;white-space:normal;line-height:1.65!important}.exchange-table .stock-price-link{display:block;max-width:100%;line-height:1.5;text-align:left}.exchange-table .btn{white-space:normal;max-width:100%}.regional7131-notice{padding:18px;border:1px solid var(--line);border-radius:10px;margin-bottom:20px;background:var(--surface-raised)}.regional7131-notice h3{margin-bottom:12px}.regional7131-notice dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin:12px 0}.regional7131-notice dt{font-size:11px;color:var(--muted)}.regional7131-notice dd{margin:5px 0 0;font-size:17px;font-weight:700}.regional7131-notice p{font-size:12px;line-height:1.7;margin-top:12px}
@media(max-width:650px){.overlay .modal{max-height:calc(100dvh - 40px)}.regional7131-notice dl{grid-template-columns:1fr}.stock7131-company{gap:8px;grid-template-columns:36px minmax(0,1fr)}}
