/* Additional tools stay inside the existing task and data sections. */
.source-entry,.order-bulk-tools,.remaining-quantities,.draft-recovery{margin:16px 0;padding:12px 0;border-top:1px solid var(--border,#e3e9e5)}
.source-entry summary,.order-bulk-tools summary,.remaining-quantities summary,.extra-filters summary{cursor:pointer;font-size:13px;color:#496158;min-height:32px;line-height:32px}
.source-entry .form-grid,.order-bulk-tools .form-grid{margin:12px 0}
.source-entry{grid-column:1/-1;margin-bottom:0}
.step-jump{margin:0 24px;font-size:12px;color:#60746a}
.step-jump summary{cursor:pointer;min-height:32px;line-height:32px}
.step-jump select{margin:8px 0;width:100%}
.order-bulk-tools textarea{width:100%;min-height:112px;margin-top:8px;font-family:ui-monospace,monospace}
.order-bulk-tools .actions{gap:8px;flex-wrap:wrap;margin:12px 0}
.order-bulk-tools [data-bulk-result]{font-size:13px;line-height:1.8}
.line-summary{font-size:13px;color:#52665d;line-height:1.8;margin:16px 0}
.line-collapsed>.form-grid,.line-collapsed>.line-costs{display:none!important}
.line-editor .line-head{gap:12px;align-items:center}
.line-editor .line-head strong{font-size:13px;overflow-wrap:anywhere;flex:1}
.line-editor .line-head button{flex:none;min-width:72px}
.cell-title small,.table-scroll td small{display:block;color:#6c7b74;font-size:12px;margin-top:5px;overflow-wrap:anywhere}
.extra-filters{margin:0 12px}.extra-filters .actions{margin-top:8px}
.draft-recovery p{font-size:13px;line-height:1.8}
.remaining-quantities table{min-width:380px}
@media(max-width:600px){.line-editor .line-head{flex-wrap:wrap}.line-editor .line-head strong{flex-basis:100%;order:-1}.order-bulk-tools button,.line-head button{min-height:44px}.extra-filters{margin:0}.source-entry summary{line-height:1.8;padding:8px 0}}

/* R13: aligned choices inside the current form; no additional dashboard cards. */
.batch-picker{margin:16px 0;padding:12px 0;border-block:1px solid var(--line,#e6e8e5)}
.batch-picker summary,.document-advanced summary{cursor:pointer;font-weight:600}
.batch-choice{display:grid;grid-template-columns:minmax(0,1fr) 128px;gap:16px;align-items:center;min-height:64px;padding:10px 0;border-bottom:1px solid var(--line,#e6e8e5)}
.batch-choice label{display:flex;align-items:flex-start;gap:10px;margin:0;min-width:0;font-weight:400}
.batch-choice input[type=checkbox]{width:16px;height:16px;min-height:16px;flex:none;margin:4px 0}
.batch-choice span{min-width:0;overflow-wrap:anywhere}.batch-choice small,.service-history small{display:block;font-weight:400;color:var(--muted,#727a73);margin-top:4px}
.batch-choice>input{width:100%;min-width:0}.batch-picker .btn{margin-top:12px}.service-event-fields>label{display:block;margin:16px 0 6px}
.document-advanced>.field{margin-top:14px}.service-history{padding:14px 0;border-top:1px solid var(--line,#e6e8e5)}
@media(max-width:520px){.batch-choice{grid-template-columns:minmax(0,1fr) 104px;gap:12px}.batch-choice label{font-size:13px}.batch-choice small{font-size:12px}}

.document-order-reference{margin:12px 0}.document-order-reference>summary{cursor:pointer;color:var(--muted,#727a73)}
.batch-choices{max-height:320px;overflow:auto;padding-right:4px}.batch-picker input[type=search]{margin:12px 0 4px;width:100%}
@media(max-width:520px){.batch-choices{max-height:260px}}

.document-entry-help{background:transparent!important;border:0!important;padding:0!important}
.document-other-entry{margin-top:12px}.document-other-entry>summary{cursor:pointer;color:var(--muted,#727a73)}.document-other-entry>.btn,.document-advanced>.btn,.document-packing-advanced>.btn{margin-top:12px}
