/* stock/overview/profile-academy.css
   PROFILE — Academy style (oct 2026). Loaded after profile.css. Light touch: same cards,
   kickers and controls as the Summary tab; no layout changes. Also styles "Summarize with AI". */
:root { --ink: #16242a; --line: rgba(22, 36, 42, 0.09); --shadow-card: 0 8px 24px rgba(22, 36, 42, 0.04); }

/* tabs: white pill bar, active tab in ink */
@media (min-width: 769px) {
  .paginas { background: #fff; border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-card); padding: 6px 8px; gap: 4px; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .paginas .elementoNav { border-radius: 999px; padding: 9px 18px; color: rgba(22, 36, 42, 0.62); background: transparent; border-color: transparent; }
  .paginas .elementoNav h3 { font-size: 14px; font-weight: 600; }
  .paginas .elementoNav:hover { background: rgba(84, 140, 146, 0.08); border-color: transparent; color: var(--ink); transform: none; box-shadow: none; }
  .paginas .elementoNav[aria-current="page"],
  .paginas .profile { background: var(--ink) !important; border-color: var(--ink) !important; color: #fff !important; box-shadow: none !important; }
}

/* hero */
.profileHero { border-color: var(--line); border-radius: 22px; box-shadow: var(--shadow-card); }
.profileHero__logo { background: #fff; border-color: var(--line); border-radius: 18px; }
.stockNameAlLado { font-size: 22px; font-weight: 800; letter-spacing: -0.025em; color: var(--ink); }
.profileMeta__label { font-size: 11px; font-weight: 800; letter-spacing: 0.14em; color: rgba(22, 36, 42, 0.45); }
.profileMeta__value { font-weight: 600; color: var(--ink); }
.profileMeta__link { color: var(--color-azul-oscuro); font-weight: 600; }
.profileStat__card { border: 1px solid var(--line) !important; border-radius: 14px !important; background: #fff !important; box-shadow: none !important; }
.profileStat__label { font-size: 11px !important; font-weight: 800 !important; letter-spacing: 0.14em !important; color: rgba(22, 36, 42, 0.45) !important; }
.profileStat__card b, .profileStat__card span:not(.profileStat__label) { color: var(--ink); font-weight: 700; }

/* officers / listings / description cards */
.profileTableCard, .profileDescription { border-color: var(--line); border-radius: 18px; box-shadow: var(--shadow-card); }
.profileTableCard__header, .profileDescription__header { border-bottom-color: var(--line); }
.profileTableCard__icon, .profileDescription__icon { background: rgba(84, 140, 146, 0.12); color: var(--color-azul-oscuro); border-radius: 10px; }
.profileTableCard__title, .profileDescription__title { font-size: 12px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--color-azul-medio); }
.officers th, .dondeCotiza th { background: #F6F9F9; color: rgba(22, 36, 42, 0.55); font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.officers td, .dondeCotiza td { color: var(--ink); border-bottom-color: var(--line); font-weight: 500; }
.officers tr:nth-child(even) td, .dondeCotiza tr:nth-child(even) td { background: #fbfcfc; }
.officers tr:nth-child(odd) { background: #fff; }
.textoDescripcion { font-size: 14.5px; line-height: 1.7; color: rgba(22, 36, 42, 0.78); }

/* Summarize with AI */
.aiSumm__btn {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 8px;
  height: 36px; padding: 0 14px;
  border-radius: 12px;
  border: 0;
  background: var(--color-azul-oscuro);
  color: #fff;
  font: inherit; font-size: 13px; font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(40, 82, 96, 0.22);
  transition: background .18s ease, transform .18s ease, opacity .18s ease;
}
.aiSumm__btn[hidden] { display: none; }
.aiSumm__btn svg { width: 14px; height: 14px; }
.aiSumm__btn:hover { background: #1f4450; transform: translateY(-1px); }
.aiSumm__btn:disabled { opacity: .55; cursor: wait; transform: none; }
.aiSumm__btn--again { background: #fff; color: var(--color-azul-oscuro); border: 1.5px solid rgba(40, 82, 96, 0.18); box-shadow: none; }
.aiSumm__btn--again:hover { background: #fff; border-color: var(--color-azul-medio); }
.aiSumm {
  margin: 0 0 18px;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(84, 140, 146, 0.07);
  border: 1px solid rgba(84, 140, 146, 0.18);
}
.aiSumm[hidden] { display: none; }
.aiSumm__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.aiSumm__kicker { font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-azul-medio); }
.aiSumm__time { font-size: 11.5px; font-weight: 600; color: rgba(22, 36, 42, 0.45); }
.aiSumm__body { font-size: 14.5px; line-height: 1.6; color: var(--ink); }
.aiSumm__body ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.aiSumm__body p { margin: 0; }
.aiSumm__body.is-loading { color: rgba(22, 36, 42, 0.55); }
.aiSumm__lock { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.aiSumm__lock a { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 10px; background: var(--color-azul-oscuro); color: #fff; font-size: 13px; font-weight: 700; text-decoration: none; }
@media (max-width: 600px) {
  .profileDescription__header { flex-wrap: wrap; }
  .aiSumm__btn { margin-left: 0; width: 100%; justify-content: center; }
}
