/* Marianne · una bienvenida editorial y un espacio de trabajo más cuidado. */
#login { padding: 28px; background: #ede9e2; min-height: 100vh; min-height: 100dvh; }
.acceso { width: min(1280px, 100%); min-height: min(820px, calc(100dvh - 56px)); display: grid; grid-template-columns: 1fr 1fr; border: 1px solid #dcd6cd; border-radius: 24px; overflow: hidden; box-shadow: 0 24px 90px -40px #3c302c45; }
.acceso-editorial { position: relative; display: flex; flex-direction: column; overflow: hidden; padding: 42px 48px 28px; color: #f6f0e3; background: radial-gradient(ellipse at 25% 65%, #5c634d66, transparent 65%), #252d27; }
.acceso-editorial::before { content: ''; position: absolute; width: 500px; height: 500px; border: 1px solid #d1bc8b15; border-radius: 50%; right: -350px; top: -220px; box-shadow: 0 0 0 50px #d1bc8b05, 0 0 0 100px #d1bc8b04; pointer-events: none; }
.acceso-marca { display: inline-flex; gap: 12px; align-items: center; align-self: flex-start; color: #f6f0e3; font: 500 30px/1 var(--serif); letter-spacing: -.8px; text-decoration: none; }
.marca-estrella { font: 36px/1 Georgia, serif; color: #dfc28a; }
.marca-ai { font: 500 11px/1 var(--sans); letter-spacing: 1px; margin-left: 5px; color: #dfc28a; }
.acceso-mensaje { margin: auto 0; padding-top: 64px; }
.acceso-etiqueta { display: flex; gap: 9px; align-items: center; color: #c9caba; font-size: 10px; font-weight: 500; letter-spacing: 2px; }
.acceso-etiqueta i { width: 6px; height: 6px; border-radius: 50%; background: #cfb47e; box-shadow: 0 0 0 4px #cfb47e13; }
.acceso-mensaje h2 { font: 500 clamp(40px, 4.3vw, 60px)/1.14 var(--serif); letter-spacing: -1.8px; color: #f8f2e7; margin: 22px 0; }
.acceso-mensaje h2 em { font-weight: 400; color: #d8bd86; }
.acceso-mensaje > p { max-width: 335px; font-size: 14px; line-height: 1.85; color: #c0c4b9; margin: 0; }
.acceso-orbita { height: 240px; position: relative; margin-top: 20px; display: grid; place-items: center; }
.orbita { position: absolute; width: 190px; height: 190px; border: 1px solid #cfbb8b30; border-radius: 50%; transform: rotate(-28deg); }
.orbita.o2 { width: 270px; height: 132px; transform: rotate(-32deg); }
.orbita.o3 { width: 270px; height: 132px; transform: rotate(32deg); }
.acceso-orbita > span { color: #dfc28a; font: 62px Georgia, serif; text-shadow: 0 0 55px #dfc28a66; }
.orbita-nota { position: absolute; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border: 1px solid #e4d9bb2b; border-radius: 13px; background: #394138; box-shadow: 0 12px 30px #101c2433; font-size: 11px; color: #f8f2e7; }
.orbita-nota i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: #d3bd871a; color: #e1c791; font: 18px Georgia, serif; }
.orbita-nota small { display: block; margin-top: 3px; font-size: 9px; color: #b9bfb0; }
.nota-agenda { top: 30px; left: 0; transform: rotate(-4deg); }
.nota-ia { bottom: 22px; right: 0; transform: rotate(3deg); }
.acceso-editorial-pie { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #ffffff18; padding-top: 20px; font-size: 9px; letter-spacing: 1.8px; color: #b1b9aa; }
.acceso-editorial-pie > span:last-child { color: #d8bd86; font-size: 18px; }
.acceso-formulario { display: flex; flex-direction: column; padding: 35px 46px 28px; background: #fdfbf7; min-width: 0; }
.acceso-superior { display: flex; justify-content: space-between; gap: 12px; align-items: center; color: #8b877c; font-size: 9px; font-weight: 500; letter-spacing: 1.5px; }
.acceso-seguro { display: inline-flex; gap: 5px; align-items: center; font-size: 10px; letter-spacing: 0; color: #657160; }
.acceso-seguro svg { width: 13px; height: 13px; }
.acceso .login { margin: auto; max-width: 350px; padding: 65px 0 45px; text-align: left; border: 0; box-shadow: none; border-radius: 0; background: none; }
.login-saludo { color: #8b784f; font-size: 9px; font-weight: 600; letter-spacing: 1.8px; }
.acceso .login h1 { margin: 14px 0 14px; font: 500 35px/1.18 var(--serif); letter-spacing: -.9px; color: #2b332c; }
.acceso .login p.suave { color: #85847b; font-size: 13px; line-height: 1.8; margin-bottom: 30px; }
.acceso .login label { font-size: 11px; font-weight: 600; color: #4b5148; margin: 18px 0 8px; }
.acceso .login input { min-height: 49px; padding: 13px 14px; border: 1px solid #dddcd2; background: #fffefa; border-radius: 9px; color: #303b31; font-size: 12px; margin: 0; }
.acceso .login input::placeholder { color: #a29e94; }
.acceso .login input:focus { border-color: #8b967e; box-shadow: 0 0 0 3px #86917820; }
.campo-clave { position: relative; }
.acceso .campo-clave input { padding-right: 48px; }
.ver-clave { position: absolute; right: 4px; top: 3px; width: 43px; height: 43px; display: grid; place-items: center; border: 0; border-radius: 7px; background: none; color: #8b8f80; cursor: pointer; }
.ver-clave svg { width: 18px; height: 18px; }
.ver-clave[aria-pressed="true"] { color: #344b35; background: #ebeee5; }
.acceso .login .btn { margin-top: 25px; padding: 16px 18px; border-radius: 9px; justify-content: space-between; background: #303e32; color: #fcfaf5; box-shadow: 0 5px 10px #303e3210; font-size: 12px; }
.acceso .login .btn:hover { background: #455542; box-shadow: 0 6px 20px #303e3220; }
.acceso .login .btn > span:last-child { font-size: 19px; line-height: 1; color: #dcc18d; }
.acceso .login .btn:disabled { cursor: wait; opacity: .65; }
.acceso .login .error { margin: 10px 0 0; font-size: 12px; }
.login-ayuda { margin-top: 28px; padding-top: 22px; border-top: 1px solid #e9e7df; font-size: 10px; color: #8b8c80; line-height: 1.8; }
.login-ayuda a { margin-left: 3px; color: #4c5f45; font-weight: 600; text-underline-offset: 3px; }
.acceso-pie { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 9px; color: #939185; }
.acceso-pie b { font-weight: 500; color: #5d6856; }
#login :focus-visible { outline: 2px solid #a58950; outline-offset: 4px; }
/* Detalles del panel, conservando la paleta propia de cada negocio. */
#app { --r: 18px; --r-sm: 10px; }
#app .lateral { padding-top: 30px; }
#app .marca { padding-bottom: 24px; margin-bottom: 8px; }
#app nav { gap: 5px; }
#app nav button { border-radius: 10px; min-height: 42px; }
#app nav button.activo { box-shadow: inset 0 0 0 1px #ffffff0d; }
#app .principal { background: radial-gradient(ellipse at 100% 0%, color-mix(in srgb, var(--oro) 7%, transparent), transparent 45%), var(--fondo); }
#app .topbar { padding-top: 34px; padding-bottom: 20px; border-bottom: 1px solid var(--borde); margin-left: 32px; margin-right: 32px; padding-left: 0; padding-right: 0; }
#app .topbar h1 { font-size: 32px; }
#app .topbar h1::after { width: 25px; margin-top: 12px; }
#app main { padding-top: 24px; }
#app .tarjeta { box-shadow: 0 3px 16px -9px #4c34241a; }
#app .hero { padding: 32px; border: 1px solid #ffffff20; }
#app .hero::after { content: '✦'; position: absolute; right: 35px; top: 12px; font: 160px Georgia, serif; color: #e2bc7210; pointer-events: none; }
#app .hero > * { z-index: 1; }
#app .kpi { min-height: 143px; border-top: 3px solid color-mix(in srgb, var(--kc, var(--oro)) 65%, var(--borde)); }
#app .kpi b { font-size: 31px; letter-spacing: -1px; }
#app .kpi .ic { border-radius: 11px; width: 38px; height: 38px; }
#app .lista > div { padding-top: 17px; padding-bottom: 17px; }
#app .btn { transition: background .2s, box-shadow .2s, transform .2s; }
@media (min-width: 1500px) { #app .topbar { margin-left: auto; margin-right: auto; max-width: 1176px; } }
@media (max-width: 1100px) { .acceso-editorial { padding-left: 32px; padding-right: 32px; } .acceso-formulario { padding-left: 32px; padding-right: 32px; } .acceso-mensaje h2 { font-size: 45px; } .acceso .login h1 { font-size: 31px; } .acceso-superior { letter-spacing: .8px; } }
@media (max-width: 900px) { #app .topbar { margin-left: 16px; margin-right: 16px; padding-top: 24px; padding-bottom: 16px; } #app .topbar h1 { font-size: 27px; } #app main { padding-top: 18px; } #app .hero { padding: 24px; } }
@media (max-width: 760px) {
  #login { padding: 0; background: #fdfbf7; }
  .acceso { display: flex; flex-direction: column; border: 0; border-radius: 0; box-shadow: none; min-height: 100dvh; }
  .acceso-editorial { padding: 26px 26px 30px; min-height: 245px; }
  .acceso-marca { font-size: 25px; } .marca-estrella { font-size: 28px; }
  .acceso-mensaje { padding-top: 30px; }
  .acceso-etiqueta { font-size: 8px; letter-spacing: 1.5px; }
  .acceso-mensaje h2 { font-size: 34px; line-height: 1.14; margin: 14px 0 0; letter-spacing: -.7px; }
  .acceso-mensaje h2 br { display: none; }
  .acceso-mensaje > p, .acceso-orbita, .acceso-editorial-pie { display: none; }
  .acceso-formulario { flex: 1; padding: 24px 26px; border-radius: 22px 22px 0 0; margin-top: -20px; z-index: 1; }
  .acceso-superior { font-size: 8px; }
  .acceso .login { padding: 36px 0 32px; max-width: 420px; }
  .acceso .login h1 { font-size: 30px; }
  .acceso .login p.suave { margin-bottom: 22px; }
  .acceso .login input { font-size: 16px; }
  .acceso-pie { padding-top: 12px; font-size: 8px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; scroll-behavior: auto !important; transition: none !important; } }

/* Selector de proyectos: portadas propias y acciones con jerarquía. */
.proyectos { --proy-verde: #2c4135; }
.proyectos-cab { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 12px 0 25px; }
.proyectos-ceja { font-size: 10px; font-weight: 600; letter-spacing: 2px; color: #8b784f; }
.proyectos-cab h2 { font: 500 clamp(27px, 3vw, 39px)/1.2 var(--serif); letter-spacing: -.8px; margin: 10px 0 8px; }
.proyectos-cab p { color: var(--suave); font-size: 14px; margin: 0; }
#app .proyectos-cab .btn { background: #2c4135; color: #fff; border-radius: 10px; padding: 13px 18px; white-space: nowrap; gap: 10px; font-size: 12px; }
.proyectos-cab .btn > span { font-size: 20px; font-weight: 400; }
.proyectos-resumen { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px; padding: 16px 0; border-top: 1px solid var(--borde-f); border-bottom: 1px solid var(--borde-f); margin-bottom: 28px; font-size: 12px; color: var(--suave); }
.proyectos-resumen > span { display: inline-flex; gap: 6px; align-items: center; }
.proyectos-resumen b { color: var(--titulo); font-weight: 700; }
.proyectos-resumen i { width: 6px; height: 6px; border-radius: 50%; background: #698264; }
.proyectos-resumen > span:last-child { margin-left: auto; font-size: 11px; color: var(--tenue); }
.proyectos-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.proyecto { --proy-color: #2c4135; --proy-oscuro: #1e3027; --proy-claro: #d3dec5; border: 1px solid var(--borde-f); border-radius: 21px; overflow: hidden; background: #fffdfa; box-shadow: 0 8px 25px -20px #33261f55; transition: box-shadow .25s, transform .25s; min-width: 0; }
.proyecto.estudio { --proy-color: #944b42; --proy-oscuro: #67342f; --proy-claro: #f2cbb8; }
.proyecto:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -25px #33261f55; }
.proyecto-portada { padding: 22px 25px 26px; position: relative; overflow: hidden; color: #fffdf6; background: radial-gradient(ellipse at 100% 0%, #ffffff12, transparent 65%), linear-gradient(125deg, var(--proy-color), var(--proy-oscuro)); }
.proyecto-portada::before, .proyecto-portada::after { content: ''; width: 235px; height: 235px; border: 1px solid #ffffff12; border-radius: 50%; position: absolute; right: -45px; bottom: -95px; pointer-events: none; }
.proyecto-portada::after { width: 295px; height: 295px; right: -75px; bottom: -125px; }
.proyecto-superior { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; z-index: 1; }
.proyecto-tipo { color: var(--proy-claro); font-size: 10px; text-transform: uppercase; letter-spacing: 1.5px; overflow-wrap: anywhere; }
.proyecto-estado { display: inline-flex; align-items: center; gap: 6px; border: 1px solid #ffffff29; background: #ffffff0b; border-radius: 99px; padding: 4px 9px; color: #f9f6eb; font-size: 10px; white-space: nowrap; }
.proyecto-estado i { width: 5px; height: 5px; border-radius: 50%; background: #ceeba4; }
.proyecto-estado.pausa i { background: #f5c581; }
.proyecto-simbolo { display: grid; place-items: center; width: 45px; height: 45px; border-radius: 13px; margin-top: 30px; margin-bottom: 17px; color: var(--proy-claro); background: #ffffff0a; border: 1px solid #ffffff23; }
.proyecto-simbolo svg { width: 26px; height: 26px; }
.proyecto-descriptor { display: block; position: relative; font-size: 8px; letter-spacing: 1.8px; color: var(--proy-claro); z-index: 1; }
.proyecto h3 { position: relative; z-index: 1; margin: 8px 0 0; color: #fff9ef; font: 500 clamp(27px, 2.7vw, 38px)/1.2 var(--serif); letter-spacing: -.6px; overflow-wrap: anywhere; }
.proyecto-adorno { position: absolute; right: 18px; top: 56px; font: 170px/1 Georgia, serif; color: var(--proy-claro); opacity: .13; transform: rotate(-12deg); pointer-events: none; }
.proyecto-cuerpo { padding: 24px; }
.proyecto-datos { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.proyecto-datos > div > span { display: block; font-size: 8px; letter-spacing: 1px; color: #918779; }
.proyecto-datos b { display: flex; align-items: baseline; gap: 8px; margin-top: 7px; color: #382f28; font-size: 29px; font-weight: 600; line-height: 1.2; font-variant-numeric: tabular-nums; }
.proyecto-datos small { font-size: 12px; font-weight: 400; color: #8b8176; }
.proyecto-plan { padding: 5px 9px; font-size: 10px; text-transform: capitalize; color: #82704b; background: #f2ead9; border: 1px solid #e9dec5; border-radius: 6px; white-space: nowrap; }
.proyecto-detalles { display: grid; gap: 8px; margin: 22px 0; padding-top: 18px; border-top: 1px solid #ece6dd; font-size: 11px; color: #8b8176; }
.proyecto-detalles > span { display: flex; align-items: center; gap: 8px; min-width: 0; }
.proyecto-detalles > span > span { overflow-wrap: anywhere; }
.proyecto-detalles svg { width: 14px; height: 14px; flex: none; color: #ab9c84; }
#app .proyecto-entrar { width: 100%; justify-content: space-between; background: var(--proy-color); color: #fffaf2; padding: 13px 16px; border-radius: 10px; font-size: 12px; }
#app .proyecto-entrar:hover { background: var(--proy-oscuro); }
.proyecto-entrar > span:last-child { font-size: 20px; font-weight: 400; line-height: 1; color: var(--proy-claro); }
.proyecto-acciones { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 12px; border-top: 1px solid #ece6dd; margin-top: 19px; padding-top: 10px; }
.proyecto-acciones button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 0; background: transparent; color: #8a7f72; font: 500 10px/1.4 var(--sans); padding: 8px 3px; border-radius: 5px; cursor: pointer; min-height: 36px; }
.proyecto-acciones button svg { width: 14px; height: 14px; }
.proyecto-acciones button:hover { color: var(--proy-color); background: #f3eee5; }
.proyecto-acciones button.proyecto-suspender { color: #a56c59; }
.proyecto-acciones button.proyecto-suspender:hover { background: #faebe5; color: #99402e; }
.proyecto-pausado .proyecto-portada { filter: saturate(.5); }
.proyectos-pie { text-align: center; color: #a09482; font-size: 11px; margin: 30px 0 10px; }
.proyectos-pie > span { margin-right: 7px; color: #b69b64; }
.proyectos-vacio { grid-column: 1/-1; text-align: center; padding: 40px; }
.proyectos :is(button, a):focus-visible { outline: 2px solid #ad8c48; outline-offset: 4px; }
@media (min-width: 1600px) { .proyectos-grid { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); } }
@media (max-width: 1120px) and (min-width: 901px), (max-width: 650px) { .proyectos-grid { grid-template-columns: 1fr; } }
@media (max-width: 650px) { .proyectos-cab { align-items: flex-start; flex-direction: column; gap: 18px; padding-top: 8px; } .proyectos-cab h2 { font-size: 29px; } .proyectos-resumen > span:last-child { display: none; } .proyectos-grid { gap: 20px; } .proyecto-portada { padding: 20px 23px 24px; } .proyecto-cuerpo { padding: 22px; } .proyecto h3 { font-size: 33px; } }

/* Las marcas reales sustituyen los símbolos decorativos del selector. */
.proyecto-portada::before, .proyecto-portada::after { display: none; }
.proyecto-identidad { margin: 22px 0 18px; }
.proyecto-logo { display: block; width: 98px; height: 98px; object-fit: contain; border-radius: 16px; box-shadow: 0 7px 20px #0000001c; }
.proyecto-inicial { display: block; font: 500 60px/1.3 var(--serif); color: var(--proy-claro); }

/* Logo completo usado en los videos de ÂRKA, con sus fuentes integradas. */
.proyecto.seguros .proyecto-logo[src*="arka-logo.svg"] { width: 190px; height: 98px; border-radius: 0; box-shadow: none; }

.lateral { overscroll-behavior-y: contain; }
.lat-pie .volver-negocios { display: flex; align-items: center; gap: 10px; width: 100%; padding: 12px 14px; margin-top: 6px; border: 1px solid var(--lat-linea); border-radius: 10px; background: #ffffff09; color: var(--lat-acento); font-size: 13px; font-weight: 600; text-align: left; }
.lat-pie .volver-negocios:hover { background: #ffffff15; color: #fff; }

/* Acciones secundarias claramente delimitadas en cada tarjeta. */
.proyecto-acciones { gap: 10px; padding-top: 16px; }
.proyecto-acciones button { flex: 1 1 135px; min-height: 44px; padding: 10px 12px; border: 1px solid #d8d0c3; border-radius: 9px; background: #f5f0e7; color: #65583f; font-size: 11px; font-weight: 600; box-shadow: 0 2px 3px #33261f08; transition: background .18s, border-color .18s, transform .18s; }
.proyecto-acciones button:hover { background: #ebe3d4; border-color: #b6a484; color: #463b27; }
.proyecto-acciones button.proyecto-suspender { background: #fceee9; border-color: #e8c5b9; color: #9b4433; }
.proyecto-acciones button.proyecto-suspender:hover { background: #f6dcd3; border-color: #cf9988; color: #7f3022; }
.proyecto-acciones button:active { transform: translateY(1px); }

/* Tarjetas compactas: menos superficie, conservando información y acciones. */
.proyectos-grid { grid-template-columns: repeat(2, minmax(0, 330px)); gap: 16px; align-items: start; }
.proyecto { border-radius: 14px; }
.proyecto-portada { display: grid; grid-template-columns: minmax(0, 1fr) 100px; gap: 7px 10px; padding: 13px 14px; align-items: center; }
.proyecto-superior { grid-column: 1 / -1; gap: 8px; }
.proyecto-tipo { font-size: 9px; letter-spacing: .7px; }
.proyecto-estado { padding: 3px 7px; font-size: 10px; }
.proyecto-identidad { grid-column: 2; grid-row: 2 / 4; margin: 0; justify-self: end; }
.proyecto-logo { width: 58px; height: 58px; border-radius: 10px; }
.proyecto.seguros .proyecto-logo[src*="arka-logo.svg"] { width: 100px; height: 58px; }
.proyecto h3 { grid-column: 1; grid-row: 2; font-size: 24px; margin: 0; letter-spacing: -.4px; }
.proyecto-descriptor { grid-column: 1; grid-row: 3; font-size: 8px; line-height: 1.6; letter-spacing: .4px; }
.proyecto-cuerpo { padding: 12px 14px; }
.proyecto-datos { gap: 8px; }
.proyecto-datos > div > span { font-size: 8px; letter-spacing: .5px; }
.proyecto-datos b { margin-top: 3px; font-size: 23px; gap: 6px; }
.proyecto-datos small { font-size: 11px; }
.proyecto-plan { font-size: 10px; padding: 4px 7px; }
.proyecto-detalles { margin: 8px 0; padding-top: 8px; gap: 4px; font-size: 11px; }
#app .proyecto-entrar { min-height: 40px; padding: 9px 12px; font-size: 12px; border-radius: 8px; }
.proyecto-acciones { margin-top: 8px; padding-top: 8px; gap: 7px; flex-wrap: nowrap; }
.proyecto-acciones button { flex: 1 1 auto; min-width: 0; min-height: 40px; padding: 7px 6px; font-size: 10px; gap: 5px; border-radius: 7px; }
.proyecto-acciones button svg { width: 13px; height: 13px; flex: none; }
.proyectos-pie { max-width: 676px; margin-top: 20px; }
@media (max-width: 650px) { .proyectos-grid { grid-template-columns: minmax(0, 330px); gap: 14px; } }
@media (min-width: 901px) and (max-width: 1000px) { .proyectos-grid { grid-template-columns: minmax(0, 330px); } }
