.count-detail-tools{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:14px}.count-detail-tools .button{font-size:11px;padding:9px 11px}.count-danger{color:#cc1430!important}.count-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));list-style:none;padding:0;margin:14px 0 18px;gap:5px}.count-steps li{display:flex;flex-direction:column;align-items:center;gap:5px;position:relative;color:#8790a4;font-size:11px}.count-steps b{display:grid;place-items:center;border-radius:50%;height:27px;width:27px;background:#edf0f6;color:#788399;position:relative;z-index:1}.count-steps li:before{content:'';position:absolute;top:13px;left:-50%;width:100%;height:2px;background:#edf0f6}.count-steps li:first-child:before{display:none}.count-steps .done b{background:#e2f7ed;color:#159b66}.count-steps .current{color:#d70020;font-weight:700}.count-steps .current b{background:#ed001b;color:white}.count-info{border:1px solid var(--line,#e1e5ed);border-radius:10px;padding:11px 12px;font-size:12px}.count-info summary{cursor:pointer;display:flex;justify-content:space-between;gap:8px}.count-info summary span{color:#ed001b;font-weight:700}.count-info .source-info-grid{margin:12px 0 0;gap:10px}.count-items-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:16px}.count-items-heading h3{font-size:15px;margin:0}.count-items-heading span{font-size:11px;color:#738097}.count-entry-list{max-height:270px;overflow-y:auto;overscroll-behavior:contain;border:1px solid var(--line,#e1e5ed);border-radius:11px;margin-bottom:14px}.count-entry-row{display:grid;grid-template-columns:minmax(0,1fr) 110px;align-items:center;gap:14px;padding:12px}.count-entry-row[hidden]{display:none}.count-entry-row+.count-entry-row{border-top:1px solid var(--line,#e1e5ed)}.count-entry-name{font-size:12px;font-weight:600;line-height:1.6;overflow-wrap:anywhere}.count-entry-row .field{margin:0!important;font-size:10px}.count-entry-row input{width:100%;font-size:16px!important;min-height:42px}.count-entry-row small{font-size:9px;font-weight:400;min-height:13px;line-height:1.4;display:block;color:#728099}.count-entry-row small[data-error=true]{color:#c61233}.count-item-filter{margin-top:10px}.count-readonly-values{margin:0;display:flex;flex-wrap:wrap;gap:8px;font-size:11px}.count-readonly-values dt{font-size:10px;color:#738097}.count-readonly-values dd{margin:3px 0 0;font-weight:700}.count-confirm-card{background:#fff7f8;border:1px solid #f9c4cc;padding:14px;border-radius:12px;margin:10px 0}.count-confirm-card h3{margin:0 0 8px;font-size:15px}.count-confirm-card p{font-size:12px;line-height:1.5}.count-confirm-buttons{display:flex;gap:8px;justify-content:flex-end}.count-confirm-buttons .button{flex:1}.count-file{margin-top:20px}.count-file input{padding:12px;white-space:normal;font-size:13px}.count-preview-table{max-height:220px;overflow:auto;margin-bottom:12px}.count-preview-table td{white-space:normal;font-size:11px;overflow-wrap:anywhere}.count-preview-notices{font-size:12px;line-height:1.6}.count-import-error{background:#fff1f3;color:#bd1232;border-radius:10px;padding:12px;font-size:12px}.count-detail-actions .button{flex:1;min-width:100px}#count-detail-message,#count-import-message{font-size:12px;color:#c61233;overflow-wrap:anywhere}
@media(max-width:750px){.count-entry-row{grid-template-columns:minmax(0,1fr) 86px;gap:9px;padding:10px}.count-entry-name{font-size:11px}.count-entry-list{max-height:36dvh}.count-detail-dialog textarea,.count-detail-dialog input,.count-detail-dialog select{font-size:16px!important}.count-detail-tools .button{flex:1;font-size:10px}.count-steps li{font-size:10px}.count-confirm-buttons{flex-wrap:wrap}.count-info .source-info-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.count-confirm-card{padding:12px}.count-detail-dialog .count-explanation textarea{min-height:70px}.count-preview-table{max-height:35dvh}.count-detail-dialog .count-file input{font-size:13px!important}}

.count-confirm-mode > :not(.source-heading):not(#count-entry-form){display:none!important}.count-confirm-mode #count-entry-form > :not(#count-confirmation):not(#count-detail-message){display:none!important}.count-confirm-mode .count-confirm-card{margin-bottom:0}.count-confirm-mode .count-confirm-buttons{position:static}

.count-confirm-buttons .button{min-width:0;white-space:normal}.count-dialog .actions .button{white-space:normal}
