/* ============================================================================
   Next Step: picking paths and the live plan (screen and print).
   Loaded after postsecondary.css. Type floor 14px on screen, 10pt in print.
   No pill shapes.
   ========================================================================== */

/* how it works strip */
.ns-strip{list-style:none;display:flex;flex-wrap:wrap;gap:8px 28px;margin:16px 0 0;padding:0}
.ns-strip li{display:flex;align-items:center;gap:10px;font-weight:800;color:var(--mute)}
.ns-strip li span{display:inline-grid;place-items:center;width:30px;height:30px;border-radius:8px;border:1.5px solid var(--line-2);background:#fff;font-family:var(--font-display);font-weight:900;color:var(--mute)}
.ns-strip li.done{color:var(--ink-2)}
.ns-strip li.done span{background:var(--teal-soft);border-color:var(--teal-soft);color:var(--teal-deep)}
.ns-strip li[aria-current="step"]{color:var(--ink)}
.ns-strip li[aria-current="step"] span{background:var(--teal-deep);border-color:var(--teal-deep);color:#fff}

/* picked card */
.ns-ph{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 10px}
.ns-tag{display:inline-flex;align-items:center;gap:6px;flex:none;font-weight:800;font-size:.875rem;letter-spacing:.08em;text-transform:uppercase;color:var(--teal-deep)}
.ns-tag svg{width:15px;height:15px}
.ns-path.picked{border-color:var(--teal-deep);border-width:2px;background:var(--teal-tint);box-shadow:0 0 0 3px var(--teal-soft),var(--sh-sm)}
.ns-path.picked .ns-pickbtn{background:#fff;color:var(--teal-deep);border-color:var(--line-2)}
.ns-path.picked .ns-pickbtn:hover{background:var(--teal-tint);border-color:var(--teal)}

/* the plan on screen */
.ns-plan{margin-top:22px;background:#fff;border:1.5px solid var(--line);border-radius:var(--r);box-shadow:var(--sh);padding:clamp(18px,2.6vw,28px);scroll-margin-top:84px}
.ns-plan > h2{margin:0;font-size:clamp(1.4rem,2.6vw,1.8rem)}
.ns-plan > h2:focus{box-shadow:none}
.ns-plan-intro{margin:6px 0 0;color:var(--ink-2)}
.ns-plan.is-empty .ns-plan-intro{font-weight:700}
.ns-plan .ns-act{margin-top:18px}
.np-paths{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:16px}
.np-paths.n1{grid-template-columns:minmax(0,1fr)}
@media(max-width:800px){.np-paths{grid-template-columns:minmax(0,1fr)}}
.np-path{border:1.5px solid var(--line);border-radius:var(--r-sm);padding:14px 16px;min-width:0}
.np-h{display:flex;align-items:center;gap:10px;margin:0;font-size:1.2rem}
.np-box{display:inline-grid;place-items:center;width:22px;height:22px;flex:none;border:2px solid var(--ink-2);border-radius:5px;background:#fff;color:#fff}
.np-box.on{background:var(--teal-deep);border-color:var(--teal-deep)}
.np-box svg{width:15px;height:15px}
.np-pay{margin:6px 0 0;font-size:.95rem;line-height:1.45;color:var(--ink-2)}
.np-place{margin:0 0 12px;font-weight:700;color:var(--ink)}
.np-steps{margin:8px 0 0;padding-left:1.3em}
.np-steps li{padding:6px 0}
.np-steps li > span{display:block}
@media screen and (min-width:600px){
  .np-steps li > span{display:inline-block;vertical-align:top}
  .np-steps .np-t{width:calc(100% - 200px);padding-right:16px}
  .np-steps .np-by{width:200px;margin-top:0}
  .np-paths:not(.n1) .np-t{width:100%;padding-right:0}
  .np-paths:not(.n1) .np-by{width:200px;margin-top:6px}
}
.np-t a{font-weight:800;color:var(--teal-deep);text-decoration:underline;text-underline-offset:3px;text-decoration-color:var(--teal-soft)}
.np-t small{display:block;font-size:.875rem;color:var(--ink-2)}
.np-by{margin-top:6px;max-width:240px;border-bottom:1.5px solid var(--ink-2);font-size:.875rem;font-weight:700;color:var(--ink-2);padding-top:10px}
.np-lines{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px 20px;margin-top:18px}
.np-line span{display:block;border-bottom:1.5px solid var(--ink-2);padding-top:20px;font-size:.875rem;font-weight:700;color:var(--ink-2)}
.np-note{grid-column:1 / -1;grid-row:2;margin:4px 0 0;font-size:.875rem;color:var(--ink-2)}
@media(max-width:700px){.np-lines{grid-template-columns:minmax(0,1fr)}.np-note{grid-row:auto}}
.np-others{margin-top:16px}
.np-others p{margin:0;font-size:.95rem;font-weight:700;color:var(--ink-2)}
.np-others ul{list-style:none;display:flex;flex-wrap:wrap;gap:6px 22px;margin:6px 0 0;padding:0}
.np-others li{display:flex;align-items:center;gap:8px;font-weight:700}
.np-others .np-box{width:18px;height:18px}

/* plan bar: every width, while the plan is off screen */
.ns-planbar{position:fixed;left:50%;transform:translateX(-50%);bottom:14px;z-index:290;display:flex;align-items:center;gap:14px;max-width:calc(100% - 24px);width:max-content;min-height:48px;padding:10px 16px;background:#fff;border:1.5px solid var(--teal);border-radius:12px;box-shadow:var(--sh-lg);cursor:pointer;font:inherit;color:var(--ink)}
.ns-planbar[hidden]{display:none}
.ns-planbar-t{min-width:0;font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ns-planbar-go{flex:none;font-weight:800;color:var(--teal-deep)}

/* ----- Print: one Letter page, matches the plan on screen --------------- */
@media print{
  @page{size:letter;margin:.5in}
  body{background:#fff!important}
  .hello-strip,.site-head,.nav-scrim,.site-foot,.skip,.ns-planbar,.tk-bar{display:none!important}
  body[data-tool] main > section:not(.ps-print){display:none!important}
  .ns-print{display:block!important;background:#fff!important;padding:0!important}
  .ns-print .wrap{max-width:none;padding:0}
  .np-title{font-family:var(--font-display);font-weight:900;font-size:22pt;margin:0;color:#111}
  .np-intro{margin:4px 0 0;font-size:12pt;color:#111}
  .ns-print .np-paths{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:10px}
  .ns-print .np-paths.n1{grid-template-columns:1fr}
  .ns-print .np-path{border:1px solid #999;border-radius:8px;padding:8px 12px;break-inside:avoid}
  .ns-print .np-h{font-size:14pt;color:#111;gap:8px}
  .ns-print .np-box{width:16px;height:16px;border:1.5px solid #111;border-radius:3px;color:#fff}
  .ns-print .np-box.on{background:#111}
  .ns-print .np-box svg{width:12px;height:12px}
  .ns-print .np-pay{margin:2px 0 0;font-size:10pt;line-height:1.35;color:#222}
  .ns-print .np-place{margin:0 0 6px;font-size:10.5pt;color:#111}
  .ns-print .np-steps{margin:4px 0 0;padding-left:18px}
  .ns-print .np-steps li{display:list-item;padding:3px 0;font-size:10.5pt}
  .ns-print .np-steps li > span{display:inline-block;vertical-align:top}
  .ns-print .np-t{width:62%}
  .ns-print .np-t small{font-size:10pt;color:#444}
  .ns-print .np-by{width:34%;max-width:none;margin:0;border-bottom:1px solid #444;font-size:10pt;font-weight:400;color:#333;padding-top:6px}
  .ns-print .np-paths.n1 .np-t,.ns-print .np-paths.n1 .np-by{width:48%}
  .ns-print .np-lines{display:grid;grid-template-columns:repeat(3,1fr);gap:4px 18px;margin-top:12px}
  .ns-print .np-line span{border-bottom:1px solid #444;padding-top:18px;font-size:10.5pt;font-weight:400;color:#333}
  .ns-print .np-note{font-size:10.5pt;color:#333}
  .ns-print .np-others{margin-top:12px}
  .ns-print .np-others p{font-size:11pt;color:#111}
  .ns-print .np-others ul{display:flex;gap:6px 24px}
  .ns-print .np-others li{font-size:11pt;color:#111}
  .ns-print .ps-fine{display:block;margin-top:12px;font-size:10pt;line-height:1.35;color:#333;max-width:none}
  .ns-print a{color:#111;text-decoration:none}
}

/* Tighter gap between the tool and the source footer */
main > .section-tight:not(.pt-foot){padding-bottom:clamp(16px,2.2vw,26px)}
main .ns-foot{padding-top:clamp(18px,2.2vw,28px)}

/* ===== Polish pass (2026-11-28) ===== */
/* The question card fills the content width; answers sit side by side */
.ns-ask{max-width:none;margin:24px 0 0}
.ns-opts{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}
.ns-opts button{display:flex;align-items:center;justify-content:center;text-align:center;min-height:96px}
@media(max-width:560px){.ns-opts button{min-height:64px;justify-content:flex-start;text-align:left}}
/* Add to my plan: the button sits at the foot of every card, last lines align */
.ns-pickrow{margin-top:auto;display:flex;flex-direction:column;gap:6px}
.ns-pickrow .ns-pickbtn{margin-top:0;width:100%}
.ns-goplan{align-self:center;font:inherit;font-weight:800;font-size:.95rem;color:var(--teal-deep);background:none;border:0;min-height:44px;padding:0 8px;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
/* How-it-works strip spans the row in thirds */
@media(min-width:701px){.ns-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 20px}}
/* Trade picker: the hint fills the row until a trade is picked */
.ns-picked .ns-pick-none{grid-column:1 / -1;border:0;background:none;padding:0;font-weight:700;color:var(--ink-2)}

/* Status line on step 1: loading cue, and a clear message if the data does not load */
#ns-msg{margin:10px 0 0}
#ns-msg:empty{margin:0}
/* Trades to compare: the picked trades share the whole row */
@media(min-width:701px){.ns-picked{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr)}}
