#u02-workspace .u02-dialog[data-history=true]{width:min(1160px,calc(100% - 48px));height:min(800px,calc(100dvh - 48px));max-height:none;overflow:hidden;display:flex;flex-direction:column}
#u02-workspace .u02-dialog[data-history=true]:not([open]){display:none}
#u02-workspace .u02-dialog[data-history=true]>header{flex-shrink:0;padding:18px 24px}
#u02-workspace .u02-dialog[data-history=true] .u02-dialog-body{padding:0;overflow:auto;min-height:0;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#555761 transparent}
#u02-workspace .h-root{padding:20px 24px 8px;font-size:13px;line-height:1.5}
#u02-workspace .h-root :is(h3,p,dl,dd){margin:0}
#u02-workspace .h-root button{font-size:12px;min-height:34px;padding:6px 9px;border-radius:5px;text-align:center}
#u02-workspace .h-root :is(input,select){font-size:12px;min-height:34px;padding:6px 9px;border-color:var(--hp-line);max-width:100%;width:100%;color-scheme:dark}
#u02-workspace .h-root input[type=date]{min-width:125px}
#u02-workspace .h-root h3{font-size:13px;font-weight:500}
#u02-workspace .h-filter-main{display:flex;gap:12px;align-items:flex-end;flex-wrap:wrap}
#u02-workspace .h-presets{display:flex;gap:2px;align-items:center;padding-bottom:1px}
#u02-workspace .h-presets button{color:var(--hp-muted)}
#u02-workspace .h-presets button[aria-pressed=true]{background:var(--hp-hover);color:var(--hp-text)}
#u02-workspace .h-field{display:grid;gap:5px;min-width:0}
#u02-workspace .h-field>span{color:var(--hp-muted);font-size:11px}
#u02-workspace .h-dates{display:flex;gap:7px;align-items:flex-end}
#u02-workspace .h-dates>span{padding-bottom:8px;color:var(--hp-muted)}
#u02-workspace .h-query-actions{display:flex;gap:6px;margin-left:auto}
#u02-workspace .h-root .h-query{background:var(--hp-text);color:var(--hp-bg);font-weight:500;min-width:64px}
#u02-workspace .h-more{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 16px;margin-top:14px;padding-top:14px;border-top:1px solid var(--hp-line)}
#u02-workspace .h-plan-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:12px;max-width:580px}
#u02-workspace .h-feedback{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:34px;font-size:11px;color:var(--hp-muted)}
#u02-workspace .h-error{color:var(--hp-down)}
#u02-workspace .h-applied{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:11px;color:var(--hp-muted);padding:6px 0 14px}
#u02-workspace .h-summary{border-block:1px solid var(--hp-line);padding:18px 0 8px}
#u02-workspace .h-metrics{display:grid;grid-template-columns:1.35fr 1.35fr repeat(5,1fr);gap:16px}
#u02-workspace .h-metrics dt{font-size:11px;color:var(--hp-muted);margin-bottom:8px}
#u02-workspace .h-metrics dd{font-size:19px;font-weight:500;white-space:nowrap}
#u02-workspace .h-metrics small{display:block;font-size:11px;font-weight:400;color:var(--hp-muted);margin-top:2px}
#u02-workspace .h-positive{color:var(--hp-up)}
#u02-workspace .h-negative{color:var(--hp-down)}
#u02-workspace .h-summary-meta{display:flex;justify-content:space-between;align-items:center;gap:12px;color:var(--hp-muted);font-size:11px;margin-top:8px}
#u02-workspace .h-help{font-size:12px;color:var(--hp-muted);padding:8px 0 12px;max-width:780px}
#u02-workspace .h-help p+p{margin-top:6px}
#u02-workspace .h-curve{padding:18px 0 10px}
#u02-workspace .h-curve header{display:flex;align-items:center;justify-content:space-between;gap:12px}
#u02-workspace [data-history-point]{font-size:11px;color:var(--hp-muted)}
#u02-workspace [data-history-chart]{height:148px;position:relative;margin-top:8px}
#u02-workspace [data-history-chart] svg{display:block;width:100%;height:100%;touch-action:pan-y}
#u02-workspace [data-history-chart] text{font-family:inherit;font-size:11px;fill:var(--hp-muted)}
#u02-workspace .h-curve-controls{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:var(--hp-muted);min-height:32px}
#u02-workspace .h-curve-controls button{font-size:11px}
#u02-workspace .h-list-title{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 0}
#u02-workspace .h-list-title>span,#u02-workspace .h-list-title h3 span{font-size:11px;color:var(--hp-muted);font-weight:400;margin-left:6px}
#u02-workspace .h-window-head,#u02-workspace .h-window-row{display:grid;grid-template-columns:1.45fr 1.1fr .9fr 1.2fr .9fr 1fr 50px;gap:12px;align-items:center}
#u02-workspace .h-window-head{font-size:11px;color:var(--hp-muted);padding:9px 0;border-block:1px solid var(--hp-line)}
#u02-workspace .h-window-row{font-size:12px;min-height:65px;padding:9px 0}
#u02-workspace .h-window{border-bottom:1px solid var(--hp-line)}
#u02-workspace .h-window-row:hover{background:#ffffff02}
#u02-workspace .h-window-row>div:nth-child(4),#u02-workspace .h-window-row>div:nth-child(6),#u02-workspace .h-window-head>span:nth-child(4),#u02-workspace .h-window-head>span:nth-child(6){text-align:right}
#u02-workspace .h-window-time button{padding:0;min-height:24px;text-align:left;font-size:12px}
#u02-workspace .h-window-time small{display:block;color:var(--hp-muted);font-size:11px;margin-top:2px}
#u02-workspace .h-row-expand{text-align:right}
#u02-workspace .h-orders{background:#ffffff02;padding:12px 14px;border-top:1px solid var(--hp-line)}
#u02-workspace .h-order-head,#u02-workspace .h-order{display:grid;grid-template-columns:1.3fr 1.1fr .9fr 1.3fr .9fr 48px;gap:12px;align-items:center}
#u02-workspace .h-order-head{font-size:11px;color:var(--hp-muted);padding:4px 0 8px}
#u02-workspace .h-order{font-size:12px;padding:10px 0;border-top:1px solid var(--hp-line)}
#u02-workspace .h-order small{display:block;font-size:11px;color:var(--hp-muted);margin-top:3px;overflow-wrap:anywhere}
#u02-workspace .h-order>div:nth-child(4){text-align:right}
#u02-workspace .h-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;font-size:11px;color:var(--hp-muted)}
#u02-workspace .h-pagination>div{display:flex;gap:6px}
#u02-workspace .h-empty{display:grid;place-content:center;text-align:center;min-height:130px;color:var(--hp-muted);font-size:12px}
#u02-workspace .h-detail nav{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}
#u02-workspace .h-detail nav button:first-child{padding-left:0}
#u02-workspace .h-detail-title{display:flex;justify-content:space-between;gap:20px;padding-bottom:24px;border-bottom:1px solid var(--hp-line)}
#u02-workspace .h-detail-title p,#u02-workspace .h-detail-title>div>span{font-size:11px;color:var(--hp-muted)}
#u02-workspace .h-detail-title h3{font-size:20px;margin:6px 0}
#u02-workspace .h-detail-title>div:last-child{text-align:right}
#u02-workspace .h-detail-title strong{display:block;font-size:20px;font-weight:500;margin-top:8px}
#u02-workspace .h-detail-title small{font-size:11px;font-weight:400;color:var(--hp-muted)}
#u02-workspace .h-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:48px}
#u02-workspace .h-detail-section{padding:22px 0;border-bottom:1px solid var(--hp-line)}
#u02-workspace .h-detail-section h3{margin-bottom:16px}
#u02-workspace .h-detail-section dl{display:grid;gap:12px}
#u02-workspace .h-detail-section dl>div{display:flex;justify-content:space-between;gap:20px}
#u02-workspace .h-detail-section dt{font-size:12px;color:var(--hp-muted)}
#u02-workspace .h-detail-section dd{font-size:12px;overflow-wrap:anywhere;text-align:right;max-width:65%}
#u02-workspace .h-note{font-size:11px;color:var(--hp-muted);margin-top:16px!important;line-height:1.7}
#u02-workspace .h-detail-orders{padding:24px 0}
#u02-workspace .h-detail-orders>h3{margin-bottom:14px}
@media(max-width:900px){
 #u02-workspace .h-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px 20px}
 #u02-workspace .h-filter-main{gap:12px 8px}
 #u02-workspace .h-window-head,#u02-workspace .h-window-row{grid-template-columns:1.4fr 1fr .9fr 1.2fr .9fr 1fr 44px;gap:8px}
 #u02-workspace .h-detail-grid{gap:28px}
}
@media(max-width:680px){
 #u02-workspace .u02-dialog[data-history=true]{width:calc(100% - 24px);height:calc(100dvh - 24px)}
 #u02-workspace .u02-dialog[data-history=true]>header{padding:12px 16px}
 #u02-workspace .h-root{padding:16px 16px 6px}
 #u02-workspace .h-root button{min-width:44px;min-height:44px}
 #u02-workspace .h-root :is(input,select){font-size:16px;min-height:44px}
 #u02-workspace .h-filter-main{display:grid;grid-template-columns:minmax(0,1fr) auto}
 #u02-workspace .h-presets{grid-column:1/-1}
 #u02-workspace .h-dates{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) 10px minmax(0,1fr)}
 #u02-workspace .h-dates input{min-width:0}
 #u02-workspace .h-query-actions{grid-column:1/-1}
 #u02-workspace .h-more{grid-template-columns:repeat(2,minmax(0,1fr))}
 #u02-workspace .h-search{grid-column:1/-1}
 #u02-workspace .h-plan-filters{grid-template-columns:1fr}
 #u02-workspace .h-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
 #u02-workspace .h-metrics dd{font-size:18px;white-space:normal;overflow-wrap:anywhere}
 #u02-workspace .h-summary-meta{align-items:flex-start}
 #u02-workspace .h-summary-meta>span{padding-top:12px}
 #u02-workspace .h-curve header{align-items:flex-start;flex-direction:column;gap:4px}
 #u02-workspace .h-window-head{display:none}
 #u02-workspace .h-window-row{grid-template-columns:1fr 1fr;gap:14px 12px;padding:16px 0}
 #u02-workspace .h-window-time{grid-column:1;grid-row:1}
 #u02-workspace .h-row-pnl{grid-column:2;grid-row:1;text-align:right!important}
 #u02-workspace .h-window-row>div:nth-child(4){text-align:left}
 #u02-workspace .h-window-row>div[data-label]:before{content:attr(data-label);display:block;font-size:11px;color:var(--hp-muted);margin-bottom:5px}
 #u02-workspace .h-row-expand{grid-column:2;grid-row:4}
 #u02-workspace .h-window-time button{min-height:36px}
 #u02-workspace .h-list-title{align-items:flex-start;flex-direction:column;gap:4px}
 #u02-workspace .h-list-title>span{margin:0}
 #u02-workspace .h-order-head{display:none}
 #u02-workspace .h-orders{padding:8px 12px}
 #u02-workspace .h-order{grid-template-columns:1fr 1fr;gap:12px}
 #u02-workspace .h-order>div:nth-child(4){text-align:left}
 #u02-workspace .h-order>div:last-child{text-align:right}
 #u02-workspace .h-detail-title{flex-wrap:wrap}
 #u02-workspace .h-detail-title>div:last-child{text-align:left}
 #u02-workspace .h-detail-grid{grid-template-columns:1fr;gap:0}
 #u02-workspace .h-detail-section dd{max-width:58%}
}

#u02-workspace .h-chart-empty{height:100%;display:grid;place-content:center;color:var(--hp-muted);font-size:12px}
#u02-workspace .h-root [hidden]{display:none!important}
#u02-workspace .h-root{font-variant-numeric:tabular-nums}
