/* 990 Filing Navigator. Ijaz Group Design System, Applications section.
   Ported from the prototype; ".nv.lay-desktop" rules became the min-width: 900px media query. */
html,body{margin:0;background:#f5f6f8}
.nv{font-family:Figtree,system-ui,-apple-system,'Segoe UI',sans-serif;color:#151a22;background:#f5f6f8;position:relative;box-sizing:border-box;width:100%;-webkit-font-smoothing:antialiased}
.nv *{box-sizing:border-box}
.nv a{color:#17406d;text-underline-offset:2px}
.nv a:hover{color:#0f2e52}
.nv :focus-visible{outline:2px solid #17406d;outline-offset:2px}
.nv [tabindex="-1"]:focus{outline:none}
.nv .wrap{padding:16px 16px 40px}
.nv .col{max-width:640px;margin:0 auto}
.nv .panel{background:#fff;border:1px solid #e3e6eb;border-radius:10px;padding:20px}
.nv .eyebrow{margin:0;font-size:12px;line-height:16px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:#5b6371}
.nv .display{margin:0;font-size:28px;line-height:34px;font-weight:700;letter-spacing:-.01em}
.nv .title{margin:0;padding:0;font-size:22px;line-height:28px;font-weight:700}
.nv .heading{margin:0;font-size:17px;line-height:24px;font-weight:600}
.nv .body{margin:0;font-size:15px;line-height:22px}
.nv .caption{margin:0;font-size:13px;line-height:18px;color:#5b6371}
.nv .ink2{color:#3a414d}
.nv .stack{display:flex;flex-direction:column}
.nv .row{display:flex;align-items:center}
.nv .g4{gap:4px}
.nv .g8{gap:8px}
.nv .g12{gap:12px}
.nv .g16{gap:16px}
.nv .g20{gap:20px}
.nv .g24{gap:24px}
.nv .tab{font-variant-numeric:tabular-nums}
.nv .btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 16px;border-radius:10px;font-family:inherit;font-size:14px;line-height:20px;font-weight:600;cursor:pointer;border:1px solid transparent;text-decoration:none;transition:background-color 120ms cubic-bezier(.32,.72,.32,1)}
.nv .btn[disabled]{opacity:.7;cursor:progress}
.nv .btn-lg{min-height:48px;font-size:15px;padding:0 20px}
.nv .block{width:100%}
.nv .btn-primary{background:#17406d;color:#fff}
.nv .btn-primary:hover{background:#0f2e52;color:#fff}
.nv .btn-secondary{background:#fff;border-color:#8a919c;color:#151a22}
.nv .btn-secondary:hover{background:#eef3f9;color:#151a22}
.nv .btn-ghost{background:transparent;color:#3a414d}
.nv .btn-ghost:hover{background:#eef3f9;color:#151a22}
.nv .btn-white{background:#fff;color:#17406d}
.nv .btn-white:hover{background:#e8eef6;color:#17406d}
.nv .linkbtn{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0;background:none;border:none;font-family:inherit;font-size:14px;line-height:20px;font-weight:600;color:#17406d;cursor:pointer;text-decoration:underline;text-underline-offset:2px;text-align:left}
.nv .linkbtn:hover{color:#0f2e52}
.nv .linkbtn.inline{min-height:0;display:inline}
.nv .qtop{display:flex;align-items:center;justify-content:space-between;margin:-8px -8px 0}
.nv .back{padding:0 10px 0 6px}
.nv .bar{height:6px;border-radius:999px;background:#e3e6eb;overflow:hidden}
.nv .bar div{height:100%;background:#17406d;border-radius:999px;transition:width 180ms cubic-bezier(.32,.72,.32,1)}
.nv fieldset{border:0;margin:0;padding:0;min-width:0}
.nv .opt{border:1px solid #8a919c;border-radius:10px;background:#fff;transition:background-color 120ms,border-color 120ms}
.nv .opt:hover{background:#f7f9fc}
.nv .opt.on{border-color:#17406d;background:#e8eef6;box-shadow:inset 0 0 0 1px #17406d}
.nv .opt.bad{border-color:#a1372a}
.nv .opt label{display:flex;gap:12px;align-items:flex-start;padding:14px 16px;cursor:pointer;min-height:56px}
.nv .sr{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0;padding:0}
.nv .mark{flex:none;width:20px;height:20px;margin-top:1px;border:1.5px solid #8a919c;border-radius:999px;background:#fff;display:flex;align-items:center;justify-content:center;color:#fff}
.nv .mark.sq{border-radius:5px}
.nv .mark.is-on{border-color:#17406d;background:#17406d}
.nv .dot{width:8px;height:8px;border-radius:999px;background:#fff}
.nv input:focus-visible + .mark{outline:2px solid #17406d;outline-offset:2px}
.nv .olabel{font-size:15px;line-height:22px;font-weight:600}
.nv .odesc{font-size:13px;line-height:18px;color:#5b6371;margin-top:2px}
.nv .otip{padding:0 16px 12px 48px;margin-top:-8px}
.nv .otip .linkbtn{min-height:44px;font-size:13px}
.nv .explainer{background:#eef3f9;border-radius:10px;padding:12px 14px;font-size:14px;line-height:20px;color:#3a414d}
.nv .notice{display:flex;gap:10px;align-items:flex-start;padding:12px 14px;border-radius:10px;border:1px solid;font-size:14px;line-height:20px}
.nv .notice svg{flex:none}
.nv .n-info{background:#e6eefa;border-color:#c9d8f0;color:#1d3e78}
.nv .n-warn{background:#fcefd9;border-color:#f2dcb3;color:#7a4a06}
.nv .n-ok{background:#e4f2ec;border-color:#cbe6d8;color:#14583c}
.nv .n-danger{background:#fbe9e6;border-color:#f1c9c3;color:#a1372a}
.nv .ferr{display:flex;gap:6px;align-items:flex-start;color:#a1372a;font-size:13px;line-height:18px;font-weight:500;margin:0}
.nv .ferr svg{flex:none;margin-top:1px}
.nv .label{display:block;font-size:13px;line-height:18px;font-weight:600;color:#3a414d}
.nv .opt-tag{font-weight:400;color:#5b6371}
.nv .input{display:block;width:100%;height:44px;border:1px solid #8a919c;border-radius:6px;padding:0 12px;font-family:inherit;font-size:15px;line-height:22px;color:#151a22;background:#fff}
.nv .input::placeholder{color:#7b8290}
.nv .input.bad{border-color:#a1372a}
.nv select.input{appearance:none;-webkit-appearance:none;padding-right:36px;cursor:pointer}
.nv .selwrap{position:relative}
.nv .selwrap svg{position:absolute;right:12px;top:12px;pointer-events:none;color:#3a414d}
.nv .money{position:relative}
.nv .money span{position:absolute;left:12px;top:11px;font-size:15px;line-height:22px;color:#5b6371}
.nv .money .input{padding-left:26px;font-variant-numeric:tabular-nums}
.nv .chips{display:flex;flex-wrap:wrap;gap:8px}
.nv .chip{min-height:44px;padding:0 14px;border-radius:6px;border:1px solid #8a919c;background:#fff;font-family:inherit;font-size:14px;font-weight:500;color:#151a22;cursor:pointer}
.nv .chip:hover{background:#eef3f9}
.nv .chip.on{border-color:#17406d;background:#e8eef6;color:#17406d;font-weight:600}
.nv .fyegrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start}
.nv .avgline{justify-content:space-between;gap:12px;padding:12px 14px;background:#eef3f9;border-radius:10px}
.nv .divider{height:1px;background:#eef0f3;border:0;margin:0}
.nv .badge{display:inline-flex;align-items:center;height:22px;padding:0 10px;border-radius:999px;font-size:12px;line-height:16px;font-weight:600;white-space:nowrap}
.nv .b-warn{background:#fcefd9;color:#7a4a06}
.nv .b-neutral{background:#eef0f3;color:#3a414d}
.nv .rcard{background:#fff;border:1px solid #e3e6eb;border-top:3px solid #17406d;border-radius:10px;padding:24px 20px}
.nv .formname{margin:0;font-size:32px;line-height:38px;font-weight:700;letter-spacing:-.01em;color:#17406d}
.nv .tiles{display:grid;grid-template-columns:repeat(1,minmax(0,1fr));gap:12px}
.nv .tile{background:#fff;border:1px solid #e3e6eb;border-radius:10px;padding:16px 20px}
.nv .tdate{margin:4px 0 0;font-size:22px;line-height:28px;font-weight:700;font-variant-numeric:tabular-nums}
.nv .tdate.muted{font-size:17px;line-height:24px;color:#5b6371}
.nv .section{display:flex;flex-direction:column;gap:12px}
.nv .list{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:10px}
.nv .list li{display:flex;gap:10px;font-size:15px;line-height:22px}
.nv .list li svg{flex:none;margin-top:1px;color:#17406d}
.nv .facts li svg{color:#14583c}
.nv .check{list-style:none;margin:0;padding:0;border:1px solid #e3e6eb;border-radius:10px;background:#fff}
.nv .check label{display:flex;gap:12px;align-items:flex-start;padding:12px 16px;cursor:pointer;min-height:48px;font-size:15px;line-height:22px}
.nv .check li + li label{border-top:1px solid #eef0f3}
.nv .check .done .t{color:#5b6371;text-decoration:line-through}
.nv .boxrow{gap:12px;align-items:flex-start;cursor:pointer;min-height:44px;font-size:14px;line-height:20px;padding-top:4px}
.nv .icontile{flex:none;width:40px;height:40px;border-radius:10px;background:#e8eef6;color:#17406d;display:flex;align-items:center;justify-content:center}
.nv .icontile.ok{background:#e4f2ec;color:#14583c}
.nv .cta{background:#17406d;color:#fff;border-radius:10px;padding:24px 20px}
.nv .cta .eyebrow{color:#7cca62}
.nv .cta .body,.nv .cta .caption{color:#d1ddea}
.nv .cta .title{color:#fff}
.nv .answers{margin:0;padding-top:6px;padding-bottom:6px}
.nv .arow{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 0}
.nv .arow + .arow{border-top:1px solid #eef0f3}
.nv .arow dt{font-size:13px;line-height:18px;color:#5b6371}
.nv .arow dd{margin:2px 0 0;font-size:15px;line-height:22px}
.nv .res{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;max-width:1120px;margin:0 auto}
.nv .hp{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
/* Logo: full colour on white only, 120px minimum, clear space = the circles' height (about 24px at 120px). */
.nv .brandlogo{display:block;width:120px;height:auto;margin:4px 0 0}
.nv .signature{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px;background:#fff;border:1px solid #e3e6eb;border-radius:10px}
.nv .signature img{flex:none;width:120px;height:auto}
@media (max-width: 420px){.nv .signature{flex-direction:column-reverse;align-items:flex-start}}

/* calculator: bottom sheet on phones, dialog on desktop */
.nv .scrim{position:fixed;top:0;right:0;bottom:0;left:0;background:rgb(21 26 34 / .45);z-index:10}
.nv .sheet{position:fixed;left:0;right:0;bottom:0;z-index:11;background:#fff;border-radius:14px 14px 0 0;box-shadow:0 16px 48px rgb(21 26 34 / .18);padding:20px 16px 24px;display:flex;flex-direction:column;gap:16px;max-height:100vh;overflow:auto}
.nv .crow{display:grid;grid-template-columns:minmax(0,1fr) 128px;gap:12px;align-items:center}
.nv .ctotal{display:flex;justify-content:space-between;align-items:baseline;padding-top:12px;border-top:1px solid #e3e6eb}
.nv .handle{width:40px;height:4px;border-radius:999px;background:#e3e6eb;margin:-8px auto 0}
/* Inside an auto-height iframe "fixed" means the whole tall frame, so the script places the sheet in the visible part. */
.embedded .nv .scrim{position:absolute}
.embedded .nv .sheet{position:absolute;bottom:auto;max-height:none}

@media (min-width: 900px){
  .nv .wrap{padding:48px 40px 64px}
  .nv .panel{padding:32px 40px}
  .nv .rcard{padding:32px}
  .nv .tiles{grid-template-columns:repeat(2,minmax(0,1fr))}
  .nv .res{grid-template-columns:minmax(0,1fr) 360px;gap:32px;align-items:start}
  .nv aside .panel{padding:24px}
  .nv .sheet{left:50%;right:auto;bottom:auto;top:96px;width:500px;margin-left:-250px;border-radius:14px;padding:24px}
  .nv .handle{display:none}
}
@media (prefers-reduced-motion: reduce){.nv *{transition:none !important}}
