/* Existing site's Manrope / white / blue; file rows, not a second visual system. */
.batch-header{max-width:920px;margin:0 auto;padding:28px 24px;display:flex;justify-content:space-between;align-items:center}
.batch-header>a:first-child{font-size:23px;font-weight:700;letter-spacing:-.04em}
.batch-header>a:last-child,.batch-link{color:var(--blue)}
.batch-main{max-width:860px;margin:30px auto 100px;padding:0 24px}
.batch-main h1{font-size:clamp(28px,4.5vw,42px);letter-spacing:-.04em;max-width:650px}
.batch-intro{margin-top:16px;font-size:17px}
.batch-modes{display:flex;gap:4px;background:var(--wash);border-radius:12px;padding:5px;width:fit-content;margin:30px auto 24px;font-size:14px}
.batch-modes>*{padding:10px 16px;border-radius:8px}.batch-modes :is([aria-current],[aria-selected=true]){background:#fff;color:var(--blue);box-shadow:0 1px 4px #24334a16}
/* Главная: вкладки на этой же странице, блок пакета — на месте карточки одного файла. */
.batch-modes button{border:0;background:none;font:inherit;color:inherit;cursor:pointer}.batch-modes button:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.batch-embedded{width:min(860px,100%);margin:0 auto;text-align:left;background:#fff;border:1px solid #c9d5e8;border-radius:16px;padding:22px 26px;box-shadow:0 8px 30px #24334a07}
.batch-embedded[hidden],.batch-hidden{display:none!important}
.batch-embedded .batch-language{display:grid;gap:8px;justify-items:start;font-size:14px;font-weight:600;color:var(--ink);margin:0 0 18px}
.batch-embedded .batch-language select{width:100%;max-width:310px;min-height:54px;font-size:16px;font-weight:600;padding:12px 16px;border:1.5px solid #9fb5ef;background:#eef3ff;color:#24334a;border-radius:9px}.batch-embedded :is(a,button,input,select):focus-visible{outline:2px solid var(--blue);outline-offset:3px}
.batch-language{display:flex;align-items:center;gap:16px;font-size:14px;margin:18px 0}
.batch-language select{max-width:65%;border:1px solid var(--line);border-radius:8px;padding:8px;background:#fff;color:var(--ink)}
.batch-language select:disabled{opacity:.6;cursor:not-allowed}
/* Вся пунктирная область — поле выбора: системный input растянут на неё (палец, перетаскивание). */
.batch-picker{position:relative;min-height:180px;padding:24px;border:1px dashed #9bb3e5;border-radius:12px;background:#f8faff;display:grid;align-content:center;justify-items:center;text-align:center}
/* Надпись своя, русская: системная кнопка пишет на языке телефона («Choose Files»).
   Палец всё равно попадает в системное поле — оно прозрачное и лежит поверх надписи:
   на iOS выбор через чужой label в августе не открывался. Не прятать поле display:none. */
.batch-choose{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:12px;min-height:46px;min-width:0}
.batch-choose-button{flex:none;background:var(--blue);color:#fff;border-radius:7px;padding:11px 16px;font-size:14px;font-weight:600;line-height:1.3}
.batch-choose-note{min-width:0;font-size:14px;line-height:1.35;color:#5d6a7e}
.batch-picker .batch-choose input[type=file]{position:absolute;inset:0;width:100%;height:100%;min-height:0;margin:0;padding:0;border:0;opacity:0;cursor:pointer;font-size:16px}
.batch-picker .batch-choose input[type=file]:disabled{cursor:not-allowed}
.batch-choose:has(input:disabled) .batch-choose-button{opacity:.6}
.batch-picker:hover .batch-choose-button{box-shadow:0 0 0 3px #244ed826}
.batch-picker:focus-within .batch-choose-button{outline:2px solid var(--blue);outline-offset:3px}
/* Файл тащат над блоком пакета — область подсвечена, как у одного файла. */
.batch-drag .batch-picker{border-color:var(--blue);background:#e1ebff}
/* Под областью, как у одного файла: слева форматы, справа число и объём файлов. */
.batch-help{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:5px 14px;margin:10px 0 0;font-size:11px;line-height:1.65;color:#6a7587}
/* Справа: если в строку не влезает, вторая фраза уходит под первую, но остаётся справа. */
#batch-limits{flex:1 1 0;text-align:right}#batch-limits>span{white-space:nowrap}
@media(max-width:480px){.batch-help{font-size:10px;margin-top:8px}}
.batch-small{font-size:13px;line-height:1.6;color:var(--muted);margin:0}
.batch-list{list-style:none;margin:18px 0;padding:0}
.batch-row{display:grid;grid-template-columns:24px minmax(0,1fr) auto 32px;gap:10px;align-items:start;border-bottom:1px solid var(--line);padding:18px 0}
.batch-row input{width:19px;height:19px;margin-top:5px;accent-color:var(--blue)}
.batch-row label{font-size:15px;font-weight:600;overflow-wrap:anywhere}.batch-row p{margin:4px 0 0;font-size:13px}
.batch-row strong{white-space:nowrap;font-size:15px}.batch-row progress{width:min(240px,100%);height:7px;accent-color:var(--blue)}
.batch-link{padding:6px 0;background:none;border:none;text-decoration:underline;text-underline-offset:3px;font-size:14px}
.batch-row button{display:block}
.batch-remove{width:32px;height:32px;margin-top:-4px;padding:0;border:0;border-radius:8px;background:none;color:var(--muted);font-size:22px;line-height:1;cursor:pointer}.batch-remove:hover:not(:disabled){background:#fdecea;color:#ad352f}.batch-remove:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.batch-checkout{margin-top:30px;border:1px solid var(--line);border-radius:14px;padding:26px}
.batch-total{display:flex;justify-content:space-between;gap:12px;font-size:17px;margin-bottom:6px}.batch-total strong{font-size:24px;white-space:nowrap}.batch-total strong.batch-total-hint{font-size:15px;white-space:normal;text-align:right}
.batch-checkout>p{margin-bottom:14px}.batch-checkout>label{display:block;font-size:14px;margin-top:22px;margin-bottom:7px}
#batch-email{width:100%;border:1px solid #bacbeb;border-radius:9px;padding:14px;color:var(--ink);background:#fff}
#batch-email-note{margin-top:7px}.batch-primary{display:inline-block;border:0;background:var(--blue);color:#fff;padding:13px 20px;border-radius:8px;font-size:15px;text-align:center;line-height:1.6}
.batch-primary:disabled{opacity:.55;cursor:default}.batch-primary:hover:not(:disabled){background:var(--blue-hover)}
.batch-payment-actions{display:flex;gap:20px;flex-wrap:wrap;margin:12px 0}.batch-checkout img{width:210px;height:210px;max-width:100%;margin:18px 0 12px;background:#fff}
#batch-message:not(:empty){padding:14px 17px;border-radius:8px;background:#eef3ff;color:var(--ink);margin-bottom:20px;font-size:14px}
#batch-pay-label{font-size:14px;margin:0 0 14px}button:disabled{cursor:default;opacity:.6}
@media(max-width:520px){.batch-main{margin-top:16px;padding:0 18px}.batch-embedded{padding:18px}.batch-header{padding:22px 18px}.batch-modes{font-size:13px;width:100%;justify-content:center}.batch-picker{padding:18px}.batch-checkout{padding:18px}.batch-total{font-size:15px}.batch-row{grid-template-columns:22px minmax(0,1fr) 32px}.batch-row>strong{grid-column:2}.batch-remove{grid-column:3;grid-row:1}.batch-primary{width:100%}#batch-qr{display:none}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
.batch-save{margin:24px 0;padding:22px;background:#eef3ff;border:1px solid #c3d2f5;border-radius:12px}
.batch-save h2,.batch-result-row h2{font-size:18px;line-height:1.5;letter-spacing:-.02em;margin:0 0 8px}
.batch-save p{font-size:14px;line-height:1.65;margin:8px 0}.batch-save input{width:100%;min-width:0;padding:10px;border:1px solid #9bb3e5;border-radius:6px;background:white;margin:8px 0}
.batch-result-row{padding:22px 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.batch-result-row p,.batch-refunds{font-size:14px;line-height:1.65;margin:5px 0}.batch-result-row .batch-payment-actions{margin-bottom:0}
.batch-main :is(a,button,input):focus-visible{outline:2px solid var(--blue);outline-offset:3px}
/* Телефон: QR сканировать нечем — показываем только кнопку «Оплатить через приложение банка». */
@media (hover:none) and (pointer:coarse){#batch-qr{display:none!important}}

/* 04.10.2026: «Первая проба — бесплатно» в окне загрузки пакета — как у одного файла (v5.css). */
.batch-picker .upload-trial{display:flex;align-items:center;justify-content:center;gap:7px;width:fit-content;max-width:100%;margin:0 auto 14px;padding:7px 14px;border-radius:999px;background:#e4f4ea;color:#1b6340;font-size:14px;line-height:1.35;text-align:center}
.batch-picker .upload-trial svg{flex:none;width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.batch-picker .upload-trial b{font-weight:700}
.batch-picker .upload-trial b,.batch-picker .upload-trial-more{white-space:nowrap}
@media(max-width:560px){.batch-picker .upload-trial b,.batch-picker .upload-trial-more{display:block}}
.batch-picker .upload-trial[hidden],section:has(#batch-list>li) .batch-picker .upload-trial{display:none}
@media(max-width:520px){.batch-picker .upload-trial{font-size:12.5px;padding:6px 12px}}
