.db-links{display:flex;flex-wrap:wrap;gap:20px;font-size:12px;margin:24px 0}.db-links a{text-decoration:underline;text-underline-offset:4px}.db-links button{padding:0;border:0;font-size:12px;text-decoration:underline;text-underline-offset:4px}.db-reading{margin-bottom:24px;max-width:960px}.db-reading p{font-size:13px;color:var(--mut)}.db-filters{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;padding:20px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.db-filters label{font-size:11px;color:var(--mut);display:flex;flex-direction:column;gap:6px;min-width:0}.db-filters .db-search{grid-column:span 2}.db-filters input,.db-filters select{width:100%;min-width:0;background:var(--panel);border:1px solid var(--line);border-radius:4px;padding:10px 9px;font-size:12px;color:var(--ink)}.db-meta{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:var(--mut);margin:18px 0}.db-meta button{border:0;padding:5px 0;font-size:12px}.db-legends{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap;font-size:11px;color:var(--mut)}.db-legends>div{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.db-legends span{display:inline-flex;align-items:center;gap:4px}.db-legends svg,.db-badges svg,.db-record svg{width:19px;height:19px;fill:currentColor;flex-shrink:0}.db-color-key i{display:block;width:100px;height:7px;border-radius:6px;background:linear-gradient(90deg,hsl(220 68% 43%),hsl(125 68% 43%),hsl(30 68% 43%))}[data-theme=dark] .db-color-key i{background:linear-gradient(90deg,hsl(220 68% 65%),hsl(125 68% 65%),hsl(30 68% 65%))}.db-plot-note{font-size:11px;color:var(--mut);margin:12px 0 24px}.db-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:27px;align-items:start}#db-plots{min-width:0}.db-chart-grid{display:grid;grid-template-columns:1fr;gap:18px}.db-chart{border:1px solid var(--line);border-radius:5px;overflow:hidden;background:var(--panel)}.db-chart-head{display:flex;justify-content:space-between;align-items:center;padding:16px 20px 0;gap:12px}.db-chart h2{font-size:16px}.db-chart-head>span{font-size:11px;color:var(--mut)}.db-chart>svg{display:block;width:100%;height:auto;max-height:440px}.db-grid{stroke:var(--line);stroke-width:1;stroke-dasharray:3 5}.db-axis{stroke:var(--line);fill:none}.db-tick{fill:var(--mut);font:11px ui-monospace,monospace}.db-point{cursor:pointer;outline:none}.db-hit{fill:transparent;stroke:transparent}#db-detail{position:sticky;top:24px;padding:17px 0;min-width:0}#db-detail h2{font-size:24px}#db-detail>p{font-size:13px;color:var(--mut)}#db-detail h2:focus{outline:none}.db-badges{display:flex;flex-wrap:wrap;gap:8px;margin:17px 0;font-size:11px;color:var(--mut)}.db-badges>span{display:inline-flex;align-items:center;gap:5px}.db-facts{margin:22px 0;font-size:12px}.db-facts>div{border-top:1px solid var(--line);padding:10px 0;display:grid;grid-template-columns:95px 1fr;gap:8px}.db-facts dt{color:var(--mut)}.db-facts dd{margin:0;overflow-wrap:anywhere}.db-facts small{display:block;font-size:11px;color:var(--mut);margin-top:5px}.db-scope{font-size:11px!important}.db-layout details{font-size:12px}.db-layout details p{font-size:12px;color:var(--mut)}.db-sources a{display:block;margin:16px 0;font-size:12px;text-decoration:underline;text-underline-offset:3px}.db-sources small{display:block;color:var(--mut);font-size:11px;margin-top:5px}.db-related button{display:block;width:100%;text-align:left;border:0;border-bottom:1px solid var(--line);padding:12px 0;font-size:12px}.db-related small{display:block;font-size:11px;color:var(--mut);margin-top:5px}.db-detail-links{display:flex;flex-direction:column;gap:12px;margin-top:20px;font-size:12px}.db-detail-links button{font-size:12px}.db-detail-links>a{text-decoration:underline;text-underline-offset:3px}.db-records{margin-top:40px}#db-record-list{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.db-record{display:flex;flex-direction:column;gap:12px;text-align:left;padding:18px;background:var(--panel);font-size:12px;line-height:1.5}.db-record strong{display:flex;align-items:flex-start;gap:7px;font-size:14px;font-weight:500}.db-record>span{font-size:11px;color:var(--mut)}.db-record.selected{border-color:var(--ink)}.db-tooltip{position:fixed;z-index:60;width:min(325px,calc(100vw - 24px));padding:15px 17px;background:var(--panel);border:1px solid var(--line);border-radius:4px;box-shadow:0 8px 28px #0002;font-size:12px;pointer-events:none}.db-tooltip span{display:block;color:var(--mut);font-size:11px;margin-bottom:8px}.db-tooltip strong{display:block;font-size:13px;font-weight:550}.db-tooltip p{font-size:12px;color:var(--mut);margin-bottom:0}
@media(min-width:1600px){.db-chart-grid:not(.single){grid-template-columns:1fr 1fr}}
@media(max-width:1100px){.db-layout{grid-template-columns:minmax(0,1fr) 260px;gap:22px}.db-filters{grid-template-columns:repeat(3,1fr)}.db-filters .db-search{grid-column:auto}#db-record-list{grid-template-columns:1fr 1fr}}
@media(max-width:899px){.db-layout{display:block}#db-detail{position:static;border-top:1px solid var(--line);margin-top:22px;padding-top:25px}.db-filters{grid-template-columns:1fr 1fr}.db-filters .db-search{grid-column:1/-1}.db-legends{align-items:flex-start}.db-chart-head{padding:14px 15px 0}.db-facts>div{grid-template-columns:110px 1fr}.db-chart>svg{min-height:240px}.db-chart .db-tick{font-size:12px}#db-record-list{grid-template-columns:1fr}.db-plot-note{font-size:11px}}

.db-cost-note{font-size:12px;color:var(--mut);border-left:2px solid var(--line);padding-left:12px;margin:15px 0}.db-axis-label{font-size:10px}
/* Result charts: stable category colors, compact symbols and quieter framing. */
.db-filters{grid-template-columns:minmax(180px,1.2fr) repeat(3,minmax(0,1fr));gap:14px;padding:16px 0;border-bottom:0}
.db-filters .db-search{grid-column:auto}
.db-more-filters{border-bottom:1px solid var(--line);padding:0 0 13px;margin-bottom:0}
.db-more-filters>summary{width:fit-content;font-size:11px;color:var(--mut);padding:3px 0}
#db-extra-count:empty{display:none}
#db-extra-count{display:inline-flex;align-items:center;justify-content:center;min-width:17px;height:17px;margin-inline-start:5px;border-radius:20px;background:var(--soft);color:var(--ink);font-size:10px}
.db-filters.secondary{grid-template-columns:repeat(3,minmax(0,1fr));border:0;padding-bottom:0}
.db-meta{margin:18px 0 15px;gap:14px}
.db-legends{gap:14px 22px;padding:14px 16px;background:var(--panel);border:1px solid var(--line);border-radius:8px}
.db-legends>div{gap:16px}
.db-legends .db-approach-key{gap:20px}
.db-approach-key span{gap:5px;color:var(--ink)}
.db-approach-key svg{fill:var(--approach-color);width:18px;height:18px}
.db-color-control{display:flex;align-items:center;gap:9px;margin-inline-start:auto;white-space:nowrap}
.db-color-control select{border:1px solid var(--line);border-radius:5px;padding:6px 9px;background:var(--panel);color:var(--ink);font:inherit}
.db-legends .db-evidence-key{font-size:10px;color:var(--mut);gap:15px}
.db-evidence-key span{gap:6px}
.db-evidence-key i{width:7px;height:7px;border-radius:50%;border:1.25px solid var(--mut);display:inline-block}
.db-evidence-key .db-solid{background:var(--mut)}
.db-evidence-key .db-outline{background:var(--panel)}
.db-color-key[hidden]{display:none}
.db-color-key i{width:90px;height:6px;border-radius:2px}
.db-plot-note{margin:12px 0 19px;line-height:1.6}
.db-layout{grid-template-columns:minmax(0,1fr) 278px;gap:26px}
.db-chart-grid{gap:18px}
.db-chart{border-radius:8px}
.db-chart-head{padding:16px 17px 0;align-items:baseline}
.db-chart h2{font-size:14px;font-weight:550;margin:0;line-height:1.4}
.db-chart h2 small{display:inline-block;margin-inline-start:9px;font-size:10px;font-weight:400;color:var(--mut)}
.db-chart-head>span{font-size:10px}
.db-chart>svg{width:100%;max-height:none;min-height:0;overflow:visible}
.db-grid{stroke:var(--line);stroke-dasharray:none;stroke-opacity:.7}
.db-x-grid{stroke:var(--line);stroke-opacity:.35;stroke-dasharray:2 5}
.db-tick{font:11px ui-monospace,SFMono-Regular,monospace;fill:var(--mut)}
.db-axis-label{font:11px system-ui}
.db-point>path,.db-point>circle:not(.db-hit){vector-effect:non-scaling-stroke}
.db-point .db-symbol{fill:var(--point-fill);stroke:var(--point);stroke-width:1.4;paint-order:stroke fill}
.db-point.selected .db-symbol,.db-point:focus-visible .db-symbol{stroke:var(--point);stroke-width:1.4}
.db-point .db-selection-ring{fill:none;stroke:var(--ink);stroke-width:1;opacity:0;pointer-events:none}
.db-point.selected .db-selection-ring,.db-point:focus-visible .db-selection-ring{opacity:.75;stroke-width:1}
.db-point .db-coordinate-guide{fill:none;stroke:var(--mut);stroke-width:.8;stroke-dasharray:2 4;opacity:0;pointer-events:none}
.db-point.selected .db-coordinate-guide,.db-point.hovered .db-coordinate-guide,.db-point:focus-visible .db-coordinate-guide{opacity:.32;stroke-width:.8}
.db-point .db-leader{fill:none;stroke:var(--point);stroke-opacity:.4;stroke-width:.8;pointer-events:none}
.db-point.selected .db-leader,.db-point:focus-visible .db-leader{stroke:var(--point);stroke-width:.8}
.db-point .db-origin{fill:var(--point);stroke:none;opacity:.5;pointer-events:none}
.db-point.selected .db-origin,.db-point:focus-visible .db-origin{stroke:none;stroke-width:0}
.db-point.hovered .db-symbol{filter:drop-shadow(0 0 2px color-mix(in srgb,var(--point),transparent 65%))}
.db-hit{pointer-events:none}
.db-point:focus-visible .db-hit{stroke:none}
#db-detail{border-inline-start:1px solid var(--line);padding:0 0 0 22px}
#db-detail h2{font-size:21px;line-height:1.3}
.db-detail-empty{padding:15px 0;color:var(--mut)}
.db-detail-empty h2{font-size:18px!important;color:var(--ink);margin-top:15px}
.db-detail-empty p{font-size:12px;line-height:1.7}
.db-tooltip{border-radius:8px;padding:13px 15px;width:min(300px,calc(100vw - 24px));box-shadow:0 8px 30px #00000018}
.db-tooltip>span{font:10px ui-monospace,monospace;margin-bottom:8px}
.db-tooltip>strong{font-size:12px;line-height:1.5;font-weight:550}
.db-tooltip dl{margin:10px 0;padding-top:9px;border-top:1px solid var(--line);font-size:11px}
.db-tooltip dl>div{display:flex;justify-content:space-between;gap:12px;margin:4px 0}
.db-tooltip dt,.db-tooltip>small{color:var(--mut);font-size:10px}
.db-tooltip dd{margin:0;font-variant-numeric:tabular-nums;color:var(--ink)}
.db-tooltip>small{display:block}
.db-detail-dialog{width:min(620px,calc(100vw - 20px));max-height:88dvh;box-sizing:border-box;margin:auto auto 0;padding:16px 20px 28px;border:1px solid var(--line);border-bottom:0;border-radius:14px 14px 0 0;background:var(--panel);color:var(--ink);overscroll-behavior:contain}
.db-detail-dialog::backdrop{background:#0006}
.db-detail-dialog form{position:sticky;top:-16px;background:var(--panel);z-index:1;margin:0 -4px 10px;display:flex;justify-content:flex-end;padding:5px 0}
.db-detail-dialog form button{font-size:12px;min-height:36px;padding:5px 12px}
.db-detail-dialog #db-detail{border:0;padding:0;margin:0;position:static}
@media(min-width:1320px){.db-chart-grid:not(.single){grid-template-columns:1fr 1fr}}
@media(max-width:1319px){.db-chart-grid{grid-template-columns:1fr}}
@media(max-width:1100px){.db-layout{grid-template-columns:minmax(0,1fr) 248px;gap:20px}.db-filters{grid-template-columns:1fr 1fr}.db-filters .db-search{grid-column:auto}.db-evidence-key{width:100%}}
@media(max-width:899px){.db-layout{display:block}.db-layout>#db-detail{display:none}.db-chart .db-tick{font-size:11px}.db-chart .db-axis-label{font-size:11px}.db-color-control{margin-inline-start:0}.db-legends{padding:12px;gap:13px 18px}.db-legends .db-approach-key{gap:12px}.db-filters.secondary{grid-template-columns:1fr 1fr}.db-chart-head{padding:14px 14px 0}.db-meta{font-size:11px}.db-color-control{font-size:11px}}
@media(max-width:420px){.db-filters{gap:12px 9px}.db-filters .db-search{grid-column:1/-1}.db-filters>label:last-child{grid-column:1/-1}.db-filters.secondary{grid-template-columns:1fr}.db-chart-head>span{font-size:9px}.db-chart h2 small{font-size:9px;margin-inline-start:6px}.db-legends .db-approach-key{gap:8px;font-size:10px}.db-approach-key svg{width:16px;height:16px}.db-plot-note{font-size:10px}}
html[dir=rtl] #db-detail{padding-inline:22px 0}
html[dir=rtl] .db-detail-dialog #db-detail{padding:0}

.db-point{-webkit-tap-highlight-color:transparent}
html.db-modal-open{overflow:hidden}

.db-touch-hint{display:none}
@media(max-width:899px){.db-touch-hint{display:block;color:var(--ink);font-weight:500;margin-bottom:4px}}
