.ae-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 0;
  background: #f8fafb;
  color: #394240;
  font-family: Inter, Arial, sans-serif;
}

.ae-wrap > h1 {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 20px 28px;
  border-radius: 16px 16px 0 0;
  background: linear-gradient(to right, #099773, #21a0a0);
  color: #fff;
  font-size: 2rem;
  line-height: 1.15;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .07);
}

.ae-wrap > .description {
  margin: 0;
  padding: 14px 28px 16px;
  background: #fff;
  border-right: 1px solid #e5e8ea;
  border-left: 1px solid #e5e8ea;
  color: #53615e;
}

.ae-shortcode {
  width: 100%;
}

.ae-tabs {
  display: flex;
  gap: 0;
  margin: 0;
  padding: 0 14px;
  background: #fff;
  border-right: 1px solid #e5e8ea;
  border-left: 1px solid #e5e8ea;
}

.ae-tab-btn.button,
.ae-wrap .button {
  min-height: 38px;
  padding: 8px 16px;
  border: 1px solid #dbe5e2;
  border-radius: 10px;
  background: #fff;
  color: #0a3d62;
  font-family: Inter, Arial, sans-serif;
  font-weight: 800;
  cursor: pointer;
  box-shadow: none;
  text-decoration: none;
}

.ae-tab-btn.button {
  border-radius: 12px 12px 0 0;
  border-bottom: 0;
}

.ae-tab-btn.button.is-active,
.ae-tab-btn.button-primary,
.ae-wrap .button-primary,
.ae-wrap button[type="submit"] {
  border-color: transparent;
  background: linear-gradient(to right, #0a3d62 10%, #21a0a0 90%);
  color: #fff;
  text-shadow: 0 2px 12px rgba(10, 61, 98, .28);
}

.ae-wrap .button:hover,
.ae-wrap .button:focus {
  border-color: #21a0a0;
  color: #fff;
  background: #21a0a0;
  outline: none;
}

.ae-wrap .button:disabled {
  cursor: not-allowed;
  opacity: .55;
}

.ae-tab-panel {
  display: none;
  padding: 16px;
  background: #fff;
  border: 1px solid #e5e8ea;
  border-top: 0;
  border-radius: 0 0 16px 16px;
  box-shadow: 0 4px 16px rgba(32, 48, 56, .08);
}

.ae-tab-panel.is-active {
  display: block;
}

.ae-active-strategy-bar {
  grid-template-columns: minmax(180px, 260px) minmax(220px, 1fr);
  gap: 8px 14px;
  align-items: center;
  padding: 14px 16px;
  border-right: 1px solid #e5e8ea;
  border-left: 1px solid #e5e8ea;
  background: #f4f9f7;
}

.ae-active-strategy-bar label {
  color: #243331;
  font-weight: 900;
}

.ae-active-strategy-bar select {
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid #9fd7ca;
  border-radius: 8px;
  background: #fff;
  color: #243331;
  font-weight: 800;
}

.ae-active-strategy-meta {
  grid-column: 1 / -1;
  color: #394240;
  font-weight: 700;
}

.ae-grid {
  display: grid;
  grid-template-columns: minmax(310px, 1.05fr) minmax(310px, .95fr);
  gap: 16px;
  margin-top: 0;
}

.ae-card {
  margin-bottom: 16px;
  padding: 14px;
  border: 1px solid #e5e8ea;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
}

.ae-card h2,
.ae-card h3 {
  margin-top: 0;
  color: #243331;
}

.ae-card h2 {
  padding: 12px 14px;
  margin-right: -14px;
  margin-left: -14px;
  border-radius: 12px 12px 0 0;
  background: linear-gradient(to right, #0a3d62 10%, #21a0a0 90%);
  color: #fff;
  font-size: 1.12rem;
  text-shadow: 0 2px 12px rgba(10, 61, 98, .22);
}

#ae-form {
  display: grid;
  gap: 10px;
}

#ae-form label,
.ae-streak-controls label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #394240;
  font-weight: 800;
}

#ae-form input,
#ae-form select,
.ae-streak-controls input,
.ae-streak-controls select,
.ae-month-nav select {
  width: 100%;
  min-height: 38px;
  padding: 7px 9px;
  border: 1px solid #e0e0e0;
  border-radius: 7px;
  background: #fff;
  color: #394240;
  font-size: 1rem;
  outline: none;
  transition: box-shadow .2s, border-color .2s;
}

#ae-form input:focus,
#ae-form select:focus,
.ae-streak-controls input:focus,
.ae-streak-controls select:focus,
.ae-month-nav select:focus {
  border-color: #099773;
  box-shadow: 0 0 0 2px rgba(9, 151, 115, .25);
}

.ae-block {
  padding: 10px;
  border: 1px solid #e5e8ea;
  border-radius: 12px;
  background: #fcfcfc;
}

.ae-file-input {
  position: absolute;
  width: 1px !important;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.ae-dropzone {
  position: relative;
  display: grid;
  gap: 9px;
  justify-items: center;
  min-height: 132px;
  padding: 18px;
  border: 2px dashed #9fd7ca;
  border-radius: 12px;
  background: #f8fafb;
  cursor: pointer;
  text-align: center;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}

.ae-dropzone:hover,
.ae-dropzone:focus,
.ae-dropzone.is-dragover {
  border-color: #099773;
  background: #f4f9f7;
  box-shadow: 0 0 0 2px rgba(9, 151, 115, .22);
  outline: none;
}

.ae-dropzone.has-file {
  border-color: #099773;
  background: #f0fbf7;
}

.ae-dropzone-title {
  font-size: 16px;
  font-weight: 900;
  color: #0a3d62;
}

.ae-dropzone-file {
  max-width: 100%;
  color: #53615e;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.ae-dropzone-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.ae-kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(170px, 1fr));
  gap: 10px;
}

.ae-kpi {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 12px;
  border: 1px solid #e5e8ea;
  border-radius: 12px;
  background: #fcfcfc;
}

.ae-kpi span {
  color: #53615e;
  font-size: 12px;
  font-weight: 800;
}

.ae-kpi strong {
  color: #243331;
  font-size: 20px;
}

.ae-pos {
  color: #17904b !important;
}

.ae-neg {
  color: #c2002f !important;
}

.ae-risk-med {
  color: #b7791f !important;
}

.ae-meta,
.ae-info-box,
.ae-compare-summary {
  margin: 10px 0 12px;
  padding: 10px 12px;
  border: 1px solid #cbe8df;
  border-radius: 12px;
  background: #f4f9f7;
  color: #394240;
  font-weight: 700;
}

#ae-equity {
  width: 100%;
  height: auto;
  border: 1px solid #e5e8ea;
  border-radius: 12px;
  background: #f8fafb;
}

.ae-yearly {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.ae-year {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 10px;
  border: 1px solid #e5e8ea;
  border-radius: 10px;
  background: #fcfcfc;
}

.ae-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.ae-subtabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
}

.ae-subtab-btn.button {
  border-radius: 8px;
}

.ae-recommendation {
  display: grid;
  gap: 12px;
}

#ae-management-table.ae-table-wrap {
  display: block;
  max-height: none;
  overflow: visible;
  border: 0;
  border-radius: 0;
}

.ae-mgmt-shell {
  display: grid;
  gap: 18px;
}

.ae-mgmt-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 10px;
}

.ae-mgmt-summary > div {
  padding: 12px 14px;
  border: 1px solid #cbe8df;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff, #f4f9f7);
  box-shadow: 0 2px 8px rgba(32, 48, 56, .06);
}

.ae-mgmt-summary span {
  display: block;
  margin-bottom: 4px;
  color: #53615e;
  font-size: .82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.ae-mgmt-summary strong {
  color: #0a3d62;
  font-size: 1.24rem;
  line-height: 1.1;
}

.ae-mgmt-dual {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.ae-mgmt-quick {
  padding: 14px;
  border: 1px solid #cbe8df;
  border-radius: 14px;
  background: #f8fafb;
}

.ae-mgmt-quick-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.ae-mgmt-quick-head strong,
.ae-mgmt-quick-head span {
  display: block;
}

.ae-mgmt-quick-head strong {
  color: #0a3d62;
  font-size: 1rem;
  font-weight: 900;
}

.ae-mgmt-quick-head span {
  margin-top: 2px;
  color: #60706d;
  font-weight: 800;
}

.ae-mgmt-quick-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.ae-mgmt-risk-equal,
.ae-mgmt-capital-equal {
  display: grid;
  gap: 3px;
  align-items: center;
  min-width: 118px;
}

.ae-mgmt-capital-equal {
  min-width: 132px;
}

.ae-mgmt-risk-equal span,
.ae-mgmt-capital-equal span {
  color: #60706d;
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.ae-mgmt-risk-equal input,
.ae-mgmt-capital-equal input {
  width: 100%;
  min-height: 32px;
  padding: 4px 7px;
  border: 1px solid #d9e8e3;
  border-radius: 7px;
  color: #243331;
  font-weight: 800;
}

.ae-mgmt-quick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 10px;
}

.ae-mgmt-quick-card {
  padding: 12px;
  border: 1px solid #e5e8ea;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(32, 48, 56, .06);
}

.ae-mgmt-quick-title {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: start;
  margin-bottom: 10px;
}

.ae-mgmt-quick-title strong {
  color: #243331;
  font-size: .95rem;
  line-height: 1.25;
}

.ae-mgmt-quick-title span {
  padding: 3px 7px;
  border-radius: 999px;
  background: #eaf7f4;
  color: #0a3d62;
  font-size: .78rem;
  font-weight: 900;
}

.ae-mgmt-quick-card dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.ae-mgmt-quick-card dl > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: baseline;
}

.ae-mgmt-quick-card dt {
  color: #60706d;
  font-size: .78rem;
  font-weight: 900;
}

.ae-mgmt-quick-card dd {
  margin: 0;
  color: #0a3d62;
  font-weight: 900;
}

.ae-mgmt-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
}

.ae-mgmt-detail-card {
  padding: 14px;
  border: 1px solid #d9e8e3;
  border-left: 4px solid #21a0a0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(32, 48, 56, .07);
  color: #243331;
}

.ae-mgmt-detail-card span {
  display: block;
  margin-bottom: 8px;
  color: #0a3d62;
  font-size: .86rem;
  font-weight: 900;
  text-transform: uppercase;
}

.ae-mgmt-detail-card p,
.ae-mgmt-detail-card ul {
  margin: 0;
  color: #394240;
  font-weight: 700;
  line-height: 1.5;
}

.ae-mgmt-detail-card ul {
  padding-left: 18px;
}

.ae-mgmt-detail-card li + li {
  margin-top: 6px;
}

.ae-mgmt-detail-card small {
  display: block;
  margin-top: 8px;
  color: #60706d;
  font-weight: 800;
  line-height: 1.45;
}

.ae-mgmt-picker-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px 14px 0 0;
  background: linear-gradient(to right, #0a3d62 10%, #21a0a0 90%);
  color: #fff;
}

.ae-mgmt-picker-head strong,
.ae-mgmt-picker-head span {
  display: block;
}

.ae-mgmt-picker-head span {
  margin-top: 2px;
  opacity: .88;
  font-weight: 700;
}

.ae-mgmt-picker-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ae-mgmt-picker-actions .button {
  min-height: 34px;
  border-color: rgba(255, 255, 255, .38);
  background: rgba(255, 255, 255, .12);
  color: #fff;
}

.ae-mgmt-picker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 10px;
  padding: 12px;
  border: 1px solid #e5e8ea;
  border-top: 0;
  border-radius: 0 0 14px 14px;
  background: #fff;
}

.ae-mgmt-pick {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 10px;
  border: 1px solid #e5e8ea;
  border-radius: 10px;
  background: #fcfcfc;
  cursor: pointer;
}

.ae-mgmt-pick.is-selected {
  border-color: #21a0a0;
  background: #f4f9f7;
  box-shadow: 0 0 0 2px rgba(33, 160, 160, .12);
}

.ae-mgmt-pick input {
  margin-top: 3px;
}

.ae-mgmt-pick strong {
  display: block;
  color: #243331;
  line-height: 1.25;
}

.ae-mgmt-pick small {
  display: block;
  margin-top: 4px;
  color: #60706d;
  font-weight: 700;
  line-height: 1.35;
}

.ae-cgr-wrap {
  overflow: hidden;
  border: 1px solid #e5e8ea;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(32, 48, 56, .08);
}

.ae-cgr-header {
  display: grid;
  grid-template-columns: minmax(130px, auto) minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 16px 20px;
  background: linear-gradient(to right, #099773, #21a0a0);
  color: #fff;
}

.ae-cgr-header span {
  font-weight: 800;
  opacity: .9;
}

.ae-cgr-header strong {
  font-size: 1.12rem;
  line-height: 1.25;
}

.ae-cgr-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid #e5e8ea;
  background: #f8fafb;
}

.ae-cgr-stats span {
  padding: 6px 9px;
  border: 1px solid #e5e8ea;
  border-radius: 8px;
  background: #fff;
  color: #394240;
  font-weight: 800;
}

.ae-cgr-profile-switch {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid #e5e8ea;
  background: #fff;
}

.ae-cgr-profile-switch > span {
  margin-right: 4px;
  color: #243331;
  font-weight: 900;
}

.ae-cgr-profile-switch .button {
  min-height: 34px;
  border-radius: 8px;
}

.ae-cgr-table-wrap {
  overflow-x: auto;
}

.ae-cgr-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
  background: #fff;
}

.ae-cgr-table th,
.ae-cgr-table td {
  padding: 12px 7px;
  border-bottom: 1px solid #e5e8ea;
  background: #fff;
  color: #394240;
  text-align: center;
  vertical-align: middle;
}

.ae-cgr-label {
  width: 260px;
  text-align: right !important;
  font-weight: 800;
  background: #fcfcfc !important;
  color: #394240;
}

.ae-cgr-col {
  color: #fff !important;
  font-size: 1.04rem;
  font-weight: 900;
}

.ae-cgr-col-baja {
  background: linear-gradient(to right, #0a3d62, #21a0a0) !important;
}

.ae-cgr-col-moderada {
  background: linear-gradient(to right, #ffb347, #ffcc33) !important;
  color: #7a5200 !important;
}

.ae-cgr-col-rapida {
  background: linear-gradient(to right, #f6416c, #ffa07a) !important;
}

.ae-cgr-table .is-active-profile {
  box-shadow: inset 0 0 0 3px rgba(33, 160, 160, .32);
}

.ae-cgr-table td.is-active-profile {
  background: #f4f9f7;
}

.ae-cgr-section {
  height: 44px;
  background: linear-gradient(to right, #0a3d62 10%, #21a0a0 90%) !important;
  color: #fff !important;
  font-weight: 900;
  text-align: center !important;
  text-shadow: 0 2px 12px rgba(10, 61, 98, .25);
}

.ae-cgr-section-alt {
  background: linear-gradient(to right, #099773 10%, #21a0a0 90%) !important;
}

.ae-cgr-input {
  width: 96px;
  max-width: 100%;
  padding: 6px 7px;
  border: 1px solid #d9e4e1;
  border-radius: 7px;
  color: #243331;
  text-align: right;
  font-weight: 800;
}

.ae-cgr-input:focus {
  border-color: #21a0a0;
  box-shadow: 0 0 0 2px rgba(9, 151, 115, .22);
  outline: none;
}

.ae-cgr-tp-row .ae-cgr-label {
  background: linear-gradient(to right, #099773 10%, #31c36d 90%) !important;
  color: #fff !important;
  text-shadow: 0 2px 8px rgba(9, 151, 115, .38);
}

.ae-cgr-tp-row td:not(.ae-cgr-label) {
  background: #eafff3 !important;
  color: #052e1a !important;
  font-size: 1.08em;
  font-weight: 900;
  text-shadow: none;
}

.ae-cgr-tp-label {
  color: #fff !important;
  text-shadow: 0 2px 8px rgba(9, 151, 115, .38);
}

.ae-cgr-sl-row .ae-cgr-label {
  background: linear-gradient(to right, #c2002f 10%, #f6416c 90%) !important;
  color: #fff !important;
  text-shadow: 0 2px 8px rgba(194, 0, 47, .38);
}

.ae-cgr-sl-row td:not(.ae-cgr-label) {
  background: #fff0f3 !important;
  color: #7f1028 !important;
  font-size: 1.08em;
  font-weight: 900;
  text-shadow: none;
}

.ae-cgr-sl-label {
  color: #fff !important;
  text-shadow: 0 2px 8px rgba(194, 0, 47, .38);
}

.ae-cgr-multi-row .ae-cgr-label {
  background: linear-gradient(to right, #31c36d 30%, #92ffc0 100%) !important;
  color: #fff !important;
  text-shadow: 0 2px 8px rgba(22, 151, 87, .5);
}

.ae-cgr-multi-row td:not(.ae-cgr-label) {
  background: #fff !important;
  color: #17904b !important;
  font-size: 1.06em;
  font-weight: 900;
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px rgba(23, 144, 75, .16);
}

.ae-cgr-multi-label {
  color: #fff !important;
  text-shadow: 0 2px 8px rgba(22, 151, 87, .5);
}

.ae-cgr-perder-row .ae-cgr-label {
  background: linear-gradient(to right, #f6416c 10%, #ffa07a 95%) !important;
  color: #fff !important;
  text-shadow: 0 2px 8px rgba(206, 33, 33, .5);
}

.ae-cgr-perder-row td:not(.ae-cgr-label) {
  background: #fff !important;
  color: #c2002f !important;
  font-size: 1.06em;
  font-weight: 900;
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px rgba(194, 0, 47, .16);
}

.ae-cgr-perder-label {
  color: #fff !important;
  text-shadow: 0 2px 8px rgba(206, 33, 33, .5);
}

#ae-multi-content h3 {
  margin: 22px 0 10px;
}

.ae-table-wrap {
  max-height: 560px;
  overflow: auto;
  border-radius: 12px;
  border: 1px solid #e5e8ea;
}

.ae-wrap table.widefat {
  width: 100%;
  border: 0;
  border-collapse: collapse;
  background: #fff;
  box-shadow: none;
}

.ae-wrap table.widefat th,
.ae-wrap table.widefat td {
  padding: 11px 7px;
  border: 0;
  border-bottom: 1px solid #e5e8ea;
  background: #fff;
  color: #394240;
  text-align: center;
  vertical-align: middle;
}

.ae-wrap table.widefat th {
  background: #f4f9f7;
  color: #243331;
  font-weight: 900;
  white-space: nowrap;
}

.ae-wrap table.widefat.striped tbody tr:nth-child(odd) td {
  background: #fcfcfc;
}

.ae-cell-note {
  margin-top: 4px;
  color: #60706d;
  font-size: .78rem;
  font-weight: 700;
  line-height: 1.25;
}

.ae-streak-controls {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: 10px;
  margin: 8px 0 14px;
}

.ae-season-picker {
  grid-column: 1 / -1;
  padding: 12px;
  border: 1px solid #cbe8df;
  border-radius: 12px;
  background: #f8fafb;
}

.ae-season-picker-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
}

.ae-season-picker-head strong,
.ae-season-picker-head span {
  display: block;
}

.ae-season-picker-head strong {
  color: #0a3d62;
  font-weight: 900;
}

.ae-season-picker-head span {
  margin-top: 2px;
  color: #60706d;
  font-weight: 800;
}

.ae-season-picker-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ae-season-picker-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 8px;
}

.ae-season-pick {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 10px;
  border: 1px solid #e5e8ea;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
}

.ae-season-pick.is-selected {
  border-color: #21a0a0;
  background: #f0fbf7;
  box-shadow: 0 0 0 2px rgba(33, 160, 160, .12);
}

.ae-season-pick input[type="checkbox"] {
  width: auto;
  min-height: 0;
  margin-top: 3px;
  padding: 0;
}

.ae-season-pick strong {
  display: block;
  color: #243331;
  line-height: 1.25;
}

.ae-season-pick small {
  display: block;
  margin-top: 4px;
  color: #60706d;
  font-weight: 700;
  line-height: 1.35;
}

.ae-month-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ae-month-nav .button {
  width: 40px;
  min-width: 40px;
  padding: 0;
}

.ae-sc-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 8px;
}

.ae-sc-card {
  padding: 9px 8px;
  border-radius: 10px;
  color: #fff;
  font-weight: 800;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .1);
}

.ae-sc-r {
  font-size: 12px;
  opacity: .95;
}

.ae-sc-p {
  font-size: 22px;
  line-height: 1.1;
}

.ae-streak-good { background: linear-gradient(160deg, #0fd29a, #0aa77c); }
.ae-streak-warn { background: linear-gradient(160deg, #ffd24d, #f2a52a); }
.ae-streak-mid { background: linear-gradient(160deg, #62b6ff, #2a7ddc); }
.ae-streak-bad { background: linear-gradient(160deg, #f23b3b, #c01922); }

.ae-sea-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
  margin-bottom: 28px;
}

.ae-day {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 78px;
  padding: 10px;
  border: 1px solid #e5e8ea;
  border-radius: 8px;
  background: #fff;
}

.ae-day-top {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.ae-day-moon {
  display: block;
  min-height: 26px;
  color: #394240;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.ae-day.off {
  opacity: .45;
  border-style: dashed;
}

#panel-estacionalidad .ae-kpis {
  margin-top: 14px;
  margin-bottom: 18px;
}

#panel-estacionalidad .ae-sea-calendar-wrap {
  margin-top: 16px;
  margin-bottom: 36px;
}

#panel-estacionalidad h3 {
  margin-top: 26px;
  margin-bottom: 12px;
}

#panel-estacionalidad .ae-table-wrap {
  margin-top: 16px;
}

.ae-heat-cell {
  min-width: 68px;
  padding: 8px 6px;
  border-radius: 8px;
  color: #fff;
  font-weight: 900;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .35);
}

.ae-heat-cell.ae-heat-off {
  background: linear-gradient(135deg, #94a3b8, #64748b);
  opacity: .55;
}

.ae-heat-total {
  padding: 8px 10px;
  border-radius: 999px;
  color: #fff;
  font-weight: 900;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .35);
}

@media (max-width: 980px) {
  .ae-wrap {
    padding: 6px 0;
  }

  .ae-wrap > h1 {
    padding: 16px;
    font-size: 1.45rem;
  }

  .ae-grid,
  .ae-kpis,
  .ae-streak-controls,
  .ae-active-strategy-bar,
  .ae-cgr-header {
    grid-template-columns: 1fr;
  }

  .ae-mgmt-picker-head {
    align-items: stretch;
    flex-direction: column;
  }

  .ae-tabs {
    flex-wrap: wrap;
    gap: 6px;
    padding-bottom: 10px;
  }

  .ae-tab-btn.button {
    border-radius: 10px;
    border-bottom: 1px solid #dbe5e2;
  }

  .ae-wrap table.widefat th,
  .ae-wrap table.widefat td {
    padding: 8px 4px;
    font-size: .86rem;
  }

  .ae-sea-calendar-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
