:root{color-scheme:light;--blue:#3b60e8;--ink:#172a48;--muted:#62728c;--line:#dbe3f1;--bg:#f4f7fc;--light:#edf2ff;--danger:#b3402b;--green:#137956}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.55 -apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif}main{max-width:1400px;margin:0 auto;padding:28px 32px 36px}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:22px}.eyebrow{color:var(--blue);font-size:13px;font-weight:700;letter-spacing:.08em}h1{font-size:30px;line-height:1.25;margin:7px 0 9px;letter-spacing:-.02em}h2{font-size:19px;line-height:1.4;margin:0}p{margin:8px 0 14px}.page-heading p{color:var(--muted);margin-bottom:0}.card{background:white;border:1px solid var(--line);border-radius:14px;padding:23px 24px;margin-bottom:20px;box-shadow:0 2px 4px #18355a03}.setup-grid{display:grid;grid-template-columns:0.9fr 1.25fr;gap:20px;align-items:stretch}.setup-grid>.card{min-width:0}.section-title{display:flex;justify-content:space-between;align-items:center;gap:14px}.help,.muted{color:var(--muted);font-size:14px}.help strong{color:#344d77;font-weight:600}.tag{font-size:13px;border-radius:6px;padding:5px 9px;background:var(--light);color:#4763a4;white-space:nowrap}.count-badge{display:inline-block;padding:1px 8px;margin-left:5px;font-size:14px;border-radius:6px;background:var(--light);color:var(--blue)}label{display:block;font-size:14px;font-weight:600;margin-bottom:7px}label.help{font-weight:400}input,select,textarea{width:100%;font:inherit;font-size:14px;color:var(--ink);border:1px solid #cbd7ea;background:white;border-radius:7px;padding:10px 12px;outline:none}input:focus,select:focus,textarea:focus{border-color:var(--blue);box-shadow:0 0 0 3px #3b60e818}select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='m1 1 5 5 5-5' stroke='%2362728c' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 13px center;padding-right:33px}textarea{resize:vertical;min-height:105px;line-height:1.65}textarea.cookie-input{font-size:13px;min-height:95px}button,.button{display:inline-flex;justify-content:center;align-items:center;border:1px solid transparent;background:var(--blue);color:white;padding:10px 15px;border-radius:7px;font-size:14px;font-weight:600;line-height:1.45;cursor:pointer;text-decoration:none;white-space:nowrap;font-family:inherit}button:hover,.button:hover{filter:brightness(.97)}button:disabled{opacity:.45;cursor:not-allowed}.ghost{background:var(--light);color:#3659c5}.danger-text{color:var(--danger);background:#fff1ee}.actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.actions #start{padding:12px 24px;font-size:16px}.status-note{background:#f5f8fc;border-radius:7px;padding:9px 11px;font-size:14px;margin:10px 0 14px}.status-note.good{background:#edf9f3;color:var(--green)}.feedback{min-height:22px;font-size:14px;color:var(--muted);margin:10px 0 8px}.feedback.good{color:var(--green)}.feedback.bad,.bad{color:#b53026}.backup{border-top:1px solid var(--line);margin-top:14px;padding-top:12px}summary{cursor:pointer;font-weight:600;font-size:15px}summary .muted{font-weight:400;margin-left:12px}.two-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.two-fields select{margin-top:7px}.add-fields{display:grid;grid-template-columns:1fr 1.12fr auto;gap:10px;align-items:end}.add-fields label{margin:0}.add-fields input{margin-top:6px}.add-fields button{min-height:42px}.white-scroll{max-height:190px;overflow:auto;margin-top:10px;border:1px solid var(--line);border-radius:7px}table{border-collapse:collapse;width:100%;font-size:14px;text-align:left}th{padding:11px 12px;background:#f2f6fd;font-size:13px;font-weight:600;white-space:nowrap}td{padding:13px 12px;border-top:1px solid #e7edf5;vertical-align:top}td small{display:block;color:var(--muted);font-size:13px;margin-top:4px}.white-table th{position:sticky;top:0}.white-table td{padding:9px 12px}.white-table button{padding:3px 0;color:#a34736;background:none;font-size:13px;font-weight:400}.footnote{margin:11px 0 0;font-size:13px}.query-card textarea{min-height:126px}.query-footer{display:flex;justify-content:space-between;align-items:center;margin-top:12px;gap:12px}.query-card .feedback{margin-bottom:0}.progress-card p{font-size:15px}.progress-card .section-title.muted{font-size:13px}.progress-card #updated{font-size:13px;margin-bottom:0}.progress-card #sources:empty{display:none}progress{display:block;width:100%;height:10px;border:0;border-radius:10px;margin:16px 0 11px;overflow:hidden;background:#e7edf8}progress::-webkit-progress-bar{background:#e7edf8;border-radius:10px}progress::-webkit-progress-value{background:var(--blue);border-radius:10px}progress::-moz-progress-bar{background:var(--blue)}.results-toolbar{display:flex;justify-content:space-between;gap:20px;align-items:center;margin:16px 0}.results-toolbar select{width:180px}.counts{display:flex;gap:12px;flex-wrap:wrap}.counts>span{padding:9px 13px;background:#f4f7fc;border-radius:7px;font-size:14px}.counts strong{margin-left:9px;font-size:19px}.counts .external{color:#b14c30;background:#fff2eb}.counts .own{color:#11714f;background:#edf8f2}.pill{display:inline-block;padding:4px 8px;border-radius:5px;font-size:13px;white-space:nowrap}.pill.external{background:#fff0e8;color:#a94427}.pill.own{background:#e9f8f1;color:#126f4e}.pill.unknown,.pill.invalid{background:#f0f2f6;color:#606c80}.table-scroll{overflow:auto;border:1px solid var(--line);border-radius:8px}.table-scroll table{min-width:930px}a{color:var(--blue)}.text-link{font-size:14px}.history-card summary{padding:0}.history-card[open] summary{margin-bottom:18px}.history-row{display:flex;justify-content:space-between;align-items:center;padding:12px 0;gap:12px;border-bottom:1px solid var(--line);font-size:14px}.history-card{margin-bottom:12px}footer{color:#8995aa;text-align:center;font-size:13px;padding:8px}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.preview-notice{background:#e9efff;color:#324e9c;text-align:center;padding:9px;font-size:14px}
@media(max-width:1050px){main{padding:24px 20px}.setup-grid{grid-template-columns:1fr}.page-heading{align-items:flex-start}.page-heading>.tag{white-space:normal;max-width:190px}.white-scroll{max-height:230px}}
@media(max-width:640px){main{padding:20px 12px}.card{padding:18px 16px}.page-heading{display:block}.page-heading>.tag{display:inline-block;margin-top:12px;max-width:none}h1{font-size:27px}.add-fields{grid-template-columns:1fr 1fr}.add-fields button{grid-column:1/-1}.section-title{flex-wrap:wrap}.query-footer{align-items:flex-start;flex-direction:column}.two-fields{grid-template-columns:1fr}.results-toolbar{flex-wrap:wrap;gap:10px}.counts{gap:6px}.counts>span{padding:7px 9px}.counts strong{font-size:17px}.section-title>.actions{gap:8px}}

input[type=checkbox]{width:auto;min-width:18px;height:18px;vertical-align:middle;margin-right:8px}#extraBackups{margin-top:12px}#inputCount{display:block;margin-top:8px}

.visit-actions{min-width:150px}.visit-actions a{display:inline-block;margin:0 0 8px}.table-scroll table{min-width:1450px}.table-scroll td:nth-child(6){overflow-wrap:anywhere;min-width:180px}
