.batch-page { --batch-ink: #1d3557; --batch-red: #e63946; --batch-teal: #457b9d; --batch-paper: #f1faee; }
.batch-hero { max-width: 760px; margin-left: auto; margin-right: auto; }
.batch-badge { display: inline-flex; align-items: center; gap: .6rem; border: 1px solid #b7d9d7; border-radius: 999px; background: #fff; padding: .55rem .95rem; color: var(--batch-ink); font: 700 .75rem/1.3 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; }
.batch-badge span { color: var(--batch-red); }
.batch-hero h1 { margin: 1.6rem 0 1rem; color: var(--batch-ink); font-size: clamp(2.65rem, 7vw, 5.1rem); font-weight: 800; line-height: 1.05; letter-spacing: -.045em; }
.batch-hero > p { max-width: 660px; margin: 0 auto; color: #4b5563; font-size: clamp(1.05rem, 2vw, 1.22rem); line-height: 1.7; }
.batch-panel { margin-bottom: 2.5rem; border: 2px solid #e5e7eb; border-radius: 1.5rem; background: #fff; padding: clamp(1.4rem, 4vw, 3rem); box-shadow: 0 12px 30px rgba(29,53,87,.06); }
.batch-panel h2 { color: var(--batch-ink); font-size: clamp(1.55rem, 3vw, 2rem); font-weight: 800; line-height: 1.18; }
.batch-panel > p:not(.batch-kicker):not(.batch-status) { max-width: 800px; margin-top: .75rem; color: #4b5563; font-size: 1.03rem; line-height: 1.73; }
.batch-kicker { margin-bottom: .65rem; color: var(--batch-red); font: 800 .73rem/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .12em; }
.batch-fields { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; margin-top: 2rem; }
.batch-fields:has(> :nth-child(2):last-child) { grid-template-columns: repeat(2,minmax(0,1fr)); }
.batch-field { display: flex; flex-direction: column; gap: .55rem; color: var(--batch-ink); font-size: .92rem; font-weight: 750; }
.batch-field select, .batch-field input { min-width: 0; width: 100%; min-height: 3.2rem; border: 2px solid #d7e0e7; border-radius: .8rem; background: #fff; padding: .55rem .85rem; color: var(--batch-ink); font-size: 1rem; }
.batch-generate { width: 100%; min-height: 3.65rem; margin-top: 1.3rem; border-radius: .85rem; background: var(--batch-red); color: #fff; font-size: 1.04rem; font-weight: 800; transition: background .2s ease, transform .2s ease; }
.batch-generate:hover { background: #c42b37; transform: translateY(-1px); }
.batch-result { margin-top: 1.5rem; border: 2px solid var(--batch-ink); border-radius: 1.2rem; background: var(--batch-paper); padding: clamp(1.2rem, 3vw, 2rem); }
.batch-result-heading { display: flex; align-items: center; gap: .8rem; border-bottom: 1px solid #c4d9d6; padding-bottom: .8rem; }
.batch-result-heading > span { display: grid; width: 2.6rem; height: 2.6rem; flex: none; place-items: center; border-radius: .65rem; background: var(--batch-ink); color: #fff; font-size: 1.2rem; font-weight: 800; }
.batch-result-heading h3 { color: var(--batch-ink); font-size: 1.25rem; font-weight: 800; }
.batch-placeholder { margin-top: 1.2rem; color: #53626d; }
.batch-output-list { display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: .75rem; margin-top: 1.2rem; }
.batch-output-list li { min-width: 0; border: 1px solid #cee1df; border-radius: .85rem; background: #fff; padding: 1rem 1.1rem; color: var(--batch-ink); overflow-wrap: anywhere; }
.batch-output-list strong { display: block; font-size: 1.05rem; line-height: 1.4; }
.batch-output-list span { display: block; margin-top: .45rem; color: #53626d; font-size: .92rem; line-height: 1.48; }
.batch-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.2rem; }
.batch-actions button { border: 2px solid var(--batch-ink); border-radius: .7rem; padding: .55rem .9rem; color: var(--batch-ink); font-weight: 750; }
.batch-actions button:first-child { background: var(--batch-ink); color: #fff; }
.batch-actions button:disabled { opacity: .55; cursor: not-allowed; }
.batch-status { min-height: 1.4rem; margin-top: .6rem; color: #53626d; font-size: .9rem; }
.batch-guide p + p { margin-top: 1rem !important; }
.batch-examples { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .8rem; margin-top: 1.5rem; }
.batch-examples li { border-radius: .8rem; background: var(--batch-paper); padding: 1rem; color: var(--batch-ink); line-height: 1.5; }
.batch-panel > p.batch-note { margin-top: 1.4rem; border-left: 3px solid var(--batch-teal); padding-left: 1rem; font-size: .95rem; }
.batch-faq { border-bottom: 1px solid #dfe6ed; }
.batch-faq summary { padding: 1rem 0; color: var(--batch-ink); font-weight: 750; cursor: pointer; }
.batch-faq p { padding-bottom: 1rem; color: #4b5563; line-height: 1.65; }
.batch-related { display: grid; gap: .7rem; margin-top: 1.3rem; }
.batch-related a { display: flex; align-items: center; justify-content: space-between; gap: .6rem; border: 1px solid #d2e5e2; border-radius: .8rem; background: var(--batch-paper); padding: .9rem 1rem; color: var(--batch-ink); font-weight: 750; }
.batch-related a:hover { background: #fff; color: var(--batch-red); }
.language-list-section { border-top: 1px solid #e5e7eb; padding: 1.5rem 0; }
.language-list { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .5rem 1.5rem; width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 2rem; text-align: center; }
.language-link { color: #6b7280; font-size: .875rem; font-weight: 600; text-decoration: none; }
.language-link:hover, .language-active { color: var(--batch-red); }
.batch-page :is(button,select,input,summary,a):focus-visible { outline: 3px solid var(--batch-teal); outline-offset: 3px; }
@media (max-width: 720px) { .batch-fields, .batch-fields:has(> :nth-child(2):last-child), .batch-examples { grid-template-columns: 1fr; } .batch-actions { flex-direction: column; } .batch-actions button { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .batch-generate { transition: none; } }
