*{box-sizing:border-box}html,body,#root{margin:0;padding:0;height:100%;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Microsoft YaHei,sans-serif}body{background:#f0f2f5}.login-bg{min-height:100vh;background:linear-gradient(135deg,#a8e6cf,#88d8a3,#56c596 60%,#3eb489);position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center}.login-bg:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;background:radial-gradient(circle at 15% 30%,rgba(255,255,255,.35) 0%,transparent 8%),radial-gradient(circle at 25% 70%,rgba(255,255,255,.25) 0%,transparent 12%),radial-gradient(circle at 80% 20%,rgba(255,255,255,.3) 0%,transparent 10%),radial-gradient(circle at 75% 75%,rgba(255,255,255,.2) 0%,transparent 14%),radial-gradient(circle at 50% 50%,rgba(255,255,255,.15) 0%,transparent 18%);pointer-events:none}.login-card{background:#fffffff2;padding:32px 40px;border-radius:8px;box-shadow:0 10px 40px #0003;width:460px;position:relative;z-index:1}.login-title{text-align:center;font-size:26px;font-weight:700;color:#2d5e3e;margin-bottom:6px}.login-subtitle{text-align:center;font-size:13px;color:#888;margin-bottom:24px}.login-brand{position:absolute;top:40px;right:60px;font-size:20px;color:#2d5e3e;font-weight:600;text-shadow:1px 1px 2px rgba(255,255,255,.5);z-index:1}.login-version{position:absolute;bottom:20px;left:40px;color:#fff;text-shadow:1px 1px 2px rgba(0,0,0,.3);font-size:13px;z-index:1}.main-header{background:linear-gradient(to bottom,#f0f8e8,#d9eec8);border-bottom:1px solid #8bbf6d;padding:0 16px;height:50px;display:flex;align-items:center;gap:4px}.menu-bar{background:linear-gradient(to bottom,#f0f8e8,#e0f0d0);padding:0 16px;border-bottom:1px solid #8bbf6d;height:37px}.menu-bar .ant-menu{background:transparent;border-bottom:none;line-height:36px}.menu-bar .ant-menu-item,.menu-bar .ant-menu-submenu-title{line-height:36px;height:36px;margin:0;padding:0 16px;color:#14401f;font-weight:700;font-size:15px;text-shadow:0 1px 1px rgba(255,255,255,.6)}.menu-bar .ant-menu-item-selected,.menu-bar .ant-menu-item-active{color:#0d2c14}.toolbar{background:#f5f9f0;border-bottom:1px solid #cce0b8;padding:6px 16px;display:flex;align-items:center;gap:6px}.toolbar-btn{width:36px;height:32px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #a8d090;border-radius:3px;background:linear-gradient(to bottom,#fff,#e8f4dd);cursor:pointer;color:#4a7c2e}.toolbar-btn:hover{background:linear-gradient(to bottom,#e8f4dd,#d0e8b8)}.sidebar{width:200px;background:linear-gradient(to right,#f5f9f0,#ebf3e0);border-right:1px solid #cce0b8;height:calc(100vh - 109px);overflow-y:auto;flex-shrink:0}.sidebar-item{padding:14px 16px;display:flex;align-items:center;gap:10px;cursor:pointer;border-bottom:1px solid #d8e8c8;color:#2d5e3e;font-size:14px}.sidebar-item:hover{background:#d8e8c8}.sidebar-item.active{background:#b8d898;font-weight:600}.sidebar-parent{background:linear-gradient(to right,#e8f4dd,#d8e8c8);font-weight:600;position:relative}.sidebar-parent:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:#5a8f3a}.sidebar-children{background:#f5f9f0;border-bottom:1px solid #d8e8c8}.sidebar-child{padding:10px 16px 10px 32px;font-size:13px;border-bottom:1px solid #e8f0d8;background:#fafdf5}.sidebar-child:hover{background:#e8f0d8}.sidebar-child.active{background:#c8e0a8;color:#1d4e2e;font-weight:600}.sidebar-toggle{margin-left:auto;font-size:10px;color:#5a8f3a}.content-area{flex:1;background:linear-gradient(135deg,#fff8dc,#ffeaa7,#fdcb6e);padding:16px;height:calc(100vh - 109px);overflow:auto}.status-bar{position:fixed;bottom:0;left:0;right:0;height:22px;background:linear-gradient(to bottom,#f0f8e8,#d9eec8);border-top:1px solid #8bbf6d;display:flex;align-items:center;padding:0 12px;font-size:12px;color:#2d5e3e;gap:16px;z-index:100}.status-bar .status-item{display:flex;align-items:center;gap:4px}.module-diagram{width:100%;height:100%;position:relative;min-height:600px}.module-node{position:absolute;width:110px;text-align:center;cursor:pointer;transition:transform .2s}.module-node:hover{transform:scale(1.1)}.module-icon{width:80px;height:80px;margin:0 auto;background:#ffffffe6;border:2px solid #52c41a;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:36px;color:#52c41a;box-shadow:0 4px 12px #00000026}.module-label{margin-top:6px;color:#2d5e3e;font-weight:600;text-shadow:1px 1px 1px rgba(255,255,255,.8)}.module-center{position:absolute;width:140px;height:140px;border-radius:50%;background:linear-gradient(135deg,#fff8dc,#ffd93d);border:3px dashed #d2691e;display:flex;align-items:center;justify-content:center;text-align:center;font-weight:700;font-size:18px;color:#d2691e;box-shadow:0 4px 16px #d2691e4d}.ant-table{background:#fff;border-radius:4px}.page-container{background:#fff;padding:16px;border-radius:6px;box-shadow:0 1px 4px #00000014}.customer-elevator-page{display:flex;flex-direction:column;height:100%;box-sizing:border-box}.customer-elevator-page .customer-elevator-table-wrapper{flex:1;min-height:0}.annual-inspection-page{display:flex;flex-direction:column;height:100%;box-sizing:border-box}.annual-inspection-page .annual-inspection-table-wrapper{flex:1;min-height:0}.annual-inspection-table-wrapper .ant-table-header{position:sticky;top:0;z-index:3;background:#fafafa}.annual-inspection-table-wrapper .ant-table-body{scrollbar-gutter:stable}.annual-inspection-table-wrapper .ant-table-ping-right:not(.ant-table-has-fix-left)>.ant-table-container:after{box-shadow:inset 10px 0 8px -8px #00000026}.annual-inspection-table-wrapper .ant-table-ping-left:not(.ant-table-has-fix-right)>.ant-table-container:before{box-shadow:inset -10px 0 8px -8px #00000026}.frozen-table-page{display:flex;flex-direction:column;height:100%;box-sizing:border-box}.frozen-table-page .frozen-table-wrapper{flex:1;min-height:0}.frozen-table-wrapper .ant-table-header{position:sticky;top:0;z-index:3;background:#fafafa}.frozen-table-wrapper .ant-table-body{scrollbar-gutter:stable}.frozen-table-wrapper .ant-table-ping-right:not(.ant-table-has-fix-left)>.ant-table-container:after{box-shadow:inset 10px 0 8px -8px #00000026}.frozen-table-wrapper .ant-table-ping-left:not(.ant-table-has-fix-right)>.ant-table-container:before{box-shadow:inset -10px 0 8px -8px #00000026}.search-bar{margin-bottom:16px;display:flex;gap:8px;align-items:center}.card-title{font-size:16px;font-weight:600;margin-bottom:12px;color:#2d5e3e;border-left:4px solid #52c41a;padding-left:10px}:root{--fl-primary: #52c41a;--fl-primary-hover: #73d13d;--fl-primary-active: #389e0d;--fl-primary-bg: #f6ffed;--fl-primary-border: #b7eb8f;--fl-text: rgba(0, 0, 0, .88);--fl-text-secondary: rgba(0, 0, 0, .65);--fl-text-tertiary: rgba(0, 0, 0, .45);--fl-text-disabled: rgba(0, 0, 0, .25);--fl-border-secondary: #f0f0f0;--fl-bg-page: #f0f2f5;--fl-sp-1: 4px;--fl-sp-2: 8px;--fl-sp-3: 12px;--fl-sp-4: 16px;--fl-sp-5: 24px}.fl-mt-4{margin-top:var(--fl-sp-1)}.fl-mt-8{margin-top:var(--fl-sp-2)}.fl-mt-12{margin-top:var(--fl-sp-3)}.fl-mt-16{margin-top:var(--fl-sp-4)}.fl-mb-4{margin-bottom:var(--fl-sp-1)}.fl-mb-8{margin-bottom:var(--fl-sp-2)}.fl-mb-12{margin-bottom:var(--fl-sp-3)}.fl-mb-16{margin-bottom:var(--fl-sp-4)}.fl-mr-8{margin-right:var(--fl-sp-2)}.fl-ml-4{margin-left:var(--fl-sp-1)}.fl-ml-8{margin-left:var(--fl-sp-2)}.fl-ml-auto{margin-left:auto}.fl-w-100{width:100%}.fl-w-140{width:140px}.fl-w-160{width:160px}.fl-w-200{width:200px}.fl-w-240{width:240px}.fl-w-280{width:280px}.fl-w-320{width:320px}.fl-w-360{width:360px}.fl-w-80{width:80px}.fl-w-100-inline{width:100px}.fl-w-70{width:70px}.fl-h-280{height:280px}.fl-h-300{height:300px}.fl-text-secondary{color:var(--fl-text-secondary)}.fl-text-tertiary{color:var(--fl-text-tertiary)}.fl-text-disabled{color:var(--fl-text-disabled)}.fl-text-brand{color:var(--fl-primary)}.fl-text-muted{color:var(--fl-text-tertiary)}.fl-text-weight-600{font-weight:600}.fl-text-ellipsis{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fl-flex{display:flex}.fl-flex-center{display:flex;align-items:center;justify-content:center}.fl-flex-center-muted{display:flex;align-items:center;justify-content:center;color:var(--fl-text-tertiary)}.fl-flex-wrap{display:flex;flex-wrap:wrap;align-items:center}.fl-flex-1{flex:1;min-width:0}.fl-gap-4{gap:var(--fl-sp-1)}.fl-gap-8{gap:var(--fl-sp-2)}.fl-gap-12{gap:var(--fl-sp-3)}.fl-gap-16{gap:var(--fl-sp-4)}.fl-grid-2col{display:grid;grid-template-columns:1fr 1fr;gap:var(--fl-sp-3)}.fl-grid-2col-lg{display:grid;grid-template-columns:1fr 1fr;gap:var(--fl-sp-4)}.fl-grid-3col{display:grid;grid-template-columns:1fr 1fr 1fr;gap:var(--fl-sp-3)}.fl-form-col-2{grid-column:1 / 3}.fl-form-col-3{grid-column:1 / 4}.fl-search-meta{margin-left:auto;color:var(--fl-text-secondary)}.fl-empty-h280{height:280px;display:flex;align-items:center;justify-content:center;color:var(--fl-text-tertiary)}.fl-empty-h300{height:300px;display:flex;align-items:center;justify-content:center;color:var(--fl-text-tertiary)}.fl-attachment{display:flex;align-items:center;gap:var(--fl-sp-3);padding:var(--fl-sp-2);background:#fafafa;border-radius:var(--fl-sp-1)}.fl-attachment-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fl-attachment-meta{color:var(--fl-text-tertiary);font-size:12px}.fl-section-title{margin-top:var(--fl-sp-4);margin-bottom:var(--fl-sp-3);font-weight:600}.fl-section-title-sm{margin-bottom:var(--fl-sp-3);font-weight:600}.fl-section-title-brand{font-weight:600;margin:8px 0;color:#2d5e3e}.fl-icon-success{color:var(--fl-primary)}.fl-icon-info{color:#1890ff}.fl-icon-danger{color:#ff4d4f}.fl-empty-h340{height:340px;display:flex;align-items:center;justify-content:center;color:var(--fl-text-tertiary)}.fl-text-hint{color:var(--fl-text-tertiary);font-size:12px}.fl-chip-row{display:flex;flex-wrap:wrap;gap:var(--fl-sp-2)}.fl-row-head{background:#fafafa;font-weight:600}.fl-row-gap12{display:flex;gap:var(--fl-sp-3);align-items:center}.fl-card-mini-title{font-weight:600;margin:8px 0;color:#2d5e3e}.fl-text-row{font-size:13px;line-height:2.1}.fl-text-tip{color:var(--fl-text-tertiary);font-size:13px;margin-bottom:var(--fl-sp-3)}.fl-inline-bg{background:#fff;padding:0 4px}.fl-w-110{width:110px}.fl-w-120{width:120px}.fl-w-130{width:130px}.fl-w-300{width:300px}.fl-w-340{width:340px}.fl-grid-4col{display:grid;grid-template-columns:1fr 1fr 1fr 1fr;gap:12px}.fl-card-mini-title-sm{font-weight:600;margin:8px 0;color:#333}.fl-attachment-item{display:flex;align-items:center;gap:12px;padding:8px;background:#fafafa;border-radius:6px}.fl-attachment-icon-img{color:#52c41a;font-size:18px}.fl-attachment-icon-file{color:#1890ff;font-size:18px}.fl-flex-fill{flex:1;min-width:0}.fl-ellipsis{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fl-flex-gap12{display:flex;gap:12px}.fl-card-soft{border:1px solid #f0f0f0;border-radius:6px;padding:12px;background:#fafafa}.fl-section-title-blue{margin-bottom:8px;font-weight:600;color:#1677ff}.fl-section-title-blue2{font-weight:600;margin-bottom:8px;color:#1d4ed8}.fl-section-title-mt12{margin-top:12px;font-weight:600}.fl-card-soft-mb12{margin-bottom:12px;padding:12px;background:#fafafa;border-radius:6px}.fl-card-soft-mt20{margin-top:20px;padding:12px;background:#f6f8fa;border:1px solid #e6ebf0;border-radius:6px}.fl-text-brand{color:#2d5e3e}.fl-text-brand-blue{color:#1677ff;font-weight:500}.fl-text-warn-orange{color:#fa541c;font-size:14px}.fl-text-secondary-inline{font-weight:400;color:#666;margin-left:8px}.fl-text-tiny-hint{font-size:11px;color:#999}.fl-text-hint-ml12{margin-left:12px;font-size:12px;color:#999;font-weight:400}.fl-pre-wrap{word-break:break-all;white-space:pre-wrap;line-height:1.4}.fl-warn-banner{background:#fff7e6;border:1px solid #ffd591;border-radius:4px;padding:6px 12px;margin-bottom:8px;font-size:13px;color:#d46b08;display:flex;align-items:center;gap:8px}.fl-info-banner{background:#e6f7ff;border:1px solid #91d5ff;border-radius:4px;padding:6px 12px;margin-bottom:8px;font-size:12px;color:#0050b3;display:flex;align-items:center;gap:8px}.fl-search-meta-danger{margin-left:8px;color:#f5222d}.fl-search-meta-warning{margin-left:8px;color:#fa8c16}.fl-cursor-pointer{cursor:pointer}.fl-w-380{width:380px}.fl-mt-2{margin-top:2px}.fl-flex-gap8{display:flex;gap:8px}.fl-align-self-center{align-self:center}.fl-text-mini-hint{color:#999;font-size:13px;margin-bottom:12px}.fl-text-amount-strong{color:#f5222d;font-weight:600}.fl-icon-success-glyph{color:#52c41a}.fl-text-meta-muted{color:#aaa;font-size:12px}.fl-text-meta{color:#888}.fl-loading-center{padding:40px;text-align:center}.fl-dashboard-canvas{background:#fff;border-radius:6px;padding:16px;height:520px}.fl-pwd-wrap{position:relative}.fl-pwd-input{width:100%;height:40px;padding:0 40px 0 36px;font-size:16px;line-height:40px;border:1px solid #d9d9d9;border-radius:6px;outline:none;font-family:inherit;letter-spacing:2px;background:#fff;box-sizing:border-box}.fl-pwd-icon-left,.fl-pwd-icon-right{position:absolute;top:50%;transform:translateY(-50%);color:#999}.fl-pwd-icon-left{left:11px}.fl-pwd-icon-right{right:11px;cursor:pointer;padding:4px}.fl-form-head-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;padding-right:4px}.fl-label-13{font-size:13px}.fl-form-hint{color:#999;font-size:12px;margin-bottom:16px}.fl-link-btn-nopad{padding:0}.fl-captcha-loading{width:100%;height:180px;display:flex;align-items:center;justify-content:center;background:#f5f5f5;border-radius:6px;font-size:13px;color:#999}.fl-cap-reload-btn{position:absolute;right:4px;top:4px;z-index:2}.fl-page-desc{color:#00000073;font-size:13px;margin-bottom:16px}.fl-no-perm-card{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:360px;background:#fffbe6;border:1px solid #ffe58f;border-radius:8px;padding:24px}.fl-no-perm-title{font-size:16px;color:#ad6800;font-weight:500}.fl-no-perm-icon{font-size:48px;color:#faad14;margin-bottom:16px}.fl-error-log{max-height:200px;overflow:auto;background:#fffbe6;padding:8px;border-radius:4px;font-size:12px}.fl-msg-p{color:#666;margin-bottom:8px}.fl-grid-1col{display:grid;grid-template-columns:1fr;gap:12px}.fl-text-bbb{color:#bbb}.fl-price-lg-green{color:#52c41a;font-weight:600;font-size:16px;margin-left:8px}.fl-price-lg-warn{color:#fa8c16;font-weight:600;font-size:16px;margin-left:8px}.fl-price-unit{color:#999;margin-left:6px;font-size:12px}.fl-tag-warn-mb8{margin-bottom:8px;color:#d46b08;font-weight:600;font-size:13px}.fl-tag-success-mb12{margin-bottom:12px;color:#389e0d;font-weight:600;font-size:14px}.fl-meta-ml12{margin-left:12px;font-size:12px;color:#999;font-weight:400}.fl-mb-0{margin-bottom:0}.fl-flex-gap8-center{display:flex;align-items:center;gap:8px}.fl-warn-section{background:#fff7e6;border:1px solid #ffd591;border-radius:6px;padding:12px 16px;margin-bottom:16px}.fl-success-section{background:#f6ffed;border:1px solid #b7eb8f;border-radius:6px;padding:12px 16px;margin-bottom:16px}.fl-success-row{background:#f6ffed;border:1px solid #b7eb8f;border-radius:6px;padding:10px 14px;margin-bottom:12px;display:flex;align-items:center;gap:24px}.fl-section-title-blue-mb8{font-weight:600;margin-bottom:8px;color:#1d4ed8}.fl-stat-tag{font-size:16px;padding:0 8px}.fl-min-w-140{min-width:140px}.fl-row-group>td{background:#f0f5ff!important;padding-top:6px!important;padding-bottom:6px!important;border-bottom:1px solid #d6e4ff}.fl-row-group:hover>td{background:#e6f0ff!important}.f82-detail-table .ant-table-tbody>tr>td{padding:4px 6px!important}.f82-detail-table .ant-input-sm,.f82-detail-table .ant-select-sm .ant-select-selector{padding-top:1px;padding-bottom:1px}@media (max-width: 768px){html,body{overflow-x:hidden}.login-card{width:calc(100vw - 24px)!important;padding:20px 16px!important}.login-title{font-size:20px}.login-bg{flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;overflow-y:auto!important;padding:8px 0 6px}.login-card{margin:0 auto!important}.login-subtitle{margin-bottom:12px!important}.login-version{position:static!important;left:auto!important;bottom:auto!important;width:100%;text-align:center;color:#24503a;text-shadow:none;font-size:11px;line-height:1.6;margin:10px 0 6px;padding:0 8px;opacity:.92}.login-version .login-beian{justify-content:center}.login-brand{display:none}.main-header{flex-wrap:wrap;height:auto;min-height:40px;padding:6px 8px;row-gap:4px}.main-header>div:first-child{font-size:13px!important;white-space:normal!important;line-height:1.4;margin-right:0!important}.main-header span{white-space:normal!important}.main-header .ant-space{gap:8px!important;flex-wrap:wrap}.menu-bar{height:auto;padding:0 4px}.ant-layout .ant-layout{flex-direction:column!important;height:auto!important}.sidebar{width:100%!important;height:auto!important;max-height:38vh;border-right:none;border-bottom:1px solid #cce0b8;flex-shrink:0}.content-area{height:auto!important;padding:10px 10px 30px;overflow:visible}.status-bar{font-size:11px;gap:8px;overflow:hidden;white-space:nowrap}.status-bar .status-item:nth-child(3),.status-bar .fl-ml-auto,.status-bar a.status-item{display:none}.fl-w-70,.fl-w-80,.fl-w-100-inline,.fl-w-110,.fl-w-120,.fl-w-130,.fl-w-140,.fl-w-160,.fl-w-200,.fl-w-240,.fl-w-280,.fl-w-300,.fl-w-320,.fl-w-340,.fl-w-360,.fl-w-380{width:100%!important;min-width:0!important}.fl-min-w-140{min-width:0!important}.fl-grid-2col,.fl-grid-2col-lg,.fl-grid-3col,.fl-grid-4col{grid-template-columns:1fr!important}.fl-form-col-2,.fl-form-col-3{grid-column:auto}.search-bar{flex-wrap:wrap}.page-container{padding:10px}.module-diagram{min-height:460px}.module-node{width:76px}.module-icon{width:54px;height:54px;font-size:24px}.module-center{width:96px;height:96px;font-size:13px}.ant-modal{max-width:calc(100vw - 16px)!important;margin:8px auto!important}.ant-modal .ant-modal-content{max-height:calc(100vh - 32px);overflow:auto}.frozen-table-page,.customer-elevator-page,.annual-inspection-page{height:auto;min-height:0}.status-bar:after{content:" · 移动版v4";color:#4a7c2f}.menu-bar{display:none!important}.ant-table-wrapper .ant-table-cell-fix-left,.ant-table-wrapper .ant-table-cell-fix-right{position:sticky!important}.ant-table-ping-left .ant-table-container:before,.ant-table-ping-right .ant-table-container:after{display:none!important}.ant-table-wrapper .ant-table-container table,.ant-table-wrapper .ant-table-content>table,.ant-table-wrapper .ant-table-body>table{min-width:880px!important}.ant-table-wrapper .ant-table-content,.ant-table-wrapper .ant-table-body{overflow-x:auto!important;-webkit-overflow-scrolling:touch}.ant-table-body{max-height:none!important}.ant-table{font-size:12px}.ant-table-thead>tr>th,.ant-table-tbody>tr>td{padding:6px!important}@media (orientation: landscape) and (max-height: 768px){.sidebar{max-height:16vh}.content-area{padding:6px 6px 24px}.page-container{padding:8px}.card-title{font-size:14px;margin-bottom:8px}.ant-table-wrapper .ant-table-cell-fix-left,.ant-table-wrapper .ant-table-cell-fix-right{position:sticky!important}.ant-table-ping-left .ant-table-container:before,.ant-table-ping-right .ant-table-container:after{display:block!important}.ant-table-wrapper .ant-table-container table,.ant-table-wrapper .ant-table-content>table,.ant-table-wrapper .ant-table-body>table{min-width:1100px!important}.ant-row .ant-col-span-6{width:50%!important}}.fl-mobile-tip{background:#e6f7ff;border:1px solid #91d5ff;border-radius:4px;padding:8px 12px;margin-bottom:12px;font-size:13px;color:#0050b3;display:flex;align-items:center;gap:8px}.fl-mobile-tip svg{flex-shrink:0}}.fl-landscape-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#f0f2f5;z-index:2000;display:flex;flex-direction:column;padding:8px;box-sizing:border-box}.fl-landscape-header{display:flex;align-items:center;justify-content:space-between;background:#fff;border-radius:6px;padding:10px 12px;margin-bottom:8px;box-shadow:0 1px 4px #00000014}.fl-landscape-title{font-size:14px;font-weight:600;color:#2d5e3e}.fl-landscape-table{flex:1;min-height:0;background:#fff;border-radius:6px;padding:8px;box-shadow:0 1px 4px #00000014;overflow:hidden}.fl-landscape-table .ant-table-wrapper,.fl-landscape-table .ant-table{min-width:100%!important}.fl-landscape-table .ant-table-body{max-height:none!important}@media (orientation: landscape) and (max-height: 768px){.fl-landscape-overlay{padding:6px}.fl-landscape-header{margin-bottom:6px;padding:8px 10px}.fl-landscape-title{font-size:13px}}@media (max-width: 768px) and (orientation: portrait){.fl-landscape-overlay{width:100vh;height:100vw;transform:rotate(90deg) translateY(-100%);transform-origin:top left}}@media (max-width: 768px) and (orientation: portrait){.fl-landscape-modal .ant-modal{top:8px;padding-bottom:0;max-width:calc(100vw - 16px)}.fl-landscape-modal .ant-modal-content{display:flex;flex-direction:column;max-height:calc(100vh - 16px)}.fl-landscape-modal .ant-modal-body{flex:1 1 auto;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch}}@media (max-width: 768px) and (orientation: landscape){.fl-landscape-modal .ant-modal{top:8px;padding-bottom:0}.fl-landscape-modal .ant-modal-content{display:flex;flex-direction:column;max-height:calc(100vh - 16px)}.fl-landscape-modal .ant-modal-body{flex:1 1 auto;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch}}@media (max-width: 768px){.ant-table-wrapper .fl-order-no-cell{font-size:11px;padding-left:6px!important;padding-right:6px!important}.ant-table-wrapper .fl-action-cell{padding-left:4px!important;padding-right:4px!important}.ant-table-wrapper .fl-action-cell .ant-space{gap:2px!important}.ant-table-wrapper .fl-action-cell .ant-btn{padding:0 4px;font-size:12px}}.ant-message{z-index:3000!important}.fl-landscape-table .ant-table-content{overflow:visible!important}.fl-landscape-table thead th{position:sticky!important;top:0!important;z-index:3;background:#fafafa!important}.fl-landscape-table .ant-table-cell-fix-left,.fl-landscape-table .ant-table-cell-fix-right{background:#fff!important;z-index:2}.fl-landscape-table thead .ant-table-cell-fix-left,.fl-landscape-table thead .ant-table-cell-fix-right{background:#fafafa!important}.fl-lt{display:flex;flex-direction:column;height:100%;min-height:0;background:#fff;border-radius:6px;overflow:hidden}.fl-lt-head{display:flex;flex:0 0 auto;background:#fafafa;border-bottom:1px solid #e8e8e8;z-index:3}.fl-lt-head-mid{flex:1 1 auto;min-width:0;overflow:hidden}.fl-lt-head-mid-inner{display:flex}.fl-lt-frozen{flex:0 0 auto;background:#fff}.fl-lt-head-frozen{background:#fafafa;z-index:4;box-shadow:0 0 6px #0000001f}.fl-lt-hcell{height:34px;display:flex;align-items:center;justify-content:center;padding:0 4px;font-size:12px;font-weight:600;color:#262626;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;box-sizing:border-box}.fl-lt-scroll{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch}.fl-lt-body{display:flex;align-items:flex-start}.fl-lt-col-left,.fl-lt-col-right{z-index:2;box-shadow:0 0 6px #0000001f}.fl-lt-col-mid{flex:1 1 auto;min-width:0;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch}.fl-lt-row{display:flex}.fl-lt-cell{height:40px;line-height:40px;padding:0 4px;font-size:12px;color:#595959;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;box-sizing:border-box;border-bottom:1px solid #f0f0f0}.fl-lt-foot{flex:0 0 auto;padding:4px 0 0;text-align:center;border-top:1px solid #f0f0f0}.fl-lt-empty{padding:24px 0;text-align:center;color:#999;font-size:12px}.login-version .login-beian{display:flex;align-items:center;gap:4px;margin-top:4px}.login-version .login-beian img{width:14px;height:14px;display:block}@media (max-width: 768px){html,body,#root{height:auto!important;min-height:100%}body{overflow-y:auto!important;-webkit-overflow-scrolling:touch}.ant-layout{height:auto!important;min-height:0!important}.status-bar{position:static!important;height:auto!important;min-height:26px;flex-wrap:wrap;white-space:normal!important;padding:4px 10px!important}.content-area{padding-bottom:12px!important}.fl-dashboard-canvas{height:auto!important;padding:10px 6px!important}.module-diagram{position:static!important;display:grid!important;grid-template-columns:repeat(3,1fr);gap:14px 4px;height:auto!important;min-height:0!important}.module-node{position:static!important;width:auto!important;padding:2px 0}.module-node .module-label{font-size:12px;line-height:1.3;word-break:break-word}.module-center,.module-diagram>svg{display:none!important}}

/* ===== G22_LEGACY_WEBVIEW_FALLBACK (2026-11-12) =====
   老 Android WebView（Chrome 83，如华为 YAL-AL10 / FanlaoApp 1.4）不认识
   :where() 与 inset 属性，antd 5 注入的整条 CSS 规则会被浏览器丢弃，
   结果：Modal 的 DOM 渲染了、接口也调了（/api/auth/trusted-device 200），
   但遮罩与 fixed 定位全失效，弹窗落在文档流末尾看不见 —— 用户表现为
   「点『账号安全』没反应」。此处补最小可用样式，让弹窗可见、按钮可点。
   @supports not (inset: 0) 只在 Chrome <87 这类老内核成立，新版浏览器零影响。 */
@supports not (inset: 0) {
  .ant-modal-mask {
    position: fixed; top: 0; right: 0; bottom: 0; left: 0;
    z-index: 2100; background: rgba(0, 0, 0, .45);
  }
  .ant-modal-wrap {
    position: fixed; top: 0; right: 0; bottom: 0; left: 0;
    z-index: 2100; overflow: auto; outline: none;
    -webkit-overflow-scrolling: touch;
  }
  .ant-modal {
    box-sizing: border-box; position: relative; top: 8px;
    width: auto !important; max-width: calc(100vw - 16px) !important;
    margin: 8px auto 24px !important; padding: 0 0 24px;
    pointer-events: none;
  }
  .ant-modal-content {
    box-sizing: border-box; position: relative;
    background: #fff; border-radius: 8px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .18);
    padding: 20px 24px; pointer-events: auto;
    max-height: calc(100vh - 48px); overflow: auto;
    -webkit-overflow-scrolling: touch;
  }
  .ant-modal-close {
    position: absolute; top: 12px; right: 12px; z-index: 10;
    width: 30px; height: 30px; padding: 0;
    border: 0; background: transparent; color: #666;
    font-size: 16px; cursor: pointer;
  }
  .ant-modal-header {
    margin: -20px -24px 12px; padding: 12px 48px 12px 24px;
    border-bottom: 1px solid #f0f0f0; border-radius: 8px 8px 0 0;
    background: #fff;
  }
  .ant-modal-title { color: #1f1f1f; font-size: 16px; font-weight: 600; }
  .ant-modal-body { color: #1f1f1f; font-size: 14px; line-height: 1.6; }
  .ant-modal-footer {
    margin: 12px -24px -20px; padding: 12px 24px;
    border-top: 1px solid #f0f0f0; text-align: right;
  }
  .ant-modal-footer button + button { margin-left: 8px; }
  .ant-btn {
    box-sizing: border-box; display: inline-flex;
    align-items: center; justify-content: center; gap: 4px;
    height: 32px; padding: 4px 15px; margin: 0;
    font-size: 14px; line-height: 1.4;
    border: 1px solid #d9d9d9; border-radius: 6px;
    background: #fff; color: #1f1f1f; cursor: pointer;
  }
  .ant-btn-text { border-color: transparent; background: transparent; }
  .ant-btn-primary { background: #1677ff; border-color: #1677ff; color: #fff; }
  .ant-btn-dangerous { color: #ff4d4f; }
  .ant-btn[disabled] { opacity: .55; cursor: not-allowed; }
  .ant-alert {
    box-sizing: border-box; margin-bottom: 12px; padding: 8px 12px;
    border: 1px solid #91caff; border-radius: 6px;
    background: #e6f4ff; color: #1f1f1f; font-size: 13px; line-height: 1.6;
  }
  .ant-tag {
    display: inline-block; padding: 1px 8px; margin: 0 4px 4px 0;
    border: 1px solid #d9d9d9; border-radius: 4px;
    background: #fafafa; font-size: 12px; line-height: 1.6;
  }
  .ant-descriptions, .ant-descriptions-view { width: 100%; }
  .ant-descriptions-row > th, .ant-descriptions-row > td {
    padding: 6px 8px; border-bottom: 1px solid #f0f0f0;
    text-align: left; vertical-align: top;
  }
  .ant-descriptions-item-label { color: #666; white-space: nowrap; }
  .ant-divider { margin: 12px 0; border: 0; border-top: 1px solid #f0f0f0; }
  .ant-message {
    position: fixed; top: 8px; left: 0; right: 0; z-index: 3000;
    text-align: center; pointer-events: none;
  }
  .ant-message-notice {
    display: inline-block; margin: 4px; padding: 8px 14px;
    background: #fff; border-radius: 6px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, .15);
    font-size: 14px; pointer-events: auto;
  }
}
/* ===== END G22_LEGACY_WEBVIEW_FALLBACK ===== */

/* ===== HARMONY_LEGACY_WEBVIEW_COMPAT_20261113 =====
   适配对象与判定方式（重要）：
   ① HarmonyOS 3.0.0.165（华为 YAL-AL10 / AOSP 双框架）里 FanlaoApp 1.4 的内嵌 WebView，
      真实 UA 是 "Linux; Android 10; YAL-AL10 ... Chrome/83.0.4103.106 ... ; wv) FanlaoApp/1.4"，
      UA 里根本没有 HarmonyOS / ArkWeb 字样 —— 不能按 UA 做鸿蒙判断。
   ② 纯血鸿蒙 OpenHarmony / ArkWeb 是新内核，不该套老内核兜底。
   => 因此按「内核能力」判断：Chrome < 87 不支持 inset 与 :where()，
      antd 5 注入的整条 CSS 规则会被丢弃（弹窗/提示/按钮样式全失效）。
      @supports not (inset: 0) 只在老内核成立，新浏览器零影响。
   ③ 首页「功能模块导航」在窄屏上节点互相叠压，与系统无关，所有手机统一修。

   Chrome 83 兼容注意：flex 的 gap 要到 Chrome 84 才支持，
   因此网格布局一律用百分比 margin，不用 gap / calc(带 gap)。
   ===== */

/* ---------- A. 窄屏通用：首页辐射图改为不重叠网格 ----------
   原布局 .module-node 绝对定位、宽 110px、left = 12/32/52/72%，
   360px 屏上相邻节点间距仅约 66px < 110px，后一个盖住前一个；
   触屏 WebView 的 :hover 放大还会"粘住"，导致部分模块点不动。 */
@media (max-width: 768px) {
  .fl-dashboard-canvas { height: auto !important; padding: 12px !important; }
  .fl-dashboard-canvas svg { pointer-events: none !important; }
  .module-diagram {
    position: static !important;
    height: auto !important;
    min-height: 0 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: flex-start;
  }
  .module-diagram > svg { display: none !important; }
  .module-center {
    position: static !important;
    order: -1;
    flex: 0 0 97%;
    box-sizing: border-box;
    width: auto !important;
    height: auto !important;
    min-height: 52px;
    margin: 0 1.5% 10px;
    padding: 10px;
    font-size: 15px;
  }
  .module-node {
    position: static !important;
    /* 明确 2 列大按钮：46% + 左右各 1.5% margin = 49%，2 列共 98%，
       留 2% 余量避免老内核浮点取整把第二列挤到下一行。
       点击区域约 136px，比原绝对定位的 110px 更不易误触 */
    flex: 0 0 46%;
    box-sizing: border-box;
    width: auto !important;
    min-width: 0;
    margin: 0 1.5% 10px;
    padding: 8px 2px 10px;
    border: 1px solid #e3e9e0;
    border-radius: 10px;
    background: #fff;
    transform: none !important;
    -webkit-tap-highlight-color: transparent;
    pointer-events: auto;
  }
  .module-node:hover { transform: none !important; }
  .module-node:active { background: #eef7ea; }
  .module-icon { width: 46px; height: 46px; font-size: 24px; }
  .module-label { margin-top: 4px; font-size: 12px; line-height: 1.35; }
}

/* ---------- B. 老 WebView（含 HarmonyOS 3 内嵌 WebView）antd 兜底 ---------- */
@supports not (inset: 0) {
  /* 全局提示条：指纹绑定失败原因（如「请先修改初始密码」）必须看得见。
     老内核下 Modal 从 top:16px 起几乎占满屏幕，顶部提示会压住弹窗标题，
     因此改到底部；G22 补丁里的 top:8px 用 !important 覆盖。 */
  .ant-message {
    box-sizing: border-box; width: 100%;
    top: auto !important; bottom: 20px !important;
  }
  .ant-message-notice-wrapper { display: block; padding: 4px; text-align: center; }
  .ant-message-notice { display: inline-block; max-width: 92%; }
  .ant-message-notice-content {
    display: inline-block; padding: 2px 4px;
    color: #1f1f1f; font-size: 14px; line-height: 1.6;
    text-align: left; word-break: break-word;
  }

  /* 账号安全弹窗里的指纹说明 Alert（样式丢失会挤成一团、按钮沉到底部） */
  .ant-alert {
    display: block; position: relative; box-sizing: border-box;
    margin-bottom: 12px; padding: 10px 14px 10px 36px;
    border: 1px solid #91caff; border-radius: 6px;
    background: #e6f4ff; color: #1f1f1f; font-size: 13px; line-height: 1.7;
  }
  .ant-alert-icon { position: absolute; left: 12px; top: 12px; font-size: 15px; }
  .ant-alert-message { display: block; font-size: 14px; font-weight: 600; color: #1f1f1f; }
  .ant-alert-description { display: block; margin-top: 4px; font-size: 13px; color: #333; line-height: 1.8; }
  .ant-alert-success { border-color: #b7eb8f; background: #f6ffed; }
  .ant-alert-info { border-color: #91caff; background: #e6f4ff; }
  .ant-alert-warning { border-color: #ffe58f; background: #fffbe6; }
  .ant-alert-error { border-color: #ffccc7; background: #fff2f0; }

  /* Space / Card / 按钮可点性：避免透明层吃掉点击 */
  .ant-space { display: inline-flex; flex-wrap: wrap; align-items: center; }
  .ant-space-item { display: inline-flex; margin-right: 8px; margin-bottom: 4px; }
  .ant-card {
    display: block; box-sizing: border-box; margin-bottom: 12px;
    border: 1px solid #f0f0f0; border-radius: 8px; background: #fff;
    pointer-events: auto;
  }
  .ant-card-body { padding: 12px; }
  .ant-card-hoverable, .ant-card[hoverable] { cursor: pointer; }
  .ant-btn, .ant-alert, .ant-modal-content { pointer-events: auto; }

  /* 首页网格在老内核再保一层 */
  .module-diagram { display: flex; flex-wrap: wrap; }
  .module-node { pointer-events: auto; }
}
/* ===== END HARMONY_LEGACY_WEBVIEW_COMPAT_20261113 ===== */
