*{box-sizing:border-box}
body{margin:0;font-family:Arial,Helvetica,sans-serif;background:#f4f7fb;color:#1e293b}
.topbar{background:#0b5cab;color:#fff;padding:18px 28px;display:flex;justify-content:space-between;align-items:center;gap:20px}
.topbar h1{margin:0 0 5px;font-size:24px}
.subtitle{opacity:.9;font-size:14px}
.import-link{background:#fff;color:#0b5cab;padding:10px 16px;border-radius:6px;text-decoration:none;font-weight:bold}
.container{padding:22px;max-width:1600px;margin:auto}
.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:18px}
.stat{background:#fff;border-radius:9px;padding:15px 18px;box-shadow:0 1px 4px #0001}
.stat span{display:block;color:#64748b;font-size:13px}.stat strong{font-size:25px;display:block;margin-top:4px}
.stat.pending{border-left:5px solid #f59e0b}
.toolbar{background:#fff;padding:14px;border-radius:9px;margin-bottom:15px;box-shadow:0 1px 4px #0001}
.search-form{display:flex;gap:8px}
.search-form input{flex:1;padding:11px;border:1px solid #cbd5e1;border-radius:6px;font-size:14px}
.search-form select,.search-form button,.clear{padding:11px 14px;border-radius:6px;border:1px solid #cbd5e1;background:#fff;text-decoration:none}
.search-form button{background:#0b5cab;color:#fff;border-color:#0b5cab;font-weight:bold;cursor:pointer}
.clear{color:#334155}
.table-wrap{background:#fff;border-radius:9px;box-shadow:0 1px 5px #0001;overflow:auto}
table{border-collapse:collapse;width:100%;min-width:1150px}
th{background:#e9f2ff;color:#17324d;text-align:left;padding:11px 9px;border-bottom:2px solid #cbd5e1;position:sticky;top:0}
td{padding:10px 9px;border-bottom:1px solid #dbe2ea;font-size:13px}
tbody tr:hover{background:#f8fafc}
tbody tr.copied-row{background:#c8f7d1}
tbody tr.copied-row:hover{background:#b8f0c4}
.business{font-weight:600}.mono{font-family:Consolas,monospace}
.copy-btn{border:0;border-radius:3px;padding:10px 18px;font-size:12px;font-weight:bold;cursor:pointer;background:#ffbd00;color:#111;min-width:110px}
.copy-btn:hover{filter:brightness(.95)}
.copy-btn:disabled{cursor:not-allowed;opacity:.65}
.copy-btn.done{background:#36a852;color:#fff}
.phone-btn{min-width:92px}
.toast{position:fixed;right:25px;bottom:25px;background:#111827;color:#fff;padding:12px 18px;border-radius:7px;display:none;z-index:20}
.toast.show{display:block}
.empty{text-align:center;padding:35px}
.pagination{display:flex;justify-content:center;align-items:center;gap:20px;padding:18px}
.pagination a{background:#fff;padding:9px 14px;border-radius:6px;text-decoration:none;color:#0b5cab;border:1px solid #d1d5db}
.import-box{max-width:700px;margin:30px auto;background:#fff;padding:28px;border-radius:10px;box-shadow:0 2px 8px #0001}
.import-box h2{margin-top:0}.import-box input[type=file]{width:100%;padding:12px;border:1px solid #cbd5e1;border-radius:6px}
.import-box button{margin-top:15px;background:#0b5cab;color:white;border:0;padding:11px 18px;border-radius:6px;font-weight:bold}
.notice{padding:12px;border-radius:6px;background:#eff6ff;margin:15px 0}
.success{background:#dcfce7}.error{background:#fee2e2}
.back{display:inline-block;margin-bottom:15px;color:#0b5cab;text-decoration:none}
@media(max-width:800px){.stats{grid-template-columns:repeat(2,1fr)}.search-form{flex-wrap:wrap}.search-form input{min-width:100%}.topbar{align-items:flex-start;flex-direction:column}}
