/* NOVA polish: refined nav, menu sheet, parent report mock */

/* ---------- floating nav v2 ---------- */
.nv-nav { top: 12px; height: 62px; padding: 0 8px; gap: 10px; width: min(1040px, calc(100% - 24px)); border-radius: 22px; border: 0;
  background: color-mix(in srgb, var(--bg-2) 78%, transparent);
  box-shadow: inset 0 0 0 1px var(--line-2), inset 0 1px 0 rgba(255,255,255,.08), 0 22px 50px -22px rgba(0,0,0,.75); }
[data-theme="light"] .nv-nav { box-shadow: inset 0 0 0 1px var(--line-2), 0 18px 44px -22px rgba(60,40,160,.4); background: color-mix(in srgb, #fff 82%, transparent); }
.nv-nav.min { height: 56px; width: min(820px, calc(100% - 24px)); top: 8px; }
.nv-brand { padding: 0 10px; } .nv-brand img { height: 30px; }
.nv-links { margin: 0 auto; padding: 4px; border-radius: 17px; background: var(--glass); box-shadow: inset 0 0 0 1px var(--line); gap: 2px; align-items: center; }
.nv-link, .nav-item.nv-link { flex-direction: row; height: 38px; padding: 0 15px; border-radius: 13px; font-size: .86rem; font-weight: 600; gap: 8px; letter-spacing: 0; white-space: nowrap; }
.nv-link svg, .nv-ic svg { width: 18px; height: 18px; }
.nv-lens { top: 4px; height: 38px; border-radius: 13px; background: var(--vio); box-shadow: 0 8px 20px -8px rgba(123,92,255,.9), inset 0 1px 0 rgba(255,255,255,.25); }
.nv-lens::after { display: none; }
.nv-link:hover, .nav-item.nv-link.active, .nv-link.active { color: #fff; }
[data-theme="light"] .nv-link:hover, [data-theme="light"] .nv-link.active { color: #fff; }
[data-theme="light"] .nv-link { color: var(--ink-2); }
.nv-tools { gap: 6px; }
.nv-ic { width: 40px; height: 40px; border-radius: 13px; background: transparent; box-shadow: inset 0 0 0 1px var(--line); }
.nv-ic:hover { transform: translateY(-2px); background: var(--glass-2); }
.nv-ic:focus-visible, .nv-link:focus-visible, .nv-cta-sm:focus-visible, .btn:focus-visible, .qo button:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
.nv-cta-sm { height: 40px; padding: 0 18px; border-radius: 13px; font-size: .86rem; }
[dir="rtl"] .nv-cta-sm { border-radius: 13px; }
@media (max-width: 760px) {
  .nv-nav { height: 58px; width: calc(100% - 16px); top: 8px; padding: 0 6px; gap: 6px; border-radius: 20px; }
  .nv-links { padding: 3px; border-radius: 15px; } .nv-lens { top: 3px; height: 38px; }
  .nv-link, .nav-item.nv-link { padding: 0 12px; } .nav-item.nv-link.active { padding: 0 14px; } .nav-item.nv-link.active span { display: inline; }
  #app-nav .nv-links { flex: 1; margin: 0; justify-content: space-between; }
  #app-nav .nav-item.nv-link { flex: 1; justify-content: center; } #app-nav .nav-item.nv-link.active { flex: 1.9; }
  .nv-ic, .nv-cta-sm { height: 38px; } .nv-ic { width: 38px; }
}
@media (max-width: 380px) { .nv-nav.landing .nv-cta-sm:not(.opt) { padding: 0 12px; font-size: .8rem; } .nv-brand img { height: 26px; } }

/* ---------- menu sheet v2 ---------- */
.sheet { padding: 10px 16px 26px; border-radius: 30px 30px 0 0; max-width: 520px; background: color-mix(in srgb, var(--bg-2) 94%, transparent); backdrop-filter: blur(26px); -webkit-backdrop-filter: blur(26px); border: 0; box-shadow: inset 0 1px 0 var(--line-2), 0 -30px 80px -20px rgba(0,0,0,.7); }
.sheet-grab { display: block; width: 44px; height: 5px; border-radius: 5px; background: var(--line-2); margin: 4px auto 14px; }
.mn-user { display: flex; align-items: center; gap: 12px; padding: 4px 4px 16px; animation: nvPageIn .6s var(--ease) backwards; }
.mn-av { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; background: var(--grad); color: #fff; font: 800 1.25rem var(--f-head); box-shadow: 0 10px 24px -10px rgba(123,92,255,.8); }
.mn-user > div { flex: 1; min-width: 0; } .mn-user b { display: block; font: 700 1.02rem var(--f-head); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .mn-user small { color: var(--ink-3); font-size: .8rem; }
.mn-x { width: 38px; height: 38px; border-radius: 13px; border: 0; background: var(--glass-2); color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: inset 0 0 0 1px var(--line); transition: transform .4s var(--spring); } .mn-x:hover { transform: rotate(90deg); } .mn-x svg { width: 16px; height: 16px; }
.mn-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; } .mn-tile { padding: 14px 4px 12px; font-size: .74rem; border-radius: 18px; } .mn-ic { width: 40px; height: 40px; border-radius: 14px; } .mn-ic svg { width: 20px; height: 20px; }
.mn-tile { --c: var(--vio); position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 16px 6px 14px; border: 0; border-radius: 20px; background: var(--glass); color: var(--ink); cursor: pointer; font: 600 .82rem var(--f-body); box-shadow: inset 0 0 0 1px var(--line); transition: transform .5s var(--spring), background .3s, box-shadow .3s; animation: nvPageIn .7s var(--ease) backwards; animation-delay: calc(var(--i) * 55ms + 80ms); overflow: hidden; }
.mn-tile::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 0, color-mix(in srgb, var(--c) 40%, transparent), transparent 70%); opacity: 0; transition: opacity .4s; }
.mn-tile:hover, .mn-tile:focus-visible { transform: translateY(-5px); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 70%, transparent); outline: 0; } .mn-tile:hover::before { opacity: 1; } .mn-tile:active { transform: scale(.94); }
.mn-ic { position: relative; width: 44px; height: 44px; border-radius: 15px; display: grid; place-items: center; background: color-mix(in srgb, var(--c, var(--vio)) 22%, transparent); color: var(--c, var(--vio-hi)); transition: transform .5s var(--spring); }
.mn-tile:hover .mn-ic { transform: scale(1.12) rotate(-6deg); } .mn-ic svg { width: 22px; height: 22px; } .mn-lb { position: relative; }
.mn-code { --c: var(--lime); width: 100%; margin-top: 10px; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 0; border-radius: 20px; background: linear-gradient(120deg, rgba(204,255,61,.16), rgba(61,255,181,.06)); color: var(--ink); font: 600 .92rem var(--f-body); cursor: pointer; text-align: start; box-shadow: inset 0 0 0 1px rgba(204,255,61,.32); animation: nvPageIn .7s var(--ease) backwards; animation-delay: .45s; transition: transform .4s var(--spring); }
.mn-code span:nth-child(2) { flex: 1; } .mn-code > svg { width: 16px; height: 16px; transform: rotate(90deg); color: var(--ink-3); } [dir="ltr"] .mn-code > svg { transform: rotate(-90deg); } .mn-code:hover { transform: translateY(-3px); }
[data-theme="light"] .mn-code { --c: #6a8f00; } 
.mn-seg { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-top: 12px; animation: nvPageIn .7s var(--ease) backwards; animation-delay: .52s; }
.mn-seg button { display: flex; align-items: center; justify-content: center; gap: 7px; height: 46px; border: 0; border-radius: 15px; background: var(--glass); color: var(--ink-2); font: 600 .78rem var(--f-body); cursor: pointer; box-shadow: inset 0 0 0 1px var(--line); transition: background .3s, color .3s, transform .4s var(--spring); }
.mn-seg button svg { width: 17px; height: 17px; } .mn-seg button:hover { background: var(--glass-2); color: var(--ink); transform: translateY(-2px); }
.mn-seg button.out { color: var(--clr-danger); box-shadow: inset 0 0 0 1px rgba(255,93,122,.35); } .mn-seg button.out:hover { background: rgba(255,93,122,.14); }
.mn-seg button > span { display: grid; }

/* ---------- parent report v2 ---------- */
.rp-wrap { position: relative; width: min(330px, 100%); margin-inline: auto; }
.nv-phone.rp { width: 100%; padding: 46px 18px 20px; display: grid; gap: 14px; animation: nvFloat 9s ease-in-out infinite; }
.rp-top { display: flex; align-items: center; gap: 10px; }
.rp-av { width: 40px; height: 40px; border-radius: 14px; display: grid; place-items: center; background: var(--grad-warm); color: #fff; font: 800 1.05rem var(--f-head); }
.rp-top > div { flex: 1; min-width: 0; } .rp-top small { display: block; color: var(--ink-3); font-size: .72rem; } .rp-top b { font: 700 .98rem var(--f-head); }
.rp-live { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 99px; background: rgba(54,230,160,.14); color: #36e6a0; font-size: .7rem; font-weight: 700; } .rp-live i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: nvBlink 1.5s infinite; } .rp-live em { font-style: normal; }
.rp-hero { display: flex; align-items: center; gap: 16px; padding: 16px; border-radius: 22px; background: linear-gradient(135deg, rgba(123,92,255,.3), rgba(24,224,255,.1)); box-shadow: inset 0 0 0 1px var(--line-2); }
.rp-ring { position: relative; width: 104px; height: 104px; flex-shrink: 0; } .rp-ring svg { width: 100%; height: 100%; } .rp-ring b { position: absolute; inset: 0; display: grid; place-items: center; font: 800 1.45rem var(--f-head); }
#nvp-arc { transition: stroke-dashoffset 2.2s var(--ease) .3s; }
.rp-meta { display: grid; gap: 4px; justify-items: start; } .rp-meta small { color: var(--ink-2); font-size: .74rem; } .rp-meta strong { font: 800 1.35rem var(--f-head); }
.rp-up { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 99px; background: rgba(54,230,160,.16); color: #36e6a0; font: 700 .76rem var(--f-body); direction: ltr; } .rp-up svg { width: 13px; height: 13px; }
.rp-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.rp-tiles div { padding: 10px 6px; border-radius: 16px; background: var(--glass-2); box-shadow: inset 0 0 0 1px var(--line); text-align: center; transition: transform .5s var(--spring); } .rp-tiles div:hover { transform: translateY(-4px); }
.rp-tiles small { display: block; color: var(--ink-3); font-size: .68rem; margin-bottom: 3px; } .rp-tiles b { font: 800 1.1rem var(--f-head); direction: ltr; display: inline-block; } .rp-tiles s { text-decoration: none; color: var(--ink-3); font-size: .7rem; font-weight: 600; }
.rp-chart { padding: 12px 12px 8px; border-radius: 18px; background: var(--glass); box-shadow: inset 0 0 0 1px var(--line); }
.rp-bars { display: flex; align-items: flex-end; justify-content: space-between; gap: 7px; height: 76px; } .rp-bars i { flex: 1; height: 0; border-radius: 7px 7px 4px 4px; background: linear-gradient(to top, var(--vio), var(--cy)); transition: height 1.2s var(--ease); } .rp-bars i:nth-child(4), .rp-bars i:nth-child(6) { background: linear-gradient(to top, var(--lime), var(--mint)); }
.rp.in .rp-bars i { height: var(--h); } .rp.in .rp-bars i:nth-child(2) { transition-delay: .08s } .rp.in .rp-bars i:nth-child(3) { transition-delay: .16s } .rp.in .rp-bars i:nth-child(4) { transition-delay: .24s } .rp.in .rp-bars i:nth-child(5) { transition-delay: .32s } .rp.in .rp-bars i:nth-child(6) { transition-delay: .4s } .rp.in .rp-bars i:nth-child(7) { transition-delay: .48s }
.rp-days { display: flex; justify-content: space-between; gap: 7px; margin-top: 6px; } .rp-days span { flex: 1; text-align: center; font-size: .68rem; color: var(--ink-3); }
.rp .nvp-note { margin-top: 0; }
.rp-toast { position: absolute; inset-inline-start: -34px; bottom: 74px; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 16px; border-radius: 18px; background: color-mix(in srgb, var(--bg-3) 92%, transparent); backdrop-filter: blur(16px); box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow-lg); animation: nvToastFloat 6s ease-in-out infinite; max-width: 230px; }
.rp-toast .ic { width: 34px; height: 34px; border-radius: 11px; background: var(--lime); color: #101400; display: grid; place-items: center; flex-shrink: 0; } .rp-toast .ic svg { width: 17px; height: 17px; }
.rp-toast b { display: block; font-size: .78rem; } .rp-toast small { color: var(--ink-3); font-size: .68rem; }
@keyframes nvToastFloat { 0%,100% { transform: translateY(0) translateX(0); } 50% { transform: translateY(-10px) translateX(6px); } }
@media (max-width: 520px) { .rp-toast { inset-inline-start: -6px; bottom: 60px; max-width: 200px; } }
.rp-ring b { direction: ltr; }
.rp-toast { bottom: -22px; inset-inline-start: -40px; }
@media (max-width: 520px) { .rp-toast { bottom: -26px; inset-inline-start: -4px; } .rp-wrap { margin-bottom: 36px; } }
.msg-who{font-size:.7rem;font-weight:700;opacity:.7;margin-bottom:3px}
.msg-img{display:block;max-width:220px;max-height:220px;border-radius:12px;margin-bottom:4px}
