/* ==========================================================================
   Nasıl Yapılır — destek merkezi (/nasil-yapilir)
   site.css değişkenlerini kullanır. .ny-doc altındaki sınıflar panel Yardım Merkezi
   içeriğinden gelir (sub-title, help-table, box, tag, field-row, step-list, flow, formula…).
   ========================================================================== */

/* ── Hero ─────────────────────────────────────────────────────────────── */
.ny-hero { padding: var(--s6) 0 var(--s5); background: radial-gradient(1200px 400px at 85% -10%, var(--brand-soft), transparent 60%), var(--surface); border-bottom: 1px solid var(--line); }
.ny-hero h1 { margin-bottom: var(--s2); }
.ny-hero-grid { display: grid; gap: var(--s5); align-items: end; }
@media (min-width: 992px) { .ny-hero-grid { grid-template-columns: minmax(0, 1fr) 300px; } }
.ny-hero .lead { margin-bottom: var(--s4); }

.ny-stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s2); }
@media (min-width: 992px) { .ny-stats { grid-template-columns: 1fr; } }
.ny-stats li { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s2) var(--s3); box-shadow: var(--shadow-1); }
.ny-stats strong { display: block; font-family: var(--font-head); font-size: 32px; line-height: 1.1; color: var(--brand); letter-spacing: -0.02em; }
.ny-stats span { font-size: 14px; color: var(--muted); }

/* Arama */
.ny-search { position: relative; max-width: 640px; }
.ny-search > i { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.ny-search input { width: 100%; height: 60px; border: 1px solid var(--line); border-radius: 14px; padding: 0 56px 0 52px; font: inherit; font-size: 17px; color: var(--ink); background: var(--white); box-shadow: var(--shadow-1); outline: none; transition: border-color .15s ease, box-shadow .15s ease; }
.ny-search input:focus { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-glow); }
.ny-search input::-webkit-search-cancel-button { cursor: pointer; }
.ny-search kbd { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font: 600 13px var(--font-body); color: var(--muted); border: 1px solid var(--line); border-radius: 6px; padding: 1px 8px; background: var(--surface); }
.ny-search input:focus ~ kbd { display: none; }
.ny-search-sm input { height: 44px; font-size: 15px; padding: 0 12px 0 40px; border-radius: 10px; box-shadow: none; }
.ny-search-sm > i { left: 14px; font-size: 14px; }

.ny-search-results { position: absolute; z-index: 50; top: calc(100% + 8px); left: 0; right: 0; background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-2); max-height: min(70vh, 520px); overflow-y: auto; padding: 6px; }
.ny-search-sm .ny-search-results { min-width: 320px; }
.ny-search-results a { display: flex; gap: 12px; padding: 10px 12px; border-radius: 10px; color: var(--ink); }
.ny-search-results a:hover, .ny-search-results a.on { background: var(--surface); color: var(--ink); }
.ny-search-results a > i { flex: 0 0 32px; height: 32px; border-radius: 9px; background: var(--brand-soft); color: var(--brand-ink); display: inline-flex; align-items: center; justify-content: center; font-size: 14px; margin-top: 2px; }
.ny-search-results strong { display: block; font-size: 15px; }
.ny-search-results small { display: block; font-size: 12px; color: var(--brand-ink); font-weight: 600; margin-bottom: 2px; }
.ny-search-results span.snip { display: block; font-size: 13px; color: var(--muted); line-height: 1.45; }
.ny-search-results mark { background: var(--accent-soft); color: var(--accent-ink); border-radius: 3px; padding: 0 2px; }
.ny-search-results .empty { padding: 16px; color: var(--muted); font-size: 14px; }

.ny-popular { margin-top: var(--s3); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; }
.ny-popular > span { color: var(--muted); font-weight: 600; margin-right: 4px; }
.ny-popular a { padding: 6px 12px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); color: var(--ink-2); font-weight: 600; }
.ny-popular a:hover { border-color: var(--brand); color: var(--brand-ink); }

/* ── Yol haritası ─────────────────────────────────────────────────────── */
.ny-roadmap { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s2); grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); counter-reset: none; }
.ny-roadmap a { position: relative; height: 100%; display: flex; flex-direction: column; gap: 6px; padding: var(--s3); border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white); color: var(--ink-2); transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease; }
.ny-roadmap a:hover { border-color: var(--brand); transform: translateY(-2px); box-shadow: var(--shadow-2); color: var(--ink-2); }
.ny-roadmap .no { font-family: var(--font-head); font-weight: 800; font-size: 14px; color: var(--brand); background: var(--brand-soft); border-radius: 8px; padding: 2px 10px; align-self: flex-start; }
.ny-roadmap strong { font-family: var(--font-head); font-size: 19px; color: var(--ink); }
.ny-roadmap .txt { font-size: 15px; color: var(--muted); line-height: 1.5; }
.ny-roadmap .go { margin-top: auto; padding-top: 8px; font-size: 14px; font-weight: 700; color: var(--brand-ink); display: inline-flex; gap: 6px; align-items: center; }
.ny-roadmap a:hover .go { gap: 10px; }

/* ── Konu grupları ────────────────────────────────────────────────────── */
.ny-groups { columns: 3 320px; column-gap: var(--s3); }
.ny-group { break-inside: avoid; margin-bottom: var(--s3); background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s3); scroll-margin-top: 100px; }
.ny-group-head { display: flex; gap: var(--s2); align-items: flex-start; margin-bottom: var(--s2); }
.ny-group-head .ico, .ny-title .ico { flex: 0 0 44px; height: 44px; border-radius: 12px; background: var(--brand); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 18px; }
.ny-group-head h3 { margin: 0 0 4px; font-size: 20px; }
.ny-group-head p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.45; }
.ny-group ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.ny-group li a { display: flex; align-items: center; gap: 12px; padding: 10px 4px; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: 15px; }
.ny-group li:last-child a { border-bottom: 0; }
.ny-group li a i { width: 18px; text-align: center; color: var(--brand); font-size: 14px; }
.ny-group li a span { flex: 1; }
.ny-group li a small { font-size: 12px; font-weight: 600; color: var(--muted); background: var(--surface); border-radius: 999px; padding: 1px 8px; white-space: nowrap; }
.ny-group li a:hover { color: var(--brand-ink); }
.ny-group li a:hover span { text-decoration: underline; text-underline-offset: 3px; }

/* ── Rutinler ve hatalar ──────────────────────────────────────────────── */
.ny-routine { display: grid; gap: var(--s3); }
@media (min-width: 900px) { .ny-routine { grid-template-columns: 1fr 1fr; } }
.ny-routine > div { border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s3) var(--s4); background: var(--white); }
.ny-routine h3 { display: flex; align-items: center; gap: 10px; font-size: 21px; }
.ny-routine h3 i { color: var(--brand); }
.ny-routine h3 small { font-family: var(--font-body); font-weight: 600; font-size: 13px; color: var(--muted); margin-left: auto; }
.ny-routine ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.ny-routine li { display: grid; grid-template-columns: 170px 1fr; gap: var(--s2); padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; }
.ny-routine li strong { color: var(--ink); }
.ny-routine li span { color: var(--muted); }
@media (max-width: 560px) { .ny-routine li { grid-template-columns: 1fr; gap: 2px; } .ny-routine > div { padding: var(--s3); } }

.ny-mistakes { display: grid; gap: var(--s2); grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.ny-mistake { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s3); display: flex; flex-direction: column; gap: 8px; }
.ny-mistake p { margin: 0; font-size: 15px; display: flex; gap: 10px; }
.ny-mistake .bad { font-weight: 700; color: var(--ink); }
.ny-mistake .bad i { color: var(--danger); margin-top: 5px; }
.ny-mistake .res { color: var(--muted); padding-left: 24px; font-size: 14px; }
.ny-mistake .ok { color: #05603a; font-weight: 600; background: #ecfdf3; border-radius: 10px; padding: 10px 12px; margin-top: auto; }
.ny-mistake .ok i { margin-top: 5px; }
.ny-more { margin: var(--s3) 0 0; }

/* ── Konu sayfası ─────────────────────────────────────────────────────── */
.ny-hero-sm { padding: var(--s5) 0 var(--s4); }
.ny-hero-sm .wrap { max-width: 1320px; }
.ny-title { display: flex; gap: var(--s2); align-items: flex-start; }
.ny-title .ico { flex-basis: 56px; height: 56px; border-radius: 16px; font-size: 22px; margin-top: 4px; }
.ny-title h1 { font-size: clamp(30px, 4vw, 46px); margin-bottom: var(--s1); }
.ny-title .lead { margin: 0; max-width: 760px; }
.ny-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--s3); }
.ny-meta .chip { font-size: 13px; padding: 7px 12px; background: var(--white); border-color: var(--line); }
.ny-meta .ny-badge { background: var(--accent-soft); color: var(--accent-ink); border-color: transparent; text-transform: uppercase; letter-spacing: .04em; }
@media (max-width: 560px) { .ny-title .ico { display: none; } }

.ny-page { padding: var(--s5) 0 var(--s6); }
.ny-layout { display: grid; gap: var(--s5); max-width: 1320px; }
@media (min-width: 1100px) { .ny-layout { grid-template-columns: 280px minmax(0, 1fr); } }
.ny-side { min-width: 0; }
.ny-side-inner { position: sticky; top: 96px; max-height: calc(100vh - 112px); overflow-y: auto; padding-right: 6px; scrollbar-width: thin; }
.ny-side-nav { margin-top: var(--s2); }
.ny-side-nav details { border-bottom: 1px solid var(--line); }
.ny-side-nav summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 12px 4px; font-weight: 700; font-size: 14px; color: var(--ink); }
.ny-side-nav summary::-webkit-details-marker { display: none; }
.ny-side-nav summary > i:first-child { width: 18px; text-align: center; color: var(--brand); }
.ny-side-nav summary .chev { margin-left: auto; font-size: 11px; color: var(--muted); transition: transform .2s ease; }
.ny-side-nav details[open] summary .chev { transform: rotate(180deg); }
.ny-side-nav a { display: block; padding: 7px 10px 7px 32px; margin: 0 0 2px; border-radius: 8px; font-size: 14px; color: var(--ink-2); line-height: 1.4; }
.ny-side-nav a:hover { background: var(--surface); color: var(--brand-ink); }
.ny-side-nav a.active { background: var(--brand-soft); color: var(--brand-ink); font-weight: 700; }
.ny-side-nav details > a:last-of-type { margin-bottom: 10px; }
@media (max-width: 1099.98px) {
    .ny-side { order: 2; }
    .ny-side-inner { position: static; max-height: none; overflow: visible; padding: var(--s3); border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); }
    .ny-side .ny-search { display: none; }
    .ny-side-nav { margin-top: 0; }
}

.ny-main { min-width: 0; }
.ny-onpage { border: 1px solid var(--line); background: var(--surface); border-radius: var(--r-md); padding: var(--s2) var(--s3); margin-bottom: var(--s4); }
.ny-onpage strong { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 8px; }
.ny-onpage ol { margin: 0; padding: 0 0 0 20px; columns: 2 260px; column-gap: var(--s4); font-size: 14px; }
.ny-onpage li { break-inside: avoid; padding: 3px 0; color: var(--muted); }
.ny-onpage li a { color: var(--ink-2); }
.ny-onpage li a:hover { color: var(--brand); }
.ny-onpage li:not(.is-step) { list-style: square; }

.ny-part { display: flex; flex-direction: column; gap: 4px; font-size: clamp(24px, 2.6vw, 32px); margin: var(--s5) 0 var(--s3); scroll-margin-top: 100px; }
.ny-main > .ny-part:first-of-type, .ny-onpage + .ny-part { margin-top: 0; }
.ny-part span { font-family: var(--font-body); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-ink); }

/* Ekran ekran adımlar */
.ny-steps { display: grid; gap: var(--s3); counter-reset: none; }
.ny-step { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); padding: var(--s3); scroll-margin-top: 100px; box-shadow: var(--shadow-1); }
.ny-step > header { display: flex; gap: var(--s2); align-items: flex-start; margin-bottom: var(--s2); }
.ny-step > header .no { flex: 0 0 40px; height: 40px; border-radius: 50%; background: var(--brand); color: #fff; font-family: var(--font-head); font-weight: 800; display: inline-flex; align-items: center; justify-content: center; font-size: 17px; }
.ny-step > header .path { display: block; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--brand-ink); margin: 2px 0 2px; }
.ny-step > header h3 { margin: 0; font-size: clamp(19px, 1.8vw, 22px); }
.ny-step-body { display: grid; gap: var(--s3); align-items: start; }
@media (min-width: 1200px) {
    .ny-step:not(.multi):not(.nofig) .ny-step-body { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
}
.ny-step.multi .ny-step-media { display: grid; gap: var(--s2); grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.ny-step-text { font-size: 15.5px; }
.ny-step-text p { margin-bottom: 10px; }
.ny-step-text b, .ny-step-text strong { color: var(--ink); }
.ny-num { list-style: none; margin: 0 0 var(--s2); padding: 0; counter-reset: ny; display: grid; gap: 10px; }
.ny-num li { counter-increment: ny; position: relative; padding-left: 38px; line-height: 1.55; }
.ny-num li::before { content: counter(ny); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-ink); font-weight: 800; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.ny-cards { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); margin-bottom: var(--s2); }
.ny-card { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: var(--surface); }
.ny-card h4 { font-size: 15px; margin: 0 0 4px; }
.ny-card p { font-size: 14px; color: var(--muted); margin: 0; }
.ny-tip { display: flex; gap: 12px; background: var(--accent-soft); border-left: 4px solid var(--accent); border-radius: 10px; padding: 12px 16px; font-size: 14.5px; margin-top: 4px; }
.ny-tip > i { color: #c98410; margin-top: 4px; }
.ny-tip b { color: var(--accent-ink); }

/* Ekran görüntüsü */
.ny-shot { margin: 0; }
.ny-shot a { display: block; position: relative; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--surface-2); cursor: zoom-in; }
.ny-shot img { display: block; width: 100%; height: auto; aspect-ratio: 8 / 5; object-fit: contain; }
.ny-shot a::after { content: "\f00e"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; right: 10px; bottom: 10px; width: 34px; height: 34px; border-radius: 50%; background: rgba(11, 21, 48, .72); color: #fff; font-size: 14px; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .15s ease; }
.ny-shot a:hover::after, .ny-shot a:focus-visible::after { opacity: 1; }
.ny-shot figcaption { font-size: 13.5px; color: var(--muted); margin-top: 8px; line-height: 1.5; }

/* Lightbox */
.ny-lb { position: fixed; inset: 0; z-index: 2000; background: rgba(6, 12, 30, .92); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 56px 16px 24px; }
.ny-lb[hidden] { display: none; }
.ny-lb img { max-width: min(1400px, 100%); max-height: calc(100vh - 140px); width: auto; height: auto; border-radius: 10px; background: #fff; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.ny-lb p { color: #d6def0; font-size: 14px; max-width: 900px; text-align: center; margin: 14px 0 0; }
.ny-lb button { position: absolute; border: 0; background: rgba(255, 255, 255, .12); color: #fff; width: 46px; height: 46px; border-radius: 50%; font-size: 18px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.ny-lb button:hover { background: rgba(255, 255, 255, .24); }
.ny-lb .x { top: 14px; right: 14px; }
.ny-lb .p { left: 14px; top: 50%; transform: translateY(-50%); }
.ny-lb .n { right: 14px; top: 50%; transform: translateY(-50%); }
.ny-lb .cnt { position: absolute; top: 24px; left: 50%; transform: translateX(-50%); color: #9fb0d4; font-size: 13px; font-weight: 600; }
@media (max-width: 640px) { .ny-lb .p, .ny-lb .n { top: auto; bottom: 16px; transform: none; } }
body.ny-lb-open { overflow: hidden; }

/* Yardım kutusu ve sayfalama */
.ny-help { display: flex; gap: var(--s2); align-items: center; margin-top: var(--s5); padding: var(--s3); border-radius: var(--r-md); background: var(--brand-soft); }
.ny-help > i { font-size: 26px; color: var(--brand); }
.ny-help strong { color: var(--ink); }
.ny-help p { margin: 2px 0 0; font-size: 14.5px; }
.ny-help .btn-x { margin-left: auto; }
@media (max-width: 640px) { .ny-help { flex-wrap: wrap; } .ny-help > i { display: none; } .ny-help .btn-x { margin-left: 0; } }
.ny-pager { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); margin-top: var(--s3); }
.ny-pager a { display: flex; flex-direction: column; gap: 4px; padding: var(--s2) var(--s3); border: 1px solid var(--line); border-radius: var(--r-md); color: var(--ink); }
.ny-pager a:hover { border-color: var(--brand); color: var(--brand-ink); }
.ny-pager a span { font-size: 13px; color: var(--muted); font-weight: 600; }
.ny-pager a strong { font-family: var(--font-head); font-size: 17px; }
.ny-pager .next { text-align: right; grid-column: 2; }
@media (max-width: 560px) { .ny-pager { grid-template-columns: 1fr; } .ny-pager .next { grid-column: 1; } }

/* ── Ayrıntılı anlatım (panel Yardım Merkezi içeriği) ──────────────────── */
.ny-doc { font-size: 16px; line-height: 1.7; color: var(--ink-2); }
.ny-doc > :first-child { margin-top: 0; }
.ny-doc p { margin: 0 0 14px; }
.ny-doc ul, .ny-doc ol { padding-left: 22px; margin: 0 0 16px; }
.ny-doc li { margin-bottom: 6px; }
.ny-doc strong { color: var(--ink); }
.ny-doc code { font-size: .88em; background: var(--surface); border: 1px solid var(--line); border-radius: 5px; padding: 1px 6px; color: var(--ink); }
.ny-doc a { text-decoration: underline; text-decoration-color: rgba(0, 66, 215, .35); text-underline-offset: 3px; }
.ny-doc a:hover { text-decoration-color: currentColor; }
.ny-doc .sub-title { font-size: clamp(21px, 2vw, 25px); margin: var(--s5) 0 var(--s2); padding-top: var(--s3); border-top: 1px solid var(--line); scroll-margin-top: 100px; display: flex; align-items: center; gap: 12px; }
.ny-doc > .sub-title:first-child { border-top: 0; padding-top: 0; }
.ny-doc .sub-title::before { content: ""; width: 5px; height: 22px; border-radius: 3px; background: var(--brand); flex: none; }
.ny-doc .mini-title { font-family: var(--font-body); font-size: 13.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: var(--s3) 0 10px; }
.ny-doc .menu-path { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink-2); background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 5px 12px; margin: 0 6px 14px 0; }
.ny-doc .menu-path i { color: var(--brand); }
.ny-doc .ny-shot { margin: var(--s2) 0 var(--s3); max-width: 880px; }

.ny-doc .ny-table { overflow-x: auto; margin: 16px 0 20px; border: 1px solid var(--line); border-radius: 12px; }
.ny-step-text .ny-table { margin: 8px 0 14px; }
.help-table { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.55; }
.help-table th { background: var(--surface); color: var(--ink); font-weight: 700; text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.help-table td { padding: 11px 14px; border-top: 1px solid var(--line); vertical-align: top; }
.help-table tr:first-child td { border-top: 0; }
.help-table td:first-child { color: var(--ink); }
@media (max-width: 640px) { .help-table th { white-space: normal; } .help-table td, .help-table th { padding: 9px 10px; } }

.ny-doc .box { border-radius: 12px; padding: 18px 22px; margin: 20px 0; border-left: 4px solid; }
.ny-doc .box > strong { display: flex; align-items: baseline; gap: 2px; }
.ny-doc .box p:last-child { margin-bottom: 0; }
.ny-doc .box-blue { background: #eef3ff; border-color: var(--brand); }
.ny-doc .box-blue > strong i { color: var(--brand); }
.ny-doc .box-amber { background: var(--accent-soft); border-color: var(--accent); }
.ny-doc .box-amber > strong i { color: #c98410; }
.ny-doc .box-green { background: #ecfdf3; border-color: #12b76a; }
.ny-doc .box-green > strong i { color: #039855; }
.ny-doc .box-red { background: #fef3f2; border-color: #f04438; }
.ny-doc .box-red > strong i { color: #d92d20; }
.ny-doc .box-violet { background: #f4f3ff; border-color: #7a5af8; }
.ny-doc .box-violet > strong i { color: #6938ef; }
.ny-doc .box-dark { background: var(--ink); color: #d6def0; border-color: var(--accent); }
.ny-doc .box-dark strong { color: #fff; }

.ny-doc .tag { display: inline-block; font-size: 12px; font-weight: 700; padding: 1px 8px; border-radius: 6px; margin: 1px; vertical-align: 1px; line-height: 1.6; }
.ny-doc .tag-blue { background: #dbe6ff; color: #0036b3; }
.ny-doc .tag-green { background: #d1fadf; color: #05603a; }
.ny-doc .tag-amber { background: #fef0c7; color: #93370d; }
.ny-doc .tag-red { background: #fee4e2; color: #912018; }
.ny-doc .tag-violet { background: #ebe9fe; color: #4a1fb8; }
.ny-doc .tag-gray { background: #eef1f6; color: #475467; }

.ny-doc .field-row { display: grid; grid-template-columns: 200px 1fr; gap: var(--s2); padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.ny-doc .field-name { font-weight: 700; color: var(--ink); }
@media (max-width: 640px) { .ny-doc .field-row { grid-template-columns: 1fr; gap: 2px; } }

.ny-doc .step-list { list-style: none; padding: 0; margin: 14px 0 20px; display: grid; gap: 12px; }
.ny-doc .step-list li { display: flex; gap: 14px; align-items: flex-start; margin: 0; }
.ny-doc .step-num { flex: 0 0 28px; height: 28px; border-radius: 50%; background: var(--brand); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; margin-top: 1px; }
.ny-doc .step-num.amber { background: var(--accent); color: #2b1a00; }
.ny-doc .step-num.green { background: #12b76a; }
.ny-doc .step-num.red { background: #f04438; }

.ny-doc .flow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 16px 0; }
.ny-doc .flow-step { padding: 5px 13px; border-radius: 999px; font-size: 13px; font-weight: 700; border: 2px solid currentColor; white-space: nowrap; }
.ny-doc .flow-arrow { color: #98a2b3; }

.ny-doc .formula { font-family: ui-monospace, "Cascadia Code", Consolas, monospace; background: var(--ink); color: #9cc3ff; padding: 16px 20px; border-radius: 12px; margin: 12px 0; font-size: 13.5px; line-height: 1.8; overflow-x: auto; }
.ny-doc .formula .label, .ny-doc .formula .comment { color: #8492b3; }
.ny-doc .formula .result { color: #6ce9a6; font-weight: 700; }
.ny-doc hr { border: 0; border-top: 1px solid var(--line); margin: var(--s4) 0; }

/* Panel içeriğindeki Bootstrap yardımcı sınıfları (site yalnızca grid'i yükler) */
.ny-doc .small, .ny-doc small { font-size: .9em; }
.ny-doc .text-muted { color: var(--muted); }
.ny-doc .text-primary { color: var(--brand); }
.ny-doc .text-secondary { color: #667085; }
.ny-doc .text-success { color: #039855; }
.ny-doc .text-danger { color: #d92d20; }
.ny-doc .text-warning { color: #dc6803; }
.ny-doc .text-info { color: #0e7090; }
.ny-doc .fw-bold { font-weight: 700; }
.ny-doc .bg-success, .ny-doc .bg-danger, .ny-doc .bg-secondary, .ny-doc .bg-dark, .ny-doc .bg-primary, .ny-doc .bg-warning { color: #fff; border-radius: 6px; padding: 1px 7px; font-size: 12px; font-weight: 700; }
.ny-doc .bg-success { background: #12b76a; }
.ny-doc .bg-danger { background: #f04438; }
.ny-doc .bg-secondary { background: #667085; }
.ny-doc .bg-dark { background: var(--ink); }
.ny-doc .bg-primary { background: var(--brand); }
.ny-doc .bg-warning { background: var(--accent); color: #2b1a00; }

@media print {
    .site-header, .site-footer, .promo-bar, .wa-float, .ny-side, .ny-help, .ny-pager, .ny-search, .ny-onpage { display: none !important; }
    .ny-layout { display: block; }
    .ny-step { box-shadow: none; break-inside: avoid; }
    .ny-shot a::after { display: none; }
}

/* Kenar çubuğundaki arama: sonuçlar kaydırılabilir kenar çubuğunun içinde açılır (kesilmesin). */
.ny-search-sm .ny-search-results { position: static; min-width: 0; margin-top: 8px; box-shadow: none; max-height: none; }
.ny-search-sm .ny-search-results span.snip { display: none; }
