#app-frame:has(#workspace-main[data-active-nav="dashboard"]) #workspace-header {
  position: relative;
  top: auto;
  height: 0;
  min-height: 0;
  padding: 0;
  overflow: visible;
  background: transparent;
  pointer-events: none;
  z-index: 30;
}
#app-frame:has(#workspace-main[data-active-nav="dashboard"]) #workspace-header > button,
#app-frame:has(#workspace-main[data-active-nav="dashboard"]) #workspace-header .ms-auto { pointer-events: auto; }
#app-frame:has(#workspace-main[data-active-nav="dashboard"]) #workspace-header .ms-auto {
  position: absolute;
  top: 33px;
  inset-inline-end: max(32px, calc(100% - 1320px + 32px));
}
#app-frame:has(#workspace-main[data-active-nav="dashboard"]) #workspace-scroll { background: #F6F8FA; }
html.dark #app-frame:has(#workspace-main[data-active-nav="dashboard"]) #workspace-scroll { background: #0B0E14; }

.qd { line-height: 1.2; }
.qd a { color: inherit; text-decoration: none; }
.qd a:hover { color: inherit; }
.qd .ic { width: 16px; height: 16px; stroke-width: 1.75; }
.qd .content { padding: 20px 32px 64px; max-width: 1320px; width: 100%; background: var(--bg); }
.qd .ph { display: flex; align-items: center; margin: 12px 0 48px; min-height: 56px; padding-inline-end: 280px; }
.qd .ph h1 { font-size: 30px; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; color: var(--text); }
.qd .ph p { color: var(--text-3); margin-top: 6px; font-size: 14px; }
.qd .kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 60px; margin-bottom: 40px; }
.qd .kpi { min-width: 0; display: flex; flex-direction: column; color: inherit; text-decoration: none; padding: 0; background: none; border: 0; }
.qd .kpi:hover { color: inherit; }
.qd .k { position: relative; display: flex; align-items: center; gap: 8px; width: 100%; font-size: 13.5px; font-weight: 500; color: var(--text-2); letter-spacing: .01em; }
.qd .k .ic { width: 16px; height: 16px; color: var(--accent); stroke-width: 2.1; }
.qd .v { margin-top: 12px; font-size: clamp(22px, 2.1vw, 30px); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; color: var(--text); }
.qd .v small { font-size: 15px; font-weight: 500; color: var(--text-3); margin-inline-start: 4px; }
.qd .d { margin-top: 6px; color: var(--text-4); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qd .viz { height: 44px; margin-top: 16px; display: flex; flex-direction: column; justify-content: flex-end; gap: 7px; }
.qd .viz .lg { display: flex; justify-content: space-between; gap: 8px; font-size: 11.5px; color: var(--text-4); }
.qd .viz .lg span { display: inline-flex; align-items: center; gap: 5px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qd .viz .lg b { width: 7px; height: 7px; border-radius: 2px; flex: none; }
.qd .viz .lg b.mark { width: 2px; height: 10px; background: var(--text-3); }
.qd .stack { display: flex; height: 8px; border-radius: 99px; overflow: hidden; gap: 2px; background: var(--surface-2); }
.qd .stack i { display: block; height: 100%; }
.qd .spark { display: flex; align-items: flex-end; justify-content: space-between; gap: 4px; height: 26px; }
.qd .spark i { flex: 1; max-width: 22px; border-radius: 3px 3px 1px 1px; background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 34%, transparent), color-mix(in srgb, var(--c-sent) 22%, transparent)); }
.qd .spark i:last-child { background: linear-gradient(180deg, var(--accent), var(--c-sent)); }
.qd .rate { position: relative; height: 8px; border-radius: 99px; background: var(--surface-2); }
.qd .rate i { position: absolute; inset-block: 0; inset-inline-start: 0; border-radius: 99px; background: var(--accent); }
.qd .rate s { position: absolute; top: -4px; bottom: -4px; width: 2px; border-radius: 1px; background: var(--text-3); text-decoration: none; transform: translateX(50%); }
.qd .days { display: flex; gap: 4px; }
.qd .dy { flex: 1; display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.qd .dy i { display: block; height: 8px; border-radius: 3px; background: var(--surface-2); }
.qd .dy.in i { background: color-mix(in srgb, var(--accent) 30%, transparent); }
.qd .dy.sig i { background: var(--accent); }
.qd .dy.late i { background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--warn) 45%, transparent) 0 2px, transparent 2px 5px), var(--surface-2); }
.qd .dy em { font-style: normal; font-size: 11.5px; line-height: 13px; height: 13px; color: var(--text-4); text-align: center; white-space: nowrap; }
.qd .dy.sig em { color: var(--text); font-weight: 600; }
.qd .foot { padding-top: 16px; margin-top: 16px; border-top: 1px solid var(--border); display: flex; align-items: center; }
.qd .chip { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; height: 24px; padding: 0 9px; border-radius: 99px; font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qd .chip .ic { width: 13px; height: 13px; }
.qd .chip.hot { color: var(--hot); background: var(--hot-bg); }
.qd .chip.ok { color: var(--ok); background: var(--ok-bg); }
.qd .chip.warn { color: var(--warn); background: var(--warn-bg); }
.qd .chip.mut { color: var(--text-3); background: var(--surface-2); }
.qd .kpis.is-empty .viz,
.qd .kpis.is-empty .foot { visibility: hidden; }
.qd .inf { position: relative; }
.qd .ktag { margin-inline-start: auto; font-size: 11.5px; font-weight: 500; color: var(--text-4); border: 1px solid var(--border); border-radius: 99px; padding: 0 8px; line-height: 20px; white-space: nowrap; cursor: help; transition: color .15s, border-color .15s; }
.qd .ktag:hover, .qd .ktag:focus-visible { color: var(--text-2); border-color: var(--border-strong); outline: none; }
.qd .ktag::after, .qd .inf::after {
  content: attr(data-tip);
  position: absolute;
  width: 230px;
  white-space: normal;
  text-align: start;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 9px 11px;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 400;
  color: var(--text-3);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
  opacity: 0;
  pointer-events: none;
  z-index: 9;
}
.qd .ktag::after { top: calc(100% + 8px); inset-inline: 0; width: auto; }
.qd .inf::after { bottom: calc(100% + 8px); inset-inline-start: 0; }
.qd .ktag:hover::after, .qd .ktag:focus-visible::after,
.qd .inf:hover::after, .qd .inf:focus-visible::after { opacity: 1; }
.qd .inf { display: inline-grid; place-items: center; color: var(--text-4); margin-inline-start: 6px; }
.qd .inf .ic { width: 14px; height: 14px; }
.qd .sh2 { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.qd .sh2 h2, .qd .ov .sh2 h2 { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 700; letter-spacing: -.01em; color: var(--text); }
.qd .cnt { font-size: 12px; font-weight: 600; color: var(--accent); background: var(--accent-soft); border-radius: 99px; padding: 0 8px; line-height: 20px; }
.qd .meta { font-size: 13px; color: var(--text-4); }
.qd .empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 48px 24px; border: 1px dashed var(--border-strong); border-radius: 16px; margin-bottom: 48px; background: color-mix(in srgb, var(--surface) 50%, transparent); }
.qd .empty.sm { padding: 36px 24px; margin-bottom: 0; }
.qd .empty h3 { font-size: 16px; font-weight: 700; color: var(--text); }
.qd .empty p { font-size: 13.5px; color: var(--text-4); max-width: 420px; line-height: 1.55; }
.qd .em-i { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 6px; }
.qd .em-i .ic { width: 20px; height: 20px; }
.qd .em-a { display: flex; gap: 8px; margin-top: 10px; }
.qd .btn { height: 38px; padding: 0 14px; border-radius: 9px; border: 1px solid var(--border-strong); display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; background: var(--surface); color: var(--text-2); }
.qd a.btn:hover { background: var(--surface-2); color: var(--text); }
.qd a.btn.pr { background: var(--accent); border-color: transparent; color: #fff; }
.qd a.btn.pr:hover { background: var(--accent-hover); color: #fff; }
.qd .btn .ic { width: 14px; height: 14px; }
.qd .focus { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin-bottom: 48px; }
.qd .hero2 {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 28px 24px;
  border-radius: 16px;
  color: inherit;
  background: radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--hot) 13%, transparent), transparent 60%), var(--surface);
  border: 1px solid color-mix(in srgb, var(--hot) 22%, var(--border));
}
.qd .hero2:hover { color: inherit; border-color: color-mix(in srgb, var(--hot) 40%, var(--border)); }
.qd .h2-top, .qd .h2-tl-h, .qd .h2-axis { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.qd .h2-eb { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; color: var(--hot); letter-spacing: .02em; }
.qd .h2-eb .ic { width: 15px; height: 15px; }
.qd .h2-go { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: var(--text-4); }
html.dark .qd a.btn.pr { background: #8F86F7; color: #0B0E14; }
html.dark .qd a.btn.pr:hover { background: #9d96f8; color: #0B0E14; }
.qd .h2-go .ic { width: 15px; height: 15px; transition: transform .15s; }
.qd .hero2:hover .h2-go .ic { transform: translateX(-3px); }
.qd .hero2:hover .h2-go { color: var(--text); }
.qd .h2-ti { font-size: 22px; font-weight: 700; letter-spacing: -.015em; margin-top: 22px; line-height: 1.2; color: var(--text); }
.qd .h2-cl { font-size: 14px; color: var(--text-4); margin-top: 4px; }
.qd .h2-amt { align-self: flex-start; font-size: 34px; font-weight: 700; letter-spacing: -.025em; margin-top: 18px; line-height: 1; color: var(--text); }
.qd .h2-tl { margin-top: auto; padding-top: 28px; }
.qd .h2-tl-h { font-size: 13px; color: var(--text-3); margin-bottom: 14px; }
.qd .h2-tl-h b, .qd .h2-live { color: var(--text); font-weight: 600; }
.qd .h2-live { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--hot); }
.qd .h2-live i { width: 7px; height: 7px; border-radius: 99px; background: var(--hot); box-shadow: 0 0 0 0 var(--hot); animation: quto-hot-pulse 2s infinite; }
@keyframes quto-hot-pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--hot) 55%, transparent); } 70% { box-shadow: 0 0 0 7px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.qd .h2-track { position: relative; height: 2px; background: var(--border-strong); border-radius: 2px; }
.qd .h2-track i { position: absolute; top: 50%; width: 9px; height: 9px; border-radius: 99px; background: var(--surface); border: 2px solid var(--hot); transform: translate(50%, -50%); }
html[dir="ltr"] .qd .h2-track i { transform: translate(-50%, -50%); }
.qd .h2-track i.now { background: var(--hot); }
.qd .h2-axis { font-size: 11.5px; color: var(--text-4); margin-top: 10px; }
.qd .flist { border: 1px solid var(--border); border-radius: 16px; background: var(--surface); display: flex; flex-direction: column; overflow: hidden; }
.qd .fl-h { font-size: 12.5px; font-weight: 500; color: var(--text-4); padding: 18px 22px 8px; }
.qd .fr { flex: 1; display: flex; align-items: center; gap: 16px; padding: 14px 22px; color: inherit; position: relative; }
.qd .fr + .fr::before { content: ""; position: absolute; top: 0; inset-inline: 22px; height: 1px; background: var(--border); }
.qd .fr:hover { background: color-mix(in srgb, var(--surface-2) 70%, transparent); color: inherit; }
.qd .fr-m { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.qd .fr-t { font-size: 14.5px; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qd .fr-t em { font-style: normal; font-weight: 400; color: var(--text-4); margin-inline-start: 8px; font-size: 13.5px; }
.qd .fr-w { font-size: 13px; color: var(--text-4); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qd .fr-w b { font-weight: 600; margin-inline-end: 6px; }
.qd .fr.hot .fr-w b { color: var(--hot); }
.qd .fr.view .fr-w b { color: var(--accent); }
.qd .fr.mut .fr-w b { color: var(--text-3); }
.qd .fr-w b::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 99px; background: currentColor; margin-inline-end: 7px; vertical-align: 1px; }
.qd .fr-a { font-size: 15px; font-weight: 700; color: var(--text); }
.qd .ov { margin-top: 8px; }
.qd .seg { display: flex; gap: 2px; background: var(--surface); border: 1px solid var(--border); border-radius: 9px; padding: 3px; }
.qd .seg-btn { height: 28px; padding: 0 12px; border-radius: 6px; color: var(--text-3); font-size: 13px; font-weight: 500; display: inline-flex; align-items: center; }
.qd a.seg-btn:hover { color: var(--text); }
.qd a.seg-btn.on { background: #F4F7FA; color: var(--text); font-weight: 600; }
html.dark .qd a.seg-btn.on { background: #1B2230; }
.qd .ov-g { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 14px; align-items: stretch; }
.qd .ov-g2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.qd .panel { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow); display: flex; flex-direction: column; min-width: 0; overflow: hidden; }
html.dark .qd .panel { box-shadow: none; }
.qd .lc { padding-bottom: 18px; }
.qd .lc-h, .qd .ph2 { padding: 20px 22px 0; }
.qd .k2 { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--text-2); }
.qd .k2 .ic { width: 15px; height: 15px; }
.qd .big { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.qd .big .num { font-size: 28px; font-weight: 700; letter-spacing: -.02em; color: var(--text); }
.qd .cmpx { font-size: 13px; color: var(--text-4); margin-top: 4px; }
.qd .plot { position: relative; height: 190px; margin: 24px 22px 0 76px; }
.qd .plot svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.qd .lcur { fill: none; stroke: var(--lc, var(--accent)); stroke-width: 2.25; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.qd .lcur.pend { stroke-dasharray: 3 4; }
.qd .lp { fill: none; stroke: var(--text-3); stroke-opacity: .55; stroke-width: 1.5; stroke-dasharray: 4 4; vector-effect: non-scaling-stroke; }
.qd .pd { position: absolute; width: 6px; height: 6px; border-radius: 99px; background: var(--lc, var(--accent)); transform: translate(-50%, -50%); z-index: 1; }
.qd .gl { position: absolute; inset-inline: 0; border-top: 1px solid var(--border); }
.qd .gl span { position: absolute; left: -70px; top: -8px; width: 58px; text-align: left; font-size: 11px; color: var(--text-4); }
.qd .dot { position: absolute; width: 10px; height: 10px; border-radius: 99px; background: var(--lc, var(--accent)); border: 2px solid var(--surface); box-shadow: 0 0 0 3px color-mix(in srgb, var(--lc, var(--accent)) 30%, transparent); transform: translate(-50%, -50%); z-index: 2; }
.qd .dot.hollow { background: var(--surface); border-color: var(--lc, var(--accent)); }
.qd .xax2 { position: relative; height: 16px; margin: 10px 22px 0 76px; font-size: 11.5px; color: var(--text-4); }
.qd .xax2 span { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; }
.qd .xax2 span:last-child { color: var(--text); font-weight: 600; }
.qd .lg2 { display: flex; gap: 18px; margin: 14px 22px 0; font-size: 12px; color: var(--text-4); }
.qd .lg2 span { display: inline-flex; align-items: center; gap: 7px; }
.qd .lg2 b { width: 16px; height: 0; border-top: 2.25px solid var(--lc, var(--accent)); }
.qd .lg2 b.p { border-top: 1.5px dashed var(--text-3); }
.qd .xh { position: absolute; top: 0; bottom: 0; width: 0; border-inline-start: 1px solid var(--border-strong); opacity: 0; pointer-events: none; z-index: 3; }
.qd .xh > i { position: absolute; inset-inline-start: -5px; width: 10px; height: 10px; border-radius: 99px; background: var(--lc, var(--accent)); border: 2px solid var(--surface); transform: translateY(-50%); }
.qd .tt2 { position: absolute; bottom: calc(100% + 8px); inset-inline-start: 0; background: var(--surface-2); border: 1px solid var(--border-strong); border-radius: 10px; padding: 8px 11px; white-space: nowrap; font-size: 12px; color: var(--text-3); box-shadow: 0 10px 24px rgba(0, 0, 0, .18); display: flex; flex-direction: column; gap: 3px; }
.qd .tt2 b { font-size: 12px; color: var(--text-4); font-weight: 500; }
.qd .tt2 .r { display: flex; align-items: center; gap: 7px; }
.qd .tt2 em { font-style: normal; font-weight: 700; color: var(--text); }
.qd .tt2 .sw { width: 10px; border-top: 2px solid var(--accent); }
.qd .tt2 .sw.p { border-top: 1.5px dashed var(--text-3); }
.qd .plot:hover .xh { opacity: 1; }
.qd .steps4 { list-style: none; margin: 0; padding: 8px 22px 20px; display: flex; flex-direction: column; justify-content: center; gap: 4px; flex: 1; }
.qd .steps4 li { display: grid; grid-template-columns: 72px minmax(0, 1fr) 40px; align-items: center; gap: 14px; padding-top: 30px; }
.qd .sn { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-2); }
.qd .sn i { width: 8px; height: 8px; border-radius: 2px; background: var(--c); }
.qd .bw { position: relative; }
.qd .co { position: absolute; bottom: calc(100% + 8px); right: var(--w); left: auto; transform: translateX(50%); font-size: 12px; font-weight: 700; line-height: 20px; padding: 0 7px; border-radius: 6px; color: var(--c); background: color-mix(in srgb, var(--c) 14%, var(--surface)); white-space: nowrap; }
.qd .co.edge { right: auto; left: 0; transform: none; }
.qd .trk { height: 8px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.qd .trk i { display: block; height: 100%; border-radius: inherit; }
.qd .sv { font-size: 17px; font-weight: 700; color: var(--text); text-align: end; }
.qd .leaks { margin-top: auto; border-top: 1px solid var(--border); }
.qd .lk { display: flex; align-items: center; gap: 12px; padding: 13px 22px; color: inherit; }
.qd .lk + .lk { border-top: 1px solid var(--border); }
.qd .lk:hover { background: var(--surface-2); color: inherit; }
.qd .ld { width: 8px; height: 8px; border-radius: 2px; flex: none; }
.qd .lt { flex: 1; min-width: 0; }
.qd .lt b { font-size: 13.5px; font-weight: 600; color: var(--text); }
.qd .bigdrop { font-style: normal; font-size: 11px; font-weight: 600; color: var(--warn); background: var(--warn-bg); border-radius: 99px; padding: 0 7px; line-height: 18px; margin-inline-start: 6px; }
.qd .la2 { display: inline-flex; align-items: center; gap: 2px; font-size: 13px; font-weight: 600; color: var(--accent); }
.qd .la2 .ic { width: 14px; height: 14px; }
@media (max-width: 1100px) {
  .qd .kpis { gap: 28px; }
  .qd .ph { padding-inline-end: 0; margin-top: 56px; }
  .qd .focus, .qd .ov-g, .qd .ov-g2 { grid-template-columns: 1fr; }
  #app-frame:has(#workspace-main[data-active-nav="dashboard"]) #workspace-header .ms-auto { top: 12px; }
}
@media (max-width: 820px) {
  .qd .content { padding: 16px; }
  .qd .kpis { grid-template-columns: 1fr 1fr; gap: 28px 24px; }
  .qd .ph h1 { font-size: 24px; }
  .qd .plot { margin-left: 56px; height: 160px; }
  .qd .xax2 { margin-left: 56px; }
}
@media (max-width: 560px) {
  .qd .kpis { grid-template-columns: 1fr; }
}
