#extra-page { display: grid; gap: 18px; min-width: 0; }
#extra-page h2 { margin: 0; color: #17382f; font-size: 18px; }
#extra-page p { line-height: 1.6; }
.ex-panel, .ex-results {
  padding: clamp(16px, 2.1vw, 26px);
  border: 1px solid #dce9e4;
  border-radius: 16px;
  background: #fff;
}
.ex-panel > p, .ex-muted, .ex-list-row small, .ex-company-list small {
  color: #526d64;
  font-size: 14px;
}
.ex-market-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.ex-pack {
  display: grid; gap: 8px; padding: 17px; text-align: left;
  border: 1px solid #cddfd6; border-radius: 12px;
  color: #214c3d; background: #fff;
}
.ex-pack span { font-size: 17px; font-weight: 650; }
.ex-pack strong { font-size: 15px; }
.ex-pack small { color: #526d64; line-height: 1.5; }
.ex-pack[aria-pressed="true"] { border-color: #37826b; background: #edf7f1; box-shadow: inset 0 0 0 1px #37826b; }
.ex-results-heading, .ex-list-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ex-results-heading span { color: #526d64; font-size: 14px; }
.ex-results-heading { margin-bottom: 12px; }
.ex-company-list { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
.ex-company-list label, .ex-detail { border-top: 1px solid #e5eee9; }
.ex-company-list label { display: flex; align-items: center; gap: 12px; padding: 10px 0; }
.ex-company-list input { width: 16px; height: 16px; accent-color: #14665f; }
.ex-company-list small, .ex-list-row small { display: block; margin-top: 3px; }
.ex-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-top: 16px; }
.ex-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(125px, 1fr)); gap: 11px; align-items: end; }
.ex-form label, .ex-textarea { display: grid; gap: 7px; color: #334f45; font-size: 14px; font-weight: 600; }
.ex-form input, .ex-form select, .ex-textarea textarea {
  width: 100%; min-width: 0; padding: 9px 10px;
  border: 1px solid #cbdad2; border-radius: 7px;
  background: #fff; color: #253e33; font: inherit; font-weight: 400;
}
.ex-textarea textarea { line-height: 1.6; resize: vertical; }
.ex-list { margin-top: 12px; }
.ex-list-row { padding: 13px 0; border-top: 1px solid #e4eee9; overflow-wrap: anywhere; }
.ex-list-row .btn { flex-shrink: 0; }
.ex-missing { overflow-wrap: anywhere; color: #805727; }
@media (max-width: 520px) {
  .ex-market-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ex-form { grid-template-columns: 1fr; }
}
