.ea-specs {
  grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  padding: 12px 0 16px;
}
.ea-specs small { font-size: 12px; font-weight: 600; color: #476079; }
.ea-capital { padding: 9px 12px; border: 1px solid #d6e4f0; border-radius: 10px; background: #eff6fc; }
.ea-capital > small { margin-bottom: 3px; }
.ea-capital-amount { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 5px; }
.ea-specs .ea-capital-amount b { margin: 0; color: #10365b; font-size: 17px; font-weight: 700; font-variant-numeric: tabular-nums; }
.ea-capital-unit { padding: 0 6px; border-radius: 5px; background: #dcebf7; color: #224e75; font-size: 11px; font-weight: 700; }
.ea-drawdown { padding: 9px 0; }
.ea-capital-settings { min-width: 0; margin: 18px 0 0; padding: 2px 14px 10px; border: 1px solid #d6e4f0; border-radius: 10px; background: #f4f8fc; }
.ea-capital-settings legend { padding: 0 6px; color: #10365b; font-weight: 700; }
.ea-capital-settings label { margin: 4px 0 0; }
.ea-capital-settings p { margin: 7px 0 0; color: #476079; }
@media (max-width: 360px) { .ea-specs { gap: 9px; } .ea-capital { padding-inline: 8px; } }

.ea-preset-link { display: flex; align-items: center; justify-content: center; min-height: 44px; margin: 0 0 8px; padding: 7px 10px; border: 1px solid #d6e4f0; border-radius: 8px; background: #eff6fc; color: #10365b; font-weight: 700; text-decoration: none; }
.ea-preset-link:hover { background: #dcebf7; }
.ea-preset-page { width: min(900px, calc(100% - 32px)); margin: 22px auto; }
.ea-preset-group { margin-top: 20px; }
.ea-preset-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 10px; }
.ea-preset-item { min-width: 0; padding: 12px; border: 1px solid #d6e4f0; border-radius: 9px; background: #f4f8fc; }
.ea-preset-item pre { margin: 0; font: inherit; white-space: pre-wrap; overflow-wrap: anywhere; }
.ea-preset-admin h2 { margin-top: 10px; }
.ea-preset-admin fieldset { margin: 0 0 12px; }
.ea-preset-admin legend { padding: 0 5px; font-weight: 700; color: #10365b; }
.ea-preset-admin form > button { margin-top: 12px; }
.ea-preset-image-link { display: grid; justify-items: start; gap: 6px; margin-bottom: 8px; font-size: 13px; }
.ea-preset-image { display: block; max-width: 100%; width: auto; height: auto; max-height: 400px; border-radius: 6px; }
.ea-preset-thumbnail { max-height: 150px; }
