.query-results{margin:16px 0 30px;scroll-margin-top:55px}
.query-section{margin-bottom:18px;overflow:hidden;border:1px solid var(--site-border);border-radius:12px;background:#fff;box-shadow:var(--site-shadow)}
.query-section h2{box-sizing:border-box;display:flex;align-items:center;gap:10px;min-height:56px;margin:0;font-size:17px;font-weight:700;color:var(--site-heading)}
.query-section h2::before{content:'';width:4px;height:18px;border-radius:3px;background:var(--site-action)}
.query-section-heading{display:flex;align-items:center;justify-content:space-between;padding:0 20px;background:linear-gradient(#fff,#fff)}
.query-table{width:100%;table-layout:fixed;border-collapse:collapse;background:#fff;text-align:center;font-size:13px}
.query-table th{height:44px;padding:0 7px;border:1px solid var(--site-line);border-top:2px solid var(--site-red);font-weight:700;color:var(--site-heading);background:var(--site-table-head);line-height:20px}
.query-table td{box-sizing:border-box;height:40px;padding:5px 7px;border:1px solid var(--site-line);line-height:22px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--site-text)}
.query-table tbody tr:nth-child(even){background:var(--site-stripe)}
.query-table tbody tr:hover{background:var(--site-hover)}
.query-table td a{color:inherit;text-decoration:none}
.query-table td a:hover{color:#d94040}
.query-table tfoot td{background:var(--site-soft);font-weight:700;color:var(--site-heading)}
.query-table tfoot td:first-child{white-space:normal;text-overflow:clip;line-height:18px}
.query-date-table{scroll-margin-top:55px}
.query-slots tbody td{padding-top:10px;padding-bottom:10px;vertical-align:top}
.query-slots tbody td:first-child,.query-slots tbody td:last-child{vertical-align:middle}
.query-table.query-slots td div{white-space:normal;font-size:12px;overflow-wrap:anywhere;line-height:22px}
.query-slots td strong{font-weight:700;color:var(--site-amount)}
.query-records{margin-bottom:0;table-layout:auto}
.query-records caption{text-align:left;padding:11px 20px;font-size:13px;font-weight:400;color:var(--site-muted);background:var(--site-soft);border-top:1px solid var(--site-line)}
.query-records th{padding:0 6px;white-space:nowrap}
.query-records td{height:48px;padding:8px 6px;font-size:12px;line-height:20px;vertical-align:middle;white-space:normal;overflow-wrap:anywhere;text-overflow:clip}
.query-records .query-record-site{font-weight:700;color:var(--site-text)}
.query-records .query-record-name{width:10%;font-size:12px;font-weight:400}
.query-records .query-record-time{font-variant-numeric:tabular-nums;color:var(--site-muted);white-space:nowrap}
.query-records .query-record-wrap{white-space:normal;overflow-wrap:anywhere;line-height:18px}
.query-records .query-record-description{width:22%;padding:9px 12px;text-align:center;white-space:normal;overflow-wrap:anywhere;color:var(--site-text)}
.query-records .query-record-url{width:16%;text-align:center;word-break:normal}
.query-records .query-record-url a{display:block;white-space:normal;overflow-wrap:anywhere}
.query-records .query-record-quantity{font-size:13px;font-weight:700;color:var(--site-amount);font-variant-numeric:tabular-nums}
.query-table td.query-empty{height:88px;color:#999}
.query-scope{margin-bottom:18px;padding:20px;background:#fff;border:1px solid var(--site-border);border-radius:12px;box-shadow:var(--site-shadow)}
.query-scope-form{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.query-scope-form label{display:flex;align-items:center;gap:10px;color:var(--site-text);font-size:13px;font-weight:700}.query-scope-form select{height:38px;min-width:140px;box-sizing:border-box;padding:0 12px;border:1px solid var(--site-border);border-radius:8px;background:#fff;color:var(--site-text);font-size:13px;font-weight:400;cursor:pointer}
.query-scope-form select:focus{outline:none;border-color:#e77262;box-shadow:0 0 0 3px #e75e4b14}
.query-scope-form button{height:38px;padding:0 20px;border:1px solid var(--site-red);border-radius:8px;background:var(--site-action);color:#fff;font-size:13px;font-weight:700;box-shadow:0 3px 7px #e5443c18;cursor:pointer}
.query-scope-form button:hover{filter:brightness(.96)}
.query-detail-link{font-size:13px;color:var(--site-amount)!important;text-decoration:none}
.query-summary{display:grid;grid-template-columns:1.2fr 1fr 1fr 1.5fr;gap:16px;margin:20px 0 12px}
.query-summary>div{padding:14px 16px;background:#fafafa;border:1px solid var(--site-border);border-radius:10px}
.query-summary span{display:block;font-size:12px;color:var(--site-muted);margin-bottom:8px}
.query-summary strong{font-size:20px;font-weight:700;color:var(--site-heading);font-variant-numeric:tabular-nums}
.query-summary small{font-size:12px;font-weight:400;margin-left:6px}
.query-summary .query-summary-amount{border-color:#f1c2bd;background:var(--site-hover)}
.query-summary .query-summary-amount strong{color:var(--site-amount)}
.query-scope-note{margin:10px 0 0;font-size:12px;line-height:20px;color:var(--site-muted)}
.query-table th small{display:block;font-size:11px;font-weight:400;color:var(--site-muted);line-height:16px}
.query-table .query-money{white-space:normal;overflow-wrap:anywhere;text-overflow:clip;font-variant-numeric:tabular-nums}
.query-table [data-amount-total] td{color:var(--site-amount)}
.query-slot-details{margin-top:5px}
.query-slot-details summary{display:list-item;width:fit-content;max-width:100%;margin:0 auto;padding:2px 7px;border:1px solid var(--site-border);border-radius:6px;background:var(--site-soft);cursor:pointer;color:#be4141;font-size:12px;line-height:22px;text-align:left}
.query-slot-details summary:hover{background:var(--site-hover);border-color:#f1c2bd}
.query-slot-details summary::marker{font-size:10px}
.query-muted{color:#a6aeb8}
.query-records .query-record-amount{min-width:100px;font-variant-numeric:tabular-nums;white-space:nowrap;color:var(--site-amount)}
.query-record-footer{display:flex;align-items:center;justify-content:space-between;padding:12px 20px;gap:16px;background:#fff;font-size:12px;color:var(--site-muted)}
.query-record-footer .pagination{min-height:44px;margin:0;padding:4px 0;border:0;background:transparent}
#query-records-title{scroll-margin-top:55px}

.query-ad-type{display:inline-block;min-width:78px;box-sizing:border-box;padding:2px 8px;border-radius:4px;background:#ffda36;color:#302500;font-size:12px;font-weight:400;line-height:20px;text-align:center;white-space:nowrap}
.query-ad-type[data-ad-type="night_recommend"]{background:#e88700;color:#fff}
.query-ad-type[data-ad-type="night_recommend_fix"],.query-ad-type[data-ad-type="day_fix"]{background:#bf00d6;color:#fff}
.query-ad-type[data-ad-type="reschedule"]{background:#e88700;color:#fff}

