/* NandiNurse V104 · sincronización visual de pestañas con Inicio
   No modifica Crear PAE ni su lógica. */
:root{
  --nn104-ink:#102033;
  --nn104-ink2:#173c50;
  --nn104-teal:#0f9f9a;
  --nn104-mint:#64ebd5;
  --nn104-soft:#eefbfa;
  --nn104-line:#d6e4e8;
  --nn104-text:#40556d;
}
body.nn-page-sync{
  background:radial-gradient(circle at 85% 3%,#dbf8f3 0,transparent 33%),radial-gradient(circle at 6% 30%,#e7eaff 0,transparent 38%),#f5f9fd;
}
.nn-page-sync .page-hero,
.nn-page-sync .install-hero{
  position:relative;isolation:isolate;overflow:hidden;
  margin:18px 0 22px;padding:clamp(28px,5vw,58px);
  border:0;border-radius:32px;background:#102038;color:#fff;
  box-shadow:0 30px 70px #1128492b;
}
.nn-page-sync .page-hero:before,
.nn-page-sync .install-hero:before{
  content:"";position:absolute;z-index:-1;inset:-65% -20% auto auto;width:72%;aspect-ratio:1;border-radius:50%;
  background:radial-gradient(circle,#20d5be77 0,#216f9a33 35%,transparent 68%);
}
.nn-page-sync .page-hero .eyebrow,
.nn-page-sync .install-hero .eyebrow,
.nn-page-sync .page-hero>.kicker{color:#96f9e9;font-weight:900;letter-spacing:.14em;text-transform:uppercase}
.nn-page-sync .page-hero h1,
.nn-page-sync .install-hero h1{
  color:#fff;font-size:clamp(34px,4.5vw,58px);line-height:1.06;letter-spacing:-.04em;margin:14px 0 16px;max-width:950px;
}
.nn-page-sync .page-hero p,
.nn-page-sync .page-hero .lead,
.nn-page-sync .install-hero p{color:#d9e7f4;font-size:clamp(16px,1.5vw,20px);line-height:1.55;max-width:950px}
.nn-page-sync .page-hero .actions,.nn-page-sync .install-hero .actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}
.nn-page-sync .page-hero .btn,.nn-page-sync .install-hero .btn{border-color:#9cc4ce;background:#ffffff16;color:#fff;box-shadow:none}
.nn-page-sync .page-hero .btn.dark,.nn-page-sync .install-hero .btn.dark,
.nn-page-sync .page-hero .btn.primary,.nn-page-sync .install-hero .btn.primary{background:#64ebd5;border-color:#64ebd5;color:#102038}
.nn-page-sync .card,.nn-page-sync .ref-card,.nn-page-sync .danger-note{
  border-radius:26px;box-shadow:0 18px 46px rgba(16,32,51,.07);
}
.nn-page-sync .card{border-color:#dbe5ec}
.nn-page-sync .case-card,.nn-page-sync .clinical-box,.nn-page-sync .tool-card,.nn-page-sync .scale-card{
  border-radius:20px;box-shadow:0 10px 25px rgba(16,32,51,.06);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
@media (hover:hover){
  .nn-page-sync .case-card:hover,.nn-page-sync .clinical-box:hover,.nn-page-sync .tool-card:hover,.nn-page-sync .scale-card:hover{transform:translateY(-2px);box-shadow:0 16px 34px rgba(16,32,51,.1);border-color:#b7dcd7}
}
.nn104-current{
  margin:22px 0 28px;padding:30px;border:1px solid var(--nn104-line);border-radius:28px;background:rgba(255,255,255,.98);box-shadow:0 18px 46px rgba(16,32,51,.08)
}
.nn104-current-head{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(220px,.75fr);gap:20px;align-items:end;margin-bottom:20px}
.nn104-current-kicker{display:inline-block;margin-bottom:7px;color:#0f7775;font-size:12px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}
.nn104-current h2{margin:0;color:var(--nn104-ink);font-size:clamp(25px,3.3vw,38px);line-height:1.08;letter-spacing:-.035em}
.nn104-current-intro{margin:9px 0 0;color:var(--nn104-text);font-size:17px;line-height:1.55}
.nn104-current-badges{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}
.nn104-badge{display:inline-flex;align-items:center;border:1px solid #c7ddd9;border-radius:999px;padding:7px 11px;background:#f1fbf9;color:#163f4d;font-size:12px;font-weight:900}
.nn104-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}
.nn104-feature{position:relative;overflow:hidden;min-height:168px;padding:18px;border:1px solid #dbe5ec;border-radius:21px;background:linear-gradient(155deg,#fff 0%,#f7fbfd 100%)}
.nn104-feature:after{content:"";position:absolute;right:-42px;bottom:-48px;width:130px;height:130px;border-radius:50%;background:radial-gradient(circle,#c8f6ee 0%,rgba(200,246,238,0) 70%);pointer-events:none}
.nn104-feature.accent{background:linear-gradient(150deg,#102033,#153b50);border-color:#153b50;color:#fff}
.nn104-feature .nn104-num{display:grid;place-items:center;width:36px;height:36px;border-radius:12px;background:#dff8f4;color:#0b7472;font-size:13px;font-weight:950}
.nn104-feature.accent .nn104-num{background:#ffffff18;color:#9ff7e8}
.nn104-feature h3{position:relative;z-index:1;margin:12px 0 7px;color:var(--nn104-ink);font-size:18px;line-height:1.2}
.nn104-feature p{position:relative;z-index:1;margin:0;color:#506379;font-size:14px;line-height:1.5}
.nn104-feature.accent h3,.nn104-feature.accent p{color:#fff}
.nn104-note{margin:18px 0 0;padding:14px 16px;border:1px solid #cfe7e4;border-radius:16px;background:linear-gradient(145deg,#eefbfa,#f7faff);color:#294d5d;font-size:14px;line-height:1.5}
.nn104-note strong{color:#102033}
.nn-page-sync table{border-radius:16px;overflow:hidden}
.nn-page-sync .footer{margin-top:34px}
.nn-page-sync .sitebar{box-shadow:0 7px 22px rgba(16,32,51,.06)}
.nn-page-sync .nav a{border-radius:999px}
.nn-page-sync .nav a.active,.nn-page-sync .nav a[aria-current="page"]{background:#102033;color:#fff}
@media(max-width:980px){
  .nn104-current-head{grid-template-columns:1fr}.nn104-current-badges{justify-content:flex-start}.nn104-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:650px){
  .nn-page-sync .page-hero,.nn-page-sync .install-hero{padding:28px 22px;border-radius:25px}
  .nn104-current{padding:22px 17px;border-radius:24px}.nn104-grid{grid-template-columns:1fr}.nn104-feature{min-height:0}
}
@media(prefers-reduced-motion:reduce){.nn-page-sync *{scroll-behavior:auto!important;transition:none!important}}
