.bg000 {
	background: #000;
}

.bg333 {
	background: #333;
}

.bg666 {
	background: #666;
}

.bg999 {
	background: #999;
}

.bgfff {
	background: #fff;
}

.bgeee {
	background: #eee;
}

.bgddd {
	background: #ddd;
}

.bgccc {
	background: #ccc;
}

.bgbbb {
	background: #bbb;
}

.bgaaa {
	background: #aaa;
}

.br50p {
	border-radius: 50%;
}

.br6 {
	border-radius: 6px;
}

.br10 {
	border-radius: 10px;
}

.br12 {
	border-radius: 12px;
}

.br14 {
	border-radius: 14px;
}

.br20 {
	border-radius: 20px;
}

.br24 {
	border-radius: 24px;
}

.br28 {
	border-radius: 28px;
}

/* 文字竖行的时候变横行 */
.w-s-nowrap {
	white-space: nowrap;
}

/* 强制换行 */
.linefeed {
	word-wrap: break-word;
	word-break: normal;
	word-break: break-all;
}

.disinbk {
	display: inline-block;
}

.disbk {
	display: block;
}

.pos-rel {
	position: relative;
}

.pos-abs {
	position: absolute;
}


.flex-col {
	display: flex;
	flex-direction: column;
}

.flex-row {
	display: flex;
	flex-direction: row;
}

.justify-start {
	display: flex;
	justify-content: flex-start;
}

.justify-center {
	display: flex;
	justify-content: center;
}

.justify-end {
	display: flex;
	justify-content: flex-end;
}

.justify-evenly {
	display: flex;
	justify-content: space-evenly;
}

.justify-around {
	display: flex;
	justify-content: space-around;
}

.justify-between {
	display: flex;
	justify-content: space-between;
}

.align-start {
	display: flex;
	align-items: flex-start;
}

.align-center {
	display: flex;
	align-items: center;
}

/*移动到最后面*/
.align-end {
	display: flex;
	align-items: flex-end;
}

/*垂直居中，水平居中*/
.flex-row-center {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
}

/*垂直居中，水平居中*/
.flex-col-center {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.flex-wrap {
	flex-wrap: wrap;
}

.flex1 {
	flex: 1;
}

.color000 {
	color: #000;
}

.color333 {
	color: #333;
}

.color666 {
	color: #666;
}

.color999 {
	color: #999;
}

.colorfff {
	color: #fff;
}

.coloreee {
	color: #eee;
}

.colorddd {
	color: #ddd;
}

.colorccc {
	color: #ccc;
}

.colorbbb {
	color: #bbb;
}

.coloraaa {
	color: #aaa;
}

.color55aaff {
	color: #55aaff;
}

.color007 {
	color: #0078ff;
}

.fz22 {
	font-size: 22px;
}

.fz24 {
	font-size: 24px;
}

.fz26 {
	font-size: 26px;
}

.fz28 {
	font-size: 28px;
}

.fz30 {
	font-size: 30px;
}

.fz32 {
	font-size: 32px;
}

.fz34 {
	font-size: 34px;
}

.fz36 {
	font-size: 36px;
}

.fz38 {
	font-size: 38px;
}

.fz40 {
	font-size: 40px;
}

.fz45 {
	font-size: 45px;
}

.fz50 {
	font-size: 50px;
}

.fwbold {
	font-weight: bold;
}

.fw400 {
	font-weight: 400;
}

.fw500 {
	font-weight: 500;
}

.fw600 {
	font-weight: 600;
}

.lh1 {
	line-height: 1;
}

.lh1_4 {
	line-height: 1.4;
}

.lh1_6 {
	line-height: 1.6;
}

.lh1_8 {
	line-height: 1.8;
}

.lineclamp1 {
	overflow: hidden;
	text-overflow: ellipsis;

	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 1;
}

.lineclamp2 {
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.lineclamp3 {
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.lineclamp4 {
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4;
}

/*margin距离*/
.mt5 {
	margin-top: 5px;
}

.mr5 {
	margin-right: 5px;
}

.mb5 {
	margin-bottom: 5px;
}

.ml5 {
	margin-left: 5px;
}

.mt10 {
	margin-top: 10px;
}

.mr10 {
	margin-right: 10px;
}

.mb10 {
	margin-bottom: 10px;
}

.ml10 {
	margin-left: 10px;
}

.mt15 {
	margin-top: 15px;
}

.ml15 {
	margin-left: 15px;
}

.mr15 {
	margin-right: 15px;
}

.mb15 {
	margin-bottom: 15px;
}

.mt20 {
	margin-top: 20px;
}

.ml20 {
	margin-left: 20px;
}

.mr20 {
	margin-right: 20px;
}

.mb20 {
	margin-bottom: 20px;
}

.mt25 {
	margin-top: 25px;
}

.ml25 {
	margin-left: 25px;
}

.mr25 {
	margin-right: 25px;
}

.mb25 {
	margin-bottom: 25px;
}

.mt30 {
	margin-top: 30px;
}

.ml30 {
	margin-left: 30px;
}

.mr30 {
	margin-right: 30px;
}

.mb30 {
	margin-bottom: 30px;
}

.mt40 {
	margin-top: 40px;
}

.ml40 {
	margin-left: 40px;
}

.mr40 {
	margin-right: 40px;
}

.mb40 {
	margin-bottom: 40px;
}

.mt50 {
	margin-top: 50px;
}

.ml50 {
	margin-left: 50px;
}

.mr50 {
	margin-right: 50px;
}

.mb50 {
	margin-bottom: 50px;
}

.mt60 {
	margin-top: 60px;
}

.ml60 {
	margin-left: 60px;
}

.mr60 {
	margin-right: 60px;
}

.mb60 {
	margin-bottom: 60px;
}

/*overflow*/
.ofhide {
	overflow: hidden;
}

.ofx {
	overflow-x: scroll;
}

.ofy {
	overflow-y: scroll;
}

.ofxw {
	overflow-x: scroll;
}

.ofyw {
	overflow-y: scroll;
}

.ofxw::-webkit-scrollbar {
	display: none;
}

.ofyw::-webkit-scrollbar {
	display: none;
}

/*padding距离*/
.pt10 {
	padding-top: 10px;
}

.pr10 {
	padding-right: 10px;
}

.pb10 {
	padding-bottom: 10px;
}

.pl10 {
	padding-left: 10px;
}

.pt15 {
	padding-top: 15px;
}

.pl15 {
	padding-left: 15px;
}

.pr15 {
	padding-right: 15px;
}

.pb15 {
	padding-bottom: 15px;
}

.pt20 {
	padding-top: 20px;
}

.pl20 {
	padding-left: 20px;
}

.pr20 {
	padding-right: 20px;
}

.pb20 {
	padding-bottom: 20px;
}

.pt25 {
	padding-top: 25px;
}

.pl25 {
	padding-left: 25px;
}

.pr25 {
	padding-right: 25px;
}

.pb25 {
	padding-bottom: 25px;
}

.pt30 {
	padding-top: 30px;
}

.pl30 {
	padding-left: 30px;
}

.pr30 {
	padding-right: 30px;
}

.pb30 {
	padding-bottom: 30px;
}

.pt35 {
	padding-top: 35px;
}

.pl35 {
	padding-left: 35px;
}

.pr35 {
	padding-right: 35px;
}

.pb35 {
	padding-bottom: 35px;
}

.pt40 {
	padding-top: 40px;
}

.pl40 {
	padding-left: 40px;
}

.pr40 {
	padding-right: 40px;
}

.pb40 {
	padding-bottom: 40px;
}

.pt45 {
	padding-top: 45px;
}

.pl45 {
	padding-left: 45px;
}

.pr45 {
	padding-right: 45px;
}

.pb45 {
	padding-bottom: 45px;
}

.pt50 {
	padding-top: 50px;
}

.pl50 {
	padding-left: 50px;
}

.pr50 {
	padding-right: 50px;
}

.pb50 {
	padding-bottom: 50px;
}

.tal {
	text-align: left;
}

.tac {
	text-align: center;
}

.tar {
	text-align: right;
}

.zx1 {
	z-index: 1;
}

.zx2 {
	z-index: 2;
}

.zx3 {
	z-index: 3;
}

.zx5 {
	z-index: 5;
}

.zx10 {
	z-index: 10;
}

.zx20 {
	z-index: 20;
}

.zx30 {
	z-index: 30;
}

/*横排*/
.whsnowrap {
	white-space: nowrap;
}

/* 英文换行 */
.wordbw {
	word-wrap: break-word;
	word-break: break-all;
}

/* ==================== 打印弹窗（公共组件） ==================== */
.print-modal-mask {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.print-modal-mask.show {
    opacity: 1;
    visibility: visible;
}

.print-modal-container {
    position: relative;
    background: #fff;
    border-radius: 12px;
    width: 845px;
    max-width: 92vw;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.print-modal-header {
	position: relative;
	height: 60px;
    display: flex;
    align-items: center;
	justify-content: center;
	border-bottom: 1px solid #f0f0f0;
}

.print-modal-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.print-modal-close {
	position: absolute;
	right: 15px;
	top: 15px;
    width: 28px;
    height: 28px;
    border: none;
    background: none;
    color: #999;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    padding: 0;
}

.print-modal-close svg {
    width: 18px;
    height: 18px;
}

.print-modal-close:hover {
    background: #f5f5f5;
    color: #333;
}

.print-modal-body {
    padding: 26px;
}

.print-modal-footer {
	height: 60px;
	padding: 0 24px;
    display: flex;
	align-items: center;
    justify-content: flex-end;
    gap: 12px;
    border-top: 1px solid #f0f0f0;
}

.print-modal-btn {
	width: 106px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    font-size: 14px;
	font-weight: bold;
    cursor: pointer;
    border: 1px solid #ddd;
    transition: all 0.2s;
    padding: 0 20px;
}

.print-modal-btn-cancel {
    background: #fff;
    color: #4080ff;
    border-color: #4080ff;
}

.print-modal-btn-cancel:hover {
    background: #f0f6ff;
}

.print-modal-btn-confirm {
    background: #4080ff;
    color: #fff;
    border-color: #4080ff;
}

.print-modal-btn-confirm:hover {
    background: #3070ef;
}

.print-section-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 14px;
}

.print-layout-options {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
}

.print-layout-item {
    flex: 1;
	text-align: center;
	padding: 12px 20px;
	border-radius: 10px;
	border: 1px solid #f3f3f3;
	
    cursor: pointer;
}

.print-layout-preview{
	display: block;
	width: 100%;
	margin: 12px 0;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.print-layout-item:hover {
    border-color: #4080ff;
}

.print-layout-item.active {
    border-color: #4080ff;
	background: #ebf2ff;
}

.print-layout-item .print-layout-name {
    color: #999;
    font-weight: 600;
}

.print-layout-item.active .print-layout-name {
    color: #4080ff;
}

.print-layout-size {
    font-size: 12px;
    color: #666;
}

.print-repeat-section {
    margin-bottom: 20px;
}

.print-repeat-label {
    color: #333;
    margin-bottom: 8px;
}

.print-repeat-control {
    display: inline-flex;
    align-items: center;
    gap: 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}

.print-repeat-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: #f5f5f5;
    cursor: pointer;
    font-size: 16px;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
}

.print-repeat-btn:hover {
    background: #e8e8e8;
}

.print-repeat-value {
    width: 40px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #333;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
}

.print-show-name {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #333;
    cursor: pointer;
}

.print-show-name input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: #4080ff;
}

/* ==================== 进度弹窗 ==================== */
.progress-modal-mask {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}
.progress-modal-mask.show {
    opacity: 1;
    visibility: visible;
}
.progress-modal-container {
    background: #fff;
    border-radius: 12px;
    width: 420px;
    max-width: 90vw;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}
.progress-modal-header {
    padding: 20px 24px 0;
}
.progress-modal-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
}
.progress-modal-body {
    padding: 20px 24px;
}
.progress-bar-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.progress-bar-track {
    flex: 1;
    height: 10px;
    background: #f0f0f0;
    border-radius: 5px;
    overflow: hidden;
}
.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #4080ff, #6ba3ff);
    border-radius: 5px;
    transition: width 0.4s ease;
    min-width: 0;
}
.progress-bar-text {
    font-size: 14px;
    font-weight: 600;
    color: #4080ff;
    min-width: 42px;
    text-align: right;
}
.progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}
.progress-count {
    font-size: 14px;
    color: #666;
}
.progress-status {
    font-size: 13px;
    color: #999;
}
.progress-failed {
    margin-top: 12px;
    padding: 10px 12px;
    background: #fff5f5;
    border-radius: 6px;
    border: 1px solid #ffe0e0;
}
.progress-failed-title {
    font-size: 13px;
    font-weight: 600;
    color: #e53e3e;
    margin-bottom: 4px;
}
.progress-failed-item {
    font-size: 12px;
    color: #c53030;
    line-height: 1.6;
}

/* ==================== 下载弹窗 ==================== */
.dl-modal-mask {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}
.dl-modal-mask.show {
    opacity: 1;
    visibility: visible;
}
.dl-modal-box {
    background: #fff;
    border-radius: 12px;
    width: 582px;
    max-width: 90vw;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}
.dl-modal-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    padding: 0 24px;
    border-bottom: 1px solid #eee;
}
.dl-modal-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #333;
}
.dl-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    cursor: pointer;
    color: #999;
    background: none;
    border: none;
    font-size: 28px;
    transition: all 0.2s;
}
.dl-modal-close:hover {
    background: #f5f5f5;
    color: #333;
}
.dl-modal-body {
    display: flex;
    padding: 32px;
    gap: 24px;
}
.dl-preview {
    width: 200px;
    height: 200px;
    border: 1px solid #d2d2d2;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.dl-preview-icon {
    width: 80px;
    height: 80px;
    opacity: 0.2;
}
.dl-form {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}
.dl-form-row {
    display: flex;
    align-items: center;
    gap: 16px;
}
.dl-form-label {
    font-size: 14px;
    color: #000;
    font-weight: 600;
    min-width: 70px;
}
.dl-radio-group {
    display: flex;
    gap: 24px;
}
.dl-radio {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
}
.dl-radio input {
    width: 16px;
    height: 16px;
    accent-color: #4080ff;
    cursor: pointer;
}
.dl-size-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}
.dl-size-select {
    padding: 6px 12px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
    background: #fff;
    cursor: pointer;
    outline: none;
}
.dl-size-select:focus {
    border-color: #4080ff;
}
.dl-size-unit {
    font-size: 14px;
    color: #666;
}
.dl-btn-download {
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #4aa8ff;
    color: #fff;
    border: none;
    border-radius: 20px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 8px;
}
.dl-btn-download:hover {
    background: #3a9af5;
}
.dl-modal-footer {
    display: flex;
    justify-content: space-between;
    gap: 50px;
    margin: 0 32px 32px;
    padding: 16px 24px;
    border-radius: 10px;
    background: #f4f4f4;
}
.dl-footer-btn {
    flex: 1;
    height: 40px;
    border: 1px solid #d9d9d9;
    border-radius: 20px;
    background: #fff;
    color: #333;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 14px;
}
.dl-footer-btn:hover {
    border-color: #4080ff;
    color: #4080ff;
}