/* Shared batch editing: selection, one edit, then explicit save or approval. */
.logpro-ui #trips-view.journal-v2 #journal-batch-panel{padding:0;margin:0 0 16px;border:1px solid #dce4eb;border-radius:10px;background:#fff;min-width:0}
.logpro-ui #trips-view.journal-v2 #journal-batch-panel>summary{display:flex;justify-content:space-between;gap:12px;padding:12px 16px;min-height:48px;color:#29485e;font-size:13px;font-weight:600;list-style:none}
#journal-batch-panel>summary:before{content:none}
#journal-batch-panel>summary::-webkit-details-marker{display:none}
#journal-batch-panel>summary>.mdi{font-size:20px;transition:transform 140ms ease}
#journal-batch-panel[open]>summary>.mdi{transform:rotate(180deg)}
#journal-batch-panel>summary:hover{background:#f7f9fb}
.logpro-ui #trips-view.journal-v2 #journal-batch-panel .batch-toolbar{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px 24px;padding:4px 16px 16px;margin:0;background:transparent;border:0;box-shadow:none;position:static;border-radius:0;min-width:0}
#journal-batch-panel .batch-selection,#journal-batch-panel .batch-actions{display:flex;align-items:center;gap:12px;min-width:0;flex-wrap:wrap}
.logpro-ui #trips-view.journal-v2 #journal-batch-panel .batch-selection label{min-height:44px;color:#29485e;font-size:12px;gap:8px;cursor:pointer}
#journal-batch-panel #select-visible{width:18px;height:18px;margin:0;flex:none;accent-color:#1263d4}
.logpro-ui #trips-view.journal-v2 #journal-batch-panel #select-ready{min-height:44px;padding:8px 4px;color:#1263d4;font-size:12px}
.logpro-ui #trips-view.journal-v2 #journal-batch-panel .batch-actions :is(button,select){min-height:44px;margin:0;font-size:13px;padding:10px 14px}
.logpro-ui #trips-view.journal-v2 #journal-batch-panel #batch-action{width:190px;max-width:100%;border-color:#a2b1bf;color:#29485e;background-color:#fff}
.logpro-ui #trips-view.journal-v2 #journal-batch-panel #batch-approve{white-space:nowrap}
.logpro-ui #trips-view.journal-v2 #journal-batch-panel #batch-editor{display:block;padding:20px 16px 16px;margin:0;border:0;border-top:1px solid #e7edf2;background:transparent;min-width:0}
.logpro-ui #trips-view.journal-v2 #journal-batch-panel #batch-editor[hidden],#journal-batch-panel [data-batch-field][hidden]{display:none}
#batch-editor>header{max-width:640px;margin-bottom:16px}
.logpro-ui #trips-view.journal-v2 #batch-editor h3{font-size:16px;font-weight:600;line-height:1.4;letter-spacing:0;margin:0 0 6px;color:#163a55}
#batch-editor-scope{font-size:12px;color:#536579;line-height:1.6;margin:0}
.logpro-ui #trips-view.journal-v2 #batch-editor [data-batch-field]{max-width:640px;padding:0;margin:0;border:0;border-radius:0;background:transparent}
#batch-editor [data-batch-field]>label:first-child{display:block;font-size:12px;font-weight:500;color:#29485e;margin-bottom:8px}
.logpro-ui #trips-view.journal-v2 #batch-editor :is(textarea,input:not([type=checkbox]),select){display:block;width:100%;min-width:0;min-height:44px;padding:10px 12px;border:1px solid #a2b1bf;border-radius:8px;background:#fff;color:#142b40;font:inherit;font-size:14px;line-height:1.5;box-sizing:border-box}
#batch-editor textarea{resize:vertical}
.logpro-ui #trips-view.journal-v2 #batch-editor .batch-remove{display:flex;align-items:center;gap:8px;min-height:44px;margin:8px 0 0;font-size:12px;font-weight:400;color:#536579;cursor:pointer}
#batch-editor .batch-remove input{width:18px;height:18px;flex:none;margin:0;accent-color:#1263d4}
.logpro-ui #trips-view.journal-v2 #batch-editor .batch-editor-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:16px}
.logpro-ui #trips-view.journal-v2 #batch-editor .batch-editor-actions button{width:auto;flex:0 0 auto;min-height:44px;padding:10px 16px;font-size:13px}
#batch-editor-error{max-width:640px;margin:12px 0 0;font-size:13px;line-height:1.5;color:#b42318}
@media(max-width:1100px){
 #journal-batch-panel .batch-actions{margin-left:auto}
}
@media(max-width:650px){
 .logpro-ui #trips-view.journal-v2 #journal-batch-panel>summary{padding:12px 14px}
 .logpro-ui #trips-view.journal-v2 #journal-batch-panel .batch-toolbar{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;padding:0 14px 14px}
 #journal-batch-panel .batch-selection{gap:0 12px;justify-content:space-between}
 #journal-batch-panel .batch-actions{display:flex;flex-wrap:wrap;width:100%;margin:0;gap:8px}
 .logpro-ui #trips-view.journal-v2 #journal-batch-panel .batch-actions :is(button,select){flex:1;min-width:0;padding:10px;font-size:13px}
 .logpro-ui #trips-view.journal-v2 #journal-batch-panel #batch-action{width:0;font-size:16px}
 .logpro-ui #trips-view.journal-v2 #journal-batch-panel #batch-editor{padding:16px 14px}
 .logpro-ui #trips-view.journal-v2 #batch-editor :is(textarea,input:not([type=checkbox]),select){font-size:16px}
 .logpro-ui #trips-view.journal-v2 #batch-editor .batch-editor-actions button{flex:1;padding-inline:10px}
}
@media(prefers-reduced-motion:reduce){#journal-batch-panel>summary>.mdi{transition:none}}

.logpro-ui #trips-view.journal-v2 #journal-batch-panel #merge-button{min-height:44px;padding:8px 4px;border:0;background:transparent;color:#536579;font-size:12px}
.logpro-ui #trips-view.journal-v2 #batch-editor :is(input,textarea,select,button):focus-visible{outline-offset:-1px}
