/* Only HALCÓN CRM and extension download opt in. Do not load in TraderIA. */
.halcon-legacy {
  color-scheme: dark;
  --bg: #090d13;
  --surface: #111822;
  --surface2: #18212d;
  --raised: #202c3a;
  --line: #2b3645;
  --line2: #435269;
  --txt: #edf1f7;
  --txt2: #bbc5d3;
  --mut: #a0adbf;
  --gold: #f5c518;
  --gold-dim: rgba(245, 197, 24, .08);
  --green: #87ddb0;
  --blue: #aabbd0;
  --violet: #aabbd0; /* Existing state tokens kept; neutral navy palette. */
  --red: #ffa5a5;
  --gray: #a0adbf;
  --radius: 12px;
  --shadow: 0 12px 32px rgba(0, 0, 0, .24);
  background: var(--bg);
  color: var(--txt);
  font-family: "Segoe UI", Inter, system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
.halcon-legacy *, .halcon-legacy *::before, .halcon-legacy *::after { box-sizing: border-box; }
.halcon-legacy :is(button, input, select, textarea) { font: inherit; }
.halcon-legacy :is(button, a, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.halcon-legacy input::placeholder, .halcon-legacy textarea::placeholder { color: var(--mut); opacity: 1; }
.halcon-legacy ::selection { background: var(--gold); color: var(--bg); }
.halcon-legacy button:disabled { opacity: .55; cursor: not-allowed; }
.halcon-legacy :is(.btn, .out) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid var(--line2);
  border-radius: 8px;
  background: var(--surface2);
  color: var(--txt);
  font-size: .86rem;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  transition: background .15s, border-color .15s;
}
.halcon-legacy :is(.btn, .out):hover { background: var(--raised); border-color: var(--mut); }
.halcon-legacy :is(.btn.primary, .btn.gold) { background: var(--gold); border-color: var(--gold); color: #090d13; box-shadow: none; }
.halcon-legacy :is(.btn.primary, .btn.gold):hover { background: #ffda49; border-color: #ffda49; filter: none; }
.halcon-legacy .btn.ghost { background: transparent; }
.halcon-legacy .btn.sm { min-height: 36px; padding: 7px 11px; font-size: .8rem; }
.halcon-legacy .legacy-skip { position: fixed; left: 16px; top: -100px; z-index: 110; padding: 12px 16px; background: var(--gold); color: var(--bg); border-radius: 8px; }
.halcon-legacy .legacy-skip:focus { top: 12px; }

/* CRM: retain the app's existing scrolling regions and collapse action. */
.halcon-crm { height: 100vh; height: 100dvh; overflow: hidden; }
.halcon-crm .app { grid-template-columns: var(--sidebar) minmax(0, 1fr); height: 100vh; height: 100dvh; }
.halcon-crm .main, .halcon-crm .sb, .halcon-crm .view { min-width: 0; min-height: 0; }
.halcon-crm .sb-top { height: 76px; padding: 18px; }
.halcon-crm .sb-logo { width: 34px; height: 34px; background: var(--gold); border-radius: 9px; }
.halcon-crm .sb-name { display: block; font-size: 1rem; }
.halcon-crm .sb-name small { font-size: .72rem; letter-spacing: .5px; margin-top: 2px; }
.halcon-crm .sb-nav { padding: 8px 12px 16px; scrollbar-gutter: stable; }
.halcon-crm .sb-group-t { display: block; font-size: .72rem; padding: 0 10px 8px; }
.halcon-crm .sb-item { width: 100%; min-height: 44px; margin-bottom: 3px; border: 1px solid transparent; background: transparent; text-align: left; font-size: .88rem; }
.halcon-crm .sb-item:hover { background: var(--surface2); }
.halcon-crm .sb-item.active { background: var(--gold-dim); color: var(--gold); border-color: rgba(245, 197, 24, .18); }
.halcon-crm .sb-item.active::before { left: -12px; }
.halcon-crm .sb-item > span { display: inline; }
.halcon-crm .sb-item > .sb-ic { display: inline-block; width: 22px; }
.halcon-crm .app.collapsed { grid-template-columns: 68px minmax(0, 1fr); }
.halcon-crm .app.collapsed .sb-top { padding: 17px; }
.halcon-crm .app.collapsed .sb-nav { padding: 8px; scrollbar-gutter: auto; }
.halcon-crm .app.collapsed .sb-name, .halcon-crm .app.collapsed .sb-item > span:not(.sb-ic):not(.sb-badge) { display: none; }
.halcon-crm .app.collapsed .sb-group-t { display: none; }
.halcon-crm .app.collapsed .sb-badge { display: inline-block; }
.halcon-crm .app.collapsed .sb-item { justify-content: center; padding: 10px 5px; }
.halcon-crm .app.collapsed .sb-item > .sb-ic { display: inline-block; }
.halcon-crm .app.collapsed .sb-item.active::before { left: -8px; }
.halcon-crm .hdr { height: auto; min-height: 76px; padding: 12px 28px; gap: 14px; }
.halcon-crm .hdr > div { min-width: 0; }
.halcon-crm .hdr-title { font-size: 1rem; }
.halcon-crm .hdr-sub { font-size: .8rem; margin-top: 2px; }
.halcon-crm .hdr-collapse { display: grid; place-items: center; min-width: 42px; min-height: 42px; border: 1px solid var(--line); border-radius: 8px; color: var(--txt2); }
.halcon-crm .hdr-collapse:hover { color: var(--txt); background: var(--surface2); }
.halcon-crm .hdr-search { min-width: 0; min-height: 42px; font-size: .85rem; color: var(--txt2); text-align: left; }
.halcon-crm .view { padding: 28px; overscroll-behavior: contain; }
.halcon-crm .view > :is(.metrics, .panel, .op-grid, .toolbar, .op-hero) { min-width: 0; }
.halcon-crm .metrics { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.halcon-crm .metric { padding: 20px; }
.halcon-crm .metric .lbl { font-size: .77rem; letter-spacing: .3px; }
.halcon-crm .metric .val { font-size: 1.8rem; line-height: 1.3; margin: 10px 0 6px; overflow-wrap: anywhere; }
.halcon-crm .metric .ctx { font-size: .8rem; }
.halcon-crm .op-grid { grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr); gap: 20px; }
.halcon-crm .op-grid.equal { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.halcon-crm .op-grid > *, .halcon-crm .op-stat { min-width: 0; }
.halcon-crm #view .op-hero h1 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); line-height: 1.2; letter-spacing: -.6px; }
.halcon-crm .op-kicker, .halcon-crm .op-kind { font-size: .74rem; }
.halcon-crm .op-summary { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.halcon-crm .op-stat span { font-size: .8rem; }
.halcon-crm .panel-h { gap: 12px; flex-wrap: wrap; }
.halcon-crm .panel-h h2 { font-size: 1rem; }
.halcon-crm :is(.ri-name, .tl-text) { font-size: .9rem; }
.halcon-crm .ri-desc { font-size: .83rem; white-space: normal; overflow-wrap: anywhere; }
.halcon-crm .ri-time { width: auto; min-width: 44px; font-size: .8rem; }
.halcon-crm .op-form { gap: 14px; align-items: end; }
.halcon-crm .op-form label { font-size: .82rem; gap: 7px; min-width: 0; }
.halcon-crm :is(.op-form, .dr-body, .commercial-workbench) :is(input:not([type=checkbox]):not([type=radio]), select, textarea),
.halcon-crm :is(.search-in, .input) {
  min-width: 0; max-width: 100%; min-height: 42px; padding: 10px 12px;
  border: 1px solid var(--line2); border-radius: 8px; background: var(--surface2); color: var(--txt); font-size: .9rem;
}
.halcon-crm .op-form textarea { min-height: 96px; }
.halcon-crm .op-form input[type=checkbox] { accent-color: var(--gold); width: 18px; height: 18px; vertical-align: middle; margin-right: 6px; }
.halcon-crm .op-form .op-span > .btn { margin-top: 2px; }
.halcon-crm .toolbar { align-items: center; gap: 12px; }
.halcon-crm .search-in { min-width: min(240px, 100%); }
.halcon-crm .chip { min-height: 36px; display: inline-flex; align-items: center; padding: 7px 12px; font-size: .82rem; border-radius: 8px; }
.halcon-crm .tbl { max-width: 100%; overscroll-behavior-x: contain; }
.halcon-crm .tbl th { font-size: .75rem; padding: 13px 16px; }
.halcon-crm .tbl td { font-size: .88rem; line-height: 1.55; }
.halcon-crm .badge, .halcon-crm .ent-stage { font-size: .77rem; line-height: 1.4; }
.halcon-crm :is(.b-conv, .b-contacted, .ent-stage.QUALIFIED, .ent-stage.CONTACTED) { background: var(--surface2); color: var(--txt2); }
.halcon-crm .kcard:hover { transform: none; }
.halcon-crm .kanban { height: auto; min-height: 320px; max-height: none; align-items: start; }
.halcon-crm .kcol { max-height: 70dvh; }
.halcon-crm .kcol-h { gap: 6px; flex-wrap: wrap; }
.halcon-crm .kcard .nm { font-size: .87rem; }
.halcon-crm .kcard .meta { font-size: .8rem; gap: 8px; flex-wrap: wrap; }
.halcon-crm .drawer { width: min(760px, 100vw); }
.halcon-crm .dr-top > div:last-child { min-width: 0; }
.halcon-crm .dr-name { padding-right: 40px; overflow-wrap: anywhere; }
.halcon-crm .dr-actions { flex-wrap: wrap; }
.halcon-crm .dr-close { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); top: 12px; right: 12px; }
.halcon-crm .dr-sec-t, .halcon-crm .tl-when { font-size: .77rem; }
.halcon-crm .ent-tab { font-size: .8rem; min-height: 44px; padding: 12px; }
.halcon-crm #conversationBox > div { flex-wrap: wrap; }
.halcon-crm #conversationBox .btn { flex: 1 1 180px; }
.halcon-crm .next-action { background: var(--gold-dim); }
.halcon-crm .composer { flex-wrap: wrap; gap: 10px; }
.halcon-crm .composer textarea { min-width: 0; flex-basis: 240px; font-size: .9rem; }
.halcon-crm .cmd-item { min-height: 44px; }
.halcon-crm #toast { max-width: calc(100vw - 32px); width: max-content; overflow-wrap: anywhere; }
.halcon-crm .discovery-card { background: var(--surface); border-color: var(--line); }
.halcon-crm .card { padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
/* Inline decorative styles in older render templates. */
.halcon-crm [style*="background:rgba(139,92,246"],
.halcon-crm [style*="background:linear-gradient(135deg,rgba(139,92,246"] { background: var(--surface2) !important; }
.halcon-crm [style*="border-color:rgba(139,92,246"],
.halcon-crm [style*="border:1px solid rgba(139,92,246"] { border-color: var(--line) !important; }
.halcon-crm .btn[style*="background:var(--violet)"] { background: var(--surface2) !important; border-color: var(--line2) !important; color: var(--txt) !important; }

/* Extension download: practical installation guide, no animated decoration. */
.halcon-download { margin: 0; min-height: 100vh; }
.halcon-download nav { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px max(24px, calc((100vw - 1040px) / 2)); background: var(--surface); border-bottom: 1px solid var(--line); }
.halcon-download .logo { display: flex; align-items: center; gap: 12px; font-size: 1.1rem; font-weight: 750; letter-spacing: 1px; }
.halcon-download .logo-mark { display: grid; place-items: center; width: 34px; height: 34px; background: var(--gold); color: var(--bg); border-radius: 9px; letter-spacing: 0; }
.halcon-download .wrap { width: 100%; max-width: 800px; margin: 0 auto; padding: 48px 24px 32px; }
.halcon-download .hero { margin-bottom: 28px; text-align: left; }
.halcon-download .eyebrow { color: var(--gold); font-size: .77rem; font-weight: 650; letter-spacing: 1px; margin-bottom: 12px; }
.halcon-download h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); line-height: 1.16; letter-spacing: -.8px; font-weight: 700; margin: 0 0 16px; }
.halcon-download h1 span { color: var(--gold); }
.halcon-download .sub { color: var(--txt2); font-size: 1rem; margin: 0 0 20px; max-width: 640px; }
.halcon-download .ver { display: inline-block; padding: 6px 10px; border: 1px solid var(--line); border-radius: 6px; font-size: .82rem; color: var(--txt2); background: var(--surface); }
.halcon-download .dl { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 30px; }
.halcon-download .dl .btn { min-height: 48px; }
.halcon-download .card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; margin-bottom: 20px; }
.halcon-download .card h2 { font-size: 1.12rem; font-weight: 650; color: var(--txt); margin: 0 0 12px; }
.halcon-download .steps { list-style: none; counter-reset: step; padding: 0; margin: 0; }
.halcon-download .steps li { counter-increment: step; position: relative; padding: 14px 0 14px 46px; border-bottom: 1px solid var(--line); font-size: .95rem; line-height: 1.65; color: var(--txt2); overflow-wrap: anywhere; }
.halcon-download .steps li:last-child { border-bottom: 0; }
.halcon-download .steps li::before { content: counter(step); position: absolute; top: 17px; left: 0; display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid var(--line2); border-radius: 7px; background: var(--surface2); color: var(--gold); font-size: .85rem; font-weight: 650; }
.halcon-download .steps b { color: var(--txt); font-weight: 600; }
.halcon-download code { background: var(--bg); border: 1px solid var(--line); border-radius: 5px; padding: 2px 5px; color: var(--txt); font-size: .88em; overflow-wrap: anywhere; }
.halcon-download :is(.tip, .warn) { padding: 18px 20px; margin-top: 16px; border: 1px solid var(--line); border-left: 3px solid var(--line2); border-radius: 8px; background: var(--surface); color: var(--txt2); font-size: .9rem; line-height: 1.65; overflow-wrap: anywhere; }
.halcon-download .warn { border-left-color: var(--gold); }
.halcon-download :is(.tip, .warn) b { color: var(--txt); }
.halcon-download footer { border-top: 1px solid var(--line); padding: 24px; text-align: center; color: var(--mut); font-size: .82rem; }
.halcon-download footer a { color: var(--gold); text-decoration: none; }
.halcon-download footer a:hover { text-decoration: underline; }

@media (max-width: 1100px) {
  .halcon-crm .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .halcon-crm .op-grid, .halcon-crm .op-grid.equal { grid-template-columns: minmax(0, 1fr); }
  .halcon-crm .hdr, .halcon-crm .view { padding: 20px; }
  .halcon-crm .hdr { padding-top: 12px; padding-bottom: 12px; }
}
@media (min-width: 761px) and (max-width: 960px) {
  .halcon-crm .app:not(.collapsed) { grid-template-columns: 216px minmax(0, 1fr); }
  .halcon-crm .hdr { flex-wrap: wrap; }
  .halcon-crm .hdr-search { margin-left: 0; }
}
@media (max-width: 760px) {
  .halcon-crm .app, .halcon-crm .app.collapsed { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); }
  .halcon-crm .sb { border-right: 0; border-bottom: 1px solid var(--line); }
  .halcon-crm .sb-top, .halcon-crm .app.collapsed .sb-top { height: 60px; padding: 12px 16px; }
  .halcon-crm .sb-name, .halcon-crm .app.collapsed .sb-name { display: block; }
  .halcon-crm .sb-top .sb-name small { display: none; }
  .halcon-crm .sb-foot, .halcon-crm .sb-group-t { display: none; }
  .halcon-crm .sb-nav { flex: none; display: flex; gap: 6px; overflow-x: auto; padding: 4px 16px 12px; scrollbar-gutter: auto; }
  .halcon-crm .sb-group { display: contents; }
  .halcon-crm .sb-item { width: auto; flex: 0 0 auto; margin: 0; gap: 8px; padding: 10px 12px; }
  .halcon-crm .sb-item.active::before { display: none; }
  .halcon-crm .app.collapsed .sb-nav { display: none; }
  .halcon-crm .hdr { gap: 10px; flex-wrap: wrap; padding: 12px 16px; }
  .halcon-crm .hdr > div { flex: 1; }
  .halcon-crm .hdr > .btn { margin-left: auto; }
  .halcon-crm .hdr-search { flex: 1 0 100%; order: 1; margin-left: 0; }
  .halcon-crm .view { padding: 20px 16px; }
  .halcon-crm .op-hero { flex-direction: column; gap: 16px; }
  .halcon-crm .op-priority { flex-wrap: wrap; gap: 10px; }
  .halcon-crm .op-priority .ri-main { flex-basis: calc(100% - 40px); }
  .halcon-crm .op-priority > .btn { margin-left: 38px; }
  .halcon-crm .op-block { grid-template-columns: 78px minmax(0, 1fr); }
  .halcon-crm .op-block > div:last-child:not(:nth-child(2)) { grid-column: 2; flex-wrap: wrap; }
  .halcon-crm .tbl th, .halcon-crm .tbl td { min-width: 130px; }
  .halcon-crm .tbl td:first-child { min-width: 200px; }
  .halcon-crm .dr-actions > .btn { flex: 1 1 140px; }
  .halcon-crm .commercial-workbench select { width: 100%; }
  .halcon-crm .ent-evidence { flex-wrap: wrap; gap: 6px; }
  .halcon-crm .view [style*="grid-template-columns:1fr 1fr"] { grid-template-columns: minmax(0, 1fr) !important; }
  .halcon-crm .view [style*="grid-template-columns:repeat("] { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 480px) {
  .halcon-crm .metrics, .halcon-crm .op-summary, .halcon-crm .op-form { grid-template-columns: minmax(0, 1fr); }
  .halcon-crm .op-span { grid-column: 1 / -1; }
  .halcon-crm .op-form .op-span > .btn { width: 100%; }
  .halcon-crm .toolbar > .search-in { width: 100%; }
  .halcon-crm .op-hero > .btn { width: 100%; }
  .halcon-crm .composer > .btn { flex: 1 1 120px; }
  .halcon-download nav { padding: 14px 16px; }
  .halcon-download .wrap { padding: 32px 16px; }
  .halcon-download .card { padding: 20px 16px; }
  .halcon-download .dl .btn { width: 100%; }
  .halcon-download :is(.tip, .warn) { padding: 16px; }
  .halcon-download .steps li { padding-left: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .halcon-legacy *, .halcon-legacy *::before, .halcon-legacy *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* HALCÓN Academias opts in without changing its offer or existing actions. */
.halcon-academias {
  --panel: var(--surface);
  --cyan: var(--txt2);
  --grad: linear-gradient(var(--gold), var(--gold));
  overflow-x: visible;
}
.halcon-academias .aurora { display: none; }
.halcon-academias .blob { animation: none; }
.halcon-academias .top {
  gap: 16px;
  padding: 18px max(24px, calc((100vw - 1120px) / 2));
  background: var(--surface);
  backdrop-filter: none;
}
.halcon-academias .logo { min-width: 0; gap: 10px; font-size: 1.1rem; font-weight: 700; }
.halcon-academias .logo .mk { width: 34px; height: 34px; flex-shrink: 0; background: var(--gold); color: var(--bg); }
.halcon-academias .logo span.gd { background: none; color: var(--txt); }
.halcon-academias .out { flex-shrink: 0; }
.halcon-academias .btn { min-height: 44px; padding: 12px 18px; font-size: .9rem; transform: none; box-shadow: none; }
.halcon-academias .btn:not(.ghost) { background: var(--gold); border-color: var(--gold); color: var(--bg); }
.halcon-academias .btn:not(.ghost):hover { background: #ffda49; border-color: #ffda49; }
.halcon-academias .btn.ghost { border-color: var(--line2); color: var(--txt); }
.halcon-academias .btn.ghost:hover { background: var(--raised); border-color: var(--mut); }
.halcon-academias .hero { max-width: 1000px; margin: 0 auto; padding: 64px 24px 40px; }
.halcon-academias .pre { background: var(--surface); border-color: var(--line); color: var(--txt2); border-radius: 6px; padding: 7px 12px; font-size: .82rem; font-weight: 600; line-height: 1.5; }
.halcon-academias .hero h1 { font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 700; letter-spacing: -.8px; line-height: 1.2; margin-bottom: 20px; }
.halcon-academias :is(.hero h1 span, h2.sec span, .m .pct) { background: none; color: var(--gold); }
.halcon-academias .hero p { color: var(--txt2); max-width: 700px; font-size: 1.05rem; line-height: 1.7; margin-bottom: 24px; }
.halcon-academias .wrap { max-width: 1168px; padding: 28px 24px 0; }
.halcon-academias section { margin-bottom: 64px; scroll-margin-top: 108px; }
.halcon-academias h2.sec { font-size: clamp(1.5rem, 2.4vw, 1.9rem); font-weight: 650; letter-spacing: -.4px; line-height: 1.3; }
.halcon-academias p.lead { max-width: 660px; color: var(--txt2); font-size: .98rem; line-height: 1.7; margin-bottom: 32px; }
.halcon-academias :is(.tiers, .moneti) { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.halcon-academias .tier { min-width: 0; padding: 28px 24px 24px; border-radius: var(--radius); background: var(--surface); backdrop-filter: none; }
.halcon-academias .tier.featured { border-color: rgba(245, 197, 24, .55); background: var(--surface); }
.halcon-academias .tier.featured::before { background: var(--gold); border-radius: 6px; font-size: .72rem; font-weight: 650; white-space: nowrap; }
.halcon-academias .tier h3 { font-size: 1.15rem; font-weight: 650; line-height: 1.4; }
.halcon-academias .tier .tagline { color: var(--txt2); font-size: .9rem; line-height: 1.6; min-height: 48px; }
.halcon-academias .tier .p { font-size: 2.35rem; font-weight: 700; letter-spacing: -.5px; line-height: 1.2; font-variant-numeric: tabular-nums; }
.halcon-academias .tier .p span { color: var(--mut); font-size: .9rem; font-weight: 400; letter-spacing: 0; margin-left: 4px; }
.halcon-academias .tier ul { margin: 22px 0; padding-top: 16px; border-top: 1px solid var(--line); }
.halcon-academias .tier li { color: var(--txt2); font-size: .91rem; line-height: 1.6; padding: 6px 0; }
.halcon-academias .tier li::before { color: var(--gold); }
.halcon-academias .tier .btn { margin-top: auto; }
.halcon-academias .m { min-width: 0; padding: 26px 24px; background: var(--surface); border-color: var(--line); border-radius: var(--radius); backdrop-filter: none; text-align: left; }
.halcon-academias .m .pct { font-size: 2.35rem; font-weight: 700; line-height: 1.2; font-variant-numeric: tabular-nums; }
.halcon-academias .m h4 { font-size: 1rem; font-weight: 650; margin: 12px 0 8px; }
.halcon-academias .m p { color: var(--txt2); font-size: .92rem; line-height: 1.7; }
.halcon-academias .dash { background: var(--surface); border-color: var(--line); border-radius: var(--radius); padding: 26px; backdrop-filter: none; }
.halcon-academias .dash .head { flex-wrap: wrap; gap: 12px; padding-bottom: 18px; }
.halcon-academias .dash .head h3 { font-size: 1.05rem; font-weight: 650; }
.halcon-academias .dash .head .pill { background: var(--surface2); border-color: var(--line); border-radius: 6px; color: var(--green); font-size: .8rem; font-weight: 600; }
.halcon-academias .academias-table { width: 100%; overflow-x: auto; overscroll-behavior-x: contain; border: 1px solid var(--line); border-radius: 8px; }
.halcon-academias .academias-table:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.halcon-academias .dash table { min-width: 690px; font-size: .92rem; }
.halcon-academias .dash th { background: var(--surface2); color: var(--txt2); font-size: .76rem; font-weight: 600; padding: 12px 16px; }
.halcon-academias .dash td { padding: 14px 16px; border-bottom-color: var(--line); }
.halcon-academias .dash tbody tr:last-child td { border-bottom: 0; }
.halcon-academias .dash .tag { display: inline-block; font-size: .8rem; font-weight: 600; line-height: 1.4; white-space: nowrap; }
.halcon-academias .dash .tag.g { background: rgba(135, 221, 176, .08); color: var(--green); }
.halcon-academias .dash .tag.a { background: var(--gold-dim); color: var(--gold); }
.halcon-academias .dash .tag.r { background: rgba(255, 165, 165, .08); color: var(--red); }
.halcon-academias .ctaBig { background: var(--surface); border-color: var(--line); border-radius: var(--radius); padding: 40px 28px; backdrop-filter: none; }
.halcon-academias .ctaBig h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); font-weight: 650; line-height: 1.3; }
.halcon-academias .ctaBig p { color: var(--txt2); font-size: .98rem; line-height: 1.7; }
.halcon-academias footer { padding: 24px; font-size: .82rem; line-height: 1.7; }
.halcon-academias footer a:hover { text-decoration: underline; }
@media (max-width: 900px) {
  .halcon-academias :is(.tiers, .moneti) { grid-template-columns: minmax(0, 1fr); max-width: 580px; margin: 0 auto; gap: 24px; }
  .halcon-academias .tier .tagline { min-height: 0; }
  .halcon-academias .hero { padding-top: 48px; }
}
@media (max-width: 480px) {
  .halcon-academias .top { flex-wrap: wrap; gap: 12px; padding: 14px 16px; }
  .halcon-academias .logo { flex-wrap: wrap; font-size: 1rem; gap: 8px; }
  .halcon-academias .hero { padding: 32px 16px 24px; }
  .halcon-academias .hero h1 { font-size: 1.9rem; letter-spacing: -.5px; }
  .halcon-academias .hero p { font-size: .98rem; }
  .halcon-academias .hero > .btn { width: 100%; }
  .halcon-academias .wrap { padding: 16px 16px 0; }
  .halcon-academias section { margin-bottom: 44px; scroll-margin-top: 128px; }
  .halcon-academias :is(.tier, .m) { padding: 24px 20px; }
  .halcon-academias .dash { padding: 20px 16px; }
  .halcon-academias .ctaBig { padding: 28px 20px; }
  .halcon-academias .ctaBig .btn { width: 100%; }
  .halcon-academias footer { padding: 24px 16px; }
}
