
#full-history{width:min(900px,calc(100vw - 28px));max-width:none;max-height:min(90dvh,880px);padding:0;overflow:hidden}
#full-history[open]{display:flex;flex-direction:column}
#full-history .history-top{padding:18px 20px 12px;border-bottom:1px solid var(--line)}
#full-history .history-top h2{margin:0}
#full-history .history-actions,.full-history-foot,#history-pagination{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
#history-filter{margin-top:12px;--filter-height:max(44px,2.75rem);--filter-label:1.25rem;--filter-gap:.375rem}
.history-filter-fields{
  display:grid;grid-template-columns:repeat(2,minmax(0,15rem)) max-content;
  align-items:start;gap:12px 16px;
}
.history-filter-endpoint,.history-date-entry{min-width:0}
.history-filter-endpoint .field{
  display:grid;grid-template-columns:minmax(0,1fr);gap:var(--filter-gap);
  min-width:0;line-height:var(--filter-label)
}
.history-filter-endpoint .history-fold{margin-top:6px}
.history-date-entry{display:block;position:relative}
.history-filter-fields input,.history-filter-fields select{
  display:block;box-sizing:border-box;width:100%;min-width:0;max-width:100%;
  height:var(--filter-height);min-height:var(--filter-height);margin:0;padding:0 10px;
  font-size:max(16px,1rem);line-height:normal;text-align:left;
}
.history-date-entry input{-webkit-appearance:none;appearance:none}
.history-date-entry input::-webkit-date-and-time-value{margin:0;text-align:left}
.history-date-hint{
  display:none;position:absolute;inset:1px 2.25rem 1px 2px;align-items:center;
  padding-left:8px;border-radius:8px 0 0 8px;background:var(--input);color:var(--muted);
  font-size:1rem;font-weight:450;white-space:nowrap;pointer-events:none;
}
.history-date-entry input:invalid:not(:focus)+.history-date-hint{display:flex}
.history-filter-buttons{
  display:flex;align-items:center;gap:8px;padding-top:calc(var(--filter-label) + var(--filter-gap));
}
.history-filter-buttons button{
  min-height:var(--filter-height);min-width:5.5rem;padding:0 12px;text-align:center;
  font-size:1rem;white-space:nowrap;
}
.history-filter-buttons button:disabled{cursor:default}
#full-history #history-zone{margin:6px 0 0}
#history-filter-message{color:var(--ice)}
#full-history .history-actions{margin-top:10px}
#full-history .history-actions a{color:#082027;text-decoration:none}
#full-history-scroll{overflow:auto;overscroll-behavior:contain;min-height:0;padding:0 20px}
#full-history-table{width:100%;border-collapse:separate;border-spacing:0;font-size:.88rem;font-variant-numeric:tabular-nums;text-align:left}
#full-history-table thead th{position:sticky;top:0;z-index:1;background:var(--panel);color:var(--muted);font-weight:600}
#full-history-table th,#full-history-table td{padding:9px 9px 9px 0;border-bottom:1px solid var(--line);vertical-align:top}
#full-history-table td small{display:block;margin-top:2px;color:var(--muted);font-size:.78rem}
#full-history-table td:nth-child(2){color:var(--ice);font-weight:650}
.full-history-foot{padding:10px 20px 14px;border-top:1px solid var(--line);justify-content:space-between}
#full-history .sub{margin:4px 0;overflow-wrap:anywhere}
#full-history .status-line{padding:0 20px;margin:8px 0}
.history-card .row-head{align-items:center}
.history-card .row-head .secondary{margin-top:0}
#full-history [hidden]{display:none!important}
@media(max-width:45rem){
 .history-filter-fields{grid-template-columns:repeat(2,minmax(0,15rem))}
 .history-filter-buttons{grid-column:1/-1;padding-top:0}
}
@media(max-width:34rem){
 .history-filter-fields{grid-template-columns:minmax(0,1fr);gap:10px}
 .history-filter-endpoint .history-date-label{
   grid-template-columns:2.5rem minmax(0,1fr);align-items:center;column-gap:8px;
 }
}
@media(max-width:650px){
 #full-history{width:calc(100vw - 16px);max-height:92dvh}
 #full-history .history-top,.full-history-foot{padding:12px}
 #full-history-scroll{padding:0 12px}
 #full-history-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 #full-history-table,#full-history-table tbody{display:block}
 #full-history-table tr{display:grid;grid-template-columns:1fr 1fr;gap:5px 10px;padding:10px 0;border-bottom:1px solid var(--line)}
 #full-history-table td{display:block;padding:0;border:0}
 #full-history-table td:first-child{grid-column:1/-1}
 #full-history-table td::before{content:attr(data-label);display:block;color:var(--muted);font-size:.76rem;font-weight:500}
 .full-history-foot{gap:4px}
}
@media(max-height:560px){
 #full-history{overflow:auto;overscroll-behavior:contain}
 #full-history-scroll{flex:none;max-height:55dvh}
}