.app{min-height:100vh}.login-page{display:flex;min-height:100vh}.login-left{flex:1;background:linear-gradient(160deg,#0f2440,#1a3a6b 55%,#1d4ed8);display:flex;flex-direction:column;justify-content:center;padding:60px 72px;position:relative;overflow:hidden}.login-left:before{content:"";position:absolute;width:480px;height:480px;border-radius:50%;border:1px solid rgba(255,255,255,.07);top:-120px;right:-160px}.login-left:after{content:"";position:absolute;width:320px;height:320px;border-radius:50%;border:1px solid rgba(255,255,255,.05);bottom:-80px;left:-60px}.login-brand{margin-bottom:48px}.brand-logo{display:inline-flex;align-items:center;justify-content:center;width:56px;height:56px;background:#ffffff1f;border:1px solid rgba(255,255,255,.2);border-radius:14px;color:#fff;font-size:20px;font-weight:800;letter-spacing:1px;margin-bottom:24px}.login-brand h1{color:#fff;font-size:30px;font-weight:700;margin-bottom:10px}.login-brand p{color:#fff9;font-size:15px}.login-features{display:flex;flex-direction:column;gap:14px}.feature-item{display:flex;align-items:center;gap:12px;color:#ffffffbf;font-size:14px}.feature-dot{width:8px;height:8px;border-radius:50%;background:#38bdf8;flex-shrink:0}.login-right{width:460px;display:flex;align-items:center;justify-content:center;background:#f8fafc;padding:40px}.login-card{width:100%;max-width:340px}.login-card h2{font-size:24px;font-weight:700;color:#111827;margin-bottom:6px}.login-sub{font-size:13px;color:#6b7280;margin-bottom:32px}.login-field{margin-bottom:20px}.login-field label{display:block;font-size:13px;font-weight:500;color:#374151;margin-bottom:6px}.login-field input{width:100%;height:42px;padding:0 14px;border:1px solid #d1d5db;border-radius:8px;font-size:14px;outline:none;transition:border-color .2s,box-shadow .2s;background:#fff}.login-field input:focus{border-color:#1d4ed8;box-shadow:0 0 0 3px #1d4ed81a}.btn-login{width:100%;height:44px;margin-top:8px;background:#1d4ed8;color:#fff;border:none;border-radius:8px;font-size:15px;font-weight:600;cursor:pointer;transition:background .2s,transform .1s}.btn-login:hover{background:#1e40af}.btn-login:active{transform:scale(.98)}.layout{display:flex;min-height:100vh}.sidebar{width:232px;background:#0f1c2e;display:flex;flex-direction:column;flex-shrink:0;position:sticky;top:0;height:100vh}.sidebar-brand{display:flex;align-items:center;gap:10px;padding:20px 18px;border-bottom:1px solid rgba(255,255,255,.07)}.brand-logo-sm{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;background:#1d4ed8;border-radius:8px;color:#fff;font-size:12px;font-weight:800;letter-spacing:.5px;flex-shrink:0}.sidebar-brand span{color:#e5e7eb;font-size:14px;font-weight:600}.sidebar-nav{flex:1;padding:14px 10px;display:flex;flex-direction:column;gap:4px}.nav-item{display:flex;align-items:center;gap:10px;width:100%;padding:11px 14px;border:none;border-radius:8px;background:transparent;color:#94a3b8;font-size:14px;cursor:pointer;transition:all .15s;text-align:left}.nav-item:hover{background:#ffffff0f;color:#e2e8f0}.nav-item.active{background:#1d4ed8;color:#fff;font-weight:500}.nav-icon{font-size:16px;width:22px;text-align:center}.sidebar-footer{padding:14px 14px 18px;border-top:1px solid rgba(255,255,255,.07);display:flex;align-items:center;justify-content:space-between}.user-info{display:flex;align-items:center;gap:9px}.user-avatar{width:30px;height:30px;border-radius:50%;background:#334155;color:#e2e8f0;display:inline-flex;align-items:center;justify-content:center;font-size:13px;font-weight:600}.user-name{color:#cbd5e1;font-size:13px}.btn-logout{padding:5px 12px;border:1px solid rgba(255,255,255,.15);border-radius:6px;background:transparent;color:#94a3b8;font-size:12px;cursor:pointer;transition:all .15s}.btn-logout:hover{border-color:#f87171;color:#f87171}.main-content{flex:1;min-width:0;background:#f0f2f5;padding:28px 32px}.page{max-width:1500px}.page-title-bar{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:20px}.page-title-bar h2{font-size:21px;font-weight:700;color:#111827;margin-bottom:3px}.page-title-bar p{font-size:13px;color:#6b7280}.query-section{background:#fff;border-radius:10px;padding:22px 24px;box-shadow:0 1px 3px #0000000f;margin-bottom:18px}.query-form{display:flex;align-items:flex-end;gap:16px;flex-wrap:wrap}.form-group{display:flex;flex-direction:column;gap:6px}.form-group label{font-size:13px;font-weight:500;color:#4b5563}.form-group input,.form-group select{height:38px;padding:0 12px;border:1px solid #d1d5db;border-radius:8px;font-size:14px;outline:none;transition:border-color .2s,box-shadow .2s;min-width:180px;background:#fff}.form-group input:focus,.form-group select:focus{border-color:#1d4ed8;box-shadow:0 0 0 3px #1d4ed814}.form-group select:disabled{background:#f3f4f6;cursor:not-allowed}.btn-primary{height:38px;padding:0 22px;background:#1d4ed8;color:#fff;border:none;border-radius:8px;font-size:14px;font-weight:500;cursor:pointer;transition:background .2s;white-space:nowrap}.btn-primary:hover{background:#1e40af}.btn-secondary{height:38px;padding:0 22px;background:#fff;color:#4b5563;border:1px solid #d1d5db;border-radius:8px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s;white-space:nowrap}.btn-secondary:hover{border-color:#9ca3af;background:#f9fafb}.platform-info{margin-top:14px;display:flex;gap:10px;flex-wrap:wrap}.tag{display:inline-block;padding:4px 12px;background:#eff6ff;color:#1e40af;border-radius:16px;font-size:12px;font-weight:500}.customer-stats{display:flex;gap:8px;padding-bottom:2px}.batch-section{background:#fff;border-radius:10px;padding:22px 24px;box-shadow:0 1px 3px #0000000f;margin-bottom:18px}.batch-section h3{font-size:15px;font-weight:600;margin-bottom:12px;color:#1f2937}.batch-tabs{display:flex;gap:8px;margin-bottom:16px}.batch-tabs button{padding:8px 16px;border:1px solid #d1d5db;background:#fff;border-radius:8px;font-size:13px;cursor:pointer;transition:all .15s;color:#4b5563}.batch-tabs button:hover{border-color:#1d4ed8;color:#1d4ed8}.batch-tabs button.active{background:#1d4ed8;color:#fff;border-color:#1d4ed8}.batch-panel{display:flex;flex-direction:column;gap:14px;padding:18px;background:#f9fafb;border-radius:8px;border:1px solid #e5e7eb}.batch-panel-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.batch-hint{font-size:13px;color:#6b7280}.batch-table-wrapper{border:1px solid #e5e7eb;border-radius:8px;overflow-x:auto;background:#fff}.batch-table{width:100%;border-collapse:collapse;font-size:13px}.batch-table thead{background:#f1f5f9}.batch-table th{padding:10px 12px;text-align:left;font-weight:600;color:#374151;border-bottom:2px solid #e5e7eb;white-space:nowrap}.batch-table td{padding:7px 12px;border-bottom:1px solid #f3f4f6}.batch-table tr:last-child td{border-bottom:none}.batch-table tr.row-filled{background:#eff6ff}.batch-col-dim{width:90px;white-space:nowrap;text-align:center}.batch-col-field{width:260px;white-space:nowrap}.batch-field-name{font-weight:500;color:#1f2937}.batch-field-key{margin-left:8px;font-size:11px;color:#9ca3af;font-family:SF Mono,Fira Code,monospace}.batch-col-value{min-width:130px}.batch-col-value input{width:100%;height:32px;padding:0 10px;border:1px solid #d1d5db;border-radius:6px;font-size:13px;outline:none;transition:border-color .2s,box-shadow .2s}.batch-col-value input:focus{border-color:#1d4ed8;box-shadow:0 0 0 2px #1d4ed814}.batch-col-value input.filled{border-color:#059669;background:#f0fdf4}.table-section{background:#fff;border-radius:10px;padding:22px 24px;box-shadow:0 1px 3px #0000000f}.mapped-list-section{margin-bottom:18px}.section-title{font-size:15px;font-weight:600;margin-bottom:14px;color:#1f2937}.mode-badge{display:inline-block;padding:4px 12px;border-radius:16px;font-size:12px;font-weight:600}.mode-badge.new{background:#ecfdf5;color:#047857;border:1px solid #a7f3d0}.mode-badge.edit{background:#fff7ed;color:#c2410c;border:1px solid #fed7aa}.btn-cancel-edit{margin-left:6px;color:#6b7280}.btn-cancel-edit:hover{color:#dc2626}.btn-save{padding:8px 16px;background:#1d4ed8;color:#fff;border:none;border-radius:8px;font-size:13px;font-weight:500;cursor:pointer;transition:background .2s}.btn-save:hover{background:#1e40af}.toast{position:fixed;top:24px;left:50%;transform:translate(-50%);padding:10px 22px;border-radius:8px;font-size:13px;font-weight:500;box-shadow:0 4px 16px #0000001f;z-index:2000;animation:toast-in .25s ease}@keyframes toast-in{0%{opacity:0;transform:translate(-50%,-8px)}to{opacity:1;transform:translate(-50%)}}.toast-success{background:#ecfdf5;color:#047857;border:1px solid #a7f3d0}.toast-warn{background:#fffbeb;color:#b45309;border:1px solid #fde68a}.toast-info{background:#eff6ff;color:#1e40af;border:1px solid #bfdbfe}.list-filter{width:220px;height:34px;padding:0 12px;border:1px solid #d1d5db;border-radius:8px;font-size:13px;outline:none;transition:border-color .2s,box-shadow .2s}.list-filter:focus{border-color:#1d4ed8;box-shadow:0 0 0 2px #1d4ed814}.btn-link{padding:4px 10px;background:none;border:none;color:#1d4ed8;font-size:13px;font-weight:500;cursor:pointer;transition:color .2s}.btn-link:hover{color:#1e3a8a;text-decoration:underline}.list-empty{padding:32px 0;text-align:center;color:#9ca3af;font-size:13px}.pagination{display:flex;align-items:center;justify-content:flex-end;gap:6px;margin-top:16px;font-size:13px}.pagination-total{color:#6b7280;margin-right:8px}.page-btn{min-width:30px;height:30px;padding:0 8px;border:1px solid #e5e7eb;border-radius:6px;background:#fff;color:#374151;font-size:13px;cursor:pointer;transition:all .15s}.page-btn:hover:not(:disabled):not(.active){border-color:#6366f1;color:#6366f1}.page-btn.active{background:#6366f1;border-color:#6366f1;color:#fff}.page-btn:disabled{color:#d1d5db;cursor:not-allowed}.page-ellipsis{color:#9ca3af;padding:0 2px}.table-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.table-header h3{font-size:15px;font-weight:600}.table-header-actions{display:flex;gap:10px;align-items:center}.btn-copy{padding:8px 16px;background:#7c3aed;color:#fff;border:none;border-radius:8px;font-size:13px;font-weight:500;cursor:pointer;transition:background .2s}.btn-copy:hover{background:#6d28d9}.copy-hint{margin-top:12px;padding:12px 14px;background:#f0f9ff;border:1px solid #bae6fd;border-radius:8px;font-size:12px;color:#0369a1;line-height:1.8}.btn-export{padding:8px 16px;background:#059669;color:#fff;border:none;border-radius:8px;font-size:13px;cursor:pointer;transition:background .2s}.btn-export:hover{background:#047857}.table-wrapper{overflow-x:auto;border-radius:8px;border:1px solid #e5e7eb}table{width:100%;border-collapse:collapse;font-size:13px}thead{background:#f8fafc}th{padding:11px 10px;text-align:left;font-weight:600;color:#374151;border-bottom:2px solid #e5e7eb;white-space:nowrap}td{padding:8px 10px;border-bottom:1px solid #f3f4f6;vertical-align:middle}tbody tr:hover{background:#f8fafc}.col-fixed{min-width:80px}.col-mapping{min-width:130px}.col-mapping input{width:100%;height:32px;padding:0 8px;border:1px solid #d1d5db;border-radius:6px;font-size:13px;outline:none;transition:border-color .2s,box-shadow .2s}.col-mapping input:focus{border-color:#1d4ed8;box-shadow:0 0 0 2px #1d4ed814}.col-mapping input.filled{border-color:#059669;background:#f0fdf4}.required{color:#ef4444;margin-left:2px}.color-badge{display:inline-block;padding:2px 10px;background:#fef3c7;color:#92400e;border-radius:12px;font-size:12px;font-weight:500}.size-badge{display:inline-block;padding:2px 10px;background:#e0e7ff;color:#3730a3;border-radius:12px;font-size:12px;font-weight:500}.customer-name{font-weight:600;color:#111827}.status-on{display:inline-block;padding:2px 10px;background:#d1fae5;color:#065f46;border-radius:12px;font-size:12px;font-weight:500}.status-off{display:inline-block;padding:2px 10px;background:#fee2e2;color:#991b1b;border-radius:12px;font-size:12px;font-weight:500}.col-actions{white-space:nowrap}.btn-link{background:none;border:none;color:#1d4ed8;font-size:13px;cursor:pointer;padding:2px 6px;border-radius:4px;transition:background .15s}.btn-link:hover{background:#eff6ff}.btn-link-warn{color:#d97706}.btn-link-warn:hover{background:#fffbeb}.no-data{text-align:center;color:#9ca3af;padding:32px 0!important}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a73;display:flex;align-items:center;justify-content:center;z-index:1000;animation:fadeIn .15s ease}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideUp{0%{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}.modal{background:#fff;border-radius:12px;width:560px;max-width:92vw;max-height:80vh;display:flex;flex-direction:column;box-shadow:0 20px 60px #0003;animation:slideUp .2s ease}.modal-header{display:flex;align-items:flex-start;justify-content:space-between;padding:20px 24px 16px;border-bottom:1px solid #e5e7eb}.modal-header h3{font-size:17px;font-weight:700;color:#111827}.modal-customer{font-size:13px;color:#6b7280;margin-top:3px}.modal-close{width:30px;height:30px;border:none;background:#f3f4f6;border-radius:8px;font-size:14px;color:#6b7280;cursor:pointer;transition:all .15s;flex-shrink:0}.modal-close:hover{background:#fee2e2;color:#dc2626}.modal-body{padding:20px 24px 24px;overflow-y:auto;flex:1}.modal-footer{display:flex;justify-content:flex-end;gap:10px;padding:16px 24px;border-top:1px solid #e5e7eb}.modal-sm{width:520px}.edit-form{display:flex;flex-direction:column;gap:16px}.edit-form-row{display:flex;gap:16px}.edit-form-row .form-group{flex:1}.edit-form-row .form-group input,.edit-form-row .form-group select{width:100%;min-width:unset}.linked-count{font-size:12px;font-weight:500;color:#1d4ed8;background:#eff6ff;padding:2px 8px;border-radius:10px;margin-left:6px}.app-check-list-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;flex-wrap:wrap}.app-check-list-header h4{font-size:13px;font-weight:600;color:#374151;display:flex;align-items:center}.app-search-input{height:34px;padding:0 12px;border:1px solid #d1d5db;border-radius:8px;font-size:13px;outline:none;width:200px;transition:border-color .2s,box-shadow .2s}.app-search-input:focus{border-color:#1d4ed8;box-shadow:0 0 0 3px #1d4ed814}.app-check-list{max-height:320px;overflow-y:auto;border:1px solid #e5e7eb;border-radius:8px;padding:6px}.app-check-item{display:flex;align-items:center;gap:10px;padding:9px 12px;border-radius:6px;cursor:pointer;transition:background .12s;-webkit-user-select:none;user-select:none}.app-check-item:hover{background:#f1f5f9}.app-check-item.checked{background:#eff6ff}.app-check-item input[type=checkbox]{width:16px;height:16px;accent-color:#1d4ed8;flex-shrink:0;cursor:pointer}.app-check-label{font-size:13px;color:#374151}.app-check-item.checked .app-check-label{color:#1e40af;font-weight:500}.app-check-tenants{display:flex;align-items:center;gap:4px;flex-wrap:wrap;margin-left:auto}.empty-state{text-align:center;padding:72px 20px;color:#6b7280;background:#fff;border-radius:10px;box-shadow:0 1px 3px #0000000f}.empty-icon{font-size:44px;margin-bottom:14px}.empty-state p{font-size:14px;margin-bottom:8px}.empty-state .hint{font-size:13px;color:#9ca3af}.empty-state code{background:#f3f4f6;padding:2px 6px;border-radius:4px;font-size:13px;color:#1d4ed8}*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;background:#f0f2f5;color:#1f2937;min-height:100vh}#root{min-height:100vh}
