@media screen{
 .h342-selection,.h342-dialog{--batch-bg:var(--ui-surface,#fff);--batch-soft:var(--ui-soft,#f3f7fb);--batch-text:var(--ui-text,#172d45);--batch-muted:var(--ui-muted,#52677e);--batch-line:var(--ui-border,#d5e0ec);color:var(--batch-text);font:14px/1.55 Inter,system-ui,sans-serif;box-sizing:border-box}
 .h342-selection{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px;padding:16px;margin:16px 0;border:1px solid var(--batch-line);border-radius:12px;background:var(--batch-soft)}
 .h342-selection strong,.h342-selection small{display:block}.h342-selection small{color:var(--batch-muted);font-size:12px;margin-top:4px}.h342-selection-buttons{display:flex;flex-wrap:wrap;gap:8px}
 .h342-selection button,.h342-dialog button{min-height:44px;padding:9px 13px;border:1px solid var(--batch-line);border-radius:8px;background:var(--batch-bg);color:var(--batch-text);font:inherit;cursor:pointer;white-space:normal}
 .h342-selection button.h342-primary,.h342-dialog button.h342-primary{background:#004a99;color:#fff;border-color:#004a99;font-weight:650}
 .h342-selection button:disabled,.h342-dialog button:disabled{opacity:.55;cursor:default}
 .h342-select-cell{width:46px!important;min-width:46px!important;text-align:center!important}.h342-select-cell input{width:18px;height:18px;accent-color:#075bb5;cursor:pointer;vertical-align:middle}
 tr.h342-selected{background:var(--ui-soft,#edf5ff)!important;box-shadow:inset 3px 0 #075bb5}
 .h342-dialog{width:min(1120px,calc(100vw - 32px));max-width:none;max-height:92dvh;border:1px solid var(--batch-line);border-radius:18px;padding:0;background:var(--batch-bg);overflow:hidden;box-shadow:0 25px 90px #102a4650;margin:auto}
 .h342-dialog.h342-dark{--batch-bg:#101e30;--batch-soft:#172b42;--batch-text:#eaf2fc;--batch-muted:#b0c2d7;--batch-line:#354e68;color-scheme:dark}
 .h342-dialog[open]{display:flex;flex-direction:column}.h342-dialog::backdrop{background:#0c213980;backdrop-filter:blur(4px)}.h342-dialog *{box-sizing:border-box}
 .h342-dialog>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:22px 26px;border-bottom:1px solid var(--batch-line);flex-shrink:0}.h342-dialog header small{font-size:10px;letter-spacing:1px;color:var(--batch-muted);font-weight:700}.h342-dialog h2{font-size:25px;line-height:1.3;letter-spacing:-.5px;margin:5px 0}.h342-dialog header p{margin:6px 0 0;color:var(--batch-muted)}.h342-dialog [data-close]{font-size:24px;line-height:1;width:44px;flex:none;padding:6px}
 .h342-body{padding:22px 26px;overflow:auto;overscroll-behavior:contain;min-height:0}.h342-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.h342-form label{display:grid;gap:6px;align-content:start;font-weight:650;font-size:12px;min-width:0}.h342-wide{grid-column:1/-1}.h342-form :is(input,select,textarea){width:100%;max-width:100%;min-height:44px;padding:10px 12px;font:inherit;font-size:14px;background:var(--batch-bg);color:var(--batch-text);border:1px solid var(--batch-line);border-radius:8px}.h342-form textarea{resize:vertical;min-height:90px}
 .h342-help{font-size:12px;color:var(--batch-muted);margin:0}.h342-message{padding:12px 0;margin:0;white-space:pre-wrap;overflow-wrap:anywhere;font-weight:650}.h342-preview-head{display:flex;justify-content:space-between;gap:12px;align-items:start;margin:14px 0}.h342-preview-head h3{font-size:18px;margin:0}.h342-preview-head p{margin:6px 0;font-size:12px;color:var(--batch-muted)}.h342-preview-head button{flex:none}
 .h342-table{overflow:auto;border:1px solid var(--batch-line);border-radius:10px;max-height:45dvh}.h342-table table{width:100%;min-width:660px;border-collapse:collapse;font-size:12px;text-align:left}.h342-table :is(th,td){padding:12px;border-bottom:1px solid var(--batch-line);vertical-align:top;overflow-wrap:anywhere}.h342-table thead th{position:sticky;top:0;background:var(--batch-soft);z-index:1}.h342-table tbody th{font-weight:650}.h342-blocked td:last-child{color:#ae3b26;font-weight:700}.h342-dark .h342-blocked td:last-child{color:#ffa995}
 .h342-confirm{display:flex;align-items:flex-start;gap:10px;margin:18px 0}.h342-confirm input{width:18px;height:18px;flex:none;accent-color:#075bb5}.h342-dialog [hidden]{display:none!important}
 .h342-dialog :is(input,select,textarea,button):focus-visible,.h342-selection button:focus-visible,.h342-select-cell input:focus-visible{outline:3px solid #2585d9;outline-offset:3px}
 @media(max-width:760px){.h342-selection{padding:12px}.h342-selection-buttons{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.h342-selection-buttons button{font-size:12px;padding:8px}.h342-dialog{width:100%;max-height:100dvh;height:100dvh;border-radius:0}.h342-dialog>header,.h342-body{padding:16px}.h342-dialog h2{font-size:22px}.h342-form{grid-template-columns:minmax(0,1fr);gap:12px}.h342-form :is(input,select,textarea){font-size:16px}.h342-preview-head{flex-direction:column}.h342-table{max-height:52dvh}.h342-dialog [data-apply]{width:100%}}
}
@media print{.h342-selection,.h342-select-cell,.h342-dialog{display:none!important}}
