#container{min-height:100vh;background-color:#f5f5f5;padding-bottom:var(--flash-app-safe-area-inset-bottom, 0px)}.top-bar{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;background:linear-gradient(135deg,#1a5fb4,#1976d2);color:#fff;position:sticky;top:0;z-index:100}.app-title{font-size:18px;font-weight:600;flex:1;text-align:center;line-height:1.4}.page-title{font-size:18px;font-weight:600;flex:1;text-align:center}.top-actions{display:flex;gap:8px}.icon-btn{background:#fff3;border:none;border-radius:8px;padding:8px;cursor:pointer;display:flex;align-items:center;justify-content:center}.icon-btn .material-icons{color:#fff;font-size:22px}.back-btn{background:#fff3;border:none;border-radius:8px;padding:8px;cursor:pointer;display:flex;align-items:center;justify-content:center}.back-btn .material-icons{color:#fff;font-size:22px}.help-btn{background:#fff3;border:none;border-radius:50%;width:36px;height:36px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .2s}.help-btn:active{background:#ffffff4d}.help-btn .material-icons{color:#fff;font-size:22px}.page-content{min-height:100vh;padding-bottom:20px}.filter-section{background:#fff;padding:16px;margin:12px;border-radius:12px;box-shadow:0 2px 8px #0000000f}.filter-group{margin-bottom:16px}.filter-label{font-size:14px;color:#333;font-weight:500;margin-bottom:8px}.filter-label.clickable{display:flex;align-items:center;justify-content:space-between;cursor:pointer;padding:8px 12px;margin:-8px -12px 8px;background:#f8f9fa;border-radius:8px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.filter-label.clickable:hover{background:#f0f1f2}.collapse-icon-small{font-size:20px;color:#666;transition:transform .2s}.selected-patterns-hint{font-size:12px;color:#1976d2;padding:4px 8px;background:#e3f2fd;border-radius:4px;display:inline-block}.pattern-tags{display:flex;flex-wrap:wrap;gap:8px}.pattern-tag{padding:6px 12px;border:1px solid #e0e0e0;border-radius:16px;background:#fff;font-size:13px;color:#666;cursor:pointer;transition:all .2s}.pattern-tag.active{background:#1a5fb4;border-color:#1a5fb4;color:#fff}.level-select{width:100%;padding:10px 12px;border:1px solid #e0e0e0;border-radius:8px;font-size:14px;color:#333;background:#fff;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='%23666'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 8px center;background-size:20px}.keyword-input{width:100%;padding:10px 12px;border:1px solid #e0e0e0;border-radius:8px;font-size:14px;color:#333;box-sizing:border-box}.keyword-input:focus{outline:none;border-color:#1a5fb4}.query-btn{width:100%;padding:12px;background:linear-gradient(135deg,#1a5fb4,#1976d2);color:#fff;border:none;border-radius:8px;font-size:16px;font-weight:500;cursor:pointer;transition:opacity .2s}.query-btn:hover{opacity:.9}.query-btn:disabled{opacity:.6;cursor:not-allowed}.level-info{background:#fff;padding:16px;margin:0 12px 12px;border-radius:12px;box-shadow:0 2px 8px #0000000f}.level-info-header{display:flex;align-items:center;justify-content:space-between;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.level-info-title{font-size:14px;color:#333;font-weight:600}.collapse-icon{font-size:24px;color:#1a5fb4;transition:transform .3s}.level-info-header:active{opacity:.8}.level-info-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.level-info-item{display:flex;flex-direction:column;padding:8px;background:#f8f9fa;border-radius:8px;font-size:12px;color:#666}.level-num{font-weight:600;color:#1a5fb4;margin-bottom:2px}.result-section{margin:0 12px}.loading-state{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px;color:#999}.loading-spinner{width:32px;height:32px;border:3px solid #f0f0f0;border-top-color:#1a5fb4;border-radius:50%;animation:spin .8s linear infinite;margin-bottom:12px}@keyframes spin{to{transform:rotate(360deg)}}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:60px 20px;color:#999}.empty-state .material-icons{font-size:48px;margin-bottom:12px;opacity:.5}.empty-state.small{padding:30px 20px}.empty-state.small .material-icons{font-size:32px}.result-list{display:flex;flex-direction:column;gap:12px}.result-item{background:#fff;border-radius:12px;padding:16px;box-shadow:0 2px 8px #0000000f;display:flex;flex-wrap:wrap;gap:12px;align-items:center}.result-checkbox{display:flex;align-items:center;cursor:pointer}.result-checkbox input[type=checkbox]{width:20px;height:20px;cursor:pointer;accent-color:#1a5fb4}.result-main{flex:1;min-width:120px}.phone-number{font-size:20px;font-weight:700;color:#1a5fb4;letter-spacing:1px}.phone-level{font-size:13px;color:#ff9800;margin-top:4px}.result-info{display:flex;flex-direction:column;gap:2px;font-size:12px;color:#666}.result-actions{display:flex;gap:8px;align-items:flex-start}.action-btn{width:40px;height:40px;border:none;border-radius:8px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s}.action-btn .material-icons{font-size:20px}.collect-btn{background:#fff3e0}.collect-btn .material-icons{color:#ff9800}.collect-btn:active{background:#ffe0b2}.copy-btn{background:#e3f2fd}.copy-btn .material-icons{color:#1976d2}.copy-btn:active{background:#bbdefb}.batch-actions{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;background:#fff;border-bottom:1px solid #f0f0f0}.batch-actions-bottom{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;padding-bottom:calc(12px + var(--flash-app-safe-area-inset-bottom, 0px));background:#fff;border-top:1px solid #f0f0f0;position:sticky;bottom:60px;z-index:10}.select-all-label{display:flex;align-items:center;gap:8px;font-size:14px;color:#666;cursor:pointer}.batch-btn-group{display:flex;gap:8px;align-items:center}.batch-copy-btn{display:flex;align-items:center;gap:4px;padding:8px 12px;background:#1976d2;color:#fff;border:none;border-radius:6px;font-size:13px;cursor:pointer}.batch-copy-btn:disabled{background:#ccc;cursor:not-allowed}.batch-copy-btn .material-icons{font-size:16px}.batch-delete-btn{padding:8px 16px;background:#ff5252;color:#fff;border:none;border-radius:6px;font-size:13px;cursor:pointer}.batch-delete-btn:disabled{background:#ccc;cursor:not-allowed}.favorites-list{padding:12px;display:flex;flex-direction:column;gap:12px}.favorite-item{background:#fff;border-radius:12px;padding:16px;box-shadow:0 2px 8px #0000000f;display:flex;align-items:center;gap:12px}.favorite-item.offline{opacity:.6;background:#f5f5f5}.favorite-checkbox{display:flex;align-items:center}.favorite-checkbox input{width:18px;height:18px;cursor:pointer}.favorite-main{flex:1;min-width:100px;max-width:140px}.offline-tag{display:inline-block;padding:2px 8px;background:#ff5252;color:#fff;font-size:11px;border-radius:4px;margin-top:4px}.used-tag{display:inline-block;padding:2px 8px;background:#ff9800;color:#fff;font-size:11px;border-radius:4px;margin-top:4px;margin-right:4px}.pending-tag{display:inline-block;padding:2px 8px;background:#2196f3;color:#fff;font-size:11px;border-radius:4px;margin-top:4px;margin-right:4px}.favorite-info{display:flex;flex-direction:column;gap:2px;font-size:12px;color:#666;min-width:80px;flex-shrink:0}.favorite-actions{display:flex;gap:8px;align-items:center;flex-shrink:0}.delete-btn{background:none;border:none;cursor:pointer;padding:8px;border-radius:8px}.delete-btn .material-icons{color:#999}.delete-btn:active .material-icons{color:#ff5252}.admin-section{padding:12px;display:flex;flex-direction:column;gap:16px}.admin-card{background:#fff;border-radius:12px;padding:16px;box-shadow:0 2px 8px #0000000f}.admin-card-title{font-size:16px;font-weight:600;color:#333;margin-bottom:8px}.admin-card-desc{font-size:13px;color:#999;margin-bottom:12px}.server-hint{font-size:12px;color:#4caf50;background:#e8f5e9;padding:8px 12px;border-radius:6px;margin-bottom:12px;display:flex;align-items:center;gap:6px}.server-hint:before{content:"✓";font-weight:700}.admin-btn{width:100%;padding:12px;background:#1a5fb4;color:#fff;border:none;border-radius:8px;font-size:14px;cursor:pointer}.admin-btn.uploading{background:#ff5252}.admin-btn.abort-btn{background:#ff5252;color:#fff;animation:pulse 1.5s infinite}.admin-btn.abort-btn:active{background:#d32f2f}@keyframes pulse{0%{opacity:1}50%{opacity:.8}to{opacity:1}}.upload-btn-group{display:flex;gap:12px}.upload-btn-group .admin-btn{flex:1}.delete-input-group{display:flex;gap:8px}.delete-input{flex:1;padding:10px 12px;border:1px solid #e0e0e0;border-radius:8px;font-size:14px}.delete-input:focus{outline:none;border-color:#1a5fb4}.status-text{margin-top:12px;font-size:13px;color:#666;padding:8px;background:#f5f5f5;border-radius:6px}.logs-list{max-height:300px;overflow-y:auto}.log-item{display:flex;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid #f0f0f0;font-size:13px}.log-item:last-child{border-bottom:none}.log-type{color:#1a5fb4;font-weight:500;min-width:60px}.log-content{flex:1;color:#333}.log-time{color:#999;font-size:12px}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000}.modal-content{background:#fff;border-radius:16px;padding:24px;width:80%;max-width:320px}.modal-title{font-size:18px;font-weight:600;color:#333;text-align:center;margin-bottom:20px}.password-input{width:100%;padding:12px;border:1px solid #e0e0e0;border-radius:8px;font-size:16px;text-align:center;letter-spacing:4px;box-sizing:border-box}.password-input:focus{outline:none;border-color:#1a5fb4}.modal-actions{display:flex;gap:12px;margin-top:20px}.modal-btn{flex:1;padding:12px;border:none;border-radius:8px;font-size:14px;cursor:pointer}.modal-btn.cancel{background:#f5f5f5;color:#666}.modal-btn.confirm{background:#1a5fb4;color:#fff}.help-modal{max-width:360px;max-height:70vh;overflow:hidden;display:flex;flex-direction:column}.help-content{flex:1;overflow-y:auto;padding-right:8px}.help-section{margin-bottom:16px}.help-section h3{font-size:15px;font-weight:600;color:#1a5fb4;margin:0 0 8px;padding-bottom:6px;border-bottom:1px solid #e8e8e8}.help-section ul{margin:0;padding-left:18px;list-style-type:disc}.help-section li{font-size:13px;color:#555;line-height:1.6;margin-bottom:6px}.help-section li strong{color:#333}.toast{position:fixed;bottom:100px;left:50%;transform:translate(-50%);padding:12px 24px;border-radius:8px;font-size:14px;color:#fff;z-index:2000;animation:fadeIn .2s}.toast.success{background:#000c}.toast.error{background:#ff5252}@keyframes fadeIn{0%{opacity:0;transform:translate(-50%) translateY(10px)}to{opacity:1;transform:translate(-50%) translateY(0)}}.bottom-action-bar{position:fixed;bottom:0;left:0;right:0;display:flex;gap:12px;padding:12px 16px;padding-bottom:calc(12px + var(--flash-app-safe-area-inset-bottom, 0px));background:#fff;box-shadow:0 -2px 10px #0000001a;z-index:100}.bottom-action-btn,.back-btn-bottom{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:12px;border:none;border-radius:12px;font-size:13px;font-weight:500;cursor:pointer;transition:all .2s}.bottom-action-btn .material-icons,.back-btn-bottom .material-icons{font-size:24px}.favorites-btn{background:linear-gradient(135deg,#ff9800,#ff5722);color:#fff}.favorites-btn:active{transform:scale(.98);opacity:.9}.admin-btn{background:linear-gradient(135deg,#1a5fb4,#1976d2);color:#fff}.admin-btn:active{transform:scale(.98);opacity:.9}.back-btn-bottom{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.back-btn-bottom:active{transform:scale(.98);opacity:.9}.refresh-btn{background:#fff3;border:none;border-radius:8px;padding:8px;cursor:pointer;display:flex;align-items:center;justify-content:center}.refresh-btn .material-icons{color:#fff;font-size:22px}.stats-card{background:linear-gradient(135deg,#e3f2fd,#bbdefb)}.stats-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:8px;margin-bottom:12px}.stat-item{display:flex;flex-direction:column;align-items:center;padding:8px 4px;background:#fff;border-radius:8px;box-shadow:0 1px 3px #0000001a}.stat-item.has-data{background:linear-gradient(135deg,#1a5fb4,#1976d2)}.stat-item.has-data .stat-level,.stat-item.has-data .stat-count{color:#fff}.stat-level{font-size:12px;font-weight:600;color:#1a5fb4}.stat-count{font-size:16px;font-weight:700;color:#333;margin-top:2px}.stats-total{font-size:14px;color:#1a5fb4;font-weight:500;text-align:center}.upload-progress{margin-top:12px}.progress-text{font-size:13px;color:#666;margin-bottom:8px}.progress-count{font-size:14px;color:#1890ff;font-weight:600;margin-bottom:6px;text-align:center}.progress-bar-container{width:100%;height:8px;background:#e0e0e0;border-radius:4px;overflow:hidden;position:relative}.progress-percent{position:absolute;right:0;top:-20px;font-size:12px;color:#1a5fb4;font-weight:600}.progress-bar{height:100%;background:linear-gradient(90deg,#1a5fb4,#4caf50);border-radius:4px;transition:width .3s ease}.page-content{min-height:100vh;padding-bottom:80px}.result-section{padding-bottom:20px}.modal-desc{font-size:14px;color:#666;text-align:center;margin-bottom:16px}.modal-input{width:100%;padding:12px;border:1px solid #e0e0e0;border-radius:8px;font-size:16px;text-align:center;letter-spacing:4px;box-sizing:border-box}.modal-input:focus{outline:none;border-color:#1a5fb4}.modal-error{color:#ff5252;font-size:13px;text-align:center;margin-top:8px}.admin-bottom-bar{position:fixed;bottom:0;left:0;right:0;display:flex;gap:12px;padding:12px 16px;padding-bottom:calc(12px + var(--flash-app-safe-area-inset-bottom, 0px));background:#fff;box-shadow:0 -2px 10px #0000001a;z-index:100}.admin-bottom-btn{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:12px;border:none;border-radius:12px;font-size:13px;font-weight:500;cursor:pointer;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;transition:all .2s}.admin-bottom-btn.refresh{background:linear-gradient(135deg,#1a5fb4,#1976d2)}.admin-bottom-btn .material-icons{font-size:24px}.admin-bottom-btn:active{transform:scale(.98);opacity:.9}.admin-btn-group{display:flex;gap:12px}.admin-btn-group .admin-btn{flex:1}.primary-btn{background:linear-gradient(135deg,#2196f3,#1976d2)!important}.primary-btn:disabled{background:#ccc!important;cursor:not-allowed}.warning-btn{background:linear-gradient(135deg,#ff9800,#ff5722)!important}.warning-btn:disabled{background:#ccc!important;cursor:not-allowed}.danger-btn{background:linear-gradient(135deg,#f44336,#d32f2f)!important}.danger-btn:disabled{background:#ccc!important;cursor:not-allowed}.admin-section{padding:12px 12px 80px;display:flex;flex-direction:column;gap:16px}.result-header{display:flex;justify-content:space-between;align-items:center;padding:12px 0;margin-bottom:12px;flex-wrap:wrap;gap:8px}.result-count{font-size:14px;color:#666;font-weight:500}.result-actions-top{display:flex;align-items:center;gap:12px}.select-all-label{display:flex;align-items:center;gap:6px;font-size:13px;color:#333;cursor:pointer}.select-all-label input[type=checkbox]{width:18px;height:18px;cursor:pointer;accent-color:#1a5fb4}.batch-copy-btn-small{display:flex;align-items:center;gap:4px;padding:6px 12px;background:#1a5fb4;color:#fff;border:none;border-radius:6px;font-size:13px;cursor:pointer;transition:all .2s}.batch-copy-btn-small:disabled{background:#ccc;cursor:not-allowed}.batch-copy-btn-small:not(:disabled):active{background:#1557a0}.batch-copy-btn-small .material-icons{font-size:16px}.page-size-selector{display:flex;align-items:center;gap:6px;font-size:13px;color:#666}.page-size-selector select{padding:4px 8px;border:1px solid #e0e0e0;border-radius:6px;font-size:13px;color:#333;background:#fff;cursor:pointer}.page-size-selector select:focus{outline:none;border-color:#1a5fb4}.pagination{display:flex;justify-content:center;align-items:center;gap:8px;padding:16px 0;margin-top:12px}.page-btn{padding:8px 12px;border:1px solid #e0e0e0;border-radius:6px;background:#fff;color:#333;font-size:13px;cursor:pointer;transition:all .2s}.page-btn:hover:not(:disabled){border-color:#1a5fb4;color:#1a5fb4}.page-btn:active:not(:disabled){background:#f5f5f5}.page-btn:disabled{opacity:.4;cursor:not-allowed}.page-info{display:flex;align-items:center;gap:4px;padding:8px 16px;background:#f5f5f5;border-radius:6px;font-size:14px;color:#333;font-weight:500}.page-info span:first-child{color:#1a5fb4;font-weight:600}.back-to-top-btn{position:fixed;right:16px;bottom:calc(100px + var(--flash-app-safe-area-inset-bottom, 0px));width:48px;height:48px;border-radius:50%;background:linear-gradient(135deg,#1a5fb4,#1976d2);color:#fff;border:none;box-shadow:0 4px 12px #1a5fb44d;cursor:pointer;display:flex;align-items:center;justify-content:center;z-index:99;transition:all .3s}.back-to-top-btn:active{transform:scale(.95)}.back-to-top-btn .material-icons{font-size:24px}.exclude-digits-input{width:100%;padding:10px 12px;border:1px solid #e0e0e0;border-radius:8px;font-size:14px;color:#333;box-sizing:border-box;margin-top:8px}.exclude-digits-input:focus{outline:none;border-color:#1a5fb4}.exclude-digits-input::-moz-placeholder{color:#999}.exclude-digits-input::placeholder{color:#999}.used-btn{background:#f3e5f5;min-width:40px;height:40px;border:none;border-radius:8px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s;padding:0 12px;gap:4px}.used-btn .material-icons{font-size:18px;color:#9c27b0}.used-btn span{font-size:12px;color:#9c27b0;font-weight:500}.used-btn:active{background:#e1bee7}.used-btn:disabled{background:#f5f5f5;cursor:not-allowed;opacity:.5}.used-btn:disabled .material-icons{color:#999}.used-numbers-modal{background:#fff;border-radius:16px;padding:0;width:90%;max-width:400px;max-height:80vh;display:flex;flex-direction:column}.used-numbers-modal-header{padding:16px 20px;border-bottom:1px solid #f0f0f0;display:flex;align-items:center;justify-content:space-between}.used-numbers-modal-title{font-size:18px;font-weight:600;color:#333}.used-numbers-modal-close{width:32px;height:32px;border:none;background:#f5f5f5;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center}.used-numbers-modal-close .material-icons{font-size:20px;color:#666}.used-numbers-modal-body{flex:1;overflow-y:auto;padding:12px}.used-numbers-list{display:flex;flex-direction:column;gap:8px}.used-number-item{background:#f8f9fa;border-radius:8px;padding:12px;display:flex;align-items:center;justify-content:space-between}.used-number-info{flex:1}.used-number-phone{font-size:16px;font-weight:600;color:#333;letter-spacing:.5px}.used-number-time{font-size:12px;color:#999;margin-top:4px}.used-number-actions{display:flex;gap:8px}.used-action-btn{padding:6px 12px;border:none;border-radius:6px;font-size:12px;cursor:pointer;transition:all .2s}.used-action-btn.restore{background:#e3f2fd;color:#1976d2}.used-action-btn.restore:active{background:#bbdefb}.used-action-btn.delete{background:#ffebee;color:#f44336}.used-action-btn.delete:active{background:#ffcdd2}.confirm-modal{background:#fff;border-radius:16px;padding:24px;width:85%;max-width:340px}.confirm-modal-title{font-size:18px;font-weight:600;color:#333;text-align:center;margin-bottom:12px}.confirm-modal-content{font-size:14px;color:#666;text-align:center;line-height:1.6;margin-bottom:20px}.confirm-modal-phone{font-size:18px;font-weight:700;color:#1a5fb4;text-align:center;padding:12px;background:#f5f5f5;border-radius:8px;margin-bottom:20px;letter-spacing:1px}.confirm-modal-hint{font-size:12px;color:#ff9800;text-align:center;margin-bottom:16px;display:flex;align-items:center;justify-content:center;gap:4px}.confirm-modal-hint .material-icons{font-size:16px}.confirm-modal-actions{display:flex;gap:12px}.confirm-modal-btn{flex:1;padding:12px;border:none;border-radius:8px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s}.confirm-modal-btn.cancel{background:#f5f5f5;color:#666}.confirm-modal-btn.cancel:active{background:#e0e0e0}.confirm-modal-btn.confirm{background:#f44336;color:#fff}.confirm-modal-btn.confirm:active{background:#d32f2f}.used-numbers-card{background:#fff;border-radius:12px;padding:16px;box-shadow:0 2px 8px #0000000f}.used-numbers-card-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.used-numbers-card-title{font-size:16px;font-weight:600;color:#333;display:flex;align-items:center;gap:8px}.used-numbers-card-title .material-icons{font-size:20px;color:#9c27b0}.used-numbers-count{font-size:14px;color:#9c27b0;background:#f3e5f5;padding:4px 12px;border-radius:12px;font-weight:500}.view-used-btn{width:100%;padding:12px;background:linear-gradient(135deg,#9c27b0,#ba68c8);color:#fff;border:none;border-radius:8px;font-size:14px;font-weight:500;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:8px;transition:all .2s}.view-used-btn .material-icons{font-size:18px}.view-used-btn:active{transform:scale(.98);opacity:.9}.view-used-btn:disabled{background:#ccc;cursor:not-allowed}.empty-state.used-empty{padding:40px 20px}.empty-state.used-empty .material-icons{color:#ccc}.copy-modal{max-width:90vw;max-height:80vh}.copy-content-area{max-height:50vh;overflow-y:auto;background:#f5f5f5;border-radius:8px;padding:12px;margin:16px 0}.copy-text-preview{white-space:pre-wrap;word-break:break-all;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;font-size:14px;line-height:1.6;color:#333;margin:0}.format-config-section{margin-top:12px}.format-options{display:flex;flex-direction:column;gap:12px}.format-option{display:flex;align-items:flex-start;gap:12px;padding:12px;background:#f8f9fa;border:2px solid #e0e0e0;border-radius:8px;cursor:pointer;transition:all .2s}.format-option:hover{border-color:#1976d2}.format-option.active{border-color:#1976d2;background:#e3f2fd}.format-option input[type=radio]{margin-top:4px;width:18px;height:18px;accent-color:#1976d2}.format-option-content{flex:1}.format-name{font-size:15px;font-weight:600;color:#333;margin-bottom:6px}.format-example{font-size:12px;color:#666;line-height:1.5;white-space:pre-line}.custom-format-section{margin-top:16px;padding-top:16px;border-top:1px solid #e0e0e0}.custom-format-label{font-size:13px;color:#666;margin-bottom:8px}.custom-format-input{width:100%;padding:12px;border:1px solid #e0e0e0;border-radius:8px;font-size:14px;line-height:1.5;resize:vertical;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}.custom-format-input:focus{outline:none;border-color:#1976d2}.app-title{text-align:center;line-height:1.3}.app-title span{display:block}.copy-format-selector{margin-bottom:16px;padding:12px;background:#f8f9fa;border-radius:8px}.format-selector-label{font-size:14px;font-weight:500;color:#333;margin-bottom:10px}.format-selector-options{display:flex;flex-wrap:wrap;gap:8px}.format-chip{display:flex;align-items:center;padding:6px 14px;background:#fff;border:1px solid #e0e0e0;border-radius:20px;cursor:pointer;font-size:13px;color:#666;transition:all .2s}.format-chip:hover{border-color:#1976d2}.format-chip.active{background:#1976d2;border-color:#1976d2;color:#fff}.format-chip input[type=radio]{display:none}.copy-custom-format{margin-bottom:16px}.custom-hint{font-size:12px;color:#888;margin-bottom:8px}.custom-format-textarea{width:100%;padding:10px;border:1px solid #e0e0e0;border-radius:8px;font-size:13px;line-height:1.5;resize:vertical;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;box-sizing:border-box}.custom-format-textarea:focus{outline:none;border-color:#1976d2}

/* ===== 增补：内联图标 / 新增控件 ===== */
.ico{width:1em;height:1em;display:inline-block;vertical-align:-0.15em;fill:currentColor;flex-shrink:0}
.help-btn .ico,.icon-btn .ico,.back-btn .ico{width:22px;height:22px}
.back-to-top-btn .ico{width:24px;height:24px;vertical-align:middle}
.collapse-icon,.collapse-icon-small{display:inline-flex;align-items:center}
.filter-label.clickable .collapse-icon-small{width:20px;height:20px}
.level-info-header .collapse-icon{width:24px;height:24px;color:#1a5fb4}
.action-btn .ico{width:20px;height:20px;color:#ff9800}
.action-btn.copy-btn .ico{color:#1a5fb4}
.batch-copy-btn-small .ico{width:16px;height:16px}
.bottom-action-btn .ico{width:24px;height:24px}
.page-size-selector select{padding:4px 6px;border:1px solid #e0e0e0;border-radius:6px;font-size:13px;color:#333;background:#fff}
.filter-row{display:flex;gap:10px}
.filter-row>.filter-group{flex:1;margin-bottom:16px}
.hint-line{font-size:12px;color:#999;margin-top:-6px;margin-bottom:10px;line-height:1.5}
.badge-line{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-top:6px}
.tag{display:inline-block;padding:2px 8px;border-radius:4px;font-size:11px;line-height:1.6}
.tag.sell{background:#e8f5e9;color:#2e7d32}
.tag.hold{background:#fff3e0;color:#e65100}
.tag.pool{background:#e3f2fd;color:#1565c0}
.tag.pattern{background:#f3e5f5;color:#6a1b9a}
.tag.muted{background:#f5f5f5;color:#888}
.stat-item{cursor:pointer}
.stat-meta{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#888;margin-top:4px}
.log-empty{color:#bbb;font-size:13px;padding:12px 0;text-align:center}
.log-type{padding:2px 8px;border-radius:4px;font-size:11px;background:#e3f2fd;color:#1565c0;white-space:nowrap}
.log-type.warn{background:#ffebee;color:#c62828}
.log-type.ok{background:#e8f5e9;color:#2e7d32}
.modal-list{max-height:44vh;overflow-y:auto;display:flex;flex-direction:column;gap:8px;margin:12px 0}
.modal-list .used-number-item{gap:8px}
.used-number-time{font-size:11px;color:#999;margin-top:2px}
.mini-btn{padding:6px 10px;border:none;border-radius:6px;font-size:12px;cursor:pointer;background:#1a5fb4;color:#fff}
.mini-btn.ghost{background:#f5f5f5;color:#666}
.mini-btn.danger{background:#ff5252;color:#fff}
.mini-btn.ok{background:#4caf50;color:#fff}
.confirm-modal{max-width:86vw}
.loading-inline{font-size:12px;color:#1a5fb4;margin-top:8px}
.data-source{font-size:11px;color:#aaa;text-align:center;padding:4px 12px 90px;line-height:1.6}

/* ===== 布局修正 ===== */
.stats-grid{grid-template-columns:repeat(4,1fr)}
.favorite-item{flex-wrap:wrap;row-gap:8px}
.favorite-main{flex:1 1 auto;min-width:0;max-width:none}
.favorite-main .phone-number{font-size:19px}
.favorite-actions{margin-left:auto}
.favorite-info{flex:1 0 100%;flex-direction:row;flex-wrap:wrap;gap:10px;padding-left:32px;order:5;min-width:0;align-items:center}
.favorite-info .sep{color:#ddd}
@media (max-width:360px){
  .stats-grid{grid-template-columns:repeat(3,1fr)}
  .phone-number{font-size:18px}
}

/* 结果卡：主行 + 资费副行 */
.result-item{flex-wrap:wrap;row-gap:10px;align-items:flex-start}
.result-main{flex:1 1 auto;min-width:0}
.result-actions{margin-left:auto}
.result-info{flex:1 0 100%;flex-direction:row;flex-wrap:wrap;gap:12px;padding-left:32px;order:5}
.result-info.pool-line{border-top:1px dashed #f0f0f0;padding-top:8px;margin-top:2px}
.result-info,.favorite-info{box-sizing:border-box}
.result-info>div,.favorite-info>span{white-space:nowrap}
.copy-text-preview{background:#f8f9fa;border-radius:8px;padding:12px;margin-top:14px;max-height:34vh;overflow:auto}
.format-selector-options{margin-bottom:4px}
/* 排除数字：多值输入提示 */
.ex-hint{margin-top:6px;font-size:12px;line-height:1.5;color:#999;min-height:18px}
.ex-hint.has-value{color:#1976d2}
.ex-hint.err{color:#e53935}
.ex-hint b{font-weight:600;letter-spacing:1px}
.filter-label-tip{margin-left:8px;font-size:11px;font-weight:400;color:#aaa}
.result-pool{color:#aaa;flex:1 0 100%;white-space:normal}
.delete-input-group .mini-btn{white-space:nowrap;flex-shrink:0}

/* ===== 移动端右上角快捷入口（桌面端不显示，由 top-nav 承担） ===== */
.mobile-top-actions{display:none}
.mta-back{display:none}

/* ===== 账户安全：修改密码表单 ===== */
.pwd-form{display:flex;flex-direction:column;gap:8px;margin-top:4px}
.pwd-form .keyword-input{letter-spacing:0}
.pwd-form-actions{display:flex;gap:8px;margin-top:4px}
.pwd-form-actions .admin-btn{flex:1}
.pwd-form-actions .pwd-logout{flex:0 0 96px;background:#f0f0f0;color:#666}
.pwd-hint{font-size:11px;color:#aaa;line-height:1.6}

/* ===== 办理联系条（表头下方，醒目但不改表头布局） ===== */
.contact-bar{
  display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;
  padding:8px 14px;background:linear-gradient(135deg,#ff9800,#f4511e);color:#fff;
  font-size:13.5px;line-height:1.4;letter-spacing:.2px;
}
.contact-ico{display:inline-flex;align-items:center}
.contact-ico .ico{width:16px;height:16px}
.contact-text strong{font-weight:700;margin:0 2px}
.contact-tel{
  background:#fff;color:#d84315;font-weight:700;padding:2px 10px;border-radius:999px;
  text-decoration:none;letter-spacing:.6px;font-size:14px;white-space:nowrap;
  box-shadow:0 1px 4px #7f2d0e33;
}
.contact-tel:hover{background:#fff8ef}
.contact-tel:active{transform:scale(.97)}

/* ===== 检索方式开关（号码后4位） ===== */
.filter-label.with-switch{display:flex;align-items:center;justify-content:space-between;gap:8px}
.switch-wrap{display:inline-flex;align-items:center;gap:6px;cursor:pointer;font-weight:400;font-size:12px;color:#888;white-space:nowrap}
.switch-wrap input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.switch-ui{
  position:relative;width:38px;height:22px;border-radius:11px;background:#d5dae2;
  transition:background .2s;flex-shrink:0;
}
.switch-ui::after{
  content:'';position:absolute;top:2px;left:2px;width:18px;height:18px;border-radius:50%;
  background:#fff;box-shadow:0 1px 3px #00000033;transition:transform .2s;
}
.switch-wrap input:checked+.switch-ui{background:#1a5fb4}
.switch-wrap input:checked+.switch-ui::after{transform:translateX(16px)}
.switch-wrap input:focus-visible+.switch-ui{outline:2px solid #1976d2;outline-offset:2px}
.switch-wrap input:checked~.switch-txt{color:#1a5fb4;font-weight:600}

/* ===== 检索方式摘要 / 命中标识 ===== */
.search-summary{
  display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:12px 0 0;padding:8px 10px;
  background:#eef4ff;border:1px solid #dbe7fb;border-radius:10px;font-size:12px;color:#5b6b85;
}
.ss-label{font-weight:600;color:#1a5fb4;white-space:nowrap}
.ss-chip{
  padding:2px 8px;border-radius:999px;background:#fff;border:1px solid #dbe7fb;color:#33507a;
  white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis;
}
.ss-chip.mode{background:#1a5fb4;border-color:#1a5fb4;color:#fff;font-weight:600}
.ss-chip.empty{background:transparent;border-style:dashed;color:#98a2b3}
.phone-number mark.hl{
  background:#ffe082;color:#0d47a1;border-radius:3px;padding:0 1px;
  box-shadow:inset 0 -2px 0 #ffb300;
}
.tag.hit{background:#fff3e0;color:#e65100;border:1px solid #ffcc80;font-weight:600}

