/* Panelcontainer der Graph-Ansicht. Kopfzeile und Filter stehen im gemeinsamen Kopfcontainer; hier bleibt nur der Inhalt. */ .finding-paths { display: grid; grid-template-rows: minmax(0, 1fr); width: 100%; height: 100%; min-width: 0; min-height: 0; padding: var(--panel-inset); color: var(--text); background: var(--bg); overflow-x: hidden; overflow-y: auto; } /* Steht im gemeinsamen Kopfcontainer der Shell. */ .finding-path-controls { display: flex; align-items: end; gap: 10px; min-width: 0; height: 100%; padding: 8px 0 0; background: transparent; overflow-x: auto; } .finding-path-title { display: grid; align-self: stretch; align-content: center; min-width: 240px; margin-right: auto; } .finding-path-title span { color: var(--heading); font-size: var(--ui-heading-size); font-weight: 800; } .finding-path-title strong { color: var(--muted); font-size: var(--ui-control-size); font-weight: 650; } .finding-path-controls label { display: grid; gap: 6px; min-width: 180px; color: var(--muted); font-size: var(--ui-value-size); font-weight: 750; letter-spacing: .045em; text-transform: uppercase; } /* Dieselben Masse wie die Filter im Command Band von Work: dort sind Controls `--control-height` hoch und tragen `--ui-control-size`. Mit 40 px und `--ui-body-size` waren die Graph-Filter als einzige Ansicht groesser. */ .finding-path-controls select, .finding-path-controls input { min-height: var(--control-height); padding: var(--legacy-space-1) 11px; border: 1px solid var(--line-strong); border-radius: var(--legacy-radius-sm); color: var(--text); background-color: var(--panel-soft); font-size: var(--ui-control-size); text-transform: none; } .finding-path-search { min-width: 260px !important; } .finding-path-layout { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto; width: 100%; max-width: 100%; min-width: 0; min-height: 0; overflow: hidden; } .finding-path-main { min-width: 0; min-height: 0; padding: 16px; overflow: auto; background-image: radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--line) 55%, transparent) 1px, transparent 0); background-size: 22px 22px; } .active-finding-path { min-width: max-content; margin-bottom: 18px; padding: 14px; border: var(--border-hair) solid var(--line); border-radius: var(--legacy-radius-md); background: color-mix(in srgb, var(--panel) 94%, transparent); } .active-finding-path > header { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 13px; } .active-finding-path > header div { display: grid; } .active-finding-path > header span:first-child { color: var(--heading); font-size: var(--ui-heading-size); font-weight: 850; } .active-finding-path > header strong { color: var(--muted); font-size: var(--ui-control-size); font-weight: 600; } .path-method { color: var(--muted); font-size: var(--ui-value-size); text-transform: uppercase; } .active-path-track { display: flex; align-items: stretch; gap: 8px; } .active-path-step-wrap { display: flex; align-items: center; gap: 8px; } .active-path-arrow { color: var(--muted); font-size: var(--ui-glyph-size); font-weight: 300; } .active-path-step { position: relative; display: grid; gap: 5px; width: 280px; min-height: 126px; padding: 12px 13px 11px 16px; border: 1px solid var(--line); border-radius: 4px; color: var(--text); background: var(--panel); text-align: left; } .active-path-step::before { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--marker-width); background: var(--severity); } .active-path-step:hover { border-color: var(--severity); background: var(--panel-hover); } .active-path-step small { color: var(--severity); font-size: var(--ui-value-size); font-weight: 850; letter-spacing: .04em; text-transform: uppercase; } .active-path-step strong { color: var(--heading); font-size: var(--ui-body-size); line-height: 1.35; } .active-path-step span { align-self: end; color: var(--muted); font-size: var(--ui-value-size); } .finding-tactic-board { display: flex; align-items: flex-start; gap: 12px; min-width: max-content; } .finding-tactic-column { width: 310px; border: 1px solid var(--line); border-radius: 4px; background: color-mix(in srgb, var(--panel) 92%, transparent); } .finding-tactic-column > header { display: flex; align-items: center; justify-content: space-between; min-height: 42px; padding: 10px 12px; border-bottom: 1px solid var(--line); background: var(--panel-soft); } .finding-tactic-column > header strong { color: var(--heading); font-size: var(--ui-body-size); } .finding-tactic-column > header span { display: grid; place-items: center; min-width: 26px; height: 26px; border-radius: var(--radius-pill); color: var(--muted); background: var(--surface-inset); font-size: var(--ui-value-size); font-weight: 800; } .finding-tactic-column > div { display: grid; gap: 7px; max-height: 560px; padding: 8px; overflow-y: auto; } .finding-path-card { position: relative; display: grid; gap: 7px; width: 100%; min-height: 126px; padding: 11px 11px 10px 14px; border: 1px solid var(--line); border-radius: 3px; color: var(--text); background: var(--panel); text-align: left; } .finding-path-card:hover { border-color: var(--line-strong); background: var(--panel-hover); } .finding-path-card.is-path-step { border-left: var(--marker-width) solid var(--severity); padding-left: 7px; } .finding-path-card.is-selected { outline: 2px solid var(--legacy-accent); outline-offset: -2px; } .finding-path-card-head { display: flex; align-items: center; gap: 7px; color: var(--severity); font-size: var(--ui-label-size); font-weight: 850; letter-spacing: .04em; text-transform: uppercase; } .finding-path-card-head i { width: 8px; height: 8px; border-radius: 50%; background: var(--severity); } .finding-path-card-head b { margin-left: auto; color: var(--success); font-size: var(--ui-label-size); } .finding-path-card > strong { color: var(--heading); font-size: var(--ui-body-size); line-height: 1.4; } .finding-path-metrics, .finding-techniques { color: var(--muted); font-size: var(--ui-value-size); } .finding-techniques { color: var(--text); } .finding-path-detail { display: grid; grid-template-columns: minmax(260px, 1.35fr) minmax(320px, 1fr); column-gap: 40px; align-items: start; width: 100%; min-width: 0; min-height: 320px; box-sizing: border-box; padding: 28px 32px 40px; border-top: 1px solid var(--line); background: var(--panel); overflow: visible; } .finding-detail-severity { justify-self: start; display: inline-block; padding: 5px 9px; color: var(--severity-ink); background: var(--severity); font-size: var(--ui-value-size); font-weight: 850; text-transform: uppercase; } .finding-path-detail h2 { grid-column: 1; margin: 14px 0 22px; color: var(--heading); font-size: var(--ui-glyph-size); line-height: 1.35; } .finding-path-detail dl { grid-column: 1; display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 12px 18px; margin: 0; } .finding-path-detail dt { color: var(--muted); font-size: var(--ui-value-size); font-weight: 800; text-transform: uppercase; } .finding-path-detail dd { margin: 0; color: var(--text); font-size: var(--ui-body-size); overflow-wrap: anywhere; } .finding-open-detail { grid-column: 2; grid-row: 1 / span 2; align-self: end; width: 100%; min-height: 42px; margin: 0; font-size: var(--ui-body-size); font-weight: 750; } .finding-path-detail p { grid-column: 2; margin: 18px 0 0; color: var(--muted); font-size: var(--ui-control-size); line-height: 1.65; } .finding-path-empty { display: grid; place-content: center; gap: 8px; min-height: 100%; color: var(--muted); text-align: center; } .finding-path-empty strong { color: var(--heading); font-size: var(--ui-heading-size); } .severity-critical { --severity: var(--critical); } .severity-high { --severity: var(--high); } .severity-medium { --severity: var(--medium); } .severity-low { --severity: var(--low); } .severity-info { --severity: var(--info); } .severity-unknown { --severity: var(--muted); } /* Fuenf Light-Sonderregeln entfallen: Pfadkarten, Spaltenkoepfe und ihre Zaehler laufen ueber Tokens und folgen dem Skin von selbst. */ @media (max-width: 1050px) { .finding-path-detail { grid-template-columns: 1fr; } .finding-open-detail, .finding-path-detail p { grid-column: 1; grid-row: auto; } } /* Graph finding cards reuse the Work tile component and its complete interaction styling. */ .finding-tactic-column { width: 360px; } .finding-tactic-column > div.finding-tactic-tiles { display: grid; gap: 14px; max-height: 620px; padding: 14px; overflow-y: auto; } .finding-tactic-tiles > div { border-radius: var(--legacy-radius-md); } .finding-tactic-tiles > div.is-path-step { outline: 2px solid var(--severity, var(--legacy-accent)); outline-offset: 3px; } /* Auswahl traegt einen Rahmen, keinen Ring-Schatten: Schatten sind echten Overlays vorbehalten. */ .finding-tactic-tiles > div.is-selected { outline: 2px solid var(--legacy-accent); outline-offset: 1px; } .finding-tactic-tiles .tile { min-height: 170px; height: auto; } .finding-tactic-tiles .tile__title { font-size: var(--ui-body-size); font-weight: var(--fw-semibold); line-height: 1.4; } .finding-tactic-tiles .sev { font-size: var(--ui-label-size); } .finding-path-detail { grid-template-columns: minmax(0, 1.35fr) minmax(340px, .8fr); } .finding-detail-main { min-width: 0; } .finding-detail-main h2 { margin: 14px 0 22px; color: var(--heading); font-size: var(--ui-glyph-size); line-height: 1.35; } .finding-detail-main dl { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 12px 18px; margin: 0; } .finding-detail-main dt { color: var(--muted); font-size: var(--ui-value-size); font-weight: 800; text-transform: uppercase; } .finding-detail-main dd { margin: 0; color: var(--text); font-size: var(--ui-body-size); overflow-wrap: anywhere; } .finding-detail-actions { display: grid; align-content: start; gap: 18px; min-width: 0; padding-top: 34px; } .finding-detail-actions .finding-open-detail { grid-column: auto; grid-row: auto; align-self: auto; width: 100%; min-height: 44px; margin: 0; font-size: var(--ui-body-size); font-weight: 750; } .finding-detail-actions p { grid-column: auto; grid-row: auto; margin: 0; color: var(--muted); font-size: var(--ui-control-size); line-height: 1.65; } @media (max-width: 1050px) { .finding-path-detail { grid-template-columns: 1fr; } .finding-detail-actions { padding-top: 4px; } } /* Attack-path navigation: top scrollbar, directional headers and bulk workspace selection. */ .finding-path-layout { grid-template-rows: auto auto; } .finding-path-main { width: 100%; max-width: 100%; min-height: 0; box-sizing: border-box; padding: 12px 16px 18px; overflow: hidden; } .finding-path-scroll { width: 100%; max-width: 100%; padding-bottom: 10px; overflow-x: scroll; overflow-y: hidden; scrollbar-gutter: stable; scrollbar-color: var(--line-strong) var(--surface-inset); transform: rotateX(180deg); } .finding-path-scroll::-webkit-scrollbar { height: 30px; } .finding-path-scroll::-webkit-scrollbar-track { border: var(--border-hair) solid var(--line); border-radius: var(--radius-pill); background: var(--surface-inset); } .finding-path-scroll::-webkit-scrollbar-thumb { min-width: 90px; border: 5px solid var(--surface-inset); border-radius: var(--radius-pill); background: var(--line-strong); } .finding-path-scroll::-webkit-scrollbar-thumb:hover { background: var(--muted); } .finding-path-scroll .finding-tactic-board { gap: 42px; padding: 12px 4px 6px; transform: rotateX(180deg); } .finding-tactic-column { position: relative; overflow: visible; } .finding-tactic-column > header { position: relative; min-height: 82px; padding: 12px 14px; overflow: visible; } .finding-tactic-heading { display: grid; min-width: 0; } .finding-tactic-heading strong { color: var(--heading); font-size: var(--ui-heading-size) !important; font-weight: 800; line-height: 1.25; } .finding-tactic-tools { display: flex; align-items: center; gap: 9px; margin-left: auto; padding-left: 10px; } .finding-tactic-tools > span { min-width: 26px; height: 26px; margin: 0; } .finding-tactic-workspace { display: grid; place-items: center; width: 26px; height: 26px; cursor: pointer; } .finding-tactic-workspace input { appearance: none; display: grid; place-items: center; width: 21px; height: 21px; margin: 0; border: 1px solid var(--line-strong); border-radius: 3px; background: var(--surface-inset); cursor: pointer; } .finding-tactic-workspace input::after { content: ''; width: 9px; height: 5px; border-left: 2px solid var(--text-on-accent); border-bottom: 2px solid var(--text-on-accent); opacity: 0; transform: translateY(-1px) rotate(-45deg); } .finding-tactic-workspace input:checked { border-color: var(--legacy-accent); background: var(--legacy-accent-active); } .finding-tactic-workspace input:checked::after { opacity: 1; } .finding-tactic-workspace input:indeterminate { border-color: var(--legacy-accent); background: var(--state-selected); } .finding-tactic-workspace input:indeterminate::after { width: 10px; height: 0; border: 0; border-top: 2px solid var(--text-on-accent); opacity: 1; transform: none; } .finding-tactic-arrow { position: absolute; z-index: 4; right: -35px; top: 50%; color: var(--muted); font-size: var(--ui-glyph-size); font-weight: 400; line-height: 1; transform: translateY(-50%); pointer-events: none; } /* Fuenf weitere Light-Sonderregeln entfallen: Scrollbalken, Auswahlkasten und Pfeil tragen jetzt Tokenwerte und brauchen keinen Skinnachtrag. */ .app-area-graph { overflow: hidden; } .finding-path-detail, .finding-detail-main, .finding-detail-actions { max-width: 100%; } /* ---------- Top Header & Meter ---------- */ /* Steht im gemeinsamen Kopfcontainer der Shell. */ .finding-path-header-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0; background: transparent; } .finding-path-title { display: flex; flex-direction: column; } .finding-path-title h2 { margin: 0; color: var(--heading); font-size: var(--ui-heading-size); font-weight: 850; line-height: 1.2; } .finding-path-title span { color: var(--muted); font-size: var(--ui-value-size); } .finding-path-center-meter { display: flex; align-items: center; gap: 12px; padding: 6px 16px; border: 1px solid var(--line-strong); border-radius: var(--legacy-radius-md); background: var(--panel-soft); } .meter-badge { display: flex; align-items: center; gap: 6px; } .meter-label { color: var(--muted); font-size: var(--ui-value-size); font-weight: 700; } .meter-val { color: var(--heading); font-size: var(--ui-body-size); font-weight: 850; } .meter-gauge { width: 90px; height: 6px; border-radius: var(--radius-pill); background: var(--surface-inset); overflow: hidden; } .meter-bar { height: 100%; background: linear-gradient(90deg, var(--low), var(--warning), var(--critical)); border-radius: var(--radius-pill); transition: width .2s ease; } .finding-path-header-actions { display: flex; align-items: center; gap: 10px; } .finding-btn-critical { border-color: var(--legacy-accent); background: var(--legacy-accent-active); color: var(--text-on-accent); font-weight: 800; } /* ---------- SVG Canvas & Board ---------- */ .finding-tactic-board { position: relative; display: flex; align-items: flex-start; gap: 16px; min-width: max-content; } .finding-path-svg-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 3; } /* ---------- Card Bottom Origin Pills ---------- */ .finding-path-card-wrapper { position: relative; display: flex; flex-direction: column; } .card-bottom-origins { display: flex; align-items: center; gap: 6px; margin-top: 6px; } .origin-pill { display: inline-block; padding: 2px 8px; border: 1px solid var(--line); border-radius: var(--legacy-radius-sm); font-size: var(--ui-label-size); font-weight: 750; } .origin-pill.native { color: var(--text-on-accent); border-color: var(--legacy-accent); background: var(--legacy-accent-active); } .origin-pill.derived { color: var(--severity-ink); border-color: var(--medium); background: var(--medium); } .origin-pill.unmapped { color: var(--muted); background: var(--panel-soft); } /* ---------- 3 Floating Boxes Bottom Inspector ---------- */ .finding-path-detail { padding: 16px 20px 24px; border-top: 1px solid var(--line); background: var(--bg); } .finding-detail-boxes { display: grid; grid-template-columns: minmax(260px, 1fr) minmax(300px, 1.2fr) minmax(260px, 1fr); gap: 16px; width: 100%; } .inspector-box { display: flex; flex-direction: column; border: 1px solid var(--line-strong); border-radius: var(--legacy-radius-md); background: var(--panel-raised); overflow: hidden; } .box-header { display: flex; flex-direction: column; gap: 2px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--panel-soft); } .box-header span { color: var(--muted); font-size: var(--ui-label-size); font-weight: 600; } .box-header h4 { margin: 0; color: var(--heading); font-size: var(--ui-body-size); font-weight: 800; } .box-body { display: flex; flex-direction: column; gap: 10px; padding: 14px; } .box-row { display: flex; align-items: center; justify-content: space-between; font-size: var(--ui-body-size); } .box-row label { color: var(--muted); } .mitre-ref-link { color: var(--legacy-accent); font-size: var(--ui-body-size); font-weight: 700; text-decoration: none; } .mitre-ref-link:hover { text-decoration: underline; } .mitre-ref-none { color: var(--muted); font-size: var(--ui-body-size); } .box-actions .box-body .btn { width: 100%; justify-content: center; } .finding-tactic-tiles > div.is-path-step { outline: 2px solid var(--legacy-accent); outline-offset: 2px; }