/* HGRE: select controls and order history. */
:is(.quant-app.quant-app,.management-shell.management-shell) select:not([multiple]):not([size]){
  min-height:42px;padding:10px 38px 10px 14px;border:1px solid var(--border,#dce1f1);border-radius:11px;
  background-color:var(--surface,#fff);color:var(--fg,#252e4d);font:inherit;font-size:14px;font-weight:500;
  appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238178b4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 13px center;box-shadow:0 2px 4px #252e4d04;cursor:pointer;
  transition:border-color .16s,box-shadow .16s,background-color .16s;
}
:is(.quant-app.quant-app,.management-shell.management-shell) select:not([multiple]):not([size]):hover:not(:disabled){border-color:#a69bdd;background-color:var(--surface-warm,#f3f5fd)}
:is(.quant-app.quant-app,.management-shell.management-shell) select:focus-visible{outline:3px solid #8b79dc40;outline-offset:2px;border-color:#8b79dc}
:is(.quant-app.quant-app,.management-shell.management-shell) select:disabled{opacity:.55;cursor:not-allowed}
:is(.quant-app,.management-shell) select option{background:var(--surface,#fff);color:var(--fg,#252e4d);font-size:14px}
@supports (appearance:base-select){
  :is(.quant-app.quant-app,.management-shell.management-shell) select:not([multiple]):not([size]),
  :is(.quant-app.quant-app,.management-shell.management-shell) select:not([multiple]):not([size])::picker(select){appearance:base-select}
  :is(.quant-app.quant-app,.management-shell.management-shell) select:not([multiple]):not([size]){background-image:none;padding-right:14px;gap:18px;align-items:center}
  :is(.quant-app.quant-app,.management-shell.management-shell) select:not([multiple]):not([size])::picker-icon{color:#8b7cc5;font-size:12px;transition:rotate .16s}
  :is(.quant-app.quant-app,.management-shell.management-shell) select:open::picker-icon{rotate:180deg}
  :is(.quant-app.quant-app,.management-shell.management-shell) select:not([multiple]):not([size])::picker(select){
    border:1px solid var(--border,#dce1f1);border-radius:14px;padding:6px;margin-top:7px;
    background:var(--surface,#fff);color:var(--fg,#252e4d);box-shadow:0 16px 48px #1e245424,0 3px 10px #1e24540d;
    max-height:min(340px,65vh);overflow-y:auto;scrollbar-width:thin;
  }
  :is(.quant-app.quant-app,.management-shell.management-shell) select option{min-height:40px;padding:10px 12px;border:0;border-radius:8px;display:flex;gap:18px;align-items:center;justify-content:space-between;flex-direction:row-reverse;line-height:1.5;cursor:pointer}
  :is(.quant-app.quant-app,.management-shell.management-shell) select option:checked{background:color-mix(in srgb,var(--primary,#7466d6) 12%,var(--surface,#fff));color:var(--primary,#6659ca);font-weight:650}
  :is(.quant-app.quant-app,.management-shell.management-shell) select option:hover,
  :is(.quant-app.quant-app,.management-shell.management-shell) select option:focus{background:var(--surface-warm,#f3f5fd);outline:0}
  :is(.quant-app.quant-app,.management-shell.management-shell) select option::checkmark{color:var(--primary,#7466d6);font-size:15px;font-weight:700}
  :is(.quant-app.quant-app,.management-shell.management-shell) select option:disabled{opacity:.5;cursor:not-allowed}
}
.quant-app.quant-app section[aria-labelledby="hgre-orders-heading"]{padding:24px;border:1px solid var(--border);border-radius:20px;box-shadow:0 10px 32px #303d7608}
.quant-app.quant-app section[aria-labelledby="hgre-orders-heading"]>.card-head{align-items:center;gap:16px;padding-bottom:20px;margin-bottom:20px;border-bottom:1px solid var(--border-soft)}
.quant-app.quant-app section[aria-labelledby="hgre-orders-heading"] .card-head h2{font-size:22px;letter-spacing:-.02em;margin:4px 0}
.quant-app.quant-app section[aria-labelledby="hgre-orders-heading"] .eyebrow{font-size:10px;font-weight:700;letter-spacing:.15em;color:var(--primary,#7466d6)}
.quant-app.quant-app section[aria-labelledby="hgre-orders-heading"] .card-head p{font-size:13px;line-height:1.6;color:var(--fg-2)}
.quant-app.quant-app section[aria-labelledby="hgre-orders-heading"]>.quant-filter{padding:16px;gap:10px;border:1px solid var(--border-soft);border-radius:14px;background:var(--surface-warm);align-items:center;margin-bottom:20px}
.quant-app.quant-app section[aria-labelledby="hgre-orders-heading"]>.quant-filter input{min-height:42px;border-radius:10px;border-color:var(--border);background:var(--surface);font-size:13px;padding:10px 12px;min-width:180px}
.quant-app.quant-app section[aria-labelledby="hgre-orders-heading"]>.quant-filter input:first-child{flex:2;min-width:230px;max-width:none}
.quant-app.quant-app section[aria-labelledby="hgre-orders-heading"]>.quant-filter select{min-width:100px;flex:0 0 auto}
.quant-app.quant-app section[aria-labelledby="hgre-orders-heading"] :is(.btn-secondary,.inline-link){border-radius:10px;font-size:13px;font-weight:600;white-space:nowrap}
.quant-app.quant-app section[aria-labelledby="hgre-orders-heading"] .btn-secondary{min-height:40px;padding:9px 15px}
.quant-app.quant-app section[aria-labelledby="hgre-orders-heading"]>.hgre-table-wrap{border:1px solid var(--border);border-radius:14px;overflow:auto;scrollbar-width:thin;scrollbar-color:#a69bd1 transparent;overscroll-behavior-x:contain}
.quant-app.quant-app section[aria-labelledby="hgre-orders-heading"]>.hgre-table-wrap>.hgre-table{width:100%;min-width:1120px;border-collapse:separate;border-spacing:0;text-align:left;font-size:13px;line-height:1.65}
.quant-app.quant-app section[aria-labelledby="hgre-orders-heading"]>.hgre-table-wrap>.hgre-table thead th{padding:13px 16px;background:var(--surface-warm);color:var(--fg-2);font-size:11px;font-weight:650;letter-spacing:.04em;white-space:nowrap;border-bottom:1px solid var(--border);position:sticky;top:0;z-index:1}
.quant-app.quant-app section[aria-labelledby="hgre-orders-heading"]>.hgre-table-wrap>.hgre-table tbody :is(td,th){padding:17px 16px;background:var(--surface);border-bottom:1px solid var(--border-soft);font-size:13px;font-weight:400;color:var(--fg);vertical-align:middle;transition:background-color .16s;font-variant-numeric:tabular-nums}
.quant-app.quant-app section[aria-labelledby="hgre-orders-heading"]>.hgre-table-wrap>.hgre-table tbody th{font-weight:700;white-space:nowrap;letter-spacing:.01em}
.quant-app.quant-app section[aria-labelledby="hgre-orders-heading"]>.hgre-table-wrap>.hgre-table tbody tr:last-child :is(td,th){border-bottom:0}
.quant-app.quant-app section[aria-labelledby="hgre-orders-heading"]>.hgre-table-wrap>.hgre-table tbody tr:hover :is(td,th){background:var(--surface-warm)}
.quant-app.quant-app section[aria-labelledby="hgre-orders-heading"]>.hgre-table-wrap>.hgre-table td:first-child{min-width:135px;color:var(--fg-2);font-size:12px}
.quant-app.quant-app section[aria-labelledby="hgre-orders-heading"]>.hgre-table-wrap>.hgre-table td:nth-child(4){min-width:190px;font-weight:600;line-height:1.8}
.quant-app.quant-app section[aria-labelledby="hgre-orders-heading"]>.hgre-table-wrap>.hgre-table td:nth-child(5){min-width:150px;font-size:12px;color:var(--fg-2)}
.quant-app.quant-app section[aria-labelledby="hgre-orders-heading"]>.hgre-table-wrap>.hgre-table td:nth-child(6){text-align:right;font-weight:600;white-space:nowrap}
.quant-app.quant-app section[aria-labelledby="hgre-orders-heading"]>.hgre-table-wrap>.hgre-table thead th:nth-child(6){text-align:right}
.quant-app.quant-app section[aria-labelledby="hgre-orders-heading"]>.hgre-table-wrap>.hgre-table td:nth-child(7){min-width:115px;font-size:12px;font-weight:600;color:var(--primary,#7466d6)}
.quant-app.quant-app section[aria-labelledby="hgre-orders-heading"]>.hgre-table-wrap>.hgre-table td:nth-child(7)::before{content:"";display:inline-block;width:6px;height:6px;margin:0 6px 2px 0;border-radius:50%;background:currentColor;vertical-align:middle}
.quant-app.quant-app section[aria-labelledby="hgre-orders-heading"]>.hgre-table-wrap>.hgre-table td:nth-child(8){min-width:140px;max-width:180px;overflow-wrap:anywhere;font-size:11px;line-height:1.6;color:var(--fg-2);font-family:ui-monospace,SFMono-Regular,Consolas,monospace}
.quant-app.quant-app section[aria-labelledby="hgre-orders-heading"]>.hgre-table-wrap>.hgre-table td:nth-child(9){white-space:nowrap;font-size:12px;color:var(--fg-2)}
.quant-app.quant-app section[aria-labelledby="hgre-orders-heading"]>.hgre-table-wrap>.hgre-table .inline-link{display:inline-flex;align-items:center;justify-content:center;min-width:52px;min-height:32px;padding:5px 10px;color:var(--primary,#7466d6);background:var(--surface-warm);border:1px solid var(--border);text-decoration:none}
.quant-app.quant-app section[aria-labelledby="hgre-orders-heading"]>.hgre-table-wrap>.hgre-table .inline-link:hover{border-color:var(--primary,#7466d6)}
.quant-app.quant-app section[aria-labelledby="hgre-orders-heading"] .empty{padding:40px 16px;text-align:center;color:var(--fg-2);font-size:13px}
.quant-app.quant-app section[aria-labelledby="hgre-orders-heading"]>.quant-pagination{gap:10px;padding-top:20px;margin-top:0;align-items:center;justify-content:flex-end;flex-wrap:wrap;font-size:12px;color:var(--fg-2)}
.quant-app.quant-app section[aria-labelledby="hgre-orders-heading"]>.quant-pagination>span:first-child{margin-right:auto}
.quant-app.quant-app section[aria-labelledby="hgre-orders-heading"]>.quant-pagination select{min-height:38px;font-size:12px;border-radius:10px}
.quant-app.quant-app section[aria-labelledby="hgre-orders-heading"]>.quant-pagination .btn-secondary{min-height:38px}
@media(max-width:700px){
  .quant-app.quant-app section[aria-labelledby="hgre-orders-heading"]{padding:16px;border-radius:16px}
  .quant-app.quant-app section[aria-labelledby="hgre-orders-heading"]>.card-head{align-items:flex-start;padding-bottom:16px;gap:12px}
  .quant-app.quant-app section[aria-labelledby="hgre-orders-heading"] .card-head h2{font-size:20px}
  .quant-app.quant-app section[aria-labelledby="hgre-orders-heading"]>.quant-filter{padding:12px;gap:8px}
  .quant-app.quant-app section[aria-labelledby="hgre-orders-heading"]>.quant-filter input:first-child{min-width:100%;flex-basis:100%}
  .quant-app.quant-app section[aria-labelledby="hgre-orders-heading"]>.quant-filter input[type="datetime-local"]{min-width:0;width:100%;flex:1 1 100%}
  .quant-app.quant-app section[aria-labelledby="hgre-orders-heading"]>.hgre-table-wrap>.hgre-table tbody :is(td,th){padding:14px 12px}
  .quant-app.quant-app section[aria-labelledby="hgre-orders-heading"]>.quant-pagination{gap:8px;justify-content:flex-start}
  .quant-app.quant-app section[aria-labelledby="hgre-orders-heading"]>.quant-pagination>span:first-child{flex-basis:100%}
}
@media(prefers-reduced-motion:reduce){
  :is(.quant-app.quant-app,.management-shell.management-shell) select,
  :is(.quant-app.quant-app,.management-shell.management-shell) select::picker-icon,
  .quant-app.quant-app section[aria-labelledby="hgre-orders-heading"] :is(td,th){transition:none}
}
