html body dialog.tax-pdf-import-dialog{position:fixed;inset:0;box-sizing:border-box;width:min(1120px,calc(100vw - 24px));max-height:calc(100dvh - 24px);margin:auto;padding:0;border:1px solid var(--business-border,#c2cfdf);border-radius:8px;background:#fff;color:#30435c;font:inherit;font-size:14px;overflow:hidden;box-shadow:0 12px 40px rgb(15 23 42 / 20%)}
.tax-pdf-import-dialog[open]{display:flex;flex-direction:column}
.tax-pdf-import-dialog::backdrop{background:rgb(15 23 42 / 35%)}
.tax-pdf-import-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;flex:none;padding:14px 18px;border-bottom:1px solid var(--business-border,#c2cfdf);background:var(--business-soft,#e5edf8);color:var(--business-accent,#315e91)}
.tax-pdf-import-heading h3{margin:0;font:inherit;font-size:17px;font-weight:600;line-height:1.5}
.tax-pdf-import-dialog button{box-sizing:border-box;min-height:34px;padding:6px 14px;border:1px solid var(--business-border,#c2cfdf);border-radius:4px;background:#fff;color:#30435c;font:inherit;line-height:20px;white-space:nowrap;cursor:pointer}
.tax-pdf-import-dialog .tax-pdf-import-close{display:flex;align-items:center;justify-content:center;flex:none;width:30px;min-height:30px;height:30px;padding:5px;border:0;background:transparent;color:inherit}
.tax-pdf-import-close svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round}
.tax-pdf-import-body{min-height:0;padding:16px 18px;overflow:auto;scrollbar-color:var(--business-accent,#315e91) #edf1f6}
.tax-pdf-import-note{margin:0 0 16px;color:#52647b;line-height:1.6}
.tax-pdf-import-drop{display:flex;min-height:136px;box-sizing:border-box;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:18px;border:1px dashed var(--business-border,#a7bacf);border-radius:5px;background:#f8fafc;text-align:center;line-height:1.5}
.tax-pdf-import-drop strong{font-weight:600;color:#30435c}
.tax-pdf-import-drop>span{font-size:13px;color:#52647b}
.tax-pdf-import-drop.is-dragging{border-color:var(--business-accent,#315e91);background:var(--business-soft,#e5edf8)}
.tax-pdf-import-drop.is-disabled{background:#f3f5f8;border-color:#d6dde7}
.tax-pdf-import-file{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0 0}
.tax-pdf-import-file>span{min-width:0;overflow-wrap:anywhere;font-size:13px;line-height:1.5}
.tax-pdf-import-inspect{flex:none}
.tax-pdf-import-message{margin:12px 0 0;color:#52647b;font-size:13px;line-height:1.6;overflow-wrap:anywhere}
.tax-pdf-import-message:empty{margin:0}
.tax-pdf-import-message.is-error,.tax-pdf-import-errors{color:#a12a22}
.tax-pdf-import-result{min-width:0;margin-top:18px}
.tax-pdf-import-result[hidden]{display:none}
.tax-pdf-import-summary{margin:0 0 10px;font-weight:600;line-height:1.6;font-variant-numeric:tabular-nums}
.tax-pdf-import-errors{margin:0 0 12px;padding-left:20px;line-height:1.6}
.tax-pdf-import-empty{margin:0;padding:18px;text-align:center;color:#52647b}
.tax-pdf-import-table-wrap{overflow:auto;max-height:36dvh;border:1px solid var(--business-border,#c2cfdf);border-radius:4px;scrollbar-color:var(--business-accent,#315e91) #edf1f6}
.tax-pdf-import-table-wrap table{width:100%;min-width:1040px;border-collapse:collapse;table-layout:fixed;font-size:13px;line-height:1.5}
.tax-pdf-import-table-wrap :is(th,td){padding:8px 10px;border-right:1px solid var(--business-border,#d7e0eb);border-bottom:1px solid var(--business-border,#d7e0eb);text-align:left;vertical-align:top;overflow-wrap:anywhere}
.tax-pdf-import-table-wrap :is(th,td):last-child{border-right:0}
.tax-pdf-import-table-wrap tbody tr:last-child td{border-bottom:0}
.tax-pdf-import-table-wrap th{position:sticky;top:0;z-index:1;background:var(--business-soft,#e5edf8);color:var(--business-accent,#315e91);font-weight:600;text-align:center;white-space:nowrap}
.tax-pdf-import-table-wrap :is(th,td):first-child{width:158px;font-variant-numeric:tabular-nums}
.tax-pdf-import-table-wrap :is(th,td):nth-child(2){width:210px}
.tax-pdf-import-table-wrap :is(th,td):last-child{width:185px}
.tax-pdf-import-table-wrap tr[data-status=conflict] td:last-child{color:#a12a22;font-weight:600}
.tax-pdf-import-table-wrap tr[data-status=saved] td:last-child{color:#16703c;font-weight:600}
.tax-pdf-import-footer{display:flex;justify-content:flex-end;gap:8px;flex:none;margin:0;padding:12px 18px;border-top:1px solid var(--business-border,#c2cfdf);background:#fff}
.tax-pdf-import-dialog .tax-pdf-import-confirm{background:var(--business-accent,#315e91);border-color:var(--business-accent,#315e91);color:#fff;font-weight:600}
.tax-pdf-import-dialog button:enabled:hover{border-color:var(--business-accent,#315e91);filter:brightness(.96)}
.tax-pdf-import-dialog button:disabled{background:#f0f3f7;border-color:#d6dde7;color:#8c99aa;cursor:not-allowed}
.tax-pdf-import-dialog :is(button,input):focus-visible{outline:2px solid var(--business-accent,#315e91);outline-offset:2px}
.tax-pdf-import-dialog ::selection{background:var(--business-soft,#e5edf8);color:var(--business-accent,#315e91)}
@media(max-width:600px){.tax-pdf-import-heading{padding:12px 16px}.tax-pdf-import-body{padding:14px 16px}.tax-pdf-import-footer{padding:12px 16px}.tax-pdf-import-drop{min-height:150px;padding:14px}.tax-pdf-import-note{font-size:13px}.tax-pdf-import-table-wrap{max-height:30dvh}}
