/* Mobile admin: layout only, existing Vue actions and access rules retained. */
.cod-mobile-mask{display:none}
@media(max-width:767px){
body{ -webkit-text-size-adjust:100% }
body:not(:has(.site-page--login)) .site-navbar{height:54px!important;display:flex!important;background:#252932!important}
body .site-navbar__header{display:none!important}
body .site-navbar__body{margin-left:0!important;width:100%!important;height:54px!important;display:flex!important;justify-content:space-between;align-items:center;padding:0 6px!important;background:#252932!important}
body .site-navbar__menu{float:none!important;background:transparent!important;border:0!important;display:flex!important}
body .site-navbar .el-menu-item{height:54px!important;line-height:54px!important;padding:0 10px!important;font-size:12px!important;color:#fff!important;background:transparent!important}
body .site-navbar .el-dropdown,body .site-navbar a,body .site-navbar .icon-svg{color:#fff!important}
body .site-navbar__menu--right .el-dropdown-link{display:flex;align-items:center;max-width:115px;gap:3px}
body .site-navbar__menu--right .el-dropdown-link>span{max-width:70px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body .site-content__wrapper{margin-left:0!important;padding-top:54px!important;min-width:0!important}
body .site-content--tabs{padding-top:42px!important}
body .site-content--tabs>.el-tabs>.el-tabs__header{top:54px!important;left:0!important;padding-left:8px!important}
body .site-content{padding:10px!important;min-width:0!important}
body .site-content .el-card__body{padding:12px!important}
body .site-sidebar{top:54px!important;bottom:0!important;width:260px!important;max-width:85vw;transform:translateX(-105%);visibility:hidden;z-index:1050!important;transition:transform .2s;overflow:hidden!important}
body.cod-mobile-menu-open .site-sidebar{transform:translateX(0);visibility:visible}
body .site-sidebar__inner{width:100%!important}
body .site-sidebar__menu.el-menu{width:100%!important}
body.cod-mobile-menu-open .cod-mobile-mask{display:block;position:fixed;inset:54px 0 0;background:#17213070;z-index:1040;border:0;width:100%;padding:0}
body .refined-orders,body .site-content .refined-orders,body .business-dashboard{padding:10px!important}
body .refined-orders .orders-heading{margin-bottom:16px!important}
body .refined-orders .orders-heading h2{font-size:22px!important}
body .refined-orders .order-record-head{padding:12px!important;gap:6px!important;line-height:1.7!important;overflow-wrap:anywhere}
body .refined-orders .order-record-body{padding:14px!important;grid-template-columns:18px minmax(0,1fr)!important;gap:12px!important}
body .refined-orders .order-record-body>div:not(:first-child){min-width:0;grid-column:2!important;padding:0!important;border-left:0!important}
body .refined-orders .record-price{font-size:20px!important;margin-top:8px!important}
body .refined-orders .record-actions{display:flex!important;flex-wrap:wrap!important;gap:8px!important}
body .refined-orders .record-actions>.el-button{width:auto!important;min-width:72px!important}
body .refined-orders .order-record{margin-bottom:12px!important}
body .refined-orders .record-identity strong{font-size:14px!important}
body .refined-orders .record-contact-fields .record-field{gap:8px!important;overflow-wrap:anywhere}
body .refined-orders .compact-order-filters .order-quick-fields,body .refined-orders .order-input-fields,body .refined-orders .order-extra-fields{grid-template-columns:minmax(0,1fr)!important;gap:12px!important}
body .refined-orders .order-list-heading,body .refined-orders .card-list-tools{flex-wrap:wrap!important;gap:10px!important}
body .el-form:not(.el-form--inline)>.el-row>.el-col{width:100%!important;margin-left:0!important}
body .el-form .el-form-item{max-width:100%;margin-right:0!important}
body .el-form .el-form-item__label{float:none!important;display:block!important;width:auto!important;text-align:left!important;line-height:22px!important;padding:0 0 6px!important}
body .el-form .el-form-item__content{margin-left:0!important;min-width:0!important}
body .el-form .el-input,body .el-form .el-select,body .el-form .el-date-editor{max-width:100%!important}
body .el-form--inline{display:flex;flex-wrap:wrap;gap:10px}
body .el-form--inline>.el-form-item{flex:1 1 180px;margin-bottom:8px!important}
body .el-input__inner,body .el-textarea__inner{font-size:16px!important}
body .el-form .el-checkbox{margin-left:0!important;margin-right:12px!important;white-space:normal}
body .el-form .el-row{margin-left:0!important;margin-right:0!important}
body .el-form .el-col{padding-left:0!important;padding-right:0!important}
body .t-form-footer{left:0!important;width:100%!important;display:flex;align-items:center;justify-content:center;gap:8px;padding-bottom:env(safe-area-inset-bottom)!important;height:auto!important;min-height:58px}
body .site-content:has(.t-form-footer){padding-bottom:80px!important}
body .el-dialog{width:calc(100% - 20px)!important;max-width:100%!important;margin:10px auto!important}
body .el-dialog__body{padding:16px!important;overflow:auto;max-height:calc(100dvh - 160px)}
body .el-message-box{width:calc(100% - 24px)!important}
body .el-date-range-picker{width:min(630px,calc(100vw - 16px))!important;max-height:80vh;overflow:auto}
body .el-date-range-picker__content{width:100%!important;float:none!important}
body .el-pagination{white-space:normal!important;display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
body .el-table{width:100%!important;max-width:100%!important}
body .el-table__body-wrapper{overflow-x:auto!important;-webkit-overflow-scrolling:touch}
body .el-table__fixed,body .el-table__fixed-right{display:none!important}
body .business-dashboard .metrics,body .business-dashboard .dashboard-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important}
body .el-button{min-height:36px}
}
@media(max-width:767px){body .site-wrapper{min-width:0!important;width:100%!important}}
.cod-mobile-bottom,.cod-repeat-toggle{display:none}
@media(max-width:767px){
.cod-mobile-bottom:not([hidden]){display:flex;position:fixed;bottom:0;left:0;right:0;z-index:1001;background:#fff;border-top:1px solid #dce1e9;padding:7px 6px calc(7px + env(safe-area-inset-bottom));gap:4px}
.cod-mobile-bottom button{flex:1;border:0;border-radius:7px;background:transparent;color:#596578;min-height:42px;font-size:13px;cursor:pointer}
.cod-mobile-bottom button.is-active{background:#edf0ff;color:#4265db}
body .site-content{padding-bottom:80px!important}
body:has(.t-form-footer) .cod-mobile-bottom{display:none!important}
body .record-repeated:before{display:none!important}
body .record-repeated>.cod-repeat-toggle{display:block;background:#fff0e8;color:#a34b24;border:1px solid #efcbb7;border-radius:7px;padding:11px;font-size:12px;line-height:1.5;width:100%;text-align:left;cursor:pointer;margin-bottom:12px}
body .record-repeated:not(.cod-repeat-open) .order-duplicate-link{display:none!important}
body .cod-product-cards .el-table__header-wrapper{overflow-x:auto!important}
body .cod-product-cards .el-table__body,body .cod-product-cards .el-table__body tbody{display:block!important;width:100%!important}
body .cod-product-cards .el-table__body colgroup{display:none!important}
body .cod-product-cards .el-table__row{display:block!important;border:1px solid #dce1e9;border-radius:12px;margin:12px 0;padding:10px;background:white!important}
body .cod-product-cards .el-table__row>td{display:flex!important;width:100%!important;align-items:flex-start;border:0!important;padding:6px 0!important}
body .cod-product-cards td[data-mobile-label]:before{content:attr(data-mobile-label);width:80px;flex:0 0 80px;color:#8490a0;font-size:12px;padding-top:3px}
body .cod-product-cards td[data-mobile-label='']:before{display:none}
body .cod-product-cards td>.cell{flex:1;min-width:0;width:auto!important;white-space:normal!important;overflow-wrap:anywhere;padding:0 5px!important;line-height:1.7}
}
/* Restore original fixed-column cells after removing duplicate fixed overlays. */
@media(max-width:767px){
body .el-table .el-table__body-wrapper td.is-hidden>*,body .el-table .el-table__header-wrapper th.is-hidden>*{visibility:visible!important}
body .cod-product-cards .el-table__row{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 10px;padding:10px!important;margin:8px 0!important}
body .cod-product-cards .el-table__row>td{min-width:0;padding:3px 0!important;font-size:12px}
body .cod-product-cards td[data-mobile-label]:before{width:58px;flex-basis:58px;font-size:11px}
body .cod-product-cards td[data-mobile-label='操作'],body .cod-product-cards td[data-mobile-label='产品信息'],body .cod-product-cards td[data-mobile-label='产品模版'],body .cod-product-cards td[data-mobile-label='创建日期']{grid-column:1/-1}
body .cod-product-cards td[data-mobile-label='产品信息']{order:-2}
body .cod-product-cards td[data-mobile-label='销售价格']{order:-1}
body .cod-product-cards td[data-mobile-label='操作']{order:10;border-top:1px solid #edf0f5!important;padding-top:7px!important}
body .cod-product-cards td>.cell{font-size:12px!important;line-height:1.5!important}
body .cod-product-cards .el-button{min-height:32px!important;padding:5px 8px!important}
body .refined-orders .order-record-head{padding:8px 10px!important;gap:4px!important;font-size:11px!important;line-height:1.4!important}
body .refined-orders .order-record-body{padding:10px!important;gap:7px!important;font-size:12px!important;line-height:1.45!important}
body .refined-orders .record-contact-fields .record-field{font-size:12px!important;gap:6px!important;margin:2px 0!important}
body .refined-orders .record-contact-fields{gap:4px!important}
body .refined-orders .record-price{font-size:18px!important;margin-top:4px!important}
body .refined-orders .record-actions{gap:5px!important}
body .refined-orders .record-actions>.el-button{min-height:32px!important;height:32px!important;padding:5px 9px!important}
body .refined-orders .record-head-right{display:flex!important;flex-wrap:wrap;gap:4px 10px!important;font-size:11px!important}
body .refined-orders .record-visit{font-size:10px!important;line-height:1.4!important}
body .refined-orders .record-behavior,body .refined-orders .record-behavior .order-behavior{font-size:11px!important;line-height:1.5!important}
body .refined-orders .record-status-tag{min-width:0!important;font-size:11px!important;padding:4px 8px!important}
body .record-repeated>.cod-repeat-toggle{padding:7px 9px!important;margin-bottom:7px!important;font-size:11px!important}
}
.cod-list-toggle-cell,.cod-log-controls,.cod-log-exit,.cod-note-toggle{display:none!important}
@media(max-width:767px){
body .el-table[data-mobile-kind]:not(.cod-log-full) .el-table__body,body .el-table[data-mobile-kind]:not(.cod-log-full) tbody{display:block!important;width:100%!important}
body .el-table[data-mobile-kind]:not(.cod-log-full) colgroup{display:none!important}
body .el-table[data-mobile-kind]:not(.cod-log-full) .el-table__row{display:flex!important;flex-wrap:wrap;gap:4px 8px;margin:8px 0;padding:12px!important;border:1px solid #dfe4ec;border-radius:11px;background:#fff!important}
body .el-table[data-mobile-kind]:not(.cod-log-full) .el-table__row>td{display:flex!important;flex:0 0 100%;min-width:0;width:100%!important;padding:3px 0!important;border:0!important;order:5}
body .el-table[data-mobile-kind] td>.cell{min-width:0;flex:1;width:auto!important;font-size:12px!important;line-height:1.6!important;overflow-wrap:anywhere;white-space:normal!important;padding:0!important}
body .el-table[data-mobile-kind]:not(.cod-log-full) td:before{content:attr(data-field);flex:0 0 78px;width:78px;color:#8490a0;font-size:11px;padding-top:2px}
body .el-table[data-mobile-kind]:not(.cod-log-full) td[data-field='']:before,body .el-table[data-mobile-kind] .cod-list-toggle-cell:before{display:none!important}
body .el-table[data-mobile-kind] td.cod-list-toggle-cell{display:block!important;order:9!important}
.cod-list-toggle-cell button,.cod-log-controls button,.cod-log-exit,.cod-note-toggle{border:1px solid #dce2ed;border-radius:6px;padding:8px 10px;background:#edf1fc;color:#425e9a;font:12px 'Microsoft YaHei';cursor:pointer}
body .el-table[data-mobile-kind] td[data-field='操作']{order:10!important;border-top:1px solid #edf0f5!important;padding-top:8px!important}
body .el-table[data-mobile-kind] td[data-field='操作']:before{display:none!important}
body .el-table[data-mobile-kind] td[data-field='操作'] .cell{display:flex;gap:5px;flex-wrap:wrap}
body .el-table[data-mobile-kind] .el-button{min-height:32px!important;padding:5px 8px!important;margin:0!important;font-size:12px!important}
body .el-table[data-mobile-kind='product'] td[data-field='产品信息']{order:0!important;flex:1 1 calc(100% - 35px)!important;width:auto!important}
body .el-table[data-mobile-kind='product'] td[data-field='产品信息']:before{display:none!important}
body .el-table[data-mobile-kind='product'] td[data-field='产品信息'] .cell{font-weight:600;font-size:14px!important}
body .el-table[data-mobile-kind='product'] td[data-field='产品信息'] img{width:42px!important;height:42px!important;object-fit:contain;float:left;margin-right:8px}
body .el-table[data-mobile-kind='product'] td[data-field='']{order:-1!important;flex:0 0 20px!important;width:20px!important}
body .el-table[data-mobile-kind='product'] td[data-field='销售价格']{order:1!important;font-weight:600}
body .el-table[data-mobile-kind='product'] td[data-field='部门/业务员']{order:2!important}
body .el-table[data-mobile-kind='product'] tr:not([data-mobile-expanded="true"])>td:not([data-field='']):not([data-field='产品信息']):not([data-field='销售价格']):not([data-field='部门/业务员']):not([data-field='操作']):not(.cod-list-toggle-cell){display:none!important}
body .el-table[data-mobile-kind='logs']:not(.cod-log-full) .el-table__header-wrapper,body .el-table[data-mobile-kind='recovery'] .el-table__header-wrapper{display:none!important}
body .el-table[data-mobile-kind='logs']:not(.cod-log-full) tr:not([data-mobile-expanded="true"])>td:not([data-field='域名']):not([data-field='产品名称']):not([data-field='访问IP']):not([data-field='访问时间']):not(.cod-list-toggle-cell){display:none!important}
body .el-table[data-mobile-kind='logs'] td[data-field='产品名称']{order:0!important;font-weight:600}
body .el-table[data-mobile-kind='logs'] td[data-field='访问时间']{order:1!important}
body .el-table[data-mobile-kind='recovery'] td[data-field='客户姓名 / 电话']{order:0!important}
body .el-table[data-mobile-kind='recovery'] td[data-field='客户姓名 / 电话']:before{display:none!important}
body .el-table[data-mobile-kind='recovery'] td[data-field='客户姓名 / 电话'] .cell{font-size:14px!important;font-weight:600}
body .el-table[data-mobile-kind='recovery'] tr:not([data-mobile-expanded="true"])>td:not([data-field='客户姓名 / 电话']):not([data-field='详细地址 / 邮编']):not([data-field='产品 / 链接']):not([data-field='操作']):not(.cod-list-toggle-cell){display:none!important}
body .order-recovery{padding:10px!important}
body .order-recovery .recovery-metrics{gap:6px!important}
body .order-recovery .recovery-metrics button{padding:10px!important}
body .order-recovery .recovery-metrics span{font-size:11px!important}
body .order-recovery .recovery-metrics strong{font-size:22px!important;margin-top:5px}
body .order-recovery .recovery-note:not(.cod-note-open){display:none!important}
body .cod-note-toggle,body .cod-log-controls{display:block!important;margin:10px 0}
body .cod-log-full{position:fixed!important;inset:0!important;width:100vw!important;height:100dvh!important;z-index:3000!important;background:white!important;padding-top:52px!important;display:flex;flex-direction:column}
body .cod-log-full .el-table__body-wrapper{flex:1;overflow:auto!important}
body .cod-log-full .el-table__header-wrapper{overflow-x:auto!important}
body .cod-log-full .cod-log-exit{display:block!important;position:absolute;right:12px;top:8px;z-index:5}
body .cod-log-full .cod-list-toggle-cell{display:none!important}
body.cod-log-showing{overflow:hidden}
body .el-table[data-mobile-kind] .el-table__body-wrapper{max-width:100%!important}
}

@media(max-width:767px){body .site-navbar__switch{display:flex!important;align-items:center;justify-content:center;min-width:44px!important;color:#fff!important}body .site-navbar__switch>*{display:none!important}body .site-navbar__switch:before{content:"☰";display:block;font:25px/1 Arial,sans-serif;color:#fff!important}body .cod-list-toggle-cell button{touch-action:manipulation;min-height:36px}}
