/* Sprite sheet packer landing page (tools/sprite-sheet-workbench only) */
.mt-promise>p.tp-plan,.tp-plan{margin:10px 0 0;font-size:.9rem;line-height:1.6;color:#4a5670}
.tp-plan a{display:inline-flex;align-items:center;min-height:40px;color:#1f4fd6;font-weight:700;text-decoration:underline;text-underline-offset:3px}
.tp-plan a:focus-visible,.tp-step pre:focus-visible{outline:3px solid #1f5cf0;outline-offset:3px;border-radius:4px}

.tp-nw{white-space:nowrap}
.mt-promise>.tp-limits{margin:14px 0 0;display:grid;gap:10px;padding:16px 18px;border:1px solid #cfdaea;border-radius:16px;background:#f8faff}
.tp-limits h2{margin:0;font-size:1rem;line-height:1.3;color:#101828}
.tp-limits ul{display:grid;gap:8px;margin:0;padding:0;list-style:none}
.tp-limits li{display:flex;align-items:flex-start;gap:10px;font-size:.9rem;line-height:1.5;color:#27324a}
.tp-limits li b{flex:0 0 auto;min-width:44px;padding:1px 8px;border-radius:999px;background:#e3f4ea;color:#11643a;font-size:.74rem;font-weight:800;letter-spacing:.04em;text-align:center;text-transform:uppercase;line-height:1.7}
.tp-limits li.tp-pro b{background:#e8efff;color:#1f45b8}
.tp-limits p{margin:0;font-size:.86rem;line-height:1.55;color:#4a5670}
.tp-limits a{display:inline-flex;align-items:center;min-height:40px;color:#1f4fd6;font-weight:700;text-decoration:underline;text-underline-offset:3px}
.tp-limits a:focus-visible{outline:3px solid #1f5cf0;outline-offset:3px;border-radius:4px}
.tp-defs{position:absolute;width:0;height:0;overflow:hidden}
.tp-preview{min-width:0;display:grid;gap:16px;padding:22px;border:1px solid #cfdaea;border-radius:20px;background:#fff;box-shadow:0 18px 48px rgba(9,34,70,.08)}
.tp-preview-head{display:grid;gap:4px}
.tp-preview-head h2{margin:0;font-size:1.2rem;line-height:1.3;letter-spacing:-.01em;color:#101828}
.tp-preview-head p{margin:0;font-size:.9rem;color:#4a5670}
.tp-flow{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;margin:0;padding:0;list-style:none}
.tp-step{min-width:0;display:grid;align-content:start;gap:10px;padding:14px;border:1px solid #dbe3f0;border-radius:14px;background:#f8faff}
.tp-step>small{font-size:.74rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#3d4d6b}
.tp-step-json{grid-column:1/-1;background:#0d1f3a;border-color:#0d1f3a}
.tp-step-json>small{color:#c9d6ee}
.tp-frames{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0;padding:0;list-style:none}
.tp-frames li{display:grid;justify-items:center;gap:4px;padding:6px 4px;border:1px dashed #b3c2dc;border-radius:8px;background:#fff}
.tp-frames svg{width:52px;height:52px}
.tp-frames span{font:600 .72rem/1.3 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;color:#3d4d6b;overflow-wrap:anywhere}
.tp-sheet{display:block;width:100%;max-width:190px;height:auto;margin:0 auto;border:1px solid #9fb0d0;border-radius:4px;background:#eef2fa}
.tp-cap{margin:0;text-align:center;font-size:.8rem;color:#4a5670}
.tp-step pre{margin:0;max-width:100%;overflow-x:auto;color:#e6edf9;font:500 .78rem/1.55 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;white-space:pre}
.tp-also{margin:0;font-size:.86rem;line-height:1.55;color:#4a5670}

@media (max-width:800px){
  .mt-public .mt-promise>.tp-limits{order:5;margin:0}
  .mt-public .mt-hero>.tp-preview{order:6}
}
@media (max-width:430px){
  .tp-preview{padding:16px;gap:12px}
  .tp-flow{gap:10px}
  .tp-step{padding:12px}
  .tp-frames svg{width:36px;height:36px}
  .tp-flow{grid-template-columns:minmax(0,1fr)}
  .tp-frames{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
  .tp-frames span{font-size:.64rem}
  .tp-step pre{font-size:.7rem}
  .tp-nw{white-space:normal}
}
