/* GenerarApiKey: estilos aislados, basados en la opción A, Contenido abierto. */
.ak-page { --ak-ink:var(--site-text); --ak-blue:var(--site-link); --ak-muted:var(--site-muted); --ak-line:var(--site-line); width:100%; max-width:none; margin:0; padding:54px 0 35px; background:#fff; color:var(--ak-ink); font:16px/1.6 Lato,sans-serif; letter-spacing:normal; }
.ak-page * { box-sizing:border-box; }
.ak-page h1,.ak-page h2 { margin:0; font-family:var(--site-font-heading); color:var(--ak-ink); font-weight:700; line-height:1.5; letter-spacing:2px; }
.ak-page p,.ak-page dl,.ak-page dd { margin:0; }
.ak-page p { letter-spacing:normal; }
.ak-page a { color:inherit; text-decoration:none; }
.ak-page button { font:inherit; cursor:pointer; color:var(--ak-ink); }
.ak-page a:focus-visible,.ak-page button:focus-visible { outline:3px solid var(--ak-blue); outline-offset:4px; }
.ak-page .mdi { line-height:1; }
.ak-container { width:calc(100% - 80px); max-width:1200px; margin:0 auto; }
.ak-heading { text-align:left; }
.ak-heading .ak-eyebrow { font-size:11px; font-weight:700; letter-spacing:.14em; color:var(--ak-blue); margin-bottom:18px; line-height:1.5; padding-left:13px; border-left:3px solid var(--site-accent); }
.ak-heading h1 { font-size:40px; line-height:1.3; letter-spacing:.2px; font-weight:700; }
.ak-heading h1 span { color:var(--site-link); }
.ak-heading > p:last-child { font-size:16px; color:var(--ak-muted); margin-top:14px; }
.ak-auth { padding:1px 0 0; border:0; min-width:0; }
.ak-auth h2 { font-size:27px; letter-spacing:.1px; line-height:1.3; font-weight:700; }
.ak-auth .ak-auth-intro { font-size:15px; color:var(--ak-muted); margin:12px 0 25px; line-height:1.8; }
.ak-providers { display:grid; gap:11px; }
/* socialAuth.js alterna display:block/none; la cuadrícula interna conserva alineación. */
.ak-provider { position:relative; width:100%; min-height:50px; padding:10px 35px 10px 51px; border:1px solid var(--provider-color); border-radius:4px; background:var(--provider-color); text-align:left; transition:background .15s,border-color .15s; }
.ak-page .ak-provider { color:#fff; font-size:14px; font-weight:700; line-height:1.6; }
.ak-provider .mdi:first-child { position:absolute; left:16px; top:50%; transform:translateY(-50%); width:22px; font-size:21px; text-align:center; }
.ak-provider .mdi:last-child { position:absolute; right:16px; top:50%; transform:translateY(-50%); font-size:17px; }
.ak-google { --provider-color:#d23d31; --provider-hover:#a52714; }
.ak-linkedin { --provider-color:#0a66c2; --provider-hover:#084b92; }
.ak-github { --provider-color:#333; --provider-hover:#24292e; }
.ak-microsoft { --provider-color:#4caf50; --provider-hover:#68bd6b; }
.ak-page .ak-microsoft { color:#102d1b; }
.ak-provider:hover { background:var(--provider-hover); border-color:var(--provider-hover); }
.ak-validity { display:flex; align-items:center; gap:9px; padding:20px 0; margin-top:5px; font-size:12px; }
.ak-validity .mdi { font-size:18px; color:var(--site-link); }
.ak-free { margin-left:auto; color:var(--site-link); font-weight:700; }
.ak-fraud { display:flex; gap:10px; padding-top:18px; border-top:1px solid var(--ak-line); color:var(--ak-muted); font-size:12px; line-height:1.6; }
.ak-fraud .mdi { font-size:18px; flex-shrink:0; margin-top:3px; }
.ak-info { min-width:0; padding:0 0 0 42px; border-left:1px solid var(--ak-line); }
.ak-description { color:var(--ak-muted); font-size:15px; line-height:1.85; }
.ak-info .ak-pending { margin-top:14px; font-size:13px; line-height:1.7; color:var(--ak-muted); }
.ak-quotas { margin-top:27px; }
.ak-section-heading { display:flex; justify-content:space-between; align-items:center; gap:16px; margin-bottom:13px; }
.ak-section-heading h2 { font-size:24px; line-height:1.5; letter-spacing:normal; font-weight:600; }
.ak-section-heading > span { color:var(--ak-muted); font-size:11px; white-space:nowrap; }
.ak-products { border-top:1px solid var(--ak-line); }
.ak-product { min-height:57px; display:flex; align-items:center; justify-content:space-between; gap:14px; padding:9px 0; border-bottom:1px solid var(--ak-line); }
.ak-product dt { display:flex; align-items:center; gap:16px; font-size:15px; font-weight:700; }
.ak-product dt .mdi { font-size:20px; width:26px; color:var(--ak-blue); flex-shrink:0; }
.ak-product dd { display:flex; align-items:baseline; gap:9px; }
.ak-product dd strong { font:700 19px/1 Nunito,sans-serif; font-variant-numeric:tabular-nums; letter-spacing:normal; }
.ak-product dd span { font-size:11px; color:var(--ak-muted); }
.ak-monthly { display:flex; gap:10px; color:var(--ak-muted); font-size:12px; line-height:1.6; padding-top:14px; }
.ak-monthly .mdi { font-size:18px; margin-top:2px; flex-shrink:0; }
.ak-important { display:flex; align-items:flex-start; gap:13px; margin-top:36px; border-top:1px solid var(--ak-line); background:transparent; padding:23px 0 15px; font-size:13px; line-height:1.7; color:var(--ak-muted); }
.ak-important .mdi { font-size:20px; margin-top:2px; flex-shrink:0; color:var(--ak-blue); }
.ak-important strong { color:var(--ak-ink); }
.ak-resources { display:grid; grid-template-columns:1fr 1fr; gap:34px; margin-top:12px; }
.ak-resources a { display:flex; gap:16px; align-items:center; padding:24px 0; border-top:1px solid var(--ak-line); }
.ak-resources a > .mdi:first-child { font-size:27px; color:var(--ak-blue); }
.ak-resources a > .mdi:last-child { margin-left:auto; font-size:20px; flex-shrink:0; }
.ak-resources strong { display:block; font-size:15px; line-height:1.4; }
.ak-resources small { display:block; font-size:12px; color:var(--ak-muted); margin-top:5px; line-height:1.6; }
.ak-resources a:hover strong { text-decoration:underline; text-underline-offset:4px; }
/* La ayuda permanece accesible sin superponer el widget a los controles de acceso. */
.ak-page ~ .sf-call-widget { display:none; }
.ak-help { display:flex; justify-content:center; align-items:center; gap:12px; color:var(--ak-muted); font-size:12px; padding-top:8px; }
.ak-help button { background:none; border:0; color:var(--ak-blue); padding:8px 0; min-height:40px; }
.ak-help button:hover { text-decoration:underline; }
.ak-help .mdi { margin-left:7px; }
.ak-result { overflow-wrap:anywhere; }
.ak-result h2 { font-size:var(--site-title-size); line-height:1.5; letter-spacing:2px; font-weight:700; }
.ak-result h2 span { display:block; margin-top:5px; }
.ak-result p { color:var(--ak-muted); font-size:13px; line-height:1.8; }
.ak-result .ak-result-label { margin-top:24px; font-size:14px; }
.ak-key { display:flex; align-items:center; gap:10px; background:var(--site-surface); border:1px solid var(--ak-line); border-radius:4px; padding:12px; margin:10px 0 16px; }
.ak-key code { flex:1; min-width:0; color:var(--ak-ink); font-size:14px; overflow-wrap:anywhere; }
.ak-key button { border:1px solid var(--ak-line); border-radius:4px; background:white; padding:9px; min-height:40px; min-width:40px; }
.ak-copy-status { min-height:22px; }
.ak-logout { margin-top:20px; }
.ak-logout-button { border:1px solid var(--ak-line); background:white; border-radius:4px; width:100%; padding:12px; font-size:13px!important; }
.ak-loading { padding:22px 0; color:var(--ak-muted); text-align:center; font-size:14px; }
.ak-spinner { display:inline-block; width:28px; height:28px; margin-bottom:14px; border:3px solid var(--ak-line); border-top-color:var(--site-link); border-radius:50%; animation:ak-spin .8s linear infinite; }
@keyframes ak-spin { to { transform:rotate(360deg); } }
.ak-error { border-left:3px solid #b4342a; background:#fff5f3; padding:16px; }
.ak-error h2 { font-size:var(--site-title-size); line-height:1.5; letter-spacing:2px; font-weight:700; }
.ak-error p { margin:12px 0; font-size:13px; color:var(--ak-muted); }
.ak-retry { width:100%; border:0; background:var(--ak-ink); color:#fff!important; padding:11px; border-radius:4px; font-size:13px!important; }
.ak-meta { display:flex; align-items:center; gap:22px; color:var(--ak-muted); font-size:12px; margin-top:22px; }
.ak-meta > span:first-child { font-weight:700; color:var(--site-link); }
.ak-meta > span+span { padding-left:22px; border-left:1px solid var(--ak-line); }
.ak-columns { display:grid; grid-template-columns:320px minmax(0,1fr); gap:90px; margin-top:37px; padding-top:38px; border-top:1px solid var(--ak-line); }
@media(max-width:1100px) {
    .ak-columns { gap:45px; grid-template-columns:300px minmax(0,1fr); }
    .ak-info { padding-left:28px; }
}
@media(max-width:900px) {
    .ak-container { width:calc(100% - 40px); }
}
@media(max-width:767px) {
    .ak-page { padding-top:32px; }
    .ak-heading h1 { font-size:32px; line-height:1.3; }
    .ak-heading h1 span { display:block; }
    .ak-auth h2 { font-size:25px; }
    .ak-columns { display:flex; flex-direction:column; gap:30px; margin-top:26px; padding-top:28px; }
    .ak-auth { padding:0; width:100%; }
    .ak-info { width:100%; padding:26px 0 0; border-left:0; border-top:1px solid var(--ak-line); }
    .ak-product dt { font-size:14px; }
    .ak-section-heading h2 { font-size:22px; }
    .ak-important { margin-top:28px; }
}
@media(max-width:700px) {
    .ak-container { width:calc(100% - 36px); }
    .ak-heading .ak-eyebrow { margin-bottom:15px; }
    .ak-heading > p:last-child { font-size:14px; margin-top:16px; }
    .ak-desktop-break { display:none; }
    .ak-product dt { gap:10px; }
    .ak-product dt .mdi { font-size:19px; width:21px; }
    .ak-product dd { gap:5px; }
    .ak-product dd span { font-size:10px; }
    .ak-section-heading { align-items:flex-end; }
    .ak-section-heading > span { white-space:normal; text-align:right; max-width:80px; font-size:10px; }
    .ak-important { font-size:12px; gap:10px; }
    .ak-resources { grid-template-columns:1fr; gap:0; }
    .ak-resources a { padding:21px 0; }
}
@media(prefers-reduced-motion:reduce) { .ak-provider { transition:none; } .ak-spinner { animation:none; } }
