/* punti: puntea dintre două discipline. Stânga în auriu, dreapta în petrol. */
.pt-chart, .pt-sw, .pt-detail, .v-tip { --pt-a: var(--v-istorie); --pt-b: var(--v-informatica); }
.pt-bar { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4); align-items: center; }
.pt-sw { --c: var(--pt-a); background: color-mix(in srgb, var(--c) 16%, var(--surface)); border: 1px solid color-mix(in srgb, var(--c) 60%, transparent); box-shadow: inset -3px 0 0 var(--c); }
.pt-sw.b { --c: var(--pt-b); box-shadow: inset 3px 0 0 var(--c); }
.pt-sw.cls { border-style: dashed; box-shadow: none; }
.pt-lg-line { stroke: var(--muted); fill: none; stroke-linecap: round; }
.pt-opt-lg { font-weight: 600; color: var(--muted); }
.v-legend svg { flex: none; }

/* antet și puntea */
.pt-svg text { font-size: 12px; }
.pt-svg .pt-level { fill: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.pt-svg .pt-sep { stroke: var(--v-axis); stroke-width: 1; }
.pt-svg .pt-num { font-family: var(--f-display); font-size: 16px; font-weight: 600; }
.pt-svg .pt-rowsep { stroke: var(--v-grid); stroke-width: 1; }
.pt-svg .pt-none { fill: var(--muted); }
.pt-pill rect { fill: var(--accent-soft); }
.pt-svg .pt-pill text { fill: var(--accent-strong); font-weight: 600; }
.pt-deck { fill: var(--surface-2); }
.pt-svg .pt-band { font-weight: 600; font-size: 13px; letter-spacing: .02em; }
.pt-svg .pt-band.a { fill: var(--pt-a); }
.pt-svg .pt-band.b { fill: var(--pt-b); }
.pt-svg .pt-prof { fill: var(--muted); font-style: italic; }

/* casetele unităților */
.pt-box { --c: var(--pt-a); transition: opacity .15s; }
.pt-box.b { --c: var(--pt-b); }
.pt-box .bg { fill: color-mix(in srgb, var(--c) 13%, var(--surface)); stroke: color-mix(in srgb, var(--c) 50%, transparent); stroke-width: 1; }
.pt-box .stripe { fill: var(--c); }
.pt-box.cls .bg { stroke-dasharray: 3 2; fill: color-mix(in srgb, var(--c) 7%, var(--surface)); }
.pt-box.faint .bg { fill: color-mix(in srgb, var(--c) 4%, var(--surface)); stroke: var(--line); }
.pt-svg .pt-box.faint text { fill: var(--muted); }
.pt-svg .pt-box .pt-opt { fill: var(--muted); font-weight: 600; }
.pt-box.linked { cursor: pointer; }
.pt-box.on .bg, .pt-box.sel .bg { stroke: var(--c); stroke-width: 1.5; }
.pt-dim .pt-box:not(.on) { opacity: .4; }

/* liniile */
.pt-curve { cursor: pointer; }
.pt-curve .vis { fill: none; stroke-linecap: round; stroke-linejoin: round; opacity: .55; transition: opacity .15s; stroke-dasharray: 5 3; }
.pt-curve.explicit .vis { stroke-dasharray: none; }
.pt-curve .ring { fill: none; stroke: var(--accent); opacity: 0; stroke-linecap: round; stroke-linejoin: round; }
.pt-curve .hit { fill: none; stroke: transparent; stroke-width: 9; pointer-events: stroke; }
.pt-curve .dot { opacity: .8; transition: opacity .15s; }
.pt-curve .dot.a { fill: var(--pt-a); }
.pt-curve .dot.b { fill: var(--pt-b); }
.pt-curve.on .vis, .pt-curve.sel .vis { opacity: 1; }
.pt-dim .pt-curve:not(.on) .vis { opacity: .1; }
.pt-dim .pt-curve:not(.on) .dot { opacity: .15; }
.v-chart svg.pt-svg [tabindex]:focus-visible { outline: none; }
.pt-curve:focus-visible .ring { opacity: .45; }
.pt-box:focus-visible .bg { stroke: var(--accent); stroke-width: 2.5; }

/* tooltip și panoul de detalii */
.v-tip .pt-tl { margin-top: 4px; }
.v-tip .pt-tl + .pt-tl { border-top: 1px solid var(--line); padding-top: 4px; }
.pt-ta { color: var(--pt-a); font-weight: 600; }
.pt-tb { color: var(--pt-b); font-weight: 600; }
.pt-detail { gap: var(--s-3); }
.pt-dhead { display: flex; gap: var(--s-3); align-items: flex-start; justify-content: space-between; }
.pt-dhead .btn { flex: none; }
.pt-dtitle { font-size: var(--t-m); line-height: 1.35; }
