body{font-family:system-ui,Arial,sans-serif;background:#f5f7fa;color:#1e293b;margin:0}.history-wrap{max-width:1100px;margin:35px auto;padding:0 20px}header,form,#history-result{background:white;border:1px solid #e2e8f0;border-radius:12px;padding:22px;margin-bottom:18px}header a{color:#2563eb}h1{margin:12px 0 6px}h3{margin-top:28px}.search-row{display:flex;gap:10px;margin-top:8px}.search-row input{flex:1;min-width:0;padding:10px;border:1px solid #94a3b8;border-radius:6px}.search-row button{padding:10px 18px;border:0;border-radius:6px;background:#1d4ed8;color:white;cursor:pointer}.table-scroll{overflow:auto}table{width:100%;border-collapse:collapse}th,td{padding:11px;text-align:left;border-bottom:1px solid #e2e8f0}th{background:#f1f5f9}.timeline{list-style:none;padding-left:18px;border-left:3px solid #93c5fd}.timeline li{padding:12px 16px;margin:12px 0;background:#f8fafc;border-radius:8px;overflow-wrap:anywhere}.hint{color:#64748b}#history-status{min-height:1.5em}@media(max-width:600px){.search-row{flex-direction:column}}
.history-filters{display:flex;gap:12px;flex-wrap:wrap;align-items:end;margin:18px 0}.history-filters label{display:flex;flex-direction:column;gap:5px;font-weight:600}.history-filters select,.history-filters input{padding:9px;border:1px solid #94a3b8;border-radius:6px;min-width:135px}.history-filters button{padding:10px;border:0;border-radius:6px;background:#1d4ed8;color:white;cursor:pointer}.history-filters button:disabled{opacity:.5;cursor:not-allowed}.history-summary{background:#eff6ff;padding:14px;border-radius:8px;line-height:1.8}
