.tax-page{display:grid;gap:20px;color:#17345b}
.tax-title{display:flex;align-items:flex-end;justify-content:space-between;gap:18px}
.tax-title>div>span{display:block;margin-bottom:7px;color:#7688a3;font-size:13px}
.tax-title h1{margin:0 0 7px;color:#132f57;font-size:26px;line-height:1.25}
.tax-title p{margin:0;color:#73839b;font-size:14px}
.tax-title-actions button{white-space:nowrap}
.tax-steps{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:16px 20px;border:1px solid #dce6f5;border-radius:13px;background:#fff;color:#8292a9;font-weight:700}
.tax-steps .current{color:#1968d4}
.tax-card{min-width:0;padding:0;border:1px solid #dce6f5;border-radius:14px;background:#fff;box-shadow:0 2px 10px #1a42690a}
.tax-card-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 22px;border-bottom:1px solid #e2eaf5}
.tax-card-head h2{margin:0;color:#18365e;font-size:19px}
.tax-card-head p{margin:5px 0 0;color:#7e8ea5;font-size:13px}
.tax-card-head>span{color:#8192aa;font-size:13px}
.tax-status,.tax-review-badge{padding:5px 10px;border-radius:999px;background:#edf5ff;color:#1768d5!important;font-weight:700}
.tax-upload-card{padding-bottom:17px}
.tax-drop{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;margin:18px 22px 14px;padding:22px;min-height:118px;border:2px dashed #9ec3f5;border-radius:12px;background:#f8fbff;text-align:center;cursor:pointer;transition:.15s}
.tax-drop.drag-over,.tax-drop:hover{border-color:#1974ed;background:#eef6ff}
.tax-drop input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.tax-drop strong{color:#1767cf;font-size:15px}
.tax-drop>span:last-child{color:#8a9bb0;font-size:12px}
.tax-upload-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:9px;background:#e7f0ff;color:#1968d5;font-size:24px;font-weight:700}
.tax-file-list{display:flex;flex-wrap:wrap;gap:9px;margin:0 22px}
.tax-file{display:flex;align-items:stretch;min-width:250px;max-width:100%;border:1px solid #dce6f5;border-radius:8px;background:#fff}
.tax-file.active{border-color:#3887e8;background:#f4f9ff}
.tax-file>button:first-child{display:flex;align-items:center;gap:9px;min-width:0;padding:8px 12px;border:0;background:transparent;text-align:left}
.tax-file>button:first-child>span:last-child{display:flex;flex-direction:column;min-width:0}
.tax-file strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#1b3a63;font-size:13px}
.tax-file small{color:#8393a8;font-size:11px}
.tax-file-icon{display:grid;place-items:center;flex:none;width:30px;height:34px;border-radius:5px;background:#eef4ff;color:#246bd0;font-size:10px;font-weight:800}
.tax-file-remove{width:28px;padding:0;border:0;background:transparent;color:#9b5961;font-size:22px}
.tax-empty-file{margin:0;color:#97a4b7;font-size:12px}
.tax-message{margin:12px 22px 0;color:#576e8d;font-size:12px}
.tax-review-layout{display:grid;grid-template-columns:minmax(380px,.92fr) minmax(480px,1.08fr);gap:20px;align-items:start}
.tax-preview-card,.tax-form-card{min-height:630px}
.tax-preview-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:16px 20px 11px;color:#526f97;font-size:12px}
.tax-preview-toolbar>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tax-preview-toolbar>div{display:flex;align-items:center;gap:7px;white-space:nowrap}
.tax-preview-toolbar button{padding:5px 7px;font-size:11px}
.tax-preview-image{display:block;min-width:0;min-height:490px;max-height:780px;margin:0 20px;border:1px solid #e3ebf6;background:#f2f5fa;overflow:auto;text-align:center}
.tax-preview-image img{display:block;max-width:none;height:auto;margin:0 auto;background:#fff}
.tax-preview-image p{padding:36px;color:#8092aa}
.tax-preview-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:490px;margin:16px 20px;border:1px dashed #cbd9ea;border-radius:8px;background:#f9fbff;color:#8092aa;text-align:center}
.tax-preview-empty>span{font-size:54px;color:#a6bddc}
.tax-preview-empty strong{color:#315a8a;font-size:15px}
.tax-preview-empty p{margin:8px 0;font-size:12px}
.tax-preview-foot{margin:14px 20px 22px;color:#8b9db5;font-size:12px}
.tax-form-section{padding:18px 22px;border-bottom:1px solid #e3ebf6}
.tax-form-section h3{margin:0 0 16px;color:#163965;font-size:16px}
.tax-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 20px}
.tax-span-2{grid-column:1/-1}
.tax-field{display:flex;flex-direction:column;gap:5px;min-width:0;color:#2d4565;font-size:13px;font-weight:700}
.tax-field input:not([type="checkbox"]),.tax-field select,.tax-field textarea,.tax-filters input,.tax-filters select{width:100%;height:40px;padding:8px 11px;border:1px solid #cbdcf0;border-radius:7px;background:#fff;color:#17345b;font:inherit;box-sizing:border-box}
.tax-field textarea{height:auto;min-height:82px;resize:vertical}
.tax-field input:focus,.tax-field select:focus,.tax-field textarea:focus,.tax-filters input:focus,.tax-filters select:focus{outline:2px solid #a3c9ff;outline-offset:1px}
.tax-field small,.tax-field-source{color:#8b9bb1;font-size:11px;font-weight:400;line-height:1.4}
.tax-field-source button{padding:0;border:0;background:transparent;color:#1768d5;font-size:inherit;text-decoration:underline;cursor:pointer}
.tax-required{color:#cf3842}
.tax-verify{display:flex;align-items:center;gap:5px;color:#426992;font-size:11px;font-weight:600}
.tax-verify input{width:14px;height:14px;margin:0}
.tax-subgroup{margin:18px 22px;padding:16px;border:1px solid #dce6f5;border-radius:9px;background:#f8fbff}
.tax-subgroup legend{padding:0 7px;color:#2b5181;font-size:13px;font-weight:700}
.tax-subgroup details{margin-top:15px;padding:10px;border:1px solid #e0eaf6;border-radius:7px;background:#fff}
.tax-subgroup summary{color:#42658b;cursor:pointer}
.tax-subgroup details .tax-field{margin-top:12px}
.tax-note,.tax-personal-warning{grid-column:1/-1;padding:11px 13px;border:1px solid #f4d9a5;border-radius:7px;background:#fffaf1;color:#866016;font-size:12px}
.tax-note{margin:18px 22px}
.tax-notes{margin-top:15px}
.tax-form-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:16px 22px}
.tax-form-actions>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#8b9bb1;font-size:11px}
.tax-form-actions>div{display:flex;gap:8px;white-space:nowrap}
.tax-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.tax-stats>div{display:flex;flex-direction:column;gap:4px;padding:18px 20px;border:1px solid #dce6f5;border-radius:12px;background:#fff}
.tax-stats strong{color:#196fe2;font-size:28px;line-height:1}
.tax-stats span{color:#7c8ca3;font-size:12px}
.tax-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;padding:18px 22px}
.tax-filters label{display:flex;flex-direction:column;gap:6px;min-width:0;color:#2d4565;font-size:12px;font-weight:700}
.tax-filter-actions{display:flex;justify-content:flex-end;padding:0 22px 17px}
.tax-table-card{overflow:hidden}
.tax-table-wrap{overflow:auto;padding:12px 20px 20px}
.tax-table-wrap table{width:100%;border-collapse:collapse;min-width:1080px}
.tax-table-wrap th{padding:12px;background:#edf3fb;color:#71839d;text-align:left;font-size:12px;white-space:nowrap}
.tax-table-wrap td{padding:13px 12px;border-bottom:1px solid #edf1f7;color:#365475;font-size:12px}
.tax-table-wrap tr:hover td{background:#f8fbff}
.tax-empty-table{text-align:center;color:#8a9bb0!important;padding:36px!important}
.tax-restricted-list{display:grid;gap:10px;padding:18px 22px}
.tax-restricted-list>div{display:flex;align-items:center;gap:15px;padding:11px 13px;border:1px solid #e0e9f4;border-radius:8px;background:#f9fbff;font-size:12px}
.tax-restricted-list span{color:#7d8fa6}
.tax-restricted-list a{margin-left:auto;color:#1768d5}
@media(max-width:1150px){.tax-review-layout{grid-template-columns:1fr}.tax-preview-card,.tax-form-card{min-height:0}.tax-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.tax-title{align-items:flex-start;flex-direction:column}.tax-steps{flex-wrap:wrap;justify-content:flex-start;font-size:12px}.tax-grid,.tax-filters,.tax-stats{grid-template-columns:1fr}.tax-review-layout{gap:14px}.tax-card-head,.tax-form-section{padding:16px}.tax-drop{margin:14px}.tax-file-list{margin:0 14px}.tax-preview-toolbar{flex-direction:column;align-items:flex-start}.tax-form-actions{align-items:flex-start;flex-direction:column}}
