/* Numbering presentation only. Existing values, events and save payloads remain unchanged. */
.table-card:has(#voucherSettings){border:1px solid var(--line,#dce8e2);border-radius:12px;box-shadow:0 3px 14px #173d3004;overflow:hidden}
.table-card:has(#voucherSettings)>.card-body{padding:14px 20px!important;border-bottom:1px solid var(--line,#dce8e2);background:var(--surface,#fff)}
.table-card:has(#voucherSettings)>.card-body p{display:flex;align-items:center;gap:10px;margin:0!important;font-size:12px;line-height:1.6;color:var(--muted,#697f75)}
.table-card:has(#voucherSettings)>.card-body p::before{content:'i';display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;flex:0 0 22px;border:1px solid var(--line,#dce8e2);border-radius:50%;font:600 12px system-ui;color:var(--ink,#153c30);background:var(--mint,#edf6f0)}
.settings-panel-head:has(+ .table-card #voucherSettings){padding:20px!important;gap:20px;border-radius:12px}
.settings-panel-head:has(+ .table-card #voucherSettings) h2{font-size:20px;letter-spacing:-.4px;line-height:1.3;margin:0 0 6px}
.settings-panel-head:has(+ .table-card #voucherSettings) p{font-size:12px;line-height:1.5;margin:0;color:var(--muted,#697f75)}
.settings-panel-head:has(+ .table-card #voucherSettings) .btn{height:40px;white-space:nowrap;padding:0 17px;border-radius:8px;font-size:12px}
#voucherSettings{width:100%;min-width:780px;table-layout:fixed;border-collapse:separate;border-spacing:0}
#voucherSettings thead th{height:44px;padding:12px 18px;box-sizing:border-box;font-size:10px;font-weight:600;letter-spacing:.065em;color:var(--muted,#637c70);background:var(--bg,#f5f9f7);border-bottom:1px solid var(--line,#dce8e2);white-space:nowrap}
#voucherSettings th:nth-child(1){width:26%}#voucherSettings th:nth-child(2){width:22%}#voucherSettings th:nth-child(3){width:19%}#voucherSettings th:nth-child(4){width:11%}#voucherSettings th:nth-child(5){width:22%}
#voucherSettings tbody td{height:58px;padding:9px 18px;vertical-align:middle;border-bottom:1px solid var(--line,#e6eee9);background:var(--surface,#fff);font-size:13px}
#voucherSettings tbody tr:last-child td{border-bottom:0}
#voucherSettings tbody tr:hover td,#voucherSettings tbody tr:focus-within td{background:color-mix(in srgb,var(--mint,#eaf5ef) 38%,var(--surface,#fff))}
#voucherSettings tbody td:first-child b{font-weight:600;line-height:1.4;color:var(--ink,#193c30)}
#voucherSettings tbody td:first-child::before{content:'#';display:inline-flex;align-items:center;justify-content:center;width:26px;height:28px;margin-right:10px;border-radius:7px;color:var(--muted,#6d8376);background:var(--mint,#eef5f0);font:500 14px ui-monospace,monospace;vertical-align:middle}
#voucherSettings input,#invoiceSeriesTable input:not([type=radio]):not([type=checkbox]){box-sizing:border-box;height:38px;min-height:38px;max-width:220px;width:100%;border:1px solid var(--line,#cdded4);border-radius:7px;padding:8px 11px;background:var(--surface,#fff);color:var(--ink,#193c30);font:500 13px Inter,system-ui,sans-serif;box-shadow:0 1px 2px #153c3003;transition:border-color .15s,box-shadow .15s}
#voucherSettings input:focus,#invoiceSeriesTable input:focus{outline:none;border-color:#3c9e79!important;box-shadow:0 0 0 3px #38a67822}
#voucherSettings .sequence-prefix{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-weight:600;letter-spacing:.025em}
#voucherSettings .sequence-next{font-variant-numeric:tabular-nums}
#voucherSettings .sequence-padding{max-width:76px;text-align:center;padding-left:6px;padding-right:6px}
#voucherSettings .sequence-preview{display:inline-block;max-width:100%;box-sizing:border-box;padding:7px 10px;border:1px solid #53a88333;border-radius:7px;background:var(--mint,#edf6f0);color:var(--ink,#174a36);font:600 12px/1.4 ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:.02em;overflow-wrap:anywhere}
#invoiceSeriesTable{min-width:750px}
#invoiceSeriesTable td{vertical-align:middle;padding-top:10px;padding-bottom:10px}
@media(max-width:900px){#voucherSettings thead th,#voucherSettings tbody td{padding-left:12px;padding-right:12px}#voucherSettings tbody td:first-child::before{display:none}.settings-panel-head:has(+ .table-card #voucherSettings){padding:16px!important;flex-wrap:wrap;gap:12px}.table-card:has(#voucherSettings)>.card-body{padding:12px 14px!important}}
@media(prefers-reduced-motion:reduce){#voucherSettings input{transition:none}}
