:root{--ink:#1f2d3d;--muted:#8a94a6;--green:#2f6bff;--light:#eaf2ff;--line:#e5eaf0;--bg:#f6f9fe}body{background:linear-gradient(180deg,#e4eefc 0%,#f4f8fe 40%,#f6f9fe 100%);min-height:100vh}.query-page header{max-width:1000px;height:auto;padding:25px 20px 5px;border:0;align-items:start}.simple-header h1{font-size:30px;letter-spacing:0;margin:0 0 4px;font-weight:800}.simple-header p{font-size:12px;color:var(--muted);margin:0}.simple-header nav{font-size:12px;padding-top:8px;gap:12px}.query-page main{max-width:1000px;padding:0 14px}.query-page .card{border:0;margin-top:14px;padding:20px;border-radius:16px;box-shadow:0 2px 12px #2f6bff0a}.query-page h2{display:flex;align-items:center;gap:8px;font-size:16px;margin:0 0 16px;font-weight:700}.query-page h2:before{content:"";height:16px;width:4px;border-radius:2px;background:var(--green)}.query-page .section-head h2{margin-bottom:12px}.query-page .table-label{margin:5px 0 2px}.query-page .company-row{grid-template-columns:minmax(0,1fr) 180px 28px;gap:16px;margin-bottom:14px}.query-page .table-label{grid-template-columns:minmax(0,1fr) 180px 28px;gap:16px}.query-page input:not([type=password]){border:0;border-bottom:1px solid var(--line);border-radius:0;padding:12px 2px;font-size:14px}.query-page input:focus{box-shadow:none;border-color:var(--green)}.query-page .remove{align-self:center;height:26px;width:26px;font-size:18px;border-radius:50%;background:#f2f4f8;color:#98a2b3}.query-page #add-row{background:var(--light);color:var(--green);border:0;padding:7px 13px;font-size:12px}.query-page .text{color:var(--green);font-size:12px}.delivery-modes{display:flex;gap:10px;margin:4px 0 12px}.mode{flex:1;background:#fafbfd;border:1px solid var(--line);color:#6b7a90;padding:11px 8px;font-size:14px;border-radius:10px}.mode.active{background:var(--light);border-color:var(--green);color:var(--green);font-weight:600}.query-submit{width:100%;border-radius:26px;background:linear-gradient(90deg,#5a97ff,#2f6bff);box-shadow:0 6px 16px #2f6bff40;padding:14px;margin-top:20px;font-size:17px;letter-spacing:4px;font-weight:600}.short-note{text-align:center;color:var(--muted);font-size:12px;margin:10px 0}.query-page .history{margin-top:18px}.query-page .job{padding:14px 0;gap:16px}.query-page .job h3{font-size:14px}.query-page .job .status{border-radius:12px;font-size:11px}.query-page .job .details{font-size:12px}.query-page .empty{padding:15px 0;text-align:left;font-size:12px}.query-page .empty strong{display:none}.query-page footer{margin:18px 0 0;justify-content:center;padding-bottom:22px}.query-page #form-success,.query-page #form-error{text-align:center;margin:8px 0}.query-page .gate{margin:70px auto;max-width:430px;padding:26px}.query-page .gate h2:before{display:none}.query-page .gate .inline{margin-top:22px}.query-page .gate input{min-width:0}.query-page #paste-panel{margin-top:14px}.query-page #paste-panel button{margin-top:8px}@media(max-width:600px){.query-page header{padding:22px 20px 5px}.simple-header h1{font-size:28px}.query-page .card{padding:17px 14px}.query-page .company-row,.query-page .table-label{grid-template-columns:minmax(0,1fr) 105px 26px;gap:8px}.query-page .company-row input{font-size:13px}.query-page .job{gap:7px}.delivery-modes{gap:8px}.mode{font-size:13px}.query-page .gate{margin:55px auto}.short-note{font-size:11px}}

.country-field{position:relative;min-width:0}.country-field input{width:100%}.country-options{position:absolute;top:100%;left:0;right:0;min-width:180px;z-index:10;padding:5px;background:#fff;border:1px solid #dce5f1;border-radius:8px;box-shadow:0 5px 18px #1f2d3d20;max-height:260px;overflow:auto}.country-options button{display:block;width:100%;text-align:left;background:#fff;color:#253b57;padding:9px;font-size:13px;white-space:normal}.country-options button:hover,.country-options button:focus{background:#eaf2ff}.country-options small{color:#8a94a6}.status.unmatched{background:#fff0b3;color:#8a6200}.query-state p{display:flex;flex-wrap:wrap;gap:8px 18px;font-size:13px;margin:10px 0}.query-state span{color:#496587}.query-state small{color:#8a94a6}.job-actions .secondary{font-size:12px;padding:7px 11px}
@media(max-width:600px){.country-options{left:auto;right:0;width:200px;max-width:70vw}.query-state strong{overflow-wrap:anywhere}.job h3{overflow-wrap:anywhere}}

.progress-badge{display:inline-flex;gap:8px;align-items:center;background:#fff3ce;color:#8a6412;border-radius:24px;padding:7px 13px;font-size:14px;font-weight:600}.progress-badge i{width:8px;height:8px;border-radius:50%;background:#edc96f}.progress-badge.completed{background:#def5e6;color:#2a7546}.progress-badge.completed i{background:#55ad72}.progress-badge.failed{background:#ffe8e4;color:#a34737}.progress-name{font-size:13px;color:#68768a;margin-top:12px;overflow-wrap:anywhere}.query-state .queue-count{color:#6b7280;font-size:14px;margin:12px 0}.progress-detail{background:#1e1e1e;color:#f5f5f5;border-radius:18px;padding:13px 16px;font-size:13px;line-height:1.6;min-height:42px;margin-top:12px;overflow-wrap:anywhere}.query-page .query-state{padding:20px}.job-actions{flex-wrap:wrap}

.simple-header .search-warning{color:#7a8596;font-size:12px;line-height:1.65;margin:5px 0 8px;max-width:760px}.simple-header>div{min-width:0}.simple-header nav{flex-shrink:0}.query-state .progress-detail{white-space:pre-wrap;color:#a7d9a9;background:#1e1e1e;font:12px/1.85 ui-monospace,SFMono-Regular,Consolas,"Liberation Mono",monospace;padding:16px;border-radius:14px;overflow-wrap:anywhere}.query-state .progress-badge{font-size:14px}.query-state .progress-name{font-size:13px}

.site-notice{background:#fff6db;border:1px solid #f0dfaa;border-radius:12px;padding:14px 17px;margin:18px 0;color:#7f6124;font-size:13px;overflow-wrap:anywhere}.site-notice strong{font-size:13px}.site-notice p{white-space:pre-wrap;margin:5px 0 0;line-height:1.8}.admin-page .admin-section{margin:0 0 22px}.admin-page .admin-section h2{font-size:19px;margin:0 0 18px}.admin-page .section-head h2{margin-bottom:0}.admin-page #service-state{margin:14px 0 18px}.admin-page .stats{margin:0;gap:12px}.admin-page .stat{box-shadow:none;background:#f6f9fe;border:0}.notice-toggle{display:flex;align-items:center;gap:9px;font-weight:500}.notice-toggle input{width:17px;height:17px;accent-color:#2f6bff}.account-forms{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:36px;align-items:start}.account-forms form{min-width:0}.admin-page textarea{resize:vertical;min-height:105px}.admin-page .events-heading{margin-top:26px;padding-top:20px;border-top:1px solid var(--line)}@media(max-width:760px){.account-forms{grid-template-columns:minmax(0,1fr);gap:24px}.admin-page .stat{padding:15px}.admin-page .admin-section{padding:20px}.admin-page .account-forms form+form{border-top:1px solid var(--line);padding-top:12px}}
