.ai-batch-panel{max-width:1120px;margin:auto}.ai-batch-panel h2{margin-top:0}.ai-batch-panel label{display:flex;flex-direction:column;gap:5px}.ai-batch-notice{border:1px solid #bdd7c5;background:#f0f8f2;padding:14px;border-radius:10px;margin:14px 0}.ai-batch-notice p{margin:7px 0 0}.ai-batch-selection{max-height:220px;overflow:auto}.ai-batch-create-row{border:1px solid var(--line);border-radius:12px;padding:15px;margin:14px 0;background:#fbfdfb}.ai-batch-row-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.ai-batch-location h3{margin-top:0}.ai-batch-summary{display:flex;gap:12px;align-items:baseline;flex-wrap:wrap;margin:15px 0}.ai-batch-summary strong{font-size:27px;color:var(--green)}.ai-batch-summary span:last-child{color:var(--muted);margin-left:auto}.ai-batch-progress{width:100%;height:12px;accent-color:var(--green)}.ai-batch-table td:first-child{min-width:220px;width:55%}.ai-batch-table td small{display:block;margin-top:6px}.ai-batch-error{color:var(--danger);overflow-wrap:anywhere;white-space:normal}.ai-batch-footer{margin-top:18px}.ai-batch-entry{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin:0 0 14px}.ai-batch-entry small{color:var(--muted)}.ai-batch-activity{position:fixed;right:20px;bottom:18px;max-width:min(680px,calc(100vw - 32px));display:flex;gap:12px;align-items:center;background:#fff;border:1px solid #b7cebf;border-left:5px solid var(--green);border-radius:12px;padding:14px;box-shadow:0 5px 25px #173f3129;z-index:45}.ai-batch-activity>div:first-of-type{min-width:150px;flex:1}.ai-batch-activity span,.ai-batch-activity small,.ai-batch-activity progress{display:block}.ai-batch-activity progress{height:9px;width:100%;margin-top:6px;accent-color:var(--green)}.ai-batch-activity small{color:var(--muted);font-size:11px}.ai-batch-activity .actions{max-width:180px}.ai-batch-spinner{display:none!important;width:22px;height:22px;min-width:22px;border:3px solid #d9eadd;border-top-color:var(--green);border-radius:50%}.ai-batch-activity.is-running .ai-batch-spinner{display:block!important;animation:ai-batch-turn .85s linear infinite}@keyframes ai-batch-turn{to{transform:rotate(360deg)}}@media(max-width:700px){.ai-batch-panel .span2{grid-column:auto}.ai-batch-activity{right:12px;bottom:12px;gap:8px;padding:10px;flex-wrap:wrap}.ai-batch-activity .actions{max-width:none;width:100%}.ai-batch-summary span:last-child{margin-left:0}.ai-batch-table td:first-child{min-width:190px}}@media(prefers-reduced-motion:reduce){.ai-batch-activity.is-running .ai-batch-spinner{animation-duration:2s}}

.ai-batch-inline-motion{width:22px;height:22px;border:3px solid #d9eadd;border-top-color:var(--green);border-radius:50%;animation:ai-batch-turn .85s linear infinite}

.ai-create-heading{margin-bottom:20px}.ai-create-heading h2{margin:5px 0 7px;font-size:23px}.ai-create-heading p{margin:0;color:var(--muted)}.ai-create-kicker{display:block;font-size:11px;font-weight:800;letter-spacing:.09em;color:#42715d}.ai-batch-launch-card{display:flex;gap:20px;align-items:center;margin-top:24px;padding:24px;border:1px solid #c5d4f0;border-radius:16px;background:linear-gradient(115deg,#f1f5ff,#edf8fb);box-shadow:0 3px 12px #183c6910}.ai-batch-launch-icon{display:grid;place-items:center;width:62px;height:62px;flex:0 0 62px;border-radius:15px;background:#dce8ff;color:#315da1}.ai-batch-launch-icon svg{width:36px;height:36px}.ai-batch-launch-copy{flex:1;min-width:0}.ai-batch-launch-copy .ai-create-kicker{color:#315da1}.ai-batch-launch-copy h2{font-size:21px;color:#254873;margin:5px 0 8px}.ai-batch-launch-copy p{color:#4d637b;margin:0;max-width:700px;line-height:1.55}.ai-batch-launch-card>button{background:#315da1;border-color:#315da1;flex:0 0 auto;white-space:normal}.ai-batch-launch-card>button:hover{background:#254873;border-color:#254873}.ai-batch-launch-card>button span{margin-left:7px}.ai-batch-result-preview .package-preview-dialog{width:min(1180px,calc(100vw - 32px))}.ai-batch-ready-note{color:var(--muted);margin:12px 0 0}.ai-batch-finalized{padding:14px;border:1px solid #bdd7c5;background:#f0f8f2;border-radius:10px;margin:14px 0}@media(max-width:850px){.ai-batch-launch-card{flex-wrap:wrap;padding:20px}.ai-batch-launch-card>button{margin-left:82px}}@media(max-width:540px){.ai-batch-launch-card{gap:12px}.ai-batch-launch-icon{width:46px;height:46px;flex-basis:46px;border-radius:12px}.ai-batch-launch-icon svg{width:29px;height:29px}.ai-batch-launch-copy{flex-basis:calc(100% - 58px)}.ai-batch-launch-copy h2{font-size:19px}.ai-batch-launch-card>button{width:100%;margin-left:0}}

/* Keep reconciliation actions readable when the optional discard action is present. */
.ai-reconcile-actions{flex-wrap:wrap}.ai-reconcile-actions #discardAI{white-space:nowrap}@media(max-width:540px){.ai-reconcile-actions{bottom:0}.ai-reconcile-actions #confirmAI{flex-basis:100%}}
