
  /* artykuł pod narzędziem: zaczyna się pod pierwszym ekranem (narzędzie dalej wypełnia cały ekran) */
  .tart-slot:empty { display: none; }
  body.app-mode .tart-slot, #tool-send.sd-recv-mode .tart-slot { display: none; }
  body.app-mode .view.tool.has-tart > .container { min-height: 0; }
  body:not(.app-mode) .view.tool.has-tart:not(.app) > .container { min-height: calc(100vh - var(--tart-top, 113px)); min-height: calc(100dvh - var(--tart-top, 113px)); }
  /* edytor i zaczernianie (ekran startowy edytora): tak samo – pierwszy ekran, nagłówek i pole na plik wyśrodkowane w pionie */
  body:not(.app-mode) #tool-edit:has(#eempty:not([hidden])) #eempty .emptyin { min-height: calc(100vh - var(--tart-top, 113px)); min-height: calc(100dvh - var(--tart-top, 113px)); }
  body:not(.app-mode) #tool-edit:has(#eempty:not([hidden])) #eempty .toolhead { margin-top: auto !important; }
  body:not(.app-mode) #tool-edit:has(#eempty:not([hidden])) #eempty .dzwrap { margin-bottom: auto; padding-bottom: 24px; }
  body:not(.app-mode) #tool-edit:has(#eempty:not([hidden])) #eempty .tool-info-cards { margin-top: 0 !important; }
  .tart { position: relative; margin-top: 8px; padding: 64px 0 40px; border-top: 1px solid var(--border);
    background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 5%, transparent), transparent 260px); }
  .tart-in { max-width: 920px; margin: 0 auto; padding: 0 24px; box-sizing: border-box; }
  @media (max-width: 520px) { .tart { padding: 44px 0 28px; } .tart-in { padding: 0 16px; } }
  .tart-kicker { margin: 0 0 8px; color: var(--accent); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
  body:not(.light-theme) .tart-kicker { color: color-mix(in srgb, var(--accent) 55%, #fff); }
  .tart h2 { margin: 0 0 14px; font-size: clamp(1.55rem, 2.8vw, 2.1rem); line-height: 1.2; letter-spacing: -.02em; }
  .tart-lead { margin: 0; max-width: 72ch; color: var(--muted); font-size: 1.05rem; line-height: 1.75; }
  .tart-steps { list-style: none; counter-reset: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin: 32px 0 36px; padding: 0; }
  .tart-steps li { position: relative; padding: 20px 18px 18px; border: 1px solid var(--border); border-radius: 16px; background: var(--card); }
  .tart-n { display: grid; place-items: center; width: 32px; height: 32px; margin-bottom: 12px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--text); font-weight: 800; font-size: .95rem; }
  .tart-steps strong { display: block; margin-bottom: 6px; font-size: 1rem; }
  .tart-steps p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.6; }
  @media (max-width: 560px) {
    .tart-steps { gap: 10px; margin: 26px 0 30px; }
    .tart-steps li { display: grid; grid-template-columns: 32px 1fr; column-gap: 14px; padding: 14px 16px; }
    .tart-n { grid-row: span 2; margin: 0; }
    .tart-steps strong { margin: 5px 0 4px; }
  }
  .tart-blocks { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 26px 40px; margin: 0 0 40px; }
  .tart-block h3, .tart-faqh { margin: 0 0 10px; font-size: 1.12rem; letter-spacing: -.01em; }
  .tart-block p { margin: 0; color: var(--muted); line-height: 1.7; }
  .tart-block ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
  .tart-block li { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); line-height: 1.6; }
  .tart-block li svg { flex: none; width: 18px; height: 18px; margin-top: 3px; padding: 2px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 16%, transparent); fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; color: var(--text); box-sizing: border-box; }
  .tart-faqh { margin-bottom: 14px; }
  .tart-faq { display: grid; gap: 8px; margin: 0 0 32px; }
  .tart-faq details { border: 1px solid var(--border); border-radius: 14px; background: var(--card); transition: border-color .15s; }
  .tart-faq details[open] { border-color: color-mix(in srgb, var(--accent) 45%, var(--border)); }
  .tart-faq summary { position: relative; padding: 15px 48px 15px 18px; font-weight: 650; cursor: pointer; list-style: none; }
  .tart-faq summary::-webkit-details-marker { display: none; }
  .tart-faq summary::after { content: ""; position: absolute; right: 18px; top: 50%; width: 9px; height: 9px; margin-top: -6px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s; }
  .tart-faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
  .tart-faq summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 14px; }
  .tart-faq details p { margin: 0; padding: 0 18px 16px; color: var(--muted); line-height: 1.7; }
  @media (prefers-reduced-motion: reduce) { .tart-faq summary::after, .tart-faq details { transition: none; } }
  .tart-guide { display: flex; align-items: center; gap: 14px; margin: 0 0 22px; padding: 16px 18px; border: 1px solid var(--border); border-radius: 16px; background: var(--card); color: var(--text); text-decoration: none; transition: border-color .15s, transform .15s; }
  .tart-guide:hover { border-color: var(--accent); transform: translateY(-1px); }
  .tart-guide small { display: block; margin-bottom: 2px; color: var(--muted); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
  .tart-guide > span:nth-child(2) { flex: 1; font-weight: 650; line-height: 1.4; }
  .tart-guide-ico { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: color-mix(in srgb, var(--accent) 14%, transparent); }
  .tart-guide-ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; }
  .tart-arrow { color: var(--muted); font-size: 1.2rem; }
  .tart-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
  .tart-links span { margin-right: 4px; color: var(--muted); font-size: .9rem; }
  .tart-links a { padding: 7px 13px; border: 1px solid var(--border); border-radius: 999px; background: var(--card); color: var(--text); font-size: .9rem; font-weight: 600; text-decoration: none; }
  .tart-links a:hover { border-color: var(--accent); }
