/* nwai.co/skills library. Loaded after styles.css, uses its tokens (Poppins, navy ink,
   brand blue, gold buttons). 760px is the site's one mobile breakpoint.
   Generated into site-v4/skills/skills.css by gen_skills.py; edit the kit copy. */

html, body { overflow-x: hidden; max-width: 100%; }

/* ---------- header */
.sk-hero { padding-bottom: 54px; }
.sk-hero h1 { font-size: clamp(31px, 4.3vw, 50px); color: #fff; max-width: 900px; margin: 10px 0 16px; text-wrap: balance; }
.sk-answer { font-size: clamp(16.5px, 1.8vw, 19px); color: rgba(255,255,255,.86); max-width: 760px; line-height: 1.55; margin: 0; }
.sk-crumbs { font-size: 13.5px; color: rgba(255,255,255,.7); display: flex; flex-wrap: wrap; gap: 6px; padding-top: 14px; }
.sk-crumbs a { color: rgba(255,255,255,.86); text-decoration: none; }
.sk-crumbs a:hover { text-decoration: underline; }
.sk-crumbs .sep { opacity: .5; }
.sk-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.sk-chip { display: inline-flex; align-items: center; min-height: 28px; padding: 3px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.18); }
.sk-chip.on { background: #fff; color: var(--navy); border-color: #fff; }
.sk-chip.muted { background: transparent; color: rgba(255,255,255,.8); }
.sk-actions { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; margin-top: 28px; }
.sk-actions .btn { padding: 15px 28px; font-size: 16px; }
.btn-ghost { color: #fff; font-weight: 600; font-size: 16px; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; padding: 10px 2px; }
.btn-ghost svg, .sk-more svg, .sk-card-link svg { width: 16px; height: 16px; flex: none; }
.btn-ghost:hover { text-decoration: underline; }

/* ---------- sections */
.sk-sec { padding: 64px 0; }
.sk-soft { background: var(--soft); }
.sk-narrow { max-width: 900px; }
.sk-h2 { font-size: clamp(24px, 2.8vw, 32px); font-weight: 800; color: var(--ink); margin: 0 0 18px; text-wrap: balance; }
.sk-sec-head { max-width: 800px; margin-bottom: 26px; }
.sk-sec-head p, .sk-p { color: var(--gray); font-size: 16.5px; margin: 0 0 14px; }
.sk-sample { display: inline-block; font-size: 12.5px; font-weight: 700; color: var(--navy); background: var(--soft-blue); border-radius: 6px; padding: 1px 8px; margin-left: 4px; }
.sk-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.sk-two p { color: var(--gray); font-size: 16.5px; margin: 0 0 14px; }
.sk-label { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--gray); margin-bottom: 10px; }

/* ---------- worked example */
.sk-ex { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 22px; align-items: start; }
.sk-input { margin: 0; white-space: pre-wrap; word-break: break-word; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 13.5px; line-height: 1.6; background: #FBFAF3; border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: 10px; padding: 18px 18px; color: #3C4350; }
.sk-doc { background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lift); overflow: hidden; }
.sk-doc-head { padding: 18px 22px 14px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #fff, #FAFBFD); }
.sk-doc-title { font-size: 17.5px; font-weight: 700; color: var(--ink); line-height: 1.35; }
.sk-doc-meta { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 10px 0 0; }
.sk-doc-meta div { display: flex; gap: 6px; font-size: 13px; }
.sk-doc-meta dt { color: var(--gray-soft); }
.sk-doc-meta dd { margin: 0; color: var(--ink); font-weight: 600; }
.sk-doc-sec { padding: 14px 22px; border-bottom: 1px solid var(--line-soft); }
.sk-doc-sec:last-child { border-bottom: 0; }
.sk-doc-sec h4 { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); margin: 0 0 8px; }
.sk-doc-sec p, .sk-doc-sec li { font-size: 14.5px; color: #3C4350; line-height: 1.55; }
.sk-doc-sec p { margin: 0 0 8px; }
.sk-doc-sec ul { margin: 0; padding-left: 18px; }
.sk-tscroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.sk-doc-table { width: 100%; border-collapse: collapse; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.sk-doc-table th { text-align: left; font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--gray); background: var(--soft); padding: 8px 10px; border-bottom: 1px solid var(--line); }
.sk-doc-table td { padding: 8px 10px; border-bottom: 1px solid var(--line-soft); color: #3C4350; vertical-align: top; }
.sk-doc-table .n { text-align: right; white-space: nowrap; }
.sk-doc-table tfoot td { font-weight: 700; color: var(--ink); background: var(--soft); border-top: 1px solid var(--line); border-bottom: 0; }
.sk-note { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0 0; font-size: 14.5px; color: var(--gray); max-width: 860px; }
.sk-note svg { width: 18px; height: 18px; color: var(--blue); flex: none; margin-top: 3px; }

/* ---------- ticks, steps, tabs */
.sk-ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sk-ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; color: #3C4350; line-height: 1.5; }
.sk-ticks svg { width: 17px; height: 17px; flex: none; margin-top: 3px; color: var(--blue); }
.sk-x svg { color: var(--dot); }
.sk-steps { margin: 0; padding-left: 22px; display: grid; gap: 10px; }
.sk-steps li { font-size: 15.5px; color: #3C4350; line-height: 1.55; padding-left: 4px; }
.sk-steps li::marker { font-weight: 800; color: var(--blue); }
.sk-steps.big li { font-size: 16.5px; }
.sk-tabs { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.sk-tablist { display: flex; border-bottom: 1px solid var(--line); background: var(--soft); }
.sk-tablist button { flex: 1 1 0; min-width: 0; min-height: 46px; border: 0; background: none; font: inherit; font-size: 15px; font-weight: 600; color: var(--gray); cursor: pointer; border-bottom: 3px solid transparent; }
.sk-tablist button[aria-selected="true"] { color: var(--ink); background: #fff; border-bottom-color: var(--blue); }
.sk-tabs [role="tabpanel"] { padding: 20px 22px; }
.sk-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 600; font-size: 15px; color: var(--blue); text-decoration: none; }
.sk-more:hover { text-decoration: underline; }

/* ---------- prompts and copy */
.sk-prompts { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
.sk-prompt { display: flex; gap: 12px; align-items: flex-start; justify-content: space-between; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 16px 16px 18px; }
.sk-soft .sk-prompt { background: #fff; }
.sk-prompt p { margin: 0; font-size: 15px; color: var(--ink); line-height: 1.5; min-width: 0; }
.sk-copy { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--line); background: #fff; font: inherit; font-size: 13px; font-weight: 600; color: var(--navy); cursor: pointer; }
.sk-copy:hover { background: var(--soft-blue); }
.sk-copy svg { width: 15px; height: 15px; }

/* ---------- boxes */
.sk-grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.sk-box { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px 20px; min-width: 0; }
.sk-box h3 { font-size: 17px; margin: 0 0 14px; color: var(--ink); }
.sk-box .sk-ticks li { font-size: 14.5px; }
.sk-box-note { background: var(--soft-blue); border-color: transparent; }
.sk-box-note p { font-size: 15px; color: #3C4350; margin: 0 0 10px; }

/* ---------- template */
.sk-tpl { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, .8fr); gap: 26px; align-items: start; }
.sk-fields { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.sk-fields td.f { font-weight: 700; color: var(--ink); width: 36%; }
.sk-tpl-dl { display: grid; gap: 12px; background: var(--soft); border-radius: 14px; padding: 22px; }
.sk-tpl-dl .btn { text-align: center; padding: 14px 20px; font-size: 15.5px; }
.sk-tpl-dl .btn-alt { background: #fff; border: 1px solid var(--line); }
.sk-tpl-dl .btn-alt:hover { background: var(--soft-blue); }
.sk-tpl-dl p { font-size: 14px; color: var(--gray); margin: 4px 0 0; }

/* ---------- skill file */
.sk-links { margin: 0 0 18px; padding-left: 20px; }
.sk-links li { font-size: 15px; color: #3C4350; margin: 6px 0; }
.sk-links a { color: var(--blue); font-weight: 600; }
.sk-md { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin-top: 8px; }
.sk-md summary { cursor: pointer; padding: 14px 18px; font-weight: 600; color: var(--ink); font-size: 15px; }
.sk-md-bar { display: flex; justify-content: flex-end; padding: 0 14px 8px; }
.sk-md pre { margin: 0; padding: 16px 18px; max-height: 460px; overflow: auto; background: #0E1624; color: #D6DEEA; font-size: 12.5px; line-height: 1.6; white-space: pre-wrap; word-break: break-word; }
.sk-credit { font-size: 13.5px; color: var(--gray-soft); margin: 14px 0 0; }
.sk-credit a { color: var(--gray); overflow-wrap: anywhere; }

/* ---------- FAQ: site .faq uses navy summaries */
.sk-faq { margin: 0; max-width: none; }

/* ---------- related */
.sk-rels { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; }
.sk-rel { display: flex; flex-direction: column; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px; text-decoration: none; color: inherit; transition: border-color .12s ease, box-shadow .12s ease; }
.sk-rel:hover { border-color: var(--blue); box-shadow: var(--shadow-card); }
.sk-rel-t { font-weight: 700; color: var(--ink); font-size: 16px; line-height: 1.35; }
.sk-rel-d { font-size: 14px; color: var(--gray); line-height: 1.5; }
.sk-rel-hub { background: var(--soft-blue); border-color: transparent; }

/* ---------- offer */
.sk-offer { padding: 56px 0; }
.sk-offer-box { display: flex; gap: 28px; align-items: center; justify-content: space-between; background: var(--navy); color: #fff; border-radius: var(--radius-lg); padding: 36px 40px; }
.sk-offer-box .sk-h2 { color: #fff; margin-bottom: 8px; }
.sk-offer-box p { color: rgba(255,255,255,.82); margin: 0; font-size: 16.5px; max-width: 680px; }
.sk-offer-box .btn { flex: none; padding: 15px 28px; font-size: 16px; }

/* ---------- hubs, cards, library */
.sk-hubtiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.sk-hubtile { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 15px 16px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; background: #fff; }
.sk-hubtile:hover { border-color: var(--blue); }
.sk-hubtile .t { font-weight: 700; color: var(--ink); font-size: 15px; line-height: 1.3; }
.sk-hubtile .n { font-size: 13px; color: var(--gray); flex: none; }
.sk-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.sk-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 16px 14px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.sk-card h3 { font-size: 16px; margin: 0; line-height: 1.35; color: var(--ink); }
.sk-card h3 a { color: inherit; text-decoration: none; }
.sk-card h3 a:hover { color: var(--blue); }
.sk-card p { font-size: 14px; color: var(--gray); margin: 0; line-height: 1.5; flex: 1 1 auto; }
.sk-card-foot { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.sk-card-link { display: inline-flex; align-items: center; gap: 5px; font-size: 13.5px; font-weight: 700; color: var(--blue); text-decoration: none; }
.sk-dl { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 600; color: var(--navy); text-decoration: none; padding: 5px 10px; border: 1px solid var(--line); border-radius: 8px; }
.sk-dl:hover { background: var(--soft-blue); }
.sk-dl svg { width: 14px; height: 14px; }
.sk-card .sk-chip.muted { color: var(--gray); border-color: var(--line); font-size: 12px; min-height: 24px; }
.sk-group { margin-top: 34px; }
.sk-group:first-of-type { margin-top: 8px; }
.sk-group-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.sk-group-head h3 { font-size: 19px; margin: 0; }
.sk-group-head h3 a { color: var(--ink); text-decoration: none; }
.sk-group-head h3 a:hover { color: var(--blue); }
.sk-group-head span { font-size: 13.5px; color: var(--gray); flex: none; }
.sk-libbar { display: flex; align-items: baseline; gap: 14px; justify-content: space-between; }
.sk-count { font-size: 14px; color: var(--gray); }
.sk-filter { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 10px; }
.sk-search { flex: 1 1 280px; min-width: 0; }
.sk-search input { width: 100%; min-height: 48px; padding: 0 16px; border: 1px solid #B9C0CB; border-radius: 10px; font: inherit; font-size: 16px; background: #fff; color: var(--ink); }
.sk-search input:focus { outline: 2px solid var(--blue); outline-offset: 1px; }
.sk-fchips { display: flex; flex-wrap: wrap; gap: 8px; }
.sk-f { min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font: inherit; font-size: 14px; font-weight: 600; color: var(--gray); cursor: pointer; }
.sk-f[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.sk-flow-wrap { background: var(--soft); border-radius: 16px; padding: 24px; }
.sk-flow { display: grid; gap: 10px; }
.sk-flow-step { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; text-decoration: none; }
.sk-flow-step:hover { border-color: var(--blue); }
.sk-flow-step .n { width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.sk-flow-step .t { font-weight: 700; color: var(--ink); font-size: 15.5px; }

/* ---------- guides */
.sk-article { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; align-items: start; }
.sk-toc { position: sticky; top: 120px; }
.sk-toc ol { margin: 0; padding-left: 18px; display: grid; gap: 8px; }
.sk-toc a { font-size: 14px; color: var(--gray); text-decoration: none; }
.sk-toc a:hover { color: var(--blue); }
.sk-prose { max-width: 760px; min-width: 0; }
.sk-prose .sk-h2 { margin-top: 38px; scroll-margin-top: 120px; }
.sk-prose .sk-h2:first-child { margin-top: 0; }
.sk-prose p { font-size: 17px; color: #3C4350; line-height: 1.7; margin: 0 0 16px; }
.sk-prose .sk-steps, .sk-prose .sk-ticks { margin: 4px 0 18px; }
.sk-callout { background: var(--soft-blue); border-radius: 10px; padding: 14px 16px; font-size: 15.5px !important; color: var(--navy) !important; }
.sk-try { margin-top: 36px; background: var(--soft); border-radius: 16px; padding: 22px; }
.sk-src { padding-left: 20px; }
.sk-src li { font-size: 14px; margin: 6px 0; }
.sk-src a { color: var(--blue); word-break: break-word; }

@media (max-width: 980px) {
  .sk-grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sk-ex, .sk-tpl { grid-template-columns: minmax(0, 1fr); }
  .sk-article { grid-template-columns: minmax(0, 1fr); }
  .sk-toc { position: static; }
}
@media (max-width: 760px) {
  .sk-sec { padding: 44px 0; }
  .sk-hero { padding-bottom: 40px; }
  .sk-two, .sk-grid4, .sk-hubtiles { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .sk-grid4, .sk-hubtiles { gap: 12px; }
  .sk-actions .btn { width: 100%; text-align: center; }
  .sk-offer-box { flex-direction: column; align-items: stretch; padding: 28px 22px; }
  .sk-offer-box .btn { text-align: center; }
  .sk-doc-head, .sk-doc-sec { padding-left: 16px; padding-right: 16px; }
  .sk-tabs [role="tabpanel"] { padding: 16px; }
  .sk-prompt { flex-direction: column; }
  .sk-toc { display: none; }
}
@media (prefers-reduced-motion: reduce) { .sk-rel { transition: none; } }
.sk-flag { background: #FFF4CC; color: #7A5300; border-radius: 4px; padding: 0 5px; font-size: .92em; font-weight: 600; white-space: normal; }
.sk-slot { background: var(--soft-blue); color: var(--navy); border-radius: 4px; padding: 0 4px; font-weight: 600; }

/* ---------- /ai-team ad + popup (2026-12-03) */
.sk-ad-wrap { padding: 8px 0 48px; }
.sk-ad { display: flex; align-items: center; gap: 28px; justify-content: space-between; background: linear-gradient(115deg, var(--hero-top) 0%, var(--navy) 55%, var(--hero-bottom) 140%); color: #fff; border-radius: var(--radius-lg); padding: 30px 36px; }
.sk-ad-kicker { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.sk-ad-h { font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; color: #fff; margin: 0 0 10px; line-height: 1.2; text-wrap: balance; }
.sk-ad p { color: rgba(255,255,255,.84); font-size: 16px; margin: 0 0 12px; max-width: 680px; line-height: 1.55; }
.sk-ad-proof { font-size: 13px; color: rgba(255,255,255,.7); font-weight: 600; }
.sk-ad-btn { flex: none; padding: 16px 30px; font-size: 17px; }
.sk-ad-inline { margin: 30px 0 34px; }
.sk-ad-inline .sk-ad { flex-direction: column; align-items: flex-start; padding: 26px 26px; }
.sk-pop[hidden] { display: none !important; }
.sk-pop { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px; }
.sk-pop-bg { position: absolute; inset: 0; background: rgba(5, 9, 15, .62); }
.sk-pop-card { position: relative; width: min(480px, 100%); background: var(--navy); color: #fff; border-radius: 20px; padding: 34px 30px 22px; box-shadow: 0 24px 60px rgba(0,0,0,.35); text-align: center; animation: skpop .22s ease-out; }
.sk-pop-card p { color: rgba(255,255,255,.84); font-size: 16px; margin: 0 0 20px; line-height: 1.55; }
.sk-pop-h { font-size: clamp(25px, 3.4vw, 32px); font-weight: 800; color: #fff; margin: 0 0 12px; line-height: 1.18; text-wrap: balance; }
.sk-pop-btn { display: block; width: 100%; padding: 16px 20px; font-size: 17px; text-align: center; }
.sk-pop .sk-ad-proof { margin-top: 12px; }
.sk-pop-x { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.sk-pop-x svg { width: 18px; height: 18px; }
.sk-pop-x:hover { background: rgba(255,255,255,.2); }
.sk-pop-no { margin-top: 10px; background: none; border: 0; color: rgba(255,255,255,.62); font: inherit; font-size: 14px; text-decoration: underline; cursor: pointer; padding: 8px; }
html.sk-pop-on { overflow: hidden; }
@keyframes skpop { from { transform: translateY(12px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (max-width: 760px) {
  .sk-ad { flex-direction: column; align-items: stretch; padding: 24px 20px; gap: 16px; }
  .sk-ad-btn { text-align: center; }
  .sk-pop { align-items: flex-end; padding: 0; }
  .sk-pop-card { width: 100%; border-radius: 20px 20px 0 0; padding: 30px 20px calc(18px + env(safe-area-inset-bottom, 0px)); }
}
@media (prefers-reduced-motion: reduce) { .sk-pop-card { animation: none; } }
